CN105612519B - A kind of method, apparatus and terminal for inquiring physiology phase - Google Patents

A kind of method, apparatus and terminal for inquiring physiology phase Download PDF

Info

Publication number
CN105612519B
CN105612519B CN201580002056.3A CN201580002056A CN105612519B CN 105612519 B CN105612519 B CN 105612519B CN 201580002056 A CN201580002056 A CN 201580002056A CN 105612519 B CN105612519 B CN 105612519B
Authority
CN
China
Prior art keywords
date
target
calculated result
physiology phase
month
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.)
Active
Application number
CN201580002056.3A
Other languages
Chinese (zh)
Other versions
CN105612519A (en
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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
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 Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Publication of CN105612519A publication Critical patent/CN105612519A/en
Application granted granted Critical
Publication of CN105612519B publication Critical patent/CN105612519B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying

Abstract

The embodiment of the invention discloses a kind of methods for inquiring physiology phase, comprising: when that need to carry out inquiry physiology phase to target month, obtains preset menstruation Start Date;The number of days difference in the target month between each date and the menstruation Start Date is calculated one by one;According to date each in each number of days difference acquisition target month corresponding physiology phase;Export the corresponding physiology phase of each date in the target month.The embodiment of the invention also discloses a kind of device and terminals.Using the present invention, the physiology phase in any one month can be inquired by obtaining terminal, so that convenient user is lived, improve user experience.

Description

A kind of method, apparatus and terminal for inquiring physiology phase
Technical field
The present invention relates to electronic technology field more particularly to a kind of method, apparatus and terminal for inquiring physiology phase.
Background technique
With the reach of science, female user can record the physiology such as the onset of ovulation, safe period and menstrual period by intelligent terminal Phase, so that female user can carry out contraception, aristogenesis, menstrual period health and weight reducing of women etc. according to the physiology phase of record, Also may determine that whether the ovarian function of oneself is normal, effectively instructs the health of female user.
But at present can only terminal mostly only provide the female user current moon physiology phase, if before user need to grasp The physiology phase in month, user need to calculate that this brings constant to user by the physiology phase of the current moon.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that provide it is a kind of inquire physiology phase method, apparatus and end End.The physiology phase in any month, convenient user life can be inquired.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of methods for inquiring physiology phase, comprising:
When inquiry physiology phase need to be carried out to target month, preset menstruation Start Date is obtained;
The number of days difference in the target month between each date and the menstruation Start Date is calculated one by one;
According to date each in each number of days difference acquisition target month corresponding physiology phase;
Export the corresponding physiology phase of each date in the target month.
Wherein, described according to date each in each number of days difference acquisition target month corresponding physiology phase packet It includes:
Obtain the preset menstrual cycle;
Each number of days difference is calculated with the menstrual cycle respectively by preset rule, obtains the target Each date corresponding target calculated result in month;
Physiology phase corresponding to each date in the target month is obtained according to each target calculated result.
Wherein, described when inquiry physiology phase need to be carried out to target month, include: before obtaining user's menstruation Start Date
Receive the target month of user's input.
Wherein, the physiology phase includes menstrual period, the onset of ovulation and safe period;
It is described that physiology phase corresponding to each date in the target month is obtained according to each target calculated result Include:
Judge whether the target calculated result meets the first preset condition;
When the target calculated result meets the first preset condition, the date corresponding to the target calculated result is determined The corresponding menstrual period;
When the target calculated result is unsatisfactory for the first preset condition, judge whether the target calculated result meets Two preset conditions;
When the target calculated result meets the second preset condition, the date corresponding to the target calculated result is determined The corresponding onset of ovulation;
When the target calculated result is unsatisfactory for the second preset condition, day corresponding to the target calculated result is determined Phase corresponds to safe period.
Wherein, each date corresponding physiology phase includes: in output target month
According to the corresponding relationship of preset color and physiology phase, the corresponding physiology of each date in the target month is obtained Color corresponding to phase;
Show that each date is corresponding in the target month on the corresponding region of each date in the target month Color.
The embodiment of the invention also provides a kind of terminals, comprising:
First acquisition unit, for obtaining preset menstruation Start Date when inquiry physiology phase need to be carried out to target month;
Computing unit, for calculating the day in the target month between each date and the menstruation Start Date one by one Number difference;
Second acquisition unit, it is corresponding for obtaining each date in the target month according to each number of days difference Physiology phase;
Output unit, for exporting the corresponding physiology phase of each date in the target month.
Wherein, the calculating second acquisition unit, comprising:
First obtains subelement, for obtaining the preset menstrual cycle;
Computation subunit, based on carrying out each number of days difference with the menstrual cycle respectively by preset rule It calculates, obtains the corresponding target calculated result of each date in the target month;
Second obtains subelement, for obtaining each date in the target month according to each target calculated result Corresponding physiology phase.
Wherein, the terminal further include:
Receiving unit, for receiving the target month of user's input.
Wherein, the physiology phase includes menstrual period, the onset of ovulation and safe period;
Described second, which obtains subelement, includes:
First judgment sub-unit, for judging whether the target calculated result meets the first preset condition;
First determines subelement, for judging that target calculated result meets the first default item when first judgment sub-unit When part, determine that the date corresponding to the target calculated result corresponds to the menstrual period;
Second judgment sub-unit, for judging that the target calculated result is unsatisfactory for first when first judgment sub-unit When preset condition, judge whether the target calculated result meets the second preset condition;
Second determines subelement, for judging that the target calculated result meets second in advance when second judgment sub-unit If when condition, determining that the date corresponding to the target calculated result corresponds to the onset of ovulation;
Third determines subelement, for judging that the target calculated result is unsatisfactory for second when second judgment sub-unit When preset condition, determine that the date corresponding to the target calculated result corresponds to safe period.
Wherein, the output unit includes:
Third obtains subelement and obtains the target month for the corresponding relationship according to preset color and physiology phase In color corresponding to each date corresponding physiology phase;
Subelement is shown, for showing the target month on the corresponding region of each date in the target month In each date corresponding color.
The embodiment of the invention also provides a kind of terminals, comprising: input unit, output device, memory and processor, In, store batch processing code in memory, and processor is for calling the program code stored in memory, for execute with Lower operation:
When inquiry physiology phase need to be carried out to target month, preset menstruation Start Date is obtained;
The number of days difference in the target month between each date and the menstruation Start Date is calculated one by one;
According to date each in each number of days difference acquisition target month corresponding physiology phase;
It controls the output device and exports the corresponding physiology phase of each date in the target month.
Wherein, the processor is according to date each in each number of days difference acquisition target month corresponding life The reason phase includes:
Obtain the preset menstrual cycle;
Each number of days difference is calculated with the menstrual cycle respectively by preset rule, obtains the target Each date corresponding target calculated result in month;
Physiology phase corresponding to each date in the target month is obtained according to each target calculated result.
Wherein, when inquiry physiology phase need to be carried out to target month, user's menstruation Start Date is obtained in the processor Include: before
Control the target month that the input unit receives user's input.
Wherein, the physiology phase includes menstrual period, the onset of ovulation and safe period;
The processor obtains corresponding to each date in the target month according to each target calculated result Physiology phase includes:
Judge whether the target calculated result meets the first preset condition;
When the target calculated result meets the first preset condition, the date corresponding to the target calculated result is determined The corresponding menstrual period;
When the target calculated result is unsatisfactory for the first preset condition, judge whether the target calculated result meets Two preset conditions;
When the target calculated result meets the second preset condition, the date corresponding to the target calculated result is determined The corresponding onset of ovulation;
When the target calculated result is unsatisfactory for the second preset condition, day corresponding to the target calculated result is determined Phase corresponds to safe period.
The output device wherein, which is controlled, in, the processor exports the corresponding physiology of each date in the target month Phase includes:
According to the corresponding relationship of preset color and physiology phase, the corresponding physiology of each date in the target month is obtained Color corresponding to phase;
It controls the output device and shows the target moon on the corresponding region of each date in the target month Each date corresponding color in part.
The implementation of the embodiments of the present invention has the following beneficial effects:
In embodiments of the present invention, when inquiry physiology phase need to be carried out to target month, preset menstruation Start Date is obtained, The number of days difference in the target month between each date and the menstruation Start Date is calculated one by one, according to each day Number differences obtain the corresponding physiology phase of each date in target months, and it is corresponding to export each date in the target month Physiology phase, this physiology phase for making terminal that can inquire any one month improve user experience so that convenient user is lived.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of first embodiment flow diagram of method for inquiring physiology phase provided in an embodiment of the present invention;
Fig. 2 is a kind of first embodiment structure chart of terminal provided in an embodiment of the present invention;
Fig. 3 is a kind of first embodiment structure chart of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In embodiments of the present invention, executing subject Intelligent bracelet is ring-shaped article.
It is provided in an embodiment of the present invention and a kind of method first embodiment process signal for inquiring physiology phase referring to Fig. 1 Figure.The embodiment of the present invention and a kind of method for inquiring physiology phase includes the following steps:
Step S100 obtains preset menstruation Start Date when that need to carry out inquiry physiology phase to target month.
In embodiments of the present invention, when terminal is got to target month inquiry request, terminal can confirm need to be to target Month carries out inquiry physiology phase.Wherein, user-operable terminal inputs the target month to be inquired, thus producible pair of terminal Target month inquiry request.Or when terminal detects that user slides the display screen of terminal according to the calendar that terminal is shown, eventually End can be according to the sliding displaying target month calendar of user, and confirms and need to carry out inquiry physiology phase to target month.
In embodiments of the present invention, when terminal need to carry out inquiry physiology phase to target month, terminal can obtain menstruation and open Begin the time.Wherein, the moon for the user that the menstruation time started can be the menstruation time started of user's input or terminal saves Through the time started.Wherein, the menstruation time started can be user's last time menstruation time started or user is any primary It the menstruation time started, does not limit herein.Wherein, menstruation Start Date can be first day of menstrual onset.
Step S101, the number of days calculated in the target month between each date and the menstruation Start Date one by one are poor Value.
In embodiments of the present invention, after terminal gets target month, terminal can calendric sequence calculate mesh one by one Mark the number of days difference between each date and menstruation Start Date in month.Wherein, terminal calculates the date and the moon in target month May is that through the number of days difference between Start Date | the menstruation Start Date on date-in target month |.Such as some of target month Date is August 31st, and menstruation Start Date is August 20th, then date in the target month got and menstruation Start Date it Between number of days difference be 31 days-August of August 20 days=11 days.To which terminal can obtain target month according to above calculation In other dates and menstruation Start Date between number of days difference, so that terminal can obtain each date and the moon in target month Through the number of days difference between Start Date.
Step S102, according to date each in each number of days difference acquisition target month corresponding physiology phase.
In embodiments of the present invention, when terminal gets the day between each date in target month and menstruation Start Date Number differences after, terminal can the number of days difference according to corresponding to the date each in target month counted with the preset menstrual cycle It calculates, obtains each date corresponding target calculated result in target month.Wherein, terminal is according to the date pair each in target month The number of days difference answered and menstrual cycle calculate may is that terminal calculate the corresponding number of days difference of the date in target month with Menstrual cycle carries out taking the remainder operation, using the remainder of acquisition as the corresponding objective result of the date in target month.Such as: working as end Holding the date in the target month got is 2015-10-29, and menstruation Start Date is 2015-08-01, and the menstrual cycle is 28 It, then the number of days difference between the date and menstruation Start Date is 90 days, and terminal takes number of days difference with the menstrual cycle Remainder operation 90%28, the remainder of acquisition are 6, then remainder 6 can be target corresponding to 2015-08-01 as the date by terminal Calculated result.Target corresponding to other dates in target month can be obtained according to above calculation to terminal to calculate As a result.
In embodiments of the present invention, the menstrual cycle can be the menstrual cycle that terminal notifying user is inputted, or eventually End obtains the menstrual cycle of memory storage.Wherein, the menstrual cycle can be between first day of each menstrual onset of user The interval date.
Step S103 obtains life corresponding to each date in the target month according to each target calculated result The reason phase.
In embodiments of the present invention, physiology phase includes menstrual period, the onset of ovulation and safe period, wherein the menstrual period opens for menstruation Begin date to the date between the menstruation Close Date, the number of days difference between menstruation Start Date and menstruation Close Date is to pass through Number of days is such as 2015-10-10 when menstruation Start Date, and number of days of passing through is 5 days, then the menstrual period is 2015-10-10~2015- 10-14;The onset of ovulation is the date between latter 4 days of the preceding 5 days~ovulation day of ovulation day, and ovulation day is next menstruation Start Date First 14 days, such as next menstruation Start Date is on October 24th, 2015, and ovulation day is -14=2015 years on the 24th October in 2015 October 10, therefore the onset of ovulation is October 14 5 days~2015 October in 2015;Safe period is in addition to the onset of ovulation in menstrual period Date.
In embodiments of the present invention, terminal can determine whether target calculated result meets the first preset condition.Wherein, first Preset condition, which may be greater than, is less than or equal to the first default value equal to 0, wherein and the first default value is number of days -1 of passing through, In, number of days of passing through can be the number of days of passing through that terminal receives pass through number of days or the terminal acquisition memory storage of user's input.When When terminal judges that target calculated result meets the first preset condition, terminal can determine that the date corresponding to target calculated result corresponding Menstrual period.
In embodiments of the present invention, when terminal judges that target calculated result is unsatisfactory for the first preset condition, terminal can be sentenced Whether disconnected target calculated result meets the second preset condition.Wherein, the second preset condition may be greater than or be equal to second and presets Numerical value is less than or equal to third default value, and the second default value can be menstrual cycle -14-5, and third default value can be with It is menstrual cycle -14+4, wherein the menstrual cycle can be terminal and receive in the menstrual cycle or terminal acquisition of user's input The menstrual cycle number of storage.When terminal, which obtains, judges that target calculated result meets the second preset condition, terminal can determine target Date corresponding to calculated result corresponds to the onset of ovulation.
In embodiments of the present invention, when terminal judges that target calculated result is unsatisfactory for the second preset condition, terminal can be sentenced Date corresponding to disconnected target calculated result corresponds to safe period.
In embodiments of the present invention, terminal can be obtained according to above calculation corresponding to each target calculated result The onset of ovulation corresponding to each date in target month.
Step S104 exports the corresponding physiology phase of each date in the target month.
In embodiments of the present invention, terminal can preset color and physiology phase corresponding relationship, such as preset red corresponding menstruation Phase, blue corresponding safe period is preset, default yellow corresponds to the onset of ovulation.Further, terminal can also preset other identifier and physiology The corresponding relationship of phase, herein without repeating.
In embodiments of the present invention, terminal sees the corresponding relationship according to preset color and physiology phase, obtains target month In color corresponding to each date corresponding physiology phase.And the displaying target on each date corresponding region in target month Each date corresponding color in month.As terminal can displaying target month calendar, each date arranged in sequence in calendar, Then terminal can show color corresponding to its corresponding physiology phase in each date in the calendar of display.
In embodiments of the present invention, when inquiry physiology phase need to be carried out to target month, preset menstruation Start Date is obtained, The number of days difference in the target month between each date and the menstruation Start Date is calculated one by one, according to each day Number differences obtain the corresponding physiology phase of each date in target months, and it is corresponding to export each date in the target month Physiology phase, this physiology phase for making terminal that can inquire any one month improve user experience so that convenient user is lived.
It referring to fig. 2, is a kind of first embodiment structure chart of terminal provided in an embodiment of the present invention.In the embodiment of the present invention Described terminal, comprising:
First acquisition unit 100, for obtaining preset menstruation and starting day when inquiry physiology phase need to be carried out to target month Phase.
Computing unit 200, for being calculated in the target month one by one between each date and the menstruation Start Date Number of days difference.
Second acquisition unit 300, for obtaining each date pair in the target month according to each number of days difference The physiology phase answered.
Output unit 400, for exporting the corresponding physiology phase of each date in the target month.
Wherein, the calculating second acquisition unit 300, comprising:
First obtains subelement, for obtaining the preset menstrual cycle;
Computation subunit, based on carrying out each number of days difference with the menstrual cycle respectively by preset rule It calculates, obtains the corresponding target calculated result of each date in the target month.
Second obtains subelement, for obtaining each date in the target month according to each target calculated result Corresponding physiology phase.
The terminal further include:
Receiving unit, for receiving the target month of user's input.
The physiology phase includes menstrual period, the onset of ovulation and safe period;
Described second, which obtains subelement, includes:
First judgment sub-unit, for judging whether the target calculated result meets the first preset condition;
First determines subelement, for judging that target calculated result meets the first default item when first judgment sub-unit When part, determine that the date corresponding to the target calculated result corresponds to the menstrual period;
Second judgment sub-unit, for judging that the target calculated result is unsatisfactory for first when first judgment sub-unit When preset condition, judge whether the target calculated result meets the second preset condition;
Second determines subelement, for judging that the target calculated result meets second in advance when second judgment sub-unit If when condition, determining that the date corresponding to the target calculated result corresponds to the onset of ovulation;
Third determines subelement, for judging that the target calculated result is unsatisfactory for second when second judgment sub-unit When preset condition, determine that the date corresponding to the target calculated result corresponds to safe period.
The output unit 400 includes:
Third obtains subelement and obtains the target month for the corresponding relationship according to preset color and physiology phase In color corresponding to each date corresponding physiology phase.
Subelement is shown, for showing the target month on the corresponding region of each date in the target month In each date corresponding color.
Wherein it is possible to understand, the function of each functional module of the present embodiment can be according to referring to above method embodiment Associated description, no longer repeated herein.
In embodiments of the present invention, when inquiry physiology phase need to be carried out to target month, preset menstruation Start Date is obtained, The number of days difference in the target month between each date and the menstruation Start Date is calculated one by one, according to each day Number differences obtain the corresponding physiology phase of each date in target months, and it is corresponding to export each date in the target month Physiology phase, this physiology phase for making terminal that can inquire any one month improve user experience so that convenient user is lived.
It is a kind of first embodiment structure chart of terminal provided in an embodiment of the present invention referring to Fig. 3.In the embodiment of the present invention Described terminal, comprising:
Processor 201 (quantity of the processor 201 in terminal can be one or more, and Fig. 3 takes a processor as an example), Memory 202, output device 203 and input unit 204.In an embodiment of the present invention, processor 201, memory 202, defeated Device 203 and input unit 204 can be connected by bus or other means out, wherein in Fig. 3 for being connected by bus.
Wherein, processor 201 executes following steps:
When inquiry physiology phase need to be carried out to target month, preset menstruation Start Date is obtained;
The number of days difference in the target month between each date and the menstruation Start Date is calculated one by one;
According to date each in each number of days difference acquisition target month corresponding physiology phase;
It controls the output device 203 and exports the corresponding physiology phase of each date in the target month.
Wherein, the processor 201 is corresponding according to each date in each number of days difference acquisition target month Physiology phase include:
Obtain the preset menstrual cycle;
Each number of days difference is calculated with the menstrual cycle respectively by preset rule, obtains the target Each date corresponding target calculated result in month;
Physiology phase corresponding to each date in the target month is obtained according to each target calculated result.
Wherein, when inquiry physiology phase need to be carried out to target month, user's menstruation is obtained in the processor 201 and starts day Include: before phase
Control the target month that the input unit 204 receives user's input.
Wherein, the physiology phase includes menstrual period, the onset of ovulation and safe period;
The processor 201 obtains corresponding to each date in the target month according to each target calculated result Physiology phase include:
Judge whether the target calculated result meets the first preset condition;
When the target calculated result meets the first preset condition, the date corresponding to the target calculated result is determined The corresponding menstrual period;
When the target calculated result is unsatisfactory for the first preset condition, judge whether the target calculated result meets Two preset conditions;
When the target calculated result meets the second preset condition, the date corresponding to the target calculated result is determined The corresponding onset of ovulation;
When the target calculated result is unsatisfactory for the second preset condition, day corresponding to the target calculated result is determined Phase corresponds to safe period.
Wherein, the processor 201 controls the output device 203 to export each date in the target month corresponding Physiology phase includes:
According to the corresponding relationship of preset color and physiology phase, the corresponding physiology of each date in the target month is obtained Color corresponding to phase;
It controls the output device 203 and shows the target on the corresponding region of each date in the target month Each date corresponding color in month.
It is understood that the function of each functional module of the Intelligent bracelet of the present embodiment can be according to above method embodiment In method specific implementation, specific implementation process is referred to the associated description of above method embodiment, no longer carries out herein It repeats.
In embodiments of the present invention, when inquiry physiology phase need to be carried out to target month, preset menstruation Start Date is obtained, The number of days difference in the target month between each date and the menstruation Start Date is calculated one by one, according to each day Number differences obtain the corresponding physiology phase of each date in target months, and it is corresponding to export each date in the target month Physiology phase, this physiology phase for making terminal that can inquire any one month improve user experience so that convenient user is lived.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in the device of that embodiment of the invention can be combined, divided and deleted according to actual needs.This field The feature of different embodiments described in this specification and different embodiments can be combined or be combined by technical staff.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can be with It is realized with hardware realization or firmware realization or their combination mode.It when implemented in software, can be by above-mentioned function Storage in computer-readable medium or as on computer-readable medium one or more instructions or code transmitted.Meter Calculation machine readable medium includes computer storage media and communication media, and wherein communication media includes convenient for from a place to another Any medium of a place transmission computer program.Storage medium can be any usable medium that computer can access.With For this but be not limited to: computer-readable medium may include random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read- Only Memory, CD-ROM) or other optical disc storages, magnetic disk storage medium or other magnetic storage apparatus or can be used in Carry or storage have instruction or data structure form desired program code and can by computer access any other Medium.Furthermore.Any connection appropriate can become computer-readable medium.For example, if software is using coaxial cable, light Fine optical cable, twisted pair, Digital Subscriber Line (Digital Subscriber Line, DSL) or such as infrared ray, radio and The wireless technology of microwave etc is transmitted from website, server or other remote sources, then coaxial cable, optical fiber cable, double The wireless technology of twisted wire, DSL or such as infrared ray, wireless and microwave etc includes in the fixing of affiliated medium.Such as this hair Used in bright, disk (Disk) and dish (disc) include compress optical disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), Floppy disk and Blu-ray Disc, the usually magnetic replicate data of which disk, and dish is then with laser come optical replicate data.Group above Conjunction should also be as including within the protection scope of computer-readable medium.
In short, being not intended to limit of the invention the foregoing is merely the preferred embodiment of technical solution of the present invention Protection scope.All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in Within protection scope of the present invention.

