CN106326698A - Working state setting method for terminal and terminal - Google Patents

Working state setting method for terminal and terminal Download PDF

Info

Publication number
CN106326698A
CN106326698A CN201610654338.8A CN201610654338A CN106326698A CN 106326698 A CN106326698 A CN 106326698A CN 201610654338 A CN201610654338 A CN 201610654338A CN 106326698 A CN106326698 A CN 106326698A
Authority
CN
China
Prior art keywords
hammer action
terminal
duty
user
sound
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
CN201610654338.8A
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.)
Shanghai Green Orange Industry Co Ltd
Original Assignee
Shanghai Green Orange Industry 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 Shanghai Green Orange Industry Co Ltd filed Critical Shanghai Green Orange Industry Co Ltd
Priority to CN201610654338.8A priority Critical patent/CN106326698A/en
Publication of CN106326698A publication Critical patent/CN106326698A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • 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

Landscapes

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

Abstract

The embodiment of the invention provides a working state setting method for a terminal and the terminal. The method comprises the following steps: acquiring a first knocking action input by a user; when the first knocking action is detected to belong to a preset knocking action, acquiring a first working state corresponding to the first knocking action; setting the current working state of the terminal as the first working state according to the first working state corresponding to the first knocking action. According to the embodiment, the working state of the terminal is set through the knocking action, so that the setting of the working state is higher in efficiency, more flexible and more accurate; moreover, the knocking action is not easily found by an outsider, so that the problem of low security of a protective terminal caused by manually inputting a numerical password or a graphical password by the user in the prior art can be solved; the security of the protective terminal is improved.

Description

