CN106791174B - An alarm clock adjustment method, device and mobile terminal - Google Patents

An alarm clock adjustment method, device and mobile terminal Download PDF

Info

Publication number
CN106791174B
CN106791174B CN201710031595.0A CN201710031595A CN106791174B CN 106791174 B CN106791174 B CN 106791174B CN 201710031595 A CN201710031595 A CN 201710031595A CN 106791174 B CN106791174 B CN 106791174B
Authority
CN
China
Prior art keywords
information
alarm clock
time
mobile terminal
journey
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.)
Expired - Fee Related
Application number
CN201710031595.0A
Other languages
Chinese (zh)
Other versions
CN106791174A (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.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Anyun Century 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 Beijing Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN201710031595.0A priority Critical patent/CN106791174B/en
Publication of CN106791174A publication Critical patent/CN106791174A/en
Application granted granted Critical
Publication of CN106791174B publication Critical patent/CN106791174B/en
Expired - Fee Related 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)

Abstract

The embodiment of the invention provides an alarm clock adjusting method, an alarm clock adjusting device and a mobile terminal, wherein the method comprises the following steps: acquiring journey information from data which is specified by a mobile terminal and has a journey planning function; and adjusting an alarm clock set in an alarm clock application in the mobile terminal according to the travel information. The problem of forgetting to cancel the alarm clock is solved, and the beneficial effects of automatically adjusting the alarm clock and improving the use convenience of the alarm clock are achieved.

Description

一种闹钟调整方法、装置及移动终端An alarm clock adjustment method, device and mobile terminal

技术领域technical field

本发明涉及移动终端技术领域,特别是涉及一种闹钟调整方法、装置及移动终端。The present invention relates to the technical field of mobile terminals, and in particular, to an alarm clock adjustment method, device and mobile terminal.

背景技术Background technique

随着终端设备技术的迅速发展,用户可以很方便的使用终端设备完成日常中从工作、消费到娱乐的过程中,都有对应各终端适用的系统而开发的应用,其中,闹钟应用更是每个终端设备必不可少的应用之一,也是用户使用最频繁的应用之一。With the rapid development of terminal equipment technology, users can easily use terminal equipment to complete the process from work, consumption to entertainment in daily life, and there are applications developed corresponding to the systems applicable to each terminal. Among them, the alarm clock application is every It is one of the indispensable applications for a terminal device and one of the most frequently used applications by users.

在实际应用中,当用户在使用闹钟应用的时候,都要提前设置好时间,用户也可以为了方便,设置一个时间为每天响铃模式。In practical applications, when the user uses the alarm clock application, the time must be set in advance, and the user can also set a time as the daily ringing mode for convenience.

但是,如果设置一闹钟的提示时间为每天响铃模式,而在这个时间因为一些特殊的日程需要取消闹钟提醒,如此往往会给用户带来不便。However, if the reminder time of an alarm clock is set as the daily ringing mode, and the alarm clock reminder needs to be canceled at this time due to some special schedules, this often brings inconvenience to the user.

发明内容SUMMARY OF THE INVENTION

鉴于上述问题,提出了本发明以便提供解决上述问题或者至少部分地解决上述问题的一种闹钟调整方法、装置及移动终端。In view of the above problems, the present invention is proposed to provide an alarm clock adjustment method, device and mobile terminal that solve the above problems or at least partially solve the above problems.

根据本发明的第一方面,提供了一种闹钟调整方法,包括:According to a first aspect of the present invention, a method for adjusting an alarm clock is provided, comprising:

从移动终端指定的具有进行行程计划功能的数据中获取行程信息;根据所述行程信息,对所述移动终端中的闹钟应用中设置的闹钟进行调整。具有可以自动调整闹钟、提高闹钟的使用便捷性的有益效果。The itinerary information is obtained from the data designated by the mobile terminal with the function of planning an itinerary; according to the itinerary information, the alarm clock set in the alarm clock application in the mobile terminal is adjusted. The invention has the beneficial effects that the alarm clock can be automatically adjusted and the convenience of use of the alarm clock can be improved.

结合第一方面,本发明在第一方面的第一种实施方式中,上述从移动终端指定的具有进行行程计划功能的数据中获取行程信息的步骤,包括:从移动终端接收到的短信中获取行程信息。具有可以从短信中获取行程信息的有益效果。In combination with the first aspect, in the first embodiment of the present invention, in the first embodiment of the present invention, the above-mentioned step of acquiring itinerary information from the data designated by the mobile terminal with the function of performing itinerary planning includes: acquiring from the short message received by the mobile terminal itinerary information. It has the beneficial effect that itinerary information can be obtained from the short message.

结合第一方面的第一种实施方式,本发明在第一方面的第二种实施方式中,上述从移动终端接收到的短信中获取行程信息的步骤,包括:在监控移动终端收到短信后,判断所述短信的发送方是否属于一行程类型应用平台;如果是,则获取对应所述行程类型应用平台的预设模板;按照所述预设模板从所述短信中提取行程信息。具有可以通过预设模板提取行程信息的有益效果。In combination with the first embodiment of the first aspect, in the second embodiment of the first aspect of the present invention, the above-mentioned step of obtaining the itinerary information from the short message received by the mobile terminal includes: after the monitoring mobile terminal receives the short message , determine whether the sender of the short message belongs to a trip type application platform; if so, obtain a preset template corresponding to the trip type application platform; extract trip information from the short message according to the preset template. It has the beneficial effect that itinerary information can be extracted through a preset template.

结合第一方面的第二种实施方式,本发明在第一方面的第三种实施方式中,在上述获取对应所述行程类型应用平台的预设模板的步骤之前,还包括:针对各种行程类型应用平台,根据相应行程类型应用平台对行程短信的格式,构建相应的预设模板。具有可以自动构建预设模板的有益效果。With reference to the second embodiment of the first aspect, in the third embodiment of the first aspect of the present invention, before the above step of acquiring the preset template corresponding to the application platform of the itinerary type, the method further includes: for various itineraries Type application platform, according to the format of the itinerary type application platform for the itinerary SMS, to construct the corresponding preset template. Has the benefit of automatically building preset templates.

结合第一方面,本发明在第一方面的第四种实施方式中,上述从移动终端指定的具有进行行程计划功能的数据中获取行程信息的步骤,包括:调用行程应用的接口,获取行程信息。具有可以通过行程应用获取行程信息的有益效果。With reference to the first aspect, in the fourth implementation manner of the first aspect of the present invention, the above-mentioned step of acquiring itinerary information from the data designated by the mobile terminal with the function of performing itinerary planning includes: invoking the interface of the itinerary application to acquire the itinerary information . It has the beneficial effect that itinerary information can be obtained through the itinerary application.

结合第一方面的第四种实施方式,本发明在第一方面的第五种实施方式中,上述调用行程应用的接口,获取行程信息的步骤,包括:调用行程应用的接口,获取行程描述信息;对所述行程描述信息进行语义分析,获取行程信息。具有可以通过语义分析获取行程信息的有益效果。With reference to the fourth implementation manner of the first aspect, in the fifth implementation manner of the first aspect of the present invention, the above-mentioned step of invoking the interface of the itinerary application and acquiring the itinerary information includes: invoking the interface of the itinerary application and acquiring the itinerary description information ; Perform semantic analysis on the itinerary description information to obtain the itinerary information. It has the beneficial effect that itinerary information can be obtained through semantic analysis.

结合第一方面,本发明在第一方面的第六种实施方式中,上述根据所述行程信息,对所述移动终端中的闹钟应用中设置的闹钟进行调整的步骤,包括:获取所述行程信息的类型信息以及时间信息;根据所述类型信息以及时间信息,对所述闹钟应用中设置的闹钟执行相应的调整操作。具有可以根据行程的类型和时间灵活调整闹钟提示时间的有益效果。With reference to the first aspect, in the sixth implementation manner of the first aspect of the present invention, the above-mentioned step of adjusting the alarm clock set in the alarm clock application in the mobile terminal according to the itinerary information includes: obtaining the itinerary Type information and time information of the information; according to the type information and time information, perform a corresponding adjustment operation on the alarm clock set in the alarm clock application. It has the beneficial effect that the alarm clock prompt time can be flexibly adjusted according to the type and time of the trip.

结合第一方面的第六种实施方式,本发明在第一方面的第七种实施方式中,上述根据所述类型信息以及时间信息,对所述闹钟应用中设置的闹钟执行相应的调整操作的步骤,包括:当所述行程信息的类型信息为航班类型、会议类型、度假类型其中至少一个时,判断所述闹钟应用中设置的闹钟是否有在所述时间信息对应的时间周期内的闹钟;如果有,则在所述移动终端的实时时刻进入所述时间周期时,关闭所述在所述时间信息对应的时间周期内的闹钟。具有可以在不合适被打扰的时间内关闭闹钟的有益效果。With reference to the sixth embodiment of the first aspect, in the seventh embodiment of the first aspect of the present invention, the above-mentioned method of performing a corresponding adjustment operation on the alarm clock set in the alarm clock application according to the type information and time information. The step includes: when the type information of the itinerary information is at least one of flight type, conference type and vacation type, judging whether the alarm clock set in the alarm clock application has an alarm clock within the time period corresponding to the time information; If so, when the real-time moment of the mobile terminal enters the time period, the alarm clock in the time period corresponding to the time information is turned off. It has the beneficial effect that the alarm clock can be turned off at inappropriate time to be disturbed.

结合第一方面的第七种实施方式,本发明在第一方面的第八种实施方式中,在上述移动终端的实时时刻进入所述时间周期时,关闭所述在所述时间信息对应的时间周期内的闹钟的步骤之后,还包括:在所述移动终端的实时时间超过所述时间信息的结束时刻时,对所述闹钟执行打开操作。具有可以在不合适被打扰的时间结束时自动打开闹钟的有益效果。With reference to the seventh embodiment of the first aspect, in the eighth embodiment of the first aspect of the present invention, when the real-time time of the mobile terminal enters the time period, the time corresponding to the time information is turned off After the step of the alarm clock in the cycle, the method further includes: when the real-time time of the mobile terminal exceeds the end time of the time information, performing an opening operation on the alarm clock. It has the beneficial effect that the alarm clock can be automatically turned on at the end of an inappropriate time to be disturbed.

结合第一方面的第六种实施方式,本发明在第一方面的第九种实施方式中,上述根据所述类型信息以及时间信息,对所述闹钟应用中设置的闹钟执行相应的调整操作的步骤,包括:当所述行程信息为航班信息时,获取所述航班信息的起飞时间以及起飞地点;获取所述移动终端当前的位置信息;计算当前的位置信息到达所述起飞地点的需要的第一时间;在所述移动终端的实时时间进入距离所述起飞时间的时间段阈值内后,根据所述第一时间和预设的登机耗费时间,在闹钟应用中设置闹钟进行提醒。具有可以根据航班信息和当前位置自动设置闹钟的有益效果。With reference to the sixth embodiment of the first aspect, in the ninth embodiment of the first aspect of the present invention, the above-mentioned method of performing a corresponding adjustment operation on the alarm clock set in the alarm clock application according to the type information and time information. The steps include: when the itinerary information is flight information, obtaining the departure time and the departure place of the flight information; obtaining the current position information of the mobile terminal; a time; after the real-time time of the mobile terminal enters the time period threshold from the take-off time, according to the first time and the preset boarding time, an alarm clock is set in the alarm clock application to remind. It has the beneficial effect that an alarm clock can be automatically set according to flight information and current location.

结合第一方面的第六种实施方式,本发明在第一方面的第十种实施方式中,上述根据所述类型信息以及时间信息,对所述闹钟应用中设置的闹钟执行相应的调整操作的步骤,包括:当所述行程信息为会议信息时,获取所述会议信息的会议开始时间以及参会地点;获取所述移动终端当前的位置信息;计算当前的位置信息到达所述参会地点的需要的第一时间;在所述移动终端的实时时间进入距离会议开始时间的时间段阈值内后,根据所述第一时间和预设误差时间,在闹钟应用中设置闹钟进行提醒。具有可以根据会议信息和当前位置自动设置闹钟的有益效果。With reference to the sixth embodiment of the first aspect, in the tenth embodiment of the first aspect of the present invention, the above-mentioned method of performing a corresponding adjustment operation on the alarm clock set in the alarm clock application according to the type information and time information. The steps include: when the itinerary information is meeting information, obtaining the meeting start time and the meeting place of the meeting information; obtaining the current location information of the mobile terminal; calculating the time when the current location information reaches the meeting place. The required first time; after the real-time time of the mobile terminal enters the time period threshold from the meeting start time, according to the first time and the preset error time, an alarm clock is set in the alarm clock application to remind. It has the beneficial effect that the alarm clock can be automatically set according to the meeting information and the current position.

根据本发明的第二方面,提供了一种闹钟调整装置,包括:行程信息获取模块,用于从移动终端指定的具有进行行程计划功能的数据中获取行程信息;闹钟调整模块,用于根据所述行程信息,对所述移动终端中的闹钟应用中设置的闹钟进行调整。具有可以自动调整闹钟、提高闹钟的使用便捷性的有益效果。According to a second aspect of the present invention, there is provided an alarm clock adjustment device, comprising: an itinerary information acquisition module for acquiring itinerary information from data designated by a mobile terminal with a function of planning an itinerary; an alarm clock adjustment module for The itinerary information is used to adjust the alarm clock set in the alarm clock application in the mobile terminal. The invention has the beneficial effects that the alarm clock can be automatically adjusted and the convenience of use of the alarm clock can be improved.

结合第二方面,本发明在第二方面的第一种实施方式中,上述行程信息获取模块,包括:第一行程信息获取子模块,用于从移动终端接收到的短信中获取行程信息。具有可以从短信中获取行程信息的有益效果。With reference to the second aspect, in the first embodiment of the second aspect of the present invention, the above-mentioned itinerary information acquisition module includes: a first itinerary information acquisition sub-module for acquiring the itinerary information from the short message received by the mobile terminal. It has the beneficial effect that itinerary information can be obtained from the short message.

结合第二方面的第一种实施方式,本发明在第二方面的第二种实施方式中,上述第一行程信息获取子模块,包括:发送方判断单元,用于在监控移动终端收到短信后,判断所述短信的发送方是否属于一行程类型应用平台;预设模板获取单元,用于如果是,则获取对应所述行程类型应用平台的预设模板;第一行程信息获取单元,用于按照所述预设模板从所述短信中提取行程信息。具有可以通过预设模板提取行程信息的有益效果。In combination with the first implementation of the second aspect, in the second implementation of the present invention, the above-mentioned first itinerary information acquisition sub-module includes: a sender judgment unit, configured to receive a short message at the monitoring mobile terminal Then, determine whether the sender of the short message belongs to an itinerary type application platform; a preset template acquisition unit is used to acquire a preset template corresponding to the itinerary type application platform if so; the first itinerary information acquisition unit is used to extract itinerary information from the short message according to the preset template. It has the beneficial effect that itinerary information can be extracted through a preset template.

结合第二方面的第二种实施方式,本发明在第二方面的第三种实施方式中,在上述预设模板获取单元之前,还包括:预设模板构建单元,用于针对各种行程类型应用平台,根据相应行程类型应用平台对行程短信的格式,构建相应的预设模板。具有可以自动构建预设模板的有益效果。With reference to the second embodiment of the second aspect, in the third embodiment of the second aspect, before the above-mentioned preset template obtaining unit, the present invention further includes: a preset template constructing unit, which is used for various itinerary types. The application platform builds a corresponding preset template according to the format of the itinerary SMS by the application platform for the corresponding itinerary type. Has the benefit of automatically building preset templates.

结合第二方面,本发明在第二方面的第四种实施方式中,上述行程信息获取模块,包括:第二行程信息获取子模块,用于调用行程应用的接口,获取行程信息。具有可以通过行程应用获取行程信息的有益效果。With reference to the second aspect, in a fourth implementation manner of the second aspect of the present invention, the above itinerary information acquisition module includes: a second itinerary information acquisition sub-module for invoking an interface of the itinerary application to acquire the itinerary information. It has the beneficial effect that itinerary information can be obtained through the itinerary application.

结合第二方面的第四种实施方式,本发明在第二方面的第五种实施方式中,上述第二行程信息获取子模块,包括:行程描述信息获取单元,用于调用行程应用的接口,获取行程描述信息;第二行程信息获取单元,用于对所述行程描述信息进行语义分析,获取行程信息。具有可以通过语义分析获取行程信息的有益效果。With reference to the fourth implementation manner of the second aspect, in the fifth implementation manner of the second aspect of the present invention, the above-mentioned second itinerary information acquisition sub-module includes: an itinerary description information acquisition unit, an interface for invoking the itinerary application, Acquire travel description information; and a second travel information acquisition unit, configured to perform semantic analysis on the travel description information to obtain travel information. It has the beneficial effect that itinerary information can be obtained through semantic analysis.

结合第二方面,本发明在第二方面的第六种实施方式中,上述闹钟调整模块,包括:相关信息获取子模块,用于获取所述行程信息的类型信息以及时间信息;闹钟调整子模块,用于根据所述类型信息以及时间信息,对所述闹钟应用中设置的闹钟执行相应的调整操作。具有可以根据行程的类型和时间灵活调整闹钟提示时间的有益效果。In combination with the second aspect, in a sixth embodiment of the present invention, the above-mentioned alarm clock adjustment module includes: a relevant information acquisition sub-module for acquiring the type information and time information of the itinerary information; an alarm clock adjustment sub-module , which is used to perform a corresponding adjustment operation on the alarm clock set in the alarm clock application according to the type information and time information. It has the beneficial effect that the alarm clock prompt time can be flexibly adjusted according to the type and time of the trip.

结合第二方面的第六种实施方式,本发明在第二方面的第七种实施方式中,上述闹钟调整子模块,包括:闹钟存在性判断单元,用于当所述行程信息的类型信息为航班类型、会议类型、度假类型其中至少一个时,判断所述闹钟应用中设置的闹钟是否有在所述时间信息对应的时间周期内的闹钟;闹钟关闭单元,用于如果有,则在所述移动终端的实时时刻进入所述时间周期时,关闭所述在所述时间信息对应的时间周期内的闹钟。具有可以在不合适被打扰的时间内关闭闹钟的有益效果。With reference to the sixth embodiment of the second aspect, in the seventh embodiment of the second aspect of the present invention, the above-mentioned alarm clock adjustment sub-module includes: an alarm clock existence judgment unit, configured to be used when the type information of the itinerary information is When at least one of flight type, conference type and vacation type, determine whether the alarm clock set in the alarm clock application has an alarm clock within the time period corresponding to the time information; When the real-time time of the mobile terminal enters the time period, the alarm clock in the time period corresponding to the time information is turned off. It has the beneficial effect that the alarm clock can be turned off at inappropriate time to be disturbed.

结合第二方面的第七种实施方式,本发明在第二方面的第八种实施方式中,在上述闹钟关闭单元之后,还包括:闹钟打开单元,用于在所述移动终端的实时时间超过所述时间信息的结束时刻时,对所述闹钟执行打开操作。具有可以在不合适被打扰的时间结束时自动打开闹钟的有益效果。With reference to the seventh embodiment of the second aspect, in the eighth embodiment of the second aspect of the present invention, after the above-mentioned alarm clock closing unit, further includes: an alarm clock opening unit, configured to be used when the real-time time of the mobile terminal exceeds At the end time of the time information, an opening operation is performed on the alarm clock. It has the beneficial effect that the alarm clock can be automatically turned on at the end of an inappropriate time to be disturbed.

结合第二方面的第六种实施方式,本发明在第二方面的第九种实施方式中,上述闹钟调整子模块,包括:航班信息获取单元,用于当所述行程信息为航班信息时,获取所述航班信息的起飞时间以及起飞地点;第一位置信息获取单元,用于获取所述移动终端当前的位置信息;第一时间计算单元,用于计算当前的位置信息到达所述起飞地点的需要的第一时间;第一闹钟设置单元,用于在所述移动终端的实时时间进入距离所述起飞时间的时间段阈值内后,根据所述第一时间和预设的登机耗费时间,在闹钟应用中设置闹钟进行提醒。具有可以根据航班信息和当前位置自动设置闹钟的有益效果。With reference to the sixth embodiment of the second aspect, in the ninth embodiment of the second aspect of the present invention, the above-mentioned alarm clock adjustment sub-module includes: a flight information acquisition unit, configured to, when the itinerary information is flight information, Obtain the departure time and the departure location of the flight information; a first location information acquisition unit is used to acquire the current location information of the mobile terminal; a first time calculation unit is used to calculate the time when the current location information arrives at the departure location. the required first time; a first alarm clock setting unit, configured to, after the real-time time of the mobile terminal enters the time period threshold from the take-off time, according to the first time and the preset boarding time, Set an alarm in the Alarm Clock app to remind you. It has the beneficial effect that an alarm clock can be automatically set according to flight information and current location.

结合第二方面的第六种实施方式,本发明在第二方面的第十种实施方式中,上述闹钟调整子模块,包括:会议信息获取单元,用于当所述行程信息为会议信息时,获取所述会议信息的会议开始时间以及参会地点;第二位置信息获取单元,用于获取所述移动终端当前的位置信息;第二时间计算单元,用于计算当前的位置信息到达所述参会地点的需要的第一时间;第二闹钟设置单元,用于在所述移动终端的实时时间进入距离会议开始时间的时间段阈值内后,根据所述第一时间和预设误差时间,在闹钟应用中设置闹钟进行提醒。具有可以根据会议信息和当前位置自动设置闹钟的有益效果。In combination with the sixth embodiment of the second aspect, in the tenth embodiment of the second aspect of the present invention, the above-mentioned alarm clock adjustment sub-module includes: a conference information acquisition unit, configured to, when the itinerary information is conference information, Obtain the meeting start time and the meeting place of the meeting information; a second location information obtaining unit is used to obtain the current location information of the mobile terminal; a second time calculation unit is used to calculate the arrival of the current location information at the The required first time of the meeting place; the second alarm clock setting unit is used for, after the real-time time of the mobile terminal enters the time period threshold from the meeting start time, according to the first time and the preset error time, in Set an alarm in the Alarm Clock app to remind you. It has the beneficial effect that the alarm clock can be automatically set according to the meeting information and the current position.

根据本发明的第三方面,还公开了一种移动终端,包括处理器和存储器,According to a third aspect of the present invention, a mobile terminal is also disclosed, comprising a processor and a memory,

所述存储器用于存储执行上述的闹钟调整方法的程序;The memory is used to store a program for executing the above-mentioned alarm clock adjustment method;

所述处理器被配置为用于执行所述存储器中存储的程序。The processor is configured to execute programs stored in the memory.

根据本发明的第四方面,还公开了一种计算机存储介质,用于储存为上述闹钟调整装置所用的计算机软件指令,其包含用于执行上述方面为闹钟调整装置所设计的程序。According to a fourth aspect of the present invention, a computer storage medium is also disclosed for storing computer software instructions for the above-mentioned alarm clock adjustment device, which includes a program for executing the above-mentioned aspect designed for the alarm clock adjustment device.

本发明的一种闹钟调整方法、装置及移动终端,通过从移动终端指定的具有进行行程计划功能的数据中获取行程信息;根据所述行程信息,对所述移动终端中的闹钟应用中设置的闹钟进行调整。解决了由于忘记取消闹钟的问题,取得了自动调整闹钟、提高闹钟的使用便捷性的有益效果。An alarm clock adjustment method, device and mobile terminal of the present invention obtain itinerary information from data designated by the mobile terminal with the function of planning an itinerary; The alarm clock is adjusted. The problem of forgetting to cancel the alarm clock is solved, and the beneficial effects of automatically adjusting the alarm clock and improving the use convenience of the alarm clock are obtained.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific embodiments of the present invention are given.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:

