[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN105677230A - Function control method and terminal - Google Patents

Function control method and terminal Download PDF

Info

Publication number
CN105677230A
CN105677230A CN201610066651.XA CN201610066651A CN105677230A CN 105677230 A CN105677230 A CN 105677230A CN 201610066651 A CN201610066651 A CN 201610066651A CN 105677230 A CN105677230 A CN 105677230A
Authority
CN
China
Prior art keywords
terminal
touch
function
objective function
duration
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
CN201610066651.XA
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610066651.XA priority Critical patent/CN105677230A/en
Publication of CN105677230A publication Critical patent/CN105677230A/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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention relates to the technical field of mobile communication, and discloses a function control method and a terminal. The function control method comprises the following steps: acquiring touch parameters, wherein the touch parameters comprise touch pressure and touch time length; checking a target function matched with the touch pressure and the touch time length in a terminal; judging whether the terminal executes the target function or not; if not, implementing the target function. By adoption of the embodiment of the invention, the efficiency of function control in the terminal can be improved.

Description

A kind of function control method and terminal
Technical field
The present invention relates to mobile communication technology field, particularly relate to a kind of function control method and terminal.
Background technology
At present, the increasing terminal such as smart mobile phone, panel computer enters the life of people, and in terminal, the control of many main flow functions relies heavily on user's operation to terminal touch screen. Finding in practice, user generally requires and carries out a certain function that multi-pass operation could control in terminal on the touchscreen. Such as, user is when using terminal with full frame pattern viewing video, it is necessary to first point touching screen makes it demonstrate virtual key, then clicks the Pause key in virtual key and could realize the pause function of video. However, it is desirable to multi-pass operation controls the complex operation step of a certain function in terminal, function control efficiency is relatively low.
Summary of the invention
The embodiment of the invention discloses a kind of function control method and terminal, it is possible to increase the efficiency that in terminal, function controls.
The embodiment of the invention discloses first aspect and disclose a kind of function control method, including:
Obtaining and touch parameter, described touch parameter includes touch pressure and touches duration;
The objective function mated with described touch pressure and described touch duration in inquiry terminal;
Judge whether described terminal is carrying out described objective function, if it does not, perform described objective function.
In the first possible implementation of embodiment of the present invention first aspect, before described acquisition touches parameter, described method also includes:
The touch screen of described terminal is divided into N number of different feature operation region, and described N is the positive integer more than 1;
Described acquisition touches parameter, including:
Obtaining the touch parameter for the objective function operating area in described N number of different feature operation region, described touch parameter also includes touching fingerprint;
The objective function mated with described touch pressure and described touch duration in described inquiry terminal, including:
Inquire about the function set mated with described touch pressure and described touch duration of the binding of objective function operating area described in described terminal;
From described function set, inquiry has bound the function of described touch fingerprint as objective function.
The first possible implementation in conjunction with embodiment of the present invention first aspect, in the implementation that the second of embodiment of the present invention first aspect is possible, the function set mated with described touch pressure and described touch duration of the binding of objective function operating area described in the described terminal of described inquiry, including:
Determine all functions that objective function operating area described in described terminal is bound;
Described touch pressure and described touch duration are combined, it is thus achieved that character string;
Use Hash hash algorithm by described text string generation hash value;
At least one function mated with described hash value is inquired about to form function set from described all functions.
In the third possible implementation of embodiment of the present invention first aspect, described touch parameter also includes touching fingerprint, and after judging that described terminal is not carried out described objective function, described method also includes:
Judge fingerprint that described objective function binds whether with described touch fingerprint matching, if it does, perform the described step performing described objective function.
In conjunction with the first of embodiment of the present invention first aspect or embodiment of the present invention first aspect to any one the possible implementation in the third, in the 4th kind of possible implementation of embodiment of the present invention first aspect, described method also includes:
Described terminal touch screen shows described touch pressure with the form of block diagram;
Described terminal touch screen shows described touch duration with the form of block diagram.
Embodiment of the present invention second aspect discloses a kind of terminal, and described terminal includes:
Acquiring unit, is used for obtaining touch parameter, and described touch parameter includes touch pressure and touches duration;
Query unit, for the objective function inquiring about the described touch pressure obtained in described terminal with described acquiring unit and described touch duration mates;
First judging unit, for judging whether described terminal is carrying out the described objective function that described query unit inquires;
Performance element, if being no for the judged result at described first judging unit, then performs described objective function.
In the first possible implementation of embodiment of the present invention second aspect, described terminal also includes:
Division unit, before obtaining touch parameter at described acquiring unit, is divided into N number of different feature operation region by the touch screen of described terminal, and described N is the positive integer more than 1;
Described acquiring unit specifically for obtaining for the touch parameter of the objective function operating area in described N number of different feature operation region, described touch parameter also includes touching fingerprint;
Described query unit is specifically for inquiring about the function set mated with described touch pressure and described touch duration of the binding of objective function operating area described in described terminal, and inquiry has bound the function of described touch fingerprint as objective function from described function set.
In conjunction with the first possible implementation of embodiment of the present invention second aspect, in the implementation that the second of embodiment of the present invention second aspect is possible, described query unit includes:
Determine subelement, for determining all functions that objective function operating area described in described terminal is bound;
Generate subelement, for described touch pressure and described touch duration are combined, generate character string, and use Hash hash algorithm by described text string generation hash value;
From described, first inquiry subelement, for determining described all functions that subelement is determined that at least one function that inquiry mates with the described hash value of described generation subelement generation is to form function set;
Second inquiry subelement, has bound the function of described touch fingerprint as objective function for inquiry from described function set.
In the third possible implementation of embodiment of the present invention second aspect, described touch parameter also includes touching fingerprint, and described terminal also includes:
Second judging unit, for after described first judging unit judges that described terminal is not carried out described objective function, it is judged that the fingerprint that described objective function is bound whether with described touch fingerprint matching;
Described performance element, specifically for being no in the judged result of described first judging unit, and when the judged result of described second judging unit is for coupling, performs described objective function.
In conjunction with the first of embodiment of the present invention second aspect or embodiment of the present invention second aspect to any one the possible implementation in the third, in the 4th kind of possible implementation of embodiment of the present invention second aspect, described terminal also includes:
Display unit, for showing, with the form of block diagram, described touch pressure that described acquiring unit obtains and showing, with the form of block diagram, the described touch duration that described acquiring unit obtains on described terminal touch screen on described terminal touch screen.
In the embodiment of the present invention, terminal obtains touch pressure and touches duration, inquires about the objective function mated with touch pressure and touch duration; If judging, objective function is not being run, then performance objective function. Visible, implement the embodiment of the present invention, to control a certain function in terminal, user only needs the touch screen that touch terminal configures, terminal obtains the touch pressure of user's touch terminal touch screen and touches duration, and automatically start function corresponding in terminal according to touch pressure and touch duration, improve the efficiency that termination function controls.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, the accompanying drawing used required in embodiment will be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of function control method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the disclosed another kind of function control method of the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of the disclosed another kind of terminal of the embodiment of the present invention;
Fig. 5 is the structural representation of the disclosed another kind of terminal of the embodiment of the present invention;
Fig. 6 is the structural representation of the disclosed another kind of terminal of the embodiment of the present invention;
Fig. 7 is the structural representation of the disclosed another kind of terminal of the embodiment of the present invention;
Fig. 8 is the structural representation of the disclosed another kind of terminal of the embodiment of the present invention;
Fig. 9 is that the disclosed a kind of touch screen of the embodiment of the present invention divides schematic diagram;
Figure 10 is the open touch pressure of the embodiment of the present invention and the display figure touching duration.
Detailed description of the invention
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 clearly and completely described, it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiments. Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
It should be noted that the term used in embodiments of the present invention is only merely for the purpose describing specific embodiment, and it is not intended to be limiting the present invention. " one ", " described " and " being somebody's turn to do " of the singulative used in the embodiment of the present invention and appended claims is also intended to include most form, unless context clearly shows that other implications. It is also understood that term "and/or" used herein refers to and comprises any or all of one or more project of listing being associated and be likely to combination.
The embodiment of the invention discloses a kind of function control method and terminal, it is possible to increase the efficiency that in terminal, function controls. It is described in detail individually below.
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of function control method disclosed in the embodiment of the present invention. As it is shown in figure 1, this function control method may comprise steps of.
101, terminal obtains and touches parameter, touches parameter and includes touch pressure and touch duration.
Wherein, this terminal may include but be not limited to the equipment such as smart mobile phone (such as Android phone, iOS mobile phone etc.), panel computer, palm PC, UMPC (Ultra-mobilePersonalComputer, Ultra-Mobile PC) and net book.
In the embodiment of the present invention, optionally, this touch parameter can be generated by touch apparatus such as the touch screens of touch terminal by user, this terminal obtains the touch parameter generated, maybe this touch parameter is that user touches the portable wearable device being connected with terminal and generates, this terminal obtains the touch parameter etc. sent by this portable wearable device, and the embodiment of the present invention is not construed as limiting.
Wherein, this terminal can be passed through wired mode such as RS232, RS485 and be connected with portable wearable device, or this terminal can wirelessly as bluetooth, near-field communication NFC, WIFI are connected with portable wearable device, and the embodiment of the present invention is not construed as limiting.
As the optional embodiment of one, can display intuitively in a graphical form on terminal touch screen to facilitate user to understand the touch pressure that step 101 gathers and the size touching duration, the touch pressure of collection and touch duration more intuitively. Wherein, the form of figure can be block diagram, cake chart etc., and the embodiment of the present invention is not construed as limiting. As shown in Figure 10, show touch pressure with the form of block diagram and touch the size of duration.
102, the objective function mated with touch pressure and touch duration in terminal inquiry terminal.
In the embodiment of the present invention, optionally, terminal inner pre-stored touches parameter and function match table, this touch parameter and function contrast include at least one function, and with the touch pressure of function match and with the touch duration of function match, or terminal obtains touch parameter and function match table from cloud server, this touch parameter and function contrast include at least one function, and with the touch pressure of function match and with the touch duration etc. of function match, the embodiment of the present invention is not construed as limiting.
Wherein, terminal from touching the inquiry of parameter and function match table and the touch pressure obtained and can touch the function that duration mate, and using the function mated with the touch pressure and touch duration of acquisition as objective function.
103, whether this terminal of terminal judges is carrying out objective function, if it is not, then perform step 104, otherwise, then process ends.
In the embodiment of the present invention, optionally, if objective function is just at terminal front stage operation, it is properly termed as terminal and is carrying out this objective function, or objective function is just at terminal running background, it is also possible to being called that terminal is carrying out this objective function, the embodiment of the present invention is not construed as limiting.
As the optional embodiment of one, after performing step 103, can also carry out following steps: the fingerprint of terminal judges objective function binding whether with touch fingerprint matching, if the fingerprint of terminal judges objective function binding and touch fingerprint matching, then perform step 104, otherwise, then process ends.
104, terminal performance objective function.
In the method described by Fig. 1, terminal obtains touch pressure and touches duration, inquires about the objective function mated with touch pressure and touch duration; If judging, objective function is not being run, then performance objective function. Visible, implement the embodiment of the present invention, to control a certain function in terminal, user only needs the touch screen that touch terminal configures, terminal obtains the touch pressure of user's touch terminal touch screen and touches duration, and according to function corresponding in touch pressure and touch duration automatic control terminal, improve the efficiency that termination function controls.
Refer to the schematic flow sheet that Fig. 2, Fig. 2 are the disclosed another kind of function control method of the embodiment of the present invention. As in figure 2 it is shown, this function control method may comprise steps of.
201, touch screen is divided into N number of different feature operation region by terminal, and N is the positive integer more than 1.
In the embodiment of the present invention, touch screen dividing mode can be different. Illustrate, if N=2, it is possible to touch screen is divided into 2 different feature operation regions from centre is endways, or is divided into 2 different feature operation regions etc. from centre sidewards. As it is shown in fig. 7, the dotted line of touch screen center vertical is dividing line, touch screen is divided into region 1 and region 2 by this dotted line.
202, terminal obtains the touch parameter for the objective function operating area in N number of different feature operation region, touches parameter and also includes touching fingerprint.
In the embodiment of the present invention, below terminal touch screen can pressure sensor, terminal can according to user touch this terminal touch screen gather touch pressure parameter. Meanwhile, this terminal touch screen can also be used to gather touch fingerprint.
In the embodiment of the present invention, when user touches this terminal touch screen, in N number of different feature operation region, the feature operation region that touch location is corresponding is called objective function operating area. Illustrate, if N=2, touch screen can be divided into 2 different feature operation regions from centre is endways, these 2 different feature operation regions are numbered and are respectively as follows: region 1 and region 2, if user touches this terminal touch screen, the functional area that touch location is corresponding is the feature operation region of numbering area 1 correspondence, then claiming the feature operation region being numbered region 1 correspondence is objective function operating area.
Wherein, the touch parameter of objective function operating area is when user touches objective function operating area, the touch parameter that terminal gathers.
203, the function set mated with touch pressure and touch duration of objective function operating area binding in terminal inquiry terminal.
In the embodiment of the present invention, in N number of different feature operation region, at least one function is bound in each feature operation region. Illustrate, if N=2, respectively region 1, these 2 different feature operation regions and region 2, when user is when watching video with screen mode toggle, region 1 binding can be play, suspend, the function such as F.F. and retrogressing, region 2 binding can be that sound tunes up, sound is turned down, screen intensity lightens and sound brightness such as dims at the function.
Illustration, if the definition of objective function operating area is region 1, then the function of objective function operating area binding is broadcasting, time-out, F.F. and retrogressing etc. Wherein, the function that inquiry is mated with touch pressure and touch duration in the functions such as broadcasting, time-out, F.F. and retrogressing, and by this function composition function set mated with touch pressure and touch duration.
As the optional embodiment of one, in above-mentioned steps 203, the detailed description of the invention of the function set mated with touch pressure and touch duration of terminal inquiry objective function operating area binding may comprise steps of:
Step 11), terminal determine all functions of the binding of objective function operating area in terminal.
Illustration, if the definition of objective function operating area is region 1, all functions of objective function operating area binding can be broadcasting, time-out, F.F. and retrogressing.
Step 12), terminal by touch pressure and touch duration be combined, it is thus achieved that character string.
Illustrating, if touch pressure respectively 0.5N, 1N and 2N, touching duration respectively 1s, 2s and 3s, the result that touch pressure and touch duration are combined can be " 0.5N, 1s ", " 1N, 2s " and " 2N, 3s ".
Character string is the data type representing text in computer programming language, a string character being made up of numeral, letter and underscore. Illustrating, if the result that touch pressure and touch duration are combined is " 0.5N, 1s ", then it can be 1011_1 that this combined result is converted into character string.
Step 13), terminal use Hash hash algorithm by text string generation hash value.
Hash algorithm is a kind of compression mapping algorithm, is that the eap-message digest that the input message compression of random length is transformed into a certain regular length exports, and the space occupied by the eap-message digest of output is much smaller than the space occupied by input message. Such as, if input message is 1011_1, terminal uses Hash hash algorithm that 1011_1 can generate hash value 10.
Step 14), terminal from all functions, inquire about at least one function mated with hash value to form function set.
In the embodiment of the present invention, optionally, terminal inner can pre-stored function and hash value synopsis, the corresponding hash value of each function in this synopsis, or terminal obtains function and hash value synopsis from cloud server, the corresponding hash value of each function etc. in this synopsis, the embodiment of the present invention is not construed as limiting.
Wherein, after terminal generates hash value in step 203, it is possible to according to the hash value generated in function and the hash value synopsis inquiry function corresponding with the hash value of generation, and composition function set.
Illustrate, function and hash value synopsis can be " hash value: 00; function: play ", " hash value: 10; function: F.F. " and " hash value: 10; function: retreat ", if the hash value generated by step 203 is 10, is then F.F. and retrogressing in this function with the function in the function set mated with hash value in hash value synopsis.
204, terminal is inquired about from function set and has been bound the function touching fingerprint as objective function.
In the embodiment of the present invention, each function in function set is bound one and is touched fingerprint. Illustrate, if the function in function set is F.F. and retrogressing, the touch fingerprint of function F.F. binding is for touching fingerprint 1, function retreats the touch fingerprint of binding for touching fingerprint 2, if the touch fingerprint gathered in step 202 is for touching fingerprint 1, then from function set, the fast-forward functionality touching fingerprint 1 has been bound in inquiry, is objective function.
205, whether this terminal of terminal judges is carrying out objective function, if it is not, then perform step 206, otherwise, then process ends.
206, terminal performance objective function.
Illustrate, if objective function operating area is region 1, and in the function set mated with touch pressure and touch duration of objective function operating area binding, bind the objective function touching fingerprint for playing, if this terminal of terminal judges is carrying out playing function, then continue executing with playing function, otherwise, if this terminal of terminal judges is not carrying out playing function, then conversion performs playing function.
In the method described by Fig. 2, touch screen is divided into N number of different feature operation region by terminal, and obtain the touch parameter for the objective function operating area in N number of different feature operation region, the function set mated with touch pressure and touch duration of objective function operating area binding in inquiry terminal, and inquiry has bound the function touching fingerprint as objective function from function set; If terminal judges that objective function is not being run, then performance objective function. Visible, implement the embodiment of the present invention, terminal by being divided into difference in functionality operating area by touch screen, and the binding of each feature operation region has different function set, user-friendly; In function set, inquiry has bound the function touching fingerprint as objective function, adds by touching the step that fingerprint is verified, protects the privacy of user to a certain extent; By touch pressure, touch duration and touch function corresponding in fingerprint automatic control terminal, improve the efficiency that termination function controls.
Referring to Fig. 3, Fig. 3 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention. Wherein, the terminal shown in Fig. 3 may include that
Acquiring unit 301, is used for obtaining touch parameter, touches parameter and includes touch pressure and touch duration.
Query unit 302, for inquiring about the touch pressure obtained with acquiring unit 301 in terminal and touching the objective function that duration mates.
In the embodiment of the present invention, optionally, terminal inner pre-stored touches parameter and function match table, this touch parameter and function contrast include at least one function, and with the touch pressure of function match and with the touch duration of function match, or terminal obtains touch parameter and function match table from cloud server, this touch parameter and function contrast include at least one function, and with the touch pressure of function match and with the touch duration etc. of function match, the embodiment of the present invention is not construed as limiting.
Wherein, terminal from touching the inquiry of parameter and function match table and the touch pressure obtained and can touch the function that duration mate, and using the function mated with the touch pressure and touch duration of acquisition as objective function.
First judging unit 303, for judging whether terminal is carrying out the objective function that query unit 302 inquires.
Performance element 304, if being no for the judged result at the first judging unit 303, then performance objective function.
Visible, implement Fig. 3 terminal described, it is possible to increase the efficiency that termination function controls.
Referring to the structural representation that Fig. 4, Fig. 4 are the disclosed another kind of terminal of the embodiment of the present invention, wherein, the terminal shown in Fig. 4 is that terminal as shown in Figure 3 is optimized and obtains. Compared with the terminal shown in Fig. 3, the terminal shown in Fig. 4 can also include:
Division unit 305, before obtaining touch parameter at acquiring unit 301, is divided into N number of different feature operation region by the touch screen of terminal, and N is the positive integer more than 1.
Acquiring unit 301, specifically for obtaining the touch parameter for the objective function operating area in N number of different feature operation region, touches parameter and also includes touching fingerprint.
In the embodiment of the present invention, below terminal touch screen can pressure sensor, terminal can according to user touch this terminal touch screen gather touch pressure parameter. Meanwhile, this terminal touch screen can also be used to gather touch fingerprint.
In the embodiment of the present invention, when user touches this terminal touch screen, in N number of different feature operation region, the feature operation region that touch location is corresponding is called objective function operating area. Illustrate, if N=2, touch screen can be divided into sidewards 2 different feature operation regions from centre, these 2 different feature operation regions are numbered and are respectively as follows: region 1 and region 2, if user touches this terminal touch screen, the feature operation region that functional area is numbering area 1 that touch location is corresponding, then claiming the feature operation region being numbered region 1 is objective function operating area.
Wherein, the touch parameter of objective function operating area is when user touches objective function operating area, the touch parameter that terminal gathers.
Query unit 302 is specifically for the function set mated with touch pressure and touch duration of objective function operating area binding in inquiry terminal, and inquiry has bound the function touching fingerprint as objective function from function set.
In the embodiment of the present invention, in N number of different feature operation region, at least one function is bound in each feature operation region. Illustrate, if N=2, respectively region 1, these 2 different feature operation regions and region 2, when user is when watching video with screen mode toggle, region 1 binding can be play, suspend, the function such as F.F. and retrogressing, region 2 binding can be that sound tunes up, sound is turned down, screen intensity lightens and sound brightness such as dims at the function.
Illustration, if the definition of objective function operating area is region 1, then the function of objective function operating area binding is broadcasting, time-out, F.F. and retrogressing etc. Wherein, the function that inquiry is mated with touch pressure and touch duration in the functions such as broadcasting, time-out, F.F. and retrogressing, and by this function composition function set mated with touch pressure and touch duration.
Visible, implement Fig. 4 terminal described, it is possible to increase the efficiency that termination function controls.
Referring to the structural representation that Fig. 5, Fig. 5 are the disclosed another kind of terminal of the embodiment of the present invention, wherein, the terminal shown in Fig. 5 is that terminal as shown in Figure 4 is optimized and obtains. Compared with the terminal shown in Fig. 4, the query unit 302 shown in Fig. 5 includes:
Determine subelement 306, for determining all functions of objective function operating area binding in terminal.
Generate subelement 307, for touch pressure and touch duration are combined, generate character string, and use Hash hash algorithm by text string generation hash value.
Character string is the data type representing text in computer programming language, a string character being made up of numeral, letter and underscore. Illustrating, if the result that touch pressure and touch duration are combined is " 0.5N, 1s ", then it can be 1011_1 that this combined result is converted into character string.
Hash algorithm is a kind of compression mapping algorithm, is that the eap-message digest that the input message compression of random length is transformed into a certain regular length exports, and the space occupied by the eap-message digest of output is much smaller than the space occupied by input message. Such as, if input message is 1011_1, terminal uses Hash hash algorithm that 1011_1 can generate hash value 10.
First inquiry subelement 308, at least one function of mating from the hash value determining all functions that subelement 306 is determined inquiry with generate subelement 307 generation to form function set.
In the embodiment of the present invention, optionally, terminal inner can pre-stored function and hash value synopsis, the corresponding hash value of each function in this synopsis, or terminal obtains function and hash value synopsis from cloud server, the corresponding hash value of each function etc. in this synopsis, the embodiment of the present invention is not construed as limiting.
Illustrate, function and hash value synopsis can be " hash value: 00; function: play ", " hash value: 10; function: F.F. " and " hash value: 10; function: retreat ", if the hash value generated by step 203 is 10, is then F.F. and retrogressing in this function with the function in the function set mated with hash value in hash value synopsis.
Second inquiry subelement 310, has bound the function touching fingerprint as objective function for inquiry from function set.
Visible, implement Fig. 5 terminal described, it is possible to increase the efficiency that termination function controls.
Referring to the structural representation that Fig. 6, Fig. 6 are the disclosed another kind of terminal of the embodiment of the present invention, wherein, the terminal shown in Fig. 6 is that terminal as shown in Figure 3 is optimized and obtains. Compared with the terminal shown in Fig. 3, the terminal shown in Fig. 6 can also include:
Second judging unit 311, for after the first judging unit 303 judges that terminal is not carried out objective function, it is judged that the fingerprint of objective function binding whether with touch fingerprint matching.
Performance element 304, specifically for being no in the judged result of the first judging unit 303, and when the judged result of the second judging unit 311 is for coupling, performance objective function.
Visible, implement Fig. 6 terminal described, it is possible to increase the efficiency that termination function controls.
Referring to the structural representation that Fig. 7, Fig. 7 are the disclosed another kind of terminal of the embodiment of the present invention, wherein, the terminal shown in Fig. 7 is that terminal as shown in Figure 3 is optimized and obtains. Compared with the terminal shown in Fig. 3, the terminal shown in Fig. 7 can also include:
Display unit 309, for showing the touch pressure that acquiring unit 301 obtains and the touch duration showing acquiring unit 302 acquisition on terminal touch screen with the form of block diagram on terminal touch screen with the form of block diagram.
Visible, implement Fig. 7 terminal described, it is possible to increase the efficiency that termination function controls.
Refer to the structural representation that Fig. 8, Fig. 8 are the disclosed another kind of terminals of the embodiment of the present invention. Wherein, the terminal that the embodiment of the present invention provides may be used for implementing the method that the various embodiments of the present invention shown in above-mentioned Fig. 1~Fig. 2 realize, for the ease of explanation, illustrate only the part relevant to various embodiments of the present invention, concrete ins and outs do not disclose, and refer to the various embodiments of the present invention shown in Fig. 1~Fig. 2. Wherein, the terminal shown in Fig. 8 may include that
Processor 1 and the input equipment 3 being connected with processor 1 by interface 2 and outut device 6 and pass through the memorizer 5 that bus 4 is connected with processor 1. Wherein, memorizer 5 is used for storing batch processing code; Processor 1, for calling the program code of storage in memorizer 5, is used for performing following operation:
Obtained by input equipment 3 and touch parameter, touch parameter and include touch pressure and touch duration.
Control memorizer 5 and inquire about the objective function mated with touch pressure and touch duration in terminal.
Judge whether terminal is carrying out objective function, if it does not, performance objective function.
As the optional embodiment of one, before obtained touch parameter by input equipment 3, processor 1 also performs following operation:
The touch screen of terminal is divided into N number of different feature operation region, and N is the positive integer more than 1.
Obtaining, by input equipment 3, the concrete mode touching parameter is:
Obtain the touch parameter for the objective function operating area in N number of different feature operation region by input equipment 3, touch parameter and also include touching fingerprint.
In the embodiment of the present invention, below terminal touch screen can pressure sensor, terminal can according to user touch this terminal touch screen gather touch pressure parameter. Meanwhile, this terminal touch screen can also be used to gather touch fingerprint.
The concrete mode of the objective function mated in terminal inquired about with touch pressure and touch duration by control memorizer 5:
Control memorizer 5 and inquire about the function set mated with touch pressure and touch duration of objective function operating area binding in terminal, and inquiry has bound the function touching fingerprint as objective function from function set.
As the optional embodiment of one, control memorizer 5 is inquired about the concrete mode of the function set mated with touch pressure and touch duration of objective function operating area binding in terminal and is:
Control memorizer 5 and determine all functions of objective function operating area binding in terminal.
Touch pressure and touch duration are combined, it is thus achieved that character string.
Use Hash hash algorithm by text string generation hash value.
Hash algorithm is a kind of compression mapping algorithm, is that the eap-message digest that the input message compression of random length is transformed into a certain regular length exports, and the space occupied by the eap-message digest of output is much smaller than the space occupied by input message. Such as, if input message is 1011_1, terminal uses Hash hash algorithm that 1011_1 can generate hash value 10.
Control memorizer 5 and from all functions, inquire about at least one function mated with hash value to form function set.
Wherein, terminal is generating after hash value, it is possible to according to the hash value generated in the function function corresponding with the hash value of generation with the inquiry of hash value synopsis, and composition function set.
As the optional embodiment of one, after judging whether terminal is carrying out objective function, processor 1 also performs following operation:
Judge fingerprint that objective function binds whether with touch fingerprint matching, if it does, the step of the performance objective function performed.
As the optional embodiment of one, processor 1 also performs following operation:
On terminal touch screen, show touch pressure with the form of block diagram by outut device 6, terminal touch screen shows with the form of block diagram and touches duration.
Visible, implement Fig. 8 terminal described, it is possible to increase the efficiency that termination function controls.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can be by the hardware that program carrys out instruction relevant and completes, this program can be stored in a computer-readable recording medium, storage medium includes read only memory (Read-OnlyMemory, ROM), random access memory (RandomAccessMemory, RAM), programmable read only memory (ProgrammableRead-onlyMemory, PROM), Erasable Programmable Read Only Memory EPROM (ErasableProgrammableReadOnlyMemory, EPROM), disposable programmable read only memory (One-timeProgrammableRead-OnlyMemory, OTPROM), the electronics formula of erasing can make carbon copies read only memory (Electrically-ErasableProgrammableRead-OnlyMemory, EEPROM), read-only optical disc (CompactDiscRead-OnlyMemory, or other disk storages CD-ROM), disk memory, magnetic tape storage, or can be used in carrying or storing any other medium computer-readable of data.
Above function control method a kind of disclosed in the embodiment of the present invention and terminal are described in detail, principles of the invention and embodiment are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention; Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention.

