Menstrual period management method and related device

Through prediction reminder and physiological feature detection, correction controls and intelligent calibration functions are provided, which solves the problems of cumbersome and accuracy of period management operations in the prior art, and improves the accuracy of user experience and period prediction.

CN119003053APending Publication Date: 2024-11-22HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310567347.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-18
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing menstrual management methods rely on user input, and the operation is cumbersome and difficult to be timely and accurate, 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 use physiological characteristics to detect trend values ​​to intelligently calibrate the menstrual period intervals, reducing user recording burden and improving management accuracy.

Benefits of technology

It realizes simple, timely and accurate period management of users, improves user experience, and reduces errors through intelligent calibration, and improves the accuracy of period prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003053A_ABST
    Figure CN119003053A_ABST
Patent Text Reader

Abstract

The invention discloses a menstrual period management method and a related device, and the method comprises the steps: displaying first prompt information and a first correction control under the condition of predicting that the Xth day after a first date is the first date of a first menstrual period; the first prompt information is used for reminding the user that the menstrual period arrives within X days, and the first correction control is used for indicating that the first menstrual period of the first menstrual period arrives and is also used for correcting the first menstrual period of the first menstrual period; if the first input operation is detected, correcting and calibrating the first date of the first menstrual period as the second date; the first input operation comprises 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 menstrual period first day is used for predicting the future menstrual period. Therefore, 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

Technical Field

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

[0002] Women are paying more and more attention to their own health. Menstruation is a physiological phenomenon experienced by women of childbearing age. The menstrual period (i.e. menstrual period) and menstrual cycle (i.e. physiological cycle) can indicate the physical health status of women of childbearing age. Studies have shown that adjusting training and nutrition plans in combination with the physiological period and physiological cycle can fully benefit 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.

[0003] Currently, users can manage their menstrual periods through applications installed on their mobile phones. However, existing menstrual period management methods usually rely on user input, including feedback on historical menstrual period start and end time data, which is cumbersome for users to operate and they may forget to input. Existing menstrual period management methods cannot provide timely and accurate menstrual period management, and the user experience is poor. Summary of the invention

[0004] The present 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.

[0005] 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 the future menstrual period.

[0006] By implementing the embodiment of the present application, the user can be reminded in time that the menstruation is coming soon through the advance prediction reminder X days before the menstruation, so that the user can prepare in advance; when the actual menstruation has arrived, the user is prompted to manually calibrate the first day of the menstruation through the correction control. In this way, the user operation is simple, and timely and accurate menstruation management is achieved, which effectively improves the user experience.

[0007] In one implementation, in response to a 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. When implementing the embodiment of the present application, if the actual menstrual period has arrived, the user can select the date option for the actual first day of the menstrual period according to the actual first day of the menstrual period.

[0008] 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 acting on the first confirmation control.

[0009] In one implementation, when the third date is detected as the first day of the menstrual period, the third date is calibrated as the first day of the menstrual period of the first menstrual period, and the second prompt information and the second correction control are displayed; the second prompt information 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. When the embodiment of the present application is implemented, when the first day of the menstrual period is detected, the user is promptly prompted, so that when the first day of the menstrual period is incorrect, the actual first day of the menstrual period can be calibrated in time through the correction control. In this way, the user operation is simple, the accuracy of the calibrated first day of the menstrual period is improved, and the user experience is effectively improved.

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

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

[0012] 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 arrived; if the seventh input operation acting on the first cancel option is detected, canceling the marking of the third date as the first day of the first menstrual period. By implementing the embodiment of the present application, when the actual menstrual period has not arrived, the user can cancel the first day of the menstrual period that was initially marked, thereby timely improving the accuracy of the first day of the menstrual period.

[0013] In one implementation, the method further 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 arrived, and is used to cancel the third date being marked as the first day of the first menstrual period. When implementing the embodiment of the present application, if the actual menstrual period has not arrived, the user can cancel the first day of the menstrual period that was initially marked, thereby timely improving the accuracy of the first day of the menstrual period.

[0014] In one implementation, it also includes: when the fifth date is detected as the last day of the menstrual period, the fifth date is marked as the last day 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 last day of the menstrual period of the first menstrual period, the third correction control is used to correct the last day of the menstrual period of the first menstrual period, and the marked last day of the menstrual period is used to predict the future menstrual period. When the embodiment of the present application is implemented, when the last day of the menstrual period is detected, the user is promptly prompted, so that when the last day of the menstrual period is incorrect, the actual last day of the menstrual period can be manually marked through the correction control in time. In this way, the user operation is simple, the accuracy of the marked last day of the menstrual period is improved, and the user experience is effectively improved.

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

[0016] In one implementation, it also includes: in response to the ninth input operation, displaying date options for the sixth date; the eighth input operation also includes an operation acting on the date options for the sixth date.

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

[0018] In one implementation, the method 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 to cancel the fifth date marked as the last day of the first menstrual period. By implementing the embodiment of the present application, when the actual menstrual period has not ended, the user can cancel the initially marked last day of the menstrual period, thereby timely improving the accuracy of the last day of the menstrual period.

[0019] In one implementation, 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, detecting the menstrual trend value of the current date, 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. In this way, compared with the traditional menstrual management method, it does not rely heavily on the user's input of menstrual information, measures the menstrual trend value through the detected physiological signs of the user, and then intelligently calibrates the menstrual period interval, reducing the user's long-term record burden.

[0020] In one implementation, it also includes: updating and displaying a menstrual trend curve and a first indicator frame according to the menstrual trend value of the current date; the menstrual trend curve sequentially indicates the menstrual trend values ​​of the dates before the current date and the menstrual trend values ​​of the current date, as well as the predicted menstrual trend values ​​of the dates after the current date; the first indicator frame indicates the menstrual trend values ​​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. In this way, through the above-mentioned menstrual trend curve, the user can dynamically understand the menstrual trend changes and understand the characteristics of his or her own physiological cycle.

[0021] 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 according to at least one historical physiological cycle.

[0022] In one implementation, it further includes: a first mark is displayed on the menstrual trend curve, the first mark indicates the point on the menstrual trend curve corresponding to the current date; after detecting the eleventh input operation acting on the first mark, a first interface is displayed, the first interface is used to edit and display the physical symptoms corresponding to the current date. In this way, the user can intuitively perceive the physical symptoms of each period in the physiological cycle, so as to better deal with the above physical symptoms later.

[0023] In one implementation, the K physiological characteristics include the 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: the measured physiological characteristic curve, the historical minimum physiological characteristic curve, the historical average physiological characteristic curve, and the 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 value 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. In this way, users can perceive the fluctuation characteristics of the menstrual period more dynamically and understand their own physiological cycle characteristics in multiple dimensions.

[0024] In one implementation, the method further includes: detecting whether there is an abnormal situation based on the detected menstrual trend value of the user; and displaying fourth prompt information when an abnormal situation is detected, wherein the fourth prompt information is used to prompt the abnormal situation.

[0025] In one implementation, 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 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.

[0026] 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, the first day and the last day of the first menstrual period are recalibrated, C is greater than F, and C and F are both positive integers.

[0027] In one implementation, the first day and last day of the first menstrual period are recalibrated, including: when the first condition is detected, the first day and last day of the first menstrual period are recalibrated; the first condition includes one or more of the following: the first day and / or last day of the first menstrual period are not calibrated; the first day and / or last day of the menstrual period are calibrated, but the user has no feedback on the calibrated first day and / or last day of the menstrual period; the calibrated first day and / or last day of the menstrual period are obviously wrong. Intelligent recalibration combined with the menstrual trend value after the end of the menstrual period can effectively reduce the error of the calibrated menstrual period, thereby improving the accuracy of subsequent menstrual period predictions, and effectively dealing with various situations that may cause large errors in the menstrual period.

[0028] In one implementation, 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.

[0029] In one implementation, 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 on today's date and the previous dates has risen continuously for w days, and the menstrual trend value on today's date is greater than the first day threshold for the first time in w days.

[0030] 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 rises for w consecutive days and then falls 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.

[0031] 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 used to store computer program codes, and the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the menstrual management method in any possible implementation of any of the above aspects.

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

[0033] 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 a menstrual management method in any possible implementation of any of the above aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A schematic diagram of the system architecture of a communication system provided in an embodiment of the present application;

[0035] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0036] 3A to 3H The relevant user interface of the sports health APP provided in the embodiment of the present application;

[0037] FIG. 4A to FIG. 4CA user interface related to the advance prediction reminder of the smart bracelet provided in the embodiment of the present application;

[0038] FIG. 5A to FIG. 5E The relevant user interface of the smart bracelet for the first day of menstruation reminder provided in the embodiment of the present application;