图1示出了根据本发明的一种闹钟调整方法一种实施例的步骤流程图;FIG. 1 shows a flow chart of steps of an embodiment of an alarm clock adjustment method according to the present invention;

图2示出了根据本发明的一种闹钟调整方法另一种实施例的步骤流程图;Fig. 2 shows a flow chart of steps of another embodiment of an alarm clock adjustment method according to the present invention;

图3示出了根据本发明的一种闹钟调整装置一种实施例的结构框图;3 shows a structural block diagram of an embodiment of an alarm clock adjusting device according to the present invention;

图4示出了根据本发明的一种闹钟调整装置另一种实施例的结构框图;4 shows a structural block diagram of another embodiment of an alarm clock adjusting device according to the present invention;

图5示出了与本发明实施例提供的移动终端相关的手机的部分结构的框图。FIG. 5 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.

参照图1,示出了根据本发明的一种闹钟调整方法一种实施例的步骤流程图,具体可以包括如下步骤:Referring to FIG. 1, there is shown a flowchart of steps of an embodiment of an alarm clock adjustment method according to the present invention, which may specifically include the following steps:

步骤101,从移动终端指定的具有进行行程计划功能的数据中获取行程信息。Step 101: Acquire itinerary information from the data designated by the mobile terminal with the function of performing itinerary planning.

其中,具有进行行程计划功能的数据为系统应用和其他下载应用的用户数据。例如,短信数据、应用的登录数据、交易记录数据等。在本发明实施例中,主要关注具有进行行程计划功能的数据中关于日程的数据。Among them, the data with the function of planning the itinerary is the user data of the system application and other downloaded applications. For example, SMS data, application login data, transaction record data, etc. In the embodiments of the present invention, the main focus is on the data on the schedule among the data with the function of planning the itinerary.

行程信息为用户的日常行程安排。主要包括:事件、开始时间、结束时间、地点信息等。例如,用户在某年某月某日某时开会、坐车或航班等。The itinerary information is the daily schedule of the user. Mainly include: event, start time, end time, location information, etc. For example, the user has a meeting, a car or a flight on a certain day of a certain year.

在实际应用中,当用户在网络上购买机票之后,会接收到关于航班的起飞时间、地点等信息的短消息,从而可以从该短消息中获取形成信息。又例如,当用户在备忘录中设置了会议提示信息,包括:会议开始时间、地点等,从而可以从备忘录中提取该行程信息。In practical applications, after a user purchases a ticket on the Internet, a short message about the flight departure time, location and other information will be received, so that the formation information can be obtained from the short message. For another example, when the user sets meeting prompt information in the memo, including: the meeting start time, location, etc., the itinerary information can be extracted from the memo.

具体地,可以从移动终端所有应用中获取行程信息,还可以从指定应用中获取行程信息。本发明实施例对其不加以限制。Specifically, the itinerary information can be obtained from all applications of the mobile terminal, and the itinerary information can also be obtained from a specified application. This embodiment of the present invention does not limit it.

步骤102,根据所述行程信息,对所述移动终端中的闹钟应用中设置的闹钟进行调整。Step 102: Adjust the alarm clock set in the alarm clock application in the mobile terminal according to the itinerary information.

在实际应用中,用户预先设定的闹钟往往会在不合适的时候响铃,从而影响用户的正常生活、工作。例如,当用户在开会或正在进行非常重要的事情,而不能被打扰时,若闹钟在此时响铃,往往会对用户的工作造成一定影响或损失。又例如,用户设置了一周一至周五早上七点起床上班的闹钟,若在该时间段内,由于节日或其他原因,不需要上班,那么闹钟的提示铃声会打扰用户的正常睡眠。In practical applications, the alarm clock preset by the user often rings at an inappropriate time, thereby affecting the normal life and work of the user. For example, when the user is in a meeting or is doing something very important and cannot be disturbed, if the alarm clock rings at this time, it will often cause a certain impact or loss to the user's work. For another example, the user sets an alarm clock to get up and go to work at 7:00 am from Monday to Friday. If the user does not need to go to work during this time period due to festivals or other reasons, the alarm ringtone of the alarm clock will disturb the user's normal sleep.

在本发明实施例中,可以根据行程信息关闭闹钟、或关闭闹钟的提示时间。例如,可以根据会议时间关闭闹钟,或根据会议时间调整闹钟的提示时间等。In this embodiment of the present invention, the alarm clock can be turned off, or the reminder time of the alarm clock can be turned off according to the itinerary information. For example, the alarm clock can be turned off according to the meeting time, or the reminder time of the alarm clock can be adjusted according to the meeting time.

在本发明实施例中,通过从移动终端指定的具有进行行程计划功能的数据中获取行程信息;根据所述行程信息,对所述移动终端中的闹钟应用中设置的闹钟进行调整。解决了由于忘记取消闹钟的问题,取得了自动调整闹钟、提高闹钟的使用便捷性的有益效果。In the embodiment of the present invention, the itinerary information is obtained from the data designated by the mobile terminal with the function of planning the itinerary; according to the itinerary information, the alarm clock set in the alarm clock application in the mobile terminal is adjusted. The problem of forgetting to cancel the alarm clock is solved, and the beneficial effects of automatically adjusting the alarm clock and improving the use convenience of the alarm clock are obtained.

参照图2,示出了根据本发明的闹钟调整方法另一种实施例的步骤流程图,具体可以包括如下步骤:Referring to FIG. 2 , there is shown a flowchart of steps of another embodiment of an alarm clock adjustment method according to the present invention, which may specifically include the following steps:

步骤201,从移动终端接收到的短信中获取行程信息。Step 201: Acquire travel information from the short message received by the mobile terminal.

在实际应用中,短信往往包括机票的航班信息、会议提示信息等,从而可以从移动终端的短信内容中获取行程信息。In practical applications, the short message often includes flight information of the ticket, conference prompt information, etc., so that itinerary information can be obtained from the short message content of the mobile terminal.

例如,当用户接收到一条航班提示信息的短信:尊敬的AA,您好,您乘坐的航班AJ214起飞时间为2016.12.02 08:00,预计2小时达到目的地。从而从该短信内容中可以获取到用户在该日的行程信息。For example, when a user receives a text message of flight information: Dear AA, Hello, your flight AJ214 takes off at 2016.12.02 08:00 and is expected to arrive at the destination in 2 hours. Therefore, the itinerary information of the user on the day can be obtained from the content of the short message.

可选地,在本发明的另一种实施例中,步骤201包括子步骤20101至子步骤20104:Optionally, in another embodiment of the present invention, step 201 includes sub-steps 20101 to 20104:

子步骤20101,在监控移动终端收到短信后,判断所述短信的发送方是否属于一行程类型应用平台。Sub-step 20101, after the monitoring mobile terminal receives the short message, determine whether the sender of the short message belongs to an itinerary type application platform.

在实际应用中,发送短信的各平台均采用固定的模板,从而将每单行程的行程数据填充到模板中。例如,一平台的短信模板为:尊敬的XX,您好,您乘坐的航班XXXX起飞时间为XXXX.XX.XX XX:XX,预计XX小时达到目的地。当用户通过预定了机票后,则将用户称呼、航班号、起飞时间、飞行时间等信息填充到该模板中。In practical applications, each platform for sending short messages adopts a fixed template, so that the itinerary data of each single trip is filled into the template. For example, the SMS template of a platform is: Dear XX, hello, the departure time of your flight XXXX is XXXX.XX.XX XX:XX, and it is expected to reach the destination in XX hours. After the user has booked a ticket, the template is filled with the user's salutation, flight number, departure time, flight time and other information.

在本发明实施例中,可以根据短信发送方使用的模板格式,从模板中的对应位置获取行程信息。In this embodiment of the present invention, the itinerary information may be acquired from the corresponding position in the template according to the template format used by the short message sender.

子步骤20102,如果是,针对各种行程类型应用平台,根据相应行程类型应用平台对行程短信的格式,构建相应的预设模板。Sub-step 20102, if yes, for various itinerary type application platforms, construct corresponding preset templates according to the format of the itinerary type application platform for the itinerary short message.

当行程短信发送方属于一行程类型应用平台时,若从该平台上提供了该发送方发送短信的模板,则从该平台上获取模板;否则,根据行程短信的格式构建模板,并存储至移动终端的指定缓存中。When the itinerary SMS sender belongs to an itinerary type application platform, if the template for the sender to send the SMS is provided from the platform, the template is obtained from the platform; otherwise, the template is constructed according to the format of the itinerary SMS and stored in the mobile phone in the specified buffer of the terminal.

子步骤20103,如果是,则获取对应所述行程类型应用平台的预设模板。Sub-step 20103, if yes, obtain a preset template corresponding to the application platform of the itinerary type.

可以理解,该预设模板默认为平台上获取的模板,然后为构建的预设模板。It can be understood that the preset template is the template obtained on the platform by default, and then is the built preset template.

当平台上提供了模板时,通过无线局域网络或移动数据网络从平台上下载该模板;否则,从保存构建的模板的指定缓存中直接获取模板。When the template is provided on the platform, the template is downloaded from the platform through the wireless local area network or mobile data network; otherwise, the template is directly obtained from the designated cache that saves the constructed template.

子步骤20104,按照所述预设模板从所述短信中提取行程信息。Sub-step 20104, extract travel information from the short message according to the preset template.

具体地,可以根据模板中某属性的起始位置获取对应属性。例如,预设模板为:“尊敬的XXX,您好,您乘坐的航班XXXX起飞时间为XXXX.XX.XX XX:XX,预计XX小时达到目的地”。则可以从字符位置17至20中获取航班号,从字符位置26至40中获取起飞时间,从字符位置44至45中获取飞行时间。Specifically, the corresponding attribute can be obtained according to the starting position of a certain attribute in the template. For example, the preset template is: "Dear XXX, Hello, your flight XXXX takes off at XXXX.XX.XX XX:XX and is expected to arrive at the destination in XX hours". Then the flight number can be obtained from character positions 17 to 20, the departure time can be obtained from character positions 26 to 40, and the flight time can be obtained from character positions 44 to 45.

当然,还可以根据其他方式获取行程信息。本发明实施例对其不加以限制。Of course, the itinerary information can also be obtained in other ways. This embodiment of the present invention does not limit it.

步骤202,调用行程应用的接口,获取行程信息。Step 202, calling the interface of the itinerary application to obtain the itinerary information.

在实际应用中,网络的发展促进了各种旅游应用。例如:骏途旅游、途牛旅游网、同城旅游网等。此外,还有一些其他诸如支付宝的应用内置有订票功能。这些应用中往往包括了用户的行程信息,包括:出行时间、地点等信息。In practical applications, the development of the network promotes various tourism applications. For example: Juntu Travel, Tuniu Travel Network, Same City Travel Network, etc. In addition, there are other apps such as Alipay with built-in booking functionality. These applications often include the user's itinerary information, including: travel time, location and other information.

本发明实施例可以调用这些行程应用的接口,从而获取行程信息。In this embodiment of the present invention, the interfaces of these itinerary applications can be invoked, so as to acquire the itinerary information.

可选地,在本发明的另一种实施例中,子步骤202包括子步骤20201至20202:Optionally, in another embodiment of the present invention, sub-step 202 includes sub-steps 20201 to 20202:

子步骤20201,调用行程应用的接口,获取行程描述信息。Sub-step 20201, calling the interface of the itinerary application to obtain the itinerary description information.

