CN107193477A - Alarm clock prevents maloperation method and mobile terminal and computer-readable medium - Google Patents

Alarm clock prevents maloperation method and mobile terminal and computer-readable medium Download PDF

Info

Publication number
CN107193477A
CN107193477A CN201710355841.8A CN201710355841A CN107193477A CN 107193477 A CN107193477 A CN 107193477A CN 201710355841 A CN201710355841 A CN 201710355841A CN 107193477 A CN107193477 A CN 107193477A
Authority
CN
China
Prior art keywords
user
alarm clock
information sequence
instruction
judge
Prior art date
Application number
CN201710355841.8A
Other languages
Chinese (zh)
Inventor
王雄
Original Assignee
努比亚技术有限公司
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 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Priority to CN201710355841.8A priority Critical patent/CN107193477A/en
Publication of CN107193477A publication Critical patent/CN107193477A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The present invention, which discloses a kind of alarm clock, prevents maloperation method and mobile terminal and computer-readable medium, and method includes:Receive the instruction of the closing alarm clock of user's input;Obtain action message when current time inputs the instruction for closing alarm clock with user;Corresponding user action information sequence is found in default action message list according to current time;Judge whether action message meets the condition in user action information sequence;If it is, judging that the instruction for closing alarm clock is effective, and close alarm clock.Technical scheme, action message when alarm clock out code is inputted with user by when receiving the alarm clock out code that user inputs, obtaining current time;Corresponding user action information sequence is found in default action message list by current time;And the validity of alarm clock out code is judged according to the preparatory condition included in user action information sequence, it effectively prevent because the situation that alarm clock is closed caused by maloperation occurs.

Description

Alarm clock prevents maloperation method and mobile terminal and computer-readable medium

Technical field

The present invention relates to field of terminal, more particularly to a kind of alarm clock prevents maloperation method and mobile terminal and computer Computer-readable recording medium.

Background technology

With the popularization, popularization and development of mobile terminal, its function is more and more, and performance is more and more stronger, and experience is increasingly It is abundant, it is that the life of people brings wireless facility, people is increasingly be unable to do without it.

Such as, the alarm clock function of mobile terminal, user by the alarm clock function of mobile terminal to oneself time of getting up, open Meeting time etc. is reminded.

Existing alarm clock calling strategy is generally:User sets a certain alarm clock, mobile when the time reaching the default time Terminal device enters corresponding alarm clock interface, and shakes and/or play ring of alarm clock, to remind user;In reminder process, use Family can close alarm clock according to set operation (click or slide in given area).

However, when user is under automatism, it is easy to occur maloperation so that alarm clock is closed, it is impossible to user Reminded, the life to user is made troubles, or even cause more serious consequence.

The content of the invention

The main object of the present invention, which is to provide a kind of alarm clock, prevents maloperation method and mobile terminal and computer-readable Medium, it is intended to be prevented effectively from because the situation that alarm clock is closed caused by maloperation occurs.

To achieve the above object, alarm clock proposed by the present invention prevents maloperation method, comprises the following steps:

Receive the instruction of the closing alarm clock of user's input;

Obtain action message when current time inputs the instruction of the closing alarm clock with user;

Corresponding user action information sequence is found in default action message list according to the current time;

Judge whether the action message meets the condition in the user action information sequence;

If it is, judging the instruction for closing alarm clock effectively, and close the alarm clock.

Optionally, the action message includes touch-control pressure, sliding length and sliding speed;

It is described to judge that the step of whether action message meets the condition in the user action information sequence includes:

The threshold value model of the touch-control pressure, sliding length and sliding speed is searched in the user action information sequence Enclose;

Judge touch-control pressure, sliding length and sliding speed whether corresponding in threshold range;

If it is, judging that the action message meets the condition in the user action information sequence.

Optionally, before the step for judging that the instruction for closing alarm clock is effective, in addition to:

Judge in the preset time period after receiving the instruction of closing alarm clock of user's input, if receive user The operational order of input;

Grasped if it is, finding corresponding user in default operation instruction information list according to the current time Make command information sequence;

Judge whether include the operational order in the user operation instruction information sequence;

If it is, judging that the operational order for closing alarm clock is effective.

Optionally, it is described the step of judge whether to include the operational order in the user operation instruction information sequence Including:

Whether judge the user operation instruction information sequence is empty;

If it is not, then whether the common factor for judging the operational order and the user operation instruction information sequence is empty;

If the operation instruction information and the common factor of the user operation instruction information sequence are sky, the use is judged The operational order is not included in the operation instruction information sequence of family.

Optionally, judging in the preset time period after receiving the instruction of closing alarm clock of user's input, if After the step of receiving the operational order of user's input, in addition to:

Grasped if it is not, then finding corresponding user in default operation instruction information list according to the current time Make command information sequence;

Whether judge the user operation instruction information sequence is empty;

If the user operation instruction information sequence is sky, judge that the operational order of the closing alarm clock is effective.

To achieve these goals, the present invention also proposes a kind of mobile terminal, including memory, processor and is stored in institute The alarm clock that stating can run on memory and on the processor prevents maloperation program, and the alarm clock prevents maloperation program quilt Following steps are realized during the computing device:

Receive the instruction of the closing alarm clock of user's input;

Obtain action message when current time inputs the instruction of the closing alarm clock with user;

Corresponding user action information sequence is found in default action message list according to the current time;

Judge whether the action message meets the condition in the user action information sequence;

If it is, judging the instruction for closing alarm clock effectively, and close the alarm clock.

Optionally, the action message includes touch-control pressure, sliding length and sliding speed;The alarm clock prevents maloperation Program judges whether the action message meets the condition in the user action information sequence described in the computing device Step when, realize following steps:

It is described to judge that the step of whether action message meets the condition in the user action information sequence includes:

The threshold value model of the touch-control pressure, sliding length and sliding speed is searched in the user action information sequence Enclose;

Judge touch-control pressure, sliding length and sliding speed whether corresponding in threshold range;

If it is, judging that the action message meets the condition in the user action information sequence.

Optionally, the alarm clock prevents maloperation program from judging the finger of the closing alarm clock described in the computing device Make before effective step, realize following steps:

Judge in the preset time period after receiving the instruction of closing alarm clock of user's input, if receive user The operational order of input;

Grasped if it is, finding corresponding user in default operation instruction information list according to the current time Make command information sequence;

Judge whether include the operational order in the user operation instruction information sequence;

If it is, judging that the operational order for closing alarm clock is effective.

Optionally, the alarm clock prevents maloperation program from judging the user operation instruction described in the computing device When whether including the step of the operational order in information sequence, following steps are realized:

Whether judge the user operation instruction information sequence is empty;

If it is not, then whether the common factor for judging the operational order and the user operation instruction information sequence is empty;

If the operation instruction information and the common factor of the user operation instruction information sequence are sky, the use is judged The operational order is not included in the operation instruction information sequence of family.

To achieve these goals, the present invention is also proposed on a kind of computer-readable medium, the computer-readable medium The alarm clock that is stored with prevents maloperation program, and the alarm clock realizes following steps when preventing maloperation program to be executed by processor:

Receive the instruction of the closing alarm clock of user's input;

Obtain action message when current time inputs the instruction of the closing alarm clock with user;

Corresponding user action information sequence is found in default action message list according to the current time;

Judge whether the action message meets the condition in the user action information sequence;

If it is, judging the instruction for closing alarm clock effectively, and close the alarm clock.

Technical scheme, by receive user input alarm clock out code when, obtain current time with User inputs action message during alarm clock out code;Correspondence is found in default action message list by current time User action information sequence;And according to the preparatory condition included in user action information sequence, judge that user's input alarm clock is closed Whether action message when closing instruction meets requirement, and then judges the validity of alarm clock out code, effectively prevent due to by mistake The situation that alarm clock is closed caused by operation occurs.

Brief description of the drawings

In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Structure according to these accompanying drawings obtains other accompanying drawings.

Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the invention;

Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;

