Alarm clock interaction method and device

By receiving the user's bending input on the folding screen device and detecting the bending angle and duration, the precise closing of the alarm clock ring is achieved, and the problems of mist touch and poor prompting effects caused by simple operation in the prior art are solved.

CN116156046BActive Publication Date: 2025-02-14VIVO MOBILE COMM CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310153415.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2025-02-14
Estimated Expiration
2043-02-22

AI Technical Summary

Technical Problem

In the prior art, the operation of closing the alarm clock ring is too simple, resulting in poor prompting effect, especially when the user is confused, it is easy to cause false touch.

Method used

By receiving the user's bending input on the folding screen device, the bending angle and duration of the bending state between the first and second screens of the folding screen are determined, when the included angle is in the target range and the duration reaches the target. When the duration is long, turn off the target alarm clock.

Benefits of technology

This method reduces the risk of misoperation by setting the target bend angle range and maintenance time, improves the prompt effect of turning off the alarm clock and making the operation more accurate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116156046B_ABST
    Figure CN116156046B_ABST
Patent Text Reader

Abstract

The present application discloses an alarm clock interaction method and device, belonging to the field of communication technology. First, a target bending angle range set for a target alarm clock is obtained; when the target alarm clock rings, a user's bending input is received; then, in response to the bending input, a bending angle between a first screen and a second screen of a folding screen and a duration of the bending state are determined; and when the bending angle is within the target bending angle range and the duration of the bending state reaches the target duration, the target alarm clock is turned off.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to an alarm clock interaction method and device. Background Art

[0002] The alarm clock function on electronic devices is a functional application that is used frequently in daily life. Users can adjust various parameters to set different reminder methods and set the ringing date and time according to actual applications. The use process is simple and convenient.

[0003] In the related art, when the alarm rings, the user can cancel the ringing by pressing the power button on the device or clicking the close button on the device operation interface.

[0004] However, in most application scenarios, the alarm clock is used to wake up the user who is sleeping. At this time, because the human body's consciousness is still in a relatively vague state, it is easy to accidentally touch the operation to turn off the alarm clock, and the user's operation to turn off the alarm clock is too simple, and the prompt effect is poor. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide an alarm clock interaction method and device, which can solve the problem in the prior art that the operation of turning off the ringing is too simple and the prompt effect is poor.

[0006] In a first aspect, an embodiment of the present application provides an alarm clock interaction method, the method comprising:

[0007] When the target alarm rings, receiving a bending input from a user;

[0008] In response to the bending input, determining a bending angle between a first screen and a second screen of the folding screen and a duration of a bending state;

[0009] When the bending angle is within the target bending angle range and the bending state lasts for a target time, the target alarm is turned off.

[0010] In a second aspect, an embodiment of the present application provides an alarm clock interaction device, the device comprising:

[0011] a bending input receiving module, used for receiving a user's bending input when the target alarm rings;

[0012] a bending state determining module, configured to determine, in response to the bending input, a bending angle between the first screen and the second screen of the folding screen and a duration of the bending state;

[0013] The alarm off execution module is used to turn off the target alarm when the bending angle is within the target bending angle range and the duration of the bending state reaches the target duration.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0016] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0017] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0018] In an embodiment of the present application, an alarm interaction method suitable for a folding screen first obtains a target bending angle range set for a target alarm; when the target alarm is ringing, the bending angle between the first screen and the second screen of the folding screen is detected, and when the time duration during which the bending angle is in the target bending angle range reaches a target maintenance time duration, the target alarm is turned off, and the purpose of turning off the alarm is achieved by bending the device, thereby enriching the method of turning off the alarm. At the same time, the set target bending angle range provides a trigger condition for the closing instruction, reducing the risk of misoperation and providing a better prompt effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a brief implementation step flow chart of an alarm clock interaction method provided in an embodiment of the present application;

[0020] Figure 2 This is a schematic diagram of an alarm clock working parameter setting interface provided by an embodiment of the present application;

[0021] Figure 3 It is a detailed implementation step flow chart of an alarm clock interaction method provided in an embodiment of the present application;

[0022] Figure 4 This is a schematic diagram of a bending operation prompt interface provided in an embodiment of the present application;

[0023] Figure 5 This is a schematic diagram of a bent task list interface provided by an embodiment of the present application;

[0024] Figure 6 It is a schematic diagram of the functional module device composition of an alarm clock interaction device provided in an embodiment of the present application;

[0025] Figure 7 is a functional component relationship diagram of an electronic device provided in an embodiment of the present application;

[0026] Figure 8 This is a functional component relationship diagram of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0028] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0029] In the following, in combination with the accompanying drawings, an alarm clock interaction method suitable for a foldable screen terminal provided in an embodiment of the present application is described in detail through specific embodiments and application scenarios.

[0030] Reference Figure 1 , Figure 1 This is a brief implementation step flow chart of an alarm clock interaction method suitable for a folding screen terminal provided in an embodiment of the present application; Figure 1 As shown, the method includes:

[0031] Step 101: When a target alarm rings, receiving a bending input from a user.

[0032] The embodiment of the present application provides an alarm clock interaction method suitable for a folding screen terminal. First, through human-computer interaction with the user, the operation method and parameters for closing the alarm clock are defined. The embodiment of the present application sets a target bending range for the folding operation of the folding screen. When the alarm clock rings, the user needs to bend the device to a certain angle to achieve the operation effect of closing the alarm clock.

[0033] Specifically, refer to Figure 2 , shows a schematic diagram of an alarm clock working parameter setting interface suitable for a folding screen terminal provided by an embodiment of the invention; Figure 2 As shown, since the folding screen terminal includes a first screen and a second screen, multiple independent operation interfaces can be displayed side by side at the same time.

[0034] like Figure 2 As shown, in the "Edit Alarm" interface, the target alarm can be set with regular working parameters; specifically. The target ringing time in the figure is set to 7:45 am, the repeat date mode is set to ring from Monday to Friday, the ringing ringtone is selected as the preset first ringtone, and the "snooze time" after the user chooses to temporarily turn off the alarm and delay the ringing is 5 minutes. The above are all regular working parameters for electronic device alarm applications. In addition, the folding closing mode option for folding screen terminals can be entered below.

[0035] After the device displays the "Folding Closing Mode Setting" interface, the system can obtain the user's folding input to define the relevant parameters of the interactive closing operation of the alarm clock applicable to the folding screen; such as: selecting the mode method for generating the bending angle, the bending dwell time, the allowable error value, etc. In an embodiment of the present application, a target bending angle range is defined for the specific process of the user turning off the alarm clock through a bending operation; wherein the target bending angle range is specifically composed of a target bending angle and an allowable error angle. For example: the target bending angle is defined as 120 degrees, and the allowable error angle is 5 degrees. In the actual closing operation, the target bending angle range that the system can correctly identify is 120°±5°, that is, 115-125 degrees.

[0036] Since it is difficult for users to bend the folding screen to exactly the same target bending angle as the set one through touch perception during actual operation, the embodiment of the present application adopts a method of identifying the target bending angle range, so that the bending operation has better flexibility; it allows the user's bending operation to have a certain deviation within a smaller value, and at the same time retains the operational characteristic of turning off the alarm trigger by bending to a certain angle.

[0037] Step 102: In response to the bending input, determine a bending angle between a first screen and a second screen of the folding screen and a duration of the bending state.

[0038] As described in step 101, Figure 2 In the settings interface, after setting the relevant parameters of the folding closing mode, click "Start Alarm" to start the deployment of the current alarm task.

[0039] When the system time reaches the alarm setting time, the user can immediately bend the folding screen terminal. During this process, the system will detect the angle between the first screen and the second screen of the folding screen to determine whether the angle value of the angle meets the set target angle range value after the current user bends the device. Thanks to the mechanical hinge design of the folding part of folding screen terminal devices, the folding screen can achieve fixed "hovering" at any angle within the bendable range, that is, when the screen is at a certain bending angle, if the device is no longer disturbed by other external forces, the screen folding state will maintain the current bending angle. After the user completes the bending operation, the system will also record the duration of the folding screen in the current bending state, that is, the length of time the screen remains "hovering" at the current angle after the bending angle no longer changes.

[0040] Compared with the traditional method, by pressing the side power button of the terminal device or clicking the "turn off the ringing" button on the operation screen, the user does not need to think too much during the operation, and the shutdown operation logic is relatively simple. In most scenarios of actual applications, the alarm bell function is used to wake up users in a sleeping state. Due to the physiological characteristics of the human body, the autonomous consciousness is relatively vague when just waking up from a deep sleep state. At this time, the overly simple method of turning off the alarm may cause accidental touches, resulting in failure to achieve the purpose of waking up. The embodiment of the present application sets the bending angle of the device screen to remind the user to complete the bending operation according to the preset angle value. Relatively speaking, it requires more thinking consciousness, improves the lower limit of the operation of turning off the alarm bell, and makes the process of turning off the alarm bell more accurate.

[0041] Step 103: When the bending angle is within the target bending angle range and the bending state lasts for a target duration, turning off the target alarm.

[0042] Continuing from step 102, when the system recognizes that the bending angle between the first screen and the second screen of the folding screen reaches the preset target bending angle range, it starts to record the maintenance time of the folding screen shape at the current bending angle. When the bending angle is within the target bending angle range and the maintenance time of the bending state reaches the target time, the target alarm is turned off.

[0043] In the embodiment of the present application, when the user bends the terminal device, the screen angle is maintained within the target angle range for a certain period of time to trigger the alarm clock to close. Figure 2, set the "stay time" in the "folding closing mode" setting interface, requiring the user to keep the device bent to a certain angle for a certain period of time, thereby avoiding the situation where the user can simply turn off the alarm by traversing all the detectable bending angles from fully open to fully folded. Conversely, setting the hold time can force the user to consciously maintain the opening and closing state of the folding screen in a certain opening and closing posture, making the folding and closing operation more precise.

[0044] To summarize, an alarm interaction method suitable for a folding screen terminal is provided in an embodiment of the present application. First, a target bending angle range set for a target alarm is obtained. When the target alarm is ringing, the bending angle between the first screen and the second screen of the folding screen is detected, and when the time duration when the bending angle is in the target bending angle range reaches the target maintenance time, the target alarm is turned off. The purpose of turning off the alarm is achieved by bending the device, thereby enriching the method of turning off the alarm. At the same time, the set target bending angle range provides a trigger condition for the closing instruction, reducing the risk of misoperation and providing a better prompt effect.

[0045] Reference Figure 3 , shows a detailed implementation step flow chart of an alarm clock interaction method suitable for a folding screen terminal provided in an embodiment of the present application; Figure 3 As shown, the method includes:

[0046] Step 201: Obtain a target bending angle range and a target duration set for a target alarm clock.

[0047] Specifically, refer to Figure 2 , shows a schematic diagram of an alarm clock working parameter setting interface suitable for a folding screen terminal provided by an embodiment of the invention; Figure 2 As shown, since the folding screen terminal includes a first screen and a second screen, different operation interfaces can be displayed respectively at the same time.

[0048] like Figure 2 As shown, in the "Edit Alarm" interface, the target alarm can be set with regular working parameters; specifically. The target ringing time in the figure is set to 7:45 am, the repeat date mode is set to ring from Monday to Friday, the ringing ringtone is selected as the preset first ringtone, and the "snooze time" after the user chooses to temporarily turn off the alarm and delay the ringing is 5 minutes. The above are all regular working parameters of the alarm application of mobile device terminals. In addition, the folding closing mode option for folding screen terminals can be entered below.

[0049] After the device displays the "Folding Closing Mode Setting" interface, the system can obtain the user's folding input to define the relevant parameters of the interactive closing operation of the alarm clock applicable to the folding screen; such as: selecting the mode method for generating the bending angle, the bending dwell time, the allowable error value, etc. In an embodiment of the present application, a target bending angle range is defined for the specific process of the user turning off the alarm clock through a bending operation; wherein the target bending angle range is specifically composed of a target bending angle and an allowable error angle. For example: the target bending angle is defined as 120 degrees, and the allowable error angle is 5 degrees. In the actual closing operation, the target bending angle range that the system can correctly identify is 120°±5°, that is, 115-125 degrees.

[0050] Since it is difficult for users to bend the folding screen to exactly the same target bending angle as the set one through touch perception during actual operation, the embodiment of the present application adopts a method of identifying the target bending angle range, so that the bending operation has better flexibility; it allows the user's bending operation to have a certain deviation within a smaller value, and at the same time retains the operational characteristic of turning off the alarm trigger by bending to a certain angle.

[0051] In an optional embodiment, the step 201 further includes:

[0052] Sub-step 2011: Obtaining the target bending angle range according to the user selection result.

[0053] Optionally, the sub-step 2011 may include:

[0054] Sub-step 20111: displaying a bending parameter setting interface through the folding screen, wherein the bending parameter setting interface includes: a preset bending angle list and an allowable error angle generation list.

[0055] In the process of obtaining the target bending angle range, the target bending angle and the allowable error angle need to be obtained in sequence, so as to form the target bending angle range together. The embodiment of the present application provides a variety of different methods for obtaining the target bending angle and the allowable error angle.

[0056] Specifically, in an alarm clock interaction method suitable for a foldable screen terminal provided in an embodiment of the present application, a bending angle list is pre-set in the terminal device regarding the target bending angle, and the bending angle list includes preset bending angle options with multiple different numerical values. The user can select an angle value in the preset bending angle list as the target bending angle through the setting interface.

[0057] Taking into account the actual situation of folding screen terminals, in the preset bending angle list provided in the embodiment of the present application, the angle sequence is arranged in ascending sequence: 15°, 30°, 45°, 60°, 75°, 90°, 105°, 120°, 135°, 150°, 165°, 180°, with 15 degrees as a progression; when the folding screen is fully folded and closed, the angle between the first screen and the second screen is 0°. If the target bending angle is set too small, the bending is meaningless; when the folding screen is fully folded and unfolded, the angle between the first screen and the second screen is a maximum of 180°.

[0058] Similarly, after obtaining the target bending angle, the user can continue to select a specific value of the allowable angle error in the allowable error angle generation list. Usually, in order to ensure that the bending operation requirements are met near the target bending angle value while avoiding excessive errors, the allowable error angle value provided is 1° to 5°.

[0059] Sub-step 20112: Select a target bending angle from the bending angle list, and select an allowable error angle from the allowable error angle list.

[0060] The user can select the target bending angle from the bending angle list and the allowable error angle from the allowable error angle list according to their own usage habits and operation requirements.

[0061] Sub-step 20113: Generate the target bending angle range according to the target bending angle and the allowable error angle.

[0062] After obtaining the target bending angle and the allowable error angle, the target bending angle range can be generated. For example, if the selected target bending angle is 120° and the allowable error angle is 3°, then the target bending angle range is 120°±3°, and the final result is 117° to 123°. Within this angle range, the system can be considered to be in the target bending angle range that satisfies the bending operation.

[0063] Sub-step 2012: Obtain the target bending angle range according to the user input result.

[0064] Optionally, the sub-step 2012 may include:

[0065] Sub-step 20121: displaying a bending parameter setting interface through the folding screen, wherein the bending parameter setting interface includes: a bending angle input box and an allowable error angle input box.

[0066] In addition to selecting the target bending angle from the preset angle list, the user can also enter a specific value for the bending angle. Figure 2After selecting "Custom Mode" in the "Folding Close Mode Settings" interface, the system will display the bending angle input box and the allowable error angle input box in the parameter setting interface. Users can manually enter the target bending angle and allowable error angle in the input box.

[0067] Sub-step 20122: obtaining the target bending angle input by the user through the bending angle input box, and obtaining the allowable error angle input by the user through the allowable error angle input box.

[0068] The user can input a specific target bending angle in the bending angle input box and input a specific allowable error angle in the allowable error angle input box according to their own usage habits and operation requirements.

[0069] Sub-step 20123: Generate the target bending angle range according to the target bending angle and the allowable error angle.

[0070] Specifically, this step may refer to the above-mentioned sub-step 20113, and this embodiment will not be repeated here.

[0071] Sub-step 2013: Obtain the target bending angle range by detecting the actual bending angle of the folding screen.

[0072] Optionally, the sub-step 2013 may include:

[0073] Sub-step 20131: In response to an operation instruction to start setting a target bending angle, a bending operation prompt is displayed through the folding screen, so that the user can perform a bending operation on the folding screen according to the bending operation prompt.

[0074] In another implementation method, the angle value of the screen after being bent by the user can be directly used as the target bending angle.

[0075] Specifically, after selecting the corresponding angle acquisition mode, the user can click the execute button to issue an operation instruction to the device to start setting the target bending angle. The system will immediately respond to the operation instruction and display the bending operation prompt through the folding screen so that the user can bend the folding screen according to the bending operation prompt.

[0076] Sub-step 20132: when it is detected that the bending angle between the first screen and the second screen no longer changes, and the time during which the bending angle between the first screen and the second screen no longer changes reaches a first time threshold, the bending angle between the first screen and the second screen is used as a target bending angle.

[0077] When the user is bending the screen, the screen angle will change in real time with the bending operation. When the user bends the screen to the ideal opening and closing size, the angle will no longer change. When the system detects that the bending angle between the first screen and the second screen no longer changes, and the bending angle between the first screen and the second screen does not change for a certain time threshold, it can be considered that the user has completed the bending operation, and the bending angle between the first screen and the second screen is used as the target bending angle.

[0078] Specifically, in the embodiment of the present application, the first time threshold can be set to 2 seconds. When the bending angle of the folding screen no longer changes and is maintained for more than 2 seconds, the bending angle between the first screen and the second screen can be used as the target bending angle.

[0079] Sub-step 20133: displaying the allowable error angle input box through the folding screen, and obtaining the allowable error angle input by the user.

[0080] Specifically, this step may refer to the above-mentioned sub-step 20122, and this embodiment will not be repeated here.

[0081] Sub-step 20134: Generate the target bending angle range according to the target bending angle and the allowable error angle.

[0082] Specifically, this step may refer to the above-mentioned sub-step 20113, and this embodiment will not be repeated here.

[0083] Sub-step 2014: Obtaining a target bending angle range through a random number generator.

[0084] Optionally, the sub-step 2014 may include:

[0085] Sub-step 20141: displaying a bending parameter setting interface through the folding screen, wherein the bending parameter setting interface includes: a random angle generator, an allowable error angle generator, and a random angle quantity generator.

[0086] In another optional embodiment of the present application, the target bending angle and the allowable error angle can also be generated completely randomly by the system. Figure 2 , after selecting "Random Mode" in the "Folding Closing Mode Settings" interface, the system will randomly generate the target bending angle within the preset angle range (15°-180°).

[0087] Sub-step 20142: Obtain a random angle quantity through the random angle quantity generator.

[0088] Specifically, in this process, the user can determine the number of random angles generated by the system by defining the number of random angles that need to be generated; and obtain the number of random angles through a random angle number generator.

[0089] Sub-step 20143: obtaining one or more target bending angles that are the same as the number of random angles through the random angle generator, and obtaining one or more allowable error angles that are the same as the number of random angles through the allowable error angle generator.

[0090] The random angle generator can obtain one or more target bending angles with the same number as the random angles. Similarly, the allowable error angle generator can obtain one or more allowable error angles with the same number as the random angles.

[0091] Sub-step 20144: Generate the target bending angle range according to the target bending angle and the allowable error angle.

[0092] Specifically, this step may refer to the above-mentioned sub-step 20113, and this embodiment will not be repeated here.

[0093] Sub-step 2015: Obtain the target duration set for the target bending angle range.

[0094] After determining the target bending angle range, it is also necessary to obtain the target duration within the target bending angle range.

[0095] Optionally, the sub-step 2015 may include:

[0096] Sub-step 20151: Obtain the target maintenance time through a random time generator.

[0097] specifically refer to Figure 2 In the "Folding Closing Mode Settings" interface, the user can select the generation mode for the dwell time. When the selected mode is "Random", the system will generate a dwell time as the target maintenance time for the current target bending angle range through a random time generator. In actual applications, the system will generally randomly select the number of seconds between 1 and 5 seconds.

[0098] Sub-step 20152: Obtain the target maintenance time according to the user's input result.

[0099] Similarly, the user can also customize the target holding time. When the selected mode is the "custom" mode, the user can enter a time in seconds through the time input box as the target holding time for the current target bending angle range.

[0100] Step 202: When the target alarm rings, an operation prompt interface for the current bending operation is displayed on the folding screen, so that the user can perform the bending operation on the folding screen according to the prompt content of the operation prompt interface.

[0101] After completing the setting of the target bending angle range, you can enter the actual application stage. First, in the embodiment of the present application, when the target alarm rings, the folding screen displays an operation prompt interface for the current bending operation, so that the user can bend the folding screen according to the prompt content of the operation prompt interface.

[0102] Reference Figure 4 , shows an interface schematic diagram of a bending operation prompt interface provided in an embodiment of the present application.

[0103] Optionally, the operation prompt interface includes: a bending angle display control 300 and a holding time calculation control 400. The bending angle display control 300 is used to display the specific value of the target bending angle range and the current actual bending angle of the folding screen; the holding time calculation control 400 is used to record the target holding time when the actual bending angle of the folding screen reaches the target bending angle range.

[0104] The bending angle display control 300 includes: a bending angle dial 301, a bending angle pointer 302 and a target bending angle mark 303;

[0105] The bending angle pointer 302 is used to indicate the specific value of the actual bending angle in the bending angle dial 301 according to the current actual bending angle of the folding screen. Figure 4 In the left frame diagram in FIG, a bending angle dial 301 and a bending angle pointer 302 of a bending angle display control 300 are shown. The position pointed by the pointer arrow is the actual bending angle between the first screen and the second screen of the folding screen terminal. At the same time, the position pointed by the pointer arrow will also change in real time with the user's bending operation to inform the user of the specific value of the current bending angle.

[0106] Continue to refer to Figure 4 , below the bending angle dial 301 and the bending angle pointer 302, the currently set target bending angle range and dwell time are displayed to remind the user to complete the specific execution parameters of this bending operation.

[0107] In addition, the bending angle display control 300 also includes a target bending angle mark 303, such as Figure 4 As shown, the circular mark outside the bending angle dial 301 is the specific location of the target bending angle on the bending angle dial 301. Since the bending angle pointer 302 will change in real time with the actual bending angle of the folding screen, the user can intuitively perform the bending operation through the relative position of the bending angle pointer 302 and the target bending angle mark 303; by aligning the position pointed by the bending angle pointer 302 with the position of the target bending angle mark 303, the target bending angle range can be met.

[0108] Optionally, when the bending angle pointer 302 does not point to the target bending angle mark 303, the target bending angle mark 303 is displayed in a first mark color; when the bending angle pointer 302 points to the target bending angle mark 303, the target bending angle mark 303 is displayed in a second mark color.

[0109] Reference Figure 4 , Figure 4 In the right frame diagram of FIG, the bending angle pointer 302 has pointed to the location of the target bending angle mark 303, and the display color of the target bending angle mark 303 has also changed immediately, reminding the user that the actual bending angle of the current folding screen has reached the target bending angle range. The display color of the target bending angle mark 303 can be defined by the developer according to the actual situation, and this embodiment will not be described in detail here.

[0110] Optional, continue to refer to Figure 4 , Figure 4 In the right frame diagram in , when the bending angle pointer 302 has pointed to the position of the target bending angle mark 303, a maintenance time calculation control 400 appears below the bending angle display control 300. The maintenance time calculation control 400 is used to record the target maintenance time when the actual bending angle of the folding screen reaches the target bending angle range. At this time, the actual bending angle of the folding screen has reached the target bending angle range, and the maintenance time calculation control 400 starts to count down. When the maintenance time ends, it can be considered that the user has completed the relevant bending operation for turning off the alarm.

[0111] Step 203: Receive a bending input from the user.

[0112] Following step 202, after the target alarm rings, the ring will wake up the user and display the current bending operation prompt on the display screen, and the bending angle detection of the device is now activated. As the user manually bends the folding screen, the system will also start to receive the user's bending input.

[0113] During this process, when the actual angle between the first screen and the second screen of the device changes, the direction indicated by the bending angle pointer 302 will also change in real time with the actual bending angle. The user can correct the bending state by observing the relative position of the bending angle pointer 302 and the target bending angle mark 303, so as to make the bending angle of the device reach the target bending angle range more quickly.

[0114] Step 204: When the target alarm starts to ring and a bending input of the folding screen is received from the user, the ringing sound is replaced by voice broadcast content.

[0115] In an optional embodiment, step 204 may specifically include:

[0116] Sub-step 2041: Acquire voice broadcast content; wherein the voice broadcast content specifically includes: schedule, weather conditions, custom music or one or more thereof.

[0117] Reference Figure 2 In the "Folding Closing Mode Settings" interface, you can also define the content of the folding closing process announcement. Users can choose to replace the alarm ringtone with any of the schedule, weather conditions, and custom music.

[0118] Sub-step 2042: Replace the ringing sound with the voice broadcast content.

[0119] When the target alarm starts ringing and the folding operation of the folding screen is detected, the ringing sound is replaced by the voice broadcast content.

[0120] The embodiment of the present application provides a foldable screen alarm clock application with richer audio options, which are no longer limited to traditional ringtones or simple music files, but also include the user's pre-planned schedule, or the weather conditions of the day. Since the folding and closing operation takes longer, the user has time to listen to more voice content, and the alarm clock broadcast is richer and more interesting.

[0121] Step 205: In response to the bending input, determine the bending angle between the first screen and the second screen of the folding screen and the duration of the bending state.

[0122] This step may specifically refer to the above step 102, which will not be described in detail in this embodiment.

[0123] In an optional embodiment, when the number of acquired target bending angle ranges is multiple, step 205 may specifically include:

[0124] Sub-step 2051: According to the order of obtaining each target bending angle range, sequentially generate bending tasks corresponding to each of the target bending angle ranges.

[0125] In an alarm clock interaction method suitable for a folding screen terminal provided in an embodiment of the present application, multiple bending operation tasks can be set for turning off the alarm clock, making the present solution more flexible and applicable.

[0126] Reference Figure 5, showing a schematic diagram of a bending task list interface provided by an embodiment of the present application. It includes 3 generated target bending angle ranges and corresponding target maintenance durations. By clicking the plus sign box at the bottom, new target bending angle ranges and target maintenance durations can be continuously obtained. In the case where the number of target bending angle ranges obtained is multiple, the bending tasks corresponding to each target bending angle range are generated in sequence according to the order in which each target bending angle range is obtained. The user needs to complete all bending operations in sequence according to the bending task order to turn off the alarm.

[0127] Step 206: When the bending angle is within the target bending angle range and the bending state lasts for a target duration, turning off the target alarm.

[0128] This step may be specifically referred to the above step 103, and will not be described in detail in this embodiment.