其中,行程描述信息包括有用的时间、地点信息之外,还包括一些本发明实施例不关注的其他信息。The itinerary description information includes useful time and location information, and also includes some other information that is not concerned by the embodiments of the present invention.

子步骤20202,对所述行程描述信息进行语义分析,获取行程信息。Sub-step 20202: Perform semantic analysis on the itinerary description information to obtain itinerary information.

其中,语义分析根据语言上下文的逻辑关系进行判断,得到符合逻辑的信息。在本发明实施例中,语义分析从行程描述信息中提取行程信息,包括:时间、地点等重要信息。Among them, semantic analysis judges according to the logical relationship of language context, and obtains logical information. In the embodiment of the present invention, the semantic analysis extracts travel information from the travel description information, including important information such as time and location.

其中,步骤201与步骤202为获取行程信息的两种方式,相互独立。Wherein, step 201 and step 202 are two ways to obtain travel information, which are independent of each other.

步骤203,获取所述行程信息的类型信息以及时间信息。Step 203: Acquire type information and time information of the itinerary information.

其中,类型信息表明用户行程的类型,可以包括:航班类型、会议类型、度假类型等。可以理解,类型信息还可以根据实际应用场景划分。The type information indicates the type of the user's itinerary, which may include: flight type, conference type, vacation type, and the like. It can be understood that the type information can also be divided according to actual application scenarios.

时间信息主要包括:起始时间、结束时间、持续时间等。Time information mainly includes: start time, end time, duration and so on.

步骤204,根据所述类型信息以及时间信息,对所述闹钟应用中设置的闹钟执行相应的调整操作。Step 204, according to the type information and time information, perform a corresponding adjustment operation on the alarm clock set in the alarm clock application.

其中,调整操作包括:关闭闹钟、推迟闹钟提示时间等。The adjustment operations include: turning off the alarm clock, delaying the alarm clock prompt time, and the like.

可选地,在本发明的另一种实施例中,步骤204包括子步骤20401至20403:Optionally, in another embodiment of the present invention, step 204 includes sub-steps 20401 to 20403:

子步骤20401,当所述行程信息的类型信息为航班类型、会议类型、度假类型其中至少一个时,判断所述闹钟应用中设置的闹钟是否有在所述时间信息对应的时间周期内的闹钟。Sub-step 20401, when the type information of the itinerary information is at least one of flight type, conference type, and vacation type, determine whether the alarm clock set in the alarm clock application has an alarm clock within the time period corresponding to the time information.

具体地,首先,获取闹钟应用中设置的一闹钟对应的提示时间;然后,判断该闹钟的提示时间是否处于行程持续时间内;若是,则关闭闹钟;否则,不做任何处理。Specifically, first, the prompt time corresponding to an alarm clock set in the alarm clock application is obtained; then, it is determined whether the prompt time of the alarm clock is within the travel duration; if so, the alarm clock is turned off; otherwise, no processing is performed.

在实际应用中,还可以根据行程的持续时间,修改闹钟提示时间为行程结束后的时间,从而在行程结束时再次提示。In practical applications, it is also possible to modify the alarm prompt time to the time after the trip ends according to the duration of the trip, so as to prompt again at the end of the trip.

子步骤20402,如果有,则在所述移动终端的实时时刻进入所述时间周期时,关闭所述在所述时间信息对应的时间周期内的闹钟。Sub-step 20402, if there is, when the real-time moment of the mobile terminal enters the time period, turn off the alarm clock in the time period corresponding to the time information.

在本发明实施例中,在行程开始时关闭提示时间在该行程持续时间段内的闹钟。In this embodiment of the present invention, at the beginning of the trip, the alarm clock that reminds the time within the duration of the trip is turned off.

可以理解,还可以为各闹钟设置优先级,对于具备第一优先级的闹钟,不关闭;对于普通闹钟,关闭该闹钟。从而对于提示重要事件的闹钟可以通过设置第一优先级,在任何情况下不关闭,始终提示。It can be understood that a priority can also be set for each alarm clock, for an alarm clock with the first priority, it is not turned off; for a common alarm clock, the alarm clock is turned off. Therefore, for the alarm clock that prompts important events, the first priority can be set, and it is not turned off under any circumstances, and it is always prompted.

子步骤20403,在所述移动终端的实时时间超过所述时间信息的结束时刻时,对所述闹钟执行打开操作。Sub-step 20403, when the real-time time of the mobile terminal exceeds the end time of the time information, perform an opening operation on the alarm clock.

在实际应用中,若闹钟是按照天或周循环提示的闹钟,则可以在行程结束时重新打开闹钟,从而可以保证闹钟在后续时间能够正常工作。In practical applications, if the alarm clock is an alarm clock that is prompted according to a daily or weekly cycle, the alarm clock can be turned on again at the end of the trip, thereby ensuring that the alarm clock can work normally in the subsequent time.

可选地,在本发明的另一种实施例中,步骤204包括子步骤20404至20407:Optionally, in another embodiment of the present invention, step 204 includes sub-steps 20404 to 20407:

子步骤20404,当所述行程信息为航班信息时,获取所述航班信息的起飞时间以及起飞地点。Sub-step 20404, when the itinerary information is flight information, obtain the departure time and departure place of the flight information.

在本发明实施例中,可以根据当前位置与起飞地点之间的距离确定去起飞地点所需时间,然后根据该时间和起飞时间,设置闹钟提示用户前往起飞地点。In the embodiment of the present invention, the time required to go to the take-off place can be determined according to the distance between the current position and the take-off place, and then according to the time and the take-off time, an alarm clock is set to prompt the user to go to the take-off place.

子步骤20405,获取所述移动终端当前的位置信息。Sub-step 20405, obtain the current location information of the mobile terminal.

在实际应用中,可以调用移动终端上的定位系统获取当前位置信息。其中,位置信息包括GPS(Global Positioning System,全球定位系统)、基站定位、无线局域网络对应的位置数据。In practical applications, the positioning system on the mobile terminal can be invoked to obtain current location information. The position information includes GPS (Global Positioning System, global positioning system), base station positioning, and position data corresponding to a wireless local area network.

其中,位置数据通常用经纬度表示。Among them, the location data is usually represented by latitude and longitude.

子步骤20406,计算当前的位置信息到达所述起飞地点的需要的第一时间。Sub-step 20406: Calculate the first time required for the current location information to arrive at the take-off location.

具体地,可以调用安装在移动终端的导航工具接口,预估当前的位置信息到达所述起飞地点需要的时间。Specifically, the navigation tool interface installed on the mobile terminal can be invoked to estimate the time required for the current location information to arrive at the take-off location.

在实际应用中,预估一个最长时间和最短时间,根据最长时间设置一闹钟开始提示,再根据最短时间再次提示用户。其中,最长时间和最短时间是考虑交通工具类型、路段长短、路况信息等综合因素得到的。In practical applications, a maximum time and a shortest time are estimated, an alarm clock is set to start prompting according to the longest time, and the user is prompted again according to the shortest time. Among them, the longest time and the shortest time are obtained by considering comprehensive factors such as the type of vehicle, the length of the road section, and the road condition information.

子步骤20407,在所述移动终端的实时时间进入距离所述起飞时间的时间段阈值内后,根据所述第一时间和预设的登机耗费时间,在闹钟应用中设置闹钟进行提醒。Sub-step 20407, after the real-time time of the mobile terminal enters the time period threshold from the take-off time, according to the first time and the preset boarding time, an alarm clock is set in the alarm clock application to remind.

其中,起飞时间的时间段阈值为设置闹钟的时间与起飞时间之间的差值,在预估的闹钟提示时间之前。可以理解,该阈值可以根据实际应用场景设定,本发明实施例对其不加以限制。The time period threshold of the take-off time is the difference between the time when the alarm clock is set and the take-off time, which is before the estimated time of the alarm clock. It can be understood that the threshold may be set according to an actual application scenario, which is not limited in this embodiment of the present invention.

具体地,将起飞时间减去第一时间和登机耗费时间作为闹钟提示时间。Specifically, the departure time minus the first time and the boarding time are taken as the alarm clock prompt time.

可以理解,起飞时间的时间段阈值大于等于第一时间与登机耗费时间之和。It can be understood that the time period threshold of the take-off time is greater than or equal to the sum of the first time and the boarding time.

可选地,在本发明的另一种实施例中,步骤204包括子步骤20408至20411:Optionally, in another embodiment of the present invention, step 204 includes sub-steps 20408 to 20411:

子步骤20408,当所述行程信息为会议信息时,获取所述会议信息的会议开始时间以及参会地点。Sub-step 20408, when the itinerary information is meeting information, obtain the meeting start time and meeting place of the meeting information.

在本发明实施例中,可以根据当前位置与参会地点之间的距离确定去参会地点所需时间,然后根据该时间和会议开始时间,设置闹钟提示用户前往参会地点。In this embodiment of the present invention, the time required to go to the meeting place can be determined according to the distance between the current location and the meeting place, and then an alarm clock is set to prompt the user to go to the meeting place according to the time and the meeting start time.

子步骤20409,获取所述移动终端当前的位置信息。Sub-step 20409, obtain the current location information of the mobile terminal.

该步骤参照子步骤20405的详细说明,在此不再赘述。For this step, refer to the detailed description of sub-step 20405, which will not be repeated here.

子步骤20410,计算当前的位置信息到达所述参会地点的需要的第一时间。Sub-step 20410: Calculate the first time required for the current location information to arrive at the meeting place.

该步骤参照子步骤20406的详细说明,在此不再赘述。For this step, refer to the detailed description of sub-step 20406, which will not be repeated here.

子步骤20411,在所述移动终端的实时时间进入距离会议开始时间的时间段阈值内后,根据所述第一时间和预设误差时间,在闹钟应用中设置闹钟进行提醒。Sub-step 20411, after the real-time time of the mobile terminal enters the time period threshold from the meeting start time, according to the first time and the preset error time, set an alarm clock in the alarm clock application to remind.

其中,距离会议开始时间的时间段阈值为设置闹钟的时间与会议开始时间之间的差值,在预估的闹钟提示时间之前。可以理解,该阈值可以根据实际应用场景设定,本发明实施例对其不加以限制。The time period threshold from the meeting start time is the difference between the time when the alarm clock is set and the meeting start time, which is before the estimated alarm time. It can be understood that the threshold may be set according to an actual application scenario, which is not limited in this embodiment of the present invention.

具体地,将会议开始时间减去第一时间和预设误差时间作为闹钟提示时间。Specifically, the first time and the preset error time are subtracted from the conference start time as the alarm prompt time.

可以理解,距离会议开始时间的时间段阈值大于等于第一时间与预设误差时间之和。It can be understood that the time period threshold from the conference start time is greater than or equal to the sum of the first time and the preset error time.

在本发明实施例中,通过从移动终端指定的具有进行行程计划功能的数据中获取行程信息;根据所述行程信息,对所述移动终端中的闹钟应用中设置的闹钟进行调整。解决了由于忘记取消闹钟的问题,取得了自动调整闹钟、提高闹钟的使用便捷性的有益效果。此外,还可以通过短信或应用获取行程信息,从而可以灵活关闭、开启、设置闹钟。In the embodiment of the present invention, the itinerary information is obtained from the data designated by the mobile terminal with the function of planning the itinerary; according to the itinerary information, the alarm clock set in the alarm clock application in the mobile terminal is adjusted. The problem of forgetting to cancel the alarm clock is solved, and the beneficial effects of automatically adjusting the alarm clock and improving the use convenience of the alarm clock are obtained. In addition, you can also obtain travel information through text messages or apps, so that you can flexibly turn off, turn on, and set the alarm clock.

对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。For the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the embodiments of the present invention are not limited by the described sequence of actions, because according to the embodiments of the present invention , certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

参照图3,示出了根据本发明的一种闹钟调整装置一种实施例的结构框图,具体可以包括如下模块:Referring to FIG. 3, it shows a structural block diagram of an embodiment of an alarm clock adjusting device according to the present invention, which may specifically include the following modules:

行程信息获取模块301,用于从移动终端指定的具有进行行程计划功能的数据中获取行程信息。The itinerary information acquisition module 301 is configured to acquire the itinerary information from the data designated by the mobile terminal and having the function of performing itinerary planning.

闹钟调整模块302,用于根据所述行程信息,对所述移动终端中的闹钟应用中设置的闹钟进行调整。The alarm clock adjustment module 302 is configured to adjust the alarm clock set in the alarm clock application in the mobile terminal according to the itinerary information.

在本发明实施例中,通过从移动终端指定的具有进行行程计划功能的数据中获取行程信息;根据所述行程信息,对所述移动终端中的闹钟应用中设置的闹钟进行调整。解决了由于忘记取消闹钟的问题,取得了自动调整闹钟、提高闹钟的使用便捷性的有益效果。In the embodiment of the present invention, the itinerary information is obtained from the data designated by the mobile terminal with the function of planning the itinerary; according to the itinerary information, the alarm clock set in the alarm clock application in the mobile terminal is adjusted. The problem of forgetting to cancel the alarm clock is solved, and the beneficial effects of automatically adjusting the alarm clock and improving the use convenience of the alarm clock are obtained.

参照图4,示出了根据本发明的一种闹钟调整装置另一种实施例的结构框图,具体可以包括如下模块:Referring to FIG. 4 , a structural block diagram of another embodiment of an alarm clock adjusting device according to the present invention is shown, which may specifically include the following modules:

行程信息获取模块401,用于从移动终端指定的具有进行行程计划功能的数据中获取行程信息。包括:The itinerary information acquisition module 401 is configured to acquire the itinerary information from the data designated by the mobile terminal with the function of performing itinerary planning. include:

第一行程信息获取子模块4011,用于从移动终端接收到的短信中获取行程信息。The first itinerary information acquisition sub-module 4011 is used to acquire the itinerary information from the short message received by the mobile terminal.

第二行程信息获取子模块4012,用于调用行程应用的接口,获取行程信息。The second itinerary information acquisition sub-module 4012 is used to call the interface of the itinerary application to acquire the itinerary information.

所述第一行程信息获取子模块4011和所述第二行程信息获取子模块4012为获取行程信息的两种方式,相互独立。The first itinerary information acquisition sub-module 4011 and the second itinerary information acquisition sub-module 4012 are two ways of acquiring the itinerary information, which are independent of each other.

闹钟调整模块402,用于根据所述行程信息,对所述移动终端中的闹钟应用中设置的闹钟进行调整。包括:The alarm clock adjustment module 402 is configured to adjust the alarm clock set in the alarm clock application in the mobile terminal according to the itinerary information. include:

相关信息获取子模块4021,用于获取所述行程信息的类型信息以及时间信息。The relevant information acquisition sub-module 4021 is used to acquire the type information and time information of the itinerary information.

闹钟调整子模块4022,用于根据所述类型信息以及时间信息,对所述闹钟应用中设置的闹钟执行相应的调整操作。The alarm clock adjustment sub-module 4022 is configured to perform a corresponding adjustment operation on the alarm clock set in the alarm clock application according to the type information and time information.

可选地,在本发明的另一种实施例中,上述第一行程信息获取子模块4011,包括:Optionally, in another embodiment of the present invention, the above-mentioned first itinerary information acquisition sub-module 4011 includes:

发送方判断单元,用于在监控移动终端收到短信后,判断所述短信的发送方是否属于一行程类型应用平台。The sender judging unit is used for judging whether the sender of the short message belongs to an itinerary type application platform after the monitoring mobile terminal receives the short message.

预设模板构建单元,用于针对各种行程类型应用平台,根据相应行程类型应用平台对行程短信的格式,构建相应的预设模板。The preset template construction unit is used for applying the platform for various itinerary types to construct corresponding preset templates according to the format of the itinerary short message by the application platform for the corresponding itinerary type.

预设模板获取单元,用于如果是,则获取对应所述行程类型应用平台的预设模板。A preset template acquiring unit, configured to acquire, if yes, a preset template corresponding to the application platform of the itinerary type.

第一行程信息获取单元,用于按照所述预设模板从所述短信中提取行程信息。The first itinerary information acquisition unit is configured to extract the itinerary information from the short message according to the preset template.

可选地,在本发明的另一种实施例中,上述第二行程信息获取子模块4012,包括:Optionally, in another embodiment of the present invention, the above-mentioned second itinerary information acquisition sub-module 4012 includes:

行程描述信息获取单元,用于调用行程应用的接口,获取行程描述信息。The itinerary description information acquisition unit is used to call the interface of the itinerary application to obtain the itinerary description information.

第二行程信息获取单元,用于对所述行程描述信息进行语义分析,获取行程信息。The second itinerary information obtaining unit is configured to perform semantic analysis on the itinerary description information to obtain the itinerary information.

可选地,在本发明的另一种实施例中,上述闹钟调整子模块4022,包括:Optionally, in another embodiment of the present invention, the above-mentioned alarm clock adjustment sub-module 4022 includes:

闹钟存在性判断单元,用于当所述行程信息的类型信息为航班类型、会议类型、度假类型其中至少一个时,判断所述闹钟应用中设置的闹钟是否有在所述时间信息对应的时间周期内的闹钟。An alarm clock existence judgment unit, configured to judge whether the alarm clock set in the alarm clock application has a time period corresponding to the time information when the type information of the itinerary information is at least one of a flight type, a conference type, and a vacation type alarm clock inside.

闹钟关闭单元,用于如果有,则在所述移动终端的实时时刻进入所述时间周期时,关闭所述在所述时间信息对应的时间周期内的闹钟。An alarm clock closing unit, configured to close the alarm clock in the time period corresponding to the time information when the real-time moment of the mobile terminal enters the time period, if any.

闹钟打开单元,用于在所述移动终端的实时时间超过所述时间信息的结束时刻时,对所述闹钟执行打开操作。An alarm clock opening unit, configured to perform an opening operation on the alarm clock when the real-time time of the mobile terminal exceeds the end time of the time information.

可选地,在本发明的另一种实施例中,上述闹钟调整子模块4022,包括:Optionally, in another embodiment of the present invention, the above-mentioned alarm clock adjustment sub-module 4022 includes:

航班信息获取单元,用于当所述行程信息为航班信息时,获取所述航班信息的起飞时间以及起飞地点。A flight information acquisition unit, configured to acquire the departure time and departure place of the flight information when the itinerary information is flight information.

第一位置信息获取单元,用于获取所述移动终端当前的位置信息。The first location information acquisition unit is configured to acquire the current location information of the mobile terminal.

第一时间计算单元,用于计算当前的位置信息到达所述起飞地点的需要的第一时间。The first time calculation unit is configured to calculate the first time required for the current position information to arrive at the take-off location.

第一闹钟设置单元,用于在所述移动终端的实时时间进入距离所述起飞时间的时间段阈值内后,根据所述第一时间和预设的登机耗费时间,在闹钟应用中设置闹钟进行提醒。a first alarm clock setting unit, configured to set an alarm clock in the alarm clock application according to the first time and the preset boarding time after the real-time time of the mobile terminal enters the time period threshold from the take-off time to be reminded.

可选地,在本发明的另一种实施例中,上述闹钟调整子模块4022,包括:Optionally, in another embodiment of the present invention, the above-mentioned alarm clock adjustment sub-module 4022 includes:

会议信息获取单元,用于当所述行程信息为会议信息时,获取所述会议信息的会议开始时间以及参会地点。A conference information acquisition unit, configured to acquire a conference start time and a conference place of the conference information when the itinerary information is conference information.

第二位置信息获取单元,用于获取所述移动终端当前的位置信息。The second location information acquisition unit is configured to acquire the current location information of the mobile terminal.

第二时间计算单元,用于计算当前的位置信息到达所述参会地点的需要的第一时间。The second time calculation unit is configured to calculate the first time required for the current location information to arrive at the meeting place.

第二闹钟设置单元,用于在所述移动终端的实时时间进入距离会议开始时间的时间段阈值内后,根据所述第一时间和预设误差时间,在闹钟应用中设置闹钟进行提醒。The second alarm clock setting unit is configured to set an alarm clock in the alarm clock application to remind according to the first time and the preset error time after the real-time time of the mobile terminal enters the time period threshold from the meeting start time.

在本发明实施例中,通过从移动终端指定的具有进行行程计划功能的数据中获取行程信息;根据所述行程信息,对所述移动终端中的闹钟应用中设置的闹钟进行调整。解决了由于忘记取消闹钟的问题,取得了自动调整闹钟、提高闹钟的使用便捷性的有益效果。此外,还可以通过短信或应用获取行程信息,从而可以灵活关闭、开启、设置闹钟。In the embodiment of the present invention, the itinerary information is obtained from the data designated by the mobile terminal with the function of planning the itinerary; according to the itinerary information, the alarm clock set in the alarm clock application in the mobile terminal is adjusted. The problem of forgetting to cancel the alarm clock is solved, and the beneficial effects of automatically adjusting the alarm clock and improving the use convenience of the alarm clock are obtained. In addition, you can also obtain travel information through text messages or apps, so that you can flexibly turn off, turn on, and set the alarm clock.

对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the apparatus embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for related parts.

本发明实施例还提供了一种移动终端,如图5示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point ofSales,销售终端)、车载电脑等任意终端设备,以终端为手机为例:An embodiment of the present invention also provides a mobile terminal, as shown in FIG. 5 . For convenience of description, only the part related to the embodiment of the present invention is shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The terminal can be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant), a POS (Point of Sales, a sales terminal), a car computer, etc. The terminal is a mobile phone as an example:

图5示出的是与本发明实施例提供的移动终端相关的手机的部分结构的框图。参考图5,手机包括:射频(Radio Frequency,RF)电路510、存储器520、输入单元530、显示单元540、传感器550、音频电路560、无线保真(wireless fidelity,WiFi)模块570、处理器580、以及电源590等部件。本领域技术人员可以理解,图5中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 5 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present invention. Referring to FIG. 5 , the mobile phone includes: a radio frequency (RF) circuit 510 , a memory 520 , an input unit 530 , a display unit 540 , a sensor 550 , an audio circuit 560 , a wireless fidelity (WiFi) module 570 , and a processor 580 , and components such as the power supply 590 . Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 5 does not constitute a limitation on the mobile phone, and may include more or less components than the one shown, or combine some components, or arrange different components.

下面结合图5对手机的各个构成部件进行具体的介绍:The following is a detailed introduction to each component of the mobile phone in conjunction with Figure 5:

RF电路510可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器580处理;另外,将设计上行的数据发送给基站。通常,RF电路510包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low NoiseAmplifier,LNA)、双工器等。此外,RF电路510还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GlobalSystem of Mobile communication,GSM)、通用分组无线服务(General Packet RadioService,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 510 can be used for receiving and sending signals during sending and receiving of information or during a call. In particular, after receiving the downlink information of the base station, it is processed by the processor 580; in addition, the designed uplink data is sent to the base station. Typically, the RF circuit 510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 510 may also communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) , CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS) and the like.

存储器520可用于存储软件程序以及模块,处理器580通过运行存储在存储器520的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器520可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器520可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 520 can be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 520 . The memory 520 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 520 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

