Nothing Special   »   [go: up one dir, main page]

CN106325594A - Locking method and locking device for virtual keys and mobile terminal - Google Patents

Locking method and locking device for virtual keys and mobile terminal Download PDF

Info

Publication number
CN106325594A
CN106325594A CN201610633203.3A CN201610633203A CN106325594A CN 106325594 A CN106325594 A CN 106325594A CN 201610633203 A CN201610633203 A CN 201610633203A CN 106325594 A CN106325594 A CN 106325594A
Authority
CN
China
Prior art keywords
button
operational order
combination
conditioned
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610633203.3A
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.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610633203.3A priority Critical patent/CN106325594A/en
Publication of CN106325594A publication Critical patent/CN106325594A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0362Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 1D translations or rotations of an operating part of the device, e.g. scroll wheels, sliders, knobs, rollers or belts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a locking method and a locking device for virtual keys and a mobile terminal. The method comprises the following steps of receiving a first operation instruction implemented by a user to a first combined key, wherein the first combined key is formed by combining at least two keys, and one of the at least two keys is a preset function key; judging whether the first operation instruction meets a first preset condition or not; if the first operation instruction meets the first preset condition, locking the virtual keys. According to the locking method and the locking device disclosed by the invention, quick locking for the virtual keys can be realized, misoperation of the user to the virtual keys is prevented, and the experience of the user is improved.

Description

The locking means of virtual key, device and mobile terminal
Technical field
The present invention relates to field of computer technology, more particularly, to locking means, device and the shifting of a kind of virtual key Dynamic terminal.
Background technology
Mobile terminal based on android system is typically provided with virtual key.As a example by smart mobile phone, smart mobile phone Virtual key is typically provided with three, is return key, Home key and function setting key respectively, the existence of these three virtual key, pole The earth facilitates the operation of user, in order to user brings more preferable experience.
But, existing mobile terminal is all developing to screen enlarging direction, and user's preferences is in by the mobile terminal of giant-screen Carry out playing or the entertainment selection such as video.The problem thus brought is, if the user while carry out playing or the entertainment selection such as video Time touch virtual key, game or the stopping of the application such as video will be caused or directly exit, this reduces Consumer's Experience undoubtedly.
Summary of the invention
In view of the above problems, the present invention proposes the locking means of a kind of virtual key, device and mobile terminal, can be quick Locking virtual key, prevents user's maloperation to virtual key.
According to the first aspect of the invention, the embodiment of the present invention provides the locking means of a kind of virtual key, including as follows Step: receiving the first operational order that the first combination button is implemented by user, described first combination button is pressed by least two One in key combination composition and described at least two button is preset function button;Judge that described first operational order is the fullest Foot first is pre-conditioned;If meeting first pre-conditioned, lock described virtual key.
According to first aspect, the present invention is in the first implementation of first aspect, and described judgement described first operates Whether instruction meets the first pre-conditioned step, particularly as follows: judge described first operational order whether as long by operation, if Long by operation, determine satisfied first pre-conditioned.
According to first aspect, the present invention is in the second implementation of first aspect, and described judgement described first operates Whether instruction meets the first pre-conditioned step, particularly as follows: judge described first operational order whether as double click operation, if Double click operation, determines satisfied first pre-conditioned.
According to the first implementation of first aspect, the present invention is in the third implementation of first aspect, described After receiving the step of the first operational order that the first combination button is implemented by user, also include: obtain the first combination button In each button be carried out time started of the first operational order, it is determined that the described beginning of the first button being carried out operational order Whether the interval time between time and the described time started of the button that is finally carried out operational order is in predetermined amount of time In, if being in predetermined amount of time, it is determined that user implements simultaneously operating to each button in described first combination button;Right Answer, at described first operational order for long by operation and determine that each button implements during user is to described first combination button During simultaneously operating, determine satisfied first pre-conditioned.
The second implementation according to first aspect, the present invention is in the 4th kind of implementation of first aspect, described After receiving the step of the first operational order that the first combination button is implemented by user, also include: obtain the first combination button In each button be carried out time started of the first operational order, it is determined that the described beginning of the first button being carried out operational order Whether the interval time between time and the described time started of the button that is finally carried out operational order is in predetermined amount of time In, if being in predetermined amount of time, it is determined that user implements simultaneously operating to each button in described first combination button;Right Answer, be double click operation at described first operational order and determine that each button implements synchronization during user is to the first combination button During operation, determine satisfied first pre-conditioned.
Any one in the 4th kind of implementation according to first aspect to first aspect, the present invention is in first aspect In 5th kind of implementation, also comprise the steps: to receive the second operational order that the second combination button is implemented by user, institute State the second combination button be made up of at least two key combination and in described at least two button one be preset function button; Judge whether described second operational order meets second pre-conditioned;If meeting second pre-conditioned, release virtual key Locking.
The 5th kind of implementation according to first aspect, the present invention is in the 6th kind of implementation of first aspect, described Judge whether described second operational order meets the second pre-conditioned step, particularly as follows: judge that described second operational order is No for long by operation, if long by operation, determine satisfied second pre-conditioned.
The 5th kind of implementation according to first aspect, the present invention is in the 7th kind of implementation of first aspect, described Judge whether described second operational order meets the second pre-conditioned step, particularly as follows: judge that described second operational order is No for double click operation, if double click operation, determine satisfied second pre-conditioned.
The 6th kind of implementation according to first aspect, the present invention is in the 8th kind of implementation of first aspect, described After receiving the step of the second operational order that the second combination button is implemented by user, also include: obtain described second combination In button, each button is carried out the time started of the second operational order, it is determined that the first button being carried out operational order described Whether the interval time between time started and the described time started of the button that is finally carried out operational order is in pre-timing Between in section, if being in predetermined amount of time, it is determined that user implements synchronization behaviour to each button in described second combination button Make;Corresponding, at described second operational order for long by operation and determine each button during user is to described second combination button When implementing simultaneously operating, determine satisfied second pre-conditioned.
The 7th kind of implementation according to first aspect, the present invention is in the 9th kind of implementation of first aspect, described After receiving the step of the second operational order that the second combination button is implemented by user, also include: obtain described second combination In button, each button is carried out the time started of the second operational order, it is determined that the first button being carried out operational order described Whether the interval time between time started and the described time started of the button that is finally carried out operational order is in pre-timing Between in section, if being in predetermined amount of time, it is determined that user implements synchronization behaviour to each button in described second combination button Make;Corresponding, it is double click operation at described second operational order and determines each button during user is to described second combination button When implementing simultaneously operating, determine satisfied second pre-conditioned.
The 5th kind of implementation according to first aspect, the present invention is in the tenth kind of implementation of first aspect, described Second combination button is identical with described first combination button.
According to first aspect or the tenth kind of implementation of first aspect, the present invention is in the 11st kind of realization of first aspect In mode, described first combination button by described function button and screen locking key, volume adjusting key, be connected by external interface outside Connect at least one key combination in button, return key, HOME key and function setting key to constitute.
According to the second aspect of the invention, embodiments providing the locking device of a kind of virtual key, this is virtual The locking device of button has the function of the locking means behavior realizing virtual key in above-mentioned first aspect.Described function is permissible Realized by hardware, it is also possible to perform corresponding software by hardware and realize.Described hardware or software include one or more with The module that above-mentioned functions is corresponding.
According to the third aspect of the invention we, embodiments providing a kind of mobile terminal, mobile terminal includes processing Device, memorizer and some buttons;Described button includes that preset function button and described button are for supplying user under screen lock state Trigger and generate operational order;Described memorizer performs the lock of above-mentioned virtual key for storing the locking device supporting virtual key Determine the program of method;Described processor is configurable for the program of storage in described memorizer that performs.Described mobile terminal is also Communication interface can be included, be used for and other equipment or communication.
According to the fourth aspect of the invention, embodiments provide a kind of computer-readable storage medium, be used for saving as Computer software instructions used by the locking device of above-mentioned virtual key, it comprises for performing above-mentioned aspect is virtual key Program designed by locking device.
Relative to prior art, the scheme provided based on the present invention, receive that the first combination button implemented by user the One operational order, described first combination button is made up of at least two key combination and in described at least two button one is Preset function button, it is determined that it is first pre-conditioned whether described first operational order meets, if meeting first pre-conditioned, locking Described virtual key.Therefore, user only need to first combination button implement meet pre-conditioned operational order, can quickly by Virtual key locks, to prevent user's maloperation to virtual key.
The aspects of the invention or other aspects be meeting more straightforward in the following description.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for From the point of view of those skilled in the art, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings Figure.
Fig. 1 is the flow chart of the locking means of the virtual key of an embodiment of the present invention.
Fig. 2 is the flow chart of the locking means of the virtual key of an embodiment of the present invention.
Fig. 3 is the structural representation of the locking device of the virtual key of an embodiment of the present invention.
Fig. 4 is the structural representation of the locking device of the virtual key of an embodiment of the present invention.
Fig. 5 is the structural representation of the locking device of the virtual key of an embodiment of the present invention.
Fig. 6 is the structural representation of the locking device of the virtual key of an embodiment of the present invention.
Fig. 7 is the appearance schematic diagram of the mobile phone of an embodiment of the present invention.
Fig. 8 is the structural representation of the mobile phone of an embodiment of the present invention.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention.
In some flow processs of description in description and claims of this specification and above-mentioned accompanying drawing, contain according to Particular order occur multiple operations, but it should be clearly understood that these operation can not according to its occur in this article suitable Sequence performs or executed in parallel, the sequence number of operation such as 101,102 etc., is only used for distinguishing each different operation, sequence number Itself does not represent any execution sequence.It addition, these flow processs can include more or less of operation, and these operations can To perform in order or executed in parallel.It should be noted that " first ", " second " herein etc. describe, it is for distinguishing not Message together, equipment, module etc., do not represent sequencing, and not limiting " first " and " second " is different types.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under not making creative work premise Example, broadly falls into the scope of protection of the invention.
The locking means of a kind of virtual key, the method is applied to mobile terminal, and this mobile terminal has touch screen, and should Some buttons it are provided with on mobile terminal.As it is shown in figure 1, it comprises the steps:
S101: receiving the first operational order that the first combination button is implemented by user, described first combination button is by extremely One in few two key combination composition and described at least two button is preset function button.
The button preset on mobile terminal includes virtual key and physical button.Virtual key is a certain predetermined on touch screen The band of position, is usually located at the edge of touch screen.As a example by smart mobile phone, it is generally arranged at the lower section of touch screen.For For the mobile phone of android system, virtual key is usually three, is return key, HOME key and function setting key respectively, returns Push-to is usually used in returning previous page or exiting application program, and HOME push-to is usually used in returning homepage, and function setting key is commonly used In display function choosing-item.Touch screen detects that virtual key, when touched, sends KeyEvent (key-press event) to operating system System, is performed corresponding operating by operating system.
Physical button is mechanical to press button, and it includes the physical button arranged on mobile terminal, also includes leading to Cross the external button that the external interfaces such as power interface, data transmission interface and earphone interface connect.As a example by smart mobile phone, due to The touch screen of smart mobile phone is relatively big, and physical button is generally located on the side of smart mobile phone.Be generally of volume "+" key, volume "-" key and screen locking key etc..For the smart mobile phone of part sliding cover type, it also is provided with the physical button such as numeral and letter.When physics is pressed When key is touched, hardware bottom layer can detect current jump, thus produces key-press event, and by reporting events to system, by being System performs corresponding operating.
Preset function button is newly-installed physical button on mobile terminal, and it is different from the volume adjusting on mobile terminal The conventional physical buttons such as key and screen locking key.Running of mobile terminal has the background service program of this function button, this background service journey Sequence by the key-press event reporting system of function button, system performs corresponding operating after responding.This function button can be with movement Other physical button or virtual key combination in terminal form Macintosh, combine from different physical button or virtual key and are formed Macintosh correspondence there is difference in functionality.
Above-mentioned first combination button be preset function button and at least one physical button and/or at least one virtual by The combination of key.Therefore, the first combination button can be the combination of preset function button and at least one physical button, the most in advance If function button and the combination of volume adjusting key.First combination button can also is that preset function button with at least one virtual by The combination of key, e.g. preset function button and the combination of screen locking key.First combination button can also is that preset function button, one Individual physical button and the combination of a virtual key, e.g. preset function button, screen locking key and the combination of return key.Certainly, The concrete key combination of the first combination button can be the self-defined of the acquiescence of mobile terminal or user.When it is made by oneself by user When justice is arranged, mobile terminal necessarily provides and arranges menu accordingly and be configured for user.
When user performs predetermined registration operation to the first combination button, such as this first combination button of user key-press, mobile whole End i.e. receives the first operational order that the first combination button is implemented by user.Wherein, mobile terminal can judge this first behaviour Making the objective for implementation instructed, if objective for implementation not this first combination button, then the operational order of its correspondence is invalid, mobile terminal Do not perform subsequent action.Only the first operational order be to the first combination button implemented time, receive this first operational order.
S102: judge whether described first operational order meets first pre-conditioned.
For the operational order that user is different, correspondence is realized difference in functionality by mobile terminal.Operational order is any limitation as, It is pre-conditioned whether decision instruction meets first.First pre-conditioned can be operational order and preset director data phase Coupling, if operational order matches with the director data preset, then judges that it meets first pre-conditioned, if not with default Director data matches, then judge that it is unsatisfactory for first pre-conditioned.Specifically, first pre-conditioned the first behaviour can be limited Making instruction is that pressing operation, length are by operation or double click operation.
S103: if meeting first pre-conditioned, lock described virtual key.
If operational order meets first pre-conditioned, the background service program of function button is by syndicate in key-press event System, system responds this key-press event, responds virtual key event to realize the locking to virtual key by limiting, but still So keep the monitoring to virtual key event.If operational order is unsatisfactory for first pre-conditioned, the most do not lock virtual key.Its In, locked virtual key can be all virtual keys, or the partial virtual button preset.
In a kind of implementation, according to the use state that mobile terminal is current, lock corresponding to using the virtual of state to press Key.Such as, game application or the Video Applications preset in mobile phone are currently running, and mobile phone is currently at Entertainment state, if Operational order meets first pre-conditioned, and all virtual keys of lockable are disturbed to prevent the maloperation of user.Example again As, user is just at reading electronic book, and mobile phone is currently at learning state, and user is not intended to maloperation and causes e-book to be closed, But may want to reservation function arrange key and be configured (regulation of such as font or color) with the relevant options to e-book, as Really operational order meets first pre-conditioned, lockable return key and HOME key, and reservation function arranges key.
In a kind of implementation, the mapping of attribute and virtual key to be locked that mobile terminal prestores operational order is closed Series of tables.After getting operational order, determine the attribute of this operational order, corresponding according to this mapping relations list locking Virtual key.Such as, the attribute of operational order is the time, if the time of this operational order is more than a certain predetermined time value, then All virtual keys are locked, if the time of this operational order is in a certain preset range, then by partial virtual press-key lock Fixed.
The corresponding relation of the current application state of above-mentioned mobile terminal and virtual key to be locked and operational order The mapping relations of attribute and virtual key to be locked can be the acquiescence of mobile terminal, it is also possible to based on user self-defined.
S104: if being unsatisfactory for first pre-conditioned, do not lock described virtual key.
In a kind of example, user uses mobile terminal to watch video, in order to prevent the maloperation to virtual key and shadow Ring the viewing experience of user, virtual key need to be locked.Function button and HOME key are implemented length are simultaneously pressed operation by user, Mobile terminal judges to user to have selected correct button, and the operational order that user is implemented is satisfied with pre-conditioned, i.e. triggers Locking to virtual key, to prevent the maloperation of user.
In one embodiment, step S102 judges described first operational order whether to meet first pre-conditioned, specifically For: judge described first operational order whether as long by operation, if long by operation, determine satisfied first pre-conditioned.
When user presses physical button or virtual key, button driving corresponding to system can detect and cause because of pressing Current jump, if the persistent period of the state after this current jump reached the scheduled time, it is determined that user this to this Button implements long by operation.Owing to the first combination button is the combination of multiple button, it is implemented on the first combination button in judgement The first operational order be whether long by operation time, it is determined that all buttons being implemented in the first combination button whether be long by Operation, if being long by operation, it is determined that this first operational order meets first pre-conditioned, thus refers to according to this operation Order locking virtual key.
Wherein, this scheduled time desirable 300ms, certainly, this can be made a reservation for when those skilled in the art combine practical situation Time appropriately adjusts.
On the basis of above-described embodiment, in view of the combination that the first combination button is multiple button, real to multiple buttons When executing operational order, can there is sequencing in the operational order of user unavoidably, it is therefore desirable to judges institute in the first combination button Whether the operational order having button is to implement simultaneously.
In the present embodiment, after step S101 receives the first operational order that the first combination button is implemented by user, Also include: obtain each button in the first combination button and be carried out the time started of the first operational order, it is determined that first be carried out Between between described time started of the button of operational order and the described time started of the button that is finally carried out operational order Whether the interval is in predetermined amount of time, if being in predetermined amount of time, it is determined that user is in described first combination button Each button implements simultaneously operating;Corresponding, at described first operational order for long by operation and determine that user is to described the When in one combination button, each button implements simultaneously operating, determine satisfied first pre-conditioned.
When the first combination button is implemented operational order by user, obtain each button in the first combination button and be carried out behaviour Make time started of instructing, i.e. button drive detected by current jump time time, when the first button and last of being pressed When one interval time being pressed between button is less than the scheduled time, it is determined that the behaviour to buttons all in the first combination button Make instruction to implement simultaneously.If judging further to the first operational order to press operation as long, it is determined that this first operation refers to Order meets first pre-conditioned, thus locks virtual key according to this operational order.
In a kind of example, set the combination as function button Yu screen locking key of first combination button.When user to this first When combination button implements operational order, it is determined that user presses whether the time of this first combination button is more than 300ms, if being more than 300ms, it is determined that this first combination button is implemented long by operation.Judge user's pressing function button time started with press The time started of pressure screen locking key
In one embodiment, step S102 judges described first operational order whether to meet first pre-conditioned, specifically For: judge that described first operational order, whether as double click operation, if double click operation, determines satisfied first pre-conditioned.
When user presses physical button or virtual key, button driving corresponding to system can detect and cause because of pressing Current jump, if in the given time, this current jump twice, it is determined that user this this button implemented double-click Operation.Owing to the first combination button is the combination of multiple button, judging to be implemented on the first operational order of the first combination button When whether being double click operation, it is determined that whether all buttons being implemented in the first combination button are double click operation, if be Double click operation, it is determined that this first operational order meets first pre-conditioned, thus press according to the locking of this operational order is virtual Key.
Wherein, this scheduled time desirable 300ms, certainly, this can be made a reservation for when those skilled in the art combine practical situation Time appropriately adjusts.
Further, after step S101 receives the first operational order that the first combination button is implemented by user, also wrap Include: obtain each button in the first combination button and be carried out the time started of the first operational order, it is determined that first be carried out operation During interval between described time started of button of instruction and the described time started of the button that is finally carried out operational order Between whether be in predetermined amount of time, if being in predetermined amount of time, it is determined that user is to each in described first combination button Button implements simultaneously operating;Corresponding, described first operational order be double click operation and determine user to the first combination by When in key, each button implements simultaneously operating, determine satisfied first pre-conditioned.
When the first combination button is implemented operational order by user, obtain each button in the first combination button and be carried out behaviour Make time started of instructing, i.e. button drive detected by current jump time time, when the first button and last of being pressed When one interval time being pressed between button is less than the scheduled time, it is determined that the behaviour to buttons all in the first combination button Make instruction to implement simultaneously.If judged further to the first operational order as double click operation, it is determined that this first operates and refer to Order meets first pre-conditioned, thus locks virtual key according to this operational order.
For the ease of user operation, in view of long more convenient by the enforcement of operation, can set described first operational order as Long pre-conditioned by meeting first when operating.Or, only an executive chairman in multiple buttons is pressed or double click operation, to other Button performs clicking operation.Certainly, above are only several preferred example, the operational order for programmable button can be to double-click Operation, the long combination by any one or more in operation and other operations.
When actually used, virtual key belongs to conventional button, and user can be commonly used to virtual key.When user is entering When the entertainment selections such as row game or video touch virtual key, the inconvenience that can bring to user, therefore, only use specific Need under state virtual key is locked.
In one embodiment, step S101 receives the first operational order that the first combination button is implemented by user, tool There is following prerequisite: be under full frame state, or predetermined application is under running status.Only it is being in full frame state or pre- Determining application to be under running status, the operational order that user is implemented is just effective, only obtains and is in full frame state or predetermined application It is in the operational order that user under running status is implemented.Otherwise, the operational order that user is implemented is invalid.
Wherein, after full frame state refers to that user opens a certain application or video, mobile terminal be displayed in full screen this application or Video, by monitoring the current operating state of display to determine whether to be in full frame state.Predetermined application is system default Application program or user-defined application program, such as, predetermined application is video player or game application.By obtaining Take the title of the application program being currently running, it is determined that this application program whether in predetermined application list, if, the most really The application program run before settled is predetermined application.On this basis, the first combination button is implemented satisfied default as user The operational order of condition, will the virtual key locking of mobile terminal, prevent user to virtual key maloperation, thus improve Consumer's Experience.
On the basis of above-described embodiment, as in figure 2 it is shown, after step S103, also comprise the steps:
S105: receiving the second operational order that the second combination button is implemented by user, described second combination button is by extremely One in few two key combination composition and described at least two button is preset function button;
S106: judge whether described second operational order meets second pre-conditioned;
S107: if meeting second pre-conditioned, release the locking to virtual key;
S108: if meeting second pre-conditioned, keep the locking to virtual key.Owing to above embodiments enabling void Intend the locking of button, when the user desires, by the present embodiment, the virtual key of locking can be unlocked.
Second combination button can be the combination of preset function button and at least one physical button, e.g. preset function Button and the combination of volume adjusting key.Second combination button can also is that the group of preset function button and at least one virtual key Close, e.g. preset function button and the combination of screen locking key.Second combination button can also is that preset function button, a physics Button and the combination of a virtual key, e.g. preset function button, screen locking key and the combination of return key.Need explanation It is that the first combination button can be identical with the second combination button, it is also possible to different from the second combination button.Second combination button Concrete key combination can be the self-defined of the acquiescence of mobile terminal or user.When user to its self-defined arrange time, mobile Terminal necessarily provides and arranges menu accordingly and be configured for user.
Due under lock-out state, only limit the response to virtual key event, but still maintain to virtual by The monitoring of key.If the second combination button comprises virtual key, when detect the second combination button is implemented the second operational order time, Release the restriction that the event of virtual key in the second combination button is responded, thus system can respond the second combination button thing Part.When the second operational order meet second pre-conditioned time, release locking to virtual key.
In one embodiment, whether described second operational order of described judgement meets the second pre-conditioned step, tool Body is: judge described second operational order whether as long by operation, if long by operation, determine satisfied second pre-conditioned.
When user presses physical button or virtual key, button driving corresponding to system can detect and cause because of pressing Current jump, if the persistent period of the state after this current jump reached the scheduled time, it is determined that user this to this Button implements long by operation.Owing to the second combination button is the combination of multiple button, it is implemented on the second combination button in judgement The second operational order be whether long by operation time, it is determined that all buttons being implemented in the second combination button whether be long by Operation, if being long by operation, it is determined that this second operational order meets second pre-conditioned, thus refers to according to this operation Order locking virtual key.
Further, after the described step receiving the second operational order that the second combination button is implemented by user, also Including: obtain each button in described second combination button and be carried out the time started of the second operational order, it is determined that be first by reality Between the described time started executing the button of operational order and the described time started of the button being finally carried out operational order Whether interval time is in predetermined amount of time, if being in predetermined amount of time, it is determined that user is to described second combination button In each button implement simultaneously operating;Corresponding, at described second operational order for long by operating and determining that user is to described When in second combination button, each button implements simultaneously operating, determine satisfied second pre-conditioned.
When the first combination button is implemented operational order by user, obtain each button in the first combination button and be carried out behaviour Make time started of instructing, i.e. button drive detected by current jump time time, when the first button and last of being pressed When one interval time being pressed between button is less than the scheduled time, it is determined that the behaviour to buttons all in the first combination button Make instruction to implement simultaneously.If judging further to the first operational order to press operation as long, it is determined that this first operation refers to Order meets first pre-conditioned, thus locks virtual key according to this operational order.
In one embodiment, whether described second operational order of described judgement meets the second pre-conditioned step, tool Body is: judge that described second operational order, whether as double click operation, if double click operation, determines satisfied second pre-conditioned.
Further, after the described step receiving the second operational order that the second combination button is implemented by user, also Including: obtain each button in described second combination button and be carried out the time started of the second operational order, it is determined that be first by reality Between the described time started executing the button of operational order and the described time started of the button being finally carried out operational order Whether interval time is in predetermined amount of time, if being in predetermined amount of time, it is determined that user is to described second combination button In each button implement simultaneously operating;Corresponding, it is double click operation at described second operational order and determines that user is to described When in second combination button, each button implements simultaneously operating, determine satisfied second pre-conditioned.
Summary embodiment, when the button on mobile terminal is implemented operational order by user, acquisition for mobile terminal is empty Intend the current state of button, if the current non-locking of virtual key, it is determined that user would implement whether the button of operational order is first Combination button, if it is, it is pre-conditioned, if completely to judge whether the operational order being implemented the first combination button meets first again Foot, locks virtual key.If virtual key is currently at lock-out state, it is determined that whether user implements the button of operational order It is the second combination button, if it is, it is second pre-conditioned to judge whether the operational order implementing the second combination button meets again, If meeting, release the locking to virtual key.
The embodiment of the present invention also provides for the locking device of a kind of virtual key, as it is shown on figure 3, comprising: first receives mould Block 201, for receiving the first operational order that the first combination button is implemented by user, described first combination button is by least two One in individual key combination composition and described at least two button is preset function button;First determination module 202, is used for sentencing It is pre-conditioned whether fixed described first operational order meets first;First locking module 203, at described first operational order Instruction meet first pre-conditioned time, lock described virtual key.
In one embodiment, described first determination module is used for judging that whether described first operational order is as growing by behaviour Make, if long by operation, determine satisfied first pre-conditioned.
In one embodiment, described first determination module is used for judging that whether described first operational order is as double-clicking behaviour Make, if double click operation, determine satisfied first pre-conditioned.
In one embodiment, as shown in Figure 4, also include the first synchronization module 204, be used for obtaining described first combination and press In key, each button is carried out the time started of the first operational order, it is determined that open described in the first button being carried out operational order Whether the interval time between time beginning and the described time started of the button that is finally carried out operational order is in the scheduled time In section, if being in predetermined amount of time, it is determined that user implements simultaneously operating to each button in described first combination button; Corresponding, described first determination module 202 at described first operational order for long by operation and determine that user is to described the When in one combination button, each button implements simultaneously operating, determine satisfied first pre-conditioned.
In one embodiment, also include the first synchronization module 204, be used for obtaining each in described first combination button pressing Key is carried out the time started of the first operational order, it is determined that the described time started of the first button being carried out operational order with After be carried out operational order button the described time started between interval time whether be in predetermined amount of time, if being in In predetermined amount of time, it is determined that user implements simultaneously operating to each button in described first combination button;Corresponding, described First determination module 202 is for being double click operation at described first operational order and determining that user is in described first combination button When each button implements simultaneously operating, determine satisfied first pre-conditioned.
In one embodiment, as it is shown in figure 5, also include: the second receiver module 205, it is used for receiving user to second group Closing the second operational order of being implemented of button, described second combination button is made up of at least two key combination and described at least two In individual button one is preset function button;Second determination module 206, is used for judging whether described second operational order meets Second is pre-conditioned;Second locking module 207, for described second operational order instruction meet second pre-conditioned time, solve Except the locking to virtual key.
In one embodiment, the second determination module 206 be used for judging described second operational order whether as long by operation, If long by operation, determine satisfied second pre-conditioned.
In one embodiment, the second determination module 206 be used for judging described second operational order whether as double click operation, If double click operation, determine satisfied second pre-conditioned.
In one embodiment, as shown in Figure 6, also include the second synchronization module 208, be used for obtaining described second combination and press In key, each button is carried out the time started of the second operational order, it is determined that open described in the first button being carried out operational order Whether the interval time between time beginning and the described time started of the button that is finally carried out operational order is in the scheduled time In section, if being in predetermined amount of time, it is determined that user implements simultaneously operating to each button in described second combination button; Corresponding, described second determination module 206 at described second operational order for long by operation and determine that user is to described the When in two combination buttons, each button implements simultaneously operating, determine satisfied second pre-conditioned.
In one embodiment, also include the second synchronization module 208, be used for obtaining each in described second combination button pressing Key is carried out the time started of the second operational order, it is determined that the described time started of the first button being carried out operational order with After be carried out operational order button the described time started between interval time whether be in predetermined amount of time, if being in In predetermined amount of time, it is determined that user implements simultaneously operating to each button in described second combination button;Corresponding, described Second determination module 206 is for being double click operation at described second operational order and determining that user is in described second combination button When each button implements simultaneously operating, determine satisfied second pre-conditioned.
In one embodiment, described second combination button by described function button and screen locking key, volume adjusting key, pass through At least one key combination in external button, return key, HOME key and function setting key that external interface connects is constituted.
In one embodiment, described second combination button and the first combination button are identical.Certainly, the second combination button is also Can be different from the first combination button.
In one embodiment, the first receiver module 201 is for being in full frame state or predetermined application is in operation shape Under state, receive the first operational order that the first combination button is implemented by user.
The concrete function of the functional module that the locking device of above-mentioned virtual key is comprised and implementation, can be found in above-mentioned The embodiment of the locking means part of virtual key, does not repeats at this.
The embodiment of the present invention also provides for a kind of mobile terminal, and this mobile terminal includes but not limited to mobile phone, panel computer, the palm Upper computer and wearable device.As a example by mobile phone, as it is shown in fig. 7, this mobile phone is provided with display floater 1541 and some buttons, should Button includes the virtual key 32 on function button 31, screen locking key 33, volume adjusting key 34 and display floater 1541.
Fig. 8 is illustrated that the block diagram of the part-structure of mobile phone.With reference to Fig. 8, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 1510, memorizer 1520, input block 1530, display unit 1540, sensor 1550, audio-frequency electric The portions such as road 1560, Wireless Fidelity (wireless-fidelity, Wi-Fi) module 1570, processor 1580 and power supply 1590 Part.It will be understood by those skilled in the art that the handset structure shown in Fig. 8 is not intended that the restriction to mobile phone, ratio can be included Illustrate more or less of parts, or combine some parts, or different parts are arranged.
Below in conjunction with Fig. 8 each component parts of mobile phone carried out concrete introduction:
RF circuit 1510 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, by base station After downlink information receives, process to processor 1580;It addition, be sent to base station by designing up data.Generally, RF circuit 1510 include but not limited to antenna, at least one amplifier, transceiver, bonder, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuit 1510 can also be led to network and other equipment by radio communication Letter.Above-mentioned radio communication can use arbitrary communication standard or agreement, includes but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memorizer 1520 can be used for storing software program and module, and processor 1580 is stored in memorizer by operation The software program of 1520 and module, thus perform the application of various functions and the data process of mobile phone.Memorizer 1520 can be led Including storage program area and storage data field, wherein, needed for storage program area can store operating system, at least one function Application program (such as sound-playing function, image player function etc.) etc.;Storage data field can store the use institute according to mobile phone The data (such as voice data, phone directory etc.) etc. created.Additionally, memorizer 1520 can include that high random access stores Device, it is also possible to include nonvolatile memory, for example, at least one disk memory, flush memory device or other volatibility are solid State memory device.
Input block 1530 can be used for receiving numeral or the character information of input, and produce with the user setup of mobile phone with And function controls relevant key signals input.Specifically, input block 1530 can include contact panel 1531 and other inputs Equipment 1532.Contact panel 1531, also referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user Use any applicable object such as finger, stylus or adnexa behaviour on contact panel 1531 or near contact panel 1531 Make), and drive corresponding attachment means according to formula set in advance.Optionally, contact panel 1531 can include touching detection Device and two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect 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 1580, and order that processor 1580 sends can be received and performed.Additionally, The polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be used to realize contact panel 1531.Except touch surface Plate 1531, input block 1530 can also include other input equipments 1532.Specifically, other input equipments 1532 can include But it is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more.
Display unit 1540 can be used for each of the information that inputted by user of display or the information being supplied to user and mobile phone Plant menu.Display unit 1540 can include display floater 1541, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) Configure display floater 1541.Further, contact panel 1531 can cover display floater 1541, when contact panel 1531 detects Arrive thereon or after neighbouring touch operation, send processor 1580 to determine the type of touch event, with preprocessor 1580 provide corresponding visual output according to the type of touch event on display floater 1541.Although in fig. 8, contact panel 1531 with display floater 1541 be to realize input and the input function of mobile phone as two independent parts, but some reality Execute in example, can be by integrated to contact panel 1531 and display floater 1541 and realize input and the output function of mobile phone.
Mobile phone may also include at least one sensor 1550, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light Light and shade regulate the brightness of display floater 1541, proximity transducer can cut out display floater when mobile phone moves in one's ear 1541 and/or backlight.As the one of motion sensor, accelerometer sensor can detect (generally three axles) in all directions and add The size of speed, can detect that size and the direction of gravity time static, can be used for identifying application (the such as horizontal/vertical screen of mobile phone attitude Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for mobile phone also Other sensors such as configurable gyroscope, barometer, drimeter, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 1560, speaker 1561, microphone 1562 can provide the audio interface between user and mobile phone.Audio frequency The signal of telecommunication after the voice data conversion that circuit 1560 can will receive, is transferred to speaker 1561, speaker 1561 changes Export for acoustical signal;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 1562, by voicefrequency circuit 1560 Voice data is converted to after reception, then after voice data output processor 1580 is processed, through RF circuit 1510 to be sent to ratio Such as another mobile phone, or voice data is exported to memorizer 1520 to process further.
Wi-Fi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics by Wi-Fi module 1570 Mail, browsing webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 8 illustrates Wi-Fi module 1570, but it is understood that, it is also not belonging to must be configured into of mobile phone, can exist as required completely Omit in the scope of the essence not changing invention.
Processor 1580 is the control centre of mobile phone, utilizes various interface and the various piece of the whole mobile phone of connection, It is stored in the software program in memorizer 1520 and/or module by running or performing, and calls and be stored in memorizer 1520 Interior data, perform the various functions of mobile phone and process data, thus mobile phone is carried out integral monitoring.Optionally, processor 1580 can include one or more processing unit;Preferably, processor 1580 can integrated application processor and modulation /demodulation process Device, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor is mainly located Reason radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 1580.
Mobile phone also includes the power supply 1590 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply Management system is logically contiguous with processor 1580, thus realizes management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.Although not shown, mobile phone can also include bluetooth module etc., does not repeats them here.
Above-mentioned button is for triggering generation operational order for user under screen lock state;Memorizer 1520 is used for storing support The program of the locking means of the virtual key that the locking device of virtual key is above-mentioned;Processor 1580 is configurable for performing institute State the program of storage in memorizer 1520.
Module that the embodiment of above-mentioned mobile terminal is comprised and specific implementation can be found in the locking side of virtual key The embodiment of method part, does not repeats at this.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can be passed through it Its mode realizes.Such as, device embodiment described above is only schematically, such as, and the division of described unit, only Being only a kind of logic function to divide, actual can have other dividing mode, the most multiple unit or assembly to tie when realizing Close or be desirably integrated into another system, or some features can be ignored, or not performing.Another point, shown or discussed Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or logical Letter connects, and can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completing instructing relevant hardware by program, this program can be stored in a computer-readable recording medium, storage Medium may include that read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Above a kind of mobile terminal provided by the present invention is described in detail, for the general technology people of this area Member, according to the thought of the embodiment of the present invention, the most all will change, in sum, This specification content should not be construed as limitation of the present invention.
A1. a locking means for virtual key, comprises the steps: to receive what the first combination button was implemented by user First operational order, described first combination button is made up of at least two key combination and in described at least two button one For preset function button;Judge whether described first operational order meets first pre-conditioned;If meeting first pre-conditioned, lock Fixed described virtual key.
A2. according to the method described in A1, whether described first operational order of described judgement meets the first pre-conditioned step Suddenly, particularly as follows: judge that described first operational order, whether as growing by operation, if long by operation, determines that satisfied first presets bar Part.
A3. according to the method described in A1, whether described first operational order of described judgement meets the first pre-conditioned step Suddenly, particularly as follows: judge that described first operational order, whether as double click operation, if double click operation, determines that satisfied first presets bar Part.
A4. according to the method described in A2, the first operational order that the first combination button is implemented by described reception user After step, also include: obtain each button in the first combination button and be carried out the time started of the first operational order, it is determined that first The described time started of the described time started of the individual button being carried out operational order and the button being finally carried out operational order Between interval time whether be in predetermined amount of time, if being in predetermined amount of time, it is determined that user is to described first group Close each button in button and implement simultaneously operating;Corresponding, at described first operational order for long by operating and determining user To when in described first combination button, each button implements simultaneously operating, determine satisfied first pre-conditioned.
A5. according to the method described in A3, the first operational order that the first combination button is implemented by described reception user After step, also include: obtain each button in the first combination button and be carried out the time started of the first operational order, it is determined that first The described time started of the described time started of the individual button being carried out operational order and the button being finally carried out operational order Between interval time whether be in predetermined amount of time, if being in predetermined amount of time, it is determined that user is to described first group Close each button in button and implement simultaneously operating;Corresponding, it is double click operation at described first operational order and determines user When button each in first combination button is implemented simultaneously operating, determine satisfied first pre-conditioned.
A6. according to the method described in A1 to A5 any one, also comprise the steps: to receive user to the second combination button The second operational order implemented, described second combination button is made up of at least two key combination and described at least two button In one be preset function button;Judge whether described second operational order meets second pre-conditioned;If it is pre-to meet second If condition, release the locking to virtual key.
A7. according to the method described in A6, whether described second operational order of described judgement meets the second pre-conditioned step Suddenly, particularly as follows: judge that described second operational order, whether as growing by operation, if long by operation, determines that satisfied second presets bar Part.
A8. according to the method described in A6, whether described second operational order of described judgement meets the second pre-conditioned step Suddenly, particularly as follows: judge that described second operational order, whether as double click operation, if double click operation, determines that satisfied second presets bar Part.
A9. according to the method described in A7, the second operational order that the second combination button is implemented by described reception user After step, also include: obtain each button in described second combination button and be carried out the time started of the second operational order, sentence The described time started of the fixed first button being carried out operational order and the described beginning of the button being finally carried out operational order Whether the interval time between the time is in predetermined amount of time, if being in predetermined amount of time, it is determined that user is to described In two combination buttons, each button implements simultaneously operating;Corresponding, at described second operational order for long by operating and determining User to when in described second combination button, each button implements simultaneously operating, determines satisfied second pre-conditioned.
A10. according to the method described in A8, the second operational order that the second combination button is implemented by described reception user After step, also include: obtain each button in described second combination button and be carried out the time started of the second operational order, sentence The described time started of the fixed first button being carried out operational order and the described beginning of the button being finally carried out operational order Whether the interval time between the time is in predetermined amount of time, if being in predetermined amount of time, it is determined that user is to described In two combination buttons, each button implements simultaneously operating;Corresponding, it is double click operation at described second operational order and determines User to when in described second combination button, each button implements simultaneously operating, determines satisfied second pre-conditioned.
A11. according to the method described in A6, described second combination button is identical with described first combination button.
A12. according to the method described in A1 or A11, described first combination button is by described function button and screen locking key, volume At least one button group in adjusting key, external button, return key, HOME key and the function setting key connected by external interface Close and constitute.
A13. according to the method described in A1, the first operational order that the first combination button is implemented by described reception user Step, has following prerequisite: be under full frame state, or predetermined application is under running status.
B14. a locking device for virtual key, including: the first receiver module, it is used for receiving user and the first combination is pressed The first operational order that key is implemented, described first combination button be made up of at least two key combination and described at least two by In key one is preset function button;First determination module, is used for judging whether described first operational order meets first pre- If condition;First locking module, for described first operational order instruction meet first pre-conditioned time, lock described virtual Button.
B15. according to the device described in B14, described first determination module be used for judging described first operational order whether as Long by operation, if long by operation, determine satisfied first pre-conditioned.
B16. according to the device described in B14, described first determination module be used for judging described first operational order whether as Double click operation, if double click operation, determines satisfied first pre-conditioned.
B17. according to the device described in B15, also include the first synchronization module, be used for obtaining in described first combination button every Individual button is carried out the time started of the first operational order, it is determined that the described time started of the first button being carried out operational order And whether the interval time between the described time started of the button being finally carried out operational order is in predetermined amount of time, if It is in predetermined amount of time, it is determined that user implements simultaneously operating to each button in described first combination button;Corresponding, Described first determination module is for by operation and determining that user is to described first combination button for length at described first operational order In each button when implementing simultaneously operating, determine satisfied first pre-conditioned.
B18. according to the device described in B16, also include the first synchronization module, be used for obtaining in described first combination button every Individual button is carried out the time started of the first operational order, it is determined that the described time started of the first button being carried out operational order And whether the interval time between the described time started of the button being finally carried out operational order is in predetermined amount of time, if It is in predetermined amount of time, it is determined that user implements simultaneously operating to each button in described first combination button;Corresponding, Described first determination module is for being double click operation at described first operational order and determining that user is to described first combination button In each button when implementing simultaneously operating, determine satisfied first pre-conditioned.
B19. according to the device described in B14 to B18 any one, also include: the second receiver module, be used for receiving user couple The second operational order that second combination button is implemented, described second combination button is made up of and described at least two key combination In at least two button one is preset function button;Second determination module, is used for whether judging described second operational order Meet second pre-conditioned;Second locking module, for described second operational order instruction meet second pre-conditioned time, solve Except the locking to virtual key.
B20. according to the device described in B19, the second determination module be used for judging described second operational order whether as long by Operation, if long by operation, determines satisfied second pre-conditioned.
B21. according to the device described in B19, the second determination module is used for judging that described second operational order is whether as double-click Operation, if double click operation, determines satisfied second pre-conditioned.
B22. according to the device described in B20, also include the second synchronization module, be used for obtaining in described second combination button every Individual button is carried out the time started of the second operational order, it is determined that the described time started of the first button being carried out operational order And whether the interval time between the described time started of the button being finally carried out operational order is in predetermined amount of time, if It is in predetermined amount of time, it is determined that user implements simultaneously operating to each button in described second combination button;Corresponding, Described second determination module is for by operation and determining that user is to described second combination button for length at described second operational order In each button when implementing simultaneously operating, determine satisfied second pre-conditioned.
B23. according to the device described in B21, also include the second synchronization module, be used for obtaining in described second combination button every Individual button is carried out the time started of the second operational order, it is determined that the described time started of the first button being carried out operational order And whether the interval time between the described time started of the button being finally carried out operational order is in predetermined amount of time, if It is in predetermined amount of time, it is determined that user implements simultaneously operating to each button in described second combination button;Corresponding, Described second determination module is for being double click operation at described second operational order and determining that user is to described second combination button In each button when implementing simultaneously operating, determine satisfied second pre-conditioned.
B24. according to the device described in B19, described second combination button and the first combination button are identical.
B25. according to the device described in B14 or B24, described first combination button is by described function button and screen locking key, sound At least one button in amount adjusting key, external button, return key, HOME key and the function setting key connected by external interface Combination is constituted.
B26. according to the device described in B14, the first receiver module is for being in full frame state or predetermined application is in fortune Under row state, receive the first operational order that the first combination button is implemented by user.
C27. a mobile terminal, including processor, memorizer and some buttons;Described button includes preset function button And described button is for triggering generation operational order for user under screen lock state;Described memorizer is used for storing supports virtual pressing The locking device of key performs the program of the locking means of the virtual key in A1-A13 described in any one;Described processor is joined It is set to for performing the program of storage in described memorizer.

