WO2023246638A1 - 信息处理方法、装置、可穿戴设备和电子设备 - Google Patents

信息处理方法、装置、可穿戴设备和电子设备 Download PDF

Info

Publication number
WO2023246638A1
WO2023246638A1 PCT/CN2023/100692 CN2023100692W WO2023246638A1 WO 2023246638 A1 WO2023246638 A1 WO 2023246638A1 CN 2023100692 W CN2023100692 W CN 2023100692W WO 2023246638 A1 WO2023246638 A1 WO 2023246638A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
health data
information
moment
data
Prior art date
Application number
PCT/CN2023/100692
Other languages
English (en)
French (fr)
Inventor
刘鹏
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023246638A1 publication Critical patent/WO2023246638A1/zh

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/30ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for calculating health indices; for individual health risk assessment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/60ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records
    • G16H10/65ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records stored on portable record carriers, e.g. on smartcards, RFID tags or CD
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/60ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices
    • G16H40/67ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices for remote operation

Definitions

  • This application belongs to the field of communication technology, and specifically relates to an information processing method, device, wearable device and electronic device.
  • the cardiopulmonary coupling (Cardio Pulmonary Coupling, CPC) analysis method can accurately monitor sleep and analyze sleep cycles.
  • CPC Cardio Pulmonary Coupling
  • wearable devices such as watches
  • electronic devices such as mobile phones
  • this solution has the problem of long data processing delay time, which affects user use, such as: in embedded low-power applications
  • the algorithm needs to be integrated into the mobile phone on a high-power watch. All the ventricular beat interval (RRI) data are collected on the watch and then transmitted to the mobile phone for data analysis. The mobile phone After the algorithm parses successfully, the result is returned to the watch. Therefore, if the user checks sleep data immediately after going to bed, there will be a certain delay in the sleep staging and score display on the watch and mobile phone, thus affecting the user experience.
  • RRI ventricular beat interval
  • the purpose of the embodiments of this application is to provide an information processing method, device, wearable device and electronic device, which can solve the problem of long delay in solutions for processing user health data in related technologies.
  • embodiments of the present application provide an information processing method, which method includes:
  • the preset conditions include at least one of the following: the amount of acquired health data is greater than or equal to a preset value, and a first instruction is obtained; the first instruction is used to instruct to stop acquiring the health data;
  • the first information includes: the storage location information of the health data within the first time range and the data of the health data. Identification; the first time range is the time range corresponding to the time information;
  • the first information includes: the storage location information, the data identifier, a first time and a second time; the first time is to obtain the first instruction.
  • the second time is the starting time of obtaining the health data, and the second time is the stopping time of obtaining the health data.
  • embodiments of the present application provide an information processing method, which method includes:
  • time information is time range information used to obtain the user's health data
  • the first information includes: the storage location information of the health data within the first time range and the data identification of the health data; the first time range is the time range corresponding to the time information; or,
  • the first information includes: the storage location information, the data identification, a first time and a second time; the first time is the start time of obtaining the health data, and the second time is the time of obtaining the health data. Stop time for health data.
  • embodiments of the present application provide an information processing device, which includes:
  • the first acquisition module is used to acquire the user’s health data
  • the first receiving module is used to receive the time sent by the electronic device when the preset conditions are met. information
  • a first sending module configured to send first information to the electronic device according to the time information
  • the preset conditions include at least one of the following: the amount of acquired health data is greater than or equal to a preset value, and a first instruction is obtained; the first instruction is used to instruct to stop acquiring the health data;
  • the first information includes: the storage location information of the health data within the first time range and the data of the health data. Identification; the first time range is the time range corresponding to the time information;
  • the first information includes: the storage location information, the data identifier, a first time and a second time; the first time is to obtain the first instruction.
  • the second time is the starting time of obtaining the health data, and the second time is the stopping time of obtaining the health data.
  • obtaining the user's health data includes:
  • the first health data is the health data obtained at the first moment
  • the second health data is the health data obtained at the third moment
  • the third health data is the health data obtained at the fourth moment
  • the third time is adjacent to the fourth time, the third time is within the first time and the second time, and the fourth time is within the first time and the second time.
  • the information processing device also includes:
  • a first processing module configured to restore the obtained health data according to the first health data and the difference value after receiving the time information sent by the electronic device;
  • a first determination module configured to determine the health data within the first time range based on the restored health data
  • determining the health data within the first time range based on the restored health data includes:
  • the target time range includes: the starting moment of the first time range to the end moment of the first time range; or,
  • the starting time of the first time range to the acquisition time of the last item, the last item is the last item of the acquired health data, and the acquisition time of the last item is earlier than the acquisition time of the first time range Termination moment.
  • the information processing device also includes:
  • the second processing module is configured to re-send the first information to the electronic device according to the time information when the preset condition is that the amount of acquired health data is greater than or equal to the preset value. Count the amount of health data that continues to be acquired, and return the time information sent by the electronic device when the preset conditions are met.
  • the first instruction is an instruction triggered before the target event corresponding to the health data ends, the second moment is the moment when the first instruction is triggered, or the first instruction is the target event.
  • An instruction is triggered at the end, and the second moment is the moment when the first instruction is triggered;
  • the information processing device also includes:
  • a third processing module configured to, in the case where the preset condition is that the first instruction is obtained and the first instruction is an instruction triggered before the end of the target event, according to the time information, to the After the electronic device sends the first information, it re-calculates the amount of health data that continues to be acquired, and returns the time information sent by the electronic device when the preset conditions are met.
  • the information processing device also includes:
  • the second acquisition module is configured to acquire the fifth time and the second time after sending the first information to the electronic device according to the time information when the preset condition is that the first instruction is acquired. time difference between moments;
  • the second sending module is configured to send the fifth time when the time difference is greater than the retransmission threshold. Immediately send it to the electronic device;
  • the fifth time is the actual time when the target event corresponding to the health data ends
  • the second time is the reference time when the target event ends.
  • embodiments of the present application provide an information processing device, which includes:
  • the third sending module is used to send time information to the wearable device, where the time information is time range information used to obtain the user's health data;
  • a second receiving module configured to receive the first information sent by the wearable device according to the time information
  • a first execution module configured to perform data processing operations according to the first information
  • the first information includes: the storage location information of the health data within the first time range and the data identification of the health data; the first time range is the time range corresponding to the time information; or,
  • the first information includes: the storage location information, the data identification, a first time and a second time; the first time is the start time of obtaining the health data, and the second time is the time of obtaining the health data. Stop time for health data.
  • performing data processing operations according to the first information includes:
  • the first information includes the storage location information and the data identification
  • the first information includes the storage location information
  • the data identification a first time and a second time
  • the first time range is obtained based on the storage location information and the data identification.
  • the spliced health data is analyzed based on the first moment and the second moment.
  • the health data includes: first health data, and the difference between the second health data and the third health data; the first health data is the health data obtained at the first moment; The second health data is the health data obtained at the third moment; the third health data is the health data obtained at the third moment. Health data obtained at the fourth time; the third time is adjacent to the fourth time, the third time is within the first time and the second time, and the fourth time is between the first time and the Within the second moment;
  • the analysis of the spliced health data based on the first moment and the second moment includes:
  • the first instruction is an instruction triggered before the target event corresponding to the health data ends, and the second time is the time when the first instruction is triggered, or the first instruction is when the target event ends.
  • the analysis of the spliced health data based on the first moment and the second moment includes:
  • the target moment is the moment when the target instruction is triggered, and the target instruction is the first instruction triggered at the end of the target event;
  • performing a data processing operation according to the first information further includes:
  • the user's health data within the first time range is obtained according to the storage location information and the data identifier, and stored.
  • analyzing the spliced health data based on the first moment and the second moment includes:
  • the fifth time is the actual time when the target event corresponding to the health data ends
  • the second time is the reference time when the target event ends.
  • sending time information to the wearable device includes:
  • the end time of obtaining the health data in the historical record is used as the starting point for obtaining the health data. starting time;
  • the end time is the time before the system time or the system time;
  • the time information for obtaining user health data is obtained
  • inventions of the present application provide a wearable device.
  • the electronic device includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor.
  • the program or instructions The steps of the method described in the first aspect are implemented when executed by the processor.
  • inventions of the present application provide an electronic device.
  • the electronic device includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor.
  • the program or instructions are When executed by the processor, the steps of the method described in the second aspect are implemented.
  • embodiments of the present application provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the implementation is as described in the first aspect or the second aspect. steps of the method.
  • embodiments of the present application provide a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the first aspect. or the method described in the second aspect.
  • the information processing method obtains the user's health data; when preset conditions are met, receives time information sent by the electronic device; and sends a first message to the electronic device according to the time information.
  • Information wherein the preset conditions include at least one of the following: the amount of acquired health data is greater than or equal to the preset value, and the first instruction is obtained; the first instruction is used to instruct to stop acquiring the health data;
  • the preset condition is that the amount of acquired health data is greater than or equal to the preset value
  • the first information includes: the storage location information of the health data within the first time range and the data of the health data.
  • the first time range is the time range corresponding to the time information; when the preset condition is to obtain the first instruction, the first information includes: the storage location information, the data identification, a first time and a second time; the first time is the start time of obtaining the health data, and the second time is the time of obtaining the health data.
  • the stop moment of health data it is possible to transmit health data to electronic devices in segments in advance, without starting the transmission after the health data collection is completed. This will greatly reduce the data synchronization time and support faster provision of health data.
  • the relevant analysis is displayed to the user, reducing the delay time and bringing a better user experience to the user; it effectively solves the problem of long delay time in the related technology solutions for processing user health data.
  • Figure 1 is a schematic flowchart 1 of the information processing method according to the embodiment of the present application.
  • Figure 2 is a schematic flow chart 2 of the information processing method according to the embodiment of the present application.
  • Figure 3 is a schematic diagram of the implementation architecture of the information processing method according to the embodiment of the present application.
  • FIG. 4 is a schematic flowchart of the specific implementation of the information processing method according to the embodiment of the present application.
  • Figure 5 is a schematic structural diagram of an information processing device according to an embodiment of the present application.
  • Figure 6 is a schematic structural diagram 2 of an information processing device according to an embodiment of the present application.
  • Figure 7 is a schematic structural diagram of a wearable device according to an embodiment of the present application.
  • Figure 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • Figure 9 is a schematic structural diagram 2 of a wearable device according to an embodiment of the present application.
  • Figure 10 is a second structural diagram of an electronic device according to an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first,”"second,” etc. are distinguished Objects are usually of one type, The number of objects is not limited. For example, the first object may be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • the information processing method provided by the embodiment of the present application (can be applied to wearable devices such as watches), as shown in Figure 1, includes:
  • Step 11 Get the user’s health data.
  • Health data can include sleep data, etc., which is not limited here.
  • Step 12 When the preset conditions are met, receive the time information sent by the electronic device.
  • Step 13 Send the first information to the electronic device according to the time information; wherein the preset condition includes at least one of the following: the amount of health data obtained is greater than or equal to the preset value, the first Instruction; the first instruction is used to instruct to stop acquiring the health data; when the preset condition is that the amount of acquired health data is greater than or equal to the preset value, the first information includes: first The storage location information of the health data within the time range and the data identification of the health data; the first time range is the time range corresponding to the time information; when the preset condition is that the first instruction is obtained , the first information includes: the storage location information, the data identification, a first time and a second time; the first time is the start time of obtaining the health data, and the second time is the time of obtaining the health data. The stop time of health data.
  • the information processing method obtains the user's health data; when the preset conditions are met, receives the time information sent by the electronic device; and sends the first information to the electronic device according to the time information.
  • the preset conditions include at least one of the following: obtaining The data volume of the health data is greater than or equal to the preset value, and the first instruction is obtained; the first instruction is used to instruct to stop obtaining the health data; when the preset condition is that the data volume of the obtained health data is greater than or
  • the first information includes: the storage location information of the health data within the first time range and the data identification of the health data; the first time range is the time corresponding to the time information.
  • the first information includes: the storage location information, the data identifier, the first time and the second time; the first time is The starting time for obtaining the health data, and the second time is the stopping time for obtaining the health data; it is possible to transmit the health data segmented to the electronic device in advance without the need to start the transmission after the health data collection is completed, This will greatly reduce the data synchronization time, support the faster provision of relevant analysis of health data to users, reduce the delay time, and bring a better user experience to users; it is a good solution to the problem of user health in related technologies.
  • the data processing scheme has the problem of long delay.
  • the obtaining the user's health data includes: obtaining the first health data and the difference between the second health data and the third health data; storing the first health data and the difference; wherein, the The first health data is the health data obtained at the first moment; the second health data is the health data obtained at the third moment; the third health data is the health data obtained at the fourth moment; the The third time is adjacent to the fourth time, the third time is within the first time and the second time (including this number), and the fourth time is within the first time and the second time. (Including this number).
  • the third time is the first time
  • the fourth time is between the first time and the second time; or, the third time is between the first time and the second time.
  • the fourth time is between the first time and the second time; or, the third time is between the first time and the second time, and the fourth time is the second time. time.
  • the method further includes: restoring the obtained health data according to the first health data and the difference value; and determining the health within the first time range according to the restored health data. data; corresponding to the health data within the first time range The difference value and the first health data are written in a synchronization file; wherein different synchronization files correspond to different storage location information.
  • determining the health data within the first time range based on the restored health data includes: obtaining the restored health data within the target time range as the health data within the first time range.
  • the target time range includes: the starting time of the first time range to the ending time of the first time range; or, the starting time of the first time range to the acquisition time of the last item, so The last item is the last item of the acquired health data, and the acquisition time of the last item is earlier than the end time of the first time range.
  • the method further includes: re-statistics Continue to obtain the amount of health data, and return the time information sent by the electronic device when the preset conditions are met.
  • the first instruction is an instruction triggered before the target event corresponding to the health data ends
  • the second time is the time when the first instruction is triggered, or the first instruction is when the target event ends.
  • a triggered instruction, the second moment is the moment when the first instruction is triggered; when the preset condition is to obtain the first instruction, and the first instruction is an instruction triggered before the end of the target event
  • the method further includes: obtaining the fifth time and the second time. time difference between; when the time difference is greater than the retransmission threshold, the fifth time Sent to the electronic device; wherein the fifth time is the actual time when the target event corresponding to the health data ends, and the second time is the reference time when the target event ends.
  • the “reference time” it can be a temporary end time given after the target event ends, for example: the user immediately checks the sleep time temporarily given by the watch after waking up.
  • the embodiment of the present application also provides an information processing method (can be applied to electronic devices such as mobile phones), as shown in Figure 2, including:
  • Step 21 Send time information to the wearable device, where the time information is time range information used to obtain the user's health data.
  • Health data can include sleep data, etc., which is not limited here.
  • Step 21 may include: sending time information to the wearable device when preset conditions are met; the preset conditions include at least one of the following: the amount of health data acquired by the wearable device is greater than or equal to the preset value; The wearable device (or electronic device) obtains the first instruction; the first instruction is used to instruct to stop obtaining the health data.
  • Step 22 Receive the first information sent by the wearable device according to the time information.
  • the first information may be: corresponding information sent by the wearable device to the electronic device according to the satisfied condition.
  • Step 23 Perform data processing operations according to the first information; wherein the first information includes: the storage location information of the health data within the first time range and the data identification of the health data; the first time The range is the time range corresponding to the time information; or the first information includes: the storage location information, the data identifier, the first time and the second time; the first time is to obtain the health data The starting time of , the second time is the stopping time of obtaining the health data.
  • Data processing operations may include: storing data and updating time information; or storing data for analysis, which is not limited here.
  • the information processing method sends time information to a wearable device, where the time information is time range information used to obtain the user's health data; receiving the wearable device The first information sent by the device according to the time information; perform a data processing operation according to the first information; wherein the first information includes: the storage location information of the health data within the first time range and the health data the data identification; the first time range is the time range corresponding to the time information; or the first information includes: the storage location information, the data identification, the first time and the second time; the The first time is the start time of obtaining the health data, and the second time is the stop time of obtaining the health data; it can support the wearable device to transmit the health data to the electronic device in segments in advance, without the need for health data.
  • performing a data processing operation according to the first information includes: when the first information includes the storage location information and the data identification, performing a data processing operation according to the storage location information and the data identification. , obtain the user's health data within the first time range and store it; or, in the case where the first information includes the storage location information, the data identification, the first time and the second time, according to the According to the storage location information and the data identifier, obtain the user's health data within the first time range and store it; and, splice all the health data corresponding to the obtained data identifier; according to the first moment and the second Moment, analyze the spliced health data.
  • the health data includes: first health data, and the difference between the second health data and the third health data; the first health data is the health data obtained at the first moment. ;
  • the second health data is the health data obtained at the third time;
  • the third health data is the health data obtained at the fourth time;
  • the third time is adjacent to the fourth time, and the The third moment is within the first moment and the second moment, and the fourth moment is within the first moment and the second moment; the health after splicing is analyzed based on the first moment and the second moment.
  • the data includes: restoring the spliced health data according to the first health data and the difference value; and analyzing the restored health data according to the first moment and the second moment.
  • the third time is the first time
  • the fourth time is between the first time and the second time; or the third time is between the first time and the second time, and the fourth time is between the first time and the second time. between the second time; or, the third time is between the first time and the second time, and the fourth time is the second time.
  • the first instruction is an instruction triggered before the target event corresponding to the health data ends
  • the second moment is the moment when the first instruction is triggered, or the first instruction is triggered when the target event ends.
  • instruction the second moment is the moment when the first instruction is triggered; and analyzing the spliced health data according to the first moment and the second moment includes: analyzing according to the first moment and the target moment.
  • the spliced health data; the target time is the time when the target instruction is triggered, and the target instruction is the first instruction triggered at the end of the target event; performing the data processing operation according to the first information also includes : When the first instruction is an instruction triggered before the end of the target event, obtain the user's health data within the first time range according to the storage location information and the data identifier, and store it.
  • analyzing the spliced health data according to the first moment and the second moment includes: after receiving the first information, the fifth moment sent by the wearable device is not received. , analyze the spliced health data according to the first moment and the second moment; after receiving the first information, when the fifth moment is received, according to the first moment and the fifth moment, Analyze the spliced health data; wherein the fifth time is the actual time when the target event corresponding to the health data ends, and the second time is the reference time when the target event ends.
  • the "reference time” it can be a temporary end time given after the target event ends, for example: the user immediately checks the sleep time temporarily given by the watch after waking up.
  • the sending time information to the wearable device includes: taking the end time of obtaining the health data in the historical record as the starting time of obtaining the health data; determining the end time of obtaining the health data based on the system time. time; the end time is the time before the system time time or the system time; obtain the time information for acquiring user health data based on the starting time and the end time; and send the time information to the wearable device.
  • sending time information to the wearable device may include: taking the end time of obtaining the health data in the historical record (last time) as the starting time of obtaining the health data (this time); according to the system The (current) time determines the end time of obtaining the health data (this time); the (this time) end time is the time before the system (current) time or the system (current) time; according to the The start time and the end time (for obtaining the health data this time) are described to obtain the time information for obtaining the user's health data; and the time information is sent to the wearable device.
  • the wearable device takes a watch as an example
  • the electronic device takes a mobile phone as an example
  • the health data takes sleep data (specifically, ventricular beat interval RRI data) as an example.
  • embodiments of the present application provide an information processing method, which can be specifically implemented as a sleep data synchronization optimization method for smart watches.
  • the watch synchronizes the RRI data to the mobile phone in advance during the user's sleep process; secondly, after the user goes out to sleep, it then synchronizes the sleep time (corresponding to the first moment mentioned above) and the sleep out time (corresponding to the above-mentioned first moment) of the entire sleep period.
  • the mobile phone processes the RRI data, sleep time, and sleep time, it can use the CPC (Cardiopulmonary Coupling Analysis) algorithm to parse out the complete sleep data including sleep stages and scores (corresponding to the above According to the first moment and the second moment, the spliced health data is analyzed) and sent back to the watch.
  • CPC Cardiopulmonary Coupling Analysis
  • the main structure of the sleep function includes: watch end and mobile health application (app) end.
  • the watch end is divided into sleep algorithm, intelligent sensor hub (SensorHub), business C end (also called business processing end, used for C-layer business processing) and sleep user interface (User Interface, UI, for graphical user interface (Graphics User Interface, GUI) display).
  • sleep algorithm is responsible for sleep monitoring and data reporting
  • SensorHub is responsible for distributing the data reported by the algorithm
  • the business C-side performs some business logic processing
  • the UI side performs data display
  • the health app is responsible for analyzing and displaying sleep data.
  • SDK in Figure 3 represents the software development kit (Software Development Kit);
  • VSCP represents the Bluetooth transmission protocol;
  • GUI represents the graphical user interface;
  • EMQ and JNI represent the data exchange interface.
  • the sleep information file can include all sleep data information on the watch within 7 days, including:
  • Sleep time the timestamp of falling asleep and coming out of sleep during this period of sleep. The corresponding time before falling asleep is 0;
  • UUID Universally Unique Identifier
  • Corresponding RRI file name Each sleep period will have a separate RRI data file, which is used to store the RRI data of this sleep period. The data volume of this file will be larger.
  • Segmented transmission can be understood as: dividing a sleep RRI into multiple segments and transmitting it to the mobile phone.
  • the specific process can be shown in Figure 4, including the following steps:
  • Step 41 The watch-side algorithm detects sleep, generates UUID and RRI files, continuously collects RRI data and saves it to files.
  • a UUID when the watch-side sleep algorithm detects sleep, a UUID will be generated as a unique identifier for the sleep period (corresponding to the above data identifier), and then an RRI file used to store the sleep period will be generated, and the file will be The name and UUID are stored in the sleep information file.
  • the watch will continue to collect RRI data during sleep, make the difference between the RRI data before and after (any two adjacent moments), and store the difference between the first item and the next item of the entire sleep period into the RRI data file (that is, Store the difference between the first item and the obtained value), which can reduce the size of the RRI file and reduce the time of subsequent synchronization.
  • the watch will continue to collect RRI data during sleep, make the difference between the RRI data before and after (any two adjacent moments), and store the difference between the first item and the next item of the entire sleep period into the RRI data file (that is, Store the difference between the first item and the obtained value), which can reduce the size of the RRI file and reduce the time of subsequent synchronization.
  • the watch will continue to collect RRI data during sleep, make the difference between the RRI data before and after (any two adjacent moments), and store the difference between the first item and the next item of the entire sleep period into the RRI data file (that is, Store the difference between the first item and the obtained value), which can reduce the size of
  • Step 42 When the RRI reaches a certain number, the watch notifies the mobile phone that the RRI needs to be synchronized.
  • the watch will count the number of collected RRIs during sleep. When it reaches a When quantitative, notify the mobile app to perform a synchronization (you can send an agreed instruction for notification); corresponding to the above-mentioned preset conditions include: the amount of acquired health data is greater than or equal to the preset value.
  • Step 43 The mobile phone sends the time range that needs to be synchronized to the watch (corresponding to the above-mentioned sending of time information to the wearable device).
  • the mobile phone after the mobile phone receives the message from the watch, it will use the end time of the last synchronization as the start time, and the current time of this synchronization 5 minutes in advance as the end time, and send this synchronization time range (corresponding to within the first time range above) to the watch.
  • the end time of obtaining the health data in the historical record is used as the starting time of obtaining the health data; the end time of obtaining the health data is determined according to the system time; the end time is the system time The previous time; according to the starting time and the end time, obtain the time information for obtaining the user's health data; send the time information to the wearable device.
  • the first start time can be determined based on the storage cycle; for example, the cycle is 7 days, then the first start time is: the time the watch sends the message corresponds to the time in the previous 7 days, or the mobile phone The time when the message is received corresponds to the time 7 days ago, or the time corresponding to the current time 7 days ago; but it is not limited to this.
  • the RRI reported by the algorithm of the watch is not real-time, but is cached for about 1 minute and then reported to the application (business C-side). Therefore, the deadline for mobile phone requests is generally 5 minutes in advance to avoid back and forth. During the two synchronizations, the RRIs that the algorithm has not yet had time to synchronize are missed.
  • Step 44 The watch reads the RRI file and restores it to the real RRI data item by item.
  • the watch can be: after the watch receives the time range sent by the mobile phone, it will open the RRI file and read it. Since the data was previously processed when saving, it will be re-accumulated and restored to RRI every time it is read. data. Corresponding to the above-mentioned first health data and the difference value, the obtained health data is restored.
  • the "accumulated restore" here is actually stored in The first item and difference value are still in the synchronized file, which can reduce the amount of transmission.
  • Step 45 The restored RRI data is within the range requested by the mobile phone and has not been read to the end of the file.
  • step 46 After the watch reads and restores the RRI data, it will make a logical judgment. If it is within the range sent by the mobile phone and the RRI file is not read to the end of the file, then go to step 46 to write and read in a loop. , otherwise go to step 47 to end this reading.
  • the restored health data corresponding to the above acquisition target time range is used as the health data within the first time range.
  • Step 46 Write the read data into the synchronization file under the Secure Digital Card (SD Card).
  • SD Card Secure Digital Card
  • the watch side writes the RRI data to the SD Card path. If it is the first write of this synchronization, a temporary file can be generated, otherwise, it will be appended after the previous file. After that, it will return to step 44 to read the RRI in a loop and write it to the synchronization file.
  • the difference value corresponding to the health data in the first time range and the first health data are written into a synchronization file; wherein different synchronization files correspond to different storage location information. .
  • the synchronization file can be stored in the watch; regarding "RRI data", the watch writes in the synchronization file while reading, and ends when the time exceeds the range or the RRI file reaches the end.
  • Step 47 Close the RRI file and send the synchronized file name and other information to the mobile phone.
  • the watch has written all the data that meets the synchronization conditions to the synchronization file, closes the RRI file and ends reading, and then sends the synchronization file name, UUID and other sleep information to the mobile phone.
  • the first information is sent to the electronic device.
  • Step 48 The mobile phone obtains sleep information and pulls the synchronization file, and updates the request time window.
  • the mobile phone receives the synchronization information, pulls the synchronization file and saves it, and at the same time updates the time window for synchronization request (that is, updates the above-mentioned first time range), and then waits for the next synchronization.
  • Step 49 The watch obtains the sleep time and wake-up time, and notifies the mobile phone to synchronize the data.
  • the watch side will execute it repeatedly. Execute steps 42 to 48 (corresponding to the above-mentioned re-counting of the data volume of the health data that continues to be acquired, and returning the time information sent by the electronic device when the preset conditions are met), until the algorithm goes to sleep or the user
  • the watch obtains the time to fall asleep and come out of sleep, save it and notify the phone that it needs to synchronize after coming out of sleep (synchronize RRI data and sleep time, etc.; corresponding to the above-mentioned preset conditions Including: obtaining the first instruction).
  • the algorithm will not go to sleep at this time, but temporarily provide a time to fall asleep and come out of sleep to display to the user (corresponding to the target corresponding to the health data of the above-mentioned first instruction)
  • the command is triggered before the event ends, and the second moment is the moment when the first command is triggered), and then resets the RRI quantity flag for segmented transmission (that is, restarts counting whether the RRI data reaches the threshold) and notifies the mobile phone to synchronize , after falling asleep again, the subsequent RRI (data) will be transmitted in segments until the actual sleep comes out (corresponding to the above-mentioned first command being the command triggered at the end of the target event, and the second moment being the command triggering the first time of instruction).
  • a third instruction is sent to the electronic device according to the time information.
  • the method further includes: re-counting the amount of health data that continues to be acquired, and returning the time information sent by the electronic device when the preset conditions are met.
  • a sleep time will be temporarily displayed and synchronized, but after a while the algorithm will still output the real sleep time and sleep time. If the time is earlier than the temporary time given by the watch), the sleep time will be synchronized to the mobile phone again. If it is less than 5 minutes (corresponding to the above resend threshold), the time will not be updated.
  • the fifth time is sent to the electronic device; wherein, the fifth time is the actual time when the target event corresponding to the health data ends, and the second time is the target The reference moment at which the event ends.
  • Step 410 The watch sends the RRI data within the sleep time and range to the mobile phone.
  • the requested end time (the end time of the last piece of data) is updated to the current time and requests synchronization to the watch (the algorithm will output all RRI when going to sleep, so there is no need to advance 5min), corresponding to the above-mentioned end time of obtaining the health data in the historical record, as the starting time of obtaining the health data; according to the system time, determine the end time of obtaining the health data; the end time is the obtain the system time; obtain the time information for acquiring the user's health data based on the start time and the end time; and send the time information to the wearable device.
  • the watch will send the sleep time, sleep time and RRI within the range that meets the conditions to the mobile phone (repeat steps 44-47 to obtain).
  • the first information includes: the storage location information, the data identifier, the first time and the second time; the first time The second time is the start time for obtaining the health data, and the second time is the stop time for obtaining the health data.
  • Step 411 The mobile phone splices the RRI files of the same sleep period and restores the RRI of the entire sleep period.
  • the mobile phone can obtain the sleep time and the last RRI, it splices all synchronized files of the same UUID (in the order in which the files are obtained) and restores them to complete RRI data.
  • the first information includes the storage location information, the data identification, a first time and a second time
  • the first time is obtained according to the storage location information and the data identification.
  • this solution can be: a piece of RRI data corresponding to a synchronization file; but it is not limited to this.
  • Step 412 The mobile phone sends the sleep and sleep time and the corresponding RRI data to the algorithm for analysis, obtains the period data and other data, and then sends it back to the watch.
  • the mobile phone switches the RRI data of the entire sleep period according to the time of falling asleep and coming out of sleep. After segmentation and sorting, it is put into the algorithm SDK for analysis, and then detailed information such as sleep stages (i.e. light sleep, deep sleep, rapid eye movement sleep, etc.) and scores are obtained and sent back to the watch. It can be understood that the mobile phone will feed back the analysis results of the "spliced health data" to the watch.
  • sleep stages i.e. light sleep, deep sleep, rapid eye movement sleep, etc.
  • this solution provides a sleep data optimization solution based on smart watches.
  • it can reduce the delay time by about 80%.
  • reducing the synchronization time can reduce the user's sleep time.
  • the perception of data synchronization greatly improves the user experience.
  • segmented synchronization of sleep data in this solution can also be used for the synchronization of other health data, which will not be described again.
  • the execution subject may be an information processing device, or a control module in the information processing device for executing the information processing method.
  • an information processing device executing an information processing method is used as an example to illustrate the information processing device provided by the embodiments of the present application.
  • the information processing device provided by the embodiment of the present application, as shown in Figure 5, includes:
  • the first acquisition module 51 is used to acquire the user's health data
  • the first receiving module 52 is used to receive time information sent by the electronic device when the preset conditions are met;
  • the first sending module 53 is configured to send first information to the electronic device according to the time information
  • the preset conditions include at least one of the following: the amount of acquired health data is greater than or equal to a preset value, and a first instruction is obtained; the first instruction is used to instruct to stop acquiring the health data;
  • the first information includes: the storage location information of the health data within the first time range and the data of the health data. Identification; the first time range is the time range corresponding to the time information;
  • the first information includes: the storage location information, the data identifier, a first time and a second time; the first time is to obtain the first instruction.
  • the starting time of the health data, and the second time is the stopping time of obtaining the health data.
  • the obtaining the user's health data includes: obtaining the first health data and the difference between the second health data and the third health data; storing the first health data and the difference; wherein, the The first health data is the health data obtained at the first moment; the second health data is the health data obtained at the third moment; the third health data is the health data obtained at the fourth moment; the The third time is adjacent to the fourth time, the third time is within the first time and the second time, and the fourth time is within the first time and the second time.
  • the information processing device also includes:
  • the first processing module is used to restore the obtained health data according to the first health data and the difference value after receiving the time information sent by the electronic device; the first determination module is used to determine the obtained health data according to the restored health data. health data within the first time range; write the difference value corresponding to the health data within the first time range and the first health data into a synchronization file; wherein different synchronization files correspond to Different storage location information.
  • determining the health data within the first time range based on the restored health data includes: obtaining the restored health data within the target time range as the health data within the first time range.
  • the target time range includes: the starting time of the first time range to the ending time of the first time range; or, the starting time of the first time range to the acquisition time of the last item, so The last item is the last item of the acquired health data, and the acquisition time of the last item is earlier than the end time of the first time range.
  • the information processing device also includes:
  • the second processing module is configured to re-send the first information to the electronic device according to the time information when the preset condition is that the amount of acquired health data is greater than or equal to the preset value. Count the amount of health data that continues to be acquired, and return the time information sent by the electronic device when the preset conditions are met.
  • the first instruction is an instruction triggered before the target event corresponding to the health data ends
  • the second time is the time when the first instruction is triggered, or the first instruction is when the target event ends.
  • triggering instruction the second moment is the moment when the first instruction is triggered
  • the third processing module configured to: when the preset condition is that the first instruction is obtained, and the first instruction is an instruction triggered before the end of the target event, according to the For time information, after sending the first information to the electronic device, recalculate the amount of health data that continues to be acquired, and return the time information sent by the receiving electronic device when the preset conditions are met.
  • the information processing device also includes:
  • the second acquisition module is configured to acquire the fifth time and the second time after sending the first information to the electronic device according to the time information when the preset condition is that the first instruction is acquired.
  • the actual time at which the corresponding target event ends, and the second time is the reference time at which the target event ends.
  • the information processing device obtains the user's health data; when the preset conditions are met, receives the time information sent by the electronic device; and sends the first information to the electronic device according to the time information.
  • the preset condition includes at least one of the following: the amount of acquired health data is greater than or equal to the preset value, and the first instruction is obtained; the first instruction is used to instruct to stop acquiring the health data; in When the preset condition is that the amount of acquired health data is greater than or equal to the preset value, the first information includes: the storage location information of the health data within the first time range and the data identification of the health data.
  • the first time range is the time range corresponding to the time information; when the preset condition is to obtain the first instruction, the first information includes: the storage location information, the data identification , the first moment and the second moment; the first moment is the start moment of acquiring the health data, and the second moment is the stop moment of acquiring the health data; it is possible to transmit the health data to electronic devices in segments in advance. equipment, and does not need to start transmission after health data collection is completed. This will greatly reduce the data synchronization time, support faster provision of relevant analysis of health data to users, reduce delay time, and bring better results to users. The use experience is very good; it solves the problem of long delay in related technology solutions for processing user health data.
  • the information processing device in the embodiment of the present application may be a device, or may be a component, integrated circuit, or chip in a wearable device.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • assistant, PDA personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computers (personal computers, PC), televisions (television, TV), teller machines or self-service machines, etc., this application The examples are not specifically limited.
  • the information processing device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an Apple mobile device operating system (iPhone Operation System, iOS) operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
  • the information processing device provided by the embodiments of the present application can implement various processes implemented by the method embodiments of Figures 1, 3 and 4. To avoid duplication, they will not be described again here.
  • An embodiment of the present application also provides an information processing device, as shown in Figure 6, including:
  • the third sending module 61 is used to send time information to the wearable device, where the time information is time range information used to obtain the user's health data;
  • the second receiving module 62 is used to receive the first information sent by the wearable device according to the time information
  • the first execution module 63 is used to perform data processing operations according to the first information
  • the first information includes: the storage location information of the health data within the first time range and the data identification of the health data; the first time range is the time range corresponding to the time information; or,
  • the first information includes: the storage location information, the data identification, a first time and a second time; the first time is the start time of obtaining the health data, and the second time is the time of obtaining the health data. Stop time for health data.
  • performing a data processing operation according to the first information includes: in the first If the information includes the storage location information and the data identification, obtain the user's health data within the first time range based on the storage location information and the data identification, and store it; or, in the third time When the information includes the storage location information, the data identification, the first time and the second time, obtain the user's health data within the first time range based on the storage location information and the data identification, Store; and, splice all health data corresponding to the obtained data identifiers; analyze the spliced health data according to the first moment and the second moment.
  • the health data includes: first health data, and the difference between the second health data and the third health data; the first health data is the health data obtained at the first moment. ;
  • the second health data is the health data obtained at the third time;
  • the third health data is the health data obtained at the fourth time;
  • the third time is adjacent to the fourth time, and the The third moment is within the first moment and the second moment, and the fourth moment is within the first moment and the second moment; the health after splicing is analyzed based on the first moment and the second moment.
  • the data includes: restoring the spliced health data according to the first health data and the difference value; and analyzing the restored health data according to the first moment and the second moment.
  • the first instruction is an instruction triggered before the target event corresponding to the health data ends
  • the second moment is the moment when the first instruction is triggered, or the first instruction is triggered when the target event ends.
  • instruction the second moment is the moment when the first instruction is triggered; and analyzing the spliced health data according to the first moment and the second moment includes: analyzing according to the first moment and the target moment.
  • the spliced health data; the target time is the time when the target instruction is triggered, and the target instruction is the first instruction triggered at the end of the target event; performing the data processing operation according to the first information also includes : When the first instruction is an instruction triggered before the end of the target event, obtain the user's health data within the first time range according to the storage location information and the data identifier, and store it.
  • analyzing the spliced health data based on the first moment and the second moment includes: after receiving the first information, the fifth moment sent by the wearable device is not received. In the case of, analyze the spliced health data according to the first moment and the second moment; after receiving the first information, in the case of receiving the fifth moment, analyze the spliced health data according to the first moment. and the fifth moment, analyze the spliced health data; wherein the fifth moment is the actual moment when the target event corresponding to the health data ends, and the second moment is the reference moment when the target event ends.
  • the sending time information to the wearable device includes: taking the end time of obtaining the health data in the historical record as the starting time of obtaining the health data; determining the end time of obtaining the health data based on the system time. time; the end time is the time before the system time or the system time; obtain the time information for obtaining user health data according to the start time and the end time; send the time information to the wearable device .
  • the information processing device sends time information to a wearable device, where the time information is time range information used to obtain the user's health data; and receives the time information sent by the wearable device according to the time information.
  • First information perform a data processing operation according to the first information; wherein the first information includes: the storage location information of the health data within the first time range and the data identification of the health data; the first The time range is the time range corresponding to the time information; or the first information includes: the storage location information, the data identifier, the first moment and the second moment; the first moment is to obtain the health The starting time of the data, and the second time is the stopping time of obtaining the health data; it can support the wearable device to transmit the health data segmented to the electronic device in advance without the need to start the transmission after the health data collection is completed.
  • the data processing scheme has the problem of long delay.
  • the information processing device in the embodiment of the present application may be a device, or may be a component, integrated circuit, or chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computers (personal computers, PC), televisions (television, TV), cabinets
  • Network Attached Storage NAS
  • personal computers personal computers, PC
  • televisions televisions
  • cabinets There are no specific limitations in the embodiments of this application such as employee kiosks or self-service kiosks.
  • the information processing device in the embodiment of the present application may be a device with an operating system.
  • the operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
  • the information processing device provided by the embodiments of the present application can implement each process implemented by the method embodiments of Figures 2 to 4. To avoid repetition, details will not be described here.
  • this embodiment of the present application also provides a wearable device 70, including a processor 71, a memory 72, and programs or instructions stored on the memory 72 and executable on the processor 71. , when this program or instruction is executed by the processor 71, it implements each process of the above-mentioned information processing method embodiment in Figure 1, and can achieve the same technical effect. To avoid duplication, it will not be described again here.
  • wearable devices in embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • this embodiment of the present application also provides an electronic device 80, including a processor 81, a memory 82, and programs or instructions stored on the memory 82 and executable on the processor 81,
  • an electronic device 80 including a processor 81, a memory 82, and programs or instructions stored on the memory 82 and executable on the processor 81,
  • the program or instruction is executed by the processor 81, each process of the above-mentioned information processing method embodiment in Figure 2 is implemented, and the same technical effect can be achieved. To avoid repetition, the details will not be described here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • Figure 9 is a schematic diagram of the hardware structure of a wearable device implementing an embodiment of the present application.
  • the wearable device 90 includes but is not limited to: radio frequency unit 91, network module 92, audio output unit 93, input unit 94, sensor 95, display unit 96, user input unit 97, interface unit 98, memory 99, and processor 910 and other parts.
  • the wearable device 90 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 910 through a power management system, thereby managing charging, discharging, and Power consumption management and other functions.
  • the structure of the wearable device shown in Figure 9 does not constitute a limitation of the wearable device.
  • the wearable device may include more or less components than shown, or combine certain components, or arrange different components. Herein no longer Repeat.
  • the processor 910 is used to obtain the user's health data; when the preset conditions are met, receive the time information sent by the electronic device through the radio frequency unit 91; according to the time information, send the information to the electronic device through the radio frequency unit 91 Send the first information; wherein the preset conditions include at least one of the following: the amount of health data obtained is greater than or equal to the preset value, and the first instruction is obtained; the first instruction is used to instruct to stop obtaining the Health data; when the preset condition is that the amount of acquired health data is greater than or equal to the preset value, the first information includes: the storage location information of the health data within the first time range and the health data.
  • the data identifier of the data is the time range corresponding to the time information; when the preset condition is to obtain the first instruction, the first information includes: the storage location information, The data identifier, the first time and the second time; the first time is the start time of obtaining the health data, and the second time is the stop time of obtaining the health data.
  • the information processing method obtains the user's health data; when the preset conditions are met, receives the time information sent by the electronic device; and sends the first information to the electronic device according to the time information.
  • the preset condition includes at least one of the following: the amount of acquired health data is greater than or equal to the preset value, and the first instruction is obtained; the first instruction is used to instruct to stop acquiring the health data; in When the preset condition is that the amount of acquired health data is greater than or equal to the preset value, the first information includes: the storage location information of the health data within the first time range and the data identification of the health data.
  • the first time range is the time range corresponding to the time information; when the preset condition is to obtain the first instruction, the first information includes: the storage location information, the data identification , the first moment and the second moment; the first moment is the start moment of acquiring the health data, and the second moment is the stop moment of acquiring the health data; it is possible to transmit the health data to electronic devices in segments in advance. equipment, and does not need to start transmission after health data collection is completed. This will greatly reduce the data synchronization time, support faster provision of relevant analysis of health data to users, reduce delay time, and bring better results to users. The use experience is very good; it solves the problem of long delay in related technology solutions for processing user health data.
  • the obtaining the user's health data includes: obtaining the first health data and the difference between the second health data and the third health data; storing the first health data and the difference; wherein, The first health data is the health data obtained at the first moment; the second health data is the health data obtained at the third moment; and the third health data is the health data obtained at the fourth moment. ; The third time is adjacent to the fourth time, the third time is within the first time and the second time, and the fourth time is within the first time and the second time.
  • the processor 910 is further configured to, after receiving the time information sent by the electronic device, restore the obtained health data according to the first health data and the difference value; and determine the first health data according to the restored health data. health data within the time range; write the difference value corresponding to the health data within the first time range and the first health data into a synchronization file; wherein different synchronization files correspond to different storage location information.
  • determining the health data within the first time range based on the restored health data includes: obtaining the restored health data within the target time range as the health data within the first time range.
  • Health data includes: the starting time of the first time range to the end time of the first time range; or, the starting time of the first time range to the acquisition time of the last item , the last item is the last item of the acquired health data, and the acquisition time of the last item is earlier than the end time of the first time range.
  • the processor 910 is also configured to, when the preset condition is that the amount of acquired health data is greater than or equal to a preset value, transmit the electronic data to the electronic device through the radio frequency unit 91 according to the time information. After the device sends the first information, it re-counts the amount of health data that continues to be acquired, and returns the time information sent by the electronic device through the radio frequency unit 91 when the preset conditions are met.
  • the first instruction is an instruction triggered before the target event corresponding to the health data ends, the second moment is the moment when the first instruction is triggered, or the first instruction is the target event.
  • An instruction is triggered at the end, and the second moment is the moment when the first instruction is triggered;
  • the processor 910 is also configured to, in the case where the preset condition is that the first instruction is acquired and the first instruction is an instruction triggered before the end of the target event, pass the processing according to the time information. After the first information is sent to the electronic device through the radio frequency unit 91, the data volume of the health data that continues to be acquired is re-calculated, and the time information sent by the electronic device is received through the radio frequency unit 91 when the preset conditions are met. .
  • the processor 910 is also configured to, when the preset condition is to obtain the first instruction, after sending the first information to the electronic device through the radio frequency unit 91 according to the time information, obtain The time difference between the fifth time and the second time; if the time difference is greater than the retransmission threshold, the fifth time is sent to the electronic device through the radio frequency unit 91; wherein, the fifth time is the actual time when the target event corresponding to the health data ends, and the second time is the reference time when the target event ends.
  • This solution can reduce the user's perception of data synchronization by reducing the data synchronization time, and greatly improve the user experience.
  • the input unit 94 may include a graphics processor (Graphics Processing Unit, GPU) 941 and a microphone 942.
  • the graphics processor 941 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
  • the display unit 96 may include a display panel 961, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 97 includes a touch panel 971 and other input devices 972 . Touch panel 971 is also called a touch screen.
  • the touch panel 971 may include two parts: a touch detection device and a touch controller.
  • Other input devices 972 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • Memory 99 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 910 can integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above modem processor may not be integrated into the processor 910.
  • FIG. 10 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 100 includes but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, Interface unit 108, memory 109, processor 1010 and other components.
  • the electronic device 100 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 1010 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions.
  • the structure of the electronic device shown in Figure 10 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .
  • the processor 1010 is configured to send time information to the wearable device through the radio frequency unit 101, where the time information is time range information used to obtain the user's health data; receive the wearable device through the radio frequency unit 101 according to the First information sent by time information; perform data processing operations according to the first information; wherein the first information includes: storage location information of health data within the first time range and data identification of the health data; The first time range is the time range corresponding to the time information; or the first information includes: the storage location information, the data identification, a first time and a second time; the first time is The start time of obtaining the health data, and the second time is the stop time of obtaining the health data.
  • the information processing method sends time information to a wearable device, where the time information is time range information used to obtain the user's health data; and receives the time information sent by the wearable device according to the time information.
  • First information perform a data processing operation according to the first information; wherein the first information includes: the storage location information of the health data within the first time range and the data identification of the health data; the first The time range is the time range corresponding to the time information; or the first information includes: the storage location information, the data identifier, the first moment and the second moment; the first moment is to obtain the health The starting time of the data, and the second time is the stopping time of obtaining the health data; it can support the wearable device to transmit the health data segmented to the electronic device in advance without the need to start the transmission after the health data collection is completed.
  • the data processing scheme has the problem of long delay.
  • performing a data processing operation according to the first information includes: in the first If the information includes the storage location information and the data identification, obtain the user's health data within the first time range according to the storage location information and the data identification, and store it; or, in the When the first information includes the storage location information, the data identification, the first time and the second time, obtain the user's health data within the first time range based on the storage location information and the data identification. , perform storage; and, splice all health data corresponding to the obtained data identifiers; analyze the spliced health data according to the first moment and the second moment.
  • the health data includes: first health data, and the difference between the second health data and the third health data; the first health data is the health data obtained at the first moment; The second health data is the health data obtained at the third time; the third health data is the health data obtained at the fourth time; the third time is adjacent to the fourth time, and the third time is the health data obtained at the fourth time.
  • the time is within the first time and the second time, and the fourth time is within the first time and the second time; analyzing the spliced health data based on the first time and the second time, The method includes: restoring the spliced health data according to the first health data and the difference value; and analyzing the restored health data according to the first moment and the second moment.
  • the first instruction is an instruction triggered before the target event corresponding to the health data ends
  • the second time is the time when the first instruction is triggered, or the first instruction is when the target event ends.
  • Triggered instruction the second moment is the moment when the first instruction is triggered; analyzing the spliced health data according to the first moment and the second moment includes: according to the first moment and the target moment , analyze the spliced health data; the target time is the time when the target instruction is triggered, and the target instruction is the first instruction triggered at the end of the target event; the data processing operation is performed according to the first information, It also includes: when the first instruction is an instruction triggered before the end of the target event, obtaining the user's health data within the first time range according to the storage location information and the data identifier, and performing storage.
  • analyzing the spliced health data according to the first moment and the second moment includes: after receiving the first information through the radio frequency unit 101, the third message sent by the wearable device is not received.
  • the spliced health data is analyzed according to the first moment and the second moment; after receiving the first information through the radio frequency unit 101, the fifth moment is received.
  • sending the time information to the wearable device includes: taking the end time of obtaining the health data in the historical record as the starting time of obtaining the health data; and determining the time to obtain the health data based on the system time.
  • the end time; the end time is the time before the system time or the system time; according to the start time and the end time, obtain the time information for obtaining user health data; send the time information.
  • This solution can reduce the user's perception of data synchronization by reducing the data synchronization time, and greatly improve the user experience.
  • the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042.
  • the graphics processor 1041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
  • the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072 .
  • Touch panel 1071 is also called a touch screen.
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • Memory 109 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 1010 can integrate an application processor and a modem processor, where the application processor mainly processes operating systems, user interfaces, application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above modem processor may not be integrated into the processor 1010.
  • Embodiments of the present application also provide a readable storage medium, with programs or instructions stored on the readable storage medium.
  • programs or instructions are executed by a processor, each process of the information processing method embodiment in Figure 1 is implemented, and can achieve the same technical effect, so to avoid repetition, we will not repeat them here.
  • the processor is the processor in the wearable device described in the above embodiment.
  • described Readable storage media includes computer-readable storage media, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks.
  • Embodiments of the present application also provide a readable storage medium, with programs or instructions stored on the readable storage medium.
  • programs or instructions are executed by the processor, each process of the above-mentioned information processing method embodiment in Figure 2 is implemented, and can achieve the same technical effect, so to avoid repetition, we will not repeat them here.
  • the processor is the processor in the electronic device described in the above embodiment.
  • the readable storage media includes computer-readable storage media, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc.
  • An embodiment of the present application further provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the above information processing method embodiments. Each process can achieve the same technical effect. To avoid duplication, it will not be described again here.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to related technologies.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in various embodiments of this application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Medical Informatics (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Biomedical Technology (AREA)
  • Pathology (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

本申请公开了一种信息处理方法、装置、可穿戴设备和电子设备,属于通信技术领域。其中,信息处理方法,包括:获取用户的健康数据;在满足预设条件的情况下,接收电子设备发送的时间信息;根据时间信息,向电子设备发送第一信息;预设条件包括以下至少一项:获取的健康数据的数据量大于或等于预设值、获取到第一指令;第一指令用于指示停止获取健康数据;第一信息包括:第一时间范围内的健康数据的存储位置信息和健康数据的数据标识;第一时间范围为时间信息对应的时间范围;或者,第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;第一时刻为获取健康数据的开始时刻,第二时刻为获取健康数据的停止时刻。

Description

信息处理方法、装置、可穿戴设备和电子设备
相关申请的交叉引用
本申请主张在2022年06月23日在中国提交的中国专利申请No.202210719951.9的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种信息处理方法、装置、可穿戴设备和电子设备。
背景技术
目前,随着技术的发展,可以实现对于用户健康数据的监测及分析;具体比如:心肺耦合(Cardio Pulmonary Coupling,CPC)分析法可以准确的进行睡眠监测及对睡眠周期进行分析。具体的,普遍需要可穿戴设备(比如手表)与电子设备(比如手机)进行配合来实现;但是,这种方案存在数据处理延迟时间较长的问题,影响用户使用,比如:在嵌入式低功耗类型的手表上,由于受硬件性能及系统功耗限制,需要将算法集成在手机端,在手表端采集到所有的心室搏动间距(RRI)数据后再传输至手机端进行数据解析,手机端算法解析成功后再回传结果给手表。因此如果用户出睡后立即查看睡眠数据,手表及手机端的睡眠分期和评分展示就会有一定的延迟,从而影响用户体验。
由上,相关技术中针对用户健康数据进行分析、展示等处理的方案存在延迟时长大的问题。
发明内容
本申请实施例的目的是提供一种信息处理方法、装置、可穿戴设备和电子设备,能够解决相关技术中针对用户健康数据进行处理的方案存在延迟时长大的问题。
第一方面,本申请实施例提供了一种信息处理方法,该方法包括:
获取用户的健康数据;
在满足预设条件的情况下,接收电子设备发送的时间信息;
根据所述时间信息,向所述电子设备发送第一信息;
其中,所述预设条件包括以下至少一项:获取的健康数据的数据量大于或等于预设值、获取到第一指令;所述第一指令用于指示停止获取所述健康数据;
在所述预设条件为获取的健康数据的数据量大于或等于预设值的情况下,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;
在所述预设条件为获取到第一指令的情况下,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻。
第二方面,本申请实施例提供了一种信息处理方法,该方法包括:
向可穿戴设备发送时间信息,所述时间信息为用于获取用户的健康数据的时间范围信息;
接收所述可穿戴设备根据所述时间信息发送的第一信息;
根据所述第一信息,执行数据处理操作;
其中,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;或者,
所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻。
第三方面,本申请实施例提供了一种信息处理装置,该装置包括:
第一获取模块,用于获取用户的健康数据;
第一接收模块,用于在满足预设条件的情况下,接收电子设备发送的时 间信息;
第一发送模块,用于根据所述时间信息,向所述电子设备发送第一信息;
其中,所述预设条件包括以下至少一项:获取的健康数据的数据量大于或等于预设值、获取到第一指令;所述第一指令用于指示停止获取所述健康数据;
在所述预设条件为获取的健康数据的数据量大于或等于预设值的情况下,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;
在所述预设条件为获取到第一指令的情况下,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻。
可选的,所述获取用户的健康数据包括:
获取第一健康数据,以及第二健康数据与第三健康数据之间的差值;
存储所述第一健康数据和所述差值;
其中,所述第一健康数据为所述第一时刻所获取的健康数据;
所述第二健康数据为在第三时刻所获取的健康数据;
所述第三健康数据为在第四时刻获取的健康数据;
所述第三时刻与所述第四时刻相邻,所述第三时刻处于第一时刻与第二时刻以内,所述第四时刻处于所述第一时刻与所述第二时刻以内。
可选的,所述信息处理装置还包括:
第一处理模块,用于在接收电子设备发送的时间信息之后,根据所述第一健康数据和差值,还原获取的健康数据;
第一确定模块,用于根据还原得到的健康数据,确定所述第一时间范围内的健康数据;
将所述第一时间范围内的健康数据对应的所述差值以及所述第一健康数据,写入同步文件中;
其中,不同的所述同步文件对应不同的所述存储位置信息。
可选的,所述根据还原得到的健康数据,确定所述第一时间范围内的健康数据,包括:
获取目标时间范围内的所述还原得到的健康数据,作为所述第一时间范围内的健康数据;
其中,所述目标时间范围包括:所述第一时间范围的起始时刻至第一时间范围的终止时刻;或者,
所述第一时间范围的起始时刻至最后一项的获取时刻,所述最后一项为获取的健康数据的最后一项,所述最后一项的获取时刻早于所述第一时间范围的终止时刻。
可选的,所述信息处理装置还包括:
第二处理模块,用于在所述预设条件为获取的健康数据的数据量大于或等于预设值的情况下,在根据所述时间信息,向所述电子设备发送第一信息之后,重新统计继续获取的健康数据的数据量,并返回所述在满足预设条件的情况下,接收电子设备发送的时间信息。
可选的,所述第一指令为所述健康数据对应的目标事件结束之前触发的指令,所述第二时刻为触发所述第一指令的时刻,或者所述第一指令为所述目标事件结束时触发的指令,所述第二时刻为触发所述第一指令的时刻;
所述信息处理装置还包括:
第三处理模块,用于在所述预设条件为获取到第一指令,且所述第一指令为所述目标事件结束之前触发的指令的情况下,在根据所述时间信息,向所述电子设备发送第一信息之后,重新统计继续获取的健康数据的数据量,并返回所述在满足预设条件的情况下,接收电子设备发送的时间信息。
可选的,所述信息处理装置还包括:
第二获取模块,用于在所述预设条件为获取到第一指令的情况下,在根据所述时间信息,向所述电子设备发送第一信息之后,获取第五时刻与所述第二时刻之间的时差;
第二发送模块,用于在所述时差大于重发阈值的情况下,将所述第五时 刻发送给所述电子设备;
其中,所述第五时刻为所述健康数据对应的目标事件结束的实际时刻,所述第二时刻为所述目标事件结束的参考时刻。
第四方面,本申请实施例提供了一种信息处理装置,该装置包括:
第三发送模块,用于向可穿戴设备发送时间信息,所述时间信息为用于获取用户的健康数据的时间范围信息;
第二接收模块,用于接收所述可穿戴设备根据所述时间信息发送的第一信息;
第一执行模块,用于根据所述第一信息,执行数据处理操作;
其中,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;或者,
所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻。
可选的,所述根据所述第一信息,执行数据处理操作,包括:
在所述第一信息包括所述存储位置信息和所述数据标识的情况下,根据所述存储位置信息和所述数据标识,获取所述第一时间范围内用户的健康数据,进行存储;
或者,在所述第一信息包括所述存储位置信息、所述数据标识、第一时刻和第二时刻的情况下,根据所述存储位置信息和所述数据标识,获取所述第一时间范围内用户的健康数据,进行存储;以及,
拼接获取的所述数据标识对应的所有健康数据;
根据所述第一时刻和第二时刻,分析拼接后的健康数据。
可选的,所述健康数据包括:第一健康数据,以及第二健康数据与第三健康数据之间的差值;所述第一健康数据为所述第一时刻所获取的健康数据;所述第二健康数据为在第三时刻所获取的健康数据;所述第三健康数据为在 第四时刻获取的健康数据;所述第三时刻与所述第四时刻相邻,所述第三时刻处于第一时刻与第二时刻以内,所述第四时刻处于所述第一时刻与所述第二时刻以内;
所述根据所述第一时刻和第二时刻,分析拼接后的健康数据,包括:
根据所述第一健康数据和差值,还原拼接后的健康数据;
根据所述第一时刻和第二时刻,分析还原后的健康数据。
可选的,第一指令为所述健康数据对应的目标事件结束之前触发的指令,所述第二时刻为触发所述第一指令的时刻,或者所述第一指令为所述目标事件结束时触发的指令,所述第二时刻为触发所述第一指令的时刻;
所述根据所述第一时刻和第二时刻,分析拼接后的健康数据,包括:
根据所述第一时刻和目标时刻,分析拼接后的健康数据;所述目标时刻为触发目标指令的时刻,所述目标指令为所述目标事件结束时触发的第一指令;
所述根据所述第一信息,执行数据处理操作,还包括:
在所述第一指令为所述目标事件结束之前触发的指令的情况下,根据所述存储位置信息和所述数据标识,获取所述第一时间范围内用户的健康数据,并进行存储。
可选的,所述根据所述第一时刻和第二时刻,分析拼接后的健康数据,包括:
在接收所述第一信息之后,未接收到所述可穿戴设备发送的第五时刻的情况下,根据所述第一时刻和第二时刻,分析拼接后的健康数据;
在接收所述第一信息之后,接收到所述第五时刻的情况下,根据所述第一时刻和第五时刻,分析拼接后的健康数据;
其中,所述第五时刻为所述健康数据对应的目标事件结束的实际时刻,所述第二时刻为所述目标事件结束的参考时刻。
可选的,所述向可穿戴设备发送时间信息,包括:
将历史记录中获取所述健康数据的结束时刻,作为获取所述健康数据的 起始时刻;
根据系统时刻,确定获取所述健康数据的结束时刻;所述结束时刻为所述系统时刻之前的时刻或所述系统时刻;
根据所述起始时刻和所述结束时刻,得到获取用户健康数据的时间信息;
向可穿戴设备发送所述时间信息。
第五方面,本申请实施例提供了一种可穿戴设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第六方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第二方面所述的方法的步骤。
第七方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面或第二方面所述的方法的步骤。
第八方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面或第二方面所述的方法。
在本申请实施例中,所述信息处理方法通过获取用户的健康数据;在满足预设条件的情况下,接收电子设备发送的时间信息;根据所述时间信息,向所述电子设备发送第一信息;其中,所述预设条件包括以下至少一项:获取的健康数据的数据量大于或等于预设值、获取到第一指令;所述第一指令用于指示停止获取所述健康数据;在所述预设条件为获取的健康数据的数据量大于或等于预设值的情况下,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;在所述预设条件为获取到第一指令的情况下,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健 康数据的停止时刻;能够实现将健康数据分段提前传输给电子设备,而不需要在健康数据收集结束后再开始传输,这样会大大缩减了数据同步的时间,支持更快的提供针对健康数据的相关分析展示给用户,降低延迟时长,给用户带来更好的使用体验;很好的解决了相关技术中针对用户健康数据进行处理的方案存在延迟时长大的问题。
附图说明
图1是本申请实施例的信息处理方法流程示意图一;
图2是本申请实施例的信息处理方法流程示意图二;
图3是本申请实施例的信息处理方法实现架构示意图;
图4是本申请实施例的信息处理方法具体实现流程示意图;
图5是本申请实施例的信息处理装置结构示意图一;
图6是本申请实施例的信息处理装置结构示意图二;
图7是本申请实施例的可穿戴设备结构示意图一;
图8是本申请实施例的电子设备结构示意图一;
图9是本申请实施例的可穿戴设备结构示意图二;
图10是本申请实施例的电子设备结构示意图二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类, 并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的信息处理方法进行详细地说明。
本申请实施例提供的信息处理方法(可应用于手表等可穿戴设备),如图1所示,包括:
步骤11:获取用户的健康数据。
健康数据可以睡眠数据等,在此不作限定。
步骤12:在满足预设条件的情况下,接收电子设备发送的时间信息。
其中,可以本地监测是否满足预设条件,在满足预设条件的情况下向电子设备发请求,接电子设备根据请求发送的收时间信息;或者,电子设备监测是否满足预设条件,在满足预设条件的情况下,向可穿戴设备发送时间信息。
步骤13:根据所述时间信息,向所述电子设备发送第一信息;其中,所述预设条件包括以下至少一项:获取的健康数据的数据量大于或等于预设值、获取到第一指令;所述第一指令用于指示停止获取所述健康数据;在所述预设条件为获取的健康数据的数据量大于或等于预设值的情况下,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;在所述预设条件为获取到第一指令的情况下,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻。
也就是,根据满足的条件向电子设备发送对应的信息。
本申请实施例中,所述信息处理方法通过获取用户的健康数据;在满足预设条件的情况下,接收电子设备发送的时间信息;根据所述时间信息,向所述电子设备发送第一信息;其中,所述预设条件包括以下至少一项:获取 的健康数据的数据量大于或等于预设值、获取到第一指令;所述第一指令用于指示停止获取所述健康数据;在所述预设条件为获取的健康数据的数据量大于或等于预设值的情况下,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;在所述预设条件为获取到第一指令的情况下,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻;能够实现将健康数据分段提前传输给电子设备,而不需要在健康数据收集结束后再开始传输,这样会大大缩减了数据同步的时间,支持更快的提供针对健康数据的相关分析展示给用户,降低延迟时长,给用户带来更好的使用体验;很好的解决了相关技术中针对用户健康数据进行处理的方案存在延迟时长大的问题。
其中,所述获取用户的健康数据包括:获取第一健康数据,以及第二健康数据与第三健康数据之间的差值;存储所述第一健康数据和所述差值;其中,所述第一健康数据为所述第一时刻所获取的健康数据;所述第二健康数据为在第三时刻所获取的健康数据;所述第三健康数据为在第四时刻获取的健康数据;所述第三时刻与所述第四时刻相邻,所述第三时刻处于第一时刻与第二时刻以内(包括本数),所述第四时刻处于所述第一时刻与所述第二时刻以内(包括本数)。
这样可以节省存储空间,并缩短后续的数据传输时长。其中,所述第三时刻为所述第一时刻,所述第四时刻处于所述第一时刻与所述第二时刻之间;或者,所述第三时刻处于第一时刻与第二时刻之间,所述第四时刻处于所述第一时刻与所述第二时刻之间;或者,所述第三时刻处于第一时刻与第二时刻之间,所述第四时刻为所述第二时刻。
进一步的,在接收电子设备发送的时间信息之后,还包括:根据所述第一健康数据和差值,还原获取的健康数据;根据还原得到的健康数据,确定所述第一时间范围内的健康数据;将所述第一时间范围内的健康数据对应的 所述差值以及所述第一健康数据,写入同步文件中;其中,不同的所述同步文件对应不同的所述存储位置信息。
这样可以准确获取第一时间范围内的健康数据并写入文件中。
其中,所述根据还原得到的健康数据,确定所述第一时间范围内的健康数据,包括:获取目标时间范围内的所述还原得到的健康数据,作为所述第一时间范围内的健康数据;其中,所述目标时间范围包括:所述第一时间范围的起始时刻至第一时间范围的终止时刻;或者,所述第一时间范围的起始时刻至最后一项的获取时刻,所述最后一项为获取的健康数据的最后一项,所述最后一项的获取时刻早于所述第一时间范围的终止时刻。
这样可以准确获取到目标时间范围内的所有健康数据。
进一步的,在所述预设条件为获取的健康数据的数据量大于或等于预设值的情况下,在根据所述时间信息,向所述电子设备发送第一信息之后,还包括:重新统计继续获取的健康数据的数据量,并返回所述在满足预设条件的情况下,接收电子设备发送的时间信息。
这样可以支撑本方案分段向电子设备传输健康数据。
其中,所述第一指令为所述健康数据对应的目标事件结束之前触发的指令,所述第二时刻为触发所述第一指令的时刻,或者所述第一指令为所述目标事件结束时触发的指令,所述第二时刻为触发所述第一指令的时刻;在所述预设条件为获取到第一指令,且所述第一指令为所述目标事件结束之前触发的指令的情况下,在根据所述时间信息,向所述电子设备发送第一信息之后,还包括:重新统计继续获取的健康数据的数据量,并返回所述在满足预设条件的情况下,接收电子设备发送的时间信息。
这样可以保证中途临时结束采集健康数据(比如用户中途出睡)的场景下仍然正常处理健康数据。
进一步的,在所述预设条件为获取到第一指令的情况下,在根据所述时间信息,向所述电子设备发送第一信息之后,还包括:获取第五时刻与所述第二时刻之间的时差;在所述时差大于重发阈值的情况下,将所述第五时刻 发送给所述电子设备;其中,所述第五时刻为所述健康数据对应的目标事件结束的实际时刻,所述第二时刻为所述目标事件结束的参考时刻。
这样可以保证向电子设备反馈的结束时刻的准确性。关于“参考时刻”,可以是在目标事件结束后给出的临时结束时刻,比如:用户睡醒后立即查看手表临时给出的睡眠时间。
本申请实施例还提供了一种信息处理方法(可应用于手机等电子设备),如图2所述,包括:
步骤21:向可穿戴设备发送时间信息,所述时间信息为用于获取用户的健康数据的时间范围信息。
健康数据可以睡眠数据等,在此不作限定。
步骤21可包括:在满足预设条件的情况下,向可穿戴设备发送时间信息;所述预设条件包括以下至少一项:可穿戴设备获取的健康数据的数据量大于或等于预设值、可穿戴设备(或电子设备)获取到第一指令;所述第一指令用于指示停止获取所述健康数据。
步骤22:接收所述可穿戴设备根据所述时间信息发送的第一信息。
第一信息可以是:可穿戴设备根据满足的条件向电子设备发送的对应信息。
步骤23:根据所述第一信息,执行数据处理操作;其中,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;或者,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻。
数据处理操作可以包括:存储数据,更新时间信息;或者,存储数据进行分析,在此不作限定。
本申请实施例中,所述信息处理方法通过向可穿戴设备发送时间信息,所述时间信息为用于获取用户的健康数据的时间范围信息;接收所述可穿戴 设备根据所述时间信息发送的第一信息;根据所述第一信息,执行数据处理操作;其中,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;或者,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻;能够支撑实现可穿戴设备将健康数据分段提前传输给电子设备,而不需要在健康数据收集结束后再开始传输,这样会大大缩减了数据同步的时间,支持更快的提供针对健康数据的相关分析展示给用户,降低延迟时长,给用户带来更好的使用体验;很好的解决了相关技术中针对用户健康数据进行处理的方案存在延迟时长大的问题。
其中,所述根据所述第一信息,执行数据处理操作,包括:在所述第一信息包括所述存储位置信息和所述数据标识的情况下,根据所述存储位置信息和所述数据标识,获取所述第一时间范围内用户的健康数据,进行存储;或者,在所述第一信息包括所述存储位置信息、所述数据标识、第一时刻和第二时刻的情况下,根据所述存储位置信息和所述数据标识,获取所述第一时间范围内用户的健康数据,进行存储;以及,拼接获取的所述数据标识对应的所有健康数据;根据所述第一时刻和第二时刻,分析拼接后的健康数据。
这样可以保证健康数据在分段传输情况下的正常处理。
本申请实施例中,所述健康数据包括:第一健康数据,以及第二健康数据与第三健康数据之间的差值;所述第一健康数据为所述第一时刻所获取的健康数据;所述第二健康数据为在第三时刻所获取的健康数据;所述第三健康数据为在第四时刻获取的健康数据;所述第三时刻与所述第四时刻相邻,所述第三时刻处于第一时刻与第二时刻以内,所述第四时刻处于所述第一时刻与所述第二时刻以内;所述根据所述第一时刻和第二时刻,分析拼接后的健康数据,包括:根据所述第一健康数据和差值,还原拼接后的健康数据;根据所述第一时刻和第二时刻,分析还原后的健康数据。
这样可以缩短数据传输时长。其中,所述第三时刻为所述第一时刻,所 述第四时刻处于所述第一时刻与所述第二时刻之间;或者,所述第三时刻处于第一时刻与第二时刻之间,所述第四时刻处于所述第一时刻与所述第二时刻之间;或者,所述第三时刻处于第一时刻与第二时刻之间,所述第四时刻为所述第二时刻。
其中,第一指令为所述健康数据对应的目标事件结束之前触发的指令,所述第二时刻为触发所述第一指令的时刻,或者所述第一指令为所述目标事件结束时触发的指令,所述第二时刻为触发所述第一指令的时刻;所述根据所述第一时刻和第二时刻,分析拼接后的健康数据,包括:根据所述第一时刻和目标时刻,分析拼接后的健康数据;所述目标时刻为触发目标指令的时刻,所述目标指令为所述目标事件结束时触发的第一指令;所述根据所述第一信息,执行数据处理操作,还包括:在所述第一指令为所述目标事件结束之前触发的指令的情况下,根据所述存储位置信息和所述数据标识,获取所述第一时间范围内用户的健康数据,并进行存储。
这样可以保证中途临时结束采集健康数据(比如用户中途出睡)的场景下仍然正常处理健康数据。
进一步的,所述根据所述第一时刻和第二时刻,分析拼接后的健康数据,包括:在接收所述第一信息之后,未接收到所述可穿戴设备发送的第五时刻的情况下,根据所述第一时刻和第二时刻,分析拼接后的健康数据;在接收所述第一信息之后,接收到所述第五时刻的情况下,根据所述第一时刻和第五时刻,分析拼接后的健康数据;其中,所述第五时刻为所述健康数据对应的目标事件结束的实际时刻,所述第二时刻为所述目标事件结束的参考时刻。
这样可以保证分析结果的准确性。关于“参考时刻”,可以是在目标事件结束后给出的临时结束时刻,比如:用户睡醒后立即查看手表临时给出的睡眠时间。
其中,所述向可穿戴设备发送时间信息,包括:将历史记录中获取所述健康数据的结束时刻,作为获取所述健康数据的起始时刻;根据系统时刻,确定获取所述健康数据的结束时刻;所述结束时刻为所述系统时刻之前的时 刻或所述系统时刻;根据所述起始时刻和所述结束时刻,得到获取用户健康数据的时间信息;向可穿戴设备发送所述时间信息。
这样可以多样化确定时间信息。具体的,所述向可穿戴设备发送时间信息,可以包括:将历史记录中(上次)获取所述健康数据的结束时刻,作为(本次)获取所述健康数据的起始时刻;根据系统(当前)时刻,确定(本次)获取所述健康数据的结束时刻;所述(本次的)结束时刻为所述系统(当前)时刻之前的时刻或所述系统(当前)时刻;根据所述(本次获取所述健康数据的)起始时刻和所述结束时刻,得到获取用户健康数据的时间信息;向可穿戴设备发送所述时间信息。
下面对本申请实施例提供的信息处理方法进行举例说明,可穿戴设备以手表为例,电子设备以手机为例,健康数据以睡眠数据(具体可为心室搏动间距RRI数据)为例。
针对上述技术问题,本申请实施例提供了一种信息处理方法,具体可实现为一种智能手表的睡眠数据同步优化方法。首先,手表在用户睡眠过程中分段将RRI数据提前同步给手机端;其次,在用户出睡后再将整段睡眠的入睡时间(对应于上述第一时刻)、出睡时间(对应于上述第二时刻)同步给手机端;最后,手机将RRI数据和入睡时间、出睡时间处理后,可通过CPC(心肺耦合分析法)算法解析出包含睡眠分期、评分的完整睡眠数据(对应于上述根据所述第一时刻和第二时刻,分析拼接后的健康数据),并回传给手表。这样会大大缩减数据同步的时间,使手表和手机能更快的提供完整睡眠数据展示给用户,给用户带来更好的使用体验。具体的,本申请实施例提供的方案涉及以下两部分
部分1、睡眠功能基本结构;
如图3所示,睡眠功能主要结构包括:手表端和手机健康应用程序(app)端,手表端又分为睡眠算法、智能传感集线器(SensorHub)、业务C端(也可称为业务处理端,用于C层业务处理)及睡眠用户界面(User Interface,UI,进行图形用户界面(Graphics User Interface,GUI)展示)。其中,手表 睡眠算法负责睡眠监测及数据上报,SensorHub负责分发算法上报的数据,业务C端进行一些业务逻辑处理,UI端进行数据展示,健康app负责睡眠数据的解析及展示。其中,图3中的SDK表示软件开发工具包(Software Development Kit);VSCP表示蓝牙传输协议;GUI表示图形用户界面;EMQ、JNI表示数据交换接口。
其中,睡眠相关信息会存在文件中,睡眠信息文件里可以是手表端7天内所有睡眠的数据信息,包含:
睡眠时间:该段睡眠的入睡、出睡时间戳,未出睡前对应的时间是0;
通用唯一识别码(Universally Unique Identifier,UUID):对应于上述数据标识,一段睡眠的唯一标识字符;
对应RRI的文件名:每段睡眠会有一个单独的RRI数据文件,用来存储该段睡眠的RRI数据,这个文件的数据量会大一些。
部分2、分段传输流程;
分段传输可理解为:将一段睡眠的RRI分为多段传输给手机,其具体流程可如图4所示,包括如下步骤:
步骤41:手表端算法检测到睡眠,生成UUID和RRI文件,持续收集RRI数据并保存到文件。
具体的,可以是:手表端睡眠算法检测到睡眠,此时会为该段睡眠生成一个UUID作为唯一标识(对应于上述数据标识),然后生成用来存储该段睡眠的RRI文件,并将文件名、UUID存入睡眠信息文件。
同时,手表端在睡眠过程中会持续收集RRI数据,将前后(任意相邻两时刻)的RRI数据做差,并将整段睡眠的首项和后面的差值存储到RRI数据文件中(就是把首项和得到的差值进行存储),这样可以减少RRI文件的体积,减少后续同步的时间。对应于上述获取第一健康数据,以及第二健康数据与第三健康数据之间的差值;存储所述第一健康数据和所述差值。
步骤42:RRI达到一定数量时,手表通知手机需要同步RRI。
具体的,可以是:手表端在睡眠中会统计已采集的RRI数量,当达到一 定量时通知手机app进行一次同步(可以发送约定好的指令进行通知);对应于上述所述预设条件包括:获取的健康数据的数据量大于或等于预设值。关于预设值的确定,比如:由于3小时以上的睡眠才能用RRI生成分期数据,因此采用3/2=1.5小时(这个与算法有关,可以是经验值,或者根据算法确定)的RRI数量,也就是每产生约8KB的数据量时通知手机。
步骤43:手机发送需要同步的时间范围给手表(对应于上述向可穿戴设备发送时间信息)。
具体的,可以是:手机端收到手表端发来的消息后,会将上一次同步的结束时间作为起始时间,本次同步的当前时间提前5min作为结束时间,发送这个同步时间范围(对应于上述第一时间范围)给手表。对应于上述将历史记录中获取所述健康数据的结束时刻,作为获取所述健康数据的起始时刻;根据系统时刻,确定获取所述健康数据的结束时刻;所述结束时刻为所述系统时刻之前的时刻;根据所述起始时刻和所述结束时刻,得到获取用户健康数据的时间信息;向可穿戴设备发送所述时间信息。
其中,在第一次同步时,可根据存储周期确定第一次开始的时间;比如周期是7天,那第一次开始时间是:手表发送消息的时间对应的之前7天的时刻,或者手机接收消息的时间对应的之前7天的时刻,或者是当前时间对应的7天之前的时刻;但并不以此为限。
关于提前5min的原因:手表出于功耗考虑,算法上报RRI不是实时的,而是缓存约1min再上报一次给应用(业务C端),因此手机请求时的截止时间一般会提前5min,避免前后两次同步时将算法还没来得及同步的RRI漏掉。
步骤44:手表读取RRI文件并逐项还原成真实RRI数据。
具体的,可以是:手表收到手机发来的时间范围后,会打开RRI文件并进行读取,由于之前保存时对数据做差处理了,因此每读取一项就会重新累加还原为RRI数据。对应于上述根据所述第一健康数据和差值,还原获取的健康数据。
其中,这里“累加还原”为了判断数据是否在时间范围内,实际存储在 同步文件中的还是首项和差值,可减少传输量。
步骤45:还原出的RRI数据在手机请求的范围之内且没有读取到文件末尾。
具体的,可以是:手表端读取并还原出RRI数据后会进行逻辑判断,如果在手机发送的范围之内且RRI文件没有读取到文件末尾,则转到步骤46写入并循环读取,否则的话转到步骤47结束本次读取。对应于上述获取目标时间范围内的所述还原得到的健康数据,作为所述第一时间范围内的健康数据。
步骤46:将读取到的数据写入安全数字卡(Secure Digital Card,SD Card,即SD卡)下的同步文件中。
具体的,可以是:手表端将该项RRI数据写入至SD Card路径下,如果是本次同步的第一次写入则可以生成一个临时文件,否则的话则在之前的文件后面追加。之后会回到步骤44循环读取RRI并写入到同步文件。对应于上述将所述第一时间范围内的健康数据对应的所述差值以及所述第一健康数据,写入同步文件中;其中,不同的所述同步文件对应不同的所述存储位置信息。
其中,同步文件可存在手表中;关于“RRI数据”,手表一边读一边写在同步文件中,在时间超出范围或者RRI文件倒末尾时结束。
步骤47:关闭RRI文件,并将同步文件名等信息发送给手机。
具体的,可以是:手表端已将满足本次同步条件的数据全部写入到了同步文件,关闭RRI文件并结束读取,然后将同步文件名、UUID等睡眠信息发送给手机。对应于上述根据所述时间信息,向所述电子设备发送第一信息。
步骤48:手机获取睡眠信息并拉取同步文件,更新请求时间窗口。
具体的,可以是:手机端收到同步信息,拉取同步文件并进行保存,同时将请求同步的时间窗口进行更新(即更新上述第一时间范围),然后等待下一次同步。
步骤49:手表获得入睡和出睡时间,通知手机来同步数据。
具体的,可以是:手表端每当已采集的RRI达到预定量时,都会重复执 行步骤42-步骤48(对应于上述重新统计继续获取的健康数据的数据量,并返回所述在满足预设条件的情况下,接收电子设备发送的时间信息),直到算法出睡后或用户主动进入手表和/或手机查看睡眠时,手表获得入睡和出睡时间,将其保存后并通知手机需要进行出睡后的同步(同步RRI数据及睡眠时间等;对应于上述所述预设条件包括:获取到第一指令)。
这里针对一些特殊的场景会有一些处理策略:
1)中途出睡的处理(可以根据用户是否使用手机或手表来确定是否中途醒来,而根据算法确定用户最终真正出睡);
如果用户睡眠过程中清醒并查看了手表后继续入睡,此时算法不会出睡,而是临时提供一个入睡、出睡时间展示给用户(对应于上述第一指令为所述健康数据对应的目标事件结束之前触发的指令,所述第二时刻为触发所述第一指令的时刻),然后将分段传输的RRI数量标志重置(就是重新开始统计RRI数据是否达到阈值)并通知手机进行同步,后面再入睡后对后面的RRI(数据)再进行分段传输直到真正出睡(对应于上述第一指令为所述目标事件结束时触发的指令,所述第二时刻为触发所述第一指令的时刻)。对应于上述在所述预设条件为获取到第一指令,且所述第一指令为所述目标事件结束之前触发的指令的情况下,在根据所述时间信息,向所述电子设备发送第一信息之后,还包括:重新统计继续获取的健康数据的数据量,并返回所述在满足预设条件的情况下,接收电子设备发送的时间信息。
2)时间回退的处理;
如果用户睡醒后立即查看手表,也是会临时给一个睡眠时间展示并同步,但是过一会算法还是会输出真正的入睡、出睡时间,如判断这个出睡时间回退大于5min(即算法给出的时间早于手表给出的临时时间),会额外再同步一次睡眠时间给手机,如小于5min(对应于上述重发阈值)则不会更新时间。对应于上述获取第五时刻与所述第二时刻之间的时差;在所述时差大于重发阈值的情况下,将所述第五时刻发送给所述电子设备;其中,所述第五时刻为所述健康数据对应的目标事件结束的实际时刻,所述第二时刻为所述目标 事件结束的参考时刻。
步骤410:手表将入睡、出睡时间及范围内的RRI数据发送给手机。
具体的,可以是:手机端收到出睡消息后,请求的结束时间(最后一段数据的结束时间)更新为当前时间向手表请求同步(出睡时算法会将RRI全部输出,因此不需要提前5min),对应于上述将历史记录中获取所述健康数据的结束时刻,作为获取所述健康数据的起始时刻;根据系统时刻,确定获取所述健康数据的结束时刻;所述结束时刻为所述系统时刻;根据所述起始时刻和所述结束时刻,得到获取用户健康数据的时间信息;向可穿戴设备发送所述时间信息。
手表会将入睡、出睡时间及满足条件范围内的RRI发送给手机(重复步骤44-47获得)。对应于上述在所述预设条件为获取到第一指令的情况下,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻。
步骤411:手机将同一段睡眠的RRI文件拼接后还原出整段睡眠的RRI。
具体的,可以是:手机端获取到睡眠时间及最后一段RRI后,将同一UUID的所有同步文件(按照文件的获取顺序)进行拼接并还原为完整RRI数据。对应于上述在所述第一信息包括所述存储位置信息、所述数据标识、第一时刻和第二时刻的情况下,根据所述存储位置信息和所述数据标识,获取所述第一时间范围内用户的健康数据,进行存储;以及,拼接获取的所述数据标识对应的所有健康数据;根据所述第一时刻和第二时刻,分析拼接后的健康数据。
本方案中,可以是:一段RRI数据,对应一个同步文件;但并不以此为限。
步骤412:手机将入睡出睡时间及对应的RRI数据送入算法解析,获得分期等数据后回传给手表。
具体的,可以是:手机将整段睡眠的RRI数据按入睡和出睡时间进行切 割整理后,放入算法SDK进行解析,然后得到睡眠分期(即浅度睡眠、深度睡眠、快速眼动睡眠等)及评分等详细信息并回传给手表。可理解为手机将针对“拼接后的健康数据”的分析结果反馈给手表。
由上,本方案提供了一种基于智能手表的睡眠数据优化方案,应用在睡眠同步上能够减少约80%的延迟时间,尤其对于蓝牙传输速率较慢的手机来说,减少同步时间能够减少用户对数据同步的感知,极大的提高用户的使用体验。
在此说明,本方案中对睡眠数据的分段同步同样可以用于其他健康数据的同步,在此不再赘述。
需要说明的是,本申请实施例提供的信息处理方法,执行主体可以为信息处理装置,或者该信息处理装置中的用于执行信息处理方法的控制模块。本申请实施例中以信息处理装置执行信息处理方法为例,说明本申请实施例提供的信息处理装置。
本申请实施例提供的信息处理装置,如图5所示,包括:
第一获取模块51,用于获取用户的健康数据;
第一接收模块52,用于在满足预设条件的情况下,接收电子设备发送的时间信息;
第一发送模块53,用于根据所述时间信息,向所述电子设备发送第一信息;
其中,所述预设条件包括以下至少一项:获取的健康数据的数据量大于或等于预设值、获取到第一指令;所述第一指令用于指示停止获取所述健康数据;
在所述预设条件为获取的健康数据的数据量大于或等于预设值的情况下,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;
在所述预设条件为获取到第一指令的情况下,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取 所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻。
其中,所述获取用户的健康数据包括:获取第一健康数据,以及第二健康数据与第三健康数据之间的差值;存储所述第一健康数据和所述差值;其中,所述第一健康数据为所述第一时刻所获取的健康数据;所述第二健康数据为在第三时刻所获取的健康数据;所述第三健康数据为在第四时刻获取的健康数据;所述第三时刻与所述第四时刻相邻,所述第三时刻处于第一时刻与第二时刻以内,所述第四时刻处于所述第一时刻与所述第二时刻以内。
进一步的,所述信息处理装置还包括:
第一处理模块,用于在接收电子设备发送的时间信息之后,根据所述第一健康数据和差值,还原获取的健康数据;第一确定模块,用于根据还原得到的健康数据,确定所述第一时间范围内的健康数据;将所述第一时间范围内的健康数据对应的所述差值以及所述第一健康数据,写入同步文件中;其中,不同的所述同步文件对应不同的所述存储位置信息。
其中,所述根据还原得到的健康数据,确定所述第一时间范围内的健康数据,包括:获取目标时间范围内的所述还原得到的健康数据,作为所述第一时间范围内的健康数据;其中,所述目标时间范围包括:所述第一时间范围的起始时刻至第一时间范围的终止时刻;或者,所述第一时间范围的起始时刻至最后一项的获取时刻,所述最后一项为获取的健康数据的最后一项,所述最后一项的获取时刻早于所述第一时间范围的终止时刻。
进一步的,所述信息处理装置还包括:
第二处理模块,用于在所述预设条件为获取的健康数据的数据量大于或等于预设值的情况下,在根据所述时间信息,向所述电子设备发送第一信息之后,重新统计继续获取的健康数据的数据量,并返回所述在满足预设条件的情况下,接收电子设备发送的时间信息。
其中,所述第一指令为所述健康数据对应的目标事件结束之前触发的指令,所述第二时刻为触发所述第一指令的时刻,或者所述第一指令为所述目标事件结束时触发的指令,所述第二时刻为触发所述第一指令的时刻;所述 信息处理装置还包括:第三处理模块,用于在所述预设条件为获取到第一指令,且所述第一指令为所述目标事件结束之前触发的指令的情况下,在根据所述时间信息,向所述电子设备发送第一信息之后,重新统计继续获取的健康数据的数据量,并返回所述在满足预设条件的情况下,接收电子设备发送的时间信息。
进一步的,所述信息处理装置还包括:
第二获取模块,用于在所述预设条件为获取到第一指令的情况下,在根据所述时间信息,向所述电子设备发送第一信息之后,获取第五时刻与所述第二时刻之间的时差;第二发送模块,用于在所述时差大于重发阈值的情况下,将所述第五时刻发送给所述电子设备;其中,所述第五时刻为所述健康数据对应的目标事件结束的实际时刻,所述第二时刻为所述目标事件结束的参考时刻。
本申请实施例中,所述信息处理装置通过获取用户的健康数据;在满足预设条件的情况下,接收电子设备发送的时间信息;根据所述时间信息,向所述电子设备发送第一信息;其中,所述预设条件包括以下至少一项:获取的健康数据的数据量大于或等于预设值、获取到第一指令;所述第一指令用于指示停止获取所述健康数据;在所述预设条件为获取的健康数据的数据量大于或等于预设值的情况下,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;在所述预设条件为获取到第一指令的情况下,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻;能够实现将健康数据分段提前传输给电子设备,而不需要在健康数据收集结束后再开始传输,这样会大大缩减了数据同步的时间,支持更快的提供针对健康数据的相关分析展示给用户,降低延迟时长,给用户带来更好的使用体验;很好的解决了相关技术中针对用户健康数据进行处理的方案存在延迟时长大的问题。
本申请实施例中的信息处理装置可以是装置,也可以是可穿戴设备中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的信息处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为苹果移动设备操作系统(iPhone Operation System,iOS)操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的信息处理装置能够实现图1、图3和图4的方法实施例实现的各个过程,为避免重复,这里不再赘述。
本申请实施例还提供了一种信息处理装置,如图6所示,包括:
第三发送模块61,用于向可穿戴设备发送时间信息,所述时间信息为用于获取用户的健康数据的时间范围信息;
第二接收模块62,用于接收所述可穿戴设备根据所述时间信息发送的第一信息;
第一执行模块63,用于根据所述第一信息,执行数据处理操作;
其中,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;或者,
所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻。
其中,所述根据所述第一信息,执行数据处理操作,包括:在所述第一 信息包括所述存储位置信息和所述数据标识的情况下,根据所述存储位置信息和所述数据标识,获取所述第一时间范围内用户的健康数据,进行存储;或者,在所述第一信息包括所述存储位置信息、所述数据标识、第一时刻和第二时刻的情况下,根据所述存储位置信息和所述数据标识,获取所述第一时间范围内用户的健康数据,进行存储;以及,拼接获取的所述数据标识对应的所有健康数据;根据所述第一时刻和第二时刻,分析拼接后的健康数据。
本申请实施例中,所述健康数据包括:第一健康数据,以及第二健康数据与第三健康数据之间的差值;所述第一健康数据为所述第一时刻所获取的健康数据;所述第二健康数据为在第三时刻所获取的健康数据;所述第三健康数据为在第四时刻获取的健康数据;所述第三时刻与所述第四时刻相邻,所述第三时刻处于第一时刻与第二时刻以内,所述第四时刻处于所述第一时刻与所述第二时刻以内;所述根据所述第一时刻和第二时刻,分析拼接后的健康数据,包括:根据所述第一健康数据和差值,还原拼接后的健康数据;根据所述第一时刻和第二时刻,分析还原后的健康数据。
其中,第一指令为所述健康数据对应的目标事件结束之前触发的指令,所述第二时刻为触发所述第一指令的时刻,或者所述第一指令为所述目标事件结束时触发的指令,所述第二时刻为触发所述第一指令的时刻;所述根据所述第一时刻和第二时刻,分析拼接后的健康数据,包括:根据所述第一时刻和目标时刻,分析拼接后的健康数据;所述目标时刻为触发目标指令的时刻,所述目标指令为所述目标事件结束时触发的第一指令;所述根据所述第一信息,执行数据处理操作,还包括:在所述第一指令为所述目标事件结束之前触发的指令的情况下,根据所述存储位置信息和所述数据标识,获取所述第一时间范围内用户的健康数据,并进行存储。
本申请实施例中,所述根据所述第一时刻和第二时刻,分析拼接后的健康数据,包括:在接收所述第一信息之后,未接收到所述可穿戴设备发送的第五时刻的情况下,根据所述第一时刻和第二时刻,分析拼接后的健康数据;在接收所述第一信息之后,接收到所述第五时刻的情况下,根据所述第一时 刻和第五时刻,分析拼接后的健康数据;其中,所述第五时刻为所述健康数据对应的目标事件结束的实际时刻,所述第二时刻为所述目标事件结束的参考时刻。
其中,所述向可穿戴设备发送时间信息,包括:将历史记录中获取所述健康数据的结束时刻,作为获取所述健康数据的起始时刻;根据系统时刻,确定获取所述健康数据的结束时刻;所述结束时刻为所述系统时刻之前的时刻或所述系统时刻;根据所述起始时刻和所述结束时刻,得到获取用户健康数据的时间信息;向可穿戴设备发送所述时间信息。
本申请实施例中,所述信息处理装置通过向可穿戴设备发送时间信息,所述时间信息为用于获取用户的健康数据的时间范围信息;接收所述可穿戴设备根据所述时间信息发送的第一信息;根据所述第一信息,执行数据处理操作;其中,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;或者,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻;能够支撑实现可穿戴设备将健康数据分段提前传输给电子设备,而不需要在健康数据收集结束后再开始传输,这样会大大缩减了数据同步的时间,支持更快的提供针对健康数据的相关分析展示给用户,降低延迟时长,给用户带来更好的使用体验;很好的解决了相关技术中针对用户健康数据进行处理的方案存在延迟时长大的问题。
本申请实施例中的信息处理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜 员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的信息处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的信息处理装置能够实现图2至图4的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图7所示,本申请实施例还提供一种可穿戴设备70,包括处理器71,存储器72,存储在存储器72上并可在所述处理器71上运行的程序或指令,该程序或指令被处理器71执行时实现上述图1信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的可穿戴设备包括上述所述的移动电子设备和非移动电子设备。
可选地,如图8所示,本申请实施例还提供一种电子设备80,包括处理器81,存储器82,存储在存储器82上并可在所述处理器81上运行的程序或指令,该程序或指令被处理器81执行时实现上述图2信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图9为实现本申请实施例的一种可穿戴设备的硬件结构示意图。
该可穿戴设备90包括但不限于:射频单元91、网络模块92、音频输出单元93、输入单元94、传感器95、显示单元96、用户输入单元97、接口单元98、存储器99、以及处理器910等部件。
本领域技术人员可以理解,可穿戴设备90还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的可穿戴设备结构并不构成对可穿戴设备的限定,可穿戴设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再 赘述。
其中,处理器910,用于获取用户的健康数据;在满足预设条件的情况下,通过射频单元91接收电子设备发送的时间信息;根据所述时间信息,通过射频单元91向所述电子设备发送第一信息;其中,所述预设条件包括以下至少一项:获取的健康数据的数据量大于或等于预设值、获取到第一指令;所述第一指令用于指示停止获取所述健康数据;在所述预设条件为获取的健康数据的数据量大于或等于预设值的情况下,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;在所述预设条件为获取到第一指令的情况下,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻。
本申请实施例中,所述信息处理方法通过获取用户的健康数据;在满足预设条件的情况下,接收电子设备发送的时间信息;根据所述时间信息,向所述电子设备发送第一信息;其中,所述预设条件包括以下至少一项:获取的健康数据的数据量大于或等于预设值、获取到第一指令;所述第一指令用于指示停止获取所述健康数据;在所述预设条件为获取的健康数据的数据量大于或等于预设值的情况下,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;在所述预设条件为获取到第一指令的情况下,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻;能够实现将健康数据分段提前传输给电子设备,而不需要在健康数据收集结束后再开始传输,这样会大大缩减了数据同步的时间,支持更快的提供针对健康数据的相关分析展示给用户,降低延迟时长,给用户带来更好的使用体验;很好的解决了相关技术中针对用户健康数据进行处理的方案存在延迟时长大的问题。
可选地,所述获取用户的健康数据包括:获取第一健康数据,以及第二健康数据与第三健康数据之间的差值;存储所述第一健康数据和所述差值;其中,所述第一健康数据为所述第一时刻所获取的健康数据;所述第二健康数据为在第三时刻所获取的健康数据;所述第三健康数据为在第四时刻获取的健康数据;所述第三时刻与所述第四时刻相邻,所述第三时刻处于第一时刻与第二时刻以内,所述第四时刻处于所述第一时刻与所述第二时刻以内。
可选地,处理器910还用于,在接收电子设备发送的时间信息之后,根据所述第一健康数据和差值,还原获取的健康数据;根据还原得到的健康数据,确定所述第一时间范围内的健康数据;将所述第一时间范围内的健康数据对应的所述差值以及所述第一健康数据,写入同步文件中;其中,不同的所述同步文件对应不同的所述存储位置信息。
可选地,所述根据还原得到的健康数据,确定所述第一时间范围内的健康数据,包括:获取目标时间范围内的所述还原得到的健康数据,作为所述第一时间范围内的健康数据;其中,所述目标时间范围包括:所述第一时间范围的起始时刻至第一时间范围的终止时刻;或者,所述第一时间范围的起始时刻至最后一项的获取时刻,所述最后一项为获取的健康数据的最后一项,所述最后一项的获取时刻早于所述第一时间范围的终止时刻。
可选地,处理器910还用于,在所述预设条件为获取的健康数据的数据量大于或等于预设值的情况下,在根据所述时间信息,通过射频单元91向所述电子设备发送第一信息之后,重新统计继续获取的健康数据的数据量,并返回所述在满足预设条件的情况下,通过射频单元91接收电子设备发送的时间信息。
可选地,所述第一指令为所述健康数据对应的目标事件结束之前触发的指令,所述第二时刻为触发所述第一指令的时刻,或者所述第一指令为所述目标事件结束时触发的指令,所述第二时刻为触发所述第一指令的时刻;
处理器910还用于,在所述预设条件为获取到第一指令,且所述第一指令为所述目标事件结束之前触发的指令的情况下,在根据所述时间信息,通 过射频单元91向所述电子设备发送第一信息之后,重新统计继续获取的健康数据的数据量,并返回所述在满足预设条件的情况下,通过射频单元91接收电子设备发送的时间信息。
可选地,处理器910还用于,在所述预设条件为获取到第一指令的情况下,在根据所述时间信息,通过射频单元91向所述电子设备发送第一信息之后,获取第五时刻与所述第二时刻之间的时差;在所述时差大于重发阈值的情况下,通过射频单元91将所述第五时刻发送给所述电子设备;其中,所述第五时刻为所述健康数据对应的目标事件结束的实际时刻,所述第二时刻为所述目标事件结束的参考时刻。
本方案能够实现通过减少数据同步时间来减少用户对数据同步的感知,极大的提高用户的使用体验。
应理解的是,本申请实施例中,输入单元94可以包括图形处理器(Graphics Processing Unit,GPU)941和麦克风942,图形处理器941对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元96可包括显示面板961,可以采用液晶显示器、有机发光二极管等形式来配置显示面板961。用户输入单元97包括触控面板971以及其他输入设备972。触控面板971,也称为触摸屏。触控面板971可包括触摸检测装置和触摸控制器两个部分。其他输入设备972可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器99可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。
图10为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、 接口单元108、存储器109、以及处理器1010等部件。
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器1010,用于通过射频单元101向可穿戴设备发送时间信息,所述时间信息为用于获取用户的健康数据的时间范围信息;通过射频单元101接收所述可穿戴设备根据所述时间信息发送的第一信息;根据所述第一信息,执行数据处理操作;其中,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;或者,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻。
本申请实施例中,所述信息处理方法通过向可穿戴设备发送时间信息,所述时间信息为用于获取用户的健康数据的时间范围信息;接收所述可穿戴设备根据所述时间信息发送的第一信息;根据所述第一信息,执行数据处理操作;其中,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;或者,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻;能够支撑实现可穿戴设备将健康数据分段提前传输给电子设备,而不需要在健康数据收集结束后再开始传输,这样会大大缩减了数据同步的时间,支持更快的提供针对健康数据的相关分析展示给用户,降低延迟时长,给用户带来更好的使用体验;很好的解决了相关技术中针对用户健康数据进行处理的方案存在延迟时长大的问题。
可选地,所述根据所述第一信息,执行数据处理操作,包括:在所述第 一信息包括所述存储位置信息和所述数据标识的情况下,根据所述存储位置信息和所述数据标识,获取所述第一时间范围内用户的健康数据,进行存储;或者,在所述第一信息包括所述存储位置信息、所述数据标识、第一时刻和第二时刻的情况下,根据所述存储位置信息和所述数据标识,获取所述第一时间范围内用户的健康数据,进行存储;以及,拼接获取的所述数据标识对应的所有健康数据;根据所述第一时刻和第二时刻,分析拼接后的健康数据。
可选地,所述健康数据包括:第一健康数据,以及第二健康数据与第三健康数据之间的差值;所述第一健康数据为所述第一时刻所获取的健康数据;所述第二健康数据为在第三时刻所获取的健康数据;所述第三健康数据为在第四时刻获取的健康数据;所述第三时刻与所述第四时刻相邻,所述第三时刻处于第一时刻与第二时刻以内,所述第四时刻处于所述第一时刻与所述第二时刻以内;所述根据所述第一时刻和第二时刻,分析拼接后的健康数据,包括:根据所述第一健康数据和差值,还原拼接后的健康数据;根据所述第一时刻和第二时刻,分析还原后的健康数据。
可选地,第一指令为所述健康数据对应的目标事件结束之前触发的指令,所述第二时刻为触发所述第一指令的时刻,或者所述第一指令为所述目标事件结束时触发的指令,所述第二时刻为触发所述第一指令的时刻;所述根据所述第一时刻和第二时刻,分析拼接后的健康数据,包括:根据所述第一时刻和目标时刻,分析拼接后的健康数据;所述目标时刻为触发目标指令的时刻,所述目标指令为所述目标事件结束时触发的第一指令;所述根据所述第一信息,执行数据处理操作,还包括:在所述第一指令为所述目标事件结束之前触发的指令的情况下,根据所述存储位置信息和所述数据标识,获取所述第一时间范围内用户的健康数据,并进行存储。
可选地,所述根据所述第一时刻和第二时刻,分析拼接后的健康数据,包括:在通过射频单元101接收所述第一信息之后,未接收到所述可穿戴设备发送的第五时刻的情况下,根据所述第一时刻和第二时刻,分析拼接后的健康数据;在通过射频单元101接收所述第一信息之后,接收到所述第五时 刻的情况下,根据所述第一时刻和第五时刻,分析拼接后的健康数据;其中,所述第五时刻为所述健康数据对应的目标事件结束的实际时刻,所述第二时刻为所述目标事件结束的参考时刻。
可选地,所述向可穿戴设备发送时间信息,包括:将历史记录中获取所述健康数据的结束时刻,作为获取所述健康数据的起始时刻;根据系统时刻,确定获取所述健康数据的结束时刻;所述结束时刻为所述系统时刻之前的时刻或所述系统时刻;根据所述起始时刻和所述结束时刻,得到获取用户健康数据的时间信息;向可穿戴设备发送所述时间信息。
本方案能够实现通过减少数据同步时间来减少用户对数据同步的感知,极大的提高用户的使用体验。
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图1侧信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的可穿戴设备中的处理器。所述 可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图2侧信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (18)

  1. 一种信息处理方法,包括:
    获取用户的健康数据;
    在满足预设条件的情况下,接收电子设备发送的时间信息;
    根据所述时间信息,向所述电子设备发送第一信息;
    其中,所述预设条件包括以下至少一项:获取的健康数据的数据量大于或等于预设值、获取到第一指令;所述第一指令用于指示停止获取所述健康数据;
    在所述预设条件为获取的健康数据的数据量大于或等于预设值的情况下,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;
    在所述预设条件为获取到第一指令的情况下,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻。
  2. 根据权利要求1所述的信息处理方法,其中,所述获取用户的健康数据包括:
    获取第一健康数据,以及第二健康数据与第三健康数据之间的差值;
    存储所述第一健康数据和所述差值;
    其中,所述第一健康数据为所述第一时刻所获取的健康数据;
    所述第二健康数据为在第三时刻所获取的健康数据;
    所述第三健康数据为在第四时刻获取的健康数据;
    所述第三时刻与所述第四时刻相邻,所述第三时刻处于第一时刻与第二时刻以内,所述第四时刻处于所述第一时刻与所述第二时刻以内。
  3. 根据权利要求2所述的信息处理方法,其中,在接收电子设备发送的时间信息之后,还包括:
    根据所述第一健康数据和差值,还原获取的健康数据;
    根据还原得到的健康数据,确定所述第一时间范围内的健康数据;
    将所述第一时间范围内的健康数据对应的所述差值以及所述第一健康数据,写入同步文件中;
    其中,不同的所述同步文件对应不同的所述存储位置信息。
  4. 根据权利要求3所述的信息处理方法,其中,所述根据还原得到的健康数据,确定所述第一时间范围内的健康数据,包括:
    获取目标时间范围内的所述还原得到的健康数据,作为所述第一时间范围内的健康数据;
    其中,所述目标时间范围包括:所述第一时间范围的起始时刻至第一时间范围的终止时刻;或者,
    所述第一时间范围的起始时刻至最后一项的获取时刻,所述最后一项为获取的健康数据的最后一项,所述最后一项的获取时刻早于所述第一时间范围的终止时刻。
  5. 根据权利要求1所述的信息处理方法,其中,在所述预设条件为获取的健康数据的数据量大于或等于预设值的情况下,在根据所述时间信息,向所述电子设备发送第一信息之后,还包括:
    重新统计继续获取的健康数据的数据量,并返回所述在满足预设条件的情况下,接收电子设备发送的时间信息。
  6. 根据权利要求1所述的信息处理方法,其中,所述第一指令为所述健康数据对应的目标事件结束之前触发的指令,所述第二时刻为触发所述第一指令的时刻,或者所述第一指令为所述目标事件结束时触发的指令,所述第二时刻为触发所述第一指令的时刻;
    在所述预设条件为获取到第一指令,且所述第一指令为所述目标事件结束之前触发的指令的情况下,在根据所述时间信息,向所述电子设备发送第一信息之后,还包括:
    重新统计继续获取的健康数据的数据量,并返回所述在满足预设条件的 情况下,接收电子设备发送的时间信息。
  7. 根据权利要求1所述的信息处理方法,其中,在所述预设条件为获取到第一指令的情况下,在根据所述时间信息,向所述电子设备发送第一信息之后,还包括:
    获取第五时刻与所述第二时刻之间的时差;
    在所述时差大于重发阈值的情况下,将所述第五时刻发送给所述电子设备;
    其中,所述第五时刻为所述健康数据对应的目标事件结束的实际时刻,所述第二时刻为所述目标事件结束的参考时刻。
  8. 一种信息处理方法,包括:
    向可穿戴设备发送时间信息,所述时间信息为用于获取用户的健康数据的时间范围信息;
    接收所述可穿戴设备根据所述时间信息发送的第一信息;
    根据所述第一信息,执行数据处理操作;
    其中,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;或者,
    所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻。
  9. 根据权利要求8所述的信息处理方法,其中,所述根据所述第一信息,执行数据处理操作,包括:
    在所述第一信息包括所述存储位置信息和所述数据标识的情况下,根据所述存储位置信息和所述数据标识,获取所述第一时间范围内用户的健康数据,进行存储;
    或者,在所述第一信息包括所述存储位置信息、所述数据标识、第一时刻和第二时刻的情况下,根据所述存储位置信息和所述数据标识,获取所述 第一时间范围内用户的健康数据,进行存储;以及,
    拼接获取的所述数据标识对应的所有健康数据;
    根据所述第一时刻和第二时刻,分析拼接后的健康数据。
  10. 根据权利要求9所述的信息处理方法,其中,所述健康数据包括:第一健康数据,以及第二健康数据与第三健康数据之间的差值;所述第一健康数据为所述第一时刻所获取的健康数据;所述第二健康数据为在第三时刻所获取的健康数据;所述第三健康数据为在第四时刻获取的健康数据;所述第三时刻与所述第四时刻相邻,所述第三时刻处于第一时刻与第二时刻以内,所述第四时刻处于所述第一时刻与所述第二时刻以内;
    所述根据所述第一时刻和第二时刻,分析拼接后的健康数据,包括:
    根据所述第一健康数据和差值,还原拼接后的健康数据;
    根据所述第一时刻和第二时刻,分析还原后的健康数据。
  11. 根据权利要求9所述的信息处理方法,其中,第一指令为所述健康数据对应的目标事件结束之前触发的指令,所述第二时刻为触发所述第一指令的时刻,或者所述第一指令为所述目标事件结束时触发的指令,所述第二时刻为触发所述第一指令的时刻;
    所述根据所述第一时刻和第二时刻,分析拼接后的健康数据,包括:
    根据所述第一时刻和目标时刻,分析拼接后的健康数据;所述目标时刻为触发目标指令的时刻,所述目标指令为所述目标事件结束时触发的第一指令;
    所述根据所述第一信息,执行数据处理操作,还包括:
    在所述第一指令为所述目标事件结束之前触发的指令的情况下,根据所述存储位置信息和所述数据标识,获取所述第一时间范围内用户的健康数据,并进行存储。
  12. 根据权利要求9所述的信息处理方法,其中,所述根据所述第一时刻和第二时刻,分析拼接后的健康数据,包括:
    在接收所述第一信息之后,未接收到所述可穿戴设备发送的第五时刻的 情况下,根据所述第一时刻和第二时刻,分析拼接后的健康数据;
    在接收所述第一信息之后,接收到所述第五时刻的情况下,根据所述第一时刻和第五时刻,分析拼接后的健康数据;
    其中,所述第五时刻为所述健康数据对应的目标事件结束的实际时刻,所述第二时刻为所述目标事件结束的参考时刻。
  13. 根据权利要求8所述的信息处理方法,其中,所述向可穿戴设备发送时间信息,包括:
    将历史记录中获取所述健康数据的结束时刻,作为获取所述健康数据的起始时刻;
    根据系统时刻,确定获取所述健康数据的结束时刻;所述结束时刻为所述系统时刻之前的时刻或所述系统时刻;
    根据所述起始时刻和所述结束时刻,得到获取用户健康数据的时间信息;
    向可穿戴设备发送所述时间信息。
  14. 一种信息处理装置,包括:
    第一获取模块,用于获取用户的健康数据;
    第一接收模块,用于在满足预设条件的情况下,接收电子设备发送的时间信息;
    第一发送模块,用于根据所述时间信息,向所述电子设备发送第一信息;
    其中,所述预设条件包括以下至少一项:获取的健康数据的数据量大于或等于预设值、获取到第一指令;所述第一指令用于指示停止获取所述健康数据;
    在所述预设条件为获取的健康数据的数据量大于或等于预设值的情况下,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;
    在所述预设条件为获取到第一指令的情况下,所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻。
  15. 一种信息处理装置,包括:
    第三发送模块,用于向可穿戴设备发送时间信息,所述时间信息为用于获取用户的健康数据的时间范围信息;
    第二接收模块,用于接收所述可穿戴设备根据所述时间信息发送的第一信息;
    第一执行模块,用于根据所述第一信息,执行数据处理操作;
    其中,所述第一信息包括:第一时间范围内的健康数据的存储位置信息和所述健康数据的数据标识;所述第一时间范围为所述时间信息对应的时间范围;或者,
    所述第一信息包括:所述存储位置信息、所述数据标识、第一时刻和第二时刻;所述第一时刻为获取所述健康数据的开始时刻,所述第二时刻为获取所述健康数据的停止时刻。
  16. 一种可穿戴设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-7任一项所述的信息处理方法的步骤。
  17. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求8-13任一项所述的信息处理方法的步骤。
  18. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-7任一项所述的信息处理方法的步骤;或者,
    所述程序或指令被处理器执行时实现如权利要求8-13任一项所述的信息处理方法的步骤。
PCT/CN2023/100692 2022-06-23 2023-06-16 信息处理方法、装置、可穿戴设备和电子设备 WO2023246638A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210719951.9A CN115240850A (zh) 2022-06-23 2022-06-23 信息处理方法、装置、可穿戴设备和电子设备
CN202210719951.9 2022-06-23

Publications (1)

Publication Number Publication Date
WO2023246638A1 true WO2023246638A1 (zh) 2023-12-28

Family

ID=83670288

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/100692 WO2023246638A1 (zh) 2022-06-23 2023-06-16 信息处理方法、装置、可穿戴设备和电子设备

Country Status (2)

Country Link
CN (1) CN115240850A (zh)
WO (1) WO2023246638A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115240850A (zh) * 2022-06-23 2022-10-25 维沃移动通信有限公司 信息处理方法、装置、可穿戴设备和电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016110804A1 (en) * 2015-01-06 2016-07-14 David Burton Mobile wearable monitoring systems
CN107145704A (zh) * 2017-03-27 2017-09-08 西安电子科技大学 一种面向社区的健康医疗监护、评测系统及其方法
US20180039737A1 (en) * 2016-08-02 2018-02-08 Umbra Health Corporation Patient directed data synchronization of electronic health records using a patient controlled health record
CN112509698A (zh) * 2020-12-16 2021-03-16 安徽晟东科技有限公司 一种基于大数据的健康监控管理系统
CN115240850A (zh) * 2022-06-23 2022-10-25 维沃移动通信有限公司 信息处理方法、装置、可穿戴设备和电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016110804A1 (en) * 2015-01-06 2016-07-14 David Burton Mobile wearable monitoring systems
US20180039737A1 (en) * 2016-08-02 2018-02-08 Umbra Health Corporation Patient directed data synchronization of electronic health records using a patient controlled health record
CN107145704A (zh) * 2017-03-27 2017-09-08 西安电子科技大学 一种面向社区的健康医疗监护、评测系统及其方法
CN112509698A (zh) * 2020-12-16 2021-03-16 安徽晟东科技有限公司 一种基于大数据的健康监控管理系统
CN115240850A (zh) * 2022-06-23 2022-10-25 维沃移动通信有限公司 信息处理方法、装置、可穿戴设备和电子设备

