WO2021169443A1 - 一种数据采集方法、终端设备及存储介质 - Google Patents

一种数据采集方法、终端设备及存储介质 Download PDF

Info

Publication number
WO2021169443A1
WO2021169443A1 PCT/CN2020/131531 CN2020131531W WO2021169443A1 WO 2021169443 A1 WO2021169443 A1 WO 2021169443A1 CN 2020131531 W CN2020131531 W CN 2020131531W WO 2021169443 A1 WO2021169443 A1 WO 2021169443A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
interference event
interference
collected
event
Prior art date
Application number
PCT/CN2020/131531
Other languages
English (en)
French (fr)
Inventor
吴宙真
吴黄伟
黄曦
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021169443A1 publication Critical patent/WO2021169443A1/zh

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

Definitions

  • This application relates to the field of electronics, and in particular to a data collection method, terminal equipment and storage medium.
  • wearable devices can achieve more and more functions. For example, it can collect various physiological data of the human body such as the electrocardiogram signal and blood oxygen signal of the human body. With the aid of some machine learning methods, through multiple effective single measurements over a long period of time, it can effectively help screen for paroxysmal cardiovascular diseases, such as atrial fibrillation, premature beats and other cardiovascular diseases.
  • Traditional wearable devices will directly shield the interference when various interferences such as call interference, information interference, etc. occur during a single measurement, and the user will be notified after the measurement is over. However, direct shielding of interference will cause users to miss some important information, resulting in some important information not being processed in time.
  • the existing wearable device will interrupt the measurement and restart a new measurement after the interference ends.
  • interruption of the measurement will cause it to be difficult to accumulate a sufficient number of effective measurements during a long-term monitoring, and it is easy to miss the paroxysmal symptoms, and restarting a new measurement may also cause some effective data to be lost;
  • This application provides a data collection method, terminal device, and storage medium, which solves the problem that in the traditional wearable device data collection process, under the premise of ensuring that important information is processed in a timely manner, it is easy to miss some valid data, which leads to the reliability of the collected data. Problems with low performance and availability and long measurement time.
  • a data collection method may include:
  • the target collection data is obtained.
  • the target collection data can be used to help screen for paroxysmal cardiovascular disease.
  • the data collection method provided by the embodiments of the present application can enable the background to continuously collect data while processing the interference event to be processed in real time, and then after the interference ends, the data fragment before the access interference event and the data fragment collected in the background can be spliced , Obtain target collection data, that is, it can process events that need real-time processing in time, and can continue to collect data without affecting the measurement process. It can also ensure that the effective information collected before the interference is not discarded, making the screening sporadic
  • the measurement process of cardiovascular disease can be carried out continuously, effectively avoiding the missing part of valid data, improving the accuracy of the analysis results of paroxysmal cardiovascular disease analysis based on the data collected by the target, and effectively improving the reliability of the data Performance and availability, shorten the total time-consuming measurement.
  • the collected data is saved and the interference is accessed.
  • the event after starting the background data collection while accessing the interference event, also includes:
  • the obtaining the target collection data according to the data fragments collected before accessing the interference event and the data fragments collected in the background includes:
  • Data splicing is performed on the data segment collected before the interference event and the valid data segment to obtain target collection data.
  • the target collection data obtained by data splicing can effectively reduce data interference and improve the paroxysmal heart rate based on the target collection data.
  • the accuracy of analysis results of vascular disease analysis since there may be interference to the collected data during the access interference event (such as mobile terminal equipment, etc.), when there are interference data fragments in the data fragments collected in the background, Delete the interfering data fragments, and then combine the saved data fragments with the effective data fragments from which the interfering data fragments have been deleted.
  • deleting the interfering data segment and before obtaining a valid data segment further includes:
  • the target data segment is an interference data segment.
  • combining the motion data and the target data segment can effectively determine whether there is an interference data segment in the data segment collected in the background.
  • the obtaining the target collection data according to the data fragments collected before accessing the interference event and the data fragments collected in the background includes:
  • the data fragments are spliced based on the collection time to obtain a piece of continuous collection data, and the continuous collection data is the target collection data for subsequent data analysis.
  • an interference event is detected during the data collection process and the interference event is an interference event to be processed in real time, then the collected data is saved and accessed
  • the interference event before the background data collection is started while accessing the interference event, also includes:
  • an interference event occurs during the data collection process, it is determined whether the interference event is an interference event to be processed in real time.
  • identifying whether the interference event is an interference event to be processed in real time that needs to be processed in real time can be effectively based on
  • the type of interference event selects the corresponding processing strategy, which can continuously collect data used to help screen for paroxysmal cardiovascular disease, effectively improving the reliability and availability of data, and shortening the total time-consuming.
  • determining whether the interference event is an interference event to be processed in real time includes:
  • the priority of the interference event is the first preset priority level, determining that the interference event is an interference event to be processed in real time;
  • the priority of the interference event is the second preset priority level, it is determined that the interference event is an interference event that is not to be processed in real time.
  • the priority of each interference event can be set in advance.
  • the priority of the interference event can be determined, and then the corresponding processing strategy can be selected based on the priority of the interference event to improve the data collection process Reliability and availability of data collection in the medium, shorten the total time-consuming.
  • the data collection method further includes:
  • the interference event is accessed after the measurement is completed.
  • the interference events that are not to be processed in real time can be temporarily not processed during the data collection process, and the data will continue to be collected until the end of the measurement without affecting the measurement process, and the interference event will be accessed after the measurement is completed to ensure interference Incidents can be handled in a timely manner without being ignored.
  • an embodiment of the present application provides a terminal device, including:
  • the first processing unit is configured to: if an interference event is detected during the data collection process and the interference event is an interference event to be processed in real time; save the collected data, and access the interference event, and then access the interference event. Start the background data collection at the same time as the interference event;
  • the splicing unit is used to obtain target collection data according to the data fragments collected before the interference event is accessed and the collected data fragments after the interference event is accessed.
  • the above-mentioned terminal device further includes a deleting unit, and the above-mentioned deleting unit is configured to delete the interference data segment if there is an interference data segment in the data segment collected in the background to obtain a valid data segment .
  • the above-mentioned splicing unit is specifically configured to splice the data segment collected before the interference event is accessed with the valid data segment to obtain the target collection data.
  • the aforementioned terminal device further includes a first determining unit, a second determining unit, and a checking unit.
  • the above-mentioned first determining unit is used to collect motion data, and determine the motion amplitude of the motion data according to the motion data.
  • the above-mentioned 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 among data collected simultaneously with the motion data.
  • the above-mentioned checking unit is configured to determine that the target data segment is an interference data segment if the interference degree of the target data segment exceeds a preset interference range.
  • the splicing unit is specifically configured to perform data splicing according to the collection time of the data fragment collected before the interference event and the collection time of the data fragment collected in the background to obtain The target collects data.
  • the aforementioned terminal device further includes a monitoring unit and an identification unit.
  • the above-mentioned monitoring unit is used to monitor whether an interference event occurs during the data collection process.
  • the above identification unit is used for determining whether the interference event is an interference event to be processed in real time if an interference event occurs during the data collection process.
  • the above identification unit includes a priority acquiring unit and a judging unit.
  • the priority acquiring unit is used to acquire the priority of the interference event.
  • the determining unit is configured to determine that the interference event is an interference event to be processed in real time if the priority of the interference event is the first preset priority level; if the priority of the interference event is the second preset priority level, Then it is determined that the interference event is an interference event that is not to be processed in real time.
  • the aforementioned terminal device further includes a second processing unit configured to detect that an interference event occurs during the collection process and the interference event is not to be real-time For the processed interference event, the interference event is accessed after the measurement is completed.
  • an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and running on the processor.
  • the processor executes the computer program, Implement the data collection method as described in the first aspect above.
  • an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the data collection as described in the first aspect is realized. method.
  • the embodiments of the present application provide a computer program product, which when the computer program product runs on a terminal device, causes the terminal device to execute the data collection method described in any one of the above-mentioned first aspects.
  • FIG. 1 is a schematic diagram of the hardware structure of a terminal device to which a data collection method provided in an embodiment of the application is applicable;
  • FIG. 2 is a structural block diagram of a data collection system provided by an embodiment provided by an embodiment of this application;
  • FIG. 3 is a schematic flowchart of a data collection method provided by an embodiment of the application.
  • FIG. 4 is a schematic flowchart of an interference event identification process to be processed in real time according to an embodiment of the application
  • FIG. 5 is a schematic diagram of the data structure of the target collection data obtained by splicing the data fragments collected before the access interference event and the data fragments collected in the background provided by an embodiment of the application;
  • FIG. 6 is a schematic diagram of the data structure of the target collection data obtained by splicing the data fragments collected before the access interference event and the valid data fragments provided by an embodiment of the application
  • FIG. 7 is a schematic structural diagram of a terminal device provided by an embodiment of this application.
  • FIG. 8 is a schematic structural diagram of another terminal device provided by an embodiment of the application.
  • the term “if” can be construed as “when” or “once” or “in response to determination” or “in response to detecting “.
  • the phrase “if determined” or “if detected [described condition or event]” can be interpreted as meaning “once determined” or “in response to determination” or “once detected [described condition or event]” depending on the context ]” or “in response to detection of [condition or event described]”.
  • terminal devices can be wearable devices, mobile phones, tablet computers, in-vehicle devices, augmented reality (AR)/virtual reality (VR).
  • terminal devices can be wearable devices, mobile phones, tablet computers, in-vehicle devices, augmented reality (AR)/virtual reality (VR).
  • AR augmented reality
  • VR virtual reality
  • Devices notebook computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (personal digital assistants, PDAs) and other mobile terminals.
  • UMPC ultra-mobile personal computers
  • PDAs personal digital assistants
  • the embodiments of this application do not impose any restrictions on the specific types of terminal devices.
  • 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 wireless communication function, a computing device or Other processing devices connected to wireless modems, handheld communication devices, handheld computing devices, and/or other devices used for network communication on wireless systems, and next-generation communication systems, such as mobile terminals in 5G networks or future evolution
  • the mobile terminal in the public land mobile network (Public Land Mobile Network, PLMN) network.
  • PLMN Public Land Mobile Network
  • the wearable device can also be a general term for applying wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, Watches, clothing and shoes, etc.
  • a wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. Wearable devices are not only a hardware device, but also realize powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include full-featured, large-sized, complete or partial functions that can be implemented without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, and need to be used in conjunction with other devices such as smart phones. , Such as all kinds of smart bracelets and smart jewelry that can collect human physiological data, human movement data, and vital signs monitoring.
  • FIG. 1 is a schematic diagram of the hardware structure of a terminal device to which a data collection method provided by an embodiment of the present application is applicable.
  • the terminal device 100 may be a wearable device, or a mobile terminal such as a mobile phone or a tablet computer.
  • the present application takes the foregoing 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, and an audio circuit. 160, a short-range wireless communication module 170, a processor 180, a power supply 190, and other components.
  • RF radio frequency
  • the terminal device may include more or less components than those shown in the figure, or combine certain components, or be different. The layout of the components.
  • the RF circuit 110 can be used to send and receive information, or to receive and send signals during a call. In particular, after receiving the downlink information of the base station, it is processed by the processor 180; in addition, the uplink data is sent to the base station.
  • the RF circuit 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.
  • the RF circuit 110 can also communicate with the network and other devices through wireless communication.
  • the above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), Email, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile Communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • Email Short Messaging Service
  • the memory 120 may be used to store software programs and modules.
  • the processor 180 executes various functional applications and data processing of the terminal device 100 by running 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.
  • the program storage area may store an operating system and at least one application program required by at least one function (such as a human physiological data analysis function, a human motion data analysis function, etc.); a data storage area Data (human body physiological data, movement data of collected parts of the human body), etc., created according to the use of the terminal device 100 can be stored.
  • the wearable device can store data collected by sensors in its storage data area; when the terminal device 100 is a mobile terminal such as a mobile phone or a tablet computer, the mobile terminal can receive The wearable device sends data and stores the data in the storage data area of the mobile terminal.
  • the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the input unit 130 may be used to receive input digital or character information, and generate key signal input related to user settings and function control of the terminal device 100.
  • the input unit 130 may include a touch panel 131 and other input devices 132.
  • the touch panel 131 also known as a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 131 or near the touch panel 131. Operation), and drive the corresponding connection device according to the preset program.
  • the display unit 140 may be used to display information input by the user or information provided to the user and various menus of the terminal device 100, for example, to output received electrocardiogram signals.
  • the display unit 140 may include a display panel 141.
  • 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.
  • the touch panel 131 can cover the display panel 141. When the touch panel 131 detects a touch operation on or near it, it transmits it to the processor 180 to determine the type of the touch event, and then the processor 180 responds to the touch event. The type provides corresponding visual output on the display panel 141.
  • the touch panel 131 and the display panel 141 are used as two independent components to realize the input and input functions of the terminal device 100, but in some embodiments, the touch panel 131 and the display panel 141 may be combined.
  • the input and output functions of the terminal device 100 are realized by integration.
  • the terminal device 100 may further include at least one sensor 150.
  • the sensor 150 may include, for example, a motion sensor, an ECG sensor, and the like.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize 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, percussion), etc.; as for the terminal device 100, it can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. Other sensors will not be repeated here.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the terminal device 100.
  • the audio circuit 160 can transmit the electrical signal converted from the received audio data to the speaker 161, which is converted into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, and the audio circuit 160 After being received, it is converted into audio data, and then processed by the audio data output processor 180, and then sent to another terminal device 100 via the RF circuit 110, or the audio data is output to the memory 120 for further processing.
  • the terminal device 100 can communicate wirelessly with other devices through the short-range wireless communication module 170.
  • the short-range wireless communication module 170 can be integrated with a near field communication module, a Bluetooth communication module, and a wireless local area network (Wireless Fidelity, WiFi) module. At least one.
  • the wearable device may establish a wireless communication connection with mobile terminals such as mobile phones and tablet computers through a short-range wireless communication module, and use preset human physiological data collected by sensors And/or the movement data of the collected parts of the human body are sent to the mobile terminal;
  • the terminal device 100 is a mobile terminal such as a mobile phone or a tablet computer, the mobile terminal can establish a wireless communication connection with the wearable device through a short-range wireless communication module, and receive The preset human body physiological data and/or the movement data of the collected part of the human body sent by the wearable device, etc.
  • the terminal device 100 may also include a wired communication interface, such as a Universal Serial Bus (USB) interface, and the terminal device 100 may communicate with other terminal devices 100 through the wired communication interface.
  • a wired communication connection such as a Universal Serial Bus (USB) interface
  • the terminal device 100 may communicate with other terminal devices 100 through the wired communication interface.
  • the wearable device may establish a wired communication connection with a mobile terminal such as a mobile phone, a tablet computer, etc. through a USB interface, and collect preset human physiological data and/or physical data collected through the sensor.
  • the movement data of the collected parts of the human body are sent to the mobile terminal through the USB data cable; when the terminal device 100 is a mobile terminal such as a mobile phone or a tablet computer, the mobile terminal can receive preset human physiological data and data sent by the wearable device through the USB interface. / Or the movement data of the collected parts of the human body, etc.
  • the processor 180 is the control center of the terminal device 100. It uses various interfaces and lines to connect various parts of the entire terminal device 100, runs or executes the software programs and/or modules stored in the memory 120, and calls the software programs and/or modules stored in the memory 120.
  • the data of the terminal device 100 executes various functions and processing data of the terminal device 100, so as to monitor the terminal device 100 as a whole.
  • the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc. , The modem processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 180.
  • the terminal device 100 also includes a power source 190 (such as a battery) for supplying power to various components.
  • a power source 190 such as a battery
  • the power source can be logically connected to the processor 180 through a power management system, so that functions such as charging, discharging, and power consumption management can be managed through the power management system. .
  • Figure 2 is an exemplary structural block diagram of a data acquisition system provided by an embodiment of the present application.
  • the data collected by the data acquisition system is mainly used to help screen for paroxysmal cardiovascular diseases, as shown in Figure 2
  • the data collection system includes a mobile terminal 210 and a wearable device 220.
  • the wearable device 220 can establish a wireless communication connection with the mobile terminal 210 through a short-range wireless communication method, or the wearable device 220 can also establish a wired communication connection with the mobile terminal 210 through a wired communication method.
  • the specific communication mode between the device 220 and the mobile terminal 210 is subject to any limitation.
  • the wearable device 220 can collect data of the wearing user through its built-in sensor for collecting data.
  • the data can be set according to actual needs.
  • the data can be the electrocardiogram signal of the human body, the acceleration movement data of the human body (aiding to identify the interference data) and so on.
  • the wearable device 220 can upload sensor data to the mobile terminal 210.
  • the wearable device 220 may establish a communication connection with the mobile terminal 210 through a short-range wireless communication method or a wired communication method, and upload sensor data to the mobile terminal 210.
  • the mobile terminal 210 may store data from the sensors of the wearable device 220.
  • the above-mentioned mobile terminal 210 may be used as a device for data processing, data analysis, and measurement result display.
  • the wearable device 220 can send the collected data to the mobile terminal 210, and the mobile terminal 210 is processing the data (such as rectangular filtering, smoothing denoising processing, interference data deletion, data splicing, etc.) based on the existing machine
  • the learning method analyzes whether the user has paroxysmal cardiovascular disease, and displays the measurement result through the display unit of the mobile terminal 210, or makes a voice notification through a speaker. It should be noted that the foregoing is only an example to illustrate the way of displaying the measurement results, which is not intended to limit the application. In the embodiments of the application, other ways may be used to display the measurement results, which are not particularly limited in this embodiment.
  • the above-mentioned mobile terminal 210 can also only be used as a device for verifying the wearable device 220, and the wearable device is authenticated based on the mobile terminal 210. After logging in, the wearable device is bound to the mobile terminal 210, and the bound can be Wearable devices can receive call notifications, SMS notifications, instant messaging notifications and other information from mobile devices.
  • the aforementioned data collection, data processing, data analysis, and measurement result display are implemented by the wearable device 220.
  • the wearable device bound to the mobile terminal 210 starts the measurement function (that is, starts to collect data), it can collect data used to help screen for paroxysmal cardiovascular disease, and compare the collected data After processing (such as rectangular filtering, smoothing and denoising processing, interference data deletion, data splicing, etc.), the processed data is analyzed based on existing machine learning methods to determine whether the user has paroxysmal cardiovascular disease, and The measurement result is displayed through the display unit of the wearable device 220, or voice notification through a speaker. It should be noted that the above is only an example to illustrate the way of displaying the measurement result, which is not intended to limit the application. In the embodiment of the application, other ways may also be used to display the measurement result, which is not particularly limited in this embodiment.
  • the wearable device 220 can also process the collected data, and then upload the processed data to the mobile terminal 210 for data analysis through the mobile terminal 210. After the mobile terminal 210 performs data analysis, the data can be analyzed through the mobile terminal 210. Perform measurement results display. It is understandable that the mobile terminal 210 may also send the analyzed measurement result to the wearable device 220 for display through the wearable device 220.
  • the above-mentioned data collection system may also only include a wearable device 220, which can implement call functions and information transceiving functions, etc., while the wearable device 220 also has data collection functions, data processing functions, Data analysis function and measurement result display function.
  • the following embodiment will take the terminal device 100 as an example to describe the data collection method provided in the embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a data collection method provided by an embodiment of the present application.
  • the execution subject of the process is a terminal device.
  • the terminal device may be as shown in FIG.
  • the wearable device 220 described in 2 may also be the mobile terminal 210 described in FIG. 2.
  • the data collection method provided in this embodiment specifically includes S110 to S190, which are described in detail as follows:
  • the terminal device when the terminal device is a wearable device, that is, when the execution subject of the process is a wearable device, the user can start the data collection function of the wearable device after wearing the wearable device.
  • the wearable device After the function is turned on, the wearable device can collect physiological data of the wearer through its built-in sensor for collecting physiological data (such as ECG signals).
  • the user can send an instruction to start 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, or directly start the measurement function through the wearable device starter, for example, press to start the function Button or control to generate a corresponding start instruction to start the measurement function of the wearable device.
  • starting the measurement function can not only collect physiological data, but also collect movement 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 motion amplitude meets a preset motion state (for example, the action of answering a phone call).
  • the senor may be a sensor provided in a wearable device.
  • the specific type of data can be set according to actual needs, and there is no limitation here.
  • the data may include human physiological data that can characterize the preset physiological characteristics.
  • the data may include ECG signals that can characterize the activity characteristics of the human heart; or, when it is necessary to detect the motion state of the human body, the data may also include information that can characterize the human body.
  • the movement data of the movement state such as the acceleration of the human body, etc.
  • different sensors corresponding to the data can be configured in the wearable device.
  • an ECG sensor for collecting the ECG signal of the human body may be configured in the wearable device.
  • the ECG sensor may include, but is not limited to, Photoplethysmograph (Photoplethysmograph). , PPG) sensor or electrocardiogram (Electrocardiogram, ECG) sensor, etc.
  • the wearable device when the wearable device is an electronic device that can directly contact the user's skin, such as a bracelet or a watch, and the ECG sensor is a PPG sensor, the PPG sensor can be set in the dial of the bracelet or watch The area close to the back of the dial so that the user is wearing a bracelet or watch, and then when the area on the back of the dial of the bracelet or watch is in contact with the user’s skin, the PPG sensor in the bracelet or watch can change based on the blood volume of the user’s wearing part Collect the user's ECG signal.
  • a movement sensor for collecting human movement data can also be configured in the wearable device, wherein the movement sensor may include but It is not limited to acceleration sensors and the like.
  • the collected part of the human body is the part where the human body wears the wearable device.
  • the wearable device when the user wears the wearable device and starts the data collection function of the wearable device, the wearable device can control the corresponding sensor to collect data for the user.
  • the data includes the ECG signal of the human body
  • the user can start the ECG signal collection function of the wearable device, and when the wearable device detects that the user has activated the ECG signal collection function, it controls the ECG sensor to collect the user's ECG signal.
  • the user’s ECG signal collected by the sensor is the data collected for this application; when the data also includes the movement data of the collected part of the human body, the user can start the movement data collection function of the wearable device, and the wearable device detects When the user starts the motion data collection function, the motion sensor is controlled to collect the motion data of the collected part of the user.
  • the terminal device when the terminal device is a mobile terminal such as a mobile phone or a tablet computer, that is, when the execution body of the process is a mobile terminal such as a mobile phone or a tablet, the above-mentioned starting data collection function may be sent by the mobile terminal to send an instruction to start the data collection function to To the wearable device, and then realize the start data collection function.
  • the terminal device when the data collection function is activated, the terminal device can perform related data collection, and the terminal device can also store the collected data in a local storage for preservation.
  • the wearable device when the terminal device is a wearable device, that is, when the execution subject of the process is a wearable device, the wearable device can store the data from the sensor in its local memory. Based on this, the During data analysis, the wearable device can obtain the data from its local storage.
  • the terminal device when the terminal device is a mobile terminal such as a mobile phone or a tablet computer, that is, when the execution subject of the process is a mobile terminal such as a mobile phone or a tablet computer, the wearable device can upload the data from the sensor
  • the mobile terminal can store the data sent by the wearable device in the local memory of the mobile terminal. Based on this, the mobile terminal can obtain the data from its local memory when performing data analysis based on the collected data.
  • S120 Monitor whether an interference event occurs during the data collection process; if an interference event occurs during the data collection process, execute S130, otherwise continue monitoring until the end of the measurement.
  • interference events are prone to occur during the measurement process. Therefore, during the data collection process, the terminal device will also monitor in real time whether there are interference events. It is understandable that some of the above-mentioned interference events are events that need to be handled 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 completed, such as information check events; Some interference events are caused by the user's large-scale movement of the terminal device, such as the user's action interference event such as answering the phone.
  • the mobile terminal monitors whether an interference event occurs during the data collection process can be divided into the following two situations:
  • the terminal device can clearly determine the meaning of the interference event, such as a real-time call event, a short message check event, an instant messaging message check event, and an information push event of an application program of the terminal device.
  • the terminal device can directly determine which type of interference event the interference event is.
  • the terminal device when a call comes in (that is, when a real-time call event occurs), the terminal device will receive a corresponding message reminder requesting a real-time call, and then it can be determined that the interference event is a real-time call event. That is, when the terminal device receives a message reminder requesting a real-time call, it can be determined that an interference event of a real-time call event occurred during the data collection process.
  • the terminal device when the terminal device receives a short message, the terminal device will receive a corresponding message reminder that the short message is received, and then it can be determined that the interference event is a short message check event. That is, when the terminal device receives a message reminder of receiving a short message, it can be determined that an interference event of short message checking has occurred during the data collection process.
  • the wearable device inadvertently raised his hand, or trembled, and other motion interference events.
  • the wearable device there is no way to determine the specific interference that has occurred. That is, interference events with no clear meaning.
  • this type of interference event it is possible to identify whether an interference event occurs based on the auxiliary data of the auxiliary sensor (such as an acceleration sensor, etc.) of the terminal device, and based on the existing motion posture algorithm.
  • S130 Determine whether the interference event is an interference event to be processed in real time; if the interference event is an interference event to be processed in real time, execute S140, otherwise execute S200
  • the terminal device when it is detected that an interference event occurs during the data collection process, the terminal device can determine which interference event the interference event is, and then determine whether the interference event is an interference event to be processed in real time.
  • the aforementioned interference event to be processed in real time refers to an event that needs to be processed in real time by the user.
  • the priority of various interference events may be preset, and then based on the priority of the interference event, it is determined whether the interference event is an interference event to be processed in real time.
  • the interference event sent by a specific user can be set as an interference event to be processed in real time, such as a phone call from a specific user, and information sent by a specific user (including but not limited to short messages and instant messaging messages).
  • a specific user list can be set to add a specific user to the specific user list. Whenever a terminal device receives an interference event, it obtains the user who initiated the interference event, and determines whether the user is a specific user. If the user is a specific user User (in the list of specific users), the interference event is determined to be an interference event to be processed in real time.
  • the priority corresponding to the interference event can be further determined, and then based on the priority of the interference event, it is determined whether the interference event is an interference event to be processed in real time.
  • the above-mentioned specific user list can be defined by the user. The user adds the users that he considers important to the list.
  • the list can include user identification (such as phone number, name, nickname, etc.), and the user identification is used to determine the initiation of interference Whether the user of the event is in the specific user list, this will not be described in detail.
  • the process of identifying whether the interference event is an interference event to be processed in real time may specifically include the following steps:
  • S132 If the priority of the interference event is the first preset priority level, determine that the interference event is an interference event to be processed in real time; if the priority of the interference event is the second preset priority level, determine The interference event is an interference event that is not to be processed in real time.
  • the priorities of various types of interference events can be preset. Interference events can be divided into three categories in advance.
  • the first category is interference events that need to be processed in real time; the second category is interference events that can be processed after the measurement is completed; the third category is motion interference events.
  • first preset priority level is preset to distinguish various interference events, and users can preset various interference events according to actual application requirements. Which interference events are included in the, you can also set the priority order of each preset priority level in advance.
  • the priority of the first preset priority level may be set to be higher than the priority of the second preset priority level.
  • the priority of the first preset priority level can also be set to be lower than the priority of the second preset priority level, which is not limited here.
  • S140 Save the collected data, access the interference event, and enable background data collection while accessing the interference event.
  • the interference event when it is determined that the interference event is an interference event to be processed in real time and needs to be processed in real time, first save the collected data, for example, save the collected data in the memory of the terminal device . After the collected data is saved, the interference event to be processed in real time is connected, such as a real-time call event. At the same time, the background of the terminal device is turned on to continue collecting data to ensure that the data collection process is not interrupted.
  • S150 Collect movement data, and determine the movement amplitude of the movement data according to the movement data.
  • S160 According to the motion amplitude of the motion data, determine a target data segment that meets a preset motion state among the data collected simultaneously with the motion data.
  • S170 If the interference degree of the target data segment exceeds a preset interference range, determine that the target data segment is an interference data segment.
  • the mobile wearable device or mobile mobile terminal in the process of collecting data, the mobile wearable device or mobile mobile terminal (for example, raising the hand or picking up the mobile phone when answering the phone) will interfere with the collected data, causing the collected data to exist. Interference information.
  • the target data that is, for analyzing the physiological data of cardiovascular disease
  • the motion data is collected based on the motion sensor, and then the target data segment that meets the preset motion state is determined based on the motion amplitude of the motion data.
  • the signal interference degree of the target data segment it is determined whether the target data segment is an interference data segment. Since some action interferences have relatively small interference to the collected data, it is necessary to further determine whether it is an interference data segment based on the signal interference level of the target data segment.
  • the interference data segment Only when the interference level of the target data segment exceeds the preset interference The range is recognized as the interference data segment, and the effective data is retained as much as possible. When the background data is saved, the interference data is deleted to avoid the influence of the interference data on the analysis results and improve the accuracy of the measurement results.
  • the above-mentioned meeting the preset motion state means that the motion amplitude of the motion data is greater than a certain preset amplitude threshold.
  • the above-mentioned preset amplitude threshold can be set according to actual needs, and is not limited here.
  • the degree of interference can be determined according to the signal-to-noise ratio of the collected data, and the preset interference range can be set according to actual conditions, which is not limited here.
  • the interfering data fragment can be taken from the data fragment collected in the background Delete, get valid data fragments without interference.
  • S190 Obtain target collection data according to the data fragments collected before the interference event and the data fragments collected in the background.
  • the terminal device may perform data splicing between the data fragments collected before the interference event and the data fragments collected in the background based on the collection time of each data fragment, so as to obtain the target collection data.
  • DP1 is the data fragment collected before the access interference event
  • DP2 is the data fragment collected in the background.
  • the terminal The device can splice DP1 and DP2 based on the sequence from morning to night to obtain target collection data 1.
  • the interference data segment DP3 in the case where there is an interference data segment DP3 in the data segment DP2 collected in the background, the interference data segment DP3 can be deleted from the data segment DP2 collected in the background Then, the remaining valid data segment DP4 is obtained, and the data segment DP1 collected before the interference event is connected to the valid data segment DP4 is data spliced to obtain the target collection data 2.
  • the terminal device can also splice the data fragments collected before the access interference event with the data fragments collected in the background, and then filter out the interfering data fragments in the spliced data, and then the interfering data The fragment is deleted from the spliced data, and then the target data fragment is obtained.
  • interfering data fragments in the data fragments collected in the background there may be no interfering data fragments in the data fragments collected in the background, or only one interfering data fragment, or multiple interfering data fragments, which is not limited here. If there are multiple interfering data fragments in the data fragments collected in the background, after deleting the multiple interfering data fragments from the data fragments collected in the background, multiple valid data fragments will be obtained. At this time, it is only necessary to collect each valid data fragment. Time, data is spliced in the order from morning to night, and a piece of continuous collected data can be obtained. The continuous rubbing data is the target collected data for data analysis.
  • the interference event that is not to be processed in real time can be temporarily not processed during the data collection process, and the terminal device can continue to collect The data reaches the end of this measurement, so that the interference event will 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 not ignored. For example, short message notifications, instant messaging message notifications, application push notifications, etc. are displayed after the measurement is completed.
  • the data collection method provided by the embodiments of the present application can enable the background to continuously collect data while processing the interference event to be processed in real time, and then after the interference ends, the data fragment before the access interference event and the data fragment collected in the background can be spliced , Obtain the target collection data, that is, it can process events that need real-time processing in time, and can continue to collect data without affecting the measurement process. It can also ensure that the effective information collected before the interference will not be discarded, and avoid missing part of the effective data. Circumstances, effectively improve the reliability and availability of collected data, and shorten the total time-consuming measurement.
  • FIG. 7 shows a structural block diagram of a terminal device provided by an embodiment of the present application.
  • Each unit included in the terminal device is used to perform each step in the foregoing embodiment.
  • the terminal device may be a wearable device, or a mobile terminal such as a mobile phone or a tablet computer.
  • the terminal device 100 includes a first processing unit 110 and a splicing unit 120. in:
  • the first processing unit 110 is configured to, if an interference event is detected during the data collection process and the interference event is an interference event to be processed in real time; save the collected data, and access the interference event, and then access the interference event. Start background data collection at the same time as the interference event.
  • the splicing unit 120 is configured to obtain target collection data according to the data fragments collected before the interference event is accessed and the collected data fragments after the interference event is accessed.
  • the above-mentioned terminal device further includes a deleting unit, and the above-mentioned deleting unit is configured to delete the interference data segment if there is an interfering data segment in the data segment collected in the background to obtain a valid data segment.
  • the above-mentioned splicing unit is specifically configured to splice the data segment collected before the interference event is accessed with the valid data segment to obtain the target collection data.
  • the aforementioned terminal device further includes a first determining unit, a second determining unit, and a checking unit. in:
  • the first determining unit is used for collecting 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 meets a preset motion state among the data collected simultaneously with the motion data.
  • the checking unit is configured to determine that the target data segment is an interference data segment if the interference degree of the target data segment exceeds a preset interference range.
  • the splicing unit is specifically configured to perform data splicing according to the collection time of the data fragments collected before the interference event and the collection time of the data fragments collected in the background to obtain the target collection data .
  • the aforementioned terminal device further includes a monitoring unit and an identification unit. in:
  • the monitoring unit is used to monitor whether interference events occur during the data collection process.
  • the identification unit is used for determining whether the interference event is an interference event to be processed in real time if an interference event occurs during the data collection process.
  • the aforementioned identification unit includes a priority acquisition unit and a judgment unit. in:
  • the priority acquiring unit is used to acquire the priority of the interference event.
  • the determining unit is configured to determine that the interference event is an interference event to be processed in real time if the priority of the interference event is the first preset priority level; if the priority of the interference event is the second preset priority level, Then it is determined that the interference event is an interference event that is not to be processed in real time.
  • the aforementioned terminal device further includes a second processing unit configured to detect that an interference event occurs during the collection process and the interference event is an interference event that is not to be processed in real time, Then the interference event is accessed after the measurement is completed.
  • the terminal device provided by the embodiment of the present application can enable the background to continuously collect data while processing the interference event to be processed in real time, and then after the interference ends, it will access the data fragments before the interference event and the background
  • the collected data fragments are spliced to obtain the target collection data, that is, it can process events that need real-time processing in time, and can continue to collect data without affecting the measurement process. It can also ensure that the effective information collected before the interference will not be discarded, and avoid In the case of missing some valid data, the reliability and availability of the collected data are effectively improved, and the total measurement time is shortened.
  • FIG. 8 is a schematic structural diagram of a terminal device provided by another embodiment of the present application.
  • the terminal device 100 of this embodiment includes: at least one processor 80 (only one is shown in FIG. 8), a memory 81, and stored in the memory 81 and can be stored in the at least one processor 80
  • the processor 80 executes the computer program 82, the steps in any of the foregoing data collection method embodiments are implemented.
  • the terminal device 100 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the terminal device may include, but is not limited to, a processor 80 and a memory 81.
  • FIG. 8 is only an example of the terminal device 100 and does not constitute a limitation on the terminal device 100. It may include more or less components than shown in the figure, or a combination of certain components, or different components. , For example, can also include input and output devices, network access devices, and so on.
  • the so-called processor 80 may be a central processing unit (Central Processing Unit, CPU), and the processor 80 may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), and application specific integrated circuits (Application Specific Integrated Circuits). , ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the memory 81 may be an internal storage unit of the terminal device 100, 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, such as a plug-in hard disk equipped on the terminal device 100, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital, SD) card, Flash Card, etc.
  • the memory 81 may also include both an internal storage unit of the terminal device 100 and an external storage device.
  • the memory 81 is used to store an operating system, an application program, a boot loader (Boot Loader), data, and other programs, such as the program code of the computer program.
  • the memory 81 can also be used to temporarily store data that has been output or will be output.
  • the embodiments of the present application also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned data collection method can be realized.
  • the embodiments of the present application provide a computer program product.
  • the computer program product runs on a mobile terminal, the steps in the above-mentioned data collection method can be realized when the mobile terminal is executed.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the computer program can be stored in a computer-readable storage medium. When executed by the processor, the steps of the foregoing method embodiments can be implemented.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms.
  • the computer-readable medium may at least include: any entity or device capable of carrying the computer program code to the photographing device/terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), and random access memory (RAM, Random Access Memory), electric carrier signal, telecommunications signal and software distribution medium.
  • ROM read-only memory
  • RAM random access memory
  • electric carrier signal telecommunications signal and software distribution medium.
  • U disk mobile hard disk, floppy disk or CD-ROM, etc.
  • computer-readable media cannot be electrical carrier signals and telecommunication signals.
  • the disclosed apparatus/network equipment and method may be implemented in other ways.
  • the device/network device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units.
  • components can be combined or integrated into another system, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be separately on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Veterinary Medicine (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Physics & Mathematics (AREA)
  • Public Health (AREA)
  • Pathology (AREA)
  • Physiology (AREA)
  • Signal Processing (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Psychiatry (AREA)
  • Dentistry (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Cardiology (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

一种数据采集方法、终端设备及存储介质。其中,数据采集方法包括:若监测到数据采集过程中出现干扰事件且干扰事件为待实时处理的干扰事件,则保存已采集的数据,并接入干扰事件,在接入干扰事件的同时开启后台数据采集;根据接入干扰事件前采集的数据片段和后台采集的数据片段,得到目标采集数据。方法能够在处理待实时处理的干扰事件的同时开启后台持续采集数据,即能够及时处理需要实时处理的事件,又能持续采集数据,不影响测量进程,还能够保证不会丢弃干扰到来前的采集到的有效信息,避免出现遗漏部分有效数据的情况,有效地提高采集的数据的可靠性和可利用率,缩短测量的总耗时。

Description

一种数据采集方法、终端设备及存储介质
本申请要求于2020年2月24日提交国家知识产权局、申请号为202010115816.4、申请名称为“一种数据采集方法、终端设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子领域,尤其涉及一种数据采集方法、终端设备及存储介质。
背景技术
随着电子技术的快速发展,可穿戴设备能够实现的功能越来越多,例如,可以采集人体的心电信号、血氧信号等各种人体生理数据。辅助以一些机器学习的方法,通过一段较长时间内的多次有效单次测量,可以有效地帮助筛查阵发性的心血管疾病,如房颤、早搏等心血管疾病。传统的可穿戴设备在单次测量过程中出现如通话干扰、信息干扰、等各种干扰时,会直接屏蔽干扰,待本次测量结束后再通知用户。而直接屏蔽干扰则会导致用户错过某些重要信息,导致某些重要信息不能及时被处理。为了保证重要信息及时被处理,现有的可穿戴设备通过会中断测量,待干扰结束后再重新开始新一次测量。然而,中断测量会导致在一段教长时间的监测中,难以积累足够数量的有效测量次数,容易遗漏阵发的症状,且重新开始新一次测量还有可能导致部分有效数据丢失;
可见,传统的可穿戴设备数据采集过程在保证重要信息及时被处理的前提下,存在容易遗漏部分有效数据,导致采集到的数据的可靠性和可利用率低、测量耗时长。
发明内容
本申请提供一种数据采集方法、终端设备及存储介质,解决了传统的可穿戴设备数据采集过程在保证重要信息及时被处理的前提下,存在容易遗漏部分有效数据,导致采集到的数据的可靠性和可利用率低、测量耗时长的问题。
为达到上述目的,本申请采用如下技术方案:
第一方面,提供一种数据采集方法,该数据采集方法可以包括:
若监测到数据采集过程中出现干扰事件且所述干扰事件为待实时处理的干扰事件,则保存已采集的数据,并接入所述干扰事件,在接入所述干扰事件的同时开启后台数据采集;
根据接入所述干扰事件前采集的数据片段与后台采集的数据片段,得到目标采集数据。
在此,目标采集数据可用于帮助筛查阵发性的心血管疾病。
本申请实施例提供的数据采集方法,能够在处理待实时处理的干扰事件的同时开启后台持续采集数据,再在干扰结束后,将接入干扰事件前的数据片段和后台采集的数据片段进行拼接,得到目标采集数据,即能够及时处理需要实时处理的事件,又能 持续采集数据,不影响测量进程,还能够保证不会丢弃干扰到来前的采集到的有效信息,使得筛查阵发性的心血管疾病的测量过程能够持续进行,有效地避免了出现遗漏部分有效数据的情况,提高基于该目标采集数据进行阵发性心血管疾病分析的分析结果的准确性,有效地提高了数据的可靠性和可利用率,缩短测量的总耗时。
在第一方面的一种可能的实施方式中,在若监测到数据采集过程中出现干扰事件且所述干扰事件为待实时处理的干扰事件,则保存已采集的数据,并接入所述干扰事件,在接入所述干扰事件的同时开启后台数据采集之后,还包括:
若后台采集的数据片段中存在干扰数据片段,则删除所述干扰数据片段,得到有效数据片段;
相应地,所述根据接入所述干扰事件前采集的数据片段和后台采集的数据片段,得到目标采集数据,包括:
将接入所述干扰事件前采集的数据片段与所述有效数据片段进行数据拼接,得到目标采集数据。
在上述实施方式中,由于在接入干扰事件的过程中可能存在对采集到的数据造成干扰的情况(如移动终端设备等情况),因此在后台采集到的数据片段中存在干扰数据片段时,删除干扰数据片段,然后将已保存的数据片段与删除了干扰数据片段的有效数据片段进行数据拼接得到的目标采集数据,能够有效地减少数据干扰,以提高基于该目标采集数据进行阵发性心血管疾病分析的分析结果的准确性。
在第一方面的一种可能的实施方式中,在若后台采集的数据片段中存在干扰数据片段,则删除所述干扰数据片段,得到有效数据片段之前,还包括:
采集运动数据,并根据所述运动数据确定运动数据的运动幅值;
根据所述运动数据的运动幅值,确定与所述运动数据同时采集得到的数据中满足预设运动状态的目标数据片段;
若所述目标数据片段的干扰程度超出预设干扰范围,则确定所述目标数据片段为干扰数据片段。
在上述实施方式中,结合运动数据和目标数据片段能够有效地判断出后台采集到的数据片段中是否存在干扰数据片段。
在第一方面的一种可能的实施方式中,所述根据接入所述干扰事件前采集的数据片段和后台采集的数据片段,得到目标采集数据,包括:
根据接入所述干扰事件前采集的数据片段的采集时间和所述后台采集的数据片段的采集时间进行数据拼接,得到所述目标采集数据。
在上述实施方式中,基于采集时间将数据片段进行拼接,进而得到一段连续的采集数据,该连续的采集数据即为后续用作数据分析的目标采集数据。
在第一方面的一种可能的实施方式中,在所述若监测到数据采集过程中出现干扰事件且所述干扰事件为待实时处理的干扰事件,则保存已采集的数据,并接入所述干扰事件,在接入所述干扰事件的同时开启后台数据采集之前,还包括:
监测数据采集过程中是否出现干扰事件;
若数据采集过程中出现干扰事件,则判断所述干扰事件是否为待实时处理的干扰事件。
在上述实施方式中,通过实时监测数据采集过程中是否出现干扰事件,并在监测到出现干扰事件的情况下,识别该干扰事件是否是需要实时处理的待实时处理的干扰事件,能够有效地根据干扰事件的类型选择相应的处理策略,能够持续采集用于帮助筛查阵发性的心血管疾病的数据,有效地提高了数据的可靠性和可利用率,缩短总耗时。
在第一方面的一种可能的实施方式中,所述若数据采集过程中出现干扰事件,则判断所述干扰事件是否为待实时处理的干扰事件,包括:
获取所述干扰事件的优先级;
若所述干扰事件的优先级为第一预设优先等级,则确定所述干扰事件为待实时处理的干扰事件;
若所述干扰事件的优先级为第二预设优先等级,则确定所述干扰事件为非待实时处理的干扰事件。
在上述实施方式中,可以预先设置各个干扰事件的优先级,在发生干扰事件时,就能够确定出该干扰事件的优先级,然后基于干扰事件的优先级选择相应的处理策略,提高数据采集过程中数据采集的可靠性和可利用率,缩短总耗时。
在第一方面的一种可能的实施方式中,所述数据采集方法还包括:
若监测到所述采集过程中出现干扰事件且所述干扰事件为非待实时处理的干扰事件,则在测量结束后接入所述干扰事件。
在上述实施方式中,在数据采集过程中可以暂时不处理非待实时处理的干扰事件,继续采集数据至本次测量结束,不影响测量进程,并在测量结束后接入干扰事件,进而保证干扰事件能够得到及时的处理,而不被忽略。
第二方面,本申请实施例提供了一种终端设备,包括:
第一处理单元,用于若监测到数据采集过程中出现干扰事件且所述干扰事件为待实时处理的干扰事件;则保存已采集的数据,并接入所述干扰事件,在接入所述干扰事件的同时开启后台数据采集;
拼接单元,用于根据接入所述干扰事件前采集的数据片段与接入所述干扰事件后的采集数据片段,得到目标采集数据。
在第二方面的一种可能的实施方式中,上述终端设备还包括删除单元,上述删除单元用于若后台采集的数据片段中存在干扰数据片段,则删除所述干扰数据片段,得到有效数据片段。相应的,上述拼接单元具体用于将接入所述干扰事件前采集的数据片段与所述有效数据片段进行数据拼接,得到目标采集数据。
在第二方面的一种可能的实现方式中,上述终端设备还包括第一确定单元、第二确定单元以及校验单元。
上述第一确定单元用于采集运动数据,并根据所述运动数据确定运动数据的运动幅值。
上述第二确定单元用于根据所述运动数据的运动幅值,确定与所述运动数据同时采集得到的数据中满足预设运动状态的目标数据片段。
上述校验单元用于若所述目标数据片段的干扰程度超出预设干扰范围,则确定所述目标数据片段为干扰数据片段。
在第二方面的一种可能的实现方式中,上述拼接单元具体用于根据接入所述干扰事件前采集的数据片段的采集时间和所述后台采集的数据片段的采集时间进行数据拼接,得到所述目标采集数据。
在第二方面的一种可能的实现方式中,上述终端设备还包括监测单元和识别单元。
上述监测单元用于监测数据采集过程中是否出现干扰事件。
上述识别单元用于若数据采集过程中出现干扰事件,则判断所述干扰事件是否为待实时处理的干扰事件。
在第二方面的一种可能的实现方式中,上述识别单元包括优先级获取单元和判断单元。
优先级获取单元用于获取所述干扰事件的优先级。
判断单元用于若所述干扰事件的优先级为第一预设优先等级,则确定所述干扰事件为待实时处理的干扰事件;若所述干扰事件的优先级为第二预设优先等级,则确定所述干扰事件为非待实时处理的干扰事件。
在第二方面的一种可能的实现方式中,上述终端设备还包括第二处理单元,该第二处理单元用于若监测到所述采集过程中出现干扰事件且所述干扰事件为非待实时处理的干扰事件,则在测量结束后接入所述干扰事件。
第三方面,本申请实施例提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述第一方面所述的数据采集方法。
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上述第一方面所述的数据采集方法。
第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行上述第一方面中任一项所述的数据采集方法。
可以理解的是,上述第二方面至第五方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。
附图说明
图1为本申请实施例提供的一种数据采集方法所适用于的终端设备的硬件结构示意图;
图2为本申请实施例提供的一种实施例提供的一种数据采集系统的结构框图;
图3为本申请实施例提供的一种数据采集方法的流程示意图;
图4为本申请实施例提供的待实时处理的干扰事件识别过程的示意性流程图;
图5为本申请实施例提供的由接入干扰事件前采集的数据片段和后台采集的数据片段拼接得到的目标采集数据的数据结构示意图;
图6为本申请实施例提供的由接入干扰事件前采集的数据片段和有效数据片段拼接得到的目标采集数据的数据结构示意图
图7为本申请实施例提供的一种终端设备的结构示意图;
图8为本申请实施例提供的另一种终端设备的结构示意图。
具体实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。
另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
本申请实施例提供的数据采集方法可以应用于终端设备,终端设备可以是可穿戴设备,也可以是手机、平板电脑、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等移动终端,本申请实施例不对终端设备的具体类型作任何限制。
例如,所述终端设备具体可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、个人数字处理(Personal Digital Assistant,PDA)设备、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、手持式通信设备、手持式计算设备和/或用于在无线系统上进行网络通信的其它设备以及下一代通信系统,例如,5G网络中的移动终端或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)网络中的移动终端等。
作为示例而非限定,当所述终端设备为可穿戴设备时,该可穿戴设备还可以是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数 据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,如智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类可进行人体生理数据采集、人体运动数据采集以及生命体征监测等的智能手环、智能首饰等。
请参阅图1,图1是本申请实施例提供的一种数据采集方法所适用的终端设备的硬件结构示意图。如图1所示,终端设备100可以是可穿戴设备,也可以是手机、平板电脑等移动终端。具体地,本申请以上述终端设备100为可穿戴设备为例,终端设备100具体可以包括:射频(Radio Frequency,RF)电路110、存储器120、输入单元130、显示单元140、传感器150、音频电路160、短距离无线通信模块170、处理器180、以及电源190等部件。本领域技术人员可以理解,图1中示出的终端设备100的结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图1对终端设备100的各个构成部件进行具体的介绍:
RF电路110可用于收发信息,或通话过程中信号的接收和发送,特别地,将基站的下行信息接收后,给处理器180处理;另外,将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行终端设备100的各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如人体生理数据分析功能、人体运动数据分析功能等);存储数据区可存储根据终端设备100的使用所创建的数据(人体生理数据、人体被采集部位的运动数据)等。示例性的,当终端设备100为可穿戴设备时,可穿戴设备可以将通过传感器采集到的数据存储在其存储数据区;当终端设备100为手机、平板电脑等移动终端时,移动终端可以接收可穿戴设备发送的数据,并将该数据存储在移动终端的存储数据区。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元130可用于接收输入的数字或字符信息,以及产生与终端设备100的用户设置以及功能控制有关的键信号输入。具体地,输入单元130可包括触控面板131以及其他输入设备132。触控面板131,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板131上或在触控面板131附近的操作),并根据预先设定的程式驱动相应的连接装置。
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及终端设备100的各种菜单,例如输出接收到的心电信号。显示单元140可包括显示面板141,可 选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板141。进一步的,触控面板131可覆盖显示面板141,当触控面板131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图1中,触控面板131与显示面板141是作为两个独立的部件来实现终端设备100的输入和输入功能,但是在某些实施例中,可以将触控面板131与显示面板141集成而实现终端设备100的输入和输出功能。
终端设备100还可包括至少一种传感器150。示例性的,当移动终端100为可穿戴设备时,传感器150可以包括例如运动传感器、心电传感器等。具体地,作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备100姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端设备100还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路160、扬声器161,传声器162可提供用户与终端设备100之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端设备100,或者将音频数据输出至存储器120以便进一步处理。
终端设备100可以通过短距离无线通信模块170与其他设备进行无线通信,例如该短距离无线通信模块170可以集成有近场通信模块、蓝牙通信模块及无线局域网(Wireless Fidelity,WiFi)模块等中的至少一种。示例性的,当终端设备100为可穿戴设备时,可穿戴设备可以通过短距离无线通信模块与手机、平板电脑等移动终端建立无线通信连接,并将通过传感器采集到的预设的人体生理数据和/或人体被采集部位的运动数据等发送至移动终端;当终端设备100为手机、平板电脑等移动终端时,移动终端可以通过短距离无线通信模块与可穿戴设备建立无线通信连接,并接收可穿戴设备发送的预设的人体生理数据和/或人体被采集部位的运动数据等。
可以理解的是,尽管图1中未示出,终端设备100还可以包括有线通信接口,例如通用串行总线(Universal Serial Bus,USB)接口,终端设备100可以通过有线通信接口与其他终端设备100建立有线通信连接,并进行有线通信。示例性的,当终端设备100为可穿戴设备时,可穿戴设备可以通过USB接口与手机、平板电脑等移动终端建立有线通信连接,并将通过传感器采集到的预设的人体生理数据和/或人体被采集部位的运动数据等通过USB数据线发送至移动终端;当终端设备100为手机、平板电脑等移动终端时,移动终端可通过USB接口接收可穿戴设备发送的预设的人体生理数据和/或人体被采集部位的运动数据等。
处理器180是终端设备100的控制中心,利用各种接口和线路连接整个终端设备100的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行终端设备100的各种功能和处理数据,从而对终 端设备100进行整体监控。可选的,处理器180可包括一个或多个处理单元;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。
终端设备100还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
请参阅图2,图2是本申请实施例提供的一种数据采集系统的示例性结构框图,数据采集系统采集的数据主要用于帮助筛查阵发性的心血管疾病,如图2所示,该数据采集系统包括移动终端210和可穿戴设备220。其中,可穿戴设备220可以通过短距离无线通信方式与移动终端210建立无线通信连接,或者,可穿戴设备220还可以通过有线通信方式与移动终端210建立有线通信连接,本申请实施例不对可穿戴设备220与移动终端210之间的具体通信方式做任何限定。
具体的,当用户佩戴可穿戴设备220,并启动可穿戴设备220的数据采集功能后,可穿戴设备220可以通过其内置的用于采集数据的传感器,采集佩戴用户的数据。数据可以根据实际需求设置,例如,数据可以是人体的心电信号、人体的加速度运动数据(辅助识别干扰数据)等。
可穿戴设备220可以将传感器的数据上传至移动终端210。示例性的,可穿戴设备220可以通过短距离无线通信方式或有线通信方式与移动终端210建立通信连接,并将传感器的数据上传至移动终端210。移动终端210可以将来自可穿戴设备220的传感器的数据进行存储。在此,上述移动终端210可以作为数据处理、数据分析以及测量结果展示的设备。可穿戴设备220可以将采集到的数据发送给移动终端210,移动终端210在对该数据进行处理(如进行矩形滤波、平滑去噪处理、干扰数据删除、数据拼接等),并基于现有机器学习的方法分析出用户是否存在阵发性的心血管疾病,并将测量的结果通过该移动终端210的显示单元进行显示,或者通过扬声器进行语音通知。需要说明的是,上述只是举例说明测量结果展示的方式,其并非用于限定本申请,本申请实施例中还可以采用其他的方式来展示测量结果,本实施例对此不做特别限定。
此外,上述移动终端210还可以只作为验证可穿戴设备220的设备,基于移动终端210对可穿戴设备进行身份认证,登录后的可穿戴设备即与该移动终端210绑定,绑定后的可穿戴设备能够接收到移动设备的通话通知、短信通知、即时通讯通知等信息。在此,上述数据采集、数据处理、数据分析及测量结果展示由可穿戴设备220来实现。对此,当绑定了移动终端210的可穿戴设备启动测量功能后(即开始采集数据),可以采集用于用于帮助筛查阵发性的心血管疾病的数据,并对采集到的数据进行处理(如进行矩形滤波、平滑去噪处理、干扰数据删除、数据拼接等)后,对处理后的数据基于现有机器学习的方法分析出用户是否存在阵发性的心血管疾病,并将测量的结果通过该可穿戴设备220的显示单元进行显示,或者通过扬声器进行语音通知。需要说明的是,上述只是举例说明测量结果展示的方式,其并非用于限定本申请,本申请实施例中还可以采用其他的方式来展示测量结果,本实施例对此不做特别限定。
此外,可穿戴设备220也可以对其采集到的数据进行处理,然后再将处理后的数据上传至移动终端210,通过移动终端210进行数据分析,移动终端210进行数据分析后可以通过移动终端210进行测量结果展示。可理解的是,移动终端210还可以将分析出的测量结果发送给可穿戴设备220,通过可穿戴设备220进行展示。
可以理解的是,上述数据采集系统还可以只包括可穿戴设备220,该可穿戴设备220中能够实现通话功能和信息收发功能等,同时该可穿戴设备220还具备数据采集功能、数据处理功能、数据分析功能以及测量结果展示功能。
以下实施例将以终端设备100为例,对本申请实施例提供的数据采集方法进行说明。
请参阅图3,图3是本申请实施例提供的一种数据采集方法的示意性流程图,本实施例中,流程的执行主体为终端设备,作为示例而非限定,终端设备可以是如图2所述的可穿戴设备220,也可以是如图2所述的移动终端210。
如图3所示,本实施例提供的数据采集方法具体包括S110至S190,详述如下:
S110:启动数据采集功能。
在本实施例中,当终端设备为可穿戴设备,即流程的执行主体为可穿戴设备时,用户在佩戴可穿戴设备后,可以启动可穿戴设备的数据采集功能,当可穿戴设备的数据采集功能开启后,可穿戴设备可以通过其内置的用于采集生理数据(如心电信号)的传感器,采集佩戴运动者的生理数据。在此,用户可以通过移动终端发送启动可穿戴设备的测量功能的指令至可穿戴设备,进而启动可穿戴设备的测量功能,也可以直接通过可穿戴设备启动器测量功能,例如按下启动该功能的按键或控件,进而生成对应的启动指令,进而启动该可穿戴设备的测量功能。此外,启动测量功能除了可以采集生理数据还可以采集人体特定位置的运动数据。运动数据能够用于辅助检测用户是否移动可穿戴设备以及运动幅值是否满足预设运动状态(例如接听电话这一动作)。
在本实施例中,传感器可以是设置在可穿戴设备中的传感器。其中,数据的具体类型可根据实际需求设置,此处不做限制,示例性的,当需要对人体的预设生理特征进行检测时,数据可以包括能够表征该预设生理特征的人体生理数据,例如,当需要对人体心脏的活动特征进行检测时,数据可以包括能够表征人体心脏的活动特征的心电信号;或者,当需要对人体的运动状态进行检测时,数据还可以包括能够表征人体的运动状态的运动数据,例如人体的加速度等。
在具体应用中,可以根据数据类型的不同,在可穿戴设备中配置与数据相对应的不同的传感器。示例性的,当数据包括人体的心电信号时,可以在可穿戴设备中配置用于采集人体的心电信号的心电传感器,其中,心电传感器可以包括但不限于光电容积描记(Photo plethysmograph,PPG)传感器或心电图(Electrocardiogram,ECG)传感器等。具体的,作为示例而非限定,当可穿戴设备为手环或手表等能够与用户皮肤直接接触的电子设备,且心电传感器为PPG传感器时,PPG传感器可以设置在手环或手表的表盘中靠近表盘背部的区域,以便用户在佩戴手环或手表,进而使手环或手表的表盘背部的区域与用户的皮肤接触时,手环或手表中的PPG传感器可以基于用户佩戴部位的血液容积变化采集到用户的心电信号。进一步的,在采集人体的心电信号时,若数据还包括人体被采集部位的运动数据时,还可以在可穿戴设备中配置用于采集人 体运动数据的运动传感器,其中,运动传感器可以包括但不限于加速度传感器等。人体被采集部位即人体佩戴可穿戴设备的部位。
在本实施例中,当用户佩戴可穿戴设备,并启动可穿戴设备的数据采集功能时,可穿戴设备可以控制相应的传感器采集针对用户的数据。示例性的,当数据包括人体的心电信号时,用户可以启动可穿戴设备的心电信号采集功能,可穿戴设备检测到用户启动心电信号采集功能时,控制心电传感器采集用户的心电信号,传感器采集到的用户的心电信号即为本申请所要采集的数据;当数据还包括人体被采集部位的运动数据时,用户可以启动可穿戴设备的运动数据采集功能,可穿戴设备检测到用户启动运动数据采集功能时,控制运动传感器采集用户被采集部位的运动数据。
在本实施例中,当终端设备为手机、平板电脑等移动终端,即流程的执行主体为手机、平板等移动终端时,上述启动数据采集功能可以是通过移动终端发送启动数据采集功能的指令给到可穿戴设备,进而实现启动数据采集功能。
在本实施例中,当启动了数据采集功能后,终端设备就可以进行相关的数据采集,终端设备还可以将采集到的数据存储在本地的储存器中进行保存。
在本实施例中,当终端设备为可穿戴设备,即流程的执行主体为可穿戴设备时,可穿戴设备可以将来自传感器的数据存储在其本地存储器中,基于此,在基于采集到的数据进行数据分析时,可穿戴设备可以从其本地存储器中获取该数据。在本实施例另一种可能的实现方式中,当终端设备为手机、平板电脑等移动终端,即流程的执行主体为手机、平板电脑等移动终端时,可穿戴设备可以将来自传感器的数据上传至移动终端,移动终端可以将可穿戴设备发送的数据存储在移动终端的本地存储器中,基于此,在基于采集到的数据进行数据分析时,移动终端可以从其本地存储器中获取该数据。
S120:监测数据采集过程中是否出现干扰事件;若数据采集过程中出现干扰事件,则执行S130,否则持续监测直至测量结束。
在本实施例中,由于测量过程需要较长的一段时间,因此在测量过程中容易出现干扰事件,因此,在进行数据采集的过程中,终端设备还会实时地监测是否有干扰事件出现。可以理解的是,上述干扰事件有一些是需要用户及时处理以免漏掉重要信息的事件,例如实时通话事件;有一些干扰事件是可以在测量结束后再进行处理的事件,例如信息查收事件;还有一些干扰事件则由于用户大幅度地移动终端设备而导致的干扰事件,如用户接听电话等动作干扰事件。
在本实施例中,移动终端监测数据采集过程是否出现干扰事件可以分为以下两种情况:
1、监测是否出现明确意义的干扰事件。
在此,终端设备可以明确地确定干扰事件的意义的这一种干扰事件,例如实时通话事件、短消息查收事件、即时通讯消息查收事件、终端设备的应用程序的信息推送事件等。对于这些干扰事件,终端设备能够直接确定干扰事件具体是哪一种干扰事件。示例性的,当有电话打进来的时候(即出现实时通话事件时),终端设备会接收到对应的请求实时通话的消息提醒,进而可以确定该干扰事件是实时通话事件。即,当终端设备接收到请求实时通话的消息提醒时,可以确定在数据采集过程中出现了实时通 话事件这一干扰事件。又例如,当终端设备接收到短消息时,终端设备会接收到对应的收到短消息的消息提醒,进而可以确定该干扰事件是短消息查收事件。即,当终端设备接收到收到短消息的消息提醒时,可以确定在数据采集过程中出现了短消息查收这一干扰事件。
在监测是否出现明确意义的干扰事件时,只需要监测是否接收到对应的消息提醒,若接收到对应的消息提醒,则表明监测到出现与该消息提醒对应的干扰事件。
2、监测是否出现无明确意义的干扰事件。
在此,在数据采集过程中,佩戴可穿戴设备的用户无意之间抬了一下手,或者是颤抖了一下等动作干扰事件对于可穿戴设备来说,是没有办法确定具体发生了什么干扰的。即无明确意义的干扰事件。对于此类干扰事件,可以基于终端设备的辅助传感器(例如加速度传感器等)的辅助数据,并基于现有的运动姿态算法来识别是否出现干扰事件。
S130:判断所述干扰事件是否为待实时处理的干扰事件;若干扰事件为待实时处理的干扰事件则执行S140,否则执行S200
在本实施例中,当监测到在数据采集过程中出现了干扰事件的情况下,终端设备可以确定出该干扰事件是哪种干扰事件,进而确定出该干扰事件是否为待实时处理的干扰事件。在本实施例中,上述待实时处理的干扰事件是指需要用户实时处理的事件。在此,可以通过预先设定各类干扰事件的优先级,然后基于干扰事件的优先级来判断该干扰事件是不是待实时处理的干扰事件。
此外,还可以设置特定用户发送过来的干扰事件为待实时处理的干扰事件,例如特定用户打过来的电话、特定用户发过来的信息(包括但不限于短消息、即时通讯消息)等。需要说明的是,特定用户可以是一个,也可以是多个,在此不加以限制。可以通过设置特定用户列表,将特定用户添加到该特定用户列表中,每当终端设备接收到干扰事件时,获取发起该干扰事件的用户,并判断该用户是否为特定用户,若该用户为特定用户(在特定用户列表中),则确定该干扰事件为待实时处理的干扰事件。若该用户不是特定用户(不在特定用户列表中),则可以进一步确定该干扰事件对应的优先级,然后基于干扰事件的优先级来判断该干扰事件是不是待实时处理的干扰事件。上述特定用户列表可以由用户进行定义,用户将自己认为重要的用户添加到该列表中,该列表可以包括用户标识(如电话号码、姓名、昵称等多种标识),通过用户标识来判断发起干扰事件的用户是否在该特定用户列表中,对此不在进行详述。
请参见图4,作为本实施例的一种实现方式,干扰事件是否为待实时处理的干扰事件的识别过程具体可以包括以下步骤:
S131:获取所述干扰事件的优先级。
S132:若所述干扰事件的优先级为第一预设优先等级,则确定所述干扰事件为待实时处理的干扰事件;若所述干扰事件的优先级为第二预设优先等级,则确定所述干扰事件为非待实时处理的干扰事件。
在具体应用中,可以预先设定各类干扰事件类型的优先级。可以预先将干扰事件分为三类,第一类是需要实时处理的干扰事件;第二类是可以在测量结束后再进行处理的干扰事件;第三类则是运动干扰事件。预先将第一类干扰事件的优先级设置为第 一预设优先等级,将第二类干扰事件的优先级设置为第二预设优先等级,将第三类干扰事件的优先级设置为第三预设优先等级。当终端设备监测到干扰事件出现时,通过确定该干扰事件的优先级,就能够采取对应的处理策略对干扰事件进行处理。
需要说明的是,上述第一预设优先等级、第二预设优先等级及第三预设优先等级是为了区分各类干扰事件而预先设置的,用户可以根据实际应用需求预先设置各类干扰事件中包含哪些干扰事件,还可以预先设置各个预设优先等级的优先级顺序。在此,可以设置第一预设优先等级的优先级高于第二预设优先等级的优先级。同理,也可以设置第一预设优先等级的优先级低于第二预设优先等级的优先级,在此不加以限制。
S140:保存已采集的数据,并接入所述干扰事件,在接入所述干扰事件的同时开启后台数据采集。
在本实施例中,在确定了干扰事件是需要实时处理的待实时处理的干扰事件的情况下,先将已经采集了的数据进行保存,例如将已经采集了的数据保存在终端设备的存储器中。在已经采集了的数据保存完成后,接入该待实时处理的干扰事件,例如接入实时通话事件,与此同时,开启终端设备的后台继续采集数据,保证数据采集过程不被中断。
S150:采集运动数据,并根据所述运动数据确定运动数据的运动幅值。
S160:根据所述运动数据的运动幅值,确定与所述运动数据同时采集得到的数据中满足预设运动状态的目标数据片段。
S170:若所述目标数据片段的干扰程度超出预设干扰范围,则确定所述目标数据片段为干扰数据片段。
在本实施例中,在采集数据的过程中,移动可穿戴设备或者移动移动终端(例如接听电话时抬手或者拿起手机等动作)会对采集到的数据产生干扰,造成采集到的数据存在干扰信息。通过在采集目标数据(即用于分析心血管疾病的生理数据)的同时基于运动传感器采集运动数据,然后基于运动数据的运动幅值确定满足预设运动状态的目标数据片段。再基于目标数据片段的信号干扰程度来确定该目标数据片段是不是干扰数据片段。由于有些动作干扰对采集到的数据产生的干扰是比较小的,因此需要进一步根据目标数据片段的信号干扰程度来确定其是不是干扰数据片段,只有在该目标数据片段的干扰程度超过预设干扰范围,才将其认定为干扰数据片段,尽可能地保留有效数据,在后台数据保存时,对干扰数据进行删除,避免干扰数据对分析结果的影响,提高测量结果的准确性。
需要说明的是,上述满足预设运动状态是指运动数据的运动幅度大于某一预设的幅度阈值,上述预设的幅度阈值可以根据实际需求进行设置,在此不加以限制。还需要说明的是,可以根据采集到的数据的信噪比来确定干扰程度,预设干扰范围可以根据实际情况进行设置,在此不加以限制。
S180:若后台采集的数据片段中存在干扰数据片段,则删除所述干扰数据片段,得到有效数据片段。
在此,在识别出后台采集的数据片段中存在干扰数据片段的情况下,为了避免干扰数据对分析结果的影响,提供测量结果的准确性,可以将该干扰数据片段从后台采 集的数据片段中删除,得到不存在干扰的有效数据片段。
S190:根据接入所述干扰事件前采集的数据片段和后台采集的数据片段,得到目标采集数据。
在本实施例中,终端设备可以基于各个数据片段的采集时间将接入所述干扰事件前采集的数据片段和后台采集的数据片段进行数据拼接,进而得到目标采集数据。
请参阅图5,其中,DP1为接入干扰事件前采集的数据片段,DP2为后台采集的数据片段,基于接入干扰事件前的数据片段的采集时间和后台采集的数据片段的采集时间,终端设备可以基于由早到晚的顺序将DP1和DP2进行拼接,进而得到目标采集数据1。
请参阅图6,作为本实施例的一种可能的实现方式,在后台采集到的数据片段DP2存在干扰数据片段DP3的情况下,可以将干扰数据片段DP3从后台采集到的数据片段DP2中删除掉,得到剩下的有效数据片段DP4,再将接入所述干扰事件前采集的数据片段DP1与所述有效数据片段DP4进行数据拼接,得到目标采集数据2。
需要说明的是,终端设备还可以先将接入干扰事件前采集到的数据片段与后台采集到的数据片段进行拼接,然后再筛选出拼接后的数据中的干扰数据片段,再将该干扰数据片段从拼接后的数据中删除,进而得到目标数据片段。
还需要说明的是,后台采集到的数据片段中可以不存在干扰数据片段,也可以只存在一段干扰数据片段,还可以存在多段干扰数据片段,在此不加以限制。对于后台采集的数据片段中存在多段干扰数据片段的情况,将多段干扰数据片段从后台采集到的数据片段删除后,会得到多个有效数据片段,此时,只需要根据各个有效数据片段的采集时间,按照由早到晚的顺序进行数据拼接,就能够得到一段连续的采集数据,该连续的擦剂数据即为用于数据分析的目标采集数据。
S200:,在测量结束后接入所述干扰事件。
在本实施例中,在确定了干扰事件是不需要实时处理的非待实时处理的干扰事件的情况下,在数据采集过程中可以暂时不处理非待实时处理的干扰事件,终端设备可以继续采集数据至本次测量结束,使得该干扰事件不会影响测量的进程,并在测量结束后接入干扰事件,进而保证干扰事件能够得到及时的处理,而不被忽略。例如在测量结束后再显示短消息通知、即时通讯消息通知、应用推送通知等。
本申请实施例提供的数据采集方法,能够在处理待实时处理的干扰事件的同时开启后台持续采集数据,再在干扰结束后,将接入干扰事件前的数据片段和后台采集的数据片段进行拼接,得到目标采集数据,即能够及时处理需要实时处理的事件,又能持续采集数据,不影响测量进程,还能够保证不会丢弃干扰到来前的采集到的有效信息,避免出现遗漏部分有效数据的情况,有效地提高采集的数据的可靠性和可利用率,缩短测量的总耗时。在数据采集过程中可以暂时不处理非待实时处理的干扰事件,继续采集数据至本次测量结束,不影响测量进程,并在测量结束后接入干扰事件,进而保证干扰事件能够得到及时的处理,而不被忽略。对于不同优先等级的干扰事件采用不同的处理策略,进而提高数据采集的效率的同时保证不遗漏重要信息。有效地解决了传统的可穿戴设备数据采集过程在保证重要信息及时被处理的前提下,存在容易遗漏部分有效数据,导致采集到的数据的可靠性和可利用率低、测量耗时长的问题。
对应于上述实施例所述的数据采集方法,图7示出了本申请实施例提供的一种终端设备的结构框图,该终端设备包括的各单元用于执行上述实施例中的各步骤,具体请参阅上述实施例中的相关描述,为了便于说明,仅示出了与本申请实施例相关的部分。在实际应用中,该终端设备可以是可穿戴设备,也可以是手机、平板电脑等移动终端。请参阅图7,该终端设备100包括第一处理单元110和拼接单元120。其中:
第一处理单元110用于若监测到数据采集过程中出现干扰事件且所述干扰事件为待实时处理的干扰事件;则保存已采集的数据,并接入所述干扰事件,在接入所述干扰事件的同时开启后台数据采集。
拼接单元120用于根据接入所述干扰事件前采集的数据片段与接入所述干扰事件后的采集数据片段,得到目标采集数据。
在本申请一实施例中,上述终端设备还包括删除单元,上述删除单元用于若后台采集的数据片段中存在干扰数据片段,则删除所述干扰数据片段,得到有效数据片段。相应的,上述拼接单元具体用于将接入所述干扰事件前采集的数据片段与所述有效数据片段进行数据拼接,得到目标采集数据。
在本申请一实施例中,上述终端设备还包括第一确定单元、第二确定单元以及校验单元。其中:
第一确定单元用于采集运动数据,并根据所述运动数据确定运动数据的运动幅值。
第二确定单元用于根据所述运动数据的运动幅值,确定与所述运动数据同时采集得到的数据中满足预设运动状态的目标数据片段。
校验单元用于若所述目标数据片段的干扰程度超出预设干扰范围,则确定所述目标数据片段为干扰数据片段。
在本申请一实施例中,上述拼接单元具体用于根据接入所述干扰事件前采集的数据片段的采集时间和所述后台采集的数据片段的采集时间进行数据拼接,得到所述目标采集数据。
在本申请一实施例中,上述终端设备还包括监测单元和识别单元。其中:
监测单元用于监测数据采集过程中是否出现干扰事件。
识别单元用于若数据采集过程中出现干扰事件,则判断所述干扰事件是否为待实时处理的干扰事件。
在本申请一实施例中,上述识别单元包括优先级获取单元和判断单元。其中:
优先级获取单元用于获取所述干扰事件的优先级。
判断单元用于若所述干扰事件的优先级为第一预设优先等级,则确定所述干扰事件为待实时处理的干扰事件;若所述干扰事件的优先级为第二预设优先等级,则确定所述干扰事件为非待实时处理的干扰事件。
在本申请一实施例中,上述终端设备还包括第二处理单元,该第二处理单元用于若监测到所述采集过程中出现干扰事件且所述干扰事件为非待实时处理的干扰事件,则在测量结束后接入所述干扰事件。
以上可以看出,本申请实施例提供的一种终端设备,能够在处理待实时处理的干扰事件的同时开启后台持续采集数据,再在干扰结束后,将接入干扰事件前的数据片段和后台采集的数据片段进行拼接,得到目标采集数据,即能够及时处理需要实时处 理的事件,又能持续采集数据,不影响测量进程,还能够保证不会丢弃干扰到来前的采集到的有效信息,避免出现遗漏部分有效数据的情况,有效地提高采集的数据的可靠性和可利用率,缩短测量的总耗时。
请参阅图8,图8是本申请另一实施例提供的终端设备的结构示意图。如图8所示,该实施例的终端设备100包括:至少一个处理器80(图8中仅示出一个)、存储器81以及存储在所述存储器81中并可在所述至少一个处理器80上运行的计算机程序82,所述处理器80执行所述计算机程序82时实现上述任意各个数据采集方法实施例中的步骤。
所述终端设备100可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。该终端设备可包括,但不仅限于,处理器80、存储器81。本领域技术人员可以理解,图8仅仅是终端设备100的举例,并不构成对终端设备100的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备等。
所称处理器80可以是中央处理单元(Central Processing Unit,CPU),该处理器80还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述存储器81在一些实施例中可以是所述终端设备100的内部存储单元,例如终端设备100的硬盘或内存。所述存储器81在另一些实施例中也可以是所述终端设备100的外部存储设备,例如所述终端设备100上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器81还可以既包括所述终端设备100的内部存储单元也包括外部存储设备。所述存储器81用于存储操作系统、应用程序、引导装载程序(Boot Loader)、数据以及其他程序等,例如所述计算机程序的程序代码等。所述存储器81还可以用于暂时地存储已经输出或者将要输出的数据。
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时可实现上述数据采集方法中的步骤。
本申请实施例提供了一种计算机程序产品,当计算机程序产品在移动终端上运行时,使得移动终端执行时可实现上述数据采集方法中的步骤。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到拍照装置/终端设备的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的实施例中,应该理解到,所揭露的装置/网络设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/网络设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分别到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
最后应说明的是:以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (10)

  1. 一种数据采集方法,其特征在于,包括:
    若监测到数据采集过程中出现干扰事件且所述干扰事件为待实时处理的干扰事件,则保存已采集的数据,并接入所述干扰事件,在接入所述干扰事件的同时开启后台数据采集;
    根据接入所述干扰事件前采集的数据片段和后台采集的数据片段,得到目标采集数据。
  2. 根据权利要求1所述的数据采集方法,其特征在于,在若监测到数据采集过程中出现干扰事件且所述干扰事件为待实时处理的干扰事件,则保存已采集的数据,并接入所述干扰事件,在接入所述干扰事件的同时开启后台数据采集之后,还包括:
    若后台采集的数据片段中存在干扰数据片段,则删除所述干扰数据片段,得到有效数据片段;
    相应地,所述根据接入所述干扰事件前采集的数据片段和后台采集的数据片段,得到目标采集数据,包括:
    将接入所述干扰事件前采集的数据片段与所述有效数据片段进行数据拼接,得到目标采集数据。
  3. 根据权利要求2所述的数据采集方法,其特征在于,在若后台采集的数据片段中存在干扰数据片段,则删除所述干扰数据片段,得到有效数据片段之前,还包括:
    采集运动数据,并根据所述运动数据确定运动数据的运动幅值;
    根据所述运动数据的运动幅值,确定与所述运动数据同时采集得到的数据中满足预设运动状态的目标数据片段;
    若所述目标数据片段的干扰程度超出预设干扰范围,则确定所述目标数据片段为干扰数据片段。
  4. 根据权利要求1至3任一项所述的数据采集方法,其特征在于,所述根据接入所述干扰事件前采集的数据片段和后台采集的数据片段,得到目标采集数据,包括:
    根据接入所述干扰事件前采集的数据片段的采集时间和所述后台采集的数据片段的采集时间进行数据拼接,得到所述目标采集数据。
  5. 根据权利要求1所述的数据采集方法,其特征在于,在所述若监测到数据采集过程中出现干扰事件且所述干扰事件为待实时处理的干扰事件,则保存已采集的数据,并接入所述干扰事件,在接入所述干扰事件的同时开启后台数据采集之前,还包括:
    监测数据采集过程中是否出现干扰事件;
    若数据采集过程中出现干扰事件,则判断所述干扰事件是否为待实时处理的干扰事件。
  6. 根据权利要求5所述的数据采集方法,其特征在于,所述若数据采集过程中出现干扰事件,则判断所述干扰事件是否为待实时处理的干扰事件,包括:
    获取所述干扰事件的优先级;
    若所述干扰事件的优先级为第一预设优先等级,则确定所述干扰事件为待实时处理的干扰事件;
    若所述干扰事件的优先级为第二预设优先等级,则确定所述干扰事件为非待实时处理的干扰事件。
  7. 根据权利要求1至5任一项所述的数据采集方法,其特征在于,所述数据采集方法还包括:
    若监测到所述采集过程中出现干扰事件且所述干扰事件为非待实时处理的干扰事件,则在测量结束后接入所述干扰事件。
  8. 一种终端设备,其特征在于,包括:
    第一处理单元,用于若监测到数据采集过程中出现干扰事件且所述干扰事件为待实时处理的干扰事件;则保存已采集的数据,并接入所述干扰事件,在接入所述干扰事件的同时开启后台数据采集;
    拼接单元,用于根据接入所述干扰事件前采集的数据片段与接入所述干扰事件后的采集数据片段,得到目标采集数据。
  9. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至7任一项所述的数据采集方法。
  10. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述的数据采集方法。
PCT/CN2020/131531 2020-02-24 2020-11-25 一种数据采集方法、终端设备及存储介质 WO2021169443A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010115816.4A CN113288049A (zh) 2020-02-24 2020-02-24 一种数据采集方法、终端设备及存储介质
CN202010115816.4 2020-02-24

Publications (1)

Publication Number Publication Date
WO2021169443A1 true WO2021169443A1 (zh) 2021-09-02

Family

ID=77317843

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/131531 WO2021169443A1 (zh) 2020-02-24 2020-11-25 一种数据采集方法、终端设备及存储介质

Country Status (2)

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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115903681B (zh) * 2022-10-26 2023-10-24 江苏合信环境发展有限公司 一种污水厂能耗数据采集方法及系统

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104684459A (zh) * 2012-08-01 2015-06-03 皇家飞利浦有限公司 光体积描记术测量中识别运动伪影并且改善测量结果和警报的可靠性的方法和系统
CN104935727A (zh) * 2015-04-24 2015-09-23 广东小天才科技有限公司 一种智能穿戴设备接听电话的方法及装置
CN106155198A (zh) * 2015-05-15 2016-11-23 博能电子公司 穿戴式电子设备、非暂态计算机可读存储介质和方法
CN107550489A (zh) * 2017-10-16 2018-01-09 何史林 无侵扰式心电信号采集系统
CN108184021A (zh) * 2017-12-28 2018-06-19 维沃移动通信有限公司 一种应用运行状态控制方法及移动终端
CN108968932A (zh) * 2017-06-02 2018-12-11 苹果公司 在预先确定的活动期间的生理采样
US20190289124A1 (en) * 2018-03-13 2019-09-19 T-Mobile Usa, Inc. Mobile computing device notification mode determination

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016095073A1 (zh) * 2014-12-14 2016-06-23 深圳市大疆创新科技有限公司 一种视频处理方法、装置及图像系统
CN106155610A (zh) * 2015-04-16 2016-11-23 中兴通讯股份有限公司 一种屏幕操作方法及装置
WO2017088156A1 (zh) * 2015-11-26 2017-06-01 华为技术有限公司 一种血压参数检测方法及用户终端
CN106502804B (zh) * 2016-10-31 2019-11-05 武汉斗鱼网络科技有限公司 一种基于队列结构的弹窗展示方法和系统
CN107837082B (zh) * 2017-11-27 2020-04-24 乐普(北京)医疗器械股份有限公司 基于人工智能自学习的心电图自动分析方法和装置
CN109758140A (zh) * 2019-01-09 2019-05-17 平安科技(深圳)有限公司 一种心率检测方法和装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104684459A (zh) * 2012-08-01 2015-06-03 皇家飞利浦有限公司 光体积描记术测量中识别运动伪影并且改善测量结果和警报的可靠性的方法和系统
CN104935727A (zh) * 2015-04-24 2015-09-23 广东小天才科技有限公司 一种智能穿戴设备接听电话的方法及装置
CN106155198A (zh) * 2015-05-15 2016-11-23 博能电子公司 穿戴式电子设备、非暂态计算机可读存储介质和方法
CN108968932A (zh) * 2017-06-02 2018-12-11 苹果公司 在预先确定的活动期间的生理采样
CN107550489A (zh) * 2017-10-16 2018-01-09 何史林 无侵扰式心电信号采集系统
CN108184021A (zh) * 2017-12-28 2018-06-19 维沃移动通信有限公司 一种应用运行状态控制方法及移动终端
US20190289124A1 (en) * 2018-03-13 2019-09-19 T-Mobile Usa, Inc. Mobile computing device notification mode determination

Also Published As

Publication number Publication date
CN113288049A (zh) 2021-08-24

Similar Documents

Publication Publication Date Title
US10945677B2 (en) Method for detecting biometric information and electronic device using same
CN105930631B (zh) 用于测量生物信号的方法及其可穿戴电子设备
WO2021190377A1 (zh) 获取ppg信号的方法、装置、终端设备和存储介质
WO2017050071A1 (zh) 健康咨询服务获取方法、装置和系统
KR20180088020A (ko) 전자 장치 및 그의 동작 방법
AU2018299499B2 (en) Method for iris recognition and related products
WO2021031979A1 (zh) 生理参数的采集方法和装置与生理参数的处理方法和装置
CN109718112A (zh) 用药提醒方法、装置及计算机可读存储介质
CN109567773A (zh) 基于指纹的血压测量方法、终端及计算机可读存储介质
CN110012148A (zh) 一种手环控制方法、手环及计算机可读存储介质
CN105807908B (zh) 一种切换工作模式的方法和装置
WO2021169443A1 (zh) 一种数据采集方法、终端设备及存储介质
CN117093766A (zh) 问诊平台的信息推荐方法、相关装置及存储介质
CN108769206B (zh) 数据同步方法、终端及存储介质
CN104811549B (zh) 一种呼叫的方法及移动终端
EP4070722A1 (en) Diagnostic report generation method and apparatus, terminal device and readable storage medium
CN109246595A (zh) 终端定位方法、移动终端及计算机可读存储介质
WO2021135932A1 (zh) 一种数据采集方法、终端设备及存储介质
CN112168155A (zh) 一种血压检测方法、可穿戴设备以及计算机可读存储介质
CN110062412A (zh) 无线配对方法、系统、存储介质及移动终端
WO2016037354A1 (zh) 一种穿戴设备及穿戴设备的数据获取方法
CN114532992A (zh) 小睡状态检测方法、装置、系统及计算机可读存储介质
CN111603154B (zh) 心律检测方法、装置、存储介质及移动终端
CN113703641A (zh) 消息预览方法、装置、可穿戴设备及计算机可读存储介质
CN109862173A (zh) 护眼显示模式自动控制方法、终端及计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20921602

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20921602

Country of ref document: EP

Kind code of ref document: A1