输入单元530可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元530可包括触控面板531以及其他输入设备532。触控面板531,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板531上或在触控面板531附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板531可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器580,并能接收处理器580发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板531。除了触控面板531,输入单元530还可以包括其他输入设备532。具体地,其他输入设备532可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 530 may be used for receiving inputted numerical or character information, and generating key signal input related to user setting and function control of the mobile phone. Specifically, the input unit 530 may include a touch panel 531 and other input devices 532 . The touch panel 531, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or accessory on or near the touch panel 531). operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 531 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 580, and can receive the command sent by the processor 580 and execute it. In addition, the touch panel 531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. Besides the touch panel 531 , the input unit 530 may further include other input devices 532 . Specifically, other input devices 532 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元540可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元540可包括显示面板541,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板541。进一步的,触控面板531可覆盖显示面板541,当触控面板531检测到在其上或附近的触摸操作后,传送给处理器580以确定触摸事件的类型,随后处理器580根据触摸事件的类型在显示面板541上提供相应的视觉输出。虽然在图5中,触控面板531与显示面板541是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板531与显示面板541集成而实现手机的输入和输出功能。The display unit 540 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 540 may include a display panel 541, and optionally, the display panel 541 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Further, the touch panel 531 may cover the display panel 541, and when the touch panel 531 detects a touch operation on or near it, it transmits it to the processor 580 to determine the type of the touch event, and then the processor 580 determines the type of the touch event according to the touch event. Type provides corresponding visual output on display panel 541 . Although in FIG. 5, the touch panel 531 and the display panel 541 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 531 and the display panel 541 can be integrated to form Realize the input and output functions of the mobile phone.

手机还可包括至少一种传感器550,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板541的亮度,接近传感器可在手机移动到耳边时,关闭显示面板541和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The cell phone may also include at least one sensor 550, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 541 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 541 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary. games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Repeat.

音频电路560、扬声器561,传声器562可提供用户与手机之间的音频接口。音频电路560可将接收到的音频数据转换后的电信号,传输到扬声器561,由扬声器561转换为声音信号输出;另一方面,传声器562将收集的声音信号转换为电信号,由音频电路560接收后转换为音频数据,再将音频数据输出处理器580处理后,经RF电路510以发送给比如另一手机,或者将音频数据输出至存储器520以便进一步处理。The audio circuit 560, the speaker 561, and the microphone 562 can provide an audio interface between the user and the mobile phone. The audio circuit 560 can transmit the received audio data converted electrical signal to the speaker 561, and the speaker 561 converts it into a sound signal for output; on the other hand, the microphone 562 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 560 After receiving, it is converted into audio data, and then the audio data is output to the processor 580 for processing, and then sent to, for example, another mobile phone through the RF circuit 510, or the audio data is output to the memory 520 for further processing.

WiFi属于短距离无线传输技术,手机通过WiFi模块570可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了WiFi模块570,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 570, which provides users with wireless broadband Internet access. Although FIG. 5 shows the WiFi module 570, it can be understood that it is not a necessary component of the mobile phone, and can be completely omitted as required within the scope of not changing the essence of the invention.

处理器580是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器520内的软件程序和/或模块,以及调用存储在存储器520内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器580可包括一个或多个处理单元;优选的,处理器580可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器580中。The processor 580 is the control center of the mobile phone, using various interfaces and lines to connect various parts of the entire mobile phone, by running or executing the software programs and/or modules stored in the memory 520, and calling the data stored in the memory 520. Various functions of the mobile phone and processing data, so as to monitor the mobile phone as a whole. Optionally, the processor 580 may include one or more processing units; preferably, the processor 580 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. , the modem processor mainly deals with wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 580 .

手机还包括给各个部件供电的电源590(比如电池),优选的,电源可以通过电源管理系统与处理器580逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 590 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 580 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.

尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, and the like, which will not be repeated here.

在本发明实施例中,该终端所包括的处理器580还具有以下功能:从移动终端指定的具有进行行程计划功能的数据中获取行程信息;根据所述行程信息,对所述移动终端中的闹钟应用中设置的闹钟进行调整。In this embodiment of the present invention, the processor 580 included in the terminal also has the following functions: acquiring travel information from data designated by the mobile terminal with the function of planning an itinerary; Adjust the alarm set in the Alarm Clock app.

可选地,处理器580还具有以下功能:从移动终端接收到的短信中获取行程信息。Optionally, the processor 580 also has the following function: acquiring the itinerary information from the short message received by the mobile terminal.

可选地,处理器580还具有以下功能:在监控移动终端收到短信后,判断所述短信的发送方是否属于一行程类型应用平台;如果是,则获取对应所述行程类型应用平台的预设模板;按照所述预设模板从所述短信中提取行程信息。Optionally, the processor 580 also has the following functions: after the monitoring mobile terminal receives the short message, determine whether the sender of the short message belongs to an itinerary type application platform; if so, obtain a preset corresponding to the itinerary type application platform. Setting a template; extracting itinerary information from the short message according to the preset template.

可选地,处理器580还具有以下功能:针对各种行程类型应用平台,根据相应行程类型应用平台对行程短信的格式,构建相应的预设模板。Optionally, the processor 580 further has the following function: for various itinerary type application platforms, according to the format of the itinerary short message by the corresponding itinerary type application platform, a corresponding preset template is constructed.

可选地,处理器580还具有以下功能:调用行程应用的接口,获取行程信息。Optionally, the processor 580 also has the following function: calling the interface of the itinerary application to obtain the itinerary information.

可选地,处理器580还具有以下功能:调用行程应用的接口,获取行程描述信息;对所述行程描述信息进行语义分析,获取行程信息。Optionally, the processor 580 further has the following functions: invoking the interface of the itinerary application to obtain the itinerary description information; and performing semantic analysis on the itinerary description information to obtain the itinerary information.

可选地,处理器580还具有以下功能:获取所述行程信息的类型信息以及时间信息;根据所述类型信息以及时间信息,对所述闹钟应用中设置的闹钟执行相应的调整操作。Optionally, the processor 580 further has the following functions: acquiring type information and time information of the itinerary information; and performing a corresponding adjustment operation on the alarm clock set in the alarm clock application according to the type information and time information.

可选地,处理器580还具有以下功能:当所述行程信息的类型信息为航班类型、会议类型、度假类型其中至少一个时,判断所述闹钟应用中设置的闹钟是否有在所述时间信息对应的时间周期内的闹钟;如果有,则在所述移动终端的实时时刻进入所述时间周期时,关闭所述在所述时间信息对应的时间周期内的闹钟。Optionally, the processor 580 also has the following function: when the type information of the itinerary information is at least one of a flight type, a meeting type, and a vacation type, judging whether the alarm clock set in the alarm clock application has the time information The alarm clock in the corresponding time period; if there is, when the real-time moment of the mobile terminal enters the time period, the alarm clock in the time period corresponding to the time information is turned off.

可选地,处理器580还具有以下功能:在所述移动终端的实时时间超过所述时间信息的结束时刻时,对所述闹钟执行打开操作。Optionally, the processor 580 further has the following function: when the real-time time of the mobile terminal exceeds the end time of the time information, an opening operation is performed on the alarm clock.

可选地,处理器580还具有以下功能:当所述行程信息为航班信息时,获取所述航班信息的起飞时间以及起飞地点;获取所述移动终端当前的位置信息;计算当前的位置信息到达所述起飞地点的需要的第一时间;在所述移动终端的实时时间进入距离所述起飞时间的时间段阈值内后,根据所述第一时间和预设的登机耗费时间,在闹钟应用中设置闹钟进行提醒。Optionally, the processor 580 also has the following functions: when the itinerary information is flight information, obtain the departure time and departure location of the flight information; obtain the current position information of the mobile terminal; calculate the arrival of the current position information The required first time of the take-off location; after the real-time time of the mobile terminal enters the time period threshold from the take-off time, according to the first time and the preset boarding time, in the alarm clock application Set an alarm to remind you.

可选地,处理器580还具有以下功能:当所述行程信息为会议信息时,获取所述会议信息的会议开始时间以及参会地点;获取所述移动终端当前的位置信息;计算当前的位置信息到达所述参会地点的需要的第一时间;在所述移动终端的实时时间进入距离会议开始时间的时间段阈值内后,根据所述第一时间和预设误差时间,在闹钟应用中设置闹钟进行提醒。Optionally, the processor 580 also has the following functions: when the itinerary information is meeting information, obtain the meeting start time and the meeting place of the meeting information; obtain the current location information of the mobile terminal; calculate the current location The first time required for the information to arrive at the meeting place; after the real-time time of the mobile terminal enters the time period threshold from the meeting start time, according to the first time and the preset error time, in the alarm clock application Set an alarm to remind you.

上述方式可以通过从移动终端指定的具有进行行程计划功能的数据中获取行程信息;根据所述行程信息,对所述移动终端中的闹钟应用中设置的闹钟进行调整。解决了由于忘记取消闹钟的问题,取得了自动调整闹钟、提高闹钟的使用便捷性的有益效果。此外,还可以通过短信或应用获取行程信息,从而可以灵活关闭、开启、设置闹钟。In the above manner, itinerary information can be obtained from data designated by the mobile terminal with the function of planning an itinerary; according to the itinerary information, the alarm clock set in the alarm clock application in the mobile terminal is adjusted. The problem of forgetting to cancel the alarm clock is solved, and the beneficial effects of automatically adjusting the alarm clock and improving the use convenience of the alarm clock are obtained. In addition, you can also obtain travel information through text messages or apps, so that you can flexibly turn off, turn on, and set the alarm clock.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium. The medium can be read-only memory, magnetic disk or optical disk, etc.

以上对本发明所提供的一种闹钟调整方法、装置及移动终端进行了详细介绍,对于本领域的一般技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method, device and mobile terminal for adjusting an alarm clock provided by the present invention have been described in detail above. For those skilled in the art, according to the idea of the embodiment of the present invention, there will be changes in the specific implementation and application scope. In conclusion, the content of this specification should not be construed as a limitation to the present invention.

本发明公开了A1、一种闹钟调整方法,包括:The invention discloses A1, an alarm clock adjustment method, comprising:

从移动终端指定的具有进行行程计划功能的数据中获取行程信息;Obtain travel information from the data designated by the mobile terminal with the function of planning travel;

根据所述行程信息,对所述移动终端中的闹钟应用中设置的闹钟进行调整。A2、如A1所述的方法,所述从移动终端指定的具有进行行程计划功能的数据中获取行程信息的步骤,包括:The alarm clock set in the alarm clock application in the mobile terminal is adjusted according to the itinerary information. A2. The method according to A1, wherein the step of obtaining itinerary information from the data designated by the mobile terminal with the function of performing itinerary planning includes:

从移动终端接收到的短信中获取行程信息。The itinerary information is obtained from the SMS received by the mobile terminal.

A3、如A2所述的方法,所述从移动终端接收到的短信中获取行程信息的步骤,包括:A3. The method according to A2, wherein the step of obtaining the itinerary information from the short message received by the mobile terminal includes:

在监控移动终端收到短信后,判断所述短信的发送方是否属于一行程类型应用平台;After the monitoring mobile terminal receives the short message, determine whether the sender of the short message belongs to an itinerary type application platform;

如果是,则获取对应所述行程类型应用平台的预设模板;If so, obtain the preset template corresponding to the application platform of the itinerary type;

按照所述预设模板从所述短信中提取行程信息。The itinerary information is extracted from the short message according to the preset template.

A4、如A3所述的方法,在所述获取对应所述行程类型应用平台的预设模板的步骤之前,还包括:A4. The method according to A3, before the step of acquiring the preset template corresponding to the itinerary type application platform, further comprising:

针对各种行程类型应用平台,根据相应行程类型应用平台对行程短信的格式,构建相应的预设模板。For various itinerary type application platforms, build corresponding preset templates according to the itinerary type application platform's format of itinerary text messages.

A5、如A1所述的方法,所述从移动终端指定的具有进行行程计划功能的数据中获取行程信息的步骤,包括:A5. The method according to A1, wherein the step of obtaining itinerary information from the data designated by the mobile terminal with the function of performing itinerary planning includes:

调用行程应用的接口,获取行程信息。Call the API of the itinerary application to obtain the itinerary information.

A6、如A5所述的方法,所述调用行程应用的接口,获取行程信息的步骤,包括:A6. The method according to A5, wherein the steps of invoking the interface of the itinerary application and acquiring the itinerary information include:

调用行程应用的接口,获取行程描述信息;Call the interface of the itinerary application to obtain the itinerary description information;

对所述行程描述信息进行语义分析,获取行程信息。Semantic analysis is performed on the itinerary description information to obtain itinerary information.

A7、如A1所述的方法,所述根据所述行程信息,对所述移动终端中的闹钟应用中设置的闹钟进行调整的步骤,包括:A7. The method according to A1, wherein the step of adjusting the alarm clock set in the alarm clock application in the mobile terminal according to the itinerary information includes:

获取所述行程信息的类型信息以及时间信息;Obtain the type information and time information of the itinerary information;

根据所述类型信息以及时间信息,对所述闹钟应用中设置的闹钟执行相应的调整操作。According to the type information and time information, a corresponding adjustment operation is performed on the alarm clock set in the alarm clock application.

A8、如A7所述的方法,所述根据所述类型信息以及时间信息,对所述闹钟应用中设置的闹钟执行相应的调整操作的步骤,包括:A8. The method according to A7, wherein the step of performing a corresponding adjustment operation on the alarm clock set in the alarm clock application according to the type information and time information includes:

当所述行程信息的类型信息为航班类型、会议类型、度假类型其中至少一个时,判断所述闹钟应用中设置的闹钟是否有在所述时间信息对应的时间周期内的闹钟;When the type information of the itinerary information is at least one of flight type, conference type, and vacation type, determine whether the alarm clock set in the alarm clock application has an alarm clock within the time period corresponding to the time information;

如果有,则在所述移动终端的实时时刻进入所述时间周期时,关闭所述在所述时间信息对应的时间周期内的闹钟。If so, when the real-time moment of the mobile terminal enters the time period, the alarm clock in the time period corresponding to the time information is turned off.

A9、如A8所述的方法,在所述移动终端的实时时刻进入所述时间周期时,关闭所述在所述时间信息对应的时间周期内的闹钟的步骤之后,还包括:A9. The method according to A8, after the step of turning off the alarm clock in the time period corresponding to the time information when the real-time moment of the mobile terminal enters the time period, further comprising:

在所述移动终端的实时时间超过所述时间信息的结束时刻时,对所述闹钟执行打开操作。When the real-time time of the mobile terminal exceeds the end time of the time information, an opening operation is performed on the alarm clock.

A10、如A7所述的方法,所述根据所述类型信息以及时间信息,对所述闹钟应用中设置的闹钟执行相应的调整操作的步骤,包括:A10. The method according to A7, wherein the step of performing a corresponding adjustment operation on the alarm clock set in the alarm clock application according to the type information and time information includes:

当所述行程信息为航班信息时,获取所述航班信息的起飞时间以及起飞地点;When the itinerary information is flight information, obtain the departure time and departure location of the flight information;

获取所述移动终端当前的位置信息;obtaining the current location information of the mobile terminal;

计算当前的位置信息到达所述起飞地点的需要的第一时间;Calculate the first time required for the current position information to arrive at the take-off location;

在所述移动终端的实时时间进入距离所述起飞时间的时间段阈值内后,根据所述第一时间和预设的登机耗费时间,在闹钟应用中设置闹钟进行提醒。After the real-time time of the mobile terminal enters the time period threshold from the take-off time, an alarm clock is set in the alarm clock application to remind according to the first time and the preset boarding time.

A11、如A7所述的方法,所述根据所述类型信息以及时间信息,对所述闹钟应用中设置的闹钟执行相应的调整操作的步骤,包括:A11. The method according to A7, wherein the step of performing a corresponding adjustment operation on the alarm clock set in the alarm clock application according to the type information and time information includes:

当所述行程信息为会议信息时,获取所述会议信息的会议开始时间以及参会地点;When the itinerary information is meeting information, obtain the meeting start time and the meeting place of the meeting information;

获取所述移动终端当前的位置信息;obtaining the current location information of the mobile terminal;

计算当前的位置信息到达所述参会地点的需要的第一时间;Calculate the first time required for the current location information to arrive at the meeting place;

在所述移动终端的实时时间进入距离会议开始时间的时间段阈值内后,根据所述第一时间和预设误差时间,在闹钟应用中设置闹钟进行提醒。After the real-time time of the mobile terminal enters the time period threshold from the meeting start time, an alarm clock is set in the alarm clock application to remind according to the first time and the preset error time.

本发明还公开了B1、一种闹钟调整装置,包括:The invention also discloses B1, an alarm clock adjusting device, comprising:

行程信息获取模块,用于从移动终端指定的具有进行行程计划功能的数据中获取行程信息;The itinerary information acquisition module is used to acquire the itinerary information from the data designated by the mobile terminal with the function of planning the itinerary;

闹钟调整模块,用于根据所述行程信息,对所述移动终端中的闹钟应用中设置的闹钟进行调整。The alarm clock adjustment module is configured to adjust the alarm clock set in the alarm clock application in the mobile terminal according to the itinerary information.

B2、如B1所述的装置,所述行程信息获取模块,包括:B2. The device according to B1, wherein the itinerary information acquisition module includes:

第一行程信息获取子模块,用于从移动终端接收到的短信中获取行程信息。The first itinerary information acquisition sub-module is used to acquire the itinerary information from the short message received by the mobile terminal.

B3、如B2所述的装置,所述第一行程信息获取子模块,包括:B3. The device according to B2, wherein the first itinerary information acquisition sub-module includes:

发送方判断单元,用于在监控移动终端收到短信后,判断所述短信的发送方是否属于一行程类型应用平台;a sender judgment unit, configured to judge whether the sender of the short message belongs to an itinerary type application platform after the monitoring mobile terminal receives the short message;

预设模板获取单元,用于如果是,则获取对应所述行程类型应用平台的预设模板;a preset template obtaining unit, configured to obtain a preset template corresponding to the itinerary type application platform if so;

第一行程信息获取单元,用于按照所述预设模板从所述短信中提取行程信息。The first itinerary information acquisition unit is configured to extract the itinerary information from the short message according to the preset template.

B4、如B3所述的装置,在所述预设模板获取单元之前,还包括:B4. The device according to B3, before the preset template obtaining unit, further comprising:

预设模板构建单元,用于针对各种行程类型应用平台,根据相应行程类型应用平台对行程短信的格式,构建相应的预设模板。The preset template construction unit is used for applying the platform for various itinerary types to construct corresponding preset templates according to the format of the itinerary short message by the application platform for the corresponding itinerary type.

B5、如B1所述的装置,所述行程信息获取模块,包括:B5. The device according to B1, wherein the itinerary information acquisition module includes:

第二行程信息获取子模块,用于调用行程应用的接口,获取行程信息。The second itinerary information acquisition sub-module is used to call the interface of the itinerary application to acquire the itinerary information.

B6、如B5所述的装置,所述第二行程信息获取子模块,包括:B6. The device according to B5, wherein the second itinerary information acquisition sub-module includes:

行程描述信息获取单元,用于调用行程应用的接口,获取行程描述信息;The itinerary description information acquisition unit is used to call the interface of the itinerary application to obtain the itinerary description information;

第二行程信息获取单元,用于对所述行程描述信息进行语义分析,获取行程信息。The second itinerary information obtaining unit is configured to perform semantic analysis on the itinerary description information to obtain the itinerary information.

B7、如B1所述的装置,所述闹钟调整模块,包括:B7. The device according to B1, wherein the alarm clock adjustment module includes:

相关信息获取子模块,用于获取所述行程信息的类型信息以及时间信息;a relevant information acquisition sub-module for acquiring the type information and time information of the itinerary information;

闹钟调整子模块,用于根据所述类型信息以及时间信息,对所述闹钟应用中设置的闹钟执行相应的调整操作。The alarm clock adjustment sub-module is configured to perform a corresponding adjustment operation on the alarm clock set in the alarm clock application according to the type information and time information.

B8、如B7所述的装置,所述闹钟调整子模块,包括:B8. The device according to B7, wherein the alarm clock adjustment submodule includes:

闹钟存在性判断单元,用于当所述行程信息的类型信息为航班类型、会议类型、度假类型其中至少一个时,判断所述闹钟应用中设置的闹钟是否有在所述时间信息对应的时间周期内的闹钟;An alarm clock existence judgment unit, configured to judge whether the alarm clock set in the alarm clock application has a time period corresponding to the time information when the type information of the itinerary information is at least one of a flight type, a conference type, and a vacation type alarm clock inside;

闹钟关闭单元,用于如果有,则在所述移动终端的实时时刻进入所述时间周期时,关闭所述在所述时间信息对应的时间周期内的闹钟。An alarm clock closing unit, configured to close the alarm clock in the time period corresponding to the time information when the real-time moment of the mobile terminal enters the time period, if any.

B9、如B8所述的装置,在所述闹钟关闭单元之后,还包括:B9. The device according to B8, after the alarm clock off unit, further comprising:

闹钟打开单元,用于在所述移动终端的实时时间超过所述时间信息的结束时刻时,对所述闹钟执行打开操作。An alarm clock opening unit, configured to perform an opening operation on the alarm clock when the real-time time of the mobile terminal exceeds the end time of the time information.

B10、如B7所述的装置,所述闹钟调整子模块,包括:B10. The device according to B7, wherein the alarm clock adjustment submodule includes:

航班信息获取单元,用于当所述行程信息为航班信息时,获取所述航班信息的起飞时间以及起飞地点;a flight information acquisition unit, configured to acquire the departure time and departure location of the flight information when the itinerary information is flight information;

第一位置信息获取单元,用于获取所述移动终端当前的位置信息;a first location information acquisition unit, configured to acquire the current location information of the mobile terminal;

第一时间计算单元,用于计算当前的位置信息到达所述起飞地点的需要的第一时间;a first time calculation unit, configured to calculate the first time required for the current position information to arrive at the take-off location;

第一闹钟设置单元,用于在所述移动终端的实时时间进入距离所述起飞时间的时间段阈值内后,根据所述第一时间和预设的登机耗费时间,在闹钟应用中设置闹钟进行提醒。a first alarm clock setting unit, configured to set an alarm clock in the alarm clock application according to the first time and the preset boarding time after the real-time time of the mobile terminal enters the time period threshold from the take-off time to be reminded.

B11、如B7所述的装置,所述闹钟调整子模块,包括:B11. The device according to B7, wherein the alarm clock adjustment submodule includes:

会议信息获取单元,用于当所述行程信息为会议信息时,获取所述会议信息的会议开始时间以及参会地点;a conference information acquisition unit, configured to acquire the conference start time and the meeting place of the conference information when the itinerary information is conference information;

第二位置信息获取单元,用于获取所述移动终端当前的位置信息;a second location information acquisition unit, configured to acquire the current location information of the mobile terminal;

第二时间计算单元,用于计算当前的位置信息到达所述参会地点的需要的第一时间;a second time calculation unit, configured to calculate the first time required for the current location information to arrive at the meeting place;

第二闹钟设置单元,用于在所述移动终端的实时时间进入距离会议开始时间的时间段阈值内后,根据所述第一时间和预设误差时间,在闹钟应用中设置闹钟进行提醒。The second alarm clock setting unit is configured to set an alarm clock in the alarm clock application to remind according to the first time and the preset error time after the real-time time of the mobile terminal enters the time period threshold from the meeting start time.

本发明还公开了C1、一种移动终端,包括处理器和存储器,The invention also discloses C1, a mobile terminal, comprising a processor and a memory,

所述存储器用于存储执行A1至A11中任一项所述的闹钟调整方法的程序;The memory is used to store a program for executing the alarm clock adjustment method described in any one of A1 to A11;

所述处理器被配置为用于执行所述存储器中存储的程序。The processor is configured to execute programs stored in the memory.

Claims (19)

