A prompting method and device, electronic equipment and computer readable storage medium

By acquiring user feature data from wearable devices to identify abnormal types and output prompts, the problem of users being unable to determine whether the wearing status meets the measurement requirements is solved, thus improving the reliability of measurement results.

CN116172533BActive Publication Date: 2025-11-28HUAWEI DEVICE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111437864.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-27
Publication Date
2025-11-28
Estimated Expiration
2041-11-27

AI Technical Summary

Technical Problem

When wearable devices measure a user's physiological parameters, the user cannot be sure whether the wearing condition meets the measurement requirements, which leads to inaccurate measurement results and reduces the reliability of the measurement results.

Method used

The wearable device acquires the user's primary characteristic data, such as air pressure and activity level, identifies the types of abnormalities in the device and the user, and outputs prompts to guide the user to adjust the wearing status.

Benefits of technology

This improves the reliability of measurement results, avoids inaccurate measurements due to improper wearing, and ensures the accuracy of the measurement process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116172533B_ABST
    Figure CN116172533B_ABST
Patent Text Reader

Abstract

The application is suitable for the technical field of device control, and provides a prompting method and device, electronic equipment and computer readable storage medium. The method comprises the following steps: in response to a measurement operation, acquiring first feature data of a user; the first feature data comprises activity intensity and / or air pressure value of the user; determining an abnormal type of the wearable device and / or the user according to the first feature data; the abnormal type is used to represent that the wearable device and / or the user is currently in a state that does not satisfy a measurement condition; and outputting prompt information associated with the abnormal type, wherein the prompt information is used to prompt the user to adjust the current state. The technical scheme provided by the application can enable the user to discover that the current state does not meet the measurement requirement in time, realize timely prompting of the abnormal state, avoid the situation that the measurement result is inaccurate due to the fact that the measurement state does not satisfy the condition, and thus improve the success rate of measurement.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of device control, and particularly relates to a prompting method and device, an electronic device, and a computer readable storage medium. BACKGROUND

[0002] In recent years, with the maturity of electronic device technology, electronic devices are gradually developing towards lightness and miniaturization. In the case of maintaining the original functions and performance of electronic devices, the volume of electronic devices is becoming smaller and smaller, which gradually gives rise to wearable devices with various types or multiple functions, such as smart watches, which can integrate heart rate detection and / or blood pressure detection functions in addition to the function of displaying time. Users can obtain their own user feature data without using a heart rate meter or a blood pressure meter, greatly improving the convenience of measurement operation.

[0003] When performing a measurement task on a user through a wearable device, such as measuring the user's heart rate or measuring the user's blood pressure, the measurement task may not be accurately completed due to the randomness of wearing the wearable device. However, since most users do not have the professional knowledge required to complete the measurement task, they cannot determine whether the current wearing state meets the measurement requirements when measuring, greatly increasing the occurrence of inaccurate measurement results due to non-compliance with the requirements of wearing, and reducing the reliability of the measurement results. SUMMARY

[0004] The embodiments of the present application provide a prompting method, device, electronic device, and computer readable storage medium, which can solve the problem of low reliability of measurement results caused by the fact that, based on the measurement technology of a wearable device, a user cannot determine whether the current wearing state meets the measurement requirements when measuring, and the inaccurate measurement results frequently occur due to non-compliance with the requirements of wearing.

[0005] In a first aspect, the embodiments of the present application provide a prompting method applied to a wearable device, wherein the wearable device comprises an inflatable air bag, and the prompting method comprises:

[0006] In response to a measurement operation, obtaining first feature data of a user; the first feature data comprises activity intensity of the user and / or a gas pressure value, and the gas pressure value comprises a gas pressure value in the air bag when the user wears the wearable device to measure blood pressure;

[0007] According to the first feature data, determining an abnormal type of the wearable device and / or the user; the abnormal type is used to indicate that the wearable device and / or the user is currently in a state that does not meet the measurement condition;

[0008] output prompt information associated with the abnormal type, the prompt information being used to prompt the user to adjust the current state.

[0009] The embodiment of the present application has the following beneficial effects: when receiving a user-initiated measurement operation, first feature data of the user is acquired by the wearable device, and it is determined whether the current state is a state in which the measurement task can be completed based on the acquired first feature data. If the current state is an abnormal state in which the measurement task cannot be completed, the abnormal type corresponding to the user and / or the wearable device is determined based on the first feature data, and prompt information corresponding to the abnormal type is generated. The user can adjust the current measurement state according to the output prompt information, so that the adjusted state meets the conditions for completing the measurement task, to realize automatic identification and prompting of abnormal conditions in the measurement process. Compared with the existing wearable measurement technology, the embodiment can determine whether the current measurement state meets the measurement conditions by using the acquired first feature data before outputting the measurement result. If the current measurement state does not meet the measurement conditions, the measurement task will not be continued, but prompt information associated with the current state will be output, so that the user can discover that the current state does not meet the measurement requirements in time, the abnormal state is timely reminded, and the situation that the measurement result is inaccurate due to the fact that the measurement state does not meet the conditions is avoided, thereby improving the success rate of measurement.

[0010] In a possible implementation form of the first aspect, the first feature data of the user is acquired in response to the measurement operation, including:

[0011] In response to the measurement operation, the air bag is controlled to inflate, and the air pressure values in the air bag are collected during the inflation process, and the collected air pressure values are used as the first feature data.

[0012] In a possible implementation form of the first aspect, the abnormal type of the wearable device and / or the user is determined based on the first feature data, including:

[0013] An air pressure change curve is generated according to the air pressure values and the air bag inflation times corresponding to the air pressure values.

[0014] The abnormal type of the wearable device is determined according to the air pressure change curve.

[0015] In a possible implementation form of the first aspect, the abnormal type of the wearable device is determined according to the air pressure change curve, including:

[0016] If the first air pressure value collected at the first time is less than or equal to a preset air pressure threshold value, it is determined whether the time corresponding to the situation that the slope of the air pressure change curve increases to a preset preset slope is later than the second time.

[0017] If the time corresponding to the increase of the slope of the air pressure change curve to the preset slope is later than the second time, it is determined that the wearable device is of a first abnormal type; the first abnormal type is used to represent that the tightness of the wearable device is in a loose state; and the second time is later than the first time.

[0018] In a possible implementation manner of the first aspect, before the output of the prompt information associated with the abnormal type, the method further includes:

[0019] determining a required adjustment number of band tightening based on the second air pressure value;

[0020] The output of the prompt information associated with the abnormal type includes:

[0021] outputting first prompt information, the first prompt information being used to prompt the user to tighten the band of the wearable device by a specified number of bands, the specified number of bands being the adjustment number of band tightening.

[0022] In a possible implementation manner of the first aspect, the determination of the abnormal type of the wearable device according to the air pressure change curve includes:

[0023] If the first air pressure value collected at the first time is greater than a preset air pressure threshold, it is determined that the wearable device is of a second abnormal type; the second abnormal type is used to represent that the tightness of the wearable device is in a tight state.

[0024] In a possible implementation manner of the first aspect, before the output of the prompt information associated with the abnormal type, the method further includes:

[0025] determining a second air pressure value corresponding to the decrease of the slope of the air pressure change curve to a preset slope;

[0026] determining a required adjustment number of band loosening based on the second air pressure value;

[0027] The output of the prompt information associated with the abnormal type includes:

[0028] outputting second prompt information, the second prompt information being used to prompt the user to loosen the band of the wearable device by a specified number of bands, the specified number of bands being the adjustment number of band loosening.

[0029] In a possible implementation manner of the first aspect, the determination of the abnormal type of the wearable device according to the air pressure change curve includes:

[0030] If the slope of the air pressure change curve at the third preset time is less than the preset slope, it is determined that the abnormal type of the wearable device is a third abnormal type; the third abnormal type is used to represent that the air bag is in a deflated state.

[0031] In a possible implementation of the first aspect, the output of the prompt information associated with the abnormal type comprises:

[0032] outputting third prompt information; the third prompt information is used to prompt the user to send the wearable device for repair.

[0033] In a possible implementation of the first aspect, the first feature data of the user is acquired in response to the measurement operation, and the first feature data comprises:

[0034] starting from a starting time point at which the measurement operation is detected, activity intensity of the user in a preset detection time period before the starting time point is acquired, and the activity intensity in the preset detection time period is taken as the first feature data.

[0035] In a possible implementation of the first aspect, the abnormal type of the wearable device and / or the user is determined according to the first feature data, and the determination comprises:

[0036] the preset detection time period is divided into an active time period and an inactive time period according to a preset activity threshold; the activity intensity in the active time period is greater than or equal to the activity threshold; the activity intensity in the inactive time period is less than the activity threshold;

[0037] the activity intensity in each active time period is integrated to determine an activity total amount of the user in the preset detection time period;

[0038] an expected rest time period of the user is determined based on the activity total amount;

[0039] a rested time period of the user is determined according to the time period type in which the starting time point is located;

[0040] if the rested time period is less than the expected rest time period, it is determined that the abnormal type of the user is a fourth abnormal type; the fourth abnormal type is used to represent that the user is in an insufficiently rested state.

[0041] In a possible implementation of the first aspect, before the output of the prompt information associated with the abnormal type, the method further comprises:

[0042] a required rest time period of the user is determined according to a time difference between the expected rest time period and the rested time period;

[0043] The outputted prompt information associated with the abnormal type includes:

[0044] The fourth prompt information is outputted, and the fourth prompt information is used for prompting a required rest duration of the user.

[0045] In a possible implementation manner of the first aspect, the wearable device includes a heart rate acquisition module and an acceleration sensor; and the activity intensity is calculated based on a heart rate value acquired by the heart rate acquisition module and a movement speed determined based on the acceleration sensor.

[0046] In a possible implementation manner of the first aspect, after the outputted prompt information associated with the abnormal type, the method further includes:

[0047] In response to a re-measurement operation fed back by the user based on the prompt information, second feature data of the user is acquired;

[0048] If it is determined based on the second feature data that the state of the wearable device and the user both satisfy a measurement condition, a measurement result is generated based on the second feature data.

[0049] In a second aspect, an embodiment of the present application provides a prompt device applied to a wearable device, the wearable device including an inflatable air bag, and the prompt device including:

[0050] A first feature data acquisition unit is configured to acquire first feature data of a user in response to a measurement operation, and the first feature data includes an activity intensity of the user and / or an air pressure value, and the air pressure value includes an air pressure value in the air bag when the user wears the wearable device to measure blood pressure.

[0051] An abnormal type identification unit is configured to determine an abnormal type of the wearable device and / or the user according to the first feature data, and the abnormal type is used to indicate that the wearable device and / or the user is currently in a state that does not satisfy a measurement condition.

[0052] A prompt information output unit is configured to output prompt information associated with the abnormal type, and the prompt information is used to prompt the user to adjust a current state.

[0053] In a possible implementation manner of the second aspect, the first feature data acquisition unit includes:

[0054] An air bag inflation unit is configured to control the air bag to inflate in response to a measurement operation, acquire an air pressure value in the air bag during inflation, and use the acquired air pressure value as the first feature data.

[0055] In a possible implementation manner of the second aspect, the abnormal type identification unit includes:

[0056] a pressure change curve generation unit, configured to generate a pressure change curve according to the pressure values and the airbag inflation times corresponding to the pressure values;

[0057] a measurement state classification unit, configured to determine an abnormal type of the wearable device according to the pressure change curve.

[0058] In a possible implementation of the second aspect, the measurement state classification unit includes:

[0059] a slope rising duration determination unit, configured to determine whether a time corresponding to a time when a slope of the pressure change curve increases to a preset slope is later than a second time if a first pressure value collected at a first time is less than or equal to a preset pressure threshold value;

[0060] a loosening abnormality identification unit, configured to determine that the wearable device is of a first abnormal type if the time corresponding to the time when the slope of the pressure change curve increases to the preset slope is later than the second time; the first abnormal type is used to represent that a wearing tightness of the wearable device is in a loosening state; and the second time is later than the first time.

[0061] In a possible implementation of the second aspect, the prompting apparatus further includes:

[0062] a tightening step determination unit, configured to determine a required adjustment tightening step of a watchband of the wearable device based on the time corresponding to the time when the slope of the pressure change curve increases to the preset slope;

[0063] The prompting information output unit includes:

[0064] a tightening prompting unit, configured to output first prompting information, the first prompting information being used to prompt the user to tighten the watchband of the wearable device by a specified step, the specified step being the tightening step.

[0065] In a possible implementation of the second aspect, the measurement state classification unit includes:

[0066] a too-tight abnormality identification unit, configured to determine that the wearable device is of a second abnormal type if the first pressure value collected at the first time is greater than the preset pressure threshold value; the second abnormal type is used to represent that the wearing tightness of the wearable device is in a too-tight state.

[0067] In a possible implementation of the second aspect, the prompting apparatus further includes:

[0068] a second pressure value determination unit, configured to determine a second pressure value corresponding to a time when the slope of the pressure change curve decreases to a preset slope;

[0069] a relaxation number determination unit, configured to determine a required adjustment number of watchbands based on the second air pressure value;

[0070] The prompt information output unit comprises:

[0071] a relaxation prompt unit, configured to output second prompt information, the second prompt information being used to prompt the user to relax the watchband of the wearable device by a specified number of watchbands, the specified number of watchbands being the adjustment number of watchbands.

[0072] In a possible implementation manner of the second aspect, the measurement state classification unit comprises:

[0073] a leakage abnormality identification unit, configured to determine, if a slope of the air pressure change curve at a preset third time is less than a preset slope, that the abnormality type of the wearable device is a third abnormality type; the third abnormality type being used to represent that the air bag is in a leakage state.

[0074] In a possible implementation manner of the second aspect, the prompt information output unit comprises:

[0075] a repair prompt unit, configured to output third prompt information, the third prompt information being used to prompt the user to repair the wearable device.

[0076] In a possible implementation manner of the second aspect, the first feature data acquisition unit comprises:

[0077] an activity intensity determination unit, configured to take a time when the measurement operation is detected as a starting time, acquire an activity intensity of the user in a preset detection time length before the starting time, and take the activity intensity in the preset detection time length as the first feature data.

[0078] In a possible implementation manner of the second aspect, the abnormality type identification unit comprises:

[0079] an activity time period division unit, configured to divide the preset detection time length into an activity time period and a non-activity time period according to a preset activity threshold; the activity intensity in the activity time period being greater than or equal to the activity threshold; the activity intensity in the non-activity time period being less than the activity threshold;

[0080] an activity total amount calculation unit, configured to accumulate integrals of the activity intensity in each activity time period, and determine an activity total amount of the user in the preset detection time length.

[0081] an expected rest time length calculation unit, configured to determine an expected rest time length of the user based on the activity total amount.

[0082] The rest duration determination unit is configured to determine a rest duration of the user according to a time period type in which the start time point is located.

[0083] The rest exception recognition unit is configured to determine that the abnormal type of the user is a fourth abnormal type if the rest duration is less than the expected rest duration, wherein the fourth abnormal type is used to represent that the user is in an insufficient rest state.

[0084] In a possible implementation of the second aspect, the prompting device further includes:

[0085] The required rest duration determination unit is configured to determine a required rest duration of the user according to a time difference between the expected rest duration and the rest duration.

[0086] The prompting information output unit includes:

[0087] The rest prompting unit is configured to output fourth prompting information, wherein the fourth prompting information is used to prompt the required rest duration of the user.

[0088] In a possible implementation of the second aspect, the wearable device includes a heart rate acquisition module and an acceleration sensor, and the activity intensity is calculated based on a heart rate value obtained by the heart rate acquisition module and a movement speed determined based on the acceleration sensor.

[0089] In a possible implementation of the second aspect, the prompting device further includes:

[0090] The re-measurement response unit is configured to obtain second feature data of the user in response to a re-measurement operation of the user based on the prompting information.

[0091] The measurement result output unit is configured to generate a measurement result based on the second feature data if both the wearable device and the user satisfy a measurement condition based on the second feature data.

[0092] In a third aspect, an embodiment of the present application provides an electronic device, a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the prompting method based on the wearable device in any of the first aspect when executing the computer program.

[0093] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the prompting method based on the wearable device in any of the first aspect.

[0094] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on an electronic device, causes the electronic device to perform the prompting method based on a wearable device according to any one of the first aspect.

[0095] In a sixth aspect, an embodiment of the present application provides a chip system, comprising a processor coupled with a memory, and the processor executes a computer program stored in the memory to implement the prompting method based on a wearable device according to any one of the first aspect.

[0096] It can be understood that the beneficial effects of the second aspect to the sixth aspect can be referred to the related description of the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0097] Figure 1 is a transition schematic diagram of a blood pressure measuring instrument provided by an embodiment of the present application;

[0098] Figure 2 is an implementation flowchart of the prompting method based on a wearable device provided by an embodiment of the present application;

[0099] Figure 3 is a flowchart of initiating a measurement operation provided by an embodiment of the present application;

[0100] Figure 4 is a flowchart of initiating a measurement operation provided by another embodiment of the present application;

[0101] Figure 5 is a flowchart of initiating a measurement operation provided by yet another embodiment of the present application;

[0102] Figure 6 is a display schematic diagram of prompting information provided by an embodiment of the present application;

[0103] Figure 7 is a schematic diagram of an output mode of prompting information provided by an embodiment of the present application;

[0104] Figure 8 is a schematic diagram of a re-measurement process provided by an embodiment of the present application;

[0105] Figure 9 is a structural schematic diagram of a wearable device provided by an embodiment of the present application;

[0106] Figure 10 is a flowchart of the prompting method based on a wearable device provided by an embodiment of the present application;

[0107] Figure 11 is a schematic diagram of an air pressure change curve provided by an embodiment of the present application;

[0108] Figure 12 is a corresponding air pressure change curve when the watchband of the wearable device is worn too tightly, provided by an embodiment of the present application;

[0109] Figure 13 is a schematic diagram of second prompt information, provided by an embodiment of the present application;

[0110] Figure 14 is a corresponding air pressure change curve when the watchband of the wearable device is worn loosely, provided by an embodiment of the present application;

[0111] Figure 15 is a response schematic diagram when there are multiple abnormalities, provided by an embodiment of the present application;

[0112] Figure 16 is a schematic diagram of first prompt information, provided by an embodiment of the present application;

[0113] Figure 17 is a corresponding air pressure change curve when the air bag of the wearable device leaks, provided by an embodiment of the present application;

[0114] Figure 18 is a schematic diagram of third prompt information, provided by an embodiment of the present application;

[0115] Figure 19 is a structural schematic diagram of a wearable device, provided by an embodiment of the present application;

[0116] Figure 20 is a flowchart of a prompting method based on a wearable device, provided by an embodiment of the present application;

[0117] Figure 21 is a division schematic diagram of a time period, provided by an embodiment of the present application;

[0118] Figure 22 is an output schematic diagram of prompt information, provided by an embodiment of the present application;

[0119] Figure 23 is a schematic diagram of abnormality type classification, provided by an embodiment of the present application;

[0120] Figure 24 is a structural block diagram of a prompting device based on a wearable device, provided by an embodiment of the present application;

[0121] Figure 25 is a structural schematic diagram of an electronic device, provided by an embodiment of the present application;

[0122] Figure 26 is a software structural block diagram of an electronic device of the embodiment of the present application;

[0123] Figure 27 is a structural block diagram of an electronic device, provided by an embodiment of the present application. DETAILED DESCRIPTION

[0124] In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular architectures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application can be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known methods, devices, circuits, and

[0125] It will be understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0126] It will be understood that the term "and / or," when used in the specification and in the following claims, is intended to mean one or more of the associated listed items can be present, and, if not present, are not excluded.

[0127] As used in this specification and claims, the terms "if' can be construed to mean "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [a described condition or event] is detected" can be construed to mean "upon determining" or "in response to determining" or "upon detecting [the described condition or event]" or "in response to detecting [the described condition or event]," depending on the context.

[0128] In addition, the terms "first," "second," "third," etc. are used herein only to distinguish one element from another, and do not imply a relative importance or a given order.

[0129] Reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "in other embodiments" or "in still other embodiments" in various places throughout this specification are not necessarily all referring to the same embodiment, unless otherwise specified. Furthermore, the terms "comprise," "comprises," "comprising," and other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements is not necessarily limited to those elements, but can include other elements not expressly listed or inherent to such process, method, article, or apparatus.

[0130] With the continuous development of electronic device technology, more and more devices are developing towards lightweight and portable. Exemplarily, Figure 1 The transition diagram of the blood pressure measuring instrument provided by an embodiment of the present application is shown. Referring to Figure 1 (a) in FIG. 1 shows a blood pressure meter specially used for measuring the blood pressure of a user, which at least includes the following parts, respectively, a main device 101, an air pipe 102 for delivering air when pressurized, and an arm band 103 containing an inflatable air bag. Among them, the arm band 103 is specifically used for wearing on the arm of the user, and in the measurement process, the air pump in the main device 101 can inflate the air bag in the arm band 103 through the air pipe 102, and obtain the air pressure value fed back by the user's arm during the inflation of the air bag. The main device 101 determines the blood pressure of the user based on the feedback air pressure value, and displays the corresponding measurement result on the display module on the main device. It can be seen that the volume of the above-mentioned blood pressure meter 10 is large, which is not conducive to carrying, and multiple components are needed to cooperate to complete the measurement task, resulting in low convenience of measurement operation. Therefore, in order to improve the convenience of measurement, the volume of the blood pressure meter is getting smaller and smaller, and it can even be integrated on a wearable device, such as Figure 1 (b) shown. The wearable device is specifically a smart watch, which contains an air bag 104 in the smart watch. The smart watch can inflate the air bag 104 through the built-in micro air pump to simulate the inflation process of the arm band 103 in the blood pressure meter. Similarly, the smart watch can also collect the air pressure value fed back by the wearing area during the inflation of the air bag 104, so as to determine the blood pressure of the user based on the air pressure value and complete the measurement task. As can be seen, compared with the blood pressure meter, the smart watch has obvious differences in volume and number of components, and the improvement of portability and reduction of volume can realize the completion of measurement task anytime and anywhere by the user.

[0131] Although part of the measurement device, such as blood pressure measurement function can be integrated on the wearable device, improve the convenience of measurement, but also introduced a new problem. Because of the flexibility of wearable device wearing way, in some scenarios, the state of the user wearing the wearable device does not meet the demand of measurement operation, which may cause inaccurate measurement results. For example, the measurement of blood pressure, wearable device is a smart watch, the smart watch is configured with the corresponding air bag, if the user wears the watch, that is, the smart watch and the skin surface of the user's wrist gap is too large, in the process of air bag inflation, the initial stage of the detected air pressure value is less than the expected air pressure value; similarly, if the user wears the watch too tight, that is, the smart watch and the skin surface of the user's wrist has the initial pressure, in the process of air bag inflation, the initial stage of the detected air pressure value is greater than the expected air pressure value, so the state of the user wearing the smart watch is not in the appropriate range, the measurement operation cannot be accurately completed. But often because the user does not have the professional knowledge to complete the measurement, can not determine how to wear the wearable device to meet the measurement requirements, through the wearable device to execute the measurement task, it is easy to appear measurement inaccurate, greatly reduces the reliability of the measurement results.

[0132] Therefore, the measurement function (such as blood pressure measurement or heart rate measurement) is integrated on the wearable device, the flexibility of measurement operation is realized, but at the same time, it is easy to reduce the reliability of the measurement results due to the wearing state not meeting the measurement conditions, and a prompt method is needed to prompt the user when the wearing state of the user's wearable device does not meet the measurement conditions, to identify the abnormal wearing state, so as to improve the reliability of the measurement results.

[0133] Embodiment one:

[0134] Therefore, in order to solve the defects of the existing measurement technology based on wearable device, the present application provides a prompt method based on wearable device, the execution subject of the prompt method based on wearable device can be an electronic device, which can be a smart phone, tablet computer, computer, smart watch, smart bracelet and other electronic devices. If the execution subject of the prompt method is a wearable device such as a smart watch and a smart bracelet, the generated prompt information can be displayed through the display module configured on the wearable device, or the prompt information can be broadcast through the loudspeaker; if the execution subject of the prompt method is a smart phone, a tablet computer or a computer, the prompt information can be displayed on the display module configured on the non-wearable device through communication with the wearable device, or the prompt information can be broadcast through the loudspeaker.

[0135] Figure 2 The implementation flowchart of the prompt method based on wearable device provided by an embodiment of the present application is shown, which is described in detail as follows:

[0136] In S201, in response to a measurement operation, first characteristic data of the user is acquired; the first characteristic data includes: the user's activity intensity and / or air pressure value, the air pressure value including the air pressure value inside the airbag when the user wears the wearable device to measure blood pressure.

[0137] In this embodiment, the electronic device can receive measurement operations initiated by the user through an interaction module. For example, the electronic device is equipped with a touch screen, and the user can initiate the above-mentioned measurement operations to the electronic device by clicking the corresponding controls on the touch screen.

[0138] For example, Figure 3 A schematic flowchart illustrating the initiation of a measurement operation according to an embodiment of this application is shown. See also... Figure 3 As shown, the electronic device is a smartwatch. The smartwatch's main interface displays the current time and can also display weather information for the user's location, such as... Figure 3 As shown in (a) above. This smartwatch is equipped with a function key 31. After detecting a user tapping function key 31, the smartwatch can enter the application menu and display the installed applications. Alternatively, the user can also access the application menu via preset finger commands, such as swiping left on the screen. The application menu is shown below. Figure 3 As shown in (b) above. The application menu installed on the electronic device contains multiple different applications, including application 32 for measuring the user's blood pressure. If the smartwatch detects that the user clicks on application 32, it recognizes that the user needs to measure blood pressure, that is, it initiates the above-mentioned measurement operation and executes step S201.

[0139] In one possible implementation, the smartwatch is also equipped with a shortcut key 33, which can be pre-bound to any application in the application menu. If the shortcut key 33 is bound to the blood pressure measurement application 32, then clicking the shortcut key 33 on the main interface will identify that the user needs to perform a blood pressure measurement, which is equivalent to initiating the above-mentioned measurement operation and executing the steps of S201.

[0140] For example, Figure 4 A flowchart illustrating the initiation of a measurement operation according to another embodiment of this application is shown. See also Figure 4 As shown in (a), the electronic device is specifically a smartphone, and the wearable device is specifically a smartwatch. The smartphone and smartwatch can establish a Bluetooth wireless connection via a Bluetooth module to achieve data interaction. For example, the smartwatch can receive instructions sent from the smartphone and perform corresponding operations in response to the instructions. Correspondingly, the smartphone can also install a control application for the smartwatch, generating instructions to control the smartwatch within the control application.Figure 4 As shown in (b), the smartphone's main interface displays the smartwatch application 41. After detecting that the user clicks on the application 41, an interface for controlling the smartwatch can be accessed, such as... Figure 4 As shown in (c), the control interface contains multiple control items, such as update control 42 for updating the firmware of the smartwatch, control 43 for changing the appearance settings of the watch face, and extended functions of the smartwatch, such as blood pressure measurement control 44. If the user clicks on the blood pressure measurement control 44, the user is identified as having initiated a measurement operation, and step S201 is executed.

[0141] For example, Figure 5 This illustration shows a flowchart of initiating a measurement operation according to another embodiment of this application. A dedicated measurement application, such as a sports and health app, can be installed on the smartphone. Figure 5 As shown in (a) above, when a user initiates a measurement task through application 51, they can click on application 51 to enter the main interface of sports and health, such as... Figure 5 As shown in (b) above. The main interface for this sports and health feature includes several functional modules: an exercise recording module, a blood pressure health module, a heart health module, and a sleep module. These modules can be added, deleted, and their display positions modified by clicking "Edit Card." When a user needs to measure blood pressure, they can click the card control 52 corresponding to the blood pressure health module, which will take them to the blood pressure measurement interface. Figure 5 In step (c), the operation interface includes a control 53 for starting measurement. If the electronic device detects that the user clicks the control 53, it recognizes that the user needs to start blood pressure measurement, sends a measurement command to the bound wearable device, and executes the operation in S201.

