CN108322613A - Information prompting method and device for silent mode, terminal and storage medium - Google Patents
Information prompting method and device for silent mode, terminal and storage medium Download PDFInfo
- Publication number
- CN108322613A CN108322613A CN201810103462.4A CN201810103462A CN108322613A CN 108322613 A CN108322613 A CN 108322613A CN 201810103462 A CN201810103462 A CN 201810103462A CN 108322613 A CN108322613 A CN 108322613A
- Authority
- CN
- China
- Prior art keywords
- alarm
- time
- terminal
- date
- system time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User 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)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及终端技术领域,特别涉及一种用于静音模式的信息提示方法、装置、终端及存储介质。The embodiments of the present application relate to the technical field of terminals, and in particular to an information prompt method, device, terminal and storage medium for silent mode.
背景技术Background technique
静音模式指的是在有来电呼入时终端不对用户进行提醒的一种声音模式,通过静音模式的设置可以避免手机发出声音而影响周围人的工作或休息。尤其在日常的工作中,静音模式成为终端常常选择的一种模式,从而可以保持安静的工作环境,使他人的工作不会受到突然的打扰。Silent mode refers to a sound mode in which the terminal does not remind the user when there is an incoming call. The setting of the silent mode can prevent the mobile phone from making sound and affecting the work or rest of people around. Especially in daily work, the silent mode has become a mode often selected by the terminal, so as to maintain a quiet working environment and prevent other people's work from being suddenly disturbed.
目前,终端设置成静音模式后,在来电呼入时无法发出系统提示音,而仅点亮终端的屏幕。At present, after the terminal is set to the silent mode, the system prompt tone cannot be issued when an incoming call comes in, but only the screen of the terminal is lit.
发明内容Contents of the invention
本申请实施例提供了一种用于静音模式的信息提示方法、装置、终端及存储介质,可以用于解决终端处于静音模式下,无法发出系统提示音而导致终端无法提示终端位置的问题。技术方案如下:Embodiments of the present application provide an information prompt method, device, terminal, and storage medium for silent mode, which can be used to solve the problem that the terminal cannot prompt the location of the terminal due to the inability to issue a system prompt tone when the terminal is in silent mode. The technical solution is as follows:
根据本申请实施例的第一方面,提供了一种用于静音模式的信息提示方法,所述方法包括:According to the first aspect of the embodiments of the present application, there is provided an information prompt method for silent mode, the method comprising:
获取在预设时长内未接来电的未接次数;Obtain the number of missed calls within the preset duration;
当所述未接次数达到预设次数阈值时,对闹钟应用的闹铃时间或终端的系统时间进行调整,调整后的所述闹铃时间与所述系统时间的差值小于预设时差阈值;When the number of missed calls reaches the preset threshold, adjust the alarm time of the alarm clock application or the system time of the terminal, and the difference between the adjusted alarm time and the system time is smaller than the preset time difference threshold;
当所述系统时间达到所述闹铃时间时,通过所述闹钟应用以预设提示形式进行信息提示,所述预设提示形式包括闹铃播放形式和/或机身振动形式。When the system time reaches the alarm time, the alarm clock application is used to provide an information prompt in a preset prompt form, and the preset prompt form includes an alarm playing form and/or a body vibration form.
根据本申请实施例的第二方面,提供了一种用于静音模式的信息提示装置,所述装置包括:According to the second aspect of the embodiments of the present application, there is provided an information prompting device for silent mode, the device comprising:
获取模块,用于获取在预设时长内未接来电的未接次数;An acquisition module, configured to acquire the number of missed calls missed within a preset duration;
调整模块,用于当所述未接次数达到预设次数阈值时,对闹钟应用的闹铃时间或终端的系统时间进行调整,调整后的所述闹铃时间与所述系统时间的差值小于预设时差阈值;An adjustment module, configured to adjust the alarm time of the alarm clock application or the system time of the terminal when the number of missed calls reaches a preset number of times threshold, and the difference between the adjusted alarm time and the system time is less than Preset time difference threshold;
提示模块,用于当所述系统时间达到所述闹铃时间时,通过所述闹钟应用以预设提示形式进行信息提示,所述预设提示形式包括闹铃播放形式和/或机身振动形式。A prompt module, configured to provide information prompts in a preset prompt form through the alarm clock application when the system time reaches the alarm time, and the preset prompt form includes an alarm playing form and/or body vibration form .
根据本申请实施例的第三方面,提供了一种终端,所述终端包括处理器和存储器,所述存储器中存储有至少一条指令,所述指令由所述处理器加载并执行以实现如本申请第一方面及其可选实施例任一所述的用于静音模式的信息提示方法。According to a third aspect of the embodiments of the present application, there is provided a terminal, the terminal includes a processor and a memory, the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the Apply for the information prompting method for silent mode described in any one of the first aspect and its optional embodiments.
根据本申请实施例的第四方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令,所述指令由处理器加载并执行以实现如本申请第一方面及其可选实施例任一所述的用于静音模式的信息提示方法。According to a fourth aspect of the embodiments of the present application, there is provided a computer-readable storage medium, the storage medium stores at least one instruction, and the instruction is loaded and executed by a processor to implement the first aspect of the present application and its The information prompting method for silent mode described in any one of the optional embodiments.
本申请实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided by the embodiments of the present application are:
通过获取在预设时长内未接来电的未接次数,当未接次数达到预设次数阈值时,对闹钟应用的闹铃时间或终端的系统时间进行调整,调整后的闹铃时间与系统时间的差值小于预设时差阈值,当系统时间达到闹铃时间时,通过闹钟应用以预设提示形式进行信息提示,预设提示形式包括闹铃播放形式和/或机身振动形式。使得终端处于静音模式下时,通过闹钟应用进行闹铃播放和/或机身振动向用户提示终端位置,避免了相关技术中终端处于静音模式下,无法发出系统提示音而导致终端无法提示终端位置的问题,提高了终端的寻找效率和灵活性。By acquiring the number of missed calls within the preset duration, when the number of missed calls reaches the preset number threshold, adjust the alarm time of the alarm clock application or the system time of the terminal, the adjusted alarm time and the system time The difference between the time difference is less than the preset time difference threshold, and when the system time reaches the alarm time, the alarm clock application will give an information prompt in the form of a preset prompt, and the preset prompt form includes the form of alarm playing and/or the form of body vibration. When the terminal is in the silent mode, the alarm clock application is used to play the alarm and/or vibrate the body to remind the user of the terminal location, which avoids the failure of the terminal in the related art to prompt the terminal location when the terminal is in the silent mode and cannot issue a system prompt problem, improving the terminal search efficiency and flexibility.
附图说明Description of drawings
图1是本申请一个示例性实施例所提供的终端的结构示意图;FIG. 1 is a schematic structural diagram of a terminal provided by an exemplary embodiment of the present application;
图2是本申请一个示例性实施例提供的用于静音模式的信息提示方法的流程图;FIG. 2 is a flowchart of an information prompt method for silent mode provided by an exemplary embodiment of the present application;
图3是本申请另一个示例性实施例提供的用于静音模式的信息提示方法的流程图;FIG. 3 is a flow chart of an information prompt method for silent mode provided by another exemplary embodiment of the present application;
图4是本申请另一个示例性实施例提供的用于静音模式的信息提示方法的流程图;FIG. 4 is a flow chart of an information prompt method for silent mode provided by another exemplary embodiment of the present application;
图5是本申请一个实施例提供的于静音模式的信息提示装置的结构示意图。Fig. 5 is a schematic structural diagram of an information prompting device in silent mode provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.
下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.
在本申请的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。此外,在本申请的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In the description of the present application, it should be understood that the terms "first", "second" and so on are used for descriptive purposes only, and should not be understood as indicating or implying relative importance. In the description of this application, it should be noted that, unless otherwise clearly stipulated and limited, the terms "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integrated Ground connection; it can be mechanical connection or electrical connection; it can be direct connection or indirect connection through an intermediary. Those of ordinary skill in the art can understand the specific meanings of the above terms in this application in specific situations. In addition, in the description of the present application, unless otherwise specified, "plurality" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship.
首先,对本申请实施例涉及到的一些名词进行解释:First, some nouns involved in the embodiments of this application are explained:
声音模式:包括响铃模式、振动模式和所述静音模式中的一种。Sound mode: including one of ring mode, vibration mode and the silent mode.
其中,响铃模式为终端对接收到的呼叫请求进行声音提示的模式。振动模式为终端对接收到的呼叫请求不进行声音提示,而是由终端的机身振动进行提示的模式。静音模式为终端对接收到的呼叫请求不进行声音提示和机身振动的模式。Wherein, the ringing mode is a mode in which the terminal gives sound prompts to received call requests. The vibration mode is a mode in which the terminal does not provide sound prompts for received call requests, but the terminal body vibrates for prompts. The silent mode is a mode in which the terminal does not perform sound prompts and body vibrations for received call requests.
闹铃时间:闹铃应用中目标闹钟所设置的闹铃开始时间。闹铃时间包括闹铃时刻和模式参数。目标闹钟为闹铃应用中的一个闹钟。Alarm time: the start time of the alarm set by the target alarm clock in the alarm application. The alarm time includes alarm time and mode parameters. The target alarm clock is an alarm clock in the alarm clock application.
其中,闹铃时刻为目标闹钟所设置的闹铃开始的时间点。Wherein, the alarm time is the time point when the alarm set by the target alarm clock starts.
可选的,当模式参数包括一个闹铃日期时,该模式参数用于指示闹铃为一次性闹钟;当模式参数包括N个闹铃星期数时,模式参数用于指示闹铃为重复性闹钟。Optionally, when the mode parameter includes an alarm date, the mode parameter is used to indicate that the alarm is a one-time alarm; when the mode parameter includes N alarm week numbers, the mode parameter is used to indicate that the alarm is a recurring alarm .
其中,N个闹铃星期数包括星期一至星期日中的至少一个,所述N为小于8的正整数。Wherein, the N alarm week numbers include at least one of Monday to Sunday, and said N is a positive integer less than 8.
比如,闹铃时刻为08:00:00,模式参数包括星期一至星期五这5个闹铃星期数。For example, the alarm time is 08:00:00, and the mode parameter includes five alarm week numbers from Monday to Friday.
系统时间:终端中记录的当前时间。系统时间包括系统时刻和系统日期。System time: the current time recorded in the terminal. System time includes system time and system date.
其中,系统时刻为终端中记录的当前时间的时间点,系统日期包括终端中记录的当前时间的年份、月份和日期。Wherein, the system time is the time point of the current time recorded in the terminal, and the system date includes the year, month and date of the current time recorded in the terminal.
比如,系统时刻为07:30:00,系统日期为2017.12.21。For example, the system time is 07:30:00, and the system date is 2017.12.21.
相关技术中,终端设置成静音模式后,在来电呼入时不会有任何声音提示信息,而仅点亮终端的屏幕。若用户将终端随手放置,一段时间后用户可能会遗忘自己手机具体放置的地方,此时用户通过其他终端拨打自身的终端,由于终端处于静音模式,该终端无法向用户提供有效的提示信息(比如:发出系统提示音),也就无法通过提示信息向用户提示终端位置。目前尚未提供一种方便而可靠的信息提示方法。In the related art, after the terminal is set to the silent mode, there will not be any sound prompt information when an incoming call comes in, but only the screen of the terminal will be lit. If the user places the terminal casually, the user may forget where the mobile phone is placed after a period of time. At this time, the user dials his own terminal through other terminals. Since the terminal is in silent mode, the terminal cannot provide the user with effective prompt information (such as : send a system prompt tone), it is impossible to prompt the user the location of the terminal through the prompt message. A convenient and reliable method for prompting information has not been provided yet.
本申请实施例提供了一种用于静音模式的信息提示方法、装置、终端及存储介质,以解决上述相关技术中存在的问题。本申请提供的技术方案中,通过获取在预设时长内未接来电的未接次数,当未接次数达到预设次数阈值时,对闹钟应用的闹铃时间或终端的系统时间进行调整,调整后的闹铃时间与系统时间的差值小于预设时差阈值,当系统时间达到闹铃时间时,通过闹钟应用以预设提示形式进行信息提示,预设提示形式包括闹铃播放形式和/或机身振动形式。使得终端处于静音模式下时,通过闹钟应用进行闹铃播放和/或机身振动向用户提示终端位置,避免了相关技术中终端处于静音模式下,无法发出系统提示音而导致终端无法提示终端位置的问题,提高了终端的寻找效率和灵活性。Embodiments of the present application provide an information prompt method, device, terminal, and storage medium for silent mode, so as to solve the problems existing in the above-mentioned related technologies. In the technical solution provided by this application, by obtaining the number of missed calls within a preset time period, when the number of missed calls reaches the preset number threshold, the alarm time of the alarm clock application or the system time of the terminal is adjusted. If the difference between the latest alarm time and the system time is less than the preset time difference threshold, when the system time reaches the alarm time, an information prompt will be given in the form of a preset prompt through the alarm clock application, and the preset prompt form includes an alarm playing form and/or Body vibration form. When the terminal is in the silent mode, the alarm clock application is used to play the alarm and/or vibrate the body to remind the user of the terminal location, which avoids the failure of the terminal in the related art to prompt the terminal location when the terminal is in the silent mode and cannot issue a system prompt problem, improving the terminal search efficiency and flexibility.
在对本申请实施例进行解释说明之前,先对本申请实施例的应用场景进行说明。图1示出了本申请一个示例性实施例所提供的终端的结构示意图。Before explaining the embodiment of the present application, the application scenario of the embodiment of the present application will be described first. Fig. 1 shows a schematic structural diagram of a terminal provided by an exemplary embodiment of the present application.
该终端100是安装有闹钟应用的电子设备。该闹钟应用是具有闹铃播放和/或机身振动功能的应用程序。The terminal 100 is an electronic device installed with an alarm clock application. The alarm clock application is an application with alarm playing and/or body vibration functions.
可选的,该闹钟应用是系统程序或者第三方应用程序。其中,第三方应用程序是除了用户和操作系统之外的第三方制作的应用程序。Optionally, the alarm clock application is a system program or a third-party application program. Wherein, the third-party application program is an application program produced by a third party other than the user and the operating system.
该终端100是具有通讯功能的电子设备。比如,该终端为手机。The terminal 100 is an electronic device with a communication function. For example, the terminal is a mobile phone.
可选的,终端100是内置有运动传感器的电子设备。Optionally, the terminal 100 is an electronic device built with a motion sensor.
运动传感器包括重力传感器、加速度传感器和陀螺仪中的至少一种传感器。终端100通过上述至少一种运动传感器,采集到终端的数据信息,数据信息包括终端的加速度和/或角速度。The motion sensor includes at least one of a gravity sensor, an acceleration sensor and a gyroscope. The terminal 100 collects data information of the terminal through the above at least one motion sensor, and the data information includes the acceleration and/or angular velocity of the terminal.
可选的,该终端100中包括:处理器120和存储器140。Optionally, the terminal 100 includes: a processor 120 and a memory 140 .
处理器120可以包括一个或者多个处理核心。处理器120利用各种接口和线路连接整个终端100内的各个部分,通过运行或执行存储在存储器140内的指令、程序、代码集或指令集,以及调用存储在存储器140内的数据,执行终端100的各种功能和处理数据。可选的,处理器120可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器120可集成中央处理器(CentralProcessing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏160所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器120中,单独通过一块芯片进行实现。Processor 120 may include one or more processing cores. The processor 120 uses various interfaces and lines to connect various parts of the entire terminal 100, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 140, and calling data stored in the memory 140. 100's of various functions and processing data. Optionally, the processor 120 may use at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable LogicArray, PLA). implemented in the form of hardware. The processor 120 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly processes the operating system, the user interface and application programs, etc.; the GPU is responsible for rendering and drawing the content that needs to be displayed on the display screen 160; the modem is used for processing wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 120, but may be implemented by a single chip.
存储器140可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器140包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器140可用于存储指令、程序、代码、代码集或指令集。存储器140可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储下面各个方法实施例中涉及到的数据等。The memory 140 may include a random access memory (Random Access Memory, RAM), and may also include a read-only memory (Read-Only Memory). Optionally, the memory 140 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium). The memory 140 may be used to store instructions, programs, codes, sets of codes or sets of instructions. The memory 140 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like for implementing the following method embodiments; the storage data area can store data and the like involved in the following method embodiments.
为了使得终端处于静音模式下能够有效地提示终端位置,本申请实施例提供了一种用于静音模式的信息提示方法、装置、终端及存储介质。下面,采用示意性的实施例进行说明。In order to enable the terminal to effectively prompt the location of the terminal when the terminal is in the silent mode, the embodiments of the present application provide an information prompting method, device, terminal and storage medium for the silent mode. Hereinafter, a schematic embodiment is used for description.
请参考图2,其示出了本申请一个示例性实施例提供的用于静音模式的信息提示方法的流程图。本实施例以该信息提示方法应用于图1所示出的终端中来举例说明。该信息提示方法包括:Please refer to FIG. 2 , which shows a flow chart of an information prompt method for silent mode provided by an exemplary embodiment of the present application. This embodiment is described by taking the information prompting method applied to the terminal shown in FIG. 1 as an example. The information prompt method includes:
步骤201,获取在预设时长内未接来电的未接次数。Step 201, acquiring the number of missed calls within a preset time period.
可选的,当终端接收到呼叫请求时,在通话记录列表中查询该呼叫请求对应的呼叫来电是否为未接来电,若是未接来电,则在接下来的预设时长内从通话记录列表中获取未接来电的未接次数。Optionally, when the terminal receives a call request, it checks in the call record list whether the incoming call corresponding to the call request is a missed call. Get the number of missed calls.
可选的,终端存储的通话记录列表中包括有多个通话记录,每个通话记录对应一次呼叫请求。当通话记录中的接通标识为第一标识时,用于指示呼叫请求对应的呼叫来电未接通,即该呼叫来电为未接来电;当通话记录中的接通标识为第二标识时,用于指示呼叫请求对应的呼叫来电接通,即该呼叫来电为已接来电。Optionally, the call record list stored in the terminal includes multiple call records, and each call record corresponds to a call request. When the connection identification in the call record is the first identification, it is used to indicate that the incoming call corresponding to the call request is not connected, that is, the incoming call is a missed call; when the connection identification in the call record is the second identification, It is used to indicate that the incoming call corresponding to the call request is connected, that is, the incoming call is a received call.
其中,预设时长是终端默认设置的,或者是用户自定义设置的;比如,预设时长为1分钟。本申请实施例对此不加以限定。Wherein, the preset duration is a default setting of the terminal, or a user-defined setting; for example, the preset duration is 1 minute. This embodiment of the present application does not limit it.
步骤202,当未接次数达到预设次数阈值时,对闹钟应用的闹铃时间或终端的系统时间进行调整,调整后的闹铃时间与系统时间的差值小于预设时差阈值。Step 202, when the number of missed calls reaches the preset threshold, adjust the alarm time of the alarm clock application or the system time of the terminal, and the difference between the adjusted alarm time and the system time is smaller than the preset time difference threshold.
预设次数阈值是终端默认设置的,或者是用户自定义设置的;比如,预设次数阈值为6次。本申请实施例对此不加以限定。The preset number of times threshold is set by the terminal by default or user-defined; for example, the preset number of times threshold is 6 times. This embodiment of the present application does not limit it.
示意性的,当终端检测到在1分钟内未接来电的未接次数达到6次时,对闹钟应用的闹铃时间或终端的系统时间进行调整。Schematically, when the terminal detects that the number of missed calls within 1 minute reaches 6 times, the alarm time of the alarm clock application or the system time of the terminal is adjusted.
可选的,终端对闹钟应用的闹铃时间或终端的系统时间进行调整,包括但不限于以下三种可能的实现方式:Optionally, the terminal adjusts the alarm time of the alarm clock application or the system time of the terminal, including but not limited to the following three possible implementation methods:
第一种可能的实现方式:根据闹铃时间对系统时间进行修改,修改后的系统时间为闹铃时间,或者修改后的系统时间早于闹铃时间且与闹铃时间的差值绝对值小于预设时差阈值。The first possible implementation method: modify the system time according to the alarm time, the modified system time is the alarm time, or the modified system time is earlier than the alarm time and the absolute value of the difference between the alarm time and the alarm time is less than Preset time difference threshold.
示意性的,终端根据闹铃时间对系统时间进行修改,包括:将系统时间修改为闹铃时间,或者,将系统时间修改为早于闹铃时间且与闹铃时间的时差小于预设时差阈值的时间。Schematically, the terminal modifies the system time according to the alarm time, including: modifying the system time to the alarm time, or modifying the system time to be earlier than the alarm time and the time difference from the alarm time is less than the preset time difference threshold time.
第二种可能的实现方式:根据系统时间对闹铃时间进行修改,修改后的闹铃时间为系统时间,或者修改后的闹铃时间晚于系统时间且与系统时间的差值绝对值小于预设时差阈值。The second possible implementation method: modify the alarm time according to the system time, the modified alarm time is the system time, or the modified alarm time is later than the system time and the absolute value of the difference with the system time is smaller than the preset Set the time difference threshold.
第三种可能的实现方式:根据系统时间,在闹钟应用中新增目标闹铃,目标闹铃的闹铃时间为系统时间,或者目标闹铃的闹铃时间晚于系统时间且与系统时间的差值绝对值小于预设时差阈值。The third possible implementation method: according to the system time, add a target alarm in the alarm clock application, the alarm time of the target alarm is the system time, or the alarm time of the target alarm is later than the system time and is the same as the system time The absolute value of the difference is smaller than the preset time difference threshold.
预设时差阈值是终端默认设置的,或者是用户自定义设置的;比如,预设时差阈值为20秒。本申请实施例对此不加以限定。The preset time difference threshold is set by the terminal by default or user-defined; for example, the preset time difference threshold is 20 seconds. This embodiment of the present application does not limit it.
需要说明的是,上述三种可能的实现方式各自对应的实施细节可参考下面实施例中的相关描述,在此先不介绍。It should be noted that, for implementation details corresponding to each of the above three possible implementation manners, reference may be made to relevant descriptions in the following embodiments, which will not be introduced here.
步骤203,当系统时间达到闹铃时间时,通过闹钟应用以预设提示形式进行信息提示,预设提示形式包括闹铃播放形式和/或机身振动形式。Step 203 , when the system time reaches the alarm time, the alarm clock application provides an information prompt in a preset prompt form, and the preset prompt form includes an alarm playing form and/or a body vibration form.
在终端对闹钟应用的闹铃时间或终端的系统时间调整成功后,当系统时间达到闹铃时间时,终端通过闹钟应用以闹铃播放形式和/或机身振动形式进行信息提示。After the terminal successfully adjusts the alarm time of the alarm clock application or the system time of the terminal, when the system time reaches the alarm time, the terminal will give an information prompt in the form of alarm playing and/or body vibration through the alarm clock application.
综上所述,本实施例通过获取在预设时长内未接来电的未接次数,当未接次数达到预设次数阈值时,对闹钟应用的闹铃时间或终端的系统时间进行调整,调整后的闹铃时间与系统时间的差值小于预设时差阈值,当系统时间达到闹铃时间时,通过闹钟应用以预设提示形式进行信息提示,预设提示形式包括闹铃播放形式和/或机身振动形式;使得终端处于静音模式下时,通过闹钟应用进行闹铃播放和/或机身振动向用户提示终端位置,避免了相关技术中终端处于静音模式下,无法发出系统提示音而导致终端无法提示终端位置的问题,提高了终端的寻找效率和灵活性。To sum up, in this embodiment, by obtaining the number of missed calls within a preset time period, when the number of missed calls reaches the preset number threshold, the alarm time of the alarm clock application or the system time of the terminal is adjusted. If the difference between the latest alarm time and the system time is less than the preset time difference threshold, when the system time reaches the alarm time, an information prompt will be given in the form of a preset prompt through the alarm clock application, and the preset prompt form includes an alarm playing form and/or Body vibration form; when the terminal is in the silent mode, the alarm clock application is used to play the alarm and/or the body vibrates to remind the user of the terminal location, which avoids the terminal in the silent mode in the related technology and cannot issue system prompts. The problem that the terminal cannot prompt the location of the terminal improves the efficiency and flexibility of searching for the terminal.
请参考图3,其示出了本申请一个示例性实施例提供的用于静音模式的信息提示方法的流程图。本实施例以该信息提示方法应用于图1所示出的终端中来举例说明。该信息提示方法包括:Please refer to FIG. 3 , which shows a flow chart of an information prompt method for silent mode provided by an exemplary embodiment of the present application. This embodiment is described by taking the information prompting method applied to the terminal shown in FIG. 1 as an example. The information prompt method includes:
步骤301,获取未接来电对应的第一时刻,第一时刻为未接来电对应的呼叫请求的接收时刻。In step 301, the first time corresponding to the missed call is acquired, and the first time is the receiving time of the call request corresponding to the missed call.
当终端接收到呼叫请求时,发送广播,通过监听广播判断终端的通话记录列表中该呼叫请求对应的呼叫来电是否为未接来电。When the terminal receives a call request, it sends a broadcast, and judges whether the call corresponding to the call request in the call record list of the terminal is a missed call by monitoring the broadcast.
比如,终端发送的广播为com.android*.phone.NotificationMgr.MissedCall_intent。For example, the broadcast sent by the terminal is com.android*.phone.NotificationMgr.MissedCall_intent.
步骤302,获取内置的运动传感器对应的第二时刻,第二时刻为运动传感器采集到的最近一次数据信息发生变化的时刻。In step 302, the second time corresponding to the built-in motion sensor is acquired, and the second time is the time when the latest data information collected by the motion sensor changes.
终端通过传感器管理器函数来获取传感器信息列表,该传感器信息列表中存储有数据信息和该数据信息发生变化的时刻之间的对应关系。The terminal obtains the sensor information list through the function of the sensor manager, and the sensor information list stores the corresponding relationship between data information and the time when the data information changes.
示意性的,传感器管理器函数为private void getSensorList()函数。Schematically, the sensor manager function is a private void getSensorList() function.
终端根据获取到的第一时刻,从运动传感器对应的传感器信息列表中查询距离第一时刻最近的数据信息发生变化的时刻,将查询到的时刻确定为第二时刻。According to the acquired first moment, the terminal queries the moment when the data information closest to the first moment changes from the sensor information list corresponding to the motion sensor, and determines the queried moment as the second moment.
步骤303,判断第一时刻与第二时刻的差值绝对值是否大于预设时长阈值。Step 303, judging whether the absolute value of the difference between the first moment and the second moment is greater than a preset duration threshold.
以第二时刻即运动传感器采集到的最近一次数据信息发生变化的时刻作为参考时刻,是因为用户将终端从手中放置在任意位置时均会存在一个下放的动作,即终端能够通过内置的运动传感器检测到该动作对应的数据信息的变化。The second moment, that is, the moment when the latest data information collected by the motion sensor changes, is used as the reference moment because when the user places the terminal in any position from the hand, there will be a downward action, that is, the terminal can pass through the built-in motion sensor. A change in the data information corresponding to the action is detected.
可选的,终端判断第一时刻与第二时刻的差值绝对值是否大于预设时长阈值,若大于预设时长阈值,则表示终端在某个位置上处于静止状态的时长较长,即此时可能存在需要向用户提示终端位置的需求,此时终端可以执行步骤304;若小于预设时长阈值,则表示终端在某个位置上处于静止状态的时长较短,即不存在需要向用户提示终端位置的需求,不需要做处理,结束流程。Optionally, the terminal judges whether the absolute value of the difference between the first moment and the second moment is greater than the preset duration threshold. If it is greater than the preset duration threshold, it means that the terminal has been in a static state for a long time at a certain position, that is, this At this time, there may be a need to remind the user of the location of the terminal. At this time, the terminal can perform step 304; if it is less than the preset duration threshold, it means that the duration of the terminal in a static state at a certain location is relatively short, that is, there is no need to remind the user. The demand for the terminal position does not need to be processed, and the process ends.
预设时长阈值是终端默认设置的,或者是用户自定义设置的;比如,预设时长阈值为30分钟。本申请实施例对此不加以限定。The preset duration threshold is set by the terminal by default or user-defined; for example, the preset duration threshold is 30 minutes. This embodiment of the present application does not limit it.
步骤304,当第一时刻与第二时刻的差值绝对值大于预设时长阈值时,获取终端的声音模式。Step 304, when the absolute value of the difference between the first moment and the second moment is greater than the preset duration threshold, acquire the sound mode of the terminal.
当终端判断出第一时刻与第二时刻的差值绝对值大于预设时长阈值时,获取终端的声音模式。When the terminal determines that the absolute value of the difference between the first moment and the second moment is greater than the preset duration threshold, the sound mode of the terminal is acquired.
其中,声音模式包括响铃模式、振动模式和所述静音模式中的一种。Wherein, the sound mode includes one of a ringing mode, a vibration mode and the silent mode.
步骤305,判断终端的声音模式是否为静音模式。Step 305, judging whether the sound mode of the terminal is a silent mode.
终端判断终端的声音模式是否为静音模式,若终端的声音模式是静音模式,则执行步骤306,若终端的声音模式不是静音模式,则表示终端能够向用户提供有效的提示信息(比如:发出系统提示音或者机身振动),不需要做处理,结束流程。The terminal judges whether the sound mode of the terminal is a silent mode, if the sound mode of the terminal is a silent mode, then execute step 306, if the sound mode of the terminal is not a silent mode, it means that the terminal can provide effective prompt information to the user (for example: send out system Prompt sound or body vibration), no processing is required, and the process ends.
可选的,由于当用户设置声音模式时,终端会广播一个设置消息,因此终端预先定义一个广播接收器,该广播接收器用于监听该设置消息,通过声音管理器(英文:AudioManager)提供的接口判断声音模式是否为静音模式。Optionally, because when the user sets the sound mode, the terminal will broadcast a setting message, so the terminal pre-defines a broadcast receiver, which is used to monitor the setting message, through the interface provided by the sound manager (English: AudioManager) Determine whether the sound mode is silent mode.
示意性的,设置消息为RING_MODE_CHANGE_ACTION消息,定义广播接收器的格式为private BroadcastReceiver mReceiver=new BroadcastReceiver,当声音模式对应的值为case AudioManager.RINGER_MODE_SILENT时表示该声音模式为静音模式。Schematically, set the message as RING_MODE_CHANGE_ACTION message, define the format of the broadcast receiver as private BroadcastReceiver mReceiver=new BroadcastReceiver, when the value corresponding to the sound mode is case AudioManager.RINGER_MODE_SILENT, it means that the sound mode is silent mode.
步骤306,当终端的声音模式为静音模式时,统计在预设时长内未接来电的未接次数。Step 306, when the sound mode of the terminal is the silent mode, count the number of missed calls within a preset time period.
可选的,当终端的声音模式为静音模式时,终端通过第一函数读取在预设时长内未接来电的未接次数。示意性的,第一函数为private int readMissCall()函数。Optionally, when the sound mode of the terminal is the silent mode, the terminal uses the first function to read the number of missed calls within a preset time period. Schematically, the first function is a private int readMissCall() function.
可选的,终端统计在预设时长内未接来电的未接次数,包括:统计在预设时长内属于来电方的未接来电的数量,将统计到的数量确定为未接次数。其中,呼叫标识用于唯一标识发送呼叫请求的来电方。Optionally, the terminal counts the number of missed calls within the preset time period, including: counting the number of missed calls belonging to the caller within the preset time period, and determining the counted number as the number of missed calls. Wherein, the call identifier is used to uniquely identify the caller who sends the call request.
示意性的,终端统计在1分钟内未接来电的未接次数为8次。Schematically, the terminal counts the number of missed calls within 1 minute as 8 times.
步骤307,判断未接次数是否达到预设次数阈值。Step 307, judging whether the number of missed calls reaches a preset threshold.
终端判断未接次数是否达到预设次数阈值,若未接次数达到预设次数阈值,则执行步骤308,若未接次数未达到预设次数阈值,则不需要做处理,结束流程。The terminal judges whether the number of missed calls reaches the preset threshold. If the number of missed calls reaches the preset threshold, step 308 is performed. If the number of missed calls does not reach the preset threshold, no processing is required and the process ends.
步骤308,当未接次数达到预设次数阈值时,获取闹钟应用的闹铃时间和终端的系统时间。Step 308, when the number of missed calls reaches the preset threshold, acquire the alarm time of the alarm clock application and the system time of the terminal.
当未接次数达到预设次数阈值时,终端同时获取闹钟应用的闹铃时间和终端的系统时间。其中,闹铃时间包括闹铃时刻和模式参数,系统时间包括系统时刻和系统日期。When the number of missed calls reaches the preset threshold, the terminal acquires the alarm time of the alarm clock application and the system time of the terminal at the same time. Wherein, the alarm time includes the alarm time and mode parameters, and the system time includes the system time and the system date.
可选的,终端获取闹钟应用的闹铃时间,包括:终端获取闹钟应用对应的闹钟列表,将闹钟列表中处于开启状态的第一个闹钟确定为目标闹钟;获取目标闹钟的闹铃时间。Optionally, the terminal obtaining the alarm time of the alarm clock application includes: the terminal obtaining the alarm clock list corresponding to the alarm clock application, determining the first alarm clock in the alarm clock list that is turned on as the target alarm clock; and obtaining the alarm time of the target alarm clock.
其中,闹钟列表中包括N个闹钟各自对应的闹铃时间,N为正整数,闹钟的闹钟状态包括开启状态和关闭状态。Wherein, the alarm clock list includes alarm times corresponding to each of the N alarm clocks, N is a positive integer, and the alarm clock status of the alarm clock includes an on state and an off state.
示意性的,终端通过调用第二函数获取闹钟列表中目标闹钟的闹铃时间。比如,第二函数为String str=Settings.System.getString(mActivityObject.getContentResolver()。Schematically, the terminal acquires the alarm time of the target alarm clock in the alarm clock list by calling the second function. For example, the second function is String str=Settings.System.getString(mActivityObject.getContentResolver().
示意性的,终端通过调用第三函数获取Schematically, the terminal obtains by calling the third function
比如,第二函数为Calendar rightNow=Calendar.getInstance()获取终端的系统日期。For example, the second function is Calendar rightNow=Calendar.getInstance() to obtain the system date of the terminal.
步骤309,根据闹铃时间,对系统时间进行修改。Step 309, modify the system time according to the alarm time.
其中,修改后的系统时间为闹铃时间,或者修改后的系统时间早于闹铃时间且与闹铃时间的差值绝对值小于预设时差阈值。Wherein, the modified system time is the alarm time, or the modified system time is earlier than the alarm time and the absolute value of the difference between the modified system time and the alarm time is smaller than the preset time difference threshold.
可选的,终端根据闹铃时间,对系统时间进行修改,包括:根据闹铃时间中的闹铃时刻,对系统时刻进行修改;和/或,根据闹铃时间中的模式参数所指示的日期,对系统日期进行修改。相关细节可参考下面实施例中的相关描述,在此先不介绍。Optionally, the terminal modifies the system time according to the alarm time, including: modifying the system time according to the alarm time in the alarm time; and/or, according to the date indicated by the mode parameter in the alarm time , modify the system date. For relevant details, reference may be made to relevant descriptions in the following embodiments, which will not be introduced here.
步骤310,当系统时间达到闹铃时间时,通过闹钟应用以预设提示形式进行信息提示,预设提示形式包括闹铃播放形式和/或机身振动形式。Step 310, when the system time reaches the alarm time, the alarm clock application is used to provide an information prompt in a preset prompt form, and the preset prompt form includes an alarm playing form and/or a body vibration form.
当系统时间达到闹铃时间时,终端通过闹钟应用进行闹铃播放和/或机身振动。可选的,闹钟应用所播放的闹铃为该闹钟预设设置的铃声。When the system time reaches the alarm time, the terminal plays the alarm and/or vibrates the terminal through the alarm clock application. Optionally, the alarm played by the alarm clock application is the preset ringtone of the alarm clock.
需要说明的是,为了确保终端在根据闹铃时间,对系统时间进行修改时系统时间不被自动同步为网络时间,在终端对系统时间进行修改之前,需要关闭终端的联网功能,联网功能为与互联网之间进行通信的功能。在终端通过闹钟应用以预设提示形式进行信息提示之后,可以开启终端的联网功能,对系统时间进行自动更新。It should be noted that, in order to ensure that the system time is not automatically synchronized to the network time when the terminal modifies the system time according to the alarm time, before the terminal modifies the system time, the networking function of the terminal needs to be turned off. The ability to communicate between the Internet. After the terminal provides information prompts in the form of preset prompts through the alarm clock application, the terminal's networking function can be turned on to automatically update the system time.
可选的,终端关闭终端的联网功能,包括:通过登录路由器将联网功能设置为关闭状态。Optionally, disabling the networking function of the terminal by the terminal includes: setting the networking function to an off state by logging into a router.
可选的,终端开启终端的联网功能,包括:通过登录路由器将联网功能设置为开启状态。或者,显示提示信息,该提示信息用于提示将联网功能设置为开启状态。本实施例对终端关闭和开启终端的联网功能的方式不加以限定。Optionally, enabling the networking function of the terminal by the terminal includes: setting the networking function to an enabled state by logging into a router. Alternatively, a prompt message is displayed, and the prompt message is used to prompt to set the networking function to an on state. This embodiment does not limit the manner in which the terminal disables and enables the networking function of the terminal.
综上所述,本申请实施例还通过当闹铃时间中的模式参数用于指示闹铃为重复性闹钟时,获取模式参数对应的N个闹铃星期数和系统日期对应的系统星期数,若系统星期数在N个闹铃星期数中即表示系统星期数符合N个闹铃星期数,则只需对系统时刻进行修改,若系统星期数不在N个闹铃星期数中即表示系统星期数符合N个闹铃星期数,则需要在修改系统时刻之前先对系统日期进行往后推算,直到计算后的系统日期对应的系统星期数在N个闹铃星期数中,从而使得对系统时间的修改更加准确。To sum up, the embodiment of the present application also obtains the N alarm week numbers corresponding to the mode parameters and the system week number corresponding to the system date when the mode parameter in the alarm time is used to indicate that the alarm is a repetitive alarm clock, If the system week number is in the N alarm week numbers, it means that the system week number matches the N alarm week numbers, you only need to modify the system time, if the system week number is not in the N alarm week numbers, it means the system week number If the number matches the N alarm week numbers, it is necessary to calculate the system date backwards before modifying the system time until the system week number corresponding to the calculated system date is among the N alarm week numbers, so that the system time The modification is more accurate.
本申请实施例还通过在根据闹铃时间,对系统时间进行修改之前,关闭终端的联网功能,联网功能为与互联网之间进行通信的功能;在通过闹钟应用以预设提示形式进行信息提示之后,开启终端的联网功能,对系统时间进行自动更新;一方面,使得在终端对系统时间进行修改时联网功能是关闭的,避免了修改系统时间时系统时间被自动同步为网络时间而导致修改失败的情况,保证了系统时间能够修改成功;另一方面,使得在终端进行信息提示之后,能够及时地将修改后的系统时间进行自动更新,重新恢复成正确的系统时间。The embodiment of the present application also closes the networking function of the terminal before modifying the system time according to the alarm time. The networking function is a function of communicating with the Internet; , turn on the networking function of the terminal, and automatically update the system time; on the one hand, the networking function is turned off when the terminal modifies the system time, avoiding the system time being automatically synchronized to the network time when the system time is modified, resulting in a modification failure This ensures that the system time can be modified successfully; on the other hand, after the terminal gives an information prompt, the modified system time can be automatically updated in time and restored to the correct system time.
可选的,上述步骤309可以被替换实现成为如下几个步骤,如图4所示:Optionally, the above step 309 can be replaced by the following steps, as shown in FIG. 4:
步骤401,判断闹铃时间中的模式参数是否用于指示闹铃为一次性闹钟。Step 401, determine whether the mode parameter in the alarm time is used to indicate that the alarm is a one-time alarm.
终端获取到闹铃时间中的模式参数之后,判断该模式参数是否仅包括一个闹铃日期,若该模式参数仅包括一个闹铃日期,则判断出该模式参数用于指示闹铃为一次性闹钟,执行步骤402;若模式参数包括N个闹铃星期数,则判断出该模式参数用于指示闹铃为重复性闹钟,执行步骤404。After the terminal obtains the mode parameter in the alarm time, it judges whether the mode parameter only includes one alarm date, and if the mode parameter only includes one alarm date, it determines that the mode parameter is used to indicate that the alarm is a one-time alarm clock , execute step 402; if the mode parameter includes N alarm week numbers, it is determined that the mode parameter is used to indicate that the alarm is a repetitive alarm clock, and execute step 404.
当模式参数包括N个闹铃星期数,N个闹铃星期数通常为星期一至星期日中的至少一个。When the mode parameter includes N alarm week numbers, the N alarm week numbers are usually at least one of Monday to Sunday.
步骤402,当闹铃时间中的模式参数用于指示闹铃为一次性闹钟时,获取模式参数对应的闹铃日期。Step 402, when the mode parameter in the alarm time is used to indicate that the alarm is a one-time alarm, acquire the alarm date corresponding to the mode parameter.
终端获取模式参数对应的闹铃日期。可选的,当模式参数包括一个闹铃日期时,该闹铃日期通常为系统日期或者是系统日期的后一天。The terminal obtains the alarm date corresponding to the mode parameter. Optionally, when the mode parameter includes an alarm date, the alarm date is usually the system date or the day after the system date.
步骤403,判断系统时间中的系统日期与闹铃日期是否一致。Step 403, judging whether the system date in the system time is consistent with the alarm date.
终端判断系统时间中的系统日期与闹铃日期是否一致,若一致则执行步骤404,若不一致则执行步骤405。The terminal judges whether the system date in the system time is consistent with the alarm date, and if they are consistent, perform step 404, and if not, perform step 405.
步骤404,当系统时间中的系统日期与闹铃日期一致时,根据闹铃时间中的闹铃时刻对系统时间中的系统时刻进行修改。Step 404, when the system date in the system time is consistent with the alarm date, modify the system time in the system time according to the alarm time in the alarm time.
终端根据闹铃时间中的闹铃时刻对系统时间中的系统时刻进行修改。相关细节可参考当闹铃时间中的模式参数用于指示闹铃为重复性闹钟时对系统时刻进行修改的相关描述,在此先不介绍。The terminal modifies the system time in the system time according to the alarm time in the alarm time. For related details, please refer to the relevant description of modifying the system time when the mode parameter in the alarm time is used to indicate that the alarm is a repeating alarm, which will not be introduced here.
步骤405,当系统时间中的系统日期与闹铃日期不一致时,将系统时间中的系统日期修改为闹铃日期,并根据闹铃时间中的闹铃时刻对系统时间中的系统时刻进行修改。Step 405, when the system date in the system time is inconsistent with the alarm date, modify the system date in the system time to the alarm date, and modify the system time in the system time according to the alarm time in the alarm time.
终端将系统时间中的系统日期修改为闹铃日期,并根据闹铃时间中的闹铃时刻对系统时间中的系统时刻进行修改。相关细节可类比参考当闹铃时间中的模式参数用于指示闹铃为重复性闹钟时对系统日期和系统时刻进行修改的相关描述,在此先不介绍。The terminal modifies the system date in the system time to the alarm date, and modifies the system time in the system time according to the alarm time in the alarm time. Relevant details can be analogously referred to the relevant description of modifying the system date and system time when the mode parameter in the alarm time is used to indicate that the alarm is a repeating alarm, which will not be introduced here.
步骤406,当闹铃时间中的模式参数用于指示闹铃为重复性闹钟时,获取模式参数对应的N个闹铃星期数。Step 406, when the mode parameter in the alarm time is used to indicate that the alarm is a repeating alarm, acquire N alarm week numbers corresponding to the mode parameter.
其中,N个闹铃星期数包括星期一至星期日中的至少一个,N为小于8的正整数。Wherein, the N alarm week numbers include at least one of Monday to Sunday, and N is a positive integer less than 8.
当闹铃时间中的模式参数用于指示闹铃为重复性闹钟时,终端获取模式参数对应的N个闹铃星期数。When the mode parameter in the alarm time is used to indicate that the alarm is a repetitive alarm, the terminal acquires N alarm week numbers corresponding to the mode parameter.
步骤407,获取系统时间中的系统日期对应的系统星期数,系统星期数为星期一至星期日中的一个。In step 407, the system week number corresponding to the system date in the system time is obtained, and the system week number is one of Monday to Sunday.
终端获取系统时间中的系统日期对应的系统星期数。The terminal obtains the system week number corresponding to the system date in the system time.
步骤408,判断系统星期数是否在N个闹铃星期数中。Step 408, judging whether the system week number is in the N alarm week numbers.
终端判断系统星期数是否在N个闹铃星期数中。若系统星期数在N个闹铃星期数中,则执行步骤409,若系统星期数不在N个闹铃星期数中,则执行步骤410。The terminal judges whether the system week number is in the N alarm week numbers. If the system week number is in the N alarm week numbers, execute step 409 , and if the system week number is not in the N alarm week numbers, execute step 410 .
步骤409,当系统星期数在N个闹铃星期数中时,根据闹铃时刻对系统时刻进行修改。Step 409, when the system week number is among the N alarm week numbers, modify the system time according to the alarm time.
可选的,当系统星期数在N个闹铃星期数中时,根据闹铃时刻对系统时刻进行修改,包括:根据闹铃时刻和预设时差阈值确定修改后的系统时刻;将修改后的系统时刻录入脚本文件中,得到录制后的脚本文件;将录制后的脚本文件中的修改后的系统时刻写入至终端的系统服务文件中;通过启动系统服务文件,将系统时刻修改为修改后的系统时刻。Optionally, when the system week number is among the N alarm week numbers, the system time is modified according to the alarm time, including: determining the modified system time according to the alarm time and the preset time difference threshold; Enter the system time into the script file to obtain the recorded script file; write the modified system time in the recorded script file into the system service file of the terminal; modify the system time to the modified system time by starting the system service file system time.
示意性的,终端将系统时刻修改为闹铃时刻,或者,将系统时刻修改为早于闹铃时刻且与闹铃时刻的时差小于预设时差阈值的时刻。下面,为了方便说明,仅以将系统时刻修改为闹铃时刻即修改后的系统时刻为闹铃时刻为例进行说明。Schematically, the terminal modifies the system time to the alarm time, or modifies the system time to a time earlier than the alarm time and whose time difference from the alarm time is smaller than a preset time difference threshold. In the following, for the convenience of description, only the modification of the system time to the alarm time, that is, the modified system time as the alarm time is taken as an example for description.
比如,终端将闹铃时刻“08:00:00”录入setdate.sh脚本文件中,将录制后的setdate.sh脚本文件中的闹钟时刻写入系统服务文件中,终端通过启动系统init.rc文件,将系统时刻“07:30:00”修改为闹钟时刻“08:00:00”。For example, the terminal records the alarm time "08:00:00" into the setdate.sh script file, writes the recorded alarm time in the setdate.sh script file into the system service file, and the terminal starts the system init.rc file , change the system time "07:30:00" to the alarm clock time "08:00:00".
步骤410,当系统星期数不在N个闹铃星期数中时,根据N个闹铃星期数对系统日期进行修改,并根据闹铃时间中的闹铃时刻对系统时间中的系统时刻进行修改。Step 410, when the system week number is not in the N alarm week numbers, modify the system date according to the N alarm week numbers, and modify the system time in the system time according to the alarm time in the alarm time.
可选的,终端根据N个闹铃星期数对系统日期进行修改,包括:将系统日期加i,得到计算后的系统日期,i的初始值为1;当计算后的系统日期对应的系统星期数在N个闹铃星期数中时,将系统日期修改为计算后的系统日期,并根据闹铃时间中的闹铃时刻对系统时间中的系统时刻进行修改;当计算后的系统日期对应的系统星期数不在N个闹铃星期数中时,将i加1,继续执行将系统日期加i,得到计算后的系统日期的步骤。Optionally, the terminal modifies the system date according to the N alarm week numbers, including: adding i to the system date to obtain the calculated system date, and the initial value of i is 1; when the calculated system date corresponds to the system week When the number is in N alarm week numbers, modify the system date to the calculated system date, and modify the system time in the system time according to the alarm time in the alarm time; when the calculated system date corresponds to When the system week number is not among the N alarm week numbers, add 1 to i, and continue to perform the step of adding i to the system date to obtain the calculated system date.
在一个示意性的例子中,系统日期“2017.12.24”对应的系统星期数为“星期日”,N个闹铃星期数包括星期一至星期五,即系统星期数“星期日”不在N个闹铃星期数中,终端将系统日期加1,得到计算后的系统日期为“2017.12.25”,计算后的系统日期“2017.12.25”对应的系统星期数“星期一”在N个闹铃星期数中,则将系统日期“2017.12.24”修改为计算后的系统日期“2017.12.25”。In an illustrative example, the system week number corresponding to the system date "2017.12.24" is "Sunday", and the N alarm week numbers include Monday to Friday, that is, the system week number "Sunday" is not in the N alarm week numbers In the number, the terminal adds 1 to the system date to obtain the calculated system date as "2017.12.25", and the system week number "Monday" corresponding to the calculated system date "2017.12.25" is among the N alarm week numbers , modify the system date "2017.12.24" to the calculated system date "2017.12.25".
可选的,终端将系统日期修改为计算后的系统日期,并根据闹铃时间中的闹铃时刻对系统时间中的系统时刻进行修改,包括:根据系统日期和N个闹铃星期数确定修改后的系统日期,并根据闹铃时刻和预设时差阈值确定修改后的系统时刻;将修改后的系统日期和修改后的系统时刻录入脚本文件中,得到录制后的脚本文件;将录制后的脚本文件中的修改后的系统日期和修改后的系统时刻,写入至终端的系统服务文件中;通过启动系统服务文件,将系统日期修改为修改后的系统日期,并将终端的系统时刻修改为修改后的系统时刻。下面,为了方便说明,仅以将系统时刻修改为闹铃时刻即修改后的系统时刻为闹铃时刻为例进行说明。Optionally, the terminal modifies the system date to the calculated system date, and modifies the system time in the system time according to the alarm time in the alarm time, including: determining the modification according to the system date and N alarm week numbers The modified system date, and the modified system time is determined according to the alarm time and the preset time difference threshold; the modified system date and the modified system time are entered into the script file to obtain the recorded script file; the recorded The modified system date and modified system time in the script file are written into the system service file of the terminal; by starting the system service file, the system date is modified to the modified system date and the system time of the terminal is modified is the modified system time. In the following, for the convenience of description, only the modification of the system time to the alarm time, that is, the modified system time as the alarm time is taken as an example for description.
比如,终端将闹铃时刻“08:00:00”和修改后的系统日期“2017.12.25”和录入setdate.sh脚本文件中,格式如下。For example, the terminal records the alarm time "08:00:00" and the modified system date "2017.12.25" into the setdate.sh script file, and the format is as follows.
“#!/system/bin/sh"#!/system/bin/sh
susu
date-s 20171225date-s 20171225
date-s 08:30:00date-s 08:30:00
echo"*******************************echo "********************************
echo"set date 2017.12.25 08:30:00"echo "set date 2017.12.25 08:30:00"
echo"*******************************”echo "********************************"
终端将录制后的setdate.sh脚本文件中的闹钟时刻和修改后的系统日期写入系统服务文件中,终端通过启动系统init.rc文件,将系统日期“2017.12.24”修改为修改后的系统日期“2017.12.25”,将系统时刻“07:30:00”修改为闹钟时刻“08:00:00”。The terminal writes the alarm clock time and the modified system date in the recorded setdate.sh script file into the system service file, and the terminal modifies the system date "2017.12.24" to the modified system date by starting the system init.rc file Date "2017.12.25", change the system time "07:30:00" to the alarm clock time "08:00:00".
需要说明的是,当终端对闹钟应用的闹铃时间或终端的系统时间进行调整为第二种可能的实现方式可类比参考第一种可能的实现方式的实现细节,在此不再赘述。It should be noted that when the terminal adjusts the alarm time of the alarm clock application or the system time of the terminal as the second possible implementation manner, reference may be made to the implementation details of the first possible implementation manner by analogy, which will not be repeated here.
可选的,当终端对闹钟应用的闹铃时间或终端的系统时间进行调整为第三种可能的实现方式,终端根据系统时间,在闹钟应用中新增目标闹铃,包括:终端获取终端的系统时间,根据系统时间确定目标闹铃时间,根据确定出的目标闹铃时间,在闹钟应用中新增目标闹铃,该目标闹铃的闹铃时间为目标闹铃时间。Optionally, when the terminal adjusts the alarm time of the alarm clock application or the system time of the terminal as the third possible implementation method, the terminal adds a target alarm in the alarm clock application according to the system time, including: the terminal acquires the terminal's System time, determine the target alarm time according to the system time, and add a target alarm in the alarm clock application according to the determined target alarm time, and the alarm time of the target alarm is the target alarm time.
可选地,终端根据系统时间确定目标闹铃时间,包括:终端将目标闹铃时间确定为系统时间,或者将目标闹铃时间确定为晚于系统时间且与系统时间的差值小于预设时差阈值的时间。Optionally, the terminal determines the target alarm time according to the system time, including: the terminal determines the target alarm time as the system time, or determines the target alarm time to be later than the system time and the difference with the system time is less than the preset time difference Threshold time.
示意性的,系统时间为“2017.12.25 07:30:00”,预设时差阈值为20秒,则终端确定目标闹铃时间为“2017.12.25 07:30:20”。Schematically, the system time is "2017.12.25 07:30:00", and the preset time difference threshold is 20 seconds, then the terminal determines that the target alarm time is "2017.12.25 07:30:20".
在一个示意性的例子中,终端在第一时刻“07:29:00”时接收到呼叫请求,该呼叫请求对应的呼叫来电为来自呼叫方A的未接来电,终端获取运动传感器采集到的最近一次数据信息发生变化的第二时刻为“07:29:00”,判断处第一时刻与第二时刻的差值绝对值大于预设时长阈值“30分钟”,当终端检测到终端的声音模式为静音模式时,统计在1分钟内属于呼叫方A的未接来电的未接次数为“8次”,超过预设次数阈值“6次”,终端获取闹钟应用中位于第一个闹钟的闹铃时间“2017.12.25 08:00:00”和终端的系统时间“2017.12.25 07:30:00”,将终端的系统时间“2017.12.25 07:30:00”修改为“2017.12.25 07:29:30”,在30秒后即系统时间达到闹钟时间“2017.12.25 07:30:00”,终端通过闹钟应用进行闹铃播放。In a schematic example, the terminal receives a call request at the first moment "07:29:00", and the call corresponding to the call request is a missed call from caller A, and the terminal obtains the information collected by the motion sensor The second moment when the latest data information changes is "07:29:00", and the absolute value of the difference between the first moment and the second moment at the judgment point is greater than the preset duration threshold "30 minutes", when the terminal detects the terminal's voice When the mode is silent mode, the number of missed calls belonging to caller A within 1 minute is counted as "8 times", which exceeds the preset threshold of "6 times". Alarm time "2017.12.25 08:00:00" and terminal system time "2017.12.25 07:30:00", change the terminal system time "2017.12.25 07:30:00" to "2017.12.25 07:29:30", after 30 seconds, the system time reaches the alarm time "2017.12.25 07:30:00", and the terminal plays the alarm through the alarm clock application.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
请参考图5,其示出了本申请一个实施例提供的用于静音模式的信息提示装置的结构示意图。该信息提示装置可以通过专用硬件电路,或者,软硬件的结合实现成为图1中的终端的全部或一部分,该信息提示装置包括:获取模块510、调整模块520和提示模块530。Please refer to FIG. 5 , which shows a schematic structural diagram of an information prompting device for silent mode provided by an embodiment of the present application. The information prompting device can be implemented as all or part of the terminal in FIG. 1 through a dedicated hardware circuit, or a combination of software and hardware. The information prompting device includes: an acquisition module 510 , an adjustment module 520 and a prompt module 530 .
获取模块510,用于获取在预设时长内未接来电的未接次数;An acquisition module 510, configured to acquire the number of missed calls within a preset duration;
调整模块520,用于当未接次数达到预设次数阈值时,对闹钟应用的闹铃时间或终端的系统时间进行调整,调整后的闹铃时间与系统时间的差值小于预设时差阈值;The adjustment module 520 is configured to adjust the alarm time of the alarm clock application or the system time of the terminal when the number of missed calls reaches the preset threshold, and the difference between the adjusted alarm time and the system time is less than the preset time difference threshold;
提示模块530,用于当系统时间达到闹铃时间时,通过闹钟应用以预设提示形式进行信息提示,预设提示形式包括闹铃播放形式和/或机身振动形式。The prompt module 530 is configured to provide information prompts in the form of preset prompts through the alarm clock application when the system time reaches the alarm time, and the preset prompt forms include alarm playing and/or body vibration.
可选的,调整模块520,还包括:第一修改单元。Optionally, the adjustment module 520 further includes: a first modifying unit.
第一修改单元,用于根据闹铃时间,对系统时间进行修改;The first modification unit is used to modify the system time according to the alarm time;
其中,修改后的系统时间为闹铃时间,或者修改后的系统时间早于闹铃时间且与闹铃时间的差值绝对值小于预设时差阈值。Wherein, the modified system time is the alarm time, or the modified system time is earlier than the alarm time and the absolute value of the difference between the modified system time and the alarm time is smaller than the preset time difference threshold.
可选的,第一修改单元,还用于当闹铃时间中的模式参数用于指示闹铃为一次性闹钟时,获取模式参数对应的闹铃日期;Optionally, the first modification unit is also used to obtain the alarm date corresponding to the mode parameter when the mode parameter in the alarm time is used to indicate that the alarm is a one-off alarm clock;
当系统时间中的系统日期与闹铃日期一致时,根据闹铃时间中的闹铃时刻对系统时间中的系统时刻进行修改;When the system date in the system time is consistent with the alarm date, modify the system time in the system time according to the alarm time in the alarm time;
当系统时间中的系统日期与闹铃日期不一致时,将系统时间中的系统日期修改为闹铃日期,并根据闹铃时间中的闹铃时刻对系统时间中的系统时刻进行修改。When the system date in the system time is inconsistent with the alarm date, modify the system date in the system time to the alarm date, and modify the system time in the system time according to the alarm time in the alarm time.
可选的,第一修改单元,还用于当闹铃时间中的模式参数用于指示闹铃为重复性闹钟时,获取模式参数对应的N个闹铃星期数,N个闹铃星期数包括星期一至星期日中的至少一个,N为小于8的正整数;Optionally, the first modification unit is also used to obtain N alarm week numbers corresponding to the mode parameter when the mode parameter in the alarm time is used to indicate that the alarm is a repetitive alarm clock, and the N alarm week numbers include At least one of Monday to Sunday, N is a positive integer less than 8;
获取系统时间中的系统日期对应的系统星期数,系统星期数为星期一至星期日中的一个;Get the system week number corresponding to the system date in the system time, and the system week number is one of Monday to Sunday;
当系统日期对应的系统星期数在N个闹铃星期数中时,根据闹铃时间中的闹铃时刻对系统时间中的系统时刻进行修改。When the system week number corresponding to the system date is among the N alarm week numbers, the system time in the system time is modified according to the alarm time in the alarm time.
可选的,第一修改单元,还用于当闹铃时间中的模式参数用于指示闹铃为重复性闹钟时,获取模式参数对应的N个闹铃星期数,N个闹铃星期数包括星期一至星期日中的至少一个,N为小于8的正整数;Optionally, the first modification unit is also used to obtain N alarm week numbers corresponding to the mode parameter when the mode parameter in the alarm time is used to indicate that the alarm is a repetitive alarm clock, and the N alarm week numbers include At least one of Monday to Sunday, N is a positive integer less than 8;
获取系统时间中的系统日期对应的系统星期数,系统星期数为星期一至星期日中的一个;Get the system week number corresponding to the system date in the system time, and the system week number is one of Monday to Sunday;
当系统日期对应的系统星期数不在N个闹铃星期数中时,将系统日期加i,得到计算后的系统日期,i的初始值为1;When the system week number corresponding to the system date is not among the N alarm week numbers, add i to the system date to obtain the calculated system date, and the initial value of i is 1;
当计算后的系统日期对应的系统星期数在N个闹铃星期数中时,将系统日期修改为计算后的系统日期,并根据闹铃时间中的闹铃时刻对系统时间中的系统时刻进行修改;When the system week number corresponding to the calculated system date is among the N alarm week numbers, modify the system date to the calculated system date, and perform the system time in the system time according to the alarm time in the alarm time Revise;
当计算后的系统日期对应的系统星期数不在N个闹铃星期数中时,将i加1,继续执行将系统日期加i,得到计算后的系统日期的步骤。When the system week number corresponding to the calculated system date is not among the N alarm week numbers, add 1 to i, and continue the step of adding i to the system date to obtain the calculated system date.
可选的,第一修改单元,还用于根据闹铃时刻和预设时差阈值确定修改后的系统时刻;Optionally, the first modifying unit is also configured to determine the modified system time according to the alarm time and the preset time difference threshold;
将修改后的系统时刻录入脚本文件中,得到录制后的脚本文件;Record the modified system time into the script file to obtain the recorded script file;
将录制后的脚本文件中的修改后的系统时刻写入至终端的系统服务文件中;Write the modified system time in the recorded script file to the system service file of the terminal;
通过启动系统服务文件,将系统时刻修改为修改后的系统时刻。Modify the system time to the modified system time by starting the system service file.
可选的,第一修改单元,还用于将计算后的系统日期确定为修改后的系统日期,根据闹铃时刻和预设时差阈值确定修改后的系统时刻;Optionally, the first modifying unit is further configured to determine the calculated system date as the modified system date, and determine the modified system time according to the alarm time and the preset time difference threshold;
将修改后的系统日期和修改后的系统时刻录入脚本文件中,得到录制后的脚本文件;Enter the modified system date and modified system time into the script file to obtain the recorded script file;
将录制后的脚本文件中的修改后的系统日期和修改后的系统时刻,写入至终端的系统服务文件中;Write the modified system date and modified system time in the recorded script file to the system service file of the terminal;
通过启动系统服务文件,将系统日期修改为修改后的系统日期,并将终端的系统时刻修改为修改后的系统时刻。By starting the system service file, modify the system date to the modified system date, and modify the system time of the terminal to the modified system time.
可选的,该装置还包括:关闭模块和开启模块。Optionally, the device further includes: a closing module and an opening module.
关闭模块,用于关闭终端的联网功能,联网功能为与互联网之间进行通信的功能;The closing module is used to close the networking function of the terminal, and the networking function is a function of communicating with the Internet;
开启模块,用于开启终端的联网功能,对系统时间进行自动更新。The opening module is used to open the networking function of the terminal and automatically update the system time.
可选的,调整模块530还包括:第二修改单元。Optionally, the adjustment module 530 further includes: a second modifying unit.
第二修改单元,用于根据系统时间,在闹钟应用中新增目标闹铃,目标闹铃的闹铃时间为系统时间,或者目标闹铃的闹铃时间晚于系统时间且与系统时间的差值绝对值小于预设时差阈值。The second modification unit is used to add a target alarm in the alarm clock application according to the system time, the alarm time of the target alarm is the system time, or the alarm time of the target alarm is later than the system time and the difference between the system time and the system time The absolute value of the value is less than the preset time difference threshold.
可选的,该装置还包括:Optionally, the device also includes:
获取模块510,还用于获取闹钟应用对应的闹钟列表,闹钟列表中包括N个闹钟各自对应的闹铃时间,N为正整数,闹钟的闹钟状态包括开启状态和关闭状态;The obtaining module 510 is also used to obtain the alarm clock list corresponding to the alarm clock application. The alarm clock list includes the alarm time corresponding to each of the N alarm clocks, N is a positive integer, and the alarm clock state of the alarm clock includes an on state and an off state;
确定模块,用于将闹钟列表中处于开启状态的第一个闹钟确定为目标闹钟;A determining module, configured to determine the first alarm clock that is turned on in the alarm clock list as the target alarm clock;
获取模块510,还用于获取目标闹钟的闹铃时间。The obtaining module 510 is also used to obtain the alarm time of the target alarm clock.
可选的,获取模块510包括获取单元和统计单元。Optionally, the acquisition module 510 includes an acquisition unit and a statistics unit.
获取单元,用于获取终端的声音模式,声音模式包括响铃模式、振动模式和静音模式中的一种;The acquisition unit is used to acquire the sound mode of the terminal, and the sound mode includes one of a ringing mode, a vibration mode and a silent mode;
统计单元,用于当终端的声音模式为静音模式时,统计在预设时长内未接来电的未接次数。The statistical unit is configured to count the number of missed calls within a preset time period when the sound mode of the terminal is the silent mode.
可选的,获取单元,还用于获取未接来电对应的第一时刻,第一时刻为未接来电对应的呼叫请求的接收时刻;获取内置的运动传感器对应的第二时刻,第二时刻为运动传感器采集到的最近一次数据信息发生变化的时刻;当第一时刻与第二时刻的差值绝对值大于预设时长阈值时,获取终端的声音模式。Optionally, the obtaining unit is also used to obtain the first moment corresponding to the missed call, the first moment is the receiving moment of the call request corresponding to the missed call; the second moment corresponding to the built-in motion sensor is obtained, and the second moment is The moment when the latest data information collected by the motion sensor changes; when the absolute value of the difference between the first moment and the second moment is greater than the preset duration threshold, the voice mode of the terminal is acquired.
相关细节可结合参考图2至图4所示的方法实施例。其中,获取模块510还用于实现上述方法实施例中其他任意隐含或公开的与获取步骤相关的功能;调整模块520还用于实现上述方法实施例中其他任意隐含或公开的与调整步骤相关的功能;提示模块530还用于实现上述方法实施例中其他任意隐含或公开的与提示步骤相关的功能。Relevant details may be combined with reference to the method embodiments shown in FIG. 2 to FIG. 4 . Wherein, the acquisition module 510 is also used to implement any other implicit or disclosed functions related to the acquisition step in the above method embodiments; the adjustment module 520 is also used to implement any other implicit or disclosed functions related to the adjustment steps in the above method embodiments Related functions; the prompting module 530 is also configured to implement any other implicit or disclosed functions related to the prompting step in the above method embodiments.
需要说明的是,上述实施例提供的装置,在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when realizing the functions of the device provided by the above-mentioned embodiments, the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to the needs. The internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and the method embodiment provided by the above embodiment belong to the same idea, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.
本申请还提供一种计算机可读介质,其上存储有程序指令,程序指令被处理器执行时实现上述各个方法实施例提供的用于静音模式的信息提示方法。The present application also provides a computer-readable medium on which program instructions are stored, and when the program instructions are executed by a processor, the information prompting methods for silent mode provided by the above method embodiments are implemented.
本申请还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各个实施例所述的用于静音模式的信息提示方法。The present application also provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute the information prompting method for silent mode described in the foregoing embodiments.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解实现上述实施例的用于静音模式的信息提示方法中全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。Those of ordinary skill in the art can understand that all or part of the steps in the information prompt method for the silent mode of the above embodiments can be completed by hardware, or can be completed by instructing related hardware through a program, and the program can be stored in a In a computer-readable storage medium, the storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like. The above descriptions are only preferred embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the application shall be included in the protection of the application. within range.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810103462.4A CN108322613A (en) | 2018-02-01 | 2018-02-01 | Information prompting method and device for silent mode, terminal and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810103462.4A CN108322613A (en) | 2018-02-01 | 2018-02-01 | Information prompting method and device for silent mode, terminal and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108322613A true CN108322613A (en) | 2018-07-24 |
Family
ID=62888784
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810103462.4A Pending CN108322613A (en) | 2018-02-01 | 2018-02-01 | Information prompting method and device for silent mode, terminal and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108322613A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102307262A (en) * | 2011-09-13 | 2012-01-04 | 广东欧珀移动通信有限公司 | Method for controlling mobile phone alarm clock |
| CN105450860A (en) * | 2015-11-12 | 2016-03-30 | 广东欧珀移动通信有限公司 | Time adjustment method and device |
| CN105827799A (en) * | 2015-08-28 | 2016-08-03 | 维沃移动通信有限公司 | Alarm reminding method of terminal equipment and terminal equipment |
| CN105915726A (en) * | 2016-06-23 | 2016-08-31 | 惠州Tcl移动通信有限公司 | Method and system for processing missed calls for many times based on mobile terminal |
| EP3031198A4 (en) * | 2013-08-07 | 2017-03-08 | Nokia Technologies Oy | Method and apparatus for selectively configuring alarms prior to commencing silent mode of operation |
-
2018
- 2018-02-01 CN CN201810103462.4A patent/CN108322613A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102307262A (en) * | 2011-09-13 | 2012-01-04 | 广东欧珀移动通信有限公司 | Method for controlling mobile phone alarm clock |
| EP3031198A4 (en) * | 2013-08-07 | 2017-03-08 | Nokia Technologies Oy | Method and apparatus for selectively configuring alarms prior to commencing silent mode of operation |
| CN105827799A (en) * | 2015-08-28 | 2016-08-03 | 维沃移动通信有限公司 | Alarm reminding method of terminal equipment and terminal equipment |
| CN105450860A (en) * | 2015-11-12 | 2016-03-30 | 广东欧珀移动通信有限公司 | Time adjustment method and device |
| CN105915726A (en) * | 2016-06-23 | 2016-08-31 | 惠州Tcl移动通信有限公司 | Method and system for processing missed calls for many times based on mobile terminal |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102144385B (en) | Set Phone Configuration Properties with Schedule Available Status | |
| US20150058767A1 (en) | Method of displaying information by category and electronic device | |
| CN105975241A (en) | Volume regulation method and device | |
| CN105898032B (en) | Prompt sound adjustment method and device | |
| CN104065818A (en) | Method and device for prompting user | |
| JP7043604B2 (en) | Notification reminding method, group addition method, device, terminal, and storage medium | |
| CN107864297B (en) | Group adding method, device, terminal and storage medium | |
| CN111078448A (en) | Method for processing audio abnormity and electronic equipment | |
| CN108156303A (en) | Notification reminding method, device, terminal and storage medium | |
| WO2018058978A1 (en) | Reminding method and device, electronic equipment and computer storage medium | |
| CN109388366A (en) | Intelligence adjusts method, mobile terminal and the computer readable storage medium of volume | |
| CN108055404A (en) | Notification reminding method, device, terminal and storage medium | |
| CN105915726A (en) | Method and system for processing missed calls for many times based on mobile terminal | |
| CN110650253B (en) | Self-adaptive playing method of polyphonic ringtone, terminal equipment, server and storage medium | |
| CN108924921B (en) | Time synchronization control method, device, storage medium, terminal and system | |
| CN108540633A (en) | The playback that automatically delaying is left a message at equipment | |
| CN111857849B (en) | Wake-up processing method, device, electronic device and storage medium | |
| CN110418011B (en) | Method and device for generating prompt tone, intelligent equipment and storage medium | |
| CN105791542B (en) | Method and device for searching mobile terminal and mobile terminal | |
| CN104902058A (en) | Method and device for setting call reminder | |
| CN108830551A (en) | Schedule reminding method and device | |
| CN110336912B (en) | Voice broadcasting method, device, equipment and storage medium | |
| CN108322613A (en) | Information prompting method and device for silent mode, terminal and storage medium | |
| CN107479838A (en) | The information output processing method and terminal of terminal | |
| JP5899161B2 (en) | Terminal device, notification output method, and notification output program |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180724 |
|
| RJ01 | Rejection of invention patent application after publication |