Body temperature measurement method and electronic device

By acquiring users' exercise data and heart rate values, and combining them with skin and ambient temperature, a heart rate baseline is determined, solving the problem of insufficient accuracy of existing body temperature measurement devices during exercise and achieving higher accuracy in body temperature estimation.

CN116263361BActive Publication Date: 2026-04-10HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2021-12-15
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

Existing electronic body temperature measurement devices have low accuracy, especially when the user is in motion, the difference in heart rate characteristics leads to inaccurate estimation of body temperature.

Method used

By acquiring the user's exercise data and current heart rate value, the user's current exercise status and heart rate baseline are determined. Body temperature is estimated using a mapping relationship and corrected by combining skin temperature and ambient temperature.

Benefits of technology

It improves the accuracy of body temperature measurement, especially the estimation accuracy when the user is in motion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116263361B_ABST
    Figure CN116263361B_ABST
Patent Text Reader

Abstract

The application provides a body temperature measurement method and an electronic device, which can improve the accuracy of the measured body temperature. The method comprises: acquiring a target parameter, the target parameter comprising motion data of a user and a current heart rate value of the user; wherein the motion data is used to determine the current motion state of the user; determining the body temperature of the user according to the current motion state of the user and the current heart rate value of the user, and reminding the user of the body temperature.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic equipment technology, and in particular to a body temperature measurement method and electronic equipment. Background Technology

[0002] In daily life, users sometimes need to measure their body temperature. Therefore, various types of electronic devices for measuring body temperature (such as smartwatches, smart bracelets, and thermometers) have emerged on the market for this purpose. For example, these devices obtain a user's body temperature by detecting the temperature of a localized area of ​​skin (e.g., the skin at the site where the wearable device is worn), or by estimating body temperature by detecting heart rate. However, the accuracy of these methods is relatively low. Summary of the Invention

[0003] This application provides a body temperature measurement method and electronic device, which can improve the accuracy of the measured body temperature.

[0004] To achieve the above objectives, this application adopts the following technical solution:

[0005] In a first aspect, this application provides a body temperature measurement method applied to an electronic device. The method includes: acquiring target parameters, including a user's exercise data and the user's current heart rate; wherein the exercise data is used to determine the user's current exercise state; determining the user's body temperature based on the user's current exercise state and the user's current heart rate; and reminding the user of the body temperature.

[0006] Based on the above technical solution, electronic devices can estimate a user's body temperature by acquiring various physiological parameters such as the user's current movement state and current heart rate. Taking into account the impact of the user's movement state on their heart rate, and consequently on the estimated body temperature, can improve the accuracy of the estimated body temperature.

[0007] In one possible implementation, determining the user's body temperature based on the user's current exercise state and current heart rate includes: determining a target heart rate baseline based on the user's current exercise state, the target heart rate baseline being used to indicate the user's heart rate during the current exercise state; and determining the user's body temperature based on the user's current heart rate and the target heart rate baseline.

[0008] Based on this implementation, each user's heart rate characteristics may be different, meaning their heart rate baseline may also be different. Furthermore, for the same user, the heart rate baseline may differ under different exercise states. Therefore, the electronic device first determines the corresponding heart rate baseline based on the user's current exercise state, and then estimates the user's body temperature based on the determined heart rate baseline and the user's current heart rate value, further making the estimated body temperature more accurate.

[0009] In one possible implementation, before determining the target heart rate baseline based on the user's current exercise state, the method further includes: obtaining the user's account information; obtaining the mapping relationship between the user's different exercise states and the heart rate baseline based on the account information; and determining the target heart rate baseline based on the user's current exercise state, including: determining the target heart rate baseline based on the user's current exercise state and the mapping relationship.

[0010] Based on this implementation, each user has their own account information. When measuring a user's body temperature, the electronic device can obtain the mapping relationship between the user's different exercise states and heart rate baselines based on the user's account information. Then, based on this mapping relationship and the user's current exercise state, the corresponding heart rate baseline can be determined, which can improve the accuracy of the obtained heart rate baseline. Then, based on the determined heart rate baseline and the user's current heart rate value, the user's body temperature is estimated, further making the estimated temperature more accurate.

[0011] In one possible implementation, before determining the target heart rate baseline based on the user's current exercise state, the method further includes: if the mapping relationship between the user's different exercise states and the heart rate baseline is not obtained, reminding the user to establish the mapping relationship.

[0012] Based on this implementation, when measuring a user's body temperature, if no mapping relationship is found between the user's different exercise states and heart rate baseline, the system can prompt the user to establish this mapping relationship. This allows the user to establish the mapping relationship based on the prompt, improving the efficiency of human-computer interaction. Furthermore, it facilitates more accurate body temperature measurements in subsequent user temperature checks.

[0013] In one possible implementation, if the mapping relationship between the user's different exercise states and the heart rate baseline is not obtained, the method further includes: obtaining the user's heart rate values ​​under different exercise states; and establishing a mapping relationship based on the different exercise states and heart rate values.

[0014] Based on this implementation, each user's heart rate characteristics may differ, meaning their heart rate baseline may also vary. Furthermore, for the same user, the heart rate baseline may differ across different exercise states. Therefore, if a mapping between the user's different exercise states and their heart rate baseline is not available, the electronic device acquires the user's heart rate values ​​under different exercise states and then establishes the mapping based on these values. In other words, by establishing a heart rate baseline, the estimated body temperature becomes more accurate.

[0015] In one possible implementation, the obtained heart rate values ​​of the user under different exercise states meet the confidence requirements.

[0016] Based on this implementation method, during the process of establishing a heart rate baseline, the electronic device acquires heart rate values ​​of the user under different exercise states that meet the confidence requirements. That is, a heart rate value can only be used to establish a heart rate baseline when it meets the confidence requirements, and a heart rate value will not be used to establish a heart rate baseline when it does not meet the confidence requirements. This can improve the accuracy of the established heart rate baseline, and thus improve the accuracy of the measured body temperature when using the heart rate baseline to estimate body temperature in the future.

[0017] In one possible implementation, the confidence level is determined based on one or more factors, including the signal quality used to measure the user's heart rate and the user's current motion state.

[0018] In one possible implementation, the target parameters may include one or more of the user's target body temperature and the current ambient temperature; the method may also include: determining the user's body temperature based on the user's current movement state, the user's current heart rate, the user's target body temperature and / or the current ambient temperature.

[0019] Based on this implementation method, electronic devices can estimate a user's body temperature based on various parameters such as the user's current movement status, the user's current heart rate, the skin temperature of the user's target area, and / or the current ambient temperature, thereby improving the accuracy of the estimated body temperature.

[0020] In one possible implementation, the different motion states include: sleep state and non-sleep state.

[0021] In one possible implementation, the non-sleep state includes a low activity state, a medium activity state, and a high activity state; wherein, the low activity state refers to the state in which the user's activity level is less than a first threshold, the medium activity state refers to the state in which the user's activity level is greater than or equal to the first threshold and less than or equal to a second threshold, and the high activity state refers to the state in which the user's activity level is greater than the second threshold.

