WO2019101222A2 - Method for updating data sampling interval, and method and device for collecting data on basis of sampling interval - Google Patents

Method for updating data sampling interval, and method and device for collecting data on basis of sampling interval Download PDF

Info

Publication number
WO2019101222A2
WO2019101222A2 PCT/CN2018/125849 CN2018125849W WO2019101222A2 WO 2019101222 A2 WO2019101222 A2 WO 2019101222A2 CN 2018125849 W CN2018125849 W CN 2018125849W WO 2019101222 A2 WO2019101222 A2 WO 2019101222A2
Authority
WO
WIPO (PCT)
Prior art keywords
data
sampling
user
wearable device
sampling interval
Prior art date
Application number
PCT/CN2018/125849
Other languages
French (fr)
Chinese (zh)
Other versions
WO2019101222A3 (en
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 华为技术有限公司
Priority to CN201880097951.1A priority Critical patent/CN113242712B/en
Publication of WO2019101222A2 publication Critical patent/WO2019101222A2/en
Publication of WO2019101222A3 publication Critical patent/WO2019101222A3/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02416Detecting, measuring or recording pulse rate or heart rate using photoplethysmograph signals, e.g. generated by infrared radiation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02438Detecting, measuring or recording pulse rate or heart rate with portable devices, e.g. worn by the patient
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • H04W52/0216Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave using a pre-established activity schedule, e.g. traffic indication frame
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • H04W52/0277Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof according to available power supply, e.g. switching off when a low battery condition is detected
    • 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

Definitions

  • the present invention relates to the field of communications, and in particular, to a method for updating a data sampling interval, a method for collecting data according to a sampling interval, and an apparatus therefor.
  • Atrial fibrillation is the most common heart disease
  • central fibrillation ie, atrial fibrillation
  • Atrial fibrillation is one of the most common types of arrhythmia.
  • Atrial fibrillation increases the risk of stroke by 5 times. It is clear that atrial fibrillation is the leading cause of stroke.
  • the incidence rate of people over 35 years old is about 1%, and the incidence rate is increasing year by year, and there is a trend of rejuvenation.
  • Atrial fibrillation is mostly paroxysmal, and early detection of treatment can avoid its continuous development.
  • Single ECG (electrocardiography) measurements are difficult to find.
  • the 72-hour Holter (dynamic electrocardiogram) detection rate is about 72%, but Holter is not easy to carry; based on PPG (photoplethysmography, Photoplethysmography) wearable device, user experience is good, the detection rate of atrial fibrillation can be as high as 90% the above.
  • the PPG sensor is normally open, which reduces the standby time of the wearable device and affects the user experience.
  • the PPG sensor is opened at a fixed frequency. This method will cause unnecessary waste of power consumption for people with low risk of arrhythmia; for high-risk people with arrhythmia, it is not enough to meet the requirements of testing.
  • Embodiments of the present invention provide a method for updating a data sampling interval, a method for collecting data according to a sampling interval, and a device thereof, which can adjust a data sampling interval according to different users.
  • the embodiment of the present invention provides a method for updating a data sampling interval, including: acquiring, by a terminal device, sampling data of a user in a first time, and obtaining a first sampling interval based on sampling data of the user in the first time period.
  • the terminal device Transmitting, by the terminal device, the first sampling interval to the wearable device, so that the wearable device acquires sampling data of the user in a second time according to the first sampling interval; the terminal device receives the The sampling data of the user in the second time period sent by the wearable device, and obtaining a second sampling interval based on the sampling data of the user in the second time; the terminal device sending the second sampling interval to the The device is worn to enable the wearable device to acquire new sampling data of the user in a third time according to the second sampling interval.
  • the terminal device acquires sampling data from the wearable device, and adjusts the sampling interval according to the sampling data, so that the wearable device can collect data based on the adjusted sampling interval. Since the data collected by different users is different, the adjusted sampling interval is suitable for the corresponding user. Further, since different sampling intervals are suitable for different users, both accurate data collection and power consumption can be saved.
  • the sampling data of the user in the second time period includes first sampling data, where the first sampling data is when the wearable device arrives at a sampling time point, according to the first duration Sampling data collected.
  • the terminal device can determine the sampling interval according to the first sampled data.
  • the sampling data of the user in the second time period includes first and second sampling data, wherein the first sampling data is when the wearable device arrives at a sampling time point, according to Sampling data collected by the first duration; the second sampling data is sampling data collected by the wearable device according to the second duration after the first sampling data meets the set condition, and the second duration is greater than the first duration .
  • the terminal device can determine the sampling interval based on the first and second sample data. Since the second data is data collected under the set condition and the acquisition duration is longer, the terminal device determines that the sampling interval is more reasonable than when only the first sample data is collected.
  • the sampling data includes PPG data
  • the first sampling data satisfies a setting condition that the first sampling data includes heart rate irregularity information.
  • the data collection in the embodiment of the present invention can be applied to detect the PPG signal collection when the user has a risk of arrhythmia.
  • the heartbeat information is specifically atrial fibrillation information.
  • the terminal device displays a visualization graph drawn based on the PPG data.
  • the embodiment of the invention can display the sampling result by visualizing the graphic, and can more intuitively reflect the physical condition of the user.
  • the first or second sampling interval is obtained according to the following formula:
  • I LI+(HI-LI) ⁇ (1-prob AF )
  • HI LI is used to characterize the reference sampling interval range [LI, HI]
  • Prob AF is the probability of atrial fibrillation, which is based on the first or The user's sampled data in the second time is obtained by the logistic regression algorithm.
  • a second aspect a method for updating a data sampling interval, the method comprising: acquiring, by a terminal device, sampling data and motion data of a user in a fourth time, and obtaining a third sampling interval based on the sampling data and the motion data; Transmitting, by the terminal device, the third sampling interval to the wearable device, so that the wearable device acquires sampling data of the user in a fifth time according to the third sampling interval; a motion data of the user in five time; the terminal device obtains a fourth sampling interval based on sampling data and motion data of the user in the fifth time; the terminal device sends the fourth sampling interval to the wearable And a device, so that the wearable device acquires new sampling data of the user in a sixth time according to the fourth sampling interval.
  • both the sampling data and the motion data should be considered, and the adjusted sampling interval is not only suitable for the corresponding user, but also more reasonable. Further, since different sampling intervals are suitable for different users, both accurate data collection and power consumption can be saved.
  • the sampled data includes PPG data.
  • the data collection in the embodiment of the present invention can be applied to detect the PPG signal collection when the user has a risk of arrhythmia.
  • an embodiment of the present invention provides a method for collecting data according to a sampling interval, where the method includes: the wearable device acquires sampling data of a user in a first time, and is based on sampling data of the user in the first time period. Obtaining a first sampling interval; the wearable device acquiring sampling data of the user in a second time according to the first sampling interval; the wearable device obtaining a second sampling based on sampling data of the user in the second time Interval; the wearable device acquires new sampling data of the user in a third time according to the second sampling interval.
  • the wearable device acquires sampling data, adjusts the sampling interval according to the sampling data, and the wearable device can collect data based on the adjusted sampling interval. Since the data collected by different users is different, the adjusted sampling interval is suitable for the corresponding user. Further, since different sampling intervals are suitable for different users, both accurate data collection and power consumption can be saved.
  • the sampling data of the user in the second time period includes first sampling data, where the first sampling data is when the wearable device arrives at a sampling time point, according to the first duration Sampling data collected.
  • the wearable device can determine the sampling interval based on the first sampled data.
  • the sampling data of the user in the second time period includes first and second sampling data, wherein the first sampling data is when the wearable device arrives at a sampling time point, according to The sample data collected by the first time length; the second data is sample data collected by the wearable device according to the second time length after the first sample data meets the set condition, and the second time length is greater than the first time length.
  • the wearable device can determine the sampling interval based on the first and second sampled data. Since the second data is data acquired under the set conditions, and the duration of the acquisition is longer, the wearable device determines that the sampling interval is more reasonable than when only the first sampled data is collected.
  • the sampling data includes PPG data
  • the first sampling data satisfies a setting condition that the first sampling data includes heart rate irregularity information.
  • the data collection in this embodiment can be applied to detect whether the user has a PPG signal collection when the heart rate is not aligned.
  • the heartbeat information is specifically atrial fibrillation information.
  • the method further includes: the wearable device outputs a visualization graph drawn based on the PPG data.
  • the wearable device can directly display the graphic, or project the image, or send it to other devices to display the graphic, and can display the sampling result through the visual graphic, thereby more intuitively reflecting the physical condition of the user.
  • the first or second sampling interval is obtained according to the following formula:
  • I LI+(HI-LI) ⁇ (1-prob AF )
  • HI LI is used to characterize the reference sampling interval range [LI, HI]
  • Prob AF is the probability of atrial fibrillation, which is based on the first or The user's sampled data in the second time is obtained by the logistic regression algorithm.
  • an embodiment of the present invention provides a method for collecting data according to a sampling interval, where the method includes: the wearable device acquires sampling data and motion data of a user in a fourth time, and based on the sampling data and The motion data obtains a third sampling interval; the wearable device acquires sampling data of the user in a fifth time according to the third sampling interval; the wearable device acquires motion data of the user in the fifth time; The wearable device obtains a fourth sampling interval based on sampling data and motion data of the user in the fifth time period; the wearable device acquires new sampling data of the user in a sixth time according to the fourth sampling interval.
  • data is collected according to the sampling interval.
  • both the sampling data and the motion data should be considered.
  • the adjusted sampling interval is not only suitable for the corresponding user, but also more reasonable. Further, since different sampling intervals are suitable for different users, both accurate data collection and power consumption can be saved.
  • the sampled data includes PPG data.
  • the data collection in the embodiment of the present invention can be applied to detect the acquisition of a PPG signal when the user has a risk of arrhythmia.
  • an embodiment of the present invention provides a terminal device, including: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory, where The one or more programs include instructions that, when executed by the terminal device, cause the terminal device to perform the methods of the first aspect and/or the second aspect of the embodiments of the present invention.
  • an embodiment of the present invention provides a wearable device, including: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory,
  • the one or more programs include instructions that, when executed by the wearable device, cause the wearable device to perform a method as in the third and/or fourth aspects of embodiments of the present invention.
  • FIG. 1 is a schematic diagram of a network system in which a mobile phone and a smart watch are located in an embodiment of the present invention
  • FIG. 2 is a schematic diagram showing the hardware structure of a smart watch according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram showing the hardware structure of a mobile phone according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a questionnaire involved in an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a visualization graph based on PPG sampling data in an embodiment of the present invention.
  • FIG. 7 is another schematic diagram of a visualization graph based on PPG sampling data in an embodiment of the present invention.
  • FIG. 8 is a flowchart of a method for updating a data collection interval according to Embodiment 2 of the present invention.
  • FIG. 9 is a flowchart of a method for updating a data collection interval according to Embodiment 3 of the present invention.
  • FIG. 10 is a flowchart of a method for updating a data collection interval according to Embodiment 4 of the present invention.
  • FIG. 11 is a flowchart of a method for collecting data according to a sampling interval according to Embodiment 5 of the present invention.
  • FIG. 12 is a flowchart of a method for collecting data according to a sampling interval according to Embodiment 6 of the present invention.
  • FIG. 13 is a flowchart of a method for collecting data according to a sampling interval according to Embodiment 7 of the present invention.
  • this embodiment provides a schematic diagram of a network system, wherein the smart watch 200 can wirelessly communicate with the wireless communication base station 100 or Wireless network communication with the mobile phone 300.
  • the smart watch 200 can transmit a wireless signal to the base station 100 through the wireless communication link L1 through its own radio frequency circuit and antenna, and then request the base station 100 to perform wireless network service processing on the specific service requirements of the smart watch 200; for example, a smart watch.
  • the 200 can be matched with the mobile phone 30 through its own Bluetooth.
  • the smart watch 200 can also detect data of various environments by its own various sensors.
  • the smart watch 200 may specifically include a body and a wristband (not shown in FIG. 2) connected to each other, wherein the watch body may include a touch screen 215 and a NFC (Near-field communication) device 212.
  • the smart watch 200 may also include an antenna, a speaker, an accelerometer, a gyroscope, and the like.
  • the touch screen 215 includes a touch panel 207 and a display panel 208 , and the touch panel 207 can be overlaid on the display panel 208 .
  • the touch panel 207 can collect a touch operation on or near a user of the smart watch (such as a user using a finger, a stylus, or the like, any suitable object or accessory on or near the touch panel), and according to A preset program drives the connected connection device.
  • the touch panel 207 can include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 214 is provided and can receive commands from the processor 214 and execute them.
  • touch panels can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • a display panel (generally referred to as a display screen) can be used to display information entered by the user or information provided to the user as well as various menus of the smart watch.
  • the display panel may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the touch panel can be overlaid on the display screen.
  • the touch panel detects a touch operation on or near it, the touch panel transmits to the processor 214 to determine the type of the touch event, and then the processor 214 displays the type according to the type of the touch event.
  • a corresponding visual output is provided on the screen.
  • the touch panel and the display screen are two independent components to implement the input and output functions of the smart watch, in some embodiments, the touch panel and the display can be integrated to implement the smart watch. 200 input and output functions.
  • the NFC device 212 is used to provide an NFC function to the smart watch 200, which can have three application modes, namely a card reader mode, a peer-to-peer mode, and a card emulation mode.
  • the NFC device 212 can include an NFC controller, an NFC radio frequency circuit, a Secure Element.
  • the NFC controller is respectively connected to the NFC radio frequency circuit and the security unit, and is mainly used for modulation and demodulation of the contactless communication signal, controlling the input and output of data in the NFC device, and performing data interaction with the processor 214; the NFC radio frequency circuit and The NFC controller is connected to realize the transmission and reception of the 13.56 MHz RF signal, and can be composed of an EMC (Electromagnetic Compatibility) filter circuit, a matching circuit, a receiving circuit, and an NFC antenna.
  • the security unit may include a memory, one or more processors, and the main function of the security unit is to implement secure storage of applications and data, and provide secure computing services externally.
  • the security module also communicates with external devices through the NFC controller to achieve data storage and transaction security.
  • the security unit can be a tamper-proof component used in mobile devices to provide security, confidentiality, and to support various application environments.
  • the security unit can exist in various shapes.
  • the security unit can be integrated in a Universal Integrated Circuit Card (UICC), such as a Subscriber Identity Module (SIM) card, and an embedded security unit (a circuit located in a mobile device). Board), Secure Digital (SecureDigital SD) card, micro SD card, etc.
  • the security unit may also include one or more applications executing in the context of the security unit, such as in an operating system of the security unit/or in a Java runtime environment running on the security unit. Additionally, the one or more applications can include one or more payment applications that can be saved in the memory 204.
  • the security unit supports application secure transactions and secure data storage, supports downloading, installing, deleting, updating, etc. of multiple applications.
  • the security unit also supports secure isolation of application data. For security, the security unit may not allow different applications. Free access; the security unit also provides symmetric, asymmetric encryption algorithms and certificate capabilities for a variety of payment needs, provides a program interface for secure transaction application access, and supports two-way communication with the NFC controller or processor 214.
  • the processor 214 is a control center of the smart watch 200, and connects various parts of the watch using various interfaces and lines, executes the smart watch 200 by running or executing an application stored in the memory 204, and calling data stored in the memory 204.
  • processor 214 can include one or more processing units; processor 214 can also integrate an application processor and a modem processor, where the application processor primarily processes operating systems, user interfaces, applications, etc.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 214.
  • the processor 214 may be a Kirin 960 chip manufactured by Huawei Technologies Co., Ltd.
  • the memory 204 is used to store applications and data, and the processor 214 executes various functions and data processing of the smart watch 200 by running applications and data stored in the memory.
  • the memory 204 mainly includes a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.); the storage data area can be stored according to the use intelligence.
  • the data created by the watch (such as audio data, phone book, etc.).
  • the memory may include a high speed random access memory, and may also include a nonvolatile memory such as a magnetic disk storage device, a flash memory device, or other volatile solid state storage device.
  • the memory 204 can store an operating system that enables the smart watch to operate, such as the Watch operating system developed by Apple, Android developed by Google Inc. Operating system, etc.
  • the positioning device 205 is configured to provide a geographic location for the smart watch 200. It can be understood that the positioning device 205 can be specifically a receiver of a positioning system such as a Global Positioning System (GPS) or a Beidou satellite navigation system or a Russian GLONASS. After receiving the geographical location transmitted by the positioning system, the positioning device 205 sends the information to the processor 214 for processing, or sends it to the memory 204 for storage. In some other embodiments, the positioning device 205 can be an Assisted GPS (AGPS) receiver, and the AGPS is an operation mode for performing GPS positioning with certain assistance, which can utilize the base station.
  • AGPS Assisted GPS
  • the signal in conjunction with the GPS satellite signal, allows the smart watch 200 to be positioned faster; in the AGPS system, the positioning device 205 can obtain positioning assistance by communicating with an auxiliary positioning server (eg, a mobile phone location server).
  • the AGPS system assists the positioning device 205 in performing the ranging and positioning services by acting as a secondary server, in which case the secondary positioning server communicates with the mobile device via the wireless communication network (eg, the smart watch 200, the positioning device 340 of the handset 300 (ie, GPS reception) Providing location assistance in communication.
  • the location device 205 may also be a Wi-Fi access point based location technology.
  • each Wi-Fi access point has a globally unique MAC Address
  • the mobile device can scan and collect the broadcast signal of the surrounding Wi-Fi access point when Wi-Fi is turned on, so the MAC (Media Access Control) broadcasted by the Wi-Fi access point can be obtained. Controlling the address; the mobile device sends the data (eg, MAC address) capable of indicating the Wi-Fi access point to the location server through the wireless communication network, and the location server retrieves the geographic location of each Wi-Fi access point, and In conjunction with the strength of the Wi-Fi broadcast signal, the geographic location of the mobile device is calculated and sent to the location device 205 of the mobile device.
  • the data eg, MAC address
  • the Wi-Fi device 201 is configured to provide Wi-Fi network access for the smart watch 200, and the smart watch 200 can access the Wi-Fi access point through the Wi-Fi device 201, thereby helping the user to send and receive emails, browse web pages, and Access to streaming media, etc., it provides users with wireless broadband Internet access.
  • the Wi-Fi device 201 can also act as a Wi-Fi access point to provide Wi-Fi network access to other mobile devices.
  • the smart watch also includes a power source (such as a battery) that supplies power to various components.
  • the power source can be logically coupled to the processor 214 through the power management system 203 to manage functions such as charging, discharging, and power management through the power management system 203.
  • the microphone 206 can convert the collected sound signal into an electrical signal, which is received by the audio circuit and converted into audio data; the Bluetooth device 211, the smart watch can exchange information with other electronic devices (such as the mobile phone 300) through Bluetooth, and through the above
  • the electronic device is connected to the network, connected to the server, and handles functions such as voice recognition.
  • the smart watch 200 can also include a time system 202 that provides an indication of time for the smart watch 200.
  • the smart watch 200 may further include a motion sensor 209, which may include an acceleration sensor, a gyroscope, etc., wherein the acceleration sensor determines whether the device moves by measuring the direction and the acceleration force, thereby achieving the purpose of the step counting, and matching by the collected data.
  • a motion sensor 209 which may include an acceleration sensor, a gyroscope, etc., wherein the acceleration sensor determines whether the device moves by measuring the direction and the acceleration force, thereby achieving the purpose of the step counting, and matching by the collected data.
  • the type of exercise the user is performing which in turn monitors the user's walking number, calorie consumption, etc., to achieve the most basic functions of the smart watch.
  • the smart watch 200 can also include a PPG sensor 210 that can measure heart rate and other biometric indicators using photoplethysmography (PPG).
  • PPG is a method of illuminating light into the skin and measuring light scattering due to blood flow. This method is more commonly used.
  • the blood flow force changes, for example, when the blood pulse rate (heart rate) or the blood volume (cardiac output) changes, the light entering the human body will be foreseeable scattering.
  • the mobile phone 300 includes an RF (Radio Frequency) circuit 310, a memory 320, a touch screen 330, a positioning device 340, an NFC device 302, a sensor 350, an audio circuit 360, a Wi-Fi device 370, and a processor 380. , Bluetooth device 381 and power system 390 and other components.
  • RF Radio Frequency
  • the structure of the handset shown in FIG. 3 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • the components of the mobile phone 300 will be specifically described below with reference to FIG. 3:
  • the RF circuit 310 can be used to transmit and receive information and receive and transmit signals during a call. Specifically, the RF circuit 310 receives the downlink data of the base station and then processes it to the processor 380; in addition, transmits data related to the uplink to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • RF circuitry 310 can also communicate with other devices over a wireless communication network.
  • the wireless communication network may use any communication standard or protocol including, but not limited to, global mobile communication systems, general packet radio services, code division multiple access, wideband code division multiple access, long term evolution, email, short message service, and the like.
  • the handset 300 can also include at least one sensor 350, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel of the touch screen 330 according to the brightness of the ambient light, and the proximity sensor may close the display panel when the mobile phone 300 moves to the ear.
  • Power supply As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone 300 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
  • the audio circuit 360, the speaker 361, and the microphone 362 can provide an audio interface between the user and the handset 300.
  • the audio circuit 360 can transmit the converted electrical data of the received audio data to the speaker 361 for conversion to the sound signal output by the speaker 361; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, by the audio circuit 360. After receiving, it is converted into audio data, and the audio data is output to the RF circuit 310 for transmission to, for example, another mobile phone, or the audio data is output to the memory 320 for further processing.
  • the processor 380 is a control center of the mobile phone 300, and connects various parts of the mobile phone using various interfaces and lines, and executes each of the mobile phones 300 by running or executing an application stored in the memory 320 and calling data stored in the memory 320. The function and processing of data to monitor the phone as a whole.
  • processor 380 can include one or more processing units; processor 380 can also integrate an application processor and a modem processor, where the application processor primarily processes operating systems, user interfaces, applications, and the like The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 380.
  • the handset 300 also includes a power system 390 (including a battery and power management chip) that powers the various components.
  • the battery can be logically coupled to the processor 380 via a power management chip to manage functions such as charging, discharging, and power consumption through the power system 390.
  • the mobile phone 300 may further include a camera, a Subscriber Identity Module (SIM) card slot, a peripheral interface (for connecting other input/output devices), and the like, and details are not described herein.
  • SIM Subscriber Identity Module
  • the functions and functions of the components of the memory 320, the touch screen 330, the positioning device 340, the NFC device 302, the Wi-Fi device 370, the Bluetooth device 381, and the like in the mobile phone 300 may be the same as those in the smart watch 200 of the above embodiment.
  • the functions and functions of the memory 205, the touch screen 201, the positioning device 209, the NFC device 202, the Wi-Fi device 214, and the Bluetooth device 208 are the same or similar, and the above components are not described too much herein.
  • FIG. 4 is a flowchart of a method for updating a data sampling interval according to Embodiment 1 of the present invention.
  • the method shown in FIG. 4 is an example in which a user uses a smart watch and a terminal device to collect sampling data for the first time.
  • the user has used the smart watch and the terminal device to collect the sampled data, but the interval is used again after a long time, for the convenience of description, it is regarded as the first use.
  • the embodiment of the present invention uses a mobile phone as a terminal device, and the smart watch is a wearable device as an example, but it can be understood that this is not limited thereto.
  • Step S401 The terminal device acquires user information of the user, and obtains a first sampling interval based on the user information of the user.
  • the sampling interval is used to collect user data, such as the user's PPG data, from a smart watch that is connected to the mobile phone.
  • user data such as the user's PPG data
  • the sampling time point is also determined, so that by the sampling time point, the smart watch will collect the sampling data.
  • the user information of the user may include at least one of the following information: basic information of the user, including gender, age, smoking, drinking; user's past medical history information, including whether There are heart disease, coronary heart disease, hyperthyroidism, etc.; user's existing heart rate information, including heart rate, whether there is atrial fibrillation, the proportion of atrial fibrillation.
  • the mobile phone when the user first uses the mobile phone and the smart watch to collect the PPG data, the mobile phone can display a questionnaire as shown in the example, and let the user input the user information. It can be understood that the survey questions listed in FIG. 5 are merely examples and are not limited thereto.
  • the mobile phone estimates an approximate sampling interval.
  • the third-party company After the third-party company counts the user information of a large number of users in advance, it obtains common estimation results of multiple sampling intervals, such as user gender, age 30-39 years old, smoking, drinking, no past medical history, arrhythmia, etc., corresponding to a sampling interval For example, the user gender male, age 30-39 years old, smoking, not drinking, no past medical history, no arrhythmia, etc., corresponding to another sampling interval, and so on.
  • the mobile phone can store the above-mentioned multiple sampling intervals, so that after the user inputs the user information, the mobile phone can find the corresponding sampling interval.
  • the mobile phone can also use the general computing model of the mobile phone to perform calculations.
  • the determination of the sampling interval in the embodiment of the present invention is a loop iterative process, which is a process of continuous correction, so when the user first uses the mobile phone and the smart watch to collect the PPG data, the first is determined based on the user information.
  • a sampling interval does not need to be as precise as it is.
  • Step S402 the terminal device sends the first sampling interval to the wearable device.
  • the mobile phone establishes a Bluetooth connection with the smart watch, and then the mobile phone sends the first sampling interval to the smart watch through the Bluetooth connection.
  • Step S403 the wearable device acquires sampling data of the user in the first time according to the first sampling interval.
  • every 20 minutes is the sampling time point of the smart watch.
  • the first time can be 24 hours.
  • the sampled data may be the user's PPG data.
  • the data is not limited to this type of data.
  • the smart watch may first determine whether the user is in a state suitable for collecting sampling data, for example, the user's body is relaxed and quiet, so that the collected data is more accurate.
  • the sampling data includes the first sampling data collected by the wearable device according to the first duration when the sampling time point arrives.
  • the smart watch collects PPG data for 1 minute duration. If there is no atrial fibrillation information in the PPG data, the smart watch stops collecting, and waits for the next sampling time point to arrive, and then collects the PPG data for 1 minute.
  • the sampling data further includes the second sampling data, where the second sampling data is sampling data collected by the wearable device according to a second duration after the first sampling data meets a set condition, The second duration is greater than the first duration.
  • PPG data collection for atrial fibrillation includes the PPG data including atrial fibrillation information.
  • the smart watch collects PPG data for 1 minute duration. If the PPG data contains atrial fibrillation information, the smart watch will then collect PPG data for a further 2 minutes. Obviously, the multi-acquisition of PPG data will help the mobile phone to determine a more reasonable sampling interval based on the sampling data of the smart watch in the future.
  • how to collect PPG data for a smart watch belongs to the prior art, and is not described in detail in the embodiment of the present invention.
  • the blood vessel is irradiated by red and green light, the blood flow velocity is detected, and the heart rate is indirectly obtained.
  • the setting conditions for the judgment are mentioned that the PPG data contains atrial fibrillation information, and as an undefined example, how to judge the PPG data to include atrial fibrillation information is described below.
  • Atrial fibrillation preliminary screening algorithm After collecting the first duration (for example, 1 minute) of the PPG data, applying the atrial fibrillation preliminary screening algorithm to determine whether the data contains atrial fibrillation information can be expressed by the following formula:
  • y represents the test result (ie, normal or atrial fibrillation)
  • f represents the atrial fibrillation primary screening algorithm, which may be a support vector machine (SVM) or other classification algorithm.
  • SVM support vector machine
  • the SVM model determines the classification result by calculating the distance of the sample from the decision plane in the feature space.
  • the following formula describes the linear SVM model.
  • the optimization problem proposed by the linear SVM model is:
  • w is the normal vector of the support vector (consisting of the vector closest to the decision plane)
  • b is the decision plane (in the feature space, the plane divides the sample into two parts, corresponding to the atrial fibrillation sample and the normal sample respectively)
  • x t is a sensitive feature of atrial fibrillation calculated according to the PPG signal, such as heart rate variability characteristics, entropy characteristics, etc.
  • y t is the result (atrial fibrillation or normal)
  • t is the sample number.
  • ⁇ t is a Lagrangian multiplier
  • n is the number of samples
  • m is the number of support vectors (consisting of vectors closest to the decision plane).
  • the data is normal data. If the symbol is a negative sign, the data is a sample of atrial fibrillation.
  • PPG data includes the atrial fibrillation information may be determined by the terminal device or may be determined by the wearable device, which is not limited herein.
  • Step S404 the wearable device sends the sampling data to the terminal device.
  • the smart watch can send the sampled data to the mobile phone via a Bluetooth connection.
  • the smart watch can uniformly send the collected sample data to the mobile phone at a fixed time, such as 8:00 every morning.
  • the sampling data can be sent to the mobile phone every time the sampling data is collected, which is not limited.
  • the smart watch can also synchronize the sampled data to the cloud server and then send it to the mobile phone through the cloud server, which is not limited.
  • Step S405 the terminal device obtains a second sampling interval based on the sampled data.
  • the sampling data includes first sampling data collected according to the first duration, or the sampling data includes first sampling data and second sampling data collected according to the second duration, the second sampling interval is that the terminal device is based on the first sampling data and/or Determined by the second sampled data.
  • the mobile phone can calculate the proportion of the user's atrial fibrillation. For example, there are 100 sampled data collected, and 60 sample data containing atrial fibrillation information, and the proportion of atrial fibrillation is 0.6. How to identify the atrial fibrillation data and how to calculate it is a prior art and will not be described here. With the user's ratio of atrial fibrillation, the phone can get a second sampling interval.
  • the terminal device may determine the second sampling interval based on the sampled data at a set time, such as after 8:00 every morning.
  • step S405 can also be replaced by:
  • Step S405' the terminal device obtains a second sampling interval based on sampling the sampling data and the personal information of the user.
  • step S405' also considers the user's personal information more, which is obviously more reasonable and comprehensive, and is particularly suitable for the case where the user's personal information changes. For example, the user's age is increasing, the user is abstaining from alcohol, etc. Obviously, when calculating the second sampling interval, these factors are considered to make the calculation of the sampling interval more accurate.
  • the terminal determines, according to the sampled data, that the sampling interval can be sampled as follows:
  • the range of the data reference sampling interval can be set to [LI, HI] according to the power consumption capability of the wearable device and the doctor's suggestion, or according to the collected big data; for example, LI is 5 min and HI is 20 min.
  • the application model models the user-associated data (input) and the probability of atrial fibrillation prob AF (referring to the probability of atrial fibrillation in different users). The results are as follows:
  • model can be a logistic regression
  • formula represents a model using logistic regression:
  • the input may be user-associated data, including the user's personal information, the proportion of atrial fibrillation obtained based on the sampled data, and the like. It can be understood that, in the specific calculation, it is possible to set only the proportion of atrial fibrillation obtained based on the sampled data (corresponding to step S405), and also consider the personal information of the user and the proportion of atrial fibrillation obtained based on the sampled data (corresponding to step S405') .
  • is a one-dimensional vector representing the magnitude of importance corresponding to each input value
  • reflects the importance of the input value, which can be set according to experience, or according to the big data setting, which is not limited here.
  • T represents the transpose in mathematical calculations.
  • the user association data includes personal information of the user and a proportion of atrial fibrillation obtained based on the sampled data.
  • the user's personal information includes, male, age 56, and the proportion of atrial fibrillation based on the sampled data is 0.6
  • the input vector for constructing 4 input values can be: [age, gender, atrial fibrillation ratio, exercise data], Considering the need of the operation, the age and motion data are characterized by normalized age and normalized motion data, and correspondingly brought in [56/100,1,0.6,0] T can be obtained. Among them, since the motion data data is not considered, the input value corresponding to "motion data" is 0.
  • the embodiment of the present invention is exemplified by four input values, and in practice, the parameter values can be increased or decreased as needed.
  • the user's personal information can also increase alcoholism, heart disease history and so on.
  • can be [0.1, 0.2, 0.3, 0.4] T . It can be seen that the four input values of age, gender, atrial fibrillation ratio and exercise data correspond to the importance of 0.1, 0.2, 0.3, 0.4, respectively. It can be understood that ⁇ is a value obtained according to experience or a result of big data collection, and can be adjusted according to requirements in practice.
  • I LI+(HI-LI) ⁇ (1-prob AF )
  • the above 11.5 min is a second sampling interval obtained based on the sampled data and the personal information of the user (corresponding to step S405 ′). If the second sampling interval only considers the sampled data (corresponding to step S405), the input can be constructed as [0,0,0.6,0] T , the second sampling interval can be calculated.
  • the input can be constructed as [56/100, 1 , 0, 0] T , and the first sampling interval can be calculated.
  • Step S406 the terminal device sends the second sampling interval to the wearable device.
  • Step S407 the wearable device acquires new sampling data of the user in the second time according to the second sampling interval.
  • the second time may be the same as the length of the first time, or may be different, and is not limited herein.
  • the second time can also be 24 hours.
  • the wearable device can send it to the terminal device, so that the terminal device can update the sampling interval according to the new sampling data. This cycle, so the determination of the sampling interval will be more reasonable.
  • the terminal device may further generate visual graphic data based on the sampled data, and display the graphic.
  • Figures 6 and 7 show the visual graphics that the mobile phone draws and displays based on the received PPG data. Obviously, the visualized graphics are used to display the sampling results, which can more intuitively reflect the user's physical condition.
  • the terminal device acquires sampling data from the wearable device, and adjusts the sampling interval according to the sampling data, so that the wearable device can collect data based on the adjusted sampling interval. Since the data collected by different users is different, the adjusted sampling interval is suitable for the corresponding user. Further, since different sampling intervals are suitable for different users, both accurate data collection and power consumption can be saved.
  • the wearable device can send the data to the terminal device, so that the terminal device can be updated according to the new sampling data. sampling interval.
  • the mobile phone can determine the first sampling interval based on the existing sampling data.
  • the flow of the method for updating the data sampling interval involved in the second embodiment is as follows: It can be understood that the method steps involved in the second embodiment are the same as or similar to the method steps involved in the first embodiment. The description of the embodiments of the present invention will not be repeated. In addition, some terms involved in the first embodiment continue to be used in the embodiment of the invention, such as the first time, the second time, and the like.
  • Step S801 the terminal device acquires sampling data of the user in the third time, and obtains a first sampling interval based on the sampling data of the user in the third time, wherein the third time is before the first time.
  • the mobile phone obtains the sampling data of the user within 24 hours of the previous day at 8:00 every morning, and obtains the sampling interval based on the sampling data of the user within the first 24 hours.
  • step S405 how to obtain the sampling interval according to the sampled data, refer to step S405 in the first embodiment.
  • Step S802 the terminal device sends the first sampling interval to the wearable device.
  • Step S803 the wearable device acquires sampling data of the user in the first time according to the first sampling interval.
  • Step S804 The wearable device sends the sampling data of the user in the first time to the terminal device.
  • Step S805 the terminal device obtains a second sampling interval based on the sampling data of the user in the first time.
  • step S405 how to obtain the sampling interval according to the sampled data, refer to step S405 in the first embodiment.
  • Step S806 the terminal device sends the second sampling interval to the wearable device.
  • Step S807 the wearable device acquires new sampling data of the user in the second time according to the second sampling interval.
  • the wearable device can send the new sampling data of the user to the terminal device in a second time, so that the terminal device can update the sampling interval according to the new sampling data. This cycle, so the determination of the sampling interval will be more reasonable.
  • the terminal device may obtain the first sampling interval based on the sampling data of the user in the third time and the personal information of the user.
  • the terminal device obtains a second sampling interval based on the sampling data of the user in the first time and the personal information of the user.
  • the third embodiment takes the method of collecting PPG data as an example, and describes in detail how to update the sampling interval.
  • step S901 the terminal device acquires user information and/or updated sampling data.
  • the mobile phone obtains the user information of the user. If there is already PPG sampling data before use, the mobile phone will update regularly, for example, every 8 o'clock in the morning to get the previous time period, such as PPG sampling data in the first 24 hours.
  • Step S902 the terminal device determines the sampling interval based on the user information and/or the updated sampling data.
  • Step S903 the wearable device determines that the sampling time point arrives according to the sampling interval.
  • Step S904 the wearable device determines whether the user is in a quiet state. If yes, step S905 is performed, otherwise step S903 is performed, and waits for the next sampling time point to arrive.
  • step S905 the wearable device collects PPG data of 1 minute and sends it to the terminal device.
  • Step S906 the terminal device uses the atrial fibrillation preliminary screening algorithm for the PPG data.
  • step S907 the terminal device determines whether the user has atrial fibrillation. If it is determined to be atrial fibrillation, step S908 is performed. Otherwise, step S909 is performed.
  • Step S908 the wearable device continuously collects PPG data of 2 minutes and sends the PPG data to the terminal device.
  • Step S909 the terminal device records the collected PPG data, and tags and time stamp.
  • PPG data tagging can be, there is atrial fibrillation, normal and so on.
  • steps S903-S909 are cycled, so that by 8:00 the next morning, the terminal device acquires the PPG data in the first 24 hours, and loops through steps S901-S909.
  • the fourth embodiment has further improvement on the basis of the second embodiment.
  • the determination of the sampling interval also considers the motion data of the user.
  • the flow of the method for updating the data sampling interval involved in the fourth embodiment is as follows: It can be understood that the method steps involved in the fourth embodiment are the same as the method steps involved in the first to third embodiments. The details of the embodiments of the present invention are not described again. In addition, for ease of understanding, when calculating the sampling interval in the embodiment of the present invention, some of the values follow the values exemplified before.
  • Step S1001 The terminal device acquires sampling data of the user and motion data in the fourth time, and obtains a third sampling interval based on the sampling data and the motion data of the user in the fourth time.
  • the user's exercise data includes: exercise data such as walking, running, swimming, and the like. These data can be recorded on the wearable device, of course, it is also possible to record by the terminal device.
  • the mobile phone obtains sampling data and motion data of the user within 24 hours of the previous day at 8:00 every morning, and obtains a sampling interval based on the sampling data and motion data of the user within 24 hours of the previous day.
  • the algorithm described in the first embodiment is still used when determining the sampling interval. Specifically, the difference is that when the input value is determined, the input value can be represented by [0, 0, 0.6, 6000/10000]. Among them, 6000/10000, used to characterize the user to walk 6000 steps within 24 hours of the previous day.
  • step S1002 the terminal device sends the third sampling interval to the wearable device.
  • Step S1003 The wearable device acquires sampling data of the user in a fifth time according to the third sampling interval.
  • Step S1004 The wearable device sends the sampling data of the user in the fifth time to the terminal device.
  • Step S1005 The wearable device sends the motion data of the user in the fifth time to the terminal device.
  • the smart watch In the fifth time that the smart watch collects the user's sample data, the smart watch also collects the user's motion data.
  • the smart watch when it sends the motion data, it can be sent to the mobile phone every time the user's motion data is collected, or can be unified at the set time, for example, sent to the mobile phone at 8 o'clock every morning, which is not limited herein.
  • the method of sending can be sent directly to the mobile phone by the smart watch, or it can be uploaded to the cloud server by the smart watch, and then synchronized to the mobile phone, which is not limited herein.
  • Step S1006 The terminal device obtains a fourth sampling interval based on the sampling data and the motion data of the user in the fifth time.
  • step S405 how to obtain the sampling interval according to the sampled data, refer to step S405 in the first embodiment, and the above step S1001.
  • Step S1007 The terminal device sends the fourth sampling interval to the wearable device.
  • Step S1008 The wearable device acquires new sampling data of the user in the sixth time according to the fourth sampling interval.
  • the wearable device can send the acquired new sampling data of the user to the terminal device, so that the terminal device can update the sampling interval according to the new sampling data and the motion data of the user that is updated again. This cycle, so the determination of the sampling interval will be more reasonable.
  • the terminal device may obtain a third sampling interval based on the sampling data and the motion data of the user in the fourth time, and the personal information of the user; in step S1006, the terminal device may be based on the user in the fifth time.
  • the sampled data and motion data, as well as the user's personal information, are given a fourth sampling interval.
  • the wearable terminal can have powerful storage capacity and computing power in addition to data collection. That is to say, in the first to fourth embodiments, the calculation sampling interval of the terminal device, etc., can also be placed on the wearable device.
  • a method for collecting data according to a sampling interval in the fifth embodiment is described as follows: It can be understood that the method steps involved in the fifth embodiment are related to the methods involved in the first to fourth embodiments. The method steps are the same or similar, and the embodiments of the present invention are not described again.
  • the method shown in FIG. 11 is an example in which the user uses the smart watch to collect sampling data for the first time. Of course, if the user has used the smart watch to collect the sampling data, but after a long time interval, it is used again for convenience of description. , considered as the first use.
  • the embodiment of the present invention takes a smart watch as a wearable device as an example, but it can be understood that this is not limited thereto.
  • Step S1101 The wearable device acquires user information of the user, and obtains a first sampling interval based on the user information of the user.
  • Step S1102 The wearable device acquires sampling data of the user in the first time according to the first sampling interval.
  • Step S1103 The wearable device obtains a second sampling interval based on the sampled data.
  • Step S1104 The wearable device acquires new sampling data of the user in the second time according to the second sampling interval.
  • step S1101 and step S1103 the method for calculating the sampling interval in step S1101 and step S1103 is referred to the corresponding description of the foregoing embodiment.
  • the wearable device can store the new sampling data of the user in the second time, so that the wearable device can update the sampling interval according to the new sampling data. This cycle, so the determination of the sampling interval will be more reasonable.
  • the sampling data may include first sampling data, or the sampling data includes first sampling data and second sampling data.
  • the first sampling data is sampling data collected according to the first duration when the wearable device arrives at the sampling time point; and the second data is that the wearable device meets the setting condition in the first sampling data. Then, according to the sampling data collected by the second duration, the second duration is greater than the first duration.
  • the sampling data includes PPG data
  • the first sampling data satisfies the setting condition that the first sampling data includes arrhythmia information, in particular atrial fibrillation information.
  • the wearable device can also output visual graphic data based on the PPG data.
  • the wearable device can display the visualized graphic by itself, or can display the visualized graphic by projection, or can output to the other device to display the visualized graphic.
  • one of the sixth embodiments is described according to the method for collecting data according to the sampling interval.
  • the method steps involved in the sixth embodiment are related to the first to fifth embodiments. The method steps are the same or similar, and the embodiments of the present invention are not described again.
  • the method illustrated in FIG. 12 has the previous sampled data before the wearable device determines the first sampling interval.
  • some terms involved in the fifth embodiment continue to be used in the embodiment of the invention, such as the first time, the second time, and the like.
  • Step S1201 The wearable device acquires sampling data of the user in the third time, and obtains a first sampling interval based on the sampling data of the user in the third time, wherein the third time is before the first time.
  • Step S1202 The wearable device acquires sampling data of the user in the first time according to the first sampling interval.
  • Step S1203 The wearable device obtains a second sampling interval based on the sampling data of the user in the first time.
  • Step S1204 The wearable device acquires new sampling data of the user in the second time according to the second sampling interval.
  • the wearable device can save the user's new sampling data for a second time, so that the wearable device can update the sampling interval according to the new sampling data. This cycle, so the determination of the sampling interval will be more reasonable.
  • one of the seventh embodiments is described according to the method for collecting data according to the sampling interval as follows: It can be understood that the method steps involved in the seventh embodiment are related to the first to sixth embodiments. The method steps are the same or similar, and the embodiments of the present invention are not described again.
  • Step S1301 The wearable device acquires sampling data and motion data of the user in the fourth time, and obtains a third sampling interval based on the sampling data and the motion data;
  • Step S1302 The wearable device acquires sampling data of the user in a fifth time according to the third sampling interval;
  • Step S1303 The wearable device acquires motion data of the user in the fifth time
  • Step S1304 The wearable device obtains a fourth sampling interval based on sampling data and motion data of the user in the fifth time period;
  • Step S1305 The wearable device acquires new sampling data of the user in a sixth time according to the fourth sampling interval.
  • the sampling data includes PPG sampling data.
  • the storage medium may be a magnetic disk, an optical disk, a read only memory or a random access memory.

