CN105721693B - A kind of event-prompting method and mobile terminal - Google Patents

A kind of event-prompting method and mobile terminal Download PDF

Info

Publication number
CN105721693B
CN105721693B CN201610064358.XA CN201610064358A CN105721693B CN 105721693 B CN105721693 B CN 105721693B CN 201610064358 A CN201610064358 A CN 201610064358A CN 105721693 B CN105721693 B CN 105721693B
Authority
CN
China
Prior art keywords
audio file
reminded
event
mobile terminal
period
Prior art date
Application number
CN201610064358.XA
Other languages
Chinese (zh)
Other versions
CN105721693A (en
Inventor
黄宏用
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN201610064358.XA priority Critical patent/CN105721693B/en
Publication of CN105721693A publication Critical patent/CN105721693A/en
Application granted granted Critical
Publication of CN105721693B publication Critical patent/CN105721693B/en

Links

Abstract

The embodiment of the invention discloses a kind of event-prompting method and mobile terminals, it include: when detecting the starting reminder time of i-th of event to be reminded in N number of event to be reminded that system time prestores for mobile terminal, play the first audio file for reminding i-th of event to be reminded, again, if detecting, the prompting period of i-th of event to be reminded includes the starting reminder time of j-th of event to be reminded in N number of event to be reminded, then obtain the second audio file for reminding j-th of event to be reminded, judge whether the first audio file is identical as the second audio file, if the first audio file and the second audio file be not identical, then when the system time of mobile terminal is the starting reminder time of j-th of event to be reminded, play the first audio file and the second audio file.The embodiment of the present invention is conducive to promote the accuracy rate that mobile terminal event is reminded, and promotes user experience.

Description

A kind of event-prompting method and mobile terminal

Technical field

The present invention relates to technical field of mobile terminals, and in particular to a kind of event-prompting method and mobile terminal.

Background technique

Currently, the function of the mobile terminals such as mobile phone is stronger and stronger, when people use mobile phone in daily life, often It is gone to work using the event reminder application of mobile phone, such as user's morning getting up early, needs to set and have office hours for reminding to get up or go out Corresponding timing node of event to be reminded of vehicle, etc..

The inventor of the technical program has found in the course of the research, existing event reminder application for it is preset to When reminder events are reminded, the usual same period can only be reminded an event, this made in the event intensive period Multiple events are difficult to be alerted in time, therefore user can ignore some events, cause bad user experience.

Summary of the invention

The embodiment of the invention provides a kind of event-prompting method and mobile terminals, remind to improve mobile terminal event Accuracy rate, promoted user experience.

In a first aspect, the embodiment of the present invention provides a kind of event-prompting method, comprising:

Obtain the system time of mobile terminal;

Detecting that the system time is i-th in N number of event to be reminded for prestoring of the mobile terminal to be reminded When the starting reminder time of event, the first audio file for reminding described i-th event to be reminded is played, the N is big In 1 integer, the i is the positive integer less than or equal to N;

If detect the prompting period of described i-th event to be reminded include j-th in N number of event to be reminded to The starting reminder time of reminder events then obtains the second audio file for reminding described j-th event to be reminded, the j For the positive integer less than or equal to N, and the i is not equal to the j;

Judge whether first audio file and second audio file are identical;

If first audio file and second audio file be not identical, in the system time of the mobile terminal For described j-th event to be reminded starting reminder time when, play first audio file and second audio file.

With reference to first aspect, in some possible implementations, the method also includes:

If first audio file is identical as second audio file, update second audio file for institute State the different third audio file of the first audio file;

When the system time of the mobile terminal is the starting reminder time of described j-th event to be reminded, institute is played State the first audio file and the third audio file.

With reference to first aspect, described to play first audio file and described the in some possible implementations Two audio files, comprising:

First audio file and second audio file is played simultaneously by the loudspeaker of the mobile terminal;Or Person,

First audio file is played by the first loudspeaker of the mobile terminal, and passes through the mobile terminal First audio file is played simultaneously in second loudspeaker.

With reference to first aspect, described to play first audio file and described the in some possible implementations Two audio files, comprising:

First audio file is played by the loudspeaker of the mobile terminal;

The broadcasting for carrying second audio file is sent to the wearable device connecting with the communication of mobile terminal Control instruction, the broadcasting control instruction are used to indicate the wearable device and play second audio file.

As it can be seen that mobile terminal provided in an embodiment of the present invention can be with two events to be reminded of wearable device synchronism output Audio file, avoid starting reminder time from be in the event to be reminded of period to be reminded and be ignored, be conducive to promote mobile end The accuracy rate that end event is reminded promotes user experience.

With reference to first aspect, described to play first audio file and described the in some possible implementations Two audio files, comprising:

Determine the weight of the prompting period for reminding period and j-th of event to be reminded of described i-th event to be reminded It closes and reminds the period;

Splitting the coincidence and reminding the period is M prompting sub-period, and the M is the positive integer greater than 1;

First audio file is played in the M1 prompting sub-period that described M is reminded in sub-period, is mentioned at the M Except the prompting sub-period of described M1 prompting sub-period plays second audio file in awake sub-period, the M1 is less than institute State the positive integer of M.

As it can be seen that mobile terminal provided in an embodiment of the present invention can export two events to be reminded in same period synchronization Audio file avoids starting reminder time from being in the event to be reminded of period to be reminded and is ignored, and is conducive to promote mobile terminal The accuracy rate that event is reminded promotes user experience.

Second aspect, the embodiment of the invention provides a kind of mobile terminals, comprising:

Acquiring unit, for obtaining the system time of mobile terminal;

Broadcast unit, in detecting N number of event to be reminded that the system time prestores for the mobile terminal I-th of event to be reminded starting reminder time when, play for remind described i-th event to be reminded the first audio text Part, the N are the integer greater than 1, and the i is the positive integer less than or equal to N;

The acquiring unit, if be also used to detect the prompting period of described i-th event to be reminded include it is described it is N number of to The starting reminder time of j-th of event to be reminded in reminder events then obtains for reminding described j-th event to be reminded Second audio file, the j is the positive integer less than or equal to N, and the i is not equal to the j;

Judging unit, for judging whether first audio file and second audio file are identical;

The broadcast unit, if being also used to first audio file and second audio file is not identical, in institute When the system time for stating mobile terminal is the starting reminder time of described j-th event to be reminded, the first audio text is played Part and second audio file.

In conjunction with second aspect, in some possible implementations, the mobile terminal further include:

Updating unit, for judging first audio file and the second audio file phase in the judging unit Together, updating second audio file is the third audio file different from first audio file;

The broadcast unit is also used in the system time of the mobile terminal be rising for described j-th event to be reminded When reminder time beginning, first audio file and the third audio file are played.

In conjunction with second aspect, in some possible implementations, the broadcast unit is specifically used for:

First audio file and second audio file is played simultaneously by the loudspeaker of the mobile terminal;Or Person,

First audio file is played by the first loudspeaker of the mobile terminal, and passes through the mobile terminal First audio file is played simultaneously in second loudspeaker.

In conjunction with second aspect, in some possible implementations, the broadcast unit is specifically used for:

First audio file is played by the loudspeaker of the mobile terminal;

The broadcasting for carrying second audio file is sent to the wearable device connecting with the communication of mobile terminal Control instruction, the broadcasting control instruction are used to indicate the wearable device and play second audio file.

In conjunction with second aspect, in some possible implementations, the broadcast unit is specifically used for:

Determine the weight of the prompting period for reminding period and j-th of event to be reminded of described i-th event to be reminded It closes and reminds the period;

Splitting the coincidence and reminding the period is M prompting sub-period, and the M is the positive integer greater than 1;

First audio file is played in the M1 prompting sub-period that described M is reminded in sub-period, is mentioned at the M Except the prompting sub-period of described M1 prompting sub-period plays second audio file in awake sub-period, the M1 is less than institute State the positive integer of M.

The third aspect, the embodiment of the invention provides a kind of mobile terminals, comprising:

It is stored with the memory of executable program code;

The processor coupled with the memory;

The processor calls the executable program code stored in the memory, executes following steps:

Obtain the system time of mobile terminal;

Detecting that the system time is i-th in N number of event to be reminded for prestoring of the mobile terminal to be reminded When the starting reminder time of event, the first audio file for reminding described i-th event to be reminded is played, the N is big In 1 integer, the i is the positive integer less than or equal to N;

If detect the prompting period of described i-th event to be reminded include j-th in N number of event to be reminded to The starting reminder time of reminder events then obtains the second audio file for reminding described j-th event to be reminded, the j For the positive integer less than or equal to N, and the i is not equal to the j;

Judge whether first audio file and second audio file are identical;

If first audio file and second audio file be not identical, in the system time of the mobile terminal For described j-th event to be reminded starting reminder time when, play first audio file and second audio file.

In conjunction with the third aspect, in some possible implementations, the processor is also used to:

If first audio file is identical as second audio file, update second audio file for institute State the different third audio file of the first audio file;

When the system time of the mobile terminal is the starting reminder time of described j-th event to be reminded, institute is played State the first audio file and the third audio file.

In conjunction with the third aspect, in some possible implementations, the processor play first audio file and The specific implementation of second audio file are as follows:

First audio file and second audio file is played simultaneously by the loudspeaker of the mobile terminal;Or Person,

First audio file is played by the first loudspeaker of the mobile terminal, and passes through the mobile terminal First audio file is played simultaneously in second loudspeaker.

In conjunction with the third aspect, in some possible implementations, the processor play first audio file and The specific implementation of second audio file are as follows: the first audio text is played by the loudspeaker of the mobile terminal Part;

The broadcasting for carrying second audio file is sent to the wearable device connecting with the communication of mobile terminal Control instruction, the broadcasting control instruction are used to indicate the wearable device and play second audio file.

In conjunction with the third aspect, in some possible implementations, the processor play first audio file and The specific implementation of second audio file are as follows: determine prompting period of described i-th event to be reminded and j-th described The period is reminded in the coincidence of the prompting period of event to be reminded;

Splitting the coincidence and reminding the period is M prompting sub-period, and the M is the positive integer greater than 1;

First audio file is played in the M1 prompting sub-period that described M is reminded in sub-period, is mentioned at the M Except the prompting sub-period of described M1 prompting sub-period plays second audio file in awake sub-period, the M1 is less than institute State the positive integer of M.

As can be seen that mobile terminal obtains the current system time of mobile terminal first in the embodiment of the present invention, secondly, When the starting for detecting i-th of event to be reminded in N number of event to be reminded that system time prestores for mobile terminal is reminded Between when, play for reminding first audio file of i-th of event to be reminded, again, if detecting i-th of event to be reminded Reminding the period includes the starting reminder time of j-th of event to be reminded in N number of event to be reminded, then obtains for reminding jth Second audio file of a event to be reminded judges whether the first audio file is identical as the second audio file, if the first audio File and the second audio file be not identical, then when the starting that the system time of mobile terminal is j-th of event to be reminded is reminded Between when, play the first audio file and the second audio file.As it can be seen that mobile terminal provided in an embodiment of the present invention can synchronize it is defeated The audio file of two events to be reminded out avoids starting reminder time from being in the event to be reminded of period to be reminded and is ignored, Be conducive to promote the accuracy rate that mobile terminal event is reminded, promote user experience.

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 structural schematic diagram figure of mobile terminal disclosed by the embodiments of the present invention;

Fig. 2 is the flow diagram of event-prompting method disclosed in the method for the present invention first embodiment;

Fig. 3 is the flow diagram of event-prompting method disclosed in the method for the present invention second embodiment;

Fig. 4 is the flow diagram of event-prompting method disclosed in the method for the present invention 3rd embodiment;

Fig. 5 is the unit composition block diagram of mobile terminal disclosed in apparatus of the present invention embodiment.

Specific embodiment

In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.

Description and claims of this specification and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.

Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.

In order to be best understood from a kind of event-prompting method and mobile terminal disclosed by the embodiments of the present invention, below first to this hair The applicable mobile terminal of bright embodiment is described.Referring to Figure 1, Fig. 1 is a kind of mobile terminal provided in an embodiment of the present invention Structure composed figure.It can specifically include at least one processor 101 in the structure composed figure of the mobile terminal, at least one is deposited Reservoir 102, at least one communication bus 103, reception/transmitting line 104, antenna 105, at least one touch screen 106, at least one A display screen 107, microphone 108, loudspeaker 109, client identification module SIM Card110, physical button 111, Bluetooth control Device 113, digital signal processing circuit 114;Wherein, the touching display screen is the touch screen 106 and the display screen 107 It is integrated, array of pressure sensors can be set in the touching display screen, mobile terminal can pass through the array of pressure sensors Detect pressure parameter, wherein the memory 102 comprises at least one of the following: random access memory, nonvolatile memory And external memory, the processor 101 are controlled logical with External cell net by reception/transmitting line 104 and antenna 105 Letter;It is stored with instruction set in at least one processor, which is integrated in operating system or by processor 101 In executable application program, which can specifically disclose in the execution embodiment of the present invention method of bootstrap processor 101 Event-prompting method.The mobile terminal for example can be all kinds of general electricity such as smart phone, tablet computer, laptop Sub- equipment, the wearable device connecting with the communication of mobile terminal for example can be Intelligent bracelet, Intelligent garment, intelligent shoe etc. Electronic equipment.

The touching display screen of the mobile terminal 100 is the integrated of the touch screen 106 and the display screen 107, described Array of pressure sensors can be set in touching display screen, mobile terminal can detect pressure by the array of pressure sensors Parameter, wherein above-mentioned pressure sensor for example can be resistance strain gage pressure sensor, semiconductor gauge pressure sensing Device, piezoresistive pressure sensor, inductance pressure transducer, capacitance pressure transducer, resonance type pressure sensor etc., this hair It include but is not limited to aforesaid way in bright embodiment to obtain touch-control dynamics.

Processor 101 in above-mentioned mobile terminal 100 can couple at least one processor 102, the memory Instruction set is prestored in 102, described instruction set, which specifically includes, obtains module, playing module and judgment module, described to deposit Reservoir 102 is also further stored with kernel module, and the kernel module includes operating system (such as WINDOWSTM, ANDROIDTM, IOSTMDeng).The processor 101 calls described instruction set to execute event-prompting method disclosed in the embodiment of the present invention, Specifically includes the following steps:

Acquisition module in 101 run memory 102 of processor of the mobile terminal 100, to obtain mobile terminal System time;

Playing module in 101 run memory 102 of processor of the mobile terminal 100, to detect the system When the system time is the starting reminder time of i-th of event to be reminded in N number of event to be reminded that the mobile terminal prestores, broadcast Put the first audio file for reminding described i-th event to be reminded, the N is the integer greater than 1, the i be less than or Positive integer equal to N;

Acquisition module in 101 run memory 102 of processor of the mobile terminal 100, if with for detecting institute The prompting period for stating i-th of event to be reminded includes the starting prompting of j-th of event to be reminded in N number of event to be reminded Time, then the second audio file for reminding described j-th event to be reminded is obtained, the j is just whole less than or equal to N Number, and the i is not equal to the j;

Judgment module in 101 run memory 102 of processor of the mobile terminal 100, to judge first sound Whether frequency file and second audio file are identical;

Playing module in 101 run memory 102 of processor of the mobile terminal 100, if with first audio File and second audio file be not identical, then is described j-th event to be reminded in the system time of the mobile terminal Starting reminder time when, play first audio file and second audio file.

Optionally, the processor 101 is also used to:

If first audio file is identical as second audio file, update second audio file for institute State the different third audio file of the first audio file;

When the system time of the mobile terminal is the starting reminder time of described j-th event to be reminded, institute is played State the first audio file and the third audio file.

Optionally, the processor 101 plays the specific implementation of first audio file and second audio file Mode are as follows:

First audio file and second audio file is played simultaneously by the loudspeaker of the mobile terminal;Or Person,

First audio file is played by the first loudspeaker of the mobile terminal, and passes through the mobile terminal First audio file is played simultaneously in second loudspeaker.

Optionally, the processor 101 plays the specific implementation of first audio file and second audio file Mode are as follows:

First audio file is played by the loudspeaker of the mobile terminal;

The broadcasting for carrying second audio file is sent to the wearable device connecting with the communication of mobile terminal Control instruction, the broadcasting control instruction are used to indicate the wearable device and play second audio file.

Optionally, the processor 101 plays the specific implementation of first audio file and second audio file Mode are as follows: determine the coincidence of the prompting period for reminding period and j-th of event to be reminded of described i-th event to be reminded Remind the period;

Splitting the coincidence and reminding the period is M prompting sub-period, and the M is the positive integer greater than 1;

First audio file is played in the M1 prompting sub-period that described M is reminded in sub-period, is mentioned at the M Except the prompting sub-period of described M1 prompting sub-period plays second audio file in awake sub-period, the M1 is less than institute State the positive integer of M.

As can be seen that mobile terminal obtains the current system time of mobile terminal first in the embodiment of the present invention, secondly, When the starting for detecting i-th of event to be reminded in N number of event to be reminded that system time prestores for mobile terminal is reminded Between when, play for reminding first audio file of i-th of event to be reminded, again, if detecting i-th of event to be reminded Reminding the period includes the starting reminder time of j-th of event to be reminded in N number of event to be reminded, then obtains for reminding jth Second audio file of a event to be reminded judges whether the first audio file is identical as the second audio file, if the first audio File and the second audio file be not identical, then when the starting that the system time of mobile terminal is j-th of event to be reminded is reminded Between when, play the first audio file and the second audio file.As it can be seen that mobile terminal provided in an embodiment of the present invention can synchronize it is defeated The audio file of two events to be reminded out avoids starting reminder time from being in the event to be reminded of period to be reminded and is ignored, Be conducive to promote the accuracy rate that mobile terminal event is reminded, promote user experience.

Consistent with the technical solution of foregoing description, as a specific embodiment, Fig. 2 is that first method of the present invention is implemented A kind of flow diagram for event-prompting method that example provides.Although event-prompting method described herein is based on shown in Fig. 1 Mobile terminal execute, but should be noted that the carrying out practically environment of event-prompting method disclosed by the embodiments of the present invention It is not limited only to above-mentioned mobile terminal.

As shown in Fig. 2, event-prompting method disclosed in embodiment of the present invention method specifically includes the following steps:

S201, the system time of acquisition for mobile terminal mobile terminal;

S202, the mobile terminal are detecting that the system time is N number of thing to be reminded that the mobile terminal prestores When the starting reminder time of i-th of event to be reminded in part, the first sound for reminding described i-th event to be reminded is played Frequency file, the N are the integer greater than 1, and the i is the positive integer less than or equal to N;

Wherein, first audio file for example can be the customized music of user, recording, cross-talk, tweedle etc.. If 7 points of user's morning were accustomed to listening the piano music morning exercises of Mozart to seven thirty, then can preset for reminding user to carry out morning The starting reminder time of experienced event to be reminded is 7 points, and the audio file with the event correlation to be reminded is Mozart's piano It is bent.

S203, if the mobile terminal detects that the prompting period of described i-th event to be reminded includes described N number of wait mention The starting reminder time of j-th of event to be reminded in the event of waking up then obtains for reminding described j-th event to be reminded Two audio files, the j is the positive integer less than or equal to N, and the i is not equal to the j;

S204, the mobile terminal judge whether first audio file and second audio file are identical;

S205, if the mobile terminal first audio file and second audio file be not identical, described When the system time of mobile terminal is the starting reminder time of described j-th event to be reminded, first audio file is played With second audio file.

As can be seen that mobile terminal obtains the current system time of mobile terminal first in the embodiment of the present invention, secondly, When the starting for detecting i-th of event to be reminded in N number of event to be reminded that system time prestores for mobile terminal is reminded Between when, play for reminding first audio file of i-th of event to be reminded, again, if detecting i-th of event to be reminded Reminding the period includes the starting reminder time of j-th of event to be reminded in N number of event to be reminded, then obtains for reminding jth Second audio file of a event to be reminded judges whether the first audio file is identical as the second audio file, if the first audio File and the second audio file be not identical, then when the starting that the system time of mobile terminal is j-th of event to be reminded is reminded Between when, play the first audio file and the second audio file.As it can be seen that mobile terminal provided in an embodiment of the present invention can synchronize it is defeated The audio file of two events to be reminded out avoids starting reminder time from being in the event to be reminded of period to be reminded and is ignored, Be conducive to promote the accuracy rate that mobile terminal event is reminded, promote user experience.

Optionally, in the embodiment of the present invention, the mobile terminal also executes following operation:

If first audio file is identical as second audio file, update second audio file for institute State the different third audio file of the first audio file;

When the system time of the mobile terminal is the starting reminder time of described j-th event to be reminded, institute is played State the first audio file and the third audio file.

Optionally, in the embodiment of the present invention, the first audio file described in the mobile terminal playing and second audio The specific implementation of file are as follows:

First audio file and second audio file is played simultaneously by the loudspeaker of the mobile terminal;Or Person,

First audio file is played by the first loudspeaker of the mobile terminal, and passes through the mobile terminal First audio file is played simultaneously in second loudspeaker.

Optionally, in the embodiment of the present invention, the first audio file described in the mobile terminal playing and second audio The specific implementation of file are as follows:

First audio file is played by the loudspeaker of the mobile terminal;

The broadcasting for carrying second audio file is sent to the wearable device connecting with the communication of mobile terminal Control instruction, the broadcasting control instruction are used to indicate the wearable device and play second audio file.

Optionally, in the embodiment of the present invention, the first audio file described in the mobile terminal playing and second audio The specific implementation of file are as follows:

Determine the weight of the prompting period for reminding period and j-th of event to be reminded of described i-th event to be reminded It closes and reminds the period;

Splitting the coincidence and reminding the period is M prompting sub-period, and the M is the positive integer greater than 1;

First audio file is played in the M1 prompting sub-period that described M is reminded in sub-period, is mentioned at the M Except the prompting sub-period of described M1 prompting sub-period plays second audio file in awake sub-period, the M1 is less than institute State the positive integer of M.

Referring to Fig. 3, Fig. 3 is a kind of process signal for event-prompting method that second method embodiment of the present invention provides Figure.As shown in figure 3, event-prompting method disclosed in embodiment of the present invention method specifically includes the following steps:

S301, the system time of acquisition for mobile terminal mobile terminal;

S302, the mobile terminal are detecting that the system time is N number of thing to be reminded that the mobile terminal prestores When the starting reminder time of i-th of event to be reminded in part, the first sound for reminding described i-th event to be reminded is played Frequency file, the N are the integer greater than 1, and the i is the positive integer less than or equal to N;

S303, if the mobile terminal detects that the prompting period of described i-th event to be reminded includes described N number of wait mention The starting reminder time of j-th of event to be reminded in the event of waking up then obtains for reminding described j-th event to be reminded Two audio files, the j is the positive integer less than or equal to N, and the i is not equal to the j;

S304, the mobile terminal judge whether first audio file and second audio file are identical;

S305, if the mobile terminal first audio file and second audio file be not identical, described When the system time of mobile terminal is the starting reminder time of described j-th event to be reminded, pass through raising for the mobile terminal Sound device plays first audio file;

S306, the mobile terminal carry described the to the wearable device transmission connecting with the communication of mobile terminal The broadcasting control instruction of two audio files, the broadcasting control instruction are used to indicate the wearable device and play second sound Frequency file.

As it can be seen that mobile terminal provided in an embodiment of the present invention can be with two events to be reminded of wearable device synchronism output Audio file, avoid starting reminder time from be in the event to be reminded of period to be reminded and be ignored, be conducive to promote mobile end The accuracy rate that end event is reminded promotes user experience.

Referring to Fig. 4, Fig. 4 is a kind of process signal for event-prompting method that third method embodiment of the present invention provides Figure.As shown in figure 4, event-prompting method disclosed in embodiment of the present invention method specifically includes the following steps:

S401, the system time of acquisition for mobile terminal mobile terminal;

S402, detect the system time be i-th in N number of event to be reminded for prestoring of the mobile terminal to When the starting reminder time of reminder events, the first audio file for reminding described i-th event to be reminded, the N are played For the integer greater than 1, the i is the positive integer less than or equal to N;

S403, if the mobile terminal detects that the prompting period of described i-th event to be reminded includes described N number of wait mention The starting reminder time of j-th of event to be reminded in the event of waking up then obtains for reminding described j-th event to be reminded Two audio files, the j is the positive integer less than or equal to N, and the i is not equal to the j;

S404, the mobile terminal judge whether first audio file and second audio file are identical;

S405, if the mobile terminal first audio file and second audio file be not identical, described When the system time of mobile terminal is the starting reminder time of described j-th event to be reminded, described i-th thing to be reminded is determined The period is reminded in the coincidence for reminding the prompting period of period and j-th of event to be reminded of part;

S406, it is M prompting sub-period that the mobile terminal, which splits the coincidence and reminds the period, and the M is just greater than 1 Integer;

S407 plays first audio file in the M1 prompting sub-period that described M is reminded in sub-period, described M is reminded except the prompting sub-period of described M1 prompting sub-period plays second audio file in sub-period, and the M1 is Less than the positive integer of the M.

As it can be seen that mobile terminal provided in an embodiment of the present invention can export two events to be reminded in same period synchronization Audio file avoids starting reminder time from being in the event to be reminded of period to be reminded and is ignored, and is conducive to promote mobile terminal The accuracy rate that event is reminded promotes user experience.

The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is realized for executing embodiment of the present invention method Method.

Based on the composition framework of mobile terminal 100 shown in FIG. 1, the embodiment of the invention discloses a kind of mobile terminal. Referring to Fig. 5, Fig. 5 is the functional unit block diagram of mobile terminal disclosed in apparatus of the present invention embodiment.

As shown in figure 5, the mobile terminal may include acquiring unit 501, broadcast unit 502, judging unit 503, in which:

The acquiring unit 501, for obtaining the system time of mobile terminal;

The broadcast unit 502, for detect the system time be the mobile terminal prestore it is N number of to be reminded When the starting reminder time of i-th of event to be reminded in event, first for reminding described i-th event to be reminded is played Audio file, the N are the integer greater than 1, and the i is the positive integer less than or equal to N;

The acquiring unit 501, if being also used to detect, the prompting period of described i-th event to be reminded includes the N The starting reminder time of j-th of event to be reminded in a event to be reminded then obtains for reminding described j-th thing to be reminded Second audio file of part, the j is the positive integer less than or equal to N, and the i is not equal to the j;

The judging unit 503, for judging whether first audio file and second audio file are identical;

The broadcast unit 502, if being also used to first audio file and second audio file is not identical, When the system time of the mobile terminal is the starting reminder time of described j-th event to be reminded, first audio is played File and second audio file.

Optionally, the mobile terminal further include:

Updating unit, for judging first audio file and the second audio file phase in the judging unit Together, updating second audio file is the third audio file different from first audio file;

The broadcast unit is also used in the system time of the mobile terminal be rising for described j-th event to be reminded When reminder time beginning, first audio file and the third audio file are played.

Optionally, the broadcast unit 502 is specifically used for:

First audio file and second audio file is played simultaneously by the loudspeaker of the mobile terminal;Or Person,

First audio file is played by the first loudspeaker of the mobile terminal, and passes through the mobile terminal First audio file is played simultaneously in second loudspeaker.

Optionally, the broadcast unit 502 is specifically used for:

First audio file is played by the loudspeaker of the mobile terminal;

The broadcasting for carrying second audio file is sent to the wearable device connecting with the communication of mobile terminal Control instruction, the broadcasting control instruction are used to indicate the wearable device and play second audio file.

Optionally, the broadcast unit 502 is specifically used for:

Determine the weight of the prompting period for reminding period and j-th of event to be reminded of described i-th event to be reminded It closes and reminds the period;

Splitting the coincidence and reminding the period is M prompting sub-period, and the M is the positive integer greater than 1;

First audio file is played in the M1 prompting sub-period that described M is reminded in sub-period, is mentioned at the M Except the prompting sub-period of described M1 prompting sub-period plays second audio file in awake sub-period, the M1 is less than institute State the positive integer of M.

It should be noted that mobile terminal described in apparatus of the present invention embodiment is presented in the form of functional unit. Term " unit " used herein above should be understood as meaning as widest as possible, for realizing function described by each " unit " Object for example can be integrated circuit ASIC, single circuit, for executing the processing of one or more softwares or firmware program Device (shared, dedicated or chipset) and memory, combinational logic circuit, and/or other conjunctions for realizing above-mentioned function are provided Suitable component.

For example, art technology person people can be assumed that the composition form of the hardware carrier of the mobile terminal specifically can be with It is mobile terminal 100 shown in FIG. 1.

Wherein, the function of the acquiring unit 501 can be by the processor 101 and memory in the mobile terminal 100 102 realize, particular by the acquisition module in 100 run memory 102 of processor, when system to obtain mobile terminal Between;

The function of the extraction unit 502 can by the mobile terminal 100 processor 101 and memory 102 It realizes, particular by the playing module in 100 run memory 102 of processor, to detect the system time as institute When stating the starting reminder time of i-th of event to be reminded in N number of event to be reminded that mobile terminal prestores, play for reminding First audio file of i-th of event to be reminded;

The function of the output unit 503 can by the mobile terminal 100 processor 101 and memory 102 It realizes, particular by the judgment module in 100 run memory 102 of processor, to judge first audio file and institute Whether identical state the second audio file.

As can be seen that the acquiring unit of mobile terminal obtains the system time of mobile terminal first in the embodiment of the present invention, Secondly, the broadcast unit of mobile terminal is detecting i-th in N number of event to be reminded that system time prestores for mobile terminal When the starting reminder time of event to be reminded, the first audio file for reminding i-th of event to be reminded is played, again, is moved If the acquiring unit of dynamic terminal detect the prompting period of i-th of event to be reminded include j-th in N number of event to be reminded to The starting reminder time of reminder events then obtains the second audio file for reminding j-th of event to be reminded, again, mobile The judging unit of terminal judges whether the first audio file is identical as the second audio file, finally, the broadcast unit of mobile terminal It is j-th of event to be reminded in the system time of mobile terminal if the first audio file and the second audio file be not identical When originating reminder time, the first audio file and the second audio file are played.As it can be seen that mobile terminal provided in an embodiment of the present invention It is capable of the audio file of two events to be reminded of synchronism output, starting reminder time is avoided to be in the thing to be reminded of period to be reminded Part is ignored, and is conducive to promote the accuracy rate that mobile terminal event is reminded, promotes user experience.

The embodiment of the present invention also provides a kind of computer storage medium, wherein the computer storage medium can be stored with journey Sequence, the program include some or all of any event-prompting method recorded in above method embodiment step when executing Suddenly.

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.

In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.

The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.

It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.

If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, technical solution of the present invention substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the present invention Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.

Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..

The embodiment of the present invention has been described in detail above, specific case used herein to the principle of the present invention and Embodiment is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the present invention There is change place, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (11)

1. a kind of event-prompting method characterized by comprising
Obtain the system time of mobile terminal;
Detecting i-th of event to be reminded in N number of event to be reminded that the system time prestores for the mobile terminal Starting reminder time when, play the first audio file for reminding described i-th event to be reminded, the N is greater than 1 Integer, the i are the positive integer less than or equal to N;
If detecting, the prompting period of described i-th event to be reminded includes j-th in N number of event to be reminded to be reminded The starting reminder time of the starting reminder time of event, j-th of event to be reminded are in described i-th event to be reminded The period is reminded, then obtains the second audio file for reminding described j-th event to be reminded, the j is less than or equal to N's Positive integer, and the i is not equal to the j;
Judge whether first audio file and second audio file are identical;
It is institute in the system time of the mobile terminal if first audio file and second audio file be not identical When stating the starting reminder time of j-th of event to be reminded, first audio file and second audio file are played.
2. the method according to claim 1, wherein the method also includes:
If first audio file is identical as second audio file, updating second audio file is and described the The different third audio file of one audio file;
When the system time of the mobile terminal is the starting reminder time of described j-th event to be reminded, described the is played One audio file and the third audio file.
3. the method according to any one of claims 1 and 2, which is characterized in that it is described play first audio file and Second audio file, comprising:
First audio file and second audio file is played simultaneously by the loudspeaker of the mobile terminal;Alternatively,
First audio file is played by the first loudspeaker of the mobile terminal, and passes through the second of the mobile terminal Second audio file is played simultaneously in loudspeaker.
4. the method according to any one of claims 1 and 2, which is characterized in that it is described play first audio file and Second audio file, comprising:
First audio file is played by the loudspeaker of the mobile terminal;
The broadcasting control for carrying second audio file is sent to the wearable device connecting with the communication of mobile terminal Instruction, the broadcasting control instruction are used to indicate the wearable device and play second audio file.
5. the method according to any one of claims 1 and 2, which is characterized in that it is described play first audio file and Second audio file, comprising:
Determine that the prompting period of described i-th event to be reminded and the coincidence of the prompting period of j-th of event to be reminded mention It wakes up the period;
Splitting the coincidence and reminding the period is M prompting sub-period, and the M is the positive integer greater than 1;
First audio file is played in the M1 prompting sub-period that described M is reminded in sub-period, in M prompting Except the prompting sub-period of described M1 prompting sub-period plays second audio file in period, the M1 is less than the M Positive integer.
6. a kind of mobile terminal characterized by comprising
Acquiring unit, for obtaining the system time of mobile terminal;
Broadcast unit, for detecting i-th in N number of event to be reminded that the system time prestores for the mobile terminal When the starting reminder time of a event to be reminded, the first audio file for reminding described i-th event to be reminded, institute are played Stating N is the integer greater than 1, and the i is the positive integer less than or equal to N;
The acquiring unit, if being also used to detect, the prompting period of described i-th event to be reminded includes described N number of to be reminded The starting reminder time of the starting reminder time of j-th of event to be reminded in event, j-th of event to be reminded are in institute The prompting period of i-th of event to be reminded is stated, then obtains the second audio file for reminding described j-th event to be reminded, The j is the positive integer less than or equal to N, and the i is not equal to the j;
Judging unit, for judging whether first audio file and second audio file are identical;
The broadcast unit, if being also used to first audio file and second audio file is not identical, in the shifting When the system time of dynamic terminal is the starting reminder time of described j-th event to be reminded, play first audio file and Second audio file.
7. mobile terminal according to claim 6, which is characterized in that the mobile terminal further include:
Updating unit, for judging that first audio file is identical as second audio file in the judging unit, Updating second audio file is the third audio file different from first audio file;
The broadcast unit is also used to mention in the starting that the system time of the mobile terminal is described j-th event to be reminded When the awake time, first audio file and the third audio file are played.
8. the described in any item mobile terminals of according to claim 6 or 7, which is characterized in that the broadcast unit is specifically used for:
First audio file and second audio file is played simultaneously by the loudspeaker of the mobile terminal;Alternatively,
First audio file is played by the first loudspeaker of the mobile terminal, and passes through the second of the mobile terminal Second audio file is played simultaneously in loudspeaker.
9. the described in any item mobile terminals of according to claim 6 or 7, which is characterized in that the broadcast unit is specifically used for:
First audio file is played by the loudspeaker of the mobile terminal;
The broadcasting control for carrying second audio file is sent to the wearable device connecting with the communication of mobile terminal Instruction, the broadcasting control instruction are used to indicate the wearable device and play second audio file.
10. the described in any item mobile terminals of according to claim 6 or 7, which is characterized in that the broadcast unit is specifically used for:
Determine that the prompting period of described i-th event to be reminded and the coincidence of the prompting period of j-th of event to be reminded mention It wakes up the period;
Splitting the coincidence and reminding the period is M prompting sub-period, and the M is the positive integer greater than 1;
First audio file is played in the M1 prompting sub-period that described M is reminded in sub-period, in M prompting Except the prompting sub-period of described M1 prompting sub-period plays second audio file in period, the M1 is less than the M Positive integer.
11. a kind of mobile terminal characterized by comprising
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes such as claim 1 to right It is required that 5 described in any item methods.
CN201610064358.XA 2016-01-29 2016-01-29 A kind of event-prompting method and mobile terminal CN105721693B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610064358.XA CN105721693B (en) 2016-01-29 2016-01-29 A kind of event-prompting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610064358.XA CN105721693B (en) 2016-01-29 2016-01-29 A kind of event-prompting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN105721693A CN105721693A (en) 2016-06-29
CN105721693B true CN105721693B (en) 2019-04-05

Family

ID=56154443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610064358.XA CN105721693B (en) 2016-01-29 2016-01-29 A kind of event-prompting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105721693B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1612580A (en) * 2003-10-27 2005-05-04 日本电气株式会社 Mobile phone system with incoming melody designating function and mobile phone
CN103139384A (en) * 2013-01-31 2013-06-05 广东欧珀移动通信有限公司 Method, device and mobile terminal of alarm clock reminding

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI488105B (en) * 2013-12-26 2015-06-11 Acer Inc Method and electronic device for managing event notification

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1612580A (en) * 2003-10-27 2005-05-04 日本电气株式会社 Mobile phone system with incoming melody designating function and mobile phone
CN103139384A (en) * 2013-01-31 2013-06-05 广东欧珀移动通信有限公司 Method, device and mobile terminal of alarm clock reminding

Also Published As

Publication number Publication date
CN105721693A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
TWI582753B (en) Method, system, and computer-readable storage medium for operating a virtual assistant
CN103456306B (en) Method and apparatus for executing voice command in an electronic
CN104636034B (en) Combined electronic device and its control method
US20080259742A1 (en) Methods and systems for controlling alarm clocks
US7852325B2 (en) RF pulse synchronization for data acquisition operations
CN103150112B (en) Control method, device and terminal that audio frequency is play
CN102056051B (en) Electronic device, electronic system, and method for processing signals from an audio accessory thereof
CN103713843B (en) For generating the method and apparatus of task recommendation icon in the mobile device
EP2833241A1 (en) Control method for alarm clock of electronic device and electronic device
CN106022073A (en) Unlocking control method and mobile terminal
CN104158955A (en) Event reminding method and device
AU2014309577B2 (en) Electronic device and method for controlling display on basis of information of accessory device and accessory device related thereto
CN104468950A (en) Method and device for controlling terminal
CN104423703B (en) For showing the electronic equipment and method of application message
CN106465006A (en) Operating method for microphones and electronic device supporting the same
CN106066767A (en) A kind of unlocking method and mobile terminal
KR101625884B1 (en) Mobile terminal and operation control method thereof
CN106055962B (en) A kind of solution lock control method and mobile terminal
KR101907182B1 (en) Application program control method and related apparatus
CN104580642A (en) Clock reminding method and device
CN103637529A (en) Electronic device protective sleeve, information processing method and electron device
EP3104280A1 (en) Method and apparatus for providing interface
US9891719B2 (en) Impact and contactless gesture inputs for electronic devices
KR20150049942A (en) Method, apparatus and computer readable recording medium for controlling on an electronic device
CN104410954A (en) Information reminding method and device

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
CB02 Change of applicant information
GR01 Patent grant