Blood glucose assessment methods, user interfaces, and related devices

By dividing the PPG signal into windows of specified duration and counting the number of valid PPG signal intervals to determine the acquisition progress, the problem of unintuitive PPG signal acquisition progress display and inaccurate blood glucose results is solved, resulting in a more intuitive user experience and accurate blood glucose assessment.

CN122423866APending Publication Date: 2026-07-21HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2025-01-21
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

In existing blood glucose testing methods, the progress of PPG signal acquisition is not displayed intuitively, affecting the user experience, and the accuracy of blood glucose results is affected by the substandard signal quality.

Method used

By dividing the PPG signal into windows of a specified duration and counting the number of valid PPG signal intervals, the acquisition progress is determined, and blood glucose results are calculated under the premise of meeting signal quality requirements, thus avoiding the influence of unqualified signal quality.

Benefits of technology

It improves the intuitiveness of PPG signal acquisition progress and user experience, ensures the accuracy and objectivity of blood glucose results, reflects the user's blood glucose status in a timely manner, reduces redundant information input, and improves data utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122423866A_ABST
    Figure CN122423866A_ABST
Patent Text Reader

Abstract

The application discloses a blood glucose evaluation method, a user interface and related devices. The method can acquire a PPG signal of a user within a time period, display the collection progress of the PPG signal during the acquisition of the PPG signal, and then determine the blood glucose result of the user based on the PPG signal and display the blood glucose result. When determining the collection progress of the PPG signal, the method can take a specified time length as a window length, divide the PPG signal into PPG signal intervals in multiple windows, and determine the ratio of the number of valid PPG signal intervals in the multiple PPG signal intervals to a preset number as the collection progress of the PPG signal. It can be seen that the method determines the collection progress of the PPG signal by the number of valid PPG signal intervals divided in the PPG signal, so that the collection progress of the PPG signal is more consistent with the actual feeling of the user on the growth of the signal collection progress during the collection of the PPG signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to blood glucose assessment methods, user interfaces and related devices. Background Technology

[0002] Photoplethysmography (PPG) is a technology that uses optical sensors to detect changes in the concentration of hemoglobin flowing inside blood vessels on the human body, thereby obtaining the pulse. Currently, wearable devices can collect a user's PPG signals, enabling non-invasive detection of blood glucose levels. Summary of the Invention

[0003] This application provides a blood glucose assessment method, user interface, and related devices, which realizes the division of PPG signals into windows of a specified duration and the calculation of the PPG signal acquisition progress by using the number of effective PPG signal intervals.

[0004] In a first aspect, embodiments of this application provide a blood glucose assessment method applied to an electronic device. The method includes: acquiring a first PPG signal collected within a first time period, the first time period including multiple time periods divided by a first duration, the first PPG signal including multiple PPG signal intervals, each PPG signal interval being a PPG signal collected within a time period; displaying the acquisition progress of the first PPG signal during the acquisition process, the acquisition progress being the ratio of the number of valid PPG signal intervals acquired to a preset number, wherein, within the valid PPG signal intervals, the duration of the PPG signal that meets the signal quality requirements is greater than or equal to a second duration; and displaying a user's first blood glucose result, the first blood glucose result being determined based on the first PPG signal, the first blood glucose result being used to indicate the user's blood glucose status.

[0005] By implementing the method provided in the first aspect, the acquisition progress of the PPG signal can be determined by the number of effective PPG signal intervals divided in the PPG signal, so that the acquisition progress of the PPG signal is more in line with the user's actual feeling of the signal acquisition progress during the acquisition process.

[0006] In conjunction with the first aspect, in one possible implementation, displaying the user's first blood glucose result specifically includes: displaying the user's first blood glucose result when the acquisition progress of the first PPG signal is greater than or equal to 100%, and / or when the number of days spanned by the first time period is greater than or equal to the number of days of the first day.

[0007] It is evident that electronic devices can determine when to end PPG signal acquisition based on the acquisition progress and duration of PPG signals, so that the electronic devices can acquire a sufficient number of PPG signals.

[0008] In conjunction with the first aspect, in one possible implementation, before displaying the user's first blood glucose result, the method further includes: inputting first features extracted from multiple valid PPG signal intervals in the first PPG signal into the blood glucose assessment model to obtain multiple first intermediate values, and obtaining the user's first blood glucose result based on the multiple first intermediate values.

[0009] The user's blood glucose result is obtained by fusing multiple first intermediate values. This fusing process can be to take the maximum value, minimum value, median, or average value, etc.

[0010] It is evident that no weight was assigned to the first intermediate value when calculating the user's blood glucose result. This calculation method avoids overemphasizing PPG signals collected during periods when PPG signals are easily obtained, and treats PPG signals collected at all times equally. The blood glucose result is calculated by comprehensively considering the PPG signals collected from the user at various time periods, which better reflects the user's physiological characteristics at different time periods and makes the blood glucose result more objective and accurate.

[0011] In some implementations, the first PPG signal may include the user's PPG signals in different states, such as sleep, non-sleep, exercise, and resting states. In this way, the final blood glucose result calculated by the electronic device comprehensively considers the user's physical condition under various states, making the final calculated blood glucose result more comprehensively reflect the user's blood glucose status.

[0012] In conjunction with the first aspect, in one possible implementation, the first feature is extracted from the PPG signal that meets the signal quality requirements in the corresponding valid PPG signal range.

[0013] In other words, the PPG signal used by electronic devices to calculate blood glucose results is a PPG signal that meets the signal quality requirements, so as to avoid the accuracy of blood glucose results being affected by PPG signals with substandard signal quality.

[0014] In conjunction with the first aspect, in one possible implementation, the first blood glucose result is specifically used to indicate to the user the possibility of having hyperglycemia or hypoglycemia.

[0015] If the first blood glucose result indicates that the user may have hyperglycemia, the user can understand the possibility of having hyperglycemia based on the result, so that the user can adjust their blood glucose in time to avoid hyperglycemic events. If the first blood glucose result indicates that the user may have hypoglycemia, the user can understand the possibility of having hypoglycemia based on the result, so that the user can adjust their blood glucose in time to avoid hypoglycemic events.

[0016] In conjunction with the first aspect, in one possible implementation, the first blood glucose result is further determined based on the first user information. Before displaying the user's first blood glucose result, the method further includes: displaying a first prompt message, the first prompt message being used to prompt the user to input user information; and obtaining the first user information based on the user's first operation.

[0017] It is evident that electronic devices can prompt users to enter user information and use the user's input information and PPG signal to determine the user's blood glucose result, so that the electronic device can obtain blood glucose results that are personalized to the user.

[0018] In conjunction with the first aspect, in one possible implementation, during the acquisition of the first PPG signal, the method further includes: upon reaching the first time point, outputting a prompt message, the prompt message including one or more of the following: wearing requirements for the device acquiring the first PPG signal, a summary of the PPG signal acquisition progress, the expected time for the blood glucose result to be displayed, and the reason for not evaluating the blood glucose result.

[0019] In this way, users can dynamically adjust the wearing time of the device through the reminders in the prompts, estimate the time when the blood glucose results will be available, and have a general understanding of the current progress of the blood glucose assessment.

[0020] In conjunction with the first aspect, in one possible implementation, during the process of acquiring the first PPG signal, the method further includes: on the second day after the acquisition of the first PPG signal begins, outputting a second prompt message, the second prompt message including wearing requirements for the device acquiring the first PPG signal.

[0021] In this way, the electronic device can promptly remind the user to adjust the device's wearing status based on the PPG signal already collected during the initial PPG signal acquisition phase, so that the electronic device can quickly acquire PPG signals that meet the data volume requirements at different times.

[0022] In conjunction with the first aspect, in one possible implementation, the first time period includes a first date and a second date, the second date being the day after the first date, and the number of days from the start time of the first time period to the first date being the minimum number of days for the electronic device to acquire the PPG signal. During the acquisition of the first PPG signal, the method further includes: outputting a third prompt message on the second date, the third prompt message including a summary of the acquisition progress of the PPG signal, and / or the expected time for the blood glucose result to be displayed.

[0023] It can be seen that the third prompt message is output by the electronic device to take into account that if the electronic device is set to collect PPG signals for a minimum number of days, and the electronic device does not output a value due to insufficient PPG signals collected when the minimum number of days is reached, the third prompt message can be output so that the user can understand the reason for the current failure to output a value and adjust the collection of PPG signals in time so that the electronic device can output a value as soon as possible.

[0024] In conjunction with the first aspect, in one possible implementation, the third prompt information includes the expected time for the blood glucose result to be obtained, the deadline of the first time period is after the expected time for the result to be obtained, and after the third prompt information is output during the acquisition of the first PPG signal, the method further includes: at the expected time for the result to be obtained, outputting a fourth prompt information, the fourth prompt information including the reason for not evaluating the blood glucose result.

[0025] In other words, if the electronic device provides an estimated time for the result but does not display the user's blood glucose result at that time, it can output a fourth prompt message so that the user can understand why the electronic device did not evaluate the blood glucose result.

[0026] In conjunction with the first aspect, in one possible implementation, the second, third, and fourth prompt messages are determined based on the number of valid PPG signal intervals collected during the day and night when the output prompt message is reached.

[0027] As can be seen, the electronic device can adjust the content of the prompt information output by the electronic device according to the effective PPG signal range during the day and night in the collected PPG signal, so that users can adjust the wearing time of the device during the day or night in a timely manner, and enable the electronic device to collect the required number of PPG signals in each time period as soon as possible.

[0028] In conjunction with the first aspect, in one possible implementation, after displaying the user's first blood glucose result, the method further includes: acquiring a second PPG signal collected during a second time period, the second time period being after the first time period; evaluating the user's second blood glucose result based on the second PPG signal and part or all of the first PPG signal, the second blood glucose result being used to indicate the user's blood glucose status; and displaying the second blood glucose result.

[0029] In this way, electronic devices can reuse PPG signals collected during the previous blood glucose assessment, thereby improving the utilization rate of PPG signals. Furthermore, reusing historical PPG signals can relatively reduce the number of PPG signals required for the current blood glucose assessment, enabling electronic devices to complete the blood glucose assessment in a shorter time. Alternatively, electronic devices can utilize more data to assess the user's blood glucose results, improving the accuracy of blood glucose assessment.

[0030] In conjunction with the first aspect, in one possible implementation, after acquiring the second PPG signal collected during the second time period and before evaluating the user's second blood glucose result based on the second PPG signal and part or all of the first PPG signal, the method further includes: detecting that the user initiates a second operation to evaluate blood glucose if the acquisition progress of the second PPG signal is less than 100%, or if the number of days spanned by the second time period is less than the number of days of the first day.

[0031] As can be seen, users can actively initiate blood glucose assessments during the process, allowing the electronic device to combine the PPG signals collected in the current round with those collected in the previous round to obtain the user's current blood glucose result. In this way, if the user does not have the patience to wait for the end of a round of blood glucose results, the user can actively initiate a blood glucose assessment in the middle of the process, making it convenient for the user to understand their own blood glucose status at any time, while also ensuring that the electronic device can use a sufficient number of PPG signals to assess the blood glucose results, thus ensuring the accuracy of the blood glucose results.

[0032] In conjunction with the first aspect, in one possible implementation, the number of valid PPG signal intervals contained in the second PPG signal and part or all of the first PPG signal is greater than or equal to a preset number, and / or, the acquisition duration of the second PPG signal and part or all of the first PPG signal is greater than or equal to a third duration.

[0033] It is evident that electronic devices can limit the number of PPG signals used for blood glucose assessment or the acquisition duration to ensure that the electronic device can use a sufficient number of PPG signals to assess blood glucose results.

[0034] In conjunction with the first aspect, in one possible implementation, after displaying the user's first blood glucose result, the method further includes: acquiring a third PPG signal collected during a third time period; detecting that the user initiated a third operation to assess blood glucose if the acquisition progress of the third PPG signal is less than 100%, or if the number of days spanned by the third time period is less than the number of days of the first day; assessing the user's third blood glucose result based on the third PPG signal, the third blood glucose result being used to indicate the user's blood glucose status; and displaying the third blood glucose result.

[0035] As can be seen, during the blood glucose assessment process, users can initiate a blood glucose assessment at any time, using the PPG signal collected in the current round to assess the user's blood glucose results. This allows users to check their blood glucose status at any time, while also avoiding the influence of historical data on the blood glucose results of the current round of assessment.

[0036] In conjunction with the first aspect, in one possible implementation, the method further includes, during the process of displaying the third blood glucose result, displaying the confidence level of the third blood glucose result, the confidence level being used to indicate the degree of credibility of the third blood glucose result.

[0037] In this way, users can combine confidence levels to measure the accuracy of the third blood glucose result, avoiding users from over-relying on the blood glucose results assessed during the blood glucose evaluation process.

[0038] In conjunction with the first aspect, in one possible implementation, the number of valid PPG signal intervals contained in the third PPG signal is related to the confidence level.

[0039] For example, the more effective PPG signal intervals there are, the higher the confidence level; conversely, the fewer effective PPG signal intervals there are, the lower the confidence level. This encourages users to initiate blood glucose assessments after collecting sufficient PPG signals.

[0040] In a second aspect, embodiments of this application provide an electronic device, including: a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the method as described in the first aspect or any implementation thereof.

[0041] Thirdly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method as described in the first aspect or any implementation thereof.

[0042] Fourthly, embodiments of this application provide a computer program product, which includes a computer program that, when executed by a processor, implements the method described in the first aspect or any of the implementations of the first aspect.

[0043] Fifthly, embodiments of this application provide a chip system including a processing circuit and an interface circuit. The interface circuit is used to receive computer instructions and transmit them to the processing circuit. The processing circuit is used to execute the computer instructions to implement the method described in the first aspect or any implementation thereof. Attached Figure Description

[0044] Figures 1A-1F This application provides an electronic device 100 that provides a user interface related to acquiring PPG signals and displaying blood glucose results.

[0045] Figure 2 A schematic flowchart illustrating the blood glucose assessment method provided in the embodiments of this application;

[0046] Figure 3 A schematic diagram illustrating the principle of filtering valid PPG signal intervals from PPG signals, provided for an embodiment of this application;

[0047] Figure 4A schematic diagram illustrating the principle of determining a user's blood glucose result based on an effective PPG signal range, provided in an embodiment of this application;

[0048] Figure 5 A detailed flowchart illustrating a blood glucose assessment method provided in this application embodiment;

[0049] Figure 6 A timing diagram for outputting prompt information provided in an embodiment of this application;

[0050] Figure 7 A schematic diagram illustrating the principle of using historical PPG signals to assess blood glucose results in accordance with embodiments of this application;

[0051] Figures 8A-8D The electronic device 100 provided in this application embodiment involves some related user interfaces in the process of reusing historical PPG signals to assess blood glucose;

[0052] Figures 9A-9B Other related user interfaces involved in the process of reusing historical PPG signals to assess blood glucose in the electronic device 100 provided in this application embodiment;

[0053] Figure 10 A schematic diagram illustrating the principle of evaluating blood glucose results using the PPG signals collected in the current round after detecting user operation during the blood glucose assessment process of the electronic device 100 provided in this application embodiment;

[0054] Figures 11A-11B , Figures 12A-12B , Figures 13A-13B The user interface for the electronic device 100 provided in this application embodiment to output suspected blood glucose results;

[0055] Figure 14 A schematic diagram of the hardware structure of the electronic device 100 provided in the embodiments of this application;

[0056] Figure 15 A schematic diagram of the software structure of the electronic device 100 provided in the embodiments of this application;

[0057] Figure 16 This is a schematic diagram of the structure of the blood glucose assessment device 200 provided in the embodiments of this application. Detailed Implementation

[0058] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings.

[0059] The term "user interface (UI)" used in the following embodiments of this application refers to the medium interface through which an application or operating system interacts and exchanges information with the user. It realizes the conversion between the internal form of information and the form that the user can accept. The user interface is source code written in a specific computer language such as Java or Extensible Markup Language (XML). The interface source code is parsed and rendered on the electronic device, ultimately presenting content that the user can recognize. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be visible interface elements such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets displayed on the screen of an electronic device.

[0060] This application provides a blood glucose assessment method. The method can acquire a first PPG signal collected by a user within a first time period, display the acquisition progress of the first PPG signal during the acquisition process, and then determine and display the user's first blood glucose result based on the first PPG signal.

[0061] In determining the acquisition progress of the first PPG signal, this method divides the first PPG signal into multiple PPG signal intervals within a specified window length. The ratio of the number of valid PPG signal intervals to a preset number is used to determine the acquisition progress of the first PPG signal. For example, if 5 valid PPG signal intervals are currently acquired, and the preset number is 100, then the current acquisition progress is 5%.

[0062] In terms of common methods for determining the acquisition progress, the acquisition progress of PPG signals is usually determined by the ratio of the acquisition time of the acquired PPG signals to the preset time. However, the blood glucose assessment method provided in this application uses windows as units and determines the acquisition progress of PPG signals by counting the number of effective PPG signal intervals. This allows fragmented PPG signals to be summarized together to calculate the acquisition progress. Compared with counting the acquisition time, the acquisition progress calculated using windows is more in line with the user's actual perception of the signal acquisition progress.

[0063] To illustrate with a concrete example, if an electronic device only collects fragmented PPG signal segments of 2 minutes, 5 minutes, 1 minute, and 4 minutes in an hour that a user wears a watch, the common way to determine the collection progress is to add up the collection durations of these PPG signal segments. Thus, even if the user wears the watch for an hour, only 2 + 5 + 1 + 4 = 12 minutes of PPG signal have been collected. The increase in collection progress is very slight. However, if the collection progress is calculated using a window, assuming a window length of 15 minutes, then even if only 2 minutes of PPG signal are collected within those 15 minutes, the electronic device can still define that 15-minute window as a valid PPG signal interval. Therefore, compared to calculating collection progress solely by collection duration, the increase in collection progress calculated using a window is much more significant. In other words, as long as the electronic device collects a PPG signal, even if the collection duration is short, the increase in collection progress is more noticeable. This provides a more positive and encouraging user feedback on collection progress, thus encouraging them to actively wear the watch to collect PPG signals.

[0064] The blood glucose assessment method provided in this application can be applied to the risk assessment of a user’s hyperglycemia or hypoglycemia. In other words, the blood glucose result obtained by using the blood glucose assessment method provided in this application can be used to indicate the possibility of a user having hyperglycemia or hypoglycemia.

[0065] For example, the following example demonstrates the application of this blood glucose assessment method to assess the risk of hyperglycemia in users. Figures 1A-1F Describe the relevant user interface involved in the electronic device 100 from acquiring the PPG signal to displaying the blood glucose result.

[0066] It is important to note that, Figures 1A-1F In the user interface shown, the electronic device 100 is a watch. In other embodiments of this application, the electronic device 100 may also be a mobile phone, computer, tablet computer, or other devices. This application does not limit the device type of the electronic device 100.

[0067] Figure 1A The user interface 10 displayed by the electronic device 100 provided in this application embodiment when the hyperglycemia risk assessment is enabled.

[0068] like Figure 1A As shown, the user interface 10 may include an assessment activation option 101. This assessment activation option 101 can be used to trigger the activation of a hyperglycemia risk assessment. Specifically, after the electronic device 100 activates the hyperglycemia risk assessment, the electronic device 100 can acquire a PPG signal and use the PPG signal to assess the user's hyperglycemia risk.

[0069] For example, if electronic device 100 detects an action acting on Figure 1A The user operation shown in the launch evaluation option 101, such as a click operation, in response to which the electronic device 100 can display... Figure 1B The user interface 20 shown can be used to remind the user to grant the electronic device 100 permission to apply data such as PPG signals, electrocardiogram (ECG) signals, and negative temperature coefficient (NTC) signals to the hyperglycemia risk assessment.

[0070] like Figure 1B As shown, the user interface 20 may include an allow option 201 and a deny option 202. The allow option 201 allows the electronic device 100 to access sensor permissions such as PPG, ECG, and NTC. If the electronic device 100 detects a user action on the allow option 201, in response to this action, the electronic device 100 can acquire data such as PPG, ECG, and NTC signals and use this data to assess the user's risk of hyperglycemia. The deny option 202 denies the electronic device 100 access to sensor permissions such as PPG, ECG, and NTC. If the electronic device 100 detects a user action on the deny option 202, in response to this action, the electronic device 100 cannot use data such as PPG, ECG, and NTC signals to assess the user's risk of hyperglycemia.

[0071] Understandable Figure 1B The user interface 20 shown is an optional user interface. That is, during the process of the electronic device 100 performing a hyperglycemia risk assessment, the electronic device 100 does not need to request the user to grant permission to use data such as PPG signals for hyperglycemia risk assessment. This permission can be enabled by default.

[0072] For example, if electronic device 100 detects an action acting on Figure 1B The user operation shown in option 201 allows the electronic device 100 to acquire permission to assess the user's risk of hyperglycemia using data such as PPG, ECG, and NTC signals, and displays the corresponding information. Figure 1C The user interface 30 shown can be used to prompt the user to enter their personal information.

[0073] like Figure 1CAs shown, the user interface 30 may include: a personal information display area 301, a return option 302, and a start evaluation option 303. The personal information display area 301 can be used to display the user's personal information, and the electronic device 100 can detect user actions on the personal information display area 301, allowing the user to fill in or modify their personal information. For example, the user's personal information may include, but is not limited to, one or more of the following: gender, date of birth, height, weight, medical history, etc. The return option 302 can be used to trigger a return to the previous user interface, for example... Figure 1B The user interface 20 is shown. The Start Assessment option 303 can be used to trigger the start of PPG signal acquisition and to use the PPG signal for hyperglycemia risk assessment.

[0074] Understandably, electronic device 100 can be displayed during the initial hyperglycemia risk assessment. Figure 1C If the electronic device 100 collects the user's personal information during the initial hyperglycemia risk assessment, it can skip the user interface 30 when performing a subsequent hyperglycemia risk assessment. This reduces the inconvenience of the user repeatedly entering their personal information. Alternatively, the electronic device 100 can display the collected user information. If the user confirms that the information is correct, the electronic device 100 can start acquiring PPG signals and use PPG signals to assess hyperglycemia risk.

[0075] It can be seen that if Figure 1B and Figure 1C All of these are optional user interfaces, so the electronic device 100 detects an action acting on... Figure 1A After the user operates the activation assessment option 101 shown, the electronic device 100 can initiate a high blood sugar risk assessment and display... Figure 1D The user interface shown is 40.

[0076] In addition to obtaining users' personal information through user input, electronic device 100 can also obtain users' personal information through other means, such as through other applications or other devices. This application embodiment does not limit the method of obtaining users' personal information.

[0077] For example, if electronic device 100 detects an action acting on Figure 1C The user operation of the start evaluation option 303, as shown, triggers the electronic device 100 to begin acquiring PPG signals and displays them. Figure 1D The user interface 40 shown can be used to display the acquisition progress of the PPG signal.

[0078] like Figure 1DAs shown, the user interface 40 may include: acquisition progress 401, which can be used to display the acquisition progress of the PPG signal. For example, as Figure 1D As shown in the figure, the acquisition progress displayed in acquisition progress 401 is 40%.

[0079] The acquisition progress refers to the ratio of the number of valid PPG signal intervals acquired by electronic device 100 in this hyperglycemia risk assessment to the preset number. Detailed calculation methods for the acquisition progress can be found in the subsequent methodology, and will not be elaborated upon here.

[0080] Furthermore, if the hyperglycemia risk assessment requires obtaining PPG signals from multiple days, the user interface 40 may also include a calendar 402. This calendar 402 can display the calendar for the days surrounding the current date, and it can also display the dates on which PPG signals have been collected during this hyperglycemia risk assessment. In this way, the user can understand the number of days elapsed during this hyperglycemia risk assessment and the current date, making it easier for the user to estimate the time when the hyperglycemia risk assessment results will be available.

[0081] After one evaluation cycle, the electronic device 100 can use the PPG signals collected during this evaluation cycle to assess the user's blood glucose results and display them. Figure 1E The user interface 50 shown can be used to display the blood glucose results evaluated by the electronic device 100.

[0082] like Figure 1E As shown, the user interface 50 can be used to display the user's risk level corresponding to their high blood sugar risk, as well as the dates of the assessment period. For example, in Figure 1E In this study, the user's risk level for high blood sugar was classified as low risk, and the assessment period covered the period from January 6th to January 8th. This low risk level indicates a low likelihood that the user has high blood sugar.

[0083] In addition, electronic device 100 can also be through Figure 1F The user interface 60 shown displays the user's historical hyperglycemia risk assessment records.

[0084] like Figure 1F As shown, the user interface 60 may include one or more assessment record options. Each assessment record option corresponds to a single hyperglycemia risk assessment, and each assessment record option can display the risk level derived from its corresponding hyperglycemia risk assessment and the assessment period. For example, in Figure 1FIn the user interface 60, there may be three assessment record options: 601, 602, and 603. Assessment record option 601 corresponds to a hyperglycemia risk assessment conducted between January 6th and January 8th, with a risk level of low. Assessment record option 602 corresponds to a hyperglycemia risk assessment conducted between January 2nd and January 4th, with a risk level of medium. Assessment record option 603 corresponds to a hyperglycemia risk assessment conducted between December 31st and January 2nd, with a risk level of low.

[0085] Alternatively, the electronic device 100 can also detect a selection operation performed on an assessment record option and display detailed information of the corresponding hyperglycemia risk assessment.

[0086] from Figures 1A-1F As can be seen, the electronic device 100 can guide users to start the device to collect PPG signals through the relevant user interface for high blood sugar risk assessment, and use the PPG signals to assess the user's high blood sugar risk, so that users can understand their own blood sugar status.

[0087] Figure 2 This is a schematic flowchart of the blood glucose assessment method provided in the embodiments of this application.

[0088] like Figure 2 As shown, this blood glucose assessment method may include the following steps:

[0089] S101. Electronic device 100 acquires a first PPG signal collected within a first time period, wherein the first time period includes multiple time periods divided by a first duration, the first PPG signal includes multiple PPG signal intervals, and each PPG signal interval is a PPG signal collected within a time period.

[0090] Electronic device 100 can be a wearable device such as a watch or wristband. In this case, the first PPG signal can be a signal collected by electronic device 100. Alternatively, electronic device 100 can be a non-wearable device such as a mobile phone, computer, or tablet. In this case, the first PPG signal can be a signal collected by other devices and sent to electronic device 100.

[0091] Understandably, in addition to acquiring PPG signals, electronic device 100 can also acquire ECG signals, NTC signals, skin conductance signals, acceleration signals, etc., and combine multiple signals to determine the user's blood glucose result in the subsequent determination, so as to make the assessment result more accurate.

[0092] The first time period includes multiple time periods divided by a first duration, meaning that the electronic device 100 can divide the first PPG signal into multiple PPG signal intervals within a certain window duration, such as 15 minutes, during the process of acquiring the first PPG signal.

[0093] In specific implementation, the electronic device 100 can divide these windows into multiple time periods. That is, during the acquisition of PPG signals, the electronic device 100 can define the PPG signals acquired within a certain time interval (e.g., 15 minutes) as a PPG signal interval within a window. In this way, the electronic device 100 can perform window division while acquiring PPG signals. It is understandable that during the acquisition of PPG signals, there may be discontinuous PPG signal acquisition or no PPG signals acquired. Therefore, the duration of PPG signals acquired in some windows may be shorter than the corresponding window duration, or there may be no PPG signals in some windows. In other words, the number of time periods divided by the first time interval may be greater than the number of PPG signal intervals divided from the first PPG signal, and the duration of PPG signals acquired in a PPG signal interval may be less than or equal to the first time interval.

[0094] For example, the electronic device 100 may trigger the execution of steps S101-S103 under any of the following circumstances:

[0095] 1) The electronic device 100 detected that the user had initiated a blood glucose assessment.

[0096] The operation can be a touch operation on a touch screen, a physical operation on a button, a user's voice command, or a specified body movement, etc. The embodiments of this application do not limit the form of the operation.

[0097] For example, this operation can be Figure 1A The user action shown is for initiating evaluation option 101.

[0098] In other words, the electronic device 100 allows users to proactively assess their own blood sugar levels. This allows users to easily monitor their blood sugar levels at any time.

[0099] 2) Electronic device 100 detects arrival at the designated time

[0100] In other words, the electronic device 100 can begin to perform blood glucose assessment operations when a specified time is reached, including: acquiring PPG signals, using PPG signals to assess the user's blood glucose status, etc.

[0101] For example, the electronic device 100 can also periodically execute steps S101-S103. In this way, the electronic device 100 can automatically assess the user's blood glucose level at regular intervals, helping the user to continuously monitor their own blood glucose level.

[0102] 3) Electronic device 100 recognizes that the user is in a specified state.

[0103] For example, the specified state can be a resting state, a sleeping state, etc., and the embodiments of this application do not limit this.

[0104] In other words, the electronic device 100 can also monitor the user's status at all times. When it recognizes that the user's physical condition meets the requirements for assessing blood sugar levels, it can begin to perform the relevant operations for assessing the user's blood sugar levels.

[0105] It is understood that the electronic device 100 may also trigger the execution of steps S101-S103 under other circumstances, and this application embodiment does not limit this.

[0106] S102. During the acquisition of the first PPG signal, the electronic device 100 displays the acquisition progress of the first PPG signal. The acquisition progress is the ratio of the number of valid PPG signal intervals acquired to a preset number. Among the valid PPG signal intervals, the duration of the PPG signal that meets the signal quality requirements is greater than or equal to the second duration.

[0107] During the acquisition of the first PPG signal, the electronic device 100 can identify whether the PPG signal interval divided from the first PPG signal meets the preset requirements. If the PPG signal interval meets the preset requirements, the PPG signal interval can be determined as a valid PPG signal interval; otherwise, the PPG signal interval can be determined as an invalid PPG signal interval.

[0108] The preset requirement can be that, within the PPG signal range, the duration of the PPG signal that meets the signal quality requirements is greater than or equal to a second duration. In other words, the electronic device 100 can determine a window in which the duration of the PPG signal that meets the signal quality requirements reaches a specified duration as a valid window; otherwise, it will determine the window as an invalid window.

[0109] It is understandable that the duration of a PPG signal that meets the signal quality requirements can refer to the cumulative duration of PPG signals that meet the signal quality requirements contained in the PPG signal interval, or it can refer to the continuous duration of the time period in the PPG signal interval during which PPG signals that meet the signal quality requirements are collected.

[0110] For example, signal quality requirements may include one or more of the following: signal fluctuation requirements, signal continuity requirements, signal accuracy requirements, etc. For instance, a PPG signal whose signal fluctuation amplitude is less than a first threshold and whose signal continuity is greater than a second threshold is a PPG signal that meets the signal quality requirements. In a specific implementation, the electronic device 100 can identify whether a PPG signal meets the signal quality requirements by extracting features from the acquired PPG signal and determining whether the features meet preset feature requirements. This application embodiment does not limit the PPG signal that meets the signal quality requirements.

[0111] In this way, the electronic device 100 can identify the number of valid PPG signal intervals in the divided PPG signal intervals during the acquisition of the first PPG signal, and determine the acquisition progress of the first PPG signal based on the number of valid PPG signal intervals.

[0112] When the electronic device 100 detects a user operation to view the acquisition progress, the electronic device 100 can determine the acquisition progress of the first PPG signal by the ratio of the number of valid PPG signal intervals in the currently acquired first PPG signal to a preset number, and display the acquisition progress.

[0113] For example, see Figure 1D The collection progress can be the information displayed in collection progress 401.

[0114] Understandably, when the electronic device 100 detects a user viewing the acquisition progress, it can trigger window segmentation of the first acquired PPG signal and count the number of valid PPG signal intervals. This reduces the computational load on the electronic device 100 during real-time PPG signal acquisition. Alternatively, during the acquisition of the first PPG signal, the electronic device 100 can perform window segmentation of the acquired PPG signal in real-time and count the number of valid PPG signal intervals in real-time, allowing for rapid value output when the user triggers the viewing of the acquisition progress.

[0115] To better understand PPG signal segmentation and the process of selecting effective PPG signal intervals, Figure 3 This is a schematic diagram illustrating the principle of filtering valid PPG signal intervals from PPG signals, as provided in an embodiment of this application.

[0116] like Figure 3As shown, the electronic device 100 can divide the acquired PPG signal into multiple windows of 15 minutes each, such as window 1, window 2, and window 3. Then, the electronic device 100 can identify whether the duration of the PPG signal meeting the signal quality requirements in each window reaches the specified duration. For example, if the duration of the PPG signal meeting the signal quality requirements in a window is 5 minutes, then the window is a valid window; otherwise, the window is an invalid window. Figure 3 In the schematic diagram shown, window 1 is the valid window, while windows 2 and 3 are invalid windows.

[0117] In other words, the PPG signal range contained in window 1 is a valid PPG signal range, while the PPG signal ranges contained in windows 2 and 3 are invalid PPG signal ranges.

[0118] Then, electronic device 100 can retain window 1 and discard windows 2 and 3. Afterwards, electronic device 100 can use window 1 to determine the acquisition progress of PPG signal and blood glucose results.

[0119] It is understandable that the electronic device 100 may employ other segmentation mechanisms when segmenting the first PPG signal. For example, the electronic device 100 may segment the PPG signal using a sliding window, where the duration of a sliding window is the duration of a window. If the PPG signal within the sliding window meets the aforementioned preset requirements, the current sliding window is identified as a valid window. Otherwise, the sliding window continues forward in time until the PPG signal within the window meets the preset requirements. For example, taking a window duration of 15 minutes and a preset requirement of 5 minutes, if the sliding window is between 0 and 15 minutes, since only 3 minutes of PPG signal within 0-15 minutes meet the signal quality requirements, the sliding window continues to slide forward. When the sliding window is between 5 and 15 minutes, 5 minutes of PPG signal within the window meet the signal quality requirements. Therefore, 5-15 minutes is identified as a window, and the PPG signal interval contained within this window is a valid PPG signal interval. In this way, after the electronic device 100 segments the PPG signal, it does not need to identify whether the segmented PPG signal interval is a valid PPG signal interval. Instead, the segmented PPG signal interval is the valid PPG signal interval, thus omitting the step of identifying the valid PPG signal interval.

[0120] S103. Electronic device 100 displays the user's first blood glucose result, which is determined based on a first PPG signal and is used to indicate the user's blood glucose status.

[0121] The first blood glucose result can be specifically used to indicate the likelihood of a user having hyperglycemia or hypoglycemia. For example, the first blood glucose result can be presented as a risk level, which can include three levels: low risk, medium risk, and high risk. Taking hyperglycemia as an example, low risk can indicate that the user has a low probability of having hyperglycemia, medium risk can indicate that the user has a moderate probability of having hyperglycemia, and high risk can indicate that the user has a relatively high probability of having hyperglycemia.

[0122] For example, see Figure 1E The first blood glucose result can be displayed as "low risk" in the user interface 50.

[0123] For example, the electronic device 100 may terminate the acquisition of the first PPG signal and determine the user's first blood glucose result if one or more of the following conditions are met:

[0124] 1) The acquisition progress of the first PPG signal is greater than or equal to 100%.

[0125] For example, if the number of valid PPG signal intervals in the first PPG signal acquired by the electronic device 100 reaches a preset number, the electronic device 100 can end the acquisition of the first PPG signal.

[0126] 2) The duration of the first time period is greater than or equal to the duration of the third time period.

[0127] For example, the electronic device 100 can terminate the acquisition of the first PPG signal when the acquisition time of the PPG signal reaches a specified duration.

[0128] In one example, electronic device 100 can define the third duration in days. Then, electronic device 100 can terminate the acquisition of the first PPG signal if the number of days spanned by the first time period is greater than or equal to the number of days in the first day. For example, the number of days in the first day could be 14 days.

[0129] It is understandable that electronic device 100 can also end the acquisition of the first PPG signal if both of the above conditions are met at the same time. Therefore, even if the acquisition time of the PPG signal by electronic device 100 reaches the specified time, if the acquisition progress of the first PPG signal has not reached 100%, electronic device 100 will still continue to acquire the first PPG signal. Alternatively, even if the acquisition progress of the first PPG signal reaches 100%, but the acquisition time of the PPG signal by electronic device 100 has not reached the specified time, electronic device 100 will still continue to acquire the first PPG signal.

[0130] The electronic device 100 can determine the user's first blood glucose result by using the effective PPG signal range in the first PPG signal.

[0131] Specifically, the electronic device 100 can extract the first features from the multiple effective PPG signal intervals contained in the first PPG signal and input them into the blood glucose assessment model to obtain multiple first intermediate values, and obtain the user's first blood glucose result based on these multiple first intermediate values.

[0132] The first feature can be a feature extracted from a PPG signal that meets the signal quality requirements within the corresponding valid PPG signal range. For example, the first feature may include, but is not limited to, one or more of the following: time-domain features, frequency-domain features, first-order derivative features, second-order derivative features, etc.

[0133] The electronic device 100 can obtain the user's first blood glucose result by performing a fusion process on multiple first intermediate values. This fusion process can involve taking the maximum, minimum, median, or average value, etc.

[0134] The input to the blood glucose assessment model can be features extracted from the PPG signal, and the input can be a numerical value used to indicate the user's blood glucose result. The blood glucose assessment model can be trained using the PPG signal of a test subject with known blood glucose results.

[0135] To better understand the process by which electronic device 100 determines blood glucose results based on the effective PPG signal range Figure 4 This is a schematic diagram illustrating the principle of determining a user's blood glucose result based on an effective PPG signal range, as provided in an embodiment of this application.

[0136] like Figure 4 As shown, after the electronic device 100 extracts the effective window from the first PPG signal, the blood glucose result can be obtained through the following three steps:

[0137] Step 1: Feature Extraction

[0138] The electronic device 100 can extract effective windows from the first PPG signal: window 1, ..., window N, and extract features from each effective window. The features extracted from window 1 are window-level features 1, ..., and the features extracted from window N are window-level features N.

[0139] Taking the calculation process of window-level feature 1 as an example, firstly, find the PPG signal that meets the signal quality requirements from window 1. Then, extract the first feature of the PPG signal for each heartbeat. Then, calculate the maximum value, minimum value, median or average value of the first feature extracted from the PPG signal that meets the signal quality requirements to obtain window-level feature 1.

[0140] Step 2: Model Calculation

[0141] Features extracted from multiple valid windows are input into the blood glucose assessment model to obtain multiple window-level results, including: window-level result 1, ..., window-level result N. Window-level result 1 is the result obtained after inputting window-level feature 1 into the blood glucose assessment model, and ..., window-level result N is the result obtained after inputting window-level feature N into the blood glucose assessment model.

[0142] For example, the window-level result can be a risk value. Taking blood glucose results as an example to indicate the likelihood of a user having high blood glucose, the risk value can be used to indicate the magnitude of the likelihood of a user having high blood glucose. For example, the risk value is a value between 0 and 1.

[0143] Step 3: Result Fusion

[0144] By fusing window-level results 1, ..., window-level results N, we can obtain blood glucose results, which can be presented in the form of risk level: low risk, medium risk, or high risk.

[0145] For example, if window-level results 1 to window-level results N are risk values, the average of these results can be taken to obtain the final result value. Then, based on the risk level range of the final result value, the blood glucose result can be determined as low-risk, medium-risk, or high-risk. For instance, if the final result value is 0.5, and 0.4-0.7 is a medium-risk range, then the user's blood glucose result is medium-risk.

[0146] It is worth mentioning that in this embodiment, after determining multiple window-level results through the blood glucose assessment model, the user's blood glucose result is obtained by directly fusing these multiple window-level results without setting weights for the window-level results. In contrast, in the prior art, the acquisition duration of PPG signals that meet the signal quality requirements is usually used as the weight to calculate the final blood glucose result. For example, if the user acquires more PPG signals at night, the final calculated blood glucose result is largely reflected by the PPG signals acquired at night. In comparison, the blood glucose result calculation method provided in this embodiment avoids overemphasizing PPG signals acquired during periods when PPG signals are easily obtained, and treats PPG signals acquired at all times equally. The blood glucose result is calculated by comprehensively considering the PPG signals acquired by the user at various time periods, which better reflects the user's physiological characteristics at various time periods and makes the blood glucose result more objective and accurate.

[0147] In some implementations, the first blood glucose result can also be determined based on first user information. Before displaying the user's first blood glucose result, the electronic device 100 may display a prompt message (e.g., a first prompt message), which can be used to prompt the user to enter user information. Afterwards, the electronic device 100 can obtain the first user information based on the user's action (e.g., a first action).

[0148] User information may include, but is not limited to, one or more of the following: gender, date of birth, height, weight, medical history, etc.

[0149] In other words, the electronic device 100 can prompt the user to enter user information and use the user's entered user information and the user's PPG signal to determine the user's blood glucose result, so that the electronic device 100 can obtain blood glucose results that are personalized to the user.

[0150] For example, see Figure 1C This prompt message can be Figure 1C The personal information display area 301 is shown.

[0151] In one example, the electronic device 100 can adjust the range of intervals used to determine the risk level based on user information. Then, when the electronic device 100 obtains the final result value based on the first PPG signal and the blood glucose assessment model, the electronic device 100 can determine the risk level corresponding to the final result value based on the adjusted range of risk levels.

[0152] For example, suppose the risk level ranges for different age groups can be different. The range for medium risk is 0.3-0.8 for those aged 50-70, and 0.4-0.7 for those aged 30-50. If the final result obtained based on the first PPG signal and the blood glucose assessment model is 0.35, then the final risk level will be different depending on the user's age. For example, if the user is between 50 and 70 years old, the user's blood glucose result is medium risk; if the user is between 30 and 50 years old, the user's blood glucose result is low risk.

[0153] It is understandable that, in addition to using user information to optimize blood glucose results, electronic device 100 can also use user information as input to a blood glucose assessment model to combine PPG signals and user information to assess the user's blood glucose results. This application embodiment does not limit the way user information is used.

[0154] Figure 5 This is a detailed flowchart illustrating a blood glucose assessment method provided in an embodiment of this application.

[0155] like Figure 5 As shown, this blood glucose assessment method may include:

[0156] S201. Electronic device 100 detects that the user has initiated a blood glucose assessment.

[0157] Electronic device 100 can initiate a blood glucose assessment for the user based on user operation; for example, this operation can be... Figure 1A The user action shown is for initiating evaluation option 101.

[0158] It is understood that step S201 is an optional step, and electronic device 100 can also trigger blood glucose assessment in other ways. For details, please refer to the relevant description in step S101, which will not be repeated here.

[0159] S202 electronic device 100 acquires PPG signal.

[0160] For example, if the electronic device 100 is a wearable device such as a watch or bracelet equipped with a photoelectric sensor, the electronic device 100 can directly obtain the PPG signal by collecting the PPG signal.

[0161] In some implementations, the electronic device 100 may acquire user information before acquiring the PPG signal, so that the user information can be combined with the subsequent assessment of the user's blood glucose result using the PPG signal to determine the blood glucose result.

[0162] For a detailed description of the user information, please refer to the first user information mentioned in step S103 above, which will not be repeated here.

[0163] S203. Electronic device 100 obtains the PPG signal range based on the PPG signal obtained by window duration segmentation.

[0164] For example, the window duration can be 15 minutes.

[0165] It is understandable that the duration of this window can be the preset duration of the electronic device 100, or it can be the duration set by the user.

[0166] It is evident that the electronic device 100 can perform PPG signal segmentation in parallel during the acquisition of the PPG signal.

[0167] For example, after the electronic device 100 obtains the PPG signal range, it can perform operations such as filtering, single-peak segmentation, and quality inspection on the PPG signal range in order to perform subsequent identification of whether the PPG signal range is a valid PPG signal range.

[0168] S204. Electronic device 100 identifies whether the acquired PPG signal range is a valid PPG signal range.

[0169] The electronic device 100 can determine whether the PPG signal interval is a valid PPG signal interval by identifying whether the duration of the PPG signal that meets the signal quality requirements in the PPG signal interval reaches a specified duration.

[0170] If the duration of a PPG signal that meets the signal quality requirements in the PPG signal interval reaches the specified duration, then the PPG signal interval is a valid PPG signal interval; otherwise, the PPG signal interval is an invalid PPG signal interval.

[0171] If the PPG signal range is a valid PPG signal range, then the electronic device 100 executes step S205; otherwise, the electronic device 100 executes step S202.

[0172] S205. Electronic device 100 extracts window-level features in the PPG signal range.

[0173] Specifically, the electronic device 100 can first extract the features of each PPG signal in the PPG signal in units of heartbeats, and then calculate the maximum, minimum, median or average value of the features extracted from all PPG signals that meet the signal quality in the PPG signal interval to obtain window-level features.

[0174] It is understood that the window-level feature can refer to the first feature mentioned in step S103 above. For a detailed description of feature extraction, please refer to the relevant description in step S103 above, which will not be repeated here.

[0175] S206. Electronic device 100 inputs the extracted window-level features into the blood glucose assessment model to obtain window-level results.

[0176] It is understandable that if the electronic device 100 also acquires user information, then step S206 can also be that the electronic device 100 inputs the extracted window-level features and user information into the blood glucose assessment model to obtain window-level results.

[0177] S207. Electronic device 100 determines the PPG signal acquisition progress based on the number of currently acquired valid PPG signal intervals.

[0178] For example, the acquisition progress of PPG signals can be the ratio of the number of currently acquired valid PPG signal intervals to a preset number.

[0179] S208. Electronic device 100 displays the acquisition progress of PPG signal.

[0180] For example, the electronic device 100 can display the acquisition progress of the PPG signal in real time during the acquisition process. In this way, the electronic device 100 can synchronously update the acquisition progress of the PPG signal when a valid PPG signal range is acquired.

[0181] In some implementations, the electronic device 100 may display the PPG signal acquisition progress only after detecting a user operation that allows the user to view the acquisition progress of the PPG signal.

[0182] It is understandable that if the electronic device 100 does not detect a user operation to view the acquisition progress of the PPG signal, the electronic device 100 may not execute steps S207 and S208 during the acquisition of the PPG signal. Furthermore, this embodiment does not limit the execution order of steps S207-S208 and steps S205-S206. For example, the electronic device 100 may first calculate the window-level result and then determine the acquisition progress of the PPG signal, i.e., execute steps S205-S206 first, and then execute steps S207-S208. Alternatively, the electronic device 100 may first determine the acquisition progress of the PPG signal, then calculate the window-level result, and then display the acquisition progress of the PPG signal, i.e., execute step S207 first, then execute steps S205-S206, and then execute step S208.

[0183] S209. Electronic device 100 determines whether the acquisition progress of the PPG signal is equal to 100%.

[0184] If the acquisition progress of the PPG signal is 100%, the electronic device 100 executes step S210; otherwise, the electronic device 100 executes step S202.

[0185] It can be seen that the electronic device 100 can end the acquisition of PPG signals when the acquisition progress of PPG signals is equal to 100%; otherwise, the electronic device 100 can continue to acquire PPG signals until the acquisition progress of PPG signals is equal to 100%.

[0186] It is understood that in steps S201-S209, the time period from when the electronic device 100 starts collecting PPG signals to when it stops collecting PPG signals is the first time period mentioned in step S101 above, and the PPG signals collected in the first time period are the first PPG signals mentioned in step S101.

[0187] In some implementations, the electronic device 100 can also set a minimum number of days for collecting PPG signals, such as 3 days. In other words, even if the PPG signal collection progress has reached 100%, if the number of days the electronic device 100 has collected PPG signals is less than the minimum number of days, the electronic device 100 will continue to collect PPG signals until the number of days for collecting PPG signals reaches the minimum number of days, at which point the collection of PPG signals will end.

[0188] For example, before executing step S209, electronic device 100 can identify whether the number of days for collecting the current PPG signal has reached the minimum number of days. If it has not reached the minimum number of days, electronic device 100 can execute step S202, that is, continue to acquire PPG signals. If it has reached the minimum number of days, electronic device 100 can execute step S209, that is, determine whether the acquisition progress of PPG signals is equal to 100%.

[0189] In this scenario, the electronic device 100 can calculate two acquisition progresses: one is acquisition progress 1, calculated based on the number of valid PPG signal intervals in the PPG signal, and the other is acquisition progress 2, calculated based on the number of acquisition days. The acquisition progress of the PPG signal displayed by the electronic device 100 can then be the minimum of acquisition progress 1 and acquisition progress 2. In other words, if acquisition progress 1 ≥ acquisition progress 2, then the acquisition progress of the PPG signal displayed by the electronic device 100 is acquisition progress 2; if acquisition progress 2 ≥ acquisition progress 1, then the acquisition progress of the PPG signal displayed by the electronic device 100 is acquisition progress 1.

[0190] In this context, "Collection Progress 1" refers to the ratio of the number of valid PPG signal intervals among the collected PPG signals to the preset number, while "Collection Progress 2" is the ratio of the current blood glucose assessment duration to the minimum number of days. For example, assuming the minimum number of days is 3 days, if the current time is 12:00 PM on the second day of this round of blood glucose assessment, then the current collection progress 2 = 2.5 / 3 ≈ 83%.

[0191] This ensures that the electronic device 100 can end the acquisition of PPG signals when the acquisition progress of the displayed PPG signals reaches 100%, thus ensuring that the information displayed on the interface is consistent with the internal operations actually performed by the electronic device 100.

[0192] In some implementations, the electronic device 100 can also set a maximum number of days for collecting PPG signals, such as 14 days. In other words, even if the PPG signal collection progress has not reached 100%, if the electronic device 100 collects PPG signals for the maximum number of days, the electronic device 100 can terminate the PPG signal collection.

[0193] For example, before executing step S209, electronic device 100 can identify whether the current PPG signal collection period has reached the maximum number of days. If the maximum number of days has not been reached, electronic device 100 can execute step S209, that is, determine whether the PPG signal collection progress is equal to 100%. If the maximum number of days has been reached, electronic device 100 can execute step S210, that is, end the PPG signal collection and determine the user's blood glucose result. Alternatively, if the maximum number of days has been reached, electronic device 100 can still identify whether the PPG signal collection progress has reached 100%. If the PPG signal collection progress has reached 100%, electronic device 100 can execute step S210, that is, end the PPG signal collection and determine the user's blood glucose result. If the PPG signal collection progress has not reached 100%, electronic device 100 will not execute subsequent steps S210-S211, that is, electronic device 100 can automatically end the evaluation and prompt the user that the evaluation has failed. Further optionally, electronic device 100 can also give the user a "no evaluation result" reminder and suggest that the user re-evaluate. This avoids the situation where users use PPG signals with insufficient data to assess their blood glucose results, preventing electronic devices from generating inaccurate blood glucose results that could affect users' judgment of their own blood glucose status.

[0194] It is understandable that the electronic device 100 can also simultaneously set a minimum and a maximum number of days for collecting PPG signals. This allows the data collection period for blood glucose assessment to be controlled within a specified range, preventing the electronic device 100 from outputting blood glucose results too early or from failing to output results for an extended period. Furthermore, the electronic device 100 can first determine whether the PPG signal collection progress is equal to 100% before determining the collection period. This embodiment does not restrict the order of these steps. Taking a maximum number of days for PPG signals set on the electronic device 100 as an example, the electronic device 100 can first determine whether the PPG signal collection progress is equal to 100%, and then determine whether the current number of PPG signal collection days has reached the maximum number of days.

[0195] S210. Electronic device 100 fuses all the calculated window-level results to obtain the user's blood glucose result.

[0196] Among them, all window-level results refer to all window-level results calculated by electronic device 100 in step S206 during the execution of steps S201-S209.

[0197] For example, the fusion process can be a mathematical operation such as taking the maximum value, minimum value, median, or average.

[0198] S211. Electronic device 100 displays the user's blood glucose results.

[0199] The electronic device 100 can automatically display the user's blood glucose result after determining it, or it can display the user's blood glucose result after detecting the user's action of viewing the result. This application embodiment does not limit the timing of the electronic device 100 displaying the user's blood glucose result.

[0200] It is understood that the blood glucose result mentioned in step S211 may refer to the first blood glucose result mentioned in step S103 above.

[0201] As can be seen from steps S201-S211, the electronic device 100 can segment the PPG signal during the acquisition of the PPG signal, identify whether the segmented PPG signal interval is a valid PPG signal interval, and calculate the window-level result corresponding to the valid PPG signal interval. After the user finishes the acquisition, the window-level results calculated during the acquisition process can be fused to quickly calculate the user's blood glucose result. In this way, the electronic device 100 can quickly output the value. Moreover, the electronic device 100 does not need to store all the acquired PPG signals until the final blood glucose result is calculated. Instead, it stores the valid PPG signal interval or window-level result during the acquisition of the PPG signal, thereby saving the storage space of the electronic device 100.

[0202] It can be seen that the blood glucose assessment method described in steps S201-S211 is a specific implementation of the blood glucose assessment method described in steps S101-S103. For details not described in steps S201-S211, please refer to the relevant descriptions in steps S101-S103, which will not be repeated here.

[0203] In some implementations, during the process of the electronic device 100 acquiring PPG signals, such as during the execution of step S101 above, the electronic device 100 may output a prompt message when a specified time (e.g., a first time point) is reached. The prompt message may include one or more of the following: the wearing requirements of the device for acquiring the first PPG signal, a summary of the progress of PPG signal acquisition, the expected time for the blood glucose result to be displayed, and the reason for not evaluating the blood glucose result.

[0204] In this way, users can dynamically adjust the wearing time of the device through the reminders in the prompts, estimate the time when the blood glucose results will be available, and have a general understanding of the current progress of the blood glucose assessment.

[0205] For example, the electronic device 100 may output prompt information through interface display or voice prompts, and the embodiments of this application do not limit the way the electronic device 100 outputs prompt information.

[0206] The prompt information can be determined based on the number of valid PPG signal intervals acquired by the electronic device 100 in the first time period.

[0207] Furthermore, considering that a user's physical condition may vary at different times of the day, and therefore the signal characteristics reflected in the PPG signal will also be different, in order to ensure that the electronic device 100 can acquire PPG signals at different times of the day during the acquisition of the first PPG signal, and to determine the user's blood glucose result by using PPG signals that include various physical conditions of the user, the electronic device 100 can determine the prompt information based on the number of effective PPG signal intervals in different time periods within the first time period.

[0208] For example, these different time periods can include morning and afternoon, or daytime and nighttime. Taking daytime and nighttime as examples, the electronic device 100 can determine the prompt message based on whether the number of effective PPG signal intervals during the day and night meets a preset requirement. For example, if the number of effective PPG signal intervals acquired during the day is insufficient, the prompt message can remind the user to wear the watch more during the day; if the number of effective PPG signal intervals acquired at night is insufficient, the prompt message can remind the user to wear the watch more at night.

[0209] For ease of description, the number of valid PPG signal intervals collected by electronic device 100 during the day as of the output prompt message is defined as dayNum, and the number of valid PPG signal intervals collected at night is defined as nightNum.

[0210] In practical applications, if the first PPG signal in the first time period requires signal acquisition over multiple days, the electronic device 100 can set the specified time in days. This allows the electronic device 100 to output a notification message when the specified date is reached. Furthermore, the content of the notification message can vary depending on the date reached by the electronic device 100.

[0211] In one example, the electronic device 100 may output a second prompt message on the second day after it begins collecting the first PPG signal. This second prompt message includes a requirement for wearing the device that collects the first PPG signal.

[0212] The electronic device 100 can, on the second day after starting to collect the first PPG signal, identify the relationship between dayNum and quantity 1, and the relationship between nightNum and quantity 2 in the currently collected first PPG signal. If dayNum < quantity 1, the second prompt information may include the wearing requirements of the device collecting the first PPG signal during the day; if nightNum < quantity 2, the second prompt information may include the wearing requirements of the device collecting the first PPG signal at night.

[0213] Among them, quantity 1 and quantity 2 can be preset values ​​of the system or values ​​set by the user, and this application embodiment does not limit them.

[0214] In this way, the electronic device 100 can promptly remind the user to adjust the device wearing status based on the PPG signal already collected by the electronic device 100 at the beginning of the PPG signal collection phase, so that the electronic device 100 can collect PPG signals that meet the data volume requirements of different time periods as soon as possible.

[0215] In another example, if the electronic device 100 is set with a minimum number of days for collecting PPG signals, if the electronic device 100 collects the required number of PPG signals within the minimum number of days, the electronic device 100 can output the blood glucose result when the minimum number of days is reached. If the electronic device 100 does not output the blood glucose result when the minimum number of days is reached, it indicates that the electronic device 100 is not successfully acquiring PPG signals. In this case, the electronic device 100 can output a third prompt message on the second day after the minimum number of days for collecting PPG signals is reached. The third prompt message may include a summary of the progress of PPG signal collection and / or the expected time for the blood glucose result to be displayed.

[0216] In other words, the first time period can include two dates: the first date and the second date. The number of days from the start time of the first time period to the first date is the minimum number of days set by the electronic device 100 for collecting PPG signals. The second date is the day after the first date. Therefore, the third prompt message is the prompt message output by the electronic device 100 on the second date.

[0217] Here, assuming that quantity 3 and quantity 4 are the minimum quantity requirements of PPG signals that the electronic device 100 needs to satisfy in outputting blood glucose results, the electronic device 100 can determine the specific content of the third prompt message based on the relationship between dayNum and quantity 3, and the relationship between nightNum and quantity 4.

[0218] For example, if dayNum is close to or exceeds 3, and nightNum is close to or exceeds 4, the third prompt message can indicate that the PPG signal acquisition progress is good and give the expected time for the blood glucose result. If dayNum is much less than 3, and / or nightNum is much less than 4, the third prompt message can indicate that the PPG signal acquisition progress is average.

[0219] Among them, quantity 3 and quantity 4 can be preset values ​​of the system or values ​​set by the user, and this application embodiment does not limit them.

[0220] It can be seen that the third prompt message output by the electronic device 100 is to take into account that if the electronic device 100 is set to have a minimum number of days for collecting PPG signals, and the electronic device 100 fails to output a value due to insufficient PPG signals collected when the minimum number of days is reached, the third prompt message can be output so that the user can understand the reason for the current failure to output a value and adjust the collection of PPG signals in time so that the electronic device 100 can output a value as soon as possible.

[0221] Furthermore, if the third prompt message includes the estimated time for the blood glucose result to be displayed, and if the number of days that the electronic device 100 has collected PPG signals reaches the estimated time for display, but the number of first PPG signals has not reached the minimum number required for the electronic device 100 to output blood glucose results, then the electronic device 100 cannot provide the user's blood glucose result at the estimated time for display indicated in the third prompt message. In this case, the electronic device 100 can further output a fourth prompt message, which can be used to indicate the reason why the blood glucose result was not evaluated.

[0222] In other words, if the deadline of the first time period is after the expected time of the blood glucose result, the electronic device 100 can output the fourth prompt information at the expected time of the result during the process of the electronic device 100 collecting the first PPG signal.

[0223] Combining the quantities 3 and 4 mentioned above, assuming that quantities 3 and 4 are the minimum quantity requirements that the electronic device 100 needs to meet to output blood glucose results, then the electronic device 100 can identify the magnitude relationship between dayNum and nightNum in the currently collected first PPG signal and quantities 3 and 4, respectively, when the expected output time is reached, in order to determine the specific content of the fourth prompt message.

[0224] For example, if dayNum < quantity 3, the fourth prompt message can be used to remind the user that there is insufficient valid data during the day; if nightNum is less than quantity 4, the fourth prompt message can be used to remind the user that there is insufficient valid data at night.

[0225] In other words, if the electronic device 100 provides the expected output time but does not display the user's blood glucose result at the expected output time, it can output a fourth prompt message so that the user can understand why the electronic device 100 did not evaluate the blood glucose result.

[0226] The following is a specific example to describe the second, third, and fourth prompt messages output by the electronic device 100.

[0227] Figure 6 This is a timing diagram for outputting prompt information, provided in an embodiment of this application.

[0228] like Figure 6 As shown, Day 1 is the first day that electronic device 100 starts blood glucose assessment and collects PPG signals, Day 2 is the second day that electronic device 100 collects PPG signals, and so on.

[0229] Among them, the electronic device 100 can output a second prompt message on Day 2, that is, the second day after the evaluation begins, and determine the specific prompt content of the second prompt message based on dayNum and nightNum.

[0230] Assuming quantity 1 is 8 and quantity 2 is 16, the second prompt message output by electronic device 100 can include the following four cases:

[0231] Scenario 1: If dayNum≥8 and nightNum≥16, the second prompt message can be: The wearing time during the day and night yesterday met the standard. Wearing for a longer period of time can speed up the evaluation process. Please continue to wear it.

[0232] Scenario 2: If dayNum < 8 and nightNum ≥ 16, the second prompt message can be as follows: The wearing time last night reached the standard, but the effective data during the day is insufficient. It is recommended that you wear it more tightly and keep it in a resting state as much as possible.

[0233] Scenario 3: If dayNum≥8 and nightNum<16, the second prompt message can be: The wearing time during the day yesterday reached the standard, but the effective data at night is insufficient. It is recommended that you continue to wear it at night.

[0234] Scenario 4: If dayNum < 8 and nightNum < 16, the second prompt message may be: There is insufficient valid data for both yesterday's daytime and nighttime. It is recommended that you wear it more tightly and keep it in a resting state as much as possible.

[0235] Additionally, assuming the minimum number of days for collecting PPG signals is 3 days, if the electronic device does not output blood glucose results on Day 3, the electronic device 100 can output a third prompt message on Day 4, which is the second day of the minimum number of days. Based on the relationship between dayNum and nightNum and the quantities 3 and 4, respectively, the specific content of the third prompt message is determined.

[0236] Assuming that both quantity 3 and quantity 4 are 48, then the electronic device 100 can terminate the acquisition of PPG signals when the number of effective PPG signal intervals acquired during the day and at night both exceed 48, and use the acquired PPG signals to assess the user's blood glucose results.

[0237] Furthermore, the electronic device 100 can introduce 16, 32 together with quantity 3 and quantity 4 to divide multiple levels. The electronic device 100 can determine whether the acquisition progress of the PPG signal indicated by the third prompt message is good or average by identifying the level of dayNum and nightNum.

[0238] Therefore, the third prompt message output by electronic device 100 can specifically include the following 5 situations:

[0239] Scenario 1: If 32≤dayNum<48 and 32≤nightNum<48, or dayNum≥32 and 32≤nightNum<48, or 32≤dayNum<48 and nightNum≥32, the third prompt message can be as follows: The progress of this round of evaluation is good. Please continue to wear it during the day and at night. It is expected that this round of evaluation will be completed within the next two days.

[0240] Scenario 2: If 16≤dayNum<32 and 16≤nightNum<32, or if dayNum≥16 and 16≤nightNum<32, or if 16≤dayNum<32 and nightNum≥16, the third prompt message can be: The progress of this round of evaluation is good. Wearing the garment for a longer period of time can speed up the evaluation process. Please continue to wear it.

[0241] Scenario 3: If dayNum < 16 and nightNum ≥ 16, the third prompt message may be: The progress of this round of evaluation is average. Please increase the wearing time during the day to speed up the evaluation process.

[0242] Scenario 4: If dayNum≥16 and nightNum<16, the third prompt message may be: The progress of this round of evaluation is average. Please increase the wearing time at night to speed up the evaluation process.

[0243] Scenario 5: If dayNum < 16 and nightNum < 16, the third prompt message may be: The progress of this round of evaluation is average. Please continue to wear it during the day and at night to speed up the evaluation process.

[0244] Furthermore, since the third prompt message in situation 1 above indicates that the electronic device 100 is expected to complete this round of evaluation within the next two days, Day 6 is the day indicated by the third prompt message. In other words, the electronic device 100 will output the blood glucose result no later than Day 6. If the electronic device 100 does not output the blood glucose result on Day 6, the electronic device 100 can output the fourth prompt message on Day 6, and determine the specific prompt content of the fourth prompt message according to the relationship between dayNum and nightNum and the quantities 3 and 4, respectively.

[0245] Therefore, the fourth prompt message output by electronic device 100 can include the following three situations:

[0246] Scenario 1: If dayNum < 48 and nightNum ≥ 48, the fourth prompt message may be as follows: The wearing time at night has reached the standard in the past two days, but the effective data during the day is insufficient. Please continue to wear the device during the day and night. This round of evaluation is expected to be completed within the next two days.

[0247] Scenario 2: If dayNum≥48 and nightNum<48, the fourth prompt message may be as follows: The wearing time during the day has reached the standard in the past two days, but the effective data at night is insufficient. Please continue to wear it during the day and night. This round of evaluation is expected to be completed within the next two days.

[0248] Scenario 3: If dayNum < 48 and nightNum < 48, the fourth prompt message may be as follows: There is insufficient valid data for both daytime and nighttime in the past two days. Please continue to wear the mask during the day and night. This round of evaluation is expected to be completed within the next two days.

[0249] It should be understood that the second, third, and fourth prompt messages specifically exemplified above are merely examples. The specific content prompted by the electronic device 100 may also be other. In addition, besides the three types of prompt messages mentioned above, the electronic device 100 may also output other prompt messages at other times. This application embodiment does not limit this.

[0250] In addition to setting the required number of PPG signals for different times of day, the electronic device 100 can also require the collected PPG signals to include PPG signals from different user states, such as sleep, non-sleep, exercise, and rest. In this way, the final blood glucose result calculated by the electronic device 100 comprehensively considers the user's physical condition under various states, making the final blood glucose result a more complete reflection of the user's blood glucose status.

[0251] Similar to the three types of prompts mentioned above, the electronic device 100 can set the required number of PPG signals for different user states, and output different prompts based on the number of valid PPG signal intervals in the PPG signals of different user states, thereby reminding the user to acquire PPG signals that meet the required number in each state. For example, the electronic device 100 can set a preset number of valid PPG signal intervals in the non-sleep state. If, on the second day after acquiring the first PPG signal, the number of valid PPG signal intervals in the user's non-sleep state has not reached the preset number, the electronic device 100 can output a prompt reminding the user to increase the wearing time in the non-sleep state.

[0252] Furthermore, after the electronic device 100 performs one round of blood glucose assessment, it can continue to perform blood glucose assessment, that is, acquire the user's PPG signal and assess the user's blood glucose result based on the PPG signal. In this way, the user can continuously monitor their own blood glucose level.

[0253] In some implementations, if the electronic device 100 continues to perform blood glucose assessments based on previous blood glucose assessments performed by the electronic device 100, the electronic device 100 can combine the PPG signal collected during the current blood glucose assessment process with the previously collected PPG signals to give the blood glucose result for the current round.

[0254] Specifically, in conjunction with the above steps S101-S103, after the electronic device 100 executes step S103, the electronic device 100 can acquire the second PPG signal collected in the second time period, wherein the second time period is after the first time period. Then, based on the second PPG signal and part or all of the first PPG signal, the user's second blood glucose result is evaluated. The second blood glucose result can be used to indicate the user's blood glucose status. Afterward, the electronic device 100 can display the second blood glucose result.

[0255] In this way, the electronic device 100 can reuse the PPG signal collected in the previous blood glucose assessment, thereby improving the utilization rate of the PPG signal. Furthermore, reusing historical PPG signals can relatively reduce the number of PPG signals that need to be collected in the current blood glucose assessment, enabling the electronic device 100 to complete the blood glucose assessment in a shorter time. Alternatively, the electronic device 100 can use more data to assess the user's blood glucose results, thereby improving the accuracy of the blood glucose assessment.

[0256] Alternatively, in the process of reusing PPG signals, in order to avoid the PPG signals collected in the previous round of blood glucose assessment having too much influence on the next round of blood glucose assessment, the electronic device 100 may discard the earliest part of the data collected in the previous round of blood glucose assessment, such as the data collected on the first day in the previous round of blood glucose assessment, when reusing the data used in the previous round of blood glucose assessment.

[0257] In other words, the electronic device 100 can assess the user's second blood glucose result based on the second PPG signal and a portion of the first PPG signal, and this portion of the first PPG signal may not include the PPG signal collected in the initial period of the first time period.

[0258] It is understandable that when using the PPG signals collected in this round and historically reused PPG signals to assess blood glucose results, the method for determining the blood glucose result can be the same as the method mentioned above. That is, the blood glucose result can be obtained by segmenting the PPG signal, extracting features from the effective PPG signal interval, obtaining a window-level result through a blood glucose assessment model, and then fusing multiple window-level results to obtain the final blood glucose result. See the above for details. Figure 4 The relevant descriptions in the previous section will not be repeated here. Further, optionally, the blood glucose assessment model used when evaluating blood glucose results using the PPG signals collected in this round and the historically reused PPG signals may be the same as or different from the blood glucose assessment model mentioned in steps S101-S103.

[0259] For example, Figure 7 This is a schematic diagram illustrating the principle of using historical PPG signals to assess blood glucose results, as provided in the embodiments of this application.

[0260] like Figure 7 As shown, Day 1, Day 2, and Day 3 represent the three days of the previous blood glucose assessment, and Day 4 and Day 5 represent the two days of the next blood glucose assessment.

[0261] So, if electronic device 100 starts blood glucose assessment on Day 4, then electronic device 100 can use the PPG signals acquired on Day 2, Day 3 and Day 4 to perform blood glucose assessment and obtain blood glucose result 1. Or, if electronic device 100 starts blood glucose assessment on Day 5, then electronic device 100 can use the PPG signals acquired on Day 3, Day 4 and Day 5 to perform blood glucose assessment and obtain blood glucose result 2.

[0262] The electronic device 100 can trigger a second blood glucose result assessment for the user under any of the following circumstances:

[0263] 1) Electronic device 100 can automatically trigger the second blood glucose result of the user after a normal evaluation cycle.

[0264] In particular, in conjunction with step S103, the electronic device 100 can end the acquisition of the first PPG signal when the acquisition progress of the first PPG signal is greater than or equal to 100%, and / or the duration of the first time period is greater than or equal to the third duration. It can be seen that a normal evaluation cycle means that the electronic device 100 has acquired a specified number of PPG signals, and / or the electronic device 100 has acquired PPG signals for a specified duration.

[0265] Since the second blood glucose result is an assessment result obtained by reusing historical PPG signals, during the acquisition of the second PPG signal by the electronic device 100 in the second time period, part or all of the first PPG signal can be considered as part of the data already acquired in this round. Therefore, the electronic device 100 can terminate the acquisition of the second PPG signal and trigger the assessment of the user's second blood glucose result when the acquisition progress of the second PPG signal and the reused historical PPG signal reaches 100%, and / or when the sum of the duration of the second time period and the acquisition duration of the reused historical PPG signal is greater than or equal to the third time period. Here, the reused historical PPG signal refers to the data reused from the first PPG signal when the electronic device 100 assesses the second blood glucose result; for example, this data can refer to part or all of the first PPG signal.

[0266] In one example, if the electronic device 100 terminates the acquisition of the second PPG signal when the acquisition progress of the second PPG signal and the multiplexed historical PPG signal is greater than or equal to 100%, then at the time of termination, the sum of the number of valid PPG signal intervals in the second PPG signal and the number of valid PPG signal intervals in the multiplexed historical PPG signal can be greater than or equal to a preset number. In other words, the electronic device 100 can treat the multiplexed historical PPG signal as the PPG signal already acquired in this round of blood glucose assessment. Therefore, it only needs to collect the remaining PPG signals during this round of blood glucose assessment to terminate the PPG signal acquisition and assess the user's second blood glucose result.

[0267] For example, if electronic device 100 is set to collect at least 100 valid PPG signal intervals for one round of blood glucose assessment, and if electronic device 100 reuses 30 valid PPG signal intervals collected in the previous round of blood glucose assessment, then in the current round of blood glucose assessment, electronic device 100 only needs to collect another 70 valid PPG signal intervals to trigger the assessment of the user's blood glucose results.

[0268] In another example, if the electronic device 100 terminates the acquisition of the second PPG signal when the sum of the duration of the second time period and the acquisition duration of the reused historical PPG signal is greater than or equal to the third time period, then at the termination of PPG signal acquisition, the sum of the duration of the second time period and the acquisition duration of the reused historical PPG signal can be greater than or equal to the third time period. In other words, the electronic device 100 can treat the acquisition duration corresponding to the reused historical PPG signal as the duration already elapsed in this round of blood glucose assessment. Therefore, it only needs to wait for the remaining time in this round of blood glucose assessment to terminate the acquisition of the PPG signal and assess the user's second blood glucose result.

[0269] For example, if electronic device 100 is set to require at least 3 days of data collection for a round of blood glucose assessment, and if electronic device 100 reuses the PPG signals collected within 2 days of the previous round of blood glucose assessment, then in the current round of blood glucose assessment, electronic device 100 only needs to collect PPG signals for another day to trigger the assessment of the user's blood glucose results.

[0270] The following example uses a fixed acquisition duration of PPG signals with an evaluation cycle of 3 days. Figures 8A-8D This describes some of the relevant user interfaces involved in the process of electronic device 100 reusing historical PPG signals to assess blood glucose.

[0271] For example, Figure 8AThe user interface 50 of the electronic device 100 is shown, which displays blood glucose results, which are evaluated using PPG signals acquired from January 1 to January 8.

[0272] For a detailed description of the user interface 50, and the user interface displayed by the electronic device 100 before the blood glucose result is obtained, please refer to the above. Figures 1A-1E This will not be elaborated upon here.

[0273] in addition, Figure 8A The user interface 50 shown includes: a start assessment option 501, which can be used to trigger a blood glucose assessment.

[0274] For example, if electronic device 100 detects a user action, such as a click, on the activation evaluation option 501, in response to the action, electronic device 100 can activate the acquisition of PPG signals and display them. Figure 8B The user interface 41 shown can be used to display the acquisition progress of the PPG signal.

[0275] like Figure 8B As shown, the user interface 41 may include: acquisition progress 411, calendar 412, and option 413 to terminate this round of evaluation. Among them:

[0276] The acquisition progress 411 can be used to display the acquisition progress of PPG signals. For example, the acquisition progress displayed in acquisition progress 411 is 85%. This acquisition progress 411 can be determined based on the PPG signals acquired in this round of blood glucose assessment and the PPG signals reused from the previous round. For example, assuming a preset number of 100, if 60 valid PPG signal intervals have been acquired in this round of blood glucose assessment, then the 85% acquisition progress indicates that this round of blood glucose assessment reused 25 valid PPG signal intervals acquired in the previous round.

[0277] In some implementations, the electronic device 100 may also display the proportion of the reused PPG signal in the acquisition progress 411, as well as the proportion of the PPG signal acquired in this round in the acquisition progress. In this way, the user can intuitively see how much historical data is reused in this blood glucose assessment.

[0278] Calendar 412 can be used to display the calendar for the next few days around the current date, as well as the dates on which PPG signals have been collected during this hyperglycemia risk assessment. From Figure 8B It can be seen that the dates of this round of hyperglycemia risk assessment included the 7th, 8th, and 9th. Combined with... Figure 8A It can be seen that the 7th and 8th were the two days of the previous round of blood glucose assessment.

[0279] In some implementations, the electronic device 100 can distinguish and display the date corresponding to the reused PPG signal and the date of the current blood glucose assessment in the calendar 412. This allows the user to intuitively understand the date corresponding to the reused PPG signal in the current blood glucose assessment.

[0280] Option 413, which terminates the current assessment, can be used to stop the current blood glucose assessment.

[0281] After the electronic device 100 assesses the user's blood glucose result, the electronic device 100 can display... Figure 8C The user interface 51 shown can be used to display blood glucose results assessed based on PPG signals acquired between January 7th and January 9th. For example, as... Figure 8C As shown, the blood glucose result is "low risk".

[0282] in addition, Figure 8C The user interface 51 shown includes: a start assessment option 511, which can be used to trigger a blood glucose assessment.

[0283] For example, if electronic device 100 detects a user action, such as a click, on the activation evaluation option 511, in response to the action, electronic device 100 can activate the acquisition of PPG signals and display... Figure 8D The user interface 42 shown can be used to display the acquisition progress of the PPG signal.

[0284] like Figure 8D As shown, the user interface 42 may include: a data collection progress 421, a calendar 422, and a termination option 423 for this round of assessment. The data collection progress 421 displays the data collection progress determined based on the PPG signals collected since the start of this round of blood glucose assessment and the PPG signals reused from the previous round. For example, a data collection progress of 90% displayed in the data collection progress 421 indicates that the data collection progress is 90% based on the PPG signals collected since the start of this round of blood glucose assessment and the PPG signals reused from the previous round. The calendar 422 indicates the dates experienced during this round of hyperglycemia risk assessment, including the 8th and 10th. The termination option 423 allows you to stop this round of blood glucose assessment.

[0285] After the electronic device 100 obtains the blood glucose result, it can display something similar to... Figure 8C The user interface shown displays the user's blood glucose results.

[0286] Specifically regarding Figure 8D For a more detailed description, please refer to [the provided text]. Figures 8B-8C The relevant descriptions will not be repeated here.

[0287] from Figures 8A-8DIt can be seen that after the electronic device 100 has completed one round of blood glucose assessment, in the process of the next round of blood glucose assessment, the electronic device 100 can use the PPG collected in the previous round as part of the PPG signal collected in the current round. In this way, compared with the time spent in the previous round of blood glucose assessment, the next round of blood glucose assessment can quickly produce values ​​in a short time, avoiding the user having to wait a long time to see their own blood glucose status.

[0288] 2) Electronic device 100 can trigger an assessment of the user's second blood glucose result after detecting a user operation.

[0289] In this case, the electronic device 100 can trigger the use of the PPG signal already collected in this round, as well as the PPG signal collected in the past, to evaluate the user's second blood glucose result, depending on when the user initiates the blood glucose assessment.

[0290] In other words, during the blood glucose assessment process, even if the electronic device 100 has not yet met the conditions for outputting blood glucose results, such as the PPG signal acquisition progress not reaching 100% or the PPG signal acquisition duration not reaching the specified duration, the electronic device 100 can still output blood glucose results based on user operation.

[0291] In this way, if the user does not have the patience to wait for the electronic device 100 to automatically output the blood glucose result, the user can initiate the blood glucose assessment process himself. At this time, the electronic device 100 can combine the PPG signal collected in this round of blood glucose assessment with the PPG signal collected in the past to assess the user's blood glucose result. This ensures that even if the electronic device 100 does not collect a sufficient number of PPG signals in this round of blood glucose assessment, it can use the historical PPG signals to make up the number, so that the electronic device 100 can still give a relatively accurate blood glucose result.

[0292] In one implementation, the electronic device 100 can determine whether to reuse historical data to determine the blood glucose result for the current round based on whether the end condition of a round of blood glucose assessment has been met when the user operation is detected. Specifically, if the end condition of a round of blood glucose assessment has been met when the electronic device 100 detects the user operation, the electronic device 100 does not need to reuse historical data to determine the blood glucose result; otherwise, the electronic device 100 can reuse historical data to determine the blood glucose result. The end condition of a round of blood glucose assessment may refer to the aforementioned PPG signal acquisition progress reaching 100%, and / or the PPG signal acquisition duration reaching a specified duration.

[0293] In one example, the number of PPG signals multiplexed by the electronic device 100 can be a preset number.

[0294] For example, the electronic device 100 can be set to reuse the number of PPG signals as the range of 30 valid PPG signals collected in the previous round, or the valid PPG signals collected in the last two days of the previous round, etc.

[0295] In another example, the number of PPG signals multiplexed by the electronic device 100 can be determined based on the number of PPG signals that the electronic device 100 has already collected in this round of blood glucose assessment when it detects user operation. For example, the electronic device 100 can specify that the data required to determine the blood glucose result must reach a number of valid PPG signals greater than or equal to a preset number, and / or, the PPG signal collection duration is greater than or equal to a third duration.

[0296] For example, electronic device 100 can be set to have 100 valid PPG signal intervals for blood glucose assessment. If electronic device 100 detects that 40 valid PPG signal intervals have been collected when the user operates, electronic device 100 can reuse the 60 valid PPG signal intervals obtained in the previous round of blood glucose assessment. Alternatively, electronic device 100 can be set to use PPG signals collected by electronic device 100 within 3 days for blood glucose assessment. If electronic device 100 has collected one day's worth of PPG signals when the user operates, electronic device 100 can reuse the PPG signals collected within 2 days in the previous round.

[0297] The following is combined Figures 9A-9B This describes some other relevant user interfaces involved in the process of using the electronic device 100 to assess blood glucose by reusing historical PPG signals.

[0298] For example, Figure 9A The user interface 43 shown can be used by the electronic device 100 when it detects an action acting on Figure 8A The user interface shown in the user interface 50 is the interface that is displayed after the user operates the startup evaluation 501.

[0299] like Figure 9A As shown, the user interface 43 may include: acquisition progress 431, calendar 432, option to terminate this round of evaluation 433, and current result option 434. Among them:

[0300] The acquisition progress 431 can be used to display the acquisition progress of PPG signals. For example, the acquisition progress displayed in acquisition progress 431 is 40%. This acquisition progress 431 can be the acquisition progress determined based on the PPG signals acquired in this round of blood glucose assessment. For example, this acquisition progress can be the ratio of the data in the effective PPG signal range acquired in this round of blood glucose assessment to a preset number.

[0301] Calendar 432 can be used to display the calendar for the next few days around the current date, as well as the dates on which PPG signals have been collected during this hyperglycemia risk assessment. From Figure 9A It can be seen that the dates of this round of high-risk assessments include the 9th and 10th. Combined with... Figure 8A It can be seen that the dates 6, 7, and 8, prior to this round of high-risk assessment, are the dates of the previous round of blood glucose assessment.

[0302] Option 433, which terminates the current assessment, can be used to stop the current blood glucose assessment.

[0303] The current result option 434 can be used to trigger an assessment of the user's blood glucose results using the PPG signals collected in the current round and the PPG signals collected in the previous round.

[0304] For example, if electronic device 100 detects a user action, such as a click, on the current result option 434, in response to that action, electronic device 100 can display... Figure 9B The user interface 52 shown can be used to display the blood glucose results assessed by the user.

[0305] like Figure 9B As shown, the user interface 52 can be used to display blood glucose results assessed by the electronic device 100 based on PPG signals acquired from January 8th to January 10th. For example, as Figure 9B As shown, the blood glucose result is "low risk".

[0306] Combination Figure 8A , Figure 9A , Figure 9B It can be seen that, Figure 9B The blood glucose results shown are reused from the PPG signal collected on January 8 during the previous round of blood glucose assessment.

[0307] from Figures 9A-9B As can be seen, during the blood glucose assessment process of the electronic device 100, the electronic device 100 can output blood glucose results at any time based on the user's operation, making it convenient for the user to understand their own blood glucose status at any time.

[0308] It is understandable that even if electronic device 100 is based on user actions... Figure 9A The user's action in the current result option 434, as shown, indicates that a blood glucose assessment has been performed. The electronic device 100 can still continue executing this round of blood glucose assessment and, after meeting the conditions for outputting the blood glucose assessment, automatically assess the user's blood glucose result based on the PPG signal collected in this round. In other words, the user's action of checking the blood glucose result midway through the assessment will not interrupt the normal execution of this round of blood glucose assessment. Alternatively, the electronic device 100 can detect the user's action on... Figure 9AThe user operation shown in the current result option 434 can directly interrupt the acquisition of PPG signals. After obtaining the user's blood glucose result based on the PPG signals acquired in this round and the PPG signals acquired in the previous round, the electronic device 100 can directly end the current round of blood glucose assessment. Subsequent blood glucose assessments can be a new round of blood glucose assessment. In other words, the user's operation of checking the blood glucose result in the middle of the blood glucose assessment can interrupt the execution of the current round of blood glucose assessment.

[0309] In some implementations, during the blood glucose assessment process performed by the electronic device 100, if the electronic device 100 detects a user's blood glucose assessment operation, the electronic device 100 can also use the PPG signal already collected in this round to assess the user's suspected blood glucose result, without reusing previously collected PPG signals. This avoids the user's historical data affecting the blood glucose result assessed in this round.

[0310] Among these, "suspected blood glucose results" refer to situations where the electronic device 100, when displaying blood glucose results, can label the results with keywords or icons indicating low reliability. This helps prevent users from placing excessive trust in the results. This is because when the electronic device 100 uses the PPG signals already collected in the current round to assess the blood glucose result after detecting user interaction, it may not have collected enough PPG signals at that moment. Therefore, the reliability of the assessed blood glucose result may be low.

[0311] It is understandable that the method for determining this suspected blood glucose result can be the same as the method for determining the blood glucose result mentioned above. That is, the suspected blood glucose result can be obtained by segmenting the PPG signal, extracting features from the effective PPG signal interval, obtaining a window-level result through a blood glucose assessment model, and then fusing multiple window-level results to obtain the final blood glucose result. See the above for details. Figure 4 The relevant descriptions in the previous sections will not be repeated here. Further, optionally, the blood glucose assessment model used to evaluate suspected blood glucose results may be the same as or different from the blood glucose assessment models mentioned in steps S101-S103.

[0312] For example, Figure 10 This is a schematic diagram illustrating the principle of evaluating blood glucose results using the PPG signals collected in the current round after detecting user operation during the blood glucose assessment process of the electronic device 100 provided in this application embodiment.

[0313] like Figure 10 As shown, it is assumed that Day 1-Day 7 is the assessment cycle of one round of blood glucose assessment, where Day 1 is the first day of this round of blood glucose assessment, Day 2 is the second day of this round of blood glucose assessment, and so on.

[0314] Specifically, if electronic device 100 detects a user initiating an assessment on Day 2, electronic device 100 can use the PPG signals acquired on Day 1 and Day 2 to perform a blood glucose assessment, obtaining a suspected assessment result 1. If electronic device 100 detects a user initiating an assessment on Day 3, electronic device 100 can use the PPG signals acquired on Day 1-Day 3 to perform a blood glucose assessment, obtaining a suspected assessment result 2. If electronic device 100 detects a user initiating an assessment on Day 4, electronic device 100 can use the PPG signals acquired on Day 1-Day 4 to perform a blood glucose assessment, obtaining a suspected assessment result 3, and so on.

[0315] Furthermore, the electronic device 100 can display the confidence level of a suspected blood glucose result along with the result itself. This confidence level indicates the degree of reliability of the suspected blood glucose result. In this way, the user can combine the confidence level to measure the accuracy of the suspected blood glucose result.

[0316] The confidence level can be determined in any of the following ways:

[0317] 1) Determine the confidence level based on the number of PPG signals acquired by electronic device 100 in this round when the user initiates the evaluation.

[0318] For example, the number of valid PPG signal intervals acquired by the electronic device 100 in this round is related to the confidence level. Specifically, the more valid PPG signal intervals there are, the higher the confidence level is, and the fewer valid PPG signal intervals there are, the lower the confidence level is.

[0319] This is because the electronic device 100 extracts features from the effective PPG signal range and inputs these features into the blood glucose assessment model to determine the user's blood glucose result. Therefore, when the user starts the assessment, the more PPG signals the electronic device 100 acquires in this round, the more reliable the blood glucose result determined by the electronic device 100 will be.

[0320] 2) Determine the confidence level based on the final result value obtained by electronic device 100 through the blood glucose assessment model.

[0321] The final result value is obtained by fusing multiple window-level results output by the blood glucose assessment model using the electronic device 100. Furthermore, if the blood glucose result represents a risk level, and different risk levels correspond to different risk intervals, the electronic device 100 can determine the risk level by looking at the risk interval in which the final result value falls.

[0322] Therefore, electronic device 100 can determine the confidence level based on the distance between the final result value and the interval node of the risk interval in which it is located.

[0323] Specifically, the greater the distance between the final result value and the interval node of its risk range, the higher the confidence level; conversely, the closer the final result value is to the interval node of its risk range, the lower the confidence level.

[0324] For example, if the blood glucose result includes low risk, and the risk interval corresponding to low risk is [0, 0.4], the confidence level of a final result value of 0.1 is higher than that of a final result value of 0.2.

[0325] For example, Figures 11A-11B , Figures 12A-12B , Figures 13A-13B The electronic device 100 provided in this application provides a user interface for outputting suspected blood glucose results.

[0326] Figure 11A User interface 44 displayed by electronic device 100 during blood glucose assessment when the PPG signal acquisition progress is 40%.

[0327] like Figure 11A As shown, the user interface 44 may include: acquisition progress 441, calendar 442, termination of this round of assessment option 443, and current result option 444. The acquisition progress 441 displays the acquisition progress as 40%, and the calendar 442 displays the dates already recorded in this round of blood glucose assessment: the 6th, the 7th, and the current date: the 7th. The termination of this round of assessment option 443 can be used to trigger the termination of this round of blood glucose assessment. The current result option 444 can be used to trigger the assessment of the user's suspected blood glucose result using the currently acquired PPG signal.

[0328] For example, if the electronic device 100 detects a user action, such as a click, on the current result option 444 when the PPG signal acquisition progress is at 40%, the electronic device 100 can display the following in response to the action: Figure 11B The user interface 61 shown can be used to display the suspected blood glucose result assessed by the electronic device 100 using the PPG signal currently collected in this round.

[0329] like Figure 11B As shown, the user interface 61 may include: a suspected blood glucose result 611 and a confidence level 612. The suspected blood glucose result 611 can be used to display the suspected blood glucose result determined by the electronic device 100 based on PPG signals collected from January 6th to January 7th, and the confidence level 612 can be used to display the confidence level of the suspected blood glucose result 611. For example, in... Figure 11B In the above, the suspected blood glucose result shown in 611 is suspected to be high risk, and the confidence level shown in 612 is 40%.

[0330] Figure 12A User interface 45 displayed by electronic device 100 during blood glucose assessment when the PPG signal acquisition progress is 80%.

[0331] like Figure 12A As shown, the user interface 45 may include: acquisition progress 451, calendar 452, termination of this round of assessment option 453, and current result option 454. The acquisition progress 451 displays the acquisition progress as 80%, and the calendar 452 displays the dates already recorded in this round of blood glucose assessment: the 6th, 7th, and 8th, as well as the current date: the 8th. The termination of this round of assessment option 453 can be used to trigger the termination of this round of blood glucose assessment. The current result option 454 can be used to trigger the assessment of the user's suspected blood glucose result using the currently acquired PPG signal.

[0332] For example, if the electronic device 100 detects a user action, such as a click, on the current result option 454 when the PPG signal acquisition progress is at 80%, the electronic device 100 can display the following in response to the action: Figure 12B The user interface 62 shown can be used to display the suspected blood glucose result assessed by the electronic device 100 using the PPG signal currently collected in this round.

[0333] like Figure 12B As shown, the user interface 62 may include: a suspected blood glucose result 621 and a confidence level 622. The suspected blood glucose result 621 can be used to display the suspected blood glucose result determined by the electronic device 100 based on PPG signals collected from January 6th to January 8th, and the confidence level 622 can be used to display the confidence level of the suspected blood glucose result 621. For example, in... Figure 12B In the above, the suspected blood glucose result shown in 621 is suspected to be of medium risk, and the confidence level shown in 622 is 40%.

[0334] Figure 13A The user interface 46 displayed by electronic device 100 during blood glucose assessment when the PPG signal acquisition progress is 95%.

[0335] like Figure 13A As shown, the user interface 46 may include: acquisition progress 461, calendar 462, termination of this round of assessment option 463, and current result option 464. The acquisition progress 461 displays the acquisition progress as 95%, and the calendar 462 displays the dates already recorded in this round of blood glucose assessment: the 6th, 7th, 8th, 9th, and 10th, as well as the current date: the 10th. The termination of this round of assessment option 463 can be used to trigger the termination of this round of blood glucose assessment. The current result option 464 can be used to trigger the assessment of the user's suspected blood glucose result using the currently acquired PPG signal.

[0336] For example, if the electronic device 100 detects a user action, such as a click, on the current result option 464 when the PPG signal acquisition progress is at 95%, the electronic device 100 can display the following in response to the action: Figure 13B The user interface 63 shown can be used to display the suspected blood glucose result assessed by the electronic device 100 using the PPG signal currently collected in this round.

[0337] like Figure 13B As shown, the user interface 63 may include: a suspected blood glucose result 631 and a confidence level 632. The suspected blood glucose result 631 can be used to display the suspected blood glucose result determined by the electronic device 100 based on PPG signals collected from January 6th to January 10th, and the confidence level 632 can be used to display the confidence level of the suspected blood glucose result 631. For example, in... Figure 13B In the above, the suspected blood glucose result shown in 631 is suspected to be of low risk, and the confidence level shown in 632 is 98%.

[0338] Combination Figures 11A-11B , Figures 12A-12B , Figures 13A-13B As can be seen, users can initiate blood glucose assessments at any point in the process, which enhances user operability. Furthermore, the more PPG signals collected when a user initiates an assessment, the higher the confidence level of the blood glucose results assessed by the electronic device, thus encouraging users to initiate blood glucose assessments when more PPG signals have been collected.

[0339] Understandably, a user's initiative to assess a suspected blood glucose result can directly interrupt the current blood glucose assessment; that is, the assessment will be interrupted once the electronic device detects a result indicating a blood glucose level abnormality. Figure 11A The current result option shown is 444, or Figure 12A The current result option shown is 454, or Figure 13A After the user's action in option 464 of the current result shown, the electronic device 100 can directly end the current round of PPG signal acquisition. Afterwards, the electronic device 100 can detect the user's action initiating a blood glucose assessment and restart a new round of blood glucose assessment. Alternatively, the user's action of actively discarding the suspected blood glucose result assessment will not interrupt the current round of blood glucose assessment. That is to say, after the electronic device 100 detects the action acting on... Figure 11A The current result option shown is 444, or Figure 12A The current result option shown is 454, or Figure 13AAfter the user operates on the current result option 464 shown, the acquisition of PPG signals by the electronic device 100 will not be interrupted in this round. The electronic device 100 can use the PPG signals acquired in this round to evaluate the user's blood glucose results when the acquisition progress reaches 100% or the acquisition time reaches the specified time.

[0340] Figure 14 This is a schematic diagram of the hardware structure of the electronic device 100 provided in the embodiments of this application.

[0341] Electronic device 100 may be a mobile phone, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, as well as cellular phone, personal digital assistant (PDA), augmented reality (AR) device, virtual reality (VR) device, artificial intelligence (AI) device, wearable device, in-vehicle device, smart home device and / or smart city device. The embodiments of this application do not impose any special restrictions on the specific type of electronic device.

[0342] Preferably, in the embodiments of this application, electronic device 100 may refer to wearable devices such as watches or bracelets.

[0343] Electronic device 100 may include processor 110, internal memory 120, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1 and antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, microphone 170B, sensor module 180, button 190, motor 191, indicator 192, camera 193, and subscriber identification module (SIM) card interface 195, etc.

[0344] Processor 110 may include one or more processing units, such as: application processor (AP), microcontroller unit (MCU), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. The different processing units may be independent devices or integrated into one or more processors. For example, the application processor may include a graphics processor and a digital signal processor, and the microcontroller unit may include a graphics processor.

[0345] Electronic device 100 can implement display functions through a GPU, display screen 194, application processor, microcontroller unit, etc. The GPU is a microprocessor for image processing, connected to the display screen 194, application processor, and microcontroller unit. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0346] In some implementations, the processor 110 can be used to acquire the user's PPG signal, segment the PPG signal based on a window to obtain PPG signal intervals, identify whether the PPG signal interval is a valid PPG signal interval, determine the PPG signal acquisition progress based on the number of valid PPG signal intervals, and determine the user's blood glucose result based on the PPG signal, etc.

[0347] Internal memory 120 may include one or more random access memory (RAM) and one or more non-volatile memory (NVM). The RAM can be directly read and written by the processor 110 and can be used to store executable programs (e.g., machine instructions) of the operating system or other running programs, as well as user and application data. The NVM can also store executable programs and user and application data, and can be pre-loaded into the RAM for direct read and write operations by the processor 110.

[0348] In some implementations, the internal memory 120 may be used to store the user's PPG signal or data obtained after processing the PPG signal, such as PPG signal range, window-level features, window-level results, blood glucose assessment models, and blood glucose results assessed by the blood glucose assessment models, etc.

[0349] USB port 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. It can also be used to connect headphones for audio playback. This port can also be used to connect other electronic devices, such as AR devices.

[0350] The charging management module 140 is used to receive charging input from the charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130.

[0351] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, internal memory 120, display screen 194, wireless communication module 160, sensor module 180, etc.

[0352] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0353] The mobile communication module 150 can provide wireless communication solutions, including 2G / 3G / 4G / 5G, for use on electronic devices 100.

[0354] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, 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), and intrabody communication (IBC).

[0355] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with networks and other devices through wireless communication technology.

[0356] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, microphone 170B, and processor 110.

[0357] The audio module 170 is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal.

[0358] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or make hands-free calls through the speaker 170A.

[0359] Microphone 170B, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170B, inputting the sound signal into microphone 170B.

[0360] The sensor module 180 may include: a touch sensor 180A and a photoelectric sensor 180B.

[0361] Touch sensor 180A, also known as a "touch device," can be disposed on display screen 194. The touch sensor 180A and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180A is used to detect 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 194. In other embodiments, touch sensor 180A may also be disposed on the surface of electronic device 100, in a different location than display screen 194.

[0362] The photoelectric sensor 180B is used to monitor cardiovascular vital signs. The photoelectric sensor 180B includes a photodetector and a light emitter. The photodetector can be, for example, a photodiode (PD), and the light emitter can be, for example, a light-emitting diode (LED). The light emitter acts as a light source to illuminate the skin. The photodetector detects the remaining transmitted or reflected light after it has been absorbed by the blood and tissues during penetration, and converts this into an electrical signal to obtain a PPG signal. Since the intensity of the transmitted or reflected light varies with arterial pulsation, the PPG signal also follows the arterial pulsation, i.e., the rhythmic fluctuations of the user's heartbeat. The user's heart rate, blood oxygen saturation, blood pressure, and other parameters can be calculated using this PPG signal. In this embodiment, the user's group level and blood pressure status can be identified using this PPG signal.

[0363] In some embodiments, the sensor module 180 may further include one or more of the following sensors: pressure sensor, gyroscope sensor, barometric pressure sensor, magnetic sensor, accelerometer, distance sensor, proximity sensor, fingerprint sensor, humidity sensor, temperature sensor, ambient light sensor, heart rate sensor, electrocardiogram sensor, etc.

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

[0365] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.

[0366] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), or it can be manufactured using organic light-emitting diodes (OLEDs), active-matrix organic light-emitting diodes (AMOLEDs), flexible light-emitting diodes (FLEDs), minimized LEDs, microLEDs, micro-OLEDs, quantum dot light-emitting diodes (QLEDs), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.

[0367] In some implementations, the display screen 194 can be used to display the user's blood glucose results, as well as a user interface related to assessing the user's blood glucose levels, etc. See the above for details. Figures 1A-1F , Figures 8A-8D , Figures 9A-9B , Figures 11A-11B , Figures 12A-12B , Figures 13A-13B The user interface shown.

[0368] The SIM card interface 195 is used to connect a SIM card. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1.

[0369] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 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.

[0370] Figure 15 A schematic diagram of the software structure of the electronic device 100 provided in the embodiments of this application.

[0371] like Figure 15 As shown, the electronic device 100 may include the following modules: data acquisition module 1001, preprocessing module 1002, feature extraction module 1003, model evaluation module 1004, progress display module 1005, user reminder module 1006, result display module 1007, historical data reuse module 1008, and suspected result display module 1009. Among them:

[0372] The data acquisition module 1001 can be used to acquire PPG signals, and further, to acquire user information, as well as ECG signals, NTC signals, etc.

[0373] The preprocessing module 1002 can be used to segment the PPG signal in units of a certain duration window, obtain the PPG signal interval, and identify the valid PPG signal interval.

[0374] The feature extraction module 1003 can be used to extract window-level features in the effective PPG signal range.

[0375] The model evaluation module 1004 can be used to input the extracted window-level features into the blood glucose assessment model to obtain window-level results. For example, the blood glucose assessment model can be a support vector machine (SVM) model.

[0376] The progress display module 1005 can be used to calculate the acquisition progress of PPG signals based on the number of valid PPG signal intervals collected, and display the acquisition progress to the user in real time.

[0377] The user reminder module 1006 can be used to output prompt information to the user during the blood glucose assessment process based on the number of valid PPG signal intervals that have been collected. The prompt information may include one or more of the following: the wearing requirements of the device for collecting PPG signals, a summary of the progress of PPG signal collection, the expected time for the blood glucose result to be obtained, and the reason for not obtaining the blood glucose result, thereby helping the user to collect enough data as soon as possible to complete the assessment.

[0378] The results display module 1007 can be used to fuse all the collected window-level results after the PPG signal acquisition is completed, obtain the user's blood glucose results, and display them to the user.

[0379] The historical data reuse module 1008 can be used to reuse the data obtained from the previous blood glucose assessment in the new blood glucose assessment when a new blood glucose assessment has been started after a previous one has been completed, so that the electronic device 100 can complete the blood glucose assessment again in a short time.

[0380] The suspected result display module 1009 can be used to determine the suspected blood glucose result and the corresponding confidence level based on the effective PPG signal range that has been collected during the blood glucose assessment process, and display the suspected blood glucose result and the corresponding confidence level to the user.

[0381] It is understood that the electronic device 100 may also include more or fewer modules than those shown in the figure, and the embodiments of this application do not limit the specific functions of the modules. For example, if the electronic device 100 does not have the function of collecting PPG signals, the data acquisition module 1001 can be used to acquire PPG signals collected by other devices. For detailed information on the functions of the above-mentioned multiple modules, please refer to the foregoing embodiments.

[0382] Figure 16 This is a schematic diagram of the structure of the blood glucose assessment device 200 provided in the embodiments of this application.

[0383] like Figure 16 As shown, the blood glucose assessment device 200 may include components such as a processor 210, a memory 220, and a communication module 230. These components can be connected via a bus 240 or other means. Figure 16 Taking a bus connection as an example, bus 240 is used to realize communication between processor 210, memory 220, and communication module 230. Wherein:

[0384] The processor 210 may include one or more processing units. The processor 210 can be used to provide computing and control capabilities to support the operation of the entire blood glucose assessment device 200.

[0385] The memory 220 can be used to store various software programs and / or multiple sets of instructions. Specifically, the memory 220 may include high-speed random access memory, and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.

[0386] The communication module 230 can be used to communicate with other communication devices. Specifically, the communication module 230 may include a communication interface, which may be a 3G communication interface, a Long Term Evolution (LTE) (4G) communication interface, a 5G communication interface, a WLAN communication interface, a WAN communication interface, a human skin communication interface, etc. Not limited to wireless communication interfaces, the blood glucose assessment device 200 can also be configured with a wired communication interface to support wired communication.

[0387] In this embodiment, the blood glucose assessment device 200 can be the aforementioned electronic device 100. The communication module 230 can be used to acquire a first PPG signal collected by other devices within a first time period. The first time period may include multiple time periods divided by a first duration. The first PPG signal includes multiple PPG signal intervals, each of which is a PPG signal collected within a time period. The processor 210 can be used to determine the acquisition progress of the first PPG signal during acquisition. This acquisition progress is the ratio of the number of valid PPG signal intervals acquired to a preset number. Within the valid PPG signal intervals, the duration of the PPG signal that meets the signal quality requirements is greater than or equal to a second duration. Furthermore, the processor 210 can also determine the user's first blood glucose result based on the first PPG signal. This first blood glucose result indicates the user's blood glucose status. The memory 220 can be used to store PPG signals or PPG signal intervals, the first blood glucose result, and the software or program code required for all or part of the functions of the electronic device 100 in the above method embodiment.

[0388] It is understandable that the blood glucose assessment device 200 may also be able to acquire the first PPG signal without the need for the communication module 230, as the first PPG signal can be data collected by the blood glucose assessment device 200 itself.

[0389] It should be noted that, Figure 16 The blood glucose assessment device 200 shown is merely one implementation of the embodiments of this application. In actual applications, the blood glucose assessment device 200 may include more or fewer components than shown, or combine certain components, or deploy different components. No limitation is made here.

[0390] 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.

[0391] This application also provides an electronic device that may include a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the method performed by the electronic device as described in any of the above embodiments.

[0392] This application also provides a chip system including a processing circuit and an interface circuit. The interface circuit is used to receive computer instructions and transmit them to the processing circuit. The processing circuit is used to execute the computer instructions to implement the method performed by the electronic device as in any of the above embodiments.

[0393] This application also provides a chip system including at least one processor for implementing the methods executed by the electronic device in any of the above embodiments. In one possible design, the chip system further includes a memory for storing program instructions and data, the memory being located within or outside the processor.

[0394] A chip system can consist of chips or include chips and other discrete components.

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

[0396] Optionally, the chip system may contain one or more memories. These memories may be integrated with the processor or disposed separately; 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 on different chips. This application does not specifically limit the type of memory or the arrangement of the memory and processor.

[0397] 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.

[0398] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method executed by the electronic device in any of the above embodiments.

[0399] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the method executed by the electronic device as described in any of the above embodiments.

[0400] The various embodiments of this application can be combined arbitrarily to achieve different technical effects.

[0401] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0402] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

[0403] In the description of the embodiments of this application, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. The "and / or" in the text is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of this application, "multiple" means two or more.

[0404] The terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0405] In summary, the above description is merely an embodiment of the technical solution of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made based on the disclosure of this application should be included within the scope of protection of this application.

Claims

1. A blood glucose assessment method, characterized in that, The method is applied to an electronic device, and the method includes: Acquire a first PPG signal collected within a first time period, the first time period including multiple time periods divided by a first duration, the first PPG signal including multiple PPG signal intervals, each PPG signal interval being a PPG signal collected within one of the time periods; During the acquisition of the first PPG signal, the acquisition progress of the first PPG signal is displayed. The acquisition progress is the ratio of the number of valid PPG signal intervals acquired to a preset number. Among the valid PPG signal intervals, the duration of the PPG signal that meets the signal quality requirements is greater than or equal to the second duration. Displays the user's first blood glucose result, which is determined based on the first PPG signal, and is used to indicate the user's blood glucose status.

2. The method according to claim 1, characterized in that, Displays the user's first blood glucose result, specifically including: If the acquisition progress of the first PPG signal is greater than or equal to 100%, and / or the number of days spanned by the first time period is greater than or equal to the number of days of the first day, the user's first blood glucose result is displayed.

3. The method according to claim 1 or 2, characterized in that, Before displaying the user's first blood glucose result, the method further includes: The first features extracted from multiple valid PPG signal intervals in the first PPG signal are respectively input into the blood glucose assessment model to obtain multiple first intermediate values, and the user's first blood glucose result is obtained based on the multiple first intermediate values.

4. The method according to claim 3, characterized in that, The first feature is extracted from the PPG signal that meets the signal quality requirements in the corresponding valid PPG signal range.

5. The method according to any one of claims 1-4, characterized in that, The first blood glucose result is specifically used to indicate the possibility of the user having high or low blood glucose.

6. The method according to any one of claims 1-5, characterized in that, The first blood glucose result is also determined based on the first user information. Before displaying the user's first blood glucose result, the method further includes: Display a first prompt message, which prompts the user to enter user information; The first user information is obtained based on the user's first action.

7. The method according to any one of claims 1-6, characterized in that, In the process of acquiring the first PPG signal, the method further includes: Upon reaching the first time point, a prompt message is output, which includes one or more of the following: wearing requirements for the device collecting the first PPG signal, a summary of the PPG signal collection progress, the expected time for the blood glucose result to be available, and the reason for not being able to evaluate the blood glucose result.

8. The method according to any one of claims 1-7, characterized in that, In the process of acquiring the first PPG signal, the method further includes: On the second day after the first PPG signal is collected, a second prompt message is output, which includes the wearing requirements for the device used to collect the first PPG signal.

9. The method according to any one of claims 1-8, characterized in that, The first time period includes a first date and a second date, where the second date is the day after the first date. The number of days from the start time of the first time period to the first date is the minimum number of days required for the electronic device to acquire the PPG signal. During the acquisition of the first PPG signal, the method further includes: On the second date, a third prompt message is output, which includes a summary of the PPG signal acquisition progress and / or the expected time for the blood glucose result to be available.

10. The method according to claim 9, characterized in that, The third prompt information includes the estimated time for obtaining the blood glucose result, and the end time of the first time period is after the estimated time for obtaining the result. After outputting the third prompt information during the acquisition of the first PPG signal, the method further includes: At the expected time of the result, a fourth prompt message is output, which includes the reason why the blood glucose result was not evaluated.

11. The method according to any one of claims 1-10, characterized in that, After displaying the user's first blood glucose result, the method further includes: Acquire the second PPG signal collected during a second time period, which is after the first time period: Based on the second PPG signal and some or all of the first PPG signal, the user's second blood glucose result is evaluated, and the second blood glucose result is used to indicate the user's blood glucose status. The second blood glucose result is displayed.

12. The method according to claim 11, characterized in that, After acquiring the second PPG signal collected during the second time period, and before evaluating the user's second blood glucose result based on the second PPG signal and part or all of the first PPG signal, the method further includes: If the acquisition progress of the second PPG signal is less than 100%, or if the number of days spanned by the second time period is less than the number of days of the first day, a second operation to assess blood glucose is detected that the user has initiated.

13. The method according to claim 11 or 12, characterized in that, The number of valid PPG signal intervals contained in the second PPG signal and part or all of the first PPG signal is greater than or equal to a preset number, and / or the acquisition duration of the second PPG signal and part or all of the first PPG signal is greater than or equal to a third duration.

14. The method according to any one of claims 1-13, characterized in that, After displaying the user's first blood glucose result, the method further includes: Acquire the third PPG signal collected during the third time period; If the acquisition progress of the third PPG signal is less than 100%, or if the number of days spanned by the third time period is less than the number of days of the first day, a third operation to assess blood glucose initiated by the user is detected. Based on the third PPG signal, the user's third blood glucose result is evaluated, which is used to indicate the user's blood glucose status. The third blood glucose result is displayed.

15. The method according to claim 14, characterized in that, In displaying the third blood glucose result, the method further includes: The confidence level of the third blood glucose result is displayed, and the confidence level is used to indicate the reliability of the third blood glucose result.

16. The method according to claim 15, characterized in that, The number of valid PPG signal intervals contained in the third PPG signal is related to the confidence level.

17. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored on the memory, wherein the processor executes the computer program to implement the method as described in any one of claims 1-16.

18. A computer-readable storage medium, characterized in that, It stores a computer program thereon, which, when executed by a processor, implements the method as described in any one of claims 1-16.

19. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the method as described in any one of claims 1-16.

20. A chip system, characterized in that, The chip system includes a processing circuit and an interface circuit. The interface circuit is used to receive computer instructions and transmit them to the processing circuit. The processing circuit is used to execute the computer instructions to implement the method as described in any one of claims 1-16.