The duty method to set up of terminal and terminal
Technical field
The present embodiments relate to communication technical field, particularly relate to duty method to set up and the end of a kind of terminal End.
Background technology
At present, in order to avoid others can arbitrarily use the terminal of user, user can arrange cryptoguard to terminal, typically Screen can be locked by user, could be unlocked screen when the numerical ciphers that input is preset or graphical passwords, thus The interface entering terminal operates.But, user is inputting numerical ciphers or during graphical passwords, it is easy to seen by others and Get numerical ciphers or graphical passwords, thus cause the safety of protection terminal to reduce.
Summary of the invention
The embodiment of the present invention provides duty method to set up and the terminal of a kind of terminal, for improving the peace of protection terminal Quan Xing.
First aspect, the embodiment of the present invention provides the duty method to set up of a kind of terminal, including:
Obtain the first hammer action of user's input;
When detecting described first hammer action and belonging to default hammer action, obtain that described first hammer action is corresponding the One duty;
According to the first duty that described first hammer action is corresponding, the current operating state arranging described terminal is institute State the first duty.
Second aspect, the embodiment of the present invention provides a kind of terminal, including:
Acquisition module, for obtaining the first hammer action of user's input;
Detection module, is used for detecting whether described first hammer action belongs to default hammer action;
Described acquisition module, is additionally operable to belong to default hammer action when described detection module detects described first hammer action Time, obtain the first duty that described first hammer action is corresponding;
Module is set, for first duty corresponding according to described first hammer action, working as of described terminal is set Front duty is described first duty.
The duty method to set up of the terminal that the present embodiment provides and terminal, by obtaining the first percussion of user's input Action;When detecting described first hammer action and belonging to default hammer action, obtain that described first hammer action is corresponding first Duty;According to the first duty that described first hammer action is corresponding, the current operating state arranging described terminal is Described first duty.The present embodiment arranges the duty of terminal by hammer action so that the setting of duty In hgher efficiency, more flexible, more accurate, and owing to hammer action is not easy to be found by stranger, it is possible to solve in prior art by The problem that the safety of the protection terminal being manually entered numerical ciphers or graphical passwords in user and cause is low, improves protection eventually The safety of end.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is this Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to root Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the duty method to set up embodiment one of terminal of the present invention;
Fig. 2 is the flow chart of the duty method to set up embodiment two of terminal of the present invention;
Fig. 3 is the flow chart of the duty method to set up embodiment three of terminal of the present invention;
Fig. 4 is the flow chart of the duty method to set up embodiment four of terminal of the present invention;
Fig. 5 is the flow chart of the duty method to set up embodiment five of terminal of the present invention;
Fig. 6 is the structural representation of terminal embodiment one of the present invention;
Fig. 7 is the structural representation of terminal embodiment two of the present invention;
Fig. 8 is the structural representation of terminal embodiment three of the present invention;
Fig. 9 is the structural representation of terminal embodiment four of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
It should be understood that terminal involved in the embodiment of the present invention can include but not limited to mobile phone, panel computer (PAD), (Personal Digital Assistant, is called for short: PDA), wireless handheld sets for wearable device, personal digital assistant Standby, get online without being tethered to a cable basis, portable computer, MP3 player, MP4 player etc..
Fig. 1 is the flow chart of the duty method to set up embodiment one of terminal of the present invention, as it is shown in figure 1, the present embodiment Method may include that
S101, the first hammer action of acquisition user's input.
S102, when detect described first hammer action belong to default hammer action time, obtain described first hammer action pair The first duty answered.
S103, according to the first duty corresponding to described first hammer action, the work at present shape of described terminal is set State is described first duty.
In the present embodiment, terminal can be tapped by user, can enter the back cover of terminal or screen or side frame Row taps, and this is not limited by the present embodiment;Terminal can obtain the hammer action of user, the referred to herein as first hammer action. Then the first hammer action is detected, detect whether the first hammer action belongs to default hammer action, preset hammer action Can have multiple, detect whether the first hammer action belongs to one of which herein, when detecting that the first hammer action belongs to default During hammer action, then explanation user needs to be configured the duty of terminal, then further according to the first hammer action, obtains The duty corresponding with the first hammer action, the referred to herein as first duty, then the current operating state of terminal is arranged It it is the first duty.When detecting that the first hammer action is not belonging to preset hammer action, then explanation user need not end The duty of end is configured, it is also possible to is the mistake percussion of user, then terminates.
Alternatively, the first duty can be to unlock screen, and the most correspondingly S103 is it may be that according to the first hammer action The first corresponding duty is for unlocking screen, and the current operating state arranging terminal is the state unlocking screen, will screen Unlock.
Alternatively, the first duty can be dialing status, and the most correspondingly S103 is it may be that according to the first hammer action The first corresponding duty is dialing status, and the current operating state arranging terminal is the current aobvious of dialing status, i.e. terminal The interface of display screen curtain display dialing.
Alternatively, the first duty can be application program launching state, and the most correspondingly S103 is it may be that according to first First duty corresponding to hammer action is application program launching, arranges the current operating state of terminal for starting application program The startup interface of this application program currently displaying of state, i.e. terminal.
Alternatively, the first duty can be to connect wifi state, and the most correspondingly S103 is it may be that tap according to first First duty corresponding to action, for connecting wifi state, arranges the current operating state of terminal for connecting wifi state, i.e. Terminal is set up with wifi and is connected.
It should be noted that first duty of the present embodiment is not limited to above-mentioned described.
Alternatively, terminal can obtain the first hammer action at predeterminated position, defines that terminal is carried out by user herein The position tapped, just carries out when user can be avoided inadvertently to tap terminal performing the process that duty is arranged, Reduce the power consumption of terminal.
The duty method to set up of the terminal that the present embodiment provides, by obtaining the first hammer action of user's input; When detecting described first hammer action and belonging to default hammer action, obtain the first work shape that described first hammer action is corresponding State;According to the first duty that described first hammer action is corresponding, the current operating state arranging described terminal is described One duty.The present embodiment arranges the duty of terminal by hammer action so that duty efficiency is set more High, more flexible, more accurate, and owing to hammer action is not easy to be found by stranger, it is possible to solve in prior art due to user The problem that the safety of the protection terminal being manually entered numerical ciphers or graphical passwords and cause is low, improves the peace of protection terminal Quan Xing.
Alternatively, the first above-mentioned hammer action obtains according to this password that rubs, and common people's None-identified rubs this password, Even if therefore have seen the hammer action of user, it is also difficult to identify first hammer action of user, further increase protection The safety of terminal.
Fig. 2 is the flow chart of the duty method to set up embodiment two of terminal of the present invention, as in figure 2 it is shown, the present embodiment Method may include that
S201, the hammer action of acquisition user's input arrange instruction, and it is described for arranging that described hammer action arranges instruction The hammer action of the first duty, described hammer action arranges instruction and includes the word that user inputs.
S202, rub this decryptography to described word, it is thus achieved that the first hammer action.
S203, inform the user described first hammer action.
S204, store the corresponding relation of described first hammer action and described first duty.
In the present embodiment, before performing S205, perform S201-S204, but it should be recognized that be not to exist every time S201-S204 will be performed before performing S205.
In the present embodiment, terminal can show that hammer action arranges interface, and user can tap dynamic based on the input of this interface Arranging instruction, this hammer action arranges the hammer action instructed for arranging the first duty, and this hammer action arranges finger Order includes the word that user inputs, the word of user's input can include following at least one: Chinese character, numeral, letter etc., but not It is limited to this.Then the word of user's input is rubbed this decryptography, it is thus achieved that the first hammer action, this first hammer action example Strike in this way one, pause, strike three times continuously;The first hammer action obtained being notified (can be on the display screen to user again Display to the user that the first hammer action, it is also possible to, it is also possible to the voice of the first hammer action is play to user) so that user obtains Take and carry out the first above-mentioned hammer action when being configured the first duty;And also storage the first hammer action is with the The corresponding relation of one duty, in order to when obtaining the first hammer action, obtains according to this corresponding relation and taps with first The first duty that action is corresponding.Wherein, this decryptography that how to rub word obtains hammer action and realizes process, Similarly to the prior art, here is omitted.
It should be noted that the execution sequence of S203 with S204 does not limits.
S205, the first hammer action of acquisition user's input.
S206, when detecting described first hammer action and belonging to default hammer action, tap dynamic according to storage described first Make the corresponding relation with described first duty, obtain the first duty that described first hammer action is corresponding.
S207, according to the first duty corresponding to described first hammer action, the work at present shape of described terminal is set State is described first duty.
In the present embodiment, the process that implements of S205-S207 may refer to the associated description in embodiment illustrated in fig. 1, Here is omitted.
The duty method to set up of the terminal that the present embodiment provides, arranges finger by the hammer action obtaining user's input Order, described hammer action arranges the hammer action instructed for arranging described first duty, and described hammer action arranges finger Order includes the word that user inputs;Rub this decryptography to described word, it is thus achieved that the first hammer action;Show described first Hammer action;Store the corresponding relation of described first hammer action and described first duty;Obtain user's input the most again The first hammer action;When detecting described first hammer action and belonging to default hammer action, obtain described first hammer action The first corresponding duty;According to the first duty that described first hammer action is corresponding, the current of described terminal is set Duty is described first duty.The present embodiment arranges the duty of terminal by hammer action so that work Arranging of state is in hgher efficiency, more flexible, more accurate, and owing to more not allowing through the hammer action of this decryptography that rubs Easily identified by common people, further increase the safety of protection terminal.
Fig. 3 is the flow chart of the duty method to set up embodiment three of terminal of the present invention, as it is shown on figure 3, the present embodiment Method may include that
S301, the percussion sound inputted by microphone apparatus acquisition user.
S302, according to described percussion sound, obtain the first hammer action.
In the present embodiment, a kind of feasible implementation of the first hammer action obtaining user's input can include S301 and S302.
User can send when tapping and tap sound accordingly, and the terminal of the present embodiment can include microphone apparatus, logical Cross microphone apparatus and can obtain the percussion sound of user's input, then according to tapping sound, obtain the first of user's input and strike Hit action.Wherein, tapping sound can be to be obtained by the mike of terminal.Such as: tap sound be: one drip sound, pause, Three drip sound continuously, then corresponding hammer action is: a beat, pause, three continuous percussions.
S303, when detect described first hammer action belong to default hammer action time, obtain described first hammer action pair The first duty answered.
S304, according to the first duty corresponding to described first hammer action, the work at present shape of described terminal is set State is described first duty.
The process that implements of S303 Yu S304 may refer to the associated description in embodiment as shown in Figure 1 or 2, herein Repeat no more.
The duty method to set up of the terminal that the present embodiment provides, by obtaining the percussion sound of user's input;According to Described percussion sound, obtains the first hammer action;When detecting described first hammer action and belonging to default hammer action, obtain institute State the first duty that the first hammer action is corresponding;According to the first duty that described first hammer action is corresponding, arrange The current operating state of described terminal is described first duty.The present embodiment determines hammer action by tapping sound, Then the duty of terminal is set so that arranging of duty is in hgher efficiency, more flexible, more accurate, and owing to tapping Action is not easy to be found by stranger, it is possible to solve to lead owing to user is manually entered numerical ciphers or graphical passwords in prior art The problem that the safety of protection terminal that causes is low, improves the safety protecting terminal.
Fig. 4 is the flow chart of the duty method to set up embodiment four of terminal of the present invention, as shown in Figure 4, the present embodiment Method may include that
S401, gathered the first sound by the first mike, and gather the second sound by second microphone.
S402, according to described second sound, described first sound is carried out denoising, it is thus achieved that tap sound.
In the present embodiment, the hammer action that the first hammer action is the predeterminated position in terminal of user's input, described end End includes that microphone apparatus, wherein said microphone apparatus include that the first mike and second microphone, described predeterminated position lean on The most described first mike and away from described second microphone.
Owing to user is when terminal inputs the first hammer action, also can there is sound, therefore, the present embodiment in environment around Gathering the first sound by the first mike, gather the second sound by second microphone, wherein, the first sound includes in environment Sound and user carry out the sound that sends during the first hammer action, the second sound includes the sound in environment.Then according to institute Stating the second sound and described first sound is carried out denoising, it is thus achieved that described percussion sound, wherein, denoising is mainly by the The second sound in one sound is got rid of, and taps sound accurately to obtain.
Alternatively, described terminal can also include the chamber that amplifies being arranged on above-mentioned predeterminated position, and this chamber that amplifies can be with First mike is adjacent, it is also possible to turning on the input port of the first mike, this chamber that amplifies can be the chamber that amplifies of speaker.On State and obtain a kind of feasible implementation of the first sound by the first mike and can be: by the first mike and the chamber that amplifies Obtaining the first sound, the volume tapping sound that the hammer action of user can be sent by this chamber that amplifies is enlarged processing, and makes The first sound that must obtain includes the percussion sound after carrying out volume expansion process.So make to tap in sound and environment Sound difference becomes apparent from, thus when denoising, it is thus achieved that tap sound more accurately.
S403, according to described percussion sound, obtain the first hammer action.
S404, when detect described first hammer action belong to default hammer action time, obtain described first hammer action pair The first duty answered.
S405, according to the first duty corresponding to described first hammer action, the work at present shape of described terminal is set State is described first duty.
The process that implements of S403-S405 may refer to the associated description in embodiment as shown in Figure 3, the most superfluous State.
The duty method to set up of the terminal that the present embodiment provides, gathers the first sound by the first mike, and The second sound is gathered by second microphone;According to described second sound, described first sound is carried out denoising, it is thus achieved that strike Hit sound;According to described percussion sound, obtain the first hammer action;Move when described first hammer action of detection belongs to preset to tap When making, obtain the first duty that described first hammer action is corresponding;According to the first work that described first hammer action is corresponding Making state, the current operating state arranging described terminal is described first duty.The percussion sound that the present embodiment obtains is more Add accurately, then determine hammer action by tapping sound, then the duty of terminal is set so that the setting of duty In hgher efficiency, more flexible, more accurate, and owing to hammer action is not easy to be found by stranger, it is possible to solve in prior art by The problem that the safety of the protection terminal being manually entered numerical ciphers or graphical passwords in user and cause is low, improves protection eventually The safety of end.
Fig. 5 is the flow chart of the duty method to set up embodiment five of terminal of the present invention, as it is shown in figure 5, the present embodiment Method may include that
S501, the first hammer action inputted by gravity sensor acquisition user.
Terminal in the present embodiment can include gravity sensor;Gravity sensor can sense user carry out tapping dynamic As time the vibration that causes, and then according to the vibration sensed, obtain the first hammer action of user's input.
S502, when detect described first hammer action belong to default hammer action time, obtain described first hammer action pair The first duty answered.
S503, according to the first duty corresponding to described first hammer action, the work at present shape of described terminal is set State is described first duty.
The process that implements of S502 Yu S503 may refer to the associated description in the arbitrary illustrated embodiment of Fig. 1-Fig. 4, this Place repeats no more.
The duty method to set up of the terminal that the present embodiment provides, obtains the first of user's input by gravity sensor Hammer action;When detecting described first hammer action and belonging to default hammer action, obtain described first hammer action corresponding First duty;According to the first duty that described first hammer action is corresponding, the work at present shape of described terminal is set State is described first duty.The present embodiment arranges the duty of terminal by hammer action so that setting of duty It is in hgher efficiency, more flexible, more accurate to put, and owing to hammer action is not easy to be found by stranger, it is possible to solve in prior art The problem that the safety of the protection terminal caused owing to user is manually entered numerical ciphers or graphical passwords is low, improves protection The safety of terminal.
Fig. 6 is the structural representation of terminal embodiment one of the present invention, and as shown in Figure 6, the terminal of the present embodiment may include that Acquisition module 10, detection module 20 and module 30 is set;
Acquisition module 10, for obtaining the first hammer action of user's input;
Detection module 20, is used for detecting whether described first hammer action belongs to default hammer action;
Described acquisition module 10, for when described detection module 20 detect described first hammer action belong to preset tap dynamic When making, obtain the first duty that described first hammer action is corresponding;
Module 30 is set, for first duty corresponding according to described first hammer action, described terminal is set Current operating state is described first duty.
The terminal of the present embodiment, may be used for performing the duty side of setting of the terminal that the invention described above embodiment provides Technical scheme shown in method, it is similar with technique effect that it realizes principle, may refer in detail in said method embodiment of the present invention Relevant record, here is omitted.
Fig. 7 is the structural representation of terminal embodiment two of the present invention, as it is shown in fig. 7, the terminal of the present embodiment is shown in Fig. 6 On the basis of the embodiment of terminal, described first hammer action obtains according to this password that rubs.
Alternatively, the terminal of the present embodiment can also include: translation module 40, notification module 50 and memory module 60.
Acquisition module 10, is additionally operable to, before obtaining the first hammer action of user's input, obtain the percussion of user's input Action arranges instruction, and described hammer action arranges the hammer action instructed for arranging described first duty, described percussion Action arranges instruction and includes the word that user inputs;
Translation module 40, for this decryptography that rubs described word, it is thus achieved that the first hammer action;
Notification module 50, is used for informing the user described first hammer action;
Memory module 60, for storing the corresponding relation of described first hammer action and described first duty.
The terminal of the present embodiment, may be used for performing the duty side of setting of the terminal that the invention described above embodiment provides Technical scheme shown in method, it is similar with technique effect that it realizes principle, may refer in detail in said method embodiment of the present invention Relevant record, here is omitted.
Fig. 8 is the structural representation of terminal embodiment three of the present invention, and as shown in Figure 8, the terminal of the present embodiment is shown in Fig. 6 On the basis of the embodiment of terminal, described terminal also includes microphone apparatus 70, microphone apparatus 70, is used for gathering user's input Percussion sound;
Described acquisition module 10 obtain user input the first hammer action time, specifically for: obtain described mike The percussion sound of user's input that equipment 70 gathers;According to described percussion sound, obtain described first hammer action.
Alternatively, described first hammer action is the hammer action of the predeterminated position in described terminal, and described mike sets Standby 70 include the first mike 71 and second microphone 72, and described predeterminated position is near described first mike 71 and away from institute State second microphone 72;
First mike 71, for gathering the first sound;
Second microphone 72, for gathering the second sound;
Described acquisition module 10, when obtaining the percussion sound of user's input that described microphone apparatus 70 gathers, is specifically used In: obtain the first sound that described first mike 71 gathers, and obtain the second sound that described second microphone 72 gathers; According to described second sound, described first sound is carried out denoising, it is thus achieved that described percussion sound.
Alternatively, described terminal also includes: be arranged on the chamber (not shown) that amplifies of described predeterminated position;
Amplify chamber, for being amplified processing to the volume of the first sound;
First mike 71, for gathering the first sound after the chamber processing and amplifying that amplifies;
Described acquisition module 10 obtain described first mike 71 gather the first sound time, specifically for: obtain institute State the first sound after the chamber processing and amplifying that amplifies that the first mike 71 gathers.
Alternatively, Fig. 8 can also include translation module 40 as shown in Figure 7, notification module 50 and memory module 60, simply Not shown in Fig. 8.
The terminal of the present embodiment, may be used for performing the duty side of setting of the terminal that the invention described above embodiment provides Technical scheme shown in method, it is similar with technique effect that it realizes principle, may refer in detail in said method embodiment of the present invention Relevant record, here is omitted.
Fig. 9 is the structural representation of terminal embodiment four of the present invention, as it is shown in figure 9, the terminal of the present embodiment is shown in Fig. 6 On the basis of the embodiment of terminal, described terminal can include gravity sensor 80;Described gravity sensor 80, strikes for sensing Hit vibration;
Described acquisition module 10 obtain the first hammer action time, specifically for: obtain described gravity sensor 80 and sense Percussion vibration, according to described percussion vibration, obtain described first hammer action.
Alternatively, Fig. 9 can also include translation module 40 as shown in Figure 7, notification module 50 and memory module 60, simply Not shown in Fig. 9.
The terminal of the present embodiment, may be used for performing the duty side of setting of the terminal that the invention described above embodiment provides Technical scheme shown in method, it is similar with technique effect that it realizes principle, may refer in detail in said method embodiment of the present invention Relevant record, here is omitted.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each method embodiment can be led to The hardware crossing programmed instruction relevant completes.Aforesaid program can be stored in a computer read/write memory medium.This journey Sequence upon execution, performs to include the step of above-mentioned each method embodiment;And aforesaid storage medium includes: read-only memory (English: Read-Only Memory, is called for short: ROM), random access memory (English: Random Access Memory, be called for short: RAM), the various medium that can store program code such as magnetic disc or CD.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;To the greatest extent The present invention has been described in detail by pipe with reference to foregoing embodiments, it will be understood by those within the art that: it depends on So the technical scheme described in foregoing embodiments can be modified, or the most some or all of technical characteristic is entered Row equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology The scope of scheme.