Fig. 3 is that alarm clock of the present invention prevents the flow chart of the embodiment of maloperation method one;

Fig. 4 be Fig. 3 in judge whether the action message meets the condition step in the user action information sequence The flow chart of one embodiment;

Fig. 5 is that alarm clock of the present invention prevents the flow chart of another embodiment of maloperation method.

The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.

Embodiment

It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.

In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed Ground is used.

Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are moved Move the fixed terminals such as terminal, and numeral TV, desktop computer.

It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.

Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.

The all parts of mobile terminal are specifically introduced with reference to Fig. 1:

Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..

WiFi belongs to short range wireless transmission technology, and mobile terminal can help user's transmitting-receiving electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.

Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or The voice data stored in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 1 00 is performed can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..

A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042,1041 pairs of graphics processor is in video acquisition mode Or the view data progress of the static images or video obtained in image capture mode by image capture apparatus (such as camera) Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after being handled through graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound The noise produced during frequency signal or interference.

Mobile terminal 1 00 also 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 transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 1 00 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.

Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped 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) configures display panel 1061.

User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.

Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can By contact panel 1071 and the input that is integrated and realizing mobile terminal of display panel 1061 and output function, not do specifically herein Limit.

Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 1 00 or can be with For transmitting data between mobile terminal 1 00 and external device (ED).

Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy The property lost memory, for example, at least one 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 whole mobile terminal of connection Individual part, by operation or performs and is stored in software program and/or module in memory 109, and calls and be stored in storage Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;It is preferred that, processor 110 can integrated application processor and modulatedemodulate mediate Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.

Mobile terminal 1 00 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.

Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..

For the ease of understanding the embodiment of the present invention, the communications network system that the mobile terminal of the present invention is based on is entered below Row description.

Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。

Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.

E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.

EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and There is provided carrying and connection management for the control node of signaling between EPC203.HSS2032 is all to manage for providing some registers Such as function of attaching position register (not shown) etc, and some are preserved about the use such as service features, data rate The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.

IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..

Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.

Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.

As shown in figure 3, Fig. 3, which is alarm clock of the present invention, prevents the flow chart of the embodiment of maloperation method one.

In the present embodiment, the alarm clock prevents maloperation method from comprising the following steps:

Step S110, receives the instruction of the closing alarm clock of user's input.

Specifically, being illustrated by taking smart mobile phone as an example.

After user is provided with alarm clock by the alarm clock function of smart mobile phone, and have by trigger close button send closing During the instruction of alarm clock, smart mobile phone receives the instruction, and closes alarm clock according to the instruction.The mode of button is closed in the triggering The concrete mode for sending closing alarm clock instruction can be to pass through to click on, press and/or slide on the display screen of smart mobile phone Mode trigger the closing button.

Step S120, obtains action message when current time inputs the instruction of the closing alarm clock with user.

Specifically, when receiving the instruction of closing alarm clock of user's input, smart mobile phone is inquired about current from system Time, while obtaining the action message (such as, click on, press and/or slide) when user inputs the instruction of the alarm clock closing.

Step S130, finds corresponding user action according to the current time in default action message list and believes Cease sequence.

Specifically, the default action message list includes several user action information sequences being grouped on a time period Row.Each user action information sequence includes the period and for judging that whether satisfactory the action message is pre- If condition (such as, touch-control pressure, sliding length, the threshold value of sliding speed).

The predetermined manner of the action message list includes:When user closes alarm clock, made a noise for each effective close Action message (such as, the Info of the operation of clock, the in the form of tuples time of record closing alarm clock and user1={ during alarm clock Between, touch-control pressure, sliding length, sliding speed }).Effective information record is grouped;Such as by (such as alarm clock of same period Time is 7:00~8:00) effective information is divided into one group, generates user action information sequence (such as, the Info={ alarm clocks Period, touch-control pressure, sliding length, the threshold value of sliding speed };Or, Infomax=the alarm clock period, touch-control Pressure maximum value, Sliding length maximum, sliding speed maximum } and Infomin={ alarm clock period, touch-control pressure minimum, sliding length is minimum Value, sliding speed minimum value }).Several user action information sequences constitute the action message list, are stored in the intelligence In the memory space of energy mobile phone.