Claims (10)

1. a function control method, it is characterised in that described method includes:
Obtaining and touch parameter, described touch parameter includes touch pressure and touches duration;
The objective function mated with described touch pressure and described touch duration in inquiry terminal;
Judge whether described terminal is carrying out described objective function, if it does not, perform described objective function.
2. method according to claim 1, it is characterised in that before described acquisition touches parameter, described method also includes:
The touch screen of described terminal is divided into N number of different feature operation region, and described N is the positive integer more than 1;
Described acquisition touches parameter, including:
Obtaining the touch parameter for the objective function operating area in described N number of different feature operation region, described touch parameter also includes touching fingerprint;
The objective function mated with described touch pressure and described touch duration in described inquiry terminal, including:
Inquire about the function set mated with described touch pressure and described touch duration of the binding of objective function operating area described in described terminal;
From described function set, inquiry has bound the function of described touch fingerprint as objective function.
3. method according to claim 2, it is characterised in that the function set mated with described touch pressure and described touch duration of the binding of objective function operating area described in the described terminal of described inquiry, including:
Determine all functions that objective function operating area described in described terminal is bound;
Described touch pressure and described touch duration are combined, it is thus achieved that character string;
Use Hash hash algorithm by described text string generation hash value;
At least one function mated with described hash value is inquired about to form function set from described all functions.
4. method according to claim 1, it is characterised in that described touch parameter also includes touching fingerprint, and after judging that described terminal is not carried out described objective function, described method also includes:
Judge fingerprint that described objective function binds whether with described touch fingerprint matching, if it does, perform the described step performing described objective function.
5. the method according to any one of Claims 1 to 4, it is characterised in that described method also includes:
Described terminal touch screen shows described touch pressure with the form of block diagram;
Described terminal touch screen shows described touch duration with the form of block diagram.
6. a terminal, it is characterised in that described terminal includes:
Acquiring unit, is used for obtaining touch parameter, and described touch parameter includes touch pressure and touches duration;
Query unit, for the objective function inquiring about the described touch pressure obtained in described terminal with described acquiring unit and described touch duration mates;
First judging unit, for judging whether described terminal is carrying out the described objective function that described query unit inquires;
Performance element, is no for the judged result at described first judging unit, then performs described objective function.
7. terminal according to claim 6, it is characterised in that described terminal also includes:
Division unit, before obtaining touch parameter at described acquiring unit, is divided into N number of different feature operation region by the touch screen of described terminal, and described N is the positive integer more than 1;
Described acquiring unit is specifically for obtaining the touch parameter for the objective function operating area in described N number of different feature operation region, and described touch parameter also includes touching fingerprint;
Described query unit is specifically for inquiring about the function set mated with described touch pressure and described touch duration of the binding of objective function operating area described in described terminal, and inquiry has bound the function of described touch fingerprint as objective function from described function set.
8. terminal according to claim 7, it is characterised in that described query unit includes:
Determine subelement, for determining all functions that objective function operating area described in described terminal is bound;
Generate subelement, for described touch pressure and described touch duration are combined, generate character string, and use Hash hash algorithm by described text string generation hash value;
From described, first inquiry subelement, for determining described all functions that subelement is determined that at least one function that inquiry mates with the described hash value of described generation subelement generation is to form function set;
Second inquiry subelement, has bound the function of described touch fingerprint as objective function for inquiry from described function set.
9. terminal according to claim 6, it is characterised in that described touch parameter also includes touching fingerprint, and described terminal also includes:
Second judging unit, for after described first judging unit judges that described terminal is not carried out described objective function, it is judged that the fingerprint that described objective function is bound whether with described touch fingerprint matching;
Described performance element, specifically for being no in the judged result of described first judging unit, and when the judged result of described second judging unit is for coupling, performs described objective function.
10. the terminal according to any one of claim 6~9, it is characterised in that described terminal also includes:
Display unit, for showing, with the form of block diagram, described touch pressure that described acquiring unit obtains and showing, with the form of block diagram, the described touch duration that described acquiring unit obtains on described terminal touch screen on described terminal touch screen.
CN201610066651.XA 2016-01-29 2016-01-29 Function control method and terminal Pending CN105677230A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610066651.XA CN105677230A (en) 2016-01-29 2016-01-29 Function control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610066651.XA CN105677230A (en) 2016-01-29 2016-01-29 Function control method and terminal

Publications (1)

Publication Number Publication Date
CN105677230A true CN105677230A (en) 2016-06-15

Family

ID=56303267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610066651.XA Pending CN105677230A (en) 2016-01-29 2016-01-29 Function control method and terminal

Country Status (1)

Country Link
CN (1) CN105677230A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107132976A (en) * 2017-06-02 2017-09-05 广东欧珀移动通信有限公司 Fingerprint recognition module, home keys, electronic equipment and glide direction detection method
CN108279842A (en) * 2018-01-10 2018-07-13 维沃移动通信有限公司 A kind of function controlling method, function controlling device and terminal device
CN108803961A (en) * 2018-05-24 2018-11-13 Oppo广东移动通信有限公司 Data processing method, device and mobile terminal
CN108810257A (en) * 2018-05-24 2018-11-13 广东小天才科技有限公司 Brightness adjusting method and device for wearable equipment
CN109032465A (en) * 2018-05-29 2018-12-18 Oppo广东移动通信有限公司 Data processing method, device and mobile terminal
CN109407961A (en) * 2018-11-08 2019-03-01 英华达(上海)科技有限公司 Input method and input system based on feature identification

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150026642A1 (en) * 2013-07-16 2015-01-22 Pinterest, Inc. Object based contextual menu controls
US20150160779A1 (en) * 2013-12-09 2015-06-11 Microsoft Corporation Controlling interactions based on touch screen contact area
CN105045489A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Button control method and apparatus
CN105159555A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 User equipment control method and user equipment
CN105159587A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Application control method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150026642A1 (en) * 2013-07-16 2015-01-22 Pinterest, Inc. Object based contextual menu controls
US20150160779A1 (en) * 2013-12-09 2015-06-11 Microsoft Corporation Controlling interactions based on touch screen contact area
CN105045489A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Button control method and apparatus
CN105159555A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 User equipment control method and user equipment
CN105159587A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Application control method and mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107132976A (en) * 2017-06-02 2017-09-05 广东欧珀移动通信有限公司 Fingerprint recognition module, home keys, electronic equipment and glide direction detection method
CN107132976B (en) * 2017-06-02 2022-04-05 Oppo广东移动通信有限公司 Fingerprint identification module, home key, electronic equipment and sliding direction detection method
CN108279842A (en) * 2018-01-10 2018-07-13 维沃移动通信有限公司 A kind of function controlling method, function controlling device and terminal device
CN108803961A (en) * 2018-05-24 2018-11-13 Oppo广东移动通信有限公司 Data processing method, device and mobile terminal
CN108810257A (en) * 2018-05-24 2018-11-13 广东小天才科技有限公司 Brightness adjusting method and device for wearable equipment
CN108803961B (en) * 2018-05-24 2020-12-04 Oppo广东移动通信有限公司 Data processing method and device and mobile terminal
CN109032465A (en) * 2018-05-29 2018-12-18 Oppo广东移动通信有限公司 Data processing method, device and mobile terminal
CN109407961A (en) * 2018-11-08 2019-03-01 英华达(上海)科技有限公司 Input method and input system based on feature identification

Similar Documents

Publication Publication Date Title
CN105677230A (en) Function control method and terminal
WO2018196699A1 (en) Method for displaying fingerprint recognition region, and mobile terminal
CN106445363B (en) Payment interface starting method and mobile terminal
CN106131650B (en) Video processing method and mobile terminal
CN106020613A (en) Operation method and mobile terminal for unread messages
WO2016169078A1 (en) Touch control realization method and device
KR20150131872A (en) Electronic device and method for executing a musical performance in the electronic device
CN105824662B (en) Application program unloading method and electronic equipment
CN105159446A (en) One-hand operation method and apparatus for terminal
JP2016500175A (en) Method and apparatus for realizing floating object
CN105335048A (en) Electron equipment with concealed application icon and application icon conceal method
CN110876077B (en) Control method of smart television, mobile terminal and computer readable storage medium
CN106161811A (en) A kind of reminding method and mobile terminal
CN105677222A (en) Application information display method, application information display device and terminal
CN109857787B (en) Display method and terminal
CN105205066B (en) Picture searching method and device
US11460971B2 (en) Control method and electronic device
EP3035313A1 (en) Method and apparatus for remote control
CN103809911A (en) Method and system for setting vibration modes of mobile terminal
CN105808089A (en) Data transmission method and first electronic device
CN105426823A (en) Fingerprint identification method, device and terminal
CN105242823A (en) Weather information prompting method and apparatus
CN109550232A (en) Touch control device and its response method, device
US20140129957A1 (en) Personalized user interface on mobile information device
JP5204343B1 (en) Test system and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160615

RJ01 Rejection of invention patent application after publication