An alarm clock setting method, a terminal, and a computer-readable storage medium

By implementing the multi-screen alarm clock setting method on the terminal, receiving user input and responding to the execution of alarm task operations, the problem of cumbersome alarm clock setting process in the prior art is solved, and a more convenient and efficient alarm clock setting is achieved.

CN109117046BActive Publication Date: 2025-05-30VIVO MOBILE COMM CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN201810989106.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-08-28
Publication Date
2025-05-30
Estimated Expiration
2038-08-28

AI Technical Summary

Technical Problem

In the prior art, the alarm clock setting process is complicated, and it is necessary to switch back and forth between the alarm clock list and the alarm clock setting editing interface, which is complicated.

Method used

By implementing an alarm clock setting method on the terminal, using the characteristics of a multi-screen terminal, receiving the user's input to the target area, and performing corresponding alarm task operations in response to the input, simplifying the alarm clock setting process.

Benefits of technology

The alarm setting process is simplified, avoiding the operation of switching back and forth between the alarm list and the setting interface, and improving the convenience and efficiency of settings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109117046B_ABST
    Figure CN109117046B_ABST
Patent Text Reader

Abstract

The present invention provides an alarm clock setting method, a terminal and a computer-readable storage medium. Among them, the alarm clock setting method is applied to the terminal, and the terminal includes a first screen and a second screen. The alarm clock setting method includes: receiving a first input from a user for a target area; in response to the first input, performing a target operation corresponding to the first input on a target alarm task; wherein the target area is a preset area between the first screen and the second screen. This solution can avoid switching back and forth between the alarm list and the alarm setting editing interface during use for setting, simplifies the alarm clock setting process, and makes the operation more convenient by receiving a first input from a user for a target area; in response to the first input, performing a target operation corresponding to the first input on a target alarm task; wherein the target area is a preset area between the first screen and the second screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of communication technologies, and particularly to an alarm setting method, a terminal, and a computer-readable storage medium. Background Art

[0002] With the development of technology, the use of terminals has become more and more common. Among them, alarm setting is an application that users often use. However, during the use process, it is necessary to switch back and forth between the alarm list and the alarm setting editing interface for setting, and the setting process is relatively cumbersome. For example, when viewing the alarms that have been turned on or off during the process of setting the alarm parameters of a certain alarm, it is necessary to return to the previous-level list to query. Summary of the Invention

[0003] Embodiments of the present invention provide an alarm setting method, a terminal, and a computer-readable storage medium to solve the problem of cumbersome alarm setting process in the prior art.

[0004] To solve the above technical problems, the present invention is implemented as follows:

[0005] In a first aspect, an embodiment of the present invention provides an alarm setting method, which is applied to a terminal. The terminal includes a first screen and a second screen. The alarm setting method includes:

[0006] Receiving a first input from a user for a target area;

[0007] In response to the first input, performing a target operation corresponding to the first input on a target alarm task;

[0008] Wherein, the target area is a preset area between the first screen and the second screen.

[0009] In a second aspect, an embodiment of the present invention further provides a terminal. The terminal includes a first screen and a second screen. The terminal includes:

[0010] A first receiving module, configured to receive a first input from a user for a target area;

[0011] A first processing module, configured to perform a target operation corresponding to the first input on a target alarm task in response to the first input;

[0012] Wherein, the target area is a preset area between the first screen and the second screen.

[0013] In a third aspect, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the steps of the above alarm setting method are implemented.

[0014] Fourthly, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned alarm clock setting method are implemented.

[0015] In an embodiment of the present invention, by receiving a first input from a user for a target area; in response to the first input, performing a target operation corresponding to the first input on a target alarm task; wherein, the target area is a preset area between the first screen and the second screen; it is possible to avoid switching back and forth between the alarm list and the alarm setting editing interface during use for setting, simplify the alarm clock setting process, and make the operation more convenient. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic flowchart of the alarm clock setting method according to an embodiment of the present invention;

[0017] Figure 2 It is a schematic diagram of the trigger for the alarm clock setting according to an embodiment of the present invention Figure 1 ;

[0018] Figure 3 It is a schematic diagram of the trigger for the alarm clock setting according to an embodiment of the present invention Figure 2 ;

[0019] Figure 4 It is a schematic diagram of the alarm clock application interface according to an embodiment of the present invention Figure 1 ;

[0020] Figure 5 It is a schematic diagram of the alarm clock application interface according to an embodiment of the present invention Figure 2 ;

[0021] Figure 6 It is a schematic diagram of the switching of the alarm clock switch state according to an embodiment of the present invention;

[0022] Figure 7 It is a schematic diagram of the update of the alarm clock according to an embodiment of the present invention Figure 1 ;

[0023] Figure 8 It is a schematic diagram of the update of the alarm clock according to an embodiment of the present invention Figure 2 ;

[0024] Figure 9 It is a schematic diagram of the update of the alarm clock according to an embodiment of the present invention Figure 3 ;

[0025] Figure 10 It is a schematic diagram of the deletion of the alarm clock according to an embodiment of the present invention;

[0026] Figure 11 It is a schematic diagram of the addition of the alarm clock according to an embodiment of the present invention;

[0027] Figure 12Schematic diagram of the terminal structure according to an embodiment of the present invention Figure 1 ;

[0028] Figure 13 Schematic diagram of the terminal structure according to an embodiment of the present invention Figure 2 。 Detailed implementation manners

[0029] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0030] In view of the problem of cumbersome alarm clock setting process in the existing technology, the present invention provides an alarm clock setting method, which is applied to a terminal. The terminal includes a first screen and a second screen. As Figure 1 shown, the alarm clock setting method includes:

[0031] Step 101: Receive a first input from the user for a target area.

[0032] Among them, the first input includes a sliding input, a pressing input, etc. The first input can also be a first operation. The first input can be implemented through voice, touch, etc., and is not limited herein; when the first input is implemented through touch, the first input can be a preset tapping rule, a preset sliding trajectory, and / or a preset drawing pattern, etc., and is not limited herein.

[0033] The target area is a preset area between the first screen and the second screen.

[0034] When the terminal is a flexible terminal, the first screen and the second screen can be two screens formed after the flexible terminal is folded, and the target area can be an area within a first preset range including the boundary line between the first screen and the second screen;

[0035] When the terminal is a folding terminal, the first screen and the second screen can be connected through a folding part, and the target area can be an area within a second preset range including the folding part.

[0036] Furthermore, in the embodiments of the present invention, the target area may include a display area of part of the first screen and / or a display area of part of the second screen, and is not limited herein.

[0037] Step 102: In response to the first input, perform a target operation corresponding to the first input on the target alarm task.

[0038] The target operation can be switching the alarm status, updating the alarm, adding an alarm, deleting an alarm, etc., which is not limited here.

[0039] The alarm setting method provided by the embodiments of the present invention receives a first input from the user for a target area; in response to the first input, performs a target operation corresponding to the first input on a target alarm task; wherein, the target area is a preset area between the first screen and the second screen; it can avoid switching back and forth between the alarm list and the alarm setting and editing interface during use for setting, simplifies the alarm setting process, and the operation is more convenient.

[0040] In the embodiments of the present invention, the alarm task list can be displayed on multiple screens (Case 1), or can be displayed on one screen (Case 2); before displaying the alarm task list, it is also possible to detect whether there is an alarm setting trigger operation, specifically, it can be detected whether the user clicks to open the alarm application, and at the same time, the terminal holding direction is detected, and the display direction is different for different holding directions, such as Figure 2 and Figure 3 shown, Figure 2 and 3 respectively represent the vertical screen display mode and the horizontal screen display mode. In the embodiments of the present invention, the following takes the screen being vertical as an example for description. The user can operate the alarm icon in Figure 2 or Figure 3 such as long pressing, double clicking, dragging and other operations to open the alarm application and enter the setting interface.

[0041] Corresponding to Case 1, before receiving the first input from the user for the target area, the alarm setting method further includes: displaying a first alarm task list and an alarm parameter setting interface for the target alarm task on a first target screen, and displaying a second alarm task list on a second target screen; wherein, the first alarm task list includes at least one enabled alarm task, and the second alarm task list includes at least one disabled alarm task; the first target screen is one of the first screen and the second screen, and the second target screen is the other of the first screen and the second screen.

[0042] For example: as Figure 4 shown, in the figure, 401 represents the first alarm task list, 402 represents the current time, 403 represents the second alarm task list, and 404 represents the dual-screen expansion direction; it is detected that the user opens the alarm setting interface, and it is tested as a dual-screen operation interface, and the content displayed on one interface is the first alarm task list, and the content displayed on the other screen is the second alarm task list.

[0043] Corresponding to Case 2, before receiving the user's first input to the target area, the alarm clock setting method further includes: displaying a first alarm task list and a second alarm task list on a first target screen, and displaying an alarm parameter setting interface for the target alarm task on a second target screen; wherein, the first alarm task list includes at least one enabled alarm task, and the second alarm task list includes at least one disabled alarm task; the first target screen is one of the first screen and the second screen, and the second target screen is the other of the first screen and the second screen.

[0044] For example: as Figure 5 shown, in the figure, 501 represents the first alarm task list, 502 represents the second alarm task list, 503 represents the display of the currently selected alarm time (the currently actual time display), and 504 represents the display area information display; it is detected that the user opens the alarm clock setting interface, and it is tested as a dual-screen operation interface, with the list displayed on a single screen, and the other screen is the setting operation screen: the single-screen display is divided into left and right parts, respectively displaying the enabled and disabled alarm clocks, and the alarm clocks are arranged in time order and distinguished as enabled or disabled states, that is, arranged in time order and divided into two columns. The alarm clocks side by side in the two columns represent the same time information, and the alarm clocks with different time information are distinguished in the front and back order; the other screen displays the content being set or the notes of the most recent alarm clock, etc.

[0045] In the embodiments of the present invention, the alarm task list is displayed in the manner of Case 1 or Case 2, which can enable the user to have a clear understanding of the alarm list and the alarm settings, avoid the need to return to the previous-level list to query, and at the same time can make it more convenient to set the alarm clock, realizing the alarm clock setting of a multi-screen terminal. And the manner of Case 1 is more convenient for the user to distinguish between the enabled and disabled alarm clocks; the manner of Case 2 can be more convenient for the user to select and click on the target alarm clock for setting.

[0046] The following provides several examples for the solution of the embodiments of the present invention, but is not limited thereto:

[0047] In the first example, the first input includes a second sliding sub-input, and the second sliding sub-input satisfies a preset first feature.

[0048] Receiving the user's first input to the target area includes: receiving the user's second sliding sub-input, the sliding trajectory of the second sliding sub-input passes through the target alarm task, and the input start position or the input end position of the second sliding sub-input is located in the target area.

[0049] Performing the target operation corresponding to the first input on the target alarm task includes: when the target alarm task is one of the first alarm task list, turning off the target alarm task, deleting the display of the target alarm task in the first alarm task list, and displaying the target alarm task in the second alarm task list (Situation 1); when the target alarm task is one of the second alarm task list, turning on the target alarm task, deleting the display of the target alarm task in the second alarm task list, and displaying the target alarm task in the first alarm task list (Situation 2).

[0050] The preset first feature may be that the sliding trajectory of the second sliding sub-input matches the preset sliding trajectory, but it is not limited thereto, as long as it is a feature that can trigger the operation of updating the alarm state.

[0051] During the process of receiving the second sliding sub-input from the user, the selected alarm task can move along with the finger; there are various situations for the second sliding sub-input, which can be a folding input or a straight-line input, etc.

[0052] For example: Situation 1 can be as Figure 6 shown. In the figure, 601 represents the input trajectory of the second sliding sub-input, 603 represents the alarm with the updated state, which is inserted into the closed list in the chronological position; the display of the two screen lists is updated.

[0053] That is, click on an alarm in the opened alarm list and slide it to the closed alarm list for setting operation, slide the opened alarm to the side of the closed display, and the display is updated after the operation is completed. Release, at this time, the alarm is set to closed, and the displays of the two alarm lists are updated.

[0054] It can also be through the reverse operation: slide from the side of the closed alarm list to click on an alarm in the opened alarm list, then move the alarm to the closed alarm list and update the two alarm lists.

[0055] The alarm state update method provided by the embodiments of the present invention can quickly update the state of the target alarm that the user wants to update, avoid the need to return to the previous-level list to query during the setting process, and is more convenient for alarm setting.

[0056] In the second example, the first input includes a first sliding sub-input; the alarm parameter setting interface of the target alarm task includes a clock setting control and a minute setting control;

[0057] Receiving the first input of the user for the target area includes: receiving the first sliding sub-input of the user, where the input start position of the first sliding sub-input is located on the first target control, and the input end position of the first sliding sub-input is located in the target area; wherein, the first target control is a clock setting control or a minute setting control;

[0058] Performing the target operation corresponding to the first input on the target alarm task includes: obtaining the target scale value where the input end position of the first sliding sub-input is located; updating the parameter value of the first target control to the target scale value. Among them, the first sliding sub-input can be the first sliding sub-operation.

[0059] The method for updating the alarm scale value provided by the embodiments of the present invention can quickly set the time parameters of the target alarm to be set by the user, avoid the need to return to the previous-level list to query during the setting process, and is more convenient for alarm setting.

[0060] Further, after receiving the first input of the user for the target area, the alarm setting method further includes: in response to the first input, displaying at least one scale value in the target area; wherein, the at least one scale value includes the target scale value. Further, the displayed scale value is the scale value corresponding to the first target control.

[0061] This can make it more convenient for the user to accurately set the scale of the alarm.

[0062] Regarding the scale value display, it can be to display only the clock scale or the minute scale near the boundary line between the first screen and the second screen; or it can be to display the clock scale near the boundary line on one of the first screen and the second screen, and display the minute scale near the boundary line on the other; this is not limited here.

[0063] Specifically, it can be: corresponding to the situation where the alarm list is displayed on two screens, detecting that the user needs to set (update) a certain alarm: the user can perform a first sliding sub-input, the input start position of the first sliding sub-input is located on the clock setting control or the minute setting control, and the input end position of the first sliding sub-input is located at the boundary of the folding screen (the boundary between the first screen and the second screen), and at this time, the alarm setting (update) operation is triggered.

[0064] There are the following two types of alarm setting interfaces:

[0065] The first type can be as Figure 7 shown. In the figure, 701 represents the input trajectory of the first sliding sub-input, 703 represents the displayed alternative scale values, and the scale effect display is not unique. It can be a vertical or circular scale, and the corresponding screen can be slid or rotated to select the scale.

[0066] Second, it can be as follows Figure 8 shown. In the figure, 801 represents the input trajectory of the first sliding sub-input, and 803 represents the displayed alternative scale values. The user can rotate the screen to set the alarm settings on the corresponding screen or click on the scale table for setting. The updated parameter values are as shown in the terminal interface on the lower side in Figure 8 (9:22 is updated to 9:52).

[0067] Corresponding to the case where the alarm list is displayed on one screen, it can be as follows Figure 9 shown. In the figure, 901 represents the input trajectory of the first sliding sub-input, 903 represents the currently selected alarm time display, and 904 represents the alarm setting interface. The time display can adopt the median setting method to reduce the change of digital settings; if the user needs to roll back the settings, it can be done through reverse operations, such as the sixth sliding sub-input. The starting position of the sixth sliding sub-input is the scale display area, and the ending position of the sixth sliding sub-input is the hour or minute display area.

[0068] Third example, the first input includes a fourth sliding sub-input, and the fourth sliding sub-input satisfies a preset second feature;

[0069] Receiving the first input from the user for the target area includes: receiving the fourth sliding sub-input from the user, where the sliding trajectory of the fourth sliding sub-input passes through the target alarm task, and the starting position or the ending position of the fourth sliding sub-input is located in the target area;

[0070] Performing the target operation corresponding to the first input on the target alarm task includes: deleting the target alarm task; where the target alarm task is one of the first alarm task list or the second alarm task list.

[0071] The preset second feature can be that the sliding trajectory of the fourth sliding sub-input matches the preset sliding trajectory, but it is not limited to this. As long as it is a feature that can trigger the alarm deletion operation, it is acceptable.

[0072] There are various situations for the fourth sliding sub-input, which can be a folding input or a straight-line input, etc. Specifically, it can be: when a certain alarm needs to be deleted, it can be achieved through the fourth sliding sub-input with a broken-line sliding trajectory. The sliding trajectory of the fourth sliding sub-input can specifically be passing through the folding screen dividing line and then passing through the dividing line again in the reverse direction and releasing (Situation 1); or sliding from the folding screen dividing line to the alarm and then sliding back to the dividing line in the reverse direction (Situation 2).

[0073] For example, Situation 1 can be as follows Figure 10 shown. In the figure, 1001 represents the input trajectory of the fourth sliding sub-input, and 1003 represents the deleted alarm and the updated list.

[0074] In the second case, specifically, when the user needs to delete a certain alarm clock in the list, the user can slide from the folding screen boundary (the boundary between the first screen and the second screen) to the alarm clock and then slide back to the boundary. At this time, the list is updated and the alarm clock is deleted from the list.

[0075] The alarm clock deletion method provided by the embodiments of the present invention can quickly delete the alarm clock that the user wants to delete, avoid the need to return to the previous-level list for query during the setting process, and is more convenient for alarm clock setting.

[0076] In the fourth example, the first input includes a pressing sub-input and a third sliding sub-input; wherein, the third sliding sub-input can be a third sliding sub-operation.

[0077] Receiving the first input from the user for the target area includes: receiving the pressing sub-input from the user in the target area;

[0078] After receiving the first input from the user for the target area, the alarm clock setting method further includes: displaying a preset identifier in the target area; receiving the third sliding sub-input from the user, the starting position of the third sliding sub-input is located in the target area, and the ending position of the third sliding sub-input is located in the first area on the first alarm clock task list;

[0079] Performing the target operation corresponding to the first input on the target alarm clock task includes: determining the initial reminder time of the target alarm clock task based on the first area; based on the determined initial reminder time of the alarm clock, creating the target alarm clock task, and displaying the target alarm clock task on the first alarm clock task list.

[0080] The pressing sub-input can be a pressing sub-operation with a preset pressing duration; the preset identifier can specifically be an alarm clock adding control, such as Figure 11 the "+" control 1102 in ; the starting position of the third sliding sub-input can specifically be on the preset identifier.

[0081] The initial reminder time can also be a default value. After creating a new alarm clock, the user can also adjust the time of the alarm clock.

[0082] The alarm clock adding method provided by the embodiments of the present invention can quickly create the target alarm clock that the user wants to add, avoid the need to return to the previous-level list for query during the setting process, and is more convenient for alarm clock setting.

[0083] Specifically, determining the initial reminder time of the alarm clock based on the first area includes: Case 1: When the first area is the area between any two adjacent alarm tasks in the first alarm task list, determining the initial reminder time of the target alarm task based on the reminder times of the first alarm task and the second alarm task adjacent to the first area; wherein, the initial reminder time is between the first reminder time of the first alarm task and the second reminder time of the second alarm task, or the initial reminder time is the first reminder time or the second reminder time;

[0084] Case 2: When the first area is the display area of any alarm task in the first alarm task list, determining the initial reminder time of the alarm clock based on the third reminder time of the third alarm task corresponding to the first area; wherein, the initial reminder time is the third reminder time, or the initial reminder time is a time that is a preset duration earlier than or later than the third reminder time.

[0085] For example, Case 1 can be as Figure 11 shown. In the figure, 1101 represents the input trajectory of the fifth sliding sub-input. Long pressing the boundary 1103 triggers the display of the "+" control 1102, where the "+" control 1102 is used to add an alarm clock, 1104 represents the added alarm clock, and the time of the added alarm clock is the initial alarm clock time determined according to the specific situation of the first area; 1105 represents the alternative scale values of the displayed hours and minutes;

[0086] Specifically, Case 2 can be that the "+" control 1102 is dragged to a certain alarm clock, released and pressed. At this time, the initial alarm clock time is formed before and after the time point of the certain alarm clock. The scale setting and adjustment of the alarm clock can refer to the relevant content of the second example above, which will not be elaborated here.

[0087] Further, the fourth example can also include Case 3: The "+" control 1102 is dragged to before or after a certain alarm clock (such as before the first alarm clock or after the last alarm clock in the alarm clock list) and released. At this time, the initial alarm clock time is formed before and after the time point of the certain alarm clock. The scale setting and adjustment of the alarm clock can refer to the relevant content of the second example above, which will not be elaborated here.

[0088] This can reduce the adjustment operation and facilitate the quick setting of the alarm clock time.

[0089] In the fifth example, the first input includes a fifth sliding sub-input; wherein, the fifth sliding sub-input can be a fifth sliding sub-operation.

[0090] Before receiving the first input of the user on the target area, the alarm clock setting method further includes: displaying an alarm parameter setting interface of the target alarm task on the first screen or the second screen;

[0091] Receiving a first input from a user for a target area includes: receiving a fifth sliding sub-input from the user, where the input start position of the fifth sliding sub-input is located on a second target control, and the input end position of the fifth sliding sub-input is located in the target area; wherein, the second target control is a first parameter setting control for an alarm parameter setting item of a target alarm task.

[0092] After receiving the first input from the user for the target area, the alarm setting method further includes: in response to the first input, displaying at least one alternative parameter value in the target area.

[0093] Performing a target operation corresponding to the first input on the target alarm task includes: obtaining a target parameter value where the input end position of the fifth sliding sub-input is located; updating the parameter value of the second target control to the target parameter value; wherein, the at least one alternative parameter value includes the target parameter value.

[0094] This alarm parameter setting method provided by the embodiments of the present invention can quickly set any parameter of a target alarm that a user desires to set, avoiding the need to return to the previous-level list for query during the setting process, and making it more convenient to set the alarm.

[0095] Specifically, the alarm parameter setting item may include at least one of the following: an alarm reminder time setting item including a clock setting item and a minute setting item, a reminder period setting item, a ringtone setting item, a reminder method setting item, a snooze period setting item, an alarm repetition method setting item.

[0096] Here it is noted that in this example, regardless of what parameter of the alarm is selected, alternative values can be displayed in the target area, and the user can set it just by swiping to this area (set it by inputting the fifth sliding sub-input); it can also be that the user rotates the screen to set the alternative values, or directly clicks on the scale for setting; for example: the clock and minute setting controls of the alarm are respectively located on both sides of the demarcation, and the user can rotate the screen to set the alarm settings on the corresponding screen or click on the scale for setting.

[0097] Wherein, during the process of receiving the fifth sliding sub-input from the user, the second target control can move following the finger.

[0098] As can be seen from the above, the solution provided by the embodiments of the present invention can perform alarm setting in the folded-screen mode, enabling the user to have a clear view of the alarm list and alarm settings, avoiding the need to return to the previous-level list for query, and at the same time making it more convenient to set the alarm. During the setting process, the folded screen can also be combined to distinguish between the lists of opened and unopened alarms, and on the basis of this list, the setting of quickly adding an alarm can be set.

[0099] The solution provided by the embodiments of the present invention can be specifically implemented in the following two ways:

[0100] In the first way, by dividing the alarm clock list into two parts: open and closed, and displaying the two lists on two screens, operations such as setting alarm clock parameters, updating the list where the alarm clock is located, and deleting the alarm clock can be achieved through the above-mentioned sliding input.

[0101] In this way, by separately displaying the open and closed alarm clock lists on different screens, users can conveniently switch the status of different alarm clocks, and perform operations such as setting alarms, adding alarms, and deleting alarms by combining the characteristics of the folding screen, which facilitates users to quickly set alarm clocks.

[0102] In the second way, it is generally the same as the first way, except that: in this way, the alarm clock list is displayed on a single screen, the alarm clocks are arranged in chronological order and the open / closed status is distinguished, and the other screen is mainly for alarm clock setting operations and display. Users can quickly switch the alarm clock status and perform quick settings on the alarm clock.

[0103] In this way, the alarm clock list is displayed on a single screen, the alarm clocks are arranged in chronological order and the open / closed status is distinguished, and the other screen is mainly for alarm clock setting operations and display; users can quickly switch the alarm clock status and perform quick settings on the alarm clock.

[0104] The embodiments of the present invention also provide a terminal, the terminal includes a first screen and a second screen, as Figure 12 shown, the terminal includes:

[0105] A first receiving module 1201, configured to receive a first input from a user for a target area;

[0106] A first processing module 1202, configured to perform a target operation corresponding to the first input on a target alarm clock task in response to the first input;

[0107] Wherein, the target area is a preset area between the first screen and the second screen.

[0108] The terminal provided by the embodiments of the present invention receives a first input from a user for a target area; in response to the first input, performs a target operation corresponding to the first input on a target alarm clock task; wherein, the target area is a preset area between the first screen and the second screen; it can avoid switching back and forth between the alarm clock list and the alarm clock setting and editing interface during use for setting, simplifies the alarm clock setting process, and the operation is more convenient.

[0109] In the embodiments of the present invention, the alarm clock task list can be displayed on multiple screens (Case 1), or can be displayed on one screen (Case 2);

[0110] Corresponding to Case 1, the terminal further includes: a first display module, configured to display a first alarm task list and an alarm parameter setting interface of a target alarm task on a first target screen before receiving a first input from the user for a target area, and display a second alarm task list on a second target screen; wherein, the first alarm task list includes at least one enabled alarm task, and the second alarm task list includes at least one disabled alarm task; the first target screen is one of the first screen and the second screen, and the second target screen is the other of the first screen and the second screen.

[0111] Corresponding to Case 2, the terminal further includes: a second display module, configured to display a first alarm task list and a second alarm task list on a first target screen before receiving a first input from the user for a target area, and display an alarm parameter setting interface of a target alarm task on a second target screen; wherein, the first alarm task list includes at least one enabled alarm task, and the second alarm task list includes at least one disabled alarm task; the first target screen is one of the first screen and the second screen, and the second target screen is the other of the first screen and the second screen.

[0112] The following are several examples provided for the solution of the embodiment of the present invention, but not limited thereto:

[0113] In the first example, the first input includes a second sliding sub-input, and the second sliding sub-input satisfies a preset first feature; wherein, the second sliding sub-input may be a second sliding sub-operation.

[0114] The first receiving module includes: a second receiving sub-module, configured to receive a second sliding sub-input from the user, the sliding trajectory of the second sliding sub-input passes through the target alarm task, and the input start position or the input end position of the second sliding sub-input is located in the target area;

[0115] The first processing module includes: a first processing sub-module, configured to, when the target alarm task is one of the first alarm task list, disable the target alarm task, delete the display of the target alarm task in the first alarm task list, and display the target alarm task in the second alarm task list;

[0116] A second processing sub-module, configured to, when the target alarm task is one of the second alarm task list, enable the target alarm task, delete the display of the target alarm task in the second alarm task list, and display the target alarm task in the first alarm task list.

[0117] The second example, the first input includes a first sliding sub-input; the alarm parameter setting interface of the target alarm task includes a clock setting control and a minute setting control;

[0118] The first receiving module includes: a first receiving sub-module, configured to receive a first sliding sub-input of a user, where an input start position of the first sliding sub-input is located on a first target control, and an input end position of the first sliding sub-input is located in the target area; wherein, the first target control is a clock setting control or a minute setting control;

[0119] The first processing module includes: a first obtaining sub-module, configured to obtain a target scale value where the input end position of the first sliding sub-input is located; a first updating sub-module, configured to update a parameter value of the first target control to the target scale value.

[0120] Further, the terminal further includes: a third display module, configured to, after receiving a first input of a user to the target area, in response to the first input, display at least one scale value in the target area; wherein, the at least one scale value includes the target scale value.

[0121] The third example, the first input includes a fourth sliding sub-input, and the fourth sliding sub-input satisfies a preset second feature; wherein, the fourth sliding sub-input may be a fourth sliding sub-operation.

[0122] The first receiving module includes: a fourth receiving sub-module, configured to receive a fourth sliding sub-input of a user, where a sliding trajectory of the fourth sliding sub-input passes through the target alarm task, and an input start position or an input end position of the fourth sliding sub-input is located in the target area;

[0123] The first processing module includes: a first deleting sub-module, configured to delete the target alarm task; wherein, the target alarm task is one of the first alarm task list or the second alarm task list.

[0124] The fourth example, the first input includes a pressing sub-input and a third sliding sub-input;

[0125] The first receiving module includes: a third receiving sub-module, configured to receive a pressing sub-input of a user in the target area;

[0126] The terminal further includes: a fourth display module, configured to display a preset identifier in the target area after receiving a first input from the user for the target area; a second receiving module, configured to receive a third sliding sub-input from the user, where the input start position of the third sliding sub-input is located in the target area, and the input end position of the third sliding sub-input is located in a first area on the first alarm task list;

[0127] The first processing module includes: a first determination sub-module, configured to determine an initial reminder time of a target alarm task based on the first area; a third processing sub-module, configured to create the target alarm task based on the determined initial reminder time of the alarm, and display the target alarm task on the first alarm task list.

[0128] Specifically, the first determination sub-module includes: a first determination unit, configured to, when the first area is an area between any two adjacent alarm tasks in the first alarm task list, determine the initial reminder time of the target alarm task based on the reminder times of a first alarm task and a second alarm task adjacent to the first area; where the initial reminder time is between the first reminder time of the first alarm task and the second reminder time of the second alarm task, or the initial reminder time is the first reminder time or the second reminder time;

[0129] When the first area is a display area of any one alarm task in the first alarm task list, determine the initial reminder time of the alarm based on the third reminder time of the third alarm task corresponding to the first area; where the initial reminder time is the third reminder time, or the initial reminder time is a time that is a preset duration earlier than or later than the third reminder time.

[0130] In a fifth example, the first input includes a fifth sliding sub-input;

[0131] The terminal further includes: a fifth display module, configured to display an alarm parameter setting interface of a target alarm task on the first screen or the second screen before receiving the first input from the user for the target area;

[0132] The first receiving module includes: a fifth receiving sub-module, configured to receive a fifth sliding sub-input from the user, where the input start position of the fifth sliding sub-input is located on a second target control, and the input end position of the fifth sliding sub-input is located in the target area; where the second target control is a first parameter setting control of an alarm parameter setting item of the target alarm task;

[0133] The terminal further includes: a sixth display module, configured to, after receiving a first input from a user for a target area, in response to the first input, display at least one alternative parameter value in the target area;

[0134] The first processing module includes: a second obtaining sub-module, configured to obtain a target parameter value at a position where an input of the fifth sliding sub-input ends; a second updating sub-module, configured to update a parameter value of the second target control to the target parameter value; wherein, the at least one alternative parameter value includes the target parameter value.

[0135] Specifically, the alarm parameter setting item includes at least one of the following: an alarm reminder time setting item including a clock setting item and a minute setting item, a reminder period setting item, a ringtone setting item, a reminder mode setting item, a snooze period setting item, an alarm repetition mode setting item.

[0136] In an embodiment of the present invention, when the terminal is a flexible terminal, the first screen and the second screen are two screens formed after the flexible terminal is folded, and the target area is an area of a first preset range including a boundary line between the first screen and the second screen; when the terminal is a folding terminal, the first screen and the second screen are connected through a folding part, and the target area is an area of a second preset range including the folding part.

[0137] The terminal provided by the embodiment of the present invention can implement Figures 1 to 11 each process implemented by the terminal in the method embodiment, and can achieve corresponding effects. To avoid repetition, details are not described herein again.

[0138] Figure 13 A schematic hardware structure diagram of a terminal for implementing various embodiments of the present invention. The terminal 130 includes, but is not limited to: a radio frequency unit 131, a network module 132, an audio output unit 133, an input unit 134, a sensor 135, a display unit 136, a user input unit 137, an interface unit 138, a memory 139, a processor 1310, and a power supply 1311, and other components. Those skilled in the art can understand that Figure 13 the terminal structure shown in does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. In an embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal, a wearable device, and a pedometer, etc.

[0139] Among them, the terminal includes a first screen and a second screen. The user input unit 137 is used to receive a first input from the user for a target area. The processor 1310 is used to perform a target operation corresponding to the first input on a target alarm task in response to the first input. Among them, the target area is a preset area between the first screen and the second screen.

[0140] In an embodiment of the present invention, the processor 1310 responds to the first input to perform a target operation corresponding to the first input on a target alarm task. Among them, the target area is a preset area between the first screen and the second screen, which can avoid switching back and forth between the alarm list and the alarm setting and editing interface during use, simplifies the alarm setting process, and makes the operation more convenient.

[0141] Optionally, the processor 1310 is further used to, before the user input unit 137 receives a first input from the user for the target area, control the display unit 136 to display a first alarm task list and an alarm parameter setting interface for the target alarm task on a first target screen, and display a second alarm task list on a second target screen. Among them, the first alarm task list includes at least one enabled alarm task, and the second alarm task list includes at least one disabled alarm task. The first target screen is one of the first screen and the second screen, and the second target screen is the other of the first screen and the second screen.

[0142] Optionally, the processor 1310 is further used to, before the user input unit 137 receives a first input from the user for the target area, control the display unit 136 to display a first alarm task list and a second alarm task list on a first target screen, and display an alarm parameter setting interface for the target alarm task on a second target screen. Among them, the first alarm task list includes at least one enabled alarm task, and the second alarm task list includes at least one disabled alarm task. The first target screen is one of the first screen and the second screen, and the second target screen is the other of the first screen and the second screen.

[0143] Optionally, the first input includes a first sliding sub-input. The alarm parameter setting interface for the target alarm task includes a clock setting control and a minute setting control. The user input unit 137 is further used to receive the first sliding sub-input. The input start position of the first sliding sub-input is located on a first target control, and the input end position of the first sliding sub-input is located in the target area. Among them, the first target control is a clock setting control or a minute setting control. The processor 1310 is specifically used to obtain a target scale value where the input end position of the first sliding sub-input is located, and update the parameter value of the first target control to the target scale value.

[0144] Optionally, the processor 1310 is further configured to, after the user input unit 137 receives a first input from the user for the target area, the processor 1310 is further configured to, in response to the first input, control the display unit 136 to display at least one scale value in the target area; wherein, the at least one scale value includes the target scale value.

[0145] Optionally, the first input includes a second sliding sub-input, and the second sliding sub-input satisfies a preset first feature; the user input unit 137 is further configured to receive the second sliding sub-input from the user, and the sliding trajectory of the second sliding sub-input passes through the target alarm task, and the input start position or the input end position of the second sliding sub-input is located in the target area; specifically, when the target alarm task is one of the first alarm task lists, the processor 1310 is configured to turn off the target alarm task, delete the display of the target alarm task in the first alarm task list, and control the display unit 136 to display the target alarm task in the second alarm task list; when the target alarm task is one of the second alarm task lists, the processor 1310 is configured to turn on the target alarm task, delete the display of the target alarm task in the second alarm task list, and control the display unit 136 to display the target alarm task in the first alarm task list.

[0146] Optionally, the first input includes a pressing sub-input and a third sliding sub-input; the user input unit 137 is further configured to receive the pressing sub-input from the user in the target area; the processor 1310 is further configured to, after the user input unit 137 receives a first input from the user for the target area, control the display unit 136 to display a preset identifier in the target area; the user input unit 137 is further configured to receive the third sliding sub-input from the user, the input start position of the third sliding sub-input is located in the target area, and the input end position of the third sliding sub-input is located in a first area on the first alarm task list; specifically, the processor 1310 is configured to determine an initial reminder time of the target alarm task based on the first area; based on the determined initial reminder time of the alarm, create the target alarm task, and control the display unit 136 to display the target alarm task on the first alarm task list.

[0147] Optionally, the processor 1310 is specifically configured to, when the first region is the region between any two adjacent alarm tasks in the first alarm task list, determine the initial reminder time of the target alarm task based on the reminder times of the first alarm task and the second alarm task adjacent to the first region; wherein, the initial reminder time is between the first reminder time of the first alarm task and the second reminder time of the second alarm task, or the initial reminder time is the first reminder time or the second reminder time; when the first region is the display region of any alarm task in the first alarm task list, determine the initial reminder time of the alarm based on the third reminder time of the third alarm task corresponding to the first region; wherein, the initial reminder time is the third reminder time, or the initial reminder time is a time preset duration earlier than or later than the third reminder time.

[0148] Optionally, the first input includes a fourth sliding sub-input that satisfies a preset second feature; the user input unit 137 is further configured to receive the fourth sliding sub-input of the user, the sliding trajectory of the fourth sliding sub-input passes through the target alarm task, and the input start position or the input end position of the fourth sliding sub-input is located in the target region; the processor 1310 is specifically configured to delete the target alarm task; wherein, the target alarm task is one of the first alarm task list or the second alarm task list.

[0149] Optionally, the first input includes a fifth sliding sub-input; the processor 1310 is further configured to, before the user input unit 137 receives the first input of the user to the target region, control the display unit 136 to display an alarm parameter setting interface of the target alarm task on the first screen or the second screen; the user input unit 137 is further configured to receive the fifth sliding sub-input of the user, the input start position of the fifth sliding sub-input is located on the second target control, and the input end position of the fifth sliding sub-input is located in the target region; wherein, the second target control is the first parameter setting control of the alarm parameter setting item of the target alarm task; the processor 1310 is further configured to, after the user input unit 137 receives the first input of the user to the target region, in response to the first input, control the display unit 136 to display at least one alternative parameter value in the target region; the processor 1310 is specifically configured to obtain the target parameter value where the input end position of the fifth sliding sub-input is located; update the parameter value of the second target control to the target parameter value; wherein, the at least one alternative parameter value includes the target parameter value.

[0150] Optionally, the alarm parameter setting items include at least one of the following: an alarm reminder time setting item including a clock setting item and a minute setting item, a reminder period setting item, a ringtone setting item, a reminder mode setting item, a snooze period setting item, and an alarm repetition mode setting item.

[0151] Optionally, when the terminal is a flexible terminal, the first screen and the second screen are two screens formed after the flexible terminal is folded, and the target area is an area within a first preset range including the boundary line between the first screen and the second screen; when the terminal is a folding terminal, the first screen and the second screen are connected by a folding part, and the target area is an area within a second preset range including the folding part.

[0152] It should be understood that in the embodiments of the present invention, the radio frequency unit 131 can be used for receiving and sending signals during information reception or call processes. Specifically, after receiving the downlink data from the base station, it is given to the processor 1310 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 131 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc. In addition, the radio frequency unit 131 can also communicate with the network and other devices through a wireless communication system.

[0153] The terminal provides the user with wireless broadband Internet access through the network module 132, such as helping the user to send and receive emails, browse web pages, and access streaming media, etc.

[0154] The audio output unit 133 can convert the audio data received by the radio frequency unit 131 or the network module 132 or stored in the memory 139 into an audio signal and output it as sound. Moreover, the audio output unit 133 can also provide an audio output related to a specific function executed by the terminal 130 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 133 includes a speaker, a buzzer, and a receiver, etc.

[0155] The input unit 134 is used to receive audio or video signals. The input unit 134 may include a Graphics Processing Unit (GPU) 1341 and a microphone 1342. The GPU 1341 processes the image data of static pictures or videos obtained by an image capture device (such as a camera) in the video capture mode or the image capture mode. The processed image frames can be displayed on the display unit 136. The image frames processed by the GPU 1341 can be stored in the memory 139 (or other storage media) or transmitted via the radio frequency unit 131 or the network module 132. The microphone 1342 can receive sounds and process such sounds into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 131 in the case of a phone call mode and output.

[0156] The terminal 130 further includes at least one sensor 135, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. Among them, the ambient light sensor can adjust the brightness of the display panel 1361 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1361 and / or the backlight when the terminal 130 is moved to the ear. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 135 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be elaborated here.

[0157] The display unit 136 is used to display information input by the user or information provided to the user. The display unit 136 may include a display panel 1361, and the display panel 1361 can be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), etc.

[0158] The user input unit 137 can be used to receive input numerical or character information, and generate key signal inputs related to the user settings and function control of the terminal. Specifically, the user input unit 137 includes a touch panel 1371 and other input devices 1372. The touch panel 1371, also known as a touch screen, can collect touch operations of the user thereon or nearby (such as operations of the user using any suitable object or accessory such as a finger, a stylus, etc. on or near the touch panel 1371). The touch panel 1371 can include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the touch orientation of the user, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 1310, and receives and executes the command sent by the processor 1310. In addition, the touch panel 1371 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1371, the user input unit 137 can also include other input devices 1372. Specifically, the other input devices 1372 can include but are not limited to a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, a joystick, which will not be elaborated here.

[0159] Further, the touch panel 1371 can cover the display panel 1361. After the touch panel 1371 detects a touch operation thereon or nearby, it transmits it to the processor 1310 to determine the type of touch event. Subsequently, the processor 1310 provides a corresponding visual output on the display panel 1361 according to the type of touch event. Although in Figure 13 the touch panel 1371 and the display panel 1361 are implemented as two independent components to realize the input and output functions of the terminal, in some embodiments, the touch panel 1371 and the display panel 1361 can be integrated to realize the input and output functions of the terminal, and specific details are not limited here.

[0160] The interface unit 138 is an interface for connecting an external device to the terminal 130. For example, the external device can include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headset port, and so on. The interface unit 138 can be used to receive inputs from an external device (such as data information, power, etc.) and transmit the received inputs to one or more components within the terminal 130 or can be used to transmit data between the terminal 130 and an external device.

[0161] The memory 139 can be used to store software programs and various data. The memory 139 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, phone book, etc.). In addition, the memory 139 can include high-speed random access memory and can also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0162] The processor 1310 is the control center of the terminal, connecting various parts of the entire terminal through various interfaces and lines. By running or executing software programs and / or modules stored in the memory 139, and by calling data stored in the memory 139, it executes various functions of the terminal and processes data, thereby monitoring the terminal as a whole. The processor 1310 can include one or more processing units; preferably, the processor 1310 can integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 1310.

[0163] The terminal 130 can also include a power supply 1311 (such as a battery) for powering each component. Preferably, the power supply 1311 can be logically connected to the processor 1310 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system.

[0164] In addition, the terminal 130 includes some functional modules not shown here, which will not be elaborated here.

[0165] Preferably, an embodiment of the present invention also provides a terminal, including a processor 1310, a memory 139, and a computer program stored on the memory 139 and executable on the processor 1310. When the computer program is executed by the processor 1310, it implements each process of the above-mentioned embodiment of the alarm setting method and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0166] An embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, it implements each process of the above-mentioned embodiment of the alarm setting method and can achieve the same technical effect. To avoid repetition, it will not be elaborated here. Among them, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, abbreviated as ROM), a random access memory (Random Access Memory, abbreviated as RAM), a magnetic disk, or an optical disc, etc.

[0167] It should be noted that in this text, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the presence of additional identical elements in the process, method, article or device comprising such element.

[0168] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described example methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present invention.

[0169] The embodiments of the present invention have been described above in conjunction with the accompanying drawings. However, the present invention is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present invention, those of ordinary skill in the art can also make many forms without departing from the spirit and scope protected by the claims of the present invention, and all of them fall within the protection scope of the present invention.

Claims

1. An alarm clock setting method is applied to a terminal, and the terminal includes a first screen and a second screen. Characterized in that, The alarm clock setting method includes: Receiving a first input from a user to a target area; In response to the first input, performing a target operation corresponding to the first input on a target alarm task; Wherein, the target area is a preset area between the first screen and the second screen; Before receiving the first input from the user to the target area, the alarm clock setting method further includes: Displaying a first alarm task list and an alarm parameter setting interface of a target alarm task on a first target screen, and displaying a second alarm task list on a second target screen; Or, Displaying a first alarm task list and a second alarm task list on a first target screen, and displaying an alarm parameter setting interface of a target alarm task on a second target screen; Wherein, the first target screen is one of the first screen and the second screen, and the second target screen is the other of the first screen and the second screen; The first input includes a second sliding sub-input, and the second sliding sub-input satisfies a preset first feature; Receiving the first input from the user to the target area includes: Receiving a second sliding sub-input from the user, the sliding trajectory of the second sliding sub-input passes through the target alarm task, and the input start position or the input end position of the second sliding sub-input is located in the target area; Performing the target operation corresponding to the first input on the target alarm task includes: When the target alarm task is one of the first alarm task list, closing the target alarm task, deleting the display of the target alarm task in the first alarm task list, and displaying the target alarm task in the second alarm task list; When the target alarm task is one of the second alarm task list, turning on the target alarm task, deleting the display of the target alarm task in the second alarm task list, and displaying the target alarm task in the first alarm task list.

2. The alarm clock setting method according to claim 1, Characterized in that, The first alarm task list includes at least one turned-on alarm task, and the second alarm task list includes at least one turned-off alarm task.

3. The alarm clock setting method according to claim 1 or 2, Characterized in that, The first input includes a first sliding sub-input; The alarm parameter setting interface of the target alarm task includes a clock setting control and a minute setting control; Receiving the first input from the user to the target area further includes: Receiving a first sliding sub-input from the user, the input start position of the first sliding sub-input is located on a first target control, and the input end position of the first sliding sub-input is located in the target area; Wherein, the first target control is a clock setting control or a minute setting control; Performing the target operation corresponding to the first input on the target alarm task includes: Obtaining a target scale value where the input end position of the first sliding sub-input is located; Updating the parameter value of the first target control to the target scale value.

4. The alarm clock setting method according to claim 3, wherein, after receiving the first input from the user for the target area, the alarm clock setting method further includes: in response to the first input, displaying at least one scale value in the target area; wherein, the at least one scale value includes the target scale value.

5. The alarm clock setting method according to claim 1 or 2, wherein, the first input includes a pressing sub-input and a third sliding sub-input; receiving the first input from the user for the target area further includes: receiving the pressing sub-input from the user in the target area; after receiving the first input from the user for the target area, the alarm clock setting method further includes: displaying a preset identifier in the target area; receiving the third sliding sub-input from the user, the input start position of the third sliding sub-input is located in the target area, and the input end position of the third sliding sub-input is located in the first area on the first alarm task list; performing the target operation corresponding to the first input on the target alarm task includes: determining the initial reminder time of the target alarm task based on the first area; based on the determined initial reminder time of the alarm, creating the target alarm task and displaying the target alarm task on the first alarm task list.

6. The alarm clock setting method according to claim 5, wherein, determining the initial reminder time of the alarm based on the first area includes: when the first area is the area between any two adjacent alarm tasks in the first alarm task list, determining the initial reminder time of the target alarm task based on the reminder times of the first alarm task and the second alarm task adjacent to the first area; wherein, the initial reminder time is between the first reminder time of the first alarm task and the second reminder time of the second alarm task, or the initial reminder time is the first reminder time or the second reminder time; when the first area is the display area of any one alarm task in the first alarm task list, determining the initial reminder time of the alarm based on the third reminder time of the third alarm task corresponding to the first area; wherein, the initial reminder time is the third reminder time, or the initial reminder time is a time that is earlier or later than the third reminder time by a preset duration.

7. The alarm clock setting method according to claim 1 or 2, wherein, the first input includes a fourth sliding sub-input, and the fourth sliding sub-input satisfies a preset second feature; receiving the first input from the user for the target area further includes: receiving the fourth sliding sub-input from the user, the sliding trajectory of the fourth sliding sub-input passes through the target alarm task, and the input start position or the input end position of the fourth sliding sub-input is located in the target area; performing the target operation corresponding to the first input on the target alarm task includes: deleting the target alarm task; wherein, the target alarm task is one of the first alarm task list or the second alarm task list.

8. The alarm clock setting method according to claim 1, wherein, the first input includes a fifth sliding sub-input; before receiving the first input from the user for the target area, the alarm clock setting method further includes: displaying an alarm parameter setting interface for the target alarm task on the first screen or the second screen; the receiving of the first input from the user for the target area further includes: receiving a fifth sliding sub-input from the user, the starting position of the fifth sliding sub-input being located on a second target control, and the ending position of the fifth sliding sub-input being located in the target area; wherein, the second target control is a first parameter setting control for an alarm parameter setting item of the target alarm task; after receiving the first input from the user for the target area, the alarm clock setting method further includes: in response to the first input, displaying at least one alternative parameter value in the target area; the performing of the target operation corresponding to the first input on the target alarm task includes: obtaining the target parameter value where the ending position of the fifth sliding sub-input is located; updating the parameter value of the second target control to the target parameter value; wherein, the at least one alternative parameter value includes the target parameter value.

9. The alarm clock setting method according to claim 8, wherein, the alarm parameter setting item includes at least one of the following: an alarm reminder time setting item including a clock setting item and a minute setting item, a reminder period setting item, a ringtone setting item, a reminder method setting item, a snooze period setting item, an alarm repetition method setting item.

10. The alarm clock setting method according to claim 1, wherein, when the terminal is a flexible terminal, the first screen and the second screen are two screens formed after the flexible terminal is folded, and the target area is an area within a first preset range including the boundary line between the first screen and the second screen; when the terminal is a folding terminal, the first screen and the second screen are connected through a folding part, and the target area is an area within a second preset range including the folding part.

11. An alarm clock setting device, the device includes a first screen and a second screen, wherein, the device includes: a first receiving module, configured to receive a first input from the user for a target area; a first processing module, configured to perform a target operation corresponding to the first input on a target alarm task in response to the first input; wherein, the target area is a preset area between the first screen and the second screen; a first display module, configured to display a first alarm task list and an alarm parameter setting interface for a target alarm task on a first target screen, and display a second alarm task list on a second target screen before receiving the first input from the user for the target area; or, a second display module, configured to display a first alarm task list and a second alarm task list on a first target screen, and display an alarm parameter setting interface for a target alarm task on a second target screen before receiving the first input from the user for the target area; Wherein, the first target screen is one of the first screen and the second screen, and the second target screen is the other of the first screen and the second screen; The first input includes a second sliding sub-input, and the second sliding sub-input satisfies a preset first feature; The first receiving module includes: A second receiving sub-module, configured to receive a second sliding sub-input of a user, wherein a sliding trajectory of the second sliding sub-input passes through a target alarm task, and an input start position or an input end position of the second sliding sub-input is located in the target area; The first processing module includes: A first processing sub-module, configured to, when the target alarm task is one of the first alarm task list, turn off the target alarm task, delete a display of the target alarm task in the first alarm task list, and display the target alarm task in the second alarm task list; A second processing sub-module, configured to, when the target alarm task is one of the second alarm task list, turn on the target alarm task, delete a display of the target alarm task in the second alarm task list, and display the target alarm task in the first alarm task list.

12. The apparatus according to claim 11, wherein, The first alarm task list includes at least one enabled alarm task, and the second alarm task list includes at least one disabled alarm task.

13. The apparatus according to claim 11 or 12, wherein, The first input includes a first sliding sub-input; An alarm parameter setting interface of the target alarm task includes a clock setting control and a minute setting control; The first receiving module further includes: A first receiving sub-module, configured to receive a first sliding sub-input of a user, wherein an input start position of the first sliding sub-input is located on a first target control, and an input end position of the first sliding sub-input is located in the target area; Wherein, the first target control is a clock setting control or a minute setting control; The first processing module includes: A first obtaining sub-module, configured to obtain a target scale value where an input end position of the first sliding sub-input is located; A first updating sub-module, configured to update a parameter value of the first target control to the target scale value.

14. The apparatus according to claim 13, wherein, The apparatus further includes: A third display module, configured to, after receiving a first input of a user to the target area, in response to the first input, display at least one scale value in the target area; Wherein, the at least one scale value includes the target scale value.

15. The apparatus according to claim 11 or 12, wherein, The first input includes a pressing sub-input and a third sliding sub-input; The first receiving module further includes: A third receiving sub-module, configured to receive a pressing sub-input of a user in the target area; The apparatus further includes: A fourth display module, configured to, after receiving a first input of a user to the target area, display a preset identifier in the target area. A second receiving module, configured to receive a third sliding sub-input of a user, where an input start position of the third sliding sub-input is located in the target area, and an input end position of the third sliding sub-input is located in a first area on the first alarm task list; The first processing module includes: A first determining sub-module, configured to determine an initial reminder time of a target alarm task based on the first area; A third processing sub-module, configured to create the target alarm task based on the determined initial reminder time of the alarm, and display the target alarm task on the first alarm task list.

16. The apparatus according to claim 15, wherein, The first determining sub-module includes: A first determining unit, configured to, when the first area is an area between any two adjacent alarm tasks in the first alarm task list, determine an initial reminder time of a target alarm task based on reminder times of a first alarm task and a second alarm task adjacent to the first area; wherein, the initial reminder time is between a first reminder time of the first alarm task and a second reminder time of the second alarm task, or the initial reminder time is the first reminder time or the second reminder time; When the first area is a display area of any one alarm task in the first alarm task list, determine an initial reminder time of the alarm based on a third reminder time of a third alarm task corresponding to the first area; wherein, the initial reminder time is the third reminder time, or the initial reminder time is a time that is a preset duration earlier than or later than the third reminder time.

17. The apparatus according to claim 11 or 12, wherein, The first input includes a fourth sliding sub-input, and the fourth sliding sub-input satisfies a preset second feature; The first receiving module further includes: A fourth receiving sub-module, configured to receive a fourth sliding sub-input of a user, where a sliding trajectory of the fourth sliding sub-input passes through the target alarm task, and an input start position or an input end position of the fourth sliding sub-input is located in the target area; The first processing module includes: A first deleting sub-module, configured to delete the target alarm task; wherein, the target alarm task is one of the first alarm task list or the second alarm task list.

18. The apparatus according to claim 11, wherein, The first input includes a fifth sliding sub-input; The apparatus further includes: A fifth display module, configured to display an alarm parameter setting interface of a target alarm task on the first screen or the second screen before receiving a first input of a user to the target area; The first receiving module further includes: A fifth receiving sub-module, configured to receive a fifth sliding sub-input of a user, where an input start position of the fifth sliding sub-input is located on a second target control, and an input end position of the fifth sliding sub-input is located in the target area; wherein, the second target control is a first parameter setting control of an alarm parameter setting item of the target alarm task; The apparatus further includes: A sixth display module, configured to, after receiving a first input of a user on a target area, in response to the first input, display at least one alternative parameter value in the target area; The first processing module includes: A second obtaining sub-module, configured to obtain a target parameter value where an input end position of the fifth sliding sub-input is located; A second updating sub-module, configured to update a parameter value of the second target control to the target parameter value; Wherein, the at least one alternative parameter value includes the target parameter value.

19. The apparatus according to claim 18, wherein, the alarm parameter setting item includes at least one of the following: an alarm reminder time setting item including a clock setting item and a minute setting item, a reminder period setting item, a ringtone setting item, a reminder mode setting item, a snooze period setting item, an alarm repetition mode setting item.

20. The apparatus according to claim 11, wherein, when the terminal is a flexible terminal, the first screen and the second screen are two screens formed after the flexible terminal is folded, and the target area is an area within a first preset range including a dividing line between the first screen and the second screen; when the terminal is a folding terminal, the first screen and the second screen are connected through a folding part, and the target area is an area within a second preset range including the folding part.

21. A terminal, wherein, it includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, it implements the steps of the alarm setting method according to any one of claims 1 to 10.

22. A computer-readable storage medium, wherein, a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, it implements the steps of the alarm setting method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Information processing method and electronic equipment

    CN103853541A

  • Method for cancelling alarm and mobile terminal

    CN106469057A

  • Management method for page setup and mobile terminal

    CN107168607A

  • Alarm clock setting method, mobile terminal and compute readable storage medium

    CN107770386A

  • Alarm clock control method and device and terminal

    CN107831895A