CN109995933B - Method for controlling alarm clock of terminal equipment and terminal equipment - Google Patents

Method for controlling alarm clock of terminal equipment and terminal equipment Download PDF

Info

Publication number
CN109995933B
CN109995933B CN201910100592.7A CN201910100592A CN109995933B CN 109995933 B CN109995933 B CN 109995933B CN 201910100592 A CN201910100592 A CN 201910100592A CN 109995933 B CN109995933 B CN 109995933B
Authority
CN
China
Prior art keywords
terminal device
alarm clock
alarm
input
terminal equipment
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.)
Active
Application number
CN201910100592.7A
Other languages
Chinese (zh)
Other versions
CN109995933A (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 CN201910100592.7A priority Critical patent/CN109995933B/en
Publication of CN109995933A publication Critical patent/CN109995933A/en
Application granted granted Critical
Publication of CN109995933B publication Critical patent/CN109995933B/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/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications

Abstract

The embodiment of the invention provides a method for controlling an alarm clock of terminal equipment and the terminal equipment, which are applied to the technical field of communication and are used for solving the problem that the existing mobile terminal equipment cannot remotely control the alarm clocks of other mobile terminal equipment. The method comprises the following steps: receiving alarm information; the alarm information is used for indicating the second terminal equipment to ring at the reminding time of the first alarm clock; according to the alarm information, ringing at the reminding time of the first alarm clock and displaying a ringing interface of the first alarm clock; receiving a first input of a user to a ringing interface; in response to the first input, the first alarm clock is turned off or delayed.

Description

Method for controlling alarm clock of terminal equipment and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method for controlling an alarm clock of terminal equipment and the terminal equipment.
Background
Currently, an alarm clock is typically installed in a mobile device (e.g., a smartphone).
In daily life, a user often encounters a scene that a plurality of mobile terminal devices exist in a room, and each mobile terminal device can be provided with an alarm clock. Therefore, in this scenario, when the alarm clock of the mobile terminal device of another user rings, the alarm clock of the mobile terminal device continuously rings due to no person around the mobile terminal device closing the alarm clock.
For example, the alarm clock that is called up in the morning is not a mobile phone placed beside a bed, but another mobile phone far away from the user, and at this time, if the user wants to turn off the alarm clock, the user needs to get up to find the mobile phone to turn off the alarm clock.
Disclosure of Invention
The embodiment of the invention provides a method for controlling an alarm clock of terminal equipment and the terminal equipment, and aims to solve the problem that the existing mobile terminal equipment cannot remotely control the alarm clocks of other mobile terminal equipment.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a method for controlling an alarm clock of a terminal device, where the method is applied to a first terminal device, and the method includes:
receiving alarm information; the alarm information is used for indicating that the second terminal equipment rings at the reminding time of the first alarm clock;
according to the alarm information, ringing at the reminding time of the first alarm clock and displaying a ringing interface of the first alarm clock;
receiving a first input of a user on the ringing interface;
turning off or delaying the first alarm clock in response to the first input.
In a second aspect, an embodiment of the present invention further provides a first terminal device, where the method includes:
the receiving module is used for receiving alarm information; the alarm information is used for indicating that the second terminal equipment rings at the reminding time of the first alarm clock;
the control module is used for ringing at the reminding time of the first alarm clock according to the alarm information received by the receiving module;
the display module is used for displaying a ringing interface of the first alarm clock at the reminding time of the first alarm clock;
the receiving module is further used for receiving a first input of a user on the ringing interface;
the control module is further configured to turn off or delay the first alarm clock in response to the first input received by the receiving module.
In a third aspect, an embodiment of the present invention provides a first terminal device, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the method for controlling an alarm clock of the terminal device according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the method for controlling an alarm clock of a terminal device according to the first aspect.
In the embodiment of the present invention, after receiving alarm information, because the alarm information is used to indicate that the second terminal device rings at the reminding time of the first alarm clock, when the reminding time of the first alarm clock of the second terminal device arrives, the first terminal device can display the ring interface of the first alarm clock on the first terminal device, so that a user can turn off or delay the first alarm clock through the ring interface, and the first terminal device can also ring at the same time, thereby prompting the user about the first alarm clock, and facilitating the user to turn off or delay the first alarm clock in time.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating one of the processes of a method for controlling an alarm clock of a terminal device according to an embodiment of the present invention;
fig. 3 is a second schematic flowchart of a method for controlling an alarm clock of a terminal device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an interface applied to a method for controlling an alarm clock of a terminal device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a first terminal device according to an embodiment of the present invention;
fig. 6 is a second schematic structural diagram of a first terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
It should be noted that "/" in this context means "or", for example, A/B may mean A or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone.
It should be noted that, for the convenience of clearly describing the technical solutions of the embodiments of the present application, in the embodiments of the present application, the terms "first", "second", and the like are used to distinguish the same items or similar items with basically the same functions or actions, and those skilled in the art can understand that the terms "first", "second", and the like do not limit the quantity and execution order. For example, the first input and the second input are for distinguishing different inputs, rather than for describing a particular order of inputs.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the embodiments of the present invention, "of", "corresponding" and "corresponding" may be mixed, and it should be noted that the intended meaning is consistent when the difference is not emphasized. The meaning of "a plurality" in the embodiments of the present application means two or more.
The terminal devices (including the first terminal device, the second terminal device, and the third terminal device herein) in the embodiments of the present invention may be mobile terminal devices, and may also be non-mobile terminal devices. The mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc.; the non-mobile terminal device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiments of the present invention are not particularly limited.
The execution main body of the method for controlling an alarm clock of a terminal device provided in the embodiment of the present invention may be the terminal device (including a mobile terminal device and a non-mobile terminal device), or may also be a functional module and/or a functional entity capable of implementing the method for controlling an alarm clock of a terminal device in the terminal device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes a terminal device as an example, and exemplarily describes a method for controlling an alarm clock of the terminal device according to an embodiment of the present invention.
The terminal device in the embodiment of the present invention may be a terminal device having 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 invention are not limited in particular.
Next, a software environment applied to the method for controlling an alarm clock of a terminal device according to the embodiment of the present invention is described by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the method for controlling an alarm clock of a terminal device, which is provided by the embodiment of the present invention, based on the system architecture of the android operating system shown in fig. 1, so that the method for controlling the alarm clock of the terminal device may run based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can realize the method for controlling the alarm clock of the terminal device provided by the embodiment of the invention by running the software program in the android operating system.
The method for controlling an alarm clock of a terminal device according to an embodiment of the present invention is described below with reference to a flowchart of a method for controlling an alarm clock of a terminal device shown in fig. 2, where fig. 2 is a flowchart of a method for controlling an alarm clock of a terminal device according to an embodiment of the present invention, and the method includes steps 201 to 204:
step 201: the first terminal device receives alarm information.
In the embodiment of the present invention, the alarm information is used to indicate that the second terminal device rings at the reminding time of the first alarm clock.
For example, the alarm information specifically includes: the indication information (for example, a bluetooth signal) sent by the second terminal device to the first terminal device when the reminding time of the first alarm clock arrives, or a ringing sound of the second terminal device detected by the first terminal device (at this time, a corresponding alarm clock task may be determined based on the ringing time), and the like, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited.
In this embodiment of the present invention, an association relationship exists between the second terminal device and the first terminal device. For example, the second terminal device may be a terminal device stored in the first terminal device and having an association relationship, or the first terminal device may be a terminal device located within a predetermined range around the second terminal device (in this case, the first terminal device may be considered to be associated with the second terminal device).
In an example, the second terminal device is associated with at least one terminal device, and taking the alarm information as instruction information sent by the second terminal device to the first terminal device as an example, when the second terminal device rings at the reminding time of the first alarm clock, one instruction information may be sent to all the associated terminal devices at the same time to instruct the associated terminal devices to turn off or delay the first alarm clock.
Step 202: and the first terminal equipment rings and displays a ring interface of the first alarm clock at the reminding time of the first alarm clock according to the alarm information.
Step 203: the first terminal device receives a first input of a user to the alarm interface.
Illustratively, the first input of the user specifically includes: specifically, the click input by the user on the ring interface, or the press input by the user on the ring interface, or the slide input by the user on the ring interface, or the drag input by the user on the ring interface, or the voice input by the user on the ring interface, or other feasible inputs by the user on the ring interface may be determined according to actual use requirements, which is not limited in the embodiment of the present invention.
For example, the click input may be a single click input, a double click input, or any number of click inputs; the click input may be a long-press input or a short-press input. The sliding input may be a sliding input in any direction, for example, sliding upwards, sliding downwards, sliding leftwards or sliding rightwards, and the sliding trajectory of the sliding input may be a straight line or a curved line, and may be specifically set according to actual requirements.
Step 204: in response to the first input, the first terminal device turns off or delays the first alarm clock.
According to the method for controlling the alarm clock of the terminal device provided by the embodiment of the invention, after the first terminal device receives the alarm information, because the alarm information is used for indicating the second terminal device (associated with the first terminal device) to ring at the reminding time of the first alarm clock, when the reminding time of the first alarm clock of the second terminal device arrives, the first terminal device can display the ring interface of the first alarm clock on the first terminal device, so that a user can close or delay the first alarm clock through the ring interface, and meanwhile, the first terminal device can also ring, so that the first alarm clock is prompted to the user, and the user can close or delay the first alarm clock in time.
Optionally, in the embodiment of the present invention, the timing for controlling the first alarm clock by the first terminal device specifically includes two types: the first type is a case where the first terminal device rings, and the second type is a case where the user performs a first input to the ring interface, specifically:
the first method comprises the following steps: while performing step 202, the method further comprises the steps of:
step A: under the condition that the first terminal equipment rings, the first terminal equipment sends a first indication signal to the second terminal equipment;
the first indication signal is used for indicating the second terminal equipment to turn off or delay the first alarm clock.
Correspondingly, after the second terminal device at the opposite terminal receives the first indication signal, the first alarm clock can be turned off or delayed according to the first indication information. Illustratively, the first terminal device may control the first terminal device to ring when it is determined that the second terminal device rings at the reminding time of the first alarm clock, so that the first alarm clock may be controlled immediately after the first terminal device rings, and the first terminal device and the second terminal device are prevented from ringing simultaneously.
And the second method comprises the following steps: after performing step 203, the method further comprises the steps of:
and B: in response to the first input, the first terminal device sends a second indication signal to the second terminal device.
The second indication signal is used for indicating the second terminal device to turn off or delay the first alarm clock.
Correspondingly, after the second terminal device at the opposite terminal receives the first indication signal, the first alarm clock can be turned off or delayed according to the first indication information. Exemplarily, after the first terminal device displays the ringing interface of the first alarm clock, the user triggers the first terminal device to send a first indication signal to the second terminal device through inputting the ringing interface, so as to achieve the purpose of controlling the first alarm clock. In this case, the first terminal device and the second terminal device may ring at the same time, and at this time, the first terminal device and the second terminal device may be controlled to stop ringing at the same time based on the first input of the user on the ring interface.
Optionally, in the embodiment of the present invention, as shown in fig. 3, the method further includes the following steps:
step 301: and under the condition that the first terminal equipment displays a setting interface of a second alarm clock of the first terminal equipment, the first terminal equipment receives second input of the user on the setting interface.
In an embodiment of the present invention, the setting interface of the second alarm clock includes: and setting parameters of the second alarm clock.
Illustratively, the parameter setting items include at least one of: an alarm clock of the clock setting item and the minute setting item, a reminder time setting item, a reminder period setting item (such as a "repeat" item in fig. 4), a ringtone setting item (such as a "ringtone" in fig. 4), a reminder mode setting item, a snooze time setting item (such as a "snooze time" item in fig. 4), an alarm clock repetition mode setting item, and a setting item of whether to be turned off by a third terminal device or to be delayed (such as a "to be turned off by a nearby terminal device" item in fig. 4).
Step 302: in response to the second input, the first terminal device sets the second alarm clock to be off or delayed by the third terminal device.
In this embodiment of the present invention, there is an association between the third terminal device and the first terminal device. For example, the third terminal device may be a terminal device stored in the first terminal device and having an association relationship, or the third terminal device may be a terminal device located within a predetermined range around the first terminal device (in this case, the first terminal device may be considered to be associated with the third terminal device). It should be noted that the third terminal device may be the second terminal device.
It should be noted that the setting process of the second terminal device for the first alarm clock is similar to the setting process of the first terminal device for the second alarm clock, and therefore, the setting process of the second terminal device for the first alarm clock may refer to step 301 and step 302 described above.
Optionally, in an embodiment of the present invention, after step 302, the method further includes:
step 302 a: and under the condition that the first terminal equipment rings at the reminding time of the second alarm clock, the first terminal equipment receives third indication information sent by the third terminal equipment.
And the third indication signal is used for indicating the first terminal equipment to turn off or delay the second alarm clock.
Correspondingly, the third terminal device at the opposite end may send third indication information to the first terminal device to prompt the first terminal device to turn off or delay the second alarm clock when it is determined that the first terminal device rings at the reminding time of the second alarm clock, or send third indication information to the first terminal device to prompt the first terminal device to turn off or delay the second alarm clock when the user operates the ring interface of the second alarm clock displayed by the third terminal device. The specific implementation may be similar to the above step a and step B, and the present invention is not described in detail herein.
Step 302 b: and the first terminal equipment closes or delays the second alarm clock according to the indication of the third indication information.
It should be noted that when the first terminal device turns off or delays the first alarm clock, the first terminal device is controlled to stop ringing. Similarly, when the second terminal device turns off or delays the first alarm clock, the second terminal device is controlled to stop ringing.
Fig. 5 is a schematic diagram of a possible structure of a first terminal device according to an embodiment of the present invention, and as shown in fig. 5, the first terminal device 400 includes a receiving module 401, a control module 402, and a display module 403, where:
a receiving module 401, configured to receive alarm information; the alarm information is used for indicating the second terminal equipment to ring at the reminding time of the first alarm clock.
The control module 402 is configured to ring at the reminding time of the first alarm clock according to the alarm information received by the receiving module 401.
And a display module 403, configured to display a ring interface of the first alarm clock at the reminding time of the first alarm clock.
The receiving module 401 is further configured to receive a first input of a user on the ring interface.
The control module 402 is further configured to turn off or delay the first alarm clock in response to the first input received by the receiving module 401.
Optionally, as shown in fig. 5, the first terminal device 400 further includes: a sending module 404, wherein:
a sending module 404, configured to send a first indication signal to a second terminal device when the first terminal device 400 rings; the first indication signal is used for indicating the second terminal equipment to turn off or delay the first alarm clock.
Optionally, the sending module 404 is configured to send a second indication signal to the second terminal device in response to the first input received by the receiving module 401; the second indication signal is used for indicating the second terminal equipment to turn off or delay the first alarm clock.
Optionally, as shown in fig. 5, the first terminal device 400 further includes: a setup module 405, wherein:
the receiving module 401 is further configured to receive a second input of the user on the setting interface when the first terminal device 400 displays the setting interface of the second alarm clock of the first terminal device; a setting module 405, configured to set the second alarm clock to be turned off or delayed by the third terminal device in response to the second input received by the receiving module 401.
Optionally, the receiving module 401 is further configured to receive third indication information sent by a third terminal device when the first terminal device rings at the reminding time of the second alarm clock; the control module is used for turning off or delaying the second alarm clock according to the indication of the third indication information received by the receiving module; and the third indication signal is used for indicating the first terminal equipment to turn off or delay the second alarm clock.
In the first terminal device provided in the embodiment of the present invention, after receiving the alarm information, because the alarm information is used to indicate that the second terminal device (associated with the first terminal device) rings at the reminding time of the first alarm clock, when the reminding time of the first alarm clock of the second terminal device arrives, the first terminal device can display the ring interface of the first alarm clock on the first terminal device, so that the user can turn off or delay the first alarm clock through the ring interface, and at the same time, the first terminal device can also ring, thereby prompting the user about the first alarm clock, and facilitating the user to turn off or delay the first alarm clock in time.
The first terminal device provided in the embodiment of the present invention is capable of implementing each process implemented by the first terminal device in the foregoing method embodiments, and is not described here again to avoid repetition.
Fig. 6 is a schematic diagram of a possible structure of a first terminal device for implementing various embodiments of the present invention, where the first terminal device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the configuration of the first terminal device 100 shown in fig. 6 does not constitute a limitation of the first terminal device, and that the first terminal device 100 may include more or less components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the first terminal device 100 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a first terminal device mounted on a vehicle, a wearable device, a pedometer, and the like.
The radio frequency unit 101 is configured to receive alarm information; the alarm information is used for indicating the second terminal equipment to ring at the reminding time of the first alarm clock; the processor 110 is configured to ring at the reminding time of the first alarm clock according to the alarm information received by the radio frequency unit 101; the display unit 106 is configured to display a ringing interface of the first alarm clock at the reminding time of the first alarm clock; a user input unit 107 for receiving a first input of a user on the ring interface; a processor 110 for turning off or delaying the first alarm clock in response to the first input received by the user input unit 107.
In the first terminal device provided in the embodiment of the present invention, after receiving the alarm information, because the alarm information is used to indicate that the second terminal device (associated with the first terminal device) rings at the reminding time of the first alarm clock, when the reminding time of the first alarm clock of the second terminal device arrives, the first terminal device can display the ring interface of the first alarm clock on the first terminal device, so that the user can turn off or delay the first alarm clock through the ring interface, and at the same time, the first terminal device can also ring, thereby prompting the user about the first alarm clock, and facilitating the user to turn off or delay the first alarm clock in time.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The first terminal device 100 provides the user with wireless broadband internet access through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the first terminal apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The first terminal device 100 further comprises at least one sensor 105, such as a light sensor, a motion sensor and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the first terminal device 100 moves to the ear. As one of the motion sensors, the accelerometer sensor may detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and may be used to identify the first terminal device posture (e.g., horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (e.g., pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the first terminal device 100. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 6, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the first terminal device 100, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the first terminal device 100, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the first terminal apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the first terminal apparatus 100 or may be used to transmit data between the first terminal apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the first terminal device 100, connects various parts of the entire first terminal device 100 by various interfaces and lines, and performs various functions of the first terminal device 100 and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the first terminal device 100. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The first terminal device 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the first terminal device 100 includes some functional modules that are not shown, and are not described herein again.
Optionally, an embodiment of the present invention further provides a first terminal device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor 110, where the computer program, when executed by the processor, implements each process of the above method for controlling an alarm clock of the terminal device, and can achieve the same technical effect, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned method for controlling an alarm clock of a terminal device, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 invention 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 device (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 invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method for controlling an alarm clock of a terminal device is applied to a first terminal device, and is characterized by comprising the following steps:
receiving alarm information; the alarm information is used for indicating that the second terminal equipment rings at the reminding time of the first alarm clock;
according to the alarm information, ringing at the reminding time of the first alarm clock and displaying a ringing interface of the first alarm clock;
receiving a first input of a user on the ringing interface;
turning off or delaying the first alarm clock in response to the first input;
receiving a second input of a user on a setting interface of a second alarm clock of the first terminal equipment under the condition that the first terminal equipment displays the setting interface;
in response to the second input, setting the second alarm clock to be off or delayed by a third terminal device.
2. The method according to claim 1, wherein after the first alarm clock rings and displays a ring interface of the first alarm clock at a reminding time of the first alarm clock according to the alarm information, the method further comprises:
under the condition that the first terminal equipment rings, sending a first indication signal to the second terminal equipment;
the first indication signal is used for indicating the second terminal equipment to turn off or delay the first alarm clock.
3. The method of claim 1, wherein after receiving the first input by the user on the alarm interface, the method further comprises:
in response to the first input, sending a second indication signal to the second terminal device;
wherein the second indication signal is used for indicating the second terminal device to turn off or delay the first alarm clock.
4. The method of claim 1, wherein after setting the second alarm clock to be turned off or delayed by a third terminal device in response to the second input, the method further comprises:
receiving third indication information sent by the third terminal equipment under the condition that the first terminal equipment rings at the reminding time of a second alarm clock;
turning off or delaying the second alarm clock according to the indication of the third indication information;
wherein the third indication signal is used for indicating the first terminal device to turn off or delay the second alarm clock.
5. A first terminal device, comprising:
the receiving module is used for receiving alarm information; the alarm information is used for indicating that the second terminal equipment rings at the reminding time of the first alarm clock;
the control module is used for ringing at the reminding time of the first alarm clock according to the alarm information received by the receiving module;
the display module is used for displaying a ringing interface of the first alarm clock at the reminding time of the first alarm clock;
the receiving module is further used for receiving a first input of a user on the ringing interface;
the control module is further configured to turn off or delay the first alarm clock in response to the first input received by the receiving module;
the receiving module is further configured to receive a second input of the user on a setting interface of a second alarm clock of the first terminal device when the first terminal device displays the setting interface;
the first terminal device further includes:
and the setting module is used for responding to the second input received by the receiving module and setting the second alarm clock to be turned off or delayed by a third terminal device.
6. The first terminal device of claim 5, wherein the first terminal device further comprises:
a sending module, configured to send a first indication signal to the second terminal device when the first terminal device rings;
the first indication signal is used for indicating the second terminal equipment to turn off or delay the first alarm clock.
7. The first terminal device of claim 5, wherein the first terminal device further comprises:
a sending module, configured to send a second indication signal to the second terminal device in response to the first input received by the receiving module;
wherein the second indication signal is used for indicating the second terminal device to turn off or delay the first alarm clock.
8. The first terminal device of claim 5,
the receiving module is further configured to receive third indication information sent by the third terminal device when the first terminal device rings at the reminding time of the second alarm clock;
the control module is used for turning off or delaying the second alarm clock according to the indication of the third indication information received by the receiving module;
wherein the third indication signal is used for indicating the first terminal device to turn off or delay the second alarm clock.
9. Terminal device, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the method of controlling an alarm clock of a terminal device according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method of controlling an alarm clock of a terminal device according to any one of claims 1 to 4.
CN201910100592.7A 2019-01-31 2019-01-31 Method for controlling alarm clock of terminal equipment and terminal equipment Active CN109995933B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910100592.7A CN109995933B (en) 2019-01-31 2019-01-31 Method for controlling alarm clock of terminal equipment and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910100592.7A CN109995933B (en) 2019-01-31 2019-01-31 Method for controlling alarm clock of terminal equipment and terminal equipment

Publications (2)

Publication Number Publication Date
CN109995933A CN109995933A (en) 2019-07-09
CN109995933B true CN109995933B (en) 2020-11-20

Family

ID=67129808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910100592.7A Active CN109995933B (en) 2019-01-31 2019-01-31 Method for controlling alarm clock of terminal equipment and terminal equipment

Country Status (1)

Country Link
CN (1) CN109995933B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309392B (en) * 2020-01-21 2023-12-26 维沃移动通信有限公司 Equipment control method and electronic equipment
CN111343337B (en) * 2020-02-28 2021-10-22 广州星际悦动股份有限公司 Alarm clock application prompting method and device based on electric toothbrush
CN111541817B (en) * 2020-04-22 2022-02-01 维沃移动通信有限公司 Alarm clock control method and electronic equipment
CN112737624A (en) * 2020-12-25 2021-04-30 读书郎教育科技有限公司 Method for turning off alarm clock of wearable device
CN115250308A (en) * 2021-04-26 2022-10-28 华为技术有限公司 Alarm clock ringing method and equipment
CN113726944A (en) * 2021-09-10 2021-11-30 维沃移动通信有限公司 Alarm clock control method and device
CN113596247B (en) * 2021-09-29 2022-04-01 北京小米移动软件有限公司 Alarm clock information processing method, device, vehicle, storage medium and program product

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873657A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Control method and electronic device
CN104503834A (en) * 2014-12-29 2015-04-08 联想(北京)有限公司 Information handling method and first electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7475395B2 (en) * 2005-01-04 2009-01-06 Nokia Corporation Multiple device notification synchronization

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873657A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Control method and electronic device
CN104503834A (en) * 2014-12-29 2015-04-08 联想(北京)有限公司 Information handling method and first electronic device

Also Published As

Publication number Publication date
CN109995933A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN110995923B (en) Screen projection control method and electronic equipment
CN109995933B (en) Method for controlling alarm clock of terminal equipment and terminal equipment
CN108255378B (en) Display control method and mobile terminal
CN110752980B (en) Message sending method and electronic equipment
CN109889348B (en) Image sharing method and device
CN110062105B (en) Interface display method and terminal equipment
CN109407921B (en) Application processing method and terminal device
CN110058836B (en) Audio signal output method and terminal equipment
CN111083684A (en) Method for controlling electronic equipment and electronic equipment
CN110445924B (en) Network task execution method and terminal equipment
CN109085968B (en) Screen capturing method and terminal equipment
CN109828705B (en) Icon display method and terminal equipment
CN109976611B (en) Terminal device control method and terminal device
CN108681427B (en) Access right control method and terminal equipment
CN110049486B (en) SIM card selection method and terminal equipment
CN111027030A (en) Permission setting method and terminal device
CN110244884B (en) Desktop icon management method and terminal equipment
CN111163224B (en) Voice message playing method and electronic equipment
CN111324268A (en) Information reminding method and electronic equipment
CN110597437A (en) Screen capturing method and terminal equipment
CN110888568B (en) Notification bar display method and terminal equipment
CN110012151B (en) Information display method and terminal equipment
CN111309392B (en) Equipment control method and electronic equipment
CN109992941B (en) Authority management method and terminal equipment
CN109068276B (en) Message conversion method and terminal

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