[0142] In one possible implementation, if the electronic device is not paired with an associated wearable device, such as the aforementioned smartphone not being paired with an associated smartwatch capable of measuring blood pressure, then it can be accessed by clicking on... Figure 5 Control 54 within (b) leads to the device management page, which is as follows: Figure 5 As shown in (d), this page displays already bound wearable devices, such as smartwatch A and smartwatch B, with smartwatch A currently connecting. If the user needs to add a new wearable device, they can click the add device control 55 to add the bound wearable device. This will generate a [database name - likely a typo]. Figure 5In the search pop-up window shown in (e), the user can select the corresponding device from the connectable devices displayed in the search pop-up window. For example, the smart watch C is a wearable device capable of blood pressure measurement. When the user clicks the control 56 corresponding to the smart watch C, the smart watch C is added to the list of added devices, and the smart watch C is set as the device being connected, as shown in (f). At this time, the user can return to the main interface of the sports health again, and initiate the blood pressure measurement operation to execute the measurement operation and the steps of S201. Figure 5

[0143] In a possible implementation, the electronic device can also be configured with a microphone. The electronic device can receive a voice instruction initiated by the user to start the measurement process described above. For example, the electronic device is a wearable device. The user can start the voice instruction collection mode of the wearable device by speaking a specified start instruction, such as "Hi, watch". The wearable device enters the voice instruction collection mode, for example, by feeding back "I'm here" through a loudspeaker. In this case, the wearable device can listen to the voice instruction through the microphone, for example, the user speaks "measure blood pressure". The wearable device recognizes that the user initiates a measurement operation, and then searches for an application corresponding to the measurement operation in the local application program, and starts the corresponding application to respond to the measurement operation.

[0144] In this embodiment, according to different measurement tasks initiated by the user, the first feature data corresponding to the measurement task can be collected. For example, if the user needs to measure the heart rate, the wearable device can obtain the electrocardiogram signal as the first feature data. If the user needs to measure the blood pressure, the wearable device can obtain the blood pressure data as the first feature data. It should be noted that if the electronic device is a wearable device, the first feature data of the user can be directly collected by the wearable device, and after obtaining the first feature data, the operation of S202 is performed locally. If the electronic device is a device other than the wearable device, such as a smart phone, the other device can send a collection instruction to the wearable device, so that the first feature data of the user can be obtained by the wearable device. After obtaining the first feature data, the wearable device can feed back to the electronic device, and perform the operation of S202.

[0145] In S202, according to the first feature data, the type of abnormality of the wearable device and / or the user is determined. The type of abnormality indicates that the wearable device and / or the user is currently in a state that does not meet the measurement condition.

[0146] ​In this embodiment, after obtaining the first feature data, the electronic device does not directly generate the corresponding measurement result based on the first feature data, but judges whether the wearable device and / or the user wearing the wearable device satisfies the preset measurement condition when the first feature data is collected, so as to ensure the reliability of the measurement process. Based on this, the electronic device can determine whether the user and / or the wearable device is in an abnormal state based on the first feature data. If it is detected that the first feature data is collected in a state that does not satisfy the measurement condition, that is, in an abnormal state, the abnormal type corresponding to the abnormal state is identified; otherwise, if it is detected that the user feature is collected in a state that satisfies the measurement condition, the measurement result can be generated based on the first feature data.

[0147] In this embodiment, if the electronic device detects that the user and / or the wearable device is in an abnormal state when the first feature data is collected, it indicates that the first feature data collected by the wearable device is not accurate, the measurement result generated based on the first feature data is unreliable, and the current state does not satisfy the measurement condition. In order to facilitate the user to determine how to adjust the current state, the electronic device can determine which measurement condition is not satisfied, that is, determine the abnormal type.

[0148] In a possible implementation, the electronic device can store standard feature data corresponding to different abnormal types, and the electronic device can calculate the matching degree between the first feature data and the standard feature data corresponding to different abnormal types. If the matching degree corresponding to any abnormal type is greater than a preset matching degree threshold, the current state is identified as not satisfying the measurement condition, and the abnormal type corresponding to the matching degree greater than the matching threshold is taken as the abnormal type of the current state. If the matching degree between the first feature data and the standard feature data of all abnormal types is less than or equal to the preset matching degree threshold, the current state is identified as satisfying all measurement conditions, and the corresponding measurement result can be generated.

[0149] In a possible implementation, before S202, it can further include: when it is detected based on the first feature data that the state of the wearable device and the user satisfies the measurement condition, generating a measurement result based on the first feature data.

[0150] In S203, prompt information associated with the abnormal type is output, and the prompt information is used to prompt the user to adjust the first state.

[0151] In this embodiment, different abnormal types correspond to different causes of measurement abnormality. Taking the measurement of the user's heart rate as an example, the wearable device includes a photoplethysmogram (PPG) module that can acquire the PPG signal of the user. If the PPG module is blocked by dirt, so that the PPG signal based on the feedback of the user's skin cannot be accurately acquired, the acquired PPG signal will be relatively flat and will not fluctuate, at which time it can be identified as a first abnormal type, and the first abnormal type is associated with the cause of the abnormality, i.e., dirt blocking. If the distance between the user's skin and the PPG module is far, the wearing state is loose, the intensity of the acquired PPG signal will be low, i.e., the amplitude is lower than a preset value, at which time it can be identified as a second abnormal type, and the second abnormal type is associated with the cause of the wearing state being loose. Based on this, after identifying the abnormal type corresponding to the first state, the electronic device can output the prompt information corresponding to the abnormal cause corresponding to the abnormal type, and the user can determine the cause of the measurement abnormality through the prompt information and perform the corresponding adjustment operation.

[0152] Exemplarily, Figure 6 A display schematic diagram of the prompt information provided by an embodiment of the present application is shown. Continuing with the above example of acquiring the heart rate, the abnormal cause corresponding to the first abnormal type is dirt blocking, and the prompt information "Please wipe the PPG module" can be output, as shown in (a) of Figure 6 Optionally, in order to further improve the indication and readability of the prompt information, the position corresponding to the PPG module can be indicated in a graphical manner, as shown in (b) of Figure 6 If it is detected that the current state belongs to the second abnormal type, i.e., the abnormal cause is that the watch is worn too loosely, the prompt information "Please tighten the watchband" can be output, as shown in (c) of Figure 6 Optionally, the electronic device can further indicate the number of the watchband that needs to be tightened, such as "Please tighten the watchband by 1 notch", as shown in (d) of Figure 6

[0153] It should be noted that the prompt information can be output in a manner corresponding to the type of the execution subject. Exemplarily, Figure 7 A schematic diagram of the output manner of the prompt information provided by an embodiment of the present application is shown. As shown in (a) of Figure 7 If the above electronic device is a wearable device, the above prompt information can be displayed on the display module of the wearable device, or can be voice broadcast through the built-in speaker of the wearable device. If the wearable device is configured with an abnormal signal, etc., the user can also be prompted to appear abnormal conditions through the flashing of the prompt light, so as to view the prompt information on the wearable device; as shown in Figure 7 ​As shown in (b), if the aforementioned electronic device is a non-wearable device, the output prompt information can be displayed on the display module of the other device (such as a smartphone or tablet connected to the wearable device). When displayed on the display module, it can be displayed as a pop-up, in the corresponding application interface, or via voice broadcast. Figure 7 As shown in (c), the above prompt information can be output simultaneously on the wearable device and the other devices mentioned above. The output method can be any one or more of the above methods combined, and no limitation is made here.

[0154] Furthermore, as another embodiment of this application, after S203, S204 and S205 may also be performed, as specifically described below:

[0155] In S204, in response to the user's retest operation based on the prompt information, the user's second feature data is obtained.

[0156] In S205, if it is determined based on the second feature data that the states of both the wearable device and the user meet the measurement conditions, then a measurement result is generated based on the second feature data.

[0157] In this embodiment, after adjusting the measurement status according to the prompts, the user can continue the original measurement task. In this case, the user can initiate a retest operation. For example, Figure 8 A schematic diagram of a retesting process provided in an embodiment of this application is shown. See also Figure 8 As shown in (a), after detecting an abnormal state in the user's measurement status, the electronic device can display a prompt message corresponding to the abnormal type of the abnormal state on the display module, such as "Wearing too loose, please tighten the strap buckle by 1 notch." In addition to the prompt message, the above prompt interface also includes a retest control 81. After the user adjusts according to the prompt message, they can click the retest control 81 to re-execute the measurement operation. Based on this, if the electronic device detects the retest control 81, it can recognize that the user has initiated a measurement operation and execute step S204, re-acquiring the user's user characteristic data, i.e., the second characteristic data, through the wearable device. When it detects that both the user's and the wearable device's states meet the measurement conditions, it generates the corresponding measurement result based on the acquired second characteristic data, such as... Figure 8 As shown in (b), the blood pressure value measured by the user is displayed.

[0158] In a possible implementation, after obtaining the second feature data, the electronic device can further determine, according to the measurement state corresponding to the second feature data, an abnormal type corresponding to the second feature data again, output the prompt information again, if it is determined that the user and / or the wearable device do not satisfy the measurement condition based on the second feature data, and the specific process can refer to the operations of S202 and S203.

[0159] In the embodiments of the present application, by initiating the re-measurement operation, the feature data of the user is reacquired, and the measurement result corresponding to the measurement state of the user satisfying the measurement condition is generated, so as to ensure the reliability of the output measurement result.

[0160] As can be seen from the above, the prompt method based on the wearable device provided in the embodiments of the present application can acquire the first feature data of the user through the wearable device when receiving the measurement operation initiated by the user, and determine whether the current state is the state in which the measurement task can be completed based on the acquired first feature data. If the current state is the abnormal state in which the measurement task cannot be completed, the abnormal type corresponding to the user and / or the wearable device is determined based on the first feature data, and the prompt information corresponding to the abnormal type is generated. The user can adjust the current measurement state according to the output prompt information, so that the adjusted state meets the condition of completing the measurement task, so as to realize the automatic identification and prompt of the abnormal condition in the measurement process. Compared with the existing measurement technology based on the wearable device, the embodiments can determine whether the current measurement state meets the measurement condition based on the acquired first feature data before outputting the measurement result. If the current measurement state does not meet the measurement condition, the measurement task will not be continued, but the prompt information associated therewith will be output. The user can find that the current state does not meet the measurement requirement in time, the timely prompt of the abnormal state is realized, and the situation that the measurement result is inaccurate due to the measurement state not meeting the condition is avoided, so as to improve the success rate of the measurement.

[0161] Embodiment Two

[0162] Compared with the embodiment one, the wearable device in the embodiment contains the air bag. The wearable device can inflate the air bag, so as to acquire the air pressure value fed back by the user in the air bag inflation process, and measure the blood pressure of the user. In this case, the first state contains at least the following three abnormal types. Exemplarily, Figure 9 The structure schematic diagram of the wearable device provided in an embodiment of the present application is shown. Referring to Figure 9As shown, the wearable device is specifically a smart watch, which includes a watch dial 91 and a watch band 92, the watch band 92 is configured with an inflatable air bag 921, the watch dial 91 includes a micro air pump 911 and a barometer 912, the micro air pump 911 can inflate the air bag 921, and the barometer 912 can collect the air pressure value fed back by the contact area of the user's skin during the inflation of the air bag 921, so as to complete the purpose of measuring the user's blood pressure.

[0163] Figure 10 A flowchart of a wearable device-based prompting method provided by an embodiment of the present application is shown. Referring to Figure 10 As shown, the method specifically includes the following steps:

[0164] In S1001, in response to the measurement operation, the first feature data of the user is acquired, including: in response to the measurement operation, the air bag is inflated, and the air pressure value in the air bag during the inflation is collected.

[0165] S1001 in the embodiment is the same as the specific implementation manner of S201 in Embodiment One, and the specific description can be referred to the related description of S201, which will not be repeated here.

[0166] In the embodiment, the first feature data is specifically an air pressure value; the air pressure value includes the air pressure value in the air bag when the user wears the wearable device to measure the blood pressure.

[0167] In the embodiment, the method is applied to the scene of measuring the blood pressure of the user, and the blood pressure of the user needs to acquire the pressure change of the user in the process of increasing the pressure and the pressure change in the process of reducing. Based on this, at the beginning stage of the measurement, the wearable device can inflate the air bag through the micro air pump to determine the pressure change of the user in the process of increasing the pressure, and the wearable device can be configured with a corresponding collection period to acquire the air pressure value fed back by the contact part of the wearable device at a preset collection period. Therefore, in the whole process of increasing the pressure, the wearable device can acquire a plurality of air pressure values, and the acquired air pressure values are taken as the feature data of the user, i.e., the first feature data.

[0168] In the embodiment, when the sensor of the wearable device feeds back an air pressure value, the electronic device can also record the time value corresponding to the collection of the air pressure value, and the time value is taken as the collection time corresponding to the air pressure value, the collection time is used to determine the inflation time corresponding to the air bag at the time of collecting the air pressure value. Based on this, the electronic device can associate each air pressure value with the corresponding air bag inflation time. If the air bag inflation time is longer, the corresponding collected air pressure value will be larger under normal circumstances, because the air bag will be inflated and the volume will be increased.

[0169] Similarly, the execution subject of the embodiment is specifically an electronic device, which can be a wearable device or other device that is not a wearable device. If the electronic device is a wearable device, the wearable device can store the air pressure value and the corresponding air bag inflation time in the local memory after obtaining the air pressure value at each collection time. If the electronic device is other than a wearable device, the wearable device can feed back the air pressure value and the corresponding air bag inflation time to the other device through the communication connection between the wearable device and the other device, or can first store the air pressure value and the corresponding air bag inflation time in the cache area, and then send all the recorded air pressure values and the corresponding air bag inflation times in the cache area to the other device when the data feedback condition is met (such as the end of the pressure increasing process or reaching the preset feedback time). The other device can perform the operation of S1002 based on the received air pressure value and the corresponding air bag inflation time.

[0170] In the embodiment of the present application, the air bag of the wearable device is inflated to obtain the air pressure value fed back by the user during the air bag inflation process, so that the purpose of determining the blood pressure of the user can be achieved, and the air bag configured on the wearable device can improve the flexibility and convenience of blood pressure measurement.

[0171] In S1002, the abnormal type of the wearable device and / or the user is determined according to the first feature data.

[0172] In S1004, prompt information associated with the abnormal type is output, and the prompt information is used to prompt the user to adjust the current state.

[0173] Since the specific implementation manners of S1002 and S1004 are exactly the same as those of S202 and S203 in Embodiment 1, the specific description can be referred to the related description of S202 and S203, which will not be repeated here.

[0174] Further, S1002 can specifically include S10021 and S10022, and the specific description is as follows:

[0175] In S10021, an air pressure change curve is generated according to the plurality of air pressure values and the air bag inflation time corresponding to each air pressure value.

[0176] In S10022, the abnormal type of the wearable device is determined according to the air pressure change curve.

[0177] In this embodiment, after the electronic device collects a plurality of air pressure values in the air bag, the electronic device can mark the coordinate points corresponding to the collected air pressure values on a preset coordinate system. The horizontal axis of the coordinate system can be the air bag inflation time, and the vertical axis can be the amplitude of the air pressure value in the air bag. Since each air pressure value is associated with a corresponding air bag inflation time, the corresponding coordinate point can be determined in the above-mentioned coordinate system, and the coordinate points determined based on each air pressure value are connected, so that the air pressure change curve corresponding to the measurement operation can be generated. For example, Figure 11 A schematic diagram of the air pressure change curve provided by an embodiment of the present application is shown. As shown in Figure 11 The horizontal axis of the air pressure change curve is the time axis, corresponding to the air bag inflation time, with a unit of seconds (s); and the vertical axis is the amplitude of the pressure, corresponding to the air pressure value collected during the air bag inflation process of the user, with a unit of millimeters of mercury (mmHg). If the state of the user and the wearable device both meet the measurement conditions of blood pressure measurement, for example, the air bag has no air leakage, and the tightness of the wearable device is appropriate, the corresponding air pressure change curve is a straight line with a constant slope, as shown in Figure 11 The collected air pressure value will increase at a constant speed with the change of time. Based on this, after the electronic device generates the air pressure change curve corresponding to the measurement, the electronic device can analyze the curve to determine whether the air pressure change curve meets any preset abnormal feature. The electronic device stores the curve features corresponding to different abnormal types, i.e., the abnormal features described above, and compares each abnormal feature with the air pressure change curve to achieve abnormal identification.

[0178] In this embodiment, if the air pressure change curve does not meet all abnormal features, it can be determined that the state of the user and the wearable device both meet the measurement conditions when the first feature data is collected, and the corresponding measurement result can be generated at this time. On the contrary, if the air pressure change curve meets any preset abnormal feature, the abnormal type associated with the met abnormal feature is taken as the abnormal type of the current state.

[0179] The abnormal type specifically includes the following three cases: the watchband is too loose, the watchband is too tight, and the air bag leaks. The specific implementation process of the three abnormal types is as follows:

[0180] Case 1: The watchband is too loose. When the watchband of the wearable device is too loose, the abnormal feature shown on the air pressure change curve is that the slope of the initial curve segment is less than the preset slope, and the time length for the slope of the air pressure change curve to rise to the preset slope will be greater than the preset time length threshold, i.e., later than the preset second time.

[0181] Case two: the watchband is too tight: when the watchband of the wearable device is too tight, the abnormal feature shown on the air pressure change curve is that the slope of the initial curve segment is greater than the preset slope, resulting in that the air pressure value collected at the initial stage of inflation (i.e., the preset first time) is greater than the preset air pressure threshold.

[0182] Case three: the inflatable air bag on the watchband leaks: when the air bag of the wearable device leaks, the abnormal feature shown on the air pressure change curve is that the slope of the air pressure change curve is still less than the preset slope at the late inflation stage (i.e., the preset third time), that is, there is a relatively flat curve segment.

[0183] In this embodiment, corresponding to the above three different abnormal types, the electronic device can sequentially complete the identification of the abnormal features through the following steps, which are specifically described as follows:

[0184] In S10022.1, the corresponding first air pressure value is collected when the air bag is inflated to the first time.

[0185] In this embodiment, the first time is a time close to the time when the air bag starts to inflate, for example, the first time can be 0.3s or 0.5s after the air bag starts to inflate. At this time, the wearable device obtains an air pressure value, that is, the first air pressure value, which is used to determine whether the air bag has a certain initial pressure before inflation.

[0186] In S10022.2, it is determined whether the first air pressure value is greater than the preset air pressure threshold. If yes, the operation of S10022.3 is performed; otherwise, the operation of S10022.4 is performed.

[0187] In this embodiment, if it is detected that the first air pressure value is greater than the preset air pressure threshold, it indicates that the air bag has a certain initial pressure before inflation, at which time it can be determined that the user's watch is too tight, and the operation of S10022.3 is performed. If it is detected that the first air pressure value is less than or equal to the air pressure threshold, it indicates that the initial pressure is small before the air bag inflates, and there is no situation of wearing too tight, and it is necessary to further determine whether there is an abnormal situation such as wearing too loose or air bag leakage.

[0188] In S10022.3, the abnormal type of the wearable device is determined as a second abnormal type; the second abnormal type is used to indicate that the tightness of the wearable device is in a tight state.

[0189] In this embodiment, since the watchband is too tight, the air pressure value fed back at the initial stage of inflation will be higher than the normal value, which is manifested in the air pressure change curve as a relatively large slope of the initial curve segment, wherein the initial curve segment specifically refers to the curve segment from the time when the air bag starts to inflate to the time when the slope of the air pressure change curve maintains the preset slope.

[0190] Exemplarily, Figure 12 The application provides a wearable device. The wearable device comprises a band and a micro air pump. The band is provided with an air bag. The micro air pump is configured to inflate the air bag. The application provides a method for identifying an abnormal type of a wearable device. The method comprises: detecting a first air pressure value of the air bag at a first time; comparing the first air pressure value with a pressure threshold value; and determining whether the wearable device is abnormally worn based on the comparison result. Figure 12 As shown in the figure, the dashed line represents the air pressure change curve under normal circumstances, and the solid line (curve 1 and curve 2) represents the air pressure change curve when the band is too tight. Regardless of curve 1 or curve 2, the corresponding air pressure value at the first time T0 is greater than the air pressure threshold P1. The air pressure value corresponding to T0 of curve 1 is Pa, and the air pressure value corresponding to T0 of curve 2 is Pb, and Pa>Pb>P1. Therefore, the above two curves belong to the air pressure change curve corresponding to the wearable device being too tight, as shown in curve 1 and curve 2, within the initial time period of air bag inflation, the air pressure rises rapidly, the slope of the initial curve segment of the air pressure change curve is large, and gradually decreases, and stabilizes after decreasing to a preset slope. This is because the wearable device is too tight, and there is a certain initial pressure between the user's skin and the band, so when the air bag starts to inflate, it will feedback a larger pressure, so the air pressure value collected by the wearable device is greater than the normal value, which also causes the initial slope of the curve to be large. At this time, the micro air pump of the wearable device can gradually reduce the power of the air bag inflation, so that the feedback air pressure value can reach the preset value, so the growth rate of the air pressure value will gradually decrease, until the feedback air pressure value increases at a constant rate, that is, the slope maintains the preset slope. Therefore, the electronic device can determine whether the band of the wearable device worn by the user is too tight by whether the slope of the initial curve segment of the air pressure change curve is greater than the preset slope.

[0191] In a possible implementation, when the electronic device detects that the first air pressure value is greater than the air pressure threshold at the first time, the electronic device can stop inflating the air bag, and perform the operation of S1004.

[0192] In the embodiment of the application, by comparing the first air pressure value obtained in the initial stage of the inflation process with the air pressure threshold, it is determined whether there is an initial pressure according to the comparison result. If the first air pressure value is greater than the air pressure threshold, the slope of the initial curve segment in the air pressure change curve is greater than the preset slope. At this time, the electronic device can determine that the wearable device is too tight, and the abnormal type is identified.

[0193] Further, after determining that the abnormal type of the wearable device is the second abnormal type, before generating the prompt information, S1003.1 can be further included, which is specifically described as follows:

[0194] In S1003.1, a second air pressure value corresponding to the time when the slope of the air pressure change curve decreases to the preset slope is determined; and the number of band relaxation steps required for adjustment is determined based on the second air pressure value.

[0195] In a possible implementation, when the electronic device detects that the first air pressure value is greater than the air pressure threshold value at the first time, the electronic device can continue to inflate the air bag and monitor the slope of the air pressure change curve, and when it is detected that the slope of the air pressure change curve is equal to the preset slope, the electronic device stops inflating the air bag and records the current air pressure value, and the air pressure value corresponding to the time when the slope of the air pressure change curve is equal to the preset slope is taken as the second air pressure value. The electronic device can determine the number of required watchband loosening based on the second air pressure value.

[0196] In this embodiment, the second air pressure value is specifically the air pressure value corresponding to the time when the slope of the air pressure change curve is equal to the preset slope. When the electronic device detects that the watchband is too tight, the electronic device needs to prompt the user to loosen the watchband. In order to further improve the accuracy of the prompt, the electronic device can also prompt the user to loosen the number of required watchbands. The electronic device can determine the number of watchband loosening corresponding to the second air pressure value according to the size of the second air pressure value. The greater the second air pressure value, the tighter the watchband is, and the more the number of watchband tightening. Conversely, the smaller the second air pressure value, the less tight the watchband is, and the less the number of watchband tightening.

[0197] In a possible implementation, the electronic device can store a conversion algorithm between the second air pressure value and the number of watchband loosening, and can import the second air pressure value into the conversion algorithm to calculate the number of watchband loosening corresponding thereto. It should be noted that the calculated number of watchband loosening is a positive integer.

[0198] In a possible implementation, the electronic device stores a plurality of air pressure characteristic values. The air pressure characteristic values can include the air pressure threshold value compared at the first time and the air pressure value used to determine the number of loosening. A plurality of air pressure intervals are divided based on the air pressure characteristic values, and the number of watchband loosening corresponding to the air pressure interval into which the second air pressure value falls is determined. For example, the air pressure characteristic values are P1, P2, P3, P4, and the like as shown in the mark in Figure 12 In a possible implementation, the electronic device can store a conversion algorithm between the second air pressure value and the number of watchband loosening, and can import the second air pressure value into the conversion algorithm to calculate the number of watchband loosening corresponding thereto. It should be noted that the calculated number of watchband loosening is a positive integer. Figure 12When the slope of the middle curve 1 is equal to the preset slope, the corresponding air pressure value (i.e., the second air pressure value) is Pa', and the value of Pa' is between P2 and P3, it can be determined that the watchband of the wearable device should be loosened by 2 notches; for example, Figure 12 When the slope of the middle curve 2 is equal to the preset slope, the corresponding air pressure value (i.e., the second air pressure value) is Pb', and the value of Pb' is between P1 and P2, it can be determined that the watchband of the wearable device should be loosened by 1 notch.

[0199] Correspondingly, after determining the watchband loosening notch number, S1004 can be S1004.1, which is specifically described as follows:

[0200] In S1004.1, the second prompt information is output, and the second prompt information is used to prompt the user to loosen the watchband of the wearable device by a specified number of notches, the specified number of notches being the watchband loosening notch number.

[0201] In this embodiment, the electronic device can output the second prompt information containing the watchband loosening notch number, and the user can adjust the tightness of the watchband according to the second prompt information. For example, Figure 13 An example of the second prompt information provided by an embodiment of the present application is shown in the schematic diagram, see Figure 13 As shown, the above-mentioned second prompt information not only prompts the user to loosen the watchband, but also prompts the number of notches that need to be loosened, which is displayed as "Wear is too tight, please adjust the watchband buckle to loosen 2 notches".

[0202] In a possible implementation manner, the electronic device can also directly prompt the user to loosen the watchband without displaying the number of notches that need to be loosened.

[0203] In the embodiment of the present application, by displaying the prompt information containing the loosening notch number, the readability of the prompt information can be improved, and the user can more accurately adjust the wearing state, thereby reducing the need for multiple adjustments and improving the measurement efficiency.

[0204] In S10022.4, when it is detected that the first air pressure value is less than or equal to the air pressure threshold value, it can be determined that the first slope of the air pressure change curve at the second time. The second time is later than the first time.

[0205] In this embodiment, in order to determine whether the wearable device is worn too loose or leaks, the first slope of the air pressure change curve can be determined when the air bag is inflated to a preset second time, and the first slope is compared with the preset slope. The second time is a time after the air bag is inflated for a short period of time (i.e., a preset first time threshold), for example, the second time can be a time corresponding to 2s-4s of air bag inflation.

[0206] In S10022.5, it is judged whether the first slope is the preset slope.

[0207] If yes, operation S10022.6 is performed; if no, operation S10022.7 is performed.

[0208] In this embodiment, if the tightness of the wearable device worn by the user is appropriate, the air pressure of the air bag can be increased at a preset rate within a short inflation time, that is, the corresponding air pressure change curve is maintained at a preset slope within a short time period. Based on this, if it is detected that the first slope of the air pressure change curve at the second time is the preset slope, it can be identified that the tightness of the wearable device worn at this time is appropriate, and operation S10022.6 is performed; otherwise, further classification and identification of abnormal conditions are required, and operation S10022.7 is performed.

[0209] In S10022.6, if the first slope at the second time is the preset slope, the air bag continues to inflate for blood pressure measurement, and a measurement result is generated.

[0210] In this embodiment, since there is a small gap between the skin surface of the user and the watchband of the wearable device in the case of appropriate tightness, the air pressure growth rate of the air bag inflation is also low for a small period of time in this case. That is, in the case of normal wearable device wearing, there can be a small slope for a small period of time at the beginning, which fails to reach the preset slope, but the preset slope can be reached after the small period of time. Therefore, if the slope of the air pressure change curve reaches the preset slope before the second time, it can be identified that the wearable device worn by the user is not in an excessively loose state, and it can be identified that the current state satisfies the measurement condition at this time, and the air bag can continue to be inflated to complete the blood pressure measurement operation and generate a corresponding measurement result.

[0211] In S10022.7, a second slope of the air pressure change curve is obtained, and it is determined whether the second slope is the preset slope.

[0212] In S10022.8, it is determined whether the third time is reached.

[0213] In this embodiment, the electronic device periodically obtains the air pressure values fed back during the air bag inflation process, updates the air pressure change curve based on the newly acquired air pressure values, and monitors the slope of the updated air pressure change curve at the time when the above-mentioned updated air pressure values are acquired, that is, the second slope. If the second slope is the preset slope, it indicates that the air bag can be pressurized at the preset slope before the third time is reached, and it indicates that the air bag does not leak, and operation S10022.10 is performed; otherwise, if the second slope is not the preset slope, the second slope of the air pressure change curve is continuously monitored before the third time is reached, and operation S10022.7 is returned to.

[0214] In S10022.9, it is determined that the abnormal type of the wearable device is a first abnormal type. The first abnormal type is used to represent that the tightness of the wearable device is in a loose state.

[0215] In this embodiment, because the watchband is too loose, the initial stage feedback air pressure value of the inflation is lower than the normal value, and the slope of the initial curve segment of the air pressure change curve is smaller, and it takes a long time to increase the slope to the preset slope, that is, the slope of the air pressure change curve at a certain time between the second time and the third time is increased to the preset slope, at this time, it can be determined that the abnormal type of the wearable device is a first abnormal type. Exemplarily, Figure 14 The air pressure change curve corresponding to the case that the watchband of the wearable device is worn too loosely is shown. Referring to FIG. 6, Figure 14 As shown in the figure, the dashed line represents the air pressure change curve in the normal case, and the solid line (curve 1 and curve 2) is the air pressure change curve in the case that the watchband is worn too loosely. It can be seen that the slope of the initial curve segment of the air pressure change curve is small and gradually increases, and is stable after increasing to the preset preset slope. This is because the gap between the user's skin surface and the wearable device is large, so when the air bag starts to inflate, the volume expands and still cannot fill the gap between the two, so the air pressure value obtained by the wearable device in the early stage (before the second time) is lower than the normal value, which also causes the slope of the curve at the beginning to be small. At this time, the micro air pump of the wearable device can gradually increase the power of the air bag inflation, so that the feedback air pressure value can reach the preset value, and therefore the growth rate of the air pressure value will gradually increase. Until the air bag is inflated to a certain extent, the gap between the user's skin surface and the wearable device is filled, at this time, the feedback air pressure value will increase at a constant rate, that is, the slope maintains the preset slope (after the second time and before the third time). At this time, it indicates that the user wears the wearable device too loosely, that is, the tightness of the wearable device is in a loose state, and at this time, the first state can be identified as a first abnormal type.

[0216] In a possible implementation, when the electronic device detects that the second slope of the air pressure change curve reaches the preset slope, the electronic device can stop inflating the air bag, and perform the operations of S1003.2 and / or S1004.

[0217] In a possible implementation, when the electronic device detects that the second slope of the air pressure change curve reaches the preset slope, the electronic device can continue to inflate the air bag, and monitor the slope of the air pressure change curve. When it is detected that the slope of the air pressure change curve is less than the preset slope, the electronic device stops inflating the air bag. At this time, it indicates that the user not only wears the watchband too loosely, but also there is an air bag leakage, Figure 15 A response schematic diagram in the case that there are multiple abnormalities is shown. As shown in FIG. 7, Figure 15In the case where the slope of the air pressure change curve in the initial stage is less than the preset slope for a long time and the slope in the later stage is again reduced to be less than the preset slope, the electronic device can correspond to two types of abnormality, i.e., one type of abnormality and three types of abnormality.

[0218] In the embodiments of the present application, by comparing the slope of the initial curve segment of the air pressure change curve with the preset slope, in the case where the slope is less than the preset slope and the duration is long, it can be determined that the wearable device is worn too loosely, and the identification of the abnormality type is realized.

[0219] Further, after determining that the abnormality type of the wearable device is one type of abnormality, before generating the prompt information, S1003.2 can be further included, which is specifically described as follows:

[0220] In S1003.2, the number of required strap tightening is determined according to the time point when the slope of the air pressure change curve increases to the preset preset slope.

[0221] In the embodiments, the electronic device needs to prompt the user to tighten the strap in the case where the strap is worn too loosely. In order to further improve the accuracy of the prompt, the electronic device can also prompt the user to the number of required tightening. The electronic device can determine the number of strap tightening corresponding to the time point when the slope of the air pressure change curve increases to the preset preset slope. If the time point when the slope of the air pressure change curve increases to the preset preset slope is later, it means that the gap between the user's skin and the strap is larger, and thus the number of strap tightening is more. Conversely, if the time point when the slope of the air pressure change curve increases to the preset preset slope is earlier, it means that the gap between the user's skin and the strap is smaller, and thus the number of strap tightening is less.

[0222] In a possible implementation, the electronic device can store a conversion algorithm between the time point when the slope of the air pressure change curve increases to the preset preset slope and the number of strap tightening. The above-mentioned time point when the slope of the air pressure change curve increases to the preset preset slope can be introduced into the above-mentioned conversion algorithm, and the corresponding number of strap tightening can be calculated. It should be noted that the calculated number of strap tightening is a positive integer.

[0223] In a possible implementation, the electronic device stores a plurality of preset time values, divides a plurality of time intervals based on the preset time values, and determines the corresponding number of strap tightening according to the time interval into which the time point when the slope of the air pressure change curve increases to the preset preset slope falls. Exemplarily, the above-mentioned preset time values are T1, T2, T3, T4, etc., as shown in the following table: Figure 14As shown in the middle mark, T1 can be the second time point, and the plurality of preset time points can be divided into a plurality of time interval, respectively (0, T1), [T1, T2), [T2, T3), [T3, T4) and the like. If the slope of the air pressure change curve increases to the preset preset slope when the corresponding time is within (0, T1), it is identified that the wearable device is not loose. If the slope of the air pressure change curve increases to the preset preset slope when the corresponding time is within [T1, T2), the corresponding watchband tightening number is 1. If the slope of the air pressure change curve increases to the preset preset slope when the corresponding time is within [T2, T3), the corresponding watchband tightening number is 2. If the slope of the air pressure change curve increases to the preset preset slope when the corresponding time is within [T3, T4), the corresponding watchband tightening number is 3. Similarly, for example, as shown in the curve 1 in FIG. 1, Figure 14 , the slope of the air pressure change curve increases to the preset preset slope when the corresponding time is Tb, and Tb is between T2 and T3, so it can be determined that the watchband of the wearable device should be tightened by 2. For example, as shown in the curve 2 in FIG. 1, Figure 14 , the slope of the air pressure change curve increases to the preset preset slope when the corresponding time is Ta, and Ta is between T1 and T2, so it can be determined that the watchband of the wearable device should be tightened by 1.

[0224] Correspondingly, after determining the watchband loosening number, S1004 can be S1004.2, and the specific description is as follows:

[0225] In S1004.2, the first prompt information is output, and the first prompt information is used to prompt the user to tighten the watchband of the wearable device by a specified number, and the specified number is the watchband tightening number.

[0226] In this embodiment, the electronic device can output the first prompt information containing the watchband tightening number, and the user can adjust the tightness of the watchband according to the first prompt information. For example, Figure 16 FIG. 1 shows a schematic diagram of the first prompt information provided by an embodiment of the present application, as shown in Figure 16 , the first prompt information not only prompts the user to tighten the watchband, but also prompts the number of tightening, which is displayed as “Please tighten the watchband buckle by 2”.

[0227] In a possible implementation, the electronic device can also directly prompt the user to tighten the watchband without displaying the number of tightening.

[0228] In the embodiment of the present application, by displaying the prompt information containing the tightening number, the readability of the prompt information can be improved, and the user can more accurately adjust the wearing state, thereby reducing the need for multiple adjustments and improving the measurement efficiency.

[0229] In S10022.10, if the second slope of the air pressure change curve is still less than the preset slope at the third time, it is determined that the abnormal type of the wearable device is the third abnormal type.

[0230] In this embodiment, the third time can be a relatively long time, for example, any time between 30s and 60s. In the case where the air bag is normal, even if the wearable device is worn very loosely, the air pressure change curve can reach the preset slope before the third time, that is, the rising rate of the air pressure is fixed. In the case where the air bag leaks, the air bag cannot reach the preset pressure target value (i.e., the expected maximum value in the pressure rising process), and the micro air pump will continue to inflate the air bag because the feedback air pressure value does not reach the pressure target value. Therefore, at the third time, the slope of the air pressure change curve is still less than the preset slope, and there is a flat curve segment in the air pressure change curve, that is, a curve segment with a slope less than the preset slope. Exemplarily, Figure 17 An air pressure change curve corresponding to the case where the air bag of the wearable device leaks is shown in an embodiment of the present application. Referring to FIG. 6, Figure 17 As shown in the figure, the dashed line represents the air pressure change curve in the normal case, and the solid line represents the air pressure change curve in the case where the air bag leaks. It can be seen that the slope of the air pressure change curve is always less than the preset slope, and the slope of the latter half of the curve tends to be flat. At this time, it is determined that the air bag of the wearable device worn by the user leaks, and the abnormal type of the wearable device is determined to be the third abnormal type.

[0231] In the embodiments of the present application, whether the air bag of the wearable device leaks is determined by identifying whether there is a flat curve segment in the air pressure change curve, so as to realize the identification of the abnormal type.

[0232] Further, when it is detected that the abnormal type of the first state is the third abnormal type, S1004 can be specifically S1004.3, and the specific description is as follows:

[0233] In S1004.3, a third prompt information is output, and the third prompt information is used to prompt the user to send the wearable device for repair.

[0234] In this embodiment, because the air bag of the wearable device leaks, the user cannot repair the abnormal condition by himself / herself, and needs to send the wearable device to a professional for repair or replacement of the air bag. In this case, the electronic device prompts the user to send the wearable device for repair, and generates the third prompt information for sending the wearable device for repair.

[0235] Exemplarily, Figure 18 An example of the third prompt information provided in an embodiment of the present application is shown in FIG. 7, and the specific description is as follows: Figure 18In (a) of FIG. 10, the third prompt information is displayed as "airbag has a leak, please send for repair". Further, in order to improve the guidance of the prompt information to the user and reduce the operation of the user, the third prompt information can further display a navigation jump link of a repair location, such as Figure 18 In (b) of FIG. 10, the user can click the navigation jump link to initiate a navigation operation to a specific repair location, such as clicking the control 181 of "repair location A", and a navigation interface for navigating to the repair location A is generated, as shown in (c) of FIG. 10. Figure 18 Optionally, in addition to displaying the repair location, a repair hotline can also be displayed, such as Figure 18 In (d) of FIG. 10, a control 182 of the repair telephone "8888-8888" is displayed, and the user can click the control 182 to directly dial the repair telephone to send the wearable device for repair, as shown in (e) of FIG. 10. Figure 18

[0236] In the embodiments of the present application, the prompt information for device repair is generated when the airbag leak is detected, which can facilitate the user to determine how to handle the abnormal condition of airbag leak.

[0237] It should be noted that the air pressure change curve can correspond to one or more than two abnormal types, that is, the air pressure change curve matches one or more than two abnormal characteristics. In this case, the prompt information output by the electronic device is determined based on multiple abnormal types, such as Figure 15 In (b) of FIG. 10, the prompt information can be displayed as "detected that the watch is worn too loose, and the airbag has a leak, please send the watch for repair".

[0238] Embodiment three:

[0239] Compared with the embodiment one, the prompt method of the present application is applied to the scene of blood pressure measurement. When the blood pressure is measured, the user needs to be in a resting state, that is, it is not suitable to immediately measure the blood pressure after intense exercise. When the electronic device measures the blood pressure, it can first determine whether the user has ever had intense exercise and is still in an active state. Or, whether the user has rested for a period of time after intense exercise and has recovered from the active state to the resting state. If the user is in the above active state or has not rested for a sufficient time after exercise, the condition for blood pressure measurement is not met, corresponding to the fourth abnormal type.

[0240] Based on this, the wearable device in the present embodiment comprises a heart rate acquisition module and an acceleration sensor, wherein the heart rate acquisition module can be a PPG module. The wearable device can obtain the heart rate value of the user through the heart rate acquisition module, and the acceleration sensor can determine the movement speed of the user. Exemplarily, Figure 19 ​A structural schematic diagram of a wearable device provided by an embodiment of the present application is shown. Referring to Figure 19 As shown, the wearable device is specifically a smart watch, which includes a watch dial 191 and a watch band 192, and the watch band 192 is provided with an inflatable air bag 1921. The watch dial 191 includes a miniature air pump 1911, an air pressure gauge 1912, a heart rate acquisition module 1913, an acceleration sensor 1914 and a gyroscope 1915. The miniature air pump 1911 can inflate the air bag 1921. The air pressure gauge 1912 can acquire the air pressure value fed back by the area in contact with the user's skin during the inflation of the air bag 1921, so as to complete the measurement of the user's blood pressure. The heart rate acquisition module 1913 can determine the heart rate value of the user. The acceleration sensor 1914 and the gyroscope 1915 are used to determine the motion speed of the user.

[0241] Figure 20 A flowchart of a prompting method based on a wearable device provided by an embodiment of the present application is shown. Referring to Figure 20 As shown, the method specifically includes the following steps:

[0242] In S2001, in response to a measurement operation, first feature data of a user is acquired by a wearable device, including taking the time point when the measurement operation is detected as a starting time point, acquiring the activity intensity within a preset detection time length before the starting time point, and taking the activity intensity within the preset detection time length as the first feature data.

[0243] In the embodiment, when responding to the measurement operation of the user, the electronic device needs to determine whether the user has had intense exercise before the measurement and needs to determine the activity intensity of the user. The greater the value of the activity intensity is, the more intense the user's exercise is. The smaller the value of the activity intensity is, the lower the intensity of the user's exercise is. If the activity intensity of the user at a certain time point is greater than a preset activity threshold, it can be identified that the user is in an activity state, which may be caused by the intense exercise of the user. In order to ensure that the user is in a relatively stable state when the blood pressure is measured, the electronic device acquires the activity intensity within a preset detection time length before the time point when the measurement operation is accepted, so as to detect whether the user has intense exercise, i.e., an activity state, and in the case that there is an activity state, it is judged whether the rest time of the user is sufficient for the blood pressure measurement.

[0244] Exemplarily, Figure 21 A division schematic diagram of a time period provided by an embodiment of the present application is shown. Referring to Figure 21As shown, the electronic device receives a user-initiated measurement operation at time t1, in which case the electronic device obtains the activity intensity in a preset detection duration before time t1, such as the activity intensity between t2 and t1. For example, if the preset detection duration is k, the time difference between t1 and t2 is k.

[0245] In a possible implementation, the activity intensity is calculated according to the heart rate value and the movement speed of the user. The higher the heart rate value of the user, the greater the value of the corresponding activity intensity. The greater the movement speed of the user, the greater the value of the corresponding activity intensity.

[0246] In the embodiments of the present application, the activity intensity of the user in the preset detection duration before blood pressure measurement is obtained as the first feature data, to determine whether the user has performed intense exercise before measurement, so as to ensure that the user performs blood pressure measurement in a stable state, thereby improving the accuracy of blood pressure measurement.

[0247] In S2002, the abnormal type of the wearable device and / or the user is determined according to the first feature data.

[0248] S2002 in the embodiments of the present application has the same specific implementation as S202 in Embodiment 1, and the specific description can be referred to the related description of S202, which is not repeated here.

[0249] Further, as another embodiment of the present application, S2002 specifically includes S2002.1-S2002.6, and the specific description is as follows:

[0250] In S2002.1, the preset detection duration is divided into an activity time period and a non-activity time period according to a preset activity threshold. The activity intensity in the activity time period is greater than or equal to the activity threshold. The activity intensity in the non-activity time period is less than the activity threshold.

[0251] In the embodiments of the present application, the electronic device can be preconfigured with an activity threshold. The activity threshold is used to distinguish the activity time period and the non-activity time period. The activity threshold can be preconfigured by the system, or can be calculated based on a preset algorithm according to the data collected by the wearable device in the daily life of the user, and the determination manner of the activity threshold is not limited herein.

[0252] In the embodiments of the present application, the electronic device can classify each time period in the preset detection duration according to the activity threshold. A time period with an activity intensity value greater than or equal to the activity threshold is divided into an activity time period, and a time period with an activity intensity value less than the activity threshold is divided into a non-activity time period.

[0253] Optionally, the preset detection duration includes at least one inactive time period. For example, the user does not perform intense exercise before the detection, and the preset detection duration includes only one inactive time period and does not include an active time period. Alternatively, the preset detection duration includes at least one active time period. For example, the user performs exercise such as running before the detection, and the preset detection duration includes only one active time period.

[0254] For example, continuing to refer to Figure 21 As shown in the figure, the dashed line represents the activity threshold, and thus the activity intensity at each time point in the preset detection duration k can be compared with the activity threshold, so as to divide a plurality of different time periods. C1 and C2 are active time periods, and the activity intensity in the active time periods is greater than or equal to the activity threshold. X1 and X2 are inactive time periods, and the activity intensity in the inactive time periods is less than the activity threshold.

[0255] In S2002.2, the integral of the activity intensity in each active time period is accumulated to determine the total activity amount of the user in the preset detection duration.

[0256] In S2002.3, the expected rest duration of the user is determined based on the total activity amount.

[0257] In this embodiment, the electronic device can determine the total activity amount of the user according to the activity intensity in all active time periods. The total activity amount can be calculated by integrating the activity intensity in the time dimension, taking the integral value as the activity amount corresponding to the active time period, and superimposing the activity amounts of all active time periods to obtain the total activity amount in the preset detection duration. In a possible implementation, the electronic device can determine the weighted weight of each active time period according to the time difference between the active time period and the starting time point. The longer the time difference between the starting time point and the active time period, the smaller the corresponding weighted weight. Conversely, the shorter the time difference between the starting time point and the active time period, the greater the corresponding weighted weight. For example, taking the preset detection duration shown in the figure as an example, the total activity amount can be expressed as: Figure 21

[0258] ActivityLv=Weight C1 *Activity C1 +Weight C2 *Activity C2

[0259] wherein ActivityLv is the total activity amount, Activity C1 is the activity amount of C1 period, and Weight C1 ​Weight is the weighted weight corresponding to the C1 period; Activity C2 Activity is the activity amount of the C2 period, Weight C2 Weight is the weighted weight corresponding to the C2 period. Since the C2 period is relatively close to the starting time, Weight C2 Weight C1 .

[0260] In this embodiment, the electronic device is provided with a corresponding rest time conversion coefficient, and the expected user rest time (which can also be referred to as the expected rest time) can be calculated by multiplying the user's total activity amount by the conversion coefficient, that is, the expected rest time can be expressed as:

[0261]

[0262] Wherein, ξ rest is the expected rest time; γ is the rest time conversion coefficient; Activity Ci is the activity amount of the Ci-th activity period; Weight Ci is the weighted weight of the Ci-th activity period, and the weighted weight can be 1; n is the total number of activity periods.

[0263] In S2002.4, according to the type of the time period in which the starting time is located, the rested time of the user is determined.

[0264] In this embodiment, the time period type includes an activity period and a non-activity period. If the type of the time period in which the starting time is located is an activity period, the rested time of the user is 0; if the type of the time period in which the starting time is located is a non-activity period, the duration of the non-activity period in which the starting time is located is taken as the rested time of the user.

[0265] In S2002.5, it is determined whether the rested time is less than the expected rest time.

[0266] If yes, the operation of S2002.6 is performed; otherwise, if the rested time is greater than or equal to the expected rest time, it can be identified that the user is in a state that satisfies the measurement condition, and the operation of S1001.1 in Embodiment Two can be jumped to to determine whether the wearable device is worn too loose, too tight, or the air bag is leaking.

[0267] In S2002.6, if the rested time is less than the expected rest time, it is determined that the abnormal type of the user is a four-type abnormal type; the four-type abnormal type is used to indicate that the user is in an insufficient rest state.

[0268] In this embodiment, the electronic device can compare the resting time length with the expected resting time length to determine whether the user has rested sufficiently and is suitable for blood pressure measurement. Continuing to refer to Figure 21 The non-active time period is X1 and X2, and the end time of X2 is the start time of receiving the measurement operation of the user, that is, X2 is the time period in which the start time is located, and the time period is a non-active time period. Therefore, the time length corresponding to X2 is used as the resting time length of the user, and the resting time length is compared with the expected resting time length. If the expected resting time length is greater than or equal to the expected resting time length, it is determined that the user has rested sufficiently, the air pump is started to inflate the air bag, and then the measurement state of the wearable device can be compared with the abnormal features of other abnormal types to further determine the measurement state of the wearable device. If the recent resting time length is less than the expected resting time length, it indicates that the user has not rested sufficiently, and blood pressure measurement is not suitable at this time. In this case, the electronic device identifies the measurement state of the user as the first state, and the abnormal type of the first state is the fourth abnormal type.

[0269] In the embodiments of the present application, the expected resting time length of the user is determined by identifying the active time period and the non-active time period of the user, so as to determine whether the user has rested sufficiently before blood pressure measurement, thereby determining whether the user is suitable for blood pressure measurement according to the activity level of the user, to improve the accuracy of the blood pressure measurement process.

[0270] In S2004, prompt information associated with the abnormal type is output.

[0271] S2004 in this embodiment has the same specific implementation as S203 in Embodiment One, and the specific description can be referred to the related description of S203, which will not be repeated here.

[0272] In a possible implementation, the electronic device can output prompt information prompting the user to rest. For example, Figure 22 An output schematic diagram of the prompt information provided by an embodiment of the present application is shown. Referring to Figure 22 As shown in (a) of FIG. 21, the electronic device can output prompt information prompting the user to rest, such as "You have recently exercised, please rest for a while before blood pressure measurement", the user can rest according to the prompt information, and then re-perform the measurement after the rest is completed. The above prompt interface also includes a re-measurement control 221, and the user can click the re-measurement control 221 after the rest is completed to re-perform the measurement operation.

[0273] Further, as another embodiment of the present application, before outputting the prompt information associated with the abnormal type, S2003 is further included, and correspondingly, the output of the prompt information associated with the abnormal type S2004.1:

[0274] In S2003, the user's required rest duration is determined based on the time difference between the expected rest duration and the actual rest duration.

[0275] In S2004.1, a fourth prompt message is output, which is used to remind the user of the required rest duration.

[0276] In this embodiment, after detecting that the user has not rested sufficiently, the electronic device can also display the required rest duration in the prompt message. This required rest duration is specifically the time difference between the expected rest duration and the actual rest duration. See also... Figure 21 The required rest time is specifically ξ rest The time difference between X2 and X2. When generating the prompt message, the electronic device can simultaneously display the required rest duration mentioned above, so that the user can determine the specific length of the required rest. For example... Figure 22 As shown in (b), the above prompt message displays "We detected that you exercised recently. Please rest for 2 minutes before taking the measurement." Of course, to improve readability, the time elapsed since the exercise was detected can be specified, such as "We detected that you exercised 3 minutes ago. Please rest for 2 minutes before taking the measurement." Similarly, the above prompt message also includes retest controls, including a "Measure Later" control 222 and an "Measure Immediately" control 223. The "Measure Immediately" control 223 indicates that the user will not rest but will immediately continue the measurement. This approach may introduce some measurement error, but the user agrees to the introduction of error. The "Measure Later" control 222 indicates that the user agrees to wait a specified time before taking the measurement. In this case, the wearable device can be configured with a timer, and when the timer count matches the required rest time, it automatically performs the detection operation without requiring the user to click again. Alternatively, the electronic device can also generate a countdown page, such as... Figure 22 As shown in (c), a countdown is performed to determine the required rest duration. When the countdown value reaches 0, the measurement operation is executed.

[0277] In one possible implementation, if a user engages in strenuous exercise within the required rest period, and the system detects that there is a time within the required rest period where the activity intensity exceeds the activity threshold, the required rest period can be extended, and a corresponding prompt message can be regenerated to prompt the user to extend the rest. The calculation method for extending the rest period can be found in the relevant descriptions in S2002.1 to S2002.5, and will not be repeated here.

[0278] In this embodiment of the application, by displaying the user's required rest duration in the prompt message, the user can easily determine the specific rest time needed, thereby improving the readability and guidance of the prompt message.

[0279] In summary, in combination with the embodiments of Embodiment Two and Embodiment Three, the above-mentioned abnormal types specifically include four types. Exemplarily, Figure 23 A schematic diagram of the abnormal type classification provided by an embodiment of the present application is shown. Referring to Figure 23 As shown in (a) of FIG. 13, the wearable device can obtain user data of the user through the built-in sensor, perform feature extraction on the user data to obtain first feature data, and perform threshold judgment on the first feature data and the abnormal conditions corresponding to each abnormal type, so as to classify the abnormal types of the first measurement type, which are respectively: a first abnormal type (wearing is too loose), a second abnormal type (wearing is too tight), a third abnormal type (air bag is leaking), and a fourth abnormal type (please rest for X minutes after the activity). Correspondingly, the pressure change curves in the normal state corresponding to the first abnormal type to the third abnormal type can be seen in (b) of FIG. 13. Figure 23

[0280] Embodiment Four:

[0281] Corresponding to the prompting method described in the above embodiments, Figure 24 A structural block diagram of the prompting device provided by an embodiment of the present application is shown. For ease of illustration, only the parts related to the embodiments of the present application are shown.

[0282] Referring to Figure 24 The prompting device is applied to a wearable device, and the wearable device includes an inflatable air bag. The prompting device includes:

[0283] A first feature data acquisition unit 241 is configured to acquire first feature data of a user in response to a measurement operation. The first feature data includes activity intensity and / or a pressure value of the user, and the pressure value includes a pressure value in the air bag when the user wears the wearable device to measure blood pressure.

[0284] An abnormal type identification unit 242 is configured to determine an abnormal type of the wearable device and / or the user according to the first feature data. The abnormal type is used to indicate that the wearable device and / or the user is currently in a state that does not meet the measurement condition.

[0285] A prompt information output unit 243 is configured to output prompt information associated with the abnormal type, and the prompt information is used to prompt the user to adjust the current state.

[0286] Optionally, the first feature data acquisition unit 241 includes:

[0287] ​an airbag inflation unit configured to control the airbag to inflate in response to a measurement operation, collect air pressure values in the airbag during the inflation, and use the collected air pressure values as the first feature data.

[0288] Optionally, the abnormal type identification unit 242 includes:

[0289] an air pressure change curve generation unit configured to generate an air pressure change curve based on the air pressure values and airbag inflation times corresponding to the air pressure values;

[0290] a measurement state classification unit configured to determine an abnormal type of the wearable device based on the air pressure change curve.

[0291] Optionally, the measurement state classification unit includes:

[0292] a slope rising duration determination unit configured to determine whether a time corresponding to a time when a slope of the air pressure change curve increases to a preset slope is later than a second time if a first air pressure value collected at a first time is less than or equal to a preset air pressure threshold value;

[0293] a loosening abnormality identification unit configured to determine that the wearable device is of a first abnormal type if the time corresponding to the time when the slope of the air pressure change curve increases to the preset slope is later than the second time; the first abnormal type is used to represent that a wearing tightness of the wearable device is in a loosening state; and the second time is later than the first time.

[0294] Optionally, the prompting device further includes:

[0295] a tightening step determination unit configured to determine a required adjustment tightening step of a watchband of the wearable device based on the time corresponding to the time when the slope of the air pressure change curve increases to the preset slope;

[0296] the prompting information output unit 243 includes:

[0297] a tightening prompting unit configured to output first prompting information, the first prompting information being used to prompt the user to tighten the watchband of the wearable device by a specified step, the specified step being the tightening step.

[0298] Optionally, the measurement state classification unit includes:

[0299] a tightening abnormality identification unit configured to determine that the wearable device is of a second abnormal type if the first air pressure value collected at the first time is greater than the preset air pressure threshold value; the second abnormal type is used to represent that the wearing tightness of the wearable device is in a tightening state.

[0300] Optionally, the prompting device further includes:

[0301] a second air pressure value determination unit, configured to determine a second air pressure value corresponding to a time when the slope of the air pressure change curve decreases to a preset slope;

[0302] a relaxation band number determination unit, configured to determine a required adjustment band number of a watchband based on the second air pressure value;

[0303] The prompt information output unit 243 comprises:

[0304] a relaxation prompt unit, configured to output second prompt information, the second prompt information being used to prompt the user to relax the watchband of the wearable device by a specified number of bands, the specified number of bands being the band number of the watchband.

[0305] Optionally, the measurement state classification unit comprises:

[0306] a gas leakage anomaly identification unit, configured to determine, if the slope of the air pressure change curve is less than the preset slope at a preset third time, that the anomaly type of the wearable device is a third anomaly type, the third anomaly type being used to represent that the air bag is in a gas leakage state.

[0307] In a possible implementation manner of the second aspect, the prompt information output unit 243 comprises:

[0308] a repair prompt unit, configured to output third prompt information, the third prompt information being used to prompt the user to repair the wearable device.

[0309] Optionally, the first feature data acquisition unit 241 comprises:

[0310] an activity intensity determination unit, configured to take a time when the measurement operation is detected as a starting time, acquire an activity intensity of the user in a preset detection time length before the starting time, and take the activity intensity in the preset detection time length as the first feature data.

[0311] Optionally, the anomaly type identification unit 242 comprises:

[0312] an activity time period division unit, configured to divide the preset detection time length into an activity time period and a non-activity time period according to a preset activity threshold, the activity intensity in the activity time period being greater than or equal to the activity threshold, and the activity intensity in the non-activity time period being less than the activity threshold;

[0313] an activity total amount calculation unit, configured to accumulate integrals of the activity intensity in each activity time period, and determine an activity total amount of the user in the preset detection time length.

[0314] The expected rest duration calculation unit is configured to determine an expected rest duration of the user based on the total activity amount;

[0315] The rested duration determination unit is configured to determine a rested duration of the user according to a time period type in which the start time point is located.

[0316] The rest anomaly recognition unit is configured to determine that the abnormal type of the user is a fourth abnormal type if the rested duration is less than the expected rest duration, wherein the fourth abnormal type is used to represent that the user is in an insufficient rest state.

[0317] Optionally, the prompting device further comprises:

[0318] The required rest duration determination unit is configured to determine a required rest duration of the user according to a time difference between the expected rest duration and the rested duration.

[0319] The prompting information output unit 243 comprises:

[0320] The rest prompting unit is configured to output fourth prompting information, wherein the fourth prompting information is used to prompt the required rest duration of the user.

[0321] Optionally, the wearable device comprises a heart rate acquisition module and an acceleration sensor, and the activity intensity is calculated based on a heart rate value obtained by the heart rate acquisition module and a movement speed determined based on the acceleration sensor.

[0322] Optionally, the prompting device further comprises:

[0323] The re-measurement response unit is configured to obtain second feature data of the user in response to a re-measurement operation of the user based on the prompting information.

[0324] The measurement result output unit is configured to generate a measurement result based on the second feature data if it is determined that the wearable device and the state of the user both satisfy a measurement condition based on the second feature data.

[0325] Therefore, the prompting device based on the wearable device provided in the embodiments of the present application can also acquire first feature data of the user through the wearable device when receiving a user-initiated measurement operation, and determine whether the current state is a state in which the measurement task can be completed based on the acquired first feature data. If the current state is a state in which the measurement task cannot be completed, that is, an abnormal state, the abnormal type corresponding to the user and / or the wearable device is determined through the first feature data, and prompt information corresponding to the abnormal type is generated. The user can adjust the current measurement state according to the output prompt information, so that the adjusted state meets the condition for completing the measurement task, to realize automatic identification and prompting of abnormal conditions in the measurement process. Compared with the existing wearable-based measurement technology, the embodiments can determine whether the current measurement state meets the measurement condition through the acquired first feature data before outputting the measurement result. If the current measurement state does not meet the measurement condition, the measurement task will not be continued, but prompt information associated therewith will be output. The user can discover that the current state does not meet the measurement requirement in time, realize timely prompting of the abnormal state, avoid the situation that the measurement result is inaccurate due to the fact that the measurement state does not meet the condition, and thus improve the success rate of measurement.

[0326] The prompting method based on the wearable device provided in the embodiments of the present application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, notebook computers, ultra-mobile personal computers (UMPCs), personal digital assistants (PDAs), and the like. In particular, the prompting method based on the wearable device can be applied to a wearable device that can collect user feature information, or other electronic devices connected to the wearable device. For example, a certain smart phone and a wearable device establish a wireless connection, and the prompting method can be executed on the smart phone to output corresponding prompt information.

[0327] For example, the electronic device can be a station (STATION, STA) in a WLAN, can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device having wireless communication function, a computing device, or other processing device connected to a wireless modem, a computer, a laptop, a handheld communication device, a handheld computing device, and / or other equipment for communicating over a wireless system and next generation communication system, such as a mobile terminal in a 5G network or a mobile terminal in a future evolved Public Land Mobile Network (PLMN) network, etc.

[0328] Figure 25 A structural schematic diagram of the electronic device 100 is shown.

[0329] The electronic device 100 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0330] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can include more or fewer components than shown, or combine certain components, or split certain components, or different arrangement of components. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0331] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices or integrated in one or more processors.

[0332] The controller can generate operation control signals according to the instruction operation code and the timing signal, and complete the control of fetching and executing instructions.

[0333] The processor 110 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can save instructions or data that have just been used or are used repeatedly by the processor 110. If the processor 110 needs to use the instructions or data again, it can directly call from the memory. This avoids repeated access and reduces the waiting time of the processor 110, thereby improving the efficiency of the system.

[0334] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0335] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 can contain multiple sets of I2C bus. The processor 110 can be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces respectively. For example, the processor 110 can be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface, and realize the touch function of the electronic device 100.

[0336] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can contain multiple sets of I2S bus. The processor 110 can be coupled to the audio module 170 through the I2S bus, and realize the communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can deliver audio signals to the wireless communication module 160 through the I2S interface, and realize the function of answering the phone through the Bluetooth earphone.

[0337] The PCM interface can also be used for audio communication, which samples, quantizes and encodes analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled through the PCM bus interface. In some embodiments, the audio module 170 can also deliver audio signals to the wireless communication module 160 through the PCM interface, and realize the function of answering the phone through the Bluetooth earphone. Both the I2S interface and the PCM interface can be used for audio communication.

[0338] The UART interface is a universal serial data bus, which is used for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is usually used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface, and realizes the Bluetooth function. In some embodiments, the audio module 170 can deliver audio signals to the wireless communication module 160 through the UART interface, and realize the function of playing music through the Bluetooth earphone.

[0339] The MIPI interface can be used to connect the processor 110 and the display screen 194, the camera 193 and other peripheral devices. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), and the like. In some embodiments, the processor 110 and the camera 193 communicate through the CSI interface to implement the photographing function of the electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.

[0340] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 and the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.

[0341] The USB interface 130 is an interface that conforms to the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transmit data between the electronic device 100 and a peripheral device. It can also be used to connect a headset to play audio through the headset. The interface can also be used to connect other electronic devices, such as AR devices and the like.

[0342] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a structural limitation of the electronic device 100. In other embodiments of the present application, the electronic device 100 can also use different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0343] The charging management module 140 is used to receive charging input from a 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 a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input through the wireless charging coil of the electronic device 100. The charging management module 140 can charge the battery 142 while also providing power to the electronic device through the power management module 141.

[0344] The power management module 141 is configured to connect the battery 142 and the charging management module 140 to 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, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 can also be configured to monitor parameters such as battery capacity, battery cycle count, battery health status (leakage, impedance), and the like. In some embodiments, the power management module 141 can also be disposed in the processor 110. In some embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.

[0345] The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor, and the like.

[0346] The antenna 1 and the antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be configured to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some embodiments, the antennas can be used in combination with a tuning switch.

[0347] The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G and the like applied to the electronic device 100. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and perform filtering, amplification, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify signals modulated by the modem processor, and radiate the amplified signals as electromagnetic waves through the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 can be disposed in the same device.

[0348] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal processed by the baseband processor is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a microphone 170B, etc.), or displays an image or a video through the display 194. In some embodiments, the modem processor can be a separate device. In other embodiments, the modem processor can be independent of the processor 110 and disposed in the same device as the mobile communication module 150 or other functional modules.

[0349] The wireless communication module 160 can provide a wireless communication solution including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 can also receive a signal to be transmitted from the processor 110, perform frequency modulation, amplification, and convert the signal into electromagnetic wave radiation via the antenna 2.

[0350] In some embodiments, the antenna 1 and the mobile communication module 150 of the electronic device 100 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the electronic device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include a global positioning system (GPS), a global navigation satellite system (GLONASS), a beidu navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite based augmentation systems (SBAS).

[0351] The electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs that execute program instructions to generate or change display information. Among them, the above-mentioned display screen 194 can specifically display the generated detection report, so that the user can view the detection report through the display screen 194.

[0352] The display screen 194 is configured to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diodes (QLED), or the like. In some embodiments, the electronic device 100 can include one or N display screens 194, where N is a positive integer greater than 1. The display screen 194 can include a touch panel and other input devices.

[0353] The electronic device 100 can implement a photographing function through an ISP, the camera 193, a video codec, a GPU, the display screen 194, and an application processor.

[0354] The ISP is configured to process data fed back by the camera 193. For example, when taking a photo, a shutter is opened, light is transmitted to a camera photosensitive element through a lens, and the light signal is converted into an electrical signal. The camera photosensitive element transmits the electrical signal to the ISP for processing, and converts the electrical signal into an image visible to the naked eye. The ISP can also perform algorithm optimization on noise, brightness, and skin color of the image. The ISP can also optimize exposure, color temperature, and other parameters of a shooting scene. In some embodiments, the ISP can be disposed in the camera 193.

[0355] The camera 193 is configured to capture still images or videos. An object generates an optical image through a lens and projects the optical image onto a photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert the electrical signal into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the electronic device 100 can include one or N cameras 193, where N is a positive integer greater than 1.

[0356] The digital signal processor is used to process digital signals, in addition to being able to process digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0357] The video codec is used to compress or decompress digital video. The electronic device 100 can support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.

[0358] The NPU is a neural-network (NN) calculation processor, which can quickly process input information by drawing on the structure of a biological neural network, such as the transmission mode between human brain neurons, and can also continuously self-learn. Through the NPU, the electronic device 100 can realize intelligent cognition applications such as image recognition, face recognition, voice recognition, text understanding, etc.

[0359] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize data storage functions. For example, music, video, etc. Files are saved in the external memory card.

[0360] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application required by a function (such as a sound playing function, an image playing function, etc.), etc. The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phonebook, etc.), etc. In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various function applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in the memory disposed in the processor.

[0361] The electronic device 100 can realize audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. For example, music playing, recording, etc.

[0362] The audio module 170 is configured to convert digital audio information into an analog audio signal output, and to convert an analog audio input into a digital audio signal. The audio module 170 can also be configured to encode and decode audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some of the functions of the audio module 170 can be disposed in the processor 110.

[0363] The speaker 170A, also referred to as a "loudspeaker", is configured to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A. In particular, the speaker 170A described above can be used to output a prompt information for notifying a user of a part to be contacted with the electronic scale.

[0364] The receiver 170B, also referred to as a "earpiece", is configured to convert an audio electrical signal into a sound signal. When the electronic device 100 receives a call or a voice message, the receiver 170B can be held close to a human ear to listen to the voice.

[0365] The microphone 170C, also referred to as a "microphone", "sound transducer", is configured to convert a sound signal into an electrical signal. When making a call or sending a voice message, a user can speak into the microphone 170C close to the human mouth to input a sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, in addition to collecting sound signals, noise reduction functions can also be achieved. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C, in addition to collecting sound signals, noise reduction, and can also identify the source of the sound, and achieve directional recording functions, etc.

[0366] The earphone interface 170D is configured to connect a wired earphone. The earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0367] The pressure sensor 180A is configured to sense a pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display 194, e.g., the electronic device can obtain the weight of a user via the pressure sensor 180A. The pressure sensor 180A can be of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, etc. The capacitive pressure sensor can include at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the force based on the change in capacitance. When a touch operation is applied to the display 194, the electronic device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a short message application icon, an instruction to view a short message is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the short message application icon, an instruction to create a new short message is executed.

[0368] The gyroscope sensor 180B can be configured to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined via the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake photography. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of shaking of the electronic device 100, calculates the distance that the lens module needs to compensate based on the angle, and lets the lens offset the shaking of the electronic device 100 via reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and motion sensing game scenarios.

[0369] The barometric pressure sensor 180C is configured to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude based on the air pressure value measured by the barometric pressure sensor 180C, and assists in positioning and navigation.

[0370] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can detect the opening and closing of a flip cover via the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover based on the magnetic sensor 180D. Further, based on the detected opening and closing state of the cover or the flip cover, the electronic device 100 can set a feature such as automatic unlocking of the flip cover.

[0371] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in each direction (typically, three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the electronic device posture, applied to the landscape / portrait screen switching, pedometer, etc.

[0372] The distance sensor 180F is used to measure distance. The electronic device 100 can measure distance by infrared or laser. In some embodiments, the electronic device 100 can measure distance by using the distance sensor 180F to achieve fast focusing when shooting a scene.

[0373] The proximity light sensor 180G can include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The light-emitting diode can be an infrared light-emitting diode. The electronic device 100 emits infrared light outwardly through the light-emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using the photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to achieve the purpose of power saving. The proximity light sensor 180G can also be used for automatic unlocking and locking of the screen in the case of a holster mode and a pocket mode.

[0374] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the display screen 194 brightness according to the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when shooting. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent false touch.

[0375] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application lock, fingerprint shooting, fingerprint answering calls, etc.

[0376] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to perform temperature processing strategies. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold value, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by low temperature. In other embodiments, when the temperature is lower than yet another threshold value, the electronic device 100 performs voltage boosting on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0377] Touch sensor 180K, also referred to as "touch device". Touch sensor 180K can be disposed on display screen 194, and touch sensor 180K and display screen 194 form a touch screen, also referred to as "touch panel". Touch sensor 180K is configured to detect touch operations applied to or near the touch sensor 180K. The touch sensor can transmit the detected touch operation to the application processor to determine the touch event type. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K can also be disposed on the surface of electronic device 100, which is different from the position where display screen 194 is located.

[0378] Bone conduction sensor 180M can obtain vibration signals. In some embodiments, bone conduction sensor 180M can obtain vibration signals of the bone block of the human body sound part. Bone conduction sensor 180M can also contact the human body pulse to receive blood pressure pulsation signals. In some embodiments, bone conduction sensor 180M can also be disposed in a headset to form a bone conduction headset. Audio module 170 can analyze voice signals based on the vibration signals of the bone block of the sound part obtained by the bone conduction sensor 180M to realize voice functions. The application processor can analyze heart rate information based on the blood pressure pulsation signals obtained by the bone conduction sensor 180M to realize heart rate detection functions.

