WO2018223550A1 - Terminal alarm clock setting method and system - Google Patents

Terminal alarm clock setting method and system Download PDF

Info

Publication number
WO2018223550A1
WO2018223550A1 PCT/CN2017/101605 CN2017101605W WO2018223550A1 WO 2018223550 A1 WO2018223550 A1 WO 2018223550A1 CN 2017101605 W CN2017101605 W CN 2017101605W WO 2018223550 A1 WO2018223550 A1 WO 2018223550A1
Authority
WO
WIPO (PCT)
Prior art keywords
alarm
terminal
time
time period
time difference
Prior art date
Application number
PCT/CN2017/101605
Other languages
French (fr)
Chinese (zh)
Inventor
罗英杰
Original Assignee
深圳市乃斯网络科技有限公司
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 深圳市乃斯网络科技有限公司 filed Critical 深圳市乃斯网络科技有限公司
Publication of WO2018223550A1 publication Critical patent/WO2018223550A1/en

Links

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/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • 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/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and system for setting a terminal alarm clock.
  • a smart phone belongs to a common device used by people every day. There are many alarm clocks in a mobile phone, and the user needs to manually set it, and the user experience is low.
  • a method for setting a terminal alarm clock is provided, which solves the shortcoming of low user experience in the prior art.
  • a method for setting a terminal alarm clock includes the following steps:
  • one of the two alarms is set to an inactive state.
  • the method further includes:
  • the method further includes:
  • the alarm time is not in the morning time period, the alarm is set to not repeat.
  • a system for setting a terminal alarm clock includes:
  • An obtaining unit configured to extract the number of alarms set by the terminal and the time
  • a calculating unit configured to calculate a time difference between any two alarm clocks
  • control unit configured to set one of the two alarms to an inactive state if the time difference is less than a set threshold.
  • system further includes:
  • the control unit is configured to obtain a time period during which the alarm is located, such as in the morning time period, and set the repetition date to a working day.
  • system further includes:
  • the control unit is configured to set the alarm to be non-repetitive if the alarm time is not in the morning time period.
  • a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the method of setting the terminal alarm clock.
  • a terminal comprising one or more processors, a memory, a transceiver, and one or more programs, the one or more programs being stored in the memory and configured by the Executed by one or more processors, the program including instructions for performing the steps in the setting method of the terminal alarm described above.
  • the technical solution provided by the specific embodiment of the present invention extracts the number and time of the alarms set by the terminal, and calculates the time difference between any two alarm clocks. If the time difference is less than the set threshold, one of the two alarm clocks is set. Inactive state, so it automatically sets the alarm state for the time difference between the two alarm clocks, which is convenient for the user.
  • FIG. 1 is a flowchart of a method for setting a terminal alarm clock according to the present invention.
  • FIG. 2 is a structural diagram of a system for setting a terminal alarm clock according to the present invention.
  • FIG. 3 is a schematic structural diagram of hardware of a terminal provided by the present invention.
  • FIG. 1 is a flowchart of a method for setting a terminal alarm clock according to a first preferred embodiment of the present invention.
  • the method is implemented by a terminal.
  • the method is as shown in FIG. 1 , and includes the following steps:
  • Step S101 Extract the number of alarms set by the terminal and the time
  • Step S102 Calculate a time difference between any two alarm clocks
  • Step S103 If the time difference is less than the set threshold, one of the two alarms is set to an inactive state.
  • the technical solution provided by the specific embodiment of the present invention extracts the number and time of the alarms set by the terminal, and calculates the time difference between any two alarm clocks. If the time difference is less than the set threshold, one of the two alarm clocks is set. Inactive state, so it automatically sets the alarm state for the time difference between the two alarm clocks, which is convenient for the user.
  • the method may further include:
  • the method may further include:
  • the alarm time is not in the morning time period, the alarm is set to not repeat.
  • FIG. 2 is a system for setting a terminal alarm clock according to a second preferred embodiment of the present invention.
  • the system is as shown in FIG.
  • the obtaining unit 201 is configured to extract the number of alarms set by the terminal and the time;
  • the calculating unit 202 is configured to calculate a time difference between any two alarm clocks
  • the control unit 203 is configured to set one of the two alarms to an inactive state if the time difference is less than the set threshold.
  • the technical solution provided by the specific embodiment of the present invention extracts the number and time of the alarms set by the terminal, and calculates the time difference between any two alarm clocks. If the time difference is less than the set threshold, one of the two alarm clocks is set. Inactive state, so it automatically sets the alarm state for the time difference between the two alarm clocks, which is convenient for the user.
  • the above system may further include:
  • the control unit 203 is configured to acquire a time period in which the alarm is located, such as in the morning time period, and set the repetition date as the working day.
  • the above system may further include:
  • the control unit 203 is configured to set the alarm clock to be non-repetitive if the alarm time is not located in the morning time period.
  • a specific embodiment of the present invention further provides a computer readable storage medium, on which a computer program is stored, and when the program is executed by the processor, the setting method of the terminal alarm clock is implemented.
  • a specific embodiment of the present invention further provides a terminal, as shown in FIG. 3, including one or more processors 302, a memory 301, a transceiver 303, and one or more programs, the one or more programs being stored in The memory is configured and executed by the one or more processors, the program including instructions for performing the steps in the setting method of the terminal alarm described above.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a computer.
  • the computer readable medium may include random access memory (Random) Access Memory, RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), Compact Disc Read-Only Memory, CD-ROM, or other optical disc storage, magnetic storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also. Any connection may suitably be a computer readable medium.
  • a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.

Abstract

Provided are a terminal alarm clock setting method and system, the method comprising the following steps: extracting the number and times of set alarm clocks of a terminal; calculating the time difference between any two alarm clocks; if the time difference is less than a set threshold value, setting one of the two alarm clocks to be in an inactive state. The present technical solution has the advantage of a good user experience.

Description

终端闹钟的设置方法及系统  Terminal alarm clock setting method and system 技术领域Technical field
本发明涉及通信领域,尤其涉及一种终端闹钟的设置方法及系统。The present invention relates to the field of communications, and in particular, to a method and system for setting a terminal alarm clock.
背景技术Background technique
智能手机属于人日常使用的常用设备,手机中闹钟很多,都需要用户手动设置,用户体验度低。A smart phone belongs to a common device used by people every day. There are many alarm clocks in a mobile phone, and the user needs to manually set it, and the user experience is low.
技术问题technical problem
提供一种终端闹钟的设置方法,其解决了现有技术用户体验度低的缺点。A method for setting a terminal alarm clock is provided, which solves the shortcoming of low user experience in the prior art.
技术解决方案Technical solution
一方面,提供一种终端闹钟的设置方法,所述方法包括如下步骤:In one aspect, a method for setting a terminal alarm clock is provided, and the method includes the following steps:
提取终端设置的闹钟的数量以及时间;Extracting the number of alarms set by the terminal and the time;
计算任意二个闹钟之间的时间差值;Calculate the time difference between any two alarm clocks;
如该时间差值小于设定阈值,则将二个闹钟中的一个设置成非激活状态。If the time difference is less than the set threshold, one of the two alarms is set to an inactive state.
可选的,所述方法还包括:Optionally, the method further includes:
获取闹钟位于的时间段,如处于早上时间段,将重复日期设置成工作日。Get the time period in which the alarm is located, such as in the morning time period, and set the repeat date to the working day.
可选的,所述方法还包括:Optionally, the method further includes:
如该闹钟时间不位于早上时间段,则将该闹钟设置为不重复。If the alarm time is not in the morning time period, the alarm is set to not repeat.
第二方面,提供一种终端闹钟的设置系统,所述方法包括:In a second aspect, a system for setting a terminal alarm clock is provided, and the method includes:
获取单元,用于提取终端设置的闹钟的数量以及时间;An obtaining unit, configured to extract the number of alarms set by the terminal and the time;
计算单元,用于计算任意二个闹钟之间的时间差值;a calculating unit, configured to calculate a time difference between any two alarm clocks;
控制单元,用于如该时间差值小于设定阈值,则将二个闹钟中的一个设置成非激活状态。And a control unit, configured to set one of the two alarms to an inactive state if the time difference is less than a set threshold.
可选的,所述系统还包括:Optionally, the system further includes:
控制单元,用于获取闹钟位于的时间段,如处于早上时间段,将重复日期设置成工作日。The control unit is configured to obtain a time period during which the alarm is located, such as in the morning time period, and set the repetition date to a working day.
可选的,所述系统还包括:Optionally, the system further includes:
控制单元,用于如该闹钟时间不位于早上时间段,则将该闹钟设置为不重复。The control unit is configured to set the alarm to be non-repetitive if the alarm time is not in the morning time period.
第三方面,提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述终端闹钟的设置方法。In a third aspect, a computer readable storage medium is provided having stored thereon a computer program that, when executed by a processor, implements the method of setting the terminal alarm clock.
第四方面,提供一种终端,包括一个或多个处理器、存储器、收发器,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述一个或多个处理器执行,所述程序包括用于执行上述终端闹钟的设置方法中的步骤的指令。In a fourth aspect, a terminal is provided, comprising one or more processors, a memory, a transceiver, and one or more programs, the one or more programs being stored in the memory and configured by the Executed by one or more processors, the program including instructions for performing the steps in the setting method of the terminal alarm described above.
有益效果Beneficial effect
本发明具体实施方式提供的技术方案提取终端设置的闹钟的数量以及时间,计算任意二个闹钟之间的时间差值,如该时间差值小于设定阈值,则将二个闹钟中的一个设置成非激活状态,所以其对于二个闹钟之间的时间差自动设置闹钟状态,方便用户的优点。The technical solution provided by the specific embodiment of the present invention extracts the number and time of the alarms set by the terminal, and calculates the time difference between any two alarm clocks. If the time difference is less than the set threshold, one of the two alarm clocks is set. Inactive state, so it automatically sets the alarm state for the time difference between the two alarm clocks, which is convenient for the user.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明提供的一种终端闹钟的设置方法的流程图。FIG. 1 is a flowchart of a method for setting a terminal alarm clock according to the present invention.
图2为本发明提供的一种终端闹钟的设置系统的结构图。FIG. 2 is a structural diagram of a system for setting a terminal alarm clock according to the present invention.
图3为本发明提供的一种终端的硬件结构示意图。FIG. 3 is a schematic structural diagram of hardware of a terminal provided by the present invention.
本发明的实施方式Embodiments of the invention
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
参阅图1,图1为本发明第一较佳实施方式提供的一种终端闹钟的设置方法的流程图,该方法由终端来完成,该方法如图1所示,包括如下步骤:Referring to FIG. 1 , FIG. 1 is a flowchart of a method for setting a terminal alarm clock according to a first preferred embodiment of the present invention. The method is implemented by a terminal. The method is as shown in FIG. 1 , and includes the following steps:
步骤S101、提取终端设置的闹钟的数量以及时间;Step S101: Extract the number of alarms set by the terminal and the time;
步骤S102、计算任意二个闹钟之间的时间差值;Step S102: Calculate a time difference between any two alarm clocks;
步骤S103、如该时间差值小于设定阈值,则将二个闹钟中的一个设置成非激活状态。Step S103: If the time difference is less than the set threshold, one of the two alarms is set to an inactive state.
本发明具体实施方式提供的技术方案提取终端设置的闹钟的数量以及时间,计算任意二个闹钟之间的时间差值,如该时间差值小于设定阈值,则将二个闹钟中的一个设置成非激活状态,所以其对于二个闹钟之间的时间差自动设置闹钟状态,方便用户的优点。The technical solution provided by the specific embodiment of the present invention extracts the number and time of the alarms set by the terminal, and calculates the time difference between any two alarm clocks. If the time difference is less than the set threshold, one of the two alarm clocks is set. Inactive state, so it automatically sets the alarm state for the time difference between the two alarm clocks, which is convenient for the user.
可选的,上述步骤S103之后还可以包括:Optionally, after the step S103, the method may further include:
获取闹钟位于的时间段,如处于早上时间段,将重复日期设置成工作日。Get the time period in which the alarm is located, such as in the morning time period, and set the repeat date to the working day.
可选的,上述步骤S103之后还可以包括:Optionally, after the step S103, the method may further include:
如该闹钟时间不位于早上时间段,则将该闹钟设置为不重复。If the alarm time is not in the morning time period, the alarm is set to not repeat.
参阅图2,图2为本发明第二较佳实施方式提供的一种终端闹钟的设置系统,该系统如图2所示,包括:Referring to FIG. 2, FIG. 2 is a system for setting a terminal alarm clock according to a second preferred embodiment of the present invention. The system is as shown in FIG.
获取单元201,用于提取终端设置的闹钟的数量以及时间;The obtaining unit 201 is configured to extract the number of alarms set by the terminal and the time;
计算单元202,用于计算任意二个闹钟之间的时间差值;The calculating unit 202 is configured to calculate a time difference between any two alarm clocks;
控制单元203,用于如该时间差值小于设定阈值,则将二个闹钟中的一个设置成非激活状态。The control unit 203 is configured to set one of the two alarms to an inactive state if the time difference is less than the set threshold.
本发明具体实施方式提供的技术方案提取终端设置的闹钟的数量以及时间,计算任意二个闹钟之间的时间差值,如该时间差值小于设定阈值,则将二个闹钟中的一个设置成非激活状态,所以其对于二个闹钟之间的时间差自动设置闹钟状态,方便用户的优点。The technical solution provided by the specific embodiment of the present invention extracts the number and time of the alarms set by the terminal, and calculates the time difference between any two alarm clocks. If the time difference is less than the set threshold, one of the two alarm clocks is set. Inactive state, so it automatically sets the alarm state for the time difference between the two alarm clocks, which is convenient for the user.
可选的,上述系统还可以包括:Optionally, the above system may further include:
控制单元203,用于获取闹钟位于的时间段,如处于早上时间段,将重复日期设置成工作日。The control unit 203 is configured to acquire a time period in which the alarm is located, such as in the morning time period, and set the repetition date as the working day.
可选的,上述系统还可以包括:Optionally, the above system may further include:
控制单元203,用于如该闹钟时间不位于早上时间段,则将该闹钟设置为不重复。The control unit 203 is configured to set the alarm clock to be non-repetitive if the alarm time is not located in the morning time period.
需要说明的是,对于前述的各方法实施方式或实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为根据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述实施方式或实施例均属于优选实施例,所涉及的动作和单元并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments or 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 present invention is not subject to the described action sequence. Limitations, as certain steps may be performed in other sequences or concurrently in accordance with the present invention. In the following, those skilled in the art should also understand that the embodiments or examples described in the specification are preferred embodiments, and the actions and units involved are not necessarily required by the present invention.
本发明具体实施方式还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述终端闹钟的设置方法。A specific embodiment of the present invention further provides a computer readable storage medium, on which a computer program is stored, and when the program is executed by the processor, the setting method of the terminal alarm clock is implemented.
本发明具体实施方式还提供一种终端,如图3所示,包括一个或多个处理器302、存储器301、收发器303,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述一个或多个处理器执行,所述程序包括用于执行上述终端闹钟的设置方法中的步骤的指令。A specific embodiment of the present invention further provides a terminal, as shown in FIG. 3, including one or more processors 302, a memory 301, a transceiver 303, and one or more programs, the one or more programs being stored in The memory is configured and executed by the one or more processors, the program including instructions for performing the steps in the setting method of the terminal alarm described above.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
本发明实施例装置中的单元可以根据实际需要进行合并、划分和删减。本领域的技术人员可以将本说明书中描述的不同实施例以及不同实施例的特征进行结合或组合。The units in the apparatus of the embodiment of the present invention may be combined, divided, and deleted according to actual needs. Those skilled in the art can combine or combine the different embodiments described in the specification and the features of the different embodiments.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(Digital Subscriber Line,DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘(Disk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟(DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented in hardware, firmware implementation, or a combination thereof. When implemented in software, the functions described above may be stored in or transmitted as one or more instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a computer. Taking this as an example, but not limited to: the computer readable medium may include random access memory (Random) Access Memory, RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), Compact Disc Read-Only Memory, CD-ROM, or other optical disc storage, magnetic storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also. Any connection may suitably be a computer readable medium. For example, if the software is using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (Digital Subscriber Line, DSL) or wireless technology such as infrared, radio and microwave transmission from a website, server or other remote source, then coaxial cable, fiber optic cable, twisted pair, DSL or such as infrared, wireless and microwave Wireless technology is included in the fixing of the associated medium. As used in the present invention, a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.
总之,以上所述仅为本发明技术方案的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 In summary, the above description is only a preferred embodiment of the technical solution of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (8)

  1. 一种终端闹钟的设置方法,其特征在于,所述方法包括如下步骤: A method for setting a terminal alarm clock, characterized in that the method comprises the following steps:
    提取终端设置的闹钟的数量以及时间;Extracting the number of alarms set by the terminal and the time;
    计算任意二个闹钟之间的时间差值;Calculate the time difference between any two alarm clocks;
    如该时间差值小于设定阈值,则将二个闹钟中的一个设置成非激活状态。If the time difference is less than the set threshold, one of the two alarms is set to an inactive state.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    获取闹钟位于的时间段,如处于早上时间段,将重复日期设置成工作日。Get the time period in which the alarm is located, such as in the morning time period, and set the repeat date to the working day.
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    如该闹钟时间不位于早上时间段,则将该闹钟设置为不重复。If the alarm time is not in the morning time period, the alarm is set to not repeat.
  4. 一种终端闹钟的设置系统,其特征在于,所述方法包括:A system for setting a terminal alarm clock, characterized in that the method comprises:
    获取单元,用于提取终端设置的闹钟的数量以及时间;An obtaining unit, configured to extract the number of alarms set by the terminal and the time;
    计算单元,用于计算任意二个闹钟之间的时间差值;a calculating unit, configured to calculate a time difference between any two alarm clocks;
    控制单元,用于如该时间差值小于设定阈值,则将二个闹钟中的一个设置成非激活状态。And a control unit, configured to set one of the two alarms to an inactive state if the time difference is less than a set threshold.
  5. 根据权利要求4所述的系统,其特征在于,The system of claim 4 wherein:
    所述控制单元,用于获取闹钟位于的时间段,如处于早上时间段,将重复日期设置成工作日。The control unit is configured to acquire a time period in which the alarm clock is located, such as in the morning time period, and set the repetition date as the working day.
  6. 根据权利要求4所述的系统,其特征在于, The system of claim 4 wherein:
    所述控制单元,用于如该闹钟时间不位于早上时间段,则将该闹钟设置为不重复。The control unit is configured to set the alarm to be non-repetitive if the alarm time is not in the morning time period.
  7. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-3任意一项所述的终端闹钟的设置方法。A computer readable storage medium having stored thereon a computer program, the program being executed by a processor to implement a method for setting a terminal alarm according to any one of claims 1-3.
  8. 一种终端,其特征在于,包括一个或多个处理器、存储器、收发器,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述一个或多个处理器执行,所述程序包括用于执行1-3任意一项所述的终端闹钟的设置方法中的步骤的指令。 A terminal, comprising: one or more processors, a memory, a transceiver, and one or more programs, the one or more programs being stored in the memory and configured by the one Executed by a plurality of processors, the program comprising instructions for performing the steps in the setting method of the terminal alarm described in any of items 1-3.
PCT/CN2017/101605 2017-06-06 2017-09-13 Terminal alarm clock setting method and system WO2018223550A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710418185.1 2017-06-06
CN201710418185.1A CN107172291A (en) 2017-06-06 2017-06-06 The method to set up and system of terminal alarm clock

Publications (1)

Publication Number Publication Date
WO2018223550A1 true WO2018223550A1 (en) 2018-12-13

Family

ID=59825301

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/101605 WO2018223550A1 (en) 2017-06-06 2017-09-13 Terminal alarm clock setting method and system

Country Status (2)

Country Link
CN (1) CN107172291A (en)
WO (1) WO2018223550A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734151A (en) * 2017-09-26 2018-02-23 努比亚技术有限公司 A kind of method, apparatus and computer-readable recording medium for updating alarm clock
CN108390995B (en) * 2018-01-23 2020-03-31 努比亚技术有限公司 Alarm clock processing method, mobile terminal and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6310547B1 (en) * 2000-05-26 2001-10-30 Digital Security Controls Ltd. Alarm system with programmable device control
CN101571710A (en) * 2009-06-04 2009-11-04 宇龙计算机通信科技(深圳)有限公司 Alarm clock calling method, device and mobile terminal
CN106101419A (en) * 2016-06-17 2016-11-09 惠州Tcl移动通信有限公司 A kind of alarm clock prompting method based on mobile terminal and system
CN106101406A (en) * 2016-06-07 2016-11-09 Tcl移动通信科技(宁波)有限公司 A kind of shutdown quarter-bell based on mobile terminal triggers processing method and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070161372A1 (en) * 2006-01-04 2007-07-12 Gary Rogalski Cordless phone system with integrated alarm & remote monitoring capability
CN103369082B (en) * 2012-04-05 2017-09-22 富泰华工业(深圳)有限公司 The alarm clock managing and control system and alarm clock management-control method of electronic installation
US20140074535A1 (en) * 2012-09-10 2014-03-13 Vee-How Philip WOO-KWAN-CHUNG System and method for alarm and calendar event management
CN103197533A (en) * 2013-04-11 2013-07-10 华为终端有限公司 Implementation method, device and electronic equipment of alarm clock in electronic equipment
CN105847579A (en) * 2016-04-29 2016-08-10 乐视控股(北京)有限公司 Clock implementation method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6310547B1 (en) * 2000-05-26 2001-10-30 Digital Security Controls Ltd. Alarm system with programmable device control
CN101571710A (en) * 2009-06-04 2009-11-04 宇龙计算机通信科技(深圳)有限公司 Alarm clock calling method, device and mobile terminal
CN106101406A (en) * 2016-06-07 2016-11-09 Tcl移动通信科技(宁波)有限公司 A kind of shutdown quarter-bell based on mobile terminal triggers processing method and mobile terminal
CN106101419A (en) * 2016-06-17 2016-11-09 惠州Tcl移动通信有限公司 A kind of alarm clock prompting method based on mobile terminal and system

Also Published As

Publication number Publication date
CN107172291A (en) 2017-09-15

Similar Documents

Publication Publication Date Title
WO2018223553A1 (en) Terminal wifi access control method and system
WO2018218806A1 (en) Terminal privacy protection method and system
WO2018223550A1 (en) Terminal alarm clock setting method and system
WO2018218805A1 (en) Terminal ringing prompt method and system
WO2018218808A1 (en) Short message information reading method and system
WO2018218807A1 (en) Information reading method and system of wechat
WO2018227334A1 (en) Housing source recommendation method and system for second-hand house app
WO2018223552A1 (en) Terminal app rapid exiting method and system
WO2018227332A1 (en) Positioning-based terminal quick payment method and system
WO2018032335A1 (en) Method and system for closing mobile phone applications
WO2018027726A1 (en) Online music course progress acquisition method and system
WO2018209585A1 (en) Method and system for using positioning in historical walking path
WO2018205273A1 (en) Smart terminal power management method and system
WO2018227364A1 (en) Method and system for establishing terminal multicast group
WO2018209685A1 (en) Position analyzing method and system for take-out service
WO2018214055A1 (en) Method and system for implementing positioning in flight mode
WO2018223344A1 (en) Method and system for location sharing when visiting relatives
WO2018209546A1 (en) Terminal speech processing method and system
WO2018209510A1 (en) Method and system for intelligently improving electric quantity of terminal
WO2018223551A1 (en) Terminal notepad application method and system
WO2018227333A1 (en) Positioning-based terminal app recommendation method and system
WO2018032424A1 (en) Mobile phone power-saving reminding method and system
WO2018205272A1 (en) Terminal fingerprint identification application method and system
WO2018205140A1 (en) Method and system for disclosing automatic positioning interaction information about communication device
WO2018209641A1 (en) Positioning-based hotel recommendation method and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17912776

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17912776

Country of ref document: EP

Kind code of ref document: A1