[0039] FIG. 6A to FIG. 6E A user interface related to the smart bracelet for reminding the end of menstruation provided in an embodiment of the present application;

[0040] Fig. 7A A method flow of a menstrual management method provided in an embodiment of the present application;

[0041] Figure 7B A method flow of a menstrual management method provided in an embodiment of the present application;

[0042] Figure 8 A learning model based on LSTM is provided in the embodiment of the present application;

[0043] Fig. 9 A schematic diagram of a historical menstrual trend curve provided in an embodiment of the present application;

[0044] FIG. 10A to FIG. 10D A user interface for switching users provided in an embodiment of the present application;

[0045] FIG. 11A to FIG. 11C A user interface related to closing the menstrual management function provided in an embodiment of the present application;

[0046] FIG. 12A to FIG. 12C A user interface related to switching pregnancy mode provided in an embodiment of the present application;

[0047] Fig.13 A schematic diagram of a menstrual trend sequence provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] The technical solutions in the embodiments of the present application will be described clearly and in detail below 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 of associated 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.

[0049] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0050] The term "user interface (UI)" in the following embodiments of the present 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 can be recognized by the user. The commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation 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.

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

[0052] The current method of menstrual management mainly relies on the traditional calendar method, which is applied to the application (Application, APP) for menstrual management installed on most mobile phones at present. Specifically, the method mainly relies on the user's active input, including requiring the user to actively click on the date in the calendar to enter the first day and last day of the menstrual period, and requiring the user to manually enter the menstrual period length (e.g., 6 days) and the physiological cycle length (e.g., 28 days). The method assumes that the user's menstrual period will not fluctuate, has a relatively fixed menstrual period length and physiological cycle length, and only determines the future menstrual period through the information entered by the user; if the user does not actively enter information, the determined future menstrual period length is fixed and unchanged, without considering the fluctuation of the menstrual period, such as delayed or advanced menstrual period, changes in menstrual period length, and changes in physiological cycle length. It can be understood that changes in the user's emotions, exercise status, health status, and environment may cause menstrual fluctuations. If the user forgets to feedback menstrual related information, after multiple cycles have not been fed back, the error of the calibrated menstrual period will become larger and larger.

[0053] The present application provides a menstrual management method, which can achieve more accurate menstrual management, including menstrual prediction, reminder and correction, and effectively improve the user experience. The following introduces a communication system 10 involved in the menstrual management method provided in an embodiment of the present application.

[0054] The communication system 10 includes one or more detection devices for collecting physiological characteristics of the user, and the detection device can be a wearable device (such as a heart rate belt, a smart bracelet, an electronic body temperature sticker, 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).

[0055] In some embodiments, Figure 1 As shown, a detection device (such as 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 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 reminders 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, etc.

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

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

[0058] In some embodiments, two devices in the communication system 10 (e.g., electronic device 200 and 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 nearfield 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.

[0059] 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 are indirectly connected for wireless communication and data transmission.

[0060] In one application scenario, the electronic device 200 and the smart bracelet 100 are installed with an APP (i.e., APP1) for menstrual period management; 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, 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 upload them to the server; then the server predicts the menstrual period based on the detected physiological characteristics and intelligently recalibrates the calibrated menstrual period; the server instructs the electronic device 200 and / or the smart bracelet 100 to remind the menstrual period and display the above-mentioned menstrual period related information.

[0061] It can be understood 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 less devices than those shown in the figure.

[0062] The embodiment of the present application does not specifically limit the type of the 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, a vehicle-mounted device, a smart TV, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a cellular phone, a personal digital assistant (personal digital assistant, PDA), an augmented reality (Augmented reality, AR)\virtual reality (virtual reality, VR) device and other devices. The electronic device 200 and the smart bracelet can be equipped with the same / different operating systems, such as iOS, Android, Microsoft or other operating systems.

[0063] The structure of an electronic device 200 provided in an embodiment of the present application is described below. The structure of the wearable device (eg, 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 later.

[0064] For example, Figure 2As shown, 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.

[0065] It is to 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 in the figure, or combine some components, or split some 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.

[0066] 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 processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

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

[0068] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

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

[0070] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 200.

[0071] 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 achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0072] 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 to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0073] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0074] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to realize the shooting function of the electronic device 200. The processor 110 and the display screen 194 communicate via the DSI interface to realize the display function of the electronic device 200.

[0075] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the 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.

[0076] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 200, and can also be used to transfer data between the electronic device 200 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0077] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic 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 in the above embodiments, or a combination of multiple interface connection methods.

[0078] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 200. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0079] 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 supplies power to the processor 110, the internal memory 121, the display screen 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 number, battery health status (leakage, impedance), etc. 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.

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

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

[0082] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., 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.

[0083] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent 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 the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a 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.

[0084] 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 integrating 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, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0085] 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, etc. 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).

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

[0087] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 200 may include 1 or N display screens 194, where N is a positive integer greater than 1.

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

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

[0090] 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 optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted 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.

[0091] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 200 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0092] Video codecs are used to compress or decompress digital videos. The electronic device 200 may support one or more video codecs. Thus, the electronic device 200 may play or record videos in a variety of coding formats, such as moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0093] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the electronic device 200 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

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

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

[0096] 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 unit potential level; universal flash storage (UFS), embedded multi media card (eMMC), etc. according to the storage specification.

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

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

[0099] 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 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external non-volatile memory.

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

[0101] 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 arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

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

[0103] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 200 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0104] Microphone 170C, also called "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 microphone 170C to input the sound signal into 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 sound source, realize directional recording function, etc.

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

[0106] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. 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.

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

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

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

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

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

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

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

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

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

[0116] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 200, which is different from the position of the display screen 194.

[0117] 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 block of a human vocal part.

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

[0119] Motor 191 can generate vibration prompts.

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

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

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

[0123] 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. 3A to 3HThe relevant user interface of the sports health APP on the electronic device 200 is shown.

[0124] For example, Figure 3A The main interface 11 for displaying installed applications (applications, APPs) on the electronic device 200 is shown. 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: phone icons, contact icons, text message icons, camera icons. Other application icons 103 can display: sports health icons 103A, gallery icons, music icons, settings icons, etc. The main interface 11 may also include a page indicator 104. Other application icons may be distributed on multiple pages, and the page indicator 104 may be used to indicate which page the user is currently viewing the application in. The user can slide the area of ​​other application icons left and right to view application icons in other pages.

[0125] like Figure 3A and Figure 3B As shown, after detecting that the user clicks the sports health icon 103A of the sports health APP, the electronic device 200 displays the user interface 12 of the sports health APP. The user interface 12 includes a menu bar 105, and the menu bar 105 includes multiple menu options, such as a health option 105A, a device option 105B, and a user option. The user interface 12 is a user interface corresponding to the health option 105A.

[0126] like Figure 3B and Figure 3C As shown, 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 pair and bind.

[0127] In some embodiments, the electronic device 200 can obtain physiological data of various physiological characteristics collected by the smart bracelet 100, and then obtain the physiological characteristics of the user every day according to the above physiological data. The above physiological characteristics may include some or all of the following: body temperature, heart rate, one or more indicators of heart rate variability. According to the data of various physiological characteristics that the user has obtained recently (for example, in the past 30 days of the current date), the user's daily menstrual trend value can be determined. The menstrual trend value indicates the degree to which the current date is close to the peak of the menstrual period. Based on the menstrual trend value obtained on the day, it can be predicted whether today is the first day of the menstrual period or the last day of the menstrual period; according to the user's recent menstrual trend value and the menstrual trend value of the historical physiological cycle, the first and last days of one or more future menstrual periods can be predicted, and then the ovulation period and fertile period can be predicted. According to individual differences, the date corresponding to the peak of the menstrual period in different users' menstrual periods (that is, the date with the largest menstrual trend value) may be different. For example, if the menstrual period length is 6, the peak of the menstrual period is on the third day of the menstrual period. 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.

[0128] like Figure 3B and Figure 3D As shown, the user interface 12 includes a card 108 of the physiological cycle, and the card 108 of the physiological cycle is used to implement some or all of the following: menstrual management, pregnancy preparation plan and pregnancy management. After detecting that the user clicks on the card 108, the electronic device 200 can display the user interface 14 of the physiological cycle. The user interface 14 includes a calendar 201, and the calendar 201 indicates the date range corresponding to the menstrual period (for example, menstrual period 1) within this month. If the current date does not reach the first day of the menstrual period, the menstrual period indicated by the calendar 201 is the menstrual period predicted based on the menstrual trend value of the historical physiological cycle; if the current date reaches or exceeds the first day of the menstrual period, the first day of the menstrual period indicated by the calendar 201 is determined based on the menstrual trend value measured recently or manually corrected by the user; if the current date reaches or exceeds the last day of the menstrual period, the last day of the menstrual period indicated by the calendar 201 is determined based on the menstrual trend value measured recently or manually corrected by the user.

[0129] In some embodiments, the calendar 201 also indicates some or all of the following special periods: follicular phase, ovulation phase, luteal phase, fertile phase, safe phase, and pregnancy preparation phase. The above special periods can be determined based on the predicted and calibrated menstrual period. In some embodiments, the user interface 12 includes a switch control 203 for pregnancy preparation, and the switch control 203 includes two states, open and closed. When the switch control 203 is in the open state, the calendar 201 indicates the above special periods.

[0130] In some embodiments, the user interface 12 includes a card 202 for intelligent analysis of menstrual trends, and the card 202 may include introduction information 202A for the intelligent analysis of menstrual trends, a schematic diagram 202B of a menstrual trend curve, and part or all of a detail control 202C. For example, the above introduction information includes "Women's menstrual periods usually fluctuate to varying degrees, that is, the physiological data of the wearable device accurately determines the menstrual trend value for you, allowing you to fully and accurately perceive menstrual fluctuations and understand your physical health status." The schematic diagram 202B of the menstrual trend curve indicates a menstrual trend curve within a physiological cycle, and the position of the menstrual trend value of the current date in the above menstrual trend curve.

[0131] like Figure 3D and Figure 3E As shown, after detecting that the user clicks the details control 202C, the electronic device 200 can display the user interface 15 for intelligent analysis of the menstrual trend, the user interface 15 includes a menstrual trend curve 301 from date a to date b, the horizontal coordinate of the menstrual trend curve 301 can be a date, and the date a to date b include the date of the day, that is, date c (for example, July 2), and the vertical coordinate can be the menstrual trend value. In some embodiments, the user interface 15 also includes a vertical axis 302, which is the vertical axis corresponding to the date of the day, and the vertical coordinate of the intersection of the vertical axis 302 and the menstrual trend curve 301 is the detected menstrual trend value corresponding to the date of the day. In some embodiments, the date a to date b includes a physiological cycle, for example, 28 days.

[0132] refer to Figure 3E The menstrual trend values ​​of today and previous dates on the menstrual trend curve 301 are actual values ​​detected based on the physiological characteristics of the user, and the menstrual trend values ​​after today are predicted values ​​determined based on the menstrual trend values ​​of historical physiological cycles.

[0133] In some embodiments, for some or all of the one or more physiological characteristics, the user interface 15 also includes the measured physiological characteristic curves corresponding to each physiological characteristic from date a to date c (i.e., the current date), and the historical physiological characteristic curves corresponding to each physiological characteristic from date a to date b, for example Figure 3E and Figure 3F The body temperature curve 303, the heart rate curve 304 and the heart rate variability curve 305 corresponding to the index 1 of the heart rate variability are shown. Figure 3E and Figure 3F As shown, when all curves cannot be displayed due to the limited screen size, the user interface 15 can be swiped upward to view more curves in the user interface 15. The abscissa of each physiological characteristic curve corresponds to the abscissa of the menstrual trend value curve, and the ordinate is the physiological characteristic value corresponding to the date.

[0134] 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 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. 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, and also includes 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 according to the physiological characteristic value of the historical physiological cycle. The historical physiological characteristic curve involved in the subsequent embodiments refers to the above-mentioned historical average heart rate curve.

[0135] In some embodiments, in response to the 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 the 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.

[0136] In some embodiments, the user interface 15 further includes a menstrual period mark 306, which indicates the date range of menstrual period 1 from date a to date b; Figure 3E As shown, the menstrual period mark 306 may be presented as a frame, which includes the menstrual period trend curve and various physiological characteristic curves in menstrual period 1. The date range of menstrual period 1 indicated by the calendar 201 of the user interface 14 is the same as the date range indicated by the menstrual period mark 306.

[0137] In some embodiments, Figure 3EAs shown, a mark 301A is displayed on the menstrual trend curve 301, and the mark 301A indicates the point corresponding to the current date on the menstrual trend curve 301, that is, the intersection of the vertical axis 302 of the current date and the menstrual trend curve 301. Optionally, a prompt message is displayed near the mark 301A to prompt that the symptom details can be viewed through the mark 301A.

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

