CN107920162A - Control method, mobile terminal and the computer-readable recording medium of alarm clock - Google Patents

Control method, mobile terminal and the computer-readable recording medium of alarm clock Download PDF

Info

Publication number
CN107920162A
CN107920162A CN201711114499.9A CN201711114499A CN107920162A CN 107920162 A CN107920162 A CN 107920162A CN 201711114499 A CN201711114499 A CN 201711114499A CN 107920162 A CN107920162 A CN 107920162A
Authority
CN
China
Prior art keywords
alarm clock
mobile terminal
user
state
facial expression
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
CN201711114499.9A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711114499.9A priority Critical patent/CN107920162A/en
Publication of CN107920162A publication Critical patent/CN107920162A/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/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • 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

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 application is suitable for field of communication technology, there is provided method, mobile terminal and the computer-readable recording medium of alarm clock are controlled, including:When detecting that mobile terminal has been held, the facial expression information of user is obtained;According to the facial expression information of the user, judge whether the user is in awake state;If the user is in awake state, whether detection alarm clock is in operating status;If the alarm clock is in operating status, the alarm clock is closed.The operation for closing alarm clock can be simplified by the application, improve the efficiency for closing alarm clock.

Description

Control method, mobile terminal and the computer-readable recording medium of alarm clock
Technical field
The application belongs to field of communication technology, more particularly to the method for control alarm clock, mobile terminal and computer-readable deposits Storage media.
Background technology
Existing mobile terminal generally all has alarm clock function, when reaching user's time set in advance by jingle bell come Wake up user.However, the X button for usually requiring when closing alarm clock to click on alarm clock interface closes alarm clock, the operating process It is complicated.
Therefore, it is necessary to a kind of new technical solution is proposed, to solve above-mentioned technical problem.
The content of the invention
In view of this, this application provides method, mobile terminal and the computer-readable recording medium of control alarm clock, with letter Change the operation for closing alarm clock, improve the efficiency for closing alarm clock.
The first aspect of the application provides a kind of method for controlling alarm clock, the described method includes:
When detecting that mobile terminal has been held, the facial expression information of user is obtained;
According to the facial expression information of the user, judge whether the user is in awake state;
If the user is in awake state, whether detection alarm clock is in operating status;
If the alarm clock is in operating status, the alarm clock is closed.
The second aspect of the application provides a kind of mobile terminal, and the mobile terminal includes:
Facial information acquisition module, for when detecting that mobile terminal has been held, obtaining the facial expression information of user;
Awake state judgment module, for the facial expression information according to the user, judges whether the user is in Awake state;
Condition monitoring module, if being in awake state for the user, whether detection alarm clock is in operation shape State;
Alarm clock closedown module, if being in operating status for the alarm clock, closes the alarm clock.
The third aspect of the application provides a kind of mobile terminal, including memory, processor and is stored in described deposit In reservoir and the computer program that can run on the processor, the processor are realized such as when performing the computer program The step of above-mentioned first aspect the method.
The fourth aspect of the application provides a kind of computer-readable recording medium, and the computer-readable recording medium is deposited Computer program is contained, is realized when the computer program is executed by processor such as the step of above-mentioned first aspect the method.
The 5th aspect of the application provides a kind of computer program product, and the computer program product includes computer Program, is realized such as the step of above-mentioned first aspect the method when the computer program is executed by one or more processors.
Therefore application scheme obtains the facial expression information of user, root when detecting that mobile terminal has been held According to the facial expression information of the user, judge whether the user is in awake state, and when in awake state, detect alarm clock Operating status whether is in, and alarm clock is closed when alarm clock is in operating status.Application scheme is by obtaining the face of user Expression information, controls alarm clock to close, so as to avoid user that alarm clock is turned off manually, simplifies according to the facial expression information of user The operation of alarm clock is closed, improves the efficiency for closing alarm clock.
Brief description of the drawings
, below will be to embodiment or description of the prior art in order to illustrate more clearly of the technical solution in the embodiment of the present application Needed in attached drawing be briefly described, it should be apparent that, drawings in the following description are only some of the application Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is that the method for the control alarm clock that the embodiment of the present application one provides realizes flow diagram;
Fig. 2 is that the method for the control alarm clock that the embodiment of the present application two provides realizes flow diagram;
Fig. 3 is the schematic diagram for the mobile terminal that the embodiment of the present application three provides;
Fig. 4 is the schematic diagram for the mobile terminal that the embodiment of the present application four provides;
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present application five provides.
Embodiment
In being described below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, to understand thoroughly the embodiment of the present application.However, it will be clear to one skilled in the art that these are specific The application can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders the description of the present application.
It should be appreciated that ought be special described by the instruction of term " comprising " use in this specification and in the appended claims Sign, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step, Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this present specification is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the application.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combinations and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the mobile terminal described in the embodiment of the present application is including but not limited to such as with the sensitive table of touch Mobile phone, laptop computer or the tablet PC in face (for example, touch-screen display and/or touch pad) etc it is other Portable set.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch pad).
In discussion below, the mobile terminal including display and touch sensitive surface is described.However, it should manage Solution, one or more of the other physical User that mobile terminal can include such as physical keyboard, mouse and/or control-rod connect Jaws equipment.
Mobile terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application Program, word-processing application, website establishment application program, disk imprinting application program, spreadsheet applications, game are answered With program, telephony application, videoconference application, email application, instant messaging applications, forging Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing should With program, digital music player application and/or video frequency player application program.
The various application programs that can be performed on mobile terminals can use at least one of such as touch sensitive surface Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick Feel the corresponding information shown in the one or more functions and terminal on surface.In this way, terminal public physical structure (for example, Touch sensitive surface) it can support the various application programs with user interface directly perceived and transparent for a user.
It is to be understood that the size of the sequence number of each step is not meant to the priority of execution sequence in the present embodiment, each process Execution sequence should determine that the implementation process without tackling the embodiment of the present application forms any restriction with its function and internal logic.
In order to illustrate technical solution described herein, illustrated below by specific embodiment.
It is that the method for control alarm clock that the embodiment of the present application one provides realizes flow diagram, which makes a noise referring to Fig. 1 The method of clock is applied to mobile terminal, and the method for the control alarm clock may comprise steps of as shown in the figure:
Step S101, when detecting that mobile terminal has been held, obtains the facial expression information of user.
In the embodiment of the present application, mobile terminal has been held (i.e. user picks up mobile terminal) detecting, can be started Camera shoots picture, and the facial expression information of user is extracted from the picture photographed.Wherein it is possible to by mobile terminal Acceleration transducer detection mobile terminal (i.e. whether user has picked up mobile terminal) whether held, such as pass through acceleration Sensor obtains the acceleration of mobile terminal, if the change of acceleration exceedes predetermined acceleration, it is determined that picks up mobile phone for user.
Starting camera can be:The placement status of mobile terminal is detected, (is shown in the front for detecting mobile terminal Screen where face) upward when, start front camera;When detecting the back side of mobile terminal upward, start rear camera.
In order to reduce the power consumption of mobile terminal, mobile terminal detect held by user when, can first detect it is mobile eventually Whether end receives the triggering command for obtaining the facial expression information of user, if receiving the triggering command, obtains user's Facial expression information.It is wherein it is possible to (mobile whole by obtaining the movement locus of mobile terminal or mobile terminal in preset time At least side at end is integrated with pressure sensor) in the grip strength that receives of pressure sensor detect whether that receiving triggering refers to Order.Specifically, when detecting that mobile terminal has been held, the movement locus of mobile terminal in preset time is obtained, if mobile whole The movement locus at end is matched with predetermined movement track, then obtains the facial expression information of user;If the movement locus of mobile terminal The movement locus of mobile terminal is mismatched or is not detected by with predetermined movement track, then does not obtain the facial expression information of user, Do not perform subsequent operation.When detecting that mobile terminal has been held, the grip strength that pressure sensor receives is obtained, if should Grip strength is more than default grip strength, then obtains the facial expression information of user;If the grip strength is less than or equal to default Grip strength, then do not obtain the facial expression information of user, do not perform subsequent operation.
Step S102, according to the facial expression information of the user, judges whether the user is in awake state.
In the embodiment of the present application, after the facial expression information of user is got, which is divided Analysis, judges that user is in also non-awake state and is in awake state (such as the state waken up completely).Specifically may be used To be the mathematical model for obtaining identifying facial expression as training data using substantial amounts of facial expression picture, according to this Whether mathematical model can calculate the facial expression information obtained in step S101, so as to judge user in sleep shape State.
Step S103, if the user is in awake state, whether detection alarm clock is in operating status.
In the embodiment of the present application, the state of alarm clock can be divided into operating status and halted state.Wherein, operating status It can refer to that alarm clock just reaches the state of ring time in jingle bell or preset time (such as 5 minutes), halted state can be with Refer to the state for closing alarm clock.The flag bit of characterization alarm clock state can be set in the terminal, such as fortune is in alarm clock During row state, the state flag bit of alarm clock is arranged to true or 1, when alarm clock is in halted state, by the state mark of alarm clock Will position is arranged to flase or 0.
Optionally, the embodiment of the present application further includes:
If the user is in non-awake state or the alarm clock is in halted state, whether the mobile terminal is detected In putting out screen state;
If detecting that the mobile terminal is in puts out screen state, the screen of the mobile terminal is lighted.
Optionally, the embodiment of the present application further includes:
If the user is in non-awake state and the alarm clock is just in jingle bell, jingle bell is kept;
When receiving the instruction for closing the alarm clock, stop jingle bell, and close the alarm clock.
In the embodiment of the present application, if detecting, user is in non-awake state and alarm clock is just in jingle bell, can not stop Jingle bell, until detecting that alarm clock (such as clicking on the X button of alarm clock) is turned off manually in user, so as to ensure to wake up user.
Step S104, if the alarm clock is in operating status, closes the alarm clock.
In the embodiment of the present application, due to when user is in awake state, being waken up without reusing alarm clock, at this time If detecting, alarm clock is in operating status, which is analyzed, if the operating status for just in jingle bell, can be with Stop jingle bell and close alarm clock, if the operating status closes alarm clock, reach jingle bell to reach ring time in preset time Not jingle bell during the time.
Optionally, described when detecting that mobile terminal has been held, obtaining the facial expression information of user includes:
When detecting that mobile terminal has been held, detect whether to have turned on the work(that alarm clock is controlled by facial expression information Energy;
The function that alarm clock is controlled by facial expression information is had turned on if detecting, obtains the facial expression of user Information.
In the embodiment of the present application, when detecting that mobile terminal has been held, user can be detected and whether had turned on pass through Facial expression information controls the function of alarm clock, if having turned on the function that alarm clock is controlled by facial expression information, detection movement Whether terminal receives the triggering command for obtaining the facial expression information of user, and the facial expression letter of user is obtained if receiving Breath;If not opening the function that alarm clock is controlled by facial expression information, no longer detect whether mobile terminal receives acquisition use The triggering command of the facial expression information at family, does not obtain the facial expression information of user yet.
The embodiment of the present application controls alarm clock by obtaining the facial expression information of user, according to the facial expression information of user Close, so as to avoid user that alarm clock is turned off manually, simplify the operation for closing alarm clock, improve the efficiency for closing alarm clock.
It is that the method for control alarm clock that the embodiment of the present application two provides realizes flow diagram, which makes a noise referring to Fig. 2 The method of clock is applied to mobile terminal, and the method for the control alarm clock may comprise steps of as shown in the figure:
Step S201, when detecting that mobile terminal has been held, obtains the facial expression information of user.
The step is identical with step S101, for details, reference can be made to the associated description of step S101, details are not described herein.
Step S202, according to the facial expression information of the user, judges whether the user is in awake state.
The step is identical with step S102, for details, reference can be made to the associated description of step S102, details are not described herein.
If in addition, the user is in non-awake state, step S203 is performed, if the user is in awake state, Then perform step S204.
Step S203, lights the screen of the mobile terminal.
In the embodiment of the present application, if detecting, the user is in non-awake state, and detecting the mobile terminal is No be in puts out screen state, if so, then lighting the screen of the mobile terminal, does not otherwise perform any operation.
Step S204, obtains the value of the state flag bit of the alarm clock.
In the embodiment of the present application, since the state flag bit of alarm clock is used to characterize the state of alarm clock, then can pass through The value for obtaining the state flag bit of alarm clock judges that alarm clock is in operating status or halted state.For example, the Status Flag of alarm clock When the value of position is the first preset value (such as true or 1), judge that alarm clock is in operating status, the value of the state flag bit of alarm clock is During the second preset value (such as flase or 0), judge that alarm clock is in halted state.
Step S205, if the value of the state flag bit of the alarm clock is the first preset value, it is determined that the alarm clock is in fortune Row state, and close the alarm clock.
In the embodiment of the present application, when alarm clock is in operating status, detection alarm clock is just to be rung in jingle bell or not up to The bell time (such as time of the ring time of user setting or delay ringing), if detecting, alarm clock just in jingle bell, stops Jingle bell, and close alarm clock;If detecting, alarm clock is not up to ring time, closes alarm clock, when reaching ring time also not into Row jingle bell.
Step S206, if the value of the state flag bit of the alarm clock is the second preset value, it is determined that the alarm clock, which is in, to stop Only state, and perform step S203.
In the embodiment of the present application, when the user is in non-awake state, detect whether the mobile terminal is in Screen state is put out, if so, then lighting the screen of the mobile terminal, does not otherwise perform any operation.
Application scheme controls alarm clock by obtaining the facial expression information of user, according to the facial expression information of user, So as to avoid user from controlling alarm clock manually, the operation of control alarm clock is simplified, improves the efficiency of control alarm clock.
Referring to Fig. 3, it is the schematic diagram for the mobile terminal that the embodiment of the present application three provides, for convenience of description, illustrate only With the relevant part of the embodiment of the present application.
The mobile terminal includes:
Facial information acquisition module 31, the facial expression for when detecting that mobile terminal has been held, obtaining user are believed Breath;
Awake state judgment module 32, for the facial expression information according to the user, judges whether the user locates In awake state;
Condition monitoring module 33, if being in awake state for the user, whether detection alarm clock is in operation State;
Alarm clock closedown module 34, if being in operating status for the alarm clock, closes the alarm clock.
Optionally, the mobile terminal further includes:
Screen state detection module 35 is put out, if being in non-awake state or the alarm clock in stopping shape for the user Whether state, then detect the mobile terminal and be in and put out screen state;
Module 36 is lighted, if putting out screen state for detecting that the mobile terminal is in, lights the mobile terminal Screen.
Optionally, the mobile terminal further includes:
Jingle bell keeps module 37, if being in non-awake state for the user and the alarm clock is just in jingle bell, keeps Jingle bell;
Processing module 38, for when receiving the instruction for closing the alarm clock, stopping jingle bell, and close the alarm clock.
Optionally, the condition monitoring module 33 includes:
Flag bit acquiring unit, the value of the state flag bit for obtaining the alarm clock;
First determination unit, if the value for the state flag bit of the alarm clock is the first preset value, it is determined that described noisy Clock is in operating status;
Second determination unit, if the value for the state flag bit of the alarm clock is the second preset value, it is determined that described noisy Clock is in halted state.
Optionally, the facial information acquisition module 31 includes:
Detection unit, passes through facial expression information for when detecting that mobile terminal has been held, detecting whether to have turned on Control the function of alarm clock;
Information acquisition unit, if having turned on the function that alarm clock is controlled by facial expression information for detecting, Obtain the facial expression information of user.
Mobile terminal provided by the embodiments of the present application can be applied in preceding method embodiment one and embodiment two, details Referring to the description of above method embodiment one and embodiment two, details are not described herein.
Fig. 4 is the schematic diagram for the mobile terminal that the embodiment of the present application four provides.The mobile terminal as depicted can wrap Include:One or more processors 401 (only show one) in figure;One or more input equipments 402 (one is only shown in figure), One or more output equipments 403 (one is only shown in figure) and memory 404.It is above-mentioned processor 401, input equipment 402, defeated Go out equipment 403 and memory 404 is connected by bus 405.Memory 404 for storing instruction, for execution deposit by processor 401 The instruction that reservoir 404 stores.Wherein:
The processor 401, for when detecting that mobile terminal has been held, obtaining the facial expression information of user;Root According to the facial expression information of the user, judge whether the user is in awake state;If the user is in awake state, Then whether detection alarm clock is in operating status;If the alarm clock is in operating status, the alarm clock is closed.
Optionally, the processor 401, if being additionally operable to, the user is in non-awake state or the alarm clock is in and stops Whether state, then detect the mobile terminal and be in and put out screen state;If detecting that the mobile terminal is in puts out screen state, point The screen of the bright mobile terminal.
Optionally, the processor 401, if being additionally operable to, the user is in non-awake state and the alarm clock is being rung Bell, then keep jingle bell;When receiving the instruction for closing the alarm clock, stop jingle bell, and close the alarm clock.
Optionally, the processor 401, the value of the state flag bit specifically for obtaining the alarm clock;If the alarm clock The value of state flag bit be the first preset value, it is determined that the alarm clock is in operating status;If the Status Flag of the alarm clock The value of position is the second preset value, it is determined that the alarm clock is in halted state.
Optionally, the processor 401, specifically for when detecting that mobile terminal has been held, detecting whether to have turned on The function of alarm clock is controlled by facial expression information;The work(that alarm clock is controlled by facial expression information is had turned on if detecting Energy, then obtain the facial expression information of user.
It should be appreciated that in the embodiment of the present application, the processor 401 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 402 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint Directional information), microphone, data receiver interface etc..Output equipment 403 can include display (LCD etc.), loudspeaker, data Transmission interface etc..
The memory 404 can include read-only storage and random access memory, and to processor 401 provide instruction and Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited Store up the information of device type.
In the specific implementation, processor 401, input equipment 402,403 and of output equipment described in the embodiment of the present application Memory 404 can perform the implementation described in the embodiment of the method for control alarm clock provided by the embodiments of the present application, Implementation described in mobile terminal described in executable embodiment three, details are not described herein.
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present application five provides.As shown in figure 5, the mobile end of the embodiment End 5 includes:Processor 50, memory 51 and it is stored in the meter that can be run in the memory 51 and on the processor 50 Calculation machine program 52.The processor 50 realizes the embodiment of the method for above-mentioned each control alarm clock when performing the computer program 52 In step, such as the step S101 to S103 shown in Fig. 1.Alternatively, when the processor 50 performs the computer program 52 Realize the function of each module/unit in above-mentioned each device embodiment, such as the function of module 31 to 38 shown in Fig. 3.
Exemplary, the computer program 52 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 51, and are performed by the processor 50, to complete the application.Described one A or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, which is used for Implementation procedure of the computer program 52 in the mobile terminal 5 is described.For example, the computer program 52 can be divided It is cut into facial information acquisition module, awake state judgment module, motion state detection module, alarm clock closedown module, puts out screen state Detection module, light module, jingle bell keep module and processing module, each module concrete function it is as follows:
Facial information acquisition module, for when detecting that mobile terminal has been held, obtaining the facial expression information of user;
Awake state judgment module, for the facial expression information according to the user, judges whether the user is in Awake state;
Condition monitoring module, if being in awake state for the user, whether detection alarm clock is in operation shape State;
Alarm clock closedown module, if being in operating status for the alarm clock, closes the alarm clock.
Optionally, the mobile terminal further includes:
Screen state detection module is put out, if being in non-awake state for the user or the alarm clock is in halted state, Then detect the mobile terminal and whether be in and put out screen state;
Module is lighted, if putting out screen state for detecting that the mobile terminal is in, lights the screen of the mobile terminal Curtain.
Optionally, the mobile terminal further includes:
Jingle bell keeps module, if be in non-awake state for the user and the alarm clock is just in jingle bell, keeps sound Bell;
Processing module, for when receiving the instruction for closing the alarm clock, stopping jingle bell, and close the alarm clock.
Optionally, the condition monitoring module includes:
Flag bit acquiring unit, the value of the state flag bit for obtaining the alarm clock;
First determination unit, if the value for the state flag bit of the alarm clock is the first preset value, it is determined that described noisy Clock is in operating status;
Second determination unit, if the value for the state flag bit of the alarm clock is the second preset value, it is determined that described noisy Clock is in halted state.
Optionally, the facial information acquisition module includes:
Detection unit, passes through facial expression information for when detecting that mobile terminal has been held, detecting whether to have turned on Control the function of alarm clock;
Information acquisition unit, if having turned on the function that alarm clock is controlled by facial expression information for detecting, Obtain the facial expression information of user.
The mobile terminal 5 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.The mobile terminal may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5 The only example of mobile terminal 5, does not form the restriction to mobile terminal 5, can include than illustrating more or fewer portions Part, either combines some components or different components, such as the mobile terminal can also include input-output equipment, net Network access device, bus etc..
Alleged processor 50 can be central processing unit CPU, can also be other general processors, Digital Signal Processing Device DSP, application-specific integrated circuit ASIC, ready-made programmable gate array FPGA either other programmable logic device, discrete gate or Transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor can also be appointed What conventional processor etc..
The memory 51 can be the internal storage unit of the mobile terminal 5, such as the hard disk of mobile terminal 5 or interior Deposit.The memory 51 can also be the External memory equipment of the mobile terminal 5, such as be equipped with the mobile terminal 5 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodges Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the mobile terminal 5 Member also includes External memory equipment.The memory 51 is used to store needed for the computer program and the mobile terminal Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units integrate in a unit, it is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system The specific work process of middle unit, module, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment The part of load, may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that each exemplary list described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical solution.Professional technician Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method, can pass through it Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the module or list The division of member, is only a kind of division of logic function, can there is other dividing mode when actually realizing, for example, multiple units or Component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, show Show or the mutual coupling discussed or direct-coupling or communication connection can be by some interfaces, between device or unit Coupling or communication connection are connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple In network unit.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or In use, it can be stored in a computer read/write memory medium.Based on such understanding, the application realizes above-mentioned implementation All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer-readable recording medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, the magnetic of the computer program code can be carried Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and electricity Believe signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although with reference to foregoing reality Example is applied the application is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to foregoing each Technical solution described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of each embodiment technical solution of the application, should all Within the protection domain of the application.

Claims (10)

  1. A kind of 1. method for controlling alarm clock, it is characterised in that the described method includes:
    When detecting that mobile terminal has been held, the facial expression information of user is obtained;
    According to the facial expression information of the user, judge whether the user is in awake state;
    If the user is in awake state, whether detection alarm clock is in operating status;
    If the alarm clock is in operating status, the alarm clock is closed.
  2. 2. the method as described in claim 1, it is characterised in that the method further includes:
    If the user is in non-awake state or the alarm clock is in halted state, detect whether the mobile terminal is in Put out screen state;
    If detecting that the mobile terminal is in puts out screen state, the screen of the mobile terminal is lighted.
  3. 3. the method as described in claim 1, it is characterised in that the method further includes:
    If the user is in non-awake state and the alarm clock is just in jingle bell, jingle bell is kept;
    When receiving the instruction for closing the alarm clock, stop jingle bell, and close the alarm clock.
  4. 4. the method as described in claim 1, it is characterised in that whether the detection alarm clock includes in operating status:
    Obtain the value of the state flag bit of the alarm clock;
    If the value of the state flag bit of the alarm clock is the first preset value, it is determined that the alarm clock is in operating status;
    If the value of the state flag bit of the alarm clock is the second preset value, it is determined that the alarm clock is in halted state.
  5. 5. such as Claims 1-4 any one of them method, it is characterised in that it is described when detecting that mobile terminal has been held, Obtaining the facial expression information of user includes:
    When detecting that mobile terminal has been held, detect whether to have turned on the function that alarm clock is controlled by facial expression information;
    The function that alarm clock is controlled by facial expression information is had turned on if detecting, obtains the facial expression letter of user Breath.
  6. 6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
    Facial information acquisition module, for when detecting that mobile terminal has been held, obtaining the facial expression information of user;
    Awake state judgment module, for the facial expression information according to the user, judges whether the user is in and wake up State;
    Condition monitoring module, if being in awake state for the user, whether detection alarm clock is in operating status;
    Alarm clock closedown module, if being in operating status for the alarm clock, closes the alarm clock.
  7. 7. mobile terminal as claimed in claim 6, it is characterised in that the mobile terminal further includes:
    Screen state detection module is put out, if being in non-awake state for the user or the alarm clock is in halted state, is examined Survey the mobile terminal and whether be in and put out screen state;
    Module is lighted, if putting out screen state for detecting that the mobile terminal is in, lights the screen of the mobile terminal;
    Jingle bell keeps module, if being in non-awake state for the user and the alarm clock is just in jingle bell, keeps jingle bell;
    Processing module, for when receiving the instruction for closing the alarm clock, stopping jingle bell, and close the alarm clock;
    The condition monitoring module includes:
    Flag bit acquiring unit, the value of the state flag bit for obtaining the alarm clock;
    First determination unit, if the value for the state flag bit of the alarm clock is the first preset value, it is determined that at the alarm clock In operating status;
    Second determination unit, if the value for the state flag bit of the alarm clock is the second preset value, it is determined that at the alarm clock In halted state.
  8. 8. mobile terminal as claimed in claims 6 or 7, it is characterised in that the facial information acquisition module includes:
    Detection unit, is controlled for when detecting that mobile terminal has been held, detecting whether to have turned on by facial expression information The function of alarm clock;
    Information acquisition unit, if having turned on the function that alarm clock is controlled by facial expression information for detecting, obtains The facial expression information of user.
  9. 9. a kind of mobile terminal, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that the processor realizes such as claim 1 to 5 when performing the computer program The step of any one the method.
  10. 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 5 the method.
CN201711114499.9A 2017-11-13 2017-11-13 Control method, mobile terminal and the computer-readable recording medium of alarm clock Pending CN107920162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711114499.9A CN107920162A (en) 2017-11-13 2017-11-13 Control method, mobile terminal and the computer-readable recording medium of alarm clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711114499.9A CN107920162A (en) 2017-11-13 2017-11-13 Control method, mobile terminal and the computer-readable recording medium of alarm clock

Publications (1)

Publication Number Publication Date
CN107920162A true CN107920162A (en) 2018-04-17

Family

ID=61895458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711114499.9A Pending CN107920162A (en) 2017-11-13 2017-11-13 Control method, mobile terminal and the computer-readable recording medium of alarm clock

Country Status (1)

Country Link
CN (1) CN107920162A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194825A (en) * 2018-08-15 2019-01-11 北京小米移动软件有限公司 Early warning and reminding method and terminal
CN109730634A (en) * 2018-11-22 2019-05-10 惠州Tcl移动通信有限公司 Monitoring method and equipment and system, long-distance monitoring method, mobile terminal
CN110333910A (en) * 2019-07-03 2019-10-15 深圳市趣创科技有限公司 Method, apparatus, system and the storage medium that player is automatically closed
CN110401775A (en) * 2019-07-29 2019-11-01 Oppo广东移动通信有限公司 A kind of alarm clock setting method, alarm clock setting device and mobile terminal
CN116449363A (en) * 2023-03-30 2023-07-18 森思泰克河北科技有限公司 Alarm clock control method and device based on radar, radar and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8558704B2 (en) * 2008-10-21 2013-10-15 Samsung Electronics Co., Ltd. Alarm control apparatus and method using face recognition
CN103561142A (en) * 2013-10-24 2014-02-05 广东明创软件科技有限公司 Method and mobile terminal for controlling alarm clock state through human eye recognition
CN103760761A (en) * 2014-01-28 2014-04-30 北京百纳威尔科技有限公司 Method and device for controlling alarm clock of terminal
CN105096102A (en) * 2015-07-15 2015-11-25 小米科技有限责任公司 Prompting processing method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8558704B2 (en) * 2008-10-21 2013-10-15 Samsung Electronics Co., Ltd. Alarm control apparatus and method using face recognition
CN103561142A (en) * 2013-10-24 2014-02-05 广东明创软件科技有限公司 Method and mobile terminal for controlling alarm clock state through human eye recognition
CN103760761A (en) * 2014-01-28 2014-04-30 北京百纳威尔科技有限公司 Method and device for controlling alarm clock of terminal
CN105096102A (en) * 2015-07-15 2015-11-25 小米科技有限责任公司 Prompting processing method and apparatus

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194825A (en) * 2018-08-15 2019-01-11 北京小米移动软件有限公司 Early warning and reminding method and terminal
CN109730634A (en) * 2018-11-22 2019-05-10 惠州Tcl移动通信有限公司 Monitoring method and equipment and system, long-distance monitoring method, mobile terminal
CN110333910A (en) * 2019-07-03 2019-10-15 深圳市趣创科技有限公司 Method, apparatus, system and the storage medium that player is automatically closed
CN110401775A (en) * 2019-07-29 2019-11-01 Oppo广东移动通信有限公司 A kind of alarm clock setting method, alarm clock setting device and mobile terminal
CN110401775B (en) * 2019-07-29 2021-03-12 Oppo广东移动通信有限公司 Alarm clock setting method, alarm clock setting device and mobile terminal
CN116449363A (en) * 2023-03-30 2023-07-18 森思泰克河北科技有限公司 Alarm clock control method and device based on radar, radar and storage medium
CN116449363B (en) * 2023-03-30 2024-01-19 森思泰克河北科技有限公司 Alarm clock control method and device based on radar, radar and storage medium

Similar Documents

Publication Publication Date Title
CN107920162A (en) Control method, mobile terminal and the computer-readable recording medium of alarm clock
CN108733342A (en) volume adjusting method, mobile terminal and computer readable storage medium
CN109583356A (en) Fingerprint identification method and Related product
CN109283996A (en) Display control method and Related product
CN108038112A (en) Document handling method, mobile terminal and computer-readable recording medium
CN106651338A (en) Method for payment processing and terminal
CN109151337A (en) Recognition of face light compensation method, recognition of face light compensating apparatus and mobile terminal
CN107491300A (en) The reminding method and its terminal of a kind of intelligent function
CN107463350A (en) A kind of footmark method of adjustment and terminal
CN107729781A (en) The anti-lost method of mobile terminal, mobile terminal and computer-readable recording medium
CN108735208A (en) Electronic equipment for providing speech-recognition services and its method
CN110475020A (en) Apparatus control method and Related product
CN107715449A (en) A kind of account login method and relevant device
CN109376702A (en) Fingerprint identification method and Related product
CN107479806A (en) The method and terminal of a kind of changing interface
CN107506494B (en) Document handling method, mobile terminal and computer readable storage medium
CN107634901A (en) Method for pushing, pusher and the terminal device of session expression
CN110363535A (en) Pay abnormity prompt method and Related product
CN107368255B (en) Unlocking method, mobile terminal and computer readable storage medium
CN109358927A (en) The method, apparatus and terminal device that application program is shown
CN109298907A (en) Application program display methods, application program display device and terminal
CN109213662A (en) A kind of user's touch-control behavioral data collection method and terminal
CN108363915A (en) unlocking method, mobile terminal and computer readable storage medium
CN107864295A (en) Call control method, mobile terminal and computer-readable recording medium
CN107783932A (en) Information processing method, mobile terminal and the computer-readable recording medium of calculator

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

Application publication date: 20180417

RJ01 Rejection of invention patent application after publication