Abstract

A method and device for determining sampling intervals are disclosed in embodiments of the present invention. The method comprises: a terminal device acquires sampling data in respect of a user for a first duration of time, and obtains a first sampling interval on the basis of said sampling data; on the basis of the first sampling interval, a wearable device acquires sampling data in respect of the user for a second duration of time; the terminal device receives from the wearable device the sampling data of the second duration of time, and obtains a second sampling interval on the basis of the sampling data of the second duration of time; and, on the basis of the second sampling interval, the wearable device acquires new sampling data in respect of the user for a third duration of time. Because the data collected in respect of different users is different, adjusted sampling intervals better correspond to each individual user. Further, because different sampling intervals are better suited to different users, accurate data collection is ensured and power consumption is reduced.

Description

更新数据采样间隔的方法、根据采样间隔采集数据的方法及其装置Method for updating data sampling interval, method for collecting data according to sampling interval, and device thereof 技术领域Technical field
本发明涉及通信领域,尤其涉及一种更新数据采样间隔的方法、根据采样间隔采集数据的方法及其装置。The present invention relates to the field of communications, and in particular, to a method for updating a data sampling interval, a method for collecting data according to a sampling interval, and an apparatus therefor.
背景技术Background technique
2015年中国居民主要疾病死因的构成中,心血管病占42%以上。心律不齐是最常见的心脏疾病,其中心房纤颤(即房颤)是最常见的心律不齐的一种。每5个中国成年人中有1位有发生房颤的风险。房颤增加5倍脑卒中风险,显然房颤是脑卒中发生的首要原因。据统计,35岁以上人群发病率在1%左右,且发病率逐年增加,有年轻化的趋势。In 2015, among the main causes of death of Chinese residents, cardiovascular diseases accounted for more than 42%. Arrhythmia is the most common heart disease, and central fibrillation (ie, atrial fibrillation) is one of the most common types of arrhythmia. One in every five Chinese adults is at risk of developing atrial fibrillation. Atrial fibrillation increases the risk of stroke by 5 times. It is clear that atrial fibrillation is the leading cause of stroke. According to statistics, the incidence rate of people over 35 years old is about 1%, and the incidence rate is increasing year by year, and there is a trend of rejuvenation.
早期房颤多为阵发性,尽早发现治疗可避免其向持续性发展。单次ECG(心电图,electrocardiography)测量很难发现。72小时Holter(动态心电图)检出率为72%左右,但Holter不易携带;基于PPG(光电容积脉搏波描记法,Photoplethysmography)的可穿戴设备,用户体验好,房颤检出率可高达90%以上。Early atrial fibrillation is mostly paroxysmal, and early detection of treatment can avoid its continuous development. Single ECG (electrocardiography) measurements are difficult to find. The 72-hour Holter (dynamic electrocardiogram) detection rate is about 72%, but Holter is not easy to carry; based on PPG (photoplethysmography, Photoplethysmography) wearable device, user experience is good, the detection rate of atrial fibrillation can be as high as 90% the above.
目前,PPG数据采集主要有两种方式:Currently, there are two main ways to collect PPG data:
–PPG传感器常开,该方式会减少可穿戴设备的待机时间,影响用户体验。– The PPG sensor is normally open, which reduces the standby time of the wearable device and affects the user experience.
–PPG传感器按照固定频率开,该方式对于心律不齐低风险人群,会造成不必要的功耗浪费;对于心律不齐高风险人群,不足以满足检测的要求。– The PPG sensor is opened at a fixed frequency. This method will cause unnecessary waste of power consumption for people with low risk of arrhythmia; for high-risk people with arrhythmia, it is not enough to meet the requirements of testing.
发明内容Summary of the invention
本发明实施例提供一种更新数据采样间隔的方法、根据采样间隔采集数据的方法及其装置,可根据不同用户调整数据采样间隔。Embodiments of the present invention provide a method for updating a data sampling interval, a method for collecting data according to a sampling interval, and a device thereof, which can adjust a data sampling interval according to different users.
第一方面,本发明实施例提供了一种更新数据采样间隔的方法,包括:终端设备获取第一时间内用户的采样数据,并基于所述第一时间内用户的采样数据得到第一采样间隔;所述终端设备将所述第一采样间隔发送给可穿戴设备,以使所述可穿戴设备根据所述第一采样间隔在第二时间内获取用户的采样数据;所述终端设备接收所述可穿戴设备发送的所述第二时间内用户的采样数据,并基于所述第二时间内用户的采样数据得到第二采样间隔;所述终端设备将所述第二采样间隔发送给所述可穿戴设备,以使所述可穿戴设备根据所述第二采样间隔在第三时间内获取用户新的采样数据。In a first aspect, the embodiment of the present invention provides a method for updating a data sampling interval, including: acquiring, by a terminal device, sampling data of a user in a first time, and obtaining a first sampling interval based on sampling data of the user in the first time period. Transmitting, by the terminal device, the first sampling interval to the wearable device, so that the wearable device acquires sampling data of the user in a second time according to the first sampling interval; the terminal device receives the The sampling data of the user in the second time period sent by the wearable device, and obtaining a second sampling interval based on the sampling data of the user in the second time; the terminal device sending the second sampling interval to the The device is worn to enable the wearable device to acquire new sampling data of the user in a third time according to the second sampling interval.
本发明实施例中的更新数据采样间隔的方法,终端设备从可穿戴设备获取采样数据,根据采样数据调整采样间隔,使得可穿戴设备可以基于调整后的采样间隔采集数据。由于不同的用户采集的数据不同,那么调整后的采样间隔适于对应的用户。进一步的,由于不同的采样间隔适于不同的用户,既保证了准确采集数据,又可以节省功耗。In the method for updating the data sampling interval in the embodiment of the present invention, the terminal device acquires sampling data from the wearable device, and adjusts the sampling interval according to the sampling data, so that the wearable device can collect data based on the adjusted sampling interval. Since the data collected by different users is different, the adjusted sampling interval is suitable for the corresponding user. Further, since different sampling intervals are suitable for different users, both accurate data collection and power consumption can be saved.
在一种可能的实施方式中,所述第二时间内用户的采样数据包括第一采样数据;其中,所述第一采样数据是所述可穿戴设备在采样时间点到达时,根据第一时长采集的采样数据。这样,终端设备可以根据第一采样数据来确定采样间隔。In a possible implementation manner, the sampling data of the user in the second time period includes first sampling data, where the first sampling data is when the wearable device arrives at a sampling time point, according to the first duration Sampling data collected. In this way, the terminal device can determine the sampling interval according to the first sampled data.
在一种可能的实施方式中,所述第二时间内用户的采样数据包括第一和第二采样数据;其中,所述第一采样数据是所述可穿戴设备在采样时间点到达时,根据第一时长采 集的采样数据;所述第二采样数据是所述可穿戴设备在所述第一采样数据满足设定条件之后根据第二时长采集的采样数据,所述第二时长大于第一时长。这样,终端设备可以根据第一和第二采样数据来确定采样间隔。由于第二数据是在满足设定条件下采集的数据,并且采集的时长更长,相比于只采集第一采样数据的情况下,终端设备确定采样间隔更合理。In a possible implementation manner, the sampling data of the user in the second time period includes first and second sampling data, wherein the first sampling data is when the wearable device arrives at a sampling time point, according to Sampling data collected by the first duration; the second sampling data is sampling data collected by the wearable device according to the second duration after the first sampling data meets the set condition, and the second duration is greater than the first duration . In this way, the terminal device can determine the sampling interval based on the first and second sample data. Since the second data is data collected under the set condition and the acquisition duration is longer, the terminal device determines that the sampling interval is more reasonable than when only the first sample data is collected.
在一种可能的实施方式中,所述采样数据包括PPG数据,所述第一采样数据满足设定条件包括:所述第一采样数据包括心率不齐信息。本发明实施例中的数据采集,可以应用于检测用户是否患有心律不齐风险时PPG信号的采集。In a possible implementation manner, the sampling data includes PPG data, and the first sampling data satisfies a setting condition that the first sampling data includes heart rate irregularity information. The data collection in the embodiment of the present invention can be applied to detect the PPG signal collection when the user has a risk of arrhythmia.
在一种可能的实施方式中,所述心率不齐信息具体为房颤信息。In a possible implementation manner, the heartbeat information is specifically atrial fibrillation information.
在一种可能的实施方式中,所述终端设备显示基于所述PPG数据绘制的可视化图形。本发明实施例可以通过可视化图形来显示采样结果,更能直观的反映用户的身体状况。In a possible implementation manner, the terminal device displays a visualization graph drawn based on the PPG data. The embodiment of the invention can display the sampling result by visualizing the graphic, and can more intuitively reflect the physical condition of the user.
在一种可能的实施方式中,所述第一或第二采样间隔是基于如下公式获取到:In a possible implementation manner, the first or second sampling interval is obtained according to the following formula:
I=LI+(HI-LI)×(1-prob AF)其中,HI,LI用于表征基准采样间隔范围[LI,HI];Prob AF为房颤概率,所述房颤概率是基于第一或第二时间内用户的采样数据,利用logistics回归算法得到。 I=LI+(HI-LI)×(1-prob AF ) where HI, LI is used to characterize the reference sampling interval range [LI, HI]; Prob AF is the probability of atrial fibrillation, which is based on the first or The user's sampled data in the second time is obtained by the logistic regression algorithm.
第二方面,一种更新数据采样间隔的方法,所述方法包括:终端设备获取在第四时间内的用户的采样数据和运动数据,并基于所述采样数据和运动数据得到第三采样间隔;所述终端设备将所述第三采样间隔发送给可穿戴设备,以使所述可穿戴设备根据所述第三采样间隔在第五时间内获取用户的采样数据;所述终端设备获取所述第五时间内用户的运动数据;所述终端设备基于所述第五时间内的用户的采样数据和运动数据得到第四采样间隔;所述终端设备将所述第四采样间隔发送给所述可穿戴设备,以使所述可穿戴设备根据所述第四采样间隔在第六时间内获取用户新的采样数据。A second aspect, a method for updating a data sampling interval, the method comprising: acquiring, by a terminal device, sampling data and motion data of a user in a fourth time, and obtaining a third sampling interval based on the sampling data and the motion data; Transmitting, by the terminal device, the third sampling interval to the wearable device, so that the wearable device acquires sampling data of the user in a fifth time according to the third sampling interval; a motion data of the user in five time; the terminal device obtains a fourth sampling interval based on sampling data and motion data of the user in the fifth time; the terminal device sends the fourth sampling interval to the wearable And a device, so that the wearable device acquires new sampling data of the user in a sixth time according to the fourth sampling interval.
由此可见,本发明实施例中的更新数据采样间隔的方法,在确定采样间隔时,既要考虑采样数据又要考虑运动数据,调整后的采样间隔不但适于对应的用户,而且更加合理。进一步的,由于不同的采样间隔适于不同的用户,既保证了准确采集数据,又可以节省功耗。It can be seen that, in the method for updating the data sampling interval in the embodiment of the present invention, when determining the sampling interval, both the sampling data and the motion data should be considered, and the adjusted sampling interval is not only suitable for the corresponding user, but also more reasonable. Further, since different sampling intervals are suitable for different users, both accurate data collection and power consumption can be saved.
在一种可能的实施方式中,所述采样数据包括PPG数据。本发明实施例中的数据采集,可以应用于检测用户是否患有心律不齐风险时PPG信号的采集。In a possible implementation manner, the sampled data includes PPG data. The data collection in the embodiment of the present invention can be applied to detect the PPG signal collection when the user has a risk of arrhythmia.
第三方面,本发明实施例提供了一种根据采样间隔采集数据的方法,所述方法包括:可穿戴设备获取第一时间内用户的采样数据,并基于所述第一时间内用户的采样数据得到第一采样间隔;所述可穿戴设备根据所述第一采样间隔获取在第二时间内的用户的采样数据;所述可穿戴设备基于所述第二时间内用户的采样数据得到第二采样间隔;所述可穿戴设备根据所述第二采样间隔在第三时间内获取用户新的采样数据。In a third aspect, an embodiment of the present invention provides a method for collecting data according to a sampling interval, where the method includes: the wearable device acquires sampling data of a user in a first time, and is based on sampling data of the user in the first time period. Obtaining a first sampling interval; the wearable device acquiring sampling data of the user in a second time according to the first sampling interval; the wearable device obtaining a second sampling based on sampling data of the user in the second time Interval; the wearable device acquires new sampling data of the user in a third time according to the second sampling interval.
本发明实施例所述的方法,可穿戴设备获取采样数据,根据采样数据调整采样间隔,可穿戴设备可以基于调整后的采样间隔采集数据。由于不同的用户采集的数据不同,那 么调整后的采样间隔适于对应的用户。进一步的,由于不同的采样间隔适于不同的用户,既保证了准确采集数据,又可以节省功耗。According to the method of the embodiment of the present invention, the wearable device acquires sampling data, adjusts the sampling interval according to the sampling data, and the wearable device can collect data based on the adjusted sampling interval. Since the data collected by different users is different, the adjusted sampling interval is suitable for the corresponding user. Further, since different sampling intervals are suitable for different users, both accurate data collection and power consumption can be saved.
在一种可能的实施方式中,所述第二时间内用户的采样数据包括第一采样数据;其中,所述第一采样数据是所述可穿戴设备在采样时间点到达时,根据第一时长采集的采样数据。这样,可穿戴设备可以根据第一采样数据来确定采样间隔。In a possible implementation manner, the sampling data of the user in the second time period includes first sampling data, where the first sampling data is when the wearable device arrives at a sampling time point, according to the first duration Sampling data collected. In this way, the wearable device can determine the sampling interval based on the first sampled data.
在一种可能的实施方式中,所述第二时间内用户的采样数据包括第一和第二采样数据;其中,所述第一采样数据是所述可穿戴设备在采样时间点到达时,根据第一时长采集的采样数据;所述第二数据是所述可穿戴设备在所述第一采样数据满足设定条件之后根据第二时长采集的采样数据,所述第二时长大于第一时长。这样,可穿戴设备可以根据第一和第二采样数据来确定采样间隔。由于第二数据是在满足设定条件下采集的数据,并且采集的时长更长,相比于只采集第一采样数据的情况下,可穿戴设备确定采样间隔更合理。In a possible implementation manner, the sampling data of the user in the second time period includes first and second sampling data, wherein the first sampling data is when the wearable device arrives at a sampling time point, according to The sample data collected by the first time length; the second data is sample data collected by the wearable device according to the second time length after the first sample data meets the set condition, and the second time length is greater than the first time length. In this way, the wearable device can determine the sampling interval based on the first and second sampled data. Since the second data is data acquired under the set conditions, and the duration of the acquisition is longer, the wearable device determines that the sampling interval is more reasonable than when only the first sampled data is collected.
在一种可能的实施方式中,所述采样数据包括PPG数据,所述第一采样数据满足设定条件包括:所述第一采样数据包括心率不齐信息。本实施例中的数据采集,可以应用于检测用户是否患有心率不齐时PPG信号的采集。In a possible implementation manner, the sampling data includes PPG data, and the first sampling data satisfies a setting condition that the first sampling data includes heart rate irregularity information. The data collection in this embodiment can be applied to detect whether the user has a PPG signal collection when the heart rate is not aligned.
在一种可能的实施方式中,所述心率不齐信息具体为房颤信息。In a possible implementation manner, the heartbeat information is specifically atrial fibrillation information.
在一种可能的实施方式中,所述方法还包括:所述可穿戴设备输出基于所述PPG数据绘制的可视化图形。这样可穿戴设备可以直接显示所述图形,或者投影,或者发送给其他设备显示所述图形,可以通过可视化图形来显示采样结果,更能直观的反映用户的身体状况。In a possible implementation manner, the method further includes: the wearable device outputs a visualization graph drawn based on the PPG data. In this way, the wearable device can directly display the graphic, or project the image, or send it to other devices to display the graphic, and can display the sampling result through the visual graphic, thereby more intuitively reflecting the physical condition of the user.
在一种可能的实施方式中,所述第一或第二采样间隔是基于如下公式获取到:In a possible implementation manner, the first or second sampling interval is obtained according to the following formula:
I=LI+(HI-LI)×(1-prob AF)其中,HI,LI用于表征基准采样间隔范围[LI,HI];Prob AF为房颤概率,所述房颤概率是基于第一或第二时间内用户的采样数据,利用logistics回归算法得到。 I=LI+(HI-LI)×(1-prob AF ) where HI, LI is used to characterize the reference sampling interval range [LI, HI]; Prob AF is the probability of atrial fibrillation, which is based on the first or The user's sampled data in the second time is obtained by the logistic regression algorithm.
第四方面,本发明实施例提供了一种根据采样间隔采集数据的方法,所述方法包括:可穿戴设备获取在第四时间内的用户的采样数据和运动数据,并基于所述采样数据和运动数据得到第三采样间隔;所述可穿戴设备根据所述第三采样间隔在第五时间内获取用户的采样数据;所述可穿戴设备获取所述第五时间内用户的运动数据;所述可穿戴设备基于所述第五时间内的用户的采样数据和运动数据得到第四采样间隔;所述可穿戴设备根据所述第四采样间隔在第六时间内获取用户新的采样数据。In a fourth aspect, an embodiment of the present invention provides a method for collecting data according to a sampling interval, where the method includes: the wearable device acquires sampling data and motion data of a user in a fourth time, and based on the sampling data and The motion data obtains a third sampling interval; the wearable device acquires sampling data of the user in a fifth time according to the third sampling interval; the wearable device acquires motion data of the user in the fifth time; The wearable device obtains a fourth sampling interval based on sampling data and motion data of the user in the fifth time period; the wearable device acquires new sampling data of the user in a sixth time according to the fourth sampling interval.
由此可见,本发明实施例中的根据采样间隔采集数据,在确定采样间隔时,既要考虑采样数据又要考虑运动数据,调整后的采样间隔不但适于对应的用户,而且更加合理。进一步的,由于不同的采样间隔适于不同的用户,既保证了准确采集数据,又可以节省功耗。It can be seen that, in the embodiment of the present invention, data is collected according to the sampling interval. When determining the sampling interval, both the sampling data and the motion data should be considered. The adjusted sampling interval is not only suitable for the corresponding user, but also more reasonable. Further, since different sampling intervals are suitable for different users, both accurate data collection and power consumption can be saved.
在一种可能的实施方式中,所述采样数据包括PPG数据。本发明实施例中的数据采 集,可以应用于检测用户是否患有心律不齐风险时PPG信号的采集。In a possible implementation manner, the sampled data includes PPG data. The data collection in the embodiment of the present invention can be applied to detect the acquisition of a PPG signal when the user has a risk of arrhythmia.
第五方面,本发明实施例提供了一种终端设备,包括:一个或多个处理器;存储器;以及一个或多个程序,其中所述一个或多个程序被存储在所述存储器中,所述一个或多个程序包括指令,当所述指令被所述终端设备执行时,使得所述终端设备执行本发明实施例第一方面和/或第二方面中的方法。In a fifth aspect, an embodiment of the present invention provides a terminal device, including: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory, where The one or more programs include instructions that, when executed by the terminal device, cause the terminal device to perform the methods of the first aspect and/or the second aspect of the embodiments of the present invention.
第四方面,本发明实施例提供了一种可穿戴设备,包括:一个或多个处理器;存储器;以及一个或多个程序,其中所述一个或多个程序被存储在所述存储器中,所述一个或多个程序包括指令,当所述指令被所述可穿戴设备执行时,使得所述可穿戴设备执行如本发明实施例第三方面和/或第四方面的方法。In a fourth aspect, an embodiment of the present invention provides a wearable device, including: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory, The one or more programs include instructions that, when executed by the wearable device, cause the wearable device to perform a method as in the third and/or fourth aspects of embodiments of the present invention.
应当理解的是,本申请中对技术特征、技术方案、有益效果或类似语言的描述并不是暗示在任意的单个实施例中可以实现所有的特点和优点。相反,可以理解的是对于特征或有益效果的描述意味着在至少一个实施例中包括特定的技术特征、技术方案或有益效果。因此,本说明书中对于技术特征、技术方案或有益效果的描述并不一定是指相同的实施例。进而,还可以任何适当的方式组合本实施例中所描述的技术特征、技术方案和有益效果。本领域技术人员将会理解,无需特定实施例的一个或多个特定的技术特征、技术方案或有益效果即可实现实施例。在其他实施例中,还可在没有体现所有实施例的特定实施例中识别出额外的技术特征和有益效果。The description of the technical features, technical solutions, advantages, or similar language in this application is not intended to suggest that all features and advantages may be realized in any single embodiment. Rather, it is to be understood that a description of a feature or benefit is meant to include a particular technical feature, technical solution, or benefit in at least one embodiment. Therefore, descriptions of technical features, technical solutions, or advantageous effects in the present specification are not necessarily referring to the same embodiments. Further, the technical features, technical solutions, and advantageous effects described in the embodiment can also be combined in any suitable manner. Those skilled in the art will appreciate that embodiments may be implemented without one or more specific technical features, technical solutions, or advantages of the specific embodiments. In other embodiments, additional technical features and benefits may also be identified in a particular embodiment that does not embody all embodiments.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the prior art description will be briefly described below.
图1是本发明实施例中手机和智能手表所处的网络系统的示意图;1 is a schematic diagram of a network system in which a mobile phone and a smart watch are located in an embodiment of the present invention;
图2是本发明实施例中智能手表的硬件结构示意图;2 is a schematic diagram showing the hardware structure of a smart watch according to an embodiment of the present invention;
图3是本发明实施例中手机的硬件结构示意图;3 is a schematic diagram showing the hardware structure of a mobile phone according to an embodiment of the present invention;
图4是本发明实施例一涉及的更新数据采集间隔的方法流程图;4 is a flowchart of a method for updating a data collection interval according to Embodiment 1 of the present invention;
图5是本发明实施例中涉及的调查问卷的示意图;FIG. 5 is a schematic diagram of a questionnaire involved in an embodiment of the present invention; FIG.
图6是本发明实施例中基于PPG采样数据的可视化图形的示意图;6 is a schematic diagram of a visualization graph based on PPG sampling data in an embodiment of the present invention;
图7是本发明实施例中基于PPG采样数据的可视化图形的另一示意图;7 is another schematic diagram of a visualization graph based on PPG sampling data in an embodiment of the present invention;
图8是本发明实施例二涉及的更新数据采集间隔的方法流程图;8 is a flowchart of a method for updating a data collection interval according to Embodiment 2 of the present invention;
图9是本发明实施例三涉及的更新数据采集间隔的方法流程图;9 is a flowchart of a method for updating a data collection interval according to Embodiment 3 of the present invention;
图10是本发明实施例四涉及的更新数据采集间隔的方法流程图;10 is a flowchart of a method for updating a data collection interval according to Embodiment 4 of the present invention;
图11是本发明实施例五涉及的根据采样间隔采集数据的方法流程图;11 is a flowchart of a method for collecting data according to a sampling interval according to Embodiment 5 of the present invention;
图12是本发明实施例六涉及的根据采样间隔采集数据的方法流程图;12 is a flowchart of a method for collecting data according to a sampling interval according to Embodiment 6 of the present invention;
图13是本发明实施例七涉及的根据采样间隔采集数据的方法流程图。FIG. 13 is a flowchart of a method for collecting data according to a sampling interval according to Embodiment 7 of the present invention.
具体实施方式Detailed ways
在本文中对本发明的描述中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本发明的限制。如本在发明的说明书和所附权利要求书中所使用的那样,单 数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括复数表达形式,除非其上下文中明确地有相反指示。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the description of the present invention is for the purpose of describing particular embodiments and is not intended to limit the invention. The singular expression "a", "an", "sai", "said", "the", "the" and "the" are intended to be used in the description of the invention and the appended claims. The plural expressions are included unless they are expressly indicated to the contrary. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
如图1所示,以可穿戴设备为智能手表为例,以终端设备为手机为例,本实施例提供一种网络系统的示意图,其中,智能手表200可以通过无线方式与无线通信基站100或者与手机300进行无线网络通信。例如,该智能手表200可以通过自身的射频电路和天线,通过无线通信链路L1发送无线信号给基站100,进而请求基站100进行无线网络业务处理该智能手表200具体业务需求;又例如,智能手表200可以通过自身的蓝牙与手机30进行匹配,匹配成功后与手机通过蓝牙通信链路L2进行数据通信,当然也可以通过其他无线通信方式与手机进行数据通信,比如射频识别技术,近距离无线通信技术等。该智能手表200也可以通过自身的各种传感器检测各种环境的数据。As shown in FIG. 1 , taking a wearable device as a smart watch as an example and a terminal device as a mobile phone as an example, this embodiment provides a schematic diagram of a network system, wherein the smart watch 200 can wirelessly communicate with the wireless communication base station 100 or Wireless network communication with the mobile phone 300. For example, the smart watch 200 can transmit a wireless signal to the base station 100 through the wireless communication link L1 through its own radio frequency circuit and antenna, and then request the base station 100 to perform wireless network service processing on the specific service requirements of the smart watch 200; for example, a smart watch. The 200 can be matched with the mobile phone 30 through its own Bluetooth. After the matching is successful, the data communication with the mobile phone through the Bluetooth communication link L2, and of course, the data communication with the mobile phone through other wireless communication methods, such as radio frequency identification technology, short-range wireless communication Technology, etc. The smart watch 200 can also detect data of various environments by its own various sensors.
如图2所示,该智能手表200具体可以包括相互连接的表体和腕带(图2未示出),其中表体可以包括触摸屏215、NFC(Near-field communication,近场通信)装置212、处理器214、存储器204、麦克风206、环境光传感器213、蓝牙装置211、定位装置205、电源管理系统203(包括电源)、Wi-Fi(Wireless Fidelity,无线保真)装置201、时间系统202、运动传感器209、PPG传感器210等。尽管未示出,智能手表200还可以包括天线、扬声器、加速计、陀螺仪等。As shown in FIG. 2, the smart watch 200 may specifically include a body and a wristband (not shown in FIG. 2) connected to each other, wherein the watch body may include a touch screen 215 and a NFC (Near-field communication) device 212. The processor 214, the memory 204, the microphone 206, the ambient light sensor 213, the Bluetooth device 211, the positioning device 205, the power management system 203 (including the power supply), the Wi-Fi (Wireless Fidelity) device 201, and the time system 202 , motion sensor 209, PPG sensor 210, and the like. Although not shown, the smart watch 200 may also include an antenna, a speaker, an accelerometer, a gyroscope, and the like.
下面分别对智能手表200的各功能组件进行介绍:The following describes each functional component of the smart watch 200:
触摸屏215包括触控面板207和显示面板208,触控面板207可以覆盖在显示面板208之上。触控面板207可采集智能手表的用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或在触控面板附近的操作),并根据预先设定的程式驱动响应的连接装置。触控面板207可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器214,并可以接收处理器214发送的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板。显示面板(一般称为显示屏)可用于显示由用户输入的信息或提供给用户的信息以及智能手表的各种菜单。可选的,可以采用液晶显示器、有机发光二极管等形式来配置显示面板。触控面板可覆盖在显示屏之上,当触控面板检测到在其上或附近的触摸操作后,传送给处理器214以确定触摸事件的类型,随后处理器214根据触摸事件的类型在显示屏上提供相应的视觉输出。虽然在图2中,触控面板与显示屏是作为两个独立的部件来实现智能手表的输入和输出功能,但是在某些实施例中,可以将触控面板与显示屏集成而实现智能手表200的输入和输出功能。The touch screen 215 includes a touch panel 207 and a display panel 208 , and the touch panel 207 can be overlaid on the display panel 208 . The touch panel 207 can collect a touch operation on or near a user of the smart watch (such as a user using a finger, a stylus, or the like, any suitable object or accessory on or near the touch panel), and according to A preset program drives the connected connection device. The touch panel 207 can include two parts of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 214 is provided and can receive commands from the processor 214 and execute them. In addition, touch panels can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. A display panel (generally referred to as a display screen) can be used to display information entered by the user or information provided to the user as well as various menus of the smart watch. Optionally, the display panel may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The touch panel can be overlaid on the display screen. When the touch panel detects a touch operation on or near it, the touch panel transmits to the processor 214 to determine the type of the touch event, and then the processor 214 displays the type according to the type of the touch event. A corresponding visual output is provided on the screen. Although in FIG. 2, the touch panel and the display screen are two independent components to implement the input and output functions of the smart watch, in some embodiments, the touch panel and the display can be integrated to implement the smart watch. 200 input and output functions.
NFC装置212用于给智能手表200提供NFC功能,该NFC装置可以具有三种应用模式,即读卡器模式、点对点模式和卡模拟模式。在一些实施例中,该NFC装置212可以包括NFC控制器,NFC射频电路,安全单元(Secure Element)。其中,NFC控制器分别与NFC射频电路和安全单元连接,主要用于非接触通信信号的调制解调,控制NFC装置中数据的输入和输出,并与处理器214进行数据交互;NFC射频电路与NFC控制器连接,实现13.56MHz射频信号的发送与接收,可以由EMC(Electromagnetic Compatibility, 电磁兼容性)滤波电路、匹配电路、接收电路、NFC天线四部分组成。安全单元可包括存储器,一个或多个处理器,安全单元的主要功能是实现应用程序和数据的安全存储,对外提供安全运算服务。安全模块还通过NFC控制器与外部设备进行通信,实现数据存储及交易过程的安全性。需要指出,安全单元可以是在移动设备中用于提供安全性、机密性、以及为了支持各种应用环境的防篡改部件。安全单元可以多种形状存在,例如安全单元可以集成在通用集成电路卡(Universal Integrated Circuit Card,UICC),例如用户识别模块SIM(Subscriber Identity Module)卡中、嵌入式安全单元(位于移动设备的电路板上)、安全数字(,SecureDigital SD)卡、微型SD卡等中。此外,安全单元还可以包括在安全单元的环境中(诸如在安全单元的操作系统中/或在运行在安全单元上的Java运行环境中)执行的一个或多个应用程序。此外,该一个或多个应用程序可包括一个或多个支付应用程序,该一个或多个支付应用程序可以保存在存储器204中。安全单元支持应用程序安全交易和安全数据存储,支持多应用程序的下载、安装、删除、更新等,安全单元还支持应用程序数据的安全隔离,为了安全,安全单元可以不允许不同应用程序之间的自由访问;安全单元还提供各类支付需要的对称、非对称加密算法和证书能力,提供安全交易应用访问的程序接口,支持和NFC控制器或处理器214的双向通信。The NFC device 212 is used to provide an NFC function to the smart watch 200, which can have three application modes, namely a card reader mode, a peer-to-peer mode, and a card emulation mode. In some embodiments, the NFC device 212 can include an NFC controller, an NFC radio frequency circuit, a Secure Element. The NFC controller is respectively connected to the NFC radio frequency circuit and the security unit, and is mainly used for modulation and demodulation of the contactless communication signal, controlling the input and output of data in the NFC device, and performing data interaction with the processor 214; the NFC radio frequency circuit and The NFC controller is connected to realize the transmission and reception of the 13.56 MHz RF signal, and can be composed of an EMC (Electromagnetic Compatibility) filter circuit, a matching circuit, a receiving circuit, and an NFC antenna. The security unit may include a memory, one or more processors, and the main function of the security unit is to implement secure storage of applications and data, and provide secure computing services externally. The security module also communicates with external devices through the NFC controller to achieve data storage and transaction security. It should be noted that the security unit can be a tamper-proof component used in mobile devices to provide security, confidentiality, and to support various application environments. The security unit can exist in various shapes. For example, the security unit can be integrated in a Universal Integrated Circuit Card (UICC), such as a Subscriber Identity Module (SIM) card, and an embedded security unit (a circuit located in a mobile device). Board), Secure Digital (SecureDigital SD) card, micro SD card, etc. Further, the security unit may also include one or more applications executing in the context of the security unit, such as in an operating system of the security unit/or in a Java runtime environment running on the security unit. Additionally, the one or more applications can include one or more payment applications that can be saved in the memory 204. The security unit supports application secure transactions and secure data storage, supports downloading, installing, deleting, updating, etc. of multiple applications. The security unit also supports secure isolation of application data. For security, the security unit may not allow different applications. Free access; the security unit also provides symmetric, asymmetric encryption algorithms and certificate capabilities for a variety of payment needs, provides a program interface for secure transaction application access, and supports two-way communication with the NFC controller or processor 214.
处理器214是智能手表200的控制中心,利用各种接口和线路连接手表的各个部分,通过运行或执行存储在存储器204内的应用程序,以及调用存储在存储器204内的数据,执行智能手表200的各种功能和处理数据。在一些实施例中,处理器214可包括一个或多个处理单元;处理器214还可以集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器214中。举例来说,处理器214可以是华为技术有限公司制造的麒麟960芯片。The processor 214 is a control center of the smart watch 200, and connects various parts of the watch using various interfaces and lines, executes the smart watch 200 by running or executing an application stored in the memory 204, and calling data stored in the memory 204. Various functions and processing data. In some embodiments, processor 214 can include one or more processing units; processor 214 can also integrate an application processor and a modem processor, where the application processor primarily processes operating systems, user interfaces, applications, etc. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 214. For example, the processor 214 may be a Kirin 960 chip manufactured by Huawei Technologies Co., Ltd.
存储器204用于存储应用程序以及数据,处理器214通过运行存储在存储器的应用程序以及数据,执行智能手表200的各种功能以及数据处理。存储器204主要包括存储程序区以及存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等);存储数据区可以存储根据使用智能手表所创建的数据(比如音频数据、电话本等)。此外,存储器可以包括高速随机存取存储器,还可以包括非易失存储器,例如磁盘存储器件、闪存器件或其他易失性固态存储器件。存储器204可以存储有使得智能手表能运行的操作系统,例如苹果公司所开发的Watch操作系统,谷歌公司所开发的Android
Figure PCTCN2018125849-appb-000001
操作系统等。
The memory 204 is used to store applications and data, and the processor 214 executes various functions and data processing of the smart watch 200 by running applications and data stored in the memory. The memory 204 mainly includes a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.); the storage data area can be stored according to the use intelligence. The data created by the watch (such as audio data, phone book, etc.). Further, the memory may include a high speed random access memory, and may also include a nonvolatile memory such as a magnetic disk storage device, a flash memory device, or other volatile solid state storage device. The memory 204 can store an operating system that enables the smart watch to operate, such as the Watch operating system developed by Apple, Android developed by Google Inc.
Figure PCTCN2018125849-appb-000001
Operating system, etc.
定位装置205,用于为智能手表200提供地理位置。可以理解的是,该定位装置205具体可以是全球定位系统(Global Positioning System,GPS)或北斗卫星导航系统、俄罗斯GLONASS等定位系统的接收器。定位装置205在接收到上述定位系统发送的地理位置后,将该信息发送给处理器214进行处理,或者发送给存储器204进行保存。在另外的一些实施例中,该定位装置205可以是辅助全球卫星定位系统(Assisted GPS,AGPS)的接收器,AGPS是一种在一定辅助配合下进行GPS定位的运行方式,它可以利用基站的信号,配合GPS卫星信号,可以让智能手表200定位的速度更快;在AGPS系统中,该定位装置205可通过与辅助定位服务器(例如手机定位服务器)的通信而获得定位辅助。 AGPS系统通过作为辅助服务器来协助定位装置205完成测距和定位服务,在这种情况下,辅助定位服务器通过无线通信网络与移动设备(例如智能手表200、手机300的定位装置340(即GPS接收器)通信而提供定位协助。在另外的一些实施例中,该定位装置205也可以是基于Wi-Fi接入点的定位技术。由于每一个Wi-Fi接入点都有一个全球唯一的MAC地址,移动设备在开启Wi-Fi的情况下即可扫描并收集周围的Wi-Fi接入点的广播信号,因此可以获取到Wi-Fi接入点广播出来的MAC(Media Access Control,媒体访问控制)地址;移动设备将这些能够标示Wi-Fi接入点的数据(例如MAC地址)通过无线通信网络发送给位置服务器,由位置服务器检索出每一个Wi-Fi接入点的地理位置,并结合Wi-Fi广播信号的强弱程度,计算出该移动设备的地理位置并发送到移动设备的定位装置205中。The positioning device 205 is configured to provide a geographic location for the smart watch 200. It can be understood that the positioning device 205 can be specifically a receiver of a positioning system such as a Global Positioning System (GPS) or a Beidou satellite navigation system or a Russian GLONASS. After receiving the geographical location transmitted by the positioning system, the positioning device 205 sends the information to the processor 214 for processing, or sends it to the memory 204 for storage. In some other embodiments, the positioning device 205 can be an Assisted GPS (AGPS) receiver, and the AGPS is an operation mode for performing GPS positioning with certain assistance, which can utilize the base station. The signal, in conjunction with the GPS satellite signal, allows the smart watch 200 to be positioned faster; in the AGPS system, the positioning device 205 can obtain positioning assistance by communicating with an auxiliary positioning server (eg, a mobile phone location server). The AGPS system assists the positioning device 205 in performing the ranging and positioning services by acting as a secondary server, in which case the secondary positioning server communicates with the mobile device via the wireless communication network (eg, the smart watch 200, the positioning device 340 of the handset 300 (ie, GPS reception) Providing location assistance in communication. In still other embodiments, the location device 205 may also be a Wi-Fi access point based location technology. Since each Wi-Fi access point has a globally unique MAC Address, the mobile device can scan and collect the broadcast signal of the surrounding Wi-Fi access point when Wi-Fi is turned on, so the MAC (Media Access Control) broadcasted by the Wi-Fi access point can be obtained. Controlling the address; the mobile device sends the data (eg, MAC address) capable of indicating the Wi-Fi access point to the location server through the wireless communication network, and the location server retrieves the geographic location of each Wi-Fi access point, and In conjunction with the strength of the Wi-Fi broadcast signal, the geographic location of the mobile device is calculated and sent to the location device 205 of the mobile device.
Wi-Fi装置201,用于为智能手表200提供Wi-Fi网络接入,智能手表200可以通过Wi-Fi装置201接入到Wi-Fi接入点,进而帮助用户收发电子邮件、浏览网页和访问流媒体等,它为用户提供了无线的宽带互联网访问。在另外的一些实施例中,该Wi-Fi装置201也可以作为Wi-Fi接入点,为其他移动设备提供Wi-Fi网络接入。The Wi-Fi device 201 is configured to provide Wi-Fi network access for the smart watch 200, and the smart watch 200 can access the Wi-Fi access point through the Wi-Fi device 201, thereby helping the user to send and receive emails, browse web pages, and Access to streaming media, etc., it provides users with wireless broadband Internet access. In still other embodiments, the Wi-Fi device 201 can also act as a Wi-Fi access point to provide Wi-Fi network access to other mobile devices.
智能手表还包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统203与处理器214逻辑相连,从而通过电源管理系统203实现管理充电、放电、以及功耗管理等功能。麦克风206,可以将收集的声音信号转换为电信号,由音频电路接收后转换为音频数据;蓝牙装置211,智能手表通过为蓝牙可以与其他电子设备(如手机300等)交互信息,并通过上述电子设备连接网络,与服务器连接,处理语音识别等功能。The smart watch also includes a power source (such as a battery) that supplies power to various components. The power source can be logically coupled to the processor 214 through the power management system 203 to manage functions such as charging, discharging, and power management through the power management system 203. The microphone 206 can convert the collected sound signal into an electrical signal, which is received by the audio circuit and converted into audio data; the Bluetooth device 211, the smart watch can exchange information with other electronic devices (such as the mobile phone 300) through Bluetooth, and through the above The electronic device is connected to the network, connected to the server, and handles functions such as voice recognition.
智能手表200还可以包括时间系统202,该时间系统202为智能手表200提供时间的指示。The smart watch 200 can also include a time system 202 that provides an indication of time for the smart watch 200.
智能手表200还可以包括运动传感器209,运动传感器209可以包括加速度传感器、陀螺仪等,其中加速度传感器通过测量方向和加速度力量,判断设备是否移动,从而达到计步的目的,而通过收集的数据匹配用户正在进行的运动类型,进而监测用户的步行数、卡路里消耗量等,实现智能手表最基本的功能。The smart watch 200 may further include a motion sensor 209, which may include an acceleration sensor, a gyroscope, etc., wherein the acceleration sensor determines whether the device moves by measuring the direction and the acceleration force, thereby achieving the purpose of the step counting, and matching by the collected data. The type of exercise the user is performing, which in turn monitors the user's walking number, calorie consumption, etc., to achieve the most basic functions of the smart watch.
智能手表200还可以包括PPG传感器210,智能手表200可以采用光电容积脉搏波描记法(PPG)来测量心率及其他生物计量指标。PPG是一种将光照进皮肤并测量因血液流动而产生的光散射的方法。该方法比较常用,当血流动力发生变化时,例如血脉搏率(心率)或血容积(心输出量)发生变化时,进入人体的光会发生可预见的散射。The smart watch 200 can also include a PPG sensor 210 that can measure heart rate and other biometric indicators using photoplethysmography (PPG). PPG is a method of illuminating light into the skin and measuring light scattering due to blood flow. This method is more commonly used. When the blood flow force changes, for example, when the blood pulse rate (heart rate) or the blood volume (cardiac output) changes, the light entering the human body will be foreseeable scattering.
如图3所示,手机300包括:RF(Radio Frequency,射频)电路310、存储器320、触摸屏330、定位装置340、NFC装置302、传感器350、音频电路360、Wi-Fi装置370、处理器380、蓝牙装置381以及电源系统390等部件。本领域技术人员可以理解,图3中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。As shown in FIG. 3, the mobile phone 300 includes an RF (Radio Frequency) circuit 310, a memory 320, a touch screen 330, a positioning device 340, an NFC device 302, a sensor 350, an audio circuit 360, a Wi-Fi device 370, and a processor 380. , Bluetooth device 381 and power system 390 and other components. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 3 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
下面结合图3对手机300的各个构成部件进行具体的介绍:The components of the mobile phone 300 will be specifically described below with reference to FIG. 3:
RF电路310可用于收发信息或通话过程中,信号的接收和发送。特别地,RF电路310将基站的下行数据接收后,给处理器380处理;另外,将涉及上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,RF电路310还可以通过无线通信网络和其他设备通信。所述无 线通信网络可以使用任一通信标准或协议,包括但不限于全球移动通讯系统、通用分组无线服务、码分多址、宽带码分多址、长期演进、电子邮件、短消息服务等。The RF circuit 310 can be used to transmit and receive information and receive and transmit signals during a call. Specifically, the RF circuit 310 receives the downlink data of the base station and then processes it to the processor 380; in addition, transmits data related to the uplink to the base station. Generally, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, RF circuitry 310 can also communicate with other devices over a wireless communication network. The wireless communication network may use any communication standard or protocol including, but not limited to, global mobile communication systems, general packet radio services, code division multiple access, wideband code division multiple access, long term evolution, email, short message service, and the like.
手机300还可以包括至少一种传感器350,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节触摸屏330的显示面板的亮度,接近传感器可在手机300移动到耳边时,关闭显示面板的电源。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机300还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset 300 can also include at least one sensor 350, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel of the touch screen 330 according to the brightness of the ambient light, and the proximity sensor may close the display panel when the mobile phone 300 moves to the ear. Power supply. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone 300 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
音频电路360、扬声器361,麦克风362可提供用户与手机300之间的音频接口。音频电路360可将接收到的音频数据转换后的电信号,传输到扬声器361,由扬声器361转换为声音信号输出;另一方面,麦克风362将收集的声音信号转换为电信号,由音频电路360接收后转换为音频数据,再将音频数据输出至RF电路310以发送给比如另一手机,或者将音频数据输出至存储器320以便进一步处理。The audio circuit 360, the speaker 361, and the microphone 362 can provide an audio interface between the user and the handset 300. The audio circuit 360 can transmit the converted electrical data of the received audio data to the speaker 361 for conversion to the sound signal output by the speaker 361; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, by the audio circuit 360. After receiving, it is converted into audio data, and the audio data is output to the RF circuit 310 for transmission to, for example, another mobile phone, or the audio data is output to the memory 320 for further processing.
处理器380是手机300的控制中心,利用各种接口和线路连接手机的各个部分,通过运行或执行存储在存储器320内的应用程序,以及调用存储在存储器320内的数据,执行手机300的各种功能和处理数据,从而对手机进行整体监控。在一些实施例中,处理器380可包括一个或多个处理单元;处理器380还可以集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器380中。The processor 380 is a control center of the mobile phone 300, and connects various parts of the mobile phone using various interfaces and lines, and executes each of the mobile phones 300 by running or executing an application stored in the memory 320 and calling data stored in the memory 320. The function and processing of data to monitor the phone as a whole. In some embodiments, processor 380 can include one or more processing units; processor 380 can also integrate an application processor and a modem processor, where the application processor primarily processes operating systems, user interfaces, applications, and the like The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 380.
手机300还包括给各个部件供电的电源系统390(包括电池和电源管理芯片)。电池可以通过电源管理芯片与处理器380逻辑相连,从而通过电源系统390实现管理充电、放电、以及功耗等功能。尽管未示出,手机300还可以包括摄像头、用户识别模块(SIM)卡槽、外设接口(用于连接其他输入/输出设备)等,在此不再赘述。The handset 300 also includes a power system 390 (including a battery and power management chip) that powers the various components. The battery can be logically coupled to the processor 380 via a power management chip to manage functions such as charging, discharging, and power consumption through the power system 390. Although not shown, the mobile phone 300 may further include a camera, a Subscriber Identity Module (SIM) card slot, a peripheral interface (for connecting other input/output devices), and the like, and details are not described herein.
在一些实施例中,手机300中的存储器320、触摸屏330、定位装置340、NFC装置302、Wi-Fi装置370、蓝牙装置381等部件的功能、作用可以与上述实施例的智能手表200中的存储器205、触摸屏201、定位装置209、NFC装置202、Wi-Fi装置214、蓝牙装置208的功能、作用相同或者相似,在此不再对上述部件进行过多描述。In some embodiments, the functions and functions of the components of the memory 320, the touch screen 330, the positioning device 340, the NFC device 302, the Wi-Fi device 370, the Bluetooth device 381, and the like in the mobile phone 300 may be the same as those in the smart watch 200 of the above embodiment. The functions and functions of the memory 205, the touch screen 201, the positioning device 209, the NFC device 202, the Wi-Fi device 214, and the Bluetooth device 208 are the same or similar, and the above components are not described too much herein.
实施例一Embodiment 1
图4示出了本发明实施例一涉及的更新数据采样间隔的方法流程图,为了方便理解,图4示出的方法,是以用户第一次使用智能手表和终端设备来采集采样数据为例,当然如果用户虽然使用过智能手表和终端设备来采集采样数据,但是间隔了很久后再次使用,为了描述方便,视为第一次使用。在具体的描述中,本发明实施例以手机为终端设备,智能手表为可穿戴设备为例,但是可以理解的是,这并不对其构成限定。4 is a flowchart of a method for updating a data sampling interval according to Embodiment 1 of the present invention. For convenience of understanding, the method shown in FIG. 4 is an example in which a user uses a smart watch and a terminal device to collect sampling data for the first time. Of course, if the user has used the smart watch and the terminal device to collect the sampled data, but the interval is used again after a long time, for the convenience of description, it is regarded as the first use. In the specific description, the embodiment of the present invention uses a mobile phone as a terminal device, and the smart watch is a wearable device as an example, but it can be understood that this is not limited thereto.
步骤S401,终端设备获取用户的用户信息,并基于用户的用户信息得到第一采样间隔。Step S401: The terminal device acquires user information of the user, and obtains a first sampling interval based on the user information of the user.
采样间隔用于与手机通信连接的智能手表采集用户数据,比如用户的PPG数据。当 采样间隔被手机确定之后,采样时间点也就确定了,这样到了采样时间点,智能手表就会采集采样数据。The sampling interval is used to collect user data, such as the user's PPG data, from a smart watch that is connected to the mobile phone. When the sampling interval is determined by the mobile phone, the sampling time point is also determined, so that by the sampling time point, the smart watch will collect the sampling data.
以本发明实施例的方法用于房颤的场景为例,用户的用户信息可以包括以下至少一种信息:用户基本信息,包括性别、年龄、是否抽烟、喝酒;用户的既往病史信息,包括是否有心脏病、冠心病、甲亢等;用户现有的心率信息,包括心率多少,是否有房颤,房颤比例等。Taking the scenario of the embodiment of the present invention as a case of atrial fibrillation, the user information of the user may include at least one of the following information: basic information of the user, including gender, age, smoking, drinking; user's past medical history information, including whether There are heart disease, coronary heart disease, hyperthyroidism, etc.; user's existing heart rate information, including heart rate, whether there is atrial fibrillation, the proportion of atrial fibrillation.
可以理解的是,本发明实施例以及后面的其他实施例虽然是以房颤为例进行介绍,但是,也可以用于心率不齐,在此不做限定。It can be understood that the embodiment of the present invention and other embodiments of the present invention are described by taking atrial fibrillation as an example, but can also be used for arrhythmia, which is not limited herein.
如图5所示,用户第一次使用手机和智能手表来采集PPG数据时,手机可以显示如图示例的调查问卷,让用户输入用户信息。可以理解的是,图5所列出的调查问题,仅仅是一种示例,并不对其进行限定。As shown in FIG. 5, when the user first uses the mobile phone and the smart watch to collect the PPG data, the mobile phone can display a questionnaire as shown in the example, and let the user input the user information. It can be understood that the survey questions listed in FIG. 5 are merely examples and are not limited thereto.
用户第一次使用本发明实施例的方法时,当用户输入用户信息后,手机会估算一个大致的采样间隔。When the user uses the method of the embodiment of the present invention for the first time, when the user inputs the user information, the mobile phone estimates an approximate sampling interval.
第三方公司提前统计大量用户的用户信息之后,得到常见的多个采样间隔估算结果,比如用户性别男,年龄30-39岁,抽烟,喝酒,无既往病史,心律不齐等,对应一个采样间隔,比如用户性别男,年龄30-39岁,抽烟,不喝酒,无既往病史,无心律不齐等,对应另一个采样间隔,等等。手机可以存储上述常用的多个采样间隔,这样当用户输入用户信息之后,手机可以找到对应的采样间隔。After the third-party company counts the user information of a large number of users in advance, it obtains common estimation results of multiple sampling intervals, such as user gender, age 30-39 years old, smoking, drinking, no past medical history, arrhythmia, etc., corresponding to a sampling interval For example, the user gender male, age 30-39 years old, smoking, not drinking, no past medical history, no arrhythmia, etc., corresponding to another sampling interval, and so on. The mobile phone can store the above-mentioned multiple sampling intervals, so that after the user inputs the user information, the mobile phone can find the corresponding sampling interval.
当然,手机还可以利用手机的通用计算模型来进行计算,具体内容可以参考后面步骤S405的内容。可以理解的是,本发明实施例的采样间隔的确定是一个循环迭代的过程,是一个不断修正的过程,所以用户第一次使用手机和智能手表来采集PPG数据时,基于用户信息确定的第一采样间隔不需要那么精确,大致就可以了。Of course, the mobile phone can also use the general computing model of the mobile phone to perform calculations. For details, refer to the content of step S405. It can be understood that the determination of the sampling interval in the embodiment of the present invention is a loop iterative process, which is a process of continuous correction, so when the user first uses the mobile phone and the smart watch to collect the PPG data, the first is determined based on the user information. A sampling interval does not need to be as precise as it is.
步骤S402,终端设备将第一采样间隔发给可穿戴设备。Step S402, the terminal device sends the first sampling interval to the wearable device.
可选的,手机与智能手表建立了蓝牙连接,那么手机通过蓝牙连接将第一采样间隔发给智能手表。Optionally, the mobile phone establishes a Bluetooth connection with the smart watch, and then the mobile phone sends the first sampling interval to the smart watch through the Bluetooth connection.
步骤S403,可穿戴设备根据第一采样间隔在第一时间内获取用户的采样数据。Step S403, the wearable device acquires sampling data of the user in the first time according to the first sampling interval.
以第一采样间隔为20分钟为例,每隔20分钟就是智能手表的采样时间点。Taking the first sampling interval of 20 minutes as an example, every 20 minutes is the sampling time point of the smart watch.
可选的,第一时间可以是24小时。Alternatively, the first time can be 24 hours.
按照本发明实施例的示例,采样数据可以是用户的PPG数据,当然本领域技术人员可以理解不限于这一种数据。According to an example of the embodiment of the present invention, the sampled data may be the user's PPG data. Of course, those skilled in the art can understand that the data is not limited to this type of data.
可选的,智能手表在采集采样数据前,可以先判断用户是否处于适于采集采样数据的状态,比如用户身体放松安静,这样采集的数据更准确。Optionally, before collecting the sampling data, the smart watch may first determine whether the user is in a state suitable for collecting sampling data, for example, the user's body is relaxed and quiet, so that the collected data is more accurate.
可选的,采样数据包括可穿戴设备在采样时间点到达时,根据第一时长采集的第一采样数据。Optionally, the sampling data includes the first sampling data collected by the wearable device according to the first duration when the sampling time point arrives.
比如,当采样时间点到达时,智能手表采集1分钟时长的PPG数据。如果PPG数据里面没有房颤信息,那么智能手表就停止采集,等待下一个采样时间点到来时,再采集1分钟时长的PPG数据。For example, when the sampling time point arrives, the smart watch collects PPG data for 1 minute duration. If there is no atrial fibrillation information in the PPG data, the smart watch stops collecting, and waits for the next sampling time point to arrive, and then collects the PPG data for 1 minute.
可选的,采样数据还包括所述第二采样数据,所述第二采样数据是所述可穿戴设备在所述第一采样数据满足设定条件之后根据第二时长采集的采样数据,所述第二时长大 于第一时长。Optionally, the sampling data further includes the second sampling data, where the second sampling data is sampling data collected by the wearable device according to a second duration after the first sampling data meets a set condition, The second duration is greater than the first duration.
以本发明实施例用于房颤的PPG数据采集为例,所述的设定条件包括PPG数据包含房颤信息。比如,当采样时间点到达时,智能手表采集1分钟时长的PPG数据。如果PPG数据里面含有房颤信息,那么智能手表会接着再采集2分钟时长的PPG数据。显然,多采集的PPG数据,有助于将来手机基于智能手表的采样数据确定更合理的采样间隔。For example, in the embodiment of the present invention, PPG data collection for atrial fibrillation includes the PPG data including atrial fibrillation information. For example, when the sampling time point arrives, the smart watch collects PPG data for 1 minute duration. If the PPG data contains atrial fibrillation information, the smart watch will then collect PPG data for a further 2 minutes. Obviously, the multi-acquisition of PPG data will help the mobile phone to determine a more reasonable sampling interval based on the sampling data of the smart watch in the future.
本发明实施例中,对智能手表如何采集PPG数据属于现有技术,本发明实施例并没有详细描述,比如,通过红绿光照射血管,检测血流速度来间接获取心率等等。In the embodiment of the present invention, how to collect PPG data for a smart watch belongs to the prior art, and is not described in detail in the embodiment of the present invention. For example, the blood vessel is irradiated by red and green light, the blood flow velocity is detected, and the heart rate is indirectly obtained.
在上面的举例中,提及了判断的设定条件包括PPG数据包含房颤信息,作为一种不限定的举例,下面描述如何判断PPG数据包含房颤信息。In the above example, the setting conditions for the judgment are mentioned that the PPG data contains atrial fibrillation information, and as an undefined example, how to judge the PPG data to include atrial fibrillation information is described below.
在收集到第一时长(例如1分钟)PPG数据后,应用房颤初筛算法判断该数据是否包含房颤信息,可以由以下公式表示:After collecting the first duration (for example, 1 minute) of the PPG data, applying the atrial fibrillation preliminary screening algorithm to determine whether the data contains atrial fibrillation information can be expressed by the following formula:
y=f(PPG)y=f(PPG)
其中,y表示检测结果(即正常或者房颤),f表示的是房颤初筛算法,可以为支持向量机(support vector machine,SVM)或者其他分类算法。下面以SVM模型算法为例,来介绍如何计算采集的PPG数据里面包含房颤信息。Where y represents the test result (ie, normal or atrial fibrillation), and f represents the atrial fibrillation primary screening algorithm, which may be a support vector machine (SVM) or other classification algorithm. The following takes the SVM model algorithm as an example to describe how to calculate the atrial fibrillation information contained in the collected PPG data.
SVM模型通过计算样本在特征空间中与决策平面的距离,从而确定分类结果。以下公式描述了线性SVM模型。该线性SVM模型提出的的最优化问题为:The SVM model determines the classification result by calculating the distance of the sample from the decision plane in the feature space. The following formula describes the linear SVM model. The optimization problem proposed by the linear SVM model is:
Figure PCTCN2018125849-appb-000002
Figure PCTCN2018125849-appb-000002
同时满足At the same time
y t(w·x t-b)≥1 y t (w·x t -b)≥1
其中,w是支持向量(由距离决策平面最近的向量构成)的法向量,b为决策平面(在特征空间中,该平面将样本分为两部分,分别对应房颤样本与正常样本)的截距,x t是根据PPG信号计算获得的房颤敏感特征,如心率变异性特征、熵值特征等,y t为结果(房颤或者正常),t表示样本的编号。 Where w is the normal vector of the support vector (consisting of the vector closest to the decision plane), and b is the decision plane (in the feature space, the plane divides the sample into two parts, corresponding to the atrial fibrillation sample and the normal sample respectively) Distance, x t is a sensitive feature of atrial fibrillation calculated according to the PPG signal, such as heart rate variability characteristics, entropy characteristics, etc., y t is the result (atrial fibrillation or normal), and t is the sample number.
具体计算时,根据以上
Figure PCTCN2018125849-appb-000003
以及y t(w·x t-b)≥1
When calculating, according to the above
Figure PCTCN2018125849-appb-000003
And y t (w·x t -b) ≥ 1
可以得到:Can get:
Figure PCTCN2018125849-appb-000004
Figure PCTCN2018125849-appb-000004
Figure PCTCN2018125849-appb-000005
Figure PCTCN2018125849-appb-000005
其中,αt为拉格朗日乘子,n表示样本个数,m表示支持向量(由距离决策平面最近的向量构成)的个数。Where αt is a Lagrangian multiplier, n is the number of samples, and m is the number of support vectors (consisting of vectors closest to the decision plane).
基于上述w,b,以及已有的x t,就可以根据y t=sign(wx t-b)来判断该条数据的数值,其中sign表示取符号操作,如果符号为正号,说明该条数据为正常数据,如果符号为负号,说明该条数据为房颤样本。 Based on the above w, b, and the existing x t , the value of the piece of data can be judged according to y t =sign(wx t -b), where sign represents a symbol operation, and if the symbol is a positive sign, the line is indicated The data is normal data. If the symbol is a negative sign, the data is a sample of atrial fibrillation.
可以理解的是,上述判断PPG数据里面是否包含有房颤信息,可以是终端设备来判断,也可以是可穿戴设备来判断,在此不加以限定。It can be understood that whether the above-mentioned judgment PPG data includes the atrial fibrillation information may be determined by the terminal device or may be determined by the wearable device, which is not limited herein.
步骤S404,可穿戴设备将该采样数据发送给终端设备。Step S404, the wearable device sends the sampling data to the terminal device.
可选的,智能手表可以通过蓝牙连接把采样数据发给手机。Optionally, the smart watch can send the sampled data to the mobile phone via a Bluetooth connection.
按照设定,智能手表可以在固定时刻,比如每天早晨8点,将收集的多个采样数据统一发送给手机。当然,也可以每采集一次采样数据,就把采样数据发给手机,对此不做限定。According to the setting, the smart watch can uniformly send the collected sample data to the mobile phone at a fixed time, such as 8:00 every morning. Of course, the sampling data can be sent to the mobile phone every time the sampling data is collected, which is not limited.
可选的,智能手表也可以将采样数据同步到云服务器,然后通过云服务器发给手机,对此不作限定。Optionally, the smart watch can also synchronize the sampled data to the cloud server and then send it to the mobile phone through the cloud server, which is not limited.
步骤S405,终端设备基于采样数据得到第二采样间隔。Step S405, the terminal device obtains a second sampling interval based on the sampled data.
采样数据包括根据第一时长采集的第一采样数据,或者,采样数据包括第一采样数据和根据第二时长采集的第二采样数据,第二采样间隔是终端设备基于第一采样数据和/或第二采样数据确定的。The sampling data includes first sampling data collected according to the first duration, or the sampling data includes first sampling data and second sampling data collected according to the second duration, the second sampling interval is that the terminal device is based on the first sampling data and/or Determined by the second sampled data.
可选地,基于这些采样数据,手机可以算出用户的房颤比例,比如采集的采样数据有100条,含有房颤信息的采样数据是60条,那么房颤比例为0.6。具体如何识别房颤数据,如何计算,属于现有技术,在此不予赘述。有了用户的房颤比例,手机就可以得到第二采样间隔。Optionally, based on the sampled data, the mobile phone can calculate the proportion of the user's atrial fibrillation. For example, there are 100 sampled data collected, and 60 sample data containing atrial fibrillation information, and the proportion of atrial fibrillation is 0.6. How to identify the atrial fibrillation data and how to calculate it is a prior art and will not be described here. With the user's ratio of atrial fibrillation, the phone can get a second sampling interval.
可选的,终端设备可以在设定时刻,比如每天早晨8点之后,基于采样数据来确定第二采样间隔。Optionally, the terminal device may determine the second sampling interval based on the sampled data at a set time, such as after 8:00 every morning.
可选的是,步骤S405还可以替换为:Optionally, step S405 can also be replaced by:
步骤S405’,终端设备基于采样上述采样数据以及用户的个人信息得到第二采样间隔。Step S405', the terminal device obtains a second sampling interval based on sampling the sampling data and the personal information of the user.
相对于步骤S405,步骤S405’还多考虑用户的个人信息,显然更合理全面,特别适合于用户的个人信息发生变化的情况。比如,用户的年龄增长,用户戒酒等等,显然在计算第二采样间隔的时候,考虑这些因素,使得采样间隔的计算更准确。With respect to step S405, step S405' also considers the user's personal information more, which is obviously more reasonable and comprehensive, and is particularly suitable for the case where the user's personal information changes. For example, the user's age is increasing, the user is abstaining from alcohol, etc. Obviously, when calculating the second sampling interval, these factors are considered to make the calculation of the sampling interval more accurate.
具体的,终端基于采样数据来确定采样间隔可以采样如下的方式:Specifically, the terminal determines, according to the sampled data, that the sampling interval can be sampled as follows:
首先,可以根据可穿戴设备的功耗能力和医生建议,或者根据采集的大数据,设定数据基准采样间隔的范围为[LI,HI];比如,LI为5min,HI为20min。First, the range of the data reference sampling interval can be set to [LI, HI] according to the power consumption capability of the wearable device and the doctor's suggestion, or according to the collected big data; for example, LI is 5 min and HI is 20 min.
应用模型对用户关联数据(用input表示)与房颤发生概率prob AF(指的是不同用户发生房颤概率的大小)进行建模,结果如下: The application model models the user-associated data (input) and the probability of atrial fibrillation prob AF (referring to the probability of atrial fibrillation in different users). The results are as follows:
prob AF=model(input) Prob AF =model(input)
其中model可以是logistics回归,下式表示的是利用logistics回归的建模:Where model can be a logistic regression, and the following formula represents a model using logistic regression:
Figure PCTCN2018125849-appb-000006
Figure PCTCN2018125849-appb-000006
其中,input可以是用户关联的数据,包括用户的个人信息,基于采样数据得到的房颤比例等。可以理解的是,具体计算时,可以设定只考虑基于采样数据得到的房颤比例(对应步骤S405),也可以考虑用户的个人信息和基于采样数据得到的房颤比例(对应步骤S405’)。The input may be user-associated data, including the user's personal information, the proportion of atrial fibrillation obtained based on the sampled data, and the like. It can be understood that, in the specific calculation, it is possible to set only the proportion of atrial fibrillation obtained based on the sampled data (corresponding to step S405), and also consider the personal information of the user and the proportion of atrial fibrillation obtained based on the sampled data (corresponding to step S405') .
表示模型参数(θ是一维向量,表示的是每个输入值对应的重要性大小),针对input确定,比如针对用户关联的数据确定。θ反应了input输入值的重要性,可以根据经验设置,或者根据大数据设置,在此不予限定。Representing model parameters (θ is a one-dimensional vector representing the magnitude of importance corresponding to each input value), determined for input, such as for user-associated data. θ reflects the importance of the input value, which can be set according to experience, or according to the big data setting, which is not limited here.
T表示数学计算中的转置。T represents the transpose in mathematical calculations.
具体到本发明实施例,用户关联数据包括用户的个人信息以及基于采样数据得到的房颤比例。比如,用户的个人信息包括,男性,年龄56岁,基于采样数据得到的房颤比例为0.6,那么构建4个输入值的input向量可以为:[年龄,性别,房颤比例,运动数据],考虑到运算的需要,将年龄和运动数据,用归一化的年龄和归一化的运动数据表征,对应带入可以得到[56/100,1,0.6,0] T。其中,因为不考虑运动数据数据,所以“运动数据”对应的输入值为0。可以理解的是,本发明实施例是用4个输入值举例,实践中完全可以根据需要增加或减少参数值。比如说,用户的个人信息,还可以增加是否酗酒,心脏病史等。 Specifically, in the embodiment of the present invention, the user association data includes personal information of the user and a proportion of atrial fibrillation obtained based on the sampled data. For example, the user's personal information includes, male, age 56, and the proportion of atrial fibrillation based on the sampled data is 0.6, then the input vector for constructing 4 input values can be: [age, gender, atrial fibrillation ratio, exercise data], Considering the need of the operation, the age and motion data are characterized by normalized age and normalized motion data, and correspondingly brought in [56/100,1,0.6,0] T can be obtained. Among them, since the motion data data is not considered, the input value corresponding to "motion data" is 0. It can be understood that the embodiment of the present invention is exemplified by four input values, and in practice, the parameter values can be increased or decreased as needed. For example, the user's personal information can also increase alcoholism, heart disease history and so on.
θ可以为[0.1,0.2,0.3,0.4] T。可以看出来,年龄,性别,房颤比例和运动数据这四个输入值对应的重要性分别为0.1,0.2,0.3,0.4,依次增大。可以理解,θ是根据经验,或者大数据采集结果得到的值,实践中可以根据需求调整。 θ can be [0.1, 0.2, 0.3, 0.4] T . It can be seen that the four input values of age, gender, atrial fibrillation ratio and exercise data correspond to the importance of 0.1, 0.2, 0.3, 0.4, respectively. It can be understood that θ is a value obtained according to experience or a result of big data collection, and can be adjusted according to requirements in practice.
将input和θ带入
Figure PCTCN2018125849-appb-000007
计算得到prob AF=0.5637
Bring input and θ into
Figure PCTCN2018125849-appb-000007
Calculated prob AF =0.5637
再根据如下公式得到第二采样间隔Then obtain the second sampling interval according to the following formula
I=LI+(HI-LI)×(1-prob AF) I=LI+(HI-LI)×(1-prob AF )
I=5+(20-5)*(1-0.5637)=11.5I=5+(20-5)*(1-0.5637)=11.5
最终得到第二采样间隔为11.5min。Finally, the second sampling interval is 11.5 min.
容易理解的是,上述11.5min是基于采样数据和用户的个人信息得到的第二采样间隔(对应步骤S405’),如果第二采样间隔只考虑采样数据(对应步骤S405),可以将input构建为[0,0,0.6,0] T,即可算出第二采样间隔。 It is easy to understand that the above 11.5 min is a second sampling interval obtained based on the sampled data and the personal information of the user (corresponding to step S405 ′). If the second sampling interval only considers the sampled data (corresponding to step S405), the input can be constructed as [0,0,0.6,0] T , the second sampling interval can be calculated.
同理,回到步骤S401,在仅根据用户的个人信息来获得第一采样间隔时,可以将input构建为[56/100,1,0,0] T,即可算出第一采样间隔。 Similarly, returning to step S401, when the first sampling interval is obtained based only on the personal information of the user, the input can be constructed as [56/100, 1 , 0, 0] T , and the first sampling interval can be calculated.
步骤S406,终端设备将第二采样间隔发送给可穿戴设备。Step S406, the terminal device sends the second sampling interval to the wearable device.
步骤S407,可穿戴设备根据第二采样间隔在第二时间内获取用户新的采样数据。Step S407, the wearable device acquires new sampling data of the user in the second time according to the second sampling interval.
第二时间可以跟第一时间的长度相同,也可以不同,在此不做限定。比如,第二时间也可以是24小时。The second time may be the same as the length of the first time, or may be different, and is not limited herein. For example, the second time can also be 24 hours.
本领域技术人员可以理解,在步骤S407获取到用户新的采样数据之后,可穿戴设备可以将其发送给终端设备,这样终端设备又可以根据该新的采样数据更新采样间隔。如此循环,这样采样间隔的确定会更加合理。It can be understood by those skilled in the art that after acquiring the new sampling data of the user in step S407, the wearable device can send it to the terminal device, so that the terminal device can update the sampling interval according to the new sampling data. This cycle, so the determination of the sampling interval will be more reasonable.
可选的,本发明实施例中,终端设备还可以基于采样数据生成可视化图形数据,并显示所述图形。Optionally, in the embodiment of the present invention, the terminal device may further generate visual graphic data based on the sampled data, and display the graphic.
图6和7示出了手机基于收到的PPG数据绘制并显示的可视化图形,很显然,通过可视化图形来显示采样结果,更能直观的反映用户的身体状况。Figures 6 and 7 show the visual graphics that the mobile phone draws and displays based on the received PPG data. Obviously, the visualized graphics are used to display the sampling results, which can more intuitively reflect the user's physical condition.
本发明实施例中的更新数据采样间隔的方法,终端设备从可穿戴设备获取采样数据,根据采样数据调整采样间隔,使得可穿戴设备可以基于调整后的采样间隔采集数据。由于不同的用户采集的数据不同,那么调整后的采样间隔适于对应的用户。进一步的,由于不同的采样间隔适于不同的用户,既保证了准确采集数据,又可以节省功耗。In the method for updating the data sampling interval in the embodiment of the present invention, the terminal device acquires sampling data from the wearable device, and adjusts the sampling interval according to the sampling data, so that the wearable device can collect data based on the adjusted sampling interval. Since the data collected by different users is different, the adjusted sampling interval is suitable for the corresponding user. Further, since different sampling intervals are suitable for different users, both accurate data collection and power consumption can be saved.
实施例二Embodiment 2
参考实施例一的描述可知,在实施例一中的方法的步骤S407获取到用户新的采样数据之后,可穿戴设备可以将其发送给终端设备,这样终端设备又可以根据该新的采样数据更新采样间隔。Referring to the description of the first embodiment, after the new sampling data of the user is acquired in step S407 of the method in the first embodiment, the wearable device can send the data to the terminal device, so that the terminal device can be updated according to the new sampling data. sampling interval.
因此,如果智能手表在确定第一采样间隔之前已经有了采样数据,那么手机就可以基于已有的采样数据确定第一采样间隔。Therefore, if the smart watch already has sampled data before determining the first sampling interval, the mobile phone can determine the first sampling interval based on the existing sampling data.
具体的,如图8所示,实施例二中涉及的更新数据采样间隔的方法的流程如下:可以理解的是,实施例二中涉及的方法步骤与实施例一中涉及的方法步骤相同或类似的地方,本发明实施例不再赘述。另外,实施例一中涉及的一些术语,在发明实施例中继续沿用,比如第一时间,第二时间等。Specifically, as shown in FIG. 8 , the flow of the method for updating the data sampling interval involved in the second embodiment is as follows: It can be understood that the method steps involved in the second embodiment are the same as or similar to the method steps involved in the first embodiment. The description of the embodiments of the present invention will not be repeated. In addition, some terms involved in the first embodiment continue to be used in the embodiment of the invention, such as the first time, the second time, and the like.
步骤S801,终端设备获取第三时间内的用户的采样数据,并基于该第三时间内用户的采样数据得到第一采样间隔,其中所述第三时间在第一时间之前。Step S801, the terminal device acquires sampling data of the user in the third time, and obtains a first sampling interval based on the sampling data of the user in the third time, wherein the third time is before the first time.
比如,手机在每天早晨8点,获取前一天24小时内的用户的采样数据,并基于该前24小时内的用户的采样数据得到采样间隔For example, the mobile phone obtains the sampling data of the user within 24 hours of the previous day at 8:00 every morning, and obtains the sampling interval based on the sampling data of the user within the first 24 hours.
具体如何根据采样数据得到采样间隔,可以参考实施例一中的步骤S405。For details, how to obtain the sampling interval according to the sampled data, refer to step S405 in the first embodiment.
步骤S802,终端设备将第一采样间隔发给可穿戴设备。Step S802, the terminal device sends the first sampling interval to the wearable device.
步骤S803,可穿戴设备根据第一采样间隔在第一时间内获取用户的采样数据。Step S803, the wearable device acquires sampling data of the user in the first time according to the first sampling interval.
步骤S804,可穿戴设备将该第一时间内用户的采样数据发送给终端设备。Step S804: The wearable device sends the sampling data of the user in the first time to the terminal device.
步骤S805,终端设备基于该第一时间内用户的采样数据得到第二采样间隔。Step S805, the terminal device obtains a second sampling interval based on the sampling data of the user in the first time.
具体如何根据采样数据得到采样间隔,可以参考实施例一中的步骤S405。For details, how to obtain the sampling interval according to the sampled data, refer to step S405 in the first embodiment.
步骤S806,终端设备将第二采样间隔发送给可穿戴设备。Step S806, the terminal device sends the second sampling interval to the wearable device.
步骤S807,可穿戴设备根据第二采样间隔在第二时间内获取用户新的采样数据。Step S807, the wearable device acquires new sampling data of the user in the second time according to the second sampling interval.
同样的,步骤S807之后,可穿戴设备可以将第二时间内获取用户新的采样数据发送给终端设备,这样终端设备又可以根据该新的采样数据更新采样间隔。如此循环,这样采样间隔的确定会更加合理。Similarly, after step S807, the wearable device can send the new sampling data of the user to the terminal device in a second time, so that the terminal device can update the sampling interval according to the new sampling data. This cycle, so the determination of the sampling interval will be more reasonable.
同样的,步骤S801中,终端设备可以基于该第三时间内用户的采样数据以及用户的个人信息得到第一采样间隔。步骤S805中,终端设备基于该第一时间内用户的采样数据以及用户的个人信息得到第二采样间隔。Similarly, in step S801, the terminal device may obtain the first sampling interval based on the sampling data of the user in the third time and the personal information of the user. In step S805, the terminal device obtains a second sampling interval based on the sampling data of the user in the first time and the personal information of the user.
实施例三Embodiment 3
为了更加充分理解实施例一和实施例二,实施例三以采集PPG数据为例,详细描述了如何更新采样间隔的方法。In order to more fully understand the first embodiment and the second embodiment, the third embodiment takes the method of collecting PPG data as an example, and describes in detail how to update the sampling interval.
如图9所示,As shown in Figure 9,
步骤S901,终端设备获取用户信息和/或更新的采样数据。In step S901, the terminal device acquires user information and/or updated sampling data.
如果是第一次使用,手机获取用户的用户信息。如果使用前已经有了PPG采样数据,手机会定时更新,比如每天早晨8点更新获取前一时间段,比如前24小时内的PPG采样数据。If it is used for the first time, the mobile phone obtains the user information of the user. If there is already PPG sampling data before use, the mobile phone will update regularly, for example, every 8 o'clock in the morning to get the previous time period, such as PPG sampling data in the first 24 hours.
本领域技术人员可以理解,上述用户信息和/或更新的采样数据,都属于与用户关联的数据。Those skilled in the art can understand that the above user information and/or updated sampling data belong to data associated with the user.
步骤S902,终端设备基于用户信息和/或更新后的采样数据,确定采样间隔。Step S902, the terminal device determines the sampling interval based on the user information and/or the updated sampling data.
具体确定采样间隔的方法,参考实施例一或二的对应内容,在此不再赘述。For the method of determining the sampling interval, refer to the corresponding content of the first or second embodiment, and details are not described herein again.
步骤S903,可穿戴设备根据采样间隔,确定采样时间点到达。Step S903, the wearable device determines that the sampling time point arrives according to the sampling interval.
步骤S904,可穿戴设备判断用户是否处于安静状态,如果是,执行步骤S905,否则执行步骤S903,等待下一个采样时间点到达。Step S904, the wearable device determines whether the user is in a quiet state. If yes, step S905 is performed, otherwise step S903 is performed, and waits for the next sampling time point to arrive.
步骤S905,可穿戴设备采集1分钟的PPG数据,并发送给终端设备。In step S905, the wearable device collects PPG data of 1 minute and sends it to the terminal device.
步骤S906,终端设备针对该PPG数据,使用房颤初筛算法。Step S906, the terminal device uses the atrial fibrillation preliminary screening algorithm for the PPG data.
具体算法,参考实施例一或二的对应内容,在此不再赘述。For the specific algorithm, refer to the corresponding content of the first or second embodiment, and details are not described herein again.
步骤S907,终端设备判断用户是否房颤。如果判断是房颤,执行步骤S908。否则,执行步骤S909。In step S907, the terminal device determines whether the user has atrial fibrillation. If it is determined to be atrial fibrillation, step S908 is performed. Otherwise, step S909 is performed.
步骤S908,可穿戴设备连续采集2分钟的PPG数据,并发送给终端设备。Step S908, the wearable device continuously collects PPG data of 2 minutes and sends the PPG data to the terminal device.
步骤S909,终端设备记录采集的PPG数据,打上标签和时间戳。Step S909, the terminal device records the collected PPG data, and tags and time stamp.
PPG数据打标签可以是,有房颤,正常等。PPG data tagging can be, there is atrial fibrillation, normal and so on.
接下来,当采样时间点到达之后,循环步骤S903-S909,这样到了第二天早晨8点,终端设备就会获取前24小时内的PPG数据,循环步骤S901-S909。Next, after the sampling time point arrives, steps S903-S909 are cycled, so that by 8:00 the next morning, the terminal device acquires the PPG data in the first 24 hours, and loops through steps S901-S909.
实施例四Embodiment 4
为了使得采样间隔的确定,更加合理,实施例四在实施例二的基础上有进一步改进,简单的说,是采样间隔的确定还要考虑用户的运动数据。In order to make the determination of the sampling interval more reasonable, the fourth embodiment has further improvement on the basis of the second embodiment. In short, the determination of the sampling interval also considers the motion data of the user.
具体的,如图10所示,实施例四中涉及的更新数据采样间隔的方法的流程如下:可以理解的是,实施例四中涉及的方法步骤与实施例一至三中涉及的方法步骤相同或类似的地方,本发明实施例不再赘述。另外为了方便理解,本发明实施例中计算采样间隔时,其中的某些数值沿用之前举例的数值。Specifically, as shown in FIG. 10, the flow of the method for updating the data sampling interval involved in the fourth embodiment is as follows: It can be understood that the method steps involved in the fourth embodiment are the same as the method steps involved in the first to third embodiments. The details of the embodiments of the present invention are not described again. In addition, for ease of understanding, when calculating the sampling interval in the embodiment of the present invention, some of the values follow the values exemplified before.
步骤S1001,终端设备获取第四时间内的用户的采样数据以及运动数据,并基于该第四时间内的用户的采样数据和运动数据得到第三采样间隔。Step S1001: The terminal device acquires sampling data of the user and motion data in the fourth time, and obtains a third sampling interval based on the sampling data and the motion data of the user in the fourth time.
用户的运动数据包括:走路、跑步、游泳等运动数据。这些数据,可以由可穿戴设备上记录,当然由终端设备记录也是可以的。The user's exercise data includes: exercise data such as walking, running, swimming, and the like. These data can be recorded on the wearable device, of course, it is also possible to record by the terminal device.
比如,手机在每天早晨8点,获取前一天24小时内的用户的采样数据和运动数据,并基于该前一天24小时内的用户的采样数据和运动数据得到采样间隔。For example, the mobile phone obtains sampling data and motion data of the user within 24 hours of the previous day at 8:00 every morning, and obtains a sampling interval based on the sampling data and motion data of the user within 24 hours of the previous day.
在确定采样间隔时,依然用到实施例一中介绍的算法。具体地,不同的地方在于,在确定input输入值时,输入值可以是[0,0,0.6,6000/10000]来表示。其中,6000/10000,用于表征用户在前一天24小时内走了6000步。The algorithm described in the first embodiment is still used when determining the sampling interval. Specifically, the difference is that when the input value is determined, the input value can be represented by [0, 0, 0.6, 6000/10000]. Among them, 6000/10000, used to characterize the user to walk 6000 steps within 24 hours of the previous day.
步骤S1002,终端设备将第三采样间隔发给可穿戴设备。In step S1002, the terminal device sends the third sampling interval to the wearable device.
步骤S1003,可穿戴设备根据第三采样间隔在第五时间内获取用户的采样数据。Step S1003: The wearable device acquires sampling data of the user in a fifth time according to the third sampling interval.
步骤S1004,可穿戴设备将该第五时间内用户的采样数据发送给终端设备。Step S1004: The wearable device sends the sampling data of the user in the fifth time to the terminal device.
步骤S1005,可穿戴设备将第五时间内用户的运动数据发送给终端设备。Step S1005: The wearable device sends the motion data of the user in the fifth time to the terminal device.
在智能手表采集用户的采样数据的第五时间内,智能手表也会采集用户的运动数据。In the fifth time that the smart watch collects the user's sample data, the smart watch also collects the user's motion data.
可以理解,智能手表发送运动数据时,可以是每采集用户的运动数据就发送给手机,也可以统一在设定时刻,比如每天早晨8点发给手机,在此不做限定。It can be understood that when the smart watch sends the motion data, it can be sent to the mobile phone every time the user's motion data is collected, or can be unified at the set time, for example, sent to the mobile phone at 8 o'clock every morning, which is not limited herein.
发送的方式,可以是智能手表直接发送给手机,也可以是智能手表上传到云服务器上,然后再同步到手机中,在此不做限定。The method of sending can be sent directly to the mobile phone by the smart watch, or it can be uploaded to the cloud server by the smart watch, and then synchronized to the mobile phone, which is not limited herein.
步骤S1006,终端设备基于该第五时间内用户的采样数据和运动数据得到第四采样间隔。Step S1006: The terminal device obtains a fourth sampling interval based on the sampling data and the motion data of the user in the fifth time.
具体如何根据采样数据得到采样间隔,可以参考实施例一中的步骤S405,以及上述步骤S1001。For details, how to obtain the sampling interval according to the sampled data, refer to step S405 in the first embodiment, and the above step S1001.
步骤S1007,终端设备将第四采样间隔发送给可穿戴设备。Step S1007: The terminal device sends the fourth sampling interval to the wearable device.
步骤S1008,可穿戴设备根据第四采样间隔获取在第六时间内用户新的采样数据。Step S1008: The wearable device acquires new sampling data of the user in the sixth time according to the fourth sampling interval.
同样的,步骤S1008之后,可穿戴设备可以将获取的用户新的采样数据发送给终端设备,这样终端设备又可以根据该新的采样数据以及再次更新后的用户的运动数据更新采样间隔。如此循环,这样采样间隔的确定会更加合理。Similarly, after step S1008, the wearable device can send the acquired new sampling data of the user to the terminal device, so that the terminal device can update the sampling interval according to the new sampling data and the motion data of the user that is updated again. This cycle, so the determination of the sampling interval will be more reasonable.
同样的,步骤S1001中,终端设备可以基于该第四时间内的用户的采样数据和运动 数据,以及用户的个人信息得到第三采样间隔;步骤S1006中,终端设备可以基于该第五时间内用户的采样数据和运动数据,以及用户的个人信息得到第四采样间隔。Similarly, in step S1001, the terminal device may obtain a third sampling interval based on the sampling data and the motion data of the user in the fourth time, and the personal information of the user; in step S1006, the terminal device may be based on the user in the fifth time. The sampled data and motion data, as well as the user's personal information, are given a fourth sampling interval.
可以理解的是,上述步骤没有严格的先后顺序。It can be understood that the above steps are not strictly sequential.
实施例五Embodiment 5
随着可穿戴终端的硬件配置越来越高,可穿戴终端除了可以采集数据,还可以具有强大的存储能力和计算能力。也就是说,实施例一至四中,终端设备的计算采样间隔等,也可以放到可穿戴设备上。As the hardware configuration of the wearable terminal becomes higher and higher, the wearable terminal can have powerful storage capacity and computing power in addition to data collection. That is to say, in the first to fourth embodiments, the calculation sampling interval of the terminal device, etc., can also be placed on the wearable device.
如图11所示,对应于实施例一,实施例五中的一种根据采样间隔采集数据的方法描述如下:可以理解的是,实施例五中涉及的方法步骤与实施例一至四中涉及的方法步骤相同或类似的地方,本发明实施例不再赘述。为了方便理解,图11示出的方法,是以用户第一次使用智能手表采集采样数据为例,当然如果用户虽然使用过智能手表来采集采样数据,但是间隔了很久后再次使用,为了描述方便,视为第一次使用。在具体的描述中,本发明实施例以智能手表为可穿戴设备为例,但是可以理解的是,这并不对其构成限定。As shown in FIG. 11 , corresponding to the first embodiment, a method for collecting data according to a sampling interval in the fifth embodiment is described as follows: It can be understood that the method steps involved in the fifth embodiment are related to the methods involved in the first to fourth embodiments. The method steps are the same or similar, and the embodiments of the present invention are not described again. For convenience of understanding, the method shown in FIG. 11 is an example in which the user uses the smart watch to collect sampling data for the first time. Of course, if the user has used the smart watch to collect the sampling data, but after a long time interval, it is used again for convenience of description. , considered as the first use. In the specific description, the embodiment of the present invention takes a smart watch as a wearable device as an example, but it can be understood that this is not limited thereto.
步骤S1101,可穿戴设备获取用户的用户信息,并基于用户的用户信息得到第一采样间隔。Step S1101: The wearable device acquires user information of the user, and obtains a first sampling interval based on the user information of the user.
步骤S1102,可穿戴设备根据第一采样间隔在第一时间内获取用户的采样数据。Step S1102: The wearable device acquires sampling data of the user in the first time according to the first sampling interval.
步骤S1103,可穿戴设备基于所述采样数据得到第二采样间隔;Step S1103: The wearable device obtains a second sampling interval based on the sampled data.
步骤S1104,可穿戴设备根据所述第二采样间隔获取在第二时间内的用户新的采样数据。Step S1104: The wearable device acquires new sampling data of the user in the second time according to the second sampling interval.
同理,步骤S1101,步骤S1103中计算采样间隔的方法,参考前述实施例的对应描述。For the same reason, the method for calculating the sampling interval in step S1101 and step S1103 is referred to the corresponding description of the foregoing embodiment.
同样的,步骤S1104之后,可穿戴设备可以将第二时间内获取用户新的采样数据存储下来,这样可穿戴设备又可以根据该新的采样数据更新采样间隔。如此循环,这样采样间隔的确定会更加合理。Similarly, after step S1104, the wearable device can store the new sampling data of the user in the second time, so that the wearable device can update the sampling interval according to the new sampling data. This cycle, so the determination of the sampling interval will be more reasonable.
其中,所述采样数据可以包括第一采样数据,或者所述采样数据包括第一采样数据和第二采样数据。所述第一采样数据是所述可穿戴设备在采样时间点到达时,根据第一时长采集的采样数据;所述第二数据是所述可穿戴设备在所述第一采样数据满足设定条件之后根据第二时长采集的采样数据,所述第二时长大于第一时长。The sampling data may include first sampling data, or the sampling data includes first sampling data and second sampling data. The first sampling data is sampling data collected according to the first duration when the wearable device arrives at the sampling time point; and the second data is that the wearable device meets the setting condition in the first sampling data. Then, according to the sampling data collected by the second duration, the second duration is greater than the first duration.
可选的,所述采样数据包括PPG数据,所述第一采样数据满足设定条件包括:所述第一采样数据包括心律不齐信息,特别是房颤信息。Optionally, the sampling data includes PPG data, and the first sampling data satisfies the setting condition that the first sampling data includes arrhythmia information, in particular atrial fibrillation information.
可选的,可穿戴设备还可以基于PPG数据输出可视化图形数据。这样,可穿戴设备可以自身显示可视化图形,也可以投影显示所述可视化图形,也可以输出给其他设备显示所述可视化图形。Optionally, the wearable device can also output visual graphic data based on the PPG data. In this way, the wearable device can display the visualized graphic by itself, or can display the visualized graphic by projection, or can output to the other device to display the visualized graphic.
实施例六Embodiment 6
如图12所示,对应于实施例二,实施例六中的一种根据根据采样间隔采集数据的方法描述如下:可以理解的是,实施例六中涉及的方法步骤与实施例一至五中涉及的方法 步骤相同或类似的地方,本发明实施例不再赘述。为了方便理解,图12示出的方法,以可穿戴设备在确定第一采样间隔之前已经有了之前的采样数据。另外,实施例五中涉及的一些术语,在发明实施例中继续沿用,比如第一时间,第二时间等。As shown in FIG. 12, corresponding to the second embodiment, one of the sixth embodiments is described according to the method for collecting data according to the sampling interval. It can be understood that the method steps involved in the sixth embodiment are related to the first to fifth embodiments. The method steps are the same or similar, and the embodiments of the present invention are not described again. For ease of understanding, the method illustrated in FIG. 12 has the previous sampled data before the wearable device determines the first sampling interval. In addition, some terms involved in the fifth embodiment continue to be used in the embodiment of the invention, such as the first time, the second time, and the like.
步骤S1201,可穿戴设备获取第三时间内的用户的采样数据,并基于该第三时间内的用户的采样数据得到第一采样间隔,其中所述第三时间在第一时间之前。Step S1201: The wearable device acquires sampling data of the user in the third time, and obtains a first sampling interval based on the sampling data of the user in the third time, wherein the third time is before the first time.
步骤S1202,可穿戴设备根据第一采样间隔在第一时间内获取用户的采样数据。Step S1202: The wearable device acquires sampling data of the user in the first time according to the first sampling interval.
步骤S1203,可穿戴设备基于该第一时间内用户的采样数据得到第二采样间隔。Step S1203: The wearable device obtains a second sampling interval based on the sampling data of the user in the first time.
步骤S1204,可穿戴设备根据第二采样间隔在第二时间内获取用户新的采样数据。Step S1204: The wearable device acquires new sampling data of the user in the second time according to the second sampling interval.
同样的,步骤S1204之后,可穿戴设备可以将第二时间内获取用户新的采样数据保存下来,这样可穿戴设备又可以根据该新的采样数据更新采样间隔。如此循环,这样采样间隔的确定会更加合理。Similarly, after step S1204, the wearable device can save the user's new sampling data for a second time, so that the wearable device can update the sampling interval according to the new sampling data. This cycle, so the determination of the sampling interval will be more reasonable.
实施例七Example 7
如图13所示,对应于实施例四,实施例七中的一种根据根据采样间隔采集数据的方法描述如下:可以理解的是,实施例七中涉及的方法步骤与实施例一至六中涉及的方法步骤相同或类似的地方,本发明实施例不再赘述。As shown in FIG. 13 , corresponding to the fourth embodiment, one of the seventh embodiments is described according to the method for collecting data according to the sampling interval as follows: It can be understood that the method steps involved in the seventh embodiment are related to the first to sixth embodiments. The method steps are the same or similar, and the embodiments of the present invention are not described again.
步骤S1301,可穿戴设备获取在第四时间内的用户的采样数据和运动数据,并基于所述采样数据和运动数据得到第三采样间隔;Step S1301: The wearable device acquires sampling data and motion data of the user in the fourth time, and obtains a third sampling interval based on the sampling data and the motion data;
步骤S1302,所述可穿戴设备根据所述第三采样间隔在第五时间内获取用户的采样数据;Step S1302: The wearable device acquires sampling data of the user in a fifth time according to the third sampling interval;
步骤S1303,所述可穿戴设备获取所述第五时间内用户的运动数据;Step S1303: The wearable device acquires motion data of the user in the fifth time;
步骤S1304,所述可穿戴设备基于所述第五时间内的用户的采样数据和运动数据得到第四采样间隔;Step S1304: The wearable device obtains a fourth sampling interval based on sampling data and motion data of the user in the fifth time period;
步骤S1305,所述可穿戴设备根据所述第四采样间隔在第六时间内获取用户新的采样数据。Step S1305: The wearable device acquires new sampling data of the user in a sixth time according to the fourth sampling interval.
其中,所述采样数据包括PPG采样数据。The sampling data includes PPG sampling data.
需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器或随机存储器等。It should be noted that those skilled in the art can understand that all or part of the process of implementing the foregoing embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage. In the medium, the program, when executed, may include the flow of an embodiment of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a read only memory or a random access memory.
为了解释的目的,前面的描述是通过参考具体实施例来进行描述的。然而,上面的示例性的讨论并非意图是详尽的,也并非意图要将本技术方案限制到所公开的精确形式。根据以上教导内容,很多修改形式和变型形式都是可能的。选择和描述实施例是为了充分阐明本技术方案的原理及其实际应用,以由此使得本领域的其他技术人员能够充分利用具有适合于所构想的特定用途的各种修改的本技术方案以及各种实施例。For the purposes of explanation, the foregoing description has been described by reference to the specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teachings. The embodiments were chosen and described in order to explain the principles of the embodiments of the invention, An embodiment.

Claims (20)

  1. 一种更新数据采样间隔的方法,其特征在于,所述方法包括:A method for updating a data sampling interval, the method comprising:
    终端设备获取第一时间内用户的采样数据,并基于所述第一时间内用户的采样数据得到第一采样间隔;The terminal device acquires sampling data of the user in the first time, and obtains a first sampling interval based on the sampling data of the user in the first time;
    所述终端设备将所述第一采样间隔发送给可穿戴设备,以使所述可穿戴设备根据所述第一采样间隔在第二时间内获取用户的采样数据;Transmitting, by the terminal device, the first sampling interval to the wearable device, so that the wearable device acquires sampling data of the user in the second time according to the first sampling interval;
    所述终端设备接收所述可穿戴设备发送的所述第二时间内用户的采样数据,并基于所述第二时间内用户的采样数据得到第二采样间隔;The terminal device receives sampling data of the user in the second time period sent by the wearable device, and obtains a second sampling interval based on sampling data of the user in the second time period;
    所述终端设备将所述第二采样间隔发送给所述可穿戴设备,以使所述可穿戴设备根据所述第二采样间隔在第三时间内获取用户新的采样数据。The terminal device sends the second sampling interval to the wearable device, so that the wearable device acquires new sampling data of the user in a third time according to the second sampling interval.
  2. 根据权利要求1所述的方法,其特征在于,所述第二时间内用户的采样数据包括第一采样数据;The method according to claim 1, wherein the sampling data of the user in the second time comprises first sampling data;
    其中,所述第一采样数据是所述可穿戴设备在采样时间点到达时,根据第一时长采集的采样数据。The first sampling data is sampling data collected by the wearable device according to the first duration when the sampling time point arrives.
  3. 根据权利要求1所述的方法,其特征在于,所述第二时间内用户的采样数据包括第一和第二采样数据;The method according to claim 1, wherein the sampling data of the user in the second time comprises first and second sampling data;
    其中,所述第一采样数据是所述可穿戴设备在采样时间点到达时,根据第一时长采集的采样数据;The first sampling data is sampling data collected by the wearable device according to the first duration when the sampling time point arrives;
    所述第二采样数据是所述可穿戴设备在所述第一采样数据满足设定条件之后根据第二时长采集的采样数据,所述第二时长大于第一时长。The second sampling data is sampling data collected by the wearable device according to the second duration after the first sampling data meets the setting condition, and the second duration is greater than the first duration.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述采样数据包括PPG数据,所述第一采样数据满足设定条件包括:The method according to any one of claims 1 to 3, wherein the sampling data includes PPG data, and the first sampling data satisfies setting conditions including:
    所述第一采样数据包括心率不齐信息。The first sampled data includes heart rate irregularity information.
  5. 根据权利要求4所述的方法,其特征在于,所述心率不齐信息具体为房颤信息。The method according to claim 4, wherein the heart rate irregularity information is specifically atrial fibrillation information.
  6. 根据权利要求4所述的方法,其特征在于,所述终端设备显示基于所述PPG数据绘制的可视化图形。The method according to claim 4, wherein said terminal device displays a visualization graph drawn based on said PPG data.
  7. 根据权利要求5所述的方法,其特征在于,所述第一或第二采样间隔是基于如下公式获取到:The method according to claim 5, wherein the first or second sampling interval is obtained based on the following formula:
    I=LI+(HI-LI)×(1-prob AF) I=LI+(HI-LI)×(1-prob AF )
    其中,HI,LI用于表征基准采样间隔范围[LI,HI];Where HI, LI are used to characterize the reference sampling interval range [LI, HI];
    Prob AF为房颤概率,所述房颤概率是基于第一或第二时间内用户的采样数据,利用logistics回归算法得到。 Prob AF is the probability of atrial fibrillation, which is based on the sampling data of the user in the first or second time, and is obtained by the logistic regression algorithm.
  8. 一种更新数据采样间隔的方法,其特征在于,所述方法包括:A method for updating a data sampling interval, the method comprising:
    终端设备获取在第四时间内的用户的采样数据和运动数据,并基于所述采样数据和运动数据得到第三采样间隔;The terminal device acquires sampling data and motion data of the user in the fourth time, and obtains a third sampling interval based on the sampling data and the motion data;
    所述终端设备将所述第三采样间隔发送给可穿戴设备,以使所述可穿戴设备根据所述第三采样间隔在第五时间内获取用户的采样数据;Transmitting, by the terminal device, the third sampling interval to the wearable device, so that the wearable device acquires sampling data of the user in a fifth time according to the third sampling interval;
    所述终端设备获取所述第五时间内用户的运动数据;The terminal device acquires motion data of the user in the fifth time period;
    所述终端设备基于所述第五时间内的用户的采样数据和运动数据得到第四采样间隔;The terminal device obtains a fourth sampling interval based on sampling data and motion data of the user in the fifth time period;
    所述终端设备将所述第四采样间隔发送给所述可穿戴设备,以使所述可穿戴设备根据所述第四采样间隔在第六时间内获取用户新的采样数据。The terminal device sends the fourth sampling interval to the wearable device, so that the wearable device acquires new sampling data of the user in a sixth time according to the fourth sampling interval.
  9. 根据权利要求8所述的方法,其特征在于,所述采样数据包括PPG数据。The method of claim 8 wherein said sampled data comprises PPG data.
  10. 一种根据采样间隔采集数据的方法,其特征在于,所述方法包括:A method for collecting data according to a sampling interval, the method comprising:
    可穿戴设备获取第一时间内用户的采样数据,并基于所述第一时间内用户的采样数据得到第一采样间隔;The wearable device acquires sampling data of the user in the first time, and obtains a first sampling interval based on the sampling data of the user in the first time;
    所述可穿戴设备根据所述第一采样间隔获取在第二时间内的用户的采样数据;The wearable device acquires sampling data of the user in the second time according to the first sampling interval;
    所述可穿戴设备基于所述第二时间内用户的采样数据得到第二采样间隔;The wearable device obtains a second sampling interval based on sampling data of the user in the second time period;
    所述可穿戴设备根据所述第二采样间隔在第三时间内获取用户新的采样数据。The wearable device acquires new sampling data of the user in a third time according to the second sampling interval.
  11. 根据权利要求10所述的方法,其特征在于,所述第二时间内用户的采样数据包括第一采样数据;The method according to claim 10, wherein the sampling data of the user in the second time comprises first sampling data;
    其中,所述第一采样数据是所述可穿戴设备在采样时间点到达时,根据第一时长采集的采样数据。The first sampling data is sampling data collected by the wearable device according to the first duration when the sampling time point arrives.
  12. 根据权利要求10所述的方法,其特征在于,所述第二时间内用户的采样数据包括第一和第二采样数据;The method according to claim 10, wherein the sampling data of the user in the second time comprises first and second sampling data;
    其中,所述第一采样数据是所述可穿戴设备在采样时间点到达时,根据第一时长采集的采样数据;The first sampling data is sampling data collected by the wearable device according to the first duration when the sampling time point arrives;
    所述第二数据是所述可穿戴设备在所述第一采样数据满足设定条件之后根据第二时长采集的采样数据,所述第二时长大于第一时长。The second data is sampling data collected by the wearable device according to the second duration after the first sampling data meets the set condition, and the second duration is greater than the first duration.
  13. 根据权利要求10-12任一项所述的方法,其特征在于,所述采样数据包括PPG数据,所述第一采样数据满足设定条件包括:The method according to any one of claims 10 to 12, wherein the sampled data comprises PPG data, and the first sampled data satisfies a set condition comprising:
    所述第一采样数据包括心率不齐信息。The first sampled data includes heart rate irregularity information.
  14. 根据权利要求13所述的方法,其特征在于,所述心率不齐信息具体为房颤信息。The method according to claim 13, wherein the heart rate irregularity information is specifically atrial fibrillation information.
  15. 根据权利要求13所述的方法,其特征在于,还包括:The method of claim 13 further comprising:
    所述可穿戴设备输出基于所述PPG数据绘制的可视化图形。The wearable device outputs a visualization graph drawn based on the PPG data.
  16. 根据权利要求14所述的方法,其特征在于,所述第一或第二采样间隔是基于如下公式获取到:The method of claim 14, wherein the first or second sampling interval is obtained based on the following formula:
    I=LI+(HI-LI)×(1-prob AF) I=LI+(HI-LI)×(1-prob AF )
    其中,HI,LI用于表征基准采样间隔范围[LI,HI];Where HI, LI are used to characterize the reference sampling interval range [LI, HI];
    Prob AF为房颤概率,所述房颤概率是基于第一或第二时间内用户的采样数据,利用lo gistics回归算法得到。 Probability Prob AF is atrial fibrillation, the atrial fibrillation is based on the probability that the first user or the second time sample data, using lo g istics regression algorithm.
  17. 一种根据采样间隔采集数据的方法,其特征在于,所述方法包括:A method for collecting data according to a sampling interval, the method comprising:
    可穿戴设备获取在第四时间内的用户的采样数据和运动数据,并基于所述采样数据和运动数据得到第三采样间隔;The wearable device acquires sampling data and motion data of the user in the fourth time, and obtains a third sampling interval based on the sampling data and the motion data;
    所述可穿戴设备根据所述第三采样间隔在第五时间内获取用户的采样数据;The wearable device acquires sampling data of the user in a fifth time according to the third sampling interval;
    所述可穿戴设备获取所述第五时间内用户的运动数据;The wearable device acquires motion data of the user in the fifth time;
    所述可穿戴设备基于所述第五时间内的用户的采样数据和运动数据得到第四采样间隔;The wearable device obtains a fourth sampling interval based on sampling data and motion data of the user in the fifth time period;
    所述可穿戴设备根据所述第四采样间隔在第六时间内获取用户新的采样数据。The wearable device acquires new sampling data of the user in a sixth time according to the fourth sampling interval.
  18. 根据权利要求17所述的方法,其特征在于,所述采样数据包括PPG数据。The method of claim 17 wherein said sampled data comprises PPG data.
  19. 一种终端设备,其特征在于,包括:A terminal device, comprising:
    一个或多个处理器;One or more processors;
    存储器;Memory
    以及一个或多个程序,其中所述一个或多个程序被存储在所述存储器中,所述一个或多个程序包括指令,当所述指令被所述终端设备执行时,使得所述终端设备执行如权利要求1-9任一项所述的方法。And one or more programs, wherein the one or more programs are stored in the memory, the one or more programs comprising instructions that, when executed by the terminal device, cause the terminal device Performing the method of any of claims 1-9.
  20. 一种可穿戴设备,其特征在于,包括:A wearable device, comprising:
    一个或多个处理器;One or more processors;
    存储器;Memory
    以及一个或多个程序,其中所述一个或多个程序被存储在所述存储器中,所述一个或多个程序包括指令,当所述指令被所述可穿戴设备执行时,使得所述可穿戴设备执行如权利要求10-18任一项所述的方法。And one or more programs, wherein the one or more programs are stored in the memory, the one or more programs comprising instructions that, when executed by the wearable device, cause the The wearable device performs the method of any of claims 10-18.
PCT/CN2018/125849 2018-09-26 2018-12-29 Method for updating data sampling interval, and method and device for collecting data on basis of sampling interval WO2019101222A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201880097951.1A CN113242712B (en) 2018-09-26 2018-12-29 Method for updating data sampling interval, method for collecting data according to sampling interval and device thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNPCT/CN2018/107592 2018-09-26
CN2018107592 2018-09-26

Publications (2)

Publication Number Publication Date
WO2019101222A2 true WO2019101222A2 (en) 2019-05-31
WO2019101222A3 WO2019101222A3 (en) 2019-08-08

Family

ID=66631214

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/125849 WO2019101222A2 (en) 2018-09-26 2018-12-29 Method for updating data sampling interval, and method and device for collecting data on basis of sampling interval

Country Status (2)

Country Link
CN (1) CN113242712B (en)
WO (1) WO2019101222A2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114431844A (en) * 2022-01-25 2022-05-06 华中科技大学 Health index monitoring facilities

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5129240B2 (en) * 2006-05-16 2013-01-30 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Communication system, communication device, sensor device and method for monitoring patient health
JP6173751B2 (en) * 2013-04-09 2017-08-02 東芝メディカルシステムズ株式会社 Medical image processing apparatus, X-ray diagnostic apparatus, and medical image processing program
US10617349B2 (en) * 2013-11-27 2020-04-14 Medtronic, Inc. Precision dialysis monitoring and synchronization system
KR101434514B1 (en) * 2014-03-21 2014-08-26 (주) 골프존 Time synchronization method for data of different kinds of devices and data processing device for generating time-synchronized data
CN104605939B (en) * 2015-02-05 2019-07-16 腾讯科技(深圳)有限公司 Physiologic information processing method and information processing unit
WO2016151539A1 (en) * 2015-03-25 2016-09-29 Koninklijke Philips N.V. Health wearable that automatically changes sensor reading timings
CN205019040U (en) * 2015-08-24 2016-02-10 浙江大学 Changeable human parameter measurement system of sampling frequency
CN106073764A (en) * 2016-05-31 2016-11-09 深圳市理邦精密仪器股份有限公司 Reduce the method and device of dynamic electrocardiogram (ECG) data recording equipment power consumption
CN106405210A (en) * 2016-09-05 2017-02-15 深圳紫光继保测控技术有限公司 Sampling data anomaly detection method and system
CN107913059A (en) * 2016-10-09 2018-04-17 炬芯(珠海)科技有限公司 The method and its equipment of a kind of monitor heart rate
CN107260140A (en) * 2017-06-09 2017-10-20 上海斐讯数据通信技术有限公司 A kind of whole day rhythm of the heart method and system

Also Published As

Publication number Publication date
WO2019101222A3 (en) 2019-08-08
CN113242712B (en) 2022-08-26
CN113242712A (en) 2021-08-10

Similar Documents

Publication Publication Date Title
KR102446811B1 (en) Method for combining and providing colltected data from plural devices and electronic device for the same
CN110192248B (en) Voice input processing method and electronic device for supporting the same
US9867152B2 (en) Method and device for measuring amount of user physical activity
CN107923980B (en) Method and apparatus for providing location information
KR20180088020A (en) Electronic device and operating method thereof
CN107852440B (en) Method for processing sound by electronic device and electronic device thereof
CN108024763B (en) Activity information providing method and electronic device supporting the same
US10659933B2 (en) Electronic device and information processing system including the same
US11223629B2 (en) Electronic device and method for providing location data
CN108700924B (en) Function operating method and electronic device supporting the same
CN107085462A (en) For managing the electronic equipment of electric power and controlling its method
CN108605205A (en) Device and method for the position for determining electronic device
KR102358849B1 (en) Electronic device for providing information related to a smart watch and method for operating the same
CN109643843A (en) Electronic equipment and its gripping recognition methods
US11059438B2 (en) Vehicle on-boarding recognition method and electronic device implementing same
US20180061098A1 (en) Electronic device and method for providing user's activity information thereof
WO2022088938A1 (en) Sleep monitoring method and apparatus, and electronic device and computer-readable storage medium
KR20170105262A (en) electronic device and method for acquiring biometric information thereof
CN110249364A (en) For providing the method and electronic equipment of health contents
KR20150130854A (en) Audio signal recognition method and electronic device supporting the same
EP2945056A1 (en) Method and apparatus for controlling user interface
KR20170100309A (en) Electronic apparatus for providing a voice recognition control and method thereof
WO2019101222A2 (en) Method for updating data sampling interval, and method and device for collecting data on basis of sampling interval
CN108124054B (en) Apparatus for displaying user interface based on sensing signal of grip sensor
CN110431927A (en) Electronic device including shielding case

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18881441

Country of ref document: EP

Kind code of ref document: A2