[0139] 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 the 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 the period 1 (such as menstruation) in which date c is located, and the position of date c in period 1 (such as the 5th 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 of this day can be empty.

[0140] In some embodiments, Figure 3D As shown, the user interface 14 also includes a prediction reminder setting bar 204, which is used to set reminder items for the physiological cycle; Figure 3Dand Figure 3H As shown, after detecting that the user clicks on the setting bar 204, the electronic device 200 displays the setting interface 17, which includes switch controls for one or more reminder items, such as a switch control 501 for early menstrual period prediction reminder, a switch control 502 for the first day of menstrual period reminder, and a switch control 503 for the last day of menstrual period reminder. The switch control (such as the switch control 501) has two states, open and closed. The user clicks the switch control to switch the switch control between the two states; when the switch control corresponding to the reminder item switches from the unopened state to the open state, the reminder item is opened; when the switch control corresponding to the reminder item switches from the open state to the unopened state, the reminder item is closed.

[0141] In some embodiments, Figure 3H As shown, when the switch control 501 for the menstrual period prediction reminder is in the on state, the user interface 16 also includes a setting control 504, and the setting control 504 is used to receive the number of days X of advance reminder set by the user. Figure 3H As shown, the number of days set by the setting control 504 is 3. If the electronic device 200 predicts that the menstrual period will arrive in 3 days, the advance reminder information is output to remind the user in advance that the menstrual period will arrive in 3 days. Figure 3H As shown, when the switch control 501 of the menstrual period prediction reminder is in the on state, the user interface 16 also includes timing options for the advance prediction reminder, such as timing option 506 and timing option 507. Timing option 506 is used to indicate that the timing of the advance prediction reminder is the Xth day before the menstrual period (for example, the 3rd day); timing option 506 is used to indicate that the timing of the menstrual period prediction reminder is every day of the X days before the menstrual period (for example, the 3rd day), that is, when it is detected that the number of days to the menstrual period is less than or equal to X, the prompt information is output. Only one of timing option 506 and timing option 507 is in the selected state, and the user can switch the currently selected timing option by clicking the timing option.

[0142] 3A to 3H An example of a user adding physical symptoms and setting reminders for a physiological cycle is shown. The embodiment of the present application does not specifically limit the operations of adding physical symptoms and setting reminders, and they can also be implemented through other operations.

[0143] In some embodiments, prompt information (e.g., advance prompt information) may be output by the electronic device 200 and / or the smart bracelet 100. In one implementation, when the electronic device 200 detects that the timing of the menstrual period 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 timing of the menstrual period 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 predicts the menstrual period according to the physiological characteristics of the user. When the server detects that the timing of the menstrual period 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 indicate the output of 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 electronic device 200 predicts the menstrual period according to the physiological characteristics of the user. When the electronic device 200 detects that the time for early menstrual period prediction reminder has arrived, the server of the sports health APP 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 reminder information. Similarly, the first day reminder information and the last day reminder information of the subsequent embodiments can also refer to the relevant implementation of the above-mentioned advance reminder information.

[0144] In some embodiments, along with the advance reminder information, a confirmation control and a correction control are also displayed. The confirmation control is used to indicate that the user has confirmed that he has known the advance reminder information, and the correction control is used to indicate that the menstruation has begun and the date of the first day of the menstruation is marked. It can be understood that due to various factors, the menstruation fluctuates, and there may be a situation such as "when the user is reminded that the menstruation is about to come X days in advance, the user's menstruation has already arrived"; in this case, the user can manually feedback the first day of the menstruation through the correction control. Through the advance reminder information of the menstruation, the user can be reminded in time that the menstruation is about to come, so as to make psychological preparations, material preparations and itinerary arrangements in advance.

[0145] For example, FIG. 4A to FIG. 4C The relevant user interface of the smart bracelet 100 for early prediction reminder is shown.

[0146] like Figure 4A As shown, on July 3, the smart bracelet 100 displays advance reminder information 601, confirmation control 602 and correction control 603. Figure 4A As shown, the content presented in the confirmation control 602 may include "Got it"; after detecting that the user clicks the confirmation control 602, the smart bracelet 100 displays the main interface 17, returns to the previous interface (i.e., the interface displayed before displaying the advance reminder information 601), or displays the calendar of the physiological cycle. Figure 4B As shown, the presentation content of the correction control 603 may include "menstrual period has started"; after detecting that the user clicks the correction control 603, the smart bracelet 100 displays the user interface 18, and the user interface 18 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, the area 604A in the date correction control 604 is used to display the selected date, and the user can slide up and down in the display area of ​​the date correction control 604 to view more dates, and move the actual date of the first day of the menstrual period to the area 604A. Figure 4C As shown, 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, which indicates the user's corrected first day of the menstrual period.

[0147] In some embodiments, Figure 3H As shown, when the switch control 502 for the first day of the menstrual period reminder is in the on state, if the first day of the menstrual period is detected, the first day prompt information is output to prompt the user that the first day of the menstrual period has been detected and the preliminary calibration has been completed. The above-mentioned completion of the 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 in the calendar of the physiological cycle; the calibrated first day of the menstrual period and the corresponding menstrual period trend value will be used as historical data to achieve subsequent menstrual period prediction. In some embodiments, along with the first day prompt information, a confirmation control and a correction control are also displayed. The confirmation control is used to indicate that the user has confirmed that he has been informed of the above first day prompt information, and the correction control is used to manually correct the date of the automatically calibrated first day of the menstrual period.

[0148] For example, FIG. 5A to FIG. 5E The relevant user interface of the smart bracelet 100 for reminding the first day of menstruation is shown.

[0149] like Figure 5A As shown, the smart bracelet 100 displays the first day reminder information 701, the confirmation control 702 and the correction control 703. Figure 5A As shown, after detecting that the user clicks the confirmation control 702, the smart bracelet 100 displays the main interface 17, returns to the previous interface (i.e., the interface displayed before displaying the first day prompt information 701), or displays the calendar of the physiological cycle. Figure 5B As shown, after detecting that the user clicks the correction control 703, the smart bracelet 100 displays the user interface 19, and the user interface 19 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.

[0150] In some embodiments, the date correction control 704 includes date options for the current date and previous dates (e.g., July 7), and 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. Figure 5B and Figure 5C As shown, when a downward sliding operation on the date correction control 704 is detected, the date option corresponding to July 7 is moved to area 704A; after detecting an operation on the confirmation control 705 (such as a click operation), the smart bracelet 100 updates the first day of the menstrual period (such as July 8) of the most recent menstrual period to the date currently displayed in area 704A (i.e., July 7), and displays the menstrual cycle calendar 706, which indicates the first day of the menstrual period after the user's correction.

[0151] In some embodiments, see Figure 5B The date correction control 704 may also include an option 704C for indicating that the menstrual period has not started, and the option 704C may be used to cancel the first day of the menstrual period marked in the most recent menstrual period. Figure 5B and Figure 5D , when an upward sliding operation is detected on the date correction control 704, option 704C is moved to area 704A; after an operation (such as a click operation) is detected on the confirmation control 705, the smart bracelet 100 cancels the first day of the menstrual period (such as July 8) that has been marked for the most recent menstrual period. In some embodiments, option 704C for indicating that the menstrual period has not started does not need to be displayed in the date correction control 704, such as Figure 5E As shown, the correction control 707 for indicating that the menstrual period has not started can also be directly displayed along with the first day prompt information 701; after detecting that the user detects an operation (such as a click operation) acting on the correction control 707, the smart bracelet 100 directly cancels the first day of the menstrual period that has been marked for the most recent menstrual period. It can be understood that after the user feedbacks that the menstrual period has not started, the first day of the current menstrual period will continue to be detected, and a reminder will be given again after the first day of the menstrual period is detected.

[0152] In some embodiments, Figure 3HAs shown, when the switch control 503 for the menstrual end date reminder is in the on state, if the menstrual end date is detected, the end date reminder information is output to prompt the user that the menstrual end date has been detected and the preliminary calibration has been completed. The above-mentioned completion of the preliminary calibration may include recording the detected menstrual end date and marking the date as the menstrual end date of the menstrual period on the calendar of the physiological cycle; the calibrated menstrual end date 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 date reminder information, a confirmation control and a correction control are also displayed. The confirmation control is used to indicate that the user has confirmed that he has been informed of the above end date reminder information, and the correction control is used to manually correct the date of the automatically calibrated menstrual end date.

[0153] In one implementation, if the current date is detected as the end of the menstrual period, then the end of the day reminder information is output on the current day. In another implementation, in view of the intermittent menstrual blood flow at the end of the menstrual period, in order to avoid the user being uncertain whether the menstrual period will end completely today, the end of the day reminder information is output on the Yth (for example, 1, 2, or 3) day after a date is detected as the end of the menstrual period, and the end of the day reminder information indicates the detected end of the day.

[0154] For example, FIG. 6A to FIG. 6E The relevant user interface of the smart bracelet 100 for reminding the end of the menstrual period is shown.

[0155] like Fig. 6A As shown, the smart bracelet 100 displays a doomsday reminder message 801, a confirmation control 802, and a correction control 803. Fig. 6A After detecting that the user clicks 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 prompt message 801 is displayed), or displays the calendar of the physiological cycle. Figure 6B As shown, after detecting that the user clicks the correction control 803, the smart bracelet 100 displays the user interface 20, and the user interface 20 includes a date correction control 804 and a confirmation control 805; the date correction control 804 is used to select the last day of the menstrual period.

[0156] In some embodiments, the date correction control 804 includes date options for the current date (e.g., July 13) and previous dates, and 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 day of the menstrual period to area 804A. Figure 6B and Figure 6CAs shown, when a downward sliding operation on the date correction control 804 is detected, the date option corresponding to July 12 is moved to area 804A; after detecting an operation on the confirmation control 805 (such as a click operation), the smart bracelet 100 updates the last marked menstrual period (such as July 11) to the date currently displayed in area 804A (i.e., July 12), and displays the menstrual cycle calendar 806, which indicates the last corrected menstrual period of the user.

[0157] In some embodiments, reference Figure 6B The date correction control 804 may also include an option 804C for indicating that the menstrual period has not ended, and the option 804C may be used to cancel the last menstrual period date marked. Figure 6B and Fig.6D , 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 menstrual period (e.g., July 11) that has been marked for the most recent menstrual period. In some embodiments, option 804C for indicating that the menstrual period has not ended does not need to be displayed in the date correction control 804, such as Fig. 6E As shown, the end-of-period reminder information may also be directly accompanied by a control 807 for indicating that the menstrual period has not ended; after detecting that the user has detected an operation (such as a click operation) acting on the control 807, the smart bracelet 100 directly cancels the end-of-period marked for the most recent menstrual period. It can be understood that after the user feedbacks that the menstrual period has not ended, the end-of-period detection continues, and the reminder is given again after the end-of-period detection.

[0158] 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 displayed in one or more forms such as text, pictures, animated pictures, videos, etc.; it is not limited to the display screen, and the smart bracelet 100 can also output the above prompt information through an audio output device (such as a speaker or Bluetooth headset), which is not specifically limited here. The embodiment of the present application does not specifically limit the operation of correcting the first day / last day of the menstrual period, and the operation of canceling the marked first day / last day of the menstrual period. FIG. 4A to FIG. 6E This is an example provided by the embodiment of the present application and should not be construed as limiting the present application. In the embodiment of the present application, the electronic device 200 may also output the above prompt information, and the above prompt information in the electronic device 200 may be presented as a notification message in the notification bar, a multimedia message, or information in the user interface of the sports health APP, etc.

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

[0160] For example, Fig. 7A A method flow of a menstrual management method of this program was proposed. Figure 7B A specific embodiment of the menstrual management method is given. 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, and the subsequent embodiments are exemplified by taking the electronic device 200 as an example. The method flow includes part or all of steps S101 to S119.

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

[0162] In the embodiment of the present application, the menstrual trend value of a day indicates the degree to which the day approaches the menstrual peak period. In some embodiments, the electronic device 200 determines the menstrual trend value of the current date (e.g., date c) based on the physiological characteristic data of K physiological characteristics acquired in the past N days. In one implementation, the above-mentioned recent N days include date c. In one implementation, the above-mentioned recent N days do not include date c.

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

[0164] 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 the difference between adjacent normal cardiac cycles (RMSSD), 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.

[0165] In some embodiments, K kinds of physiological characteristics of the user on date c are obtained based on the physiological data of the user in a resting state on date c. The resting state may refer to a state in which the user is in a relatively static state and is not affected by factors such as muscle activity and mental tension; the above-mentioned physiological sensors and / or motion sensors (such as acceleration sensors, gyroscope sensors, 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 (such as all sleep states on date c, deep sleep states on date c, or night sleep states on date c); the above-mentioned physiological sensors and / or motion sensors can be used to detect whether the user has entered a sleep state; and the physiological characteristics of the user on date c are determined based on the physiological data collected in the sleep state. The above-mentioned physiological characteristics in 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 (such as a sleep state) can refer to the existing implementation method, and the embodiments of the present application do not specifically limit this.

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

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

[0168] In some embodiments, the 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 the 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. For example, Figure 8 A LSTM-based learning model 1 is shown, wherein the input layer network of the learning model 1 includes N LSTM units, wherein the i-th LSTM unit among the N LSTM units is used to input the i-th column in a physiological feature sequence matrix of K rows and N columns.

[0169] In some embodiments, before using the trained learning model 1 to obtain the menstrual trend value of date c, the physiological characteristic data of the past N days that have been obtained are preprocessed for each physiological characteristic; the above preprocessing includes one or more of bandpass filtering, outlier removal and interpolation, bandpass filtering is used to remove interference data, outlier removal is used to remove data that does not conform to the physiological characteristic value range, and interpolation processing is used to supplement undetected missing data or replace outliers. Then, the physiological characteristic data of the past N days of K kinds of physiological characteristics after preprocessing and the trained learning model 1 are used to obtain the menstrual trend value of date c.

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

[0171] 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, and the menstrual trend value of each day in a 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 that a physiological cycle has ended, the historical physiological feature sequence is also updated based on the physiological feature sequence detected in the physiological cycle. Optionally, the length of the historical physiological feature sequence and the historical menstrual trend sequence is the same, and the historical physiological feature sequence indicates the physiological feature value of each day in a historical physiological cycle after comprehensive statistics. In some embodiments, the aforementioned Figure 3E The historical menstrual trend curve shown is obtained after interpolation processing of the historical menstrual trend series; Figure 3E and Figure 3F The historical physiological characteristic curve shown is obtained after interpolation processing of the historical physiological characteristic sequence.

[0172] It can be understood that the historical menstrual trend sequence is a discrete sequence that is based on the comprehensive statistics of the relevant data of the user's historical physiological cycle and can characterize the change trend of the menstrual trend value of a physiological cycle of the current user. The historical physiological feature sequence is a discrete sequence that is based on the comprehensive statistics of the relevant data of the user's historical physiological cycle and can characterize the change trend of the physiological feature value of a physiological cycle of the current user.

[0173] In one implementation, the first day of the historical physiological 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. Fig. 9The historical menstrual trend curve shown in (a) is generated based on the historical menstrual trend sequence. The historical menstrual trend curve indicates that the length of the historical physiological cycle P1 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 trend values ​​of the first and last days of the historical physiological cycle are the lowest points in a physiological cycle; the menstrual period is located in the middle of the historical physiological cycle, and the corresponding menstrual trend value includes the highest point of the menstrual trend value. Exemplarily, refer to Fig. 9 The historical menstrual cycle trend curve shown in (b) indicates that the length P1 of the historical physiological cycle is 28 days, and the menstrual cycle trend values ​​on the first day and the 28th day are the smallest; the menstrual period is from the 11th to the 17th day of the historical physiological cycle. Fig. 9 It can be seen that, generally, the farther the 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 (for example, the 1st) is the largest.

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

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

[0176] In some embodiments, the menstrual trend sequence of the most recent J (e.g., 12) historical physiological cycles is input into the trained learning model 4, and the learning model 4 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 the trained learning model 5, and the learning model 5 outputs the historical menstrual trend sequence and the historical physiological feature sequence.

[0177] In some embodiments, after obtaining the historical menstrual trend sequence, the menstrual range within the historical physiological cycle after comprehensive statistics is determined according to the menstrual trend values ​​of each day in the historical menstrual trend sequence. For example, 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 in the above w days is greater than the first day threshold (e.g., 0.85) for the first time corresponds to the first day of the menstrual period; 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 in the above u days is less than the last day threshold (e.g., 0.85) for the first time corresponds to the last day of the menstrual period.

[0178] In some embodiments, the menstrual trend sequence and the calibrated menstrual range of the most recent J (e.g., 12) historical physiological cycles are input into and trained into the learning model 4, and the learning model 4 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 the calibrated menstrual range of the most recent J (e.g., 12) historical physiological cycles are input into and trained into the learning model 5, and the learning model 5 outputs the historical menstrual trend sequence, the historical physiological feature sequence, and the menstrual range of the historical physiological cycle after comprehensive statistics.

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

[0180] 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 (e.g., 12) historical physiological cycles, including: interpolating the sequences with a sequence length less than cycle length 1 in the J menstrual trend sequences, wherein 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 (e.g., menstrual trend sequence 2) are respectively aligned in the time domain with the menstrual trend sequence 1; after the alignment, the ath point in the menstrual trend sequence 1 corresponds to one or more continuous points in the menstrual trend sequence 2, and the average value of the trend values ​​corresponding to the one or more continuous points is determined as the value P of the ath point at the corresponding point of the menstrual trend sequence 2a2 ; Get the value P of the a-th point above a1 And the value P of the a-th point in the corresponding points of other J-1 trend sequences ai The average value of , i is greater than 2 and less than or equal to J, is taken as the value of the ath point in the historical menstrual trend series.

[0181] 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 among the J physiological feature sequences (e.g., 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 one of the sequences with a length of cycle length 1 is selected as the output sequence. The physiological characteristic sequence trend sequence 1 is taken as the reference sequence, and the other J-1 sequences are respectively the physiological characteristic sequence trend sequence 2 to the physiological characteristic trend sequence J; using the preset algorithm 3, the other physiological characteristic sequences (such as the menstrual trend sequence 2) are respectively aligned with the physiological characteristic trend sequence 1 in the time domain; after the 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 corresponding points of 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 ath point in the historical physiological characteristic sequence.

[0182] The implementation method of statistically analyzing the historical menstrual trend sequence and the historical physiological characteristic sequence is not limited to the above-mentioned implementation 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.

[0183] In some embodiments, the historical menstrual trend sequence is updated according to the detected menstrual trend sequence of all historical physiological cycles of the current user. In some embodiments, the historical physiological feature sequence is updated according to the detected physiological feature sequence of all historical physiological cycles.

[0184] Fig. 9 The displayed menstrual trend curve is a continuous historical menstrual trend curve generated by interpolating the discrete menstrual trend sequence. Similarly, after interpolating the historical physiological characteristic sequence, a continuous historical physiological characteristic curve can be obtained, for example Figure 3E and Figure 3FDescribes the historical physiological characteristic curve.

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

[0186] like Figure 7B As shown, 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.

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

[0188] Abnormal situation 1: Change user.

[0189] 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 obviously contrary to the historical indicators of the historical users (that is, at least M physiological characteristic data are detected to be abnormal), it is determined that abnormal situation 1 is detected. Among them, 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.

[0190] In some embodiments, the one or more physiological characteristic data include part or all of the menstrual trend value of the last H1 day, the physiological characteristic data of the last H2 day, and the physiological change trend of the last H3 day. The last H1 day, the last H2 day, and the last H3 day all include date c, and H1, H2, and H3 are positive integers. H1, H2, and H3 may be equal or unequal, and are not specifically limited here. For example, H1, H2, and H3 are all equal to 28.

[0191] In one implementation, the historical indicators of the historical user corresponding to the menstrual trend value of the last H1 days include a historical menstrual trend sequence; the historical menstrual trend sequence indicates the menstrual trend value of each day in 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 days, and the historical menstrual trend sequence includes P1 discrete points. The menstrual trend value of the last H1 days is compared with the historical menstrual trend sequence, including: obtaining sequence 1 corresponding to the menstrual trend value obtained in the last 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 corresponding to sequence 1 on the historical menstrual trend sequence, 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 the similarity threshold, the physiological characteristic data (i.e., the menstrual trend value of the last H1 days) is abnormal.

[0192] 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 in statistics P1 (for example, 28 days), or it can be less than P1 (for example, 7 days), and no specific limitation is made here.

[0193] In one implementation, the historical indicators of the historical user corresponding to the physiological characteristics of the past H2 days include a historical physiological characteristic sequence; for each physiological characteristic (such as body temperature, heart rate or heart rate variability), the historical physiological characteristic sequence is obtained, and the historical physiological characteristic sequence indicates the statistical physiological characteristic value of each day in a physiological cycle of the historical user; 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, the sequence 2 corresponding to the physiological characteristic data of the past H2 days is aligned in the time domain with the historical physiological characteristic sequence using a preset algorithm 1, so as to determine a sequence fragment 2 corresponding to the sequence 2 on the historical physiological characteristic sequence, and the fragment includes H2 continuous discrete points; after alignment, the similarity between the sequence 2 and the sequence fragment 2 is determined using a preset algorithm 2; if the similarity corresponding to at least one or all physiological characteristics is less than the similarity threshold, the physiological characteristic data (i.e., the physiological characteristic data of the past H2 days) is abnormal. The above H2 can be equal to P1 (for example, 28 days) or less than P1 (for example, 7 days), which is not specifically limited here.

[0194] In one implementation, the historical indicators of historical users corresponding to the physiological change trends 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), the 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 last H3 days is compared with the historical change trend sequence, including: for each physiological characteristic, a sequence 3 of the change trend corresponding to the physiological characteristic data of the last H3 days is obtained, and the value of the j-1th point of the sequence 3 indicates the difference between the physiological characteristics of the j-1th day and the j-1th day in the last H3 days, and 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; the sequence 3 is aligned with the historical change trend sequence in the time domain using the preset algorithm 1, so as to determine the value 2 of the point corresponding to the last point of the sequence 3 on the historical change trend sequence; determine the difference 1 between the value 1 and the value 2; if the difference 1 corresponding to at least one or all physiological characteristics is greater than the preset change threshold, then the physiological characteristic data (i.e., the physiological change trend of the last H3 days) is abnormal. The above H3 can be equal to P1 (for example, 28 days) or less than P1 (for example, 7 days), which is not specifically limited here.

[0195] In one implementation, abnormal situation 1 is detected, and abnormal situation 1 is prompted to the user on date c. In one implementation, 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 there is a user change; abnormal situation 1 is not prompted to the user until mark 1 is marked for V consecutive days (e.g., 3 days).

[0196] In some embodiments, the abnormal situation 1 is prompted to the user, including: outputting prompt information 3, prompt information 3 is used to prompt whether to confirm the change of user when detecting that the smart bracelet 100 has changed the user; 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, re-counts the historical menstrual trend sequence and historical physiological feature sequence for the new user, thereby generating a new user portrait 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 pop up the above prompt information 3 after the user opens the sports health APP.

[0197] For example, see Fig. 10A After detecting the abnormal situation 1, a notification message 903 is displayed on the notification center interface 21, and the notification message 903 includes the above-mentioned prompt information 3; Fig. 10BAs shown, after detecting that the user clicks the notification message 903, the electronic device 200 opens the user interface 14 of the physiological cycle 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 the confirmation control 904A, the user of the physiological cycle service is switched to a new user. For example, Fig. 10B As shown, after detecting that the user clicks the confirmation control 904A, the user management interface 22 can 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 the new user; after collecting the menstrual period trend value 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 reminder and menstrual period recalibration.

[0198] For example, Fig. 10C As shown, when the user management interface 22 includes multiple users, the user management interface 22 may also include options for each user corresponding to the physiological cycle, such as option 906 for user 1 (i.e., new user) and option 907 for user 2 (i.e., historical user); only one option for each user is in a selected state, for example, option 906 for user 1 is currently in a selected state, and the selected user is the current user of the physiological cycle function service. The user can manually switch the options of the currently selected user. After changing users this time, if the user switches back to user 2, in order to provide menstrual period management for user 2 in a timely manner, the user can click on option 907 of user 2; in response to the user's click operation, the electronic device 200 can switch option 907 of user 2 to a selected state, and option 906 of user 1 to an unselected state, that is, switch the current user to user 2. As shown Fig. 10D As shown, after the user completes editing the basic information of the new user, the user can return to the physiological cycle user interface 14, and the calendar 201 in the user interface 14 will be used to display the physiological cycle of the new user.

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

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

[0201] 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 abnormalities are detected, it is determined that abnormal situation 2 is detected. Among them, 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.

[0202] In one implementation, the female standard index corresponding to the menstrual trend value of the last H1 days includes the statistically standard menstrual trend sequence of women; the standard menstrual trend sequence indicates the standard menstrual trend value of each day in a physiological cycle; the statistical standard physiological cycle number of days is P2 days (e.g., 28), and the standard menstrual trend sequence includes P2 discrete points. The implementation of comparing the menstrual trend value of the last H1 days with the standard menstrual trend sequence can refer to the implementation of comparing the menstrual trend value of the last H1 days with the historical menstrual trend sequence, which will not be repeated here.

[0203] In one implementation, the female standard index corresponding to the physiological characteristics of the past H2 days includes a standard physiological characteristic sequence; for each physiological characteristic (such as body temperature, heart rate or heart rate variability), a standard physiological characteristic sequence is obtained, and the standard physiological characteristic sequence indicates the statistical standard physiological characteristic value of each day in a physiological cycle; the standard physiological characteristic sequence includes P2 discrete points. The implementation of comparing the physiological characteristic data of the past H2 days with the standard physiological characteristic sequence can refer to the implementation of comparing the physiological characteristic data of the past H2 days with the historical physiological characteristic sequence, which will not be repeated here.

[0204] In one implementation, the female standard index corresponding to the physiological change trend of the past H3 days includes a standard change trend sequence; for each physiological characteristic (such as body temperature, heart rate or heart rate variability), the standard change trend sequence is obtained, and 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 of 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 of the past H3 days with the standard change trend sequence can refer to the implementation of comparing the physiological change trend of the past H3 days with the historical change trend sequence, which will not be repeated here.

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

[0206] In some embodiments, prompting the user of abnormal situation 2 includes: outputting prompt information 2, where prompt information 2 is used to prompt whether to turn off the functions related to the physiological cycle, including menstrual management. The electronic device 200 can directly display the prompt information 2 through the notification message of the notification center, or the prompt information 2 can be popped up after the user opens the sports health APP. For example, Fig.11A As shown, 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-mentioned prompt information 2; Fig. 11B As shown, 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-mentioned prompt information 2, and may also include a confirmation control 902A and a close control 902B. The content of the prompt information 2 may include "whether to turn off the related functions of the physiological cycle, after turning it off, the physiological cycle card will be removed, and you can add it yourself when needed"; the close control 902B is used to close the prompt box 902; as shown in FIG. Fig. 11C As shown, after detecting that the user clicks the confirmation control 902A, the physiological cycle related functions (such as menstrual period management) are turned off, and the physiological cycle card 108 in the user interface 12 of the sports health APP is removed.

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

[0208] Specifically, it is detected whether the current user wearing the detection device (such as the smart bracelet 100) is pregnant. In some embodiments, one or more physiological characteristic data of the user is obtained, and the trained learning model 2 is input, and the output information of the learning model 2 indicates whether the user is pregnant. The learning model 2 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 pregnancy condition, it is determined that abnormal situation 3 is detected.

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

[0210] 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 at a low level, that is, they are all less than a 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 a preset temperature 1 (for example, 36.8).

[0211] In one implementation, the one or more physiological characteristic data include the menstrual trend value of the last T1 day and the physiological characteristic data of the last T2 day. In one implementation, for each physiological characteristic, a statistical physiological characteristic sequence of pregnancy in the i-th month of a woman's pregnancy is obtained, and i is a positive integer from 1 to 10. For each physiological characteristic, the physiological characteristic data of the last T2 day is compared with the physiological characteristic sequence of the pregnancy of the i-th month to determine the similarity of the physiological characteristic corresponding to the i-th month; and the maximum value of the similarities of 10 months is determined as the similarity corresponding to the physiological characteristic. The above pregnancy conditions include that the similarity corresponding to each physiological characteristic is greater than a preset threshold, and the menstrual trend values ​​of the last T1 day are all at a low level. How to compare the physiological characteristic data of the last T2 day with the physiological characteristic sequence of the pregnancy of the i-th month to determine the similarity of the physiological characteristic corresponding to the i-th month can refer to the aforementioned implementation method of comparing the physiological characteristic data of the last H2 days with the historical physiological characteristic sequence, which will not be repeated here.

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

[0213] In some embodiments, the abnormal situation 3 is prompted to the user, including: outputting prompt information 4, prompt information 4 is used to prompt whether to switch the physiological cycle management mode to the pregnancy mode when the user is detected to be pregnant; in the pregnancy mode, the functions related to menstrual management are no longer provided, and the functions related to pregnancy management are provided instead. The electronic device 200 can directly display the prompt information 4 through the notification message of the notification center, or the prompt information 4 can be popped up after the user opens the sports health APP.

[0214] For example, see Fig. 12A After detecting the abnormal situation 3, a notification message 908 is displayed on the notification center interface 21, and the notification message 908 includes the above-mentioned prompt information 4; Fig. 12BAs shown, after detecting that the user clicks the notification message 908, the electronic device 200 opens the physiological cycle user interface 14 of the sports health APP and displays a prompt box 909. The prompt box 909 includes the above-mentioned 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 the prompt box 909, and the input box 909C is used to enter the pregnancy date; Fig. 12C As shown, after detecting that the user clicks the confirmation control 909A, the menstrual cycle mode is switched to the pregnancy mode, and the user interface 23 of the pregnancy mode is displayed; in the user interface 23, combined with the pregnancy date entered by the user in the input box 909C, the user is provided with relevant functions for pregnancy management, such as predicting and planning prenatal check-up times, recommending diets and exercise methods for different months of pregnancy, etc.

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

[0216] Specifically, it is detected whether the current user wearing the detection device (such as the smart bracelet 100) is ill. In some embodiments, one or more physiological characteristic data of the user is obtained, and the trained learning model 3 is input, and 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 an abnormal situation 4 is detected.

[0217] In some embodiments, the one or more physiological characteristic data include part or all of the menstrual trend value of the last R1 day, the physiological characteristic data of the last R2 day, and the physiological change trend of the last R3 day. The last R1 day, the last R2 day, and the last 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 here. For example, R1, R2, and R3 are all equal to 22.

[0218] In some embodiments, the one or more physiological characteristic data include the menstrual trend value of the last R1 days, the length of the most recent physiological cycle, the length of the historical physiological cycle corresponding to the historical menstrual trend sequence, and the physiological characteristic data for detecting whether the user is pregnant; the last R1 days include date c, and R1 is a positive integer. For example, R1 is equal to 22. The illness condition includes: the menstrual trend value of the last R1 days has been at a low level, the user is not detected to be pregnant, and the length of the most recent physiological cycle is significantly reduced or increased compared to the length of the historical physiological cycle corresponding to the historical menstrual trend sequence, that is, the difference between the two is greater than a preset number of days (for example, 10).

[0219] Similar to abnormal situation 1, abnormal situation 4 may be prompted to the user on date c after abnormal situation 4 is detected, or abnormal situation 4 may be prompted to the user only after abnormal situation 4 is marked for V consecutive days (eg, 3 days).

[0220] 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 result is only for reference. In some embodiments, the prompt message 5 is also used to prompt that if the user has confirmed that he is ill, he can upload relevant medical examination reports; 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.

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

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

[0223] S103. Based on the menstrual trend value 1, update the menstrual data 1, where the 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's menstrual trend value, the first day, last day and physical symptoms of the menstrual period predicted based on the future menstrual trend value.

[0224] In the embodiment of the present application, after the electronic device 200 obtains the menstrual trend value 1, the menstrual trend value corresponding to the recorded date c is the menstrual trend value 1, and the updated Figure 3E The menstrual trend value corresponding to date c in the menstrual trend curve shown.

[0225] In some embodiments, the future menstrual trend value predicted based on the menstrual trend value of date c includes: determining sequence 4 corresponding to the menstrual trend values ​​obtained in the past C days; using a preset algorithm 1 to time-domain align sequence 4 with the historical menstrual trend sequence, thereby determining a point on the historical menstrual trend sequence corresponding to the last point of sequence 4 (i.e., the point corresponding to date c), which corresponds to the nth day of the historical physiological cycle. The menstrual trend value of the future f-th day is predicted to be the menstrual trend value corresponding to the (n+f)%P1th point of the historical menstrual trend sequence. For example, see Fig.13 , Fig.13 (a) shows a historical menstrual trend curve corresponding to a historical menstrual trend sequence; Fig.13 (a) and (b) show the sequence 4 corresponding to the menstrual trend value of the last C days. Fig.13 In (a), C is equal to the number of days from date a to date c. Fig.13 In (b), C is equal to the number of days of the physiological cycle corresponding to the historical menstrual trend series; Fig.13 As shown in (b) and (c), after sequence 4 is aligned with the historical menstrual trend sequence, date c corresponds to the 26th day of the historical menstrual trend sequence.

[0226] In some embodiments, based on the predicted first day of menstruation based on the future menstruation trend value, the historical menstruation trend sequence indicates the position of the menstruation in the physiological cycle. Fig.13 The historical menstrual trend sequence shown in (a) indicates that the menstrual period is from the 1st to the 6th day of the physiological cycle, and date c corresponds to the 26th day of the historical menstrual trend sequence. Therefore, it is predicted that the first day of the next menstrual period will be the 3rd day after date c, and the last day of the next menstrual period will be the 9th day after date c.

[0227] For example, see Fig.13 (a) predicts the menstrual trend curve after date c, including the curve after the point corresponding to date c in the historical menstrual trend curve; the menstrual trend value curve corresponding to the date beyond the current physiological cycle recycles the historical menstrual trend curve. Then, update Figure 3E The menstrual trend curve shown is the menstrual trend curve after date c.

[0228] In some embodiments, the electronic device 200 records the physical symptoms corresponding to each day of the physiological cycle corresponding to the historical menstrual trend sequence; after determining the point corresponding to date c in the historical menstrual trend sequence (for example, the 26th day), the physical symptoms corresponding to date c are determined to be the physical symptoms corresponding to the 26th day. Figure 3G , the electronic device 200 updates the physical symptoms corresponding to date c in the user interface 16.

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

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

[0231] 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. Figure 4A, the electronic device 200 instructs the smart bracelet 100 to display advance prompt information, namely, advance prompt information 601.

[0232] In some embodiments, the electronic device 200 may receive a user input operation to enable a prediction reminder before a menstrual period, set the number of days X for the advance reminder and / or the timing of the reminder. Figure 3H The user can use the switch control 501 to start the advance prediction reminder of the menstrual period; the user can set the value of X in advance through the setting control 504; the user can use the timing option 506 to set the advance reminder of the menstrual period on each of the X days before the menstrual period, or use the timing option 507 to set the advance reminder of the menstrual period on the Xth day before the menstrual period.

[0233] In some embodiments, see Figure 7B In S104, preset condition 2 includes that the menstrual trend value is greater than threshold 1. In some embodiments, preset condition 1 includes that the difference between the menstrual trend value and threshold 1 is less than preset value 1, and 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, and 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 the historical menstrual trend sequence.

[0234] In some embodiments, sequence 5 corresponding to the menstrual trend value of the last C days is aligned in 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) of the day in sequence 5 on the historical menstrual trend sequence is the point corresponding to the 3rd day before the menstrual period.

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

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

[0237] In some embodiments, if the user sees the advance reminder message, the menstrual period has already arrived, and the user can enter the first day of the menstrual period by inputting operation 1. Figure 4B and Figure 4C , along with the advance reminder information 601, a correction control 603 is also displayed; input operation 1 includes some or all of the following: an input operation (such as a click operation) acting on the correction control 603, an input operation (such as a slide operation to select date 4) acting on the date correction control 604, and an operation (such as a click operation) acting on the confirmation control 605. The date correction control 604 is used to select the first day of the menstrual period, and the confirmation control 605 is used to confirm the selected date 4.

[0238] In some embodiments, reference Figure 4A Along with the advance prompt information 601, a confirmation control 602 is also displayed; the confirmation control 602 is used to indicate that the user confirms that he has known the above-mentioned advance prompt information.

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

[0240] S107, when today's date is date 2 and menstrual trend value 2 meets preset condition 2, date 2 is calibrated as the first day of the current menstrual period (menstrual period 1).

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

[0242] In the embodiment of the present application, after determining that today is the first day of the menstrual period according to the menstrual trend value of the current date, the user is reminded through the first day reminder information. Figure 5A , the electronic device 200 instructs the smart bracelet 100 to display the first day reminder information 701. In some embodiments, see Figure 3H The user can turn on the first day reminder of the menstrual period through the switch control 502.

[0243] In some embodiments, see Figure 7B In S107, preset condition 2 includes that the menstrual trend value is greater than the first day threshold. In some embodiments, preset condition 2 includes that the menstrual trend value has increased 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) is greater than the first day threshold (e.g., 0.85) for the first time among the w days.

[0244] In some embodiments, reference Fig.13 (a), the sequence 5 corresponding to the menstrual trend value of the last C day is aligned in the time domain with the historical menstrual trend sequence. Preset condition 1 includes: after the above alignment, the point corresponding to the current date (i.e., date 2) in sequence 5 on the historical menstrual trend sequence is the point corresponding to the first day of the menstrual period.

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

[0246] In some embodiments, reference Figure 5B and Figure 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, an input operation (such as a click operation) acting on the confirmation control 702 can indicate that the prompted first day of menstruation is correct.

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

[0248] In some embodiments, reference Figure 5B and Figure 5C , along with the first day prompt information 701, a correction control 703 is also displayed. 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 acting on the correction control 703. Input operation 3 may include some or all of the following: an input operation (such as a click operation) acting on the correction control 703, an input operation (such as a sliding operation to select date 5) acting on the date correction control 704, and an operation (such as a click operation) acting on the confirmation control 705. The date correction control 704 is used to select the corrected first day of the menstrual period (i.e., date 5), and the confirmation control 705 is used to confirm the selected date 5.

[0249] S111. When input operation 4 is detected, date 2 is cancelled from being marked as the first day of the menstrual period.

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

[0251] In some embodiments, reference Figure 5E Along with the first day prompt information 701, a correction control 707 indicating that the menstrual period has not started is also displayed. The input operation 4 may include an input operation acting on the correction control 707 (such as a click operation).

[0252] S112, when today's 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).

[0253] S113: Output doomsday prompt information.

[0254] In the embodiment of the present application, after determining that today is the last day of the menstrual period according to the menstrual trend value of the current date, the user is reminded through the end-of-day reminder information. Fig. 6A , the electronic device 200 instructs the smart bracelet 100 to display the doomsday reminder message 801. In some embodiments, see Figure 3H The user can turn on the reminder of the last day of the menstrual period through the switch control 503.

[0255] In some embodiments, see Figure 7B In S107, preset condition 2 includes that the menstrual trend value on the current date (e.g., date 2) is greater than the end-of-day threshold (e.g., 0.8), and the menstrual trend value on the current date and the previous date has continuously decreased for u (e.g., 3) days.

[0256] In some embodiments, see Figure 7B S107, preset condition 2 includes that the menstrual trend value of the current date and the previous date has increased for w consecutive days and decreased for u consecutive days (for example, 3), and the menstrual trend value of the current date (for example, date 2) among the above u days is less than the end-of-day threshold (for example, 0.8) for the first time.

[0257] In some embodiments, reference Fig.13 (b) aligns the sequence 5 corresponding to the menstrual trend value of the last day C with the historical menstrual trend sequence in the time domain. Preset condition 1 includes: after the above alignment, the point corresponding to the current date (i.e., date 3) in sequence 5 on the historical menstrual trend sequence is the point corresponding to the last day of the menstrual period.

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

[0259] In some embodiments, reference Figure 6B and Figure 6C , along with the predicted end of period prompt information 801, a confirmation control 802 is also displayed; input operation 5 includes an operation (such as a click operation) acting on the confirmation control 802. It can be understood that if the user determines that date 2 is the end of period 1, the input operation 5 acting on the confirmation control 802 can indicate that the prompted end of period is correct.

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

[0261] In some embodiments, reference Figure 6B and Figure 6C , along with the end-of-period prompt information 801, a correction control 803 is also displayed. If the menstrual period has arrived but the end-of-period date is detected to be incorrect, the user can correct the date of the end of the menstrual period by acting on the correction control 803. Input operation 6 may include some or all of the following: an input operation (such as a click operation) acting on the correction control 803, an input operation (such as a sliding operation to select date 6) acting on the date correction control 804, and an operation (such as a click operation) acting on the confirmation control 805. The date correction control 804 is used to select the corrected end-of-period date (i.e., date 6), and the confirmation control 805 is used to confirm the selected date 6.

[0262] S116: When input operation 7 is detected, date 3 is cancelled from being marked as the end of the menstrual period.

[0263] In some embodiments, reference Figure 6B and Fig.6D , the date correction control 804 can also be used to select option 804C indicating that the menstrual period has not ended. If the menstrual period has not ended, the user can cancel the marking of date 3 as the end of the menstrual period through option 804C. Input operation 7 may include some or all of the following: an input operation (such as a click operation) acting on the correction control 803, an input operation (such as a sliding operation to select option 804C) acting on option 804C in the date correction control 804, and an operation (such as a click operation) acting on the confirmation control 805.

[0264] In some embodiments, reference Fig. 6E Along with the end-of-day 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 acting on the correction control 807 (such as a click operation).

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

[0266] 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, execute S119; otherwise, execute S118.

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

[0268] 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 no feedback / confirmation on the calibrated first day and / or last day of menstrual period, or the calibrated first day and / or last day of menstrual period 1 are obviously wrong (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 recalibrated intelligently in combination with the menstrual trend value of day F 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 viewed the calibrated first day of menstrual period (for example, confirmed that the calibrated first day of menstrual period has been viewed through confirmation control 702). The menstrual period recalibrated in combination with the menstrual trend value of day F after the end of the menstrual period has a higher accuracy rate. In one implementation, on the Fth day after the end of the menstrual period, the sequence 6 corresponding to the menstrual trend value of the past X days is obtained, and the sequence 6 is aligned with the historical menstrual trend sequence in the time domain; after the alignment, the point corresponding to the first day of the menstrual period in the historical menstrual trend sequence on the sequence 6 is obtained, and the date corresponding to the point in the 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 the sequence 6 is obtained, and the date corresponding to the point in the sequence 6 is recalibrated as the last day of the menstrual period. Optionally, X is equal to P1.

[0269] In some embodiments, after the electronic device 200 preliminarily calibrates the menstrual period, if the user does not provide feedback or 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).

[0270] In some embodiments, after the smart recalibration, if the initially calibrated menstrual period is modified, a prompt message is output to prompt the user that the calibrated menstrual period is corrected and to view the corrected menstrual period. The time of the smart recalibration (i.e., the above F) can be preset by the user / electronic device 200.

[0271] S119, generating a menstrual period report based on the calibrated menstrual period 1.

[0272] After step S117 or S118 (i.e., intelligent recalibration), a physiological assessment report is generated based on the menstrual trend of the most recent physiological cycle, the physiological characteristics of the most recent physiological 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, etc.

[0273] 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 marked as 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 marked first day of the menstrual period is used to predict the future menstrual period.

[0274] 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 a 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.

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

[0276] The first electronic device may include the aforementioned electronic device 200, and may also 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. FIG. 4A to FIG. 4C According to the relevant description, 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.

[0277] In one implementation, when it is detected that the third date is the first day of a menstrual period, the third date is marked as the first day of a first 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 a menstrual period, and the second correction control is used to correct the first day of a menstrual period of the first menstrual period.

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

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

[0280] In one implementation, it also includes: in response to the sixth input operation, a first cancel option is also displayed, and 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 marked as the first day of the first menstrual period is canceled.

[0281] In one implementation, it 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 third date being marked as the first day of the first menstrual period.

[0282] The second prompt information may include the first day prompt information; the third date may include the date c or date 2; the fourth date may include the date 5; the fifth input operation may include the input operation 3; and the seventh input operation may include the input operation 4. FIG. 5A to FIG. 5E According to the relevant description, 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; the first cancel control may include correction control 707.

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

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

[0285] In one implementation, it also includes: in response to the ninth input operation, displaying date options for the sixth date; the eighth input operation also includes an operation acting on the date options for the sixth date.

[0286] In one implementation, it also includes: in response to the ninth input operation, a second cancel option is also 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.

[0287] In one implementation, it 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, and is used to cancel the fifth date being marked as the last day of the first menstrual period.

[0288] 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. FIG. 5A to FIG. 5E According to the relevant description, 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; the second cancel control may include control 807.

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

[0290] In one implementation, it also includes: updating and displaying a menstrual trend curve and a 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.

[0291] Among them, reference Figure 3E According to the relevant description, the menstrual trend curve may include the aforementioned menstrual trend curve 301; the first indication box may include a menstrual period mark 306.

[0292] 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 according to at least one historical physiological cycle.

[0293] In one implementation, it also includes: a first marker is displayed on the menstrual trend curve, the first marker 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 marker, a first interface is displayed, and the first interface is used to edit and display the physical symptoms corresponding to the current date.

[0294] Among them, reference Figure 3E According to the relevant description, the first identifier may include identifier 301A; the first interface may include user interface 16.

[0295] In one implementation, the K physiological characteristics include a first physiological characteristic, and also include: along with a 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 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.

[0296] In one implementation, the method further includes: detecting whether there is an abnormal situation based on the detected menstrual trend value of the user; and displaying fourth prompt information when an abnormal situation is detected, wherein the fourth prompt information is used to prompt the abnormal situation.

[0297] Among them, the abnormal situation includes any one of the aforementioned abnormal situations 1 to 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.

[0298] In one implementation, 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 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.

[0299] 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, the first day and the last day of the first menstrual period are recalibrated, C is greater than F, and C and F are both positive integers.

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

[0301] In one implementation, 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.

[0302] In one implementation, 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 third condition includes: the menstrual trend value on today's date and the previous dates has risen continuously for w days, and the menstrual trend value on today's date is greater than the first-day threshold for the first time in w days.

[0303] 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 rises for w consecutive days and then falls 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.

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

[0305] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.

[0306] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part 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, the process or function described in the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can 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. The available medium can 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 disk (SSD)), etc.

[0307] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0308] In short, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention shall be included in the protection scope of the present invention.

Claims

1. A menstrual management method, applied to a first electronic device, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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; in, 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, It is 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

Cited By

  • Menstrual period management method and related apparatus

    EP4674359A1

  • Menstrual period management method and related apparatus

    WO2024235262A1