When getting current time, then gone to search the correspondence time in the action message list according to the current time That described user action information sequence in section.

Step S140, judges whether the action message meets the condition in the user action information sequence;If it is, Step S150 is then performed, if it is not, then performing step S160.

Wherein, as shown in figure 4, Fig. 4 be Fig. 3 in judge whether the action message meets the user action information sequence In condition step an embodiment flow chart.

In the present embodiment, it is described to judge whether the action message meets the condition in the user action information sequence The step of include:

Step S141, searches the touch-control pressure, sliding length and sliding speed in the user action information sequence Threshold range;

Step S142, judge touch-control pressure, sliding length and sliding speed whether corresponding in threshold range;If It is then to perform step S143, if it is not, then performing step S144.

Step S143, judges that the action message meets the condition in the user action information sequence.

Step S144, judges that the action message is unsatisfactory for the condition in the user action information sequence.

Step S150, judges the instruction for closing alarm clock effectively, and close the alarm clock.

Step S160, judges the instruction ignore for closing alarm clock, and the alarm clock is performed according to default alarm clock rule.

Specifically, the use that the user got is inputted the action message for the instruction that the alarm clock is closed and got Preparatory condition in the action message sequence of family is compared, if the action message got meets the user action information sequence During condition in row (that is, touch-control pressure, sliding length, sliding speed when user inputs the instruction that the alarm clock closes, In the range of touch-control pressure, sliding length, the threshold value of sliding speed in the user action information sequence), then judge to close Close the instruction of alarm clock effectively, if, when the action message got does not meet the condition in the user action information sequence ( That is, touch-control pressure, sliding length during the instruction that user's input alarm clock is closed, sliding speed, at least one is not described In the range of touch-control pressure, sliding length, the threshold value of sliding speed in user action information sequence), then judge maloperation, and The alarm clock is performed according to default alarm clock rule.

Specifically such as, user is provided with 7 on the smart mobile phone:00 getting up early alarm clock.So, morning is reached when the time 7:When 00, alarm clock calling user, user performs closing on the display screen of smart mobile phone conveniently in order to sleep a few minutes again The operation of alarm clock.At this moment, the action message for the instruction that user's input alarm clock is closed may make a noise with the closing inputted under normal circumstances The action message of the instruction of clock is different, such as, and touch-control pressure, sliding length, sliding speed are different, then, technology of the invention Action message when scheme can then input the instruction of alarm clock closing according to user is unsatisfactory for the bar in default action message sequence Part, and the instruction for closing alarm clock is judged as maloperation, and after the default time (such as, 5 minutes), continue to remind user, With avoid user due to caused by maloperation alarm clock fail to remind user, to cause the situation that user oversleeps to occur.

Again such as, when user is provided with 15 on smart mobile phone:00 meeting reminding alarm clock.So, 15 are reached when the time: When 00, alarm clock calling user, and at this moment user is using the smart mobile phone, and user operates just on the smart mobile phone The instruction for closing alarm clock is triggered well.At this moment, user input alarm clock close instruction action message may with normal circumstances The action message of the instruction of the closing alarm clock of input is different, such as, touch-control pressure, sliding length, sliding speed are different, then, Action message when technical scheme can then input the instruction of alarm clock closing according to user is unsatisfactory for default action and believed The condition in sequence is ceased, and judges the instruction for closing alarm clock as maloperation, and after the default time (such as, 1 minute), after It is continuous to remind user, with avoid user due to caused by maloperation alarm clock fail to remind user, to cause user to miss meeting Situation occurs.

The technical scheme of the present embodiment, by when receiving the alarm clock out code that user inputs, obtaining current time Action message during alarm clock out code is inputted with user;Found by current time in default action message list pair The user action information sequence answered;And according to the preparatory condition included in user action information sequence, judge that user inputs alarm clock Whether action message during out code meets requirement, and then judges the validity of alarm clock out code, effectively prevent due to The situation that alarm clock is closed caused by maloperation occurs.

Further, as shown in figure 5, Fig. 5, which is alarm clock of the present invention, prevents the flow chart of another embodiment of maloperation method.

In the present embodiment, the alarm clock prevents maloperation method from comprising the following steps:

Step S210, receives the instruction of the closing alarm clock of user's input.

Specifically, being illustrated by taking smart mobile phone as an example.

After user is provided with alarm clock by the alarm clock function of smart mobile phone, and have by trigger close button send closing During the instruction of alarm clock, smart mobile phone receives the instruction, and closes alarm clock according to the instruction.The mode of button is closed in the triggering The concrete mode for sending closing alarm clock instruction can be to pass through to click on, press and/or slide on the display screen of smart mobile phone Mode trigger the closing button.

Step S220, obtains current time, and looked into default operation instruction information list according to the current time Find corresponding user operation instruction information sequence.

Specifically, when receiving the instruction of closing alarm clock of user's input, smart mobile phone is inquired about current from system Time, corresponding user operation instruction information sequence is found in default operation instruction information list according to the current time Row.

The predetermined manner of the operation instruction information list is:When user closes alarm clock, each effective closing alarm clock Operation, record alarm time with close alarm clock after given time section in (in such as 5 minutes) user carry out operation instruction information, Such as, Info2={ alarm time, operation instruction information }, specifically such as, Info2={ 7:00, { offline mode is closed, is opened micro- Letter, exits wechat } }.For every group of data, judge whether its effective information record reaches certain threshold value (such as 30 information words Group), if reaching certain threshold value, the group information is effective.Effective information record is grouped;Such as by the same period (as made a noise Clock time is 7:00~8:00) effective information is divided into one group.For effective information group, take in the group information tuple:Such as, Infounion={ the alarm clock period, operation instruction information };Specifically such as, Infounion={ 7:00~8:00, { close flight mould Formula, connects wifi, opens wechat, exits wechat, screen locking } }, generate the user operation instruction information sequence.Several use Family operation instruction information sequence is constituted in the operation instruction information list, the memory space for being stored in the smart mobile phone.

Step S230, judges in the preset time period after receiving the instruction of closing alarm clock of user's input, if Receive the operational order of user's input;If it is, performing step S240;If it is not, then performing step S250.

Step S240, judges whether include the operational order in the user operation instruction information sequence;If it is, Then perform step S260;If it is not, then performing step 270.

Whether step S250, it is empty to judge the user operation instruction information sequence;If it is, performing step S260; If it is not, then performing step S270.

Step S260, judges the instruction for closing alarm clock effectively, and close the alarm clock.

Step S270, judges the instruction ignore for closing alarm clock, and the alarm clock is performed according to default alarm clock rule.

Specifically, after the instruction closed in the alarm clock for receiving user's input, use is received within the default time Other operational orders of family input, such as, when closing offline mode, connecting wifi, open wechat, exit wechat, screen locking etc., then Judge whether include the operational order in the user operation instruction information sequence.Concrete mode includes, and judges described use Whether family operation instruction information sequence is empty, if sky, then judging not including in the user operation instruction information sequence has The operational order.If the user operation instruction information sequence is not sky, the operational order and the user are judged Whether the common factor of operation instruction information sequence is empty, if sky, then judges not wrap in the user operation instruction information sequence Contain the operational order;If being not sky, judge that including the operation in the user operation instruction information sequence refers to Order.When including the operational order in the user operation instruction information sequence, then the instruction of the closing alarm clock is judged Effectively, and the alarm clock is closed.When in the user operation instruction information sequence not comprising there is the operational order, then judge The instruction ignore for closing alarm clock, and perform the alarm clock according to default alarm clock rule.

And after the instruction closed in the alarm clock for receiving user's input, do not receive user within the default time defeated During other operational orders entered, then whether be empty, if sky, then judge described if judging the user operation instruction information sequence The instruction for closing alarm clock is effective, and closes the alarm clock;If being not sky, the instruction ignore of the closing alarm clock is judged, and The alarm clock is performed according to default alarm clock rule.

The technical scheme of the present embodiment, by judging after the instruction for the closing alarm clock that user inputs is received, pre- If whether receiving other operational orders of user's input in the period, and judge whether this belongs to the operation of the custom of user, enter And judge the validity of alarm clock out code, it effectively prevent because the situation that alarm clock is closed caused by maloperation occurs.

The present invention also proposes a kind of mobile terminal, including memory, processor and is stored on the memory and can be The alarm clock run on the processor prevents maloperation program, when the alarm clock prevents maloperation program by the computing device Realize all steps in above-mentioned any one embodiment.Because mobile terminal can perform owning in above-mentioned any one embodiment Step, so this mobile terminal all beneficial effects that at least technical scheme with above method embodiment is brought, herein No longer repeat one by one.

A kind of present invention alarm clock that also proposes to be stored with computer-readable medium, the computer-readable medium prevents from grasping by mistake Make program, the alarm clock realizes all steps in above-mentioned any one embodiment when preventing maloperation program to be executed by processor. Because computer-readable medium can perform all steps in above-mentioned any one embodiment, so this computer-readable medium is extremely All beneficial effects that the technical scheme with above method embodiment is brought less, this is no longer going to repeat them.

It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the device of key element.

The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.

Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.

Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of alarm clock prevents maloperation method, it is characterised in that comprise the following steps:
Receive the instruction of the closing alarm clock of user's input;
Obtain action message when current time inputs the instruction of the closing alarm clock with user;
Corresponding user action information sequence is found in default action message list according to the current time;
Judge whether the action message meets the condition in the user action information sequence;
If it is, judging the instruction for closing alarm clock effectively, and close the alarm clock.
2. alarm clock as claimed in claim 1 prevents maloperation method, it is characterised in that the action message includes touch-control pressure Power, sliding length and sliding speed;
It is described to judge that the step of whether action message meets the condition in the user action information sequence includes:
The threshold range of the touch-control pressure, sliding length and sliding speed is searched in the user action information sequence;
Judge touch-control pressure, sliding length and sliding speed whether corresponding in threshold range;
If it is, judging that the action message meets the condition in the user action information sequence.
3. alarm clock as claimed in claim 1 prevents maloperation method, it is characterised in that in the judgement closing alarm clock Before the effective step of instruction, in addition to:
Judge in the preset time period after receiving the instruction of closing alarm clock of user's input, if receive user's input Operational order;
Refer to if it is, finding corresponding user's operation in default operation instruction information list according to the current time Make information sequence;
Judge whether include the operational order in the user operation instruction information sequence;
If it is, judging that the operational order for closing alarm clock is effective.
4. alarm clock as claimed in claim 3 prevents maloperation method, it is characterised in that the judgement user operation instruction The step of whether including the operational order in information sequence includes:
Whether judge the user operation instruction information sequence is empty;
If it is not, then whether the common factor for judging the operational order and the user operation instruction information sequence is empty;
If the operation instruction information and the common factor of the user operation instruction information sequence are sky, the user behaviour is judged Make not including the operational order in command information sequence.
5. alarm clock as claimed in claim 3 prevents maloperation method, it is characterised in that judging receiving user's input In preset time period after the instruction of closing alarm clock, if after the step of receiving the operational order of user's input, also wrap Include:
Refer to if it is not, then finding corresponding user's operation in default operation instruction information list according to the current time Make information sequence;
Whether judge the user operation instruction information sequence is empty;
If the user operation instruction information sequence is sky, judge that the operational order of the closing alarm clock is effective.
6. a kind of mobile terminal, it is characterised in that including memory, processor and be stored on the memory and can be described The alarm clock run on processor prevents maloperation program, and the alarm clock is realized when preventing maloperation program by the computing device Following steps:
Receive the instruction of the closing alarm clock of user's input;
Obtain action message when current time inputs the instruction of the closing alarm clock with user;
Corresponding user action information sequence is found in default action message list according to the current time;
Judge whether the action message meets the condition in the user action information sequence;
If it is, judging the instruction for closing alarm clock effectively, and close the alarm clock.
7. mobile terminal as claimed in claim 6, it is characterised in that the action message includes touch-control pressure, sliding length With sliding speed;The alarm clock prevents that maloperation program from judging whether the action message meets described in the computing device During the step of the condition in the user action information sequence, following steps are realized:
It is described to judge that the step of whether action message meets the condition in the user action information sequence includes:
The threshold range of the touch-control pressure, sliding length and sliding speed is searched in the user action information sequence;
Judge touch-control pressure, sliding length and sliding speed whether corresponding in threshold range;
If it is, judging that the action message meets the condition in the user action information sequence.
8. mobile terminal as claimed in claim 6, it is characterised in that the alarm clock prevents maloperation program by the processor Perform before the step for judging that the instruction for closing alarm clock is effective, realize following steps:
Judge in the preset time period after receiving the instruction of closing alarm clock of user's input, if receive user's input Operational order;
Refer to if it is, finding corresponding user's operation in default operation instruction information list according to the current time Make information sequence;
Judge whether include the operational order in the user operation instruction information sequence;
If it is, judging that the operational order for closing alarm clock is effective.
9. mobile terminal as claimed in claim 8, it is characterised in that the alarm clock prevents maloperation program by the processor Perform described when judging whether to include the step of the operational order in the user operation instruction information sequence, realization is as follows Step:
Whether judge the user operation instruction information sequence is empty;
If it is not, then whether the common factor for judging the operational order and the user operation instruction information sequence is empty;
If the operation instruction information and the common factor of the user operation instruction information sequence are sky, the user behaviour is judged Make not including the operational order in command information sequence.
10. a kind of computer-readable medium, it is characterised in that the alarm clock that is stored with the computer-readable medium prevents maloperation Program, the alarm clock prevents from realizing the alarm clock as any one of claim 1 to 5 when maloperation program is executed by processor The step of preventing maloperation method.
CN201710355841.8A 2017-05-19 2017-05-19 Alarm clock prevents maloperation method and mobile terminal and computer-readable medium CN107193477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710355841.8A CN107193477A (en) 2017-05-19 2017-05-19 Alarm clock prevents maloperation method and mobile terminal and computer-readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710355841.8A CN107193477A (en) 2017-05-19 2017-05-19 Alarm clock prevents maloperation method and mobile terminal and computer-readable medium

Publications (1)

Publication Number Publication Date
CN107193477A true CN107193477A (en) 2017-09-22

Family

ID=59874287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710355841.8A CN107193477A (en) 2017-05-19 2017-05-19 Alarm clock prevents maloperation method and mobile terminal and computer-readable medium

Country Status (1)

Country Link
CN (1) CN107193477A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140104993A1 (en) * 2012-10-16 2014-04-17 Google Inc. Systems and methods for providing warning of anomalous alarm clock settings
CN104102444A (en) * 2013-04-11 2014-10-15 腾讯科技(深圳)有限公司 Gesture-based alarm clock control method and intelligent terminal
CN104267948A (en) * 2014-09-23 2015-01-07 三星电子(中国)研发中心 Alarm clock control method and alarm clock control device for intelligent mobile terminal
CN104899030A (en) * 2015-05-28 2015-09-09 广东欧珀移动通信有限公司 Alarm clock processing method and user terminal
CN105005479A (en) * 2015-07-28 2015-10-28 广东欧珀移动通信有限公司 Alarm clock closing system and intelligent watch
CN105278863A (en) * 2015-11-10 2016-01-27 广东欧珀移动通信有限公司 Time interval-based method for detecting and preventing misoperation, device and mobile terminal
CN105528155A (en) * 2015-12-09 2016-04-27 广东欧珀移动通信有限公司 Alarm clock reminding control method, and device and terminal equipment
CN106293424A (en) * 2016-08-22 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of close the method for quarter-bell, system and terminal
CN106527723A (en) * 2016-11-09 2017-03-22 广东欧珀移动通信有限公司 Method and device for controlling alarm clock of mobile terminal and mobile terminal
CN106598376A (en) * 2015-10-20 2017-04-26 中兴通讯股份有限公司 Alarm clock delayed reminding method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140104993A1 (en) * 2012-10-16 2014-04-17 Google Inc. Systems and methods for providing warning of anomalous alarm clock settings
CN104102444A (en) * 2013-04-11 2014-10-15 腾讯科技(深圳)有限公司 Gesture-based alarm clock control method and intelligent terminal
CN104267948A (en) * 2014-09-23 2015-01-07 三星电子(中国)研发中心 Alarm clock control method and alarm clock control device for intelligent mobile terminal
CN104899030A (en) * 2015-05-28 2015-09-09 广东欧珀移动通信有限公司 Alarm clock processing method and user terminal
CN105005479A (en) * 2015-07-28 2015-10-28 广东欧珀移动通信有限公司 Alarm clock closing system and intelligent watch
CN106598376A (en) * 2015-10-20 2017-04-26 中兴通讯股份有限公司 Alarm clock delayed reminding method and device
CN105278863A (en) * 2015-11-10 2016-01-27 广东欧珀移动通信有限公司 Time interval-based method for detecting and preventing misoperation, device and mobile terminal
CN105528155A (en) * 2015-12-09 2016-04-27 广东欧珀移动通信有限公司 Alarm clock reminding control method, and device and terminal equipment
CN106293424A (en) * 2016-08-22 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of close the method for quarter-bell, system and terminal
CN106527723A (en) * 2016-11-09 2017-03-22 广东欧珀移动通信有限公司 Method and device for controlling alarm clock of mobile terminal and mobile terminal

Similar Documents

Publication Publication Date Title
CN107133094A (en) Application management method, mobile terminal and computer-readable recording medium
CN108227897A (en) Control method for screen display, flexible screen terminal and computer readable storage medium
CN107895561A (en) Method, terminal and the computer-readable recording medium of a kind of intelligent bright screen and the screen that goes out
CN107425888A (en) Multi-input/output antenna, mobile terminal and antenna switching method
CN107402387A (en) Movement tendency based on ultrasonic wave determines method, apparatus and readable storage medium storing program for executing
CN108345426A (en) A kind of terminal control method, terminal and computer readable storage medium
CN107249074A (en) Application program quick start method, mobile terminal and computer-readable recording medium
CN107566635A (en) Screen intensity method to set up, mobile terminal and computer-readable recording medium
CN107147928A (en) Play method, terminal and the computer-readable recording medium of video
CN107770369A (en) Control method, device and the computer-readable recording medium of mobile terminal
CN107145214A (en) The method and mobile terminal of application program power consumption management
CN107222613A (en) A kind of display methods and terminal
CN107707450A (en) A kind of method, apparatus and computer-readable recording medium for transmitting file
CN107104886A (en) A kind of information indicating method, equipment and computer-readable recording medium
CN107169150A (en) Picture method for pushing, mobile terminal and computer-readable medium
CN108196741A (en) Application split screen method, terminal and computer readable storage medium based on flexible screen
CN107395858A (en) A kind of reminding method of notification message, terminal and computer-readable recording medium
CN107506385A (en) A kind of video file retrieval method, equipment and computer-readable recording medium
CN108052302A (en) Association display methods, terminal and the computer readable storage medium of double-sided screen
CN107682547A (en) A kind of voice messaging regulation and control method, equipment and computer-readable recording medium
CN106953684A (en) A kind of method for searching star, mobile terminal and computer-readable recording medium
CN107948397A (en) A kind of information-pushing method, device and computer-readable recording medium
CN107193889A (en) Ad blocking method, terminal and computer-readable recording medium
CN107391241A (en) Using quick start method, terminal and computer-readable recording medium
CN107678625A (en) Information Sharing menu display method, mobile terminal and computer-readable recording medium

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