Menstrual period management method and related apparatus

Through prediction reminder and physiological feature detection, correction controls are provided to allow users to calibrate menstrual periods, solving the cumbersome problems of menstrual period management in the existing technology, and achieving more accurate and convenient menstrual period management.

WO2024235262A1PCT designated stage expired Publication Date: 2024-11-21HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/093378
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-18
Filing Date
2024-05-15
Publication Date
2024-11-21

AI Technical Summary

Technical Problem

The existing menstrual management methods rely on user input, and the operation is cumbersome and difficult to achieve timely and accurate menstrual management, and the user experience is poor.

Method used

By predicting the menstrual period, users are reminded by providing correction controls to allow users to manually calibrate the first and end of the menstrual period, and intelligently calibrate with physiological characteristics detection trend values, reducing the user input burden and improving management accuracy.

Benefits of technology

It realizes simple, timely and accurate period management of users, improves user experience, reduces period errors, and improves the accuracy of subsequent predictions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024093378_21112024_PF_FP_ABST
    Figure CN2024093378_21112024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are a menstrual period management method and a related apparatus. The method comprises: when it is predicted that an Xth day after a first date is the first menstrual day of a first menstrual period, displaying first prompt information and a first correction control, wherein the first prompt information is used for reminding a user that a menstrual period may arrive within X days, and the first correction control is used for indicating that the first menstrual day of the first menstrual period has arrived and is further used for correcting the first menstrual day of the first menstrual period; and if a first input operation is detected, correcting and marking the first menstrual day of the first menstrual period as a second date, wherein the first input operation comprises a second input operation acting on the first correction control, the second date is earlier than or the same as the first date, and the marked first menstrual day is used for predicting a future menstrual period. In this way, the user operation is simple, timely and accurate menstrual period management is realized, and the user experience is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Menstrual management method and related device

[0001] This application claims priority to the Chinese patent application with application number 202310567347.3 filed with the State Intellectual Property Office of China on May 18, 2023, and priority to the Chinese patent application with the invention name “A menstrual management method and related devices”, all contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of electronic technology, and in particular to a menstrual management method and related devices. Background Art

[0003] Women are increasingly prioritizing their health. Menstruation is a physiological phenomenon experienced by women of childbearing age. The menstrual period (i.e., period) and menstrual cycle (i.e., menstrual cycle) can indicate the physical health status of women of childbearing age. Studies have shown that adjusting training and nutrition plans based on the menstrual period and menstrual cycle can benefit both the body and mind. Menstrual management has become the core foundation for other services such as women's health management, pregnancy preparation management, and sexual life.

[0004] Currently, users can manage their periods through mobile phone apps. However, existing methods often rely on user input, including feedback on historical period start and end times, which can be cumbersome and can lead to forgetfulness. Existing methods fail to provide timely and accurate period management, resulting in a poor user experience.

[0005] Summary of the Invention

[0006] This application provides a menstrual period management method and related devices, which are easy for users to operate, achieve timely and accurate menstrual period management, and effectively improve user experience.

[0007] In a first aspect, the present application provides a menstrual period management method, which is applied to a first electronic device, including: when it is predicted that the Xth day after a first date is the first day of a first menstrual period, a first prompt message and a first correction control are displayed; the first prompt message is used to remind the user that the menstrual period will arrive within X days, and the first correction control is used to indicate that the first day of the first menstrual period has arrived, and is also used to correct the first day of the first menstrual period; if a first input operation is detected, the first day of the menstrual period of the first menstrual period is corrected and calibrated to a second date; the first input operation includes a second input operation acting on the first correction control, the second date is earlier than or equal to the first date, and the calibrated first day of the menstrual period is used to predict future menstrual periods.

[0008] By implementing the embodiments of the present application, a user can be notified of the impending menstruation by providing a forecast reminder x days before the menstrual period, allowing the user to prepare in advance. If the menstrual period has already arrived, the user can be prompted to manually calibrate the first day of the menstrual period through the calibration control. This simplifies user operation, enables timely and accurate menstrual period management, and effectively improves the user experience.

[0009] In one implementation, in response to a second input operation on the first correction control, a date selection control is displayed, the date selection control being used to select the corrected date, the date selection control including a date option for the second date; the first input operation also includes a third input operation on the date option for the second date. In implementing this embodiment of the present application, if the actual menstrual period has already arrived, the user can select the date option for the actual first day of the menstrual period based on the actual first day of the menstrual period.

[0010] In one implementation, a first confirmation control is displayed after a third input operation acting on a date option of a second date is detected; the first input operation further includes a fourth input operation acting on the first confirmation control.

[0011] In one implementation, when the third date is detected as the first day of a menstrual period, the third date is calibrated to the first day of the first menstrual period, and a second prompt and a second correction control are displayed; the second prompt is used to indicate that the third date is the first day of a menstrual period, and the second correction control is used to correct the first day of the first menstrual period. Implementing this embodiment of the present application promptly notifies the user when the first day of a menstrual period is detected, allowing the user to promptly calibrate the actual first day of a menstrual period using the correction control if the first day of a menstrual period is incorrect. This simplifies user operation, improves the accuracy of the calibrated first day of a menstrual period, and effectively enhances the user experience.

[0012] In one implementation, after displaying the second prompt information and the second correction control, it also includes: if a fifth input operation is detected, correcting and marking the first day of the first menstrual period as the fourth date; the fifth input operation includes a sixth input operation acting on the second correction control.

[0013] In one implementation, the method further includes: displaying date options for a fourth date in response to a sixth input operation; and the fifth input operation further includes an operation acting on the date options for the fourth date.

[0014] In one implementation, the method further includes: in response to the sixth input operation, displaying a first cancel option, the first cancel option being used to indicate that the first day of the first menstrual period has not yet arrived; and if a seventh input operation is detected on the first cancel option, canceling the marking of the third date as the first day of the first menstrual period. By implementing this embodiment of the present application, if the actual menstrual period has not yet arrived, the user can cancel the initially marked first day of the menstrual period, thereby promptly improving the accuracy of the first day of the menstrual period.

[0015] In one implementation, the second prompt message is accompanied by a first cancel control, the first cancel control being used to indicate that the first day of the first menstrual period has not yet arrived, and to cancel the third date being designated as the first day of the first menstrual period. By implementing this embodiment of the present application, if the actual menstrual period has not yet arrived, the user can cancel the initially designated first day of the menstrual period, thereby promptly improving the accuracy of the first day of the menstrual period.

[0016] In one implementation, the method further includes: upon detecting that the fifth date is the end of the menstrual period, calibrating the fifth date as the end of the first menstrual period, and displaying a third prompt message and a third correction control; the third prompt message is used to indicate that the fifth date is the end of the first menstrual period, the third correction control is used to correct the end of the first menstrual period, and the calibrated end of the menstrual period is used to predict future menstrual periods. When implementing this embodiment of the present application, when the end of the menstrual period is detected, the user is promptly prompted, so that if the end of the menstrual period is incorrect, the user can manually calibrate the actual end of the menstrual period using the correction control. This simplifies user operation, improves the accuracy of the calibrated end of the menstrual period, and effectively enhances the user experience.

[0017] In one implementation, after displaying the third prompt information and the third correction control, it also includes: if an eighth input operation is detected, correcting and marking the last day of the first menstrual period as the sixth date; the eighth input operation includes a ninth input operation acting on the third correction control.

[0018] In one implementation, the method further includes: displaying date options for a sixth date in response to a ninth input operation; and the eighth input operation further includes an operation acting on the date options for the sixth date.

[0019] In one implementation, the method further includes: displaying a second cancel option in response to the ninth input operation, the second cancel option being used to indicate that the first menstrual period has not yet ended; and canceling the marking of the fifth date as the end of the first menstrual period if a tenth input operation is detected on the second cancel option. By implementing this embodiment of the present application, if the actual menstrual period has not yet ended, the user can cancel the initially marked end of the menstrual period, thereby promptly improving the accuracy of the end of the menstrual period.

[0020] In one implementation, the method further includes: displaying a second cancel control along with the third prompt message; the second cancel control is used to indicate that the first menstrual period has not yet ended, and is used to cancel the fifth date from being marked as the end of the first menstrual period. By implementing this embodiment of the present application, if the actual menstrual period has not yet ended, the user can cancel the initially marked end of the menstrual period, thereby promptly improving the accuracy of the end of the menstrual period.

[0021] In one implementation, the first electronic device is further configured to obtain K daily physiological characteristics of the user based on data collected by the detection device. The method further includes: detecting a menstrual trend value for the current day based on the K physiological characteristics of the user over the past N days, where the menstrual trend value for the current day indicates how close the current day is to the peak of the user's menstrual period, with N and K being positive integers; and the menstrual trend value is used to predict and calibrate the first and last days of the menstrual period. Compared to traditional menstrual period management methods, this method does not rely heavily on the user inputting menstrual period information. Instead, it measures the menstrual trend value based on the user's detected physiological signs, and then intelligently calibrates the menstrual period interval, reducing the user's burden of long-term record keeping.

[0022] In one implementation, the method further includes: updating and displaying a menstrual trend curve and a first indicator frame based on the menstrual trend value of the current date; the menstrual trend curve sequentially indicates the detected menstrual trend values ​​for dates before and after the current date, as well as the predicted menstrual trend values ​​for dates after the current date; and the first indicator frame indicates the menstrual trend value for each day within the menstrual period range on the menstrual trend curve, where the menstrual period range refers to the time range from the first day of the menstrual period to the last day of the menstrual period. In this way, the menstrual trend curve allows users to dynamically understand changes in menstrual trends and their own physiological cycle characteristics.

[0023] In one implementation, the menstrual trend curve corresponding to the date after the current date in the menstrual trend curve is determined based on the historical menstrual trend curve / historical menstrual trend sequence after comprehensive statistics; the historical menstrual trend sequence is determined based on the comprehensive statistics of the menstrual trend values ​​of at least one historical physiological cycle that has been detected; the historical menstrual trend sequence indicates the average length of the historical physiological cycle after comprehensive statistics, and the menstrual trend value of each day within a historical physiological cycle after comprehensive statistics; the historical menstrual trend curve is determined based on the historical menstrual trend sequence; the historical menstrual trend sequence also indicates the menstrual period range within a physiological cycle corresponding to the historical menstrual trend sequence, and the menstrual period range indicated by the historical menstrual trend sequence is determined based on the menstrual period calibrated based on at least one historical physiological cycle.

[0024] In one implementation, a first marker is displayed on the menstrual cycle trend curve, indicating the point on the menstrual cycle trend curve corresponding to the current date. Upon detecting an eleventh input operation on the first marker, a first interface is displayed for editing and displaying the physical symptoms corresponding to the current date. This allows the user to intuitively perceive the physical symptoms at each stage of the menstrual cycle, thereby facilitating better management of the symptoms.

[0025] In one implementation, the K physiological characteristics include a first physiological characteristic, and further include: along with the menstrual trend curve, one or more of the following physiological characteristic curves of the first physiological characteristic are also displayed: a measured physiological characteristic curve, a historical minimum physiological characteristic curve, a historical average physiological characteristic curve, and a historical average physiological characteristic curve; the menstrual trend curve and each physiological characteristic curve have the same horizontal coordinate; the measured physiological characteristic curve and each historical physiological characteristic curve are time-domain aligned using a preset algorithm; the measured physiological characteristic curve indicates the physiological characteristic values ​​measured on the current date and previous dates; the historical minimum physiological characteristic curve indicates the minimum physiological characteristic value per day within a historical physiological cycle after comprehensive statistics; the historical average physiological characteristic curve indicates the average physiological characteristic value per day within a historical physiological cycle after comprehensive statistics; and the historical maximum physiological characteristic curve indicates the maximum physiological characteristic value per day within a historical physiological cycle after comprehensive statistics. In this way, users can more dynamically perceive the fluctuation characteristics of their menstrual period and understand their own physiological cycle characteristics in a multi-dimensional way.

[0026] In one implementation, the method further includes: detecting whether there is an abnormality based on the detected menstrual trend value of the user; and displaying a fourth prompt message when an abnormality is detected, where the fourth prompt message is used to prompt the abnormality.

[0027] In one implementation, the abnormal situation includes one or more of the following: user change; the user is not a female; the user is sick; the user is pregnant; when the abnormal situation is that the user is not a female, the fourth prompt information is also used to prompt the user to turn off menstrual related functions; when the abnormal situation is that the user is pregnant, the fourth prompt information is also used to prompt the user to switch to pregnancy mode.

[0028] In one implementation, it also includes: on the Fth day after the last day of the first menstrual period, based on the detected menstrual trend values ​​of the past C days and the historical menstrual trend sequence, recalibrating the first day and the last day of the first menstrual period, C is greater than F, and C and F are both positive integers.

[0029] In one implementation, recalibrating the first and last days of the first menstrual period includes recalibrating the first and last days of the first menstrual period upon detecting a first condition, where the first condition includes one or more of the following: the first and / or last days of the first menstrual period have not been calibrated; the first and / or last days of the first menstrual period have been calibrated, but the user has not provided feedback on the calibrated first and / or last days; the calibrated first and / or last days of the menstrual period are significantly incorrect. Intelligent recalibration, combined with post-menstrual period trend values, can effectively reduce errors in calibrated periods, thereby improving the accuracy of subsequent menstrual period predictions and effectively addressing various situations that may result in significant errors in menstrual period predictions.

[0030] In one implementation, when the menstrual trend value on the current date meets a second condition, the Xth day after the current date is predicted to be the first day of the first menstrual period; the second condition includes: the difference between the menstrual trend value on the current date and a first threshold is less than a preset value, and the first threshold is the menstrual trend value on the Xth day before the first day of the menstrual period determined based on a historical menstrual trend sequence.

[0031] In one implementation, when the menstrual trend value of the current date meets the third condition, the current date is predicted to be the first day of the first menstrual period; the second condition includes: the menstrual trend value on the current date and the previous date has increased continuously for w days, and the menstrual trend value on the current date is greater than the first day threshold for the first time in the w days.

[0032] In one implementation, when the menstrual trend value of the current date meets the fourth condition, the current date is predicted to be the last day of the first menstrual period; the fourth condition includes: on the current date and the previous date, the menstrual trend value has risen for w consecutive days and then fallen for u consecutive days, and the menstrual trend value of the current date is less than the end-of-day threshold for the first time in u days.

[0033] In a second aspect, the present application provides an electronic device comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are configured to store computer program code. The computer program code comprises computer instructions. When the one or more processors execute the computer instructions, the electronic device performs the menstrual management method according to any possible implementation of any of the aforementioned aspects.

[0034] In a third aspect, an embodiment of the present application provides a computer storage medium comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the menstrual management method in any possible implementation of any of the above aspects.

[0035] In a fourth aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the menstrual management method in any possible implementation of any of the above aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] FIG1 is a schematic diagram of the system architecture of a communication system provided in an embodiment of the present application;

[0037] FIG2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0038] Figures 3A to 3H are user interfaces related to the sports health APP provided in an embodiment of the present application;

[0039] 4A to 4C are user interfaces related to advance prediction reminders for smart bracelets provided in an embodiment of the present application;

[0040] 5A to 5E are user interfaces related to the first day reminder of menstruation for a smart wristband provided in an embodiment of the present application;

[0041] 6A to 6E are user interfaces related to the smart wristband's menstrual period end reminder provided by an embodiment of the present application;

[0042] FIG7A is a method flow diagram of a menstrual period management method provided in an embodiment of the present application;

[0043] FIG7B is a method flow diagram of a menstrual period management method provided in an embodiment of the present application;

[0044] FIG8 is a LSTM-based learning model provided in an embodiment of the present application;

