Timing method, timing device, program product and electronic device

By providing a graphical user interface and multiple timing methods on the terminal device, combined with music playback functions, the problem of single functions of existing timing applications is solved, achieving a more efficient and diverse timing experience.

CN119996563APending Publication Date: 2025-05-13HANGZHOU NETEASE CLOUD MUSIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510088068.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-20
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

The existing timing application has a single function and a fixed timing method, which is difficult to meet the diverse needs of users.

Method used

A timing method is provided, which provides a graphical user interface through a terminal device, displays a timing interface in response to preset instructions, and provides a variety of candidate timing methods, clocks according to the target timing method, and displays timing information in the timing interface, while playing music during the timing process.

Benefits of technology

Combining the timing function with the music playback function to meet users' needs to record time during work, study or exercise, while improving user concentration, providing a variety of timing methods to meet users' diverse needs, reducing equipment performance and resource consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996563A_ABST
    Figure CN119996563A_ABST
Patent Text Reader

Abstract

The invention provides a timing method, a timing device, a program product and electronic equipment, and relates to the technical field of computers. The method comprises the steps of displaying a timing interface in a graphical user interface in response to a first preset instruction; timing according to a target timing mode, and displaying timing information in the timing interface; the timing interface provides a plurality of candidate timing modes, and the target timing mode is a timing mode determined from the plurality of candidate timing modes; and in the timing process, playing the first music. According to the invention, the timing function and the music playing function are combined, the user demand in a focused scene can be met, a plurality of timing modes are provided, and the diversified timing demands of the user are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer technology, and more specifically, the embodiments of the present disclosure relate to a timing method, a timing device, a computer program product and an electronic device. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the disclosure that are recited in the claims, and no description herein is admitted to be prior art by inclusion in this section.

[0003] With the development of computers and electronic devices, some timing applications have emerged, such as mobile timing apps (Applications), which can help users record time. Summary of the invention

[0004] However, most of the current timing applications have the problem of relatively single functions, such as only providing a timing function and a relatively fixed timing method, which makes it difficult to meet the diverse needs of users.

[0005] In view of the above problems, embodiments of the present disclosure provide a timing method, a timing device, a computer program product and an electronic device.

[0006] According to a first aspect of the present disclosure, a timing method is provided, which provides a graphical user interface through a terminal device; the method includes: in response to a first preset instruction, displaying a timing interface in the graphical user interface; timing according to a target timing method, and displaying timing information in the timing interface; the timing interface provides a plurality of candidate timing methods, and the target timing method is a timing method determined from the plurality of candidate timing methods; during the timing process, playing a first music.

[0007] In one embodiment, displaying a timing interface in the graphical user interface in response to a first preset instruction includes: jumping from the playback interface of the second music to the timing interface in response to the first preset instruction in the playback interface of the second music.

[0008] In one embodiment, the multiple candidate timing modes include a first timing mode; if the target timing mode is the first timing mode, timing according to the target timing mode and displaying timing information in the timing interface includes: alternately timing the first timing stage and the second timing stage, and displaying timing information of the current timing stage in the timing interface; the current timing stage is the first timing stage or the second timing stage, and the timing information includes the timing duration and / or remaining duration of the current timing stage.

[0009] In one embodiment, if the target timing mode is the first timing mode, the method further includes: determining a first duration corresponding to the first timing stage and a second duration corresponding to the second timing stage; alternatingly timing the first timing stage and the second timing stage includes: alternatingly timing the first timing stage according to the first duration, and timing the second timing stage according to the second duration.

[0010] In one embodiment, determining a first duration corresponding to the first timing stage and a second duration corresponding to the second timing stage includes: determining the first duration and the second duration in response to a first setting instruction in the timing interface.

[0011] In one embodiment, the timing interface includes a first setting sub-interface corresponding to the first timing mode; determining the first duration and the second duration in response to the first setting instruction in the timing interface includes: determining the first duration and the second duration in response to the first setting instruction in the first setting sub-interface.

[0012] In one embodiment, the first setting sub-interface includes a first duration setting control and a second duration setting control; the determining of the first duration and the second duration in response to the first setting instruction in the first setting sub-interface includes: in response to the setting instruction for the first duration setting control, adjusting the duration in the first duration setting control according to the first step, and determining the first duration based on the adjusted duration; in response to the setting instruction for the second duration setting control, adjusting the duration in the second duration setting control according to the second step, and determining the second duration based on the adjusted duration.

[0013] In one embodiment, the first timing method is a method of timing according to rounds, and each round includes one first timing stage and one second timing stage; if the target timing method is the first timing method, the method further includes: in the process of alternately timing the first timing stage and the second timing stage, displaying current round information in the timing interface; the current round information includes the sequence number of the current round and / or the number of rounds that have been completed; in response to completing the timing of one first timing stage and one second timing stage, adding one to the current round information.

[0014] In one embodiment, the alternating timing of the first timing stage and the second timing stage and displaying the timing information of the current timing stage in the timing interface includes: responding to a first timing start instruction, starting to alternately timing the first timing stage and the second timing stage, and displaying the timing information of the current timing stage in the timing interface.

[0015] In one embodiment, the timing interface includes a first timing sub-interface corresponding to the first timing mode; the response to the first timing start instruction, the first timing stage and the second timing stage are started to be alternately timed, and the timing information of the current timing stage is displayed in the timing interface, including: responding to the first timing start instruction, the first timing stage and the second timing stage are started to be alternately timed, and the timing information of the current timing stage is displayed in the first timing sub-interface.

[0016] In one embodiment, the method also includes: in response to a second setting instruction in the first timing sub-interface, setting at least one of the following information: a second duration corresponding to the second timing stage; whether to turn on a sound reminder; whether to turn on a vibration reminder; whether to keep the screen status of the terminal device in a display state.

[0017] In one embodiment, the method further includes: in the process of alternately timing the first timing stage and the second timing stage, in response to an interrupt instruction, if the current timing stage is the first timing stage, pausing the timing, and if the current timing stage is the second timing stage, continuing the timing.

[0018] In one embodiment, the interrupt instruction includes a folding instruction for the timing interface; the method also includes: in response to the folding instruction, displaying other interfaces other than the timing interface in the graphical user interface, and displaying the timing information through a window interface in the graphical user interface.

[0019] In one embodiment, the method further includes at least one of the following steps: in the first timing stage, in response to entering a first time period before the end of the first timing stage, presenting a first prompt message; in response to the end of the first timing stage, presenting a second prompt message; in the second timing stage, in response to entering a second time period before the end of the second timing stage, presenting a third prompt message; in response to the end of the second timing stage, presenting a fourth prompt message.

[0020] In one embodiment, the method further includes: if the current timing stage is the second timing stage, providing an early end control in the timing interface; and ending the timing of the current timing stage in response to a trigger instruction for the early end control.

[0021] In one embodiment, the method further includes at least one of the following steps: in the process of alternately timing the first timing stage and the second timing stage, in response to switching the interface displayed in the graphical user interface to the desktop, displaying the timing information through a first floating interface in the graphical user interface; in the process of alternately timing the first timing stage and the second timing stage, in response to switching the interface displayed in the graphical user interface to the lock screen interface, displaying the timing information through a second floating interface in the graphical user interface.

[0022] In one embodiment, the method also includes: if the current timing stage is the first timing stage, providing a first jump control in the first floating interface or the second floating interface; in response to a trigger instruction for the first jump control, jumping to the timing interface and displaying a first confirmation end message; in response to the first confirmation end instruction, ending the timing process.

[0023] In one embodiment, the method also includes: if the current timing stage is the second timing stage, providing a second jump control in the first floating interface or the second floating interface; in response to a trigger instruction for the second jump control, jumping to the timing interface and displaying a second confirmation end information; in response to a second confirmation end instruction, ending the timing of the current timing stage.

[0024] In one embodiment, the multiple candidate timing methods include a second timing method; if the target timing method is the second timing method, timing according to the target timing method and displaying timing information in the timing interface includes: starting timing from zero and displaying the timing duration in the timing interface.

[0025] In one embodiment, the timing interface includes a second timing sub-interface corresponding to the second timing mode; starting timing from zero and displaying the timing duration in the timing interface includes: responding to a second timing start instruction, starting timing from zero and displaying the timing duration in the second timing sub-interface.

[0026] In one embodiment, the method further includes: in response to a third setting instruction in the second timing sub-interface, setting whether to keep the screen state of the terminal device in a display state.

[0027] In one embodiment, the multiple candidate timing methods include a third timing method; if the target timing method is the third timing method, timing according to the target timing method and displaying timing information in the timing interface includes: counting down according to a third duration and displaying the remaining duration of the third duration in the timing interface.

[0028] In one implementation, if the target timing mode is a third timing mode, the method further includes: determining the third duration in response to a fourth setting instruction in the timing interface.

[0029] In one embodiment, the timing interface includes a third setting sub-interface corresponding to the third timing mode; determining the third duration in response to a fourth setting instruction in the timing interface includes: determining the third duration in response to a fourth setting instruction in the third setting sub-interface.

[0030] In one embodiment, the third setting sub-interface includes a third duration setting control; determining the third duration in response to a fourth setting instruction in the third setting sub-interface includes: in response to the setting instruction for the third duration setting control, adjusting the duration in the third duration setting control according to a third step, and determining the third duration based on the adjusted duration.

[0031] In one embodiment, the timing interface includes a third timing sub-interface corresponding to the third timing method; the countdown according to the third time duration and the display of the remaining time of the third time duration in the timing interface include: responding to a third timing start instruction, starting the countdown according to the third time duration, and displaying the remaining time of the third time duration in the third timing sub-interface.

[0032] In one embodiment, the method further includes: in response to a fifth setting instruction in the third timing sub-interface, setting at least one of the following information: whether to turn on a sound reminder; whether to turn on a vibration reminder; whether to keep the screen status of the terminal device in a display state.

[0033] In one embodiment, the method further includes at least one of the following steps: in response to entering a third time period before the end of the third duration, presenting a fifth prompt message; in response to the end of the third duration, presenting a sixth prompt message.

[0034] In one implementation, the timing interface includes sub-interfaces corresponding to the multiple candidate timing modes; and timing according to the target timing mode includes:

[0035] In response to the timing start instruction, the candidate timing mode corresponding to the currently displayed sub-interface is used as the target timing mode, and timing is performed according to the target timing mode.

[0036] In one embodiment, the method further includes: in response to a music control instruction in the timing interface, controlling the playback information of the first music currently being played; and in response to a music switching instruction in the timing interface, switching the first music currently being played to other music.

[0037] In one embodiment, in response to a music switching operation in the timing interface, switching the first music currently being played to other music includes: in response to a control trigger instruction in the timing interface, displaying a music selection interface; in response to a selection instruction in the music selection interface, switching the first music currently being played to other music, and returning to the timing interface.

[0038] In one embodiment, the method also includes: in response to not receiving an operation within a fourth time period after the start of the timing process, controlling the timing interface to change from a first display state to a second display state; the interface elements displayed by the timing interface in the second display state are less than the interface elements displayed in the first display state.

[0039] In one embodiment, the method further includes: in response to the timing process ending, displaying timing statistical information.

[0040] According to a second aspect of the present disclosure, a timing device is provided, which provides a graphical user interface through a terminal device; the device includes: a timing interface display module, configured to display a timing interface in the graphical user interface in response to a first preset instruction; a timing processing module, configured to perform timing according to a target timing method and display timing information in the timing interface; the timing interface provides a plurality of candidate timing methods, and the target timing method is a timing method determined from the plurality of candidate timing methods; and a music playing module, configured to play a first music during the timing process.

[0041] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method of the first aspect and possible implementation methods thereof are implemented.

[0042] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the method of the above-mentioned first aspect and its possible implementation methods by executing the executable instructions.

[0043] The embodiments of the present disclosure have the following technical effects:

[0044] In response to the first preset instruction, a timing interface is displayed in the graphical user interface, and the timing interface provides a plurality of candidate timing methods. When the target timing method is determined, timing is performed according to the target timing method, timing information is displayed in the timing interface, and the first music is played during the timing process. On the one hand, the timing function is combined with the music playing function, so that the user can listen to music while timing. The timing function helps the user record and manage time during work, study or exercise, and the music playing function is conducive to improving the user's concentration, thereby solving the user's needs in the concentration scenario. In addition, there is no need to run multiple applications, which reduces the performance and resource consumption of the user's device. On the other hand, providing a variety of candidate timing methods can meet the diverse timing needs of users and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic diagram showing an operating environment in an embodiment of the present disclosure.

[0046] Figure 2 A flow chart showing a timing method in an embodiment of the present disclosure is shown.

[0047] Figure 3A A schematic diagram showing a playback interface in an embodiment of the present disclosure.

[0048] Figure 3B A schematic diagram showing a playback interface in an embodiment of the present disclosure.

[0049] Figure 4A A schematic diagram of a first setting sub-interface in an embodiment of the present disclosure is shown.

[0050] Figure 4B A schematic diagram of a first timing sub-interface in an embodiment of the present disclosure is shown.

[0051] Figure 4C A schematic diagram of a first timing sub-interface in an embodiment of the present disclosure is shown.

[0052] Figure 5A A schematic diagram of a first floating interface in an embodiment of the present disclosure is shown.

[0053] Figure 5B A schematic diagram of a second floating interface in an embodiment of the present disclosure is shown.

[0054] Figure 5C A schematic diagram of a first floating interface in an embodiment of the present disclosure is shown.

[0055] Figure 5D A schematic diagram of a second floating interface in an embodiment of the present disclosure is shown.

[0056] Fig. 6AA schematic diagram of a second setting sub-interface in an embodiment of the present disclosure is shown.

[0057] Figure 6B A schematic diagram of a second timing sub-interface in an embodiment of the present disclosure is shown.

[0058] Fig. 7A A schematic diagram of a third setting sub-interface in an embodiment of the present disclosure is shown.

[0059] Figure 7B A schematic diagram of a third timing sub-interface in an embodiment of the present disclosure is shown.

[0060] Figure 8 A schematic diagram showing a timing statistics interface in an embodiment of the present disclosure is shown.

[0061] Fig. 9 An interaction schematic diagram in an embodiment of the present disclosure is shown.

[0062] Fig.10 An implementation architecture diagram of an embodiment of the present disclosure is shown.

[0063] Fig.11 A schematic structural diagram of a timing device in an embodiment of the present disclosure is shown.

[0064] Fig.12 A schematic structural diagram of an electronic device in an embodiment of the present disclosure is shown.

[0065] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION

[0066] The following is a detailed description of the principles and spirit of the present disclosure with reference to several representative embodiments of the present disclosure. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present disclosure, and are not intended to limit the scope of the present disclosure in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0067] The embodiments of the present disclosure may be implemented as a system, device, apparatus, method or computer program product. Therefore, the present disclosure may be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software. SUMMARY OF THE INVENTION

[0069] In the related art, there are some timing applications, such as mobile timing apps, which can help users record time. However, most of these timing applications have the problem of relatively single functions, such as only providing a timing function and a relatively fixed timing method, which makes it difficult to meet the diverse needs of users.

[0070] In view of the above, the present disclosure provides a timing method, a timing device, a program product and an electronic device. In response to a first preset instruction, a timing interface is displayed in a graphical user interface. The timing interface provides a plurality of candidate timing methods. When a target timing method is determined, timing is performed according to the target timing method, timing information is displayed in the timing interface, and the first music is played during the timing process. On the one hand, the timing function is combined with the music playing function, so that the user can listen to music while timing. The timing function helps the user record and manage time during work, study or exercise. The music playing function is conducive to improving the user's concentration, thereby solving the user's needs in the concentration scenario. In addition, there is no need to run multiple applications, which reduces the performance and resource consumption of the user's device. On the other hand, providing a variety of candidate timing methods can meet the diverse timing needs of users and improve the user experience.

[0071] After introducing the basic principles of the present disclosure, various non-limiting embodiments of the present disclosure are described in detail below.

[0072] Application Scenario Overview

[0073] It should be noted that the following application scenarios are only shown to facilitate understanding of the spirit and principle of the present disclosure, and the embodiments of the present disclosure are not limited in this respect. On the contrary, the embodiments of the present disclosure can be applied to any applicable scenario.

[0074] The embodiments of the present disclosure may be used to implement a timing function in music apps, music websites, and other scenarios. Users may select a target timing method from a variety of candidate timing methods to manage time, and may listen to music during the timing process.

[0075] Figure 1The system architecture of the operating environment of the embodiment of the present disclosure is shown. The system architecture may include a terminal device 110 and a server 120. The terminal device 110 may be a mobile phone, a personal computer, a tablet computer, a smart wearable device, etc., and has an audio function. It can run audio-related programs, such as a music app, a music website, etc., to play the first music, the second music or other music. The terminal device 110 has an interactive function, such as being provided with interactive components such as a touch screen, a voice interaction module, a gesture interaction module, or operating devices such as a mouse and a keyboard, so that the user can perform related interactive operations such as timing and music control. The server 120 is a background for providing music, timing and other related services, which may be a server or a cluster formed by multiple servers. In one embodiment, the server 120 may include a first service system and a second service system, the first service system providing music services, and the second service system providing timing services. The terminal device 110 and the server 120 may be connected through a wired or wireless communication link to achieve information interaction.

[0076] The timing method in the embodiments of the present disclosure may be executed by the terminal device 110 or the server 120 alone, or may be executed by the terminal device 110 and the server 120 together.

[0077] In one implementation, the timing method may be executed independently by the terminal device 110 without setting up the server 120. For example, a music app may be run in a stand-alone environment, and the timing function thereof may be used.

[0078] Exemplary Methods

[0079] The timing method in the embodiment of the present disclosure is exemplarily described below. In the embodiment of the present disclosure, a graphical user interface may be provided by a terminal device. Figure 2 The flow of the timing method is shown, which may include steps S210 to S230:

[0080] Step S210: In response to a first preset instruction, a timing interface is displayed in a graphical user interface.

[0081] The first preset instruction is an instruction for entering the timing interface. For example, in a music app, a timing function option can be set (such as providing the timing function option in the form of a tab), and the operation instruction of the user clicking the option is the first preset instruction, which can trigger entering the timing interface.

[0082] In one embodiment, the displaying of the timing interface in the graphical user interface in response to the first preset instruction may include the following steps:

[0083] In response to a first preset instruction in the playback interface of the second music, jump from the playback interface of the second music to the timing interface.

[0084] The second music is the music played before entering the timing interface, and can be any music. The playback interface of the second music can be used to turn on the timing function. For example, the user can perform a specific gesture operation in the playback interface of the second music to generate a first preset instruction, triggering a jump from the playback interface of the second music to the timing interface. Alternatively, an option or control for turning on the timing function is provided in the playback interface of the second music, and the operation instruction of the user clicking the option or control is the first preset instruction, triggering a jump from the playback interface of the second music to the timing interface. Figure 3A A schematic diagram of the playback interface of the second music is shown. When the user clicks on the more control 301, the display is triggered. Figure 3B The pop-up window shown in the figure provides more options for functions, including the "Focus Assistant" option. When the user clicks on this option, it triggers the jump from the playback interface of the second music to the timing interface. As a result, the user can easily turn on the timing function during music playback.

[0085] Step S220, timing is performed according to the target timing mode, and timing information is displayed in the timing interface; the timing interface provides a plurality of candidate timing modes, and the target timing mode is a timing mode determined from the plurality of candidate timing modes.

[0086] The user may set the target timing method in advance in the setting interface, or select the target timing method from the candidate timing methods after entering the timing interface. Alternatively, if the user does not actively set the target timing method, the program may automatically determine the target timing method, such as setting the first candidate timing method as the target timing method by default.

[0087] The timing can be started immediately after entering the timing interface, or in response to determining the target timing mode, or in response to a timing start instruction (such as a user clicking a start timing control in the timing interface). During the timing process, timing information is displayed in the timing interface, such as timing duration and other information.

[0088] Step S230, during the timing process, play the first music.

[0089] The first music is the music played during the timing process, and can be any music. In one embodiment, the first music can be the second music mentioned above. Specifically, during the playing of the second music, in response to the first preset instruction in the playing interface of the second music, the playing interface jumps to the timing interface, and then the timing starts. During this process, the second music can continue to be played, or, after jumping to the timing interface or starting the timing, the second music can be played from the beginning.

[0090] In one embodiment, the user can set the first music, such as selecting a target playlist in the timing interface, or selecting a target playlist through a function or control in the timing interface, or presetting a target playlist during the timing process, and the music in the target playlist is the first music. In response to starting the timing, the target playlist is played.

[0091] In the embodiment of the present disclosure, the candidate timing modes may include at least one or more of the first timing mode, the second timing mode, and the third timing mode. The following is an exemplary description of the three candidate timing modes.

[0092] In one embodiment, the multiple candidate timing modes include a first timing mode. If the target timing mode is the first timing mode, performing timing according to the target timing mode and displaying timing information in the timing interface may include the following steps:

[0093] The first timing stage and the second timing stage are timed alternately, and the timing information of the current timing stage is displayed in the timing interface; the current timing stage is the first timing stage or the second timing stage, and the timing information includes the timing duration and / or remaining duration of the current timing stage.

[0094] The first timing method is a timing method that alternates between the first timing stage and the second timing stage. For example, the first timing method may be a timing method based on the Pomodoro Technique, where the first timing stage is the concentration stage and the second timing stage is the rest stage. By alternating between the concentration stage and the rest stage, the user can work and rest alternately, and this working method is more scientific and reasonable.

[0095] In the alternating timing process, when a timing stage ends, the timing information can be cleared and the timing of the next timing stage can be started. For example, in response to entering the first timing stage, the timing starts from zero, and in response to the end of the first timing stage and entering the second timing stage, the timing starts from zero again. The timing information of the current timing stage can be displayed in the timing interface, which can be the timing duration of the current timing stage, the remaining duration (that is, the difference between the total duration of the current timing stage and the timing duration), or the timing duration and the remaining duration can be displayed at the same time.

[0096] In one implementation, if the target timing mode is the first timing mode, the timing method may further include the following steps:

[0097] A first duration corresponding to the first timing stage and a second duration corresponding to the second timing stage are determined.

[0098] The above-mentioned alternate timing of the first timing stage and the second timing stage may include the following steps:

[0099] The first timing phase is timed according to the first duration, and the second timing phase is timed according to the second duration alternately.

[0100] Among them, the first duration is the total duration of a first timing stage, and the second duration is the total duration of a second timing stage. The first duration and the second duration can be set by the user, or the first duration and the second duration can be automatically determined by the program, or the user only sets the first duration and the program automatically determines the second duration, or the user only sets the second duration and the program automatically determines the first duration. In the case of determining the first duration and the second duration, the first timing stage can be timed according to the first duration, and the second timing stage can be timed according to the second duration. Specifically, in response to entering the first timing stage, timing starts from zero, and when the timing duration reaches the first duration, it indicates that the first timing stage ends, and entering the second timing stage, timing starts from zero, and when the timing duration reaches the second duration, it indicates that the second timing stage ends.

[0101] In one implementation, the determining of the first duration corresponding to the first timing stage and the second duration corresponding to the second timing stage may include the following steps:

[0102] In response to a first setting instruction in the timing interface, a first duration and a second duration are determined.

[0103] The first setting instruction is an instruction for setting the first duration and the second duration. For example, a duration setting control is provided in the timing interface, and the user can set the first duration and the second duration through the control. Alternatively, the user can implement the first setting instruction through a specific gesture in the timing interface to set the first duration and the second duration, such as sliding in a specific direction to adjust the first duration or the second duration, or spreading or bringing two fingers together to adjust the first duration or the second duration.

[0104] In one implementation, in response to determining that the target timing mode is the first timing mode, a setting window for the first duration and the second duration is displayed in the timing interface, and the user can set the first duration and the second duration in the setting window.

[0105] In one embodiment, the timing interface includes a first setting sub-interface corresponding to the first timing mode. The above-mentioned determination of the first duration and the second duration in response to the first setting instruction in the timing interface may include the following steps:

[0106] In response to a first setting instruction in the first setting sub-interface, a first duration and a second duration are determined.

[0107] Among them, the first setting sub-interface is a sub-interface for setting relevant information of the first timing mode (including the first duration and the second duration). Figure 4AA schematic diagram showing the first setting sub-interface displayed in the timing interface is shown. The timing interface provides tabs corresponding to different candidate timing methods, such as "Pomodoro", "Countup", "Countdown" and other tabs, and "Pomodoro" is the first timing method. After entering the timing interface, you can first set the timing. If the user selects the tab corresponding to the first timing method (i.e., the "Pomodoro" tab) or the program selects the tab corresponding to the first timing method by default, the first setting sub-interface will be displayed in the timing interface. Figure 4A The sub-interface shown.

[0108] The user can implement the first setting instruction through a specific gesture in the first setting sub-interface to set the first duration and the second duration. In one embodiment, the first setting sub-interface includes a first duration setting control and a second duration setting control. The above-mentioned response to the first setting instruction in the first setting sub-interface to determine the first duration and the second duration includes the following steps:

[0109] In response to a setting instruction for a first duration setting control, adjusting the duration in the first duration setting control according to the first step, and determining the first duration according to the adjusted duration;

[0110] In response to the setting instruction for the second duration setting control, the duration in the second duration setting control is adjusted according to the second step length, and the second duration is determined according to the adjusted duration.

[0111] The first duration setting control is used to set the first duration, and the second duration setting control is used to set the second duration. The first step length and the second step length can be the time adjustment step lengths preset in the program and can be pre-configured by the program developer. For example, refer to Figure 4A As shown, the first setting sub-interface includes a first duration setting control 401 and a second duration setting control 402. The first duration setting control 401 can adjust the first duration according to the first step, which is 5 minutes. When the user uses the first duration setting control 401, it can be adjusted in 5 minutes as the minimum unit. For example, the program defaults to the initial first duration of 25 minutes, and the user can adjust it to 30, 35, 20, 15 minutes, etc. For example, the duration value in the first duration setting control 401 can be scrolled left and right to adjust, thereby determining the final first duration. The second duration setting control 402 can adjust the second duration according to the second step, which is 1 minute. When the user uses the second duration setting control 402, it can be adjusted in 1 minute as the minimum unit. For example, the program defaults to the initial second duration of 5 minutes, and the user can adjust it to 6, 7, 4, 3 minutes, etc. For example, the user can click the arrow on the right side of "5 minutes" and scroll up and down to adjust, thereby determining the final second duration. The first duration setting control 401 and the second duration setting control 402 provide a very convenient operation method for setting the first duration and the second duration.

[0112] In one embodiment, the user can also set the first duration or the second duration of any value through the first duration setting control or the second duration setting control. For example, the first duration setting control or the second duration setting control allows the user to freely input a duration value, which can be accurate to seconds or other time units (such as 0.1 seconds, milliseconds). In this way, the user can accurately set the first duration or the second duration.

[0113] In one embodiment, the above-mentioned alternately timing the first timing stage and the second timing stage, and displaying the timing information of the current timing stage in the timing interface, may include the following steps:

[0114] In response to the first timing start instruction, the first timing stage and the second timing stage are started to be alternately timed, and the timing information of the current timing stage is displayed in the timing interface.

[0115] The first timing start instruction is an instruction that triggers the start of timing in the first timing mode. If the target timing mode is determined to be the first timing mode, the timing interface provides a timing start control, and the instruction of the user clicking the control is the first timing start instruction, which triggers the start of timing according to the first target timing mode and displays corresponding timing information.

[0116] In one embodiment, the timing interface includes a first timing sub-interface corresponding to the first timing mode. In response to the first timing start instruction, the first timing stage and the second timing stage are alternately timed, and the timing information of the current timing stage is displayed in the timing interface, which may include the following steps:

[0117] In response to the first timing start instruction, the first timing stage and the second timing stage are started to be alternately timed, and the timing information of the current timing stage is displayed in the first timing sub-interface.

[0118] The first timing sub-interface is a sub-interface for timing according to the first timing mode. Figure 4A As shown, the first setting sub-interface is displayed in the timing interface, and a timing start control 403 is provided. The user clicks the timing start control 403 to generate a first timing start instruction, which is equivalent to determining the first timing mode as the target timing mode, triggering the start of timing according to the first timing mode, and then entering Figure 4B The first timing sub-interface shown displays corresponding timing information. For example, if the first timing stage is currently in progress, the remaining time of the first timing stage may be displayed.

[0119] In one embodiment, the timing method may further include the following steps:

[0120] In response to the second setting instruction in the first timing sub-interface, at least one of the following information is set: the second duration corresponding to the second timing stage; whether to turn on the sound reminder; whether to turn on the vibration reminder; whether to keep the screen status of the terminal device in the display state.

[0121] Exemplary, reference Figure 4B As shown, the first timing sub-interface provides a first timing setting control 404. In addition, referring to Figure 4A As shown, the first setting sub-interface may also provide a first timing setting control 404. The above-mentioned second setting instruction may be an operation instruction for the first timing setting control 404. For example, when the user clicks the first timing setting control 404, one or more of the following setting items are displayed: the second duration corresponding to the second timing stage; whether to turn on the sound reminder; whether to turn on the vibration reminder; whether to keep the screen state of the terminal device in the display state. The user can set these setting items. Among them, the sound reminder is a reminder in the form of an audio such as a ringtone or voice when the first timing stage ends or is about to end, or the second timing stage ends or is about to end; the vibration reminder is a reminder in the form of a vibration when the first timing stage ends or is about to end, or the second timing stage ends or is about to end; keeping the screen state of the terminal device in the display state means keeping the screen of the terminal device always on during the timing process, and the screen will not automatically turn off. A setting function for one or more of the above information is provided in the first timing sub-interface, so that the user can set and manage the timing process.

[0122] In one embodiment, the first timing method is a timing method based on rounds, and each round includes a first timing stage and a second timing stage. If the target timing method is the first timing method, the timing method may further include the following steps:

[0123] In the process of alternately timing the first timing stage and the second timing stage, current round information is displayed in the timing interface; the current round information includes the sequence number of the current round and / or the number of rounds that have been completed;

[0124] In response to completing the timing of a first timing phase and a second timing phase, the current round information is incremented by one.

[0125] Specifically, in the process of timing according to the first timing method, you can first enter the first timing stage, and after the first timing stage is completed, you can enter the second timing stage. The completion of the second timing stage means that one round of timing is completed. Then enter the next round, and time according to the first timing stage and the second timing stage again. The current round information can be displayed in the timing interface. For example, n rounds of timing have been completed, and the current round is the n+1th round of timing. "The n+1th round of timing" can be displayed in the timing interface, and n+1 is the ordinal number of the current round. Figure 4B The "3rd round of focus" shown indicates that the current timing is in the first stage of the 3rd round of timing, and two rounds of timing have been completed. It can also display "n rounds of timing completed", where n is the number of rounds of timing completed. Each time a round of timing is completed, the current round information is increased by one. In this way, users can intuitively see the completed timing situation.

[0126] In one embodiment, the timing method may further include the following steps:

[0127] In the process of alternately timing the first timing stage and the second timing stage, in response to an interrupt instruction, if the current timing stage is the first timing stage, the timing is suspended, and if the current timing stage is the second timing stage, the timing is continued.

[0128] The interrupt instruction is an instruction for interrupting the timing process. For example, a pause timing control may be provided in the timing interface, and the interrupt instruction may include an instruction for pausing the timing control. Alternatively, an instruction for switching from the timing interface to another interface is equivalent to an interrupt instruction.

[0129] The first timing stage may be a concentration stage. If an interruption instruction is triggered during the first timing stage, the timing may be paused, i.e., the concentration process may be interrupted, so that the user may pause the concentration during the concentration process and do other things for a short time. The second timing stage may be a rest stage. If an interruption instruction is triggered during the second timing stage, the timing may be continued because the rest stage does not need to be interrupted, i.e., the rest process is not interrupted. In the case of paused timing, in response to a continue timing instruction, such as when the user clicks the continue timing control, the timing may be continued.

[0130] In one implementation, the number of interruptions during the timing process may be recorded. In response to an interrupt instruction, if the current timing stage is the first timing stage, the number of interruptions is increased by one; if the current timing stage is the second timing stage, the number of interruptions is not increased by one.

[0131] In one embodiment, the interruption instruction includes a folding instruction for the timing interface. The timing method may further include the following steps:

[0132] In response to the collapse instruction, other interfaces except the timing interface are displayed in the graphical user interface, and the timing information is displayed through a window interface in the graphical user interface.

[0133] The retract command is used to retract the timing interface into a window interface, so that other interfaces can be displayed outside the window interface, which is equivalent to switching from the timing interface to other interfaces. Therefore, the retract command can be regarded as an interrupt command. For example, a retract control can be provided in the timing interface, such as Figure 4BThe first timing sub-interface shown provides a folding control 406, and the folding instruction may be an operation instruction for folding the control 406. In response to the folding instruction, other interfaces are displayed in the graphical user interface, such as the interface before entering the timing interface, or the playback interface of the first music currently being played, and the timing information is displayed in the window interface. The timing information displayed in the window interface may be all the timing information, or considering the limited space of the window interface, abbreviated timing information may be displayed, such as only displaying the timing duration of the current timing stage. If the timing of the first timing stage has been paused at this time, the timing information displayed in the window interface may be paused information. If the timing of the second timing stage is being maintained at this time, the timing information displayed in the window interface may be dynamic information.

[0134] In one embodiment, the timing method may further include at least one of the following steps:

[0135] In the first timing stage, in response to entering the first time period before the end of the first timing stage, a first prompt message is presented. The first time period can be automatically determined by the program (such as pre-configured by the developer), or can be set by the user, such as 3 seconds. Then, 3 seconds before the end of the first timing stage, the first prompt message is presented to remind the user that the first timing stage is about to end. The first prompt message can be any type of prompt message, such as a sound reminder message.

[0136] In response to the end of the first timing phase, a second prompt message is presented. The second prompt message is used to prompt the user that the first timing phase has ended. The second prompt message can be any type of prompt message, such as a vibration reminder message.

[0137] In the second timing stage, in response to entering the second time period before the end of the second timing stage, a third prompt message is presented. The third time period can be automatically determined by the program (such as pre-configured by the developer) or set by the user, such as 3 seconds. Then, 3 seconds before the end of the second timing stage, the third prompt message is presented to remind the user that the second timing stage is about to end. The second prompt message can be any type of prompt message, such as a sound reminder message.

[0138] In response to the end of the second timing phase, a fourth prompt message is presented. The fourth prompt message is used to prompt the user that the second timing phase has ended. The fourth prompt message can be any type of prompt message, such as a vibration reminder message.

[0139] Through the above one or more prompt information, the user can accurately grasp the end of the first timing stage or the second timing stage.

[0140] In one embodiment, the timing method may further include the following steps:

[0141] If the current timing stage is the second timing stage, an early end control is provided in the timing interface;

[0142] In response to the trigger instruction for terminating the control early, the timing of the current timing stage is ended.

[0143] Figure 4C A schematic diagram of the second timing stage is shown. In the second timing stage, an early end control 407 can be provided in the timing interface (such as the first timing sub-interface). When the user clicks the early end control 407, the current timing stage is immediately ended and the next first timing stage can be entered. This makes it easy for the user to flexibly control the second timing stage.

[0144] In one embodiment, the timing method may further include at least one of the following steps:

[0145] In the process of alternately timing the first timing stage and the second timing stage, in response to switching the interface displayed in the graphical user interface to the desktop, the timing information is displayed through the first floating interface in the graphical user interface. For example, in the process of timing according to the first timing method, if the user returns to the desktop, the timing process continues, and the first floating interface can be displayed on the desktop, and the timing information is displayed in the first floating interface. In addition, if the user enters other applications, the timing information can also be displayed through the first floating interface in the graphical user interface. This makes it easy for users to grasp the timing when operating outside the above-mentioned music app.

[0146] In the process of alternately timing the first timing stage and the second timing stage, in response to switching the interface displayed in the graphical user interface to the lock screen interface, the timing information is displayed through the second floating interface in the graphical user interface. For example, in the process of timing according to the first timing method, if the user performs a lock screen operation, the timing process continues at this time, and the second floating interface can be displayed on the lock screen interface, and the timing information is displayed in the second floating interface. This makes it easy for the user to grasp the timing situation when the screen is locked.

[0147] In one embodiment, the timing method may further include the following steps:

[0148] If the current timing stage is the first timing stage, providing a first jump control in the first floating interface or the second floating interface;

[0149] In response to the trigger instruction for the first jump control, jump to the timing interface and display the first confirmation end information;

[0150] In response to the first confirmation end instruction, the timing process ends.

[0151] Figure 5Ashows a schematic diagram of a first floating interface 501, Figure 5B A schematic diagram of the second floating interface 502 is shown. If the current timing stage is the first timing stage, a first jump control 503 is provided in the first floating interface 501 or the second floating interface 502. When the user clicks the first jump control 503, it triggers the jump back to the timing interface and displays the first confirmation end information. The first confirmation end information is used by the user to confirm whether to end the timing process. The user's confirmation instruction for the first confirmation end information is the first confirmation end instruction, which can trigger the end of the timing process.

[0152] In one embodiment, the timing method may further include the following steps:

[0153] If the current timing stage is the second timing stage, providing a second jump control in the first floating interface or the second floating interface;

[0154] In response to the trigger instruction for the second jump control, jump to the timing interface and display the second confirmation end information;

[0155] In response to the second confirmation end instruction, the timing of the current timing stage is ended.

[0156] Figure 5C shows a schematic diagram of a first floating interface 501, Figure 5D A schematic diagram of the second floating interface 502 is shown. If the current timing stage is the second timing stage, a second jump control 504 is provided in the first floating interface 501 or the second floating interface 502. When the user clicks the second jump control 504, it triggers the jump back to the timing interface and displays the second confirmation end information. The second confirmation end information is used for the user to confirm whether to end the current timing stage. The user's confirmation instruction for the second confirmation end information is the second confirmation end instruction, which can trigger the current timing stage and enter the next first timing stage.

[0157] The first timing method is described above as an example. The second timing method is described below.

[0158] In one embodiment, the multiple candidate timing modes include a second timing mode. If the target timing mode is the second timing mode, performing timing according to the target timing mode and displaying timing information in the timing interface may include the following steps:

[0159] The timing starts from zero and the timing duration is displayed in the timing interface.

[0160] The second timing mode may be a positive timing mode. In the positive timing mode, the timing starts from zero and the timing duration is displayed. In one embodiment, a target duration may be set in the second timing mode, and the remaining duration (i.e., the target duration minus the timing duration) may be displayed in the timing interface. In response to the timing duration reaching the target duration, it is determined that the timing process ends.

[0161] In one embodiment, the timing interface includes a second timing sub-interface corresponding to the second timing mode. The above-mentioned starting timing from zero and displaying the timing duration in the timing interface may include the following steps:

[0162] In response to the second timing start instruction, timing starts from zero, and the timing duration is displayed in the second timing sub-interface.

[0163] The second timing start instruction is an instruction for triggering the start of timing in the second timing mode. For example, when the target timing mode is determined to be the second timing mode, the timing start instruction triggered by the user is the second timing start instruction.

[0164] In one embodiment, the timing interface includes a second setting sub-interface corresponding to the second timing mode, which can be used to set relevant information of the second timing mode and display the timing starting point (such as the time point "00:00"). The second timing start instruction can be an instruction triggered in the second setting sub-interface. Fig. 6A A schematic diagram showing the second setting sub-interface displayed in the timing interface is shown. The timing interface provides tabs corresponding to different candidate timing modes, such as the "Pomodoro", "Countup", "Countdown" and other tabs, and "Countup" is the second timing mode. After entering the timing interface, you can first set the timing. If the user selects the tab corresponding to the second timing mode (i.e., the "Countup" tab) or the program selects the tab corresponding to the second timing mode by default, the second setting sub-interface will be displayed in the timing interface. Fig. 6A The second setting sub-interface provides a timing start control 403. The instruction of the user clicking the timing start control 403 in the second setting sub-interface is the second timing start instruction, which triggers the display Figure 6B The second timing sub-interface shown in the figure starts timing according to the second timing method. The second timing sub-interface can display the timing duration.

[0165] In one embodiment, the timing method may further include the following steps:

[0166] In response to the third setting instruction in the second timing sub-interface, it is set whether to keep the screen state of the terminal device in the display state.

[0167] Exemplary, reference Figure 6B As shown, the second timing sub-interface provides a second timing setting control 409. In addition, referring to Fig. 6A As shown, the second setting sub-interface may also provide a second timing setting control 409. The above-mentioned third setting instruction may be an operation instruction for the second timing setting control 409. For example, when the user clicks the second timing setting control 409, a setting item is displayed indicating whether to keep the screen status of the terminal device in the display status, and the user can set the setting item. Keeping the screen status of the terminal device in the display status means keeping the screen of the terminal device always on during the timing process, and the screen will not automatically turn off. Users can set it according to their own needs. In addition, the third setting instruction can also be used to set other items, such as whether to turn on sound reminders, whether to turn on vibration reminders, etc. It is convenient for users to set and manage the timing process.

[0168] In one embodiment, the timing method may further include the following steps:

[0169] During the timing in the second timing mode, the timing is suspended in response to an interrupt instruction.

[0170] Exemplarily, a pause timing control may be provided in the timing interface, and the interruption instruction may include an instruction for the pause timing control. Alternatively, the instruction to switch from the timing interface to another interface is equivalent to the interruption instruction. The interruption instruction may trigger the pause timing, so that the user can pause the concentration during the concentration process and do other things briefly. In the case of pause timing, in response to the continue timing instruction, such as the user clicking the continue timing control, the timing continues.

[0171] In one implementation, the number of interruptions during the timing process may be recorded. Specifically, during the timing process in accordance with the second timing mode, in response to an interruption instruction, the number of interruptions is increased by one.

[0172] In one embodiment, the interruption instruction includes a retracting instruction for the timing interface. The timing method may further include: in response to the retracting instruction, displaying other interfaces other than the timing interface in the graphical user interface, and displaying the timing information through a window interface in the graphical user interface.

[0173] In one implementation, during the timing process of the second timing mode, in response to jumping to the desktop, the timing information can be displayed in the first floating interface, and in response to jumping to the lock screen interface, the timing information can be displayed in the second floating interface.

[0174] In one embodiment, a first jump control is provided in the first floating interface or the second floating interface; in response to a trigger instruction for the first jump control, the interface jumps to the timing interface and displays a first confirmation end message; in response to the first confirmation end instruction, the timing process ends.

[0175] The second timing method is described above as an example. The third timing method is described below.

[0176] In one implementation, the multiple candidate timing modes include a third timing mode; if the target timing mode is the third timing mode, timing is performed according to the target timing mode, and timing information is displayed in the timing interface, including:

[0177] Countdown is performed according to the third time duration, and the remaining time of the third time duration is displayed in the timing interface.

[0178] The third timing mode may be a countdown mode. In the countdown mode, a third duration, that is, the total duration of the countdown, may be determined, and a countdown may be performed from the end of the third duration to zero, and the remaining duration may be displayed. In response to the remaining duration reaching zero, it is determined that the timing process ends.

[0179] In one implementation, if the target timing mode is the third timing mode, the timing method may further include the following steps:

[0180] In response to a fourth setting instruction in the timing interface, a third duration is determined.

[0181] The fourth setting instruction is an instruction for setting the third duration. For example, a duration setting control is provided in the timing interface, and the user can set the third duration through the control. Alternatively, the user can implement the fourth setting instruction through a specific gesture in the timing interface to set the third duration, such as sliding in a specific direction to adjust the third duration, or separating or bringing two fingers together to adjust the third duration.

[0182] In one implementation, in response to determining that the target timing mode is the third timing mode, a setting window for the third duration is displayed in the timing interface, and the user can set the third duration in the setting window.

[0183] In one embodiment, the timing interface includes a third setting sub-interface corresponding to the third timing mode. The above-mentioned determination of the third duration in response to the fourth setting instruction in the timing interface may include the following steps:

[0184] In response to a fourth setting instruction in the third setting sub-interface, a third duration is determined.

[0185] Among them, the third setting sub-interface is a sub-interface for setting relevant information of the third timing mode (including the third duration). Fig. 7AA schematic diagram showing the third setting sub-interface displayed in the timing interface is shown. The timing interface provides tabs corresponding to different candidate timing modes, such as "Pomodoro", "Countup", "Countdown" and other tabs, and "Countdown" is the third timing mode. After entering the timing interface, you can first set the timing. If the user selects the tab corresponding to the third timing mode (i.e., the "Countdown" tab) or the program selects the tab corresponding to the third timing mode by default, the third setting sub-interface will be displayed in the timing interface. Fig. 7A The sub-interface shown.

[0186] The user may implement the fourth setting instruction through a specific gesture in the third setting sub-interface to set the third duration. In one embodiment, the third setting sub-interface includes a third duration setting control. The above-mentioned determination of the third duration in response to the fourth setting instruction in the third setting sub-interface may include the following steps:

[0187] In response to a setting instruction for a third duration setting control, the duration in the third duration setting control is adjusted according to a third step length, and the third duration is determined according to the adjusted duration.

[0188] The third duration setting control is used to set the third duration. The third step length may be a time adjustment step length preset in the program and may be pre-configured by the program developer. Fig. 7A As shown, the third setting sub-interface includes a third duration setting control 408. The third duration setting control 408 can adjust the third duration according to the third step length, and the third step length is 5 minutes. When the user uses the third duration setting control 408, the user can adjust it with 5 minutes as the minimum unit. For example, the program defaults to an initial third duration of 30 minutes, and the user can adjust it to 35, 40, 25, 20 minutes, etc. For example, the duration value in the third duration setting control 408 can be scrolled left and right to adjust, thereby determining the final third duration. Through the third duration setting control 408, a very convenient operation method for setting the third duration is provided.

[0189] In one embodiment, the user can also set the third duration of any value through the third duration setting control. For example, the third duration setting control allows the user to freely input a duration value, which can be accurate to seconds or other time units (such as 0.1 seconds, milliseconds). In this way, the user can accurately set the third duration.

[0190] In one embodiment, the timing interface includes a third timing sub-interface corresponding to the third timing mode; counting down according to the third duration and displaying the remaining duration of the third duration in the timing interface include:

[0191] In response to the third timing start instruction, the countdown starts according to the third time length, and the remaining time of the third time length is displayed in the third timing sub-interface.

[0192] The third timing start instruction is an instruction for triggering the start of timing in the third timing mode. For example, when the target timing mode is determined to be the third timing mode, the timing start instruction triggered by the user is the third timing start instruction. In one embodiment, the third setting sub-interface provides a timing start control 403. The instruction of the user clicking the timing start control 403 in the third setting sub-interface is the third timing start instruction, which triggers the display Figure 7B The third timing sub-interface shown in the figure starts counting down according to the third timing method. The third timing sub-interface can display the remaining time.

[0193] In one embodiment, the timing method may further include the following steps:

[0194] In response to the fifth setting instruction in the second timing sub-interface, at least one of the following information is set: whether to turn on the sound reminder; whether to turn on the vibration reminder; whether to keep the screen status of the terminal device in the display state.

[0195] Exemplary, reference Figure 7B As shown, the third timing sub-interface provides a third timing setting control 410. In addition, referring to Fig. 7A As shown, the third setting sub-interface may also provide a third timing setting control 410. The fifth setting instruction may be an operation instruction for the third timing setting control 410. For example, when the user clicks the third timing setting control 410, one or more of the following setting items are displayed: whether to turn on the sound reminder; whether to turn on the vibration reminder; whether to keep the screen state of the terminal device as the display state. The user can set these setting items. Of course, the fifth setting instruction can also be used to set other items, which is not limited in this disclosure. In this way, it is convenient for the user to set and manage the timing process.

[0196] In one embodiment, the timing method may further include at least one of the following steps:

[0197] In response to entering the third time period before the end of the third duration, a fifth prompt message is presented. The third time period may be automatically determined by the program (such as pre-configured by the developer) or may be set by the user, such as 3 seconds. Then, 3 seconds before the end of the third duration, the fifth prompt message is presented to remind the user that the countdown is about to end. The fifth prompt message may be any type of prompt message, such as a sound reminder message.

[0198] In response to the end of the third time duration, a sixth prompt message is presented. The sixth prompt message is used to prompt the user that the countdown has ended. The sixth prompt message can be any type of prompt message, such as a vibration reminder message.

[0199] Through one or more of the above prompt information, the user can accurately grasp the end of the countdown.

[0200] In one implementation, during the timing process of the third timing mode, in response to jumping to the desktop, the timing information can be displayed in the first floating interface, and in response to jumping to the lock screen interface, the timing information can be displayed in the second floating interface.

[0201] In one embodiment, a first jump control is provided in the first floating interface or the second floating interface; in response to a trigger instruction for the first jump control, the interface jumps to the timing interface and displays a first confirmation end message; in response to the first confirmation end instruction, the timing process ends.

[0202] The above describes three candidate timing methods. The user can pre-select a candidate timing method as the target timing method before entering the timing interface, or select a candidate timing method as the target timing method after entering the timing interface. In one embodiment, the timing interface includes sub-interfaces corresponding to multiple candidate timing methods, such as one or more of the above-mentioned first setting sub-interface, second setting sub-interface, third setting sub-interface, first timing sub-interface, second timing sub-interface, and third timing sub-interface, each sub-interface corresponding to a candidate timing method. The above-mentioned timing according to the target timing method may include the following steps:

[0203] In response to the timing start instruction, the candidate timing mode corresponding to the currently displayed sub-interface is used as the target timing mode, and timing is performed according to the target timing mode.

[0204] In response to the switching instruction for the sub-interface switching control, the sub-interface currently displayed in the timing interface is switched. Figure 4A , Fig. 6A or Fig. 7AThe "Pomodoro", "Counting Up", and "Countdown" tabs shown, the user switches to display different sub-interfaces (such as the first setting sub-interface, the second setting sub-interface, and the third setting sub-interface) by clicking on different tabs. The timing start instruction can be a trigger instruction for the timing start control 403. In response to the timing start instruction, if the currently displayed sub-interface is the first setting sub-interface, the corresponding first timing mode is used as the target timing mode and the timing is performed according to the first timing mode; if the currently displayed sub-interface is the second setting sub-interface, the corresponding second timing mode is used as the target timing mode and the timing is performed according to the second timing mode; if the currently displayed sub-interface is the third setting sub-interface, the corresponding third timing mode is used as the target timing mode and the timing is performed according to the third timing mode. That is, in which sub-interface the user clicks the timing start control 403, the candidate timing mode corresponding to which sub-interface is used as the target timing mode and the timing is performed according to the target timing mode. Furthermore, the timing sub-interface corresponding to the target timing mode (such as the first timing sub-interface, the second timing sub-interface, and the third timing sub-interface) can be displayed, and the corresponding timing information can be displayed. This makes it easier for users to set the target timing mode and more intuitively displays the timing information under the target timing mode.

[0205] In one embodiment, the timing method may further include the following steps:

[0206] In response to the music control instruction in the timing interface, control the playing information of the first music currently being played;

[0207] In response to a music switching instruction in the timing interface, the first music currently being played is switched to other music.

[0208] Since music is played during the timing process, the timing interface can provide music control controls. Figure 4B or Figure 4C The first timing sub-interface shown, or refer to Figure 6B The second timing sub-interface shown, or refer to Figure 7B The third timing sub-interface shown provides music controls such as play pause, previous song, and next song. Users can use these controls to control the playback information of the first music currently being played. In addition, the timing interface can also provide a music switching function. For example, users can use specific gestures or controls to switch music, switching the first music currently being played to other music, including switching the currently playing playlist to other playlists. In this way, users can conveniently control music playback in the timing interface.

[0209] In one embodiment, in response to the music switching operation in the timing interface, switching the currently playing first music to other music may include the following steps:

[0210] In response to a control trigger instruction in the timing interface, displaying a music selection interface;

[0211] In response to a selection instruction in the music selection interface, the first music currently being played is switched to other music, and the timing interface is returned to.

[0212] Exemplary, reference Figure 4A , Figure 4B , Figure 4C , Fig. 6A , Figure 6B , Fig. 7A or Figure 7B As shown, one or more sub-interfaces of the first setting sub-interface, the second setting sub-interface, the third setting sub-interface, the first timing sub-interface, the second timing sub-interface, and the third timing sub-interface provide a music zone control 405. The instruction for the user to click the music zone control 405 is a control trigger instruction, which triggers the display of the music selection interface. The music selection interface can be an interface outside the timing interface, that is, in response to the control trigger instruction, jump from the timing interface to the music selection interface. Alternatively, the music selection interface can be displayed in the form of a window interface or the like when the timing interface is displayed. The music selection interface provides optional music singles, albums, song lists, etc., for example, music singles, albums, song lists, etc. adapted to the current focus scene are provided, or music singles, albums, song lists, etc. that the user has collected and created are provided. The user can select from them, such as clicking on a song list, and switching the currently playing music according to the user's selection. In response to the selection instruction, the user can automatically jump back to the timing interface from the music selection interface, that is, the user automatically returns to the timing interface after selecting music. Alternatively, in response to the jump instruction in the music selection interface (such as the instruction to exit the music selection interface), return to the timing interface.

[0213] In one embodiment, the timing method may further include the following steps:

[0214] In response to not receiving an operation within a fourth time period after the timing process starts, controlling the timing interface to change from a first display state to a second display state; the timing interface displays fewer interface elements in the second display state than in the first display state.

[0215] The first display state may be a regular display state, displaying all relevant interface elements in the timing interface, and the second display state may be a simplified display state, displaying some interface elements in the timing interface. Figure 4B , Figure 4C , Figure 6B , Figure 7BThe sub-interface shown is the first display state. In the second display state, only timing information and current round information may be displayed. The fourth duration may be determined based on experience or specific circumstances, such as 5 seconds. After the timing process starts, if no user operation is detected within 5 seconds, the timing interface is controlled to change from the first display state to the second display state, and only timing-related information is displayed in the second display state, which helps to improve the user's concentration.

[0216] In one embodiment, the timing method may further include the following steps:

[0217] In response to the timing process ending, timing statistics are displayed.

[0218] Among them, the end of the timing process may include two situations: one is that the time set by the user is reached. For example, in the first timing mode, the user can set the first time, the second time and the target number of rounds. After the timing starts, the first timing stage is timed according to the first time, the second timing stage is timed according to the second time, and each round of timing is counted. When the timing of the target number of rounds is completed, the entire timing process ends. For example, in the third timing mode, the countdown is performed according to the third time, and when the countdown reaches zero, the entire timing process ends. The second is that the user actively ends the timing process, such as providing a stop timing control in the timing interface, and the end of the timing process is triggered when the user clicks the control.

[0219] In one embodiment, in response to the timing process ending and the timing process meeting a preset condition (such as the timing duration reaching a predetermined duration), it is indicated that this timing process is valid timing, and timing statistics are displayed. If the timing process is too short, it can be regarded as invalid timing, and timing statistics are not displayed.

[0220] In response to the timing process ending, the timing statistics information may be displayed through the timing statistics interface. Figure 8 A schematic diagram of the timing statistics interface is shown. The timing statistics in the interface include the concentration time, the number of interruptions, the number of timing rounds, the longest continuous concentration time, etc. In addition, corresponding text information can be displayed according to the user's historical timing. For example, if the user triggers the display of timing statistics for the first time, the title "First time to complete concentration" is displayed; if the user completes the timing for N consecutive days, the title "Nth day of continuous concentration" is displayed; if the user breaks the longest total concentration time in history, the title "New breakthrough in concentration time" is displayed; if the user does not interrupt during the timing process, the title "Concentration state achieved" is displayed; if the above conditions are not met, the title "Achieved today's concentration" is displayed.

[0221] By displaying timing statistics, users can understand their concentration status, which helps improve user experience.

[0222] Fig. 9The interactive schematic diagram of the timing method is shown. Taking the Pomodoro timing method as an example, in response to the user starting the timing, the UI (User Interface) layer of the timing function sends a start instruction to the logic layer, the logic layer requests the server to start, and the server returns a response message of successful start. Then multiple rounds of cyclic timing processes are performed. In each round of timing, in the focus phase (i.e., the first timing phase), the logic layer starts the timer according to the first duration, and instructs the UI layer to update the UI, such as displaying "Nth round of focus" in the timing interface. If the user leaves the timing interface (such as leaving the first timing sub-interface), the UI layer sends an interruption focus information to the logic layer, the logic layer turns off the timer, and records the number of interruptions + 1. The logic layer instructs the UI layer to update the UI, such as displaying "Nth round of focus paused" in the timing interface. If the user returns to the timing interface, the UI layer sends a resume focus information to the logic layer, the logic layer calculates the remaining duration of the current timing phase, and starts the timer again. The logic layer instructs the UI layer to update the UI, such as displaying "Nth round of focus" in the timing interface. In response to the current timing stage being about to end or ending, the logic layer triggers one or more of a vibration reminder and a sound reminder, counts the concentration time of the current timing stage, and after the concentration stage ends, instructs the UI layer to update the UI, such as displaying "Nth round of rest" in the timing interface. At this time, the rest stage is entered, and the logic layer starts the timer according to the second duration. During the timing process of the rest stage, if the user triggers to end the rest early, the UI layer sends an early end of the rest information to the logic layer, the logic layer turns off the timer, and instructs the UI layer to update the UI, such as displaying "N+1th round of concentration" in the timing interface. At this time, the next round of timing begins. If the user closes the timing interface, the UI layer sends a timing shutdown message to the logic layer, the logic layer destroys the timer, counts the rounds, duration, number of interruptions, and other information, requests the server to call the end interface, uploads the rounds, duration, number of interruptions, and other information, the server generates the report content (i.e., timing statistics) and returns it to the logic layer, and the logic layer instructs the UI layer to update the UI, such as displaying a report page in the timing interface to display the timing statistics.

[0223] Fig.10A schematic diagram of the implementation framework of the timing method is shown. Among them, the user can request to open the timing interface in the playback interface, and the playback interface instructs the RN (React Native, React Native) page to create a focused RN page (i.e., timing interface) and cover it on the playback interface. The RN page is responsible for the presentation and response of the focus mode UI. The client includes components such as the client UI, wrapper, cache, and playback interface. The client UI is responsible for the processing of interfaces, real-time activities, window interfaces, floating interfaces, etc. on different terminal devices. The wrapper can send notifications to the client UI, and the client UI sends setting information to the wrapper. The wrapper can send information about switching the timing state and mode to the logic layer, and the logic layer can send notification information to the wrapper to update the UI. The cache sends statistics and set reading instructions to the logic layer, and the logic layer sends statistics and set storage instructions to the cache. The logic layer sends a notification to the RN page to notify the RN to update the UI, and the RN page notifies the logic layer to switch the timing state and mode. The logic layer can interact with the server, send a request to the server, and the server returns a response message. Based on this framework, the timing method in the embodiment of the present disclosure is implemented.

[0224] Exemplary Devices

[0225] The timing device in the embodiment of the present disclosure is exemplarily described below. In the embodiment of the present disclosure, a graphical user interface can be provided by a terminal device. Fig.11 As shown, the timing device 1100 may include the following modules:

[0226] The timing interface display module 1110 is configured to display a timing interface in the graphical user interface in response to a first preset instruction;

[0227] The timing processing module 1120 is configured to perform timing according to a target timing mode and display timing information in the timing interface; the timing interface provides a plurality of candidate timing modes, and the target timing mode is a timing mode determined from the plurality of candidate timing modes;

[0228] The music playing module 1130 is configured to play the first music during the timing process.

[0229] The above modules can be program modules or hardware modules.

[0230] In one embodiment, displaying a timing interface in the graphical user interface in response to a first preset instruction includes: jumping from the playback interface of the second music to the timing interface in response to the first preset instruction in the playback interface of the second music.

[0231] In one embodiment, the multiple candidate timing modes include a first timing mode; if the target timing mode is the first timing mode, timing according to the target timing mode and displaying timing information in the timing interface includes: alternately timing the first timing stage and the second timing stage, and displaying timing information of the current timing stage in the timing interface; the current timing stage is the first timing stage or the second timing stage, and the timing information includes the timing duration and / or remaining duration of the current timing stage.

[0232] In one embodiment, if the target timing mode is the first timing mode, the timing device 1100 is further configured to: determine a first duration corresponding to the first timing stage and a second duration corresponding to the second timing stage; the alternating timing of the first timing stage and the second timing stage includes: alternatingly timing the first timing stage according to the first duration, and timing the second timing stage according to the second duration.

[0233] In one embodiment, determining a first duration corresponding to the first timing stage and a second duration corresponding to the second timing stage includes: determining the first duration and the second duration in response to a first setting instruction in the timing interface.

[0234] In one embodiment, the timing interface includes a first setting sub-interface corresponding to the first timing mode; determining the first duration and the second duration in response to the first setting instruction in the timing interface includes: determining the first duration and the second duration in response to the first setting instruction in the first setting sub-interface.

[0235] In one embodiment, the first setting sub-interface includes a first duration setting control and a second duration setting control; the determining of the first duration and the second duration in response to the first setting instruction in the first setting sub-interface includes: in response to the setting instruction for the first duration setting control, adjusting the duration in the first duration setting control according to the first step, and determining the first duration based on the adjusted duration; in response to the setting instruction for the second duration setting control, adjusting the duration in the second duration setting control according to the second step, and determining the second duration based on the adjusted duration.

[0236] In one embodiment, the first timing method is a method of timing according to rounds, and each round includes a first timing stage and a second timing stage; if the target timing method is the first timing method, the timing device 1100 is further configured to: display current round information in the timing interface during the process of alternately timing the first timing stage and the second timing stage; the current round information includes the sequence number of the current round and / or the number of completed rounds; in response to completing the timing of one first timing stage and one second timing stage, increase the current round information by one.

[0237] In one embodiment, the alternating timing of the first timing stage and the second timing stage and displaying the timing information of the current timing stage in the timing interface includes: responding to a first timing start instruction, starting to alternately timing the first timing stage and the second timing stage, and displaying the timing information of the current timing stage in the timing interface.

[0238] In one embodiment, the timing interface includes a first timing sub-interface corresponding to the first timing mode; the response to the first timing start instruction, the first timing stage and the second timing stage are started to be alternately timed, and the timing information of the current timing stage is displayed in the timing interface, including: responding to the first timing start instruction, the first timing stage and the second timing stage are started to be alternately timed, and the timing information of the current timing stage is displayed in the first timing sub-interface.

[0239] In one embodiment, the timing device 1100 is also configured to: in response to a second setting instruction in the first timing sub-interface, set at least one of the following information: the second duration corresponding to the second timing stage; whether to turn on the sound reminder; whether to turn on the vibration reminder; whether to keep the screen status of the terminal device in the display state.

[0240] In one embodiment, the timing device 1100 is further configured to: in the process of alternately timing the first timing stage and the second timing stage, in response to an interrupt instruction, pause the timing if the current timing stage is the first timing stage, and continue the timing if the current timing stage is the second timing stage.

[0241] In one embodiment, the interrupt instruction includes a folding instruction for the timing interface; the timing device 1100 is also configured to: in response to the folding instruction, display other interfaces other than the timing interface in the graphical user interface, and display the timing information through a window interface in the graphical user interface.

[0242] In one embodiment, the timing device 1100 is further configured to perform at least one of the following steps: in the first timing stage, in response to entering a first time period before the end of the first timing stage, presenting a first prompt message; in response to the end of the first timing stage, presenting a second prompt message; in the second timing stage, in response to entering a second time period before the end of the second timing stage, presenting a third prompt message; in response to the end of the second timing stage, presenting a fourth prompt message.

[0243] In one embodiment, the timing device 1100 is further configured to: if the current timing stage is the second timing stage, provide an early end control in the timing interface; and end the timing of the current timing stage in response to a trigger instruction for the early end control.

[0244] In one embodiment, the timing device 1100 is also configured to perform at least one of the following steps: in the process of alternatingly timing the first timing stage and the second timing stage, in response to switching the interface displayed in the graphical user interface to the desktop, displaying the timing information through the first floating interface in the graphical user interface; in the process of alternatingly timing the first timing stage and the second timing stage, in response to switching the interface displayed in the graphical user interface to the lock screen interface, displaying the timing information through the second floating interface in the graphical user interface.

[0245] In one embodiment, the timing device 1100 is also configured to: if the current timing stage is the first timing stage, provide a first jump control in the first floating interface or the second floating interface; in response to a trigger instruction for the first jump control, jump to the timing interface and display a first confirmation end message; in response to the first confirmation end instruction, end the timing process.

[0246] In one embodiment, the timing device 1100 is also configured to: if the current timing stage is the second timing stage, provide a second jump control in the first floating interface or the second floating interface; in response to a trigger instruction for the second jump control, jump to the timing interface and display a second confirmation end information; in response to the second confirmation end instruction, end the timing of the current timing stage.

[0247] In one embodiment, the multiple candidate timing methods include a second timing method; if the target timing method is the second timing method, timing according to the target timing method and displaying timing information in the timing interface includes: starting timing from zero and displaying the timing duration in the timing interface.

[0248] In one embodiment, the timing interface includes a second timing sub-interface corresponding to the second timing mode; starting timing from zero and displaying the timing duration in the timing interface includes: responding to a second timing start instruction, starting timing from zero and displaying the timing duration in the second timing sub-interface.

[0249] In one implementation, the timing device 1100 is further configured to: in response to a third setting instruction in the second timing sub-interface, set whether to keep the screen state of the terminal device in the display state.

[0250] In one embodiment, the multiple candidate timing methods include a third timing method; if the target timing method is the third timing method, timing according to the target timing method and displaying timing information in the timing interface includes: counting down according to a third duration and displaying the remaining duration of the third duration in the timing interface.

[0251] In one implementation, if the target timing mode is the third timing mode, the timing device 1100 is further configured to: determine the third duration in response to a fourth setting instruction in the timing interface.

[0252] In one embodiment, the timing interface includes a third setting sub-interface corresponding to the third timing mode; determining the third duration in response to a fourth setting instruction in the timing interface includes: determining the third duration in response to a fourth setting instruction in the third setting sub-interface.

[0253] In one embodiment, the third setting sub-interface includes a third duration setting control; determining the third duration in response to a fourth setting instruction in the third setting sub-interface includes: in response to the setting instruction for the third duration setting control, adjusting the duration in the third duration setting control according to a third step, and determining the third duration based on the adjusted duration.

[0254] In one embodiment, the timing interface includes a third timing sub-interface corresponding to the third timing method; the countdown according to the third time duration and the display of the remaining time of the third time duration in the timing interface include: responding to a third timing start instruction, starting the countdown according to the third time duration, and displaying the remaining time of the third time duration in the third timing sub-interface.

[0255] In one embodiment, the timing device 1100 is also configured to: in response to the fifth setting instruction in the third timing sub-interface, set at least one of the following information: whether to turn on the sound reminder; whether to turn on the vibration reminder; whether to keep the screen status of the terminal device in the display state.

[0256] In one embodiment, the timing device 1100 is further configured to perform at least one of the following steps: in response to entering a third time period before the end of the third duration, presenting a fifth prompt message; in response to the end of the timing of the third duration, presenting a sixth prompt message.

[0257] In one embodiment, the timing interface includes sub-interfaces corresponding to the multiple candidate timing methods; the timing according to the target timing method includes: responding to a timing start instruction, taking the candidate timing method corresponding to the currently displayed sub-interface as the target timing method, and timing according to the target timing method.

[0258] In one embodiment, the timing device 1100 is further configured to: control the playback information of the first music currently being played in response to a music control instruction in the timing interface; and switch the first music currently being played to other music in response to a music switching instruction in the timing interface.

