CN111381908A - Timing information display method, device and storage medium - Google Patents
Timing information display method, device and storage medium Download PDFInfo
- Publication number
- CN111381908A CN111381908A CN201811613895.0A CN201811613895A CN111381908A CN 111381908 A CN111381908 A CN 111381908A CN 201811613895 A CN201811613895 A CN 201811613895A CN 111381908 A CN111381908 A CN 111381908A
- Authority
- CN
- China
- Prior art keywords
- timing
- task
- terminal
- pattern
- display area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/109—Time management, e.g. calendars, reminders, meetings or time accounting
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Entrepreneurship & Innovation (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Human Computer Interaction (AREA)
- Economics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本公开揭示了一种计时信息展示方法,属于界面交互技术领域。所述方法由终端执行,所述终端的显示屏包括第一显示区域和第二显示区域,所述第一显示区域设置在所述终端的正面或背面,所述第二显示区域设置在所述终端的侧面;所述方法包括:获取计时任务,所述计时任务包括至少一个循环计时周期;获取计时启动指令,所述计时启动指令用于触发启动所述计时任务;在所述第二显示区域内显示进度指示图案,所述进度指示图案用于指示所述计时任务的当前循环计时周期的计时进度;通过终端侧面的显示区域来显示当前循环计时周期的计时进度,能够在节约终端电量的同时,实时提示当前计时周期内的计时进度,从而可以显著的提高计时信息的展示效果。
The present disclosure discloses a timing information display method, which belongs to the technical field of interface interaction. The method is executed by a terminal, the display screen of the terminal includes a first display area and a second display area, the first display area is set on the front or back of the terminal, and the second display area is set on the The side of the terminal; the method includes: acquiring a timing task, the timing task includes at least one cyclic timing period; acquiring a timing start instruction, the timing start instruction is used to trigger the start of the timing task; in the second display area A progress indication pattern is displayed inside, and the progress indication pattern is used to indicate the timing progress of the current cyclic timing period of the timing task; the display area on the side of the terminal displays the timing progress of the current cyclic timing period, which can save the power of the terminal at the same time. , prompting the timing progress in the current timing period in real time, which can significantly improve the display effect of timing information.
Description
技术领域technical field
本公开涉及界面交互技术领域,特别涉及一种计时信息展示方法、装置及存储介质。The present disclosure relates to the technical field of interface interaction, and in particular, to a timing information display method, device and storage medium.
背景技术Background technique
番茄时钟应用程序是一种基于番茄工作法的应用程序,其作用是通过合理规划用户集中精力工作的时间和休息时间,来提高用户的工作效率。The Pomodoro Clock application is an application based on the Pomodoro Technique. Its function is to improve the user's work efficiency by rationally planning the user's concentrated work time and rest time.
在相关技术中,番茄时钟应用程序可以提供任务设置界面,用户在任务设置界面中设置番茄钟任务并启动任务时,番茄时钟应用程序将会在后台启动一个计时器进行计时,每计时到达25分钟时,发出震动提醒,以提示用户休息。In the related art, a Pomodoro clock application can provide a task setting interface. When a user sets a Pomodoro task in the task setting interface and starts the task, the Pomodoro Clock application will start a timer in the background to count, and each time reaches 25 minutes , a vibration reminder is issued to remind the user to rest.
发明内容SUMMARY OF THE INVENTION
本公开提供一种计时信息展示方法、装置及存储介质。所述技术方案如下:The present disclosure provides a timing information display method, device and storage medium. The technical solution is as follows:
根据本公开实施例的第一方面,提供了一种计时信息展示方法,所述方法由终端执行,所述终端的显示屏包括第一显示区域和第二显示区域,所述第一显示区域设置在所述终端的正面或背面,所述第二显示区域设置在所述终端的侧面;所述方法包括:According to a first aspect of the embodiments of the present disclosure, there is provided a timing information display method, the method is executed by a terminal, the display screen of the terminal includes a first display area and a second display area, and the first display area is set On the front or back of the terminal, the second display area is arranged on the side of the terminal; the method includes:
获取计时任务,所述计时任务包括至少一个循环计时周期;Obtaining a timing task, the timing task includes at least one cyclic timing period;
获取计时启动指令,所述计时启动指令用于触发启动所述计时任务;obtaining a timing start instruction, where the timing start instruction is used to trigger the start of the timing task;
在所述第二显示区域内显示进度指示图案,所述进度指示图案用于指示所述计时任务的当前循环计时周期的计时进度。A progress indication pattern is displayed in the second display area, and the progress indication pattern is used to indicate the timing progress of the current cyclic timing period of the timing task.
可选的,所述进度指示图案包括长度固定的第一条形图案和长度不固定的第二条形图案;Optionally, the progress indication pattern includes a first bar pattern with a fixed length and a second bar pattern with a non-fixed length;
所述在所述第二显示区域内显示进度指示图案,包括:The displaying of the progress indication pattern in the second display area includes:
根据所述当前循环计时周期的计时进度获取所述第二条形图案的长度;所述当前循环计时周期的计时进度与所述第二条形图案的长度成正相关,或者,所述当前循环计时周期的计时进度与所述第二条形图案的长度成负相关;Acquire the length of the second bar pattern according to the timing progress of the current loop timing period; the timing progress of the current loop timing period is positively correlated with the length of the second bar pattern, or the current loop timing The timing of the cycle is inversely related to the length of the second bar pattern;
在所述第二显示区域内显示所述第一条形图案,并根据所述第二条形图案的长度,在所述第一条形图案上层叠加显示所述第二条形图案。The first stripe pattern is displayed in the second display area, and the second stripe pattern is superimposed and displayed on the first stripe pattern according to the length of the second stripe pattern.
可选的,一个所述循环计时周期包含先后计时的第一时间段和第二时间段;Optionally, one of the cyclic timing periods includes a first time period and a second time period that are timed successively;
所述在所述第二显示区域内显示进度指示图案,包括:The displaying of the progress indication pattern in the second display area includes:
在所述当前循环计时周期内的第一时间段和所述当前循环计时周期内的第二时间段内,分别按照不同的显示效果显示所述进度指示图案。During the first time period in the current loop timing period and the second time period in the current loop timing period, the progress indication pattern is displayed according to different display effects, respectively.
可选的,所述方法还包括:Optionally, the method further includes:
在所述第二显示区域内显示循环计数图案,所述循环计数图案用于指示所述计时任务中已经完成计时的完整循环计时周期的数量。A cycle count pattern is displayed in the second display area, and the cycle count pattern is used to indicate the number of complete cycle timing cycles that have been clocked in the timing task.
可选的,所述方法还包括:Optionally, the method further includes:
在所述第二显示区域内显示所述进度指示图案的过程中,当所述终端处于预设工作模式,且接收到以指定提醒方式执行的提醒操作时,屏蔽所述提醒操作;During the process of displaying the progress indication pattern in the second display area, when the terminal is in a preset working mode and receives a reminder operation performed in a designated reminder mode, shielding the reminder operation;
其中,所述指定提醒方式包括声音提醒和震动提醒中的至少一种。Wherein, the designated reminder mode includes at least one of a sound reminder and a vibration reminder.
可选的,所述屏蔽所述提醒操作之前,还包括:Optionally, before the shielding the reminding operation, the method further includes:
当所述终端的正面朝向正下方时,确定所述终端处于所述预设工作模式;When the front of the terminal faces directly downward, determine that the terminal is in the preset working mode;
或者,or,
当所述终端的正面朝向正下方,且所述终端的正面与障碍物之间的距离小于预设距离阈值时,确定所述终端处于所述预设工作模式。When the front of the terminal faces directly downward, and the distance between the front of the terminal and the obstacle is less than a preset distance threshold, it is determined that the terminal is in the preset working mode.
可选的,所述方法还包括:Optionally, the method further includes:
在所述第二显示区域内显示所述提醒操作对应的通知图案。A notification pattern corresponding to the reminder operation is displayed in the second display area.
可选的,所述方法还包括:Optionally, the method further includes:
在所述第二显示区域内显示所述进度指示图案的过程中播放白噪音。White noise is played during the display of the progress indication pattern in the second display area.
可选的,所述获取计时任务,包括:Optionally, the obtaining timing task includes:
获取在所述终端中设置的提醒类型任务,所述提醒类型任务包括便签任务、日程任务或者随手记任务中的至少一种;Acquiring a reminder type task set in the terminal, where the reminder type task includes at least one of a note task, a schedule task, or a random note task;
获取所述提醒类型任务对应的计时时长;Obtain the timing duration corresponding to the reminder type task;
根据所述提醒类型任务对应的计时时长生成所述计时任务。The timing task is generated according to the timing duration corresponding to the reminder type task.
可选的,所述获取所述提醒类型任务对应的计时时长,包括:Optionally, the obtaining the timing duration corresponding to the reminder type task includes:
获取所述提醒类型任务的任务内容中包含所述计时时长;Obtaining the task content of the reminder type task includes the timing duration;
或者,展示计时时长设置界面,获取在所述计时时长设置界面中设置的所述计时时长;Or, display the timing duration setting interface, and obtain the timing duration set in the timing duration setting interface;
或者,将默认时长获取为所述计时时长。Alternatively, the default duration is obtained as the timing duration.
根据本公开实施例的第二方面,提供了一种计时信息展示装置,所述装置用于终端中,所述终端的显示屏包括第一显示区域和第二显示区域,所述第一显示区域设置在所述终端的正面或背面,所述第二显示区域设置在所述终端的侧面;所述装置包括:According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for displaying timing information, the apparatus is used in a terminal, and a display screen of the terminal includes a first display area and a second display area, the first display area is arranged on the front or back of the terminal, and the second display area is arranged on the side of the terminal; the device includes:
任务获取模块,用于获取计时任务,所述计时任务包括至少一个循环计时周期;A task acquisition module, configured to acquire a timing task, the timing task includes at least one cyclic timing period;
指令获取模块,用于获取计时启动指令,所述计时启动指令用于触发启动所述计时任务;an instruction acquisition module, configured to acquire a timing start instruction, where the timing start instruction is used to trigger the start of the timing task;
进度图案显示模块,用于在所述第二显示区域内显示进度指示图案,所述进度指示图案用于指示所述计时任务的当前循环计时周期的计时进度。A progress pattern display module, configured to display a progress indication pattern in the second display area, where the progress indication pattern is used to indicate the timing progress of the current cyclic timing period of the timing task.
可选的,所述进度指示图案包括长度固定的第一条形图案和长度不固定的第二条形图案;Optionally, the progress indication pattern includes a first bar pattern with a fixed length and a second bar pattern with a non-fixed length;
所述进度图案显示模块,具体用于根据所述当前循环计时周期的计时进度获取所述第二条形图案的长度;所述当前循环计时周期的计时进度与所述第二条形图案的长度成正相关,或者,所述当前循环计时周期的计时进度与所述第二条形图案的长度成负相关;在所述第二显示区域内显示所述第一条形图案,并根据所述第二条形图案的长度,在所述第一条形图案上层叠加显示所述第二条形图案。The progress pattern display module is specifically configured to obtain the length of the second bar pattern according to the timing progress of the current loop timing period; the timing progress of the current loop timing period and the length of the second bar pattern is positively correlated, or, the timing progress of the current cycle timing cycle is negatively correlated with the length of the second bar pattern; the first bar pattern is displayed in the second display area, and according to the second bar pattern The lengths of the two strip patterns are superimposed on the first strip pattern to display the second strip pattern.
可选的,一个所述循环计时周期包含先后计时的第一时间段和第二时间段;Optionally, one of the cyclic timing periods includes a first time period and a second time period that are timed successively;
所述进度图案显示模块,具体用于在所述当前循环计时周期内的第一时间段和所述当前循环计时周期内的第二时间段内,分别按照不同的显示效果显示所述进度指示图案。The progress pattern display module is specifically configured to display the progress indication pattern according to different display effects in the first time period in the current cycle timing period and the second time period in the current cycle time period respectively .
可选的,所述装置还包括:Optionally, the device further includes:
计数图案显示模块,用于在所述第二显示区域内显示循环计数图案,所述循环计数图案用于指示所述计时任务中已经完成计时的完整循环计时周期的数量。A counting pattern display module, configured to display a cycle counting pattern in the second display area, where the cycle counting pattern is used to indicate the number of complete cycle timing cycles that have completed timing in the timing task.
可选的,所述装置还包括:Optionally, the device further includes:
操作屏蔽模块,用于在所述第二显示区域内显示所述进度指示图案的过程中,当所述终端处于预设工作模式,且接收到以指定提醒方式执行的提醒操作时,屏蔽所述提醒操作;The operation shielding module is used for, in the process of displaying the progress indication pattern in the second display area, when the terminal is in a preset working mode and receives a reminding operation performed in a designated reminding manner, shielding the reminder operation;
其中,所述指定提醒方式包括声音提醒和震动提醒中的至少一种。Wherein, the designated reminder mode includes at least one of a sound reminder and a vibration reminder.
可选的,所述装置还包括:第一模式确定模块或者第二模式确定模块;Optionally, the apparatus further includes: a first mode determination module or a second mode determination module;
所述第一模式确定模块,用于在所述操作屏蔽模块屏蔽所述提醒操作之前,当所述终端的正面朝向正下方时,确定所述终端处于所述预设工作模式;The first mode determination module is configured to determine that the terminal is in the preset working mode when the front of the terminal faces directly downward before the operation shielding module shields the reminder operation;
所述第二模式确定模块,用于当所述终端的正面朝向正下方,且所述终端的正面与障碍物之间的距离小于预设距离阈值时,确定所述终端处于所述预设工作模式。The second mode determination module is configured to determine that the terminal is in the preset operation when the front of the terminal faces directly downward and the distance between the front of the terminal and an obstacle is less than a preset distance threshold model.
可选的,所述装置还包括:Optionally, the device further includes:
通知图案显示模块,用于在所述第二显示区域内显示所述提醒操作对应的通知图案。A notification pattern display module, configured to display a notification pattern corresponding to the reminder operation in the second display area.
可选的,所述装置还包括:Optionally, the device further includes:
播放模块,用于在所述第二显示区域内显示所述进度指示图案的过程中播放白噪音。A playing module, configured to play white noise in the process of displaying the progress indication pattern in the second display area.
可选的,所述任务获取模块,具体用于获取在所述终端中设置的提醒类型任务,所述提醒类型任务包括便签任务、日程任务或者随手记任务中的至少一种;获取所述提醒类型任务对应的计时时长;根据所述提醒类型任务对应的计时时长生成所述计时任务。Optionally, the task obtaining module is specifically configured to obtain a reminder type task set in the terminal, where the reminder type task includes at least one of a note task, a schedule task or a random note task; obtain the reminder The timing duration corresponding to the type task; the timing task is generated according to the timing duration corresponding to the reminder type task.
可选的,所述任务获取模块,具体用于在获取所述提醒类型任务对应的计时时长时,获取所述提醒类型任务的任务内容中包含所述计时时长;或者,展示计时时长设置界面,获取在所述计时时长设置界面中设置的所述计时时长;或者,将默认时长获取为所述计时时长。Optionally, the task acquisition module is specifically configured to, when acquiring the timing duration corresponding to the reminder type task, obtain the task content of the reminder type task including the timing duration; or, display the timing duration setting interface, Acquire the timing duration set in the timing duration setting interface; or acquire the default duration as the timing duration.
根据本公开实施例的第三方面,提供了一种计时信息展示装置,所述装置用于终端中,所述终端的显示屏包括第一显示区域和第二显示区域,所述第一显示区域设置在所述终端的正面或背面,所述第二显示区域设置在所述终端的侧面;所述装置还包括:According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for displaying timing information, the apparatus is used in a terminal, and a display screen of the terminal includes a first display area and a second display area, the first display area is arranged on the front or back of the terminal, and the second display area is arranged on the side of the terminal; the device further includes:
处理器;processor;
用于存储所述处理器的可执行指令的存储器;memory for storing executable instructions for the processor;
其中,所述处理器被配置为:wherein the processor is configured to:
获取计时任务,所述计时任务包括至少一个循环计时周期;Obtaining a timing task, the timing task includes at least one cyclic timing period;
获取计时启动指令,所述计时启动指令用于触发启动所述计时任务;obtaining a timing start instruction, where the timing start instruction is used to trigger the start of the timing task;
在所述第二显示区域内显示进度指示图案,所述进度指示图案用于指示所述计时任务的当前循环计时周期的计时进度。A progress indication pattern is displayed in the second display area, and the progress indication pattern is used to indicate the timing progress of the current cyclic timing period of the timing task.
根据本公开实施例的第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中包含可执行指令,终端中的处理器调用所述可执行指令以实现上述第一方面或者第一方面的任一可选方案所述的计时信息展示方法。According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, where the computer-readable storage medium contains executable instructions, and the processor in the terminal invokes the executable instructions to implement the above-mentioned first aspect Or the timing information display method described in any optional solution of the first aspect.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
对于在正面或者背面设置有显示区域之外,还在侧面设置有显示区域的终端,该终端获取到包含至少一个循环计时周期的计时任务后,在侧面的第二显示区域内显示用于指示当前循环计时周期的计时进度的图案,由于侧面显示区域的面积较小,相应的功耗较低,通过终端侧面的显示区域来显示当前循环计时周期的计时进度,能够在节约终端电量的同时,实时提示当前计时周期内的计时进度,便于用户准确了解单个循环计时周期内的计时进度,从而可以显著的提高计时信息的展示效果。For a terminal that is provided with a display area on the side in addition to the display area on the front or the back, after the terminal acquires a timing task including at least one cyclic timing period, the terminal displays a display in the second display area on the side to indicate the current The pattern of the timing progress of the cyclic timing cycle, because the area of the side display area is small, the corresponding power consumption is low, and the display area on the side of the terminal is used to display the timing progress of the current cyclic timing cycle, which can save the power of the terminal. Prompt the timing progress in the current timing period, so that the user can accurately understand the timing progress in a single cycle timing period, which can significantly improve the display effect of timing information.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary only and do not limit the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并于说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure, and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例提供的一种终端的显示区域分布示意图;FIG. 1 is a schematic diagram of the distribution of display areas of a terminal according to an exemplary embodiment;
图2是图1所示实施例涉及的另一种终端的显示区域分布示意图;FIG. 2 is a schematic diagram of the display area distribution of another terminal involved in the embodiment shown in FIG. 1;
图3是图1所示实施例涉及的又一种终端的显示区域分布示意图;FIG. 3 is a schematic diagram of display area distribution of another terminal involved in the embodiment shown in FIG. 1;
图4是根据一示例性实施例示出的一种计时信息展示方法的流程图;4 is a flowchart of a method for displaying timing information according to an exemplary embodiment;
图5是根据一示例性实施例示出的一种计时信息展示方法的流程图;5 is a flowchart of a method for displaying timing information according to an exemplary embodiment;
图6是图5所示实施例涉及的一种进度指示图案变化示意图;Fig. 6 is a schematic diagram of a progress indication pattern change involved in the embodiment shown in Fig. 5;
图7是图5所示实施例涉及的另一种进度指示图案变化示意图;7 is a schematic diagram of another progress indication pattern change involved in the embodiment shown in FIG. 5;
图8是图5所示实施例涉及的一种循环计数图案和进度指示图案的展示示意图;8 is a schematic diagram showing a cycle count pattern and a progress indication pattern involved in the embodiment shown in FIG. 5;
图9是图5所示实施例涉及的一种循环计数图案和进度指示图案的展示示意图;FIG. 9 is a schematic representation of a cycle count pattern and a progress indication pattern involved in the embodiment shown in FIG. 5;
图10是根据一示例性实施例示出的一种计时信息展示方法的流程图;FIG. 10 is a flowchart of a method for displaying timing information according to an exemplary embodiment;
图11是图10所示实施例涉及的一种通知图案显示的示意图;Fig. 11 is a schematic diagram of a notification pattern display involved in the embodiment shown in Fig. 10;
图12是根据一示例性实施例示出的一种计时信息展示装置的框图;12 is a block diagram of a timing information display device according to an exemplary embodiment;
图13是根据一示例性实施例示出的一种计算机设备的结构示意图。Fig. 13 is a schematic structural diagram of a computer device according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
应当理解的是,在本文中提及的“若干个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。It should be understood that reference herein to "several" refers to one or more, and "plurality" refers to two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.
本公开实施例所示的方案可以应用于具有显示屏的终端中。比如,该终端可以是智能手机、平板电脑、电子书阅读器等移动终端。The solutions shown in the embodiments of the present disclosure can be applied to a terminal with a display screen. For example, the terminal may be a mobile terminal such as a smart phone, a tablet computer, and an e-book reader.
本公开涉及的终端的显示屏至少包括第一显示区域和第二显示区域,并且,其中第一显示区域设置在终端的正面或背面,第二显示区域设置在终端的侧面。The display screen of the terminal involved in the present disclosure includes at least a first display area and a second display area, and the first display area is set on the front or back of the terminal, and the second display area is set on the side of the terminal.
请参考图1,其是根据一示例性实施例提供的一种终端的显示区域分布示意图。如图1所示,该终端100的显示屏包括第一显示区域和第二显示区域,其中,第一显示区域设置在终端100的正面或背面,而第二显示区域设置在终端100的侧面。Please refer to FIG. 1 , which is a schematic diagram of the distribution of display areas of a terminal according to an exemplary embodiment. As shown in FIG. 1 , the display screen of the terminal 100 includes a first display area and a second display area, wherein the first display area is set on the front or back of the terminal 100 , and the second display area is set on the side of the terminal 100 .
可选的,上述第二显示区域位于终端的左侧面或者右侧面。或者,上述第二显示区域位于终端的上侧面或者下侧面。Optionally, the above-mentioned second display area is located on the left side or the right side of the terminal. Alternatively, the above-mentioned second display area is located on the upper side or the lower side of the terminal.
在一种实现方式中,上述第一显示区域和第二显示区域在硬件结构上可以同属于一个显示屏,即,该终端的一个完整显示屏被分为这两个显示区域,且这两个显示区域分别位于终端相邻的两个面上。In an implementation manner, the above-mentioned first display area and second display area may belong to the same display screen in hardware structure, that is, a complete display screen of the terminal is divided into these two display areas, and the two The display areas are respectively located on two adjacent faces of the terminal.
在另一种实现方式中,上述第一显示区域和第二显示区域也可以分属于不同的显示屏,即终端中包含两个或者两个以上在硬件结构上独立的显示屏,且有两个独立的显示屏分别位于终端相邻的两个面上,而第一显示区域位于终端正面或者背面的独立显示屏中,而第二显示区域位于终端侧面的独立显示屏中。In another implementation manner, the above-mentioned first display area and second display area may also belong to different display screens, that is, the terminal includes two or more display screens that are independent in hardware structure, and there are two display screens. The independent display screens are respectively located on two adjacent surfaces of the terminal, the first display area is located in the independent display screen on the front or back of the terminal, and the second display area is located in the independent display screen on the side of the terminal.
可选的,上述第一显示区域所在的显示屏部分在物理结构上可以是一个平面,而上述第二显示区域所在的显示屏部分在物理结构上可以是一个曲面,从而实现两个显示区域的平滑连接。Optionally, the part of the display screen where the above-mentioned first display area is located may be a plane in physical structure, and the part of the display screen where the above-mentioned second display area is located may be a curved surface in physical structure, so as to realize the connection between the two display areas. Smooth connection.
请参考图2,其示出了本公开实施例涉及的另一种终端的显示区域分布示意图。如图2所示,终端200的显示屏布置在终端200的正面、背面和两个侧面。且按照对应在终端200中的位置的不同,终端200的显示屏包含四个显示区域,分别为正面显示区域201、背面显示区域202、左侧面显示区域203以及右侧面显示区域204。其中,上述第一显示区域可以是正面显示区域201或者背面显示区域202;而上述第二显示区域可以是左侧面显示区域203或者右侧面显示区域204。Please refer to FIG. 2 , which shows a schematic diagram of the distribution of display areas of another terminal involved in an embodiment of the present disclosure. As shown in FIG. 2 , the display screen of the terminal 200 is arranged on the front side, the back side and the two side surfaces of the terminal 200 . And according to the different positions in the terminal 200 , the display screen of the terminal 200 includes four display areas, namely a
请参考图3,其示出了本公开实施例涉及的又一种终端的显示区域分布示意图。如图3所示,终端300的显示屏布置在终端300的正面和两个侧面。且按照对应在终端300中的位置的不同,终端300的显示屏包含三个显示区域,分别为正面显示区域301、左侧面显示区域302以及右侧面显示区域303。其中,上述第一显示区域可以是正面显示区域301;而上述第二显示区域可以是左侧面显示区域302或者右侧面显示区域303。Please refer to FIG. 3 , which shows a schematic diagram of the distribution of display areas of another terminal involved in an embodiment of the present disclosure. As shown in FIG. 3 , the display screen of the terminal 300 is arranged on the front and two sides of the terminal 300 . And according to different positions in the terminal 300 , the display screen of the terminal 300 includes three display areas, namely a
在相关技术中,用户在番茄时钟应用程序中设置番茄钟任务之后,为了降低终端的电量消耗,可以将终端的显示屏熄灭,同时在后台进行计时,并在计时到达一个预定周期(比如25分钟)时,通过震动或者声音等提醒方式提醒用户可以休息。In the related art, after the user sets the Pomodoro task in the Pomodoro clock application, in order to reduce the power consumption of the terminal, the display screen of the terminal can be turned off, and the timing is performed in the background at the same time, and the timing reaches a predetermined period (for example, 25 minutes). ), remind the user to take a break through vibrating or sound reminders.
然而,上述相关技术所示的方案中,由于在计时过程中终端的显示屏处于熄屏状态,在终端计时一个周期并发出提醒之前,用户无法获知当前的计时周期内的计时进度,不利于用户合理安排工作时间,导致番茄时钟应用的计时信息的展示效果较差。However, in the solution shown in the above-mentioned related art, since the display screen of the terminal is in a screen-off state during the timing process, the user cannot know the timing progress in the current timing period before the terminal clocks a period and issues a reminder, which is not conducive to the user Reasonable arrangement of working time results in poor display effect of the timing information of the Pomodoro Clock app.
而本公开后续的各个实施例,提供了一种借助于终端中的侧面设置的计时信息显示方法,能够在终端的侧面显示区域中显示能够提示当前计时周期内的计时进度的图案,便于用户准确了解单个计时周期内的计时进度,从而可以显著的提高计时信息的展示效果。Subsequent embodiments of the present disclosure provide a timing information display method by means of a side setting in the terminal, which can display a pattern that can prompt the timing progress in the current timing period in the side display area of the terminal, which is convenient for users to accurately Understand the timing progress in a single timing cycle, which can significantly improve the display effect of timing information.
图4是根据一示例性实施例示出的一种计时信息展示方法的流程图,如图4所示,该计时信息展示方法应用于终端中,该终端的显示屏包括第一显示区域和第二显示区域,该第一显示区域设置在该终端的正面或背面,该第二显示区域设置在该终端的侧面;比如,该终端可以是上述图1至图3任一所示的终端。该方法可以包括以下步骤。FIG. 4 is a flowchart of a method for displaying timing information according to an exemplary embodiment. As shown in FIG. 4 , the method for displaying timing information is applied to a terminal, and a display screen of the terminal includes a first display area and a second display area. Display area, the first display area is set on the front or back of the terminal, and the second display area is set on the side of the terminal; for example, the terminal may be any of the terminals shown in FIG. 1 to FIG. 3 . The method may include the following steps.
在步骤401中,获取计时任务,计时任务包括至少一个循环计时周期;In
在步骤402中,获取计时启动指令,计时启动指令用于触发启动计时任务;In
在步骤403中,在第二显示区域内显示进度指示图案,进度指示图案用于指示计时任务的当前循环计时周期的计时进度。In
可选的,进度指示图案包括长度固定的第一条形图案和长度不固定的第二条形图案;Optionally, the progress indication pattern includes a first bar pattern with a fixed length and a second bar pattern with a non-fixed length;
在第二显示区域内显示进度指示图案,包括:A progress indication pattern is displayed in the second display area, including:
根据当前循环计时周期的计时进度获取第二条形图案的长度;当前循环计时周期的计时进度与第二条形图案的长度成正相关,或者,当前循环计时周期的计时进度与第二条形图案的长度成负相关;Obtain the length of the second bar pattern according to the timing progress of the current loop timing period; the timing progress of the current loop timing period is positively correlated with the length of the second bar pattern, or, the timing progress of the current loop timing period and the second bar pattern The length of is negatively correlated;
在第二显示区域内显示第一条形图案,并根据第二条形图案的长度,在第一条形图案上层叠加显示第二条形图案。The first strip pattern is displayed in the second display area, and according to the length of the second strip pattern, the second strip pattern is superimposed and displayed on the first strip pattern.
可选的,一个循环计时周期包含先后计时的第一时间段和第二时间段;Optionally, a cyclic timing period includes a first time period and a second time period that are timed successively;
在第二显示区域内显示进度指示图案,包括:A progress indication pattern is displayed in the second display area, including:
在当前循环计时周期内的第一时间段和当前循环计时周期内的第二时间段内,分别按照不同的显示效果显示进度指示图案。During the first time period in the current loop timing period and the second time period in the current loop timing period, the progress indication patterns are displayed according to different display effects respectively.
可选的,该方法还包括:Optionally, the method further includes:
在第二显示区域内显示循环计数图案,循环计数图案用于指示计时任务中已经完成计时的完整循环计时周期的数量。A loop count pattern is displayed in the second display area, and the loop count pattern is used to indicate the number of complete loop timing cycles that have completed timing in the timing task.
可选的,该方法还包括:Optionally, the method further includes:
在第二显示区域内显示进度指示图案的过程中,当终端处于预设工作模式,且接收到以指定提醒方式执行的提醒操作时,屏蔽提醒操作;In the process of displaying the progress indication pattern in the second display area, when the terminal is in the preset working mode and receives a reminder operation performed in a designated reminder mode, shielding the reminder operation;
其中,指定提醒方式包括声音提醒和震动提醒中的至少一种。The specified reminder mode includes at least one of a sound reminder and a vibration reminder.
可选的,屏蔽提醒操作之前,还包括:Optionally, before blocking the reminder operation, it also includes:
当终端的正面朝向正下方时,确定终端处于预设工作模式;When the front of the terminal faces directly downward, it is determined that the terminal is in the preset working mode;
或者,or,
当终端的正面朝向正下方,且终端的正面与障碍物之间的距离小于预设距离阈值时,确定终端处于预设工作模式。When the front of the terminal faces directly downward, and the distance between the front of the terminal and the obstacle is less than the preset distance threshold, it is determined that the terminal is in the preset working mode.
可选的,该方法还包括:Optionally, the method further includes:
在第二显示区域内显示提醒操作对应的通知图案。A notification pattern corresponding to the reminder operation is displayed in the second display area.
可选的,该方法还包括:Optionally, the method further includes:
在第二显示区域内显示进度指示图案的过程中播放白噪音。White noise is played during the display of the progress indication pattern in the second display area.
可选的,获取计时任务,包括:Optionally, get timing tasks, including:
获取在终端中设置的提醒类型任务,提醒类型任务包括便签任务、日程任务或者随手记任务中的至少一种;Obtain the reminder type task set in the terminal, and the reminder type task includes at least one of a note task, a schedule task, or a random note task;
获取提醒类型任务对应的计时时长;Get the timing duration corresponding to the reminder type task;
根据提醒类型任务对应的计时时长生成计时任务。Generate a timing task according to the timing duration corresponding to the reminder type task.
可选的,获取提醒类型任务对应的计时时长,包括:Optionally, obtain the timing duration corresponding to the reminder type task, including:
获取提醒类型任务的任务内容中包含计时时长;Get the task content of the reminder type task including the timing duration;
或者,展示计时时长设置界面,获取在计时时长设置界面中设置的计时时长;Or, display the timing duration setting interface, and obtain the timing duration set in the timing duration setting interface;
或者,将默认时长获取为计时时长。Alternatively, get the default duration as a timing duration.
综上所述,本公开实施例所示的方案,对于在正面或者背面设置有显示区域之外,还在侧面设置有显示区域的终端,该终端获取到包含至少一个循环计时周期的计时任务后,在侧面的第二显示区域内显示用于指示当前循环计时周期的计时进度的图案,由于侧面显示区域的面积较小,相应的功耗较低,通过终端侧面的显示区域来显示当前循环计时周期的计时进度,能够在节约终端电量的同时,实时提示当前计时周期内的计时进度,便于用户准确了解单个循环计时周期内的计时进度,从而可以显著的提高计时信息的展示效果。To sum up, in the solutions shown in the embodiments of the present disclosure, for a terminal that is provided with a display area on the front or back, and a display area on the side, the terminal acquires a timing task that includes at least one cyclic timing period. , a pattern used to indicate the timing progress of the current cycle timing cycle is displayed in the second display area on the side. Since the area of the side display area is small, the corresponding power consumption is low, and the current cycle timing is displayed through the display area on the side of the terminal. The periodic timing progress can not only save the power of the terminal, but also prompt the timing progress in the current timing period in real time, so that the user can accurately understand the timing progress in a single cycle timing period, which can significantly improve the display effect of timing information.
在上述图4所示的方案中,上述进度指示图案可以是能够动态的指示当前循环计时周期的计时进度的图案,也就说,上述进度指示图案可以随着当前循环计时周期的计时进度变化而改变,比如,上述进度指示图案可以是一个沙漏图案,且沙漏图案中的“沙子”会不断从沙漏上半部分漏到沙漏下半部分,当前循环计时周期计时完成时,“沙子”全部从上半部分漏到下半部分;或者,上述进度指示图案也可以是一个容器,随着当前循环计时周期的计时进度的变化,该容器中的“液体”会不断增加或者减少,当前循环计时周期计时完成时,“液体”会从无到充满容器,或者,容器中的“液体”会从充满容器到变空。上述图4所示的实施例对于上述进度指示图案的形态不做限定。In the solution shown in FIG. 4 , the above-mentioned progress indication pattern may be a pattern that can dynamically indicate the timing progress of the current cyclic timing period, that is, the above-mentioned progress indication pattern may change with the timing progress of the current cyclic timing period. Change, for example, the above progress indication pattern can be an hourglass pattern, and the "sand" in the hourglass pattern will continuously leak from the upper half of the hourglass to the lower half of the hourglass. The half part leaks to the lower part; alternatively, the above progress indication pattern can also be a container. With the change of the timing progress of the current cycle timing cycle, the "liquid" in the container will continue to increase or decrease, and the current cycle timing cycle timing When done, the "Liquid" will either fill the container from nothing, or, the "Liquid" in the container will go from filling the container to emptying. The above embodiment shown in FIG. 4 does not limit the form of the above progress indication pattern.
由于终端侧面的显示区域通常是狭长的显示区域,为了更高效的利用侧面的显示区域来显示当前循环计时周期的计时进度,上述进度指示图案可以是条状图案;此外,为了便于用户了解已经计时的周期数,还可以在侧面的显示区域中显示周期计数相关的图案。该实现方式可以如下述图5所示。Since the display area on the side of the terminal is usually a narrow and long display area, in order to use the display area on the side to display the timing progress of the current cycle timing cycle more efficiently, the above progress indication pattern can be a bar pattern; The number of cycles can also be displayed in the display area on the side of the pattern related to the cycle count. This implementation can be as shown in Figure 5 below.
图5是根据一示例性实施例示出的一种计时信息展示方法的流程图,如图5所示,该界面内容切换方法应用于终端中,该终端的显示屏包括第一显示区域和第二显示区域,该第一显示区域设置在该终端的正面或背面,该第二显示区域设置在该终端的侧面;比如,该终端可以是上述图1至图3任一所示的终端。该方法可以包括以下步骤。FIG. 5 is a flow chart of a method for displaying timing information according to an exemplary embodiment. As shown in FIG. 5 , the method for switching interface content is applied to a terminal, and the display screen of the terminal includes a first display area and a second display area. Display area, the first display area is set on the front or back of the terminal, and the second display area is set on the side of the terminal; for example, the terminal may be any of the terminals shown in FIG. 1 to FIG. 3 . The method may include the following steps.
在步骤501中,获取计时任务,该计时任务包括至少一个循环计时周期。In
在一种实现方式中,终端在获取该计时任务时,可以获取用户在番茄时钟应用程序中设置的任务。In an implementation manner, when acquiring the timing task, the terminal may acquire the task set by the user in the Pomodoro Clock application.
比如,用户打开终端中的番茄时钟应用程序,并在该应用程序界面中添加计时任务,并设置循环计时周期的时长,用户设置完成并点击确定后,终端获取到该计时任务。For example, the user opens the Pomodoro Clock application in the terminal, adds a timing task in the application program interface, and sets the duration of the cyclic timing period. After the user completes the setting and clicks OK, the terminal obtains the timing task.
可选的,上述计时任务的循环计时周期的周期数可以由用户设置,即用户可以在应用程序界面添加计时任务时,设置该计时任务对应的计时周期数量,比如,用户主动设置计时任务对应的计时周期数量为10。Optionally, the cycle number of the cyclic timing cycle of the above timing task can be set by the user, that is, the user can set the number of timing cycles corresponding to the timing task when adding a timing task in the application program interface. The number of ticks is 10.
或者,上述计时任务的循环计时周期的周期数也可以由应用程序自行设置,比如,当用户没有主动设置计时周期数量时,番茄时钟应用程序可以将该计时任务的计时周期数量设置为默认的数值,比如5。Alternatively, the cycle number of the cyclic timing cycle of the above timing task can also be set by the application itself. For example, when the user does not actively set the number of timing cycles, the Pomodoro Clock application can set the number of timing cycles for the timing task to the default value. , such as 5.
或者,上述计时任务的循环周期的周期数也可以不设限制,后续根据该计时任务进行循环计时的过程中,终端可以持续循环计时,直至用户取消该计时任务。Alternatively, the number of cycles of the above-mentioned timing task may not be limited, and in the subsequent process of cyclic timing according to the timing task, the terminal may continue to loop timing until the user cancels the timing task.
在步骤502中,获取计时启动指令,该计时启动指令用于触发启动该计时任务。In
用户设置计时任务之后,可以点击确定开始执行该计时任务,此时,终端获取到计时启动指令,并启动该计时任务。After the user sets the timing task, the user can click OK to start the timing task. At this time, the terminal obtains the timing start instruction and starts the timing task.
在步骤503中,根据当前循环计时周期的计时进度获取第二条形图案的长度。In
其中,该当前循环计时周期的计时进度与该第二条形图案的长度成正相关,或者,该当前循环计时周期的计时进度与该第二条形图案的长度成负相关。Wherein, the timing progress of the current loop timing period is positively correlated with the length of the second bar pattern, or the timing progress of the current loop timing period is negatively correlated with the length of the second bar pattern.
在本公开实施例中,进度指示图案包括长度固定的第一条形图案和长度不固定的第二条形图案,并且,第二条图案的长度根据当前循环计时周期的计时进度的变化而发生改变。In the embodiment of the present disclosure, the progress indication pattern includes a first bar pattern with a fixed length and a second bar pattern with a non-fixed length, and the length of the second bar pattern occurs according to the change of the timing progress of the current cyclic timing period Change.
比如,在一种可能的实现方式中,第二条形图案的长度可以随着当前循环计时周期的计时进度而不断增加,直至达到第一条形图案的长度。For example, in a possible implementation manner, the length of the second bar pattern may continuously increase with the timing progress of the current cyclic timing period until the length of the first bar pattern is reached.
或者,在另一种可能的实现方式中,第二条形图案的长度可以从第一条形图案的长度开始,随着当前循环计时周期的计时进度而不断缩短,直至缩短为0。Or, in another possible implementation manner, the length of the second bar pattern may start from the length of the first bar pattern, and is continuously shortened with the timing progress of the current cyclic timing period, until it shortens to 0.
在步骤504中,在第二显示区域内显示第一条形图案,并根据该第二条形图案的长度,在该第一条形图案上层叠加显示该第二条形图案。In step 504, the first strip pattern is displayed in the second display area, and according to the length of the second strip pattern, the second strip pattern is displayed in layers on top of the first strip pattern.
其中,为了便于用户通过观察第二条形图案和第一条形图案获知当前循环计时周期的计时进度,第一条形图案和第二条形图案可以通过不同的显示效果进行显示,比如,第一条形图案以第一色值进行显示,而第二条形图案可以按照第二色值进行显示,且第一色值和第二色值之间的对比度足够大,比如,第一条形图案以一个较浅的颜色(比如浅蓝色)进行显示,而第二条形图案则以一个较深的颜色(比如深绿色)进行显示。Among them, in order to facilitate the user to know the timing progress of the current cycle timing cycle by observing the second bar pattern and the first bar pattern, the first bar pattern and the second bar pattern can be displayed through different display effects. The bar pattern is displayed with the first color value, and the second bar pattern can be displayed according to the second color value, and the contrast between the first color value and the second color value is large enough, for example, the first bar pattern The pattern is displayed in a lighter color (such as light blue), while the second bar pattern is displayed in a darker color (such as dark green).
比如,请参考图6,其示出了本公开实施例涉及的一种进度指示图案变化示意图。如图6所述,终端60的侧面显示区域61中显示有第一条形图案61a和第二条形图案61b,在图6中(a)部分所示的第一时刻,第二条形图案61b的长度为L1,第一条形图案的长度为L2,随着当前循环计时周期的进行,第二条形图案61b的长度不断增加,在图6中(b)部分所示的第二时刻(该第二时刻处于第一时刻之后),第二条形图案61b的长度为L3,在当前循环计时周期结束之前,该L2大于L1且小于L3,在当前循环计时周期结束时,L2=L3。For example, please refer to FIG. 6 , which shows a schematic diagram of changing a progress indication pattern according to an embodiment of the present disclosure. As shown in FIG. 6 , the
可选的,一个循环计时周期包含先后计时的第一时间段和第二时间段;在该第二显示区域内显示进度指示图案时,终端可以在该当前循环计时周期内的第一时间段和该当前循环计时周期内的第二时间段内,分别按照不同的显示效果显示该进度指示图案。Optionally, a cyclic timing cycle includes a first time period and a second time period that are timed successively; when the progress indication pattern is displayed in the second display area, the terminal can display the first time period and the second time period in the current cyclic timing period. During the second time period within the current cycle timing period, the progress indication pattern is displayed according to different display effects.
在本公开实施例中,一个循环计时周期可以分为两个相连的时间段,比如,以一个循环计时周期为30分钟,其中前25分钟为第一时间段,后5分钟为第二时间段,用户通过该循环计时周期安排工作时,可以在该第一时间段内用户集中精力工作,并在该第二时间段内休息。为了便于用户准确区分一个循环计时周期内工作和休息的时间段,上述进度指示图案在第一时间段和第二时间段内可以按照不同的显示效果进行显示。In the embodiment of the present disclosure, a cyclic timing period may be divided into two connected time periods. For example, a cyclic timing period is 30 minutes, wherein the first 25 minutes are the first time period, and the last 5 minutes are the second time period , when the user arranges work through the cyclic timing period, the user can concentrate on work in the first time period and rest in the second time period. In order to facilitate the user to accurately distinguish the time period of work and rest in a cyclic timing period, the above-mentioned progress indication pattern can be displayed according to different display effects in the first period of time and the second period of time.
比如,以进度指示图案是图6所示的两个条形图案为例,请参考图7,其示出了本公开实施例涉及的另一种进度指示图案变化示意图。如图7中的(a)部分所示,在一个循环计时周期内的第一时间段内,第二条形图案的边界可以按照与第二条形图案内部相同的亮度进行显示;如图7中的(b)部分所示,在一个循环计时周期内的第二时间段内,第二条形图案的边界可以高亮显示,即此时第二条形图案的内部区域的亮度保持不变,而第二条形图案的边界的亮度提高。For example, assuming that the progress indication pattern is the two bar patterns shown in FIG. 6 , please refer to FIG. 7 , which shows another schematic diagram of the change of the progress indication pattern involved in the embodiment of the present disclosure. As shown in part (a) of Fig. 7, in the first period of time within one cycle timing period, the boundary of the second bar pattern can be displayed with the same brightness as the interior of the second bar pattern; Fig. 7 As shown in part (b) of , during the second time period within a cycle timing period, the boundary of the second bar pattern can be highlighted, that is, the brightness of the inner area of the second bar pattern remains unchanged at this time. , while the brightness of the boundary of the second stripe pattern increases.
上述图7所示的方案仅以第二条形图案的边界亮度变化为例说明进度指示图案在第一时间段和第二时间段内可以按照不同的显示效果进行显示。除了图7所示的显示方式之外,进度指示图案还可以在第一时间段和第二时间段内按照其它不同的显示效果进行显示,比如,第二条形图案可以在第一时间段和第二时间段内按照不同的色值进行显示等等,对于进度指示图案在第一时间段和第二时间段内的显示效果,本公开实施例不做限定。The solution shown in FIG. 7 only takes the change of the boundary brightness of the second bar pattern as an example to illustrate that the progress indication pattern can be displayed according to different display effects in the first time period and the second time period. In addition to the display mode shown in FIG. 7 , the progress indication pattern can also be displayed according to other different display effects in the first time period and the second time period. For example, the second bar pattern can be displayed in the first time period and the second time period. The display is performed according to different color values in the second time period, etc. The embodiment of the present disclosure does not limit the display effect of the progress indication pattern in the first time period and the second time period.
在步骤505中,在该第二显示区域内显示循环计数图案,该循环计数图案用于指示该计时任务中已经完成计时的完整循环计时周期的数量。In
在本公开实施例中,为了便于用户准确获知当前已经计时了多少个循环周期,终端还可以在侧面显示区域内显示循环计数图案。比如,该计时任务中已经完成计时的完整循环计时周期的数量,可以通过循环计数图案的个数来指示,即该计时任务过程中,没多完成一个完整循环计时周期,终端的侧面显示区域内增加一个循环计数图案(比如一个番茄图案等)。In the embodiment of the present disclosure, in order to facilitate the user to accurately know how many cycles have been counted at present, the terminal may also display a cycle count pattern in the side display area. For example, the number of complete cycle timing cycles that have completed timing in the timing task can be indicated by the number of cycle count patterns, that is, during the timing task process, if one more complete cycle timing cycle is not completed, the side display area of the terminal Add a loop count pattern (such as a tomato pattern, etc.).
可选的,上述循环计数图案可以与上述进度指示图案可以同时显示。比如,请参考图8,其示出了本公开实施例涉及的一种循环计数图案和进度指示图案的展示示意图。在图8中,终端80的侧面显示区域81中显示有进度指示图案81a和循环计数图案81b,其中,循环计数图案81b中的圆形图案个数表示已完成的完整循环计时周期的个数。比如,在图8中,循环计数图案81b中的圆形图案个数为3,表示已完成的3个完整循环计时周期。Optionally, the above-mentioned cycle count pattern and the above-mentioned progress indication pattern may be displayed simultaneously. For example, please refer to FIG. 8 , which is a schematic diagram illustrating a cycle count pattern and a progress indication pattern involved in an embodiment of the present disclosure. In FIG. 8, the
或者,上述循环计数图案可以与上述进度指示图案分时进行显示。比如,请参考图9,其示出了本公开实施例涉及的一种循环计数图案和进度指示图案的展示示意图。如图9中的(a)部分所示,在时刻a,终端90的侧面显示区域91中显示有进度指示图案91a;如图9中的(b)部分所示,在另一时刻b,终端90的侧面显示区域91中显示循环计数图案91b,其中,循环计数图案91b中的圆形图案个数表示已完成的完整循环计时周期的个数。Alternatively, the above-mentioned cycle count pattern and the above-mentioned progress indication pattern may be displayed in a time-sharing manner. For example, please refer to FIG. 9 , which shows a schematic diagram showing a cycle count pattern and a progress indication pattern involved in an embodiment of the present disclosure. As shown in part (a) of FIG. 9, at time a, a
综上所述,本公开实施例所示的方案,对于在正面或者背面设置有显示区域之外,还在侧面设置有显示区域的终端,该终端获取到包含至少一个循环计时周期的计时任务后,在侧面的第二显示区域内显示用于指示当前循环计时周期的计时进度的图案,由于侧面显示区域的面积较小,相应的功耗较低,通过终端侧面的显示区域来显示当前循环计时周期的计时进度,能够在节约终端电量的同时,实时提示当前计时周期内的计时进度,便于用户准确了解单个循环计时周期内的计时进度,从而可以显著的提高计时信息的展示效果。To sum up, in the solutions shown in the embodiments of the present disclosure, for a terminal that is provided with a display area on the front or back, and a display area on the side, the terminal acquires a timing task that includes at least one cyclic timing period. , a pattern used to indicate the timing progress of the current cycle timing cycle is displayed in the second display area on the side. Since the area of the side display area is small, the corresponding power consumption is low, and the current cycle timing is displayed through the display area on the side of the terminal. The periodic timing progress can not only save the power of the terminal, but also prompt the timing progress in the current timing period in real time, so that the user can accurately understand the timing progress in a single cycle timing period, which can significantly improve the display effect of timing information.
此外,本公开实施例所示的方案,还在终端的侧面显示区域中显示循环计数图案,以指示已完成的完整循环计时周期的个数,便于用户了解当前计时任务的总进度,进一步提高计时信息的展示效果。In addition, in the solution shown in the embodiment of the present disclosure, a loop count pattern is also displayed in the side display area of the terminal to indicate the number of completed complete loop timing cycles, so that the user can know the total progress of the current timing task and further improve the timing. display of information.
基于上述图4所示的方案,终端在按照循环计时周期进行计时,并在侧边显示区域显示进度指示图案时,还可以在特定情况下,对除了计时任务相关的提醒操作进行屏蔽,避免终端中的提醒通知对用户的工作造成干扰。此外,用户除了通过番茄时钟应用程序设置上述按照循环计时周期进行计时的计时任务之外,还可以不进入番茄时钟应用程序,在其它应用程序(比如其它用于提高工作效率或者进行工作提醒的应用程序)中直接设置计时任务。该实现方式可以如下述图10所示。Based on the solution shown in Figure 4 above, when the terminal performs timing according to the cyclic timing period and displays the progress indication pattern in the side display area, it can also, under certain circumstances, shield reminder operations other than timing tasks to avoid the terminal Reminder notifications in are disruptive to the user's work. In addition, in addition to setting the above-mentioned timing tasks according to the cyclic timing cycle through the Pomodoro Clock application, the user can also do not enter the Pomodoro Clock application, and use other applications (such as other applications for improving work efficiency or for work reminders) without entering the Pomodoro Clock application. program) directly set the timing task. This implementation can be shown in Figure 10 below.
图10是根据一示例性实施例示出的一种计时信息展示方法的流程图,如图10所示,该界面内容切换方法应用于终端中,该终端的显示屏包括第一显示区域和第二显示区域,该第一显示区域设置在该终端的正面或背面,该第二显示区域设置在该终端的侧面;比如,该终端可以是上述图1至图3任一所示的终端。该方法可以包括以下步骤。Fig. 10 is a flowchart of a method for displaying timing information according to an exemplary embodiment. As shown in Fig. 10, the method for switching interface content is applied to a terminal, and the display screen of the terminal includes a first display area and a second display area. Display area, the first display area is set on the front or back of the terminal, and the second display area is set on the side of the terminal; for example, the terminal may be any of the terminals shown in FIG. 1 to FIG. 3 . The method may include the following steps.
在步骤1001中,获取计时任务,该计时任务包括至少一个循环计时周期。In
在一种实现方式中,该步骤的实现方式与上述图5所示实施例中的步骤501下的实现过程类似,此处不再赘述。In an implementation manner, the implementation manner of this step is similar to the implementation process under
在另一种实现方式中,终端在获取计时任务时,还可以获取在该终端中设置的提醒类型任务,该提醒类型任务包括便签任务、日程任务或者随手记任务中的至少一种;获取该提醒类型任务对应的计时时长;根据该提醒类型任务对应的计时时长生成该计时任务。In another implementation manner, when acquiring the timing task, the terminal may also acquire a reminder type task set in the terminal, where the reminder type task includes at least one of a note task, a schedule task, or a memo task; The timing duration corresponding to the reminder type task; the timing task is generated according to the timing duration corresponding to the reminder type task.
在本公开实施例中,当用户借助于终端中的效率工具设置一个提醒类型任务,比如,通过便签工具设置一个提醒自己完成某项工作的便签任务,或者,通过日历工具设置一个提醒自己在预定时间执行的日程任务,或者,通过随手记工具设置一个提醒自己完成某项工作的随手记任务等,将会触发终端获取对应提醒类型任务的计时任务,此时,终端可以获取对应的提醒类型任务对应的计时时长,并根据计时时长生成计时任务。In the embodiment of the present disclosure, when the user sets a reminder type task with the help of the efficiency tool in the terminal, for example, through the memo tool to set a memo task to remind himself to complete a certain work, or, through the calendar tool, set a reminder to himself to Schedule tasks to be executed at the time, or, by setting a note-taking task to remind oneself to complete a certain work through the note-taking tool, etc., will trigger the terminal to obtain the timing task of the corresponding reminder-type task. At this time, the terminal can obtain the corresponding reminder-type task. The corresponding timing duration, and generate timing tasks according to the timing duration.
在本公开实施例中,执行计时任务的时钟组件可以与终端中多种不同的应用程序交互,从而实现时钟组件的抽取和全局植入,将多种不同的应用程序与时钟组件进行整合,进一步提升系统完整性。In the embodiment of the present disclosure, the clock component that executes the timing task can interact with various application programs in the terminal, so as to realize the extraction and global implantation of the clock component, integrate various application programs with the clock component, and further Improve system integrity.
可选的,终端在获取到提醒类型任务后,在获取提醒类型任务的计时时长之前,可以先展示提示信息,该提示信息用于提示是否设置该提醒类型任务对应的计时任务,当用户根据该提示信息选择确定设置该提醒类型任务对应的计时任务时,终端可以获取对应的提醒类型任务对应的计时时长,并根据计时时长生成计时任务。Optionally, after acquiring the reminder type task, the terminal may display prompt information before acquiring the timing duration of the reminder type task. The prompt information is used to prompt whether to set the timing task corresponding to the reminder type task. When the reminder information selection determines to set the timing task corresponding to the reminder type task, the terminal can obtain the timing duration corresponding to the corresponding reminder type task, and generate the timing task according to the timing duration.
其中,终端在获取该提醒类型任务对应的计时时长时,可以获取该提醒类型任务的任务内容中包含该计时时长。Wherein, when acquiring the timing duration corresponding to the reminder type task, the terminal may acquire the timing duration in the task content of the reminder type task.
在本公开实施例中,用户在设置提醒类型任务时,若该提醒类型任务有一个较为紧急的时限需求,则可以设置该提醒类型任务的提醒时间,终端可以根据当前时间点与提醒类型任务的提醒时间点之间的时长获取该提醒类型任务对应的计时时长;比如,终端可以直接将当前时间点与提醒类型任务的提醒时间点之间的时长获取为该提醒类型任务对应的计时时长。In the embodiment of the present disclosure, when setting a reminder type task, if the reminder type task has a relatively urgent time limit requirement, the user can set the reminder time of the reminder type task. The terminal can set the reminder type task according to the current time point and the reminder type task. The duration between reminder time points obtains the timing duration corresponding to the reminder type task; for example, the terminal can directly obtain the duration between the current time point and the reminder time point of the reminder type task as the timing duration corresponding to the reminder type task.
比如,假设该提醒类型任务为随手记任务,该随手记任务的任务内容为“下午4点前向客户反馈材料”,而当前时间点为下午3点,此时,终端可以直接将该随手记任务的计时时长设置为1小时。For example, assuming that the reminder type task is a note-taking task, the task content of the note-taking task is "feedback materials to customers before 4:00 pm", and the current time is 3:00 pm, at this time, the terminal can directly take the note-taking task. The duration of the task is set to 1 hour.
或者,终端在获取该提醒类型任务对应的计时时长时,可以展示计时时长设置界面,获取在该计时时长设置界面中设置的该计时时长。Alternatively, when acquiring the timing duration corresponding to the reminder type task, the terminal may display the timing duration setting interface, and obtain the timing duration set in the timing duration setting interface.
在另一种可能的实现方案中,用户在设置提醒类型任务时,若该提醒类型任务没有明确的时限要求,比如,终端分析提醒类型任务的任务内容并提取关键词,分析确定该任务内容的关键词中不包含时间类型的关键词,则在用户确定设置该提醒类型任务后,终端可以展示一个计时时长设置界面,提示用户在该计时时长设置界面中设置该提醒类型任务对应的计时时长。比如,假设该提醒类型任务为随手记任务,该随手记任务的任务内容为“向客户反馈材料”,终端分析该任务内容中不包含时间类型的关键词,则可以展示计时时长设置界面,以提示用户设置计时时长。In another possible implementation solution, when the user sets a reminder type task, if the reminder type task does not have a clear time limit, for example, the terminal analyzes the task content of the reminder type task and extracts keywords, and analyzes and determines the content of the task content. If the keyword does not contain a time type keyword, after the user determines to set the reminder type task, the terminal may display a timing duration setting interface, prompting the user to set the timing duration corresponding to the reminder type task in the timing duration setting interface. For example, assuming that the reminder type task is a random note task, and the task content of the random note task is "feedback materials to customers", and the terminal analyzes the task content that does not contain time type keywords, it can display the timing duration setting interface to Prompt the user to set the timing duration.
或者,终端在获取该提醒类型任务对应的计时时长时,可以将默认时长获取为该计时时长。Alternatively, when acquiring the timing duration corresponding to the reminder type task, the terminal may acquire the default duration as the timing duration.
在一种可能的实现方案中,用户在设置提醒类型任务时,若该提醒类型任务没有明确的时限要求,则终端可以为该提醒类型任务设置一个默认的计时时长,其中,该默认的计时时长可以由开发人员预先设置,或者,该默认的计时时长也可以由用户在终端中预先设置。In a possible implementation solution, when the user sets a reminder type task, if the reminder type task does not have a clear time limit requirement, the terminal may set a default timing duration for the reminder type task, wherein the default timing duration It may be preset by the developer, or the default timing duration may also be preset by the user in the terminal.
在一种可能的实现方案中,用户在设置提醒类型任务时,若该提醒类型任务没有明确的时限要求,终端还可以获取提醒类型任务的任务类型或者任务内容等信息,并为该提醒类型任务设置一个与提醒类型任务的任务类型或者任务内容相适配的计时时长。In a possible implementation solution, when the user sets a reminder type task, if the reminder type task does not have a clear time limit requirement, the terminal can also obtain information such as the task type or task content of the reminder type task, and provide the reminder type task for the reminder type task. Set a timer duration that matches the task type or task content of the reminder type task.
比如,假设提醒类型任务为随手记任务,该随手记任务的任务内容为“写一篇发言稿,8000字”,则终端可以为该随手记任务设置计时时长为4小时;或者,若该随手记任务的任务内容为“阅读今日xx晚报”,则终端可以为该随手记任务设置计时时长为1小时。For example, assuming that the reminder type task is a random note task, and the task content of the random note task is "write a speech, 8000 words", the terminal can set the timing duration for the random note task to 4 hours; If the content of the handwritten task is "reading today's xx evening news", the terminal can set the time duration for the handwritten task to 1 hour.
在步骤1002中,获取计时启动指令,该计时启动指令用于触发启动该计时任务。In
在步骤1003中,根据当前循环计时周期的计时进度获取第二条形图案的长度。In
在步骤1004中,在第二显示区域内显示第一条形图案,并根据该第二条形图案的长度,在该第一条形图案上层叠加显示该第二条形图案。In step 1004, the first strip pattern is displayed in the second display area, and according to the length of the second strip pattern, the second strip pattern is displayed in layers on the first strip pattern.
在步骤1005中,在该第二显示区域内显示循环计数图案,该循环计数图案用于指示该计时任务中已经完成计时的完整循环计时周期的数量。In
上述步骤1002至步骤1005的实现过程可以参考上述图5所示实施例中的步骤502至步骤505下的描述,此处不再赘述。For the implementation process of the foregoing
在步骤1006中,当终端处于预设工作模式,且接收到以指定提醒方式执行的提醒操作时,屏蔽该提醒操作。In
其中,该指定提醒方式包括声音提醒和震动提醒中的至少一种。Wherein, the designated reminder mode includes at least one of a sound reminder and a vibration reminder.
在本公开实施例中,为了避免来电、短信或者其它应用通知消息打断用户的工作,可以为计时任务设置免打扰模式(即上述预设工作模式),终端在执行上述计时任务,并在第二显示区域内显示进度指示图案的过程中,可以进入该免打扰模式,在该免打扰模式下,终端可以屏蔽声音提醒和/或震动提醒。比如,当终端接收到短信、来电或者即时通信消息时,需要触发响铃和/或震动,若此时终端处于上述免打扰模式下,则可以屏蔽该响铃和/或震动,避免对用户的工作造成干扰。In the embodiment of the present disclosure, in order to avoid interruption of the user's work by incoming calls, short messages, or other application notification messages, a do-not-disturb mode (that is, the above-mentioned preset working mode) may be set for the timing task. During the process of displaying the progress indication pattern in the second display area, the DND mode can be entered, and in the DND mode, the terminal can block the sound reminder and/or the vibration reminder. For example, when the terminal receives a short message, an incoming call or an IM message, it needs to trigger a ringing and/or vibration. If the terminal is in the above-mentioned Do Not Disturb mode at this time, the ringing and/or vibration can be blocked to avoid the user's work interferes.
可选的,在屏蔽该提醒操作之前,当该终端的正面朝向正下方时,确定该终端处于该预设工作模式。Optionally, before shielding the reminding operation, when the front of the terminal faces directly downward, it is determined that the terminal is in the preset working mode.
在本公开实施例中,在终端执行计时任务的过程中,若终端的正面朝下,则可能是用户当前不使用该终端并集中精力工作,此时,终端可以进入预设工作模式(即上述免打扰模式)。In the embodiment of the present disclosure, when the terminal is performing a timing task, if the front of the terminal is facing down, it may be that the user is not using the terminal and is concentrating on work. At this time, the terminal can enter the preset working mode (that is, the above Do Not Disturb mode).
在另一种实现方式中,在屏蔽该提醒操作之前,当该终端的正面朝向正下方,且该终端的正面与障碍物之间的距离小于预设距离阈值时,确定该终端处于该预设工作模式。In another implementation manner, before shielding the reminder operation, when the front of the terminal faces directly downward and the distance between the front of the terminal and the obstacle is less than a preset distance threshold, it is determined that the terminal is in the preset Operating mode.
由于终端的正面朝下时,并不一定是用户需要集中精力工作,也可能是用户躺着使用终端,在本公开实施例中,为了提高预设工作模式判断的准确性,可以在终端的正面朝向正下方的基础上,进一步增加判断条件,即终端的正面朝向正下方,同时终端的正面与障碍物之间的距离小于预设距离阈值时,可以确定终端此时正面朝下扣在桌面或者其它平面上,此时,可以认为用户需要集中精力工作,此时,终端可以进入预设工作模式。Because when the front of the terminal is facing down, it is not necessarily that the user needs to concentrate on work, and it may also be that the user is using the terminal while lying down. On the basis of facing directly downward, further increase the judgment condition, that is, when the front of the terminal is facing directly downward, and the distance between the front of the terminal and the obstacle is less than the preset distance threshold, it can be determined that the terminal is facing down on the desktop or On other planes, at this time, it can be considered that the user needs to concentrate on work, and at this time, the terminal can enter a preset working mode.
除了通过终端的姿态主动判断是否进入预设工作模式之外,也可以通过用户的触控操作来判断是否进入预设工作模式。比如,终端在执行计时任务时,用户可以在终端的显示屏(第一显示区域或者第二显示区域)中点击某个特定按钮,来触发终端进入预设工作模式。In addition to actively judging whether to enter the preset working mode through the gesture of the terminal, whether to enter the preset working mode can also be judged through the user's touch operation. For example, when the terminal performs a timing task, the user may click a specific button on the display screen (the first display area or the second display area) of the terminal to trigger the terminal to enter the preset working mode.
在步骤1007中,在第二显示区域内显示该提醒操作对应的通知图案。In
在本公开实施例中,为了避免屏蔽声音和/或震动提醒而导致用户错过通知消息,在上述预设工作模式下,终端可以将屏蔽的提醒操作对应的通知图案显示在终端的侧边显示区域中。In the embodiment of the present disclosure, in order to prevent the user from missing the notification message due to the shielding of sound and/or vibration reminders, in the above preset working mode, the terminal can display the notification pattern corresponding to the shielded reminder operation on the side display area of the terminal middle.
比如,请参考图11,其示出了本公开实施例涉及的一种通知图案显示的示意图。如图11所示,当终端1100正面向下扣放在桌面上时,终端1100的侧面显示区域1101中显示在终端1100进入免打扰模式下屏蔽的提醒操作对应的通知图案1102和通知图案1103。其中,通知图案1102表示屏蔽了即时通信消息的提醒操作,且有99条即时通信消息;而通知图案1203表示屏蔽了2次来电提醒操作。For example, please refer to FIG. 11 , which shows a schematic diagram of displaying a notification pattern according to an embodiment of the present disclosure. As shown in FIG. 11 , when the terminal 1100 is folded face down on the desktop, the
可选的,在本公开实施例中,终端在执行上述计时任务时,为了提高用户的专注度,还可以在第二显示区域内显示进度指示图案的过程中播放白噪音。Optionally, in the embodiment of the present disclosure, in order to improve the user's concentration when performing the above timing task, the terminal may also play white noise in the process of displaying the progress indication pattern in the second display area.
白噪音又称为白噪声,是一种功率频谱密度为常数的随机信号或随机过程。白噪音可以将其它背景噪音模糊化,减轻其它噪音对用户造成的干扰,从而有助于提高用户的注意力。White noise, also known as white noise, is a random signal or random process with a constant power spectral density. White noise can blur other background noises and reduce the distraction caused by other noises to the user, thereby helping to improve the user's concentration.
在本公开实施例中,白噪音可以是终端在执行计时任务的过程中主动播放,或者,白噪音也可以由用户通过触发操作触发播放。In the embodiment of the present disclosure, the white noise may be actively played by the terminal during the execution of the timing task, or the white noise may also be triggered to be played by a user through a trigger operation.
综上所述,本公开实施例所示的方案,对于在正面或者背面设置有显示区域之外,还在侧面设置有显示区域的终端,该终端获取到包含至少一个循环计时周期的计时任务后,在侧面的第二显示区域内显示用于指示当前循环计时周期的计时进度的图案,由于侧面显示区域的面积较小,相应的功耗较低,通过终端侧面的显示区域来显示当前循环计时周期的计时进度,能够在节约终端电量的同时,实时提示当前计时周期内的计时进度,便于用户准确了解单个循环计时周期内的计时进度,从而可以显著的提高计时信息的展示效果。To sum up, in the solutions shown in the embodiments of the present disclosure, for a terminal that is provided with a display area on the front or back, and a display area on the side, the terminal acquires a timing task that includes at least one cyclic timing period. , a pattern used to indicate the timing progress of the current cycle timing cycle is displayed in the second display area on the side. Since the area of the side display area is small, the corresponding power consumption is low, and the current cycle timing is displayed through the display area on the side of the terminal. The periodic timing progress can not only save the power of the terminal, but also prompt the timing progress in the current timing period in real time, so that the user can accurately understand the timing progress in a single cycle timing period, which can significantly improve the display effect of timing information.
此外,本公开实施例所示的方案,还在终端的侧面显示区域中显示循环计数图案,以指示已完成的完整循环计时周期的个数,便于用户了解当前计时任务的总进度,进一步提高计时信息的展示效果。In addition, in the solution shown in the embodiment of the present disclosure, a loop count pattern is also displayed in the side display area of the terminal to indicate the number of completed complete loop timing cycles, so that the user can know the total progress of the current timing task and further improve the timing. display of information.
另外,本公开实施例所示的方案,终端可以根据用户设置的提醒类型任务自动设置计时任务,实现不需要用户进入专门设置计时任务的番茄时钟应用程序姐可以创建计时任务,达到扩展计时任务的设置场景的效果。In addition, in the solution shown in the embodiment of the present disclosure, the terminal can automatically set the timing task according to the reminder type task set by the user, so as to realize that the user does not need to enter the Pomodoro Clock application program that specially sets the timing task. Set the effect of the scene.
另外,本公开实施例所示的方案,终端在执行计时任务的过程中,可以进入免打扰模式,在此模式下,终端屏蔽声音和/或震动提醒,减少对用户工作进程的干扰。In addition, according to the solution shown in the embodiments of the present disclosure, the terminal can enter a do-not-disturb mode during the timing task. In this mode, the terminal blocks sound and/or vibration reminders to reduce interference to the user's work process.
图12是根据一示例性实施例示出的一种计时信息展示装置的框图,如图12所示,该计时信息展示装置可以通过硬件或者软硬结合的方式实现为终端的全部或者部分,以执行图4、图5或图10任一所示实施例所示的步骤;该终端的显示屏包括第一显示区域和第二显示区域,该第一显示区域设置在该终端的正面或背面,该第二显示区域设置在该终端的侧面。该计时信息展示装置可以包括:Fig. 12 is a block diagram of an apparatus for displaying timing information according to an exemplary embodiment. As shown in Fig. 12 , the apparatus for displaying timing information may be implemented as all or part of a terminal through hardware or a combination of software and hardware to execute The steps shown in any of the embodiments shown in FIG. 4, FIG. 5 or FIG. 10; the display screen of the terminal includes a first display area and a second display area, the first display area is set on the front or back of the terminal, the The second display area is arranged on the side of the terminal. The timing information display device may include:
任务获取模块1201,用于获取计时任务,所述计时任务包括至少一个循环计时周期;A
指令获取模块1202,用于获取计时启动指令,所述计时启动指令用于触发启动所述计时任务;an
进度图案显示模块1203,用于在所述第二显示区域内显示进度指示图案,所述进度指示图案用于指示所述计时任务的当前循环计时周期的计时进度。The progress
可选的,所述进度指示图案包括长度固定的第一条形图案和长度不固定的第二条形图案;Optionally, the progress indication pattern includes a first bar pattern with a fixed length and a second bar pattern with a non-fixed length;
所述进度图案显示模块,具体用于根据所述当前循环计时周期的计时进度获取所述第二条形图案的长度;所述当前循环计时周期的计时进度与所述第二条形图案的长度成正相关,或者,所述当前循环计时周期的计时进度与所述第二条形图案的长度成负相关;在所述第二显示区域内显示所述第一条形图案,并根据所述第二条形图案的长度,在所述第一条形图案上层叠加显示所述第二条形图案。The progress pattern display module is specifically configured to obtain the length of the second bar pattern according to the timing progress of the current loop timing period; the timing progress of the current loop timing period and the length of the second bar pattern is positively correlated, or, the timing progress of the current cycle timing cycle is negatively correlated with the length of the second bar pattern; the first bar pattern is displayed in the second display area, and according to the second bar pattern The lengths of the two strip patterns are superimposed on the first strip pattern to display the second strip pattern.
可选的,一个所述循环计时周期包含先后计时的第一时间段和第二时间段;Optionally, one of the cyclic timing periods includes a first time period and a second time period that are timed successively;
所述进度图案显示模块,具体用于在所述当前循环计时周期内的第一时间段和所述当前循环计时周期内的第二时间段内,分别按照不同的显示效果显示所述进度指示图案。The progress pattern display module is specifically configured to display the progress indication pattern according to different display effects in the first time period in the current cycle timing period and the second time period in the current cycle time period respectively .
可选的,所述装置还包括:Optionally, the device further includes:
计数图案显示模块,用于在所述第二显示区域内显示循环计数图案,所述循环计数图案用于指示所述计时任务中已经完成计时的完整循环计时周期的数量。A counting pattern display module, configured to display a cycle counting pattern in the second display area, where the cycle counting pattern is used to indicate the number of complete cycle timing cycles that have completed timing in the timing task.
可选的,所述装置还包括:Optionally, the device further includes:
操作屏蔽模块,用于在所述第二显示区域内显示所述进度指示图案的过程中,当所述终端处于预设工作模式,且接收到以指定提醒方式执行的提醒操作时,屏蔽所述提醒操作;The operation shielding module is used for, in the process of displaying the progress indication pattern in the second display area, when the terminal is in a preset working mode and receives a reminding operation performed in a designated reminding manner, shielding the reminder operation;
其中,所述指定提醒方式包括声音提醒和震动提醒中的至少一种。Wherein, the designated reminder mode includes at least one of a sound reminder and a vibration reminder.
可选的,所述装置还包括:第一模式确定模块或者第二模式确定模块;Optionally, the apparatus further includes: a first mode determination module or a second mode determination module;
所述第一模式确定模块,用于在所述操作屏蔽模块屏蔽所述提醒操作之前,当所述终端的正面朝向正下方时,确定所述终端处于所述预设工作模式;The first mode determination module is configured to determine that the terminal is in the preset working mode when the front of the terminal faces directly downward before the operation shielding module shields the reminder operation;
所述第二模式确定模块,用于当所述终端的正面朝向正下方,且所述终端的正面与障碍物之间的距离小于预设距离阈值时,确定所述终端处于所述预设工作模式。The second mode determination module is configured to determine that the terminal is in the preset operation when the front of the terminal faces directly downward and the distance between the front of the terminal and an obstacle is less than a preset distance threshold model.
可选的,所述装置还包括:Optionally, the device further includes:
通知图案显示模块,用于在所述第二显示区域内显示所述提醒操作对应的通知图案。A notification pattern display module, configured to display a notification pattern corresponding to the reminder operation in the second display area.
可选的,所述装置还包括:Optionally, the device further includes:
播放模块,用于在所述第二显示区域内显示所述进度指示图案的过程中播放白噪音。A playing module, configured to play white noise in the process of displaying the progress indication pattern in the second display area.
可选的,所述任务获取模块,具体用于获取在所述终端中设置的提醒类型任务,所述提醒类型任务包括便签任务、日程任务或者随手记任务中的至少一种;获取所述提醒类型任务对应的计时时长;根据所述提醒类型任务对应的计时时长生成所述计时任务。Optionally, the task obtaining module is specifically configured to obtain a reminder type task set in the terminal, where the reminder type task includes at least one of a note task, a schedule task or a random note task; obtain the reminder The timing duration corresponding to the type task; the timing task is generated according to the timing duration corresponding to the reminder type task.
可选的,所述任务获取模块,具体用于在获取所述提醒类型任务对应的计时时长时,获取所述提醒类型任务的任务内容中包含所述计时时长;或者,展示计时时长设置界面,获取在所述计时时长设置界面中设置的所述计时时长;或者,将默认时长获取为所述计时时长。Optionally, the task acquisition module is specifically configured to, when acquiring the timing duration corresponding to the reminder type task, obtain the task content of the reminder type task including the timing duration; or, display the timing duration setting interface, Acquire the timing duration set in the timing duration setting interface; or acquire the default duration as the timing duration.
需要说明的一点是,上述实施例提供的装置在实现其功能时,仅以上述各个功能模块的划分进行举例说明,实际应用中,可以根据实际需要而将上述功能分配由不同的功能模块完成,即将设备的内容结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。It should be noted that, when the device provided in the above embodiment realizes its functions, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated to different functional modules according to actual needs. That is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
本公开一示例性实施例提供了一种计时信息展示装置,能够实现本公开上述图4、图5或图10任一所示实施例中的全部或部分步骤,该终端的显示屏包括第一显示区域和第二显示区域,该第一显示区域设置在该终端的正面或背面,该第二显示区域设置在该终端的侧面;该计时信息展示装置还包括:处理器、用于存储处理器可执行指令的存储器;An exemplary embodiment of the present disclosure provides a timing information display device, which can implement all or part of the steps in any of the above-mentioned embodiments shown in FIG. 4 , FIG. 5 or FIG. 10 of the present disclosure. The display screen of the terminal includes a first a display area and a second display area, the first display area is set on the front or back of the terminal, and the second display area is set on the side of the terminal; the timing information display device also includes: a processor, a processor for storing memory for executable instructions;
其中,处理器被配置为:where the processor is configured as:
获取计时任务,所述计时任务包括至少一个循环计时周期;Obtaining a timing task, the timing task includes at least one cyclic timing period;
获取计时启动指令,所述计时启动指令用于触发启动所述计时任务;obtaining a timing start instruction, where the timing start instruction is used to trigger the start of the timing task;
在所述第二显示区域内显示进度指示图案,所述进度指示图案用于指示所述计时任务的当前循环计时周期的计时进度。A progress indication pattern is displayed in the second display area, and the progress indication pattern is used to indicate the timing progress of the current cyclic timing period of the timing task.
可选的,所述进度指示图案包括长度固定的第一条形图案和长度不固定的第二条形图案;Optionally, the progress indication pattern includes a first bar pattern with a fixed length and a second bar pattern with a non-fixed length;
所述在所述第二显示区域内显示进度指示图案,包括:The displaying of the progress indication pattern in the second display area includes:
根据所述当前循环计时周期的计时进度获取所述第二条形图案的长度;所述当前循环计时周期的计时进度与所述第二条形图案的长度成正相关,或者,所述当前循环计时周期的计时进度与所述第二条形图案的长度成负相关;Acquire the length of the second bar pattern according to the timing progress of the current loop timing period; the timing progress of the current loop timing period is positively correlated with the length of the second bar pattern, or the current loop timing The timing of the cycle is inversely related to the length of the second bar pattern;
在所述第二显示区域内显示所述第一条形图案,并根据所述第二条形图案的长度,在所述第一条形图案上层叠加显示所述第二条形图案。The first stripe pattern is displayed in the second display area, and the second stripe pattern is superimposed and displayed on the first stripe pattern according to the length of the second stripe pattern.
可选的,一个所述循环计时周期包含先后计时的第一时间段和第二时间段;Optionally, one of the cyclic timing periods includes a first time period and a second time period that are timed successively;
所述在所述第二显示区域内显示进度指示图案,包括:The displaying of the progress indication pattern in the second display area includes:
在所述当前循环计时周期内的第一时间段和所述当前循环计时周期内的第二时间段内,分别按照不同的显示效果显示所述进度指示图案。During the first time period in the current loop timing period and the second time period in the current loop timing period, the progress indication pattern is displayed according to different display effects, respectively.
可选的,所述处理器还被配置为:Optionally, the processor is further configured to:
在所述第二显示区域内显示循环计数图案,所述循环计数图案用于指示所述计时任务中已经完成计时的完整循环计时周期的数量。A cycle count pattern is displayed in the second display area, and the cycle count pattern is used to indicate the number of complete cycle timing cycles that have been clocked in the timing task.
可选的,所述处理器还被配置为:Optionally, the processor is further configured to:
在所述第二显示区域内显示所述进度指示图案的过程中,当所述终端处于预设工作模式,且接收到以指定提醒方式执行的提醒操作时,屏蔽所述提醒操作;During the process of displaying the progress indication pattern in the second display area, when the terminal is in a preset working mode and receives a reminder operation performed in a designated reminder mode, shielding the reminder operation;
其中,所述指定提醒方式包括声音提醒和震动提醒中的至少一种。Wherein, the designated reminder mode includes at least one of a sound reminder and a vibration reminder.
可选的,所述屏蔽所述提醒操作之前,还包括:Optionally, before the shielding the reminding operation, the method further includes:
当所述终端的正面朝向正下方时,确定所述终端处于所述预设工作模式;When the front of the terminal faces directly downward, determine that the terminal is in the preset working mode;
或者,or,
当所述终端的正面朝向正下方,且所述终端的正面与障碍物之间的距离小于预设距离阈值时,确定所述终端处于所述预设工作模式。When the front of the terminal faces directly downward, and the distance between the front of the terminal and the obstacle is less than a preset distance threshold, it is determined that the terminal is in the preset working mode.
可选的,所述处理器还被配置为:Optionally, the processor is further configured to:
在所述第二显示区域内显示所述提醒操作对应的通知图案。A notification pattern corresponding to the reminder operation is displayed in the second display area.
可选的,所述处理器还被配置为:Optionally, the processor is further configured to:
在所述第二显示区域内显示所述进度指示图案的过程中播放白噪音。White noise is played during the display of the progress indication pattern in the second display area.
可选的,其特征在于,所述获取计时任务,包括:Optionally, it is characterized in that, described obtaining timing task, comprises:
获取在所述终端中设置的提醒类型任务,所述提醒类型任务包括便签任务、日程任务或者随手记任务中的至少一种;Acquiring a reminder type task set in the terminal, where the reminder type task includes at least one of a note task, a schedule task, or a random note task;
获取所述提醒类型任务对应的计时时长;Obtain the timing duration corresponding to the reminder type task;
根据所述提醒类型任务对应的计时时长生成所述计时任务。The timing task is generated according to the timing duration corresponding to the reminder type task.
可选的,所述获取所述提醒类型任务对应的计时时长,包括:Optionally, the obtaining the timing duration corresponding to the reminder type task includes:
获取所述提醒类型任务的任务内容中包含所述计时时长;Obtaining the task content of the reminder type task includes the timing duration;
或者,展示计时时长设置界面,获取在所述计时时长设置界面中设置的所述计时时长;Or, display the timing duration setting interface, and obtain the timing duration set in the timing duration setting interface;
或者,将默认时长获取为所述计时时长。Alternatively, the default duration is obtained as the timing duration.
图13是根据一示例性实施例示出的一种计算机设备的结构示意图。该计算机设备可以实现为上述终端。该计算机设备可以实现为本公开上述方案中具有语音控制功能的终端设备。所述计算机设备1300包括中央处理单元(CPU)1301、包括随机存取存储器(RAM)1302和只读存储器(ROM)1303的系统存储器1304,以及连接系统存储器1304和中央处理单元1301的系统总线1305。所述计算机设备1300还包括帮助计算机内的各个器件之间传输信息的基本输入/输出系统(I/O系统)1306,和用于存储操作系统1313、应用程序1314和其他程序模块1315的大容量存储设备1307。Fig. 13 is a schematic structural diagram of a computer device according to an exemplary embodiment. The computer device may be implemented as the above-mentioned terminal. The computer device can be implemented as a terminal device with a voice control function in the above solution of the present disclosure. The
所述基本输入/输出系统1306包括有用于显示信息的显示器1308和用于用户输入信息的诸如鼠标、键盘之类的输入设备1309。其中所述显示器1308和输入设备1309都通过连接到系统总线1305的输入输出控制器1310连接到中央处理单元1301。所述基本输入/输出系统1306还可以包括输入输出控制器1310以用于接收和处理来自键盘、鼠标、或电子触控笔等多个其他设备的输入。类似地,输入输出控制器1310还提供输出到显示屏、打印机或其他类型的输出设备。The basic input/
所述大容量存储设备1307通过连接到系统总线1305的大容量存储控制器(未示出)连接到中央处理单元1301。所述大容量存储设备1307及其相关联的计算机可读介质为计算机设备1300提供非易失性存储。也就是说,所述大容量存储设备1307可以包括诸如硬盘或者CD-ROM驱动器之类的计算机可读介质(未示出)。The
不失一般性,所述计算机可读介质可以包括计算机存储介质和通信介质。计算机存储介质包括以用于存储诸如计算机可读指令、数据结构、程序模块或其他数据等信息的任何方法或技术实现的易失性和非易失性、可移动和不可移动介质。计算机存储介质包括RAM、ROM、EPROM、EEPROM、闪存或其他固态存储其技术,CD-ROM、DVD或其他光学存储、磁带盒、磁带、磁盘存储或其他磁性存储设备。当然,本领域技术人员可知所述计算机存储介质不局限于上述几种。上述的系统存储器1304和大容量存储设备1307可以统称为存储器。Without loss of generality, the computer-readable media can include computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, EPROM, EEPROM, flash memory or other solid state storage technology, CD-ROM, DVD or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art know that the computer storage medium is not limited to the above-mentioned ones. The
根据本公开的各种实施例,所述计算机设备1300还可以通过诸如因特网等网络连接到网络上的远程计算机运行。也即计算机设备1300可以通过连接在所述系统总线1305上的网络接口单元1311连接到网络1312,或者说,也可以使用网络接口单元1311来连接到其他类型的网络或远程计算机系统(未示出)。According to various embodiments of the present disclosure, the
所述存储器还包括一个或者一个以上的程序,所述一个或者一个以上程序存储于存储器中,中央处理器1301通过执行该一个或一个以上程序来实现图4、图5或图10所示的方法的全部或者部分步骤。The memory also includes one or more programs, the one or more programs are stored in the memory, and the
本领域技术人员应该可以意识到,在上述一个或多个示例中,本公开实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should realize that, in one or more of the above examples, the functions described in the embodiments of the present disclosure may be implemented by hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over 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 place to another. A storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
本公开实施例还提供了一种计算机存储介质,用于储存为上述终端所用的计算机软件指令,其包含用于执行上述计时信息展示方法所设计的程序。Embodiments of the present disclosure further provide a computer storage medium for storing computer software instructions used by the above terminal, including a program designed for executing the above method for displaying timing information.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common general knowledge or techniques in the technical field not disclosed by this disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (22)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811613895.0A CN111381908B (en) | 2018-12-27 | 2018-12-27 | Timing information display method, device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811613895.0A CN111381908B (en) | 2018-12-27 | 2018-12-27 | Timing information display method, device and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111381908A true CN111381908A (en) | 2020-07-07 |
| CN111381908B CN111381908B (en) | 2024-04-09 |
Family
ID=71217887
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811613895.0A Active CN111381908B (en) | 2018-12-27 | 2018-12-27 | Timing information display method, device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111381908B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112905027A (en) * | 2021-03-04 | 2021-06-04 | 北京小米移动软件有限公司 | Timing method and device, mobile terminal and storage medium |
| CN115242919A (en) * | 2022-07-21 | 2022-10-25 | 浙江极氪智能科技有限公司 | Timing control method and device based on terminal device |
| TWI895232B (en) * | 2025-04-15 | 2025-08-21 | 平靜科技有限公司 | Apparatus for concentration enhancement |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2639716A2 (en) * | 2012-03-09 | 2013-09-18 | Apple Inc. | Progress bar |
| US20130262527A1 (en) * | 2012-04-02 | 2013-10-03 | Nicolas M. Hunter | Smart progress indicator |
| CN106056359A (en) * | 2016-05-31 | 2016-10-26 | 乐视控股(北京)有限公司 | Note task progress tracking method, device and terminal |
| CN106534566A (en) * | 2016-11-30 | 2017-03-22 | 努比亚技术有限公司 | Borderless mobile terminal and information displaying method for borderless mobile terminal |
| CN107580039A (en) * | 2017-08-29 | 2018-01-12 | 广东欧珀移动通信有限公司 | Transmission progress display method, device and terminal |
-
2018
- 2018-12-27 CN CN201811613895.0A patent/CN111381908B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2639716A2 (en) * | 2012-03-09 | 2013-09-18 | Apple Inc. | Progress bar |
| US20130262527A1 (en) * | 2012-04-02 | 2013-10-03 | Nicolas M. Hunter | Smart progress indicator |
| US20140344746A1 (en) * | 2012-04-02 | 2014-11-20 | Apple Inc. | Smart Progress Indicator |
| CN106056359A (en) * | 2016-05-31 | 2016-10-26 | 乐视控股(北京)有限公司 | Note task progress tracking method, device and terminal |
| CN106534566A (en) * | 2016-11-30 | 2017-03-22 | 努比亚技术有限公司 | Borderless mobile terminal and information displaying method for borderless mobile terminal |
| CN107580039A (en) * | 2017-08-29 | 2018-01-12 | 广东欧珀移动通信有限公司 | Transmission progress display method, device and terminal |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112905027A (en) * | 2021-03-04 | 2021-06-04 | 北京小米移动软件有限公司 | Timing method and device, mobile terminal and storage medium |
| CN115242919A (en) * | 2022-07-21 | 2022-10-25 | 浙江极氪智能科技有限公司 | Timing control method and device based on terminal device |
| TWI895232B (en) * | 2025-04-15 | 2025-08-21 | 平靜科技有限公司 | Apparatus for concentration enhancement |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111381908B (en) | 2024-04-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107809593B (en) | Method, device, terminal and storage medium for capturing images | |
| CN109862187B (en) | Message processing method, device, terminal and storage medium | |
| US20170353817A1 (en) | Techniques for predictive power management of a mobile device | |
| CN107809591B (en) | Shoot method, apparatus, terminal and the storage medium of image | |
| US20150334118A1 (en) | Method and apparatus for clearing notification icon, and storage medium | |
| CN107544842B (en) | Application processing method and apparatus, computer equipment, storage medium | |
| US20230035047A1 (en) | Remote assistance method, device, storage medium, and terminal | |
| CN109144649A (en) | Icon display method and device, terminal and storage medium | |
| CN108182131A (en) | Monitor method, apparatus, storage medium and the electronic equipment of application operation state | |
| WO2019233307A1 (en) | User interface display method and apparatus, and terminal and storage medium | |
| CN108228300B (en) | Method and device for controlling real-time refreshing of content | |
| CN111381908A (en) | Timing information display method, device and storage medium | |
| CN106095309A (en) | Terminal operation control method and device | |
| CN109976966A (en) | A kind of application program launching time counting method, apparatus and system | |
| CN103731559B (en) | Agenda managing method and device thereof | |
| WO2017049893A1 (en) | Application program testing method, testing apparatus, and mobile terminal | |
| CN109032727A (en) | A kind of application program launching method, application program launching device and terminal device | |
| WO2019047234A1 (en) | Touch operation response method and apparatus | |
| CN107809592B (en) | Method, device, terminal and storage medium for shooting image | |
| CN112558901B (en) | A time reminder method, screen sharing method and device thereof | |
| CN112882857A (en) | Performance problem positioning method and device, electronic equipment and storage medium | |
| CN111352793A (en) | Method and device for monitoring application use data | |
| CN106155672A (en) | A kind of clocking method and terminal | |
| CN118012620A (en) | Resource scheduling method, device, electronic device and storage medium | |
| CN105183176B (en) | A kind for the treatment of method and apparatus of application 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |