Summary of the invention
In view of this, the embodiment of the invention provides a kind of communication terminal and communication prompt method, can periodically point out user and specified contact person to communicate.
For addressing the above problem, the embodiment of the invention provides a kind of communication terminal, comprising:
Module is set, is used to be provided with communication cycle with default contact person;
Logging modle is used to write down the time of origin of communicating by letter for the last time with described default contact person;
Judge module is used for time of origin and described communication cycle according to described last communication, judges whether the communication prompt time arrive, and obtains a judged result;
Reminding module is used for when described judged result indicates the described communication prompt time to arrive, and prompting communicates with described default contact person.
Described judge module comprises:
Computing unit, be used to calculate the time of origin of described last communication and described communication cycle and value;
Whether first judging unit is used to judge the current time with described identical with value, and obtains a judged result, and being the current time in described judged result when identical with value, shows that the communication prompt time arrives with described.
Described judge module comprises:
Acquiring unit is used to obtain the difference of current time and described last time of origin of communicating by letter;
Second judging unit is used to judge whether described difference is identical with described communication cycle, and obtains a judged result, is described difference when identical with described communication cycle in described judged result, shows that the communication prompt time arrives.
Described communication terminal also comprises:
Processing module, be used for when described judged result indicates the described communication prompt time to arrive, obtaining described default contact person's contact number, and call according to described contact number, perhaps enter the transmission information interface, and on described transmission information interface, insert described contact number.
Described communication terminal also comprises:
The inquiry module, be used for when described judged result indicates the described communication prompt time to arrive, whether inquiry needs to communicate with described default contact person immediately, obtains an inquiry result, and indicate need communicate by letter with described default contact person immediately the time in described inquiry result, trigger described processing module.
The embodiment of the invention also provides a kind of communication prompt method, may further comprise the steps:
Communication cycle with default contact person is set;
Write down the time of origin of communicating by letter for the last time with described default contact person;
According to the time of origin and the described communication cycle of described last communication, judge whether the communication prompt time arrive, and obtain a judged result;
When described judged result indicated the described communication prompt time to arrive, prompting communicated with described default contact person.
Described time of origin and described communication cycle according to described last communication judge whether the communication prompt time arrive, and obtain a judged result and be specially:
Calculate the time of origin of described last communication and described communication cycle and value;
Whether judge the current time with described identical, and obtain a judged result that being the current time in described judged result when identical with value, shows that the communication prompt time arrives with described with value.
Described time of origin and described communication cycle according to described last communication judge whether the communication prompt time arrive, and obtain a judged result and be specially:
Obtain the difference of current time and described last time of origin of communicating by letter;
Judging whether described difference is identical with described communication cycle, and obtain a judged result, is described difference when identical with described communication cycle in described judged result, shows that the communication prompt time arrives.
After communicating, described prompting and described default contact person also comprise:
Whether inquiry needs to communicate with described default contact person immediately, obtains an inquiry result;
Indicate to communicate by letter with described default contact person immediately the time in described inquiry result, obtain described default contact person's contact number;
Call according to described contact number, perhaps enter the transmission information interface, and on described transmission information interface, insert described contact number.
Described prompting and described default contact person communicate and are specially:
By the mode of quarter-bell, vibrations or display reminding text, prompting communicates with described default contact person.
The embodiment of the invention has following beneficial effect:
By the communication cycle of setting with default contact person, and record and described default contact person's last time of origin of communicating by letter, to pointing out with described default contact person's next call duration time, and with after described default contact person communicates by letter, upgrade the time of origin of described last communication, the function that property performance period ground prompting user and default contact person communicate, and can automation realize, need not the user and do extra setting operation.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.
Be illustrated in figure 1 as the structural representation of the communication terminal of the embodiment of the invention, described communication terminal comprises:
Module 11 is set, is used to be provided with communication cycle with default contact person;
Loggingmodle 12 is used to write down the time of origin of communicating by letter for the last time with described default contact person;
Judge module 13 is used for time of origin and described communication cycle according to described last communication, judges whether the communication prompt time arrive, and obtains a judged result;
Reminding module 14 is used for when described judged result indicates the described communication prompt time to arrive, and prompting communicates with described default contact person.
Above-mentioned communication terminal generally is a mobile phone terminal, can certainly be fixed telephone terminal.
The time of origin of the described last communication of above-mentionedlogging modle 12 records can for initiation of communication time of described default contact person, also can for sign off time of described default contact person, or be with described default contact person's communication process in the random time point; Can accurately write down the time of origin of described last communication, for example: in 16: 36 on the 10th February, certainly,, also the time of origin of described last communication can be recorded as if do not need to write down especially accurately the result: on February 10 16 point.
Above-mentionedreminding module 14 can pass through modes such as quarter-bell, vibrations or display reminding text, and prompting user and default contact person communicate.
The communication of above-mentioned indication can be for calling or communication mode such as transmission information.
For example above-mentioned communication terminal is elaborated below.
Suppose that the above-mentioned communication cycle with contact person A thatmodule 11 settings are set is a week; When communicating by letter with contact person A, describedlogging modle 12 will with described default contact person's the initiation of communication time, be recorded as the last time of origin of communicating by letter with contact person A, the time of origin of the described last communication of hypothetical record is a point in 1 day 20 February; Describedjudge module 13 judges whether the communication prompt time (point in 8 days 20 February) arrive, the described communication prompt time be described communication cycle with described last time of origin of communicating by letter and value; When the described communication prompt time (point in 8 days 20 February) arrived, described remindingmodule 14 prompting users communicated by letter with contact person A; With after contact person A communicates by letter, describedlogging modle 12 need be upgraded the last time of origin of communicating by letter with contact person A, suppose that the user is when the communication prompt time arrives, communicate by letter with contact person A immediately, then can be with 20 time of origins on February 8 as described last communication, the rest may be inferred, and when the next communication prompt time arrived, the prompting user communicated by letter with contact person A; Certainly, the user also may communicate by letter with contact person A when communication prompt time no show, and is same at this moment, and describedlogging modle 12 needs to upgrade the last time of origin of communicating by letter with contact person A.
The communication terminal that provides by the foregoing description, can according to default contact person's communication cycle and with default contact person's last time of origin of communicating by letter, to pointing out with described default contact person's next call duration time, and with after described default contact person communicates by letter, upgrade the time of origin of described last communication, the function that property performance period ground prompting user and default contact person communicate, and can automation realize, do not need repeatedly to be provided with.
Above-mentionedjudge module 13 can judge whether the described communication prompt time arrives by following dual mode.
First kind of judgment mode is: calculate the time of origin of described last communication and described communication cycle and value, and whether detect the current time with described identical with value, in current time and described and value when identical, show that then described communication prompt time arrives, promptly the communication prompt time be the time of origin of described last communication and described communication cycle and value;
Therefore, as shown in Figure 2, on the basis of embodiment shown in Figure 1, describedjudge module 13 comprises:
Computing unit 131, be used to calculate the time of origin of described last communication and described communication cycle and value;
Whetherfirst judging unit 132 is used to judge the current time with described identical with value, and obtains a judged result, and being the current time in described judged result when identical with value, shows that the communication prompt time arrives with described.
The communication terminal that provides by the foregoing description, record and default contact person's last time of origin of communicating by letter, and, when the communication prompt time arrives, provide prompting according to the communication cycle calculating communication prompt time.
Second kind of judgment mode is: obtain the difference of current time and described last time of origin of communicating by letter, and judge whether described difference is identical with described communication cycle, when described difference is identical with described communication cycle, show that the communication prompt time arrives;
Therefore, as shown in Figure 3, on the basis of embodiment shown in Figure 1, describedjudge module 13 comprises:
Acquiringunit 133 is used to obtain the difference of current time and described last time of origin of communicating by letter;
Second judging unit 134 is used to judge whether described difference is identical with described communication cycle, and obtains a judged result, is described difference when identical with described communication cycle in described judged result, shows that the communication prompt time arrives.
The communication terminal that provides by the foregoing description, record and default contact person's last time of origin of communicating by letter, and the difference of detection current time and described last time of origin of communicating by letter provide prompting when described difference equals the communication cycle of appointment.
In addition, when the prompting communication prompt time arrives, described communication terminal can jump to the communication interface with described default contact person immediately, for example, directly the contact number according to default contact person carries out dial-up operation, to save operation steps of user, as shown in Figure 4, on the basis of embodiment shown in Figure 1, described communication terminal also comprises:
Processing module 15, be used for when described judged result indicates the described communication prompt time to arrive, obtaining described default contact person's contact number, and call according to described contact number, perhaps enter the transmission information interface, and on described transmission information interface, insert described contact number.
Certainly, before the communication interface that jumps to described default contact person, inquire in advance preferably whether the user needs to communicate by letter with described default contact person immediately, and at this moment, described communication terminal can also comprise:
Inquiry module 16, be used for when described judged result indicates the described communication prompt time to arrive, whether inquiry needs to communicate with described default contact person immediately, obtain an inquiry result, and indicate need communicate by letter with described default contact person immediately the time in described inquiry result, trigger describedprocessing module 15.
Above-mentioned communication terminal can be when the prompting communication prompt time arrives, whether eject prompting frame inquiry user needs to communicate with default contact person immediately, when the user selects to communicate with default contact person immediately, obtain default contact person's contact number, and call according to described contact number, perhaps enter the transmission information interface, and on described transmission information interface, insert described contact number, save operation steps of user, made the user to communicate with default contact person easily; When the user selects not communicate with default contact person immediately, can with the current time as with described default contact person's last time of origin of communicating by letter, think that promptly the user communicates by letter with default contact person, certainly, can be not yet with the current time as with described default contact person's last time of origin of communicating by letter, but the user not with before default contact person communicates by letter, point out the user at regular intervals once, for example, every one hour prompting user once, till user and default contact person get in touch.
Be example with mobile phone terminal below, the implementation of above-mentioned communication terminal is described with cards folder function.
Can make amendment to the contact attribute in the cards folder of mobile phone terminal, the function that property performance period prompting user communicates by letter with default contact person, as follows:
Step 1: as shown in Figure 5, add " communication cycle " attribute in the contact attribute of cards folder, the user can freely be provided with the communication cycle with specified contact person as required;
Step 2: add " last call duration time " attribute in the contact attribute of cards folder, be used to write down the time of origin of communicating by letter for the last time with default contact person, this attribute is set to read-only, and the user can't revise;
Step 3: add " prompting " attribute in the contact attribute of cards folder whether periodically, the user can select whether to open periodically prompt facility;
Step 4: with cards folder in contact person A communicate after, upgrade the property value of contact person A " last call duration time " automatically, and, calculate the communication prompt time according to the property value of contact person A " communication cycle ";
Step 5: when the communication prompt time arrived, quarter-bell also ejected how long prompting frame prompting user is existing does not communicate by letter with contact person A, and whether inquiry communicates immediately;
Step 6: when the user selects to communicate with contact person A immediately, in the contact attribute of cards folder, obtain the contact number of contact person A, and call according to described contact number, perhaps enter the transmission information interface, and on described transmission information interface, insert described contact number;
Step 7: the user upgrades the property value of " last call duration time " automatically with after contact person A communicates by letter, and calculates the communication prompt time next time;
Step 8: when the user selects not communicate with contact person A immediately, do not upgrade the property value of " last call duration time ", but recomputate the communication prompt time, the described communication prompt time is the current time to add the property value of " communication cycle ".
Certainly, in the specific implementation process, can the contact attribute in the cards folder not made amendment yet, but above-mentioned communication cycle, the time of contact at last etc. is recorded in the special file.
Be illustrated in figure 6 as the schematic flow sheet of the communication prompt method of the embodiment of the invention, described communication prompt method may further comprise the steps:
Step 61 is provided with the communication cycle with default contact person;
Step 62 writes down the time of origin of communicating by letter for the last time with described default contact person;
Step 63 according to the time of origin and the described communication cycle of described last communication, is judged whether the communication prompt time arrive, and is obtained a judged result;
Step 64, when described judged result indicated the described communication prompt time to arrive, prompting communicated with described default contact person.
The circulation method that provides by the foregoing description, can according to default contact person's communication cycle and with default contact person's last time of origin of communicating by letter, to pointing out with described default contact person's next call duration time, and with after described default contact person communicates by letter, upgrade the time of origin of described last communication, the function that property performance period ground prompting user and default contact person communicate.
Be illustrated in figure 7 as another schematic flow sheet of the communication prompt method of the embodiment of the invention, described communication prompt method may further comprise the steps:
Step 71 is provided with the communication cycle with default contact person;
Step 72 writes down the time of origin of communicating by letter for the last time with described default contact person;
Step 73, calculate the time of origin of described last communication and described communication cycle and value;
Whether step 74 is judged the current time with described identical with value, and is obtained a judged result, and being the current time in described judged result when identical with value, shows that the communication prompt time arrives with described;
Step 75, when described judged result indicated the described communication prompt time to arrive, prompting communicated with described default contact person;
Step 76, whether inquiry needs to communicate with described default contact person immediately, when needs communicate with described default contact person immediately, enters step 77, otherwise enters step 78;
Step 77 is obtained described default contact person's contact number, and calls according to described contact number, perhaps enters the transmission information interface, and insert described contact number on described transmission information interface;
Step 78, with the current time as with described default contact person's last time of origin of communicating by letter.
In addition, above-mentioned steps 73 and step 74 also can for:
Obtain the difference of current time and described last time of origin of communicating by letter;
Judging whether described difference is identical with described communication cycle, and obtain a judged result, is described difference when identical with described communication cycle in described judged result, shows that the communication prompt time arrives.
The method that provides by the foregoing description, can according to default contact person's communication cycle and with default contact person's last time of origin of communicating by letter, to pointing out with described default contact person's next call duration time, and with after described default contact person communicates by letter, upgrade the time of origin of described last communication, the function that property performance period ground prompting user and default contact person communicate.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.