WO2023217137A1 - 睡眠数据校准方法和电子设备 - Google Patents
睡眠数据校准方法和电子设备 Download PDFInfo
- Publication number
- WO2023217137A1 WO2023217137A1 PCT/CN2023/092981 CN2023092981W WO2023217137A1 WO 2023217137 A1 WO2023217137 A1 WO 2023217137A1 CN 2023092981 W CN2023092981 W CN 2023092981W WO 2023217137 A1 WO2023217137 A1 WO 2023217137A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sleep
- time period
- time
- data
- electronic device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H10/00—ICT specially adapted for the handling or processing of patient-related medical or healthcare data
- G16H10/60—ICT 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/65—ICT 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
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/48—Other medical applications
- A61B5/4806—Sleep evaluation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- This application belongs to the field of electronic technology, and specifically relates to a sleep data calibration method and electronic equipment.
- the purpose of the embodiments of the present application is to provide a sleep data calibration method and electronic device, which can solve the problem of low accuracy of sleep data obtained through sleep monitoring methods in related technologies.
- embodiments of the present application provide a sleep data calibration method, which method includes: obtaining historical usage data of an electronic device; when the electronic device and the wearable device are in a communication connection state, receiving the wearable device The first sleep data is sent; the first sleep data is calibrated according to the historical usage data to obtain the second sleep data; wherein the first sleep data is the user's first historical data obtained by the wearable device.
- the sleep data of the time period, the history The historical usage data includes the usage data of the electronic device by the user in the first historical time period obtained by the electronic device, and the electronic device and the wearable device have not used the electronic device in the first historical time period.
- the total sleep duration included in the second sleep data is less than or equal to the total sleep duration included in the first sleep data.
- a sleep data calibration device including: an acquisition module, a receiving module and a processing module; the acquisition module is used to acquire historical usage data of electronic equipment; the receiving module is used to When the electronic device and the wearable device are in a communication connection state, receive the first sleep data sent by the wearable device; the processing module is configured to calibrate the first sleep data according to the historical usage data. Process to obtain second sleep data; wherein the first sleep data is the user's sleep data in the first historical time period obtained by the wearable device, and the historical usage data includes the user's sleep data obtained by the electronic device in the first historical time period.
- the usage data of the electronic device during the first historical time period, the electronic device and the wearable device are not in a communication connection state during the first historical time period, and the second sleep data includes The total sleep duration is less than or equal to the total sleep duration included in the first sleep data.
- inventions of the present application provide an electronic device.
- the electronic device includes a processor and a memory.
- the memory stores programs or instructions that can be run on the processor.
- the programs or instructions are processed by the processor.
- the processor is executed, the steps of the method described in the first aspect are implemented.
- embodiments of the present application provide a readable storage medium.
- Programs or instructions are stored on the readable storage medium.
- the steps of the method described in the first aspect are implemented. .
- inventions 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. the method described.
- embodiments of the present application provide a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method as described in the first aspect.
- embodiments of the present application provide an electronic device configured to use To implement the steps of the method of the first aspect.
- the historical usage data of the electronic device can be obtained; when the electronic device and the wearable device are in a communication connection state, the first sleep data sent by the wearable device is received; and the first sleep data is processed based on the historical usage data.
- the usage data of the electronic device during the first historical time period, the electronic device and the wearable device are not in a communication connection state during the first historical time period, and the sleep included in the second sleep data is The total duration is less than or equal to the total sleep duration included in the first sleep data.
- the first sleep data is the data obtained by the wearable device when the electronic device and the wearable device are in a non-communication connection state
- the historical usage data includes data obtained by the electronic device when the electronic device and the wearable device are in a non-communication connection state.
- the second sleep data can be The total sleep duration included is less than or equal to the total sleep duration included in the first sleep data. That is to say, the duration of the user's use of the electronic device can be eliminated from the first sleep data based on the historical usage data of the electronic device. Therefore, the second sleep The accuracy of the data is higher than the accuracy of the first sleep data.
- Figure 1 is one of the flow diagrams of the sleep data calibration method provided by the embodiment of the present application.
- Figure 2 is the second schematic flow chart of the sleep data calibration method provided by the embodiment of the present application.
- Figure 3 is the third schematic flow chart of the sleep data calibration method provided by the embodiment of the present application.
- Figure 4(a) is one of the schematic diagrams of the calibration method of the sleep data calibration method provided by the embodiment of the present application.
- Figure 4(b) is a second schematic diagram of the calibration method of the sleep data calibration method provided by the embodiment of the present application.
- Figure 5 is a third schematic diagram of the calibration method of the sleep data calibration method provided by the embodiment of the present application.
- Figure 6 is a schematic structural diagram of a sleep data calibration device provided by an embodiment of the present application.
- Figure 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
- Figure 8 is a hardware schematic diagram of an electronic device provided by 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, and the number of objects is not limited. For example, the first object can 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 sleep data calibration method provided by the embodiment of the present application may be an electronic device or a functional module or functional entity in the electronic device that can implement the sleep data calibration method.
- the electronic device mentioned in the embodiment of the present application Including but not limited to mobile phones, tablets, computers, cameras, wearable devices, etc., the sleep data calibration method provided by the embodiment of the present application is described below by taking electronic devices as the execution subject as an example.
- this embodiment of the present application provides a sleep data calibration method, which may include steps 101 to 103:
- Step 101 The electronic device obtains historical usage data of the electronic device.
- the above historical usage data includes the user's first historical usage data obtained by the electronic device. Usage data of the electronic device during the historical time period, and the electronic device and the wearable device were not in a communication connection state during the first historical time period.
- the non-communication connection state between the electronic device and the wearable device means that two-way information communication between the electronic device and the wearable device cannot be achieved, that is, a disconnected state.
- the above-mentioned first historical time period can be the longest historical time period that the wearable device can record; it can also be a preset sleep recording period, for example, it can be 12 hours or 24 hours; it can also be input by the user. Determined time period.
- the electronic device obtains historical usage data of the electronic device, which may specifically include: obtaining operating information of the electronic device in the first historical time period, where the operating information includes at least one of the following: screen on time, receiving user input time and the running status of the foreground application; determine the historical usage data based on the running information.
- the above historical usage data may at least include information on the time the user uses the electronic device.
- the electronic device can combine the first time period (t 1 , t 2 ), the second time period (t 3 , t 4 ) and the third time period ( t 5 , t 6 ) is determined as the time period during which the user uses the electronic device, that is, historical usage data.
- the electronic device since the electronic device can determine the historical usage data based on the operating information of the electronic device in the first historical time period, it can provide a basis for the electronic device to calibrate the first sleep data based on the historical usage data.
- Step 102 When the electronic device and the wearable device are in a communication connection state, the electronic device receives the first sleep data sent by the wearable device.
- the above-mentioned first sleep data is the user's sleep data in the first historical time period obtained by the wearable device.
- the above-mentioned wearable device refers to a portable device that can be directly worn on the user or integrated into the user's clothes or accessories.
- the wearable device can be a smart watch, Bracelets, electronic socks, glasses, etc.
- the communication connection state between the electronic device and the wearable device means that two-way information communication can be achieved between the electronic device and the wearable device.
- the electronic device and the wearable device can be in a Bluetooth connection state, or they can be in the same local area network at the same time. .
- the wearable device may record the sleep data while the wearable device is in a wearing state. That is to say, when the wearable device detects that it is currently being worn by the user, it can start recording the user's sleep data.
- the electronic device when the user wants to view his or her sleep data, the electronic device can first be triggered to communicate with the wearable device. After that, while the user is in a communication connection state with the wearable device, the electronic device can receive the third sleep data in a preset manner.
- the preset method can be a user-triggered method or an automatic acquisition method.
- the user when the preset mode is the user-triggered mode, the user can make a first input to the electronic device when the electronic device and the wearable device are in a communication connection state, and the electronic device can respond to the first input by sending a message to the wearable device.
- the wearable device can send the first sleep data to the electronic device in response to the data request information, and accordingly, the electronic device can receive the first sleep data from the wearable device; when the preset mode is the automatic acquisition mode, the electronic device
- the data request information can be automatically sent to the wearable device after a successful communication connection with the wearable device, or the data request information can be automatically sent to the wearable device after a preset time of successful communication connection with the wearable device, thereby making the wearable device
- the device sends first sleep data to the electronic device.
- Step 103 The electronic device performs calibration processing on the first sleep data based on the historical usage data to obtain second sleep data.
- the total sleep duration included in the second sleep data is less than or equal to the total sleep duration included in the first sleep data.
- the above-mentioned first sleep data may include the start time and end time of the first sleep time period; the electronic device performs calibration processing on the first sleep data based on the historical usage data, which may specifically include: the electronic device performs calibration processing on the first sleep data based on the historical usage data.
- the first sleep period is obtained from the historical usage data Determine a first use time period set, the first use time period set includes at least one use time period, and each of the use time periods at least partially overlaps with the first sleep time period; thereafter, The electronic device may perform calibration processing on the start time, the end time of the first sleep time period, and the sleep time between the start time and the end time according to each use time period.
- the electronic device performs calibration processing on the first sleep data based on historical usage data to obtain the second sleep data, which may include steps 201 to 203:
- Step 201 The electronic device can determine the user's first sleep time period (s 1 , s 2 ) based on the first sleep data.
- s 1 is the starting time and s 2 is the ending time.
- Step 202 The electronic device can determine a first usage time period set [(t 1 , t 2 ), (t 3 , t 4 ), ... (t n-1 , t ) from historical usage data based on the first sleep time period. n )].
- each usage time period in the first usage time period set at least partially overlaps with the first sleep time period (s 1 , s 2 ) in time. For example, if the first sleep time period is 22:00-7:00, then one usage time period in the first usage time period set may be 21:30-22:30.
- Step 203 The electronic device can determine the start time s 1 , end time s 2 of the first sleep time period (s 1 , s 2 ) according to each use time period, and the time between the start time and the end time.
- the sleep time is calibrated.
- the start time, end time and intermediate sleep time period of the first sleep time period can be corrected according to each use time period in the first use time period set, historical usage data of the electronic device can be combined
- the sleep time obtained by the wearable device is corrected so that the sleep time period in the second sleep data is closer to the user's real sleep time period.
- the electronic device performs calibration processing on the start time, end time of the first sleep time period, and the sleep time between the start time and the end time according to each use time period. , specifically, it may include: when the first usage time period satisfies the falling asleep correction rule, updating the start time of the first sleep time period to the time end point of the first usage time period; If the time period satisfies the sleep correction rules, the The end time of the first sleep time period is updated to the time starting point of the first use time period; if the first use time period does not satisfy the falling asleep correction rule and the falling asleep correction rule, the end time is updated from the first use time period.
- the sleep time period corresponding to the first use time period is deleted from the first sleep time period; wherein the first use time period is any use time period in the first use time period set.
- the above step 203 may include steps 203a to 203e:
- Step 203a The electronic device can first determine whether the first use time period ( ti , ti +1 ) meets the sleep correction rule;
- Step 203b If the falling asleep correction rule is met, the electronic device can update the starting time s 1 to the time end point t i+ 1 of the first use time period (t i , t i+1 );
- Step 203c If the falling asleep correction rule is not satisfied, the electronic device can continue to determine whether the first use time period ( ti , t i+1 ) satisfies the falling asleep correction rule;
- Step 203d if the sleep correction rule is satisfied, the electronic device can update the end time s 2 to the time starting point t i of the first use time period (t i , ti +1 ),
- Step 203e If the sleep correction rule is not satisfied, the electronic device can delete the sleep time period corresponding to the first usage time period (t i , t i+1 ) from the first sleep time period (s 1 , s 2 ), Thus, the second sleep data is obtained.
- the sleep time period in the above second sleep data can be a continuous sleep time period or a discontinuous sleep time period.
- the sleep time period in the second sleep data may include (s 1 , ti ) and (t i+1 , s 2 ).
- the sleep time period in the second sleep data can be made closer The user’s actual sleep period.
- the above-mentioned fall asleep correction rule may include at least one of the following: the starting time is between the first usage time period, the time starting point between the first usage time period and the starting time. The time difference is less than the first threshold.
- the first usage time period included in the first usage time period set is (t 1 , t 2 ) for example, if the electronic device determines that t 1 ⁇ s 1 ⁇ t 2 , that is, the starting time s 1 is between the first use time period (t 1 , t 2 ), the electronic device can set the starting time s 1 to Time s 1 is updated to t 2 .
- the time difference between the time starting point and the start time of the first usage time period included in the fall asleep correction rule is less than the first threshold, with reference to (b) in FIG.
- the first usage time period included in the first usage time period set is Taking the time period as (t 3 , t 4 ) as an example, if the electronic device determines that the time difference (t 3 -s 1 ) between the starting time t 3 and the starting time s 1 of the first usage time period is less than the first threshold, then The electronic device can update the starting time s 1 to t 4 .
- the fall asleep correction rule includes: the starting time is between the first usage time periods, and the time difference between the time starting point of the first usage time period and the starting time is less than a first threshold.
- the electronic device may first determine whether the start time is between the first use time periods, and then determine whether the time difference between the time starting point of the first use time period and the start time is less than the first threshold.
- the above-mentioned sleep correction rule includes at least one of the following: the end time is located between the first use time periods, and the time difference between the time end of the first use time period and the end time is less than Second threshold.
- the sleep correction rule includes that the end time is between the first usage time periods
- the first usage time period included in the first usage time period set is ( t 5 , t 6 ) for example, if the electronic device determines that t 5 ⁇ s 2 ⁇ t 6 , that is, the termination time s 2 is between the first use time period (t 5 , t 6 ), the electronic device can set the termination time s 2 is updated to t 5 .
- the time difference between the time end point and the end time of the first usage time period included in the sleep correction rule is less than the second threshold, continue to refer to (b) in FIG.
- the use time period is (t 7 , t 8 ). If the electronic device determines the first use time period, If the time difference (s 2 -t 8 ) between the time end point t 8 and the end time s 2 is less than the second threshold, the electronic device can update the end time s 2 to t 7 .
- the sleep correction rule includes: the termination time is between the first usage time periods, and the time difference between the time end of the first usage time period and the termination time is less than a second threshold.
- the electronic device may first determine whether the termination time is between the first usage time periods, and then determine whether the time difference between the time end of the first usage time period and the termination time is less than the second threshold.
- the electronic device's correction of the first sleep time period according to the first use time period set will be described in detail below through a general example.
- the first use time period set includes a use time period (t 1 , t 2 ), a use time period (t 3 , t 4 ), use the time period (t 5 , t 6 ) as an example. Since the use time period (t 1 , t 2 ) satisfies the falling asleep correction rule, the electronic device can update the starting time s 1 to t 2 . Since the use time period (t 5 , t 6 ) satisfies the sleep correction rule, the electronic device can update the end time s 2 to t 5 .
- the electronic device can delete the usage time period ( (s 1 , s 2 ) from the first sleep time period (s 1 , s 2 ).
- the sleep time periods corresponding to t 3 , t 4 ), the sleep time periods in the finally obtained second sleep data may be (t 2 , t 3 ) and (t 4 , t 5 ).
- the first sleep data is data obtained by the wearable device when the electronic device and the wearable device are in a non-communication connection state
- the historical usage data includes the electronic device when the electronic device and the wearable device are in a non-communication connection state. Therefore, even if the electronic device and the wearable device are disconnected, the two data can be recorded; on the other hand, since the first sleep data can be calibrated based on historical usage data, the second sleep data can be recorded
- the total sleep duration included in the sleep data is less than or equal to the total sleep duration included in the first sleep data. That is to say, the duration of the user's use of the electronic device can be eliminated from the first sleep data based on the historical usage data of the electronic device. Therefore, The accuracy of the second sleep data is higher than the accuracy of the first sleep data.
- the execution subject can calibrate the sleep data. standard device.
- the sleep data calibration method performed by the sleep data calibration device is used as an example to illustrate the sleep data calibration device provided by the embodiment of the present application.
- the embodiment of the present application also provides a sleep data calibration device 600, which includes: an acquisition module 601, a receiving module 602, and a processing module 603; the acquisition module 601 is used to acquire historical usage data of electronic equipment;
- the receiving module 602 is configured to receive the first sleep data sent by the wearable device when the electronic device and the wearable device are in a communication connection state;
- the processing module 603 is configured to use the historical usage data according to the Perform calibration processing on the first sleep data to obtain second sleep data; wherein the first sleep data is the user's sleep data in the first historical time period obtained by the wearable device, and the historical usage data includes the
- the electronic device obtains the usage data of the electronic device by the user during the first historical time period, and the electronic device and the wearable device are not in a communication connection state during the first historical time period,
- the total sleep duration included in the second sleep data is less than or equal to the total sleep duration included in the first sleep data.
- the first sleep data includes the start time and end time of the first sleep time period; the processing module 603 is specifically configured to: determine the first sleep time period from the historical usage data according to the first sleep time period.
- a set of use time periods, the first set of use time periods includes at least one use time period, and each use time period at least partially overlaps with the first sleep time period; according to each use time period respectively The time period performs calibration processing on the start time, end time of the first sleep time period, and the sleep time between the start time and the end time.
- the processing module 603 is specifically configured to: update the starting time of the first sleep time period to the first use time period when the first use time period satisfies the falling asleep correction rule. Time end point; when the first use time period satisfies the sleep correction rule, update the end time of the first sleep time period to the time starting point of the first use time period; in the first use time period If the time period does not satisfy the falling asleep correction rule and the sleeping out correction rule, delete the sleep time period corresponding to the first use time period from the first sleep time period; wherein, the first use time period The time period is any one of the first use time period sets. Use time period.
- the fall asleep correction rule includes at least one of the following: the starting time is between the first usage time period, the time starting point of the first usage time period and the starting time.
- the time difference is less than the first threshold;
- the sleep correction rule includes at least one of the following: the end time is between the first use time period, and the time end point of the first use time period is between the end time and the end time.
- the time difference is less than the second threshold.
- the acquisition module 601 is also used to acquire the operation information of the electronic device in the first historical time period.
- the operation information includes at least one of the following: screen turning time, user input receiving time and foreground time.
- the running status of the application; the processing module 603 is also used to determine the historical usage data according to the running information.
- the first sleep data is data obtained by the wearable device when the electronic device and the wearable device are in a non-communication connection state
- the historical usage data includes the electronic device when the electronic device and the wearable device are in a non-communication connection state. Therefore, even if the electronic device and the wearable device are disconnected, the two data can be recorded; on the other hand, since the first sleep data can be calibrated based on historical usage data, the second sleep data can be recorded
- the total sleep duration included in the sleep data is less than or equal to the total sleep duration included in the first sleep data. That is to say, the duration of the user's use of the electronic device can be eliminated from the first sleep data based on the historical usage data of the electronic device. Therefore, The accuracy of the second sleep data is higher than the accuracy of the first sleep data.
- the sleep data calibration device in the embodiment of the present application may be an electronic device or a component in the electronic device, such as an integrated circuit or chip.
- the electronic device may be a terminal or other devices other than the terminal.
- the electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a mobile Internet device (MID), or augmented reality (AR)/virtual reality (VR).
- MID mobile Internet device
- AR augmented reality
- VR virtual reality
- UMPC ultra-mobile personal computers
- PDA personal digital assistants
- NAS Network Attached Storage
- PC personal computer
- TV television
- teller machine or self-service machine etc.
- the sleep data calibration 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 sleep data calibration device provided by the embodiment of the present application can implement various processes implemented by the method embodiments of Figures 1 to 5. To avoid repetition, they will not be described again here.
- this embodiment of the present application also provides an electronic device 700, including a processor 701 and a memory 702.
- the memory 702 stores programs or instructions that can be run on the processor 701.
- each step of the above sleep data calibration method embodiment 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.
- FIG. 8 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 1000 includes but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, processor 1010, etc. part.
- the electronic device 1000 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 8 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. .
- sensor 1005 is used to obtain historical usage data of electronic equipment.
- Radio frequency unit 1001 configured to receive the first sleep data sent by the wearable device when the electronic device and the wearable device are in a communication connection state
- Processor 1010 configured to calibrate the first sleep data according to the historical usage data to obtain second sleep data; wherein the first sleep data is the user's time at the first historical time obtained by the wearable device. period of sleep data, the historical usage data includes usage data of the electronic device by the user in the first historical time period obtained by the electronic device, and the electronic device and the wearable device are in the first historical time period.
- the communication connection state is not in the first historical time period, and the total sleep duration included in the second sleep data is less than or equal to the total sleep duration included in the first sleep data.
- the first sleep data is data obtained by the wearable device when the electronic device and the wearable device are in a non-communication connection state
- the historical usage data includes the electronic device when the electronic device and the wearable device are in a non-communication connection state. Therefore, even if the electronic device and the wearable device are disconnected, the two data can be recorded; on the other hand, since the first sleep data can be calibrated based on historical usage data, the second sleep data can be recorded
- the total sleep duration included in the sleep data is less than or equal to the total sleep duration included in the first sleep data. That is to say, the duration of the user's use of the electronic device can be eliminated from the first sleep data based on the historical usage data of the electronic device. Therefore, The accuracy of the second sleep data is higher than the accuracy of the first sleep data.
- the first sleep data includes the start time and end time of the first sleep time period; the processor 1010 is specifically configured to: determine the first usage time from the historical usage data according to the first sleep time period. Segment set, the first use time period set includes at least one use time period, and each use time period at least partially overlaps with the first sleep time period; according to each use time period respectively Calibration processing is performed on the start time, end time of the first sleep time period, and the sleep time between the start time and the end time.
- the start time, end time and intermediate sleep time period of the first sleep time period can be corrected according to each use time period in the first use time period set, it can be combined with the electronic device's
- the historical usage data corrects the sleep time obtained by the wearable device, so that the sleep time period in the second sleep data is closer to the user's real sleep time. interval.
- the processor 1010 is specifically configured to: update the start time of the first sleep time period to the time end point of the first use time period when the first usage time period satisfies the falling asleep correction rule. ; When the first use time period satisfies the sleep correction rule, update the end time of the first sleep time period to the time starting point of the first use time period; in the first use time period If the falling asleep correction rule and the falling asleep correction rule are not satisfied, the sleep time period corresponding to the first use time period is deleted from the first sleep time period; wherein, the first use time period It is any usage time period in the first usage time period set.
- the sleep time in the second sleep data can be corrected.
- the period is closer to the user's real sleep time period.
- the sensor 1005 is also used to obtain the operating information of the electronic device in the first historical time period.
- the operating information includes at least one of the following: screen turning time, user input receiving time, and running of foreground applications.
- Status; Processor 1010 is also configured to determine the historical usage data according to the running information.
- the electronic device can determine the historical usage data based on the operating information of the electronic device in the first historical time period, a basis can be provided for the electronic device to calibrate the first sleep data based on the historical usage data.
- the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042.
- the graphics processor 10041 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 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
- the user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072 .
- Touch panel 10071 also known as touch screen.
- the touch panel 10071 may include two parts: a touch detection device and a touch controller.
- Other input devices 10072 may include but are not It is limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, so I won’t go into details here.
- Memory 1009 may be used to store software programs as well as various data.
- the memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc.
- memory 1009 may include volatile memory or nonvolatile memory, or memory 1009 may include both volatile and nonvolatile memory.
- non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory.
- Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
- RAM Random Access Memory
- SRAM static random access memory
- DRAM dynamic random access memory
- synchronous dynamic random access memory Synchronous DRAM, SDRAM
- Double data rate synchronous dynamic random access memory Double Data Rate SDRAM, DDRSDRAM
- enhanced SDRAM synchronous dynamic random access memory
- Synch link DRAM synchronous link dynamic random access memory
- SLDRAM direct memory bus random access memory
- Direct Rambus RAM Direct Rambus RAM
- the processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. 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.
- Programs or instructions are stored on the readable storage medium.
- each process of the sleep data calibration method embodiment is implemented, and can achieve The same technical effects are not repeated here to avoid repetition.
- the processor is the processor in the electronic device described in the above embodiment.
- the readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, 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 sleep data calibration method embodiment. Each process can achieve the same technical effect. To avoid repetition, we will not go into details 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.
- Embodiments of the present application provide a computer program product.
- the program product is stored in a storage medium.
- the program product is executed by at least one processor to implement each process of the above sleep data calibration method embodiment, and can achieve the same technology. The effect will not be described here to avoid repetition.
- the embodiment of the present application also provides an electronic device.
- the electronic device is configured to implement each process of the above method embodiment and can achieve the same technical effect. To avoid duplication, the details will not be described here.
- 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
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Medical Informatics (AREA)
- Public Health (AREA)
- General Health & Medical Sciences (AREA)
- Engineering & Computer Science (AREA)
- Biophysics (AREA)
- Physics & Mathematics (AREA)
- Primary Health Care (AREA)
- Epidemiology (AREA)
- Pathology (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- Veterinary Medicine (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
Description
Claims (15)
- 一种睡眠数据校准方法,包括:获取电子设备的历史使用数据;在所述电子设备与穿戴设备处于通信连接状态的情况下,接收所述穿戴设备发送的第一睡眠数据;根据所述历史使用数据对所述第一睡眠数据进行校准处理,得到第二睡眠数据;其中,所述第一睡眠数据为所述穿戴设备获取的用户在第一历史时间段的睡眠数据,所述历史使用数据包括所述电子设备获取的所述用户在所述第一历史时间段内对所述电子设备的使用数据,所述电子设备与所述穿戴设备在所述第一历史时间段内未处于通信连接状态,所述第二睡眠数据中包括的睡眠总时长小于或等于所述第一睡眠数据中包括的睡眠总时长。
- 根据权利要求1所述的睡眠数据校准方法,其中,所述第一睡眠数据包括第一睡眠时间段的起始时间和终止时间;所述根据所述历史使用数据对所述第一睡眠数据进行校准处理,包括:根据所述第一睡眠时间段从所述历史使用数据中确定第一使用时间段集合,所述第一使用时间段集合包括至少一个使用时间段,且每个所述使用时间段均与所述第一睡眠时间段在时间上存在至少部分重合;分别根据每个所述使用时间段对所述第一睡眠时间段的起始时间、终止时间、以及所述起始时间和所述终止时间之间的睡眠时间进行校准处理。
- 根据权利要求2所述的睡眠数据校准方法,其中,所述分别根据所述每个使用时间段对所述第一睡眠时间段的起始时间、终止时间、以及所述起始时间和所述终止时间之间的睡眠时间进行校准处理,包括:在第一使用时间段满足入睡校正规则的情况下,将所述第一睡眠时间段的起始时间更新为所述第一使用时间段的时间终点;在所述第一使用时间段满足出睡校正规则的情况下,将所述第一睡眠 时间段的终止时间更新为所述第一使用时间段的时间起点;在所述第一使用时间段不满足所述入睡校正规则和所述出睡校正规则的情况下,从所述第一睡眠时间段中删除所述第一使用时间段对应的睡眠时间段;其中,所述第一使用时间段为所述第一使用时间段集合中的任一个使用时间段。
- 根据权利要求3所述的睡眠数据校准方法,其中,所述入睡校正规则包括以下至少一项:所述起始时间位于所述第一使用时间段之间,所述第一使用时间段的时间起点与所述起始时间之间的时间差小于第一阈值;所述出睡校正规则包括以下至少一项:所述终止时间位于所述第一使用时间段之间,所述第一使用时间段的时间终点与所述终止时间之间的时间差小于第二阈值。
- 根据权利要求1-4任一项所述的睡眠数据校准方法,其中,所述获取电子设备的历史使用数据,包括:获取所述电子设备在所述第一历史时间段的运行信息,所述运行信息包括以下至少一项:亮屏时间、接收用户输入时间以及前台应用的运行状态;根据所述运行信息确定所述历史使用数据。
- 一种睡眠数据校准装置,包括:获取模块、接收模块和处理模块;所述获取模块,用于获取电子设备的历史使用数据;所述接收模块,用于在所述电子设备与穿戴设备处于通信连接状态的情况下,接收所述穿戴设备发送的第一睡眠数据;所述处理模块,用于根据所述历史使用数据对所述第一睡眠数据进行校准处理,得到第二睡眠数据;其中,所述第一睡眠数据为所述穿戴设备获取的用户在第一历史时间段的睡眠数据,所述历史使用数据包括所述电子设备获取的所述用户在所述第一历史时间段内对所述电子设备的使用数据,所述电子设备与所述穿 戴设备在所述第一历史时间段内未处于通信连接状态,所述第二睡眠数据中包括的睡眠总时长小于或等于所述第一睡眠数据中包括的睡眠总时长。
- 根据权利要求6所述的睡眠数据校准装置,其中,所述第一睡眠数据包括第一睡眠时间段的起始时间和终止时间;所述处理模块,具体用于:根据所述第一睡眠时间段从所述历史使用数据中确定第一使用时间段集合,所述第一使用时间段集合包括至少一个使用时间段,且每个所述使用时间段均与所述第一睡眠时间段在时间上存在至少部分重合;分别根据每个所述使用时间段对所述第一睡眠时间段的起始时间、终止时间、以及所述起始时间和所述终止时间之间的睡眠时间进行校准处理。
- 根据权利要求7所述的睡眠数据校准装置,其中,所述处理模块,具体用于:在第一使用时间段满足入睡校正规则的情况下,将所述第一睡眠时间段的起始时间更新为所述第一使用时间段的时间终点;在所述第一使用时间段满足出睡校正规则的情况下,将所述第一睡眠时间段的终止时间更新为所述第一使用时间段的时间起点;在所述第一使用时间段不满足所述入睡校正规则和所述出睡校正规则的情况下,从所述第一睡眠时间段中删除所述第一使用时间段对应的睡眠时间段;其中,所述第一使用时间段为所述第一使用时间段集合中的任一个使用时间段。
- 根据权利要求8所述的睡眠数据校准装置,其中,所述入睡校正规则包括以下至少一项:所述起始时间位于所述第一使用时间段之间,所述第一使用时间段的时间起点与所述起始时间之间的时间差小于第一阈值;所述出睡校正规则包括以下至少一项:所述终止时间位于所述第一使用时间段之间,所述第一使用时间段的时间终点与所述终止时间之间的时间差小于第二阈值。
- 根据权利要求6-9任一项所述的睡眠数据校准装置,其中,所述获取模块,还用于获取所述电子设备在所述第一历史时间段的运行信息,所述运行信息包括以下至少一项:亮屏时间、接收用户输入时间以及前台应用的运行状态;所述处理模块,还用于根据所述运行信息确定所述历史使用数据。
- 一种电子设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项所述的睡眠数据校准方法。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一项所述的睡眠数据校准方法。
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-5任一项所述的睡眠数据校准方法。
- 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-5任一项所述的睡眠数据校准方法。
- 一种电子设备,所述电子设备被配置成用于执行如权利要求1-5任一项所述的睡眠数据校准方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210503553.3 | 2022-05-09 | ||
| CN202210503553.3A CN114974495A (zh) | 2022-05-09 | 2022-05-09 | 睡眠数据校准方法和电子设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023217137A1 true WO2023217137A1 (zh) | 2023-11-16 |
Family
ID=82980730
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/092981 Ceased WO2023217137A1 (zh) | 2022-05-09 | 2023-05-09 | 睡眠数据校准方法和电子设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN114974495A (zh) |
| WO (1) | WO2023217137A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114974495A (zh) * | 2022-05-09 | 2022-08-30 | 维沃移动通信有限公司 | 睡眠数据校准方法和电子设备 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105045386A (zh) * | 2015-06-30 | 2015-11-11 | 广东美的制冷设备有限公司 | 睡眠状态监控方法及终端、空调器系统 |
| US20160235359A1 (en) * | 2015-02-12 | 2016-08-18 | Samsung Electronics Co., Ltd. | Electronic device for inputting sleeping information and method of controlling the same |
| CN108030467A (zh) * | 2017-11-22 | 2018-05-15 | 广东思派康电子科技有限公司 | 电子手环及计算机可读存储介质 |
| CN114343587A (zh) * | 2020-09-29 | 2022-04-15 | Oppo广东移动通信有限公司 | 睡眠监测方法、装置、电子设备及计算机可读介质 |
| CN114974495A (zh) * | 2022-05-09 | 2022-08-30 | 维沃移动通信有限公司 | 睡眠数据校准方法和电子设备 |
| CN115137308A (zh) * | 2022-06-29 | 2022-10-04 | 东莞市猎声电子科技有限公司 | 一种提高智能穿戴设备睡眠算法中出入睡检测准确性的方法 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110151137B (zh) * | 2019-05-28 | 2022-03-11 | 深圳如一探索科技有限公司 | 基于数据融合的睡眠状态监测方法、装置、设备及介质 |
| CN110742580A (zh) * | 2019-09-18 | 2020-02-04 | 华为技术有限公司 | 一种睡眠状态识别方法及装置 |
| CN112401838B (zh) * | 2020-11-16 | 2023-07-14 | 上海创功通讯技术有限公司 | 一种可穿戴设备检测睡眠状态的方法及可穿戴设备 |
-
2022
- 2022-05-09 CN CN202210503553.3A patent/CN114974495A/zh active Pending
-
2023
- 2023-05-09 WO PCT/CN2023/092981 patent/WO2023217137A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160235359A1 (en) * | 2015-02-12 | 2016-08-18 | Samsung Electronics Co., Ltd. | Electronic device for inputting sleeping information and method of controlling the same |
| CN105045386A (zh) * | 2015-06-30 | 2015-11-11 | 广东美的制冷设备有限公司 | 睡眠状态监控方法及终端、空调器系统 |
| CN108030467A (zh) * | 2017-11-22 | 2018-05-15 | 广东思派康电子科技有限公司 | 电子手环及计算机可读存储介质 |
| CN114343587A (zh) * | 2020-09-29 | 2022-04-15 | Oppo广东移动通信有限公司 | 睡眠监测方法、装置、电子设备及计算机可读介质 |
| CN114974495A (zh) * | 2022-05-09 | 2022-08-30 | 维沃移动通信有限公司 | 睡眠数据校准方法和电子设备 |
| CN115137308A (zh) * | 2022-06-29 | 2022-10-04 | 东莞市猎声电子科技有限公司 | 一种提高智能穿戴设备睡眠算法中出入睡检测准确性的方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114974495A (zh) | 2022-08-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11327574B2 (en) | Method for controlling play of multimedia file and terminal device | |
| CN107272872B (zh) | 省电控制方法及相关产品 | |
| CN110795310B (zh) | 信息提醒方法和电子设备 | |
| CN108135033B (zh) | 一种蓝牙连接方法及移动终端 | |
| CN112383817B (zh) | 音量调节方法及装置 | |
| CN108174037B (zh) | 一种通知消息的提示方法和移动终端 | |
| CN110837343A (zh) | 处理快照的方法、装置及终端 | |
| WO2023061358A1 (zh) | 缓存方法、装置和电子设备 | |
| CN116033067A (zh) | 显示方法、装置、电子设备及计算机可读存储介质 | |
| WO2023284621A1 (zh) | 设置方法、装置、电子设备和存储介质 | |
| CN116225356A (zh) | 屏幕更新方法、装置、电子设备及可读存储介质 | |
| CN110221741B (zh) | 图标管理方法及终端设备 | |
| WO2025040061A1 (zh) | 截图方法、装置、电子设备及可读存储介质 | |
| WO2023217137A1 (zh) | 睡眠数据校准方法和电子设备 | |
| WO2023246714A1 (zh) | 状态确定方法和装置、电子设备及可读存储介质 | |
| WO2023030304A1 (zh) | 提示信息显示方法、装置及电子设备 | |
| CN108170360B (zh) | 一种手势功能的控制方法及移动终端 | |
| CN107908348B (zh) | 显示的方法和移动终端 | |
| CN110099170B (zh) | 图片删除方法及移动终端 | |
| CN109344124B (zh) | 一种文件发送方法及终端 | |
| CN109902232B (zh) | 显示控制方法及终端 | |
| CN107770386B (zh) | 一种闹钟设置方法、移动终端及计算机可读存储介质 | |
| WO2024104081A1 (zh) | 壁纸显示方法、装置和电子设备 | |
| CN116560727A (zh) | 数据读取方法、装置、电子设备及可读存储介质 | |
| CN111142750B (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: 23802906 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23802906 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 30.04.2025) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23802906 Country of ref document: EP Kind code of ref document: A1 |