[0129] In an optional embodiment, when the number of acquired target bending angle ranges is multiple, step 206 may specifically include:

[0130] Sub-step 2061: in the order of the bending tasks, when it is detected that the time duration that the bending angle is respectively in the target bending angle range corresponding to each bending task reaches the target maintenance time duration, turning off the target alarm.

[0131] Optionally, if the user cancels the folding operation while folding to unlock the alarm, the alarm continues to ring.

[0132] If the user cancels the folding operation while folding to unlock the alarm, in order to ensure the effectiveness of the alarm reminder, the system will control the target alarm to continue ringing until the user completes all folding operations to confirm the user's intention to turn off the alarm.

[0133] Optionally, the sub-step 2061 may further include:

[0134] Sub-step 20611: Record the execution time for completing a single bending task, and when the execution time is greater than a first time threshold, display a re-planning prompt through the folding screen.

[0135] The system will record the time required for each unlocking. If it takes a long time, a prompt message will be given to inform the user of the time and remind whether it is necessary to reasonably re-plan the unlocking time, so that all operations during the alarm closing process are more reasonable. For example: if a single folding operation takes more than 10 seconds, a reminder window will pop up to inform the user of the time and remind whether it is necessary to reasonably re-plan the unlocking time.

[0136] In summary, the embodiment of the present application provides an alarm clock interaction method suitable for a folding screen terminal, which first obtains a target bending angle range set for a target alarm clock; when the target alarm clock is ringing, the bending angle between the first screen and the second screen of the folding screen is detected, and when the bending angle is in the target bending angle range for a target maintenance time, the target alarm clock is turned off; the set target bending angle range provides a trigger condition for the closing instruction, reduces the risk of misoperation, and provides a better prompt effect. In addition, the purpose of turning off the alarm clock is achieved by bending the device, which enriches the method of turning off the alarm clock; in the process of turning off the alarm clock, the ringing sound is replaced by customized voice broadcast content, which improves the fun of the alarm clock ringing content.

[0137] Reference Figure 6 , showing a schematic diagram of the functional module device composition of an alarm clock interaction device 500 suitable for a folding screen terminal provided in an embodiment of the present application; Figure 6 As shown, the device comprises:

[0138] A bending input receiving module 501 is used to receive a user's bending input when the target alarm rings;

[0139] A bending state determining module 502, configured to determine, in response to the bending input, a bending angle between the first screen and the second screen of the folding screen and a duration of the bending state;

[0140] The alarm off execution module 503 is used to turn off the target alarm when the bending angle is within the target bending angle range and the duration of the bending state reaches the target duration.

[0141] Optionally, the device further comprises:

[0142] A first parameter setting interface display module, used to display a bending parameter setting interface through the folding screen, wherein the bending parameter setting interface includes: a preset bending angle list and an allowable error angle generation list;

[0143] A first bending angle parameter acquisition module is used to receive a first input from a user on the preset bending angle list to obtain a target bending angle; and receive a second input from a user on the allowable error angle generation list to obtain an allowable error angle;

[0144] The first target bending angle range generating module is used to generate the target bending angle range according to the target bending angle and the allowable error angle.

[0145] Optionally, the device further comprises:

[0146] A second parameter setting interface display module, used to display a bending parameter setting interface through the folding screen, wherein the bending parameter setting interface includes: a bending angle input box and an allowable error angle input box;

[0147] A second bending angle parameter acquisition module, used to acquire a target bending angle input by a user through the bending angle input box, and acquire an allowable error angle input by a user through the allowable error angle input box;

[0148] The second target bending angle range generating module is used to generate the target bending angle range according to the target bending angle and the allowable error angle.

[0149] Optionally, the device further comprises:

[0150] a bending operation prompt module, configured to display bending operation prompt information through the folding screen in response to an input for setting a target bending angle;

[0151] a target bending angle acquisition module, configured to, when it is determined that the bending angle between the first screen and the second screen no longer changes and the duration for which the bending angle between the first screen and the second screen no longer changes reaches a first time threshold, use the bending angle between the first screen and the second screen as a target bending angle;

[0152] An allowable error angle acquisition module is used to display an allowable error angle input box and acquire the allowable error angle input by the user through the allowable error angle input box;

[0153] The third target bending angle range generating module is used to generate the target bending angle range according to the target bending angle and the allowable error angle.

[0154] Optionally, the device further comprises:

[0155] A bending task generating module, for generating, when there are a plurality of target bending angle ranges, a bending task corresponding to each target bending angle range in sequence according to the order in which each target bending angle range is obtained;

[0156] The alarm off execution module 503 further includes:

[0157] The alarm off execution submodule is used to turn off the target alarm in accordance with the order of the bending tasks, when it is determined that the bending angle is within the target bending angle range corresponding to each bending task and the duration of the bending state reaches the target duration.

[0158] Optionally, the device further comprises:

[0159] A bending operation prompt display module, used to display an operation prompt interface for the current bending operation through the folding screen, so that the user can perform a bending operation on the folding screen according to the prompt content of the operation prompt interface, and the operation prompt interface includes: a bending angle display control and a holding time calculation control;

[0160] The bending angle display control is used to display the specific values ​​of the target bending angle range and the current actual bending angle of the folding screen; the maintenance time calculation control is used to record the target maintenance time when the actual bending angle of the folding screen reaches the target bending angle range.

[0161] Optionally, the bending angle display control includes: a bending angle dial, a bending angle pointer and a target bending angle mark;

[0162] The bending angle pointer is used to indicate a specific value of the actual bending angle in the bending angle dial according to the current actual bending angle of the folding screen;

[0163] The target bending angle mark is used to mark the position of the target bending angle on the bending angle scale, so that the user can perform a bending operation on the folding screen with reference to the target bending angle mark;

[0164] When the bending angle pointer does not point to the target bending angle mark, the target bending angle mark is displayed in a first mark color; when the bending angle pointer points to the target bending angle mark, the target bending angle mark is displayed in a second mark color.

[0165] Optionally, the device further comprises:

[0166] A voice broadcast content acquisition module is used to acquire voice broadcast content; wherein the voice broadcast content specifically includes: schedule, weather conditions, custom music or one or more thereof;

[0167] The voice broadcast execution module is used to replace the ringing sound with the voice broadcast content when the target alarm starts to ring and a folding operation of the folding screen is detected.

[0168] In summary, the embodiment of the present application provides an alarm clock interaction device suitable for a folding screen terminal, which first obtains a target bending angle range set for a target alarm clock; when the target alarm clock is ringing, the bending angle between the first screen and the second screen of the folding screen is detected, and when the time when the bending angle is in the target bending angle range reaches the target maintenance time, the target alarm clock is turned off; the set target bending angle range provides a trigger condition for the closing instruction, reduces the risk of misoperation, and makes the alarm clock prompt effect better. In addition, the purpose of turning off the alarm clock is achieved by bending the device, which enriches the method of turning off the alarm clock; in the process of turning off the alarm clock, the ringing sound is replaced by customized voice broadcast content, which improves the fun of the alarm clock ringing content.

[0169] An alarm clock interaction device in an embodiment of the present application may be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal or other devices other than a terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It may also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiments of the present application.

[0170] An alarm clock interaction device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0171] The alarm clock interaction device provided in the embodiment of the present application can realize 1 to Figure 5 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0172] Alternatively, if Figure 7As shown, an embodiment of the present application also provides an electronic device M00, including a processor M01 and a memory M02, wherein the memory M02 stores programs or instructions that can be executed on the processor M01, and when the program or instructions are executed by the processor M01, the various steps of the above-mentioned alarm clock interaction method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they will not be described here.

[0173] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0174] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0175] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.

[0176] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0177] The processor 101 is used to: receive a bending input from a user when a target alarm rings;

[0178] In response to the bending input, determining a bending angle between a first screen and a second screen of the folding screen and a duration of a bending state;

[0179] When the bending angle is within the target bending angle range and the bending state lasts for a target time, the target alarm is turned off.

[0180] An alarm interaction method suitable for a foldable screen terminal is provided in an embodiment of the present application. First, a target bending angle range set for a target alarm is obtained; when the target alarm is ringing, the bending angle between the first screen and the second screen of the foldable screen is detected, and when the time duration when the bending angle is in the target bending angle range reaches a target maintenance time duration, the target alarm is turned off. The purpose of turning off the alarm is achieved by bending the device, thereby enriching the method of turning off the alarm. At the same time, the set target bending angle range provides a trigger condition for the closing instruction, reducing the risk of misoperation and making the alarm prompt effect better.

[0181] Optionally, the processor 1010 is further configured to: display a bending parameter setting interface, wherein the bending parameter setting interface includes: a preset bending angle list and an allowable error angle generation list;

[0182] Receiving a first input from a user on the preset bending angle list to obtain a target bending angle; receiving a second input from a user on the allowable error angle generation list to obtain an allowable error angle;

[0183] The target bending angle range is generated according to the target bending angle and the allowable error angle.

[0184] Optionally, the processor 1010 is further configured to: display a bending parameter setting interface, wherein the bending parameter setting interface includes: a bending angle input box and an allowable error angle input box;

[0185] Acquire a target bending angle input by a user through the bending angle input box, and acquire an allowable error angle input by a user through the allowable error angle input box;

[0186] The target bending angle range is generated according to the target bending angle and the allowable error angle.

[0187] Optionally, the processor 1010 is further configured to: in response to an operation instruction to start setting a target bending angle, display bending operation prompt information through the folding screen;

[0188] When it is determined that the bending angle between the first screen and the second screen no longer changes, and the maintenance time of the bending angle between the first screen and the second screen no longer changing reaches a first time threshold, taking the bending angle between the first screen and the second screen as a target bending angle;

[0189] Display an allowable error angle input box, and obtain the allowable error angle input by the user through the allowable error angle input box;

[0190] The target bending angle range is generated according to the target bending angle and the allowable error angle.

[0191] Optionally, the processor 1010 is further configured to: when there are multiple target bending angle ranges, sequentially generate bending tasks corresponding to each target bending angle range according to the order of acquiring each target bending angle range;

[0192] When the bending angle is within the target bending angle range and the bending state lasts for a target time, turning off the target alarm clock includes:

[0193] According to the order of the bending tasks, when it is determined that the bending angles are respectively within the target bending angle ranges corresponding to each bending task and the duration of the bending state reaches the target duration, the target alarm is turned off.

[0194] The embodiment of the present application provides an alarm clock interaction method suitable for a folding screen terminal. First, the target bending angle range set for the target alarm clock is obtained; when the target alarm clock is ringing, the bending angle between the first screen and the second screen of the folding screen is detected, and when the bending angle is in the target bending angle range for a target maintenance time, the target alarm clock is turned off; the set target bending angle range provides a trigger condition for the closing instruction, reducing the risk of misoperation and making the alarm clock prompt more effective. In addition, the purpose of turning off the alarm clock is achieved by bending the device, enriching the method of turning off the alarm clock; in the process of turning off the alarm clock, the ringing sound is replaced by a custom voice broadcast content, which improves the fun of the alarm clock ringing content.

[0195] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0196] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0197] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.

[0198] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned alarm clock interaction method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0199] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0200] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned alarm clock interaction method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0201] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0202] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned motor vibration waveform generation method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0203] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0204] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0205] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. An alarm clock interaction method, characterized in that: Applied to a foldable screen terminal, the foldable screen terminal includes a first screen and a second screen, the first screen and the second screen can be bent relative to each other; the method includes: In response to an input for setting a target bending angle, displaying bending operation prompt information through the folding screen; When it is determined that the bending angle between the first screen and the second screen no longer changes, and when the maintenance time of the bending angle between the first screen and the second screen no longer changes reaches a first time threshold, the bending angle between the first screen and the second screen is used as a target bending angle; Display an allowable error angle input box, and obtain the allowable error angle input by the user through the allowable error angle input box; Generate the target bending angle range according to the target bending angle and the allowable error angle; When the target alarm rings, receiving a bending input from the user; In response to the bending input, determining a bending angle between a first screen and a second screen of the folding screen and a duration of a bending state; When the bending angle is within the target bending angle range and the bending state lasts for a target time, turning off the target alarm clock; Wherein, when there are multiple target bending angle ranges, the bending tasks corresponding to each target bending angle range are generated in sequence according to the order of obtaining each target bending angle range; When the bending angle is within the target bending angle range and the bending state lasts for a target time, turning off the target alarm clock includes: According to the order of the bending tasks, when it is determined that the bending angles are respectively within the target bending angle ranges corresponding to each bending task and the duration of the bending state reaches the target duration, the target alarm is turned off.

2. The method according to claim 1, characterized in that When the target alarm rings, before receiving a bending input from the user, the method further includes: Displaying a bending parameter setting interface, the bending parameter setting interface including: a preset bending angle list and an allowable error angle generation list; Receiving a first input from a user on the preset bending angle list to obtain a target bending angle; receiving a second input from a user on the allowable error angle generation list to obtain an allowable error angle; The target bending angle range is generated according to the target bending angle and the allowable error angle.

3. The method according to claim 1, characterized in that When the target alarm rings, before receiving a bending input from the user, the method further includes: Displaying a bending parameter setting interface, the bending parameter setting interface including: a bending angle input box and an allowable error angle input box; The target bending angle is input through the bending angle input, and the user input allowable error angle is obtained through the allowable error angle input box; The target bending angle range is generated according to the target bending angle and the allowable error angle.

4. An alarm clock interactive device, characterized in that: Applied to a foldable screen terminal, the foldable screen terminal includes a first screen and a second screen, the first screen and the second screen can be bent relative to each other; the device includes: a bending operation prompt module, configured to display bending operation prompt information through the folding screen in response to an input for setting a target bending angle; a target bending angle acquisition module, configured to, when it is determined that the bending angle between the first screen and the second screen no longer changes and the duration for which the bending angle between the first screen and the second screen no longer changes reaches a first time threshold, use the bending angle between the first screen and the second screen as a target bending angle; An allowable error angle acquisition module is used to display an allowable error angle input box and acquire the allowable error angle input by the user through the allowable error angle input box; A third target bending angle range generating module, configured to generate the target bending angle range according to the target bending angle and the allowable error angle; A bending input receiving module, used for receiving a user's bending input when a target alarm rings; a bending state determining module, configured to determine, in response to the bending input, a bending angle between the first screen and the second screen of the folding screen and a duration of the bending state; An alarm off execution module, used to turn off the target alarm when the bending angle is within the target bending angle range and the duration of the bending state reaches the target duration; Wherein, the device further comprises: A bending task generating module, for generating, when there are a plurality of target bending angle ranges, a bending task corresponding to each target bending angle range in sequence according to the order in which each target bending angle range is obtained; The alarm clock off execution module also includes: The alarm off execution submodule is used to turn off the target alarm in accordance with the order of the bending tasks, when it is determined that the bending angle is within the target bending angle range corresponding to each bending task and the duration of the bending state reaches the target duration.

5. The device according to claim 4, characterized in that The device also includes: A first parameter setting interface display module, used to display a bending parameter setting interface through the folding screen, wherein the bending parameter setting interface includes: a preset bending angle list and an allowable error angle generation list; A first bending angle parameter acquisition module is used to receive a first input from a user on the preset bending angle list to obtain a target bending angle; and receive a second input from a user on the allowable error angle generation list to obtain an allowable error angle; The first target bending angle range generating module is used to generate the target bending angle range according to the target bending angle and the allowable error angle.

6. The device according to claim 4, characterized in that The device also includes: A second parameter setting interface display module, used to display a bending parameter setting interface through the folding screen, wherein the bending parameter setting interface includes: a bending angle input box and an allowable error angle input box; A second bending angle parameter acquisition module, used to acquire a target bending angle input by a user through the bending angle input box, and acquire an allowable error angle input by a user through the allowable error angle input box; The second target bending angle range generating module is used to generate the target bending angle range according to the target bending angle and the allowable error angle.

Citation Information

Patent Citations

  • Method and device for triggering alarm clock control command

    CN103365419A

  • Alarm clock control method and electronic equipment

    CN111263007A

  • Alarm clock parameter adjusting method and device and electronic equipment

    CN111756894A