CN108703776A - A kind of method, apparatus and electronic equipment of determining user's physiological stage - Google Patents

A kind of method, apparatus and electronic equipment of determining user's physiological stage Download PDF

Info

Publication number
CN108703776A
CN108703776A CN201810517238.XA CN201810517238A CN108703776A CN 108703776 A CN108703776 A CN 108703776A CN 201810517238 A CN201810517238 A CN 201810517238A CN 108703776 A CN108703776 A CN 108703776A
Authority
CN
China
Prior art keywords
current date
user
history
days
temperature data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810517238.XA
Other languages
Chinese (zh)
Inventor
刘成良
张飞
金衍瑞
刘金磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Summer Is Dynamo-Electric Development In Science And Technology Co Ltd First
Original Assignee
Shanghai Summer Is Dynamo-Electric Development In Science And Technology Co Ltd First
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Summer Is Dynamo-Electric Development In Science And Technology Co Ltd First filed Critical Shanghai Summer Is Dynamo-Electric Development In Science And Technology Co Ltd First
Priority to CN201810517238.XA priority Critical patent/CN108703776A/en
Publication of CN108703776A publication Critical patent/CN108703776A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B10/00Other methods or instruments for diagnosis, e.g. instruments for taking a cell sample, for biopsy, for vaccination diagnosis; Sex determination; Ovulation-period determination; Throat striking implements
    • A61B10/0012Ovulation-period determination
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B10/00Other methods or instruments for diagnosis, e.g. instruments for taking a cell sample, for biopsy, for vaccination diagnosis; Sex determination; Ovulation-period determination; Throat striking implements
    • A61B10/0012Ovulation-period determination
    • A61B2010/0019Ovulation-period determination based on measurement of temperature

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Medical Informatics (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Pathology (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

The invention discloses a kind of method, apparatus and electronic equipment of determining user's physiological stage, are related to female pathology health and field of artificial intelligence.Wherein it is determined that the method for user's physiological stage includes:S1 obtains the history temperature data of user;S2, the temperature data based on the physiological period obtain history ovulation day;S3 gets Date;S4 determines physiological stage of the user residing for current date based on the temperature data of the preceding predetermined number of days of the time interval and current date of current date and history ovulation day.The present invention can judge the physiological stage residing for user's current date based on the history temperature data of user, compared with prior art, method provided by the invention can preferably adapt to the different situations of different women, and judging nicety rate can be constantly provided while women continues on and accumulates data.

Description

A kind of method, apparatus and electronic equipment of determining user's physiological stage
Technical field
The present invention relates to female pathology health and field of artificial intelligence more particularly to a kind of determining user's physiological stages Method, apparatus and electronic equipment.
Background technology
Include following three phases in one physiological period of women:The onset of ovulation, menstrual period and megathermal period.
Menstrual cycle refers to the time interval between women menstruation twice, due to constitution, age, weather, area and life The difference of condition, the menstrual cycle also can difference, generally 21~35 days, it is 28 days average.Wherein, the onset of ovulation refers to ovum Same day of discharge and several days front and back.Specific calculation is calculated from next menstruation daystart, and 14-16 days reciprocal are ovulation day (namely that day of ovum discharge), adding for first 5 days and latter 4 days for ovulation day become the onset of ovulation together.Menstrual period refers to each moon Through lasting number of days, due to the difference of constitution, age, weather, area and living condition, the feminine menstrual phase is also different, and generally 3 ~7 days.Megathermal period indicates that women lives through the period after menstrual period and the onset of ovulation, this section of period body temperature relative to hypothermic phase and Speech, body temperature are relatively higher.
For women, whether for contraception or excellent pregnant purpose, the residing physiological stage of oneself is understood in real time extremely It closes important.
Some methods for determining ovulation day are only existed in the prior art, however there is no clearly determine the onset of ovulation, menstruation The method of phase and megathermal period.The method of determining ovulation day in the prior art is:Think that the megathermal period continues 14 days, will the period it is long Degree -14 is used as user's period ovulation day.Since different user cycle length has differences, there is also certain for megathermal period continuous days Fluctuation, therefore, there are following defects for determining ovulation in the prior art:
1, the initially set physiological parameter of user itself is depended critically upon, if physiological parameter is deviated in truth, The error so judged will constantly increase, to influence the accuracy judged;
2, the accuracy rate of judgement can not be constantly used and promoted with user.
Invention content
(1) goal of the invention
It can accurately judge user's physiological stage according to the physiological characteristic of different user the object of the present invention is to provide a kind of Method, apparatus and electronic equipment.
(2) technical solution
To solve the above problems, the first aspect of the present invention provides a kind of method of determining user's physiological stage, including Following steps:S1 obtains the history temperature data of user;S2, the temperature data based on the physiological period obtain history ovulation Day;S3 gets Date;S4, based on current date and predetermined day before the time interval and current date of history ovulation day Several temperature datas determines physiological stage of the user residing for current date.
Further, the method for determination user's physiological stage, wherein the physiological stage includes:Hypothermic phase, ovulation Phase and megathermal period.
Further, the method for determination user's physiological stage, wherein the preceding predetermined number of days of the current date takes Value ranging from 1 to 3 day.
Further, the method for determination user's physiological stage, wherein the history temperature data of the user includes: The temperature data of at least one menstrual cycle;The S1, the temperature data for obtaining the physiological period of user include:According to pre- If date of start of calculation menstrual cycle and preset menstrual cycle number of days select at least one menstruation from the history temperature data of user The temperature data in period.
Further, the method for determination user's physiological stage, wherein the step S4 includes:
Whether S4 ' judges current date before first 2 days of history ovulation day;If it is not, thening follow the steps S40;If so, Then follow the steps S41;
Whether S40 judges current date before latter 5 days of history ovulation day;If it is not, current date is then determined as height Wen Qi;
Whether S41 judges current date after first 5 days of history ovulation day;If it is not, then current date is determined as low Wen Qi.
Further, the method for determination user's physiological stage, wherein in the step S40, if current date is being gone through Before latter 5 days of history ovulation day, S401 is thened follow the steps;
S401, judges whether the temperature of first three day of current date is more than or equal to 36.5 DEG C;If it is not, thening follow the steps S4010;If so, thening follow the steps S4011;
S4010, judges whether the temperature of the previous day of current date is more than or equal to 36.5 DEG C;If it is not, thening follow the steps S40100;If so, thening follow the steps S40101;
S40100 then determines physiological stage of the user residing for current date based on nearest neighbor algorithm;
Current date is determined as the onset of ovulation by S40101;
Current date is determined as the megathermal period by S4011.
Further, the method for determination user's physiological stage, wherein in the step S41, if current date is being gone through After first 5 days of history ovulation day, S411 is thened follow the steps;
S411, judges whether the temperature of the previous day of current date is less than 36.5 DEG C, if it is not, thening follow the steps S4110;If It is to then follow the steps S4111;
Current date is determined as the onset of ovulation by S4110;
S4111 then determines physiological stage of the user residing for current date based on nearest neighbor algorithm.
Further, the method for determination user's physiological stage, wherein it is described, determine that user exists based on nearest neighbor algorithm Physiological stage residing for current date includes:
S4-1 obtains the number of days D0 of the physiological period where current date based on current date;
S4-2, based on formula (1) calculate user current date temperature data to all known points Euclidean distance;
Wherein, D is represented:The number of days of physiological period where history ovulation day;
D0It represents:The number of days of physiological period where current date;
tDIt represents:The temperature data of user corresponding to history ovulation day;
T is represented:The temperature data of user corresponding to current date;
S4-3 carries out ascending sort to the obtained Euclidean distances of step S4-2;
S4-4 chooses first k with unknown point apart from nearest known point in ascending order arrangement;
S4-5 counts the number of the classification of the physiological stage in k known point of selection corresponding to each known point;
S4-6, by the classification as unknown point of classification frequency of occurrences highest classification in physiological stage.
According to another aspect of the present invention, a kind of device of determining user's physiological stage is provided, including:Data acquisition Module, the history temperature data for obtaining user;History ovulation day generation module is used for the body temperature based on the physiological period Data obtain history ovulation day;Current date acquisition module, for getting Date;Physiological stage determining module is used for base Determine that user is working as in the temperature data of current date and the time interval of history ovulation day and the preceding predetermined number of days of current date Physiological stage residing for the preceding date.
Further, the device of determination user's physiological stage, wherein physiological stage determining module includes:Between first Every time judging unit, the second interval time judging unit and third interval time judging unit.First interval time judged single Member, for judging current date whether before first 2 days of history ovulation day, if it is not, then to the second interval time judging unit It sends and starts decision instruction.Start decision instruction if so, being sent to third interval time judging unit.Second interval time was sentenced Disconnected unit, for judging current date whether before latter 5 days of history ovulation day after receiving startup decision instruction, if Otherwise current date is determined as the megathermal period.Third interval time judging unit, for after receiving startup decision instruction Current date is judged whether after first 5 days of history ovulation day, if it is not, current date is then determined as hypothermic phase.
Further, the device of determination user's physiological stage, wherein the physiological stage determining module further includes: One judging unit of temperature control, temperature second judgment unit and KNN judging units.If the second interval time judging unit judgement Current date then sends to one judging unit of temperature control before latter 5 days of history ovulation day and starts decision instruction.Temperature control one Judging unit, for after receiving the startup decision instruction, judging whether the temperature of first three day of current date is more than Equal to 36.5 DEG C.Start decision instruction if it is not, then being sent to temperature second judgment unit.If so, current date is determined as Megathermal period.Temperature second judgment unit, for after receiving startup decision instruction, judging the temperature of the previous day of current date Whether degree is more than or equal to 36.5 DEG C.Start decision instruction if it is not, then being sent to KNN judging units.If so, current date is true It is set to the onset of ovulation.KNN judging units, for after receiving startup decision instruction, carrying out KNN judgements.
Further, the device of determination user's physiological stage, wherein the physiological stage determining module further includes: Three judging unit of temperature control and KNN judging units.If the third interval time judging unit judgement current date is arranged in history After first 5 days of ovum day, is then sent to three judging unit of temperature control and start decision instruction.Three judging unit of temperature control is used for It receives after starting decision instruction, judges whether the temperature of the previous day of current date is less than 36.5 DEG C, if it is not, then working as the day before yesterday Phase is determined as the onset of ovulation.Start decision instruction if so, then being sent to KNN judging units.KNN judging units, for receiving To after starting decision instruction, KNN judgements are carried out.
According to another aspect of the present invention, a kind of electronic equipment is provided, including:Memory, processor and storage On the memory and the computer program that can run on the processor, the processor are realized when executing described program The step of any one of aforementioned determining user's physiological stage method.
According to another aspect of the invention, a kind of computer readable storage medium is provided, is stored on the storage medium There is computer program, the step for determining user's physiological stage method described in any of the above-described is realized when described program is executed by processor Suddenly.
(3) advantageous effect
The above-mentioned technical proposal of the present invention has following beneficial technique effect:
The present invention can sentence the physiological stage residing for user's current date based on the history temperature data of user Disconnected, compared with prior art, method provided by the invention can preferably adapt to the different situations of different women, and can be Women continues on and constantly provides judging nicety rate while accumulating data.
Description of the drawings
Fig. 1 is the step flow chart of the first embodiment of predicting ovulation date method provided by the invention;
Fig. 2 is the step flow chart of the second embodiment of predicting ovulation date method provided by the invention;
Fig. 3 is the step flow chart of the 3rd embodiment of predicting ovulation date method provided by the invention;
Fig. 4 is the step flow chart of the fourth embodiment of predicting ovulation date method provided by the invention;
Fig. 5 is the module relation diagram of the first embodiment of predicting ovulation date device provided by the invention;
Fig. 6 is the module relation diagram of the second embodiment of predicting ovulation date device provided by the invention;
Fig. 7 is the module relation diagram of the 3rd embodiment of predicting ovulation date device provided by the invention;
Fig. 8 is the module relation diagram of the fourth embodiment of predicting ovulation date device provided by the invention;
Fig. 9 is the hardware architecture diagram of electronic equipment provided by the invention.
Specific implementation mode
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.
Fig. 1 is the step flow chart of the first embodiment of predicting ovulation date method provided by the invention.
As shown in Figure 1, in the present embodiment, a kind of method of determining user's physiological stage includes the following steps:S1,S2, S3 and S4.It should be noted that step S1 and step S2 are successively executed, the no sequencing of execution of step S1-S2 and S3 can Step S1-S2 is executed again to first carry out step S3, can also be first carried out step S1-S2, then execute step S3, can also be held simultaneously Row intersects execution.Step S4 is finally executed.
S1 obtains the history temperature data of user.
User is female user.User using body temperature measuring device daily the predetermined time (such as:After early morning gets up) Measurement of bldy temperature is carried out to obtain daily temperature data.Body temperature measuring device is provided with data transmission module, the data transmission Module is used to the temperature data measured being transmitted to intelligent terminal, server or data storage device, thus by the daily of user It measures obtained temperature data to store, accumulation day by day obtains the history temperature data of user.
Before executing this step, intelligent terminal, server or the number to the history temperature data for being stored with user are needed According to storage device transmission data access request, to get the history temperature data of user from these devices.
Wherein, the history temperature data of user includes:The temperature data of at least one menstrual cycle.Getting user's After history temperature data, the temperature data that a menstrual cycle is selected from history temperature data is needed.Preferably, selection away from The temperature data of a current time immediate upper menstrual cycle.
The temperature data of one menstrual cycle of selection includes from history temperature data:It is started according to the preset menstrual cycle Day and preset menstrual cycle number of days select the temperature data of at least one menstrual cycle from the history temperature data of user.
Wherein, user needs to pre-set date of start of calculation menstrual cycle, if user is not before the method using the present invention It is configured, then needs that user is reminded to be configured.Date of start of calculation menstrual cycle is menstrual onset day, and each user can be according to certainly Date of start of calculation menstrual cycle is arranged in oneself menstrual onset day.
Menstrual cycle number of days need user pre-set or programmer when writing program be default settings.User can be with According to the menstrual cycle number of days of oneself, menstrual cycle number of days this parameter is set.It is preferred that using user's pre-set menstruation week Phase number of days uses default value if user is not previously set.The value range of default value is any in 26 to 32 days It.Preferably, default value is set as 28 days.
S2, the temperature data based on the physiological period obtain history ovulation day.
Wherein, judge to whether there is preset temperature change feature in the temperature data of the physiological period, if so, will Date corresponding to the temperature change feature is as ovulation day.
In one particular embodiment of the present invention, wherein preset temperature change is characterized as the slow lofted features of temperature. The slow lofted features of temperature are specially:Within 3 to 6 days, it is 0.3 DEG C to 0.5 DEG C to add up ascending temperature.
In another specific embodiment of the present invention, wherein it is special that preset temperature change is characterized as that temperature rapid increase Sign.Temperature rapid increase, and feature is specially:Within 3 days, it is 0.3 DEG C to 0.5 DEG C to add up ascending temperature.
In another specific embodiment of the present invention, wherein preset temperature change is characterized as that temperature significantly rises spy Sign.Temperature significantly rises feature:Section of target date to the menstrual cycle after the date of start of calculation of one menstrual cycle Only day, at least one of the expectation of the temperature data of this period, variance yields exceed preset normal variation range.Wherein, one The zero date of a menstrual cycle is menstrual onset day, and target date is the 8th.
S3 gets Date.
S4, the temperature data of the preceding predetermined number of days of time interval and current date based on current date and history ovulation day Determine physiological stage of the user residing for current date.
Wherein, the value range of the preceding predetermined number of days of the current date is 1 to 3 day.The physiological stage includes:Low temperature Phase, the onset of ovulation and megathermal period.
Fig. 2 is the step flow chart of the second embodiment of predicting ovulation date method provided by the invention.
As shown in Fig. 2, in the present embodiment, based on any of the above embodiments, wherein the step S4 include with Lower step:
Whether S4 ' judges current date before first 2 days of history ovulation day.If it is not, thening follow the steps S40.If so, Then follow the steps S41.
Whether S40 judges current date before latter 5 days of history ovulation day.If it is not, current date is then determined as height Wen Qi.
Whether S41 judges current date after first 5 days of history ovulation day.If it is not, then current date is determined as low Wen Qi.
Fig. 3 is the step flow chart of the 3rd embodiment of predicting ovulation date method provided by the invention.
As shown in figure 3, in the present embodiment, based on any of the above embodiments, wherein in the step S40, if Current date thens follow the steps S401 before latter 5 days of history ovulation day.
S401, judges whether the temperature of first three day of current date is more than or equal to 36.5 DEG C.If it is not, thening follow the steps S4010.If so, thening follow the steps S4011.
S4010, judges whether the temperature of the previous day of current date is more than or equal to 36.5 DEG C.If it is not, thening follow the steps S40100.If so, thening follow the steps S40101.
S40100 then determines physiological stage of the user residing for current date based on nearest neighbor algorithm.
Current date is determined as the onset of ovulation by S40101.
Current date is determined as the megathermal period by S4011.
Fig. 4 is the step flow chart of the fourth embodiment of predicting ovulation date method provided by the invention.
As shown in figure 4, in the present embodiment, based on any of the above embodiments, wherein in the step S41, if Current date thens follow the steps S411 after first 5 days of history ovulation day.
S411, judges whether the temperature of the previous day of current date is less than 36.5 DEG C, if it is not, thening follow the steps S4110.If It is to then follow the steps S4111.
Current date is determined as the onset of ovulation by S4110.
S4111 then determines physiological stage of the user residing for current date based on nearest neighbor algorithm.
Further, the method for determination user's physiological stage, wherein then determine user current based on nearest neighbor algorithm Physiological stage residing for date includes the following steps S4-1 to S4-6:
S4-1 obtains the number of days D0 of the physiological period where current date based on current date;
S4-2, based on formula (1) calculate user current date temperature data to all known points Euclidean distance;
Wherein, D is represented:The number of days of physiological period where history ovulation day;
D0It represents:The number of days of physiological period where current date;
tDIt represents:The temperature data of user corresponding to history ovulation day;
T is represented:The temperature data of user corresponding to current date;
S4-3 carries out ascending sort to the obtained Euclidean distances of step S4-2;
S4-4 chooses first k with unknown point apart from nearest known point in ascending order arrangement;
Preferred in this step, k values are 3.
S4-5 counts the number of the classification of the physiological stage in k known point of selection corresponding to each known point.Its In, the classification of physiological stage refers to belonging to which of hypothermic phase, the onset of ovulation and megathermal period classification.
S4-6, by the classification as unknown point of classification frequency of occurrences highest classification in physiological stage.
Fig. 5 is the module relation diagram of the first embodiment of predicting ovulation date device provided by the invention.
As shown in figure 5, in the present embodiment, determining that the device of user's physiological stage includes:Data acquisition module, history row Ovum day generation module, current date acquisition module, physiological stage determining module.
Data acquisition module, the history temperature data for obtaining user.History ovulation day generation module, for being based on institute The temperature data for stating physiological period obtains history ovulation day.Current date acquisition module, for getting Date.Physiological stage Determining module, the temperature number of the preceding predetermined number of days for time interval and current date based on current date and history ovulation day According to physiological stage of the determining user residing for current date.Wherein, the value range of the preceding predetermined number of days of the current date is 1 To 3 days.The physiological stage includes:Hypothermic phase, the onset of ovulation and megathermal period.
Fig. 6 is the module relation diagram of the second embodiment of predicting ovulation date device provided by the invention.
In second embodiment of device of determination user's physiological stage of the present invention, on the basis of above-mentioned first embodiment On, wherein physiological stage determining module includes:First interval time judging unit, the second interval time judging unit and third Interval time judging unit.It should be noted that term " first ", " second ", " third " are only used for distinguishing the mesh of description object , it is not understood to indicate or imply relative importance.
First interval time judging unit, for judging current date whether before first 2 days of history ovulation day, if It is no, then it is sent to the second interval time judging unit and starts decision instruction.If so, being sent to third interval time judging unit Start decision instruction.
Second interval time judging unit, for judging whether current date is being gone through after receiving startup decision instruction Before latter 5 days of history ovulation day, if current date is otherwise determined as the megathermal period.
Third interval time judging unit, for judging whether current date is being gone through after receiving startup decision instruction After first 5 days of history ovulation day, if it is not, current date is then determined as hypothermic phase.
Fig. 7 is the module relation diagram of the 3rd embodiment of predicting ovulation date device provided by the invention.
As shown in fig. 7, in the present embodiment, on the basis of above-mentioned second embodiment, the physiological stage determining module Further include:One judging unit of temperature control, temperature second judgment unit and KNN judging units.
If the second interval time judging unit judges current date before latter 5 days of history ovulation day, to temperature It spends the first judging unit and sends and start decision instruction.
One judging unit of temperature control, for after receiving the startup decision instruction, judging first three of current date Whether it temperature is more than or equal to 36.5 DEG C.Start decision instruction if it is not, then being sent to temperature second judgment unit.If so, Current date is determined as the megathermal period.
Temperature second judgment unit, for after receiving startup decision instruction, judging the previous day of current date Whether temperature is more than or equal to 36.5 DEG C.Start decision instruction if it is not, then being sent to KNN judging units.If so, by current date It is determined as the onset of ovulation.
KNN judging units, for after receiving startup decision instruction, carrying out KNN judgements.
Fig. 8 is the module relation diagram of the fourth embodiment of predicting ovulation date device provided by the invention.
As shown in fig. 7, in the present embodiment, on the basis of above-mentioned second embodiment, the physiological stage determining module Further include:Three judging unit of temperature control and KNN judging units.
If the third interval time judging unit judges current date after first 5 days of history ovulation day, to temperature It spends third judging unit and sends and start decision instruction.
Three judging unit of temperature control, for after receiving startup decision instruction, judging the temperature of the previous day of current date Whether degree is less than 36.5 DEG C, if it is not, current date is then determined as the onset of ovulation.Start if so, then being sent to KNN judging units Decision instruction.
KNN judging units, for after receiving startup decision instruction, carrying out KNN judgements.
Fig. 9 is the hardware architecture diagram of electronic equipment provided by the invention.
As shown in figure 9, the present invention also provides a kind of electronic equipment, including:One or more processors and memory, In Fig. 9 by taking a processor as an example.
Electronic equipment can also include:Input unit and output device.
Processor, memory, input unit and output device can be connected by bus or other modes, with logical in Fig. 9 It crosses for the mode of bus connection.
The present invention is implemented it will be understood by those skilled in the art that the structure of electronic equipment shown in Fig. 9 is not constituted The restriction of example, it, either busbar network, can also be hub-and-spoke configuration, can also include than illustrating more or fewer portions Part either combines certain components or different components arrangement.
Processor can be made of integrated circuit (IntegratedCircuit, abbreviation IC), such as can be encapsulated by single IC formed, can also be formed by connecting the encapsulation IC of more identical functions or different function.For example, processor can Can also be CPU, digital signal processor only to include central processing unit (CentralProcessingUnit, abbreviation CPU) (digitalsignalprocessor, abbreviation DSP), graphics processor (GraphicProcessingUnit, abbreviation GPU) and The combination of various control chips.In embodiments of the present invention, CPU can be single operation core, can also include multioperation core The heart.
Memory as a kind of non-transient computer readable storage medium, can be used for storing non-transient software program, it is non-temporarily State computer class executes program and module, such as the corresponding program of device of determination user's physiological stage in the embodiment of the present application Module is (for example, attached data acquisition module shown in fig. 5, history ovulation day generation module, current date acquisition module and physiology rank Section determining module).Processor is stored in the non-transient software program and module of memory by operation, to execute server Various function application and data processing, that is, realize the processing method of the embodiment of the method for above-mentioned determining user's physiological stage.
Memory may include storing program area and storage data field, wherein storing program area can storage program area, extremely A few required application program of function.In embodiments of the present invention, operating system can be android system, iOS system Or Windows operating system etc..Storage data field can be stored to be created according to the use of the device of determining user's physiological stage Data etc..In addition, memory may include high-speed random access memory, can also include non-transient memory, such as extremely A few disk memory, flush memory device or other non-transient solid-state memories.In some embodiments, memory Optional includes the memory remotely located relative to processor.The embodiment of above-mentioned network includes but not limited to internet, enterprise Intranet, LAN, mobile radio communication and combinations thereof.
Input unit can receive the number or character information of input, and generate the user with the processing unit of list operation Setting and the related key signals input of function control.Input unit may include touch screen, keyboard, mouse etc., can also wrap Include wireline interface, wireless interface etc..
Output device may include the equipment such as display screen, loud speaker, can also include wireline interface, wireless interface etc..
Electronic equipment can be smart mobile phone (such as Android phone, iOS mobile phones), tablet computer, palm PC and Mobile internet device MobileInternetDevices, MID), PAD etc..
It should be understood that the above-mentioned specific implementation mode of the present invention is used only for exemplary illustration or explains the present invention's 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.

Claims (10)

1. a kind of method of determining user's physiological stage, which is characterized in that including:
S1 obtains the history temperature data of user;
S2, the temperature data based on the physiological period obtain history ovulation day;
S3 gets Date;
S4 is determined based on the temperature data of the preceding predetermined number of days of the time interval and current date of current date and history ovulation day Physiological stage of the user residing for current date.
2. according to the method described in claim 1, it is characterized in that, wherein, the physiological stage includes:Hypothermic phase, the onset of ovulation And the megathermal period.
3. according to the method described in claim 1, it is characterized in that, wherein, the value of the preceding predetermined number of days of the current date Ranging from 1 to 3 day.
4. according to the method described in claim 1, it is characterized in that, wherein,
The history temperature data of the user includes:The temperature data of at least one menstrual cycle;
The S1, the temperature data for obtaining the physiological period of user include:According to preset date of start of calculation menstrual cycle and in advance If menstrual cycle number of days the temperature data of at least one menstrual cycle is selected from the history temperature data of user.
5. according to the method described in claim 1, it is characterized in that, the step S4 includes:
Whether S4 ' judges current date before first 2 days of history ovulation day;If it is not, thening follow the steps S40;If so, holding Row step S41;
Whether S40 judges current date before latter 5 days of history ovulation day;If it is not, current date is then determined as high temperature Phase;
Whether S41 judges current date after first 5 days of history ovulation day;If it is not, current date is then determined as low temperature Phase.
6. according to the method described in claim 5, it is characterized in that, in the step S40, if current date is in history ovulation day Latter 5 days before, then follow the steps S401;
S401, judges whether the temperature of first three day of current date is more than or equal to 36.5 DEG C;If it is not, thening follow the steps S4010;If It is to then follow the steps S4011;
S4010, judges whether the temperature of the previous day of current date is more than or equal to 36.5 DEG C;If it is not, thening follow the steps S40100; If so, thening follow the steps S40101;
S40100 then determines physiological stage of the user residing for current date based on nearest neighbor algorithm;
Current date is determined as the onset of ovulation by S40101;
Current date is determined as the megathermal period by S4011.
7. according to the method described in claim 5, it is characterized in that, in the step S41, if current date is in history ovulation day First 5 days after, then follow the steps S411;
S411, judges whether the temperature of the previous day of current date is less than 36.5 DEG C, if it is not, thening follow the steps S4110;If so, Then follow the steps S4111;
Current date is determined as the onset of ovulation by S4110;
S4111 then determines physiological stage of the user residing for current date based on nearest neighbor algorithm.
8. the method described according to claim 6 or 7, which is characterized in that it is described, determine user current based on nearest neighbor algorithm Physiological stage residing for date includes:
S4-1 obtains the number of days D0 of the physiological period where current date based on current date;
S4-2, based on formula (1) calculate user current date temperature data to all known points Euclidean distance;
Wherein, D is represented:The number of days of physiological period where history ovulation day;
D0It represents:The number of days of physiological period where current date;
tDIt represents:The temperature data of user corresponding to history ovulation day;
T is represented:The temperature data of user corresponding to current date;
S4-3 carries out ascending sort to the obtained Euclidean distances of step S4-2;
S4-4 chooses first k with unknown point apart from nearest known point in ascending order arrangement;
S4-5 counts the number of the classification of the physiological stage in k known point of selection corresponding to each known point;
S4-6, by the classification as unknown point of classification frequency of occurrences highest classification in physiological stage.
9. a kind of device of determining user's physiological stage, which is characterized in that including:
Data acquisition module, the history temperature data for obtaining user;
History ovulation day generation module obtains history ovulation day for the temperature data based on the physiological period;
Current date acquisition module, for getting Date;
Physiological stage determining module makes a reservation for before being used for time interval and current date based on current date and history ovulation day The temperature data of number of days determines physiological stage of the user residing for current date.
10. a kind of electronic equipment, which is characterized in that including:It memory, processor and is stored on the memory and can be The computer program run on the processor, the processor realize any one of claim 1 to 8 institute when executing described program The step of stating method.
CN201810517238.XA 2018-05-25 2018-05-25 A kind of method, apparatus and electronic equipment of determining user's physiological stage Pending CN108703776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810517238.XA CN108703776A (en) 2018-05-25 2018-05-25 A kind of method, apparatus and electronic equipment of determining user's physiological stage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810517238.XA CN108703776A (en) 2018-05-25 2018-05-25 A kind of method, apparatus and electronic equipment of determining user's physiological stage

Publications (1)

Publication Number Publication Date
CN108703776A true CN108703776A (en) 2018-10-26

Family

ID=63870663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810517238.XA Pending CN108703776A (en) 2018-05-25 2018-05-25 A kind of method, apparatus and electronic equipment of determining user's physiological stage

Country Status (1)

Country Link
CN (1) CN108703776A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929506A (en) * 2006-09-22 2007-03-14 华为技术有限公司 Method for calculating women's physiological periodic time based on mobile phone and mobile phone therefor
TW200908926A (en) * 2007-08-22 2009-03-01 Ind Tech Res Inst System and method for physiological analysis and feedback application thereof
CN105249996A (en) * 2015-11-09 2016-01-20 上海温尔信息科技有限公司 Optimal pregnancy time detection method and device
CN105260620A (en) * 2015-11-09 2016-01-20 上海温尔信息科技有限公司 Health assessment method and expert system based on human body temperature modeling
CN206390897U (en) * 2016-09-23 2017-08-11 北京爱康泰科技有限责任公司 A kind of clinical thermometer and the device for pointing out determining female physiological periodicity
US20170235443A1 (en) * 2015-09-07 2017-08-17 Rakuten, Inc. Terminal device, information processing method, and information processing program
CN107320135A (en) * 2017-06-30 2017-11-07 成都自然法科技有限公司 Natural family planning instruction device and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929506A (en) * 2006-09-22 2007-03-14 华为技术有限公司 Method for calculating women's physiological periodic time based on mobile phone and mobile phone therefor
TW200908926A (en) * 2007-08-22 2009-03-01 Ind Tech Res Inst System and method for physiological analysis and feedback application thereof
US20170235443A1 (en) * 2015-09-07 2017-08-17 Rakuten, Inc. Terminal device, information processing method, and information processing program
CN105249996A (en) * 2015-11-09 2016-01-20 上海温尔信息科技有限公司 Optimal pregnancy time detection method and device
CN105260620A (en) * 2015-11-09 2016-01-20 上海温尔信息科技有限公司 Health assessment method and expert system based on human body temperature modeling
CN206390897U (en) * 2016-09-23 2017-08-11 北京爱康泰科技有限责任公司 A kind of clinical thermometer and the device for pointing out determining female physiological periodicity
CN107320135A (en) * 2017-06-30 2017-11-07 成都自然法科技有限公司 Natural family planning instruction device and method

Similar Documents

Publication Publication Date Title
US11626748B2 (en) Electronic device and method for wired and wireless charging in electronic device
US20210274454A1 (en) Method and device for measuring amount of user physical activity
CN109149682B (en) Method for controlling a plurality of batteries and electronic device thereof
EP3316259B1 (en) Method for recognizing user activity and electronic device for the same
US7412354B2 (en) Method for measuring quantity of usage of CPU
JP5960936B1 (en) Terminal device, information processing method, and information processing program
CN105929925B (en) Electronic device and method for managing power in electronic device
US10275200B2 (en) Activity information processing method and electronic device supporting the same
CN106645978B (en) The wearing state detection method and detection device of intelligent wearable device
CN106293914B (en) A kind of method and terminal of task schedule
CN107101665A (en) Movable information provides method and supports the electronic installation of methods described
CN109416676B (en) Method for determining role of electronic device and electronic device thereof
CN110832524A (en) Evaluation request program, evaluation request method, and computer device
US10454292B2 (en) Electronic device and operation method thereof
US20240264197A1 (en) Sensor Data Processing Method, Electronic Device, and Readable Storage Medium
CN110377414A (en) Adjusting method, device, terminal and the storage medium of capacitive touch screen
US20150119749A1 (en) Systems and methods for monitoring fertility using a portable electronic device
CN108703776A (en) A kind of method, apparatus and electronic equipment of determining user's physiological stage
WO2018223359A1 (en) Heart rate measurement method and device
CN111984337A (en) Operation mode collection method, terminal device, massage device and storage medium
CN108784748A (en) A kind of method, apparatus and electronic equipment on predicting ovulation date
WO2021167081A1 (en) Sleep evaluation method, sleep evaluation system, terminal device, and program
KR20180095358A (en) Electronic device and body composition analysing method
CN111552617A (en) NAND Flash temperature acquisition method and device, computer equipment and storage medium
CN107422817A (en) Processor control method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181026