CN108696636B - Method, device, storage medium and mobile phone for generating theme alarm clock - Google Patents

Method, device, storage medium and mobile phone for generating theme alarm clock Download PDF

Info

Publication number
CN108696636B
CN108696636B CN201810411624.0A CN201810411624A CN108696636B CN 108696636 B CN108696636 B CN 108696636B CN 201810411624 A CN201810411624 A CN 201810411624A CN 108696636 B CN108696636 B CN 108696636B
Authority
CN
China
Prior art keywords
alarm clock
user
target
time
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810411624.0A
Other languages
Chinese (zh)
Other versions
CN108696636A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201810411624.0A priority Critical patent/CN108696636B/en
Publication of CN108696636A publication Critical patent/CN108696636A/en
Application granted granted Critical
Publication of CN108696636B publication Critical patent/CN108696636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)
  • Electric Clocks (AREA)

Abstract

The invention provides a method, a device, a storage medium and a mobile phone for generating a theme alarm clock, wherein the method for generating the theme alarm clock comprises the following steps: acquiring target time and target location from the first information; acquiring a starting place of a user; and setting a theme alarm clock according to the departure place, the target time and the target place. The invention simplifies the steps of setting the alarm clock by the user, prevents the user from forgetting to set the alarm clock, and has better user experience.

Description

Method, device, storage medium and mobile phone for generating theme alarm clock
Technical Field
The invention relates to the field of alarm clocks, in particular to a method, a device, a storage medium and a mobile phone for generating a theme alarm clock.
Background
With the widespread use of smart phones, a lot of functional application software such as a clock, a calendar, a telephone, a camera, short messages and the like are integrated on the smart phones, each application software completes different functions, and although the application software on the smart phones can realize various different functions, most of the work still needs manual operation. In the prior art, when a user wants to set an alarm clock, the user needs to manually enter a clock application and manually set the alarm clock application, that is, in the prior art, when people intend to go to a specific place at a specific time to do an event, the alarm clock application needs to be manually set, for example, the user purchases a train ticket on a 12306 website, the website often sends a mail or a short message to the user to record a departure place and a departure time, the user needs to open the corresponding mail or short message and then sets a theme alarm clock in the clock application to prevent the user from missing the time of leaving the train, and if the user forgets to set the corresponding theme alarm clock, the user may miss the train. In the prior art, the step of setting the alarm clock by the user is tedious.
Therefore, the step of setting the theme alarm clock is simplified, which is a problem to be solved urgently in the prior art.
Disclosure of Invention
The invention provides a method, a device, a storage medium and a mobile phone for generating a theme alarm clock, which are used for simplifying the steps of setting the theme alarm clock.
In order to solve the above problems, as an aspect of the present invention, there is provided a method of generating a theme alarm clock, including:
acquiring target time and target location from the first information;
acquiring a starting place of a user;
and setting a theme alarm clock according to the departure place, the target time and the target place.
Optionally, obtaining the departure location of the user includes:
acquiring the current position of the user according to the positioning information;
and setting the current position as the starting place of the user.
Optionally, the setting of the theme alarm clock according to the departure place, the target time and the target place includes:
inputting a starting place and a target place into an electronic map;
acquiring the traffic time required from a starting point to a target point according to the electronic map;
acquiring preparation time and waiting time;
generating a theme alarm clock according to the traffic time, the preparation time and the waiting time;
saving the theme alarm clock;
and the interval between the alarm starting time and the target time of the theme alarm clock is greater than or equal to the sum of the traffic time, the preparation time and the waiting time.
Optionally, before the theme alarm clock is saved, the method further includes: judging whether the user requires to confirm the theme alarm clock, when the user requires to confirm the theme alarm clock, displaying the theme alarm clock to the user, and confirming or modifying the theme alarm clock by the user;
saving the subject alarm clock includes saving the subject alarm clock confirmed or modified by the user to an alarm clock list.
Optionally, obtaining the target time and the target location from the first information includes:
acquiring a preset keyword;
acquiring a target event matched with a preset keyword from the first information;
and acquiring the target time and the target place corresponding to the target event.
Optionally, the first information includes short message information, voice information, mail information, and software prompt information.
Optionally, when the first information is short message information, before the target time and the target location are obtained from the first information, the method further includes:
acquiring a short message category selected by a user;
judging whether the first information is a short message type selected by a user;
wherein, the short message category includes: service short messages and personal short messages.
The invention also provides a device for generating the theme alarm clock, which comprises the following components:
the information processing module is used for acquiring the target time and the target place from the first information;
the positioning module is used for acquiring a starting place of a user;
and the alarm clock management module is used for setting a theme alarm clock according to the departure place, the target time and the target place.
Optionally, the positioning module is specifically configured to:
acquiring the current position of the user according to the positioning information;
and setting the current position as the starting place of the user.
Optionally, the alarm clock management module is specifically configured to:
inputting a starting place and a target place into an electronic map;
acquiring the traffic time required from a starting point to a target point according to the electronic map;
acquiring preparation time and waiting time;
generating a theme alarm clock according to the traffic time, the preparation time and the waiting time;
saving the theme alarm clock;
and the interval between the alarm starting time and the target time of the theme alarm clock is greater than or equal to the sum of the traffic time, the preparation time and the waiting time.
Optionally, the alarm clock management module is further configured to:
judging whether the user requires to confirm the theme alarm clock;
when the user requires to confirm the theme alarm clock, the theme alarm clock is displayed to the user, and the user confirms or modifies the theme alarm clock;
the alarm clock management module stores the theme alarm clocks, including the theme alarm clocks confirmed or modified by the user, into an alarm clock list.
Optionally, the information processing module is specifically configured to:
acquiring a preset keyword;
acquiring a target event matched with a preset keyword from the first information;
and acquiring the target time and the target place corresponding to the target event.
Optionally, the first information includes short message information, voice information, mail information, and software prompt information.
Optionally, when the first information is short message information, the information processing module is further configured to:
acquiring a short message category selected by a user;
judging whether the first information is a short message type selected by a user;
wherein, the short message category includes: service short messages and personal short messages.
The invention also proposes a storage medium on which a program is stored which, when being executed by a processor, carries out the steps of any of the methods proposed by the invention.
The invention also provides a mobile phone, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of any method provided by the invention.
The invention also provides a mobile phone which comprises any one of the devices provided by the invention.
The invention provides a method, a device, a storage medium and a mobile phone for generating a theme alarm clock, which are used for acquiring a target time, a target place and a starting place by identifying first information and correspondingly setting the theme alarm clock, so that the steps of setting the alarm clock by a user are simplified, the user is prevented from forgetting to set the alarm clock, and better user experience is achieved.
Drawings
FIG. 1 is a flow chart of a method for generating a theme alarm clock according to an embodiment of the present invention;
FIG. 2 is a flowchart of step S20 according to an embodiment of the present invention;
FIG. 3 is a flowchart of step S30 according to an embodiment of the present invention;
FIG. 4 is a flowchart of step S10 according to an embodiment of the present invention;
fig. 5 is a block diagram of an apparatus for generating an alarm clock according to an embodiment of the present invention.
Detailed Description
The embodiments of the invention will be described in detail below with reference to the drawings, but the invention can be implemented in many different ways as defined and covered by the claims.
Example 1:
fig. 1 is a flowchart of a method for generating a theme alarm clock according to an embodiment of the present invention, and referring to fig. 1, the method for generating a theme alarm clock according to the present invention includes:
s10: and acquiring the target time and the target place from the first information.
Specifically, the first information is notification information that informs the user that the user needs to reach the target location at or before the target time, and may be in various forms, including but not limited to text information, voice information, video information, and the like, and the method for acquiring the target time and the target location from the first information may be related methods such as semantic analysis, voice analysis, image analysis, and the like, which is not limited in this disclosure. When the first information may include a plurality of time points and a plurality of places, the time points and the places may be displayed to the user, and the user may select those time and places as the target time and the target place concerned by the user, or may set a default option, for example, set the earliest time point among the alternative time points as the target time point. And the target time and the target location can be intelligently judged by adopting a semantic recognition method. The first information may be information including a target time and a target location, such as short message information, a notification mail, and a reminder information transmitted from a website, a mobile phone application, or the like, or information including a target time and a target location transmitted from another person to the user.
S20: the departure location of the user is obtained.
Specifically, the method for acquiring the departure location of the user may be any method, for example, the location where the user is located may be determined by a GPS positioning system, an infrared positioning system, a WIFI positioning system, or a bluetooth positioning system, and then the location is set as the departure location of the user, or a default departure location or a departure location list may be set by the user, and then the default departure location is used as the departure location of the user, or the departure location list is displayed to the user, and is selected by the user, or the departure location may be set by the user.
S30: and setting a theme alarm clock according to the departure place, the target time and the target place.
Specifically, after the starting place, the target time and the target place of the user are determined, the corresponding theme alarm clock is set, the alarm starting time of the theme alarm clock is not later than the target time, and meanwhile, when the theme alarm clock is set, the starting place and the target place of the user are considered, so that the distance from the starting place to the target place can be estimated, and the alarm starting time of the appropriate theme alarm clock can be determined.
According to the invention, the target time and the target place in the first information and the starting place of the user are automatically obtained, so that the user is helped to set the theme alarm clock, the step of setting the alarm clock by the user is simplified, prompt information such as short messages and mails is not required to be manually opened by the user, the target time and the target place are automatically searched from the first information, and the starting place where the user is located is automatically obtained, so that the time spent by the user when the user sets the alarm clock is reduced, and the user experience is improved. Meanwhile, the method provided by the invention can also prevent the user from forgetting to set the alarm clock due to negligence, the first information can be automatically analyzed when the user receives the first information, the user is prevented from forgetting to set the alarm clock for an important event, and the target place and the starting place of the user are fully considered when the alarm clock is set, so that the influence of the distance between the starting place and the target place on the starting time can be considered when the starting time of the alarm clock is set, and compared with other methods which do not consider the distance between the starting place and the target place, the method can ensure that the user arrives at the target place on time.
Preferably, in some optional embodiments, fig. 2 is a flowchart of step S20 in the embodiment of the present invention, please refer to fig. 2, where the obtaining of the departure location of the user in the embodiment includes:
s21: acquiring the current position of the user according to the positioning information;
s22: and setting the current position as the starting place of the user.
Specifically, the positioning information may be information related to the current position of the user fed back to the user by any positioning system, for example, the current position of the user may be determined by a mobile phone GPS, or may be a default current position preset by the user, and then the current position is set as a departure place of the user.
Preferably, in some optional embodiments, fig. 3 is a flowchart of step S30 in an embodiment of the present invention, please refer to fig. 3, where setting a theme alarm clock according to the departure location, the target time, and the target location includes:
s31: and inputting the starting place and the target place into an electronic map.
S32: and acquiring the required traffic time from the starting point to the target point according to the electronic map.
S33: the preparation time length and the waiting time length are acquired.
S34: and generating the theme alarm clock according to the traffic time, the preparation time and the waiting time.
S35: the subject alarm clock is saved.
In the invention, an electronic map carried by a mobile phone, such as a Baidu map and a Gade map, can be adopted, a starting point and a target point are input into the electronic map, the traffic duration from the starting point to the target point is obtained by utilizing the function of the electronic map, the traffic duration corresponding to different transportation means is different, so that the transportation means which is preferably adopted by a user in the past can be recorded, the transportation means is set as a default transportation means, or the corresponding transportation means is selected according to different target points, for example, when the target point is a public transportation junction station such as an airport, a train station, a bus station and the like, a subway with the highest reliability is set as the default transportation means, when the target point is a place which is possibly related to business meeting such as a business building, an office point and the like, and a normal device is generally worn by the user during the business meeting, so that a self-driving car or a taxi is selected as the default transportation means, when the destination point is other destination points related to dinner gathering, such as restaurants, hotels, etc., the time length corresponding to each vehicle may be calculated first, and the vehicle with the shortest traffic time length may be selected by default, or of course, the default vehicle may be preset by the user. After the traffic time is obtained from the electronic map, the corresponding preparation time and waiting time are obtained, wherein the preparation time is set by a user and used for preparing before departure, such as time for picking up luggage or replacing clothes, and the waiting time is time for the user to arrive at a target place in advance, for example, the user often needs to arrive in advance before the airplane takes off to board before arriving at an airport, so that the interval between the alarm starting time and the target time of the generated theme alarm clock is greater than or equal to the sum of the traffic time, the preparation time and the waiting time, and the departure time of the user is ensured to be early enough. Optionally, the preparation time is 0.5 hour to 1 hour, the waiting time is 0.5 hour to 2 hours, and a default preparation time or waiting time may be set by the user.
Preferably, in some optional embodiments, before saving the theme alarm clock, the method further includes:
judging whether the user requires to confirm the theme alarm clock; and when the user requires to confirm the theme alarm clock, the theme alarm clock is displayed to the user, and the user confirms or modifies the theme alarm clock. Saving the theme alarm clock comprises saving the theme alarm clock confirmed or modified by the user to an alarm clock list;
and when the user does not require confirming the theme alarm clock, saving the theme alarm clock to an alarm clock list.
Specifically, for the automatically generated theme alarm clock, the alarm time of the theme alarm clock may be different from the alarm time actually required by the user, for example, the user purchases a train ticket in a company, but the departure place is the home of the user, and the alarm time of the automatically generated theme alarm clock may not meet the needs of the user at this time.
Preferably, in some optional embodiments, fig. 4 is a flowchart of step S10 in the embodiment of the present invention, please refer to fig. 4, where the obtaining the target time and the target location from the first information includes:
s11: and acquiring preset keywords.
The preset keywords are words which are preset by the user and need to be specially noted, and optionally, the preset keywords include: flight, train, car, and custom keywords. When one message contains the preset keyword, the fact that the user needs to set an alarm clock for the message is described.
S12: and acquiring the target event matched with the preset keyword from the first information.
The target event corresponding to the preset keyword is a target event, for example, the preset keyword is a train, and through searching, the content 'a certain train which starts from the Beijing south station at night at 7:00 and starts to go to Shanghai' is found, so that the target event matched with the keyword is that the user needs to go to the Beijing south station at night before 7: 00.
S13: and acquiring the target time and the target place corresponding to the target event.
In most cases, the content matched with the preset keyword has only one time and one place, and the time may be set as the target time and the target place, but in some cases, the content matched with the preset keyword may include a plurality of times and places, for example, "7:00 pm starts from beijing south station and starts a certain train to shanghai hong bridge" in the above example, where two places, "beijing south station" and "shanghai hong bridge" appear, and the start place and the destination may be obtained through semantic analysis, and the start place is set as the target place. Of course, other methods may be used to set the target time and the target location.
In this embodiment, through searching for the preset keyword in the first information, the quick matching of the recruitment is realized, the time for performing semantic analysis on the first information is reduced, the step of setting the theme alarm clock is further simplified, the speed of setting the theme alarm clock is improved, and the time consumption is reduced, so that the user experience is improved.
Preferably, the first information includes short message information, voice information, mail information and software prompt information, the software prompt information may be prompt information sent by software for purchasing train tickets, airline tickets, and the like, the prompt information generally includes information of train tickets or airline tickets purchased by the user, and the first information may be other types of information, which is not limited in the present invention.
Preferably, when the first message is a short message, acquiring the target time and the target location from the first message includes:
and acquiring the short message category selected by the user, and judging whether the first information is the short message category selected by the user.
When the first information is a short message category selected by a user, acquiring a target time and a target place from the first information, wherein the short message category comprises: service short messages and personal short messages.
That is to say, the user can preset and discern the SMS of those categories thereby setting for the alarm clock, does not set for the SMS of those categories the alarm clock to avoid all discerning each SMS, thereby further quickening the speed of setting for the alarm clock, avoid unnecessary work.
Example 2:
a preferred embodiment of the present invention is given below.
And acquiring the authority for reading the short message content, the mobile phone positioning authority, the network authority and the electronic map opening authority.
And identifying preset keywords in the short message, wherein the preset keywords comprise flights, trains and the like, so that the matching is rapidly searched and searched, and meanwhile, the user can define the preset keywords and modify the preset keywords.
The method comprises the steps of detecting the setting of a user, and judging the type of the short message required to be identified by the user, wherein the type of the short message can be a service type short message, a personal short message or all types of short messages.
When the user mobile phone receives the short message, the content of the short message is identified, and a theme alarm clock matched with the preset keywords is set.
The setting of the theme alarm clock according to the short message content specifically comprises the steps of obtaining mobile phone positioning information and calculating the alarm starting time of the theme alarm clock and the alarm starting date corresponding to the alarm starting time. For example, now, it is 3/15/2018, it is recognized that there is flight information that a mobile phone user flies from a to B in 10/4/2018, the takeoff time of the airplane is 11:30 am, a flight theme alarm clock is generated at this time, the date is 10/4/2018, meanwhile, positioning information is obtained immediately, the location of the mobile phone is calculated according to the positioning information, the location of the mobile phone is input into an electronic map, such as a hectogram map, a high-grade map or other maps, the traffic time to be spent on the road is obtained according to the calculation result of the electronic map, the traffic time spent on the road is subtracted from the takeoff time of the airplane, the waiting time is subtracted from the standby time of the user, and the alarm time of the theme alarm clock is obtained, if the alarm time is advanced to the day before the takeoff of the flight, for example: if the takeoff time is 1 point in 1 morning of No. 2 month, the alarm clock may have the alarm time of 9 later than No. 1 month, namely the date corresponding to the alarm time is changed, and the alarm date is correspondingly modified.
And after the theme alarm clock is generated, judging whether the user requires confirmation, if the user requires confirmation, handing the set theme alarm clock to the user for confirmation or modification, and storing the confirmed and modified theme alarm clock into an alarm clock list. And if the user does not require confirmation, directly saving the theme alarm clock to an alarm clock list.
By the method, the identification and the generation of the theme alarm clock are completed, the time of a user is saved, and the user experience is improved.
Example 3:
the present invention further provides a device for generating a theme alarm clock, fig. 5 is a block diagram of a device for generating an alarm clock according to an embodiment of the present invention, please refer to fig. 5, in the present invention, the device for generating a theme alarm clock includes: an information processing module 10, a positioning module 20 and an alarm clock management module 30.
The information processing module 10 is configured to obtain the target time and the target location from the first information.
Specifically, the first information is notification information that informs the user that the user needs to reach the target location at or before the target time, and may be in various forms, including but not limited to text information, voice information, video information, and the like, and the method for the information processing module 10 to obtain the target time and the target location from the first information may be related methods such as semantic analysis, voice analysis, image analysis, and the like, which is not limited in this disclosure. When the first information may include a plurality of time points and a plurality of places, the time points and the places may be displayed to the user, and the user may select those time and places as the target time and the target place concerned by the user, or may set a default option, for example, set the earliest time point among the alternative time points as the target time point. The first information may be information including a target time and a target location, such as short message information, a notification mail, and a reminder information transmitted from a website, a mobile phone application, or the like, or information including a target time and a target location transmitted from another person to the user.
The positioning module 20 is used for acquiring a departure place of the user.
Specifically, the positioning module 20 may be any existing positioning device, for example, an infrared positioning device, a WIFI positioning device, or a bluetooth positioning device, so as to determine a location where the user is located, and then set the location as a departure location of the user, or of course, a default departure location or a departure location list may be set by the user, and then the positioning module 20 adopts the default departure location as the departure location of the user, or displays the departure location list to the user, which is selected by the user, or the user may set the departure location by himself.
The alarm clock management module 30 is used to set a theme alarm clock according to the departure location, the target time and the target location.
Specifically, after the information processing module 10 and the positioning module 20 determine the departure location, the target time and the target location of the user, the alarm clock management module 30 obtains the information, and then the alarm clock management module 30 sets the corresponding theme alarm clock, the departure time of the theme alarm clock should not be later than the target time, and when the theme alarm clock is set, because the departure location and the target location of the user are taken into consideration, the alarm clock management module 30 can estimate the distance from the departure location to the target location, and determine the suitable departure time of the theme alarm clock.
In the invention, the target time and the target place in the first information are automatically acquired through the information processing module 10, the starting place of the user is acquired through the positioning module 20, and then the alarm clock management module 30 helps the user to set the theme alarm clock, so that the step of setting the alarm clock by the user is simplified, the target time and the target place are automatically searched from the first information without manually opening prompt information such as short messages and mails, and the starting place where the user is located is automatically acquired, thereby reducing the time spent by the user when the user sets the alarm clock and improving the user experience. Meanwhile, the device provided by the invention can also prevent the alarm clock from being set due to neglect of the user, the first information can be automatically analyzed when the user receives the first information, the user is prevented from forgetting to set the alarm clock for the important event, and the target place and the departure place of the user are fully considered when the alarm clock is set, so that the influence of the distance between the departure place and the target place on the alarm starting time can be considered when the alarm starting time of the alarm clock is set, and compared with other devices which do not consider the distance between the departure place and the target place, the device can ensure that the user arrives at the target place on time.
Preferably, in some optional embodiments, the positioning module 10 is specifically configured to:
acquiring the current position of the user according to the positioning information;
and setting the current position as the starting place of the user.
Specifically, the positioning information may be information related to the current position of the user, which is detected and fed back to the user by the positioning module 10, for example, the positioning module 10 may determine the current position of the user by using a GPS, and the positioning information may also be a default current position preset by the user, and then set the current position as a departure place of the user.
Preferably, in some optional embodiments, the alarm clock management module 30 is specifically configured to:
inputting a starting place and a target place into an electronic map;
acquiring the traffic time required from a starting point to a target point according to the electronic map;
acquiring preparation time and waiting time;
generating a theme alarm clock according to the traffic time, the preparation time and the waiting time;
the subject alarm clock is saved.
In the present invention, the alarm clock management module 30 can start the electronic map carried by the mobile phone, such as a hectogram map and a grand map, input the departure point and the target point into the electronic map, and obtain the transit time from the departure point to the target point by using the function of the electronic map, because the transit times corresponding to different transportation means are different, the transportation means that the user has prior priority to use can be recorded, the transportation means can be set as the default transportation means, or the corresponding transportation means can be selected according to different target points, for example, when the target point is a public transportation junction station such as an airport, a train station, a bus station, etc., the subway with the highest reliability is set as the default transportation means, when the target point is a business building, an office point, etc. that may be related to a business meeting, the user generally wears the normal installation during the business meeting, therefore, the self-driving or the taxi is selected as the default vehicle by default, and when the target location is other target locations related to dinner gathering, such as restaurants, hotels and the like, the time length corresponding to each vehicle can be calculated first, and the vehicle with the shortest traffic time length is selected by default, or the default vehicle can be preset by the user. After the traffic time is obtained from the electronic map, the corresponding preparation time and waiting time are obtained, wherein the preparation time is set by a user and used for preparing before departure, such as time for picking up luggage or replacing clothes, and the waiting time is time for the user to arrive at a target place in advance, for example, the user often needs to arrive in advance before the airplane takes off to board before arriving at an airport, so that the interval between the alarm starting time and the target time of the generated theme alarm clock is greater than or equal to the sum of the traffic time, the preparation time and the waiting time, and the departure time of the user is ensured to be early enough. Optionally, the preparation time is 0.5 hour to 1 hour, the waiting time is 0.5 hour to 2 hours, and a default preparation time or waiting time may be set by the user.
Preferably, in some optional embodiments, the alarm clock management module 30 is further configured to:
judging whether the user requires to confirm the theme alarm clock; and when the user requires to confirm the theme alarm clock, the theme alarm clock is displayed to the user, and the user confirms or modifies the theme alarm clock. The alarm clock management module 30 stores the theme alarm clock, including storing the theme alarm clock confirmed or modified by the user in an alarm clock list;
and when the user does not require confirming the theme alarm clock, saving the theme alarm clock to an alarm clock list.
Specifically, for the automatically generated theme alarm clock, the alarm time of the theme alarm clock may be different from the alarm time actually required by the user, for example, the user purchases a train ticket in a company, but the starting place is the home of the user, and the alarm time of the automatically generated theme alarm clock may not meet the needs of the user at this time.
Preferably, in some alternative embodiments, the information processing module 10 is specifically adapted to
Acquiring a preset keyword; and acquiring a target event matched with the preset keyword from the first information, and acquiring target time and a target place corresponding to the target event.
The preset keywords are words which are preset by the user and need to be specially noted, and optionally, the preset keywords include: flight, train, car, and custom keywords. When one message contains the preset keyword, the fact that the user needs to set an alarm clock for the message is described.
The target event corresponding to the preset keyword is a target event, for example, the preset keyword is a train, and through searching, the content 'a certain train which starts from the Beijing south station at night at 7:00 and starts to go to Shanghai' is found, so that the target event matched with the keyword is that the user needs to go to the Beijing south station at night before 7: 00.
In most cases, the content matched with the preset keyword has only one time and one place, and the time may be set as the target time and the target place, but in some cases, the content matched with the preset keyword may include a plurality of times and places, for example, "7:00 pm starts from beijing south station and starts a certain train to shanghai hong bridge" in the above example, where two places, "beijing south station" and "shanghai hong bridge" appear, and the starting place and the destination are obtained through semantic analysis, and the starting place may be set as the target place. Of course, other methods may be used to set the target time and the target location.
In this embodiment, through searching for the preset keyword in the first information, the quick matching of the recruitment is realized, the time for performing semantic analysis on the first information is reduced, the step of setting the theme alarm clock is further simplified, the speed of setting the theme alarm clock is improved, and the time consumption is reduced, so that the user experience is improved.
Preferably, the first information includes short message information, voice information, mail information and software prompt information, the software prompt information may be prompt information sent by software for purchasing train tickets, airline tickets, and the like, the prompt information generally includes information of train tickets or airline tickets purchased by the user, and the first information may be other types of information, which is not limited in the present invention.
Preferably, when the first message is a short message, the information processing module 10 is further configured to:
acquiring a short message category selected by a user;
and judging whether the first information is the short message type selected by the user.
When the first information is a short message category selected by a user, acquiring a target time and a target place from the first information, wherein the short message category comprises: service short messages and personal short messages.
That is to say, the user can preset to identify the short messages of those categories so as to set the alarm clock, and does not set the alarm clock for the short messages of those categories, so that the information processing module 10 is prevented from identifying each short message, the speed of setting the alarm clock is further accelerated, and unnecessary work is avoided.
The invention also proposes a storage medium on which a program is stored which, when being executed by a processor, carries out the steps of any of the methods proposed by the invention.
The invention also provides a mobile phone, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of any method provided by the invention.
The invention also provides a mobile phone which comprises any one of the devices provided by the invention.
In summary, the invention provides a method, an apparatus, a storage medium and a mobile phone for generating a theme alarm clock, wherein the first information is identified to obtain a target time, a target location and a departure location, and the theme alarm clock is set correspondingly, so that the step of setting the alarm clock by a user is simplified, the user is prevented from forgetting to set the alarm clock, and better user experience is achieved.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (15)

1. A method of generating a subject alarm clock, comprising:
acquiring target time and target location from the first information;
acquiring a starting place of a user;
setting a theme alarm clock according to the departure place, the target time and the target place, comprising: inputting the departure place and the target place into an electronic map;
acquiring the traffic time required from the departure place to the target place according to the electronic map, wherein the method comprises the following steps: selecting corresponding vehicles according to different target places;
acquiring preparation time and waiting time;
generating the theme alarm clock according to the traffic time, the preparation time and the waiting time;
saving the theme alarm clock;
wherein the interval between the alarm time of the subject alarm clock and the target time is greater than or equal to the sum of the traffic time, the preparation time and the waiting time.
2. The method for generating a subject alarm clock of claim 1, wherein obtaining a departure location of a user comprises:
acquiring the current position of the user according to the positioning information;
and setting the current position as the starting place of the user.
3. The method of generating a themed alarm clock of claim 1,
before the theme alarm clock is saved, the method further comprises the following steps: judging whether a user requires to confirm a theme alarm clock, when the user requires to confirm the theme alarm clock, displaying the theme alarm clock to the user, and confirming or modifying the theme alarm clock by the user;
saving the theme alarm clock comprises saving the theme alarm clock confirmed or modified by the user to an alarm clock list.
4. The method of generating a subject alarm clock of any of claims 1-3, wherein obtaining the target time and the target location from the first information comprises:
acquiring a preset keyword;
acquiring a target event matched with a preset keyword from the first information;
and acquiring the target time and the target place corresponding to the target event.
5. The method of generating a themed alarm clock of any of claims 1-3 wherein the first information includes short message information, voice information, mail information and software prompt information.
6. The method of claim 5, wherein when the first message is a short message, the method further comprises, before obtaining the target time and the target location from the first message:
acquiring a short message category selected by a user;
judging whether the first information is a short message type selected by a user;
wherein, the short message category comprises: service short messages and personal short messages.
7. An apparatus for generating a themed alarm clock, comprising:
the information processing module is used for acquiring the target time and the target place from the first information;
the positioning module is used for acquiring a starting place of a user;
the alarm clock management module is used for setting a theme alarm clock according to the departure place, the target time and the target place, and comprises: inputting the departure place and the target place into an electronic map;
acquiring the traffic time required from the departure place to the target place according to the electronic map, wherein the method comprises the following steps: selecting corresponding vehicles according to different target places;
acquiring preparation time and waiting time;
generating the theme alarm clock according to the traffic time, the preparation time and the waiting time;
saving the theme alarm clock;
wherein the interval between the alarm time of the subject alarm clock and the target time is greater than or equal to the sum of the traffic time, the preparation time and the waiting time.
8. The apparatus for generating a theme alarm clock of claim 7, wherein the positioning module is specifically configured to:
acquiring the current position of the user according to the positioning information;
and setting the current position as the starting place of the user.
9. The apparatus for generating a subject alarm clock of claim 7, wherein the alarm clock management module is further configured to: judging whether the user requires to confirm the theme alarm clock; when the user requires to confirm the theme alarm clock, the theme alarm clock is displayed to the user, and the theme alarm clock is confirmed or modified by the user;
the alarm clock management module stores the theme alarm clock and stores the theme alarm clock confirmed or modified by the user into an alarm clock list.
10. The apparatus for generating a theme alarm clock according to any one of claims 7 to 9, wherein the information processing module is specifically configured to:
acquiring a preset keyword;
acquiring a target event matched with a preset keyword from the first information;
and acquiring the target time and the target place corresponding to the target event.
11. The apparatus for generating a themed alarm clock of any of claims 7 to 9, wherein the first information includes short message information, voice information, mail information and software prompt information.
12. The apparatus for generating a theme alarm clock according to claim 11, wherein when the first message is a short message, the information processing module is further configured to:
acquiring a short message category selected by a user;
judging whether the first information is a short message type selected by a user;
wherein, the short message category comprises: service short messages and personal short messages.
13. A storage medium having stored thereon a program which, when executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
14. A handset comprising a processor, a memory and a program stored on the memory and executable on the processor, the processor implementing the steps of the method of any one of claims 1 to 6 when the program is executed by the processor.
15. A handset, characterised in that it comprises an apparatus according to any one of claims 7-12.
CN201810411624.0A 2018-05-02 2018-05-02 Method, device, storage medium and mobile phone for generating theme alarm clock Active CN108696636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810411624.0A CN108696636B (en) 2018-05-02 2018-05-02 Method, device, storage medium and mobile phone for generating theme alarm clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810411624.0A CN108696636B (en) 2018-05-02 2018-05-02 Method, device, storage medium and mobile phone for generating theme alarm clock