Claims (10)

1. the locking means of a virtual key, it is characterised in that: comprise the steps:
Receiving the first operational order that the first combination button is implemented by user, described first combination button is by least two button One in combination composition and described at least two button is preset function button;
Judge whether described first operational order meets first pre-conditioned;
If meeting first pre-conditioned, lock described virtual key.
Method the most according to claim 1, it is characterised in that: whether described first operational order of described judgement meets first Pre-conditioned step, particularly as follows:
Judge described first operational order whether as long by operation, if long by operation, determine satisfied first pre-conditioned.
Method the most according to claim 1, it is characterised in that: whether described first operational order of described judgement meets first Pre-conditioned step, particularly as follows:
Judge that described first operational order, whether as double click operation, if double click operation, determines satisfied first pre-conditioned.
Method the most according to claim 2, it is characterised in that: described receive that the first combination button is implemented by user the After the step of one operational order, also include:
Obtain each button in the first combination button and be carried out the time started of the first operational order, it is determined that first be carried out operation During interval between described time started of button of instruction and the described time started of the button that is finally carried out operational order Between whether be in predetermined amount of time, if being in predetermined amount of time, it is determined that user is to each in described first combination button Button implements simultaneously operating;
Corresponding, at described first operational order for long by operation and determine each button during user is to described first combination button When implementing simultaneously operating, determine satisfied first pre-conditioned.
Method the most according to claim 3, it is characterised in that: described receive that the first combination button is implemented by user the After the step of one operational order, also include:
Obtain each button in the first combination button and be carried out the time started of the first operational order, it is determined that first be carried out operation During interval between described time started of button of instruction and the described time started of the button that is finally carried out operational order Between whether be in predetermined amount of time, if being in predetermined amount of time, it is determined that user is to each in described first combination button Button implements simultaneously operating;
Corresponding, it is double click operation at described first operational order and determines that each button is implemented during user is to the first combination button During simultaneously operating, determine satisfied first pre-conditioned.
6. according to the method described in claim 1 to 5 any one, it is characterised in that: also comprise the steps:
Receiving the second operational order that the second combination button is implemented by user, described second combination button is by least two button One in combination composition and described at least two button is preset function button;
Judge whether described second operational order meets second pre-conditioned;
If meeting second pre-conditioned, release the locking to virtual key.
Method the most according to claim 6, it is characterised in that: whether described second operational order of described judgement meets second Pre-conditioned step, particularly as follows:
Judge described second operational order whether as long by operation, if long by operation, determine satisfied second pre-conditioned.
Method the most according to claim 6, it is characterised in that: whether described second operational order of described judgement meets second Pre-conditioned step, particularly as follows:
Judge that described second operational order, whether as double click operation, if double click operation, determines satisfied second pre-conditioned.
9. the locking device of a virtual key, it is characterised in that: including:
First receiver module, for receiving the first operational order that the first combination button is implemented by user, described first combination Button be made up of at least two key combination and in described at least two button one be preset function button;
First determination module, is used for judging whether described first operational order meets first pre-conditioned;
First locking module, for described first operational order instruction meet first pre-conditioned time, lock described virtual press Key.
10. a mobile terminal, it is characterised in that:
Including processor, memorizer and some buttons;
Described button includes that preset function button and described button are for triggering generation operational order for user under screen lock state;
Described memorizer is used for storing the void supporting that the locking device of virtual key performs in claim 1-8 described in any one Intend the program of the locking means of button;
Described processor is configurable for the program of storage in described memorizer that performs.
CN201610633203.3A 2016-08-04 2016-08-04 Locking method and locking device for virtual keys and mobile terminal Pending CN106325594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610633203.3A CN106325594A (en) 2016-08-04 2016-08-04 Locking method and locking device for virtual keys and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610633203.3A CN106325594A (en) 2016-08-04 2016-08-04 Locking method and locking device for virtual keys and mobile terminal

Publications (1)

Publication Number Publication Date
CN106325594A true CN106325594A (en) 2017-01-11

Family

ID=57739511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610633203.3A Pending CN106325594A (en) 2016-08-04 2016-08-04 Locking method and locking device for virtual keys and mobile terminal

Country Status (1)

Country Link
CN (1) CN106325594A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193553A (en) * 2017-04-27 2017-09-22 北京小米移动软件有限公司 Key control method and device
WO2019034110A1 (en) * 2017-08-17 2019-02-21 捷开通讯(深圳)有限公司 Button control method, storage medium, and smart terminal
CN113535302A (en) * 2021-07-16 2021-10-22 广州飞傲电子科技有限公司 Method and device for preventing misoperation of terminal equipment key and terminal equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130219488A1 (en) * 2012-02-21 2013-08-22 Hon Hai Precision Industry Co., Ltd. Electronic device and method for unlocking electronic device
CN103399704A (en) * 2013-07-12 2013-11-20 华为终端有限公司 Terminal equipment and locking and unlocking method thereof
CN104935688A (en) * 2015-03-18 2015-09-23 广东欧珀移动通信有限公司 Touching-type mobile terminal
CN104951093A (en) * 2014-03-31 2015-09-30 维沃移动通信有限公司 Mobile terminal capable of calling programs or functions by customizing keys and method of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130219488A1 (en) * 2012-02-21 2013-08-22 Hon Hai Precision Industry Co., Ltd. Electronic device and method for unlocking electronic device
CN103399704A (en) * 2013-07-12 2013-11-20 华为终端有限公司 Terminal equipment and locking and unlocking method thereof
WO2015003648A1 (en) * 2013-07-12 2015-01-15 华为终端有限公司 Terminal device and locking/unlocking method therefor
CN104951093A (en) * 2014-03-31 2015-09-30 维沃移动通信有限公司 Mobile terminal capable of calling programs or functions by customizing keys and method of mobile terminal
CN104935688A (en) * 2015-03-18 2015-09-23 广东欧珀移动通信有限公司 Touching-type mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193553A (en) * 2017-04-27 2017-09-22 北京小米移动软件有限公司 Key control method and device
WO2019034110A1 (en) * 2017-08-17 2019-02-21 捷开通讯(深圳)有限公司 Button control method, storage medium, and smart terminal
US11262911B2 (en) 2017-08-17 2022-03-01 JRD Communication (Shenzhen) Ltd. Integrated home key and virtual key area for a smart terminal
CN113535302A (en) * 2021-07-16 2021-10-22 广州飞傲电子科技有限公司 Method and device for preventing misoperation of terminal equipment key and terminal equipment

Similar Documents

Publication Publication Date Title
CN104238893B (en) A kind of method and apparatus that video preview picture is shown
CN107273036A (en) Mobile terminal and its split screen control method, computer-readable recording medium
CN103530115B (en) Application program display method and device and terminal equipment
CN106776036A (en) A kind of resource allocation methods and device
CN106874091A (en) A kind of application call method, device and mobile terminal
CN106445596A (en) Method and device for managing setting items
CN108989887A (en) The method, apparatus of mobile terminal and pushing video
CN106131804A (en) A kind of notification message processing method and equipment
CN108932093A (en) Split screen application switching method, device, storage medium and electronic equipment
CN105912919A (en) Fingerprint unlocking method and terminal
CN108668328A (en) A kind of method for switching network and mobile terminal
CN106445336A (en) Fast acquisition method for electronic resource and mobile terminal
CN106250191A (en) Internal memory method for cleaning, device and the mobile terminal of mobile terminal
CN110418003A (en) A kind of brightness adjusting method, brightness regulating apparatus and mobile terminal
CN106657657A (en) Mobile terminal and video browsing method and system for mobile terminal
CN106325594A (en) Locking method and locking device for virtual keys and mobile terminal
CN106648460B (en) Step counting data filtering method and intelligent terminal
CN109040433A (en) Mobile terminal and the method, apparatus to receive calls
CN108762613A (en) A kind of Status icons display methods and mobile terminal
CN108063861A (en) The method, apparatus and mobile terminal that a kind of state is reminded
CN107678822B (en) A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN106254488A (en) Method, the method for broadcasting and the relevant apparatus that screen locking picture pushes
CN104423990B (en) A kind of update method and device of magnet
CN107040658B (en) Mobile terminal and method and device for controlling screen thereof
CN106791074B (en) Song information display methods, device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20170720

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170111

RJ01 Rejection of invention patent application after publication