[0022] In one possible implementation, the different motion states include one or more of the following: walking slowly, walking briskly, jogging slowly, running briskly, cycling, and skipping rope.

[0023] One possible implementation involves reminding the user of their body temperature, including: displaying the body temperature; and / or, broadcasting the body temperature via voice.

[0024] In a second aspect, this application provides an electronic device comprising: a processor and a memory, the memory being coupled to the processor, the memory being used to store computer program code, the computer program code including computer instructions, wherein when the processor reads the computer instructions from the memory, the electronic device causes the electronic device to perform the method described in the first aspect above and any of its possible implementations.

[0025] Thirdly, this application provides an electronic device having the function of implementing the method described in the first aspect and any of its possible implementations. This function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described function.

[0026] Fourthly, this application provides a computer-readable storage medium storing a computer program or instructions that, when executed on a computer, cause the computer to perform the methods described in the first aspect and any of their possible implementations.

[0027] Fifthly, this application provides a computer program product comprising: a computer program or instructions that, when executed on a computer, cause the computer to perform the method described in the first aspect above and any of its possible implementations.

[0028] In a sixth aspect, embodiments of this application provide a chip system including at least one processor and at least one interface circuit. The at least one interface circuit is used to perform transceiver functions and send instructions to the at least one processor. When the at least one processor executes the instructions, the at least one processor performs the method described in the first aspect above and any of its possible implementations.

[0029] It should be noted that the technical effects of any of the possible implementations in the second to sixth aspects mentioned above can be found in the technical effects of the corresponding implementations in the first aspect, and will not be repeated here. Attached Figure Description

[0030] Figure 1 This application provides an embodiment of a schematic diagram illustrating the result of estimating a user's body temperature using an existing method.

[0031] Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0032] Figure 3 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application;

[0033] Figure 4 A software structure block diagram of an electronic device provided in an embodiment of this application;

[0034] Figure 5a This is a schematic diagram of a body temperature measurement interface provided in an embodiment of this application;

[0035] Figure 5bThis is a schematic diagram of another interface for body temperature measurement provided in an embodiment of this application;

[0036] Figure 5c This is a schematic diagram of another interface for body temperature measurement provided in an embodiment of this application;

[0037] Figure 6 This application provides a schematic diagram of a user interface for reminding users.

[0038] Figure 7 A schematic flowchart of a body temperature measurement method provided in an embodiment of this application;

[0039] Figure 8 This application provides a flowchart illustrating a method for establishing a mapping relationship between different exercise states of a user and a baseline heart rate, as illustrated in an embodiment of the present application.

[0040] Figure 9a A schematic diagram of an interface for enabling the continuous heart rate monitoring function of an electronic device, provided as an embodiment of this application;

[0041] Figure 9b A schematic diagram of another interface for enabling the continuous heart rate monitoring function of an electronic device, provided in an embodiment of this application;

[0042] Figure 9c A schematic diagram of another interface for enabling the continuous heart rate monitoring function of an electronic device, provided in an embodiment of this application;

[0043] Figure 9d A schematic diagram of another interface for enabling the continuous heart rate monitoring function of an electronic device, provided in an embodiment of this application;

[0044] Figure 9e A schematic diagram of another interface for enabling the continuous heart rate monitoring function of an electronic device, provided in an embodiment of this application;

[0045] Figure 10 A schematic diagram of a heart rate baseline provided for an embodiment of this application;

[0046] Figure 11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0047] Figure 12 This is a schematic diagram of a chip system provided in an embodiment of this application. Detailed Implementation

[0048] The body temperature measurement method and electronic device provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0049] The terms “comprising” and “having”, and any variations thereof, used in the description of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus.

[0050] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0051] In the description of this application, unless otherwise stated, "multiple" means two or more. "And / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone.

[0052] Currently, some existing methods for measuring body temperature involve directly measuring the temperature of a localized area of ​​the skin (such as the area where a wearable device with temperature measurement function is worn) to reflect the body's temperature status. However, because skin temperature is greatly affected by the external environment, the skin temperature measured in this way is not the true body temperature, and the accuracy of the measured temperature is relatively low.

[0053] Some existing methods estimate body temperature by measuring heart rate. However, the algorithm used in this method is determined by statistically analyzing the heart rate characteristics of a large number of users. For some users, their heart rate characteristics may differ from those of the majority; for example, their heart rate may be higher or lower. Therefore, this method only applies to users whose heart rate characteristics match the algorithm's expectations, meaning it only works for a subset of users. Furthermore, exercise also affects a user's heart rate; during and / or after exercise, the heart rate may be higher, in which case the method cannot estimate body temperature. Therefore, the accuracy of the body temperature measured by this method is also relatively low.

[0054] For example, such as Figure 1 As shown, Figure 1 (a) Figure 1(b) shows the body temperature data of User 1 and User 2, respectively, obtained by estimating their heart rates according to the existing scheme. Since User 1's heart rate is higher than User 2's, the estimated body temperature value of User 1 is higher. This results in a situation where User 1's actual body temperature is normal, but the measured body temperature of User 1 is higher than normal, leading to inaccurate measurement results.

[0055] Therefore, to solve the above-mentioned technical problems, this application provides a body temperature measurement method, including: an electronic device acquiring target parameters, such as user's exercise data and current heart rate value, wherein the user's exercise data is used to determine the user's current exercise state. If a mapping relationship between the user's different exercise states and a heart rate baseline is obtained, the electronic device determines a target heart rate baseline based on the mapping relationship and the user's current exercise state. The target heart rate baseline is used to indicate the user's heart rate in the current exercise state. Then, the user's body temperature is determined based on the user's current heart rate value and the target heart rate baseline, and the body temperature is displayed. It is understood that the heart rate baseline is a heart rate reference, which can be a single heart rate value or a heart rate range. For each user, their heart rate characteristics may be different, that is, the heart rate baseline may be different. Furthermore, for the same user, the heart rate baseline may be different in different exercise states. Therefore, first determining the corresponding heart rate baseline based on the user's current exercise state, and then estimating the body temperature based on the determined heart rate baseline and the user's current heart rate value, can improve the accuracy of the measured body temperature.

[0056] The body temperature measurement method provided in this application embodiment can be applied to electronic device 200, or to a system including electronic device 200.

[0057] Optionally, the electronic device 200 can be a mobile phone, an artificial intelligence (AI) device, a wearable device, an in-vehicle device, a smart home device, and / or a smart city device. Wearable devices include, but are not limited to, smartwatches, smart bracelets, smart ankle bracelets, wireless earphones, smart glasses, smart helmets, thermometers, forehead thermometers, ear thermometers, etc. This application embodiment does not impose any limitations on the specific type of the electronic device 200.

[0058] Taking electronic device 200 as an example, which is a wearable device. For instance, Figure 2 A schematic diagram of an electronic device 200 is shown, which can be worn on a user's wrist. The electronic device 200 includes a display screen 201 and a fixing strap 202. The display screen 201 is used to display the time, display body temperature, and receive user touch clicks to display other relevant content. The fixing strap 202 is used to fix the electronic device 200 to the user's wrist.

[0059] For example, Figure 3 A schematic diagram of a hardware structure of an electronic device 200 is shown.

[0060] Electronic device 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, antenna 1, antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a sensor module 280, buttons 290, a motor 291, an indicator 292, a camera 293, a display screen 294, a subscriber identification module (SIM) card interface 295, etc. The sensor module 280 may include a temperature sensor 280A, a gyroscope sensor 280B, an accelerometer sensor 280C, a photoplethysmograph (PPG) sensor 280D, a touch sensor 280E, etc.

[0061] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 200. In other embodiments of this application, the electronic device 200 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0062] Processor 210 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0063] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.

[0064] The processor 210 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. This memory can store instructions or data that the processor 210 has just used or that are used repeatedly. If the processor 210 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.

[0065] USB port 230 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, or USB Type-C port. USB port 230 can be used to connect a charger to charge electronic device 200, and can also be used for data transfer between electronic device 200 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.

[0066] The charging management module 240 is used to receive charging input from the charger. The charger can be a wireless charger or a wired charger.

[0067] The power management module 241 is used to connect the battery 242, the charging management module 240, and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240 to power the processor 210, internal memory 221, display 294, camera 293, and wireless communication module 260, etc.

[0068] The wireless communication function of electronic device 200 can be implemented through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor, and baseband processor.

[0069] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 200 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.

[0070] The mobile communication module 250 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 200. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.

[0071] The wireless communication module 260 can provide solutions for wireless communication applications on the electronic device 200, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc.

[0072] In some embodiments, antenna 1 of electronic device 200 is coupled to mobile communication module 250, and antenna 2 is coupled to wireless communication module 260, enabling electronic device 200 to communicate with networks and other devices via wireless communication technology.

[0073] Electronic device 200 implements display functions through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 210 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0074] Display screen 294 is used to display images, videos, etc. Display screen 294 includes a display panel. In some embodiments, electronic device 200 may include one or N displays screens 294, where N is a positive integer greater than 1. In some embodiments of this application, display screen 294 can be used to display a user's body temperature.

[0075] Electronic device 200 can perform shooting functions through ISP, camera 293, video codec, GPU, display screen 294 and application processor.

[0076] The external storage interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200. The external memory card communicates with the processor 210 through the external storage interface 220 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.

[0077] Internal memory 221 can be used to store computer executable program code, which includes instructions. Internal memory 221 may include a program storage area and a data storage area. Furthermore, internal memory 221 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 210 executes various functional applications and data processing of electronic device 200 by running instructions stored in internal memory 221 and / or instructions stored in memory disposed in the processor.

[0078] Electronic device 200 can implement audio functions, such as music playback and recording, through audio module 270 and application processor.

[0079] The audio module 270 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 270 can also be used for encoding and decoding audio signals. The audio module 270 includes a speaker, receiver, microphone, headphone jack, etc. In some embodiments of this application, the speaker in the audio module 270 can be used to announce the user's body temperature via voice.

[0080] Temperature sensor 280A is used to detect temperature. In some embodiments, electronic device 200 uses the temperature detected by temperature sensor 280A to execute a temperature processing strategy. For example, when the temperature reported by temperature sensor 280A exceeds a threshold, electronic device 200 reduces the performance of the processor located near temperature sensor 280A to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is below another threshold, electronic device 200 heats battery 242 to prevent abnormal shutdown of electronic device 200 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, electronic device 200 boosts the output voltage of battery 242 to prevent abnormal shutdown due to low temperature. In some embodiments of this application, electronic device 200 may be equipped with one temperature sensor 280A for detecting user's skin temperature or for detecting the current ambient temperature. In other embodiments of this application, electronic device 200 may be equipped with multiple temperature sensors 280A, some of which are used to detect user's skin temperature, others for detecting the current ambient temperature, etc.

[0081] The gyroscope sensor 280B can be used to determine the motion attitude of the electronic device 200. In some embodiments, the gyroscope sensor 280B can determine the angular velocity of the electronic device 200 around three axes (i.e., the x, y, and z axes). The gyroscope sensor 280B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 280B detects the angle of the shake of the electronic device 200, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device 200 by moving in the opposite direction, thus achieving image stabilization. The gyroscope sensor 280B can also be used in navigation and motion-sensing game scenarios. In some embodiments of this application, the gyroscope sensor 280B can be used to collect user motion data.

[0082] The accelerometer 280C can detect the magnitude of the acceleration of the electronic device 200 in various directions (generally three axes). When the electronic device 200 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of the electronic device and applied to applications such as screen orientation switching and pedometers. In some embodiments of this application, the accelerometer 280C can also be used to collect user motion data.

[0083] The PPG sensor 280D measures heart rate and other biometrics using PPG technology. PPG is a method of shining light into the skin and measuring light scattering caused by blood flow. When hemodynamics change, such as changes in heart rate or cardiac output, the light entering the body will predictably scatter. In some embodiments of this application, the processor 210 determines the user's heart rate by processing the signals sensed by the PPG sensor.

[0084] Touch sensor 280E, also known as a "touch device," can be located on display screen 294. The touch sensor 280E and display screen 294 together form a touchscreen, also known as a "touchscreen." Touch sensor 280E detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 294. In other embodiments, touch sensor 280E may also be located on the surface of electronic device 200, in a different position than display screen 294.

[0085] Optionally, the sensor module 280 may also include a pressure sensor, a barometric pressure sensor, a magnetic sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, an ambient light sensor, a bone conduction sensor, etc.

[0086] Buttons 290 include a power button, volume buttons, etc. Buttons 290 can be mechanical buttons or touch-sensitive buttons. Electronic device 200 can receive button input and generate key signal inputs related to user settings and function control of electronic device 200.

[0087] Motor 291 can generate vibration alerts. Motor 291 can be used for incoming call vibration alerts or for touch vibration feedback.

[0088] Indicator 292 can be an indicator light, which can be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0089] The SIM card interface 295 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 295 to make contact with or separate from the electronic device 200.

[0090] The software system of electronic device 200 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This embodiment of the invention uses the layered architecture Android system as an example to exemplify the software structure of electronic device 200.

[0091] Figure 4 A software structure block diagram of an electronic device 200 provided in an embodiment of this application is shown.

[0092] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.

[0093] The application layer can include a series of application packages.

[0094] like Figure 4 As shown, the application package can include applications such as calendar, call, map, navigation, Bluetooth, music, SMS, and temperature measurement.

[0095] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0096] like Figure 4 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

[0097] The window manager is used to manage windowed applications. It can retrieve screen size, lock the screen, capture screenshots, and more.

[0098] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.

[0099] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.

[0100] The phone manager is used to provide communication functions for electronic devices 200. For example, it manages call status (including connection and disconnection).

[0101] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.

[0102] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.

[0103] The Android Runtime consists of core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

[0104] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.

[0105] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0106] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.

[0107] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0108] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.

[0109] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0110] A 2D graphics engine is a graphics engine for 2D drawing.

[0111] The kernel layer is the layer between hardware and software. The kernel layer includes at least the display driver, sensor driver, and Bluetooth driver.

[0112] The following example, using a body temperature measurement scenario, illustrates the workflow of the software and hardware of electronic device 200. When touch sensor 280E receives a touch operation, a corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates and timestamp information of the touch operation). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. Taking a single-click operation as an example, where the control corresponding to the single-click operation is the control that starts the temperature measurement function, the temperature measurement application calls the interface of the application framework layer to obtain the raw input event, starts the temperature measurement function, and calls the kernel layer to start the sensor driver. The sensor (e.g., accelerometer, gyroscope, PPG sensor, etc.) obtains target parameters, including the user's motion data and the user's current heart rate. The user's motion data is used to determine the user's current motion state. The processor 210 determines the user's body temperature based on the current motion state and the user's current heart rate. Then, the kernel layer's display driver is started, driving the display screen 294 to display the user's body temperature. And / or, start the kernel-level audio driver to drive the speaker in audio module 270 to announce the user's body temperature.

[0113] In some embodiments, if a mapping relationship between different user movement states and heart rate baselines is obtained, the processor 210 determines the corresponding heart rate baseline based on the user's current movement state obtained by the sensor and the mapping relationship, and calculates the user's body temperature based on the user's current heart rate value and the determined heart rate baseline. Then, the kernel-level display driver is started, driving the display screen 294 to display the user's body temperature. And / or, the kernel-level audio driver is started, driving the speaker in the audio module 270 to verbally announce the user's body temperature.

[0114] The following description, with reference to the accompanying drawings and using a smart bracelet as an example, illustrates the body temperature measurement method provided in this application.

[0115] Smart bracelets have multiple applications installed, each serving a different function. For example, such as... Figure 5a The interface 500 shown includes a temperature measurement application 501, which can measure body temperature. It should be noted that the names of the applications mentioned in this application are not intended to limit their functions, and other names are also possible. This application does not limit these names, and they are uniformly referred to here.

[0116] The smart bracelet receives user input to open the temperature measurement application 501, such as clicking the icon of the application. In response to this input, the smart bracelet displays a body temperature measurement interface 510, which includes a body temperature display area 511 and a body temperature measurement button 512. The body temperature display area can be used to display the user's current body temperature, historical body temperature, etc. The body temperature measurement button 512 can be used to activate the body temperature measurement function.

[0117] Optionally, the body temperature measurement interface 510 may also include other display areas, such as a skin temperature display area 513, a reminder display area 514, and a heart rate display area, etc., which are not limited in this application. Among them, the skin temperature display area 513 can be used to display the temperature of the user's local skin (e.g., the skin temperature of the area where the smart bracelet is worn), the reminder display area 514 can be used to display a warm reminder to the user, and the heart rate display area can be used to display the user's current heart rate, etc.

[0118] The smart bracelet detects a user's action to activate the body temperature measurement function, such as clicking the body temperature measurement button 512. In response to this action, the smart bracelet acquires target parameters, including the user's current activity state, current heart rate, etc. In some embodiments, the smart bracelet can acquire the mapping relationship between different user activity states and heart rate baselines. Then, the smart bracelet can determine the heart rate baseline corresponding to the user's current activity state based on the acquired user's current activity state and the mapping relationship. This determined heart rate baseline indicates the user's heart rate during that activity state. Then, the user's body temperature is calculated based on the acquired current heart rate value and the determined heart rate baseline, and the user's body temperature is displayed. For example, the smart bracelet can present interface 520 to display the user's body temperature, as shown in interface 520, where the measured body temperature is 36.8℃. Optionally, when the target parameters include the skin temperature of a target area of ​​the user, the skin temperature can also be displayed, as shown in interface 520, where the measured skin temperature is 30.3℃. Optionally, after the user has used the temperature measurement function, the temperature measurement button 512 can also be presented as button 521.

[0119] In other embodiments, if the smart bracelet fails to establish a mapping relationship between the user's different exercise states and the heart rate baseline, it will not activate the body temperature measurement function, nor will it display the user's measured body temperature. Optionally, to inform the user of this situation, the smart bracelet can display a first reminder message, reminding the user that body temperature measurement cannot be performed because a mapping relationship between exercise state and heart rate baseline has not yet been established. Optionally, the smart bracelet can also display a second reminder message, reminding the user to establish their own mapping relationship between exercise state and heart rate baseline. The second reminder message and the first reminder message can be presented simultaneously or sequentially, on the same display interface or on different display interfaces. The second reminder message can be presented as the entire display window or as a pop-up notification window. For example, as shown... Figure 5b As shown, the second reminder message can be displayed as shown in message 530 on the interface. The method for establishing a heart rate baseline will not be described here, but will be explained in detail later.

[0120] In some other embodiments, the smart bracelet does not obtain the mapping relationship between the user's different exercise states and the heart rate baseline. In this case, the smart bracelet can directly calculate and display the user's body temperature based on the obtained current exercise state and current heart rate value. For example, Figure 5c As shown, the smart bracelet can then display interface 540 to show the user's body temperature. It should be noted that this implementation method differs from... Figure 5aCompared to the aforementioned implementation, this implementation may measure the user's body temperature inaccurately. Therefore, the body temperature displayed on interface 540 may differ from that displayed on interface 520. Optionally, to inform the user that the measured body temperature may be inaccurate in this situation, the smart bracelet can also display a third reminder message, reminding the user that the measured body temperature may be inaccurate because a mapping relationship between the current exercise state and the heart rate baseline has not been established. For example, the smart bracelet can use the prompt message 541 shown in interface 540 to remind the user.

[0121] Optionally, in this embodiment, the smart bracelet may also display the above-mentioned... Figure 5b The second reminder message mentioned in the implementation method reminds the user of the mapping relationship between their exercise status and heart rate baseline. This application does not limit the display position of the second reminder message (such as displaying it on interface 510, interface 540, etc.), the display method (such as presenting it on the entire interface, presenting it as a prompt message, etc.), or the display timing (such as before or after displaying interface 540, etc.).

[0122] It should be noted that the smart bracelet can directly display the first, second, and third reminder messages mentioned above, or it can send these messages to other electronic devices, such as a mobile phone, for display on the phone to remind the user. Alternatively, both the smart bracelet and the mobile phone can display the aforementioned reminder messages.

[0123] Optionally, the smart bracelet can be paired with other electronic devices, and the pairing methods include, but are not limited to, Bluetooth, WiFi, tap-to-connect, distributed soft bus, near field communication (NFC), ZigBee, etc. Alternatively, a communication connection can be established so that the smart bracelet can send commands to other electronic devices; this application does not limit this aspect.

[0124] For example, taking other electronic devices such as mobile phones as an example, such as Figure 6 The image shown is a schematic diagram of an interface for displaying the aforementioned reminder message on a mobile phone, provided in an embodiment of this application.

[0125] Assuming the phone and smart bracelet are successfully paired, such as through a fitness app on the phone (this method is existing technology and will not be elaborated here), the phone receives a user's action to open the fitness app, such as clicking the fitness app icon 601 on interface 600. In response to this action, the phone can display interface 610, which includes multiple cards, such as a heart health card, a sleep card, and a body temperature card. Different cards can be used to view different data and / or different functions. If the phone detects a user's click on the body temperature card 611, it can display interface 620, which includes the user's body temperature data, which may be synchronized from the smart bracelet. In some possible implementations, the aforementioned second reminder message may be displayed on interface 620 (not shown in the figure). In other possible implementations, the second reminder message can also be displayed on other interfaces. For example, if the user clicks on the description option 622 in function button 621, the phone can display interface 630, where the second reminder message can be displayed, as shown in reminder message 631. This application does not limit the display location, display time, or display method of the second reminder message.

[0126] It should be noted that the above implementation methods can be used individually or in combination.

[0127] For example, such as Figure 7 The image shows a body temperature measurement method provided in an embodiment of this application. The method includes the following steps:

[0128] S701, Electronic equipment acquires target parameters.

[0129] In one possible implementation, the electronic device can acquire the target parameter in real time or periodically. For example, when the electronic device detects that a user has activated the body temperature measurement function, in response to this operation, the electronic device can acquire the target parameter in real time or periodically within a predetermined time period.

[0130] In another possible implementation, the electronic device needs to be triggered by the user each time it acquires the target parameter. For example, when the electronic device detects that the user has enabled the body temperature measurement function, it performs an operation to acquire the target parameter in response to the operation.

[0131] It is understood that electronic devices can measure the target parameters themselves, or other electronic devices can measure the target parameters and then the electronic device can obtain the target parameters from other electronic devices. This application does not make any specific limitations on this.

[0132] Optionally, activating the body temperature measurement function may include, but is not limited to, operations on physical buttons, virtual buttons (such as click, double-click, long press, swipe, etc.), voice operations, and gesture operations. For example, activating the body temperature measurement function on an electronic device could involve... Figure 5a The operation of clicking the body temperature measurement button 512 shown.

[0133] The target parameters include the user's exercise data and current heart rate. The user's exercise data is used to determine the user's current exercise status.

[0134] In one possible implementation, the motion state can include a sleep state and a non-sleep state.

[0135] Optionally, the non-sleep state can also include low activity level, moderate activity level, and high activity level. The activity level reflects the user's exercise intensity. A low activity level refers to a user's activity level being less than a first threshold; a moderate activity level refers to a user's activity level being greater than or equal to the first threshold and less than or equal to a second threshold; and a high activity level refers to a user's activity level being greater than the second threshold. The first and second thresholds can be set according to actual needs.

[0136] In one possible implementation, the user's activity level can be determined based on collected motion data. For example, electronic devices can collect the user's motion signals using accelerometers, gyroscopes, etc., generate motion data, and determine the user's activity level based on this data.

[0137] For example, statistical analysis of exercise data generated within a certain time period can determine that a user is in a low-activity state when the statistical value is less than a first threshold, a user is in a moderate-activity state when the statistical value is greater than or equal to the first threshold and less than or equal to a second threshold, and a user is in a high-activity state when the statistical value is greater than the second threshold. This statistical value can be various statistical data such as the mean, mode, median, or total value of the exercise data.

[0138] In other possible implementations, a user's activity level can be determined based on various factors such as the type of exercise (e.g., running, walking, cycling, skipping rope), exercise duration, exercise intensity, and exercise distance. For example, if a user is walking slowly and has been exercising for 40 minutes and / or has walked 2 kilometers, the user can be determined to be in a low-activity state; if a user is running fast and has been exercising for 3 minutes and / or has run 0.5 kilometers, the user can be determined to be in a high-activity state; if a user is skipping rope and has been exercising for 15 minutes and / or has skipped 200 times, the user can be determined to be in a high-activity state, and so on.

[0139] It should be noted that there are other ways to classify exercise states, such as walking slowly, walking briskly, jogging slowly, running fast, cycling, skipping rope, etc. This application does not limit the specific classification of exercise states.

[0140] Optionally, the target parameters may also include one or more of the following: skin temperature of the user's target area and the current ambient temperature. For example, the skin temperature of the user's target area could refer to the skin temperature where the user wears the electronic device, or it could refer to the skin temperature of other parts of the user's body. It should be understood that skin temperature only reflects the temperature of a specific part of the user's body and may not accurately reflect the user's true body temperature.

[0141] S702, The electronic device determines whether the target mapping relationship has been obtained.

[0142] The mapping relationship refers to the mapping between different exercise states and the heart rate baseline. The target mapping relationship refers to the mapping between different exercise states of the user and the heart rate baseline. Optionally, the relationship between exercise state and heart rate baseline can be one-to-one or one-to-many (e.g., one heart rate baseline corresponds to multiple exercise states), and this application does not limit this.

[0143] In some embodiments, the electronic device can establish its own target mapping relationship and then obtain the target mapping relationship from the local device or a server. In other embodiments, the electronic device can also obtain the target mapping relationship from other electronic devices. This application does not specifically limit the method by which the electronic device obtains the target mapping relationship.

[0144] It should be noted that this application does not limit the execution order of the steps of obtaining the target parameters in step S701 and step S702.

[0145] If the target mapping relationship is obtained, proceed to steps S703, S704, and S706. If the target mapping relationship is not obtained, proceed to steps S705 and S706; or, proceed to step S707.

[0146] S703: The electronic device determines the target heart rate baseline based on the target mapping relationship and the user's current exercise status.

[0147] The target heart rate baseline is used to indicate the user's heart rate during exercise.

[0148] Optionally, before step S703, Figure 7 The method shown also includes steps S703a and S703b (not shown in the figure):

[0149] S703a, Obtain user account information.

[0150] This account information can be the account information used to log into the target application, which can be used to implement the function of measuring the user's body temperature. For example, the target application could refer to... Figure 5a The temperature measurement application shown is 501. Figure 6 The sports and health application shown is 601, etc. The currently logged-in account information can be stored by the electronic device itself, for example: login... Figure 5a The account information shown for temperature measurement application 501; it can also be obtained by the electronic device from other electronic devices, such as login. Figure 6 The image shows the account information for the fitness and health app 601. It should be understood that when a user uses... Figure 5a The temperature measurement application shown Figure 6 Before accessing the functions of the sports and health app shown, users need to log in to the corresponding app using their account information.

[0151] S703b: Obtain the target mapping relationship corresponding to the user based on the account information.

[0152] For example, when establishing a mapping relationship, the mapping relationship is associated with the account information of the target application. The electronic device can determine whether the account has a target mapping relationship based on the account information of the currently logged-in target application, that is, whether there is a mapping relationship corresponding to the user.

[0153] S704: The electronic device determines the user's body temperature based on the user's current heart rate and the target heart rate baseline.

[0154] Optionally, if a first personalized body temperature algorithm model is pre-installed within the electronic device, the electronic device can input the user's current heart rate value and target heart rate baseline into the first personalized body temperature algorithm model. After processing by the first personalized body temperature algorithm model, the user's body temperature value is output. This first personalized body temperature algorithm model can be obtained through model training. This application does not limit the specific algorithm used in the model; for specific methods of training the model, please refer to existing technologies.

[0155] Optionally, this first personalized body temperature algorithm model can also be pre-installed in other electronic devices. These devices send the user's current activity status, current heart rate, and / or target heart rate baseline to the other devices, which then calculate the user's body temperature. The electronic device then receives the user's body temperature from the other devices.

[0156] Optionally, when the target parameters also include the skin temperature of the user's target area and / or the current ambient temperature, the user's body temperature can also be determined based on the user's current heart rate, the target heart rate baseline, the skin temperature of the user's target area, and / or the current ambient temperature. Similar to determining the user's body temperature based on the user's current heart rate and the target heart rate baseline, the user's current heart rate, the target heart rate baseline, the skin temperature of the user's target area, and / or the current ambient temperature can be input into a preset second personalized body temperature algorithm model. After processing by the second personalized body temperature algorithm model, the user's body temperature value is output. This application does not limit the preset location of the second personalized body temperature algorithm model.

[0157] S705: The electronic device determines the user's body temperature based on the user's current movement status and the user's current heart rate.

[0158] Optionally, the electronic device may also have a pre-installed first universal body temperature algorithm model. The electronic device can input the user's current movement state and current heart rate into this first universal body temperature algorithm model, and after processing by the model, output the user's body temperature value. This first universal body temperature algorithm model can also be obtained through model training. Specifically, the first universal body temperature algorithm model is obtained by statistically analyzing the heart rate characteristics of a large number of users.

[0159] Optionally, this first general body temperature algorithm model can also be pre-installed in other electronic devices. These devices send the user's current movement status and current heart rate to the other devices, which then calculate the user's body temperature. The electronic devices then receive the user's body temperature from the other devices.

[0160] Optionally, when the target parameters also include the skin temperature of the user's target area and / or the current ambient temperature, the user's body temperature can also be determined based on the user's current movement state, the user's current heart rate, the skin temperature of the user's target area, and / or the current ambient temperature. Similar to determining the user's body temperature based on the user's current movement state and current heart rate, the user's current movement state, current heart rate, skin temperature of the user's target area, and / or current ambient temperature can be input into a preset second general body temperature algorithm model. After processing by this second general body temperature algorithm model, the user's body temperature value is output. This application does not limit the preset location of this second general algorithm body temperature model.

[0161] S706: Electronic devices remind users of their body temperature.

[0162] For example, an electronic device can display Figure 5a The interface shown is 520, or Figure 5cThe interface 540 shown is used to display the user's body temperature. And / or, the electronic device can announce the user's body temperature via voice. This application does not limit the method used by the electronic device to remind the user of the body temperature.

[0163] Optionally, the user's body temperature can be displayed by an electronic device, or it can be sent to other electronic devices for display.

[0164] Optionally, the electronic device may also display a second reminder message to prompt the user to establish a mapping relationship between their exercise status and heart rate baseline. For example, the second reminder message may be as follows: Figure 5a The helpful tip in interface 510 states, "Establishing a heart rate baseline can improve temperature measurement accuracy." Figure 5b The interface shown in 530 includes prompts such as "Please enable the continuous heart rate measurement function first to establish your own heart rate baseline".

[0165] S707: The electronic device determines that it is currently unable to measure the user's body temperature.

[0166] For example, electronic devices can present Figure 5b The interface 530 shown reminds the user that body temperature cannot be measured. Alternatively, the electronic device may use voice prompts to remind the user that body temperature cannot be measured at this time. Optionally, the electronic device may also display a second reminder message, prompting the user to establish a mapping relationship between their exercise status and heart rate baseline.

[0167] Based on the above technical solution, the user's body temperature is estimated more accurately by considering various physiological parameters such as the current user's current exercise state, current heart rate, and the corresponding heart rate baseline, thus improving the user experience. Furthermore, each user's heart rate characteristics may differ, meaning their heart rate baseline may also vary. Even for the same user, the heart rate baseline may differ under different exercise states. Therefore, establishing a heart rate baseline further enhances the accuracy of the estimated body temperature.

[0168] The process of establishing a mapping relationship (i.e., target mapping relationship) between a user's different exercise states and the heart rate baseline is described below with reference to the accompanying diagram.

[0169] For example, such as Figure 8 As shown in the illustration, this application provides a method for establishing a mapping relationship between different exercise states of a user and a baseline heart rate. The method includes the following steps:

[0170] S801, Electronic device acquires the user's heart rate value under different exercise states.

[0171] Optionally, before acquiring the user's heart rate values ​​under different exercise conditions, the continuous heart rate monitoring function of the electronic device needs to be enabled. The continuous heart rate monitoring function can be used to continuously measure the user's heart rate. Optionally, this continuous heart rate monitoring function is enabled by default, or it can be activated by the user.

[0172] In some embodiments, the operation of acquiring the user's heart rate values ​​under different exercise states can be performed periodically. For example, if the operation of a user activating the continuous heart rate monitoring function is detected, in response to the operation, the electronic device can periodically (e.g., every month, every three months, etc.) within a predetermined time period to acquire the user's heart rate values ​​under different exercise states.

[0173] In other embodiments, the operation of acquiring the user's heart rate values ​​under different exercise states requires the user to trigger it each time. For example, when the operation of the user activating the continuous heart rate monitoring function is detected, the electronic device performs the operation of acquiring the user's heart rate values ​​under different exercise states in response to the operation.

[0174] In one possible implementation, the user can activate the continuous heart rate monitoring function by directly operating the electronic device (e.g., by operating a button on the electronic device to activate the continuous heart rate monitoring function).

[0175] For example, such as Figure 9a As shown, the temperature measurement interface 900 of the electronic device includes a function button 901 for continuous heart rate measurement. When the user's operation of activating the button 901 is detected, the continuous heart rate monitoring function of the electronic device is activated.

[0176] For example: Figure 9b As shown, combined with Figure 5b In the aforementioned implementation, the electronic device cannot measure body temperature if the user has not established their own heart rate baseline. The electronic device can display a second reminder message to prompt the user to establish their own heart rate baseline. This second reminder message includes a prompt that continuous heart rate monitoring needs to be enabled to establish the baseline. The user can directly enable the continuous heart rate monitoring function of the electronic device through this second reminder message. For example, based on interface 530, if the user clicks the "OK" button 902, the electronic device can directly enable the heart rate monitoring function. Optionally, the electronic device can also remind the user that the continuous heart rate monitoring function has been enabled and is establishing a heart rate baseline, etc. For example, the electronic device can present interface 920 to prompt the user. Optionally, the electronic device can also remind the user of the approximate time required to establish the heart rate baseline, so that the user is aware of the specific situation and improves the user experience.

[0177] For example: Figure 9cAs shown, when the electronic device detects a click on the OK button 902, the electronic device jumps to the interface 930 for enabling the continuous heart rate monitoring function. The interface 930 includes a continuous heart rate monitoring function button 903. When the user clicks on the function button 903, the electronic device enables the continuous heart rate monitoring function.

[0178] For example, such as Figure 9d As shown, combined with Figure 5c The aforementioned implementation allows the electronic device to measure body temperature even when the user has not established their own heart rate baseline; however, the accuracy of the measured temperature is relatively low in this case. (The last sentence appears to be incomplete and unrelated to the preceding text.) Figure 5c Before the interface 540 shown, the electronic device can first display a second reminder message, reminding the user to establish their heart rate baseline before measuring body temperature to improve the accuracy of the measured temperature. For example, the second reminder message displayed by the electronic device can be as shown in interface 940. Upon detecting the user's click on the cancel button 904, the electronic device can present the body temperature display interface 540; upon detecting the user's click on the confirm button 902, the electronic device can... Figure 9b The aforementioned implementation method directly enables the heart rate monitoring function. Alternatively, the electronic device can also adopt... Figure 9c In this manner, the electronic device first jumps to the interface 930 for enabling the heart rate monitoring function, and then, in response to the activation operation of the function button 903 for continuous heart rate monitoring, enables the heart rate monitoring function.

[0179] In another possible implementation, the user can operate another electronic device, which can then control the activation of the continuous heart rate monitoring function of that electronic device.

[0180] In this implementation, for example, such as Figure 9e As shown, let's take another example, using a mobile phone as an example and a smart bracelet as an example, where the mobile phone and smart bracelet have been successfully paired. Figure 6Based on interface 610, upon detecting a user's click on device button 905, the phone can display interface 950, which shows the currently successfully paired electronic devices. Upon detecting a user's click on smart bracelet 906, the phone can display interface 960, which can display the smart bracelet's usage data. Users can manage the smart bracelet via health monitoring button 907. In response to a user's click on health monitoring button 907, the phone can display interface 970, which can be used to enable or disable certain functions of the smart bracelet. For example, upon detecting a user's click on the continuous heart rate measurement option 908, the electronic device can enter the interface for enabling continuous heart rate measurement (not shown in the figure), and the continuous heart rate monitoring function of the smart bracelet can be activated via the function button.

[0181] It should be noted that the above interfaces are merely illustrative. In actual applications, each interface may include more or less content, or may include more or fewer interfaces. This application does not limit this.

[0182] Once the continuous heart rate monitoring function of the electronic device is enabled, the device begins to establish a heart rate baseline for the user. Optionally, the electronic device can also notify the user that the heart rate baseline has been established.

[0183] Optionally, the user's motion state can be automatically identified by the electronic device. Alternatively, it can be selected by the user. For example, the electronic device may have various types of motion states preset, and the electronic device determines the user's motion state in response to the user's selected motion state.

[0184] Optionally, the acquired heart rate values ​​of the user under different exercise states meet preset conditions. Preset conditions may include preset duration, preset quantity, etc. Specifically, acquiring heart rate values ​​of the user under different exercise states that meet preset conditions may mean that the duration of heart rate value acquisition meets a preset duration (e.g., 1 day, 2 days, 3 days, etc.) and the number of heart rate values ​​acquired meets a preset quantity (e.g., 10-20). The number of heart rate values ​​may refer to the total number of heart rate values ​​(i.e., the sum of heart rate values ​​under all exercise states) or the number of heart rate values ​​under each exercise state, etc., which is not limited in this application.

[0185] Optionally, the preset conditions may also include a confidence level requirement, which refers to the confidence level requirement for the heart rate value. When the electronic device obtains a heart rate value of a user in a certain exercise state, it determines whether the confidence level of that heart rate value meets the requirement, that is, whether the heart rate value is reliable. For example, suppose the electronic device obtains a heart rate value of 60 when the user is running fast; however, in a resting state, the human heart rate is 60-200, so the obtained heart rate value may be unreliable.

[0186] Optionally, the confidence level of the heart rate value can be determined based on one or more factors, including the signal quality used to measure the user's heart rate (e.g., PPG signal quality) and the user's current exercise state. For example, if the confidence level requirement is 80% or higher, a heart rate value with a confidence level of 95% is considered to meet the requirement. Alternatively, if the confidence level requirement is 3 or higher, a heart rate value with a confidence level of 5 is also considered to meet the requirement. In other words, this application does not limit the way the confidence level of the heart rate value is represented, nor does it limit the way the confidence level of the heart rate value is calculated.

[0187] In addition, to further determine the reliability of heart rate values, electronic devices can also combine empirical values ​​for analysis.

[0188] S802: Electronic devices establish target mapping relationships based on different exercise states and heart rate values.

[0189] The electronic device can statistically analyze the user's heart rate values ​​acquired during each exercise state, and then determine the heart rate baseline corresponding to each exercise state. This heart rate baseline indicates the user's heart rate during that exercise state, thereby establishing a mapping relationship between the user's different exercise states and the heart rate baseline. For example... Figure 10 As shown, for this user, the heart rate baseline corresponding to low activity level can be the heart rate value corresponding to 1001, the heart rate baseline corresponding to moderate activity level can be the heart rate value corresponding to 1002, and the heart rate baseline corresponding to sleep level can be the heart rate value corresponding to 1003. For example, the heart rate baseline for each exercise state can be statistical data such as the mean, median, mode, and mean of all heart rate values ​​obtained in that exercise state. Alternatively, it can be a range of values ​​determined based on all heart rate values ​​obtained in that exercise state.

[0190] It should be noted that the mapping relationship between each exercise state and the heart rate baseline can be established simultaneously or sequentially, and this application does not limit this.

[0191] Optionally, after establishing the target mapping relationship, the electronic device can also notify the user that the baseline has been successfully established.

[0192] Optionally, after establishing the target mapping relationship, the target mapping relationship is associated with the account information of the currently logged-in target application. For example, after the electronic device detects that the user has enabled the continuous heart rate monitoring function, the electronic device can obtain the account information of the currently logged-in target application. Subsequently, after the mapping relationship is successfully established, the account information of the currently logged-in target application can be associated with the mapping relationship.

[0193] The above primarily describes the solutions provided by the embodiments of this application from a methodological perspective. It is understood that, in order to achieve the above functions, the electronic device includes hardware structures and / or software modules corresponding to the execution of each function. Based on the units and algorithm steps of the various examples described in the embodiments disclosed in this application, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by a computer driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solutions of the embodiments of this application.

[0194] This application provides embodiments for dividing an electronic device into functional modules based on the above method examples. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into a single processing unit. The integrated unit can be implemented in hardware or as a software functional module. It should be noted that the unit division in this application embodiment is illustrative and represents only one logical functional division; in actual implementation, other division methods may be used.

[0195] like Figure 11 The diagram shown is a structural schematic of an electronic device provided in an embodiment of this application. This electronic device 1100 can be used to implement the methods described in the above method embodiments. For example, the electronic device 100 may specifically include: an acquisition unit 1101 and a processing unit 1102.

[0196] The acquisition unit 1101 is used to perform the execution of the electronic device 1100. Figure 7 Step S701 in the process. And / or, the acquisition unit 1101 is used to support the electronic device 1100 in performing Figure 8 Step S801 in the process. And / or, the acquisition unit 1101 is also used to support the electronic device 1100 in performing other steps performed by the electronic device in the embodiments of this application.

[0197] Processing unit 1102 is used to perform operations that support electronic device 1100. Figure 7 Steps S702 to S705 and S707 in the process. And / or, the processing unit 1102 is used to support the electronic device 1100 in performingFigure 8 Step S802 in the process. And / or, the processing unit 1102 is also used to support the electronic device 1100 in performing other steps performed by the electronic device in the embodiments of this application.

[0198] Optional, Figure 11 The illustrated electronic device 1100 may further include a display unit 1103, which is used to perform actions that support the electronic device 1100 in performing its functions. Figure 7 Step S706 in the process. And / or, the display unit 1103 is also used to support the electronic device 1100 in performing other steps performed by the electronic device in the embodiments of this application.

[0199] Optional, Figure 11 The electronic device 1100 shown may also include a communication unit ( Figure 11 (Not shown in the image), this communication unit is used to support electronic device 1100 in performing the steps of communication between electronic device and other electronic devices in the embodiments of this application.

[0200] Optional, Figure 11 The illustrated electronic device 1100 may also include a storage unit ( Figure 11 (not shown in the image), this storage unit stores a program or instruction. When the processing unit 1102 executes the program or instruction, it causes... Figure 11 The electronic device 1100 shown can perform Figure 7 , Figure 8 The method shown.

[0201] Figure 11 The technical effects of the electronic device 1100 shown can be referenced. Figure 7 , Figure 8 The technical effects of the method shown will not be elaborated here. Figure 11 The processing unit 1102 in the illustrated electronic device 1100 can be implemented by a processor or processor-related circuit components, and can be a processor or a processing module. The communication unit can be implemented by a transceiver or transceiver-related circuit components, and can be a transceiver or a transceiver module. The display unit 1103 can be implemented by display screen-related components.

[0202] This application also provides a chip system, such as... Figure 12As shown, the chip system includes at least one processor 1201 and at least one interface circuit 1202. The processor 1201 and the interface circuit 1202 are interconnected via lines. For example, the interface circuit 1202 can be used to receive signals from other devices. As another example, the interface circuit 1202 can be used to send signals to other devices (e.g., the processor 1201). Exemplarily, the interface circuit 1202 can read instructions stored in memory and send those instructions to the processor 1201. When the instructions are executed by the processor 1201, the electronic device can perform the various steps performed by the electronic device in the above embodiments. Of course, the chip system may also include other discrete components, and this application embodiment does not specifically limit this.

[0203] Optionally, the chip system may contain one or more processors. These processors can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor, implemented by reading software code stored in memory.

[0204] Optionally, the chip system may contain one or more memories. The memory may be integrated with the processor or disposed separately from it; this application does not limit this. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or disposed separately on different chips. This application does not specifically limit the type of memory or the arrangement of the memory and processor.

[0205] For example, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.

[0206] It should be understood that each step in the above method embodiments can be completed by integrated logic circuits in the processor hardware or by instructions in software form. The method steps disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules in the processor.

[0207] This embodiment also provides a computer storage medium storing computer instructions, which, when executed on an electronic device, cause the electronic device to perform the methods described in the above-described method embodiments.

[0208] This application provides a computer program product, which includes a computer program or instructions that, when run on a computer, cause the computer to perform the methods described in the above-described method embodiments.

[0209] In addition, embodiments of this application also provide an apparatus, which may specifically be a chip, component or module. The apparatus may include a connected processor and a memory; wherein the memory is used to store computer execution instructions, and when the apparatus is running, the processor may execute the computer execution instructions stored in the memory to cause the apparatus to perform the methods in the above-described method embodiments.

[0210] In this embodiment, the electronic device, computer storage medium, computer program product or chip are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding method provided above, and will not be repeated here.

[0211] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0212] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. The embodiments can be combined with or referenced to each other without conflict. The apparatus embodiments described above are merely illustrative; for example, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0213] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0214] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0215] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0216] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method of measuring body temperature, characterized by, The method is applied to an electronic device, and the method comprises: obtaining target parameters, the target parameters comprising motion data of a user and a current heart rate value of the user; wherein the motion data is used to determine a current motion state of the user; obtaining account information of the user; obtaining a mapping relationship between different motion states of the user and heart rate baselines according to the account information; determining a target heart rate baseline according to the current motion state of the user and the mapping relationship, the target heart rate baseline being used to indicate a heart rate condition of the user in the current motion state; determining a body temperature of the user according to the current heart rate value of the user and the target heart rate baseline; reminding the user of the body temperature.

2. The method of claim 1, wherein, The method further comprises: if the mapping relationship between different motion states of the user and heart rate baselines is not obtained, reminding the user to establish the mapping relationship.

3. The method according to claim 1 or 2, characterized in that, if the mapping relationship between different motion states of the user and heart rate baselines is not obtained, the method further comprises: obtaining heart rate values of the user in different motion states; establishing the mapping relationship according to the different motion states and the heart rate values.

4. The method of claim 3, wherein, The obtained heart rate values of the user in different motion states meet a requirement of confidence.

5. The method of claim 4, wherein, The confidence is determined according to one or more factors such as a signal quality used to measure the heart rate of the user and the current motion state of the user.

6. The method according to any one of claims 1-2, 4-5, characterized in that, The target parameters further comprise one or more of a skin temperature of a target part of the user and a current environmental temperature; and the method further comprises: determining the body temperature of the user according to the current motion state of the user, the current heart rate value of the user, the skin temperature of the target part of the user and / or the current environmental temperature.

7. The method of any one of claims 1-2, 4-5, wherein, The different motion states comprise a sleep state and a non-sleep state.

8. The method of claim 7, wherein, The non-sleep state comprises a low activity state, a medium activity state and a high activity state; wherein the low activity state refers to a state in which the activity of the user is less than a first threshold, the medium activity state refers to a state in which the activity of the user is greater than or equal to the first threshold and less than or equal to a second threshold, and the high activity state refers to a state in which the activity of the user is greater than the second threshold.

9. The method of any one of claims 1-2, 4-5, wherein, The different motion states comprise one or more of a slow walking state, a fast walking state, a slow running state, a fast running state, a cycling state and a skipping state.

10. The method of any one of claims 1-2, 4-5, 8, wherein, The reminding of the user of the body temperature comprises: displaying the body temperature; and / or voice broadcasting the body temperature.

11. An electronic device, comprising: The electronic device comprises: a processor and a memory, the memory being coupled to the processor, the memory being used to store computer program codes, the computer program codes comprising computer instructions, when the processor reads the computer instructions from the memory, the electronic device executes the method according to any one of claims 1-10.

12. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer programs or instructions, when the computer programs or instructions run on a computer, the computer executes the method according to any one of claims 1-10.

13. A computer program product, characterised in that, The computer program product comprises computer programs or instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1-10.

Citation Information

Patent Citations

  • Physiological and psychological condition sensing headset

    CN105813552A

  • Core body temperature determination method and device, equipment and readable medium

    CN113520333A

Cited By

  • Body temperature measurement method, and electronic device

    WO2023109550A1