Claims (10)

1. the duty method to set up of a terminal, it is characterised in that including:
Obtain the first hammer action of user's input;
When detecting described first hammer action and belonging to default hammer action, obtain the first work that described first hammer action is corresponding Make state;
According to the first duty that described first hammer action is corresponding, the current operating state arranging described terminal is described One duty.
Method the most according to claim 1, it is characterised in that described first hammer action is to obtain according to this password that rubs 's.
Method the most according to claim 2, it is characterised in that before the first hammer action of described acquisition user input, Also include:
The hammer action obtaining user's input arranges instruction, and described hammer action arranges instruction for arranging described first work shape The hammer action of state, described hammer action arranges instruction and includes the word that user inputs;
Rub this decryptography to described word, it is thus achieved that described first hammer action;
Inform the user described first hammer action;
Store the corresponding relation of described first hammer action and described first duty.
4. according to the method described in claim 1-3 any one, it is characterised in that described terminal includes microphone apparatus, institute State the first hammer action obtaining user's input, including:
The percussion sound of user's input is obtained by described microphone apparatus;
According to described percussion sound, obtain described first hammer action.
Method the most according to claim 4, it is characterised in that described first hammer action is the default position in described terminal The hammer action put, described microphone apparatus includes the first mike and second microphone, and described predeterminated position is near described One mike and away from described second microphone;
The described percussion sound obtaining user's input, including:
Gather the first sound by described first mike, and gather the second sound by described second microphone;
According to described second sound, described first sound is carried out denoising, it is thus achieved that described percussion sound.
Method the most according to claim 5, it is characterised in that described terminal also includes: be arranged on described predeterminated position Amplify chamber;Described obtain the first sound by described first mike, including:
By described chamber and described first mike described first sound of acquisition of amplifying.
7. according to the method described in claim 1-3 any one, it is characterised in that described terminal includes gravity sensor;Institute State acquisition the first hammer action, including:
Described first hammer action is obtained by described gravity sensor.
8. a terminal, it is characterised in that including:
Acquisition module, for obtaining the first hammer action of user's input;
Detection module, is used for detecting whether described first hammer action belongs to default hammer action;
Described acquisition module, is additionally operable to when described first hammer action of described detection module detection belongs to default hammer action, Obtain the first duty that described first hammer action is corresponding;
Module is set, for first duty corresponding according to described first hammer action, the current work of described terminal is set It is described first duty as state.
Terminal the most according to claim 8, it is characterised in that described first hammer action is to obtain according to this password that rubs 's.
Terminal the most according to claim 8 or claim 9, it is characterised in that also include: translation module, notification module and storage mould Block
Described acquisition module, for before obtaining the first hammer action of user's input, obtains the hammer action of user's input Arranging instruction, described hammer action arranges the hammer action instructed for arranging described first duty, described hammer action Instruction is set and includes the word that user inputs;
Described translation module, for this decryptography that rubs described word, it is thus achieved that the first hammer action;
Described notification module, is used for informing the user described first hammer action;
Described memory module, for storing the corresponding relation of described first hammer action and described first duty.
CN201610654338.8A 2016-08-11 2016-08-11 Working state setting method for terminal and terminal Pending CN106326698A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610654338.8A CN106326698A (en) 2016-08-11 2016-08-11 Working state setting method for terminal and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610654338.8A CN106326698A (en) 2016-08-11 2016-08-11 Working state setting method for terminal and terminal

Publications (1)

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

Family

ID=57740080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610654338.8A Pending CN106326698A (en) 2016-08-11 2016-08-11 Working state setting method for terminal and terminal

Country Status (1)

Country Link
CN (1) CN106326698A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111699368A (en) * 2019-05-22 2020-09-22 深圳市大疆创新科技有限公司 Strike detection method, device, movable platform and computer readable storage medium
WO2024148742A1 (en) * 2023-01-10 2024-07-18 中兴通讯股份有限公司 Smart-device unlocking method, computer device, and readable medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455842A (en) * 2010-10-21 2012-05-16 北京创新方舟科技有限公司 Method and equipment for unlocking screen according to clicking operation of user
CN102880414A (en) * 2012-08-28 2013-01-16 华为技术有限公司 Terminal equipment and method for starting program rapidly
CN103871419A (en) * 2012-12-11 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104281401A (en) * 2013-07-09 2015-01-14 宏达国际电子股份有限公司 Method for Controlling Electronic Device with Touch Screen and Electronic Device Thereof
CN204795323U (en) * 2015-06-25 2015-11-18 台湾微米科技股份有限公司 Strike image equipment of catching that triggers
WO2016048279A1 (en) * 2014-09-23 2016-03-31 Hewlett-Packard Development Company, Lp Determining location using time difference of arrival
CN105611064A (en) * 2016-01-20 2016-05-25 广东欧珀移动通信有限公司 Mobile terminal mode switching method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455842A (en) * 2010-10-21 2012-05-16 北京创新方舟科技有限公司 Method and equipment for unlocking screen according to clicking operation of user
CN102880414A (en) * 2012-08-28 2013-01-16 华为技术有限公司 Terminal equipment and method for starting program rapidly
CN103871419A (en) * 2012-12-11 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104281401A (en) * 2013-07-09 2015-01-14 宏达国际电子股份有限公司 Method for Controlling Electronic Device with Touch Screen and Electronic Device Thereof
WO2016048279A1 (en) * 2014-09-23 2016-03-31 Hewlett-Packard Development Company, Lp Determining location using time difference of arrival
CN204795323U (en) * 2015-06-25 2015-11-18 台湾微米科技股份有限公司 Strike image equipment of catching that triggers
CN105611064A (en) * 2016-01-20 2016-05-25 广东欧珀移动通信有限公司 Mobile terminal mode switching method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111699368A (en) * 2019-05-22 2020-09-22 深圳市大疆创新科技有限公司 Strike detection method, device, movable platform and computer readable storage medium
WO2020232669A1 (en) * 2019-05-22 2020-11-26 深圳市大疆创新科技有限公司 Hitting detection method and device, movable platform, and computer readable storage medium
WO2024148742A1 (en) * 2023-01-10 2024-07-18 中兴通讯股份有限公司 Smart-device unlocking method, computer device, and readable medium

Similar Documents

Publication Publication Date Title
CN105024835B (en) Group management and device
KR102299261B1 (en) Method of controlling lock state of applications and electronic device supporting the same
KR101655490B1 (en) Method for using a captcha challenge to protect a removable mobile flash memory storage device
JP4616308B2 (en) Method and apparatus for data protection of mobile devices
CN103488419B (en) The operating method and communication terminal of communication terminal
CN105120047B (en) The display methods and terminal of a kind of caller id information
CN107085479A (en) The method and the electronic installation suitable for it of handwriting style calibration function are provided
ES2863976T3 (en) Information processing procedure and related products
US20170300676A1 (en) Method and device for realizing verification code
CN103279714B (en) Mobile terminal and its data ciphering method and decryption method
CN107451445A (en) A kind of method of unlocking screen, terminal and storage medium
CN105912919B (en) A kind of unlocked by fingerprint method and terminal
CN107808084A (en) A kind of touch operation method and mobile terminal
CN106326698A (en) Working state setting method for terminal and terminal
US20150199969A1 (en) Method of controlling terminal using context awareness and terminal thereof
CN107016337A (en) A kind of fingerprint identification method and mobile terminal
CN103299322A (en) Hand-written character input device and portable terminal
CN104933340B (en) The sending method and mobile terminal of a kind of message
CN107391990A (en) A kind of method, terminal and storage medium for identifying user
CN107122647A (en) Finger print data processing method, device and electronic equipment
CN104391588B (en) A kind of method of input prompt and device
CN105335088A (en) File sharing method and device
CN105306691A (en) Personal information protection method and terminal
CN104567845B (en) A kind of direction guidance method and mobile terminal
CN107730248B (en) Screen-saving payment method and device of mobile terminal, mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170111