1. An alarm clock adjusting method is characterized by comprising the following steps:
acquiring journey information from data which is specified by a mobile terminal and has a journey planning function;
adjusting an alarm clock set in an alarm clock application in the mobile terminal according to the travel information;
the step of obtaining the trip information from the data which is specified by the mobile terminal and has the function of performing the trip planning comprises the following steps:
acquiring travel information from a short message received by a mobile terminal;
the step of obtaining the travel information from the short message received by the mobile terminal comprises the following steps:
after the monitoring mobile terminal receives the short message, judging whether a sender of the short message belongs to a journey type application platform;
if so, acquiring a preset template corresponding to the journey type application platform;
extracting the travel information from the short message according to the preset template;
the extracting of the travel information from the short message according to the preset template comprises:
and acquiring the travel information according to the initial position of the travel information in the preset template.
2. The method according to claim 1, wherein before the step of obtaining the preset template corresponding to the journey type application platform, further comprising:
and aiming at various journey type application platforms, constructing corresponding preset templates according to the formats of the corresponding journey type application platforms to the journey short messages.
3. The method according to claim 1, wherein the step of obtaining the trip information from the data with the function of performing trip planning specified by the mobile terminal comprises:
and calling an interface of the travel application to acquire the travel information.
4. The method of claim 3, wherein the step of invoking the interface of the travel application to obtain the travel information comprises:
calling an interface of the travel application to acquire travel description information;
and carrying out semantic analysis on the travel description information to acquire the travel information.
5. The method according to claim 1, wherein the step of adjusting the alarm clock set in the alarm clock application in the mobile terminal according to the travel information comprises:
acquiring type information and time information of the travel information;
and executing corresponding adjustment operation on the alarm clock set in the alarm clock application according to the type information and the time information.
6. The method according to claim 5, wherein the step of performing corresponding adjustment operation on the alarm clock set in the alarm clock application according to the type information and the time information comprises:
when the type information of the travel information is at least one of a flight type, a conference type and a vacation type, judging whether an alarm clock set in the alarm clock application has an alarm clock in a time period corresponding to the time information;
if yes, the alarm clock in the time period corresponding to the time information is closed when the real-time of the mobile terminal enters the time period.
7. The method according to claim 6, wherein after the step of turning off the alarm clock within the time period corresponding to the time information when the real-time of the mobile terminal enters the time period, the method further comprises:
and when the real-time of the mobile terminal exceeds the end time of the time information, opening the alarm clock.
8. The method according to claim 5, wherein the step of performing corresponding adjustment operation on the alarm clock set in the alarm clock application according to the type information and the time information comprises:
when the travel information is flight information, acquiring the takeoff time and the takeoff place of the flight information;
acquiring current position information of the mobile terminal;
calculating a first time required for the current position information to reach the takeoff location;
and after the real-time of the mobile terminal enters a time period threshold value away from the takeoff time, setting an alarm clock in alarm clock application for reminding according to the first time and the preset boarding time consumption.
9. The method according to claim 5, wherein the step of performing corresponding adjustment operation on the alarm clock set in the alarm clock application according to the type information and the time information comprises:
when the travel information is meeting information, meeting starting time and meeting participating positions of the meeting information are obtained;
acquiring current position information of the mobile terminal;
calculating a first time required for the current position information to reach the meeting place;
and after the real-time of the mobile terminal enters a time period threshold value from the starting time of the conference, setting an alarm clock in alarm clock application for reminding according to the first time and preset error time.
10. An alarm clock adjusting device, comprising:
the system comprises a journey information acquisition module, a journey planning module and a journey planning module, wherein the journey information acquisition module is used for acquiring journey information from data which is specified by a mobile terminal and has a journey planning function;
the alarm clock adjusting module is used for adjusting an alarm clock set in an alarm clock application in the mobile terminal according to the travel information;
the trip information acquisition module includes:
the first journey information acquisition submodule is used for acquiring journey information from a short message received by the mobile terminal;
the first trip information obtaining sub-module includes:
the system comprises a sender judging unit, a first processing unit and a second processing unit, wherein the sender judging unit is used for judging whether a sender of the short message belongs to a one-trip type application platform or not after the monitoring mobile terminal receives the short message;
the preset template acquisition unit is used for acquiring a preset template corresponding to the journey type application platform if the preset template acquisition unit is used for acquiring the preset template corresponding to the journey type application platform;
the first journey information acquisition unit is used for extracting journey information from the short message according to the preset template;
the first travel information obtaining unit is specifically configured to obtain travel information according to an initial position of the travel information in the preset template.
11. The apparatus according to claim 10, wherein before the preset template obtaining unit, further comprising:
and the preset template construction unit is used for constructing corresponding preset templates according to the formats of the corresponding journey type application platforms to the journey short messages aiming at various journey type application platforms.
12. The apparatus of claim 10, wherein the trip information obtaining module comprises:
and the second stroke information acquisition submodule is used for calling an interface of the stroke application to acquire the stroke information.
13. The apparatus of claim 12, wherein the second trip information acquisition sub-module comprises:
the system comprises a journey description information acquisition unit, a journey management unit and a journey management unit, wherein the journey description information acquisition unit is used for calling an interface of a journey application and acquiring journey description information;
and the second travel information acquisition unit is used for performing semantic analysis on the travel description information to acquire the travel information.
14. The apparatus of claim 10, wherein the alarm clock adjustment module comprises:
the related information acquisition submodule is used for acquiring the type information and the time information of the travel information;
and the alarm clock adjusting submodule is used for executing corresponding adjusting operation on the alarm clock set in the alarm clock application according to the type information and the time information.
15. The apparatus of claim 14, wherein the alarm clock adjustment submodule comprises:
the alarm clock existence judging unit is used for judging whether an alarm clock set in the alarm clock application has an alarm clock in a time period corresponding to the time information when the type information of the travel information is at least one of a flight type, a conference type and a vacation type;
and if the time information of the alarm clock in the time period is within the time period, the alarm clock closing unit is used for closing the alarm clock in the time period corresponding to the time information when the real-time of the mobile terminal enters the time period.
16. The apparatus of claim 15, further comprising, after the alarm clock turning off unit:
and the alarm clock opening unit is used for executing opening operation on the alarm clock when the real-time of the mobile terminal exceeds the end time of the time information.
17. The apparatus of claim 14, wherein the alarm clock adjustment submodule comprises:
the flight information acquisition unit is used for acquiring the takeoff time and the takeoff place of the flight information when the travel information is the flight information;
the first position information acquisition unit is used for acquiring the current position information of the mobile terminal;
a first time calculation unit for calculating a first time required for the current position information to reach the takeoff location;
and the first alarm clock setting unit is used for setting an alarm clock in alarm clock application for reminding according to the first time and the preset boarding time after the real-time of the mobile terminal is within a time period threshold from the takeoff time.
18. The apparatus of claim 14, wherein the alarm clock adjustment submodule comprises:
a conference information obtaining unit, configured to obtain conference start time and conference participating locations of the conference information when the travel information is conference information;
a second position information obtaining unit, configured to obtain current position information of the mobile terminal;
a second time calculation unit for calculating a first time required for the current position information to reach the meeting place;
and the second alarm clock setting unit is used for setting an alarm clock in alarm clock application for reminding according to the first time and preset error time after the real-time of the mobile terminal enters a time period threshold value away from the starting time of the conference.
19. A mobile terminal comprising a processor and a memory,
the memory is used for storing a program for executing the alarm clock adjusting method of any one of claims 1 to 9;
the processor is configured to execute programs stored in the memory.
CN201710031595.0A 2017-01-17 2017-01-17 An alarm clock adjustment method, device and mobile terminal Expired - Fee Related CN106791174B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710031595.0A CN106791174B (en) 2017-01-17 2017-01-17 An alarm clock adjustment method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710031595.0A CN106791174B (en) 2017-01-17 2017-01-17 An alarm clock adjustment method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106791174A CN106791174A (en) 2017-05-31
CN106791174B true CN106791174B (en) 2020-06-23

Family

ID=58946018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710031595.0A Expired - Fee Related CN106791174B (en) 2017-01-17 2017-01-17 An alarm clock adjustment method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106791174B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108391010A (en) * 2018-02-28 2018-08-10 广东欧珀移动通信有限公司 Alarm clock control method and related product
CN108848310B (en) * 2018-07-23 2020-10-02 Oppo广东移动通信有限公司 Mobile terminal, alarm clock control method thereof and storage medium
CN108833719B (en) * 2018-08-31 2020-07-24 阿里巴巴集团控股有限公司 Reminding service realization method and device
CN110581922A (en) * 2019-08-29 2019-12-17 维沃移动通信有限公司 An alarm clock setting method and terminal device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536735A (en) * 2014-12-12 2015-04-22 魅族科技(中国)有限公司 Method and device for controlling preset reminding task
CN105333880A (en) * 2014-07-18 2016-02-17 展讯通信(上海)有限公司 Communication terminal and prompting method and device
CN105574704A (en) * 2015-04-23 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Method and device for canceling reminding event, and terminal
CN106101371A (en) * 2016-05-24 2016-11-09 乐视控股(北京)有限公司 alarm clock control method, device and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100134279A1 (en) * 2008-11-28 2010-06-03 Roy Schwartz Method and system of automatic generation of travel based action
CN105472580B (en) * 2015-11-17 2019-08-06 小米科技有限责任公司 Processing method, device, terminal and the server of information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105333880A (en) * 2014-07-18 2016-02-17 展讯通信(上海)有限公司 Communication terminal and prompting method and device
CN104536735A (en) * 2014-12-12 2015-04-22 魅族科技(中国)有限公司 Method and device for controlling preset reminding task
CN105574704A (en) * 2015-04-23 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Method and device for canceling reminding event, and terminal
CN106101371A (en) * 2016-05-24 2016-11-09 乐视控股(北京)有限公司 alarm clock control method, device and terminal device

Also Published As

Publication number Publication date
CN106791174A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN107464557B (en) Call recording method and device, mobile terminal and storage medium
US8195194B1 (en) Alarm for mobile communication device
WO2020015656A1 (en) Mobile terminal and permission management method and device for application program
CN109690479B (en) Method and device for associating notification message and mobile terminal
US20150052534A1 (en) Method and device for executing scheduled tasks, computer-readable storage medium, graphical user interface and mobile terminal
CN106791174B (en) An alarm clock adjustment method, device and mobile terminal
CN108323237B (en) Terminal behavior triggering method and terminal
CN106611300A (en) Flight information reminding method and device and mobile terminal
CN107977248B (en) Display method and mobile terminal of a desktop pendant
CN107295182A (en) Subway arrival reminding method and device, storage medium and terminal
CN107864298A (en) A kind of intelligent prompt method and device
WO2019051835A1 (en) Recommendation method and terminal
WO2021027466A1 (en) Positioning method and terminal device
CN107295183A (en) An alarm clock reminder method, device, storage medium and terminal
CN108053184B (en) Item prompting method, mobile terminal and computer readable storage medium
CN105608095A (en) Multimedia playing method and device as well as mobile terminal
CN109005290A (en) A kind of alarm clock setting method, terminal and computer readable storage medium
WO2019061276A1 (en) Signal quality alert method, terminal and server
WO2020011211A1 (en) Mobile terminal and method and device for automatically logging into application platform
US10075580B2 (en) Mobile electronic device, display control method, and non-transitory storage medium
CN106873988A (en) A kind of alarm clock automatic adjusting method, device and mobile terminal
CN109151184A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN106791010B (en) An information processing method, device and mobile terminal
CN106713627B (en) Method and device for pushing message in notification bar and mobile terminal
CN108366167A (en) A kind of method and mobile terminal of prompting message

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
TA01 Transfer of patent application right

Effective date of registration: 20170803

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUNSHIJI TECHNOLOGY Co.,Ltd.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200623

CF01 Termination of patent right due to non-payment of annual fee