Methods, devices, and electronic equipment for predicting fertile periods
By acquiring users' physiological parameters and menstrual cycle data, and combining this with the wearing time of wearable devices, the prediction method for the fertile window is dynamically adjusted. This solves the problem of inaccurate prediction of the fertile window using the calendar method, and improves the accuracy of the prediction and the user experience.
Patent Information
- Application Number
- CN202211184088.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-06-10
- Filing Date
- 2022-09-27
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2042-09-27
AI Technical Summary
Existing calendar-based methods for predicting fertile windows have low accuracy and are easily affected by factors such as emotional fluctuations, environmental changes, and changes in health conditions, leading to inaccurate predictions.
By acquiring users' physiological parameters and menstrual data, and combining this with the wearing time of wearable devices, the prediction method for the fertile window is dynamically adjusted. The initial window gradually shortens as the wearing time increases, thereby improving the accuracy of the prediction.
It enhances the accuracy of predicting the fertile window, improves the user experience and engagement, and helps users prepare for pregnancy more effectively.
Smart Images

Figure CN117243640B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart terminal technology, and in particular to a method, apparatus, and electronic device for predicting fertile periods. Background Technology
[0002] As female consumers pay more attention to preparing for pregnancy, pregnancy preparation products are gaining popularity and becoming increasingly sought after. Meanwhile, with the continuous upgrading of mobile internet infrastructure and changes in national lifestyles, more and more women are beginning to use women's health applications (APPs) to record and manage their health status. The proportion of women using health-related mobile applications is increasing year by year, approaching 60%, and the user base for women's health services has exceeded 250 million.
[0003] The most common method for monitoring fertile windows is the calendar method. This method calculates the ovulation date based on the user's recorded menstrual cycle, thus predicting the fertile window.
[0004] However, the calendar method has low accuracy. Most women ovulate about 14 days before their next menstrual period, but ovulation is also affected by many other factors, such as emotional fluctuations, changes in environment and / or changes in health status, which may bring it earlier or later, thus making the prediction of the fertile window inaccurate. Summary of the Invention
[0005] This application provides a method, apparatus, and electronic device for predicting the fertile window. It also provides a computer-readable storage medium to improve the accuracy of predicting the fertile window and enhance the user experience.
[0006] In a first aspect, embodiments of this application provide a method for predicting fertile periods, comprising: acquiring a user's physiological parameters and menstrual data input by the user; acquiring the duration for which the user wears a wearable device; if the duration for which the user wears the wearable device is greater than or equal to a predetermined duration, determining whether the current time is a fertile period based on the physiological parameters and the menstrual data input by the user; if the current time is not a fertile period, determining whether the current time has entered an initial window; wherein the initial window is predicted based on the menstrual data input by the user, and the length of the initial window is greater than a predetermined first window length; if the current time is within the initial window, shortening the length of the initial window; and outputting the shortened window.
[0007] In the aforementioned method for predicting the fertile window, the electronic device acquires the user's physiological parameters and menstrual data, as well as the duration the user wears the wearable device. If the duration of wear is greater than or equal to a predetermined duration, the device determines whether the current time is within the fertile window based on the physiological parameters and menstrual data. If the current time is not within the fertile window, the device checks whether the current time falls within the initial window. If the current time is within the initial window, the electronic device shortens the length of the initial window and outputs the shortened window. This allows the fertile window to be gradually shortened as the user wears the wearable device for longer periods, improving the accuracy of the fertile window prediction and enhancing user engagement and experience.
[0008] In one possible implementation, shortening the length of the initial window includes delaying the start time of the initial window.
[0009] In one possible implementation, delaying the start date of the initial window includes delaying the start time of the initial window by a predetermined unit of time.
[0010] In one possible implementation, after determining whether the current time has entered the initial window, the method further includes: if the current time has not yet entered the initial window, then outputting the initial window.
[0011] In one possible implementation, after determining whether the current time is a fertile period based on the physiological parameters and the menstrual data input by the user, the method further includes: if the current time is a fertile period, determining the start time of the fertile window of the current menstrual cycle as the previous time, and the length of the fertile window of the current menstrual cycle as a predetermined first window length; wherein, the current menstrual cycle includes the menstrual cycle to which the current time belongs; and outputting the fertile window of the current menstrual cycle.
[0012] In one possible implementation, after determining the start time of the fertile window of the current menstrual cycle as the previous time and the length of the fertile window of the current menstrual cycle as a predetermined first window length, the method further includes: determining the length of the fertile window of the next menstrual cycle as the predetermined first window length.
[0013] In one possible implementation, after obtaining the duration of time the user wears the wearable device, the method further includes: if the duration of time the user wears the wearable device is less than a predetermined duration, then outputting an initial window.
[0014] In one possible implementation, after acquiring the user's physiological parameters and the menstrual data input by the user, the method further includes: if the menstrual data acquired at the current time is different from the previously acquired menstrual data, then when the user wears the wearable device for a duration greater than or equal to a predetermined duration, predicting whether the current time is a fertile period based on the physiological parameters and the menstrual data acquired at the current time; if the current time is a fertile period, determining the start time of the fertile window of the current menstrual cycle as the current time, and the length of the fertile window of the current menstrual cycle as a predetermined first window length; if the current time is not a fertile period, determining the start time of the fertile window of the current menstrual cycle as a time after the current time, and the length of the fertile window of the current menstrual cycle as a predetermined first window length.
[0015] In one possible implementation, the method further includes: if the menstrual data acquired at the current time differs from the previously acquired menstrual data, and the user wears the wearable device for less than a predetermined duration, obtaining the length of the previously predicted fertile window; predicting whether the current time is a fertile period based on the physiological parameters and the menstrual data acquired at the current time; if the current time is a fertile period, determining the start time of the fertile window for the current menstrual cycle as the current time, and the length of the fertile window for the current menstrual cycle as the length of the previously predicted fertile window; if the current time is not a fertile period, determining the start time of the fertile window for the current menstrual cycle as a time after the current time, and the length of the fertile window for the current menstrual cycle as the length of the previously predicted fertile window.
[0016] Secondly, embodiments of this application provide a device for predicting fertility, which is included in an electronic device and has the function of implementing the behaviors of the electronic device in the first aspect and possible implementations of the first aspect. The function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions. For example, an acquisition module, a determination module, a judgment module, a shortening module, and an output module.
[0017] Thirdly, embodiments of this application provide an electronic device, including: one or more processors; a memory; multiple application programs; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the electronic device, cause the electronic device to perform the following steps: acquiring a user's physiological parameters and menstrual data input by the user; acquiring the duration for which the user wears a wearable device; if the duration for which the user wears the wearable device is greater than or equal to a predetermined duration, determining whether the current time is a fertile period based on the physiological parameters and the menstrual data input by the user; if the current time is not a fertile period, determining whether the current time has entered an initial window; wherein the initial window is predicted based on the menstrual data input by the user, and the length of the initial window is greater than a predetermined first window length; if the current time is within the initial window, shortening the length of the initial window; and outputting the shortened window.
[0018] In one possible implementation, when the instruction is executed by the electronic device, causing the electronic device to perform the step of shortening the length of the initial window includes: delaying the start time of the initial window.
[0019] In one possible implementation, when the instruction is executed by the electronic device, causing the electronic device to perform the step of delaying the start time of the initial window includes: delaying the start time of the initial window by a predetermined unit duration.
[0020] In one possible implementation, when the instruction is executed by the electronic device, after the electronic device performs the step of determining whether the current time has entered the initial window, it further performs the following steps: if the current time has not yet entered the initial window, then the initial window is output.
[0021] In one possible implementation, when the instruction is executed by the electronic device, after the electronic device performs the step of determining whether the current time is a fertile period based on the physiological parameters and the menstrual data input by the user, it further performs the following steps: if the current time is a fertile period, then the starting time of the fertile window of the current menstrual cycle is determined as the previous time, and the length of the fertile window of the current menstrual cycle is a predetermined first window length; wherein, the current menstrual cycle includes the menstrual cycle to which the current time belongs; and the fertile window of the current menstrual cycle is output.
[0022] In one possible implementation, when the instruction is executed by the electronic device, after the electronic device performs the steps of determining the start time of the fertile window of the current menstrual cycle as the previous time and the length of the fertile window of the current menstrual cycle as a predetermined first window length, it further performs the following steps: determining the length of the fertile window of the next menstrual cycle as the predetermined first window length.
[0023] In one possible implementation, when the instruction is executed by the electronic device, after the electronic device performs the step of obtaining the duration of time the user wears the wearable device, it further performs the following steps: if the duration of time the user wears the wearable device is less than a predetermined duration, then an initial window is output.
[0024] In one possible implementation, when the instruction is executed by the electronic device, after the electronic device performs the step of acquiring the user's physiological parameters and the user's input menstrual data, it further performs the following steps: if the menstrual data acquired at the current time is different from the previously acquired menstrual data, then when the user wears the wearable device for a duration greater than or equal to a predetermined duration, based on the physiological parameters and the menstrual data acquired at the current time, it predicts whether the current time is a fertile period; if the current time is a fertile period, then the start time of the fertile window of the current menstrual cycle is determined to be the current time, and the length of the fertile window of the current menstrual cycle is a predetermined first window length; if the current time is not a fertile period, then the start time of the fertile window of the current menstrual cycle is determined to be a time after the current time, and the length of the fertile window of the current menstrual cycle is a predetermined first window length.
[0025] In one possible implementation, when the instruction is executed by the electronic device, the electronic device further performs the following steps: if the menstrual data acquired at the current time is different from the previously acquired menstrual data, and the user wears the wearable device for less than a predetermined duration, the length of the previously predicted fertile window is acquired; based on the physiological parameters and the menstrual data acquired at the current time, it is predicted whether the current time is a fertile period; if the current time is a fertile period, the start time of the fertile window of the current menstrual cycle is determined to be the current time, and the length of the fertile window of the current menstrual cycle is the length of the previously predicted fertile window; if the current time is not a fertile period, the start time of the fertile window of the current menstrual cycle is determined to be a time after the current time, and the length of the fertile window of the current menstrual cycle is the length of the previously predicted fertile window.
[0026] It should be understood that the second and third aspects of the embodiments of this application are consistent with the technical solutions of the first aspect of the embodiments of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be described again.
[0027] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to perform the method provided in the first aspect.
[0028] Fifthly, embodiments of this application provide a computer program that, when executed by a computer, performs the method provided in the first aspect.
[0029] In one possible design, the program in the fifth aspect can be stored wholly or partially on a storage medium packaged with the processor, or it can be stored wholly or partially on a memory not packaged with the processor. Attached Figure Description
[0030] Figure 1 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application;
[0031] Figure 2 A system architecture diagram of a method for predicting fertile periods provided in one embodiment of this application;
[0032] Figure 3 A flowchart illustrating a method for predicting fertile periods according to one embodiment of this application;
[0033] Figure 4 A flowchart of a method for predicting fertile periods provided in another embodiment of this application;
[0034] Figure 5 A flowchart illustrating a method for predicting fertile periods provided in yet another embodiment of this application;
[0035] Figure 6 A schematic diagram illustrating a method for predicting the fertile period provided in another embodiment of this application;
[0036] Figure 7 A schematic diagram illustrating a method for predicting the fertile period provided in another embodiment of this application;
[0037] Figure 8 A schematic diagram illustrating a method for predicting the fertile period provided in another embodiment of this application;
[0038] Figure 9 A schematic diagram illustrating a method for predicting the fertile period provided in another embodiment of this application;
[0039] Figure 10 A schematic diagram of the structure of an electronic device provided in another embodiment of this application. Detailed Implementation
[0040] The terminology used in the implementation section of this application is for the purpose of explaining specific embodiments of this application only, and is not intended to limit this application.
[0041] The calendar method calculates the ovulation day based on the user's recorded menstrual cycle, thus providing the fertile window. The fertile window predicted by the calendar method is generally 5 days before ovulation and 4 days after ovulation, or 4 days before ovulation and 2 days after ovulation; the ovulation day is approximately 14 days before the woman's menstrual period.
[0042] However, the calendar method for predicting the fertile window is not very accurate. Most women ovulate about 14 days before their next menstrual period, but ovulation is often affected by many other factors, such as emotional fluctuations, changes in environment and / or changes in health status, which may cause it to occur earlier or later, making it easy for the fertile window to be predicted inaccurately.
[0043] Wearable devices can predict the fertile window by collecting human physiological parameters and analyzing their changes over a period of time. These physiological parameters include heart rate, body temperature, skin temperature, respiratory rate, and / or the percentage of deep sleep. Wearable devices typically predict a shorter fertile window to allow users to perceive a more accurate fertile period.
[0044] This application provides a method for predicting the fertile window, helping users to prepare for pregnancy more effectively. When a user first starts wearing the wearable device, an initial window is predicted (e.g., 10 days). As the number of days the user wears the device increases, the predicted window gradually shortens (e.g., the predicted window can be gradually shortened to 6 days), allowing users to experience increasingly accurate predictions with continued use, thus enhancing user engagement and overall experience.
[0045] The method for predicting fertile periods provided in this application can be applied to electronic devices, such as smartphones, tablets, wearable devices, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs). This application does not impose any restrictions on the specific type of electronic device.
[0046] For example, Figure 1 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application, as shown below. Figure 1As shown, the electronic device 100 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, a headphone jack 170D, a sensor module 180, buttons 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, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity 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.
[0047] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0048] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.
[0049] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0050] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0051] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0052] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (DCL). In some embodiments, the processor 110 may include multiple I2C buses. The processor 110 can couple to the touch sensor 180K, charger, flash, camera 193, etc., through different I2C bus interfaces. For example, the processor 110 can couple to the touch sensor 180K through the I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface, thereby realizing the touch function of the electronic device 100.
[0053] The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface to enable the function of answering phone calls through a Bluetooth headset.
[0054] 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 the PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering phone calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0055] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface to enable music playback through Bluetooth headphones.
[0056] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to enable the electronic device 100 to capture images. The processor 110 and the display screen 194 communicate via the DSI interface to enable the electronic device 100 to display images.
[0057] The GPIO interface can be configured via software. It can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to a camera 193, a display screen 194, a wireless communication module 160, an audio module 170, a 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.
[0058] USB port 130 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other wearable devices, such as AR devices.
[0059] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0060] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via a USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device 100 via the power management module 141.
[0061] The power management module 141 connects 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, providing power to the processor 110, internal memory 121, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.
[0062] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0063] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0064] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0065] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates 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 processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.
[0066] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. 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 antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0067] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via 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 technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0068] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0069] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.
[0070] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0071] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0072] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0073] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0074] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0075] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0076] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0077] Internal memory 121 can be used to store computer executable program code, which includes instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional applications and data processing of electronic device 100 by running instructions stored in internal memory 121 and / or instructions stored in memory located in the processor.
[0078] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0079] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.
[0080] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or make hands-free calls through the speaker 170A.
[0081] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a telephone call or voice message, the receiver 170B can be brought close to the ear to listen to the voice.
[0082] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. Electronic device 100 may have at least one microphone 170C. In some embodiments, electronic device 100 may have two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, electronic device 100 may also have three, four, or more microphones 170C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.
[0083] The 170D headphone jack is used to connect wired headphones. The 170D headphone jack can be a USB 130 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.
[0084] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the intensity of the touch operation based on pressure sensor 180A. Electronic device 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example, when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed.
[0085] The gyroscope sensor 180B can be used to determine the motion attitude of the electronic device 100. In some embodiments, the gyroscope sensor 180B can determine the angular velocity of the electronic device 100 about three axes (i.e., the x, y, and z axes). The gyroscope sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the shake of the electronic device 100, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device 100 by moving in the opposite direction, thus achieving image stabilization. The gyroscope sensor 180B can also be used in navigation and motion-sensing game scenarios.
[0086] The barometric pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates altitude using the air pressure value measured by the barometric pressure sensor 180C to assist in positioning and navigation.
[0087] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip cover. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover using the magnetic sensor 180D. Then, based on the detected opening and closing state of the cover or the flip cover, features such as automatic flip unlocking can be set.
[0088] The 180E accelerometer can detect the magnitude of acceleration of an electronic device 100 in various directions (typically three axes). When the electronic device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of wearable devices, and can be applied to screen orientation switching, pedometers, and other applications.
[0089] A distance sensor 180F is used to measure distance. Electronic device 100 can measure distance via infrared or laser. In some embodiments, during a shooting scene, electronic device 100 can utilize the distance sensor 180F to measure distance for rapid focusing.
[0090] The proximity sensor 180G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The LED may be an infrared LED. The electronic device 100 emits infrared light outward through the LED. The electronic device 100 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 may use the proximity sensor 180G to detect when a user holds the electronic device 100 close to their ear for a call, so as to automatically turn off the screen to save power. The proximity sensor 180G can also be used in holster mode and pocket mode for automatic unlocking and locking of the screen.
[0091] The ambient light sensor 180L is used to sense the brightness of ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 based on the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also work with the proximity sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
[0092] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can utilize the characteristics of the collected fingerprints to achieve fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, etc.
[0093] Temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 uses the temperature detected by temperature sensor 180J to execute a temperature handling strategy. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs thermal protection by reducing the performance of a processor located near temperature sensor 180J to reduce power consumption. In other embodiments, when the temperature is below another threshold, electronic device 100 heats battery 142 to prevent abnormal shutdown of electronic device 100 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, electronic device 100 boosts the output voltage of battery 142 to prevent abnormal shutdown due to low temperature.
[0094] Touch sensor 180K, also known as a "touch device," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of electronic device 100, in a different position than display screen 194.
[0095] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals from the vibrating bone segments of the human vocal cords. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure signals. In some embodiments, the bone conduction sensor 180M can also be incorporated into headphones to form bone conduction headphones. The audio module 170 can parse the voice signals from the vibrating bone segments of the vocal cords acquired by the bone conduction sensor 180M to realize voice functionality. The application processor can parse heart rate information from the blood pressure signals acquired by the bone conduction sensor 180M to realize heart rate detection functionality.
[0096] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100.
[0097] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations performed on different applications (such as taking photos, playing audio, etc.). Motor 191 can also correspond to different vibration feedback effects for touch operations performed on different areas of the display screen 194. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.
[0098] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.
[0099] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to make contact with and separate from the electronic device 100. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as calls and data communication. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0100] For ease of understanding, the following embodiments of this application will be described using the following methods: Figure 1 Taking a wearable device with the structure shown as an example, and in conjunction with the accompanying drawings and application scenarios, the method for predicting the fertile period provided in this application will be specifically described.
[0101] Figure 2 This is a system architecture diagram of a method for predicting fertile periods according to an embodiment of this application. The system architecture may include electronic devices 100 (e.g., mobile phones) and wearable devices (e.g., watches). Figure 2 As shown, the watch collects the user's physiological parameters, while a female menstrual cycle app runs on the phone and synchronizes the physiological parameters and prediction data with the watch. This is just one implementation; alternatively, the watch could collect the user's physiological parameters and run the female menstrual cycle app, synchronizing prediction data with the phone. Users can input the start and end dates of their menstrual cycle, physical symptoms, and / or mood through the female menstrual cycle app. The fertility prediction algorithm running on the phone can predict the fertile window based on the collected physiological parameters, the user's input data, and historical prediction results. Finally, the phone displays the predicted fertile window through the female menstrual cycle app and provides a reminder mechanism to alert the user to the start and end of their fertile period.
[0102] The following is based on Figure 2 The system architecture diagram shown illustrates the method for predicting the fertile period provided in this application embodiment.
[0103] Figure 3 A flowchart illustrating a method for predicting fertile periods according to one embodiment of this application is shown below. Figure 3 As shown, the methods for predicting the fertile period mentioned above may include:
[0104] Step 301: Electronic device 100 acquires the user's physiological parameters and menstrual data input by the user, as well as the duration for which the user wears the wearable device.
[0105] Step 302: If the user wears the wearable device for a duration greater than or equal to the predetermined duration, the electronic device 100 determines whether the current time is the fertile period based on the aforementioned physiological parameters and the menstrual data input by the user.
[0106] The aforementioned predetermined duration can be set by the system based on performance and / or implementation requirements during the actual implementation. For example, the predetermined duration can be 30 days.
[0107] Step 303: If the current time is not within the fertile window, the electronic device 100 determines whether the current time should enter the initial window. Then, it executes either step 304 or step 306.
[0108] The initial window mentioned above is a fertile window predicted by the electronic device 100 based on the user's input menstrual cycle data. The length of the initial window is greater than the predetermined first window length. The predetermined first window length can be set by the system based on performance and / or implementation requirements during specific implementation. This embodiment does not limit the size of the predetermined first window length. For example, the predetermined first window length can be 6 days.
[0109] Step 304: If the current time is within the initial window, the electronic device 100 shortens the length of the initial window.
[0110] Specifically, shortening the length of the initial window can be achieved by delaying the start time of the initial window; more specifically, delaying the start time of the initial window can be achieved by delaying the start time of the initial window by a predetermined unit of time.
[0111] The predetermined unit duration can be set by the system based on performance and / or implementation requirements during the actual implementation. This embodiment does not limit the length of the predetermined unit duration. For example, the predetermined unit duration can be 1 day.
[0112] Step 305: Electronic device 100 outputs the shortened window.
[0113] Specifically, the shortened window output by electronic device 100 can be either displayed by electronic device 100, or sent to another electronic device for display by electronic device 100.
[0114] In this embodiment, if the current time is not the fertile period and the current time is within the initial window, the electronic device 100 will delay the start date of the initial window by 1 day until the fertile period window is shortened to the predetermined first window length.
[0115] Step 306: If the current time has not yet entered the above initial window, the electronic device 100 outputs the above initial window.
[0116] Additionally, after step 301, the following may also be included:
[0117] Step 307: If the user wears the wearable device for less than the predetermined duration, output the initial window.
[0118] In the aforementioned method for predicting the fertile window, the electronic device 100 acquires the user's physiological parameters and menstrual data input by the user, as well as the duration for which the user wears the wearable device. If the duration for which the user wears the wearable device is greater than or equal to a predetermined duration, the electronic device 100 determines whether the current time is within the fertile window based on the aforementioned physiological parameters and the user's menstrual data. If the current time is not within the fertile window, the electronic device 100 determines whether the current time falls within the initial window. If the current time is within the initial window, the electronic device 100 shortens the length of the initial window and outputs the shortened window. This allows the fertile window to be gradually shortened as the user wears the wearable device for an increased duration, improving the accuracy of the fertile window prediction and enhancing user engagement and experience.
[0119] Figure 4 A flowchart of a method for predicting the fertile period provided in another embodiment of this application is shown below. Figure 4 As shown, this application Figure 3 In the illustrated embodiment, after step 302, the following may also be included:
[0120] Step 401: If the current time is the fertile period, then determine the start time of the fertile window of the current menstrual cycle as the current time, and the length of the fertile window of the current menstrual cycle as the predetermined first window length.
[0121] The current menstrual cycle refers to the menstrual cycle to which the current time belongs.
[0122] Specifically, taking a predetermined first window length of 6 days as an example, if the electronic device 100 determines that the current time is the fertile period based on physiological parameters and menstrual data input by the user, then the fertile window of the current menstrual cycle can be determined to be 6 days starting from that day.
[0123] Step 402: Output the fertile window of the current menstrual cycle.
[0124] Furthermore, after step 401, the electronic device 100 can also determine the length of the fertile window for the next cycle as a predetermined first window length.
[0125] Figure 5 A flowchart of a method for predicting the fertile period provided in another embodiment of this application is shown below. Figure 5 As shown, this application Figure 3 In the illustrated embodiment, after step 301, step 501 or step 504 can also be performed:
[0126] Step 501: If the menstrual period data obtained at the current time differs from the previously obtained menstrual period data, then when the user wears the wearable device for a duration greater than or equal to a predetermined duration, the electronic device 100 predicts whether the current time is a fertile period based on the aforementioned physiological parameters and the menstrual period data obtained at the current time. Then, proceed to step 502 or step 503.
[0127] Among them, the previously acquired menstrual data can be the menstrual data acquired by electronic device 100 before the current time.
[0128] Step 502: If the current time is the fertile period, the electronic device 100 determines the start time of the fertile window of the current menstrual cycle as the current time, and the length of the fertile window of the current menstrual cycle as the predetermined first window length.
[0129] Step 503: If the current time is not the fertile period, the electronic device 100 determines that the start time of the fertile window of the current menstrual cycle is a time after the current time, and the length of the fertile window of the current menstrual cycle is a predetermined first window length.
[0130] For example, taking a predetermined first window length of 6 days as an example, if the user wears the aforementioned wearable device for a duration greater than or equal to the predetermined duration, and if the current time is predicted to be a fertile period based on the aforementioned physiological parameters and the menstrual cycle data at the current time, then the fertile window for the current menstrual cycle is determined to be 6 days starting from that day; if the current time is not predicted to be a fertile period, then the fertile window for the current menstrual cycle is determined to be 6 days from now.
[0131] Step 504: If the menstrual data obtained at the current time is different from the menstrual data obtained previously, when the user wears the wearable device for less than the predetermined duration, the electronic device 100 obtains the length of the previously predicted fertile window.
[0132] The length of the previously predicted fertile window can be the length of the fertile window predicted by electronic device 100 before the current time.
[0133] Step 505: The electronic device 100 predicts whether the current time is a fertile period based on physiological parameters and menstrual data acquired at the current time. Then, it executes either step 506 or step 507.
[0134] Step 506: If the current time is the fertile period, the electronic device 100 determines the start time of the fertile window of the current menstrual cycle as the current time, and the length of the fertile window of the current menstrual cycle as the length of the previously predicted fertile window.
[0135] Step 507: If the current time is not the fertile period, the electronic device 100 determines that the start time of the fertile window of the current menstrual cycle is the time after the current time, and the length of the fertile window of the current menstrual cycle is the length of the previously predicted fertile window.
[0136] In this embodiment, the menstrual data obtained at the current time is different from the menstrual data obtained previously, indicating that the user modified the menstrual data before the current time after using the female menstrual cycle application installed on the electronic device 100 previously. Simply put, if the user modified the menstrual data before the current time after using the aforementioned female menstrual cycle application, then when the user wears the wearable device for a duration greater than or equal to a predetermined duration, the length of the fertile window predicted by the electronic device 100 is the predetermined first window length; when the user wears the wearable device for a duration less than the predetermined duration, the length of the fertile window predicted by the electronic device 100 is the same as the previously predicted fertile window length.
[0137] The following section, taking an initial window of 10 days and a predetermined first window length of 6 days as an example, and in conjunction with the accompanying drawings, introduces the method for predicting the fertile period provided in the embodiments of this application.
[0138] Figure 6 This is a schematic diagram of a method for predicting the fertile period provided in another embodiment of this application. In this embodiment, the current time is today. The following describes a scheme in which the initial window of 10 days has been entered and the fertile period window is gradually shortened to 6 days.
[0139] As mentioned earlier, when the number of days the user wears the wearable device is less than the predetermined duration, the electronic device 100 predicts an initial window of 10 days. After entering the initial 10-day window on a given day, if the electronic device 100 detects that the day is not the fertile period, it shortens the initial window day by day, eventually shortening the predicted fertile period window to 6 days.
[0140] like Figure 6 As shown, before April 12, 2022, due to insufficient days of wearable devices worn by users, the initial 10-day window for electronic device prediction was April 12 to April 21; at this time, the fertile window in May was also 10 days.
[0141] April 12th marked the first day of the initial fertile window. The electronic device automatically detected that it was not the fertile window that day, and the user had already worn the wearable device for the predetermined duration. Therefore, the start date of the fertile window was postponed by one day to April 13th, shortening the fertile window to 9 days. At this time, the fertile window in May remained at 10 days.
[0142] April 13th marked the first day of the shortened fertile window. Electronic devices automatically detected that it was not the fertile window that day, and the user had already worn the wearable device for the predetermined duration. Therefore, the start date of the fertile window was postponed by one day to April 14th, shortening the fertile window to 8 days. At this time, the fertile window in May remained at 10 days.
[0143] April 14th marked the first day of the shortened fertile window. Electronic devices automatically detected that day as the fertile window, and since the user had worn the wearable device for the predetermined duration, the fertile window was shortened to 6 days, starting April 14th. At this time, the fertile window for May was also adjusted to 6 days.
[0144] This shows that as users wear wearable devices for more days, the fertile window predicted by the electronic device 100 gradually shortens from 10 days to 6 days, thus allowing users to experience "the more you wear it, the more accurate it becomes".
[0145] Figure 7 A schematic diagram of a method for predicting the fertile period provided in another embodiment of this application, as shown below. Figure 7 As shown, if a user wears the wearable device for less than the predetermined duration, and the previously predicted fertile window was 6 days, then after modifying the menstrual cycle data, the predicted fertile window will still be 6 days. Similarly, if a user wears the wearable device for less than the predetermined duration, and the previously predicted fertile window was 10 days, then after modifying the menstrual cycle data, the predicted fertile window will still be 10 days.
[0146] Figure 8 A schematic diagram of a method for predicting the fertile period provided in another embodiment of this application, as shown below. Figure 8 As shown, if a user wears the wearable device for a duration greater than or equal to the predetermined duration, and the user changes their menstrual cycle on that day, and the electronic device 100 detects that the day is the fertile period, then the predicted fertile window is 6 days starting from that day.
[0147] Figure 9 A schematic diagram of a method for predicting the fertile period provided in another embodiment of this application, as shown below. Figure 9 As shown, if a user wears the wearable device for a duration greater than or equal to the predetermined duration, and the user changes their menstrual cycle on that day, and the electronic device 100 detects that the day is not a fertile period, then it predicts the fertile window for the next 6 days.
[0148] from Figures 7-9 As can be seen, the method proposed in this application, which combines the number of days in the historical prediction of the fertile window, the duration of time the user wears the wearable device, and physiological data for prediction, can avoid the length of the fertile window changing when the user modifies their menstrual cycle, thus improving the user experience.
[0149] It is understood that some or all of the steps or operations in the above embodiments are merely examples, and other operations or variations thereof can be performed in the embodiments of this application. Furthermore, the steps may be performed in different orders as presented in the above embodiments, and it is not necessary to perform all the operations in the above embodiments.
[0150] It is understood that, in order to achieve the above-mentioned functions, electronic devices include hardware and / or software modules that perform the respective functions. Based on the algorithm steps of the examples described in conjunction with the embodiments disclosed in this application, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.
[0151] This embodiment can divide the electronic device into functional modules according to the above method embodiment. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0152] Figure 10 This is a schematic diagram of the structure of an electronic device provided in another embodiment of this application. In the case where functional modules are divided according to their respective functions, Figure 10 A schematic diagram of a possible composition of the electronic device 1000 involved in the above embodiments is shown, such as... Figure 10 As shown, the electronic device 1000 may include: an acquisition module 1001, a determination module 1002, a judgment module 1003, a shortening module 1004, and an output module 1005;
[0153] The acquisition module 1001 is used to acquire the user's physiological parameters and menstrual data input by the user; and to acquire the duration of time the user wears the wearable device.
[0154] The determination module 1002 is used to determine whether the current time is the fertile period based on the physiological parameters and the menstrual data input by the user when the user wears the wearable device for a duration greater than or equal to a predetermined duration.
[0155] The judgment module 1003 is used to determine whether the current time has entered the initial window if the current time is not the fertile period; wherein the initial window is predicted based on the menstrual data input by the user, and the length of the initial window is greater than the predetermined length of the first window;
[0156] The shortening module 1004 is used to shorten the length of the initial window when the current time is within the initial window; specifically, the shortening module 1004 is used to delay the start time of the initial window; more specifically, the shortening module 1004 is used to delay the start time of the initial window by a predetermined unit of time.
[0157] Output module 1005 is used to output the shortened window.
[0158] Furthermore, the output module 1005 is also used to output the initial window if the current time has not yet entered the initial window after the judgment module 1003 has judged whether the current time has entered the initial window.
[0159] The determination module 1002 is further configured to, after determining whether the current time is a fertile period, if the current time is a fertile period, determine the start time of the fertile window of the current menstrual cycle as the current time, and the length of the fertile window of the current menstrual cycle as a predetermined first window length; wherein, the current menstrual cycle includes the menstrual cycle to which the current time belongs.
[0160] Output module 1005 is also used to output the fertile window of the current menstrual cycle.
[0161] Furthermore, the determining module 1002 is also used to determine the length of the fertile window of the next menstrual cycle as the predetermined first window length after determining the start time of the fertile window of the current menstrual cycle as the current time and the length of the fertile window of the current menstrual cycle as the predetermined first window length.
[0162] Furthermore, the output module 1005 is also used to output the initial window if the user wears the wearable device for a shorter period of time than a predetermined period of time after the acquisition module 1001 acquires the duration of time the user wears the wearable device.
[0163] Furthermore, in this embodiment, the determining module 1002 is also used to, after the acquiring module 1001 acquires the user's physiological parameters and the menstrual data input by the user, if the menstrual data acquired at the current time is different from the menstrual data acquired previously, then when the user wears the wearable device for a duration greater than or equal to a predetermined duration, predict whether the current time is a fertile period based on the aforementioned physiological parameters and the menstrual data acquired at the current time; if the current time is a fertile period, then determine the start time of the fertile window of the current menstrual cycle as the current time, and the length of the fertile window of the current menstrual cycle as a predetermined first window length; if the current time is not a fertile period, then determine the start time of the fertile window of the current menstrual cycle as a time after the current time, and the length of the fertile window of the current menstrual cycle as a predetermined first window length.
[0164] In addition, the acquisition module 1001 is also used to acquire the length of the previously predicted fertile window when the menstrual data acquired at the current time is different from the menstrual data acquired previously. If the duration of time the user wears the wearable device is less than the predetermined duration, the module is also used to acquire the length of the previously predicted fertile window.
[0165] The determination module 1002 is also used to predict whether the current time is a fertile period based on the above physiological parameters and menstrual data obtained at the current time; if the current time is a fertile period, the starting time of the fertile window of the current menstrual cycle is determined to be the current time, and the length of the fertile window of the current menstrual cycle is the length of the previously predicted fertile window; if the current time is not a fertile period, the starting time of the fertile window of the current menstrual cycle is determined to be the time after the current time, and the length of the fertile window of the current menstrual cycle is the length of the previously predicted fertile window.
[0166] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.
[0167] The electronic device 1000 provided in this embodiment is used to execute this application. Figures 3-5 The method for predicting the fertile period provided in the illustrated embodiment can therefore achieve the same effect as the method described above.
[0168] It should be understood that electronic device 1000 can correspond to Figure 1 The electronic device shown. The functions of the acquisition module 1001, the determination module 1002, the judgment module 1003, and the shortening module 1004 can be determined by… Figure 1 The processor 110 in the illustrated electronic device implements the functionality; the output module 1005 can be implemented by... Figure 1 The processor 110 and display screen 194 in the illustrated electronic device are implemented.
[0169] When using integrated units, the electronic device 1000 may include a processing module, a storage module, and a communication module.
[0170] The processing module can be used to control and manage the actions of the electronic device 1000. For example, it can support the electronic device 1000 in executing the steps performed by the acquisition module 1001, the determination module 1002, the judgment module 1003, the shortening module 1004, and the output module 1005. The storage module can be used to support the electronic device 1000 in storing program code and data. The communication module can be used to support communication between the electronic device 1000 and other devices.
[0171] The processing module can be a processor or controller, which can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory. The communication module can specifically be a device that interacts with other electronic devices, such as radio frequency circuitry, a Bluetooth chip, and / or a Wi-Fi chip.
[0172] In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device 1000 involved in this embodiment can be a device having... Figure 1 The device with the structure shown.
[0173] This application also provides a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to execute this application. Figures 3-5 The method provided in the illustrated embodiment.
[0174] This application also provides a computer program product, which includes a computer program that, when run on a computer, causes the computer to execute this application. Figures 3-5 The method provided in the illustrated embodiment.
[0175] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, A and B simultaneously, or B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, and c can be single or multiple.
[0176] Those skilled in the art will recognize that the units and algorithm steps described in the embodiments disclosed herein can be implemented using electronic hardware, computer software, or a combination of electronic hardware and software. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0177] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0178] In the several embodiments provided in this application, any function, if implemented as a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0179] The above description is merely a specific embodiment of this application. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application. The protection scope of this application should be determined by the protection scope of the claims.
Claims
1. A method for predicting the fertile period, characterized in that, include: Obtain the user's physiological parameters and menstrual data input by the user; Obtain the duration for which the user wears the wearable device; If the user wears the wearable device for a duration greater than or equal to a predetermined duration, then based on the physiological parameters and the menstrual data input by the user, it is determined whether the current time is the fertile period. If the current time is not the fertile period, then determine whether the current time should enter the initial window; wherein, the initial window is predicted based on the menstrual period data input by the user, and the length of the initial window is greater than the predetermined length of the first window; If the current time is within the initial window, then shorten the length of the initial window; Output the shortened window; The step of determining whether the current time is the fertile period based on the physiological parameters and the menstrual data input by the user also includes: If the current time is a fertile period, then the start time of the fertile window of the current menstrual cycle is determined to be the current time, and the length of the fertile window of the current menstrual cycle is a predetermined first window length; wherein, the current menstrual cycle includes the menstrual cycle to which the current time belongs; Output the fertile window of the current menstrual cycle; After obtaining the user's physiological parameters and the menstrual data input by the user, the process further includes: If the menstrual period data obtained at the current time is different from the menstrual period data obtained previously, then when the user wears the wearable device for a duration greater than or equal to the predetermined duration, the system predicts whether the current time is the fertile period based on the physiological parameters and the menstrual period data obtained at the current time. If the current time is the fertile period, then the start time of the fertile window of the current menstrual cycle is determined to be the current time, and the length of the fertile window of the current menstrual cycle is the predetermined first window length. If the current time is not the fertile period, then the start time of the fertile window for the current menstrual cycle is determined to be the time after the current time, and the length of the fertile window for the current menstrual cycle is the predetermined first window length.
2. The method according to claim 1, characterized in that, The shortening of the initial window length includes: Delay the start time of the initial window.
3. The method according to claim 2, characterized in that, The delay of the start date of the initial window includes: The start time of the initial window is delayed by a predetermined unit of time.
4. The method according to claim 1, characterized in that, After determining whether the current time has entered the initial window, the process also includes: If the initial window has not yet been entered at the current time, then the initial window is output.
5. The method according to claim 1, characterized in that, After determining the start time of the fertile window in the current menstrual cycle as the previous time, and the length of the fertile window in the current menstrual cycle as the predetermined first window length, the method further includes: The length of the fertile window for the next menstrual cycle is determined as the predetermined first window length.
6. The method according to claim 1, characterized in that, After obtaining the duration of time the user wears the wearable device, the method further includes: If the user wears the wearable device for less than a predetermined duration, the initial window is output.
7. The method according to claim 1, characterized in that, Also includes: If the menstrual period data obtained at the current time is different from the menstrual period data obtained previously, when the user wears the wearable device for less than the predetermined duration, the length of the previously predicted fertile window is obtained. Based on the physiological parameters and menstrual data obtained at the current time, predict whether the current time is a fertile period; If the current time is the fertile period, then the start time of the fertile window of the current menstrual cycle is determined to be the current time, and the length of the fertile window of the current menstrual cycle is the length of the previously predicted fertile window. If the current time is not the fertile period, then the start time of the fertile window for the current menstrual cycle is determined to be the time after the current time, and the length of the fertile window for the current menstrual cycle is the length of the previously predicted fertile window.
8. A device for predicting fertile periods, characterized in that, include: The acquisition module is used to acquire the user's physiological parameters and menstrual data input by the user; And obtain the duration of time users wear wearable devices; The determination module is used to determine whether the current time is the fertile period based on the physiological parameters and the menstrual data input by the user when the user wears the wearable device for a duration greater than or equal to a predetermined duration. The judgment module is used to determine whether the current time has entered the initial window if the current time is not the fertile period; wherein the initial window is predicted based on the menstrual period data input by the user, and the length of the initial window is greater than the predetermined length of the first window; A shortening module is used to shorten the length of the initial window when the current time is within the initial window; The output module is used to output the shortened window. The determining module is further configured to, after determining whether the current time is a fertile period, if the current time is a fertile period, determine the start time of the fertile window of the current menstrual cycle as the current time, and the length of the fertile window of the current menstrual cycle is a predetermined first window length; wherein, the current menstrual cycle includes the menstrual cycle to which the current time belongs; The output module is also used to output the fertile window of the current menstrual cycle; The determining module is further configured to, after the acquiring module acquires the user's physiological parameters and the user's input menstrual data, if the menstrual data acquired at the current time is different from the previously acquired menstrual data, then when the user wears the wearable device for a duration greater than or equal to a predetermined duration, predict whether the current time is a fertile period based on the physiological parameters and the menstrual data acquired at the current time; if the current time is a fertile period, then determine the start time of the fertile window of the current menstrual cycle as the current time, and the length of the fertile window of the current menstrual cycle as a predetermined first window length; if the current time is not a fertile period, then determine the start time of the fertile window of the current menstrual cycle as a time after the current time, and the length of the fertile window of the current menstrual cycle as a predetermined first window length.
9. An electronic device, characterized in that, include: One or more processors; Memory; Multiple applications; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the electronic device, cause the electronic device to perform the following steps: Obtain the user's physiological parameters and menstrual data input by the user; Obtain the duration for which the user wears the wearable device; If the user wears the wearable device for a duration greater than or equal to a predetermined duration, then based on the physiological parameters and the menstrual data input by the user, it is determined whether the current time is the fertile period. If the current time is not the fertile period, then determine whether the current time should enter the initial window; wherein, the initial window is predicted based on the menstrual period data input by the user, and the length of the initial window is greater than the predetermined length of the first window; If the current time is within the initial window, then shorten the length of the initial window; Output the shortened window; When the instruction is executed by the electronic device, after the electronic device performs the step of determining whether the current time is the fertile period based on the physiological parameters and the menstrual data input by the user, it also performs the following steps: If the current time is the fertile period, then the start time of the fertile window of the current menstrual cycle is determined as the previous time, and the length of the fertile window of the current menstrual cycle is a predetermined first window length; wherein, the current menstrual cycle includes the menstrual cycle to which the current time belongs; Output the fertile window of the current menstrual cycle; When the instruction is executed by the electronic device, after the electronic device performs the step of acquiring the user's physiological parameters and the user's input menstrual data, it also performs the following steps: If the menstrual period data obtained at the current time is different from the menstrual period data obtained previously, then when the user wears the wearable device for a duration greater than or equal to the predetermined duration, the system predicts whether the current time is the fertile period based on the physiological parameters and the menstrual period data obtained at the current time. If the current time is the fertile period, then the start time of the fertile window of the current menstrual cycle is determined to be the current time, and the length of the fertile window of the current menstrual cycle is the predetermined first window length. If the current time is not the fertile period, then the start time of the fertile window for the current menstrual cycle is determined to be the time after the current time, and the length of the fertile window for the current menstrual cycle is the predetermined first window length.
10. The electronic device according to claim 9, characterized in that, When the instruction is executed by the electronic device, causing the electronic device to perform the step of shortening the length of the initial window includes: Delay the start time of the initial window.
11. The electronic device according to claim 10, characterized in that, When the instruction is executed by the electronic device, the step of causing the electronic device to perform the delay of the start time of the initial window includes: The start time of the initial window is delayed by a predetermined unit of time.
12. The electronic device according to claim 9, characterized in that, When the instruction is executed by the electronic device, after the electronic device performs the step of determining whether the current time has entered the initial window, it also performs the following steps: If the initial window has not yet been entered at the current time, then the initial window is output.
13. The electronic device according to claim 9, characterized in that, When the instruction is executed by the electronic device, after the electronic device performs the step of determining the start time of the fertile window of the current menstrual cycle as the previous time and the length of the fertile window of the current menstrual cycle as a predetermined first window length, it further performs the following steps: The length of the fertile window for the next menstrual cycle is determined as the predetermined first window length.
14. The electronic device according to claim 9, characterized in that, When the instruction is executed by the electronic device, after the electronic device performs the step of obtaining the duration of time the user wears the wearable device, it further performs the following steps: If the user wears the wearable device for less than a predetermined duration, the initial window is output.
15. The electronic device according to claim 9, characterized in that, When the instruction is executed by the electronic device, the electronic device further performs the following steps: If the menstrual period data obtained at the current time is different from the menstrual period data obtained previously, when the user wears the wearable device for less than the predetermined duration, the length of the previously predicted fertile window is obtained. Based on the physiological parameters and menstrual data obtained at the current time, predict whether the current time is a fertile period; If the current time is the fertile period, then the start time of the fertile window of the current menstrual cycle is determined to be the current time, and the length of the fertile window of the current menstrual cycle is the length of the previously predicted fertile window. If the current time is not the fertile period, then the start time of the fertile window for the current menstrual cycle is determined to be the time after the current time, and the length of the fertile window for the current menstrual cycle is the length of the previously predicted fertile window.
16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on a computer, causes the computer to perform the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Menstrual cycle tracking
US20200000441A1
