CN111756894A - Alarm clock parameter adjusting method and device and electronic equipment - Google Patents

Alarm clock parameter adjusting method and device and electronic equipment Download PDF

Info

Publication number
CN111756894A
CN111756894A CN202010479529.1A CN202010479529A CN111756894A CN 111756894 A CN111756894 A CN 111756894A CN 202010479529 A CN202010479529 A CN 202010479529A CN 111756894 A CN111756894 A CN 111756894A
Authority
CN
China
Prior art keywords
alarm clock
target
display screen
included angle
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010479529.1A
Other languages
Chinese (zh)
Other versions
CN111756894B (en
Inventor
刘朝辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010479529.1A priority Critical patent/CN111756894B/en
Publication of CN111756894A publication Critical patent/CN111756894A/en
Application granted granted Critical
Publication of CN111756894B publication Critical patent/CN111756894B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • H04M1/0222Foldable in two directions, i.e. using a two degree of freedom hinge
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses an alarm clock parameter adjusting method, an alarm clock parameter adjusting device and electronic equipment, wherein the method comprises the following steps: receiving a first input of a user, wherein the first input is used for bending the electronic equipment; acquiring a first included angle between a first display screen and a second display screen of the electronic equipment; and adjusting the alarm clock parameters of the target alarm clock task according to the first included angle. By utilizing the method and the device, operation on the alarm clock setting interface of the electronic equipment is not needed, so that the user can conveniently adjust the alarm clock parameters of the target alarm clock task.

Description

Alarm clock parameter adjusting method and device and electronic equipment
Technical Field
The application belongs to the field of electronic equipment, and particularly relates to an alarm clock parameter adjusting method and device and electronic equipment.
Background
Currently, an alarm clock is a common function of electronic devices. After the user sets the alarm clock, if the user needs to adjust the alarm clock parameters, the electronic equipment needs to be operated first, so that the electronic equipment enters an alarm clock setting interface, and the operation is performed on the alarm clock setting interface.
The alarm clock parameters are adjusted by operating the setting options because the setting options of the parameters need to be found on the alarm clock setting interface every time the alarm clock parameters are adjusted. Therefore, the above method for adjusting the alarm clock parameters is not only tedious but also time-consuming.
Disclosure of Invention
The embodiment of the application aims to provide an alarm clock parameter adjusting method, an alarm clock parameter adjusting device and electronic equipment, and the problems that the alarm clock parameter adjusting mode is complex and not convenient enough can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an alarm clock parameter adjusting method, including:
receiving a first input of a user, wherein the first input is used for bending the electronic equipment;
acquiring a first included angle between a first display screen and a second display screen of the electronic equipment;
and adjusting the alarm clock parameters of the target alarm clock task according to the first included angle.
In a second aspect, an embodiment of the present application provides an alarm clock parameter adjusting device, including:
the first input receiving module is used for receiving a first input of a user, and the first input is used for bending the electronic equipment;
the first included angle acquisition module is used for acquiring a first included angle between a first display screen and a second display screen of the electronic equipment;
and the parameter adjusting module is used for adjusting the alarm clock parameters of the target alarm clock task according to the first included angle.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, first, a first input of a user for bending the electronic device is received, so that an included angle between a first display screen and a second display screen of the electronic device is changed. And then, according to a first included angle between the first display screen and the second display screen, adjusting the alarm clock parameters of the target alarm clock task. Therefore, the user can change the included angle between the first display screen and the second display screen without entering the alarm clock setting interface of the electronic equipment for operation, so that the user can conveniently adjust the alarm clock parameters of the target alarm clock task, and the mode of adjusting the alarm clock parameters is simpler and quicker.
Drawings
Fig. 1 is a schematic flow chart of an alarm clock parameter adjusting method according to an embodiment provided in the present application;
fig. 2 is a schematic diagram illustrating a folded state of two display screens of an electronic device according to an embodiment provided in the present application;
fig. 3 is a schematic diagram of two display screens of an electronic device in a folded state according to another embodiment provided in the present application;
fig. 4 is a schematic diagram of two display screens of an electronic device in a folded state according to still another embodiment provided in the present application;
FIG. 5 is a schematic flow chart of an alarm clock parameter adjusting method according to another embodiment of the present application;
FIG. 6 is a schematic flow chart of an alarm clock parameter adjusting method according to another embodiment of the present application;
FIG. 7 is a schematic flow chart of an alarm clock parameter adjusting method according to another embodiment of the present application;
FIG. 8 is a schematic structural diagram of an alarm clock parameter adjusting device according to an embodiment provided in the present application;
fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, the character "/" in the specification and the claims generally indicates that the former and latter related objects are in an "or" relationship.
The alarm clock parameter adjusting method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flow chart of an alarm clock parameter adjusting method according to an embodiment of the present application. The execution main body of the alarm clock parameter adjusting method can be an alarm clock parameter adjusting device or a control module used for executing the alarm clock parameter adjusting method in the alarm clock parameter adjusting device. The following description will take the execution main body of the alarm clock parameter adjusting method as an alarm clock parameter adjusting device as an example. As shown in fig. 1, the alarm clock parameter adjusting method includes:
s110, receiving a first input of a user, wherein the first input is used for bending the electronic equipment.
It should be noted that the electronic device has a first display screen and a second display screen, and the first input bends the electronic device, so that an included angle between the first display screen and the second display screen changes.
Alternatively, the electronic device may include a folding screen device and a flexible screen device.
Wherein, under the condition that electronic equipment includes folding screen equipment, the first display screen and the second display screen of folding screen equipment can be connected through hinge structure to can buckle between messenger's first display screen and the second display screen.
For example, referring to fig. 2, (a) in fig. 2 is a schematic diagram of two display screens of the electronic device in an unfolded state. Fig. 2 (b) and (c) are schematic views of two display screens in the unfolded state. In fig. 2 (a), the angle between the two display screens has a value of 0 °; in fig. 2 (b), the angle between the two display screens has a value α; in fig. 2 (c), the angle between the two display screens has a value of 180 °.
In case the electronic device comprises a flexible screen device, the flexible screen device may be bent in at least one direction. For example, the flexible screen device may be bent arbitrarily.
S120, a first included angle between a first display screen and a second display screen of the electronic device is obtained.
There is no limitation on when the first angle between the first display and the second display is taken.
Optionally, a first included angle between the first display screen and the second display screen of the electronic device may be obtained when the preset reminding time of the target alarm clock task is reached. Or acquiring a first included angle between the first display screen and the second display screen under the condition of receiving a first input of a user.
The following explains that the preset reminding time is set, and the reminding time of the target alarm clock task is preset, so that the reminding time of the target alarm clock task is called as the preset reminding time.
And S130, adjusting the alarm clock parameters of the target alarm clock task according to the first included angle.
In the embodiment of the application, first, a first input of a user for bending the electronic device is received, so that an included angle between a first display screen and a second display screen of the electronic device is changed. And then, according to a first included angle between the first display screen and the second display screen, adjusting the alarm clock parameters of the target alarm clock task. Therefore, the user can change the included angle between the first display screen and the second display screen without entering the alarm clock setting interface of the electronic equipment for operation, so that the user can conveniently adjust the alarm clock parameters of the target alarm clock task, and the mode of adjusting the alarm clock parameters is simpler and quicker.
In one or more embodiments, S130 includes:
acquiring a first target delay time associated with a first included angle according to an association relation between a preset included angle and the delay time;
and setting the target reminding time of the target alarm clock task according to the first target delay time and the preset reminding time of the target alarm clock task.
As an example, when the reminding time of a target alarm clock task is reached and an alarm clock prompt is started, a first included angle between a first display screen and a second display screen of the electronic device is acquired; and setting the target reminding time for starting the alarm clock for the next time according to the first included angle.
For example, the time for starting the alarm clock prompt is 6:00 a.m., the alarm clock prompt is 30 seconds in the case of 6:00 a.m., and the time for starting the alarm clock prompt next time is 6:30 a.m. according to the fact that the included angle between the first display screen and the second display screen is 30 °. Thus, in the 6:30 morning situation, alarm prompting is again performed for 30 seconds.
As another embodiment, a first included angle between a first display screen and a second display screen of the electronic device is obtained when the reminding time of the target alarm clock task is reached. And when the reminding time of the target alarm clock task is up, alarm clock prompting is not carried out. And then, delaying the time for starting the alarm clock prompt to the target reminding time according to the first included angle.
For example, the time for starting the alarm clock prompt is 6:00 a.m., and under the condition of 6:00 a.m., the alarm clock prompt is not performed, but the alarm clock prompt time is updated to 6:30 a.m. according to the fact that the included angle between the first display screen and the second display screen is 30 degrees. Thus, in the 6:30 morning situation, the alarm clock prompt is turned on.
In the embodiment of the application, a user adjusts the alarm clock time by adjusting the included angle value between the first display screen and the second display screen. Therefore, the user does not need to set on the alarm clock setting interface, and the operation of the user is facilitated.
In one or more embodiments of the present application, setting a target reminding time of a target alarm clock task according to a first target delay time and a preset reminding time of the target alarm clock task includes:
delaying a first target delay time from a preset reminding time to obtain a target reminding time; and updating the alarm clock time of the target alarm clock task to the target reminding time.
In one or more embodiments, before setting the target reminding time of the target alarm clock task according to the first target delay time and the preset reminding time of the target alarm clock task, the alarm clock parameter adjusting method further includes:
receiving a second input of the user, wherein the second input is used for inputting the time delay times N on the target interface, or the second input is used for bending the first display screen and the second display screen for N times, and N is a positive integer;
the target reminding time of the target alarm clock task is set according to the first target delay time and the preset reminding time of the target alarm clock task, and the method comprises the following steps:
determining a multiplication result of the N and the first target delay time as a second target delay time;
delaying a second target delay time from the preset reminding time to obtain a target reminding time;
and updating the reminding time of the target alarm clock task to the target reminding time.
Optionally, the target interface is a setting interface of the target alarm clock task or an alarm clock prompt interface of the target alarm clock task.
For example, in the case that the first display screen or the second display screen displays the setting interface of the wake-up alarm clock, the time when the user sets the wake-up alarm clock is 6:00 a.m. And under the condition of displaying the setting interface of the getting-up alarm clock, the user bends 3 times aiming at the first display screen and the second display screen. Of course, the user may also input the alarm clock delay time number 3 on the setting interface of the wake-up alarm clock. In this case, 3 may also represent the number of snooze times of the user.
And under the condition that the preset reminding time of the target alarm clock task is reached, obtaining that the first target delay time is 30 minutes according to a first included angle between the first display screen and the second display screen. Then, based on the first target delay time period of 30 minutes and N-3, a total delay of 90 minutes is obtained. Therefore, the time of the alarm clock for getting up in the morning at 6:00 is delayed by 90 minutes, namely the reminding time of the target alarm clock task is delayed to 7:30 in the morning.
For another example, in the case of 6:00 a morning (i.e., the preset reminding time), the alarm clock prompt is started, and an alarm clock prompt interface is displayed. Under the condition of displaying the alarm clock prompt interface, the user can fold the first display screen and the second display screen, and the folding times 3 are used as the delay times. Or, the user inputs the delay times 3 on the display alarm clock prompt interface.
The first target delay time is 30 minutes according to the first included angle of the included angle between the first display screen and the second display screen. Then, based on the first target delay time period of 30 minutes and the number of delays of 3, a total delay of 90 minutes is obtained. Thus, in the morning 7:30, the alarm clock prompt is again initiated.
In the embodiment of the application, the time delay times of the alarm clock are determined according to the bending times of the first display screen and the second display screen by the user, and then the time of the alarm clock is delayed according to the time delay times. Therefore, the user can set the alarm clock delay times without entering an alarm clock setting interface for operation, and the user can set the alarm clock delay times simply and quickly. Or, the numerical value input by the user on the target interface is used as the delay time of the alarm clock, so that the effect of setting the delay time of the alarm clock by the user conveniently can be achieved. In addition, the user can set the alarm clock delay times according to the needs of the user, and the needs of the user for delaying the alarm clock time for multiple times are met.
In one or more embodiments, obtaining a first target delay time associated with a first angle according to a preset association relationship between the angle and the delay time includes:
determining a first target delay time according to a function relation between a preset included angle and the delay time and the first included angle;
wherein the functional relationship is the following formula (1):
Figure BDA0002516849020000071
t represents a first target delay time, alpha represents a first included angle between the first display screen and the second display screen, A represents a preset included angle between the first display screen and the second display screen, and T represents a preset delay time.
The following describes embodiments of the present application by way of an example. Assuming that the preset delay time period T is the longest delay time period that can be set, a represents the maximum included angle between the first display screen and the second display screen, and a is 180 °. The longest delay time is the maximum included angle between the first display screen and the second display screen, and the maximum included angle can be defined by a user or defaulted by a system.
The functional relationship between the preset included angle and the delay time length can be the following formula (2):
Figure BDA0002516849020000072
wherein t represents the delay time, and α represents a first included angle between the first display screen and the second display screen.
For example, when the longest delay time T is 30 minutes, and the first included angle between the first display screen and the second display screen is 90 °, the first target delay time is 15 minutes.
In the embodiment of the application, after the first included angle between the first display screen and the second display screen is obtained, the first target delay time of the alarm clock time can be obtained through the method. Therefore, the alarm clock time is delayed according to the user requirements.
In one or more embodiments, obtaining a first target delay time associated with a first angle according to a preset association relationship between the angle and the delay time includes:
determining a target included angle range in which the first included angle is located from a plurality of preset included angle ranges;
and acquiring a first target delay time corresponding to the target included angle range according to the corresponding relation between the included angle range and the delay time.
As an example, assuming that the settable maximum delay time duration is T, N sequentially increasing delay time durations are obtained based on the maximum delay time duration T, and each delay time duration is divided into T1, T2 … TN. The maximum value of the included angle between the first display screen and the second display screen is 180 degrees. The maximum delay time length is T, N, and the maximum value of the included angle between the first display screen and the second display screen can be set by a user in a self-defined mode or a default mode of the system.
Based on this, the N included angle ranges corresponding to the N delay durations are:
Figure BDA0002516849020000081
for example, the maximum delay time period may be set to be 30 minutes, and 4 sequentially increasing delay time periods are obtained based on the maximum delay time period of 30 minutes, which are 5 minutes, 10 minutes, 15 minutes, and 30 minutes, respectively. It follows that the angle ranges for the 4 delay periods are (0 °, 30 °, (30 °, 60 °, (60 °, 90 °), and (90 °,180 ° ], i.e. in case the first angle of the angles of the two display screens is 70 °, the first angle falls within the interval (60 °, 90 °), and the corresponding delay period is 15 minutes.
As another example, the user may customize the correspondence between the delay time and the angle range.
For example, the user may set the delay time to be 5 minutes, and the corresponding included angle to be 30 °. The numerical error range of the included angle is 10 degrees. Then a delay time of 5 minutes corresponds to an angle range of (20 °, 40 °).
In the embodiment of the application, after the first included angle between the first display screen and the second display screen is obtained, the first target delay time of the alarm clock time can be obtained through the method. Therefore, the alarm clock time is delayed according to the user requirements.
In one or more embodiments, adjusting an alarm clock parameter of the target alarm clock task according to the first angle includes:
and under the condition that the first included angle is within a first preset range, the alarm clock time delay function is turned off.
For example, the first predetermined range is (180 °, 360 °). And under the condition that the first included angle is within the first preset range, a snooze prevention mode is started, and the alarm clock delay is not carried out in the mode, namely, the alarm clock delay function is closed. Therefore, the user can be prevented from snoozing, and the alarm clock can effectively remind the user to get up in time.
It should be noted that, after the alarm clock delay function is turned off, the alarm clock time of the target alarm clock task is not delayed. Or even if the alarm clock time of the target alarm clock task is delayed, the alarm clock prompt cannot be started at the delayed time.
In the embodiment of the application, a user can bend the first display screen and the second display screen, and an included angle between the first display screen and the second display screen is adjusted to be within a first preset range, so that the alarm clock time delay function is turned off by the alarm clock parameter adjusting device. After the alarm clock delay function is turned off, even if the user bends the electronic equipment, the alarm clock delay cannot be carried out under the condition that the alarm clock prompt is turned on. Therefore, the alarm clock delay function is prevented from being turned off by the user operating on the alarm clock setting interface, and the user operation is more convenient and quicker.
In one or more embodiments, after the alarm clock delay function is turned off, the alarm clock parameter adjusting method further includes:
starting an alarm clock prompt under the condition that the reminding time of the target alarm clock task is reached;
receiving a third input of the user, wherein the third input is used for bending the electronic equipment;
acquiring a second included angle between the first display screen and the second display screen;
and under the condition that the second included angle is within a second preset range, the alarm clock prompt is turned off.
For example, during the ringing period of the alarm clock, the user can bend the electronic device to adjust the included angle between the first display screen and the second display screen. And under the condition that a second included angle between the first display screen and the second display screen is 30 degrees, the alarm clock ringing is turned off. Wherein, can set up 30 and control 5 errors, the second contained angle between first display screen and the second display screen is in (25, 35) the circumstances in, closes the alarm clock ringing.
In the embodiment of the application, under the condition of starting the alarm clock prompt, the user can bend the electronic equipment and change the included angle between the first display screen and the second display screen to close the alarm clock prompt. The alarm clock prompt is prevented from being turned off by the user operating on the alarm clock prompt interface, so that the user can turn off the alarm clock prompt conveniently.
Optionally, the first predetermined range may include a second predetermined range.
That is, the second predetermined range is relatively small. Under the condition of starting the alarm clock prompt, in order to turn off the alarm clock prompt, a user needs to adjust an included angle between the first display screen and the second display screen to a smaller second numerical value range. However, adjusting the value of the angle to be within a second, relatively small value range may require the user to perform multiple operations or perform the operation while the user is awake. Due to the fact that the user operates for many times or the user is in a clear state, the user can be waken in time, and therefore a good alarm clock prompting effect is achieved.
In one or more embodiments, after the alarm clock delay function is turned off and before the reminding time of the target alarm clock task arrives, the alarm clock parameter adjusting method further includes:
receiving a fourth input of the user, wherein the fourth input is used for bending the electronic equipment;
acquiring a third included angle between the first display screen and the second display screen;
and starting the alarm clock time delay function under the condition that the third included angle is within a third preset range.
It should be noted that the reminding time of the target alarm clock task may be a preset reminding time of the target alarm clock task, or the reminding time of the target alarm clock task is an updated target reminding time when the reminding time of the target alarm clock task is updated.
For example, a target alarm clock task of 6:00 in the next morning is preset, after the alarm clock delay function is turned off and before 6:00 in the next morning, a user can turn on the alarm clock delay function by adjusting the included angle between the first display screen and the second display screen and adjusting the included angle between the first display screen and the second display screen to be within the range of (180 degrees and 360 degrees), and after the alarm clock delay function is turned on, the alarm clock time of 6:00 in the second morning can be delayed.
In the embodiment of the application, after the alarm clock delay function is turned off and before the reminding time of the target alarm clock task is reached, the user can turn on the alarm clock delay function by bending the electronic device. Therefore, the alarm clock delay function is prevented from being started by operating on the alarm clock setting interface, and convenience is brought to users for alarm clock adjustment.
In one or more embodiments, after the alarm clock delay function is turned off and after the reminding time of the target alarm clock task arrives, the alarm clock parameter adjusting method further includes:
receiving a fifth input of the user under the condition of starting an alarm clock prompt of the target alarm clock task, wherein the fifth input is used for bending the electronic equipment;
acquiring a fourth included angle between the first display screen and the second display screen;
and under the condition that the fourth included angle is within a third preset range, the alarm clock time delay function is forbidden to be started.
For example, a target alarm clock task of 6:00 in the next morning is preset. After the alarm clock delay function is turned off, there are two situations:
in the first case, before 6:00 am, the user may turn on the alarm clock delay function by adjusting the included angle between the first display screen and the second display screen and adjusting the included angle between the first display screen and the second display screen to be within the range of (180 °, 360 °) (i.e., the third predetermined range).
In the second case, the alarm clock prompt is turned on the next morning at 6: 00. At this time, even if the user adjusts the angle between the first display screen and the second display screen to be within the range of (180 °, 360 °) (i.e., the third predetermined range described above), the alarm clock delay function cannot be turned on.
In a second case, in order to turn off the alarm clock prompt, the included angle between the first display screen and the second display screen may be adjusted to be within a second predetermined range, thereby turning off the alarm clock prompt. It should be noted that although the alarm clock prompt is turned off, the alarm clock delay function is not turned on.
After the alarm clock prompt is turned off, the user can adjust the numerical value of the included angle between the first display screen and the second display screen to the range of (180 degrees, 360 degrees), so that the alarm clock delay function is turned on.
Therefore, the necessary condition for starting the alarm clock delay function can be that the alarm clock prompt is firstly turned off, and the mode for turning off the alarm clock prompt is that the included angle between the first display screen and the second display screen is adjusted to be within a second preset range.
In the embodiment of the application, after the reminding time of the target alarm clock task is reached, even if the fourth included angle between the first display screen and the second display screen is within the third preset range, the alarm clock delay function cannot be started, and the alarm clock time of the target alarm clock task cannot be delayed. That is, after the reminding time of the target alarm clock task is reached, an alarm clock prompt is always generated, and the alarm clock time of the target alarm clock task cannot be delayed unless the alarm clock prompt is turned off. Therefore, a better alarm clock prompting effect can be achieved.
It should be noted that the first included angle, the second included angle, the third included angle, and the fourth included angle are included angles between the first display screen and the second display screen, which are acquired at different times, respectively.
In one or more embodiments of the present application, the first display screen and the second display screen have a display surface and a non-display surface, respectively.
Fig. 3 and 4 are schematic diagrams of folded states of two display screens of electronic devices according to two embodiments provided in the present application. As shown in fig. 3 and 4, a first display of the electronic device has a display surface 310 and a non-display surface 320, and a second display of the electronic device has a display surface 330 and a non-display surface 340. Display surface 310 and display surface 330 are each used to display information. The non-display surface 320 may be a back shell surface of the first display screen and the non-display surface 340 may be a back shell surface of the second display screen.
In addition, the included angle between the display surface 310 of the first display screen and the display surface 330 of the second display screen may range from [0, 360 ° ].
The angle alpha between the display surface 310 of the first display screen and the display surface 330 of the second display screen in fig. 3 is less than 180 deg.. In fig. 4 the angle beta between the non-display surface 320 of the first display screen and the non-display surface 340 of the second display screen is less than 180 deg..
In one or more embodiments of the present application, an angle between the first display screen and the second display screen is: the display screen comprises a first display screen and a second display screen, wherein the first display screen is arranged on the first display screen, the second display screen is arranged on the second display screen, and the first display screen is arranged on the second display screen.
In one or more embodiments of the present application, acquiring a first included angle between a first display screen and a second display screen of an electronic device includes:
determining the numerical value of the included angle between the display surface of the first display screen and the display surface of the second display screen as a first included angle under the condition that the numerical value of the included angle between the display surface of the first display screen and the display surface of the second display screen is determined to be smaller than or equal to a preset threshold (for example, the preset threshold is 180 °);
and under the condition that the numerical value of the included angle between the display surface of the first display screen and the display surface of the second display screen is larger than the preset threshold value, determining the numerical value of the included angle between the non-display surface of the first display screen and the non-display surface of the second display screen as the first included angle.
Optionally, the included angle between the first display screen and the second display screen has a numerical range of [0 °,180 ° ]. And under the condition that the numerical value of the included angle between the display surface of the first display screen and the display surface of the second display screen is [0 degrees, 180 degrees ], determining the numerical value of the included angle between the display surface of the first display screen and the display surface of the second display screen as a first included angle.
In the case where the numerical value of the angle between the first display screen and the second display screen is greater than 180 °, that is, the numerical value of the angle between the non-display surface of the first display screen and the non-display surface of the second display screen is [0 °,180 ° ], the numerical value of the angle between the non-display surface of the first display screen and the non-display surface of the second display screen is determined as the first angle.
In one or more embodiments of the present application, after the reminding time of the target alarm clock task, the alarm clock parameter adjusting method further includes: and under the condition that the included angle between the first display screen and the second display screen is changed, setting the reminding time of the target alarm clock task according to the changed included angle between the first display screen and the second display screen.
The present application provides another embodiment of an alarm clock parameter adjusting method, and fig. 5 is a schematic flow chart of the alarm clock parameter adjusting method according to the another embodiment of the present application. As shown in fig. 5, the alarm clock parameter adjusting method includes:
s510, receiving a first input of a user, wherein the first input is used for bending the electronic device.
S520, acquiring a first included angle between a first display screen and a second display screen of the electronic equipment under the condition that the preset reminding time of the target alarm clock task is reached.
Optionally, the included angle between the first display screen and the second display screen has a numerical range of [0 °,180 ° ].
Optionally, the included angle between the first display screen and the second display screen has a numerical range of [0 °, 360 ° ].
Optionally, the first included angle between the first display screen and the second display screen is: the display screen comprises a first display screen and a second display screen, wherein the first display screen is arranged on the first display screen, the second display screen is arranged on the second display screen, and the first display screen is arranged on the second display screen.
Optionally, before S520, the alarm clock parameter adjusting method further includes: and under the condition of displaying the alarm clock setting interface, receiving input of a first target control aiming at the alarm clock setting interface, responding to the input, and starting an alarm clock delay function, namely entering a snooze mode. After the alarm clock delay function is started, the setting of the alarm clock delay time length is related to the included angle between the first display screen and the second display screen. The association relationship between the alarm clock delay time and the included angle between the first display screen and the second display screen can be defined by a user or default by a system.
S530, obtaining a first target delay time associated with the first included angle according to the association relation between the preset included angle and the delay time.
And S540, setting the target reminding time of the target alarm clock task according to the first target delay time and the preset reminding time of the target alarm clock task. Therefore, the alarm clock time of the target alarm clock task is delayed to the target reminding time.
Since the specific implementation of S530 and S540 has been described above, detailed description is not repeated here.
It should be noted that, when the preset reminding time of the target alarm clock task is reached, the alarm clock prompt can be started. After the target reminding time is set, the alarm clock is started again under the condition that the target reminding time is reached.
Or, the alarm clock prompt may not be started when the preset reminding time of the target alarm clock task is reached. And after the target reminding time is set, starting alarm clock prompt under the condition that the target reminding time is reached.
The present application provides a further embodiment of an alarm clock parameter adjusting method, and fig. 6 is a schematic flow chart of the alarm clock parameter adjusting method according to the further embodiment of the present application. As shown in fig. 6, the alarm clock parameter adjusting method includes:
s610, receiving a first input of a user, wherein the first input is used for bending the electronic device.
S620, a first included angle of an included angle between a first display screen and a second display screen of the electronic device is obtained.
Optionally, the included angle between the first display screen and the second display screen has a numerical range of [0 °,180 ° ].
Optionally, the included angle between the first display screen and the second display screen has a numerical range of [0 °, 360 ° ].
Optionally, a first included angle of an included angle between the first display screen and the second display screen is: and the numerical value of the included angle between the display surface of the first display screen and the display surface of the second display screen, or the numerical value of the included angle between the non-display surface of the first display screen and the non-display surface of the second display screen.
S630, under the condition that the first included angle is within a first preset range, the alarm clock time delay function is turned off.
After the alarm clock delay function is turned off, the steps further included in the alarm clock parameter adjusting method have been described above, and are not repeated herein.
The present application provides a further embodiment of an alarm clock parameter adjusting method, and fig. 7 is a schematic flow chart of the alarm clock parameter adjusting method according to the further embodiment of the present application. As shown in fig. 7, the alarm clock parameter adjusting method includes:
s710, receiving a first input of a user, wherein the first input is used for bending the electronic device.
S720, a first included angle between a first display screen and a second display screen of the electronic device is obtained.
Alternatively, the angle between the first display screen and the second display screen may range from [0 °, 360 ° ].
S730, determining the numerical range of the first included angle in a first preset range and a second preset range.
And S740, under the condition that the first included angle is within the first preset range, closing the alarm clock delay function.
For example, the snooze prevention mode is started when a first included angle of an included angle between the display surface of the first display screen and the display surface of the second display screen is [180 °, 360 ° ].
And S750, under the condition that the reminding time of the target alarm clock task is reached, and under the target alarm clock reminding mode, starting alarm clock reminding. Because the alarm clock time delay function is closed, the alarm clock time cannot be delayed after the alarm clock is started for prompting.
S760, under the condition that the first included angle is within the fourth preset range, the alarm clock delay function is started, and a first target delay time associated with the first included angle is obtained according to the association relation between the preset included angle and the delay time.
For example, if the first included angle is [0 °,180 ° ], it indicates that the alarm clock delay function has been turned on, and also indicates that the snooze mode has been turned on. In the snooze mode, the alarm clock can be delayed. Based on this, the first target delay time associated with the first included angle may be obtained according to the association relationship between the preset included angle and the delay time.
And S770, setting the target reminding time of the target alarm clock task according to the first target delay time and the preset reminding time of the target alarm clock task.
It should be noted that, in the above embodiments, the execution subject is taken as an example of the alarm parameter adjusting device to describe the execution alarm parameter adjusting method. However, the execution main body of the alarm clock parameter adjusting method provided in the embodiment of the present application is not limited to the alarm clock parameter adjusting device, and may also be a control module used for executing the loaded alarm clock parameter adjusting method in the alarm clock parameter adjusting device.
For the alarm clock parameter adjusting method provided by the application, correspondingly, the application provides an alarm clock parameter adjusting device of an embodiment. Fig. 8 is a schematic structural diagram of an alarm clock parameter adjusting device according to an embodiment provided in the present application. As shown in fig. 8, the alarm clock parameter adjusting apparatus includes:
a first input receiving module 810, configured to receive a first input of a user, where the first input is used to bend an electronic device;
a first included angle obtaining module 820, configured to obtain a first included angle between a first display screen and a second display screen of an electronic device;
and the parameter adjusting module 830 is configured to adjust an alarm clock parameter of the target alarm clock task according to the first included angle.
In the embodiment of the application, first, a first input of a user for bending the electronic device is received, so that an included angle between a first display screen and a second display screen of the electronic device is changed. And then, according to a first included angle between the first display screen and the second display screen, adjusting the alarm clock parameters of the target alarm clock task. Therefore, the user can change the included angle between the first display screen and the second display screen without entering the alarm clock setting interface of the electronic equipment for operation, so that the user can conveniently adjust the alarm clock parameters of the target alarm clock task, and the mode of adjusting the alarm clock parameters is simpler and quicker.
In one or more embodiments of the present application, the parameter adjustment module 830 includes:
the time length obtaining module is used for obtaining a first target time delay time length associated with the first included angle according to the association relation between the preset included angle and the time delay time length;
and the alarm clock setting module is used for setting the target reminding time of the target alarm clock task according to the first target delay time and the preset reminding time of the target alarm clock task.
In the embodiment of the application, a user adjusts the alarm clock time by adjusting the included angle value between the first display screen and the second display screen. Therefore, the user does not need to set on the alarm clock setting interface, and the operation of the user is facilitated.
In one or more embodiments of the present application, the alarm clock parameter adjusting apparatus further includes:
the second input receiving module is used for receiving a second input of the user, the second input is used for inputting the time delay times N on the target interface, or the second input is used for bending the first display screen and the second display screen for N times, and N is a positive integer;
wherein, the alarm clock sets up the module and includes:
the time length determining module is used for determining a multiplication result of the N and the first target delay time length as a second target delay time length;
the time delay module is used for delaying a second target time delay time from the preset reminding time to obtain a target reminding time;
and the time updating module is used for updating the reminding time of the target alarm clock task into the target reminding time.
In the embodiment of the application, the time delay times of the alarm clock are determined according to the bending times of the first display screen and the second display screen by the user, and then the time of the alarm clock is delayed according to the time delay times. Therefore, the user can set the alarm clock delay times without entering an alarm clock setting interface for operation, and the user can set the alarm clock delay times simply and quickly. Or, the numerical value input by the user on the target interface is used as the delay time of the alarm clock, so that the effect of setting the delay time of the alarm clock by the user conveniently can be achieved. In addition, the user can set the alarm clock delay times according to the needs of the user, and the needs of the user for delaying the alarm clock time for multiple times are met.
In one or more embodiments of the present application, the duration obtaining module is specifically configured to determine a first target delay duration according to a functional relationship between a preset included angle and a delay duration and a first included angle;
wherein, the function relation is as follows:
Figure BDA0002516849020000161
t represents a first target delay time, alpha represents a first included angle, A represents a preset included angle between the first display screen and the second display screen, and T represents a preset delay time.
In the embodiment of the application, after the first included angle between the first display screen and the second display screen is obtained, the first target delay time of the alarm clock time can be obtained through the method. Therefore, the alarm clock time is delayed according to the user requirements.
In one or more embodiments of the present application, the duration obtaining module includes:
the included angle range determining unit is used for determining a target included angle range in which the first included angle is located from a plurality of preset included angle ranges;
and the time length obtaining unit is used for obtaining a first target time delay length corresponding to the target included angle range according to the corresponding relation between the included angle range and the time delay length.
In the embodiment of the application, after the first included angle between the first display screen and the second display screen is obtained, the first target delay time of the alarm clock time can be obtained through the method. Therefore, the alarm clock time is delayed according to the user requirements.
In one or more embodiments of the present application, the parameter adjusting module 830 is specifically configured to turn off the alarm clock delay function when the first included angle is within a first predetermined range.
In the embodiment of the application, a user can bend the first display screen and the second display screen, and an included angle between the first display screen and the second display screen is adjusted to be within a first preset range, so that the alarm clock time delay function is turned off by the alarm clock parameter adjusting device. After the alarm clock delay function is turned off, even if the user bends the electronic equipment, the alarm clock delay cannot be carried out under the condition that the alarm clock prompt is turned on. Therefore, the alarm clock delay function is prevented from being turned off by the user operating on the alarm clock setting interface, and the user operation is more convenient and quicker.
In one or more embodiments of the present application, the alarm clock parameter adjusting apparatus further includes:
the alarm clock prompting module is used for starting alarm clock prompting when the reminding time of the target alarm clock task is reached;
the third input receiving module is used for receiving a third input of a user, and the third input is used for bending the electronic equipment;
the included angle acquisition module is used for acquiring a second included angle between the first display screen and the second display screen;
and the alarm clock closing module is used for closing the alarm clock prompt under the condition that the second included angle is within a second preset range.
In the embodiment of the application, under the condition of starting the alarm clock prompt, the user can bend the electronic equipment and change the included angle between the first display screen and the second display screen to close the alarm clock prompt. The alarm clock prompt is prevented from being turned off by the user operating on the alarm clock prompt interface, so that the user can turn off the alarm clock prompt conveniently.
In one or more embodiments of the present application, the alarm clock parameter adjusting apparatus further includes:
the fourth input receiving module is used for receiving a fourth input of the user after the alarm clock delay function is turned off and before the reminding time of the target alarm clock task is reached, and the fourth input is used for bending the electronic equipment;
the third included angle acquisition module is used for acquiring a third included angle between the first display screen and the second display screen;
and the function starting module is used for starting the alarm clock time delay function under the condition that the third included angle is within a third preset range.
In the embodiment of the application, after the alarm clock delay function is turned off and before the reminding time of the target alarm clock task is reached, the user can turn on the alarm clock delay function by bending the electronic device. Therefore, the alarm clock delay function is prevented from being started by operating on the alarm clock setting interface, and convenience is brought to users for alarm clock adjustment.
In one or more embodiments of the present application, the alarm clock parameter adjusting apparatus further includes:
the fifth input receiving module is used for receiving a fifth input of the user under the condition that the alarm clock prompt of the target alarm clock task is started after the alarm clock delay function is closed and the reminding time of the target alarm clock task is reached, wherein the fifth input is used for bending the electronic equipment;
the fourth included angle acquisition module is used for acquiring a fourth included angle between the first display screen and the second display screen;
and the forbidding module is used for forbidding to start the alarm clock time delay function under the condition that the fourth included angle is within a third preset range.
In the embodiment of the application, after the reminding time of the target alarm clock task is reached, even if the fourth included angle between the first display screen and the second display screen is within the third preset range, the alarm clock delay function cannot be started, and the alarm clock time of the target alarm clock task cannot be delayed. That is, after the reminding time of the target alarm clock task is reached, an alarm clock prompt is always generated, and the alarm clock time of the target alarm clock task cannot be delayed unless the alarm clock prompt is turned off. Therefore, a better alarm clock prompting effect can be achieved.
The alarm clock parameter adjusting device in the embodiment of the application can be a device, and can also be a component, an integrated circuit or a chip in the device. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The alarm clock parameter adjusting device in the embodiment of the application can be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The alarm clock parameter adjusting device provided in the embodiment of the present application can implement each process implemented by the alarm clock parameter adjusting device in the method embodiments of fig. 1 and fig. 5 to fig. 7, and is not described here again in order to avoid repetition.
In the embodiment of the application, first, a first input of a user for bending the electronic device is received, so that an included angle between a first display screen and a second display screen of the electronic device is changed. And then, according to a first included angle between the first display screen and the second display screen, adjusting the alarm clock parameters of the target alarm clock task. Therefore, the user can change the included angle between the first display screen and the second display screen without entering the alarm clock setting interface of the electronic equipment for operation, so that the user can conveniently adjust the alarm clock parameters of the target alarm clock task, and the mode of adjusting the alarm clock parameters is simpler and quicker.
Optionally, an embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a program or an instruction stored in the memory and capable of running on the processor, where the program or the instruction is executed by the processor to implement each process of the above alarm clock parameter adjusting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910.
The input unit 904 may include a graphic processor 9041 and a microphone 9042, among others. The display unit 906 includes a display panel 9061. The user input unit 907 may include a touch panel 9071 and other input devices 9072. Memory 909 may include application programs and an operating system.
Those skilled in the art will appreciate that the electronic device 100 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 907 is configured to receive a first input of a user, where the first input is used to bend the electronic device;
the processor 910 is configured to obtain a first included angle between a first display screen and a second display screen of the electronic device;
and the processor 910 is further configured to adjust an alarm clock parameter of the target alarm clock task according to the first included angle.
In the embodiment of the application, first, a first input of a user for bending the electronic device is received, so that an included angle between a first display screen and a second display screen of the electronic device is changed. And then, according to a first included angle between the first display screen and the second display screen, adjusting the alarm clock parameters of the target alarm clock task. Therefore, the user can change the included angle between the first display screen and the second display screen without entering the alarm clock setting interface of the electronic equipment for operation, so that the user can conveniently adjust the alarm clock parameters of the target alarm clock task, and the mode of adjusting the alarm clock parameters is simpler and quicker.
In one or more embodiments of the present application, the processor 910 is specifically configured to obtain a first target delay time associated with a first included angle according to an association relationship between a preset included angle and a delay time; and setting the target reminding time of the target alarm clock task according to the first target delay time and the preset reminding time of the target alarm clock task.
In the embodiment of the application, a user adjusts the alarm clock time by adjusting the included angle value between the first display screen and the second display screen. Therefore, the user does not need to set on the alarm clock setting interface, and the operation of the user is facilitated.
In one or more embodiments of the present application, the user input unit 907 is further configured to receive a second input from the user, where the second input is used to input the number of times of delay N on the target interface, or the second input is used to bend the first display screen and the second display screen N times, where N is a positive integer;
the processor 910 is specifically configured to determine a result of multiplying N by the first target delay time to be a second target delay time; delaying a second target delay time from the preset reminding time to obtain a target reminding time; and setting the reminding time of the target alarm clock task as the target reminding time.
In the embodiment of the application, the time delay times of the alarm clock are determined according to the bending times of the first display screen and the second display screen by the user, and then the time of the alarm clock is delayed according to the time delay times. Therefore, the user can set the alarm clock delay times without entering an alarm clock setting interface for operation, and the user can set the alarm clock delay times simply and quickly. Or, the numerical value input by the user on the target interface is used as the delay time of the alarm clock, so that the effect of setting the delay time of the alarm clock by the user conveniently can be achieved. In addition, the user can set the alarm clock delay times according to the needs of the user, and the needs of the user for delaying the alarm clock time for multiple times are met.
In one or more embodiments of the present application, the processor 910 is specifically configured to determine a first target delay time according to a functional relationship between a preset included angle and a delay time and the first included angle;
wherein, the function relation is as follows:
Figure BDA0002516849020000211
t represents a first target delay time, alpha represents a first included angle, A represents a preset included angle between the first display screen and the second display screen, and T represents a preset delay time.
In the embodiment of the application, after the first included angle between the first display screen and the second display screen is obtained, the first target delay time of the alarm clock time can be obtained through the method. Therefore, the alarm clock time is delayed according to the user requirements.
In one or more embodiments of the present application, the processor 910 is specifically configured to determine, from a plurality of preset included angle ranges, a target included angle range in which a first included angle is located; and acquiring a first target delay time corresponding to the target included angle range according to the corresponding relation between the included angle range and the delay time.
In the embodiment of the application, after the first included angle between the first display screen and the second display screen is obtained, the first target delay time of the alarm clock time can be obtained through the method. Therefore, the alarm clock time is delayed according to the user requirements.
In one or more embodiments of the present application, the processor 910 is specifically configured to turn off the alarm clock delay function when the first included angle is within a first predetermined range.
In the embodiment of the application, a user can bend the first display screen and the second display screen, and an included angle between the first display screen and the second display screen is adjusted to be within a first preset range, so that the alarm clock time delay function is turned off by the alarm clock parameter adjusting device. After the alarm clock delay function is turned off, even if the user bends the electronic equipment, the alarm clock delay cannot be carried out under the condition that the alarm clock prompt is turned on. Therefore, the alarm clock delay function is prevented from being turned off by the user operating on the alarm clock setting interface, and the user operation is more convenient and quicker.
In one or more embodiments of the present application, the processor 910 is further configured to turn on an alarm clock prompt when the reminding time of the target alarm clock task is reached;
a user input unit 907, further configured to receive a third input of the user, where the third input is used to bend the electronic device;
the processor 910 is further configured to obtain a second included angle between the first display screen and the second display screen;
and under the condition that the second included angle is within a second preset range, the alarm clock prompt is turned off.
In the embodiment of the application, under the condition of starting the alarm clock prompt, the user can bend the electronic equipment and change the included angle between the first display screen and the second display screen to close the alarm clock prompt. The alarm clock prompt is prevented from being turned off by the user operating on the alarm clock prompt interface, so that the user can turn off the alarm clock prompt conveniently.
In one or more embodiments of the present application, the user input unit 907 is further configured to receive a fourth input of the user after the alarm clock delay function is turned off and before the preset reminding time of the target alarm clock task is reached, where the fourth input is used to bend the electronic device;
the processor 910 is further configured to obtain a third included angle between the first display screen and the second display screen; and starting the alarm clock time delay function under the condition that the third included angle is within a third preset range.
In the embodiment of the application, after the alarm clock delay function is turned off and before the preset reminding time of the target alarm clock task is reached, the user can turn on the alarm clock delay function by bending the electronic device. Therefore, the alarm clock delay function is prevented from being started by operating on the alarm clock setting interface, and convenience is brought to users for alarm clock adjustment.
In one or more embodiments of the present application, the user input unit 907 is further configured to receive a fourth input of the user after the alarm clock delay function is turned off and after a preset reminding time of the target alarm clock task is reached and under a condition that an alarm clock prompt of the target alarm clock task is turned on, where the fourth input is used for bending the electronic device;
the processor 910 is further configured to obtain a fourth included angle between the first display screen and the second display screen; and under the condition that the fourth included angle is within a third preset range, the alarm clock time delay function is forbidden to be started.
In the embodiment of the application, after the preset reminding time of the target alarm clock task is reached, even if the fourth included angle between the first display screen and the second display screen is within the third preset range, the alarm clock delay function cannot be started, and the alarm clock of the target alarm clock task cannot be delayed at any time. That is, after the preset reminding time of the target alarm clock task is reached, an alarm clock prompt is generated all the time, and the alarm clock time of the target alarm clock task cannot be delayed unless the alarm clock prompt is turned off. Therefore, a better alarm clock prompting effect can be achieved.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the alarm clock parameter adjusting method embodiment is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
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 Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above alarm clock parameter adjusting method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. An alarm clock parameter adjusting method is characterized by comprising the following steps:
receiving a first input of a user, wherein the first input is used for bending the electronic equipment;
acquiring a first included angle between a first display screen and a second display screen of the electronic equipment;
and adjusting the alarm clock parameters of the target alarm clock task according to the first included angle.
2. The method of claim 1, wherein adjusting the alarm clock parameter of the target alarm clock task according to the first angle comprises:
acquiring a first target delay time associated with the first included angle according to an association relation between a preset included angle and the delay time;
and setting the target reminding time of the target alarm clock task according to the first target delay time and the preset reminding time of the target alarm clock task.
3. The method according to claim 2, wherein before setting the target reminding time of the target alarm clock task according to the first target delay time and the preset reminding time of the target alarm clock task, the method further comprises:
receiving a second input of a user, wherein the second input is used for inputting a delay time N on a target interface, or the second input is used for bending the first display screen and the second display screen N times, and N is a positive integer;
the setting of the target reminding time of the target alarm clock task according to the first target delay time and the preset reminding time of the target alarm clock task comprises the following steps:
determining a multiplication result of the N and the first target delay time as a second target delay time;
delaying the second target delay time from the preset reminding time to obtain the target reminding time;
and updating the reminding time of the target alarm clock task to the target reminding time.
4. The method according to claim 2, wherein the obtaining a first target delay time associated with the first angle according to a preset association relationship between the angle and the delay time comprises:
determining the first target delay time according to a functional relation between a preset included angle and the delay time and the first included angle;
wherein the function relationship is as follows:
Figure FDA0002516849010000021
t represents a first target delay time, alpha represents the first included angle, A represents a preset included angle between the first display screen and the second display screen, and T represents a preset delay time.
5. The method according to claim 2, wherein the obtaining a first target delay time associated with the first angle according to a preset association relationship between the angle and the delay time comprises:
determining a target included angle range in which the first included angle is located from a plurality of preset included angle ranges;
and acquiring the first target delay time corresponding to the target included angle range according to the corresponding relation between the included angle range and the delay time.
6. The method of claim 1, wherein adjusting the alarm clock parameter of the target alarm clock task according to the first angle comprises:
and under the condition that the first included angle is within a first preset range, the alarm clock time delay function is turned off.
7. The method of claim 6, wherein after the turning off of the alarm clock delay function, the method further comprises:
starting an alarm clock prompt under the condition that the reminding time of the target alarm clock task is reached;
receiving a third input of a user, wherein the third input is used for bending the electronic equipment;
acquiring a second included angle between the first display screen and the second display screen;
and under the condition that the second included angle is within a second preset range, the alarm clock prompt is turned off.
8. The method of claim 6, wherein after the turning off of the alarm delay function and before the arrival of the reminder time of the target alarm task, the method further comprises:
receiving a fourth input of a user, wherein the fourth input is used for bending the electronic equipment;
acquiring a third included angle between the first display screen and the second display screen;
and under the condition that the third included angle is within a third preset range, starting the alarm clock time delay function.
9. The method of claim 6, wherein after the alarm delay function is turned off and after the reminder time for the target alarm task is reached, the method further comprises:
receiving a fourth input of the user under the condition of starting an alarm clock prompt of the target alarm clock task, wherein the fourth input is used for bending the electronic equipment;
acquiring a fourth included angle between the first display screen and the second display screen;
and under the condition that the fourth included angle is within a third preset range, forbidding to start the alarm clock time delay function.
10. An alarm clock parameter adjustment device, characterized by comprising:
the first input receiving module is used for receiving a first input of a user, and the first input is used for bending the electronic equipment;
the first included angle acquisition module is used for acquiring a first included angle between a first display screen and a second display screen of the electronic equipment;
and the parameter adjusting module is used for adjusting the alarm clock parameters of the target alarm clock task according to the first included angle.
11. An electronic device, characterized in that it comprises a processor, a memory and a program or instructions stored on said memory and executable on said processor, said program or instructions, when executed by said processor, implementing the steps of the alarm clock parameter adjustment method according to any one of claims 1-9.
CN202010479529.1A 2020-05-29 2020-05-29 Alarm clock parameter adjusting method and device and electronic equipment Active CN111756894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010479529.1A CN111756894B (en) 2020-05-29 2020-05-29 Alarm clock parameter adjusting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010479529.1A CN111756894B (en) 2020-05-29 2020-05-29 Alarm clock parameter adjusting method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111756894A true CN111756894A (en) 2020-10-09
CN111756894B CN111756894B (en) 2021-08-31

Family

ID=72674409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010479529.1A Active CN111756894B (en) 2020-05-29 2020-05-29 Alarm clock parameter adjusting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111756894B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116156046A (en) * 2023-02-22 2023-05-23 维沃移动通信有限公司 Alarm clock interaction method and device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3367103A (en) * 1966-11-10 1968-02-06 Gen Time Corp Alarm clock having a touch type delay feature
CN103179280A (en) * 2013-03-25 2013-06-26 广东欧珀移动通信有限公司 Method for delayed reminding of alarm clock at mobile terminal
CN103237105A (en) * 2013-04-17 2013-08-07 广东欧珀移动通信有限公司 Alarm delay method and alarm delay system for mobile terminal
CN103853541A (en) * 2012-12-04 2014-06-11 联想(北京)有限公司 Information processing method and electronic equipment
CN104917879A (en) * 2015-04-27 2015-09-16 努比亚技术有限公司 Method for canceling alarm clock prompt, device for canceling alarm clock prompt and mobile terminal
CN105138187A (en) * 2015-10-10 2015-12-09 联想(北京)有限公司 Reminding control method and device
US20170255168A1 (en) * 2015-03-27 2017-09-07 Alibaba Group Holding Limited Setting an alarm clock on a smart device
WO2017156767A1 (en) * 2016-03-18 2017-09-21 深圳市赛亿科技开发有限公司 Mobile terminal, and method and apparatus for implementing smart alarm clock thereof
RU2645548C1 (en) * 2017-01-31 2018-02-21 Войсковая Часть 2337 Method of security monitoring
CN107831895A (en) * 2017-11-07 2018-03-23 广东欧珀移动通信有限公司 alarm clock control method, device and terminal
CN108227842A (en) * 2018-01-31 2018-06-29 努比亚技术有限公司 Wearable pattern switching based reminding method, mobile terminal and readable storage medium storing program for executing
CN108965608A (en) * 2018-08-28 2018-12-07 维沃移动通信有限公司 A kind of alarm clock setting method folds terminal and computer readable storage medium
CN109739423A (en) * 2018-12-28 2019-05-10 维沃移动通信有限公司 A kind of alarm clock setting method and flexible terminal

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3367103A (en) * 1966-11-10 1968-02-06 Gen Time Corp Alarm clock having a touch type delay feature
CN103853541A (en) * 2012-12-04 2014-06-11 联想(北京)有限公司 Information processing method and electronic equipment
CN103179280A (en) * 2013-03-25 2013-06-26 广东欧珀移动通信有限公司 Method for delayed reminding of alarm clock at mobile terminal
CN103237105A (en) * 2013-04-17 2013-08-07 广东欧珀移动通信有限公司 Alarm delay method and alarm delay system for mobile terminal
US20170255168A1 (en) * 2015-03-27 2017-09-07 Alibaba Group Holding Limited Setting an alarm clock on a smart device
CN104917879A (en) * 2015-04-27 2015-09-16 努比亚技术有限公司 Method for canceling alarm clock prompt, device for canceling alarm clock prompt and mobile terminal
CN105138187A (en) * 2015-10-10 2015-12-09 联想(北京)有限公司 Reminding control method and device
WO2017156767A1 (en) * 2016-03-18 2017-09-21 深圳市赛亿科技开发有限公司 Mobile terminal, and method and apparatus for implementing smart alarm clock thereof
RU2645548C1 (en) * 2017-01-31 2018-02-21 Войсковая Часть 2337 Method of security monitoring
CN107831895A (en) * 2017-11-07 2018-03-23 广东欧珀移动通信有限公司 alarm clock control method, device and terminal
CN108227842A (en) * 2018-01-31 2018-06-29 努比亚技术有限公司 Wearable pattern switching based reminding method, mobile terminal and readable storage medium storing program for executing
CN108965608A (en) * 2018-08-28 2018-12-07 维沃移动通信有限公司 A kind of alarm clock setting method folds terminal and computer readable storage medium
CN109739423A (en) * 2018-12-28 2019-05-10 维沃移动通信有限公司 A kind of alarm clock setting method and flexible terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116156046A (en) * 2023-02-22 2023-05-23 维沃移动通信有限公司 Alarm clock interaction method and device

Also Published As

Publication number Publication date
CN111756894B (en) 2021-08-31

Similar Documents

Publication Publication Date Title
EP3373112B1 (en) Electronic device comprising plurality of displays and method for operating same
US9489130B2 (en) Mobile terminal selectively acting only part of a display and control method thereof
CN107800865B (en) Electronic device and method for displaying time information in low power state
JP7024222B2 (en) Electronic devices, programs and clock display control methods
US20230385082A1 (en) Screen-off display method and apparatus
US12014035B2 (en) Display method and apparatus for message detail page, and electronic device
CN111752451A (en) Information display method and device and electronic equipment
CN111756894B (en) Alarm clock parameter adjusting method and device and electronic equipment
CN113138818A (en) Interface display method and device and electronic equipment
CN112817424A (en) Method, device, storage medium and electronic equipment for realizing compass application
CN114741042A (en) Content display method and device
CN112825048A (en) Message reminding method and device, electronic equipment and storage medium
CN105549857B (en) A kind of control method and electric terminal of electric terminal
WO2023088252A1 (en) Alarm clock processing method and apparatus, and electronic device and medium
CN111865763A (en) Message display method and device, electronic equipment and storage medium
CN113360037B (en) Method and device for setting application program use duration
EP4184299A1 (en) Icon display method and apparatus, and electronic device
CN112995404B (en) Schedule creating method and device, electronic equipment and readable storage medium
CN111669460B (en) Message pushing method and device, electronic equipment and storage medium
CN112905091A (en) Application program starting method and device and electronic equipment
CN112083788A (en) Power saving method and device
CN110716759B (en) Electronic device, computer-readable storage medium, and operation parameter configuration method
CN113674056B (en) Application information display method and device
CN110866733B (en) Information processing method, device and storage medium
KR20150043819A (en) Terminal and operation method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant