Nothing Special   »   [go: up one dir, main page]

CN104580721A - Alarm clock implementation method for terminal - Google Patents

Alarm clock implementation method for terminal Download PDF

Info

Publication number
CN104580721A
CN104580721A CN201410855447.7A CN201410855447A CN104580721A CN 104580721 A CN104580721 A CN 104580721A CN 201410855447 A CN201410855447 A CN 201410855447A CN 104580721 A CN104580721 A CN 104580721A
Authority
CN
China
Prior art keywords
jingle bell
alarm clock
bell
related information
duration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410855447.7A
Other languages
Chinese (zh)
Inventor
柯卫卫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201410855447.7A priority Critical patent/CN104580721A/en
Publication of CN104580721A publication Critical patent/CN104580721A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses an alarm clock implementation method for a terminal. The method comprises the steps of extracting the historical using data of an alarm clock, receiving alarm clock associated information which is sent by the terminal and preset by a user, determining alarm clock parameters according to the historical using data and the alarm clock associated information, and executing an alarm clock service according to the alarm clock parameters. The method can effectively improve the flexibility, the intelligence and the relevance to the user of the alarm clock service.

Description

A kind of terminal alarm clock implementation method
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of terminal alarm clock implementation method.
Background technology
The application of intelligent terminal is more and more extensive, alarm service is one of function of commonly using of people, and current alarm clock still adopts the alarm clock of traditional function singleness to design, and namely initiatively must arrange alarm time in advance, the alarm clock date, jingle bell duration, the parameters such as alarm types, when arriving setup times, namely alarm clock jingle bell program can start, carry out jingle bell prompting according to the alarm clock parameter pre-set, if user forgets arrange alarm clock, alarm service does not perform jingle bell and reminds.
Above-mentioned alarm clock implementing method strictly relies on the fixing alarm clock parameter that user pre-sets, cannot according to user's history usage data and environmental data Intelligent adjustment alarm clock parameter, and alarm clock function is single, poor with the relevance of user.
Summary of the invention
The embodiment of the present invention provides a kind of terminal alarm clock implementation method, can improve the flexibility of alarm service, intelligent and with the relevance of user.
Embodiments provide a kind of terminal alarm clock implementation method, it can comprise:
Extract the history usage data of alarm clock;
The alarm clock related information that the user that receiving terminal sends pre-sets;
According to described history usage data and described alarm clock related information determination alarm clock parameter;
Alarm service is performed according to described alarm clock parameter.
Therefore, the embodiment of the present invention extracts the history usage data of alarm clock, obtain alarm clock related information, according to described history usage data and described alarm clock related information determination alarm clock parameter, and perform alarm service according to described alarm clock parameter, like this, the embodiment of the present invention can according to the history usage data of alarm clock, and the alarm clock related information determination alarm clock parameter that user pre-sets, improve the flexibility of alarm service, intelligent and with the relevance of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet of terminal alarm clock implementation method provided by the invention;
Fig. 2 is the schematic flow sheet determining the embodiment of jingle bell initial time provided by the invention;
Fig. 3 is the schematic flow sheet determining the first embodiment of the first jingle bell bell sound provided by the invention;
Fig. 4 is the schematic flow sheet determining the second embodiment of the first jingle bell bell sound provided by the invention
Fig. 5 is the embodiment schematic flow sheet determining single jingle bell duration provided by the invention;
Fig. 6 is the schematic flow sheet determining the embodiment of jingle bell interval duration provided by the invention;
Fig. 7 is the schematic flow sheet determining the embodiment of number of rings provided by the invention;
Fig. 8 is the schematic flow sheet determining the first embodiment of the first speaker volume provided by the invention;
Fig. 9 is the schematic flow sheet determining the second embodiment of the first speaker volume provided by the invention;
Figure 10 is the first example structure schematic diagram of terminal provided by the invention;
Figure 11 is the second example structure schematic diagram of terminal provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In specific implementation, the terminal described in the embodiment of the present invention can comprise: mobile phone, intelligent watch, panel computer or wearable device etc., and above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned terminal.
The terminal alarm clock implementation method provided the embodiment of the present invention below in conjunction with Fig. 1 to Figure 11 and terminal are specifically described.
See Fig. 1, it is the first embodiment schematic flow sheet of the terminal alarm clock implementation method that the embodiment of the present invention provides.Terminal alarm clock implementation method described in the present embodiment, comprises step:
S101, extracts the history usage data of alarm clock;
In the execution mode that some are feasible, alarm clock described in the embodiment of the present invention is specifically as follows the alarm service program in electronic equipment (as mobile phone, flat board, Intelligent bracelet, intelligent watch, wearable device etc.), also can be the electronic alarm clock being exclusively used in quarter-bell, developer can pre-set special data acquisition process, use the history usage data produced during the alarm service of terminal for counting user, and history usage data is stored in assigned address (comprising high in the clouds or terminal buffers).
In specific implementation, when terminal is in open state, the data acquisition process of alarm clock is run, the history usage data of alarm service generation on the same day is gathered in the fixed time of every day, history usage data can comprise history jingle bell initial time, can further include history jingle bell bell sound, history single jingle bell duration, history jingle bell interval duration, history number of rings, history speaker volume, one or more in history travel route, the start time of jingle bell when wherein history jingle bell initial time is the alarm service execution of terminal, the bell sound that history jingle bell bell sound is play for terminal when alarm service performs, history single jingle bell duration is the duration of alarm service jingle bell each time when performing, the interval duration of adjacent twice jingle bell when history jingle bell interval duration is the alarm service execution of terminal, history number of rings is that the alarm service single of terminal performs the total degree terminating corresponding jingle bell, the volume of the loud speaker of terminal when history speaker volume is the alarm service execution of terminal, history travel route comprises the route information between starting point and destination that user pre-sets.
S102, the alarm clock related information that the user that receiving terminal sends pre-sets;
In the execution mode that some are feasible, terminal handler at the appointed time (as point in the morning five every day) can detect alarm clock related information that is that user pre-sets and that sent by terminal, alarm clock related information can comprise expect jingle bell initial time, travel route, expectation jingle bell bell sound, expect single jingle bell duration, expect jingle bell interval duration, expect number of rings, expect in speaker volume one or more, if user does not pre-set alarm clock related information, then terminal sends message is empty alarm clock related information.
S103, according to history usage data and alarm clock related information determination alarm clock parameter;
In the execution mode that some are feasible, alarm clock parameter can comprise in jingle bell initial time, the first jingle bell bell sound, single jingle bell duration, jingle bell interval duration, number of rings and the first speaker volume one or more.Terminal handler can according to history usage data and alarm clock related information determination alarm clock parameter, if Fig. 2, Fig. 2 are the schematic flow sheets determining the embodiment of jingle bell initial time provided by the invention.First terminal handler judges whether alarm clock related information comprises and expects jingle bell initial time; If alarm clock related information comprises expect jingle bell initial time, then obtain the environmental information expecting that jingle bell initial time is corresponding, environmentally information calculates early ring duration, and according to expectation jingle bell initial time and early ring duration calculation jingle bell time started, the jingle bell time started is set to jingle bell initial time; If alarm clock related information does not comprise expect jingle bell initial time, then calculate the average jingle bell initial time of at least one history jingle bell initial time; Obtain the environmental information that average jingle bell initial time is corresponding, environmentally information calculates early ring duration, and according to average jingle bell initial time and early ring duration calculation jingle bell time started, the jingle bell time started is set to jingle bell initial time.
In specific implementation, environmental information comprises Weather information and/or transport information; Weather information comprises the state of weather of preset time period (9 time periods of at 5 in the morning to the morning as every day) interior alarm clock location; Transport information comprises traffic corresponding to travel route in alarm clock related information, the interface that environmental information can be provided by other software obtains, the interface such as provided by weather forecast software obtains weather condition, provides current traffic etc. by real-time road software.In specific embodiment, Weather information can be set to the multiple situations such as sunny, cloudy day cloudy, heavy rain/dense fog/strong wind, transport information is set to the situations such as unimpeded, congested, the calculated relationship of environmental information and early ring duration can be as shown in table 1:
Table 1, environmental information and early ring duration calculation relation
Weather information Transport information Early ring duration (minute)
Sunny or cloudy cloudy Unimpeded 0
Sunny or cloudy cloudy Congested 10
Heavy rain/dense fog/strong wind Unimpeded 10
Heavy rain/dense fog/strong wind Congested 20
The method according to the jingle bell initial time in history usage data and alarm clock related information determination alarm clock parameter provided in present embodiment, environmental information can be obtained, calculate the jingle bell initial time of alarm clock, even if user forgets the jingle bell initial time pre-setting alarm clock, when alarm service program is in running status, still can according to the use habit of user (i.e. history usage data), calculate jingle bell initial time in advance and carry out active warning user, promote end-user experience, facilitate user to live.
If Fig. 3, Fig. 3 are the schematic flow sheets determining the first embodiment of the first jingle bell bell sound provided by the invention.Whether terminal handler judges to comprise in alarm clock related information expects jingle bell bell sound; If alarm clock related information comprises expect jingle bell bell sound, then expectation jingle bell bell sound is set to the first jingle bell bell sound; Expect jingle bell bell sound if do not comprise in alarm clock related information, then calculate the access times of at least one history jingle bell bell sound, jingle bell bell sounds maximum for access times is set to the first jingle bell bell sound.
In specific implementation, if Fig. 4, Fig. 4 are the schematic flow sheets determining the second embodiment of the first jingle bell bell sound provided by the invention.Terminal handler can detect user's pulse or heart rate further by biosensor; If user's pulse or heart rate are more than or equal to the first predetermined threshold value, then choose the jingle bell bell sound that in the jingle bell bell sound that the first kind presets, access times are maximum, and jingle bell bell sound is set to the second jingle bell bell sound; If user's pulse or heart rate are less than the first predetermined threshold value and be greater than the second predetermined threshold value, then choose the jingle bell bell sound that in the jingle bell bell sound that Equations of The Second Kind presets, access times are maximum, and jingle bell bell sound is set to the second jingle bell bell sound, wherein the first predetermined threshold value is greater than the second predetermined threshold value; First jingle bell bell sound is replaced with the second jingle bell bell sound.
In the execution mode that some are feasible, if Fig. 5, Fig. 5 are the schematic flow sheets determining the embodiment of single jingle bell duration provided by the invention.Whether terminal handler judges to comprise in alarm clock related information expects single jingle bell duration; If alarm clock related information comprises expect single jingle bell duration, then expectation single jingle bell duration is set to single jingle bell duration; Expect single jingle bell duration if do not comprise in alarm clock related information, then calculate the average single jingle bell duration of at least one history single jingle bell duration, average single jingle bell duration is set to single jingle bell duration.
In the execution mode that some are feasible, if Fig. 6, Fig. 6 are the schematic flow sheets determining the embodiment of jingle bell interval duration provided by the invention.Whether terminal handler judges to comprise in alarm clock related information expects jingle bell interval duration; If alarm clock related information comprises expect jingle bell interval duration, then expectation jingle bell interval duration is set to jingle bell interval duration; Expect jingle bell interval duration if do not comprise in alarm clock related information, then calculate the average jingle bell interval duration of at least one history jingle bell interval duration, average jingle bell interval duration is set to jingle bell interval duration.
In the execution mode that some are feasible, if Fig. 7, Fig. 7 are the schematic flow sheets determining the embodiment of number of rings provided by the invention.Alarm clock processor judges whether comprise expectation number of rings in alarm clock related information; If alarm clock related information comprises expectation number of rings, then expectation number of rings is set to number of rings; If do not comprise expectation number of rings in alarm clock related information, then calculate the average number of rings of at least one history number of rings, average number of rings is set to number of rings.
In the execution mode that some are feasible, if Fig. 8, Fig. 8 are the schematic flow sheets determining the first embodiment of the first speaker volume provided by the invention.Terminal handler judges whether comprise expectation speaker volume in alarm clock related information; If alarm clock related information comprises expectation speaker volume, then expectation speaker volume is set to the first speaker volume; Expect alarm clock speaker volume if do not comprise in alarm clock related information, then calculate the average speaker volume of at least one history speaker volume, average speaker volume is set to the first speaker volume.
In specific implementation, if Fig. 9, Fig. 9 are the schematic flow sheets determining the second embodiment of the first speaker volume provided by the invention.Terminal handler can obtain the environmental volume of alarm clock further by sound-intensity measuring device, environmentally volume calculates the second speaker volume, and the first speaker volume is replaced with the second speaker volume.
S104, performs alarm service according to alarm clock parameter.
In specific implementation, terminal handler according to alarm clock parameter, can generate control command, drives the vibrations of the loud speaker jingle bell of terminal, vibrating motor, etc.After history usage data and alarm clock related information determination alarm clock parameter, the default value that terminal handler can choose the alarm clock parameter pre-set determines other alarm clock parameters further, perform alarm service again, (the alarm clock parameter as determined according to history usage data and alarm clock related information comprises jingle bell initial time to the alarm clock parameter that other alarm clock parameters comprise except the alarm clock parameter determined according to history usage data and alarm clock related information, then other alarm clock parameters comprise the first jingle bell bell sound, single jingle bell duration, jingle bell interval duration, number of rings and the first speaker volume etc.), the present invention does not do unique restriction to the obtain manner of other alarm clock parameters.
In embodiments of the present invention, terminal handler can extract the history usage data of the alarm clock of terminal, and obtain the alarm clock related information that user pre-sets, according to history usage data and alarm clock related information determination alarm clock parameter, perform alarm service according to alarm clock parameter, like this, the embodiment of the present invention can according to the history usage data of alarm clock, in conjunction with alarm clock related information determination alarm clock parameter, improve the flexibility of alarm service, intelligent and with the relevance of user.
See Figure 10, it is the first example structure schematic diagram of the terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising:
Data extracting unit 10, for extracting the history usage data of alarm clock;
In the execution mode that some are feasible, alarm clock described in the embodiment of the present invention is specifically as follows the alarm service program in electronic equipment (as mobile phone, flat board, Intelligent bracelet, intelligent watch, wearable device etc.), also can be the electronic alarm clock being exclusively used in quarter-bell, developer can pre-set special data acquisition process, use the history usage data produced during the alarm service of terminal for counting user, and history usage data is stored in assigned address (comprising high in the clouds or terminal buffers).
In specific implementation, when terminal is in open state, the data extracting unit 10 of alarm clock is at running background, the history usage data of alarm service generation on the same day is gathered in the fixed time of every day, history usage data can comprise history jingle bell initial time, history jingle bell bell sound, history single jingle bell duration, history jingle bell interval duration, history number of rings, history speaker volume, history travel route, wherein history jingle bell initial time comprise terminal alarm service perform time jingle bell start time, history jingle bell bell sound comprises the bell sound that when alarm service performs, terminal is play, history single jingle bell duration comprises the duration of jingle bell each time when alarm service performs, history jingle bell interval duration comprise terminal alarm service perform time adjacent twice jingle bell interval duration, the alarm service single that history number of rings comprises terminal performs the total degree terminating corresponding jingle bell, the volume of loud speaker of terminal when the alarm service that history speaker volume comprises terminal performs, the starting point that history travel route is arranged before comprising user and destination.
Information extraction unit 20, the alarm clock related information that the user for receiving terminal transmission pre-sets;
In the execution mode that some are feasible, information extraction unit 20 can detect user and preset interface by the alarm clock parameter of terminal demonstration and pre-set alarm clock parameter information in preset time period (9 time periods of at 5 in the morning to the morning as every day), even if user does not pre-set alarm clock parameter, alarm clock parameter presets interface also can send the parameter presupposed information that message is sky.
Parameter determination unit 30, for according to history usage data and alarm clock related information determination alarm clock parameter;
In the execution mode that some are feasible, the alarm clock parameter that parameter determination unit 30 is determined comprise in jingle bell initial time, single jingle bell duration, jingle bell interval duration, number of rings and the first speaker volume one or more.Terminal handler can according to history usage data and alarm clock related information determination alarm clock parameter, if Fig. 2, Fig. 2 are the schematic diagrames of the determination jingle bell initial time that the embodiment of the present invention provides.First setting unit 30 can judge whether alarm clock related information comprises and expect jingle bell initial time; If alarm clock related information comprises expect jingle bell initial time, then obtain the environmental information expecting that jingle bell initial time is corresponding, environmentally information calculates early ring duration, and according to expectation jingle bell initial time and early ring duration calculation jingle bell time started, the jingle bell time started is set to jingle bell initial time; If alarm clock related information does not comprise expect jingle bell initial time, then calculate the average jingle bell initial time of at least one history jingle bell initial time; Obtain the environmental information that average jingle bell initial time is corresponding, environmentally information calculates early ring duration, and according to average jingle bell initial time and early ring duration calculation jingle bell time started, the jingle bell time started is set to jingle bell initial time.
In specific implementation, environmental information comprises Weather information and/or transport information; Weather information comprises the state of weather of preset time period (9 time periods of at 5 in the morning to the morning as every day) interior alarm clock location; Transport information comprises traffic corresponding to travel route in alarm clock related information, the interface that environmental information can be provided by other software obtains, the interface such as provided by weather forecast software obtains weather condition, provides current traffic etc. by real-time road software.In specific embodiment, Weather information can be set to the multiple situations such as sunny, cloudy day cloudy, heavy rain/dense fog/strong wind, transport information is set to the situations such as unimpeded, congested, the calculated relationship of environmental information and early ring duration can be as shown in table 2:
Table 2, environmental information and early ring duration calculation relation
Weather information Transport information Early ring duration (minute)
Sunny or cloudy cloudy Unimpeded 0
Sunny or cloudy cloudy Congested 10
Heavy rain/dense fog/strong wind Unimpeded 10
Heavy rain/dense fog/strong wind Congested 20
The parameter determination unit 30 provided in present embodiment determines the method for jingle bell initial time, environmental information can be obtained, calculate the jingle bell initial time of alarm clock, even if user forgets the jingle bell initial time pre-setting alarm clock, when the alarm service of terminal is in running status, still according to the use habit of user (i.e. history usage data), jingle bell initial time can be calculated in advance and carrys out active warning user, promote end-user experience, facilitate user to live.
In the execution mode that some are feasible, if Fig. 3, Fig. 3 are the first schematic diagrames of the determination first jingle bell bell sound that the embodiment of the present invention provides.Whether parameter determination unit 30 judges to comprise in alarm clock related information expects jingle bell bell sound; If alarm clock related information comprises expect jingle bell bell sound, then expectation jingle bell bell sound is set to the first jingle bell bell sound; Expect jingle bell bell sound if do not comprise in alarm clock related information, then calculate the access times of at least one history jingle bell bell sound, jingle bell bell sounds maximum for access times is set to the first jingle bell bell sound.
In specific implementation, if Fig. 4, Fig. 4 are the second schematic diagrames of the determination first jingle bell bell sound that the embodiment of the present invention provides.Parameter determination unit 30 can detect user's pulse or heart rate further; If user's pulse or heart rate are more than or equal to the first predetermined threshold value, then choose the jingle bell bell sound that in the jingle bell bell sound that the first kind presets, access times are maximum, and jingle bell bell sound is set to the second jingle bell bell sound; If user's pulse or heart rate are less than the first predetermined threshold value and be greater than the second predetermined threshold value, then choose the jingle bell bell sound that in the jingle bell bell sound that Equations of The Second Kind presets, access times are maximum, and jingle bell bell sound is set to the second jingle bell bell sound, wherein the first predetermined threshold value is greater than the second predetermined threshold value; First jingle bell bell sound is replaced with the second jingle bell bell sound.
In the execution mode that some are feasible, if Fig. 5, Fig. 5 are the schematic diagrames that the embodiment of the present invention provides order time jingle bell duration really.Whether parameter determination unit 30 judges to comprise in alarm clock related information expects single jingle bell duration; If alarm clock related information comprises expect single jingle bell duration, then expectation single jingle bell duration is set to single jingle bell duration; Expect single jingle bell duration if do not comprise in alarm clock related information, then calculate the average single jingle bell duration of at least one history single jingle bell duration, average single jingle bell duration is set to single jingle bell duration.
In the execution mode that some are feasible, if Fig. 6, Fig. 6 are the schematic diagrames of the determination jingle bell interval duration that the embodiment of the present invention provides.Whether parameter determination unit 30 judges to comprise in alarm clock related information expects jingle bell interval duration; If alarm clock related information comprises expect jingle bell interval duration, then expectation jingle bell interval duration is set to jingle bell interval duration; Expect jingle bell interval duration if do not comprise in alarm clock related information, then calculate the average jingle bell interval duration of at least one history jingle bell interval duration, average jingle bell interval duration is set to jingle bell interval duration.
In the execution mode that some are feasible, if Fig. 7, Fig. 7 are the schematic diagrames of the determination number of rings that the embodiment of the present invention provides.Parameter determination unit 30 judges whether comprise expectation number of rings in alarm clock related information; If alarm clock related information comprises expectation number of rings, then expectation number of rings is set to number of rings; If do not comprise expectation number of rings in alarm clock related information, then calculate the average number of rings of at least one history number of rings, average number of rings is set to number of rings.
In the execution mode that some are feasible, if Fig. 8, Fig. 8 are the first schematic diagrames of determination first speaker volume that the embodiment of the present invention provides.Parameter determination unit 30 judges whether comprise expectation speaker volume in alarm clock related information; If alarm clock related information comprises expectation speaker volume, then expectation speaker volume is set to the first speaker volume; Expect alarm clock speaker volume if do not comprise in alarm clock related information, then calculate the average speaker volume of at least one history speaker volume, average speaker volume is set to the first speaker volume.
In specific implementation, if Fig. 9, Fig. 9 are the second schematic diagrames of determination first speaker volume that the embodiment of the present invention provides.Parameter determination unit 30 can obtain the environmental volume of alarm clock further, and environmentally volume calculates the second speaker volume, and the first speaker volume is replaced with the second speaker volume.
Service execution unit 40, for performing alarm service according to alarm clock parameter.
In the execution mode that some are feasible, service execution unit 40 according to alarm clock parameter, can generate control command, drives the vibration of the loud speaker jingle bell of terminal, vibrating motor, etc.After history usage data and alarm clock related information determination alarm clock parameter, the default value that terminal handler can choose the alarm clock parameter pre-set determines other alarm clock parameters further, perform alarm service again, (the alarm clock parameter as determined according to history usage data and alarm clock related information comprises jingle bell initial time to the alarm clock parameter that other alarm clock parameters comprise except the alarm clock parameter determined according to history usage data and alarm clock related information, then other alarm clock parameters comprise the first jingle bell bell sound, single jingle bell duration, jingle bell interval duration, number of rings and the first speaker volume etc.), the present invention does not do unique restriction to the obtain manner of other alarm clock parameters.
In embodiments of the present invention, terminal can add up the history usage data of the alarm clock of terminal in advance, and obtain alarm clock related information, according to history usage data and alarm clock related information determination alarm clock parameter, perform alarm service according to alarm clock parameter, like this, the embodiment of the present invention can according to the history usage data of alarm clock, in conjunction with alarm clock related information, dynamically adjust alarm clock parameter, improve the flexibility of alarm service, intelligent and with the relevance of user.
See Figure 11, it is the second example structure schematic diagram of the terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising: memory 1000, input equipment 2000 (as Trackpad), processor 3000 and output equipment 4000 (as loud speaker, vibrating motor etc.).
Wherein, memory 1000, input equipment 2000, processor 3000 are connected by bus 5000 with output equipment 4000.
Above-mentioned memory 1000 can be high-speed RAM memory, also can be nonvolatile memory (non-volatile memory), such as magnetic disc store.Above-mentioned memory 1000 for storing the history usage data of alarm clock, history usage data comprise in history jingle bell initial time, history jingle bell bell sound, history single jingle bell duration, history jingle bell interval duration, history number of rings, history speaker volume one or more;
Above-mentioned memory 1000 is also for storing batch processing code, and above-mentioned input equipment 2000, output equipment 4000 and processor 3000, for calling the program code stored in memory 1000, perform and operate as follows:
Input equipment 2000, for the alarm clock related information that receiving terminal sends;
Processor 3000, for the history usage data determination alarm clock parameter that the alarm clock related information that sends according to input equipment 2000 receiving terminal and memory 1000 store, alarm clock parameter comprise in jingle bell initial time, the first jingle bell bell sound, single jingle bell duration, jingle bell interval duration, number of rings and the first speaker volume one or more;
In the execution mode that some are feasible, above-mentioned processor 3000 is also for performing following operation:
Judge whether alarm clock related information comprises and expect jingle bell initial time; If alarm clock related information comprises expect jingle bell initial time, then obtain the environmental information expecting that jingle bell initial time is corresponding, environmentally information calculates early ring duration, and according to expectation jingle bell initial time and early ring duration calculation jingle bell time started, the jingle bell time started is set to jingle bell initial time; If alarm clock related information does not comprise expect jingle bell initial time, then calculate the average jingle bell initial time of at least one history jingle bell initial time; Obtain the environmental information that average jingle bell initial time is corresponding, environmentally information calculates early ring duration, and according to average jingle bell initial time and early ring duration calculation jingle bell time started, the jingle bell time started is set to jingle bell initial time.
In specific implementation, environmental information comprises Weather information and/or transport information; Weather information comprises the state of weather of preset time period (9 time periods of at 5 in the morning to the morning as every day) interior alarm clock location; Transport information comprises traffic corresponding to travel route in alarm clock related information, the interface that environmental information can be provided by other software obtains, the interface such as provided by weather forecast software obtains weather condition, provides current traffic etc. by real-time road software.In specific embodiment, Weather information can be set to the multiple situations such as sunny, cloudy day cloudy, heavy rain/dense fog/strong wind, transport information is set to the situations such as unimpeded, congested, the calculated relationship of environmental information and early ring duration can be as shown in table 3:
Table 3, environmental information and early ring duration calculation relation
Weather information Transport information Early ring duration (minute)
Sunny or cloudy cloudy Unimpeded 0
Sunny or cloudy cloudy Congested 10
Heavy rain/dense fog/strong wind Unimpeded 10
Heavy rain/dense fog/strong wind Congested 20
The method of jingle bell initial time determined by the processor 3000 provided in present embodiment, environmental information can be obtained, calculate the jingle bell initial time of alarm clock, even if user forgets the jingle bell initial time pre-setting alarm clock, when the service routine of alarm clock is in running status, still according to the use habit of user (i.e. history usage data), jingle bell initial time can be calculated in advance and carrys out active warning user, promote end-user experience, facilitate user to live.
In the execution mode that some are feasible, above-mentioned processor 3000 is also for performing following operation:
Judge whether to comprise in alarm clock related information and expect jingle bell bell sound; If alarm clock related information comprises expect jingle bell bell sound, then expectation jingle bell bell sound is set to the first jingle bell bell sound; Expect jingle bell bell sound if do not comprise in alarm clock related information, then calculate the access times of at least one history jingle bell bell sound, jingle bell bell sounds maximum for access times is set to the first jingle bell bell sound.
In the execution mode that some are feasible, above-mentioned processor 3000 is also for performing following operation:
Further detection user's pulse or heart rate; If user's pulse or heart rate are more than or equal to the first predetermined threshold value, then choose the jingle bell bell sound that in the jingle bell bell sound that the first kind presets, access times are maximum, and jingle bell bell sound is set to the second jingle bell bell sound; If user's pulse or heart rate are less than the first predetermined threshold value and be greater than the second predetermined threshold value, then choose the jingle bell bell sound that in the jingle bell bell sound that Equations of The Second Kind presets, access times are maximum, and jingle bell bell sound is set to the second jingle bell bell sound, wherein the first predetermined threshold value is greater than the second predetermined threshold value; First jingle bell bell sound is replaced with the second jingle bell bell sound.
In the execution mode that some are feasible, above-mentioned processor 3000 is also for performing following operation:
Judge whether to comprise in alarm clock related information and expect single jingle bell duration; If alarm clock related information comprises expect single jingle bell duration, then expectation single jingle bell duration is set to single jingle bell duration; Expect single jingle bell duration if do not comprise in alarm clock related information, then calculate the average single jingle bell duration of at least one history single jingle bell duration, average single jingle bell duration is set to single jingle bell duration.
In the execution mode that some are feasible, above-mentioned processor 3000 is also for performing following operation:
Judge whether to comprise in alarm clock related information and expect jingle bell interval duration; If alarm clock related information comprises expect jingle bell interval duration, then expectation jingle bell interval duration is set to jingle bell interval duration; Expect jingle bell interval duration if do not comprise in alarm clock related information, then calculate the average jingle bell interval duration of at least one history jingle bell interval duration, average jingle bell interval duration is set to jingle bell interval duration.
In the execution mode that some are feasible, above-mentioned processor 3000 is also for performing following operation:
Judge whether comprise expectation number of rings in alarm clock related information; If alarm clock related information comprises expectation number of rings, then expectation number of rings is set to number of rings; If do not comprise expectation number of rings in alarm clock related information, then calculate the average number of rings of at least one history number of rings, average number of rings is set to number of rings.
In the execution mode that some are feasible, above-mentioned processor 3000 is also for performing following operation:
Judge whether comprise expectation speaker volume in alarm clock related information; If alarm clock related information comprises expectation speaker volume, then expectation speaker volume is set to the first speaker volume; Expect alarm clock speaker volume if do not comprise in alarm clock related information, then calculate the average speaker volume of at least one history speaker volume, average speaker volume is set to the first speaker volume.
In specific implementation, above-mentioned processor 3000 can obtain the environmental volume of alarm clock further, and environmentally volume calculates the second speaker volume, and the first speaker volume is replaced with the second speaker volume.
Above-mentioned output equipment 4000, for performing alarm service according to alarm clock parameter.
In the execution mode that some are feasible, above-mentioned output equipment 4000 according to alarm clock parameter, can generate control command, drives the equipment such as the loud speaker of terminal to carry out jingle bell.Output equipment 4000 is according to after history usage data and alarm clock related information determination alarm clock parameter, the default value of the alarm clock parameter pre-set can be chosen further to determine other alarm clock parameters, perform alarm service again, (the alarm clock parameter as determined according to history usage data and alarm clock related information comprises jingle bell initial time to the alarm clock parameter that other alarm clock parameters comprise except the alarm clock parameter determined according to history usage data and alarm clock related information, then other alarm clock parameters comprise the first jingle bell bell sound, single jingle bell duration, jingle bell interval duration, number of rings and the first speaker volume etc.), the present invention does not do unique restriction to the obtain manner of other alarm clock parameters.
Module in all embodiments of the present invention or submodule, universal integrated circuit can be passed through, such as CPU (Central Processing Unit, central processing unit), or realized by ASIC (Application SpecificIntegrated Circuit, application-specific integrated circuit (ASIC)).
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (11)