Claims (15)

1. a kind of method for inquiring physiology phase, which is characterized in that the described method includes:
When inquiry physiology phase need to be carried out to target month, preset menstruation Start Date is obtained;
The number of days difference in the target month between each date and the menstruation Start Date is calculated one by one;
According to date each in each number of days difference acquisition target month corresponding physiology phase, the physiology phase includes Menstrual period, wherein described according to date each in each number of days difference acquisition target month corresponding physiology phase packet It includes: carrying out each number of days difference and preset menstrual cycle to take the remainder operation, using the remainder of acquisition as the target Corresponding target calculated result of each date in month;
Judge whether the target calculated result is more than or equal to 0 difference passed through between number of days and 1 for being less than or equal to user's input;
When the judgment is yes, determine that the date corresponding to the target calculated result corresponds to the menstrual period;
The physiology phase for exporting the date corresponding to the target calculated result is the menstrual period.
2. the method as described in claim 1, which is characterized in that described to obtain the target moon according to each number of days difference Each date, corresponding physiology phase included: in part
Obtain the preset menstrual cycle.
3. the method as described in claim 1, which is characterized in that it is described when inquiry physiology phase need to be carried out to target month, it obtains It takes before preset menstruation Start Date and includes:
Receive the target month of user's input.
4. method according to claim 2, which is characterized in that the physiology phase includes the onset of ovulation and safe period;
It is described to include: according to date each in each number of days difference acquisition target month corresponding physiology phase
When the target calculated result is unsatisfactory for the first preset condition, it is pre- to judge whether the target calculated result meets second If condition, wherein first preset condition is to be less than or equal to the difference of user's input passed through between number of days and 1 more than or equal to 0;
When the target calculated result meets the second preset condition, determine that the date corresponding to the target calculated result corresponding The onset of ovulation;
When the target calculated result is unsatisfactory for the second preset condition, the date pair corresponding to the target calculated result is determined Answer safe period.
5. the method as described in claim 1, which is characterized in that the date corresponding to the output target calculated result Physiology phase be the menstrual period include:
According to the corresponding relationship of preset color and physiology phase, the corresponding physiology phase institute of each date in the target month is obtained Corresponding color;
Each date corresponding face in the target month is shown on the corresponding region of each date in the target month Color.
6. a kind of terminal, which is characterized in that the terminal includes:
First acquisition unit, for obtaining preset menstruation Start Date when inquiry physiology phase need to be carried out to target month;
Computing unit, it is poor for calculating number of days in the target month between each date and the menstruation Start Date one by one Value;
Second acquisition unit, for according to date each in each number of days difference acquisition target month corresponding physiology Phase, the physiology phase include the menstrual period, wherein the second acquisition unit is also used to each number of days difference and preset Menstrual cycle carries out taking the remainder operation, calculates the remainder of acquisition as the corresponding target of each date in the target month As a result;Judge whether the target calculated result is more than or equal to 0 difference passed through between number of days and 1 for being less than or equal to user's input; When the judgment is yes, determine that the date corresponding to the target calculated result corresponds to the menstrual period;
Output unit, for exporting the corresponding physiology phase of each date in the target month, wherein the output unit is also used The physiology phase on the date corresponding to the output target calculated result is the menstrual period.
7. terminal as claimed in claim 6, which is characterized in that the second acquisition unit, comprising:
First obtains subelement, for obtaining the preset menstrual cycle.
8. terminal as claimed in claim 6, which is characterized in that the terminal further include:
Receiving unit, for receiving the target month of user's input.
9. terminal as claimed in claim 6, which is characterized in that the physiology phase includes the onset of ovulation and safe period;
The second acquisition unit includes:
Second judgment sub-unit, for judging that the target calculated result is unsatisfactory for the first default item when the second acquisition unit When part, judge whether the target calculated result meets the second preset condition, wherein first preset condition be more than or equal to 0 is less than or equal to the difference of user's input passed through between number of days and 1;
Second determines subelement, for judging that the target calculated result meets the second default item when second judgment sub-unit When part, determine that the date corresponding to the target calculated result corresponds to the onset of ovulation;
Third determines subelement, for judging that the target calculated result is unsatisfactory for second and presets when second judgment sub-unit When condition, determine that the date corresponding to the target calculated result corresponds to safe period.
10. terminal as claimed in claim 6, which is characterized in that the output unit includes:
Third obtains subelement, for the corresponding relationship according to preset color and physiology phase, obtains every in the target month Color corresponding to a date corresponding physiology phase;
Show subelement, it is every in the target month for being shown on the corresponding region of each date in the target month A date corresponding color.
11. a kind of terminal characterized by comprising input unit, output device, memory and processor, wherein memory Middle storage batch processing code, and processor is used to call the program code stored in memory, for performing the following operations:
When inquiry physiology phase need to be carried out to target month, preset menstruation Start Date is obtained;
The number of days difference in the target month between each date and the menstruation Start Date is calculated one by one;
According to date each in each number of days difference acquisition target month corresponding physiology phase, the physiology phase includes Menstrual period, wherein described according to date each in each number of days difference acquisition target month corresponding physiology phase packet It includes: carrying out each number of days difference and preset menstrual cycle to take the remainder operation, using the remainder of acquisition as the target Corresponding target calculated result of each date in month;
When the judgment is yes, determine that the date corresponding to the target calculated result corresponds to the menstrual period;
Controlling the output device and exporting the physiology phase on date corresponding to the target calculated result is the menstrual period.
12. terminal as claimed in claim 11, which is characterized in that the processor obtains institute according to each number of days difference Stating the corresponding physiology phase of each date in target month includes:
Obtain the preset menstrual cycle.
13. terminal as claimed in claim 11, which is characterized in that when inquiry physiology phase need to be carried out to target month, in institute It states before processor obtains user's menstruation Start Date and includes:
Control the target month that the input unit receives user's input.
14. terminal as claimed in claim 12, which is characterized in that the physiology phase includes the onset of ovulation and safe period;
The processor obtains physiology corresponding to each date in the target month according to each target calculated result Phase includes:
When the target calculated result is unsatisfactory for the first preset condition, it is pre- to judge whether the target calculated result meets second If condition, wherein first preset condition is to be less than or equal to the difference of user's input passed through between number of days and 1 more than or equal to 0;
When the target calculated result meets the second preset condition, determine that the date corresponding to the target calculated result corresponding The onset of ovulation;
When the target calculated result is unsatisfactory for the second preset condition, the date pair corresponding to the target calculated result is determined Answer safe period.
15. terminal as claimed in claim 11, which is characterized in that the processor controls the output device and exports the mesh The physiology phase for marking the date corresponding to calculated result is the menstrual period to include:
According to the corresponding relationship of preset color and physiology phase, the corresponding physiology phase institute of each date in the target month is obtained Corresponding color;
The output device is controlled to show in the target month on the corresponding region of each date in the target month Each date corresponding color.
CN201580002056.3A 2015-10-31 2015-10-31 A kind of method, apparatus and terminal for inquiring physiology phase Active CN105612519B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/093502 WO2017070967A1 (en) 2015-10-31 2015-10-31 Method, device, and terminal for querying menstruation cycle

