CN111541817B - Alarm clock control method and electronic equipment - Google Patents

Alarm clock control method and electronic equipment Download PDF

Info

Publication number
CN111541817B
CN111541817B CN202010324223.9A CN202010324223A CN111541817B CN 111541817 B CN111541817 B CN 111541817B CN 202010324223 A CN202010324223 A CN 202010324223A CN 111541817 B CN111541817 B CN 111541817B
Authority
CN
China
Prior art keywords
electronic equipment
alarm clock
electronic device
instruction
user
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
CN202010324223.9A
Other languages
Chinese (zh)
Other versions
CN111541817A (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 CN202010324223.9A priority Critical patent/CN111541817B/en
Publication of CN111541817A publication Critical patent/CN111541817A/en
Application granted granted Critical
Publication of CN111541817B publication Critical patent/CN111541817B/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/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
    • 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/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
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • 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
    • 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/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides an alarm clock control method and electronic equipment, wherein the method comprises the following steps: monitoring the state of the first electronic equipment when the preset ringing time of the alarm clock is reached; and sending a ringing instruction to the bound second electronic equipment under the condition that the state of the first electronic equipment meets a first preset condition so as to enable the second electronic equipment to alarm and remind a user. According to the alarm clock control method provided by the embodiment of the invention, not only can the first electronic device ring on the bound second electronic device, but also the user can be prompted with alarm clock, so that the probability that the user perceives the alarm clock.

Description

Alarm clock control method and electronic equipment
Technical Field
The invention relates to the technical field of communication, in particular to an alarm clock control method and electronic equipment.
Background
The alarm clock function is a necessary function for each electronic device like a call function and a short message function. The alarm clock function can provide convenient service for daily life and work of the user. For example: the alarm clock function can provide a call morning service in the morning.
In the actual use process, the alarm clock reminding can be output only on the local machine for setting the alarm clock, when the user is far away from the electronic equipment for setting the alarm clock or the electronic equipment sets a mute mode, the user cannot hear the alarm clock ringing, and the set alarm clock cannot play a role in reminding the user. For example: the morning call alarm clock is set but the electronic device is not placed inside a bedroom, resulting in the alarm clock ringing but failing to wake up the user.
Disclosure of Invention
The embodiment of the invention provides an alarm clock control method and electronic equipment, which can solve the problem that alarm clock reminding can only be output on a local machine provided with an alarm clock in the prior art.
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 an alarm clock control method, which is applied to a first electronic device, where the method includes: monitoring the state of the first electronic equipment when the preset ringing time of the alarm clock is reached; and sending a ringing instruction to the bound second electronic equipment under the condition that the state of the first electronic equipment meets a first preset condition so as to enable the second electronic equipment to alarm and remind a user.
In a second aspect, an embodiment of the present invention provides an electronic device, which is used as a first electronic device, where the electronic device includes: the monitoring module is used for monitoring the state of the first electronic equipment when the preset ringing time of the alarm clock is reached; and the sending module is used for sending a ringing instruction to the bound second electronic equipment under the condition that the state of the first electronic equipment meets a first preset condition so as to enable the second electronic equipment to carry out alarm reminding on the user.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the alarm clock control method described above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the alarm clock control method described above.
In the embodiment of the invention, the state of the first electronic device is detected when the preset ringing time of the alarm clock is reached, and a ringing instruction is sent to the bound second electronic device when the state of the first electronic device meets a first preset condition, so that the second electronic device can remind a user of the alarm clock. Not only can also ring on the second electronic equipment that binds at first electronic equipment, carry out the alarm clock simultaneously and remind the user, can promote the probability that the user perceives the alarm clock and remind.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart illustrating steps of an alarm clock control method according to an embodiment of the present invention;
fig. 2 is a flowchart of alarm clock control according to an embodiment of the present invention;
fig. 3 is a block diagram of an electronic device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an electronic 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 appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Referring to fig. 1, a flowchart illustrating steps of an alarm clock control method according to a first embodiment of the present invention is shown.
The alarm clock control method provided by the embodiment of the invention is applied to first electronic equipment and comprises the following steps:
step 101: and monitoring the state of the first electronic equipment under the condition that the preset ringing time of the alarm clock is reached.
The state of the first electronic device may include, but is not limited to: the first electronic device is in a first position, whether an alarm clock on the first electronic device is controlled, and the like.
And playing preset alarm clock ring tones and determining the bound second electronic equipment.
Each second electronic device can be bound for the first electronic device in advance by a user; the first electronic equipment can also search and determine in real time; the method can also be used for actively establishing binding relation with the first electronic equipment.
The alarm clock can be any type of alarm clock such as a morning alarm clock, a conference reminding alarm clock and the like. The preset ringing time is the ringing time corresponding to the alarm clock, for example: and setting a calling early alarm clock with seven morning hours, wherein the preset ringing time of the alarm clock is 7 morning hours, and when the time is finished by seven morning hours, the alarm clock is started to play a preset alarm clock prompt. Alarm clock alerts may include, but are not limited to: alarm, vibration, etc.
Step 102: and sending a ringing instruction to the bound second electronic equipment under the condition that the state of the first electronic equipment meets a first preset condition so that the second electronic equipment can carry out alarm reminding on the user.
The number of the second electronic devices bound to the first electronic device may be one or more, and the embodiment of the present invention does not specifically limit the number of the second electronic devices. Under the condition that the state of first electronic equipment satisfies first preset condition, explain that the user probably can't hear the alarm clock and remind this moment, perhaps be not convenient for carry out alarm clock control to first electronic equipment, consequently send the ringing instruction to each second electronic equipment, open the alarm clock ringtone on each second electronic equipment in order to indicate that the user has arrived the alarm clock ringing time to reach the purpose of carrying out the alarm clock to the user through second electronic equipment and remind.
The first electronic device and the second electronic device can perform instruction transmission through network connection or near field communication connection. Each second electronic device can be bound for the first electronic device in advance by a user; the first electronic equipment can also search and determine in real time; the method can also be used for actively establishing binding relation with the first electronic equipment.
If the state of the first electronic device meets the first preset condition, a ringing instruction does not need to be sent to each second electronic device.
Optionally, the state of the first electronic device satisfies a first preset condition, including at least one of:
a control instruction of a user to the alarm clock is not received within a preset time length; the deviation between the current first position of the first electronic equipment and the target position is greater than a preset distance; the target position is the position of the first electronic device in the history log at the ringing moment. The preset distance may be set by a person skilled in the art according to actual requirements, and is not particularly limited in the embodiment of the present invention. The preset duration can be set in the alarm clock diffusion setting interface by the first electronic equipment user, and can also be preset in the first electronic equipment system.
The target position may be determined by: analyzing the position of the first electronic equipment when the alarm clock time rings each time based on the historical log; the position with the highest frequency of occurrence is selected from the positions as a target position.
According to the alarm clock control method provided by the embodiment of the invention, the state of the first electronic equipment is detected when the preset ringing time of the alarm clock is reached, and the ringing instruction is sent to each bound second electronic equipment when the state of the first electronic equipment meets the first preset condition, so that the second electronic equipment can remind a user of alarming. Not only can also ring on each second electronic equipment that binds at first electronic equipment, carry out the alarm clock simultaneously and remind the user, can promote the probability that the user perceives the alarm clock and remind.
In an optional embodiment, after sending the ring instruction to the bound second electronic device in a case that the state of the first electronic device satisfies a first preset condition, an alarm clock control flow as shown in fig. 2 may be further performed:
step 201: and opening the alarm clock control authority for the second electronic equipment.
After the first electronic equipment opens the alarm clock control authority to each second electronic equipment, the alarm clock set on the first electronic equipment can be indirectly controlled by performing alarm clock control operation on the second electronic equipment.
When the alarm clock is controlled, the mode that the first electronic device actively opens the alarm clock control authority and the second electronic device passively receives the alarm clock control authority is not limited, and the mode that the second electronic device actively pulls the first electronic device actively opens the alarm clock control authority can be adopted.
Step 202: and receiving an alarm clock control instruction sent by the second electronic equipment.
When the second electronic device receives the ringing instruction, playing the ringing bell and displaying an alarm control interface, wherein the alarm control interface includes but is not limited to: closing the alarm clock control item, and playing the alarm clock ring control item after delay. The user of the second electronic equipment can indirectly control the alarm clock in the first electronic equipment by operating any control item in the alarm clock control interface.
Step 203: and responding to the alarm clock control instruction to control the alarm clock.
For example: and the user touches a closing alarm clock control item in an alarm clock control interface displayed by the second electronic equipment, the generated control instruction is an alarm clock closing instruction, the second electronic equipment sends the alarm clock closing instruction to the first electronic equipment, and the first electronic equipment closes the alarm clock according to the control instruction.
According to the optional alarm clock control method, after a ringing instruction is sent to second electronic equipment through first electronic equipment, an alarm clock control authority is opened for the second electronic equipment; receiving an alarm clock control instruction sent by any second electronic equipment; and responding to the control instruction to control the preset alarm clock, and controlling the alarm clock on second electronic equipment outside the alarm clock by a user, so that the user operation is facilitated.
When the number of the second electronic devices is multiple, the first electronic device can receive an alarm clock control instruction sent by any second electronic device, and the alarm clock is controlled in response to the control instruction.
A manner of optionally establishing a binding relationship between a first electronic device and a second electronic device is as follows:
before the first electronic device sends a ringing instruction to the bound second electronic device, receiving a first input of a target device identifier by a user; and responding to the first input, and establishing a binding relationship with the second electronic equipment corresponding to the target equipment identification.
The device identification corresponding to each electronic device available for binding is displayed in a binding setting interface of the first electronic device, and a first electronic device user executes first input on the device identification to be bound to select a target device identification.
The first electronic device can be simultaneously bound with one or more second electronic devices, and after the first electronic device and the second electronic devices are bound, the clock control can be synchronized between the first electronic device and each second electronic device. The alarm clock set in the first electronic device can be controlled by the second electronic device, and similarly, the alarm clock set in the second electronic device can also be controlled by the second electronic device.
The optional mode is a mode of binding the second electronic device to the first electronic device in advance, and is not limited to establishing a binding relationship in advance in a specific implementation process, and the second electronic device within a preset radius can be searched under the condition that the state of the first electronic device meets a first preset condition; establishing a binding relationship with the searched second electronic equipment; after the binding relationship is established, the first electronic device sends a ringing instruction to the bound second electronic device, so that the second electronic device carries out alarm reminding on the user.
The method for establishing the binding relationship by searching the second electronic equipment at present can ensure that the bound second electronic equipment is in a working state. The alarm clock state on the first electronic equipment can be controlled on each connectable second electronic equipment within a preset radius from the first electronic equipment.
The preset radius can be set by a user of the first electronic equipment when the alarm clock is set; or after the first electronic equipment user sets the alarm clock, the alarm clock can be set in the alarm clock diffusion setting interface. When the preset radius is set in the alarm clock diffusion setting interface, the alarm clock diffusion setting interface can be started through second input of the preset control, an alarm clock diffusion switch and a preset radius setting interface are arranged in the alarm clock diffusion setting interface, the preset radius can be set through the preset radius setting interface, and the alarm clock control method disclosed in the embodiment of the invention can be executed after the alarm clock diffusion switch is started.
The binding of the second electronic device is not limited to the two listed ways of binding the nearby electronic devices, and the alarm clock can be remotely controlled by binding the remote electronic device with the internet and the cloud.
In an optional implementation manner, when the state of the first electronic device does not satisfy the first preset condition, it is only required to open the alarm clock control authority without sending a ringing instruction to the second electronic device. Under the condition that the state of the first electronic equipment does not meet the first preset condition, the user can hear the alarm prompt of the first electronic equipment, so that a ringing instruction does not need to be sent to the second electronic equipment, and the workload of each second electronic equipment can be reduced. Moreover, this kind of mode still can effectively avoid a plurality of electronic equipment to concentrate when placing, if a certain electronic equipment alarm clock jingle bell, is difficult for seeking the problem that jingle bell equipment carries out control to the alarm clock from a plurality of electronic equipment.
For example: electronic equipment A, electronic equipment B and electronic equipment C are concentrated and are placed, if the alarm clock that sets for on the electronic equipment rings, electronic equipment A opens alarm clock control authority for each electronic equipment B and electronic equipment C, the user all can control the alarm clock on electronic equipment A, electronic equipment B and any one equipment of electronic equipment C this moment, need not to control the alarm clock again after seeking the ringing equipment from three electronic equipment, save time and be convenient for the operation.
Referring to fig. 3, a block diagram of an electronic device according to a third embodiment of the present invention is shown.
The electronic device 300 according to the embodiment of the present invention, as a first electronic device, includes:
the monitoring module 301 is configured to monitor a state of the first electronic device when a preset ringing time of an alarm clock is reached;
a sending module 302, configured to send a ring instruction to a bound second electronic device when the state of the first electronic device meets a first preset condition, so that the second electronic device performs alarm reminding on a user.
Optionally, the electronic device further comprises: the opening module is used for opening the alarm clock control authority for the second electronic equipment after the sending module sends the ringing instruction to the bound second electronic equipment; the first receiving module is used for receiving an alarm clock control instruction sent by the second electronic equipment; and the control module is used for responding to the control instruction and controlling the alarm clock.
Optionally, the state of the first electronic device satisfies a first preset condition, including at least one of: a control instruction of a user to the alarm clock is not received within a preset time length; the deviation between the current first position of the first electronic equipment and the target position is greater than a preset distance; and the target position is the position of the first electronic equipment in the history log at the ringing moment.
Optionally, the electronic device further comprises: the second receiving module is used for receiving first input of the target equipment identifier from a user before the sending module sends the ringing instruction to each bound second electronic equipment; and the establishing module is used for responding to the first input and establishing a binding relationship with the second electronic equipment corresponding to the target equipment identification.
Optionally, the sending module includes: the searching submodule is used for searching second electronic equipment within a preset radius under the condition that the state of the first electronic equipment meets a first preset condition; the relation establishing submodule is used for establishing a binding relation with the second electronic equipment; and the instruction sending submodule is used for sending a ringing instruction to the bound second electronic equipment so as to enable the second electronic equipment to carry out alarm reminding on the user.
The electronic device provided by the embodiment of the invention can realize each process of the alarm clock control method in each method embodiment, and is not described again to avoid repetition.
According to the electronic device provided by the embodiment of the invention, the state of the first electronic device is detected when the preset ringing time of the alarm clock is reached, and the ringing instruction is sent to the bound second electronic device when the state of the first electronic device meets the first preset condition, so that the second electronic device can remind the user of the alarm clock.
Example four
Referring to fig. 4, a block diagram of an electronic device according to a fourth embodiment of the present invention is shown.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device 400 for implementing various embodiments of the present invention, where the electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 4 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 may be configured to monitor a state of the first electronic device when a preset ringing time of the alarm clock is reached; and sending a ringing instruction to the bound second electronic equipment under the condition that the state of the first electronic equipment meets a first preset condition so as to enable the second electronic equipment to alarm and remind a user.
According to the electronic device provided by the embodiment of the invention, the state of the first electronic device is detected when the preset ringing time of the alarm clock is reached, and the ringing instruction is sent to the bound second electronic device when the state of the first electronic device meets the first preset condition, so that the second electronic device can remind the user of the alarm clock.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 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. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 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 401 in case of the phone call mode.
The electronic device 400 also includes at least one sensor 405, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the electronic apparatus 400 is moved to the ear. Display panel 401 is the flexible display screen, and the flexible display screen is including the screen base, liftable module array and the flexible screen that superpose the setting in proper order. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 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 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, 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 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 408 is an interface for connecting an external device to the electronic apparatus 400. 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 408 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 electronic apparatus 400 or may be used to transmit data between the electronic apparatus 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 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 409 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 410 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the electronic device. Processor 410 may include one or more processing units; preferably, the processor 410 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 410.
The electronic device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 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 electronic device 400 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the above-mentioned alarm clock control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
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 alarm clock control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, 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 (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 (6)

1. An alarm clock control method is applied to first electronic equipment, and is characterized by comprising the following steps:
monitoring the state of the first electronic equipment when the preset ringing time of the alarm clock is reached;
sending a ringing instruction to the bound second electronic equipment under the condition that the state of the first electronic equipment meets a first preset condition so that the second electronic equipment can carry out alarm reminding on a user;
the state of the first electronic device meets a first preset condition, and the method comprises the following steps:
the deviation between the current first position of the first electronic equipment and the target position is greater than a preset distance; the target position is the position of the first electronic device in the history log at the ringing moment, and the target position is determined by the following method: analyzing the position of the first electronic equipment when the alarm clock time rings each time based on the historical log; screening out the position with the highest occurrence frequency from all the positions as the target position;
wherein, under the condition that the state of first electronic equipment satisfies first preset condition, send the ringing instruction to the second electronic equipment who binds to make second electronic equipment carry out the alarm clock to the user and remind, include:
searching second electronic equipment within a preset radius under the condition that the state of the first electronic equipment meets a first preset condition;
establishing a binding relationship with the second electronic device;
sending a ringing instruction to the bound second electronic device so that the second electronic device carries out alarm reminding on a user;
wherein before sending the ring instruction to the bound second electronic device, the method further comprises:
receiving a first input of a target device identification by a user;
and responding to the first input, and establishing a binding relationship with the second electronic equipment corresponding to the target equipment identification.
2. The method of claim 1, wherein after the step of sending a ring instruction to the bound second electronic device, the method further comprises:
opening an alarm clock control authority for the second electronic equipment;
receiving an alarm clock control instruction sent by the second electronic equipment;
and responding to the control instruction, and controlling the alarm clock.
3. An electronic device as a first electronic device, comprising:
the monitoring module is used for monitoring the state of the first electronic equipment when the preset ringing time of the alarm clock is reached;
the sending module is used for sending a ringing instruction to the bound second electronic equipment under the condition that the state of the first electronic equipment meets a first preset condition so that the second electronic equipment can carry out alarm reminding on a user;
the state of the first electronic device meets a first preset condition, and the method comprises the following steps:
the deviation between the current first position of the first electronic equipment and the target position is greater than a preset distance; the target position is the position of the first electronic device in the history log at the ringing moment, and the target position is determined by the following method: analyzing the position of the first electronic equipment when the alarm clock time rings each time based on the historical log; screening out the position with the highest occurrence frequency from all the positions as the target position;
wherein the sending module comprises:
the searching submodule is used for searching second electronic equipment within a preset radius under the condition that the state of the first electronic equipment meets a first preset condition;
the relation establishing submodule is used for establishing a binding relation with the second electronic equipment;
the instruction sending submodule is used for sending a ringing instruction to the bound second electronic equipment so that the second electronic equipment can carry out alarm reminding on a user;
wherein the electronic device further comprises:
the second receiving module is used for receiving a first input of a target device identifier from a user before the sending module sends a ringing instruction to the bound second electronic device;
and the establishing module is used for responding to the first input and establishing a binding relationship with the second electronic equipment corresponding to the target equipment identification.
4. The electronic device of claim 3, further comprising:
the opening module is used for opening the alarm clock control authority for the second electronic equipment after the sending module sends the ringing instruction to the bound second electronic equipment;
the first receiving module is used for receiving an alarm clock control instruction sent by the second electronic equipment;
and the control module is used for responding to the control instruction and controlling the alarm clock.
5. An electronic device, characterized in that the electronic device comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the alarm clock control method according to any one of claims 1-2.
6. 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 alarm clock control method according to any one of claims 1-2.
CN202010324223.9A 2020-04-22 2020-04-22 Alarm clock control method and electronic equipment Active CN111541817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010324223.9A CN111541817B (en) 2020-04-22 2020-04-22 Alarm clock control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010324223.9A CN111541817B (en) 2020-04-22 2020-04-22 Alarm clock control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111541817A CN111541817A (en) 2020-08-14
CN111541817B true CN111541817B (en) 2022-02-01

Family

ID=71975263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010324223.9A Active CN111541817B (en) 2020-04-22 2020-04-22 Alarm clock control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111541817B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503834A (en) * 2014-12-29 2015-04-08 联想(北京)有限公司 Information handling method and first electronic device
CN106332031A (en) * 2016-08-18 2017-01-11 中国联合网络通信集团有限公司 Method and device for controlling call transfer
CN107453779A (en) * 2017-09-06 2017-12-08 惠州Tcl移动通信有限公司 A kind of multi-mode alarm clock calling control method, mobile terminal and storage medium
CN109995933A (en) * 2019-01-31 2019-07-09 维沃移动通信有限公司 The method and terminal device of the alarm clock of controlling terminal equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110230209A1 (en) * 2010-03-22 2011-09-22 Dsp Group Ltd. Method and Mobile Device for Automatic Activation of Applications
KR101821456B1 (en) * 2015-09-09 2018-01-23 라인 가부시키가이샤 System and method for providing notice according to location secession
KR102198778B1 (en) * 2016-09-09 2021-01-05 후아웨이 테크놀러지 컴퍼니 리미티드 Method, apparatus and mobile terminal associating notification message

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503834A (en) * 2014-12-29 2015-04-08 联想(北京)有限公司 Information handling method and first electronic device
CN106332031A (en) * 2016-08-18 2017-01-11 中国联合网络通信集团有限公司 Method and device for controlling call transfer
CN107453779A (en) * 2017-09-06 2017-12-08 惠州Tcl移动通信有限公司 A kind of multi-mode alarm clock calling control method, mobile terminal and storage medium
CN109995933A (en) * 2019-01-31 2019-07-09 维沃移动通信有限公司 The method and terminal device of the alarm clock of controlling terminal equipment

Also Published As

Publication number Publication date
CN111541817A (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN107734175B (en) Notification message prompting method and mobile terminal
CN110062105B (en) Interface display method and terminal equipment
CN109379484B (en) Information processing method and terminal
CN109995933B (en) Method for controlling alarm clock of terminal equipment and terminal equipment
CN111130989B (en) Information display and sending method and electronic equipment
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN108391008B (en) Message reminding method and mobile terminal
CN110096203B (en) Screenshot method and mobile terminal
CN109684825B (en) Authority management method and terminal equipment
CN111124706A (en) Application program sharing method and electronic equipment
CN110806832A (en) Parameter adjusting method and electronic equipment
CN111107223B (en) Message processing method and electronic equipment
CN108009031B (en) Application program control method and mobile terminal
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN111683171A (en) Audio output method and electronic equipment
CN111131607A (en) Information sharing method, electronic equipment and computer readable storage medium
CN111124569A (en) Application sharing method, electronic equipment and computer readable storage medium
CN109005297B (en) Display method of navigation application and mobile terminal
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN108520760B (en) Voice signal processing method and terminal
CN108307048B (en) Message output method and device and mobile terminal
CN111526248B (en) Audio output mode switching method and electronic equipment
CN111309392B (en) Equipment control method and electronic equipment
CN109992941B (en) Authority management method and terminal equipment
CN109660657B (en) Application program control method and device

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