1. a terminal alarm clock implementation method, is characterized in that, comprising:
Extract the history usage data of alarm clock;
The alarm clock related information that the user that receiving terminal sends pre-sets;
According to described history usage data and described alarm clock related information determination alarm clock parameter;
Alarm service is performed according to described alarm clock parameter.
2. method according to claim 1, is characterized in that,
Described alarm clock parameter comprises: one or more in jingle bell initial time, the first jingle bell bell sound, single jingle bell duration, jingle bell interval duration, number of rings and the first speaker volume.
3. method according to claim 1, it is characterized in that, described alarm clock parameter comprises jingle bell initial time, and described history usage data comprises history jingle bell initial time, describedly comprises according to described history usage data and described alarm clock related information determination alarm clock parameter:
Judge whether described alarm clock related information comprises and expect jingle bell initial time;
If described alarm clock related information comprises expect jingle bell initial time, then obtain the environmental information that described expectation jingle bell initial time is corresponding, early ring duration is calculated according to described environmental information, and according to described expectation jingle bell initial time and described early ring duration calculation jingle bell time started, the described jingle bell time started is set to jingle bell initial time;
If described alarm clock related information does not comprise expect jingle bell initial time, then calculate the average jingle bell initial time of described history jingle bell initial time; Obtain the environmental information that described average jingle bell initial time is corresponding, early ring duration is calculated according to described environmental information, and according to described average jingle bell initial time and described early ring duration calculation jingle bell time started, the described jingle bell time started is set to jingle bell initial time.
4. method according to claim 3, is characterized in that,
Described environmental information comprises Weather information or transport information;
Described Weather information comprises the state of weather of alarm clock location;
Described transport information comprises traffic corresponding to travel route in described alarm clock related information.
5. method according to claim 2, is characterized in that, described alarm clock parameter also comprises the first jingle bell bell sound, and described history usage data also comprises history jingle bell bell sound;
Describedly to comprise according to described history usage data and described alarm clock related information determination alarm clock parameter:
Judge whether to comprise in described alarm clock related information and expect jingle bell bell sound;
If described alarm clock related information comprises expect jingle bell bell sound, then described expectation jingle bell bell sound is set to the first jingle bell bell sound;
Expect jingle bell bell sound if do not comprise in described alarm clock related information, then calculate the access times of described history jingle bell bell sound, jingle bell bell sounds maximum for access times is set to the first jingle bell bell sound.
6. method according to claim 5, is characterized in that, described method also comprises:
Detect user's pulse or heart rate;
If user's pulse or heart rate are more than or equal to the first predetermined threshold value, then choose the jingle bell bell sound that in the jingle bell bell sound that the first kind presets, access times are maximum, and described jingle bell bell sound is set to the second jingle bell bell sound;
If described user's pulse or heart rate are less than described first predetermined threshold value and are greater than the second predetermined threshold value, then choose the jingle bell bell sound that in the jingle bell bell sound that Equations of The Second Kind presets, access times are maximum, and described jingle bell bell sound is set to the second jingle bell bell sound, wherein said first predetermined threshold value is greater than described second predetermined threshold value;
Described first jingle bell bell sound is replaced with described second jingle bell bell sound.
7. method according to claim 2, is characterized in that, described alarm clock parameter also comprises single jingle bell duration, and described history usage data also comprises history single jingle bell duration;
Describedly to comprise according to described history usage data and described alarm clock related information determination alarm clock parameter:
Judge whether to comprise in described alarm clock related information and expect single jingle bell duration;
If described alarm clock related information comprises expect single jingle bell duration, then described expectation single jingle bell duration is set to single jingle bell duration;
Expect single jingle bell duration if do not comprise in described alarm clock related information, then calculate the average single jingle bell duration of described history single jingle bell duration, described average single jingle bell duration is set to single jingle bell duration.
8. method according to claim 2, is characterized in that, described alarm clock parameter also comprises jingle bell interval duration, and described history usage data also comprises history jingle bell interval duration;
Describedly to comprise according to described history usage data and described alarm clock related information determination alarm clock parameter:
Judge whether to comprise in described alarm clock related information and expect jingle bell interval duration;
If described alarm clock related information comprises expect jingle bell interval duration, then described expectation jingle bell interval duration is set to jingle bell interval duration;
Expect jingle bell interval duration if do not comprise in described alarm clock related information, then calculate the average jingle bell interval duration of described history jingle bell interval duration, described average jingle bell interval duration is set to jingle bell interval duration.
9. method according to claim 2, is characterized in that, described alarm clock parameter also comprises number of rings, and described history usage data also comprises history number of rings;
Describedly to comprise according to described history usage data and described alarm clock related information determination alarm clock parameter:
Judge whether comprise expectation number of rings in described alarm clock related information;
If described alarm clock related information comprises expectation number of rings, then described expectation number of rings is set to number of rings;
If do not comprise expectation number of rings in described alarm clock related information, then calculate the average number of rings of described history number of rings, described average number of rings is set to number of rings.
10. method according to claim 2, is characterized in that, described alarm clock parameter also comprises the first speaker volume, and described history usage data also comprises history speaker volume;
Describedly to comprise according to described history usage data and described alarm clock related information determination alarm clock parameter:
Judge whether comprise expectation speaker volume in described alarm clock related information;
If described alarm clock related information comprises expectation speaker volume, then described expectation speaker volume is set to the first speaker volume;
Expect alarm clock speaker volume if do not comprise in described alarm clock related information, then calculate the average speaker volume of described history speaker volume, described average speaker volume is set to the first speaker volume.
11. methods according to claim 10, is characterized in that, described method also comprises:
Obtain the volume of environment residing for alarm clock, calculate the second speaker volume according to the volume of described environment, described first speaker volume is replaced with described second speaker volume.
CN201410855447.7A 2014-12-31 2014-12-31 Alarm clock implementation method for terminal Pending CN104580721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410855447.7A CN104580721A (en) 2014-12-31 2014-12-31 Alarm clock implementation method for terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410855447.7A CN104580721A (en) 2014-12-31 2014-12-31 Alarm clock implementation method for terminal

Publications (1)

Publication Number Publication Date
CN104580721A true CN104580721A (en) 2015-04-29

Family

ID=53095848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410855447.7A Pending CN104580721A (en) 2014-12-31 2014-12-31 Alarm clock implementation method for terminal

Country Status (1)

Country Link
CN (1) CN104580721A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967731A (en) * 2015-05-13 2015-10-07 深圳市金立通信设备有限公司 Terminal reminding method and terminal
CN105120332A (en) * 2015-09-06 2015-12-02 成都爆米花信息技术有限公司 Volume adjusting method for television
CN105187908A (en) * 2015-09-06 2015-12-23 成都爆米花信息技术有限公司 Television channel volume adjusting method
CN105259744A (en) * 2015-11-12 2016-01-20 北京百纳威尔无线通信设备有限公司 Alarm clock controlling method and device, alarm clock and electronic equipment
CN105898076A (en) * 2016-06-17 2016-08-24 乐视控股(北京)有限公司 Alarm clock reminding method and device
CN105913220A (en) * 2016-04-07 2016-08-31 郑洪涛 System having prompting function, electronic device and prompting method
CN106921794A (en) * 2017-02-09 2017-07-04 歌尔股份有限公司 Alarm clock implementing method and device on a kind of smart machine
CN106990708A (en) * 2017-04-28 2017-07-28 深圳如果技术有限公司 A kind of alarm clock ringing method, device and electronic equipment
CN107133010A (en) * 2017-05-04 2017-09-05 宇龙计算机通信科技(深圳)有限公司 A kind of reminding sound volume of application program determines method, device and terminal
CN113885608A (en) * 2021-10-21 2022-01-04 奇瑞汽车股份有限公司 Vehicle control method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008219682A (en) * 2007-03-07 2008-09-18 Nakayo Telecommun Inc Telephone apparatus withg simple setting function
CN101753676A (en) * 2008-12-12 2010-06-23 康佳集团股份有限公司 Method, device and mobile terminal for prompting communication services of mobile terminal
CN102098371A (en) * 2009-12-11 2011-06-15 中兴通讯股份有限公司 Device for grouping import calls, mobile phone terminal and method
CN102158594A (en) * 2011-02-17 2011-08-17 华为终端有限公司 Method for mobile terminal reminding and mobile terminal
CN102750630A (en) * 2012-07-09 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Method and device for automatically adjusting clock
CN103369082A (en) * 2012-04-05 2013-10-23 富泰华工业(深圳)有限公司 System and method for controlling alarm clock of electronic device
CN103533175A (en) * 2013-10-24 2014-01-22 上海华勤通讯技术有限公司 Automatic setting system and method of mobile phone alarm clock

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008219682A (en) * 2007-03-07 2008-09-18 Nakayo Telecommun Inc Telephone apparatus withg simple setting function
CN101753676A (en) * 2008-12-12 2010-06-23 康佳集团股份有限公司 Method, device and mobile terminal for prompting communication services of mobile terminal
CN102098371A (en) * 2009-12-11 2011-06-15 中兴通讯股份有限公司 Device for grouping import calls, mobile phone terminal and method
CN102158594A (en) * 2011-02-17 2011-08-17 华为终端有限公司 Method for mobile terminal reminding and mobile terminal
CN103369082A (en) * 2012-04-05 2013-10-23 富泰华工业(深圳)有限公司 System and method for controlling alarm clock of electronic device
CN102750630A (en) * 2012-07-09 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Method and device for automatically adjusting clock
CN103533175A (en) * 2013-10-24 2014-01-22 上海华勤通讯技术有限公司 Automatic setting system and method of mobile phone alarm clock

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967731A (en) * 2015-05-13 2015-10-07 深圳市金立通信设备有限公司 Terminal reminding method and terminal
CN104967731B (en) * 2015-05-13 2019-05-14 深圳市金立通信设备有限公司 A kind of terminal notifying method and terminal
CN105120332A (en) * 2015-09-06 2015-12-02 成都爆米花信息技术有限公司 Volume adjusting method for television
CN105187908A (en) * 2015-09-06 2015-12-23 成都爆米花信息技术有限公司 Television channel volume adjusting method
CN105259744A (en) * 2015-11-12 2016-01-20 北京百纳威尔无线通信设备有限公司 Alarm clock controlling method and device, alarm clock and electronic equipment
CN105913220A (en) * 2016-04-07 2016-08-31 郑洪涛 System having prompting function, electronic device and prompting method
CN105898076A (en) * 2016-06-17 2016-08-24 乐视控股(北京)有限公司 Alarm clock reminding method and device
CN106921794A (en) * 2017-02-09 2017-07-04 歌尔股份有限公司 Alarm clock implementing method and device on a kind of smart machine
CN106921794B (en) * 2017-02-09 2020-08-14 歌尔股份有限公司 Method and device for realizing alarm clock on intelligent equipment
CN106990708A (en) * 2017-04-28 2017-07-28 深圳如果技术有限公司 A kind of alarm clock ringing method, device and electronic equipment
CN107133010A (en) * 2017-05-04 2017-09-05 宇龙计算机通信科技(深圳)有限公司 A kind of reminding sound volume of application program determines method, device and terminal
CN113885608A (en) * 2021-10-21 2022-01-04 奇瑞汽车股份有限公司 Vehicle control method and device

Similar Documents

Publication Publication Date Title
CN104580721A (en) Alarm clock implementation method for terminal
EP3690663A1 (en) Application cleaning method and apparatus, storage medium and electronic device
CN107045528A (en) A kind of method and terminal reminded of going on a journey
CN104516479A (en) Mobile equipment power saving control method, equipment and system
WO2015197000A1 (en) Method and apparatus for controlling hardware state of mobile terminal
CN107402808B (en) Process management method, device, storage medium and electronic equipment
CN104461238B (en) A kind of application icon processing method and terminal
CN106340922A (en) Charging method and mobile terminal
WO2019237891A1 (en) Memory optimization method and apparatus, and readable storage medium and mobile terminal
CN104967731B (en) A kind of terminal notifying method and terminal
CN110517676A (en) A kind of voice awakening method and terminal, server, storage medium
CN103888605A (en) Information processing method and electronic device
CN105335498A (en) Method and system for information recommendation based on voice information
CN103092351A (en) Alarm clock ringing stopping method and device and mobile terminal
CN108255673A (en) Application program occupies detection method, device and the storage medium of resource
CN106155557A (en) A kind of virtual key display packing and mobile terminal
CN106598508A (en) Solid-state hard disc and write-in arbitrating method and system thereof
CN109040919A (en) Vocal technique, device, electronic device and computer-readable medium
WO2019127230A1 (en) Network node wake-up method and device
JP7272694B2 (en) Method and terminal for reducing power consumption of terminal
CN104601810A (en) Terminal
CN109521969B (en) Solid state disk data recovery method and device and computer readable storage medium
CN104880968A (en) Alarm clock control method and device
CN104285926A (en) Method and device for generating history record
CN103118156B (en) Alarm clock setting method and related equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150429