[0045] FIG9 is a schematic diagram of a historical menstrual period trend curve provided in an embodiment of the present application;

[0046] 10A to 10D are user interfaces related to switching users provided in an embodiment of the present application;

[0047] 11A to 11C are user interfaces related to disabling the menstrual period management function according to an embodiment of the present application;

[0048] 12A to 12C are user interfaces related to switching to a pregnancy mode according to an embodiment of the present application;

[0049] FIG13 is a schematic diagram of a menstrual trend sequence provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] The following is a clear and detailed description of the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship between related objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0051] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.

[0052] The term "user interface (UI)" in the following embodiments of this application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device and finally presented as content that the user can recognize. The commonly used form of user interface is graphical user interface (GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.

[0053] In the embodiment of the present application, the menstrual period includes the period / time period during which menstruation occurs in the uterus within a menstrual cycle, which may also be referred to as the menstrual period or physiological period; the length of the menstrual period is usually around 7 days, for example, 6 days. The menstrual cycle, that is, the period during which menstruation occurs, may also be referred to as the physiological cycle; the length of the physiological cycle is usually around 28 days, for example, 28 days or 29 days. Depending on the user's physiological characteristics, a physiological cycle may generally include periods of multiple physiological phenomena, including menstruation, follicular phase, ovulation phase, luteal phase, fertile period, safe period, etc. The length of the menstrual period and physiological cycle of different users may be different, and the length of the menstrual period and physiological cycle of the same user may also change.

[0054] Current menstrual management methods primarily rely on traditional calendaring, a method used in most current mobile phone apps for menstrual management. Specifically, this method relies primarily on user input, requiring the user to actively click on dates in the calendar to enter the first and last dates of their period, as well as manually enter the menstrual period length (e.g., 6 days) and menstrual cycle length (e.g., 28 days). This method assumes that the user's menstrual period does not fluctuate, with relatively fixed menstrual period and menstrual cycle lengths, and determines future menstrual periods solely based on user input. If the user does not actively enter information, the determined future menstrual period length is fixed and does not account for fluctuations in menstrual periods, such as delayed or early periods, changes in menstrual period length, or changes in menstrual cycle length. It is understood that changes in the user's mood, exercise status, health status, and environment can all contribute to menstrual period fluctuations. If the user forgets to provide menstrual information, the error in the calibrated menstrual period will increase over time after multiple cycles without feedback.

[0055] This application provides a menstrual management method that can achieve more accurate menstrual management, including menstrual period prediction, reminders, and corrections, effectively improving the user experience. The following introduces a communication system 10 involved in the menstrual management method provided in an embodiment of the application.

[0056] The communication system 10 includes one or more detection devices for collecting the user's physiological characteristics. The detection device can be a wearable device (such as a heart rate monitor, smart bracelet, electronic body temperature patch, etc.). The embodiment of the present application does not specifically limit the wearing position and type of the above-mentioned wearable device. In some embodiments, the communication system 10 includes only one detection device, namely the above-mentioned wearable device (such as a smart bracelet).

[0057] In some embodiments, as shown in FIG1 , a detection device (e.g., smart bracelet 100) in the communication system 10 has a display screen. In the presence of other detection devices, the smart bracelet 100 can establish a communication connection with the other detection devices. The smart bracelet 100 can obtain the physiological characteristics collected by each detection device; perform menstrual period prediction, reminders, and corrections based on the detected physiological characteristics, and display relevant information about the menstrual period, such as some or all of the following: advance prediction prompts X days before the menstrual period, reminders for the first day of the menstrual period, controls for correcting the first day of the menstrual period, reminders for the last day of the menstrual period, controls for correcting the last day of the menstrual period, menstrual trend curves, predicted menstrual periods, detected physiological characteristics, menstrual period reports, and the like.

[0058] In some embodiments, the communication system 10 also includes an electronic device 200 (such as a mobile phone), which is equipped with a display screen. The electronic device 200 is used to establish a communication connection with the above-mentioned one or more detection devices to obtain the physiological characteristics collected by each detection device; perform menstrual period prediction, reminders and corrections based on the detected physiological characteristics, and display the above-mentioned menstrual period related information.

[0059] In some embodiments, the communication system 10 includes an electronic device 200 and a smart bracelet 100, and the electronic device 200 and the smart bracelet 100 establish a communication connection; the electronic device 200 or one of the devices in the smart bracelet 100 can establish a communication connection with the above-mentioned one or more detection devices, obtain the physiological characteristics collected by each detection device, and perform menstrual period prediction and correction based on the detected physiological characteristics; the electronic device 200 and / or the smart bracelet 100 can provide menstrual period reminders and display the above-mentioned menstrual period related information.

[0060] In some embodiments, two devices in the communication system 10 (e.g., the electronic device 200 and the smart bracelet 100) can be directly connected via a local wired connection. In some embodiments, the two devices can be directly connected via a short-range wireless communication module. Exemplarily, the electronic device 200 and the smart bracelet 100 can have one or more short-range communication modules such as a near field communication (NFC) communication module, a wireless fidelity (WiFi) communication module, an ultra-wide band (UWB) communication module, a Bluetooth communication module, a ZigBee communication module, and the like.

[0061] In some embodiments, the electronic device 200 and the smart bracelet 100 can be connected to a local area network (LAN) through an electronic device 300 based on a wired connection or a WiFi connection. For example, the electronic device 300 can be a third-party device such as a router, a gateway, or a smart device controller. In some embodiments, the electronic device 200 and the smart bracelet 100 can also be indirectly connected through at least one electronic device 400 in a wide area network. The electronic device 400 can be a hardware server or a cloud server implanted in a virtualized environment. It can be understood that through the electronic device 300 and / or the electronic device 400, the electronic device 200 and the smart bracelet 100 indirectly perform wireless communication connection and data transmission.

[0062] In one application scenario, the electronic device 200 and the smart bracelet 100 are installed with an APP for menstrual period management (i.e., APP1); the electronic device 200 and the smart bracelet 100 log in to the same account through the server of the APP, thereby establishing an indirect connection. In some embodiments, one of the electronic device 200 or the smart bracelet 100 can establish a communication connection with the above-mentioned one or more detection devices, obtain the physiological characteristics collected by each detection device, and upload them to the server; the server then performs menstrual period prediction and intelligently recalibrates the calibrated menstrual period based on the detected physiological characteristics; the server instructs the electronic device 200 and / or the smart bracelet 100 to provide menstrual period reminders and display the above-mentioned menstrual period related information.

[0063] It is understandable that the structure shown in this embodiment does not constitute a specific limitation on the communication system 10. In other embodiments of the present application, the communication system 10 may include more or fewer devices than shown in the figure.

[0064] The embodiment of the present application does not specifically limit the type of electronic device 200. For example, the electronic device 200 involved in the embodiment of the present application can be a mobile phone, a wearable device (e.g., a smart bracelet, a smart watch), a tablet computer, a laptop computer (laptop), a handheld computer, a notebook computer, an in-vehicle device, a smart TV, an ultra-mobile personal computer (UMPC), a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) or virtual reality (VR) device, etc. The electronic device 200 and the smart bracelet can be equipped with the same or different operating systems, such as iOS, Android, Microsoft or other operating systems.

[0065] The structure of an electronic device 200 provided in an embodiment of the present application is described below. The structure of the wearable device (such as the smart bracelet 100) involved in the embodiment of the present application can refer to the relevant description of the electronic device 200, and will not be repeated hereafter.

[0066] Exemplarily, as shown in Figure 2, the electronic device 200 may 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, an earphone interface 170D, a sensor module 180, a button 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 may include a pressure sensor 180A, a gyroscope sensor 180B, an air 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.

[0067] It should be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 200. In other embodiments of the present application, the electronic device 200 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0068] The processor 110 may include one or more processing units. For example, the processor 110 may 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). The different processing units may be independent devices or integrated into one or more processors.

[0069] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0070] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0071] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may 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.

[0072] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C bus lines. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, and the like via different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K via the I2C interface, enabling communication between the processor 110 and the touch sensor 180K via the I2C bus interface, thereby implementing the touch function of the electronic device 200.

[0073] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface, enabling the function of answering calls through a Bluetooth headset.

[0074] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0075] The UART interface is a universal serial data bus used for asynchronous communication. This 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 typically 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 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface, enabling the function of playing music through Bluetooth headphones.

[0076] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display 194 and the camera 193. MIPI interfaces include the camera serial interface (CSI) and the display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the camera function of the electronic device 200. The processor 110 and the display 194 communicate via the DSI interface to implement the display function of the electronic device 200.

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

[0078] USB interface 130 is an interface that complies with USB standards and specifications, and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. USB interface 130 can be used to connect a charger to charge electronic device 200, or to transfer data between electronic device 200 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as AR devices.

[0079] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 200. In other embodiments of the present application, the electronic device 200 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.

[0080] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 200. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.

[0081] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0082] The wireless communication function of the electronic device 200 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

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

[0084] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 200. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0085] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the 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. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0086] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 200. 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, demodulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0087] In some embodiments, the antenna 1 of the electronic device 200 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 200 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may 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. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0088] Electronic device 200 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0089] Display screen 194 is used to display images, videos, and the like. 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 flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 200 may include one or N display screens 194, where N is a positive integer greater than one.

[0090] The electronic device 200 can implement the shooting function through the ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0091] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise and brightness. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.

[0092] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the 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 passes the electrical signal to the ISP for conversion 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 other format. In some embodiments, the electronic device 200 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0093] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 200 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0094] Video codecs are used to compress or decompress digital video. Electronic device 200 may support one or more video codecs. This allows electronic device 200 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.

[0095] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 200, such as image recognition, face recognition, speech recognition, and text comprehension.

[0096] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).

[0097] Random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation DDR SDRAM is generally referred to as DDR5 SDRAM), etc.; non-volatile memory may include disk storage devices and flash memory.

[0098] Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle; single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage cell potential level; universal flash storage (UFS) and embedded multi media card (eMMC) can be divided into UFS and eMMC according to the storage specification.

[0099] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.

[0100] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .

[0101] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device 200. The external non-volatile memory communicates with the processor 110 via the external memory interface 120 to implement data storage. For example, files such as music and videos can be stored in the external non-volatile memory.

[0102] The electronic device 200 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0103] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.

[0104] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 200 can listen to music or listen to hands-free calls through the speaker 170A.

[0105] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 200 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.

[0106] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 200 can be provided with at least one microphone 170C. In other embodiments, the electronic device 200 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 200 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.

[0107] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0108] The pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc.

[0109] The gyro sensor 180B may be used to determine the motion posture of the electronic device 200. In some embodiments, the angular velocity of the electronic device 200 around three axes (ie, x, y, and z axes) may be determined by the gyro sensor 180B.

[0110] The air pressure sensor 180C is used to measure air pressure.

[0111] The magnetic sensor 180D includes a Hall sensor.

[0112] The accelerometer 180E can detect the magnitude of the acceleration of the electronic device 200 in various directions (generally three axes). When the electronic device 200 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of the terminal device.

[0113] The distance sensor 180F is used to measure distance. The electronic device 200 can measure distance by infrared or laser.

[0114] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.

[0115] The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device 200 can adaptively adjust the brightness of the display screen 194 according to the sensed brightness of the ambient light.

[0116] The fingerprint sensor 180H is used to collect fingerprints.

[0117] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 200 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.

[0118] The touch sensor 180K is also referred to as a "touch-sensitive device." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also referred to as a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 200, at a location different from that of the display screen 194.

[0119] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone in a human vocal part.

[0120] The buttons 190 include a power button, a volume button, etc. The buttons 190 can be mechanical buttons or touch buttons.

[0121] Motor 191 can generate vibration prompts.

[0122] The indicator 192 may be an indicator light, which may be used to indicate charging status, power level changes, messages, missed calls, etc.

[0123] The SIM card interface 195 is used to connect a SIM card.

[0124] The following is an illustrative description of the application scenarios and related implementations of the menstrual period management method provided in the embodiments of the present application.

[0125] In some application scenarios, the electronic device 200 and / or the smart bracelet 100 is installed with an APP for menstrual management, for example, the APP is a sports health APP. For example, Figures 3A to 3H show the relevant user interfaces of the sports health APP on the electronic device 200.

[0126] Exemplarily, Figure 3A shows a main interface 11 on an electronic device 200 for displaying installed applications (APPs). The main interface 11 may include: a status bar 101, a tray 102 with commonly used application icons, and other application icons 103. Among them: the tray 102 with commonly used application icons can display: a phone icon, a contact icon, a text message icon, and a camera icon. The other application icons 103 can display: a sports and health icon 103A, a gallery icon, a music icon, a settings icon, and the like. The main interface 11 may also include a page indicator 104. The other application icons may be distributed across multiple pages, and the page indicator 104 may be used to indicate which page the user is currently viewing the application on. The user can swipe left and right on the area of ​​the other application icons to view the application icons on other pages.

[0127] As shown in Figures 3A and 3B, after detecting that a user has clicked on the health icon 103A of the health app, electronic device 200 displays the health app's user interface 12. User interface 12 includes a menu bar 105, which includes multiple menu options, such as a health option 105A, a device option 105B, and a user option. User interface 12 corresponds to health option 105A.

[0128] As shown in Figures 3B and 3C, after detecting that the user clicks on the device option 105B, the electronic device 200 can display the user interface 13 corresponding to the device option 105B, and the user interface 13 is used to display the paired and bound devices. The electronic device 200 has been paired and bound with the smart bracelet 100, and the user interface 13 displays the information bar 106 of the smart bracelet 100. The information bar 106 may include the device model of the smart bracelet 100, and may also include information such as the remaining power of the smart bracelet 100, the communication connection method with the electronic device 200 (such as Bluetooth connection), etc. The user interface 13 also includes an add device control 107, which is used to trigger the electronic device 200 and other devices (such as other detection devices) to be paired and bound.

[0129] In some embodiments, the electronic device 200 can obtain physiological data from the smart bracelet 100 on various physiological characteristics, and then obtain the user's daily physiological characteristics based on this physiological data. These various physiological characteristics may include some or all of the following: body temperature, heart rate, and one or more indicators of heart rate variability. Based on the user's recent physiological data (e.g., the past 30 days before the current date), the user's daily menstrual cycle trend value can be determined. The menstrual cycle trend value indicates the current date's proximity to the peak of the menstrual period. Based on the menstrual cycle trend value obtained today, it can be predicted whether today is the first or last day of the menstrual period. Based on the user's recent menstrual cycle trend value and the menstrual cycle trend values ​​from historical menstrual cycles, the first and last days of one or more future menstrual periods can be predicted, thereby predicting the ovulation period and fertile period. Due to individual differences, the date corresponding to the peak of the menstrual period (i.e., the date with the highest menstrual cycle trend value) may vary from user to user. For example, if the menstrual cycle length is 6, the peak of the menstrual period will be on the third day of the menstrual cycle. Generally, the closer to the peak of the menstrual period, the greater the menstrual trend value on that day. Due to the influence of various factors, there may also be certain fluctuations.

[0130] As shown in Figures 3B and 3D, user interface 12 includes a menstrual cycle card 108, which is used to implement some or all of the following: menstrual cycle management, pregnancy planning, and pregnancy management. Upon detecting that a user has clicked on card 108, electronic device 200 may display menstrual cycle user interface 14. User interface 14 includes a calendar 201, which indicates the date range corresponding to menstrual periods (e.g., period 1) within the current month. If the current date does not reach the first day of a period, the menstrual period indicated by calendar 201 is a predicted period based on menstrual cycle trend values ​​from historical menstrual cycles. If the current date reaches or exceeds the first day of a period, the first day of a period indicated by calendar 201 is determined based on recently measured menstrual cycle trend values ​​or manually corrected by the user. If the current date reaches or exceeds the last day of a period, the last day of a period indicated by calendar 201 is determined based on recently measured menstrual cycle trend values ​​or manually corrected by the user.