Publications (2)

Publication Number Publication Date
CN105612519A CN105612519A (en) 2016-05-25
CN105612519B true CN105612519B (en) 2019-10-29

Family

ID=55991263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580002056.3A Active CN105612519B (en) 2015-10-31 2015-10-31 A kind of method, apparatus and terminal for inquiring physiology phase

Country Status (2)

Country Link
CN (1) CN105612519B (en)
WO (1) WO2017070967A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108122602B (en) * 2016-11-29 2021-11-23 网易(杭州)网络有限公司 Data analysis method and data analysis device based on electronic equipment

Citations (3)

* 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
CN101785686A (en) * 2009-01-23 2010-07-28 西江大学校产学协力团 System for customized prediction of menstruation period or fertility period and calculation method therefor
CN104680459A (en) * 2015-02-13 2015-06-03 北京康源互动健康科技有限公司 System and method for managing menstrual period based on cloud platform

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1126508C (en) * 1998-11-30 2003-11-05 光磊科技股份有限公司 Physiological period indicator for women
JPWO2007083610A1 (en) * 2006-01-17 2009-06-11 パナソニック株式会社 Lifestyle improvement support apparatus and method

Patent Citations (3)

* 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
CN101785686A (en) * 2009-01-23 2010-07-28 西江大学校产学协力团 System for customized prediction of menstruation period or fertility period and calculation method therefor
CN104680459A (en) * 2015-02-13 2015-06-03 北京康源互动健康科技有限公司 System and method for managing menstrual period based on cloud platform

Also Published As

Publication number Publication date
WO2017070967A1 (en) 2017-05-04
CN105612519A (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN104967731B (en) A kind of terminal notifying method and terminal
CN108259539B (en) Cooking parameter setting method and device
CN106714143B (en) Terminal and synchronization method thereof
CN108053118A (en) Doctor's scheduling method and system
CN106782571A (en) The display methods and device of a kind of control interface
CN106157190A (en) Menu method for pushing, menu method of reseptance, server and cooking equipment
CN105612519B (en) A kind of method, apparatus and terminal for inquiring physiology phase
CN108391314A (en) A kind of the determination method, apparatus and terminal of lead code
CN111045347B (en) Multi-kitchen electricity cooperative cooking method and system based on intelligent menu
CN108234143A (en) The processing method of message, device and equipment during a kind of live streaming
CN105433777A (en) Electric pot with booking function and booking control method thereof
CN108052305A (en) Volume adjusting method, device, electronic equipment and computer readable storage medium
CN105279035B (en) Calendared tasks querying method and device
CN107172291A (en) The method to set up and system of terminal alarm clock
CN108449782B (en) Terminal, multi-network data transmission method thereof and storage device
WO2016091010A1 (en) Countdown method and device
CN114190777A (en) Linkage control method and device between intelligent devices and electronic device
CN106164949A (en) Method, device and the terminal that a kind of physiological period data processes
CN108551466A (en) A kind of data processing method and charging unit, data-updating method and system
CN104079708B (en) A kind of electromagnetic radiation display packing, Apparatus and system
CN107872580A (en) A kind of reminding method and equipment
CN114343437B (en) Auxiliary cooking system and method based on voice recognition
CN105793877A (en) Method and device for processing physiological period data, and terminal
CN108712497B (en) Application mode sharing method, device and system
CN109582608A (en) A kind of processing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20190508

Address after: 518000 Yuanzheng Industrial Park, North of Fifth Avenue, Bantian Street, Longgang District, Shenzhen City, Guangdong Province

Applicant after: Yuanzheng Science and Technology Co., Ltd., Shenzhen City

Address before: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Applicant before: HESVIT HEALTH TECH CO., LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant