Summary of the invention
User's history data can be efficiently used the object of the present invention is to provide a kind of, and according to basal body temperature and ovarian function
Relationship analyze the ovary state of female user, and the contraception, easily pregnant, excellent pregnant on the female user same day is provided based on analysis result
The method of evaluation number, this method establish personalized evaluation model that is adaptive, varying with each individual, energy based on user's physiologic information
Enough effectively improve the accuracy rate of the physiological status judgement for user.
It is practised contraception based on user information to solve the above problems, the first aspect of the present invention provides one kind, is easily pregnant, excellent
The method of pregnant evaluation obtains the date on the same day;Obtain user's physiological data;Based on the processing of user's physiological data, used
The physiological status data on the family same day;Judgement processing is carried out by user's physiological period information based on the physiological status data, is obtained
To the pregnant reason index on user's same day, the pregnant reason index includes contraception index, easily one of pregnant index, excellent pregnant index or more
Kind.
User's physiological data includes: user's same day basal body temperature data, user's history basal body temperature data, Yong Husheng
Manage one of cycle information or age of user information or a variety of;
The physiological status data include user's same day locating number of days D in its physiological period.
Obtaining user's same day method of locating number of days D in its physiological period includes: user's physiological period letter
Breath includes menstrual onset date user's last time;Obtain the date on the same day and menstrual onset date user's last time;With
The number of days being spaced between the two date is as the locating number of days D.
The present invention can be based on user's same day and history physiological data, carry out intellectual analysis to the physiological status of user and sentence
It is disconnected, infer whether user's same day belongs to menstrual period, easy pregnancy period or safe period, and according to user's physiological period information and locating life
Further analysis is handled the information of reason phase, is provided easy pregnant index, the contraception index on user's same day, is given the intuitive physiology shape of user
State information embodies, so that user is distinctly understood that the physiologic information situation on the same day.Further, the present invention can also be according to user
The physiologic information of the same day and history, user's physiological period information judge hypothermic phase locating for user's same day, megathermal period or the onset of ovulation,
It is analyzed and processed in conjunction with user's physiological period information in physiologic information and corresponding period, the excellent pregnant finger on user's same day is provided
Number, the excellent pregnant index can allow user that can grasp the ovary health status of oneself in real time, provide user and consider prenatal and postnatal care
Intuitive accurate reference value.
Above-mentioned technical proposal of the invention has following beneficial technical effect:
1. the present invention is analyzed according to the basal body temperature information and user's physiological period information of user's same day and history, draw
Entered the intuitive embodiment of contraception index and easy pregnant index as analysis result, allow users to intuitively, accurately obtain the same day
It is easy it is pregnant, contraception index;
2. the present invention is analyzed according to the basal body temperature information and user's physiological period information of user's same day and history, draw
Intuitive embodiment of the excellent pregnant index as analysis result is entered, excellent pregnant index is on the basis of easy pregnant index, according to basal body temperature
Judge the ovary situation of user, and then provides the excellent pregnant index on the same day according to same day basal body temperature, and provide the daily paper on the same day
It accuses, for analyzing problem corresponding to same day body temperature, allows user that can grasp the ovary health status of oneself in real time;
3. fertility is also not close identical, and invention introduces the passes at age and fertility since women is in all ages and classes
System calculates corresponding fertility index according to all ages and classes and refers to as the generation of excellent pregnant index, improves excellent pregnant index
Adaptability avoids and does not consider the excellent pregnant error in judgement of age factor bring, it is accurate to further improve evaluation of the invention
Property.
Specific embodiment
In order to make the objectives, technical solutions and advantages of the present invention clearer, With reference to embodiment and join
According to attached drawing, the present invention is described in more detail.It should be understood that these descriptions are merely illustrative, and it is not intended to limit this hair
Bright range.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid this is unnecessarily obscured
The concept of invention.
A method of it is practised contraception based on user information, easily pregnant, excellent pregnant evaluation, obtains the date on the same day;It is raw to obtain user
Manage data;Based on the processing of user's physiological data, the physiological status data on user's same day are obtained;Based on the physiological status
Data carry out judgement processing by user's physiological period information, obtain the pregnant reason index on user's same day, and the pregnant reason index includes
Contraception index, easily one of pregnant index, excellent pregnant index or a variety of.User's physiological data includes: user's same day base body
One of warm data, user's history basal body temperature data, user's physiological period information or age of user information are a variety of;It is described
Physiological status data include user's same day locating number of days D in its physiological period.User's same day institute in its physiological period
The method that obtains of place number of days D include: user's physiological period information includes user's last time menstrual onset date;Obtain institute
State date on the same day and menstrual onset date user's last time;Using the number of days at interval between the two date as the locating day
Number D.
Fig. 1, Fig. 2 are please referred to, by taking easy pregnant index as an example, date on the same day, user's physiological period information is based on, obtains same day institute
Locate number of days D, judges whether the locating number of days D belongs in the menstrual period;
If it has not, the judgement in easy pregnancy period then whether was according to user's physiological period information progress user's same day, if
It is then to be handled according to user's same day basal body temperature data and the locating number of days D, obtains easily pregnant index of easy pregnancy period
And/or easy pregnancy period contraception index;
If it has, then obtaining menstrual period easily pregnant index;
Export above-mentioned index obtained.
Further, referring to figure 3., Fig. 4, judge whether the locating number of days D belongs in the menstrual period, if it has not, according to
The last complete physiological period information of user is made whether to belong to the judgement in easy pregnancy period or safe period, if belonging to easy pregnancy period, root
It is handled according to user's same day basal body temperature data and the same day number of days D locating for its physiological period and obtains easy pregnancy period easily pregnant index;If belonging to
In safe period, then safe period is obtained according to user's same day basal body temperature data and the same day number of days D locating for its physiological period processing
Contraception index.
Such as: easy pregnant index preparation method of the user A at the same day 4 days 2 months: obtains the date on the same day 4 days 2 months, judge history
Whether there is menstrual onset user's last time, data record day, if not having, moon last time according to provided by user in data
It is risen subject to date and menstrual cycle, if having the data record of history cycle complete at least once, obtains user and go through
History physiological period information, such as last complete cycle number of days is 29 days, in last 22 days January on menstrual onset date, is calculated out
Number of days D locating for the same day is the 13rd day, judges to be not in the menstrual period for the 13rd day;User is deduced based on user's physiological period information
The rough ovulation day of A is 6 days 2 months, judges that the same day belonged in the easy pregnancy period, then further according to user's A same day or the basis of history
Temperature data and user's physiological period information obtain the easy pregnant index in the easy pregnancy period, if not within the easy pregnancy period, it is concluded that other when
Easy pregnant index under phase.Further, referring to figure 2., if user belonged in the easy pregnancy period on the A same day, according to user's A same day or history
Basal body temperature data and user's physiological period information obtain the contraception index in the easy pregnancy period, if be not belonging to the easy pregnancy period (safety
Phase), it is concluded that contraception index under other periods (safe period).
Preferably, easily pregnant index, contraception index obtain in the following manner:
User's ovulation day, menstrual period number of days and menstrual cycle number of days, and root are obtained according to user's physiological period information
It carries out that easy pregnant index is calculated by piecewise function according to the locating number of days, menstrual period number of days and menstrual cycle number of days and keeps away
Pregnant index.If user is to use for the first time, user's ovulation day is denoted as 14;If utilizing history after having complete history cycle
Period infers;Such as: on March 24th, 2018 using the present invention, user B is arranged menstrual onset day in this period and is user B
On March 18th, 2018, menstrual cycle number of days are 28, and menstrual period number of days is 3, then locating number of days is 7, if using for the first time, are used
Family ovulation day is 14, substitutes into corresponding piecewise function and is calculated, and obtaining easily pregnant index is 5, and contraception index is 66 (equal round numbers).
In another embodiment of the invention, referring to figure 5., the preparation method of excellent pregnant index includes: based on the user
Same day basal body temperature data and user's same day the number of days D locating for its physiological period and user's physiological period information judgement
Hypothermic phase locating for user's same day, megathermal period or the onset of ovulation, and according to judging that resulting corresponding period is handled, obtain excellent pregnant finger
It counts and exports.
It is further preferred that please refer to Fig. 6, based on user's same day basal body temperature data and the same day locating for its physiological period
Number of days D, the ovulation day information being inferred to according to the physiological data based on user's history and user's history physiological period information,
Judge hypothermic phase locating for user's same day, megathermal period or the onset of ovulation, and handled according to corresponding period, the excellent pregnant index of acquisition is simultaneously defeated
Out.
Fig. 7 is please referred to, hypothermic phase, megathermal period or the judgment method of the onset of ovulation include:
Obtain the locating number of days D, user's physiological period information and user's same day basal body temperature data, described
User's history basal body temperature data, the user's history basal body temperature data include user's basal body temperature yesterday data and user three
Basal body temperature data a few days ago, user's physiological period information include number of days Day locating for ovulation day in the user's history period;
Judge whether the locating number of days D is less than or equal to Day-2,
If the locating number of days D is less than or equal to Day-2, continue to judge whether the locating number of days D is greater than or equal to
Day-5, if being less than Day-5, user's same day is in hypothermic phase, if more than or equal to Day-5, then judges user's base body yesterday
Whether warm data are less than 36.5 DEG C, and if more than 36.5 DEG C, then user's same day is in the onset of ovulation;If carrying out KNN less than 36.5 DEG C
Judgement;
If the locating number of days D is greater than Day-2, continue to judge whether the locating number of days D is less than or equal to Day+5,
If the locating number of days D is greater than Day+5, user's same day is in the megathermal period;If the locating number of days D is less than or equal to Day+5,
Then continue whether basal body temperature data before judging user three days are greater than or equal to 36.5 DEG C, if less than 36.5 DEG C, user's same day
In the megathermal period;If it has, then continue to judge yesterday, whether basal body temperature data were greater than or equal to 36.5 DEG C, if more than or be equal to
36.5 DEG C, then user's same day is in the onset of ovulation, if carrying out KNN judgement less than 36.5 DEG C.
In Fig. 7, D indicates that the same day locating number of days in physiological period, yesterdayTemp indicate body measured by D-1 days
Temperature, lastThreeTemp indicate that body temperature measured by D-3 days, Day indicate number of days locating for ovulation day in history cycle.
KNN determining method is classified by the distance between measurement different characteristic value.Its method is: if a sample
Most of in k in feature space most like samples (i.e. closest in feature space) belong to some classification, then
The sample also belongs to this classification.K is usually the integer for being not more than 20.In KNN algorithm, selected neighbours are correctly
The object of classification.This method only determines sample to be divided according to the classification of one or several closest samples on determining class decision
Classification belonging to this.Classification foundation of the present invention is that same day temperature data is put in temperature curve of upper period, is taken nearest with it
Three points elect to vote on stage locating for correlated samples, i.e. megathermal period, hypothermic phase or the onset of ovulation.
In another embodiment of the present invention, after judging the onset of ovulation in the period locating for user's same day, according to user
Age and fertility model carry out the fertility index that processing obtains, based on the fertility index handle the onset of ovulation it is excellent pregnant
Index.
The optimal child-bearing age of women is 25~29 years old, special in the physiology that optimal child-bearing age fertility not only conforms with human body
Point, and be conducive to the healthy development of fetus.Therefore, the present invention proposes that one corresponds to pass about the mathematics of age and fertility
System, homologous thread please refer to attached drawing 8, and for women at 20-30 years old, the variation between fertility index and age was little, substantially
The level relatively high in one;When women 30-40 years old, fertility index occurs by a relatively large margin with advancing age
Decline;When female age is greater than 40 years old, fertility index lies substantially in a relatively low level.Fertility model is root
Material analysis goes out the functional relation of age and fertility according to statistics, and the year of user is calculated according to the birthday by information that user is inputted
Age, to extrapolate the current fertility index of user.Invention introduces the relationships at age and fertility, according to not the same year
Age calculates corresponding fertility index, improves the adaptability of model.
Preferably, user's same day locating number of days D and locating hypothermic phase, megathermal period or row in user's physiological period are based on
Ovum interim period is handled, and easily pregnant time index T is obtained;The easily pregnant time index T is multiplied with fertility index P, it may be assumed that excellent
Pregnant index=T*P*100.
Such as: it is 2018 3 for this menstrual onset day of C for C same day March 27 in 2018 using the present invention
The moon 20, then the same day locating number of days D in physiological period is 8, and same day basal body temperature t is 36.2 DEG C, by corresponding Gaussian function
It carries out that easy pregnant time index T is calculated to be 0.44, user's C current age is 33 years old, show that user C works as according to fertility model
Preceding fertility index P is 0.89, then excellent pregnant index=T*P*100=0.44*0.89*100=39 of end user C (is rounded
Number)
In conclusion the present invention is carried out according to the basal body temperature information and user's physiological period information of user's same day and history
It analyzes, introduces the intuitive embodiment of contraception index and easy pregnant index as analysis result, allow users to intuitively, accurately obtain
Easy pregnant, the contraception index and excellent pregnant index on the same day are obtained, and the Days report on the same day is provided, is asked corresponding to same day body temperature for analyzing
Topic, allows user that can grasp the ovary health status of oneself in real time;Since women is in all ages and classes, fertility also not close phase
Together, invention introduces the relationships at age and fertility, corresponding fertility index are calculated according to all ages and classes and as excellent pregnant
The generation of index refers to, and improves the adaptability of excellent pregnant index, avoids and does not consider that the excellent pregnant judgement of age factor bring misses
Difference further improves evaluation accuracy of the invention.
It should be understood that above-mentioned specific embodiment of the invention is used only for exemplary illustration or explains of the invention
Principle, but not to limit the present invention.Therefore, that is done without departing from the spirit and scope of the present invention is any
Modification, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.In addition, appended claims purport of the present invention
Covering the whole variations fallen into attached claim scope and boundary or this range and the equivalent form on boundary and is repairing
Change example.