[0131] In some embodiments, calendar 201 further indicates some or all of the following special periods: follicular phase, ovulation phase, luteal phase, fertile period, safe period, and pregnancy preparation period. These special periods can be determined based on predicted and calibrated menstrual periods. In some embodiments, user interface 12 includes a pregnancy preparation switch control 203. Switch control 203 has two states: on and off. Calendar 201 only indicates these special periods when switch control 203 is on.

[0132] In some embodiments, the user interface 12 includes a card 202 for intelligent menstrual trend analysis. Card 202 may include introductory information 202A for the intelligent menstrual trend analysis function, a schematic diagram 202B of a menstrual trend curve, and some or all of a detail control 202C. For example, the introductory information may include, "Women's menstrual periods typically fluctuate to varying degrees. Using physiological data from wearable devices, we can accurately determine your menstrual trend value, allowing you to fully and accurately perceive menstrual fluctuations and understand your physical health status." The menstrual trend curve schematic 202B indicates the menstrual trend curve within a menstrual cycle, and the position of the menstrual trend value for the current date within the curve.

[0133] As shown in Figures 3D and 3E, after detecting that the user has clicked on the details control 202C, the electronic device 200 can display a user interface 15 for intelligent analysis of menstrual trends. The user interface 15 includes a menstrual trend curve 301 from date a to date b. The horizontal axis of the menstrual trend curve 301 can be a date, and dates a to b include the current date, i.e., date c (e.g., July 2). The vertical axis can be a menstrual trend value. In some embodiments, the user interface 15 also includes a vertical axis 302, which is the vertical axis corresponding to the current date. The vertical axis 302 and the intersection of the menstrual trend curve 301 are the detected menstrual trend values ​​corresponding to the current date. In some embodiments, dates a to b include a physiological cycle, such as 28 days.

[0134] 3E , the menstrual trend values ​​of today and previous dates on the menstrual trend curve 301 are actual values ​​detected based on the user's physiological characteristics, and the menstrual trend values ​​after today are predicted values ​​determined based on the menstrual trend values ​​of historical physiological cycles.

[0135] In some embodiments, for some or all of the one or more physiological characteristics, the user interface 15 also includes measured physiological characteristic curves corresponding to each physiological characteristic from date a to date c (i.e., the current date), and historical physiological characteristic curves corresponding to each physiological characteristic from date a to date b, such as the temperature curve 303, heart rate curve 304, and heart rate variability curve 305 corresponding to indicator 1 of heart rate variability shown in Figures 3E and 3F. As shown in Figures 3E and 3F, if the screen size is limited and not all curves can be displayed, the user interface 15 can be swiped upward to view more curves in the user interface 15. The horizontal axis of each physiological characteristic curve corresponds one-to-one to the horizontal axis of the menstrual trend value curve, and the vertical axis is the physiological characteristic value corresponding to the date.

[0136] The historical physiological characteristic curve corresponding to a physiological characteristic includes one or more of the following physiological characteristic curves: a measured physiological characteristic curve, a historical minimum physiological characteristic curve, a historical average physiological characteristic curve, and a historical maximum physiological characteristic curve. The measured physiological characteristic curve indicates the physiological characteristic value measured on the current date and previous dates; the historical minimum physiological characteristic curve indicates the minimum physiological characteristic value of each day in a historical physiological cycle after comprehensive statistics; the historical average physiological characteristic curve indicates the average physiological characteristic value of each day in a historical physiological cycle after comprehensive statistics; and the historical maximum physiological characteristic curve indicates the maximum physiological characteristic value of each day in a historical physiological cycle after comprehensive statistics. Taking the heart rate curve 304 corresponding to the heart rate as an example, the heart rate curve 304 includes the measured heart rate curve 304A from date a to date c, as well as three historical physiological characteristic curves: a historical maximum heart rate curve 304B, a historical average heart rate curve 304C, and a historical minimum heart rate curve 304D. Each historical physiological characteristic curve is determined based on the physiological characteristic value of the historical physiological cycle. The historical physiological characteristic curves involved in subsequent embodiments refer to the above-mentioned historical average heart rate curve.

[0137] In some embodiments, in response to a user sliding the curve display area in the user interface 15 to the right, the electronic device 200 can display the measured menstrual trend curve and physiological characteristic curve corresponding to the date before date a, so that the user can view the menstrual trend value and physiological characteristics of the more distant past date; in response to a user sliding the curve display area in the user interface 15 to the left, the electronic device 200 can display the predicted menstrual trend curve and physiological characteristic curve corresponding to the date after date b, so that the user can view the predicted menstrual trend value and physiological characteristics of the more distant future date. The above-mentioned curve display area includes the display area of ​​the menstrual trend curve and each physiological characteristic curve. It can be understood that the above-mentioned left and right are relative concepts in the examples provided in the embodiments of the present application and should not limit the embodiments of the present application.

[0138] In some embodiments, user interface 15 further includes a menstrual period indicator 306, which indicates the date range of menstrual period 1, from date a to date b. As shown in FIG3E , menstrual period indicator 306 may be presented as a box that includes a menstrual period trend curve and various physiological characteristic curves for menstrual period 1. The date range of menstrual period 1 indicated by calendar 201 of user interface 14 is the same as the date range indicated by menstrual period indicator 306.

[0139] In some embodiments, as shown in FIG3E , a marker 301A is displayed on the menstrual trend curve 301. The marker 301A indicates the point on the menstrual trend curve 301 corresponding to the current date, i.e., the intersection of the vertical axis 302 of the current date and the menstrual trend curve 301. Optionally, a prompt is displayed near the marker 301A, indicating that symptom details can be viewed through the marker 301A.

[0140] As shown in Figures 3E and 3G, after detecting that the user clicks on the mark 301A, the electronic device 200 displays the user interface 16. The display area 401 of the user interface 16 is used to display physical symptoms that may exist on the current date, such as palpitations, fatigue, hot flashes, muscle aches, etc. The user interface 16 may also include a symptom editing box 402. The symptom editing box 402 is used to add and / or delete symptoms displayed in the display area 401. As shown in Figure 3G, the symptom editing box 402 displays selection controls corresponding to all symptoms, such as a selection control 403 corresponding to muscle aches. The selection control 403 has two states, selected and unselected. The user clicks on the selection control 403 to switch the selection control 403 between the two states. When the selection control 403 switches from a selected state to an unselected state, the corresponding symptoms are deleted from the display area 401; when the selection control 403 switches from an unselected state to a selected state, the corresponding symptoms are added to the display area 401. The embodiment of the present application does not specifically limit the way in which the user adds and / or deletes symptoms.

[0141] The user's physical symptoms may be different at different periods of a physiological cycle (such as menstruation and ovulation, etc.) and on different days of a period (such as the fifth day of a menstrual period). In one implementation, the sports health APP presets the physical symptoms corresponding to each day (such as the day of date c) in a physiological cycle (such as 28); for example, the preset physical symptoms corresponding to date c take into account period 1 (such as menstruation) in which date c is located, and the position of date c in period 1 (such as the fifth day); the electronic device 200 can display the physical symptoms preset by the APP in the display area 401; on this basis, the physical symptoms corresponding to the day of date c in a physiological cycle can be updated according to the symptoms added / deleted by the user. In one implementation, the user can record the physical symptoms of each day through the sports health APP, and the physical symptoms corresponding to each day in a physiological cycle preset by the sports health APP are determined based on the physical symptoms recorded by the user; if the user does not record the physical condition of a certain day, the preset symptoms for that day can be empty.

[0142] In some embodiments, as shown in FIG3D , the user interface 14 further includes a settings bar 204 for predictive reminders, which is used to set reminders for the menstrual cycle. As shown in FIG3D and FIG3H , upon detecting that a user has clicked on the settings bar 204, the electronic device 200 displays a settings interface 17 . The settings interface 17 includes switch controls for one or more reminders, such as a switch control 501 for an early menstrual period prediction reminder, a switch control 502 for a menstrual first day reminder, and a switch control 503 for a menstrual last day reminder. The switch control (e.g., switch control 501) has two states, on and off. Clicking the switch control toggles the switch control between the two states. When the switch control corresponding to a reminder switches from the off state to the on state, the reminder is turned on. When the switch control corresponding to a reminder switches from the on state to the off state, the reminder is turned off.

[0143] In some embodiments, as shown in FIG3H , when the switch control 501 for the menstrual period prediction reminder is turned on, the user interface 16 also includes a settings control 504 for receiving the number of days X set by the user for the advance reminder. For example, as shown in FIG3H , if the number of days set in setting control 504 is 3, and the electronic device 200 predicts that the menstrual period will arrive in / within 3 days, an advance reminder message will be displayed to remind the user that the menstrual period will arrive in / within 3 days. In some embodiments, as shown in FIG3H , when the switch control 501 for the menstrual period prediction reminder is turned on, the user interface 16 also includes options for timing the advance reminder, such as timing options 506 and 507. Timing option 506 indicates that the advance reminder will be displayed on the Xth day before the menstrual period (e.g., the 3rd day). Timing option 507 indicates that the advance reminder will be displayed on any of the X days before the menstrual period (e.g., the 3rd day). That is, if the number of days until the menstrual period is less than or equal to X, the reminder message will be displayed. Only one of the timing option 506 and the timing option 507 is in a selected state. The user can switch the currently selected timing option by clicking on the timing option.

[0144] Figures 3A to 3H show an example of a user adding physical symptoms and setting reminders for a physiological cycle. The embodiment of the present application does not specifically limit the operations of adding physical symptoms and setting reminders, and they can also be achieved through other operations.

[0145] In some embodiments, prompt information (e.g., advance prompt information) can be output by the electronic device 200 and / or the smart bracelet 100. In one implementation, when the electronic device 200 detects that the time for the menstrual period advance prediction reminder has arrived, the electronic device 200 sends a request message to the smart bracelet 100, and the request message is used to instruct the smart bracelet 100 to output the advance prompt information. In one implementation, when the smart bracelet 100 detects that the time for the menstrual period advance prediction reminder has arrived, it outputs the advance prompt information. In one implementation, the electronic device 200 and the sports health APP of the smart bracelet 100 log in to the same account, and the server of the sports health APP performs menstrual period prediction based on the physiological characteristics of the user. When the server detects that the time for the menstrual period advance prediction reminder has arrived, it sends a request message to the electronic device 200 and / or the smart bracelet 100, and the request message is used to instruct the output of the advance prompt information. In one implementation, the electronic device 200 and the sports health app of the smart bracelet 100 are logged into the same account. The electronic device 200 predicts the menstrual period based on the user's physiological characteristics. When the electronic device 200 detects that the time for an early menstrual period prediction reminder has arrived, it sends a request message to the smart bracelet 100 through the sports health app server. The request message is used to instruct the smart bracelet 100 to output an advance reminder message. Similarly, the first-day reminder information and the last-day reminder information of subsequent embodiments can also refer to the relevant implementation of the above-mentioned advance reminder information.

[0146] In some embodiments, the advance reminder information is accompanied by a confirmation control and a correction control. The confirmation control indicates that the user has acknowledged the advance reminder information, while the correction control indicates that the menstrual period has begun and the date of the first day of the period. It is understood that due to various factors, menstrual periods fluctuate, and it is possible that "the user's period has already arrived when the user was reminded X days in advance of the impending period." In this case, the user can manually input the first day of the current period using the correction control. The advance reminder information can promptly remind the user of the impending period, allowing them to prepare mentally, physically, and schedule their travel plans in advance.

[0147] For example, FIG. 4A to FIG. 4C show relevant user interfaces of the smart bracelet 100 for predicting reminders in advance.

[0148] As shown in Figure 4A, on July 3, the smart bracelet 100 displays an advance reminder message 601, a confirmation control 602, and a correction control 603. As shown in Figure 4A, the content displayed in the confirmation control 602 may include "Got it." After detecting that the user has clicked the confirmation control 602, the smart bracelet 100 displays the main interface 17, returns to the previous interface (i.e., the interface displayed before the advance reminder message 601 was displayed), or displays a menstrual cycle calendar. As shown in Figure 4B, the content displayed in the correction control 603 may include "Menstrual period has started." After detecting that the user has clicked the correction control 603, the smart bracelet 100 displays the user interface 18, which includes a date correction control 604 and a confirmation control 605. The date correction control 604 is used to select the first day of the menstrual period. In one implementation, area 604A in the date correction control 604 is used to display the selected date. The user can slide the display area of ​​the date correction control 604 up or down to view more dates and move the actual first day of the menstrual period to area 604A. As shown in Figure 4C, after detecting the user's operation on the confirmation control 605 (such as a click operation), the smart bracelet 100 marks the date currently displayed in area 604A (i.e., July 3) as the first day of the menstrual period, and displays the menstrual cycle calendar 606. The menstrual cycle calendar 606 indicates the user's corrected first day of the menstrual period.

[0149] In some embodiments, as shown in FIG3H , when the switch control 502 for the menstrual first day reminder is turned on and the first day of the menstrual period is detected, a first day reminder message is output to inform the user that the first day of the menstrual period has been detected and preliminary calibration has been completed. This preliminary calibration may include recording the detected first day of the menstrual period and marking the date as the first day of the menstrual period on the physiological cycle calendar; the calibrated first day of the menstrual period and the corresponding menstrual trend value will be used as historical data to implement subsequent menstrual period predictions. In some embodiments, along with the first day reminder message, a confirmation control and a correction control are also displayed. The confirmation control is used to indicate that the user has acknowledged the first day reminder message, and the correction control is used to manually correct the automatically calibrated first day of the menstrual period.

[0150] For example, FIG5A to FIG5E show the relevant user interfaces of the smart bracelet 100 for reminding the first day of menstruation.

[0151] As shown in Figure 5A, the smart bracelet 100 displays a first-day reminder message 701, a confirmation control 702, and a correction control 703. As shown in Figure 5A, after detecting that the user has clicked the confirmation control 702, the smart bracelet 100 displays the main interface 17, returns to the previous interface (i.e., the interface displayed before the first-day reminder message 701 is displayed), or displays a menstrual cycle calendar. As shown in Figure 5B, after detecting that the user has clicked the correction control 703, the smart bracelet 100 displays the user interface 19, which includes a date correction control 704 and a confirmation control 705; the date correction control 704 is used to select the first day of the menstrual period.

[0152] In some embodiments, the date correction control 704 includes date options for the current date and previous dates (e.g., July 7th). Area 704A in the date correction control 704 is used to display the selected date. The user's finger can slide up and down in the display area of ​​the date correction control 704 to view more dates and move the actual first day of the menstrual period to area 704A. As shown in Figures 5B and 5C, when a downward sliding operation is detected on the date correction control 704, the date option corresponding to July 7th is moved to area 704A. After an operation (e.g., a click operation) is detected on the confirmation control 705, the smart bracelet 100 updates the first day of the menstrual period (e.g., July 8th) of the most recent menstrual period to the date currently displayed in area 704A (i.e., July 7th), and displays the menstrual cycle calendar 706, which indicates the user's corrected first day of the menstrual period.

[0153] In some embodiments, referring to FIG5B , the date correction control 704 may further include an option 704C for indicating that the menstrual period has not started. Option 704C can be used to cancel the first day of the most recent menstrual period. Referring to FIG5B and FIG5D , upon detecting an upward swipe operation on the date correction control 704, option 704C is moved to area 704A. Upon detecting an operation (e.g., a click) on the confirmation control 705, the smart bracelet 100 cancels the first day of the most recent menstrual period (e.g., July 8). In some embodiments, it is not necessary to display option 704C for indicating that the menstrual period has not started in the date correction control 704. As shown in FIG5E , a correction control 707 for indicating that the menstrual period has not started can also be displayed directly along with the first day prompt information 701. Upon detecting an operation (e.g., a click) on the correction control 707 by the user, the smart bracelet 100 directly cancels the first day of the most recent menstrual period. It is understandable that after the user reports that the menstrual period has not started, the user continues to detect the first day of the menstrual period and is reminded again after the first day of the menstrual period is detected.

[0154] In some embodiments, as shown in FIG3H , when the switch control 503 for the menstrual period end reminder is in the on state, if the menstrual period end is detected, an end-of-day reminder message is output to prompt the user that the menstrual period end has been detected and the preliminary calibration has been completed. The above-mentioned completion of the preliminary calibration may include recording the detected menstrual period end and marking the date as the menstrual period end on the physiological cycle calendar; the calibrated menstrual period end and the corresponding menstrual trend value will be used as historical data to achieve subsequent menstrual period prediction. In some embodiments, along with the end-of-day reminder message, a confirmation control and a correction control are also displayed. The confirmation control is used to indicate that the user has confirmed that they have been informed of the above-mentioned end-of-day reminder message, and the correction control is used to manually correct the automatically calibrated menstrual period end date.

[0155] In one implementation, if the current date is detected as the end of a menstrual period, a doomsday reminder message is displayed on that day. In another implementation, given that menstrual blood flow is intermittent at the end of a menstrual period, to avoid uncertainty about whether the menstrual period will completely end today, a doomsday reminder message is displayed Y days (e.g., 1, 2, or 3) after a date is detected as the end of a menstrual period, with the doomsday reminder message indicating the detected end of the period.

[0156] For example, FIG6A to FIG6E show the relevant user interfaces of the smart bracelet 100 for reminding the end of the menstrual period.

[0157] As shown in Figure 6A, the smart bracelet 100 displays a doomsday reminder message 801, a confirmation control 802, and a correction control 803. Referring to Figure 6A, upon detecting that the user has clicked the confirmation control 802, the smart bracelet 100 displays the main interface 17, returns to the previous interface (i.e., the interface displayed before the doomsday reminder message 801 was displayed), or displays a menstrual cycle calendar. As shown in Figure 6B, upon detecting that the user has clicked the correction control 803, the smart bracelet 100 displays the user interface 20, which includes a date correction control 804 and a confirmation control 805; the date correction control 804 is used to select the end of the menstrual period.

[0158] In some embodiments, the date correction control 804 includes date options for the current date (e.g., July 13) and previous dates. Area 804A in the date correction control 804 is used to display the selected date. The user's finger can slide up and down in the display area of ​​the date correction control 804 to view more dates and move the actual date of the last menstrual period to area 804A. As shown in Figures 6B and 6C, when a downward sliding operation is detected on the date correction control 804, the date option corresponding to July 12 is moved to area 804A; after an operation (e.g., a click operation) is detected on the confirmation control 805, the smart bracelet 100 updates the last menstrual period (e.g., July 11) marked with the date currently displayed in area 804A (i.e., July 12), and displays the menstrual cycle calendar 806, which indicates the user's corrected menstrual period.

[0159] In some embodiments, referring to FIG6B , the date correction control 804 may further include an option 804C for indicating that the menstrual period has not ended. Option 804C can be used to cancel the last date of the most recent menstrual period. Referring to FIG6B and FIG6D , when an upward sliding operation is detected on the date correction control 804, option 804C is moved to area 804A; after an operation (e.g., a click operation) is detected on the confirmation control 805, the smart bracelet 100 cancels the last date of the most recent menstrual period (e.g., July 11). In some embodiments, it is not necessary to display option 804C for indicating that the menstrual period has not ended in the date correction control 804. As shown in FIG6E , a control 807 for indicating that the menstrual period has not ended can also be displayed directly along with a reminder of the end of the menstrual period; after detecting that the user has operated on control 807 (e.g., a click operation), the smart bracelet 100 directly cancels the last date of the most recent menstrual period. It is understandable that when the user reports that the menstrual period has not ended, the user continues to detect the end of the menstrual period and is reminded again after the end of the menstrual period is detected.

[0160] It should be noted that, in the embodiment of the present application, the aforementioned prompt information (such as advance prompt information, first-day prompt information or last-day prompt information) can be presented in one or more forms such as text, pictures, animated pictures, videos, etc.; not limited to the display screen, the smart bracelet 100 can also output the above prompt information through an audio output device (such as a speaker or a Bluetooth headset), which is not specifically limited here. The embodiment of the present application does not specifically limit the operation of correcting the first / last day of the menstrual period, and the operation of canceling the marked first / last day of the menstrual period. Figures 4A to 6E are an example provided in the embodiment of the present application and should not constitute a limitation on this application. In the embodiment of the present application, the electronic device 200 can also output the above prompt information, and the above prompt information in the electronic device 200 can be presented as a notification message in the notification bar, information in the user interface of the multimedia message or sports health APP, etc.

[0161] In combination with the previous communication system 10, hardware structure and application scenarios, the menstrual management method provided in the embodiment of the present application is introduced in detail below.

[0162] For example, FIG7A shows a method flow of a menstrual management method of this solution, and FIG7B shows a specific embodiment of the menstrual management method. Taking the detection device including the smart bracelet 100 as an example, the method flow is applied to the smart bracelet 100 and / or the electronic device 200. The subsequent embodiments are illustrative using the electronic device 200 as an example. The method flow includes some or all of steps S101 to S119.

[0163] S101. Determine a menstrual trend value 1 for the current date based on physiological characteristic data of K physiological characteristics over the past N days, where K is a positive integer.

[0164] In embodiments of the present application, a day's menstrual cycle trend value indicates the degree to which that day approaches the peak menstrual period. In some embodiments, the electronic device 200 determines the menstrual cycle trend value for that day (e.g., date c) based on physiological characteristic data acquired over the past N days for K physiological characteristics. In one implementation, the past N days include date c. In another implementation, the past N days do not include date c.

[0165] In some embodiments, sensor data collected by physiological sensors in a detection device (e.g., smart bracelet 100) can be used to obtain physiological data of the user (e.g., heart rate data, body temperature data, and heart rate variability indicator data). The electronic device 200 obtains K physiological characteristics of the user on date c based on the physiological data on date c. Exemplarily, the above-mentioned sensors may include some or all of the following: a heart rate sensor, a body temperature sensor, a bone conduction sensor, a pulse sensor, etc. The above-mentioned K physiological characteristics may include some or all of the following: body temperature, heart rate, and one or more indicators of heart rate variability.

[0166] Heart rate variability (HRV) refers to the change in the difference between successive heartbeat cycles. One or more indicators of heart rate variability may include time domain indicators, such as the standard deviation of the sinus beat NN interval (SDNN), the average standard deviation of the standard sinus beat NN interval SDANN and / or the root mean square of successive differences (RMSSD) between adjacent normal cardiac cycles, and may also include frequency domain indicators, such as total energy TP, low frequency power LF and / or high frequency power HF. The subsequent embodiments take SDNN as an example to illustrate the indicators of heart rate variability.

[0167] In some embodiments, K physiological characteristics of the user on date c are obtained based on the user's resting physiological data on date c. A resting state may refer to a state in which the user is relatively still, unaffected by factors such as muscle activity and mental stress. The aforementioned physiological sensors and / or motion sensors (e.g., accelerometers, gyroscopes, etc.) can be used to detect whether the user has entered a resting state. In some embodiments, the resting state on date c may include the user's sleep state (e.g., all sleep states on date c, deep sleep on date c, or nighttime sleep on date c). The aforementioned physiological sensors and / or motion sensors can be used to detect whether the user has entered a sleep state. The physiological characteristics of the user on date c are determined based on the physiological data collected during the sleep state. The aforementioned physiological characteristics of the resting state may also be referred to as resting body temperature, resting heart rate, resting heart rate variability, etc. Specifically, how to detect whether the user has entered a resting state (e.g., a sleep state) can be referenced to existing implementations and is not specifically limited in this embodiment of the present application.

[0168] In some embodiments, on date c, the value of the user's physiological characteristic 1 (eg, heart rate, body temperature, heart rate variability) is equal to the average value of the physiological data of the physiological characteristic 1 in the resting state collected on date c.

[0169] In some embodiments, determining the menstrual cycle trend value for the current date (e.g., date c) based on the physiological characteristic data of the K physiological characteristics acquired over the past N days in step S101 includes: utilizing the physiological characteristic data of the K physiological characteristics acquired over the past N days and a trained learning model 1 to acquire the menstrual cycle trend value for date c. Specifically, in one implementation, a physiological characteristic sequence matrix having K rows and N columns is generated based on the physiological characteristic data of the K physiological characteristics acquired over the past N days; the physiological characteristic sequence matrix is ​​input into the trained learning model 1; and the learning model 1 outputs the menstrual cycle trend value for date c.

[0170] In some embodiments, the above-mentioned learning model is a traditional linear regression model, or a machine learning model or a deep learning model based on modules such as Long Short-Term Memory (LSTM) and Gate Recurrent Unit (GRU). In an embodiment of the present application, the physiological characteristic data of multiple historical physiological cycles of the user can be recorded, and the learning model 1 can be trained using the physiological cycle data of the user, so that the menstrual trend value output by the trained learning model 1 matches the physiological characteristics of the user. Exemplarily, Figure 8 shows a learning model 1 based on LSTM, and the input layer network of the learning model 1 includes N LSTM units, and the i-th LSTM unit among the N LSTM units is used to input the i-th column in the physiological characteristic sequence matrix of K rows and N columns.

[0171] In some embodiments, before using the trained learning model 1 to obtain the menstrual cycle trend value for date c, the physiological characteristic data acquired over the past N days is preprocessed for each physiological characteristic. This preprocessing may include one or more of bandpass filtering, outlier removal, and interpolation. Bandpass filtering is used to remove interfering data; outlier removal is used to remove data that does not conform to the physiological characteristic value range; and interpolation is used to supplement undetected missing data or replace outliers. Then, using the preprocessed physiological characteristic data for the past N days for K physiological characteristics and the trained learning model 1, the menstrual cycle trend value for date c is obtained.

[0172] The historical menstrual trend sequence and historical physiological characteristic sequence involved in the subsequent embodiments are introduced below.

[0173] In some embodiments, after a physiological cycle ends, the historical menstrual trend sequence is updated based on the menstrual trend value detected in the physiological cycle; the historical menstrual trend sequence indicates the average length of the historical physiological cycle after comprehensive statistics, as well as the menstrual trend value for each day in the historical physiological cycle. The historical menstrual trend sequence can also indicate the position of the menstrual period in the historical physiological cycle, that is, the position of the first day of the menstrual period and the last day of the menstrual period in the historical physiological cycle. In one implementation, after detecting the end of a physiological cycle, the historical physiological feature sequence is also updated based on the physiological feature sequence detected in the physiological cycle. Optionally, the historical physiological feature sequence and the historical menstrual trend sequence have the same length, and the historical physiological feature sequence indicates the physiological feature value for each day in the historical physiological cycle after comprehensive statistics. In some embodiments, the historical menstrual trend curve shown in FIG. 3E is obtained after interpolation processing of the historical menstrual trend sequence; the historical physiological feature curves shown in FIG. 3E and FIG. 3F are obtained after interpolation processing of the historical physiological feature sequence.

[0174] It can be understood that the historical menstrual cycle trend sequence is a discrete sequence that is compiled based on the relevant data of the user's historical menstrual cycles and can represent the changing trend of the menstrual cycle trend values ​​of the current user's menstrual cycle. The historical physiological characteristic sequence is a discrete sequence that is compiled based on the relevant data of the user's historical menstrual cycles and can represent the changing trend of the physiological characteristic values ​​of the current user's menstrual cycle.

[0175] In one implementation, the first day of the historical menstrual cycle counted is the first day of the menstrual period, and the last day is the day before the first day of the next menstrual period. For example, referring to the historical menstrual period trend curve shown in FIG9(a), which is generated based on the historical menstrual period trend sequence, the length P1 of the historical menstrual cycle indicated by the historical menstrual period trend curve is 28 days, the first day is the first day of the menstrual period, and the last day (i.e., the 28th day) is the day before the first day of the next menstrual period; the menstrual period length is 6 days. In one implementation, the menstrual period trend values ​​of the first and last days of the historical menstrual cycle counted are the lowest points within a menstrual cycle; the menstrual period is located in the middle of the historical menstrual cycle, and the corresponding menstrual period trend value includes the highest point of the menstrual period trend value. For example, referring to the historical menstrual period trend curve shown in FIG9(b), the length P1 of the historical menstrual cycle indicated by the historical menstrual period trend curve is 28 days, the menstrual period trend values ​​on the first and 28th days are the lowest; the menstrual period is days 11 to 17 of the historical menstrual cycle. 9 , it can be seen that generally, the further away a date is from the menstrual period, the smaller the corresponding menstrual trend value is, and the menstrual trend value in the middle of the menstrual period (eg, the 1st) is the largest.

[0176] The embodiment of the present application does not specifically limit the position of the menstrual period in the historical physiological cycle. Figures 9 (a) and (b) are some examples of historical menstrual period trend sequences provided by the embodiment of the present application, and should not limit the embodiment of the present application.

[0177] In some embodiments, the historical menstrual trend sequence is updated based on the menstrual trend sequences detected for the most recent J (e.g., 12) historical physiological cycles; the menstrual trend sequence for a physiological cycle includes the menstrual trend values ​​corresponding to each day of the physiological cycle. In some embodiments, the historical physiological feature sequence is updated based on the physiological feature sequences detected for the most recent J historical physiological cycles; the physiological feature sequence for a physiological cycle includes the physiological feature values ​​corresponding to each day of the physiological cycle.

[0178] In some embodiments, the menstrual trend sequence of the most recent J (e.g., 12) historical physiological cycles is input into a trained learning model 4, which outputs the historical menstrual trend sequence. In one implementation, the menstrual trend sequence and physiological feature sequence of the most recent J (e.g., 12) historical physiological cycles are input into a trained learning model 5, which outputs the historical menstrual trend sequence and the historical physiological feature sequence.

[0179] In some embodiments, after obtaining a historical menstrual trend sequence, the menstrual period range within the historical physiological cycle after comprehensive statistics is determined based on the menstrual trend values ​​of each day in the historical menstrual trend sequence. For example, if the menstrual trend value in the historical menstrual trend sequence increases continuously for w (e.g., 5) days, and the point where the menstrual trend value exceeds the first-day threshold (e.g., 0.85) for the first time during the w days corresponds to the first day of the menstrual period; if the menstrual trend value in the historical menstrual trend sequence decreases continuously for u (e.g., 5) days, and the point where the menstrual trend value falls below the last-day threshold (e.g., 0.85) for the first time during the u days corresponds to the last day of the menstrual period.

[0180] In some embodiments, the menstrual trend sequence and calibrated menstrual range of the most recent J (e.g., 12) historical physiological cycles are input into a trained learning model 4, which outputs the historical menstrual trend sequence and the menstrual range within the historical physiological cycle after comprehensive statistics. The menstrual range refers to the date range / time range from the first day of a menstrual period to the last day of a menstrual period. In one implementation, the menstrual trend sequence, physiological feature sequence, and calibrated menstrual range of the most recent J (e.g., 12) historical physiological cycles are input into a trained learning model 5, which outputs the historical menstrual trend sequence, historical physiological feature sequence, and the menstrual range of the historical physiological cycle after comprehensive statistics.

[0181] In some embodiments, the average value of the lengths of the most recent J historical physiological cycles is obtained, and the physiological cycle length corresponding to the historical menstrual trend sequence (referred to as cycle length 1 for short) is equal to the value rounded off from the above average value; based on the menstrual trend sequences of the most recent J (for example, 12) historical physiological cycles, a historical menstrual trend sequence with a length of cycle length 1 is generated; based on the physiological feature sequences of the most recent J historical physiological cycles, a historical physiological feature sequence with a length of cycle length 1 is generated.

[0182] In one implementation, a historical menstrual trend sequence with a length of cycle length 1 is generated based on the menstrual trend sequences of the most recent J (for example, 12) historical physiological cycles, including: interpolating the sequences in the J menstrual trend sequences whose sequence length is less than cycle length 1, so that the sequence length after interpolation is equal to cycle length 1, the position of the interpolation point is adjacent to the point corresponding to the minimum trend value in the menstrual trend sequence, and the value of the interpolation point is the above minimum value / 0; after the interpolation process, any menstrual trend sequence 1 with a sequence length of cycle length 1 is selected, and the menstrual trend sequence 1 is used as the reference sequence, and the other J-1 sequences are respectively menstrual trend sequence 2 to menstrual trend sequence J; using the preset algorithm 3, the other menstrual trend sequences (for example, menstrual trend sequence 2) are respectively aligned in the time domain with the menstrual trend sequence 1; after alignment, the ath point in the menstrual trend sequence 1 corresponds to one or more consecutive points in the menstrual trend sequence 2, and the average value of the trend values ​​corresponding to the one or more consecutive points is determined as the value P of the ath point at the corresponding point in the menstrual trend sequence 2.a2 ; Get the value P of the a-th point above a1 And the value P of the a-th point in the other J-1 trend sequence corresponding points ai The average value of , i is greater than 2 and less than or equal to J, is taken as the value of the a-th point in the historical menstrual trend sequence.

[0183] In one implementation, a historical physiological feature sequence with a length of cycle length 1 is generated based on the physiological feature sequences of the most recent J historical physiological cycles, including: interpolating the sequences with a sequence length less than cycle length 1 in the J physiological feature sequences (for example, physiological feature sequence 1, the historical physiological cycle of physiological feature sequence 1 corresponds to menstrual trend sequence 1), so that the sequence length after interpolation is equal to cycle length 1; the position of the interpolation point is the same as the interpolation position in menstrual trend sequence 1, and the value of the interpolation point is the average value of two adjacent points; after interpolation, any sequence with a length of cycle length 1 is selected. Physiological characteristic sequence trend sequence 1 is used as the reference sequence, and the other J-1 sequences are physiological characteristic sequence trend sequence 2 to physiological characteristic trend sequence J respectively; using the preset algorithm 3, the other physiological characteristic sequences (such as menstrual trend sequence 2) are respectively aligned with the physiological characteristic trend sequence 1 in the time domain; after alignment, the a-th point in the physiological characteristic trend sequence 1 corresponds to one or more continuous points in the physiological characteristic sequence 2, and the average value of the physiological characteristic values ​​corresponding to the one or more continuous points is determined as the value P of the a-th point corresponding to the point in the physiological characteristic sequence 2. a2 ; Get the value P of the a-th point above a1 And the value P of the a-th point in the other J-1 physiological feature sequences ai The average value of , i is greater than 1 and less than or equal to J, is taken as the value of the a-th point in the historical physiological characteristic sequence.

[0184] The implementation method of obtaining the historical menstrual trend sequence and the historical physiological characteristic sequence is not limited to the above-mentioned method, and the historical menstrual trend sequence and the historical physiological characteristic sequence can also be obtained through other implementation methods, which are not specifically limited here.

[0185] In some embodiments, the historical menstrual trend sequence is updated based on the detected menstrual trend sequence of all historical physiological cycles of the current user. In some embodiments, the historical physiological feature sequence is updated based on the detected physiological feature sequence of all historical physiological cycles.

[0186] The menstrual trend curve shown in Figure 9 is a continuous historical menstrual trend curve generated by interpolating a discrete menstrual trend sequence. Similarly, after interpolating a historical physiological characteristic sequence, a continuous historical physiological characteristic curve can be obtained, such as the historical physiological characteristic curves described in Figures 3E and 3F.

[0187] S102. Perform abnormality detection based on the menstrual trend value 1 and / or physiological characteristics of the day; if an abnormality exists, prompt the abnormal situation.

[0188] As shown in FIG7B , step S102 includes: S102A, abnormality detection, determining whether there is an abnormal situation; if so, executing S102B; otherwise, executing S103; S102B, prompting the abnormal situation.

[0189] In an embodiment of the present application, before displaying the menstrual period prediction results to the user based on the detected menstrual period trend value (for example, the predicted menstrual period displayed by the menstrual cycle calendar 201 shown in Figure 3D, and the predicted future menstrual period trend value displayed by the trend value curve 301 shown in Figure 3E) and performing intelligent menstrual period calibration, the menstrual period trend value of the current date c, the physiological characteristics of date c, the historical menstrual period trend value and one or more of the historical physiological characteristics are combined to detect possible abnormal conditions. The above-mentioned abnormal conditions include but are not limited to the following 4 abnormal conditions.

[0190] Abnormal situation 1: Change user.

[0191] Specifically, it is detected whether the current user wearing the detection device (such as the smart bracelet 100) has changed. In some embodiments, one or more physiological characteristic data of the current user are obtained, and any one of the one or more physiological characteristic data is comprehensively compared with the historical indicators of the characteristic of the historical user to determine whether abnormal situation 1 is detected. In one implementation, on date c, if there are at least M physiological characteristic data that are statistically significantly contrary to the historical indicators of the historical users (that is, at least M physiological characteristic data are abnormal), it is determined that abnormal situation 1 is detected. Wherein, M is equal to 1, or M (for example, 2) is greater than 1 and less than the total number of physiological characteristic data (for example, 3), or M is equal to the total number of physiological characteristic data.

[0192] In some embodiments, the one or more physiological characteristic data include part or all of the menstrual cycle trend value for the past H1 day, physiological characteristic data for the past H2 days, and physiological change trends for the past H3 days. The past H1 day, the past H2 days, and the past H3 days all include date c, where H1, H2, and H3 are positive integers. H1, H2, and H3 may or may not be equal, and are not specifically limited herein. For example, H1, H2, and H3 are all equal to 28.

[0193] In one implementation, the historical indicators of a historical user corresponding to the menstrual trend values ​​of the past H1 days include a historical menstrual trend sequence; the historical menstrual trend sequence indicates the menstrual trend values ​​of each day within a physiological cycle of the user after comprehensive statistics; the number of days in the physiological cycle of the historical user after comprehensive statistics is P1, and the historical menstrual trend sequence includes P1 discrete points. Comparing the menstrual trend values ​​of the past H1 days with the historical menstrual trend sequence includes: obtaining sequence 1 corresponding to the menstrual trend values ​​obtained in the past H1 days; aligning sequence 1 with the historical menstrual trend sequence in the time domain using a preset algorithm 1, thereby determining a sequence segment 1 on the historical menstrual trend sequence corresponding to sequence 1, the segment including H1 continuous discrete points; determining the similarity between sequence 1 and sequence segment 1 using a preset algorithm 2; if the similarity is less than a similarity threshold, then the physiological characteristic data (i.e., the menstrual trend values ​​of the past H1 days) is abnormal.

[0194] The embodiments of the present application do not specifically limit the above-mentioned preset algorithm 1 and preset algorithm 2. For example, preset algorithm 1 is a sliding window cross-correlation algorithm, a subsequence matching algorithm, a dynamic time warping (DTW) algorithm, etc., and preset algorithm 2 is a Pearson correlation coefficient algorithm, a Euclidean distance algorithm, or a Cosine similarity algorithm, etc. The above-mentioned H1 can be equal to the number of days of the historical physiological cycle of the historical user P1 (for example, 28 days), or can be less than P1 (for example, 7 days), and is not specifically limited here.

[0195] In one implementation, the historical indicators of a historical user corresponding to physiological characteristics over the past H2 days include a historical physiological characteristic sequence; for each physiological characteristic (e.g., body temperature, heart rate, or heart rate variability), a historical physiological characteristic sequence is obtained, which indicates the statistical physiological characteristic value of the historical user on a daily basis within a physiological cycle; the historical physiological characteristic sequence includes P1 discrete points. The physiological characteristic data of the past H2 days are compared with the historical physiological characteristic sequence, including: for each physiological characteristic, using a preset algorithm 1 to perform time domain alignment on sequence 2 corresponding to the physiological characteristic data of the past H2 days with the historical physiological characteristic sequence, thereby determining a sequence segment 2 on the historical physiological characteristic sequence corresponding to sequence 2, the segment including H2 continuous discrete points; after alignment, using a preset algorithm 2 to determine the similarity between sequence 2 and sequence segment 2; if the similarity corresponding to at least one or all physiological characteristics is less than a similarity threshold, the physiological characteristic data (i.e., the physiological characteristic data over the past H2 days) is abnormal. The above-mentioned H2 can be equal to P1 (e.g., 28 days) or less than P1 (e.g., 7 days), and is not specifically limited here.

[0196] In one implementation, the historical indicators of the historical user corresponding to the physiological change trend in the past H3 days include a standard change trend sequence; for each physiological characteristic (such as body temperature, heart rate, or heart rate variability), a historical change trend sequence is obtained, and the value of the i-1th point in the historical change trend sequence indicates the difference between the physiological characteristics of the i-th point and the i-1th point in the historical physiological characteristic sequence, where i is a positive integer greater than or equal to 2; the historical change trend sequence includes P1-1 discrete points. The physiological change trend of the past H3 days is compared with the historical change trend sequence, including: for each physiological characteristic, obtaining a sequence 3 of the change trend corresponding to the physiological characteristic data of the past H3 days, the value of the j-1th point in sequence 3 indicates the difference between the physiological characteristics of the jth day and the j-1th day in the past H3 days, where j is a positive integer greater than or equal to 2; it can be understood that the change trend sequence 1 includes H3-1 discrete points, and the value 1 of the last point is the difference between the physiological characteristics of date c and the day before date c; using a preset algorithm 1 to align sequence 3 with the historical change trend sequence in the time domain, thereby determining the value 2 of the point corresponding to the last point of sequence 3 on the historical change trend sequence; determining the difference 1 between value 1 and value 2; if the difference 1 corresponding to at least one or all physiological characteristics is greater than a preset change threshold, then the physiological characteristic data (i.e., the physiological change trend of the past H3 days) is abnormal. The above-mentioned H3 can be equal to P1 (for example, 28 days) or less than P1 (for example, 7 days), and is not specifically limited here.

[0197] In one implementation, if abnormal situation 1 is detected, the user is notified of abnormal situation 1 on date c. In one implementation, if abnormal situation 1 is detected, date c is marked with mark 1 (i.e., the correspondence between date c and mark 1 is recorded), and mark 1 indicates that a user has changed. Abnormal situation 1 is notified to the user until mark 1 is marked for V consecutive days (e.g., 3 days).

[0198] In some embodiments, prompting the user of abnormal situation 1 includes: outputting prompt information 3, prompt information 3 is used to prompt that the smart bracelet 100 has detected a change of user, and whether the user change is confirmed; after confirming the change of user, the electronic device 200 no longer manages the menstrual period based on the historical menstrual trend sequence and historical physiological feature sequence of the historical user, but registers a new user, recalculates the historical menstrual trend sequence and historical physiological feature sequence for the new user, and thus generates a new user profile for the new user. The electronic device 200 can directly display the above prompt information 3 through the notification message of the notification center, or it can pop up the above prompt information 3 after the user opens the sports health app.

[0199] For example, referring to FIG10A , after detecting abnormal situation 1, a notification message 903 is displayed on the notification center interface 21. The notification message 903 includes the above-mentioned prompt information 3. As shown in FIG10B , after detecting that the user clicks on the notification message 903, the electronic device 200 opens the physiological cycle user interface 14 of the sports health APP and displays a prompt box 904. The prompt box 904 includes the above-mentioned prompt information 3 and may also include a confirmation control 904A and a close control 904B. The close control 904B is used to close the prompt box 904. After detecting that the user clicks on the confirmation control 904A, the user of the physiological cycle service is switched to a new user. For example, as shown in FIG10B , after detecting that the user clicks on the confirmation control 904A, the user management interface 22 may also be displayed. The user management interface 22 includes a basic information editing box 905 for the new user. For example, the basic information includes nickname, height, weight, age, menstrual period length, and cycle length. Among them, the menstrual period length and cycle length set by the user are used to predict the menstrual period using the aforementioned traditional calendar method in the initial stage of providing menstrual period management for new users; after collecting the menstrual period trend values ​​and physiological characteristics of at least one physiological cycle of the new user, the menstrual period management method provided in the embodiment of the present application is used to perform intelligent menstrual period prediction, menstrual period reminders and menstrual period recalibration.

[0200] For example, as shown in FIG10C , when the user management interface 22 includes multiple users, it may also include options for each user's menstrual cycle, such as option 906 for User 1 (i.e., the new user) and option 907 for User 2 (i.e., the previous user). Only one option for each user is selected. For example, option 906 for User 1 is currently selected, and the selected user is the current user of the menstrual cycle service. The user can manually switch the options for the currently selected user. After changing users, if the user switches back to User 2, to provide timely menstrual cycle management for User 2, the user can click option 907 for User 2. In response to the user's click, the electronic device 200 switches option 907 for User 2 to selected and option 906 for User 1 to unselected, effectively switching the current user to User 2. As shown in FIG10D , after the user completes editing the basic information for the new user, they can return to the menstrual cycle user interface 14, where calendar 201 will display the new user's menstrual cycle.

[0201] In some embodiments, after changing the user, the electronic device 200 may remind the user whether to delete the relevant data of the historical user, or may automatically delete the relevant data of the historical user.

[0202] Abnormal situation 2: The current user is not a female.

[0203] Specifically, it is detected whether the current user wearing the detection device (such as the smart bracelet 100) is a female user. In some embodiments, one or more physiological characteristic data of the current user (such as the menstrual trend value of the past H1 days) are obtained, and any one of the above one or more physiological characteristic data is comprehensively compared with the female standard index corresponding to the characteristic statistically, so as to determine whether abnormal situation 2 is detected. In one implementation, if there are at least M physiological characteristic data on date c that are obviously contrary to the female standard index, that is, at least M physiological characteristic data are detected to be abnormal, it is determined that abnormal situation 2 is detected. Wherein, M is equal to 1, or M (for example, 2) is greater than 1 and less than the total number of physiological characteristic data (for example, 3), or M is equal to the total number of physiological characteristic data. In one implementation, if all physiological characteristic data on date c are obviously contrary to the female standard index, it is determined that abnormal situation 2 is detected.

[0204] In one implementation, the female standard indicator corresponding to the menstrual trend value for the past H1 day includes a statistically standard menstrual trend sequence for women; the standard menstrual trend sequence indicates the standard menstrual trend value for each day within a menstrual cycle; the statistically standard menstrual cycle has P2 days (e.g., 28), and the standard menstrual trend sequence includes P2 discrete points. The implementation of comparing the menstrual trend value for the past H1 day with the standard menstrual trend sequence can be referenced to the implementation of comparing the menstrual trend value for the past H1 day with a historical menstrual trend sequence, and will not be further elaborated here.

[0205] In one implementation, the female standard indicators corresponding to physiological characteristics over the past 2 days include a standard physiological characteristic sequence. For each physiological characteristic (e.g., body temperature, heart rate, or heart rate variability), a standard physiological characteristic sequence is obtained, indicating the statistically standard physiological characteristic value for each day within a physiological cycle. The standard physiological characteristic sequence includes P2 discrete points. For comparing physiological characteristic data over the past 2 days with the standard physiological characteristic sequence, reference can be made to the implementation of comparing physiological characteristic data over the past 2 days with a historical physiological characteristic sequence, and this description is omitted here.

[0206] In one implementation, the female standard indicator corresponding to the physiological change trend over the past 3 days includes a standard change trend sequence. For each physiological characteristic (e.g., body temperature, heart rate, or heart rate variability), a standard change trend sequence is obtained, where the value of the i-1th point in the standard change trend sequence indicates the difference between the physiological characteristics of the i-th point and the i-1th point in the standard physiological characteristic sequence, where i is a positive integer greater than or equal to 2. The standard change trend sequence includes P2-1 discrete points. The implementation of comparing the physiological change trend over the past 3 days with the standard change trend sequence can refer to the implementation of comparing the physiological change trend over the past 3 days with the historical change trend sequence, and will not be repeated here.

[0207] Similar to abnormal situation 1, abnormal situation 2 can be prompted to the user on date c after abnormal situation 2 is detected, or abnormal situation 2 can be prompted to the user only after abnormal situation 2 is marked for V consecutive days (for example, 3 days).

[0208] In some embodiments, prompting the user of an abnormal situation 2 includes: outputting a prompt message 2, where the prompt message 2 is used to prompt whether it is necessary to turn off related functions of the physiological cycle, including menstrual period management. The electronic device 200 can directly display the above prompt message 2 through the notification message of the notification center, or the above prompt message 2 can pop up after the user opens the sports health APP. For example, as shown in Figure 11A, the electronic device 200 displays a sports health notification message 901 on the notification center interface 21, and the notification message 901 includes the above prompt message 2; as shown in Figure 11B, after detecting that the user clicks on the notification message 901, the electronic device 200 opens the user interface 12 of the sports health APP and displays a prompt box 902. The prompt box 902 includes the above prompt message 2, and may also include a confirmation control 902A and a close control 902B. The content of prompt information 2 may include "whether to turn off the related functions of the menstrual cycle. After turning it off, the menstrual cycle card will be removed and you can add it again when needed"; the close control 902B is used to close the prompt box 902; as shown in Figure 11C, after detecting that the user clicks the confirmation control 902A, the related functions of the menstrual cycle (such as menstrual period management) are turned off, and the menstrual cycle card 108 in the user interface 12 of the sports health APP is removed.

[0209] Abnormal situation 3: The user is pregnant.

[0210] Specifically, the current user wearing the detection device (e.g., smart bracelet 100) is detected as being pregnant. In some embodiments, one or more physiological characteristics of the user are obtained and input into a trained learning model 2. The output information of the learning model 2 indicates whether the user is pregnant. Learning model 2 can refer to the relevant description of learning model 1. In some embodiments, one or more physiological characteristics of the user are obtained, and when it is detected that the one or more physiological characteristics meet the pregnancy condition, it is determined that abnormal condition 3 has been detected.

[0211] In some embodiments, the one or more physiological characteristic data include part or all of the menstrual cycle trend value for the recent T1 day, physiological characteristic data for the recent T2 day, and physiological change trends for the recent T3 day. The recent T1 day, the recent T2 day, and the recent T3 day all include date c, and T1, T2, and T3 are positive integers. T1, T2, and T3 may be equal or unequal, and are not specifically limited herein. For example, T1, T2, and T3 are all equal to 18.

[0212] In one implementation, the one or more physiological characteristic data include the user's menstrual trend value in the past T1 day and the body temperature in the past T2 day; the pregnancy conditions include: the menstrual trend values ​​in the past T1 (for example, 18) days are all low, that is, they are all less than the preset trend value 1 (for example, 0.3), and / or the body temperature in the past T2 days is all high, that is, they are all greater than the preset temperature 1 (for example, 36.8).

[0213] In one implementation, the one or more physiological characteristic data include menstrual trend values ​​from the last day T1 and physiological characteristic data from the last day T2. In one implementation, for each physiological characteristic, a statistical sequence of physiological characteristics of a woman's pregnancy during the i-th month is obtained, where i is a positive integer between 1 and 10. For each physiological characteristic, the physiological characteristic data from the last day T2 is compared with the sequence of physiological characteristics from the i-th month to determine the similarity of the physiological characteristic for the i-th month; the maximum value among the ten similarities is determined as the similarity for the physiological characteristic. The aforementioned pregnancy conditions include the similarity for each physiological characteristic being greater than a preset threshold and the menstrual trend values ​​from the last day T1 being low. How to compare the physiological characteristic data from the last day T2 with the sequence of physiological characteristics from the i-th month to determine the similarity of the physiological characteristic for the i-th month can be referred to the aforementioned implementation of comparing the physiological characteristic data from the last day H2 with the historical physiological characteristic sequence, and will not be further elaborated here.

[0214] Similar to abnormal situation 1, abnormal situation 3 can be prompted to the user on date c after abnormal situation 3 is detected, or abnormal situation 3 can be marked for V consecutive days (for example, 3 days) before prompting the user.

[0215] In some embodiments, notifying the user of abnormal condition 3 includes: outputting prompt information 4, which indicates that the user is pregnant and whether to switch the menstrual cycle management mode to pregnancy mode; in pregnancy mode, menstrual cycle management functions are no longer available, and pregnancy management functions are provided instead. Electronic device 200 can display prompt information 4 directly through a notification message in the notification center, or it can pop up prompt information 4 after the user opens the sports health app.

[0216] For example, referring to FIG12A , after detecting abnormal condition 3, notification message 908 is displayed on notification center interface 21. Notification message 908 includes the aforementioned prompt information 4. As shown in FIG12B , after detecting that a user clicks notification message 908, electronic device 200 opens the physiological cycle user interface 14 of the sports health app and displays a prompt box 909. Prompt box 909 includes the aforementioned prompt information 4 and may also include a confirmation control 909A, a close control 909B, and an input box 909C. The close control 909B is used to close prompt box 909, and the input box 909C is used to enter the pregnancy date. As shown in FIG12C , after detecting that a user clicks confirmation control 909A, the physiological cycle mode is switched to pregnancy mode, and the pregnancy mode user interface 23 is displayed. In user interface 23, based on the pregnancy date entered by the user in input box 909C, the user is provided with pregnancy management-related functions, such as predicting and planning prenatal checkup times, and recommending diets and exercise methods for different months of pregnancy.

[0217] Abnormal situation 4: The user suffers from a disease.

[0218] Specifically, it is detected whether the current user wearing the detection device (e.g., smart bracelet 100) is ill. In some embodiments, one or more physiological characteristic data of the user is obtained and input into a trained learning model 3. The output information of the learning model 3 indicates whether the user is ill. The learning model 3 can refer to the relevant description of the learning model 1. In some embodiments, one or more physiological characteristic data of the user is obtained, and when it is detected that the one or more physiological characteristic data meet the illness condition, it is determined that abnormal condition 4 is detected.

[0219] In some embodiments, the one or more physiological characteristic data include part or all of the menstrual cycle trend value for the recent R1 day, physiological characteristic data for the recent R2 day, and physiological change trends for the recent R3 day. The recent R1 day, the recent R2 day, and the recent R3 day all include date c, and R1, R2, and R3 are positive integers. R1, R2, and R3 may be equal or unequal, and are not specifically limited herein. For example, R1, R2, and R3 are all equal to 22.

[0220] In some embodiments, the one or more physiological characteristic data include a menstrual cycle trend value for the past R1 days, the length of the most recent menstrual cycle, the length of a historical menstrual cycle corresponding to a historical menstrual cycle trend sequence, and physiological characteristic data for detecting whether the user is pregnant. The past R1 days include date c, and R1 is a positive integer. For example, R1 is equal to 22. Conditions include: the menstrual cycle trend value for the past R1 days has been consistently low, no pregnancy has been detected, and the length of the most recent menstrual cycle is significantly shorter or longer than the length of a historical menstrual cycle corresponding to a historical menstrual cycle trend sequence, i.e., the difference between the two is greater than a preset number of days (e.g., 10).

[0221] Similar to abnormal situation 1, abnormal situation 4 can be prompted to the user on date c after abnormal situation 4 is detected, or abnormal situation 4 can be marked for V consecutive days (for example, 3 days) before prompting the user.

[0222] In some embodiments, the user is prompted with an abnormal situation 4, including: outputting a prompt message 5, where the prompt message 5 is used to prompt that the user may be ill. Based on the user's input operation, after confirming that the user is ill, the user is reminded that the menstrual management function may fail due to the disease, and the menstrual trend results are only for reference. In some embodiments, the prompt message 5 is also used to prompt that if the user has been confirmed to be ill, the relevant medical examination report can be uploaded; the electronic device 200 extracts optical character recognition (OCR) information from the medical examination report uploaded by the user, and confirms whether the user is ill based on the extracted information. The electronic device 200 can directly display the above prompt message 5 through the notification message of the notification center, or it can pop up the above prompt message 5 after the user opens the sports health APP.

[0223] The present invention is not limited to the above-mentioned implementation method of detecting abnormal situations 1 to 4. Based on the menstrual trend value and / or physiological characteristics, the embodiment of the present application can also detect any one of the above-mentioned abnormal situations 1 to 4 through other implementation methods, which are not specifically limited here.

[0224] In the embodiment of the present application, step S102 is optional. In some embodiments, step S102 does not need to be performed.

[0225] S103. Update menstrual data 1 based on menstrual trend value 1. Menstrual data 1 includes some or all of the following: the menstrual trend value corresponding to the current date, the future menstrual trend value predicted based on the current date, the first day, last day and physical symptoms of the menstrual period predicted based on the future menstrual trend value.

[0226] In the embodiment of the present application, after the electronic device 200 obtains the menstrual trend value 1, it records the menstrual trend value corresponding to date c as the menstrual trend value 1, and updates the menstrual trend value corresponding to date c in the menstrual trend curve shown in Figure 3E.

[0227] In some embodiments, predicting future menstrual trend values ​​based on the menstrual trend value on date c includes: determining sequence 4 corresponding to the menstrual trend values ​​acquired over the past C days; performing temporal alignment of sequence 4 with the historical menstrual trend sequence using a preset algorithm 1, thereby determining a point in the historical menstrual trend sequence corresponding to the last point in sequence 4 (i.e., the point corresponding to date c); this point corresponds to day n of the historical menstrual cycle. The predicted menstrual trend value for day f in the future is the menstrual trend value corresponding to the (n+f)%P1th point in the historical menstrual trend sequence. For example, referring to FIG13 , FIG13 (a) shows a historical menstrual trend curve corresponding to a historical menstrual trend sequence; FIG13 (a) and (b) show sequence 4 corresponding to the menstrual trend values ​​of the past C days, where in FIG13 (a), C is equal to the number of days from date a to date c, and in FIG13 (b), C is equal to the number of days in the physiological cycle corresponding to the historical menstrual trend sequence; as shown in FIG13 (b) and (c), after sequence 4 and the historical menstrual trend sequence are aligned, date c corresponds to the 26th day of the historical menstrual trend sequence.

[0228] In some embodiments, based on the predicted menstrual period first day of the future menstrual period trend value, the historical menstrual period trend sequence indicates the position of the menstrual period in the physiological cycle. For example, the historical menstrual period trend sequence shown in FIG13(a) indicates that the menstrual period is from day 1 to day 6 of the physiological cycle. Date c corresponds to day 26 of the historical menstrual period trend sequence. Therefore, the next menstrual period first day is predicted to be 3 days after date c, and the next menstrual period last day is predicted to be 9 days after date c.

[0229] For example, referring to FIG13(a), the predicted menstrual trend curve after date c includes the curve after the point corresponding to date c in the historical menstrual trend curve. The menstrual trend value curve corresponding to dates beyond the current menstrual cycle recycles the historical menstrual trend curve. Then, the menstrual trend curve after date c in the menstrual trend curve shown in FIG3E is updated.

[0230] In some embodiments, the electronic device 200 records the physical symptoms corresponding to each day of the menstrual cycle corresponding to the historical menstrual cycle trend sequence; after determining the point (e.g., day 26) corresponding to date c in the historical menstrual cycle trend sequence, the electronic device 200 determines the physical symptoms corresponding to date c as the physical symptoms corresponding to day 26. For example, referring to FIG. 3G , the electronic device 200 updates the physical symptoms corresponding to date c in the user interface 16.

[0231] S104: When the current date is date 1 and the menstrual trend value 1 meets the preset condition 1, it is predicted that the first day of menstrual period 1 will be X days later.

[0232] S105: Outputting advance reminder information, where the advance reminder information is used to indicate that the menstrual period will arrive in X days.

[0233] In some embodiments, after the electronic device 200 predicts the first day of the menstrual period, it can remind the user in advance X (for example, 3) days before the first day of the menstrual period. For example, referring to FIG4A , the electronic device 200 instructs the smart bracelet 100 to display advance reminder information, namely, advance reminder information 601.

[0234] In some embodiments, electronic device 200 can receive user input to enable a menstrual period prediction reminder, set the number of days X for the reminder, and / or the timing of the reminder. Referring to FIG3H , the user can enable a menstrual period prediction reminder using switch control 501; the user can set the value of X in advance using setting control 504; the user can set a menstrual period prediction reminder for each of the X days before the menstrual period using timing option 506, or set a menstrual period prediction reminder for the Xth day immediately before the menstrual period using timing option 507.

[0235] In some embodiments, referring to S104 of FIG. 7B , preset condition 2 includes the menstrual trend value being greater than threshold 1. In some embodiments, preset condition 1 includes the difference between the menstrual trend value and threshold 1 being less than preset value 1, where preset value 1 is a preset smaller value, such as 0.05. In some embodiments, the electronic device 200 determines the menstrual trend value Z1 corresponding to the Xth day before the menstrual period based on the value of X, where threshold 1 is equal to Z1. In one implementation, the menstrual trend value Z1 corresponding to the Xth day before the menstrual period is determined based on a historical menstrual trend sequence.

[0236] In some embodiments, sequence 5 corresponding to the menstrual trend value of the last C days is aligned in the time domain with the historical menstrual trend sequence, and preset condition 2 includes: after the above alignment, the point corresponding to date c (i.e., date 1) in sequence 5 on the historical menstrual trend sequence is the point corresponding to the day 3 before the menstrual period.

[0237] Steps S104 and S105 are optional. In some embodiments, steps S104 and S105 do not need to be performed.

[0238] S106: When input operation 1 is detected, date 4 is corrected and calibrated as the first day of the current menstrual period (menstrual period 1).

[0239] In some embodiments, if the user's period has already arrived when they see the advance reminder message, they can select the first day of their period through input operation 1. Referring to Figures 4B and 4C , a correction control 603 is displayed along with the advance reminder message 601. Input operation 1 includes some or all of the following: an input operation (e.g., a click) on correction control 603, an input operation (e.g., a slide to select date 4) on date correction control 604, and an operation (e.g., a click) on confirmation control 605. Date correction control 604 is used to select the first day of the period, and confirmation control 605 is used to confirm the selected date 4.

[0240] In some embodiments, referring to FIG. 4A , a confirmation control 602 is displayed along with the advance prompt information 601 ; the confirmation control 602 is used to indicate to the user that he or she has confirmed that he or she has known the advance prompt information.

[0241] Steps S104 to S106 are optional. In some embodiments, steps S104 to S106 do not need to be performed.

[0242] S107 , when the current date is date 2 and the menstrual trend value 2 meets the preset condition 2, the calibration date 2 is set as the first day of the current menstrual period (menstrual period 1).

[0243] S108: Output first-day prompt information.

[0244] In an embodiment of the present application, after determining that today is the first day of a menstrual period based on the menstrual trend value for that date, a first-day reminder is provided to remind the user. For example, referring to FIG5A , the electronic device 200 instructs the smart wristband 100 to display a first-day reminder 701 . In some embodiments, referring to FIG3H , the user can enable the first-day reminder of the menstrual period using the switch control 502 .

[0245] In some embodiments, referring to S107 of FIG. 7B , preset condition 2 includes the menstrual trend value being greater than the first-day threshold. In some embodiments, preset condition 2 includes the menstrual trend value increasing continuously for w (e.g., 5) days on the current date and the previous date, and the menstrual trend value on the current date (e.g., date 2) being greater than the first-day threshold (e.g., 0.85) for the first time during the w days.

[0246] In some embodiments, referring to FIG13(a), sequence 5 corresponding to the menstrual cycle trend values ​​for the last C days is time-aligned with the historical menstrual cycle trend sequence. Preset condition 1 includes: After the alignment, the point corresponding to the current date (i.e., date 2) in sequence 5 on the historical menstrual cycle trend sequence is the point corresponding to the first day of the menstrual cycle.

[0247] S109: When input operation 2 is detected, confirm that the marked first day of the menstrual period (ie, date 2) is correct.

[0248] In some embodiments, referring to Figures 5B and 5C, along with the first day prompt information 701, a confirmation control 702 is also displayed. If the user determines that date 2 is the first day of menstruation 1, the user can indicate that the prompted first day of menstruation is correct by performing an input operation (such as a click operation) on the confirmation control 702.

[0249] S110 , when input operation 3 is detected, date 5 is corrected and calibrated as the first day of menstrual period 1 .

[0250] In some embodiments, referring to Figures 5B and 5C , a correction control 703 is displayed along with first-day prompt information 701. If the menstrual period has arrived but the first day of the menstrual period is detected to be incorrect, the user can correct the date of the first day of the menstrual period by operating correction control 703. Input operation 3 may include some or all of the following: an input operation (e.g., a click operation) on correction control 703, an input operation (e.g., a sliding operation to select date 5) on date correction control 704, and an operation (e.g., a click operation) on confirmation control 705. Date correction control 704 is used to select the corrected first day of the menstrual period (i.e., date 5), and confirmation control 705 is used to confirm the selected date 5.

[0251] S111: When input operation 4 is detected, cancel marking date 2 as the first day of menstruation.

[0252] In some embodiments, referring to Figures 5B and 5D , date correction control 704 can also be used to select option 704C indicating that a period has not started. If a period has not started, the user can cancel the marking of date 2 as the first day of a period by operating correction control 703. Input operation 4 may include some or all of the following: an input operation (e.g., a click operation) on correction control 703, an input operation (e.g., a slide operation to select option 704C) on date correction control 704, and an operation (e.g., a click operation) on confirmation control 705.

[0253] In some embodiments, referring to FIG. 5E , along with the first-day prompt information 701 , a correction control 707 indicating that the menstrual period has not started is also displayed, and the input operation 4 may include an input operation (eg, a click operation) acting on the correction control 707 .

[0254] S112: When the current date is date 3 and the menstrual trend value 3 meets the preset condition 3, date 3 is predicted and calibrated as the last day of the current menstrual period (menstrual period 1).

[0255] S113: Output doomsday prompt information.

[0256] In an embodiment of the present application, after determining that today is the end of the menstrual period based on the menstrual trend value of the current date, the user is reminded of the end of the menstrual period through a reminder message. For example, referring to FIG6A , the electronic device 200 instructs the smart bracelet 100 to display the end of the menstrual period reminder message 801. In some embodiments, referring to FIG3H , the user can enable the reminder of the end of the menstrual period through the switch control 503.

[0257] In some embodiments, referring to S107 of FIG. 7B , preset condition 2 includes that the menstrual trend value on the current date (e.g., date 2) is greater than the last day threshold (e.g., 0.8), and the menstrual trend value on the current date and the previous date continuously decreases for u (e.g., 3) days.

[0258] In some embodiments, referring to S107 of FIG. 7B , preset condition 2 includes the current date and the previous date, the menstrual trend value rises continuously for w days and then falls continuously for u (e.g., 3) days, and the menstrual trend value of the current date (e.g., date 2) among the above u days is less than the last day threshold (e.g., 0.8) for the first time.

[0259] In some embodiments, referring to FIG13(b), sequence 5 corresponding to the menstrual cycle trend values ​​for the last C days is time-aligned with the historical menstrual cycle trend sequence. Preset condition 1 includes: After the alignment, the point corresponding to the current date (i.e., date 3) in sequence 5 on the historical menstrual cycle trend sequence is the point corresponding to the last day of the menstrual cycle.

[0260] S114: When input operation 5 is detected, confirm that the marked end of the menstrual period (i.e., date 3) is correct.

[0261] In some embodiments, referring to Figures 6B and 6C , a confirmation control 802 is displayed along with the predicted end-of-period prompt 801; input operation 5 includes an operation (e.g., a click operation) on confirmation control 802. It is understood that if the user determines that date 2 is the end of period 1, the user can confirm that the suggested end-of-period date is correct by performing input operation 5 on confirmation control 802.

[0262] S115 : When input operation 6 is detected, date 6 is corrected and marked as the last day of menstrual period 1.

[0263] In some embodiments, referring to Figures 6B and 6C , correction control 803 is displayed along with end-of-period reminder message 801. If the menstrual period has arrived but the end-of-period date is incorrect, the user can adjust the end-of-period date by operating correction control 803. Input operation 6 may include some or all of the following: an input operation (e.g., a click operation) on correction control 803, an input operation (e.g., a slide operation to select date 6) on date correction control 804, and an operation (e.g., a click operation) on confirmation control 805. Date correction control 804 is used to select the corrected end-of-period date (i.e., date 6), and confirmation control 805 is used to confirm the selected date 6.

[0264] S116: When input operation 7 is detected, cancel marking date 3 as the end of the menstrual period.

[0265] In some embodiments, referring to Figures 6B and 6D , date correction control 804 can also be used to select option 804C, indicating that the menstrual period has not yet ended. If the menstrual period has not yet ended, the user can use option 804C to cancel the marking of date 3 as the end of the menstrual period. Input operation 7 may include some or all of the following: an input operation (e.g., a click operation) on correction control 803, an input operation (e.g., a sliding operation to select option 804C) on date correction control 804, and an operation (e.g., a click operation) on confirmation control 805.

[0266] In some embodiments, referring to FIG. 6E , along with the doomsday reminder message 801 , a correction control 807 indicating that the menstrual period has not ended is also displayed, and the input operation 7 may include an input operation (eg, a click operation) acting on the correction control 807 .

[0267] S117: Whether the user confirms to mark the first and last days of menstrual period 1; if so, execute S119; otherwise, execute S118.

[0268] If the electronic device 200 has marked the first day and the last day of menstrual period 1, and the user has confirmed the marked first day and the last day of menstrual period 1, then S119 is executed; otherwise, S118 is executed.

[0269] S118. On the Fth day after the last day of the menstrual period, intelligently recalibrate the menstrual period 1 based on the historical trend values ​​of the past nearly X days, where X is greater than F.

[0270] In some embodiments, after the end of menstrual period 1, if the first day and / or last day of menstrual period 1 are missing (i.e., not calibrated), or the first day and last day of menstrual period 1 have been preliminarily calibrated but the user has not provided feedback / confirmed the calibrated first day and / or last day of menstrual period 1, or the calibrated first day and / or last day of menstrual period 1 are obviously incorrect (for example, the first day and last day of menstrual period 1 are on the same day); then, the first day and last day of menstrual period 1 are intelligently recalibrated in combination with the menstrual trend value F days after the end of the menstrual period. Taking the first day of menstrual period as an example, the user has provided feedback / confirmed the calibrated first day of menstrual period, which may mean that the user has manually corrected the first day of menstrual period (for example, corrected the first day of menstrual period through correction control 703), or has reviewed the calibrated first day of menstrual period (for example, confirmed that the calibrated first day of menstrual period has been reviewed through confirmation control 702). The menstrual period recalibrated in combination with the menstrual trend value F days after the end of the menstrual period has a higher accuracy rate. In one implementation, on the Fth day after the end of a menstrual period, sequence 6 corresponding to the menstrual trend values ​​of the past X days is obtained, and sequence 6 is time-aligned with the historical menstrual trend sequence. After alignment, the point corresponding to the first day of the menstrual period in the historical menstrual trend sequence on sequence 6 is obtained, and the date corresponding to this point in sequence 6 is recalibrated as the first day of the menstrual period. The point corresponding to the last day of the menstrual period in the historical menstrual trend sequence on sequence 6 is obtained, and the date corresponding to this point in sequence 6 is recalibrated as the last day of the menstrual period. Optionally, X is equal to P1.

[0271] In some embodiments, after the electronic device 200 preliminarily calibrates the menstrual period, if the user does not provide feedback for correction, the calibrated first and last days of the menstrual period are indicated in the menstrual cycle calendar by mark 1 (e.g., a dotted box); if the user provides feedback to confirm / correct the preliminarily calibrated menstrual period, the calibrated first and last days of the menstrual period are indicated in the menstrual cycle calendar by mark 2 (e.g., a solid box).

[0272] In some embodiments, after intelligent recalibration, if the initially calibrated menstrual period is modified, a prompt message is output to inform the user that the calibrated menstrual period has been corrected and to allow the user to view the corrected menstrual period. The time for intelligent recalibration (i.e., F above) can be pre-set by the user / electronic device 200.

[0273] S119. Generate a menstrual period report based on the calibrated menstrual period 1.

[0274] After step S117 or S118 (i.e., intelligent recalibration), a physiological assessment report is generated based on the menstrual trends of the most recent menstrual cycle, the physiological characteristics of the most recent menstrual cycle, part or all of the historical menstrual trend sequence and the historical physiological characteristic sequence. The health assessment report may indicate one or more of the following menstrual information: menstrual length, menstrual regularity assessment, and health assessment, among others.

[0275] The present application provides a menstrual period management method, which is applied to a first electronic device, including: when the Xth day after a first date is predicted to be the first day of a first menstrual period, a first prompt message and a first correction control are displayed; the first prompt message is used to remind the user that the menstrual period will arrive within X days, and the first correction control is used to indicate that the first day of the first menstrual period has arrived, and is also used to correct the first day of the first menstrual period; if a first input operation is detected, the first day of the menstrual period of the first menstrual period is corrected and calibrated to a second date; the first input operation includes a second input operation (such as a click operation) acting on the first correction control, the second date is earlier than or equal to the first date, and the calibrated first day of the menstrual period is used to predict the future menstrual period.

[0276] In one implementation, in response to a second input operation acting on a first correction control, a date selection control is displayed, the date selection control is used to select the corrected date, and the date selection control includes a date option for the second date; the first input operation also includes a third input operation acting on the date option for the second date.

[0277] In one implementation, a first confirmation control is displayed after a third input operation acting on a date option of a second date is detected; the first input operation also includes a fourth input operation (eg, a click operation) acting on the first confirmation control.

[0278] The first electronic device may include the aforementioned electronic device 200, or may include the aforementioned smart bracelet 100; the first prompt information may include the aforementioned advance prompt information; the first date may include the aforementioned date c and date 1, and the second date may include the aforementioned date 4; the first menstrual period may include the aforementioned menstrual period 1; and the first input operation may include the aforementioned input operation 1. Referring to the relevant descriptions of Figures 4A to 4C, the first prompt information may include advance prompt information 601, the first correction control may include a correction control 603, the date selection control may include the aforementioned date correction control 604, and the first confirmation control may include the aforementioned confirmation control 605.

[0279] In one implementation, when it is detected that the third date is the first day of the menstrual period, the third date is marked as the first day of the menstrual period, and a second prompt message and a second correction control are displayed; the second prompt message is used to indicate that the third date is the first day of the menstrual period, and the second correction control is used to correct the first day of the menstrual period of the first menstrual period.

[0280] In one implementation, after displaying the second prompt information and the second correction control, it also includes: if a fifth input operation is detected, correcting and marking the first day of the first menstrual period as the fourth date; the fifth input operation includes a sixth input operation (such as a click operation) acting on the second correction control.

[0281] In one implementation, the method further includes: displaying date options for a fourth date in response to a sixth input operation; and the fifth input operation further includes an operation acting on the date options for the fourth date.

[0282] In one implementation, it also includes: in response to the sixth input operation, a first cancel option is also displayed, the first cancel option is used to indicate that the first day of the first menstrual period has not yet arrived; if the seventh input operation acting on the first cancel option is detected, the third date is canceled from being marked as the first day of the first menstrual period.

[0283] In one implementation, it also includes: displaying a first cancel control along with the second prompt information; the first cancel control is used to indicate that the first day of the first menstrual period has not yet arrived, and is used to cancel marking the third date as the first day of the first menstrual period.

[0284] The second prompt information may include the aforementioned first day prompt information; the third date may include the aforementioned date c or date 2; the fourth date may include the aforementioned date 5; the fifth input operation may include the aforementioned input operation 3; and the seventh input operation may include the aforementioned input operation 4. Referring to the relevant descriptions of Figures 5A to 5E , the second prompt information may include first day prompt information 701, the second correction control may include correction control 703, the first cancel option may include option 704C; and the first cancel control may include correction control 707.

[0285] In one implementation, it also includes: when it is detected that the fifth date is the end of the menstrual period, the fifth date is marked as the end of the menstrual period of the first menstrual period, and a third prompt message and a third correction control are displayed; the third prompt message is used to prompt that the fifth date is the end of the menstrual period of the first menstrual period, the third correction control is used to correct the end of the menstrual period of the first menstrual period, and the marked end of the menstrual period is used to predict the future menstrual period.

[0286] In one implementation, after displaying the third prompt information and the third correction control, it also includes: if an eighth input operation is detected, correcting and marking the last day of the first menstrual period as the sixth date; the eighth input operation includes a ninth input operation acting on the third correction control.

[0287] In one implementation, the method further includes: displaying date options for a sixth date in response to a ninth input operation; and the eighth input operation further includes an operation acting on the date options for the sixth date.

[0288] In one implementation, it also includes: in response to the ninth input operation, a second cancel option is displayed, and the second cancel option is used to indicate that the first menstrual period has not ended; if the tenth input operation acting on the second cancel option is detected, the fifth date marked as the last day of the first menstrual period is canceled.

[0289] In one implementation, it further includes: displaying a second cancel control along with the third prompt information; the second cancel control is used to indicate that the first menstrual period has not ended, and is used to cancel marking the fifth date as the last day of the first menstrual period.

[0290] The third prompt information may include the aforementioned doomsday prompt information; the fifth date may include the aforementioned date c or date 3; the sixth date may include the aforementioned date 6; the eighth input operation may include the aforementioned input operation 6; and the tenth input operation may include the aforementioned input operation 7. Referring to the relevant descriptions of Figures 5A to 5E , the third prompt information may include doomsday prompt information 801, the third correction control may include correction control 803, the second cancel option may include option 804C; and the second cancel control may include control 807.

[0291] In one implementation, the first electronic device is also used to obtain K physiological characteristics of the user every day based on data collected by the detection device; the method also includes: detecting the menstrual trend value of the current date based on the K physiological characteristics of the user in the past N days, the menstrual trend value of the current date is used to indicate the degree to which the current date is close to the peak of the user's menstrual period, N and K are positive integers; the menstrual trend value is used to predict and calibrate the first day and the last day of the menstrual period.

[0292] In one implementation, it also includes: updating and displaying the menstrual trend curve and the first indicator box based on the menstrual trend value of the current date; the menstrual trend curve sequentially indicates the detected menstrual trend values ​​of dates before the current date and the menstrual trend values ​​of the current date, as well as the predicted menstrual trend values ​​of dates after the current date; the first indicator box indicates the menstrual trend value of each day within the menstrual range on the menstrual trend curve, and the menstrual range refers to the time range from the first day of the menstrual period to the last day of the menstrual period.

[0293] 3E , the menstrual trend curve may include the aforementioned menstrual trend curve 301 ; and the first indicator frame may include a menstrual period mark 306 .

[0294] In one implementation, the menstrual trend curve corresponding to the date after the current date in the menstrual trend curve is determined based on the historical menstrual trend curve / historical menstrual trend sequence after comprehensive statistics; the historical menstrual trend sequence is determined based on the comprehensive statistics of the menstrual trend values ​​of at least one historical physiological cycle that has been detected; the historical menstrual trend sequence indicates the average length of the historical physiological cycle after comprehensive statistics, and the menstrual trend value of each day within a historical physiological cycle after comprehensive statistics; the historical menstrual trend curve is determined based on the historical menstrual trend sequence; the historical menstrual trend sequence also indicates the menstrual period range within a physiological cycle corresponding to the historical menstrual trend sequence, and the menstrual period range indicated by the historical menstrual trend sequence is determined based on the menstrual period calibrated based on at least one historical physiological cycle.

[0295] In one implementation, it also includes: a first identifier is displayed on the menstrual trend curve, the first identifier indicates the point on the menstrual trend curve corresponding to the current date; after detecting an eleventh input operation (such as a click operation) acting on the first identifier, a first interface is displayed, and the first interface is used to edit and display the physical symptoms corresponding to the current date.

[0296] In which, referring to the relevant description of Figure 3E, the first identifier may include identifier 301A; the first interface may include user interface 16.

[0297] In one implementation, the K physiological characteristics include a first physiological characteristic, and also include: along with the menstrual trend curve, one or more of the following physiological characteristic curves of the first physiological characteristic are also displayed: a measured physiological characteristic curve, a historical minimum physiological characteristic curve, a historical average physiological characteristic curve, and a historical average physiological characteristic curve; the menstrual trend curve and each physiological characteristic curve have the same horizontal coordinate; the measured physiological characteristic curve and each historical physiological characteristic curve are aligned in the time domain through a preset algorithm; the measured physiological characteristic curve indicates the physiological characteristic values ​​measured on the current date and the previous date; the historical minimum physiological characteristic curve indicates the minimum physiological characteristic value of each day in a historical physiological cycle after comprehensive statistics; the historical average physiological characteristic curve indicates the average physiological characteristic value of each day in a historical physiological cycle after comprehensive statistics; the historical maximum physiological characteristic curve indicates the maximum physiological characteristic value of each day in a historical physiological cycle after comprehensive statistics.

[0298] In one implementation, the method further includes: detecting whether there is an abnormality based on the detected menstrual trend value of the user; and displaying a fourth prompt message when an abnormality is detected, where the fourth prompt message is used to prompt the abnormality.

[0299] Among them, the abnormal situation includes any one of the aforementioned abnormal situation 1 to abnormal situation 4; when the abnormal situation is abnormal situation 1, the fourth prompt information may include the aforementioned prompt information 3; when the abnormal situation is abnormal situation 3, the fourth prompt information may include the aforementioned prompt information 4; when the abnormal situation is abnormal situation 4, the fourth prompt information may include the aforementioned prompt information 5.

[0300] In one implementation, the abnormal situation includes one or more of the following: user change; the user is not a female; the user is sick; the user is pregnant; when the abnormal situation is that the user is not a female, the fourth prompt information is also used to prompt the user to turn off menstrual related functions; when the abnormal situation is that the user is pregnant, the fourth prompt information is also used to prompt the user to switch to pregnancy mode.

[0301] In one implementation, it also includes: on the Fth day after the last day of the first menstrual period, based on the detected menstrual trend values ​​of the past C days and the historical menstrual trend sequence, recalibrating the first day and the last day of the first menstrual period, C is greater than F, and C and F are both positive integers.

[0302] In one implementation, the first day and the last day of the first menstrual period are recalibrated, including: when a first condition is detected, the first day and the last day of the first menstrual period are recalibrated; the first condition includes one or more of the following: the first day and / or the last day of the first menstrual period are not calibrated; the first day and / or the last day of the menstrual period are calibrated, but the user has no feedback on the calibrated first day and / or the last day of the menstrual period; the calibrated first day and / or the last day of the menstrual period are obviously wrong.

[0303] In one implementation, when the menstrual trend value on the current date meets a second condition, the Xth day after the current date is predicted to be the first day of the first menstrual period; the second condition includes: the difference between the menstrual trend value on the current date and a first threshold is less than a preset value, and the first threshold is the menstrual trend value on the Xth day before the first day of the menstrual period determined based on a historical menstrual trend sequence.

[0304] In one implementation, when the menstrual trend value of the current date meets the third condition, the current date is predicted to be the first day of the first menstrual period; the third condition includes: the menstrual trend value on the current date and the previous date has increased continuously for w days, and the menstrual trend value on the current date is greater than the first day threshold for the first time in the w days.

[0305] In one implementation, when the menstrual trend value of the current date meets the fourth condition, the current date is predicted to be the last day of the first menstrual period; the fourth condition includes: on the current date and the previous date, the menstrual trend value has risen for w consecutive days and then fallen for u consecutive days, and the menstrual trend value of the current date is less than the end-of-day threshold for the first time in u days.

[0306] Among them, the second condition may include the aforementioned preset condition 1; the third condition may include the aforementioned preset condition 2; the fourth condition may include the aforementioned preset condition 3; the first threshold may include the aforementioned threshold 1; and the preset value may include the aforementioned preset value 1.

[0307] The various implementation modes of this application can be combined arbitrarily to achieve different technical effects.

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

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

[0310] In short, the above description is only an embodiment of the technical solution of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made based on the disclosure of the present invention should be included in the scope of protection of the present invention.

Claims

1. A menstrual management method, applied to a first electronic device, characterized in that: include: When the Xth day after the first date is predicted to be the first day of the first menstrual period, displaying a first prompt message and a first correction control; The first prompt information is used to remind the user that the menstrual period will arrive within X days, and the first correction control is used to indicate that the first day of the first menstrual period has arrived, and is also used to correct the first day of the first menstrual period; If a first input operation is detected, the first day of the first menstrual period is corrected and calibrated as a second date; the first input operation includes a second input operation acting on the first correction control, the second date is earlier than or equal to the first date, and the calibrated first day of the menstrual period is used to predict future menstrual periods.

2. The method according to claim 1, characterized in that Also includes: In response to the second input operation acting on the first correction control, a date selection control is displayed, the date selection control is used to select the corrected date, and the date selection control includes a date option for the second date; the first input operation also includes a third input operation acting on the date option for the second date.

3. The method according to claim 2, characterized in that A first confirmation control is displayed after the third input operation acting on the date option of the second date is detected; the first input operation also includes a fourth input operation acting on the first confirmation control.

4. The method according to claim 1, characterized in that Also includes: When it is detected that the third date is the first day of the menstrual period, the third date is marked as the first day of the menstrual period of the first menstrual period, and a second prompt message and a second correction control are displayed; the second prompt message is used to prompt that the third date is the first day of the menstrual period, and the second correction control is used to correct the first day of the menstrual period of the first menstrual period.

5. The method according to claim 4, characterized in that After the second prompt information and the second correction control are displayed, the method further includes: If the fifth input operation is detected, the first day of the first menstrual period is corrected and marked as the fourth date; the fifth input operation includes a sixth input operation acting on the second correction control.

6. The method according to claim 5, characterized in that Also includes: In response to the sixth input operation, date options for the fourth date are displayed; and the fifth input operation also includes an operation acting on the date options for the fourth date.

7. The method according to claim 6, characterized in that Also includes: In response to the sixth input operation, a first cancel option is further displayed, wherein the first cancel option is used to indicate that the first day of the first menstrual period has not yet arrived; If a seventh input operation acting on the first cancel option is detected, the marking of the third date as the first day of the first menstrual period is canceled.

8. The method according to claim 4, characterized in that Also includes: Along with the second prompt information, a first cancel control is also displayed; the first cancel control is used to indicate that the first day of the first menstrual period has not yet arrived, and is used to cancel the marking of the third date as the first day of the first menstrual period.

9. The method according to claim 1, characterized in that: Also includes: When it is detected that the fifth date is the end of the menstrual period, the fifth date is marked as the end of the first menstrual period, and a third prompt message and a third correction control are displayed; the third prompt message is used to prompt that the fifth date is the end of the first menstrual period, the third correction control is used to correct the end of the first menstrual period, and the marked end of the menstrual period is used to predict the future menstrual period.

10. The method according to claim 9, characterized in that After the third prompt information and the third correction control are displayed, the method further includes: If the eighth input operation is detected, the last day of the first menstrual period is corrected and marked as the sixth date; the eighth input operation includes a ninth input operation acting on the third correction control.

11. The method according to claim 10, characterized in that Also includes: In response to the ninth input operation, date options for the sixth date are displayed; and the eighth input operation also includes an operation acting on the date options for the sixth date.

12. The method according to claim 10, characterized in that Also includes: In response to the ninth input operation, a second cancel option is further displayed, wherein the second cancel option is used to indicate that the first menstrual period has not ended; If a tenth input operation acting on the second cancel option is detected, the fifth date marked as the last day of the first menstrual period is canceled.

13. The method according to claim 4, characterized in that Also includes: Along with the third prompt information, a second cancel control is also displayed; the second cancel control is used to indicate that the first menstrual period has not ended yet, and is used to cancel the fifth date being marked as the last day of the first menstrual period.

14. The method according to claim 1, characterized in that The first electronic device is also used to obtain K physiological characteristics of the user every day based on the data collected by the detection device; the method also includes: Based on the K physiological characteristics of the user in the past N days, the menstrual trend value of the current date is detected. The menstrual trend value of the current date is used to indicate the degree to which the current date is close to the peak of the user's menstrual period. N and K are positive integers. The menstrual trend value is used to predict and calibrate the first and last days of the menstrual period.

15. The method according to claim 14, characterized in that Also includes: According to the menstrual trend value of the current date, updating and displaying the menstrual trend curve and the first indicator frame; The menstrual trend curve sequentially indicates the detected menstrual trend values ​​of dates before today and today, as well as the predicted menstrual trend values ​​of dates after today; The first indication frame indicates the menstrual trend value of each day within the menstrual range on the menstrual trend curve, where the menstrual range refers to the time range from the first day of the menstrual period to the last day of the menstrual period.

16. The method according to claim 15, characterized in that The menstrual trend curve corresponding to the date after the current date in the menstrual trend curve is determined based on the historical menstrual trend curve / historical menstrual trend sequence after comprehensive statistics; the historical menstrual trend sequence is determined based on the comprehensive statistics of the menstrual trend values ​​of at least one historical physiological cycle that has been detected; The historical menstrual trend sequence indicates the average length of the historical physiological cycle after comprehensive statistics, and the menstrual trend value of each day in a historical physiological cycle after comprehensive statistics; The historical menstrual trend curve is determined based on the historical menstrual trend sequence; the historical menstrual trend sequence also indicates the menstrual period range within a physiological cycle corresponding to the historical menstrual trend sequence, and the menstrual period range indicated by the historical menstrual trend sequence is determined based on the menstrual period calibrated according to at least one historical physiological cycle.

17. The method according to claim 15, characterized in that Also includes: The menstrual trend curve is displayed with a first mark, the first mark indicating a point on the menstrual trend curve corresponding to the current date; After detecting an eleventh input operation acting on the first identifier, a first interface is displayed, where the first interface is used to edit and display the physical symptoms corresponding to the current date.

18. The method according to claim 1 or 15, characterized in that: The K physiological characteristics include the first physiological characteristic, and further include: Along with the menstrual trend curve, one or more of the following physiological characteristic curves of the first physiological characteristic are also displayed: a measured physiological characteristic curve, a historical minimum physiological characteristic curve, a historical average physiological characteristic curve, and a historical average physiological characteristic curve; the menstrual trend curve and each physiological characteristic curve have the same horizontal coordinate; the measured physiological characteristic curve and each historical physiological characteristic curve are aligned in time domain by a preset algorithm; The measured physiological characteristic curve indicates the physiological characteristic values ​​measured on the current date and previous dates; The historical minimum physiological characteristic curve indicates the minimum physiological characteristic value of each day in a historical physiological cycle after comprehensive statistics; The historical average physiological characteristic curve indicates the average physiological characteristic value of each day in a historical physiological cycle after comprehensive statistics; The historical maximum physiological characteristic curve indicates the maximum physiological characteristic value of each day in a historical physiological cycle after comprehensive statistics.

19. The method according to claim 1 or 14, characterized in that: Also includes: Detecting whether there is an abnormality based on the detected menstrual trend value of the user; When an abnormal situation is detected, fourth prompt information is displayed, and the fourth prompt information is used to prompt the abnormal situation.

20. The method according to claim 19, characterized in that The abnormal situation includes one or more of the following: user change; user is not a female; user is ill; user is pregnant; When the abnormal situation is that the user is not a female, the fourth prompt information is also used to prompt the user to turn off the related functions of the menstrual period; When the abnormal situation is that the user is pregnant, the fourth prompt information is also used to prompt the user to switch to the pregnancy mode.

21. The method according to claim 1 or 14, characterized in that Also includes: On the Fth day after the last day of the first menstrual period, the first day and the last day of the first menstrual period are recalibrated based on the detected menstrual trend values ​​of the past C days and the historical menstrual trend sequence, where C is greater than F, and both C and F are positive integers.

22. The method according to claim 1 or 14, characterized in that The recalibrating the first day and the last day of the first menstrual period includes: When the first condition is detected, recalibrating the first day and the last day of the first menstrual period; The first condition includes one or more of the following: the first day and / or last day of the first menstrual period are not marked; the first day and / or last day of the menstrual period are marked, but the user has no feedback on the marked first day and / or last day of the menstrual period; the marked first day and / or last day of the menstrual period are obviously wrong.

23. The method according to claim 14, characterized in that When the menstrual trend value of the current date meets the second condition, it is predicted that the Xth day after the current date is the first day of the first menstrual period; the second condition includes: the difference between the menstrual trend value of the current date and the first threshold is less than a preset value, and the first threshold is the menstrual trend value of the Xth day before the first day of the menstrual period determined according to the historical menstrual trend sequence.

24. The method according to claim 14, characterized in that When the menstrual trend value of today's date meets the third condition, today's date is predicted to be the first day of the first menstrual period; the second condition includes: the menstrual trend value has risen continuously for w days on today's date and the previous dates, and the menstrual trend value of today's date is greater than the first day threshold for the first time among the w days.

25. The method according to claim 14, characterized in that When the menstrual trend value of today's date meets the fourth condition, today's date is predicted to be the last day of the first menstrual period; the fourth condition includes: on today's date and the previous date, the menstrual trend value rises for w consecutive days and then falls for u consecutive days, and the menstrual trend value of today's date is less than the end-of-day threshold for the first time in the u days.

26. A gear processing device, comprising a memory, one or more processors, and one or more programs; wherein: The one or more programs are stored in the memory; it is characterized in that when the one or more processors execute the one or more programs, the access device implements the method as described in any one of claims 1 to 25.

27. A computer storage medium, characterized in that The method comprises computer instructions, which, when executed on an electronic device, enable the terminal to implement the method according to any one of claims 1 to 25.

Citation Information

Patent Citations

  • Menstrual period management method and related device

    CN119003053A

  • Data analysis method and data analysis device based on electronic equipment

    CN108122602A

  • Menstrual cycle tracking and prediction

    CN115440393A

  • Information processing device, information processing method, and information processing program

    US20180035954A1

  • Menstrual cycle tracking

    US20220287622A1