Also Published As

Publication number Publication date
CN115240850A (zh) 2022-10-25

Similar Documents

Publication Publication Date Title
US20210089525A1 (en) Dynamic updating of query result displays
CN108139958B (zh) 用于处理事件流的事件的系统和方法
EP3451193B1 (en) Electronic device and file data journaling method of electronic device
WO2023246638A1 (zh) 信息处理方法、装置、可穿戴设备和电子设备
WO2019128546A1 (zh) 应用程序处理方法、电子设备、计算机可读存储介质
WO2019109518A1 (zh) 一种数据列表的上传方法及其终端
US20190373057A1 (en) Method and device for synchronizing data, and electronic device
CN107172182A (zh) 一种消息推送方法、消息推送服务器及终端
WO2018086454A1 (zh) 页面数据处理方法和装置
US9910733B2 (en) Transaction completion in a synchronous replication environment
CN110032321A (zh) 应用程序处理方法和装置、电子设备、计算机可读存储介质
TW202105191A (zh) 訊息聚合方法及裝置
CN111158867A (zh) 时间同步处理方法、线程调度方法、装置及电子设备
JP7325480B2 (ja) 自動取引装置及びそれを含んだサイネージシステム
CN113312119B (zh) 信息同步方法及装置、计算机可读存储介质、电子设备
WO2022016845A1 (zh) 一种多节点监控方法、装置、电子设备及存储介质
US10108391B2 (en) Audio data operating method and electronic device supporting the same
WO2020232900A1 (zh) 系统测试方法及装置、计算机设备、存储介质
CN113238815A (zh) 一种接口访问控制方法、装置、设备及存储介质
WO2023236930A1 (zh) 基于ion分配器的内存分配方法、装置、电子设备和可读存储介质
US20160077945A1 (en) Storage system statistical data storage and analysis
CN115061743A (zh) 接口调用方法及装置、计算机可读介质和电子设备
EP4280565A1 (en) Sample message processing method and apparatus
WO2023279829A1 (zh) 消息延迟检测方法、装置、电子设备及存储介质
CN115640280A (zh) 数据迁移方法及装置

Legal Events

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

Ref document number: 23826287

Country of ref document: EP

Kind code of ref document: A1