CN109361821A - A kind of method and mobile terminal controlling alarm clock - Google Patents

A kind of method and mobile terminal controlling alarm clock Download PDF

Info

Publication number
CN109361821A
CN109361821A CN201811459847.0A CN201811459847A CN109361821A CN 109361821 A CN109361821 A CN 109361821A CN 201811459847 A CN201811459847 A CN 201811459847A CN 109361821 A CN109361821 A CN 109361821A
Authority
CN
China
Prior art keywords
mobile terminal
destination mobile
alarm clock
change information
vehicles
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.)
Pending
Application number
CN201811459847.0A
Other languages
Chinese (zh)
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 CN201811459847.0A priority Critical patent/CN109361821A/en
Publication of CN109361821A publication Critical patent/CN109361821A/en
Pending legal-status Critical Current

Links

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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

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 discloses a kind of methods and mobile terminal for controlling alarm clock, are related to field of terminal technology, to solve the problems, such as that existing alarm clock function is inflexible.This method comprises: obtaining the state change information of destination mobile terminal before the timing instant for reaching alarm clock, the state change information is for determining whether the destination mobile terminal is located at the vehicles;In the case where determining that the destination mobile terminal is located on the vehicles, alarm clock closing is controlled.The program is applied particularly to be automatically closed in the scene of alarm clock.

Description

A kind of method and mobile terminal controlling alarm clock
Technical field
The present embodiments relate to field of terminal technology more particularly to a kind of methods and mobile terminal for controlling alarm clock.
Background technique
With the continuous development of terminal technology, mobile terminal using more and more extensive.Wherein, the alarm clock function of mobile terminal One of essential function in people's life can be already known to.
Alarm clock is commonly used to remind user to get up working or processing backlog, however user may be in alarm clock jingle bell sometimes Before, on the road for driving to go to work or on the road for processing backlog of driving, if alarm clock is rung at this time, Yong Huxu It goes to turn off alarm clock, and will disperse the attention of driver in this way, it is dangerous to may result in driving.Therefore, existing alarm clock Function is inflexible.
Summary of the invention
The embodiment of the present invention provides a kind of method and mobile terminal for controlling alarm clock, inadequate to solve existing alarm clock function Flexible problem.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of methods for controlling alarm clock, this method comprises:
Before the timing instant for reaching alarm clock, the state change information of destination mobile terminal is obtained, state change letter Breath is for determining whether the destination mobile terminal is located at the vehicles;
In the case where determining that the destination mobile terminal is located on the vehicles, alarm clock closing is controlled.
Second aspect, the embodiment of the invention provides a kind of destination mobile terminal, which includes: acquisition mould Block and control module;
The acquisition module, for before the timing instant for reaching alarm clock, obtaining the state change letter of destination mobile terminal Breath, the state change information is for determining whether the destination mobile terminal is located at the vehicles;
The control module, it is noisy in the case where determining that the destination mobile terminal is located on the vehicles, controlling this Clock is closed.
The third aspect the embodiment of the invention provides a kind of mobile terminal, including processor, memory and is stored in this and deposits On reservoir and the computer program that can run on the processor, such as first is realized when which is executed by the processor The step of method of control alarm clock in aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage mediums Computer program is stored in matter, and the method such as the control alarm clock in first aspect is realized when which is executed by processor The step of.
In embodiments of the present invention, it is mobile eventually to obtain target before the timing instant for reaching alarm clock for destination mobile terminal The state change information at end, the state change information is for determining whether the destination mobile terminal is located at the vehicles;True In the case that the fixed destination mobile terminal is located on the vehicles, alarm clock closing is controlled.Then with this solution, according to shape When state change information determines that destination mobile terminal is located on the vehicles (such as user is in driving procedure), it can close in time Alarm clock further can be with so as to avoid user from driving unsafe problem caused by alarm clock is taken sb's mind off sth because turning off Solve the problems, such as that existing alarm clock function is inflexible.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention;
Fig. 2 is one of the flow chart of method of control alarm clock provided in an embodiment of the present invention;
Fig. 3 is the two of the flow chart of the method for control alarm clock provided in an embodiment of the present invention;
Fig. 4 is the three of the flow chart of the method for control alarm clock provided in an embodiment of the present invention;
Fig. 5 is the four of the flow chart of the method for control alarm clock provided in an embodiment of the present invention;
Fig. 6 is one of the structural schematic diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 7 is the second structural representation of mobile terminal provided in an embodiment of the present invention;
Fig. 8 is the third structural representation of mobile terminal provided in an embodiment of the present invention;
Fig. 9 is the four of the structural schematic diagram of mobile terminal provided in an embodiment of the present invention;
Figure 10 is the hardware schematic of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Term " first ", " second ", " third " and " the 4th " in description and claims of this specification etc. are to use In the different object of difference, rather than it is used for the particular order of description object.For example, the first input, the second input, third input With the particular order that the 4th input etc. is for distinguishing different inputs, rather than for describe to input.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This Be described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport Related notion is being presented in specific ways.
In the description of the embodiment of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or more, For example, multiple processing units refer to two or more processing unit;Multiple element refers to two or more Element etc..
In the description of the embodiment of the present invention, unless otherwise indicated, " being less than or equal to " be could alternatively be " being less than ", " small In " it could alternatively be " being less than or equal to ", " being greater than or equal to " could alternatively be " being greater than ", and " being greater than ", which could alternatively be, " to be greater than Or be equal to ", that is to say, that the range where " being equal to " determines according to actual conditions, the embodiment of the present invention are not construed as limiting.
The embodiment of the present invention provide it is a kind of control alarm clock method, destination mobile terminal reach alarm clock timing instant it Before, obtain the state change information of destination mobile terminal, the state change information for determine the destination mobile terminal whether position In on the vehicles;In the case where determining that the destination mobile terminal is located on the vehicles, alarm clock closing is controlled.Then lead to The program is crossed, is determining that destination mobile terminal is located on the vehicles that (such as user is in driving procedure according to state change information In) when, alarm clock can be closed, in time so as to avoid user unsafe because turning off driving caused by alarm clock is taken sb's mind off sth Problem further can solve the inflexible problem of existing alarm clock function.
Below by taking Android operation system as an example, the method for introducing control alarm clock provided in an embodiment of the present invention is applied Software environment.
As shown in Figure 1, being a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention.Scheming In 1, the framework of Android operation system includes 4 layers, be respectively as follows: application layer, application framework layer, system Runtime Library layer and Inner nuclear layer (is specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation for the frame for abiding by application program In the case where principle, some application programs are developed based on application framework layer.
System Runtime Library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour As system it is provided needed for all kinds of resources.Android operation system running environment is used to provide software loop for Android operation system Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1 The system architecture of operating system, the software program of the method for control alarm clock provided in an embodiment of the present invention is realized in exploitation, to make The method for obtaining the control alarm clock can be run based on Android operation system as shown in Figure 1.I.e. processor or terminal can lead to It crosses and runs the method that the software program realizes control alarm clock provided in an embodiment of the present invention in Android operation system.
Mobile terminal in the embodiment of the present invention can be mobile phone, tablet computer, laptop, palm PC, vehicle-mounted Terminal, wearable device, Ultra-Mobile PC (ultra-mobile personal computer, UMPC), online This or personal digital assistant (personal digital assistant, PDA) etc., the embodiment of the present invention does not limit specifically It is fixed.
The executing subject of the method for control alarm clock provided in an embodiment of the present invention can be above-mentioned mobile terminal, can also be with It, specifically can be according to actual use need for the functional module and/or functional entity that can be realized this method in the mobile terminal Ask determining, the embodiment of the present invention is not construed as limiting.It is noisy to control provided in an embodiment of the present invention below by taking destination mobile terminal as an example The method of clock is illustratively illustrated.
Refering to what is shown in Fig. 2, this method may include following the embodiment of the invention provides a kind of method for controlling alarm clock Step 201- step 202.
Step 201, reach alarm clock timing instant before, destination mobile terminal obtain destination mobile terminal state become Change information.
The state change information is for determining whether the destination mobile terminal is located at the vehicles.
Illustratively, can be reach alarm clock timing instant (i.e. preset alarm clock output prompting message when Carve, such as at the time of alarm clock starts jingle bell) before preset duration in (for example, 30 minutes), obtain the shape of destination mobile terminal State change information.
In embodiments of the present invention, the type of prompting message can for jingle bell, shake and display the prompt box at least One seed type.Specifically, the type of the prompting message of terminal output can mention in actual application for jingle bell, vibration, display Show frame, jingle bell and shakes, jingle bell and displays the prompt box, shakes and display the prompt box, jingle bell and vibration and displays the prompt box Any one.
Optionally, which includes at least one of the following: the network connection variation letter of the destination mobile terminal Breath, the change rate of jitter curve of the gyro sensor of the destination mobile terminal, the network of destination mobile terminal detection are believed Number change in signal strength rate.
Wherein, the network connection change information of the destination mobile terminal can be destination mobile terminal from a kind of network connection Become another network connection;The change rate of the jitter curve of the gyro sensor of the destination mobile terminal can be the target The change rate of (pitching) data and curves in the data and curves of the gyro sensor of mobile terminal at shake;The target The change in signal strength rate of the network signal of mobile terminal detection can be the letter of its access base station of destination mobile terminal detection The change rate of number intensity variation curve.
Optionally, which can also include that change in displacement rate, that is, change in displacement of destination mobile terminal is fast Slowly.The state change information can also include others, determine that the embodiment of the present invention does not limit with specific reference to actual use demand It is fixed.
Destination mobile terminal determines whether the destination mobile terminal is located at the vehicles according to the state change information On.In the case where destination mobile terminal determines that the destination mobile terminal is located on the vehicles, following steps is executed 202, in the case where destination mobile terminal determines that the destination mobile terminal is not located on the vehicles, which is not carried out Processing.
Step 202, in the case where determining that the destination mobile terminal is located on the vehicles, destination mobile terminal control The alarm clock is closed.
Determine that the destination mobile terminal is located on the vehicles according to the state change information in destination mobile terminal In the case of, destination mobile terminal controls alarm clock closing, and when making to reach the timing instant of alarm clock, alarm clock no longer exports prompting letter Breath.
Illustratively, in conjunction with Fig. 2, as shown in figure 3, before step 202, control alarm clock provided in an embodiment of the present invention Method can also include the steps that following 203- steps 205.
Step 203, destination mobile terminal judge whether the state change information meets goal condition.
Wherein, which includes at least one of the following: the network connection change information of mobile terminal by first network Connection become target network connection, mobile terminal gyro sensor jitter curve change rate in the first range, with And the change in signal strength rate of the network signal of mobile terminal detection is in the second range;The target network is connected as mobile terminal The bluetooth connection established between target device, the target device are the equipment on the vehicles that user drives.
Illustratively, when state change information includes the network connection change information of the destination mobile terminal, target item Part includes that the network connection change information of mobile terminal becomes target network connection from first network connection;In state change information When the change rate of the jitter curve of the gyro sensor including the destination mobile terminal, goal condition includes the top of mobile terminal The change rate of the jitter curve of spiral shell instrument sensor is in the first range;It include destination mobile terminal detection in state change information Network signal change in signal strength rate when, goal condition include mobile terminal detection network signal change in signal strength Rate is in the second range.
Illustratively, first network connection can be wifi connection, 4G network connection, bluetooth connection (mobile terminal and shifting Bluetooth connection between dynamic terminal), hot spot connection etc., determine that the embodiment of the present invention does not limit with specific reference to actual use demand It is fixed.Target network connection is on-vehicle Bluetooth connection.For example, if the network connection change information of destination mobile terminal is connected by wifi Become on-vehicle Bluetooth connection, it is determined that state change information meets goal condition, is otherwise unsatisfactory for.
Illustratively, when the first range is located on the vehicles for the gyro sensor of mobile terminal, gyro sensors Range where the change rate of the jitter curve of device, the first range can be preset, be also possible to obtain in real time, different The vehicles may be different, and the specific value of the first range is determined according to actual use demand, and the embodiment of the present invention is not construed as limiting.If The change rate of the jitter curve of the gyro sensor of destination mobile terminal is in the first range, it is determined that state change information is full Foot-eye condition, is otherwise unsatisfactory for.
Illustratively, when the second range is that mobile terminal is located on the vehicles, the signal strength of the network signal of detection Range where change rate, the second range can be preset, be also possible to obtain in real time, different networks (base station) can Can be different, the specific value of the second range is determined according to actual use demand, and the embodiment of the present invention is not construed as limiting.If target is mobile eventually Hold the change in signal strength rate of the network signal of detection in the second range, it is determined that state change information meets goal condition, Otherwise it is unsatisfactory for.
Illustratively, when the state change information includes the change in displacement rate of destination mobile terminal, goal condition is mesh The change in displacement rate of mobile terminal is marked within the scope of third, when third range is that mobile terminal is located on the vehicles, detection Range where the change in displacement rate of destination mobile terminal, third range can be preset, be also possible to obtain in real time, no The same vehicles may be different, and the specific value of third range is determined according to actual use demand, and the embodiment of the present invention does not limit It is fixed.If the change in displacement rate of destination mobile terminal is within the scope of third, it is determined that state change information meets goal condition, otherwise It is unsatisfactory for.
In the case where the state change information meets goal condition, following steps 204 is executed;Believe in the state change In the case that breath is unsatisfactory for the goal condition, following steps 205 is executed.
Step 204, destination mobile terminal determine that the destination mobile terminal is located on the vehicles.
In the case where the state change information meets goal condition, determine that the destination mobile terminal is located at the vehicles On.
Step 205, destination mobile terminal determine that the destination mobile terminal is not located on the vehicles.
In the case where the state change information is unsatisfactory for the goal condition, determine that the destination mobile terminal is not located at the friendship On logical tool.
It can quickly determine whether the destination mobile terminal is located on the vehicles in this way, user's body can be promoted It tests.
Illustratively, in conjunction with Fig. 3, as shown in figure 4, after step 202, control alarm clock provided in an embodiment of the present invention Method can also include the steps that following 206.
Step 206, destination mobile terminal export prompt information, and the prompt information is for prompting user's alarm clock to be turned off.
Prompt information can be speech prompt information, be also possible to pop-up prompt information, need with specific reference to actual use It determines, the embodiment of the present invention is not construed as limiting.
Specific prompt information can be " small V has helped you to close alarm clock, please focus on driving ", " detect You are driving, and close alarm clock for you " etc., with specific reference to actual use, it needs to be determined that, the embodiment of the present invention is not construed as limiting.
It is more humane in this way, facilitate user to know that the event of alarm clock is automatically closed in this, user experience can be improved.
Illustratively, in conjunction with Fig. 4, as shown in figure 5, before step 201, control alarm clock provided in an embodiment of the present invention Method can also include the steps that following 207- steps 208.
Step 207, in the case where showing the set interface of the alarm clock, destination mobile terminal receives the first defeated of user Enter.
First input can be clicking operation of the user in the set interface of alarm clock, or user sets alarm clock Set the slide on interface, or other feasibilities operation of the user in the set interface of alarm clock, it specifically can be with Determine that the embodiment of the present invention is not construed as limiting according to actual use demand.
Illustratively, above-mentioned clicking operation can be single-click operation, can be single-click operation (long-pressing or short-press), double-click behaviour Work, clicking operation of arbitrary number of times etc..Above-mentioned slide can for any direction slide, such as upward sliding, Slide downward is slided to the left or is slided to the right.
Step 208, in response to first input, destination mobile terminal enables the automatic closing function of the alarm clock.
The automatic closing function of alarm clock specifically refers to: before the timing instant for reaching alarm clock, the destination mobile terminal period Property acquisition destination mobile terminal state change information.In destination mobile terminal according to state change information, the target is determined In the case that mobile terminal is located on the vehicles, destination mobile terminal controls alarm clock closing;In destination mobile terminal root According to state change information, in the case where determining that the destination mobile terminal is not located on the vehicles, continue periodically to obtain The state change information of destination mobile terminal, if determining always, the destination mobile terminal is not located on the vehicles, arrives Up to the timing instant of alarm clock, alarm clock exports prompting message.
User can open or close the automatic closing function of alarm clock, user's body can be improved according to self-demand in this way It tests.
The embodiment of the invention provides a kind of methods for controlling alarm clock, and destination mobile terminal is in the timing instant for reaching alarm clock Before, the state change information of destination mobile terminal is obtained, whether the state change information is for determining the destination mobile terminal On the vehicles;In the case where determining that the destination mobile terminal is located on the vehicles, alarm clock closing is controlled.Then With this solution, determining that destination mobile terminal is located on the vehicles that (such as user is in drive the cross according to state change information In journey) when, alarm clock can be closed, in time so as to avoid user dangerous because turning off driving caused by alarm clock is taken sb's mind off sth The problem of, it further can solve the inflexible problem of existing alarm clock function.
As shown in fig. 6, the embodiment of the present invention provides a kind of mobile terminal 120, which includes: acquisition module 121 and control module 122;
The acquisition module 121, for obtaining the state change of destination mobile terminal before the timing instant for reaching alarm clock Information, the state change information is for determining whether the destination mobile terminal is located at the vehicles;
The control module 122, in the case where determining that the destination mobile terminal is located on the vehicles, control should Alarm clock is closed.
Optionally, which includes at least one of the following: the network connection variation letter of the destination mobile terminal Breath, the change rate of jitter curve of the gyro sensor of the destination mobile terminal, the network of destination mobile terminal detection are believed Number change in signal strength rate.
Optionally, in conjunction with Fig. 6, as shown in fig. 7, the destination mobile terminal 120 further include: determining module 123;The determination mould Block 123, for meeting goal condition in the state change information after the state change information of the acquisition destination mobile terminal In the case where, determine that the destination mobile terminal is located on the vehicles;The goal condition is unsatisfactory in the state change information In the case where, determine that the destination mobile terminal is not located on the vehicles;Wherein, which includes following at least one : the network connection change information of mobile terminal is become the gyroscope of target network connection, mobile terminal from first network connection The change rate of the jitter curve of sensor in the first range and mobile terminal detection network signal change in signal strength Rate is in the second range;The target network is connected as the bluetooth connection established between mobile terminal and target device, which sets Equipment on the standby vehicles driven for user.
Optionally, in conjunction with Fig. 7, as shown in figure 8, the destination mobile terminal 120 further include: output module 124;The output mould Block 124, for exporting prompt information, the prompt information is for prompting user's alarm clock to close after the closing of the control alarm clock It closes.
Optionally, in conjunction with Fig. 8, as shown in figure 9, the destination mobile terminal 120 further include: receiving module 125 and enabling mould Block 126;The receiving module 125, for showing the alarm clock before the state change information of the acquisition destination mobile terminal In the case where set interface, the first input of user is received;The enabling module 126, for being received in response to the receiving module 125 This first input, enable the automatic closing function of the alarm clock.
Mobile terminal provided in an embodiment of the present invention can be realized in above method embodiment one of any institute of Fig. 2 to Fig. 5 The each process shown, to avoid repeating, details are not described herein again.
The embodiment of the invention provides a kind of mobile terminal, destination mobile terminal before the timing instant for reaching alarm clock, The state change information of destination mobile terminal is obtained, the state change information is for determining whether the destination mobile terminal is located at friendship On logical tool;In the case where determining that the destination mobile terminal is located on the vehicles, alarm clock closing is controlled.Then by being somebody's turn to do Scheme is determining that destination mobile terminal is located on the vehicles (such as user is in driving procedure) according to state change information When, alarm clock can be closed, in time so as to avoid user from driving unsafe ask caused by alarm clock is taken sb's mind off sth because turning off Topic, further can solve the inflexible problem of existing alarm clock function.
A kind of hardware structural diagram of Figure 10 mobile terminal of each embodiment to realize the present invention.As shown in Figure 10, The mobile terminal 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, with And the equal components of power supply 111.It will be understood by those skilled in the art that mobile terminal structure shown in Figure 10 is not constituted to movement The restriction of terminal, mobile terminal may include perhaps combining certain components or different than illustrating more or fewer components Component layout.In embodiments of the present invention, mobile terminal includes but is not limited to mobile phone, tablet computer, laptop, palm electricity Brain, vehicle mobile terminals, wearable device and pedometer etc..
Wherein, processor 110, the state for before the timing instant for reaching alarm clock, obtaining destination mobile terminal become Change information, the state change information is for determining whether the destination mobile terminal is located at the vehicles;Determining target shifting In the case that dynamic terminal is located on the vehicles, alarm clock closing is controlled.
Mobile terminal provided in an embodiment of the present invention, destination mobile terminal obtain before the timing instant for reaching alarm clock The state change information of destination mobile terminal, the state change information is for determining whether the destination mobile terminal is located at traffic work On tool;In the case where determining that the destination mobile terminal is located on the vehicles, alarm clock closing is controlled.Then pass through the party Case, when determining that destination mobile terminal is located on the vehicles (such as user is in driving procedure) according to state change information, Alarm clock can be closed in time, so as to avoid user from driving unsafe problem caused by alarm clock is taken sb's mind off sth because turning off, It further can solve the inflexible problem of existing alarm clock function.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 102 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 103 can be received by radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 100 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 103 includes loudspeaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 101 is converted in the case where telephone calling model.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 include touch panel 1071 and Other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receiving area It manages the order that device 110 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touching The type for touching event provides corresponding visual output on display panel 1061.Although in Figure 10, touch panel 1071 and aobvious Show that panel 1061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 1071 and display panel 1061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 108 is the interface that external device (ED) is connect with mobile terminal 100.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 100 or can be used in 100 He of mobile terminal Data are transmitted between external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Optionally, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, optionally, power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 100 includes some unshowned functional modules, details are not described herein.
Optionally, the embodiment of the present invention also provides a kind of mobile terminal, may include above-mentioned processor as shown in Figure 10 110, memory 109, and it is stored in the computer program that can be run on memory 109 and on the processor 110, the calculating Realize that Fig. 2 to Fig. 5 in above method embodiment controls the side of alarm clock shown in one of any when machine program is executed by processor 110 Each process of method, and identical technical effect can be reached, to avoid repeating, details are not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, realized when which is executed by processor in above method embodiment Fig. 2 to Fig. 5 it is one of any shown in Each process of the method for alarm clock is controlled, and identical technical effect can be reached, to avoid repeating, details are not described herein again.Wherein, The computer readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a mobile terminal (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (11)

1. a kind of method for controlling alarm clock, which is characterized in that the described method includes:
Before the timing instant for reaching alarm clock, the state change information of destination mobile terminal, the state change information are obtained For determining whether the destination mobile terminal is located at the vehicles;
In the case where determining that the destination mobile terminal is located on the vehicles, controls the alarm clock and close.
2. the method according to claim 1, wherein the state change information includes at least one of the following: institute State the change of the jitter curve of the network connection change information of destination mobile terminal, the gyro sensor of the destination mobile terminal The change in signal strength rate for the network signal that rate, the destination mobile terminal detect.
3. according to the method described in claim 2, it is characterized in that, it is described obtain destination mobile terminal state change information it Afterwards, further includes:
In the case where the state change information meets goal condition, determine that the destination mobile terminal is located at the traffic work On tool;
In the case where the state change information is unsatisfactory for the goal condition, determine that the destination mobile terminal is not located at institute It states on the vehicles;
Wherein, the goal condition includes at least one of the following: that the network connection change information of mobile terminal is connected by first network Connect become target network connection, mobile terminal gyro sensor jitter curve change rate in the first range, and The change in signal strength rate of the network signal of mobile terminal detection is in the second range;The target network is connected as mobile terminal The bluetooth connection established between target device, the target device are the equipment on the vehicles that user drives.
4. the method according to claim 1, wherein after the control alarm clock is closed, further includes:
Prompt information is exported, the prompt information is for prompting user's alarm clock to be turned off.
5. method according to claim 1-4, which is characterized in that the state for obtaining destination mobile terminal becomes Before change information, further includes:
In the case where showing the set interface of the alarm clock, the first input of user is received;
In response to first input, the automatic closing function of the alarm clock is enabled.
6. a kind of destination mobile terminal, which is characterized in that the destination mobile terminal includes: to obtain module and control module;
The acquisition module, for obtaining the state change information of destination mobile terminal before the timing instant for reaching alarm clock, The state change information is for determining whether the destination mobile terminal is located at the vehicles;
The control module, for controlling institute in the case where determining that the destination mobile terminal is located on the vehicles State alarm clock closing.
7. destination mobile terminal according to claim 6, which is characterized in that the state change information include it is following at least One: the shake of the network connection change information, the gyro sensor of the destination mobile terminal of the destination mobile terminal The change in signal strength rate for the network signal that the change rate of curve, the destination mobile terminal detect.
8. destination mobile terminal according to claim 7, which is characterized in that the destination mobile terminal further include: determine Module;
The determining module, for it is described obtain destination mobile terminal state change information after, in the state change In the case that information meets goal condition, determine that the destination mobile terminal is located on the vehicles;Become in the state In the case that change information is unsatisfactory for the goal condition, determine that the destination mobile terminal is not located on the vehicles;
Wherein, the goal condition includes at least one of the following: that the network connection change information of mobile terminal is connected by first network Connect become target network connection, mobile terminal gyro sensor jitter curve change rate in the first range, and The change in signal strength rate of the network signal of mobile terminal detection is in the second range;The target network is connected as mobile terminal The bluetooth connection established between target device, the target device are the equipment on the vehicles that user drives.
9. destination mobile terminal according to claim 6, which is characterized in that the destination mobile terminal further include: output Module;
The output module, for exporting prompt information, the prompt information is used for after the control alarm clock is closed Prompt user's alarm clock is turned off.
10. according to the described in any item destination mobile terminals of claim 6-9, which is characterized in that the destination mobile terminal is also It include: receiving module and enabling module;
The receiving module, for showing the alarm clock before the state change information for obtaining destination mobile terminal Set interface in the case where, receive user first input;
The enabling module, for enabling the automatic of the alarm clock in response to received first input of the receiving module Closing function.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in control alarm clock method the step of.
CN201811459847.0A 2018-11-30 2018-11-30 A kind of method and mobile terminal controlling alarm clock Pending CN109361821A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811459847.0A CN109361821A (en) 2018-11-30 2018-11-30 A kind of method and mobile terminal controlling alarm clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811459847.0A CN109361821A (en) 2018-11-30 2018-11-30 A kind of method and mobile terminal controlling alarm clock

Publications (1)

Publication Number Publication Date
CN109361821A true CN109361821A (en) 2019-02-19

Family

ID=65330500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811459847.0A Pending CN109361821A (en) 2018-11-30 2018-11-30 A kind of method and mobile terminal controlling alarm clock

Country Status (1)

Country Link
CN (1) CN109361821A (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640724A (en) * 2009-08-21 2010-02-03 北京协进科技发展有限公司 Method and mobile phone for controlling mobile phone map
CN102075297A (en) * 2011-01-25 2011-05-25 北京航空航天大学 Mobility-prediction-based wireless fidelity (WiFi) speed self-adapting selecting method
CN102325304A (en) * 2011-09-16 2012-01-18 中兴通讯股份有限公司 Location information transmission method, location information transmission device and location information transmission system
CN203840326U (en) * 2014-03-12 2014-09-17 北京汽车股份有限公司 A vehicle-mounted radio set control system and an automobile
CN104967746A (en) * 2015-07-10 2015-10-07 上海斐讯数据通信技术有限公司 Method and system for changing the state of mobile phone by using directional sensing
CN105227747A (en) * 2014-06-11 2016-01-06 中国电信股份有限公司 Based on the methods, devices and systems that transport condition controls call forwarding
KR101606048B1 (en) * 2009-10-20 2016-03-24 엘지전자 주식회사 Mobile terminal and control method thereof
CN105516917A (en) * 2014-09-30 2016-04-20 小米科技有限责任公司 Method and device for realizing safe driving
CN105744461A (en) * 2014-12-10 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Communication signal prompting method and apparatus
CN106303053A (en) * 2016-08-22 2017-01-04 惠州Tcl移动通信有限公司 A kind of method of the automatic vehicle-mounted pattern of startup mobile terminal
CN106453891A (en) * 2016-10-10 2017-02-22 佛山职业技术学院 Anti-disturbance control method and driving mode for mobile communication terminal
CN106469057A (en) * 2016-08-31 2017-03-01 维沃移动通信有限公司 A kind of method cancelling alarm clock and mobile terminal
CN106534593A (en) * 2016-12-30 2017-03-22 深圳天珑无线科技有限公司 Alarm clock reminding method and mobile terminal
CN106856498A (en) * 2016-06-27 2017-06-16 芮锶钶(上海)网络技术有限公司 A kind of method that owner's operating motor vehicles for determining mobile communication terminal are left
CN107690034A (en) * 2017-10-27 2018-02-13 中国科学技术大学苏州研究院 Intelligent scene mode switching system and method based on environmental background sound
CN107888769A (en) * 2017-11-07 2018-04-06 广东欧珀移动通信有限公司 Scene mode starts method, apparatus and terminal
CN108418975A (en) * 2018-05-03 2018-08-17 Oppo广东移动通信有限公司 Method, apparatus, terminal and the computer readable storage medium of alarm clock calling
CN108639056A (en) * 2018-04-16 2018-10-12 Oppo广东移动通信有限公司 Driving condition detection method, device and mobile terminal

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640724A (en) * 2009-08-21 2010-02-03 北京协进科技发展有限公司 Method and mobile phone for controlling mobile phone map
KR101606048B1 (en) * 2009-10-20 2016-03-24 엘지전자 주식회사 Mobile terminal and control method thereof
CN102075297A (en) * 2011-01-25 2011-05-25 北京航空航天大学 Mobility-prediction-based wireless fidelity (WiFi) speed self-adapting selecting method
CN102325304A (en) * 2011-09-16 2012-01-18 中兴通讯股份有限公司 Location information transmission method, location information transmission device and location information transmission system
CN203840326U (en) * 2014-03-12 2014-09-17 北京汽车股份有限公司 A vehicle-mounted radio set control system and an automobile
CN105227747A (en) * 2014-06-11 2016-01-06 中国电信股份有限公司 Based on the methods, devices and systems that transport condition controls call forwarding
CN105516917A (en) * 2014-09-30 2016-04-20 小米科技有限责任公司 Method and device for realizing safe driving
CN105744461A (en) * 2014-12-10 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Communication signal prompting method and apparatus
CN104967746A (en) * 2015-07-10 2015-10-07 上海斐讯数据通信技术有限公司 Method and system for changing the state of mobile phone by using directional sensing
CN106856498A (en) * 2016-06-27 2017-06-16 芮锶钶(上海)网络技术有限公司 A kind of method that owner's operating motor vehicles for determining mobile communication terminal are left
CN106303053A (en) * 2016-08-22 2017-01-04 惠州Tcl移动通信有限公司 A kind of method of the automatic vehicle-mounted pattern of startup mobile terminal
CN106469057A (en) * 2016-08-31 2017-03-01 维沃移动通信有限公司 A kind of method cancelling alarm clock and mobile terminal
CN106453891A (en) * 2016-10-10 2017-02-22 佛山职业技术学院 Anti-disturbance control method and driving mode for mobile communication terminal
CN106534593A (en) * 2016-12-30 2017-03-22 深圳天珑无线科技有限公司 Alarm clock reminding method and mobile terminal
CN107690034A (en) * 2017-10-27 2018-02-13 中国科学技术大学苏州研究院 Intelligent scene mode switching system and method based on environmental background sound
CN107888769A (en) * 2017-11-07 2018-04-06 广东欧珀移动通信有限公司 Scene mode starts method, apparatus and terminal
CN108639056A (en) * 2018-04-16 2018-10-12 Oppo广东移动通信有限公司 Driving condition detection method, device and mobile terminal
CN108418975A (en) * 2018-05-03 2018-08-17 Oppo广东移动通信有限公司 Method, apparatus, terminal and the computer readable storage medium of alarm clock calling

Similar Documents

Publication Publication Date Title
CN107734179A (en) A kind of message prompt method, mobile terminal
CN108182896B (en) A kind of brightness detection method, device and mobile terminal
CN108920059A (en) Message treatment method and mobile terminal
CN110531904A (en) A kind of background task display methods and terminal
CN109995933A (en) The method and terminal device of the alarm clock of controlling terminal equipment
CN109543099A (en) A kind of content recommendation method and terminal device
CN108319421A (en) A kind of display triggering method and mobile terminal
CN108174037A (en) The reminding method and mobile terminal of a kind of notification message
CN109151200A (en) A kind of means of communication and mobile terminal
CN107846518A (en) A kind of navigational state switching method, mobile terminal and computer-readable recording medium
CN109947327A (en) A kind of interface inspection method, wearable device and computer readable storage medium
CN108984066A (en) A kind of application icon display methods and mobile terminal
CN109151176A (en) A kind of information acquisition method and terminal
CN109407832A (en) A kind of control method and terminal device of terminal device
CN110049486A (en) A kind of SIM card selection method and terminal device
CN108681427A (en) A kind of method and terminal device of access privilege control
CN109085963A (en) A kind of interface display method and terminal device
CN109684107A (en) A kind of information prompting method and device
CN110096203A (en) A kind of screenshot method and mobile terminal
CN113220176A (en) Display method and device based on widget, electronic equipment and readable storage medium
CN108845785A (en) A kind of display methods and terminal
CN108388335A (en) A kind of method and mobile terminal of control mobile terminal
CN108536349A (en) A kind of icon management method and mobile terminal
CN108063861A (en) The method, apparatus and mobile terminal that a kind of state is reminded
CN109327568A (en) A kind of method and mobile terminal switching camera

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190219