[0259] In one embodiment, in response to a music switching operation in the timing interface, switching the first music currently being played to other music includes: in response to a control trigger instruction in the timing interface, displaying a music selection interface; in response to a selection instruction in the music selection interface, switching the first music currently being played to other music, and returning to the timing interface.

[0260] In one embodiment, the timing device 1100 is further configured to: in response to not receiving an operation within a fourth time period after the start of the timing process, control the timing interface to change from a first display state to a second display state; the interface elements displayed by the timing interface in the second display state are less than the interface elements displayed in the first display state.

[0261] In one implementation, the timing device 1100 is further configured to: display timing statistical information in response to the timing process ending.

[0262] In addition, other specific details of the embodiments of the present disclosure have been described in detail in the embodiments of the above method and will not be repeated here.

[0263] Exemplary Program Products

[0264] The exemplary embodiments of the present disclosure also provide a computer program product, which includes a computer program, and the computer program implements the above method when executed by a processor.

[0265] In one embodiment, the computer program product may be a tangible product containing a computer program, such as a computer-readable storage medium storing a computer program. The readable storage medium may be a storage medium based on electrical, magnetic, optical, electromagnetic, infrared, or other signals, including but not limited to: random access memory (RAM), read-only memory (ROM), magnetic tape, floppy disk, flash memory (Flash), mechanical hard disk (HDD), solid-state drive (SSD), and the like. Exemplarily, the computer program product may be implemented as a non-volatile storage medium storing a computer program, such as a read-only memory, a NAND flash memory, and the like.

[0266] In one embodiment, the computer program product may be an intangible product including a computer program. Exemplarily, the computer program product may be implemented as a virtual digital product, such as a digital file storing an executable file, an installation package, etc. of the computer program.

[0267] The code of the computer program can be written in one or more programming languages. Programming languages ​​such as C language, Java, C++, etc. The program code can be executed entirely on the user computing device, or partially on the user computing device, or as a separate software package, or partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, such as a local area network (LAN), a wide area network (WAN), etc., or can be connected to an external computing device (e.g., an Internet connection provided by an operator).

[0268] Computer programs can be carried or transmitted through electrical, magnetic, optical, electromagnetic, infrared and other signals. Electronic devices can convert signals carrying computer programs into digital signals to run computer programs. When a computer program runs on an electronic device, its code is used to enable the electronic device to execute (more specifically, the processor of the electronic device can execute) the method steps of various exemplary embodiments of the present disclosure, such as the following steps: Step S210, in response to a first preset instruction, a timing interface is displayed in a graphical user interface; Step S220, timing is performed according to a target timing method, and timing information is displayed in the timing interface; the timing interface provides a plurality of candidate timing methods, and the target timing method is a timing method determined from a plurality of candidate timing methods; Step S230, during the timing process, the first music is played.

[0269] The above steps are executed by a computer program, and in response to the first preset instruction, a timing interface is displayed in a graphical user interface. The timing interface provides a plurality of candidate timing methods. When the target timing method is determined, timing is performed according to the target timing method, and timing information is displayed in the timing interface. During the timing process, the first music is played. On the one hand, the timing function is combined with the music playing function, so that the user can listen to music while timing. The timing function helps the user record and manage time during work, study or exercise. The music playing function is conducive to improving the user's concentration, thereby solving the user's needs in the concentration scenario. In addition, there is no need to run multiple applications, which reduces the performance and resource consumption of the user's device. On the other hand, providing a variety of candidate timing methods can meet the diverse timing needs of users and improve the user experience.

[0270] Exemplary Electronic Devices

[0271] The exemplary embodiment of the present disclosure also provides an electronic device. The electronic device includes a processor and a memory, and the memory is used to store executable instructions of the processor. The processor is configured to execute the above method of the present disclosure by executing the executable instructions.

[0272] refer to Fig.12 An electronic device according to an exemplary embodiment of the present disclosure is described. Fig.12 The electronic device 1200 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0273] like Fig.12 As shown, the electronic device 1200 is in the form of a general-purpose computing device. The components of the electronic device 1200 may include, but are not limited to: at least one processing unit 1210, at least one storage unit 1220, a bus 1230 connecting different system components (including the storage unit 1220 and the processing unit 1210), an I / O (input / output) interface 1240, a network adapter 1250, a display 1260, and an audio unit 1270.

[0274] The storage unit stores program codes, which can be executed by the processing unit 1210, so that the processing unit 1210 executes the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 1210 can execute the following steps: step S210, in response to a first preset instruction, display a timing interface in a graphical user interface; step S220, perform timing according to a target timing method, and display timing information in the timing interface; the timing interface provides a plurality of candidate timing methods, and the target timing method is a timing method determined from a plurality of candidate timing methods; step S230, during the timing process, play the first music.

[0275] The above steps are executed by the processing unit 1210, and in response to the first preset instruction, a timing interface is displayed in the graphical user interface. The timing interface provides a variety of candidate timing methods. When the target timing method is determined, the timing is performed according to the target timing method, the timing information is displayed in the timing interface, and the first music is played during the timing process. On the one hand, the timing function is combined with the music playing function, and the user can listen to music while timing. The timing function helps the user record and manage time during work, study or exercise. The music playing function is conducive to improving the user's concentration, thereby solving the user's needs in the concentration scene. In addition, there is no need to run multiple applications, which reduces the performance and resource consumption of the user's device. On the other hand, providing a variety of candidate timing methods can meet the user's diverse timing needs and improve the user experience.

[0276] The storage unit 1220 may include a volatile storage unit, such as a random access storage unit (RAM) 1221 and / or a cache storage unit 1222 , and may further include a read-only storage unit (ROM) 1223 .

[0277] The storage unit 1220 may also include a program / utility 1224 having a set (at least one) of program modules 1225, such program modules 1225 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0278] The bus 1230 is used to connect different parts of the electronic device 1200 and may include a data bus, an address bus, a control bus, and the like.

[0279] The electronic device 1200 may also communicate with one or more external devices 1300 (eg, a keyboard, a pointing device, a Bluetooth device, etc.), and such communication may be performed through the I / O interface 1240 .

[0280] Electronic device 1200 can also communicate with one or more networks (such as local area network (LAN), wide area network (WAN) and / or public network, such as the Internet) through network adapter 1250. As shown in the figure, network adapter 1250 communicates with other modules of electronic device 1200 through bus 1230.

[0281] The display 1260 is used to display a graphical user interface, such as a playback interface, a timing interface, etc.

[0282] The audio unit 1270 is used to play audio, such as playing the first music, the second music, etc. It can also be used to receive audio signals.

[0283] It should be understood that although not shown in the figures, other hardware and / or software modules may be used in conjunction with the electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID (Redundant Arrays of Independent Disks) systems, tape drives, and data backup storage systems.

[0284] It should be noted that, although several modules or submodules of the device are mentioned in the above detailed description, such division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.

[0285] In addition, although the operations of the disclosed method are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0286] Although the spirit and principle of the present disclosure have been described with reference to several specific embodiments, it should be understood that the present disclosure is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present disclosure is intended to cover various modifications and equivalent arrangements included in the spirit and scope of the attached claims.

Claims

1. A timing method, characterized in that: Providing a graphical user interface through a terminal device; the method comprises: In response to a first preset instruction, displaying a timing interface in the graphical user interface; Timing is performed according to a target timing method, and timing information is displayed in the timing interface; the timing interface provides a plurality of candidate timing methods, and the target timing method is a timing method determined from the plurality of candidate timing methods; During the timing process, play the first music.

2. The method according to claim 1, characterized in that: The step of displaying a timing interface in the graphical user interface in response to the first preset instruction comprises: In response to a first preset instruction in the playback interface of the second music, jump from the playback interface of the second music to the timing interface.

3. The method according to claim 1, characterized in that The multiple candidate timing modes include a first timing mode; if the target timing mode is the first timing mode, timing is performed according to the target timing mode, and timing information is displayed in the timing interface, including: The first timing stage and the second timing stage are timed alternately, and the timing information of the current timing stage is displayed in the timing interface; the current timing stage is the first timing stage or the second timing stage, and the timing information includes the timing duration and / or remaining duration of the current timing stage.

4. The method according to claim 3, characterized in that: If the target timing mode is the first timing mode, the method further includes: Determine a first duration corresponding to the first timing stage and a second duration corresponding to the second timing stage; The step of alternately timing the first timing stage and the second timing stage comprises: The first timing phase is timed according to the first duration, and the second timing phase is timed according to the second duration alternately.

5. The method according to claim 4, characterized in that The determining a first duration corresponding to the first timing stage and a second duration corresponding to the second timing stage includes: In response to a first setting instruction in the timing interface, the first duration and the second duration are determined.

6. The method according to claim 5, characterized in that The timing interface includes a first setting sub-interface corresponding to the first timing mode; and determining the first duration and the second duration in response to the first setting instruction in the timing interface includes: In response to a first setting instruction in the first setting sub-interface, the first duration and the second duration are determined.

7. The method according to claim 6, characterized in that The first setting sub-interface includes a first duration setting control and a second duration setting control; and determining the first duration and the second duration in response to a first setting instruction in the first setting sub-interface includes: In response to a setting instruction for the first duration setting control, adjusting the duration in the first duration setting control according to the first step, and determining the first duration according to the adjusted duration; In response to a setting instruction for the second duration setting control, the duration in the second duration setting control is adjusted according to a second step length, and the second duration is determined according to the adjusted duration.

8. A timing device, characterized in that: Providing a graphical user interface through a terminal device; the device comprises: a timing interface display module, configured to display a timing interface in the graphical user interface in response to a first preset instruction; a timing processing module configured to perform timing according to a target timing mode and display timing information in the timing interface; the timing interface provides a plurality of candidate timing modes, and the target timing mode is a timing mode determined from the plurality of candidate timing modes; The music playing module is configured to play the first music during the timing process.

9. A computer program product having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 7 by executing the executable instructions.