[0379] Keys 190 include power on / off keys, volume keys, and the like. Keys 190 can be mechanical keys. They can also be touch keys. Electronic device 100 can receive key inputs and generate key signal inputs related to user settings and function control of electronic device 100.

[0380] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts and also for touch vibration feedback. For example, touch operations applied to different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. Touch operations applied to different regions of display screen 194 can also correspond to different vibration feedback effects. Different application scenarios (such as time reminders, received messages, alarms, games, etc.) can also correspond to different vibration feedback effects. Touch vibration feedback effects can also be customizable.

[0381] Indicator 192 can be an indicator light, which can be used to indicate charging status, power changes, and also to indicate messages, missed calls, notifications, and the like.

[0382] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to make contact with and separate from the electronic device 100. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as calls and data communication. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

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

[0384] Figure 26 This is a software structure block diagram of an electronic device according to an embodiment of this application.

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

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

[0387] like Figure 26 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.

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

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

[0390] The window manager is used to manage windows programs. The window manager can acquire the display screen size, determine whether there is a status bar, lock the screen, and intercept the screen, etc.

[0391] The content provider is used to store and acquire data, and make the data accessible to the application program. The data can include video, image, audio, dialed and received phone, browsing history and bookmark, phone book, etc.

[0392] The view system includes visual controls, such as a control for displaying text, a control for displaying pictures, etc. The view system can be used to build an application program. A display interface can be composed of one or more views. For example, a display interface including a short message notification icon can include a view for displaying text and a view for displaying pictures.

[0393] The phone manager is used to provide the communication function of the electronic device. For example, the management of the call state (including connection, hang-up, etc.).

[0394] The resource manager provides various resources for the application program, such as localized strings, icons, pictures, layout files, video files, etc.

[0395] The notification manager makes the application program display notification information in the status bar, which can be used to convey a type of message, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform the completion of the download, message reminder, etc. The notification manager can also be a notification in the form of a chart or a scroll bar text appearing in the top status bar of the system, such as a notification of an application program running in the background, and can also be a notification in the form of a dialogue window appearing on the screen. For example, prompting text information in the status bar, issuing a prompt sound, the electronic device vibrating, the indicator light flashing, etc.

[0396] The Android runtime includes the core library and the virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

[0397] The core library contains two parts: one part is the function function called by the java language, and the other part is the core library of Android.

[0398] The application program layer and the application program framework layer run in the virtual machine. The virtual machine executes the java file of the application program layer and the application program framework layer into a binary file. The virtual machine is used to perform the management of the object life cycle, the management of the stack, the management of the thread, the management of the security and exception, and the garbage collection, etc.

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

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

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

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

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

[0404] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.

[0405] The following example, using a scene of capturing a photograph, illustrates the workflow of the software and hardware of the electronic device 100.

[0406] When touch sensor 180K receives a touch operation, a corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, timestamp of the touch operation, etc.). The raw input event is stored in the kernel layer. The application framework layer retrieves the raw input event from the kernel layer and identifies the control corresponding to the input event. Taking a touch click as an example, where the corresponding control is the camera application icon, the camera application calls the application framework layer's interface to launch the camera application, and then calls the kernel layer to launch the camera driver, capturing still images or videos through camera 193.

[0407] Figure 27 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 27 As shown, the electronic device 27 of this embodiment includes: at least one processor 270 ( Figure 27 The diagram shows only one processor, memory 271, and computer program 272 stored in the memory 271 and executable on the at least one processor 270, wherein the processor 270 executes the computer program 272 to implement the steps in any of the above-described wearable device-based prompting method embodiments.

[0408] The electronic device 27 can be a desktop computer, a notebook computer, a palm computer, a cloud server, and the like. The electronic device can include, but is not limited to, a processor 270, a memory 271. Those skilled in the art can understand that Figure 27 The electronic device 27 is only an example and does not limit the electronic device 27, and can include more or fewer components than shown, or combine certain components, or include different components, for example, can also include an input / output device, a network access device, and the like.

[0409] The processor 270 can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic components, discrete hardware components, and the like. The general-purpose processor can be a microprocessor or can also be any conventional processor.

[0410] The memory 271 can be an internal storage unit of the electronic device 27 in some embodiments, for example, a hard disk or a memory of the electronic device 27. The memory 271 can also be an external storage device of the electronic device 27 in other embodiments, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, and the like. Further, the memory 271 can include both the internal storage unit and the external storage device of the electronic device 27. The memory 271 is used to store an operating system, an application program, a boot loader, data, and other programs, for example, program codes of the computer program, and the like. The memory 271 can also be used to temporarily store data that has been output or will be output.

[0411] It should be noted that the information interaction, execution process, and the like between the above-mentioned devices / units, since based on the same concept as the method embodiments of the present application, the specific functions and the technical effects brought by them can be referred to the method embodiments part, and will not be repeated here.

[0412] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional units and modules is exemplified, and in actual application, the above functions can be completed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to complete all or part of the above described functions. Each functional unit or module in the embodiment can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit. In addition, the specific name of each functional unit or module is only for convenient distinction, and does not limit the protection scope of the present application. The specific working process of the unit or module in the system can refer to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0413] The embodiments of the present application further provide an electronic device, which comprises at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor implements the steps in any of the method embodiments described above when executing the computer program.

[0414] The embodiments of the present application further provide a computer readable storage medium, which stores a computer program, wherein the computer program is executable on a processor to implement the steps in any of the method embodiments described above.

[0415] The embodiments of the present application provide a computer program product, which, when running on a mobile terminal, enables the mobile terminal to implement the steps in any of the method embodiments described above.

[0416] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the present application can implement all or part of the processes in the above-mentioned embodiment methods through a computer program to instruct relevant hardware to complete, and the computer program can be stored in a computer readable storage medium. When the computer program is executed by a processor, the steps of each method embodiment described above can be implemented. The computer program includes computer program code, which can be in the form of source code, object code, executable files or some intermediate forms. The computer readable medium can at least include any entity or device capable of carrying the computer program code to the photographing device / electronic device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium. For example, U disk, mobile hard disk, magnetic disk or optical disk, etc. In some jurisdictions, according to legislation and patent practice, the computer readable medium can not be an electrical carrier signal and a telecommunication signal.

[0417] In the above embodiments, the description of each embodiment has its own focus, and the parts not described or recorded in detail in a certain embodiment can be referred to the relevant description of other embodiments.

[0418] Those skilled in the art can appreciate that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0419] In the embodiments provided in the present application, it should be understood that the disclosed apparatus / network device and method can be implemented in other ways. For example, the apparatus / network device embodiments described above are only schematic. The division of the modules or units is only a logical function division, and there can be another division in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.

[0420] The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may also be distributed to multiple network units. Part or all of the units can be selected to achieve the purpose of the embodiment scheme according to actual needs.

[0421] The above embodiments are only used to illustrate the technical solutions of the present application, but not limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can still be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A prompting method applied to a wearable device, the wearable device comprising an inflatable airbag, characterized in that, The prompting method comprises: in response to a measurement operation, acquiring first feature data of a user; the first feature data comprises: activity intensity of the user and / or air pressure value, the air pressure value comprising air pressure value in the air bag when the user wears the wearable device to measure blood pressure; determining an abnormal type of the wearable device and / or the user according to the first feature data; the abnormal type is used to indicate that the wearable device and / or the user is currently in a state that does not meet the measurement condition; outputting prompt information associated with the abnormal type, the prompt information being used to prompt the user to adjust the current state; the response to the measurement operation, the first feature data of the user, comprising: taking the time when the measurement operation is detected as a starting time, acquiring the activity intensity of the user within a preset detection time before the starting time, and taking the activity intensity within the preset detection time as the first feature data; the first feature data, comprising: according to a preset activity threshold, dividing the preset detection time into an activity time period and a non-activity time period; the activity intensity in the activity time period is greater than or equal to the activity threshold; the activity intensity in the non-activity time period is less than the activity threshold; cumulatively integrating the activity intensity in each activity time period to determine the total activity amount of the user within the preset detection time, comprising: integrating the activity intensity in the time dimension, taking the integrated value as the activity amount corresponding to the activity time period, and superimposing the activity amounts of all activity time periods to calculate the total activity amount; determining the expected rest time of the user based on the total activity amount; determining the rested time of the user according to the time period type in which the starting time is located; if the rested time is less than the expected rest time, determining that the abnormal type of the user is a four-type abnormal type; wherein the four-type abnormal type is used to indicate that the user is in an insufficient rest state.

2. The prompting method of claim 1, wherein, the first feature data, comprising: generating an air pressure change curve according to the air pressure value and the air bag inflation time corresponding to each air pressure value; determining the abnormal type of the wearable device according to the air pressure change curve.

3. The prompting method of claim 2, wherein, the first feature data, comprising: if the first air pressure value collected at the first time is less than or equal to the preset air pressure threshold, determining whether the time corresponding to the time when the slope of the air pressure change curve increases to the preset slope is later than the second time; if the time corresponding to the time when the slope of the air pressure change curve increases to the preset slope is later than the second time, determining that the wearable device is a first-type abnormal type; wherein the first-type abnormal type is used to indicate that the wearing tightness of the wearable device is in a loose state; the second time is later than the first time.

4. The prompting method of claim 3, wherein, before the outputting prompt information associated with the abnormal type, further comprising: determining the required number of band tightening steps based on a time point when a slope of the air pressure change curve increases to the preset slope; the outputting the prompt information associated with the abnormal type comprises: outputting first prompt information, the first prompt information being used to prompt the user to tighten the band of the wearable device by a specified number of steps, the specified number of steps being the number of band tightening steps.

5. The prompting method of claim 2, wherein, the determining the abnormal type of the wearable device according to the air pressure change curve comprises: if the first air pressure value collected at the first time point is greater than a preset air pressure threshold, determining that the wearable device is of a second abnormal type; the second abnormal type is used to indicate that the tightness of the wearable device is in a tight state.

6. The prompting method of claim 5, wherein, before the outputting the prompt information associated with the abnormal type, the method further comprises: determining a second air pressure value corresponding to a time point when the slope of the air pressure change curve decreases to a preset slope; determining a required number of band loosening steps based on the second air pressure value; the outputting the prompt information associated with the abnormal type comprises: outputting second prompt information, the second prompt information being used to prompt the user to loosen the band of the wearable device by a specified number of steps, the specified number of steps being the number of band loosening steps.

7. The prompting method of claim 2, wherein, the determining the abnormal type of the wearable device according to the air pressure change curve comprises: if the slope of the air pressure change curve is less than a preset slope at a preset third time point, determining that the abnormal type of the wearable device is a third abnormal type; the third abnormal type is used to indicate that the air bag is in a deflated state.

8. The prompting method of claim 7, wherein, the outputting the prompt information associated with the abnormal type comprises: outputting third prompt information, the third prompt information being used to prompt the user to send the wearable device for repair.

9. The prompting method of claim 1, wherein, before the outputting the prompt information associated with the abnormal type, the method further comprises: determining a required rest time length of the user according to a time difference between the expected rest time length and the already rested time length; the outputting the prompt information associated with the abnormal type comprises: outputting fourth prompt information, the fourth prompt information being used to prompt the user for the required rest time length.

10. The prompting method according to any one of claims 1-9, characterized in that, the wearable device comprises a heart rate collection module and an acceleration sensor; the activity intensity is calculated based on a heart rate value obtained by the heart rate collection module and a movement speed determined based on the acceleration sensor.

11. The prompting method according to any one of claims 1 to 9, characterized in that, after the outputting the prompt information associated with the abnormal type, the method further comprises: in response to a re-measurement operation fed back by the user based on the prompt information, obtaining second feature data of the user; if it is determined that the state of the wearable device and the user both satisfy a measurement condition based on the second feature data, generating a measurement result based on the second feature data.

12. A prompting device applied to a wearable device, the wearable device comprising an inflatable bladder, characterized in that, the prompting device comprises: a first feature data acquisition unit, configured to obtain first feature data of a user in response to a measurement operation; the first feature data comprises: an activity intensity of the user and / or an air pressure value, the air pressure value comprising an air pressure value in the air bag when the user wears the wearable device to measure blood pressure. The abnormality type identification unit is configured to determine an abnormality type of the wearable device and / or the user according to the first feature data, the abnormality type being used to indicate that the wearable device and / or the user is currently in a state that does not satisfy a measurement condition. The prompt information output unit is configured to output prompt information associated with the abnormality type, the prompt information being used to prompt the user to adjust the current state. The first feature data acquisition unit comprises: The activity intensity determination unit is configured to take a time point at which the measurement operation is detected as a starting time point, acquire activity intensity of the user in a preset detection time period before the starting time point, and take the activity intensity in the preset detection time period as the first feature data. The abnormality type identification unit comprises: The activity time period division unit is configured to divide the preset detection time period into an activity time period and a non-activity time period according to a preset activity threshold, the activity intensity in the activity time period being greater than or equal to the activity threshold, and the activity intensity in the non-activity time period being less than the activity threshold. The activity total amount calculation unit is configured to accumulate integration of the activity intensity in each activity time period, determine an activity total amount of the user in the preset detection time period, and comprise: integrating the activity intensity in a time dimension, taking a value obtained by the integration as an activity amount corresponding to the activity time period, superimposing the activity amounts of all activity time periods, and calculating the activity total amount in the preset detection time period. The expected rest time period calculation unit is configured to determine an expected rest time period of the user based on the activity total amount. The rested time period determination unit is configured to determine a rested time period of the user according to a time period type in which the starting time point is located. The rest abnormality identification unit is configured to determine the abnormality type of the user as a four-type abnormality type if the rested time period is less than the expected rest time period, the four-type abnormality type being used to indicate that the user is in an insufficiently rested state.

13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor implements the method according to any one of claims 1 to 11 when executing the computer program.

14. A computer-readable storage medium, the computer-readable storage medium storing a computer program, characterized in that, The computer program implements the method according to any one of claims 1 to 11 when executed by the processor.

Citation Information

Patent Citations

  • Blood pressure measuring method and intelligent sphygmomanometer

    CN105852836A

  • Watchband adjusting method, wearable equipment and computer readable storage medium

    CN110427073A

  • Blood pressure measuring method and electronic equipment

    CN112568884A