Publications (2)

Publication Number Publication Date
CN108696636A CN108696636A (en) 2018-10-23
CN108696636B true CN108696636B (en) 2020-02-11

Family

ID=63845972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810411624.0A Active CN108696636B (en) 2018-05-02 2018-05-02 Method, device, storage medium and mobile phone for generating theme alarm clock

Country Status (1)

Country Link
CN (1) CN108696636B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660674B (en) * 2019-01-30 2021-03-16 维沃移动通信有限公司 Method for setting alarm clock and electronic equipment
JP7358767B2 (en) * 2019-04-15 2023-10-11 日本電気株式会社 Information processing device, notification method and program
CN112468651B (en) * 2019-08-19 2021-10-12 Tcl科技集团股份有限公司 Alarm clock setting method and device and intelligent terminal
CN110864699A (en) * 2019-10-08 2020-03-06 上海博泰悦臻网络技术服务有限公司 Destination recommendation method and device and computer storage medium
CN116567138A (en) * 2022-01-27 2023-08-08 荣耀终端有限公司 Alarm clock setting method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578405B (en) * 2014-11-10 2020-07-31 南京中兴软件有限责任公司 Alarm clock response method and device
CN106850933A (en) * 2015-12-03 2017-06-13 陈包容 A kind of method and device of intelligent reminding of dating

Also Published As

Publication number Publication date
CN108696636A (en) 2018-10-23

Similar Documents

Publication Publication Date Title
CN108696636B (en) Method, device, storage medium and mobile phone for generating theme alarm clock
US11909906B2 (en) Method and apparatus for pushing notification, mobile terminal, and graphical user interface
CN105187624B (en) Method for generating travel items and travel item generating device
US8355936B2 (en) Managing a travel itinerary
US10204317B2 (en) Post-booking travel assistance and organization
US20170238145A1 (en) System and method for providing intelligent location information
US20130066546A1 (en) Reserving a time block in a calendar application to account for a travel time between geographic locations of appointments
CN105472580A (en) Information processing method, information processing device, terminal and server
JP2014029580A (en) Taxi allocation application system and allocation program
US20130151149A1 (en) Vehicle navigation system synchronization with user calendar
CN106327142A (en) Information display method and apparatus
US11734617B2 (en) Online seamen travel ticket booking
CN104376451A (en) Reminding method for event of which user is to be reminded and terminal
CN112241867A (en) Service card display method and device and storage medium
CN112468653A (en) Schedule reminding method and wearable electronic equipment
CN107145557A (en) The method and device that trip is reminded
US20030233244A1 (en) System and method for network tracking of passenger travel progress
CN106156207A (en) Reminder time amending method and device
KR101626235B1 (en) Traveler hurry status monitor
US11514787B2 (en) Information processing device, information processing method, and recording medium
CN107861806A (en) A kind of method, apparatus, computer installation and the computer-readable recording medium of application switching
KR101766647B1 (en) Reservation system of public transportation using scheduler
KR101745606B1 (en) Method, system and non-transitory computer-readable recording medium for providing information on expense management
US20230281521A1 (en) Information processing apparatus, method, and recording medium
CN111047061A (en) Scheduling method, scheduling system, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant