CN102769702A - Method and device for setting alarm clock of mobile phone based on short message - Google Patents

Method and device for setting alarm clock of mobile phone based on short message Download PDF

Info

Publication number
CN102769702A
CN102769702A CN2012102436622A CN201210243662A CN102769702A CN 102769702 A CN102769702 A CN 102769702A CN 2012102436622 A CN2012102436622 A CN 2012102436622A CN 201210243662 A CN201210243662 A CN 201210243662A CN 102769702 A CN102769702 A CN 102769702A
Authority
CN
China
Prior art keywords
time
standard
short message
information
alarm clock
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.)
Granted
Application number
CN2012102436622A
Other languages
Chinese (zh)
Other versions
CN102769702B (en
Inventor
于芝涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN2012102436622A priority Critical patent/CN102769702B/en
Publication of CN102769702A publication Critical patent/CN102769702A/en
Application granted granted Critical
Publication of CN102769702B publication Critical patent/CN102769702B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for setting an alarm clock of a mobile phone based on a short message. The method comprises the following steps of: presetting the linking operation of triggering an alarm clock interface in the short message; receiving the short message, starting and entering a short message browsing interface, and acquiring the operation of a user over the contents of the short message; judging whether the operation of the user over the contents of the short message is matched with the preset linking operation or not, and if the operation of the user over the contents of the short message is matched with the preset linking operation, triggering the switching of a current short message browsing interface into the alarm clock operation linked by the linking operation; and setting alarm clock information according to time information in the contents of the short message in the alarm clock interface. By the method and the device, time for setting the alarm clock can be shortened.

Description

The method and the device of mobile phone alarm clock are set based on note
Technical field
The present invention relates to the mobile phone technology, relate in particular to a kind of method and device that the mobile phone alarm clock is set based on note.
Background technology
The SMS of mobile phone provides very convenient service efficiently for the user; Along with popularizing of short message application; The user dates to become through note and becomes more and more popular, and the user is after receiving the note of appointment, according to the temporal information that comprises in the note; Through alarm clock is set, to remind the appointment of own current reservation.
Fig. 1 is the existing method flow sketch map that the mobile phone alarm clock is set based on note.Referring to Fig. 1, this method comprises:
Step 101 receives note, starts entering note browser interface and browses note, obtains the temporal information in the note;
In this step, the user has received the appointment note that the good friend sends through mobile phone, for example, arranges to go in second day the note of playing ball: " tomorrow morning, nine thirty, the gymnasium was seen ", obtain the temporal information that wherein comprises: nine thirty.
Step 102 is according to the alarm clock information of the temporal information calculating and setting needs prompting of obtaining;
In this step; The user is according to the temporal information of from note, obtaining, and the required time on time that consideration need be prepared and the appointment distance, need guarantee that promptly the times prior of in note, mentioning arrives in reservation place (destination); Just arrived in the gymnasium before nine thirty; For instance, if on time of preparing and the appointment distance the required time be total up to two hours, it was 7 thirty that the alarm clock information of need reminding then is set.
Step 103 withdraws from the note browser interface, turns back to the mobile phone desktop;
Step 104 starts the alarm clock application program, gets into the alarm clock interface;
In this step,, there is not inherent association because the SMS and the alarm clock function of mobile phone are separate, thereby, need withdraw from the note browser interface earlier, restart the alarm clock application program, thereby get into the alarm clock interface.
Step 105 is provided with the alarm clock information that needs prompting in the alarm clock interface.
In this step, it is 7 thirty of morning that alarm clock information is set in the alarm clock interface, after setting alarm clock, withdraws from the alarm clock interface.
By above-mentioned visible; The existing method that the mobile phone alarm clock is set based on note; Need the user to carry out start to get into the note browser interface, then withdraw from the note browser interface, restart and get into the alarm clock interface and withdraw from operating procedure such as alarm clock interface; Operating process is comparatively loaded down with trivial details and complicated, makes that the required time of alarm clock is set is longer.
Summary of the invention
Embodiments of the invention provide a kind of and based on note the method for mobile phone alarm clock are set, and reduce the required time of alarm clock that is provided with.
Embodiments of the invention also provide a kind of and based on note the device of mobile phone alarm clock are set, and reduce the required time of alarm clock that is provided with.
For achieving the above object, the embodiment of the invention provides a kind ofly is provided with the method for mobile phone alarm clock based on note, comprising:
Be arranged on the linked operation that triggers the alarm clock interface in the note in advance;
Receive note, start entering note browser interface, obtain the operation of user short message content;
Whether judges is complementary with the linked operation that is provided with in advance to the operation of short message content, if trigger the alarm clock interface that current note browser interface is switched to the linked operation link;
At said alarm clock interface, the temporal information that comprises according to short message content is provided with alarm clock information.
The said user of obtaining comprises the operation of short message content:
Monitor felt pen or finger contact note browser interface, with contact point as the starting point of user to the operation of short message content;
Obtain felt pen or the contact moving range of finger in the note browser interface, as the scope of user to the operation of short message content;
Monitor felt pen or finger and the note browser interface disengages, with disengaging a little as the terminal point of user to the operation of short message content;
The contact moving range of process is the operation of user to short message content between the Origin And Destination.
If afterwards, triggering switches to current note browser interface before the alarm clock interface of linked operation link, further comprises said:
Obtain the temporal information that comprises in the operation of user to short message content.
The temporal information that comprises in the operation of the said user of obtaining to short message content comprises:
The temporal information that comprises in the operation of User Recognition to short message content.
The temporal information that comprises in the operation of the said user of obtaining to short message content comprises:
Obtain the character that comprises temporal information in the operation of user to short message content;
Carry out computation of table lookup, the said character that comprises temporal information is converted into the standard time data, and storage.
The character that comprises temporal information in the operation of the said user of obtaining to short message content comprises:
Time-division connector information bank is set in advance;
According to time-division connector information bank, the character that comprises in the operation of match user to short message content obtains the time-division connector information of coupling;
Extract the character of the time-division connector front and back predetermined number of coupling, obtain comprising the character of temporal information.
The said computation of table lookup of carrying out is converted into the standard time data with the said character that comprises temporal information and comprises:
Travel through the character before the time-division connector in the said character that comprises temporal information,, obtain the standard date data according to computation of table lookup if comprise date and time information;
Continue the character before the traversal time-division connector, divided data when obtaining the standard before the time-division connector according to computation of table lookup;
Extract the character behind the time-division connector in the said character that comprises temporal information, divided data when obtaining the standard behind the time-division connector according to computation of table lookup;
According to the standard time data format, divided data when the standard time data type format of divided data, time connector mapping and the standard behind the time-division connector when merging the standard before standard date data, the time-division connector, the standard time data that obtain transforming.
Further comprise:
If it is unsuccessful that the said character that comprises temporal information is converted into the standard time data, then to user's display reminding information.
After starting the step that gets into the note browser interface, obtain before the step of user to the operation of short message content, further comprise:
In the note browser interface, show the linked operation that is provided with in advance, so that the user chooses short message content according to the linked operation of showing.
A kind ofly based on note the device of mobile phone alarm clock is set, this device comprises: linked operation is provided with module, short message content operation monitoring module, linked operation matching module and alarm clock information module is set, wherein,
Linked operation is provided with module, is used for being arranged on the linked operation that note triggers the alarm clock interface;
Short message content operation monitoring module is used to receive note, starts entering note browser interface and browses note, obtains the operation of user to short message content;
The linked operation matching module is used for judges whether the operation of short message content is complementary with the linked operation that is provided with in advance, if trigger the alarm clock interface that current note browser interface switched to the linked operation link;
Alarm clock information is provided with module, is used at said alarm clock interface, and the temporal information that comprises according to short message content is provided with alarm clock information.
Further comprise:
The linked operation display module is used for showing the linked operation that is provided with in advance at the note browser interface, so that the user chooses short message content according to the linked operation of showing.
Said linked operation matching module comprises: matching unit and switch unit, wherein,
Matching unit is used for judges whether the operation of short message content is complementary with the linked operation that is provided with in advance, if, to switch unit output trigger message;
Switch unit is used for receiving and triggers trigger message, current note browser interface is switched to the alarm clock interface of linked operation link.
Said linked operation matching module further comprises: temporal information acquiring unit and standard time data capture unit, wherein,
The temporal information acquiring unit is used for behind matching unit output trigger message, obtaining the temporal information that comprises in the operation of user to short message content;
The standard time data capture unit is used to carry out computation of table lookup, and the character that comprises temporal information in the temporal information acquiring unit is converted into the standard time data, and storage.
Said temporal information acquiring unit comprises: time-division connector information bank subelement, time-division connector coupling subelement and temporal information are obtained subelement, wherein,
Time-division connector information bank subelement is used to store the time-division connector information that is provided with in advance;
Time-division connector coupling subelement is used for the time-division connector information according to time-division connector information bank subelement storage, and the character that comprises in the operation of match user to short message content obtains the time-division connector information of coupling;
Temporal information is obtained subelement, is used for extracting the character of predetermined number before and after the time-division connector that time-division connector coupling subelement matees, and obtains comprising the character of temporal information.
Said standard time data capture unit comprises: temporal information handles subelement, divided data was obtained subelement and the standard time data are obtained subelement when divided data was obtained subelement, second standard when standard date data were obtained subelement, first standard; Wherein
Temporal information is handled subelement; Be used for traveling through the character before temporal information is obtained subelement time-division connector,, export date and time information to the standard date data and obtain subelement if comprise date and time information; If do not comprise; Continue the preceding character of traversal time-division connector, obtain the first standard time-division information, export the first standard date data to and obtain subelement;
Extracting time information is obtained the character behind the time-division connector in the subelement, obtains the second standard time-division information, exports the second standard date data to and obtains subelement;
The first standard date data are obtained subelement, are used for carrying out computation of table lookup according to the first standard time-division information that receives, divided data when obtaining the standard before the time-division connector;
The second standard date data are obtained subelement, are used for carrying out computation of table lookup according to the second standard time-division information that receives, divided data when obtaining the standard behind the time-division connector;
The standard time data are obtained subelement; Be used for according to the standard time data format; Divided data was obtained the information of subelement output and the standard time data type format of time connector mapping, the standard time data that obtain transforming when divided data was obtained subelement, second standard when merging standard date data were obtained subelement, first standard.
Said alarm clock information is provided with module and comprises: the distance elapsed time is provided with unit, display processing unit, standard date data display unit and standard time-division data display unit, wherein,
The distance elapsed time is provided with the unit, is used to store the distance elapsed time information that is provided with in advance;
Display processing unit is used for the standard time data that the acceptance criteria time data obtains subelement output, if comprise the standard date data in the standard time data, to standard date data display unit and standard time-division data display unit output trigger message; Otherwise, to standard time-division data display unit output trigger message;
The standard date data display unit is used for the standard date data that display processing unit receives are shown;
Standard time-division data display unit, the divided data during standard that is used for receiving according to display processing unit after deducting the distance elapsed time distance elapsed time information in the unit being set, shows.
Visible by technique scheme, the embodiment of the invention provides a kind ofly is provided with the method and the device of mobile phone alarm clock based on note, is arranged on the linked operation that triggers the alarm clock interface in the note in advance; Receive note, start entering note browser interface, obtain the operation of user short message content; Whether judges is complementary with the linked operation that is provided with in advance to the operation of short message content, if trigger the alarm clock interface that current note browser interface is switched to the linked operation link; At said alarm clock interface, the temporal information that comprises according to short message content is provided with alarm clock information.Like this; Through between SMS and alarm clock function, setting up inner link; Make the note browser interface directly related, switch the setting that just can realize alarm clock information, simplified operating process thereby make the user need not to carry out repeatedly the interface with the alarm clock interface; Shortened that the required time of alarm clock being set, improved the efficient that the user is provided with alarm clock.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art.Obviously, the accompanying drawing in below describing only is some embodiments of the present invention, for those of ordinary skills, can also obtain other embodiment and accompanying drawing thereof according to these accompanying drawing illustrated embodiments.
Fig. 1 is the existing method flow sketch map that the mobile phone alarm clock is set based on note.
Fig. 2 is provided with the method flow sketch map of mobile phone alarm clock based on note for the embodiment of the invention.
The sketch map that Fig. 3 operates short message content for embodiment of the invention user.
Fig. 4 is the sketch map of the alarm clock information of embodiment of the invention alarm clock interface display.
Fig. 5 is provided with the apparatus structure sketch map of mobile phone alarm clock based on note for the embodiment of the invention.
Embodiment
Below will combine accompanying drawing that the technical scheme of various embodiments of the present invention is carried out clear, complete description, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are resulting all other embodiment under the prerequisite of not making creative work, the scope that all belongs to the present invention and protected.
The existing method that the mobile phone alarm clock is set based on note; Because the SMS and the alarm clock function of mobile phone are separate; There is not inherent association; Need carry out repeatedly interface and switch and just can set alarm clock information, make that based on note the operating process of alarm clock to be set comparatively loaded down with trivial details and complicated, it is longer that the required time of alarm clock is set.In the embodiment of the invention; Consideration is integrated SMS on the mobile phone and alarm clock function; Between SMS and alarm clock function, set up inner link; Make the note browser interface directly related with the alarm clock interface, be about to time point that short message content relates to and the setting of alarm time point carry out related, thereby make the user can be very convenient, based on note alarm clock is set automatically quickly.
Fig. 2 is provided with the method flow sketch map of mobile phone alarm clock based on note for the embodiment of the invention.Referring to Fig. 2, this method comprises:
Step 201 is arranged on the linked operation that triggers the alarm clock interface in the note in advance;
In this step; Linked operation is set in advance; This linked operation link alarm clock application program; When the operation of carrying out at the note browser interface as the user is identical with the linked operation of setting, trigger will current note browser interface alarm clock application program through the linked operation link, switch to the alarm clock interface of correspondence.Like this, need not the user and withdraw from current note browser interface earlier, restart the alarm clock application program, get into the alarm clock interface, thereby simplified operating process, shortened the required time of alarm clock that is provided with.
Linked operation can be provided with according to actual needs, only otherwise with note in the existing operation that is provided with conflict mutually and get final product, for example, can be the circle of a sealing or the polygon of sealing.
Step 202 receives note, starts to get into the note browser interface, obtains the operation of user to short message content;
In this step, the user has received the appointment note that the good friend sends through mobile phone, starts short message application program, gets into the note browser interface and browses note.
According to the short breath content of browsing,, then from the linked operation at the triggering alarm clock interface that is provided with in advance, select wherein a kind of linked operation mode that short message content is operated if the user confirms corresponding alarm clock calling function need be set.For example, if linked operation comprises the region operation to short message content, correspondingly, short message content is carried out region operation; Again for example, if linked operation comprises the paddling selection operation to short message content, correspondingly, short message content is carried out the paddling selection operation.
In the operation of user to short message content, include required temporal information.
Preferably, after starting the step that gets into the note browser interface, obtain before the step of user to the operation of short message content, further comprise:
In the note browser interface, show the linked operation that is provided with in advance, so that the user chooses short message content according to the linked operation of showing.
Obtaining the user comprises the operation of short message content:
Monitor felt pen or finger contact note browser interface, with contact point as the starting point of user to the operation of short message content;
Obtain felt pen or the contact moving range of finger in the note browser interface, as the scope of user to the operation of short message content;
Monitor felt pen or finger and the note browser interface disengages, with disengaging a little as the terminal point of user to the operation of short message content;
The contact moving range of process is the operation of user to short message content between the Origin And Destination.
The sketch map that Fig. 3 operates short message content for embodiment of the invention user.Referring to Fig. 3, the short message content that the note browser interface shows is " tomorrow morning, nine thirty, the gymnasium was seen ", and the user is with predetermined action; For example, the mode of region operation is manually selected " nine thirty " in the short message content; Form an enclosed areas; Promptly in this enclosed areas, comprise and have the character " nine thirty " of expressing constantly, this predetermined action is for be arranged in the linked operation that triggers the alarm clock interface in the note in advance.
Step 203, whether judges is complementary with the linked operation that is provided with in advance to the operation of short message content, if trigger the alarm clock interface that current note browser interface is switched to the linked operation link;
In this step; After the user got into the note browser interface, monitor user ' was operated short message content if monitor the user the operation of short message content; Obtain this user's operation; And this user operation and the linked operation that is provided with in advance mated, if mate successfully, trigger that then current note browser interface is switched to the alarm clock interface that linked operation links.For example; If the linked operation that is provided with in advance comprises: to the region operation and the slip selection operation of short message content; Then when the user carried out region operation or paddling selection operation to short message content, judges was complementary to the operation of short message content and the linked operation that is provided with in advance, triggered mobile phone and withdrawed from current note browser interface automatically; Start the alarm clock application program, and jump to the corresponding alarm clock interface of alarm clock application program.Like this, through the linked operation that triggers the alarm clock interface is set, current note browser interface is switched to the alarm clock interface that linked operation links, flow process can effectively simplify the operation.
In the embodiment of the invention, if afterwards, triggering switches to current note browser interface before the alarm clock interface of linked operation link, can further include in step:
Obtain the temporal information that comprises in the operation of user to short message content.
In this step, for example, note went to play ball for agreement in second day: " tomorrow morning, nine thirty, the gymnasium was seen ", suppose that the user operated " nine thirty " in the short message content, obtain the temporal information that comprises in this operation: nine thirty.
In the embodiment of the invention; If the user need be to acquisition time information the operation of short message content; Then require to comprise in the operation of user to short message content the required temporal information of alarm clock is set; For example, short message content is " 5 PM half gymnasium is seen ", and then the user is to should comprise the content of " 5 PM half " at least in the operation of short message content.
Preferably, obtaining the temporal information that comprises in the operation of user to short message content specifically comprises:
The temporal information that comprises in the operation of User Recognition to short message content.Like this, the user can according to the temporal information of memory, consider other times information, thereby alarm clock information is set in follow-up alarm clock interface through information memory time.
In the practical application, also can obtain the temporal information that comprises in the operation, for example, obtain the temporal information that comprises in the operation and also can comprise through alternate manner:
A01 obtains the character that comprises temporal information in the operation of user to short message content;
This step can specifically comprise again:
A011 is provided with time-division connector information bank in advance;
In this step, if the temporal information that relates in the note comprises hour and minute, then exist be used for connecting hour and minute the time-division connector, for example " point ", " time ", ": ", ", ", ", ", " " etc.In the embodiment of the invention, in advance in time-division connector information bank storage be used to connect hour and minute time-division connector information, follow-up short message content is mated being used for.
A012, according to time-division connector information bank, the character that comprises in the operation of match user to short message content obtains the time-division connector information of coupling;
In this step,, obtain time-division connector information with time-division connector information bank coupling through the time-division connector in the time-division connector information bank of character that comprises in the operation of user to short message content and setting is in advance mated.For example, the character that comprises in the operation of user to short message content is " nine thirty ", and then through the method for coupling, the time-division connector information of obtaining is " point ".
A013 extracts the character of predetermined number before and after the time-division connector of coupling, obtains comprising the character of temporal information.
In this step, the front and back in time-division connector position, the character quantity that is used for express time is limited; For example; The character that comprises in the operation of user to short message content is the situation of " nine thirty ", the front and back in time-division connector " point " position, and the character quantity that is used for express time is 1; And the character that comprises in the operation for short message content is the situation of " 5: 30 tomorrow afternoon ", and the character quantity that is used for express time is respectively 4 and 3.Thereby, in the embodiment of the invention, consider that predetermined number is set to the max number of characters of express time; For example; Number of characters for the express time before time-division connector " point " position is set to 4, and for the number of characters of the express time behind time-division connector " point " position; Be set to 3, and the corresponding character of extraction be set according to this.
A02 carries out computation of table lookup, and the said character that comprises temporal information is converted into the standard time data, and storage.
In this step, the divided data when standard time, data comprised standard, or; Divided data when standard date data and standard, wherein, the standard date data are used to confirm to be provided with the exact date of alarm clock; And divided data is used at a fixed date during standard, confirms to be provided with the concrete time of alarm clock.
Consider that the time information data form in the note maybe be inconsistent with the alarm clock information data format given tacit consent in the alarm clock; That is to say; Time information data type format in the note possibly be non-type, therefore need realize the conversion and the standardization of the time information data form in the note through tabling look-up; For example; The character that comprises temporal information in the note possibly be " nine thirty ", " 9 o'clock Ban ", " 9.30 ", " 9: 30 " etc., thereby, need this character that comprises temporal information is changed into the standard alarm clock information data format of giving tacit consent in the alarm clock: " 9:30 ".
Specifically, the mapping relations of time character and standard time data are set in advance in tabling look-up, for example, the time connector are mapped as standard time data type format ": "; For character tomorrow time, the standard time data that its mapping is set are to increase progressively one day on the current standard date, and for example, current standard date is " 2012:07:10 ", and then the standard time data of mapping tomorrow are 2012:07:11; For character afternoon time or evening, the standard time data that its mapping is set are " 12 "; For time character half, the standard time data that its mapping is set are " 30 "; For character a moment time, the standard time data that its mapping is set are " 15 "; For time character 30, the standard time data that its mapping is set are " 30 " etc.
The said character that comprises temporal information is converted into the standard time data to be comprised:
A021 travels through the character before the time-division connector in the said character that comprises temporal information, if comprise date and time information, obtains the standard date data according to computation of table lookup;
In this step; For example; For the situation of the character that comprises temporal information for " 5: 30 tomorrow afternoon ", extract the preceding character of time-division connector that obtains and be " tomorrow afternoon five ", travel through from first character; According to tabling look-up, the standard date data of the middle character " tomorrow " of tabling look-up mapping are 2012:07:11.After obtaining the standard date data, continue down to travel through divided data when obtaining standard.
Should explain be, do not comprise the character that is used to shine upon the standard date data in tabling look-up in the character of temporal information if comprise, then do not carry out this flow process,
A022 continues the character before the traversal time-division connector, divided data when obtaining the standard before the time-division connector according to computation of table lookup;
In this step, " tomorrow " character string afterwards in the character string " tomorrow afternoon five " is proceeded traversal, for character " afternoon "; The standard time data of its mapping are " 12 "; For character " five ", the standard time data of its mapping are " 5 ", and the standard time data of each character mapping before the time-division connector are carried out addition; Divided data, i.e. " 17 " when obtaining the standard before the time-division connector.
A023 extracts the character behind the time-division connector in the said character that comprises temporal information, divided data when obtaining the standard behind the time-division connector according to computation of table lookup;
This step is similar with steps A 022, repeats no more at this.
A024; According to the standard time data format; Divided data when the standard time data type format of divided data, time connector mapping and the standard behind the time-division connector when merging the standard before standard date data, the time-division connector, the standard time data that obtain transforming.
In this step, be the situation of " 5: 30 tomorrow afternoon " for the character that comprises temporal information, the time data of the standard that obtains at last transforming is " 2012:07:11:17:30 ".
In the practical application, through above-mentioned method for transformation, might not be successful to the conversion of the character that comprises temporal information, thereby preferably, this method further comprises:
If it is unsuccessful that the said character that comprises temporal information is converted into the standard time data, then to user's display reminding information.
In this step, transform unsuccessful situation and possibly be and include the character that the non-moment expresses in the operation of user to short message content, or other reason causes character to transform failure, then remind the user whether need reselect the zone.
If the user selects again, then remove the operation vestige of user, so that the user can operate again to short message content; If the user abandons selecting the zone, show that then the user possibly need not to be provided with alarm clock information, then process ends.
Step 204, at said alarm clock interface, the temporal information that comprises according to short message content is provided with alarm clock information.
In this step, behind the alarm clock interface that current note browser interface is switched to the linked operation link, the alarm clock layout setting alarm clock information that the user just can switched.
As previously mentioned, if obtain the temporal information that comprises in the operation through the temporal information that comprises in the User Recognition operation, the temporal information that then comprises according to short message content is provided with alarm clock information and comprises:
A21 obtains distance elapsed time information;
In this step, the distance elapsed time is a preset time interval, promptly the user need prepare with distance on the required time, comprise user's time and distance traffic time.Certainly, the distance traffic time can be confirmed according to distance distance, weather and the traffic of each time period, repeat no more at this.
A22 according to said temporal information, deducts the distance elapsed time, obtains alarm clock information to be provided with.
In this step, temporal information and distance elapsed time all adopt the time data type format of standard.
If the temporal information that comprises in the short message content is nine thirty (09:30); Consider that the user's time and the distance traffic time that obtain are two hours (02:00); It is seven thirty (07:30=09:30-02:00) that alarm time then is set; Like this, can guarantee that the user arrived the gymnasium before nine thirty.
If, carry out computation of table lookup through obtaining the character that comprises temporal information in the operation, the character that obtains is converted into the standard time data, and the storage standards time data, the temporal information that then comprises according to short message content is provided with alarm clock information and comprises:
A31 is provided with distance elapsed time information in advance;
In this step, can consider user's time and distance traffic time in advance, a reference value is set.
A32, the temporal information according to storage deducts the distance elapsed time, obtains alarm clock information to be provided with and is presented in the alarm clock interface;
In this step, temporal information and distance elapsed time all adopt the time data type format of standard.
Mobile phone in the process that triggers the alarm clock interface that current note browser interface is switched to the linked operation link or before; Automatically calculate the poor of temporal information of storing and the distance elapsed time information that is provided with in advance; As alarm clock information to be provided with; And behind the alarm clock interface that switches to the linked operation link, the alarm clock information that this is to be provided with is presented in the alarm clock interface.As previously mentioned; If the temporal information that comprises in the short message content is 09:30, consider that the user's time and the distance traffic time that obtain are 02:00, it is 07:30 that alarm time then is set; Like this; If the alarm clock information that customer acceptance should show then can further reduce user's input operation, thereby further reduces the required time of alarm clock information that is provided with.
As previously mentioned, if comprise the standard date data in the standard time data, then further comprise:
The standard date data are presented in the alarm clock interface.
In this step; For the situation of the character that comprises temporal information for " 5: 30 tomorrow afternoon ", owing to comprise the standard date data, at the alarm clock interface; Showing the alarm clock date is provided with the interface; The information that shows is " 2012:07:11 ", and the alarm clock time-division interface is set, the information of demonstration is " 17:30 "; And be the situation of " 5 PM 30 minutes " for the character that comprises temporal information, and owing to do not comprise the standard date data,, can only show that the alarm clock time-division is provided with the interface at the alarm clock interface, the information of demonstration is " 17:30 ".
Fig. 4 is the sketch map of the alarm clock information of embodiment of the invention alarm clock interface display.Referring to Fig. 4,, it is provided with in the frame with the alarm clock that standardized time data type format is illustrated in the alarm clock interface through the alarm clock information of storing among the invocation step A32 to be provided with.
A33 is stored in the alarm clock information through confirming in the alarm clock interface.
In this step, if approve the alarm clock information of this demonstration, for example; If the user really wants to be set to 7:30; Then, the alarm clock information that is provided with is stored, thereby accomplished the method flow that the mobile phone alarm clock is set based on note through clicking the storage control in the alarm clock interface.
Certainly, in the practical application, if the user need to confirm the alarm clock information of update displayed in the alarm clock interface; For example; If user expectation is set to point At All Other Times, then can change, the alarm clock information that in to the alarm clock interface, shows upgrades this alarm clock information of back storage.
By above-mentioned visible; The embodiment of the invention based on note the method for mobile phone alarm clock is set; Through being arranged on the linked operation that triggers the alarm clock interface in the note in advance; And in the note browser interface, carry out the linked operation that triggers the alarm clock interface, and trigger the alarm clock interface that current note browser interface is switched to the linked operation link, carry out the alarm clock information setting.Like this, through between SMS and alarm clock function, setting up inner link, make the note browser interface directly related with the alarm clock interface; The user is provided with alarm clock information if desired when browsing note, then can carry out predetermined linked operation at the note browser interface; Thereby directly jump to alarm time and set the interface, need not the user and withdraw from current note browser interface earlier, restart the alarm clock application program; Get into the alarm clock interface, thereby simplified operating process, simple, convenient, quick; Shortened that the required time of alarm clock being set, improved the efficient that the user is provided with alarm clock; Further, through the time information in the automatic extraction note, the alarm time according to the time interval calculating needs of user preset are provided with can further reduce user's operation, makes that the required time of alarm clock is set is shorter.
Fig. 5 is provided with the apparatus structure sketch map of mobile phone alarm clock based on note for the embodiment of the invention.Referring to Fig. 5, this device comprises: linked operation is provided with module, short message content operation monitoring module, linked operation matching module and alarm clock information module is set, wherein,
Linked operation is provided with module, is used for being arranged on the linked operation that note triggers the alarm clock interface;
Short message content operation monitoring module is used to receive note, starts entering note browser interface and browses note, obtains the operation of user to short message content;
The linked operation matching module is used for judges whether the operation of short message content is complementary with the linked operation that is provided with in advance, if trigger the alarm clock interface that current note browser interface switched to the linked operation link;
Alarm clock information is provided with module, is used at said alarm clock interface, and the temporal information that comprises according to short message content is provided with alarm clock information.
Wherein, the linked operation matching module is further used in judges the operation of short message content and the linked operation that is provided with in advance not being complementary, and notifies the user again short message content to be operated.
Preferably, this device further comprises:
The linked operation display module is used for showing the linked operation that is provided with in advance at the note browser interface, so that the user chooses short message content according to the linked operation of showing.
In the embodiment of the invention, the linked operation display module is provided with the linked operation that reads setting the module from linked operation.
Wherein, the linked operation matching module comprises: matching unit and switch unit (not shown), wherein,
Matching unit is used for judges whether the operation of short message content is complementary with the linked operation that is provided with in advance, if, to switch unit output trigger message;
Switch unit is used for receiving and triggers trigger message, current note browser interface is switched to the alarm clock interface of linked operation link.
Preferably, the linked operation matching module may further include: temporal information acquiring unit and standard time data capture unit (not shown), wherein,
The temporal information acquiring unit is used for behind matching unit output trigger message, obtaining the temporal information that comprises in the operation of user to short message content;
The standard time data capture unit is used to carry out computation of table lookup, and the character that comprises temporal information in the temporal information acquiring unit is converted into the standard time data, and storage.
Wherein, the temporal information acquiring unit comprises: time-division connector information bank subelement, time-division connector coupling subelement and temporal information are obtained the subelement (not shown), wherein,
Time-division connector information bank subelement is used to store the time-division connector information that is provided with in advance;
Time-division connector coupling subelement is used for the time-division connector information according to time-division connector information bank subelement storage, and the character that comprises in the operation of match user to short message content obtains the time-division connector information of coupling;
Temporal information is obtained subelement, is used for extracting the character of predetermined number before and after the time-division connector that time-division connector coupling subelement matees, and obtains comprising the character of temporal information.
The standard time data capture unit comprises: temporal information handles subelement, divided data was obtained subelement and the standard time data are obtained the subelement (not shown) when divided data was obtained subelement, second standard when standard date data were obtained subelement, first standard; Wherein
Temporal information is handled subelement; Be used for traveling through the character before temporal information is obtained subelement time-division connector,, export date and time information to the standard date data and obtain subelement if comprise date and time information; If do not comprise; Continue the preceding character of traversal time-division connector, obtain the first standard time-division information, export the first standard date data to and obtain subelement;
Extracting time information is obtained the character behind the time-division connector in the subelement, obtains the second standard time-division information, exports the second standard date data to and obtains subelement;
The first standard date data are obtained subelement, are used for carrying out computation of table lookup according to the first standard time-division information that receives, divided data when obtaining the standard before the time-division connector;
The second standard date data are obtained subelement, are used for carrying out computation of table lookup according to the second standard time-division information that receives, divided data when obtaining the standard behind the time-division connector;
The standard time data are obtained subelement; Be used for according to the standard time data format; Divided data was obtained the information of subelement output and the standard time data type format of time connector mapping, the standard time data that obtain transforming when divided data was obtained subelement, second standard when merging standard date data were obtained subelement, first standard.
Alarm clock information is provided with module and comprises: the distance elapsed time is provided with unit, display processing unit, standard date data display unit and standard time-division data display unit (not shown), wherein,
The distance elapsed time is provided with the unit, is used to store the distance elapsed time information that is provided with in advance;
Display processing unit is used for the standard time data that the acceptance criteria time data obtains subelement output, if comprise the standard date data in the standard time data, to standard date data display unit and standard time-division data display unit output trigger message; Otherwise, to standard time-division data display unit output trigger message;
The standard date data display unit is used for the standard date data that display processing unit receives are shown;
Standard time-division data display unit, the divided data during standard that is used for receiving according to display processing unit after deducting the distance elapsed time distance elapsed time information in the unit being set, shows.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also comprises these changes and modification interior.

Claims (10)

1. one kind is provided with the method for mobile phone alarm clock based on note, and this method comprises:
Be arranged on the linked operation that triggers the alarm clock interface in the note in advance;
Receive note, start entering note browser interface, obtain the operation of user short message content;
Whether judges is complementary with the linked operation that is provided with in advance to the operation of short message content, if trigger the alarm clock interface that current note browser interface is switched to the linked operation link;
At said alarm clock interface, the temporal information that comprises according to short message content is provided with alarm clock information.
2. method according to claim 1, the said user of obtaining comprises the operation of short message content:
Monitor felt pen or finger contact note browser interface, with contact point as the starting point of user to the operation of short message content;
Obtain felt pen or the contact moving range of finger in the note browser interface, as the scope of user to the operation of short message content;
Monitor felt pen or finger and the note browser interface disengages, with disengaging a little as the terminal point of user to the operation of short message content;
The contact moving range of process is the operation of user to short message content between the Origin And Destination.
3. method according to claim 1, if afterwards, triggering switches to current note browser interface before the alarm clock interface of linked operation link, further comprises said:
Obtain the temporal information that comprises in the operation of user to short message content.
4. method according to claim 3, the temporal information that comprises in the operation of the said user of obtaining to short message content comprises:
The temporal information that comprises in the operation of User Recognition to short message content; Perhaps
Obtain the character that comprises temporal information in the operation of user to short message content;
Carry out computation of table lookup, the said character that comprises temporal information is converted into the standard time data, and storage.
5. method according to claim 4, the character that comprises temporal information in the operation of the said user of obtaining to short message content comprises:
Time-division connector information bank is set in advance;
According to time-division connector information bank, the character that comprises in the operation of match user to short message content obtains the time-division connector information of coupling;
Extract the character of the time-division connector front and back predetermined number of coupling, obtain comprising the character of temporal information;
The said computation of table lookup of carrying out is converted into the standard time data with the said character that comprises temporal information and comprises:
Travel through the character before the time-division connector in the said character that comprises temporal information,, obtain the standard date data according to computation of table lookup if comprise date and time information;
Continue the character before the traversal time-division connector, divided data when obtaining the standard before the time-division connector according to computation of table lookup;
Extract the character behind the time-division connector in the said character that comprises temporal information, divided data when obtaining the standard behind the time-division connector according to computation of table lookup;
According to the standard time data format, divided data when the standard time data type format of divided data, time connector mapping and the standard behind the time-division connector when merging the standard before standard date data, the time-division connector, the standard time data that obtain transforming.
6. method according to claim 1 after starting the step that gets into the note browser interface, is obtained before the step of user to the operation of short message content, further comprises:
In the note browser interface, show the linked operation that is provided with in advance, so that the user chooses short message content according to the linked operation of showing.
7. one kind is provided with the device of mobile phone alarm clock based on note, and it is characterized in that this device comprises: linked operation is provided with module, short message content operation monitoring module, linked operation matching module and alarm clock information module is set, wherein,
Linked operation is provided with module, is used for being arranged on the linked operation that note triggers the alarm clock interface;
Short message content operation monitoring module is used to receive note, starts entering note browser interface and browses note, obtains the operation of user to short message content;
The linked operation matching module is used for judges whether the operation of short message content is complementary with the linked operation that is provided with in advance, if trigger the alarm clock interface that current note browser interface switched to the linked operation link;
Alarm clock information is provided with module, is used at said alarm clock interface, and the temporal information that comprises according to short message content is provided with alarm clock information.
8. device according to claim 7 is characterized in that, further comprises:
The linked operation display module is used for showing the linked operation that is provided with in advance at the note browser interface, so that the user chooses short message content according to the linked operation of showing.
9. device according to claim 7 is characterized in that, said linked operation matching module comprises: matching unit and switch unit, wherein,
Matching unit is used for judges whether the operation of short message content is complementary with the linked operation that is provided with in advance, if, to switch unit output trigger message;
Switch unit is used for receiving and triggers trigger message, current note browser interface is switched to the alarm clock interface of linked operation link.
10. device according to claim 9 is characterized in that, said linked operation matching module further comprises: temporal information acquiring unit and standard time data capture unit, wherein,
The temporal information acquiring unit is used for behind matching unit output trigger message, obtaining the temporal information that comprises in the operation of user to short message content;
The standard time data capture unit is used to carry out computation of table lookup, and the character that comprises temporal information in the temporal information acquiring unit is converted into the standard time data, and storage;
Said temporal information acquiring unit comprises: time-division connector information bank subelement, time-division connector coupling subelement and temporal information are obtained subelement, wherein,
Time-division connector information bank subelement is used to store the time-division connector information that is provided with in advance;
Time-division connector coupling subelement is used for the time-division connector information according to time-division connector information bank subelement storage, and the character that comprises in the operation of match user to short message content obtains the time-division connector information of coupling;
Temporal information is obtained subelement, is used for extracting the character of predetermined number before and after the time-division connector that time-division connector coupling subelement matees, and obtains comprising the character of temporal information;
Said standard time data capture unit comprises: temporal information handles subelement, divided data was obtained subelement and the standard time data are obtained subelement when divided data was obtained subelement, second standard when standard date data were obtained subelement, first standard; Wherein
Temporal information is handled subelement; Be used for traveling through the character before temporal information is obtained subelement time-division connector,, export date and time information to the standard date data and obtain subelement if comprise date and time information; If do not comprise; Continue the preceding character of traversal time-division connector, obtain the first standard time-division information, export the first standard date data to and obtain subelement;
Extracting time information is obtained the character behind the time-division connector in the subelement, obtains the second standard time-division information, exports the second standard date data to and obtains subelement;
The first standard date data are obtained subelement, are used for carrying out computation of table lookup according to the first standard time-division information that receives, divided data when obtaining the standard before the time-division connector;
The second standard date data are obtained subelement, are used for carrying out computation of table lookup according to the second standard time-division information that receives, divided data when obtaining the standard behind the time-division connector;
The standard time data are obtained subelement; Be used for according to the standard time data format; Divided data was obtained the information of subelement output and the standard time data type format of time connector mapping, the standard time data that obtain transforming when divided data was obtained subelement, second standard when merging standard date data were obtained subelement, first standard.
CN2012102436622A 2012-07-13 2012-07-13 Method and device for setting alarm clock of mobile phone based on short message Active CN102769702B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102436622A CN102769702B (en) 2012-07-13 2012-07-13 Method and device for setting alarm clock of mobile phone based on short message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102436622A CN102769702B (en) 2012-07-13 2012-07-13 Method and device for setting alarm clock of mobile phone based on short message

Publications (2)

Publication Number Publication Date
CN102769702A true CN102769702A (en) 2012-11-07
CN102769702B CN102769702B (en) 2013-11-13

Family

ID=47096949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102436622A Active CN102769702B (en) 2012-07-13 2012-07-13 Method and device for setting alarm clock of mobile phone based on short message

Country Status (1)

Country Link
CN (1) CN102769702B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533175A (en) * 2013-10-24 2014-01-22 上海华勤通讯技术有限公司 Automatic setting system and method of mobile phone alarm clock
CN104881321A (en) * 2015-05-11 2015-09-02 魅族科技(中国)有限公司 Method for setting application and terminal using the method
CN106296108A (en) * 2015-06-05 2017-01-04 中兴通讯股份有限公司 A kind of reminding method time temporal information in text is carried out schedule and device
CN107846514A (en) * 2017-11-03 2018-03-27 珠海格力电器股份有限公司 A kind of alarm clock setting method and device
CN108632456A (en) * 2018-03-30 2018-10-09 联想(北京)有限公司 Information processing method and information processing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080102889A1 (en) * 2006-10-30 2008-05-01 Research In Motion Limited Portable electronic device and method for transmitting calendar events
CN101212733A (en) * 2006-12-27 2008-07-02 上海基信通讯技术有限公司 Method for setting a short message for calendar reminding automatically on mobile telephone
CN101702127A (en) * 2009-11-27 2010-05-05 深圳华为通信技术有限公司 User task reminding method and device thereof
CN102457600A (en) * 2010-10-29 2012-05-16 上海三旗通信科技股份有限公司 Method for sending short message content to alarm clock

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080102889A1 (en) * 2006-10-30 2008-05-01 Research In Motion Limited Portable electronic device and method for transmitting calendar events
CN101212733A (en) * 2006-12-27 2008-07-02 上海基信通讯技术有限公司 Method for setting a short message for calendar reminding automatically on mobile telephone
CN101702127A (en) * 2009-11-27 2010-05-05 深圳华为通信技术有限公司 User task reminding method and device thereof
CN102457600A (en) * 2010-10-29 2012-05-16 上海三旗通信科技股份有限公司 Method for sending short message content to alarm clock

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533175A (en) * 2013-10-24 2014-01-22 上海华勤通讯技术有限公司 Automatic setting system and method of mobile phone alarm clock
CN103533175B (en) * 2013-10-24 2015-07-22 上海华勤通讯技术有限公司 Automatic setting system and method of mobile phone alarm clock
CN104881321A (en) * 2015-05-11 2015-09-02 魅族科技(中国)有限公司 Method for setting application and terminal using the method
CN106296108A (en) * 2015-06-05 2017-01-04 中兴通讯股份有限公司 A kind of reminding method time temporal information in text is carried out schedule and device
CN107846514A (en) * 2017-11-03 2018-03-27 珠海格力电器股份有限公司 A kind of alarm clock setting method and device
CN108632456A (en) * 2018-03-30 2018-10-09 联想(北京)有限公司 Information processing method and information processing system
CN108632456B (en) * 2018-03-30 2020-08-25 联想(北京)有限公司 Information processing method and information processing system

Also Published As

Publication number Publication date
CN102769702B (en) 2013-11-13

Similar Documents

Publication Publication Date Title
CN102769702B (en) Method and device for setting alarm clock of mobile phone based on short message
CN105577527B (en) Interaction method and device for smart watch and WeChat platform and smart watch
JP6255646B2 (en) Message system
CN103873934B (en) A kind of real-time reminding method and system for chasing after play
WO2016008453A1 (en) Intelligent service interaction platform apparatus, system and realizing method thereof
CN103885738A (en) Display Terminal Apparatus, Information Display System, Information Display Control Method And Storage Medium Storing Program Thereof
US20110181619A1 (en) Apparatus and method for transmitting and receiving handwriting animation message
CN104915086A (en) Reminder generating method and a mobile electronic device
CN104216697B (en) Animation playing method and device for mobile terminal and mobile terminal
CN101601263A (en) The method for customizing of mobile phone, mobile phone and the custom program of mobile phone
EP2919097A1 (en) Information processing system and information processing method for character input prediction
CN104602186B (en) A kind of contact positioning method
CN103235683A (en) Mobile terminal and method for realizing quick operation thereof
CN201467242U (en) Mobile phone with network application and capable of remotely controlling television/DVD/set top box
US20160246454A1 (en) Smartwatch or other wearable device configured to intelligently interact with a user
CN102821182B (en) Automatic phone directory contact matching method for handheld device
CN104572188A (en) System updating method and device for mobile equipment
CN105357653A (en) Reminding method and terminal
CN102547614A (en) Automatic reminding method based on mobile phone and mobile phone
CN103067893A (en) Express short message automatic notification system and operation method thereof
CN104750500A (en) Method and system for starting application program
CN103685742A (en) Method and system for automatically setting schedule through short message by mobile terminal
CN101600068B (en) Method for achieving change of man-machine interface of television
CN105282322A (en) Watch setting method and system based on intelligent mobile terminal remote voice prompt
CN105208520A (en) Method and device for automatic information sending of mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant