CN105159587B - A kind of method and mobile terminal for controlling application - Google Patents

A kind of method and mobile terminal for controlling application Download PDF

Info

Publication number
CN105159587B
CN105159587B CN201510541576.3A CN201510541576A CN105159587B CN 105159587 B CN105159587 B CN 105159587B CN 201510541576 A CN201510541576 A CN 201510541576A CN 105159587 B CN105159587 B CN 105159587B
Authority
CN
China
Prior art keywords
touch
control
parameter
mobile terminal
trajectory
Prior art date
Application number
CN201510541576.3A
Other languages
Chinese (zh)
Other versions
CN105159587A (en
Inventor
李建林
周辉
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Priority to CN201510541576.3A priority Critical patent/CN105159587B/en
Publication of CN105159587A publication Critical patent/CN105159587A/en
Application granted granted Critical
Publication of CN105159587B publication Critical patent/CN105159587B/en

Links

Abstract

The invention discloses a kind of method for controlling application, this method includes:Obtain the touch parameter that user carries out touch operation to the touch-screen of mobile terminal;If the touch parameter meets preparatory condition, destination application and control instruction for controlling the destination application are determined according to the touch parameter;The destination application is controlled according to the control instruction.The embodiment of the present invention additionally provides a kind of mobile terminal.Convenience of the user using mobile terminal can be improved using the embodiment of the present invention.

Description

A kind of method and mobile terminal for controlling application

Technical field

The present invention relates to electronic technology field, more particularly to a kind of method and mobile terminal for controlling application.

Background technology

With continuous improvement of the user to mobile terminal function, it will usually install various application programs in the terminal.

In the prior art, when user needs to use the application that mobile terminal provides, it is necessary to first pass through contact mobile terminal screen Curtain presses the mode of mobile terminal key and wakes up or unlock mobile terminal mobile terminal from resting state, and reselection is wanted to make Application.For the terminal with touch-screen, using prior art user can be made to look at touch-screen and be operated, Not only lose time, and operation is cumbersome, is unfavorable for user and easily uses mobile terminal.

The content of the invention

The embodiment of the present invention provides a kind of method and mobile terminal for controlling application, it is possible to increase user uses mobile terminal Convenience.

First aspect of the embodiment of the present invention provides a kind of method for controlling application, including:

Obtain the touch parameter that user carries out touch operation to the touch-screen of mobile terminal;

If the touch parameter meets preparatory condition, destination application is determined and for controlling according to the touch parameter The control instruction of the destination application;

The destination application is controlled according to the control instruction.

With reference to the embodiment of the present invention in a first aspect, in the first possible implementation of first aspect, the touch-control Parameter includes touch-control pressure and touch-control duration, and the touch parameter meets preparatory condition, including:The touch-control pressure is more than or waited It is more than or equal to preset touch duration in preset touch pressure and/or the touch-control duration.

With reference to the embodiment of the present invention in a first aspect, in second of possible implementation of first aspect, the touch-control Parameter includes touch trajectory, and the touch trajectory includes bearing data, and the touch parameter meets preparatory condition, including:

It is completely the same comprising bearing data with preset touch track that the touch trajectory includes bearing data;

Or

The touch trajectory includes bearing data and preset touch track includes the consistent ratio of bearing data and is more than or waits In preset ratio.

With reference to first aspect of the embodiment of the present invention, first aspect the first to second of any possible realization side Formula, in the third possible implementation of first aspect, the touch parameter includes position of touch, described to be touched according to described Control parameter determines destination application, including:According to the position of touch and the mapping relations of application program prestored, it is determined that with The destination application corresponding to the position of touch obtained.

With reference to first aspect of the embodiment of the present invention, first aspect the first to the third any possible realization side Formula, in the 4th kind of possible implementation of first aspect, the touch parameter includes touch-control pressure and touch-control duration, described Control instruction for controlling the destination application is determined according to the touch parameter, including:According to the touch-control pressure The command code of the control instruction is determined, and the operand of the control instruction is determined according to the touch-control duration;

Or

The touch parameter includes touch-control pressure and touch trajectory, described to determine to be used to control institute according to the touch parameter The control instruction of destination application is stated, including:The command code of the control instruction, Yi Jigen are determined according to the touch-control pressure The operand of the control instruction is determined according to the touch trajectory.

Second aspect of the present invention provides a kind of mobile terminal, including:

Acquiring unit, the touch parameter of touch operation is carried out to the touch-screen of mobile terminal for obtaining user;

Determining unit, if meeting preparatory condition for the touch parameter that the acquiring unit is got, according to described Touch parameter determines destination application and the control instruction for controlling the destination application;

Control unit, the control instruction for being determined according to the determining unit control the destination application.

With reference to second aspect of the embodiment of the present invention, in the first possible implementation of second aspect, the touch-control Parameter includes touch-control pressure and touch-control duration, and the touch parameter meets preparatory condition, including:The touch-control pressure is more than or waited It is more than or equal to preset touch duration in preset touch pressure and/or the touch-control duration.

With reference to second aspect of the embodiment of the present invention, in second of possible implementation of second aspect, the touch-control Parameter includes touch trajectory, and the touch trajectory includes bearing data, and the touch parameter meets preparatory condition, including:

It is completely the same comprising bearing data with preset touch track that the touch trajectory includes bearing data;

Or

The touch trajectory includes bearing data and preset touch track includes the consistent ratio of bearing data and is more than or waits In preset ratio.

With reference to second aspect of the embodiment of the present invention, second aspect the first to second of any possible realization side Formula, in the third possible implementation of second aspect, the touch parameter includes position of touch, the determining unit tool Body is used for:According to the position of touch and the mapping relations of application program prestored, it is determined that the position of touch pair with acquisition The destination application answered.

With reference to second aspect of the embodiment of the present invention, second aspect the first to the third any possible realization side Formula, in the 4th kind of possible implementation of second aspect, the touch parameter includes touch-control pressure and touch-control duration, described Determining unit is specifically used for:Determine the command code of the control instruction according to the touch-control pressure, and during according to the touch-control The long operand for determining the control instruction;

Or

The touch parameter includes touch-control pressure and touch trajectory, and the determining unit 403 is specifically used for:Touched according to described Governor pressure determines the command code of the control instruction, and the operand of the control instruction is determined according to the touch trajectory.

Implement the embodiment of the present invention, have the advantages that:

In the embodiment of the present invention, the touch-control that acquisition for mobile terminal user carries out touch operation to the touch-screen of mobile terminal is joined Number;In the case where the touch parameter meets preparatory condition, the mobile terminal determines that target should according to the touch parameter With program and the control instruction for controlling the destination application;Mobile terminal controls according to the control instruction of determination The destination application.The embodiment of the present invention only needs to touch the touch-screen of mobile terminal relative to prior art user Touch, in the case where the touch parameter of touch operation meets control targe application program, mobile terminal controls the intended application Program, without first unlocking mobile terminal, reselection wants the application used, and then improves user and use the convenient of mobile terminal Property.

Brief description of the drawings

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

Fig. 1 is a kind of first embodiment flow chart for controlling the method applied provided in an embodiment of the present invention;

Fig. 2 a are a kind of second embodiment flow chart for controlling the method applied provided in an embodiment of the present invention;

Fig. 2 b are the display interface schematic diagram of the method for the control application that Fig. 2 a are provided;

Fig. 3 a are a kind of 3rd embodiment flow chart for controlling the method applied provided in an embodiment of the present invention;

Fig. 3 b are the display interface schematic diagram of the method for the control application that Fig. 3 a are provided;

Fig. 4 is the first embodiment structural representation of mobile terminal provided in an embodiment of the present invention;

Fig. 5 is the second embodiment structural representation of mobile terminal provided in an embodiment of the present invention.

Embodiment

The embodiment of the present invention provides a kind of method and mobile terminal for controlling application, it is possible to increase user uses mobile terminal Convenience.

In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects Enclose.

It is described in detail individually below.

Term " first ", " second ", " the 3rd " in description and claims of this specification and the accompanying drawing and " Four " etc. be to be used to distinguish different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it Any deformation, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method, be The step of system, product or equipment are not limited to list or unit, but alternatively also including the step of not listing or list Member, or alternatively also include for the intrinsic other steps of these processes, method, product or equipment or unit.

One embodiment of the method for present invention control application.Wherein, a kind of method for controlling application:User is obtained to moving The touch-screen of dynamic terminal carries out the touch parameter of touch operation;If the touch parameter meets preparatory condition, according to the touch-control Parameter determines destination application and the control instruction for controlling the destination application;Controlled according to the control instruction The destination application.

Referring first to Fig. 1, Fig. 1 is a kind of first embodiment flow for controlling the method applied provided in an embodiment of the present invention Figure.Wherein, as shown in figure 1, a kind of method for control application that one embodiment of the present of invention provides can include step S101 ~S103:

S101, obtain the touch parameter that user carries out touch operation to the touch-screen of mobile terminal.

In the embodiment of the present invention, above-mentioned touch parameter includes touch-control pressure, touch-control duration, touch trajectory, position of touch etc. Deng.For example, by taking capacitive touch screen as an example, capacitive touch screen is that transparent metal level is applied on a glass as leading Electric body, there is long and narrow electrode on the side of touch-screen four, a low-voltage AC electric field is formed in electric conductor.When finger is touched in gold When belonging on layer or when conductive material is touched, electric capacity changes so that the both oscillator frequency being attached thereto changes, and passes through measurement Frequency change can determine touching position information.When user carries out touch control operation to the touch-screen of mobile terminal, mobile terminal The pressure sensor of touch-screen detects that the pressure of the position of user's touch-control changes, and now mobile terminal passes through pressure sensing Device obtains the touch-control pressure that user carries out touch operation to the touch-screen of mobile terminal, and detects that pressure is sent out in pressure sensor While changing, mobile terminal is by the touch-control duration of the timer record of mobile terminal this time touch-control, and passes through measurement Frequency change determines the position of touch information of touching position information user's touch-control.

Wherein, above-mentioned mobile terminal for example can be it is following in any one or whole, smart phone, wearable set Standby (personal maincenter), personal or mobile multimedia player, personal digital assistant (PDA), laptop computer, tablet personal computer, Smartbook, palmtop computer and similar personal electronic equipments, above-mentioned mobile terminal can include network interface, processing Device, memory, audio frequency processing circuit, microphone, camera, flash lamp, and including can internally or outside audio is put Big device and the loudspeaker unit including being connected to audio-frequency amplifier.

If S102, the touch parameter meet preparatory condition, destination application and use are determined according to the touch parameter In the control instruction for controlling the destination application.

In the embodiment of the present invention, if touch parameter includes touch-control pressure and touch-control duration, above-mentioned touch parameter meets default Condition is specially:The touch-control pressure is more than or equal to preset touch pressure and/or the touch-control duration more than or equal to default Touch-control duration.Wherein, above-mentioned preset touch pressure can for example be equal to 1N, 2N, 3N, 5N, 6N or other values, above-mentioned default tactile Control duration can for example be equal to 0.5s, 1s, 2s, 5s or other values.

For example, if above-mentioned preset touch pressure is 2.5N, the touch-control pressure that above-mentioned steps S101 is got is 3N, then Represent that the touch parameter that above-mentioned steps S101 is got meets preparatory condition;And for example, it is above-mentioned if a length of 1s during above-mentioned preset touch A length of 2s during the touch-control that step S101 is got, then it represents that the touch parameter that above-mentioned steps S101 is got meets preparatory condition; And for example, a length of 2s when the touch-control pressure that above-mentioned steps S101 is got is 3N and above-mentioned preset touch, states step S101 and gets Touch-control pressure a length of 2s when being 3N and touch-control, then it represents that the touch parameter that above-mentioned steps S101 is got meets preparatory condition.

In another inventive embodiments, above-mentioned touch parameter also includes touch trajectory, and above-mentioned touch trajectory includes orientation Whether data, above-mentioned determination touch parameter meet that preparatory condition is specially:Determine above-mentioned touch trajectory include bearing data with it is pre- Whether if touch trajectory includes bearing data completely the same;Or determine that above-mentioned touch trajectory includes bearing data and touched with default Control track includes whether the consistent ratio of bearing data is more than or equal to preset ratio.Wherein, above-mentioned preset ratio for example can be with Equal to 50%, 60%, 80% or other values.

In another inventive embodiments, above-mentioned touch parameter include touch trajectory, the minimum touch-control pressure of touch trajectory and Whether the touch-control duration of touch trajectory, above-mentioned determination touch parameter meet that preparatory condition is specially:Determine above-mentioned touch trajectory Minimum touch-control pressure whether be more than or equal to above-mentioned preset touch pressure and/or determine above-mentioned touch trajectory touch-control duration whether More than or equal to above-mentioned preset touch duration.

In another inventive embodiments, above-mentioned touch parameter includes touch trajectory, and the touch trajectory includes track shape Whether shape and trajectory shape size, above-mentioned determination touch parameter meet that preparatory condition is specially:Determine above-mentioned trajectory shape with it is pre- If whether trajectory shape is identical and/or determines above-mentioned trajectory shape size and the whether complete phase of desired guiding trajectory shape size Together;Or determine that above-mentioned trajectory shape is more than or equal to the first predetermined threshold value and/or determination with desired guiding trajectory shape similarity degree Whether above-mentioned trajectory shape size differs with desired guiding trajectory shape size is less than or equal to the second predetermined threshold value.

In the embodiment of the present invention, the embodiment for determining destination application according to the touch parameter is:According to The position of touch and the mapping relations of application program prestored, it is determined that the target corresponding with the position of touch of acquisition Application program.

For example, the position of touch prestored is that (0,0)~application program corresponding to (20,20) is dialing, if on The touch location for stating user's touch-control touch-screen that step S101 is got is (10,10), then mobile terminal determines and above-mentioned user Destination application corresponding to the touch location of touch-control touch-screen is dialing.

In the embodiment of the present invention, above-mentioned touch parameter includes touch-control pressure and touch-control duration, true according to above-mentioned touch parameter The control instruction for controlling above-mentioned destination application is specially calmly:Above-mentioned control instruction is determined according to above-mentioned touch-control pressure Command code, and determine according to above-mentioned touch-control duration the operand of above-mentioned control instruction.

One instruction includes command code and operand, wherein, command code is exactly operational order, for indicating that mobile terminal will Any operation is performed, operand is exactly exectorial design parameter.For example, if the destination application of above-mentioned determination is Dialing, the touch-control pressure that above-mentioned steps S101 is got are 3N, mobile terminal according to touch-control pressure and the mapping relations of command code, It is that command code corresponding to 3N is to start dialing application to determine touch-control pressure, a length of during the touch-control that above-mentioned steps S101 is got 1.3s, mobile terminal determine that operand corresponding to a length of 1.3s is during touch-control according to the mapping relations of touch-control duration and operand Dial emotional affection number 1.

In another inventive embodiments, above-mentioned touch parameter includes touch-control pressure and touch trajectory, is joined according to above-mentioned touch-control Counting the control instruction for determining to be used to control above-mentioned destination application is specially:Determine that above-mentioned control refers to according to above-mentioned touch-control pressure The command code of order, and determine according to above-mentioned touch trajectory the operand of above-mentioned control instruction.

For example, if the destination application of above-mentioned determination is dialing, the touch-control pressure that above-mentioned steps S101 is got For 3N, for mobile terminal according to touch-control pressure and the mapping relations of command code, it is that command code is corresponding to 0.3N to determine touch-control pressure Start dialing application, the touch trajectory that above-mentioned steps S101 is got is 0, and mobile terminal reflects according to touch trajectory and operand Relation is penetrated, it is that operand corresponding to 0 is to dial emotional affection number 1 to determine touch trajectory.

S103, the destination application controlled according to the control instruction.

In the embodiment of the present invention, command code and operand that mobile terminal includes according to above-mentioned control instruction control above-mentioned mesh Mark application program.

For example, for the command code that above-mentioned control instruction includes to start dialing application, operand is to dial emotional affection number 1, Command code and operand that mobile terminal includes according to above-mentioned control instruction control the above-mentioned destination application to be specially:It is mobile whole End starts dialing application program, and dials emotional affection number 1.And for example, the command code that above-mentioned control instruction includes is applied to start recording, For operand to start to record, command code and operand that mobile terminal includes according to above-mentioned control instruction control above-mentioned intended application Program is specially:Mobile terminal starts recording application program, and starts to record (recording audio evidence);And for example, above-mentioned control refers to Making the command code included, operand is recorded for pause, is applied if mobile terminal is currently at by recording to start recording application The state of program recording audio evidence, the command code and operand that mobile terminal includes according to above-mentioned control instruction control above-mentioned mesh Marking application program is specially:Mobile terminal performs the operand that above-mentioned control instruction includes, and suspends recording audio evidence.

As can be seen that in the embodiment of the present invention, acquisition for mobile terminal user carries out touch behaviour to the touch-screen of mobile terminal The touch parameter of work;In the case where the touch parameter meets preparatory condition, the mobile terminal is according to the touch parameter Determine destination application and the control instruction for controlling the destination application;Mobile terminal is according to the control of determination System instruction controls the destination application.The embodiment of the present invention only needs to touch mobile terminal relative to prior art user Screen is touched to be touched, in the case where the touch parameter of touch operation meets control targe application program, mobile terminal control institute Destination application is stated, without first unlocking mobile terminal, reselection wants the application used, and then it is whole using movement to improve user The convenience at end.

Fig. 2 is referred to, Fig. 2 is a kind of second embodiment flow for controlling the method applied provided in an embodiment of the present invention Figure.Wherein, as shown in Fig. 2 a kind of method for control application that one embodiment of the present of invention provides can include step S201 ~S205:

S201, acquisition for mobile terminal user carry out the touch parameter of touch operation to the touch-screen of mobile terminal.

S202, the touch parameter include touch-control pressure, the mobile terminal judge the touch-control pressure whether be more than or Equal to preset touch pressure.

If so, then perform step S203.

If it is not, any operation is not made then.

S203, the touch parameter include position of touch, and the mobile terminal is according to the position of touch prestored with answering With the mapping relations of program, it is determined that the destination application corresponding with the position of touch of acquisition.

S204, the touch parameter also include touch-control duration, and the mobile terminal is according to determining the touch-control pressure The command code of control instruction, and determine according to the touch-control duration operand of the control instruction.

S205, the mobile terminal control the intended application journey according to the command code and operand of the control instruction Sequence.

For example, the display interface view that Fig. 2 b, Fig. 2 b are a kind of control application that Fig. 2 a are provided is referred to. As shown in Figure 2 b, the mobile phone screen of mobile terminal being divided into 8 regions, each region can correspond to an application program, and often The corresponding two-dimensional coordinate scope in individual region.As shown in Figure 2 b, user's finger is entered to the top left region of the touch-screen of mobile terminal Row touch operation, now, the touch parameter that acquisition for mobile terminal arrives include a length of 3s and touch-control position when touch-control pressure is 5N, touch-control Put (100,550).

Determine that the touch-control pressure (5N) that above-mentioned steps S201 is got is more than or equal to preset touch pressure in mobile terminal In the case of (3N), mobile terminal according to the position of touch prestored and the mapping relations of application program, such as, two-dimensional coordinate Scope is that (0,450)~application program corresponding to (300,600) is dialing application), because what above-mentioned steps S201 was got touches It is in (0,450)~(300,600), so that it is determined that above-mentioned steps S201 is got that control position (100,550), which falls into coordinate range, Position of touch (100,550) corresponding to application program be dialing application.

Mobile terminal should according to the dialing application touch-control pressure prestored and the command code of control instruction, and dialing With touch-control duration mapping relations corresponding with the operand of control instruction, for example command code corresponding to touch-control pressure 1N~5N is opens Application is moved, command code corresponding to touch-control pressure 5N~10N is applied to close, and touch-control duration 1s~2s is to dial emotional affection number 1, touch-control Duration 2s~3s is to dial emotional affection number 2), then mobile terminal determines that the above-mentioned touch-control pressure got is command code corresponding to 5N Applied to start, the touch-control time is that operand corresponding to 3s is to dial emotional affection number 2;The mobile terminal is according to the control instruction Command code (startup dialing application) and according to operand (dialing emotional affection number 1).

As can be seen that in the embodiment of the present invention, acquisition for mobile terminal user carries out touch behaviour to the touch-screen of mobile terminal The touch parameter of work;In the case where the touch-control pressure is more than or equal to preset touch pressure, the mobile terminal is according to prestoring Position of touch and application program mapping relations, it is determined that the intended application journey corresponding with the position of touch of acquisition Sequence, the command code of the control instruction is determined according to the touch-control pressure, and the control is determined according to the touch-control duration The operand of instruction, and control the destination application according to the command code and operand of the control instruction.It is of the invention real Apply example only needs to touch the touch-screen of mobile terminal relative to prior art user, expires in the touch parameter of touch operation In the case of sufficient control targe application program, mobile terminal controls the destination application, without first unlocking mobile terminal, then The application used is wanted in selection, and then improves the convenience that user uses mobile terminal.

Fig. 3 is referred to, Fig. 3 is a kind of 3rd embodiment flow for controlling the method applied provided in an embodiment of the present invention Figure.Wherein, as shown in figure 3, a kind of method for control application that one embodiment of the present of invention provides can include step S301 ~S305:

S301, acquisition for mobile terminal user carry out the touch parameter of touch operation to the touch-screen of mobile terminal.

S302, the touch parameter include touch trajectory, and the mobile terminal judges that the touch trajectory includes orientation number Include whether the consistent ratio of bearing data is more than or equal to preset ratio according to preset touch track.

If so, then perform step S303.

If it is not, any operation is not made then.

S303, the mobile terminal are according to the position of touch prestored and the mapping relations of application program, it is determined that with obtaining The destination application corresponding to the position of touch taken.

S304, the touch parameter include touch-control pressure and touch trajectory, and the mobile terminal is according to the touch-control pressure The command code of the control instruction is determined, and the operand of the control instruction is determined according to the touch trajectory.

S304, the mobile terminal control the intended application journey according to the command code and operand of the control instruction Sequence.

For example, the display interface view that Fig. 3 b, Fig. 3 b are a kind of screens switch that Fig. 3 a are provided please be participate in. As shown in Figure 3 b, the mobile phone screen of mobile terminal being divided into 8 regions, each region can correspond to an application program, and often The corresponding two-dimensional coordinate scope in individual region.User's finger carries out touch track behaviour to the top left region of the touch-screen of mobile terminal Make, now, acquisition for mobile terminal to touch parameter include:Touch trajectory pattern, touch trajectory maximum touch-control pressure, touch-control rail Mark minimum touch-control pressure, the touch-control pressure of touch trajectory touch-control duration and multiple touch points for forming touch trajectory, position of touch And bearing data, above-mentioned bearing data are touch-control direction corresponding to touch point.

Mobile terminal determines that touch trajectory includes bearing data and preset touch track includes the consistent ratio of bearing data Whether more than or equal to preset ratio be specially:Multiple touch-control bearing datas that mobile terminal includes above-mentioned touch trajectory with it is pre- If multiple touch-control bearing datas of touch trajectory matched, to determine that touch trajectory includes bearing data and preset touch rail Mark includes whether the consistent ratio of bearing data is more than or equal to preset ratio.

It should be noted that touch-control bearing data X and touch-control bearing data Y are unanimously touch-control bearing data X and touch-control side To data Angle difference in preset range (such as 0 °~60 °), it is determined that touch-control bearing data X and touch-control bearing data Y, than Such as, touch-control bearing data X is 30 ° of south by west, and touch-control bearing data Y is 50 ° of south by west, then touch-control bearing data X and touch-control side To data Y, angle differs 20 °, less than preset range, it is determined that touch-control bearing data X is consistent with touch-control bearing data Y.

Because touch trajectory is made up of multiple touch points, mobile terminal determines the position of touch of above-mentioned touch trajectory Embodiment be:Acquisition for mobile terminal forms the position of touch of the touch point of above-mentioned touch trajectory, is then averaging and touches Control position or, acquisition for mobile terminal forms the position of touch of the part touch point of above-mentioned touch trajectory, then asks these The average position of touch of touch point.Equally can also be other modes.

As shown in Figure 3 b, 3 touch points that touch trajectory C is included, touch parameter corresponding to the first touch point include touch-control Pressure is 5N, position of touch (180,530), and it is 5.3N, touch-control position that touch parameter corresponding to the second touch point, which includes touch-control pressure, (80,500) 5 are put, touch parameter corresponding to the 3rd touch point includes touch-control pressure for 5.6N, position of touch (180,470), because This, above-mentioned touch trajectory C average touch-control pressure is 5.3N, average position of touch (146,500);Mobile terminal according to depositing in advance The position of touch of storage and the mapping relations of application program, such as, two-dimensional coordinate scope is corresponding to (0,450)~(300,600) Application program is dialing application), due to the above-mentioned steps S301 touch trajectory C got average position of touch (146,500) It is in (0,450)~(300,600), so that it is determined that the touch trajectory C's that above-mentioned steps S301 is got is flat to fall into coordinate range Application program corresponding to equal position of touch (100,550) is dialing application.

Mobile terminal should according to the dialing application touch-control pressure prestored and the command code of control instruction, and dialing With touch trajectory mapping relations corresponding with the operand of control instruction, for example command code corresponding to touch-control pressure 1N~5N is opens Application is moved, command code corresponding to touch-control pressure 5N~10N is applied to close, and touch trajectory C is to dial emotional affection number 3, touch trajectory B To dial emotional affection number 2, touch trajectory A is dials emotional affection number 1, then mobile terminal determines the touch-control rail that above-mentioned steps S301 is got The average touch-control pressure of mark is that command code corresponding to 5.3N is to start application, and operand corresponding to touch trajectory C is to dial emotional affection Numbers 3;The mobile terminal according to the command code (startup dialing application) of the control instruction and (dials emotional affection number according to operand 3)。

As can be seen that in the embodiment of the present invention, acquisition for mobile terminal user carries out touch behaviour to the touch-screen of mobile terminal The touch parameter of work;Judge that the touch trajectory includes bearing data and includes orientation with preset touch track in the mobile terminal The consistent ratio of data is more than or equal under preset ratio, and the mobile terminal is according to the position of touch prestored and applies journey The mapping relations of sequence, it is determined that the destination application corresponding with the position of touch of acquisition, according to the touch-control pressure The command code of the control instruction is determined, and the operand of the control instruction, Yi Jiju are determined according to the touch trajectory The command code and operand of the control instruction control the destination application.The embodiment of the present invention is used relative to prior art Family only needs to touch the touch-screen of mobile terminal, meets control targe application program in the touch parameter of touch operation In the case of, mobile terminal controls the destination application, and without first unlocking mobile terminal, reselection wants the application used, And then improve the convenience that user uses mobile terminal.

Fig. 4 is referred to, Fig. 4 is a kind of structural representation of mobile terminal 400 provided in an embodiment of the present invention, and the movement is whole End includes:

Acquiring unit 401, the touch parameter of touch operation is carried out to the touch-screen of mobile terminal for obtaining user.

Determining unit 402, if meeting preparatory condition for the touch parameter that the acquiring unit is got, according to institute State touch parameter and determine destination application and the control instruction for controlling the destination application.

Control unit 403, the control instruction for being determined according to the determining unit control the intended application journey Sequence.

Wherein, the touch parameter includes touch-control pressure and touch-control duration, and the touch parameter meets preparatory condition, bag Include:The touch-control pressure is more than or equal to preset touch pressure and/or the touch-control duration is more than or equal to preset touch duration.

Wherein, the touch parameter includes touch trajectory, and the touch trajectory includes bearing data, the touch parameter Meet preparatory condition, including:

It is completely the same comprising bearing data with preset touch track that the touch trajectory includes bearing data;

Or

The touch trajectory includes bearing data and preset touch track includes the consistent ratio of bearing data and is more than or waits In preset ratio.

Wherein, the touch parameter includes position of touch, and the determining unit 403 is specifically used for:According to what is prestored The mapping relations of position of touch and application program, it is determined that the destination application corresponding with the position of touch of acquisition.

Wherein, the touch parameter includes touch-control pressure and touch-control duration, and the determining unit 403 is specifically used for:According to The touch-control pressure determines the command code of the control instruction, and the behaviour of the control instruction is determined according to the touch-control duration Count;

Or

The touch parameter includes touch-control pressure and touch trajectory, and the determining unit 403 is specifically used for:Touched according to described Governor pressure determines the command code of the control instruction, and the operand of the control instruction is determined according to the touch trajectory.

It is understood that the function of each functional module of the mobile terminal 400 of the present embodiment can be real according to methods described The method specific implementation in example is applied, its specific implementation process is referred to the associated description of methods described embodiment, herein no longer Repeat.

As can be seen that in the embodiment of the present invention, acquiring unit 401 obtains user and the touch-screen of mobile terminal is touched The touch parameter of operation;In the case where the touch parameter meets preparatory condition, determining unit 402 is according to the touch parameter Determine destination application and the control instruction for controlling the destination application;Control unit 403 is according to the institute of determination State control instruction and control the destination application.The embodiment of the present invention is only needed to mobile terminal relative to prior art user Touch-screen touched, in the case where the touch parameter of touch operation meets control targe application program, mobile terminal control The destination application is made, without first unlocking mobile terminal, reselection wants the application used, and then improves user and use shifting The convenience of dynamic terminal.

Fig. 5 is referred to, Fig. 5 is a kind of structural representation of mobile terminal 500 provided in an embodiment of the present invention, and the movement is whole End includes:At least one input equipment 501;At least one output equipment 502;At least one processor 503, such as CPU;With deposit Reservoir 504, the input equipment 501, output equipment 502, processor 503 and memory 504 are connected by bus 505.

Wherein, the contact panel of the input equipment 501 concretely mobile terminal, including touch-screen and touch screen, use Operational order on detection terminal contact panel.

The display screen of the output equipment 502 concretely mobile terminal, for exporting, display information.

The memory 504 can be high-speed RAM memory, or non-labile memory (non-volatile ), such as magnetic disk storage memory.The memory 504 is used to store batch processing code, the input equipment 501, output Equipment 502 and processor 503 are used to call the program code stored in memory 504, perform following operation:

Above-mentioned processor 503, the touch parameter of touch operation is carried out to the touch-screen of mobile terminal for obtaining user;If The touch parameter meets preparatory condition, and destination application is determined and for controlling the target should according to the touch parameter With the control instruction of program;The destination application is controlled according to the control instruction.

In some feasible embodiments, the touch parameter includes touch-control pressure and touch-control duration, the touch parameter Meet preparatory condition, including:The touch-control pressure is more than or equal to preset touch pressure and/or the touch-control duration is more than or waited In preset touch duration.

In some feasible embodiments, the touch parameter includes touch trajectory, and the touch trajectory includes orientation Data, the touch parameter meet preparatory condition, including:

It is completely the same comprising bearing data with preset touch track that the touch trajectory includes bearing data;

Or

The touch trajectory includes bearing data and preset touch track includes the consistent ratio of bearing data and is more than or waits In preset ratio.

In some feasible embodiments, the touch parameter includes position of touch, and the processor 503 is also specific to be used In:

According to the position of touch and the mapping relations of application program prestored, it is determined that the position of touch pair with acquisition The destination application answered.

In some feasible embodiments, the touch parameter includes touch-control pressure and touch-control duration, the processor 503 Also particularly useful for:The command code of the control instruction is determined according to the touch-control pressure, and is determined according to the touch-control duration The operand of the control instruction.

In some feasible embodiments, the touch parameter includes touch-control pressure and touch trajectory, the processor 503 Also particularly useful for:The command code of the control instruction is determined according to the touch-control pressure, and is determined according to the touch trajectory The operand of the control instruction.

In the specific implementation, the input equipment 501, output equipment 502 and processor 503 described in the embodiment of the present invention can The implementation described in each embodiment of the method for control application program provided in an embodiment of the present invention is performed, also can perform The implementation of terminal described in the first embodiment of mobile terminal provided in an embodiment of the present invention, will not be repeated here.

As can be seen that in the embodiment of the present invention, acquisition for mobile terminal user carries out touch behaviour to the touch-screen of mobile terminal The touch parameter of work;In the case where the touch parameter meets preparatory condition, the mobile terminal is according to the touch parameter Determine destination application and the control instruction for controlling the destination application;Mobile terminal is according to the control of determination System instruction controls the destination application.The embodiment of the present invention only needs to touch mobile terminal relative to prior art user Screen is touched to be touched, in the case where the touch parameter of touch operation meets control targe application program, mobile terminal control institute Destination application is stated, without first unlocking mobile terminal, reselection wants the application used, and then it is whole using movement to improve user The convenience at end.

It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.

In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.

In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematical, such as the division of the unit, it is only one kind Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical or other forms.

The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.

In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.

If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server or network equipment etc.) perform each embodiment methods described of the present invention whole or Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes Medium.

Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these Modification is replaced, and the essence of appropriate technical solution is departed from the scope of various embodiments of the present invention technical scheme.

Claims (8)

  1. A kind of 1. method for controlling application, it is characterised in that including:
    Obtain the touch parameter that user carries out touch operation to the touch-screen of mobile terminal;
    If the touch parameter meets preparatory condition, destination application is determined and for described in controlling according to the touch parameter The control instruction of destination application;
    The destination application is controlled according to the control instruction,
    Wherein, the control instruction includes command code and operand, and the command code is used to indicate that the mobile terminal will be held Capable operational order, the operand are used to indicate the operating parameter for performing the operational order,
    The touch parameter includes touch-control pressure and touch-control duration, described to determine to be used to control the mesh according to the touch parameter The control instruction of application program is marked, including:The command code of the control instruction is determined according to the touch-control pressure, and according to institute State the operand that touch-control duration determines the control instruction;
    Or
    The touch parameter includes touch-control pressure and touch trajectory, described to determine to be used to control the mesh according to the touch parameter The control instruction of application program is marked, including:The command code of the control instruction is determined according to the touch-control pressure, and according to institute State the operand that touch trajectory determines the control instruction.
  2. 2. according to the method for claim 1, it is characterised in that the touch parameter includes touch-control pressure and touch-control duration, The touch parameter meets preparatory condition, including:The touch-control pressure is more than or equal to preset touch pressure and/or the touch-control Duration is more than or equal to preset touch duration.
  3. 3. according to the method for claim 1, it is characterised in that the touch parameter includes touch trajectory, and the touch-control Track includes bearing data, and the touch parameter meets preparatory condition, including:
    It is completely the same comprising bearing data with preset touch track that the touch trajectory includes bearing data;
    Or
    The touch trajectory includes bearing data and preset touch track includes the consistent ratio of bearing data and is more than or equal in advance If ratio.
  4. 4. according to the method described in any one of claims 1 to 3, it is characterised in that the touch parameter includes position of touch, institute State and destination application is determined according to the touch parameter, including:According to reflecting for the position of touch and application program prestored Relation is penetrated, it is determined that the destination application corresponding with the position of touch of acquisition.
  5. A kind of 5. mobile terminal, it is characterised in that including:
    Acquiring unit, the touch parameter of touch operation is carried out to the touch-screen of mobile terminal for obtaining user;
    Determining unit, if meeting preparatory condition for the touch parameter that the acquiring unit is got, according to the touch-control Parameter determines destination application and the control instruction for controlling the destination application;
    Control unit, the control instruction for being determined according to the determining unit control the destination application,
    Wherein, the control instruction includes command code and operand, and the command code is used to indicate that the mobile terminal will be held Capable operational order, the operand are used to indicate the operating parameter for performing the operational order,
    The touch parameter includes touch-control pressure and touch-control duration, described to determine to be used to control the mesh according to the touch parameter The control instruction of application program is marked, including:The command code of the control instruction is determined according to the touch-control pressure, and according to institute State the operand that touch-control duration determines the control instruction;
    Or
    The touch parameter includes touch-control pressure and touch trajectory, described to determine to be used to control the mesh according to the touch parameter The control instruction of application program is marked, including:The command code of the control instruction is determined according to the touch-control pressure, and according to institute State the operand that touch trajectory determines the control instruction.
  6. 6. mobile terminal according to claim 5, it is characterised in that when the touch parameter includes touch-control pressure and touch-control Long, the touch parameter meets preparatory condition, including:The touch-control pressure is more than or equal to preset touch pressure and/or described Touch-control duration is more than or equal to preset touch duration.
  7. 7. mobile terminal according to claim 5, it is characterised in that the touch parameter includes touch trajectory, and described Touch trajectory includes bearing data, and the touch parameter meets preparatory condition, including:
    It is completely the same comprising bearing data with preset touch track that the touch trajectory includes bearing data;
    Or
    The touch trajectory includes bearing data and preset touch track includes the consistent ratio of bearing data and is more than or equal in advance If ratio.
  8. 8. according to the mobile terminal described in any one of claim 5~7, it is characterised in that the touch parameter includes touch-control position Put, the determining unit is specifically used for:According to the position of touch and the mapping relations of application program prestored, it is determined that with acquisition The position of touch corresponding to the destination application.
CN201510541576.3A 2015-08-27 2015-08-27 A kind of method and mobile terminal for controlling application CN105159587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510541576.3A CN105159587B (en) 2015-08-27 2015-08-27 A kind of method and mobile terminal for controlling application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510541576.3A CN105159587B (en) 2015-08-27 2015-08-27 A kind of method and mobile terminal for controlling application

Publications (2)

Publication Number Publication Date
CN105159587A CN105159587A (en) 2015-12-16
CN105159587B true CN105159587B (en) 2018-03-27

Family

ID=54800461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510541576.3A CN105159587B (en) 2015-08-27 2015-08-27 A kind of method and mobile terminal for controlling application

Country Status (1)

Country Link
CN (1) CN105159587B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105246057A (en) * 2015-08-27 2016-01-13 广东欧珀移动通信有限公司 Short message processing method and user terminal
CN105653188B (en) * 2015-12-25 2019-04-23 深圳市金立通信设备有限公司 A kind of operating method and terminal of terminal
CN105677226B (en) * 2016-01-11 2018-05-29 广东欧珀移动通信有限公司 A kind of operating method and mobile terminal to application program
CN105739891A (en) * 2016-01-27 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Music processing method and mobile terminal
CN105677230A (en) * 2016-01-29 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Function control method and terminal
CN105739786A (en) * 2016-01-29 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Method and device for starting application program in screen-off state
CN105739904B (en) * 2016-03-11 2019-08-30 深圳市元征科技股份有限公司 A kind of method and Intelligent bracelet of quick unlatching navigation application
CN106095274A (en) * 2016-06-08 2016-11-09 珠海市魅族科技有限公司 Interface display method and device are set
CN106547450B (en) * 2016-11-02 2020-02-11 Oppo广东移动通信有限公司 Display control method and device for application program
CN106534932B (en) * 2016-11-11 2019-08-16 努比亚技术有限公司 The function switching method of mobile terminal and mobile terminal
CN107103221B (en) * 2017-04-28 2020-04-21 Oppo广东移动通信有限公司 Unlocking control method and related product
CN107678674A (en) * 2017-09-30 2018-02-09 联想(北京)有限公司 Touch control method, electronic equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577029B (en) * 2012-07-27 2016-09-28 鸿富锦精密工业(武汉)有限公司 application control system and method
CN103064628B (en) * 2013-01-15 2016-01-13 深圳市朵唯志远科技有限公司 A kind ofly unlock and start method and the mobile intelligent terminal of application program
CN103677615A (en) * 2013-04-10 2014-03-26 敦泰科技有限公司 Method and terminal for calling application program
CN104598147A (en) * 2013-10-31 2015-05-06 英业达科技有限公司 Screen unlocking system and method
CN104536694A (en) * 2015-02-02 2015-04-22 苏黎 Method for rapidly starting application of mobile terminal and mobile terminal
CN104850342A (en) * 2015-04-29 2015-08-19 努比亚技术有限公司 Mobile terminal and rapid startup method and device for applications of mobile terminal

Also Published As

Publication number Publication date
CN105159587A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
AU2018282404B2 (en) Touch-sensitive button with two levels
US9519361B2 (en) Active stylus
US9557852B2 (en) Method of identifying palm area of a touch panel and a updating method thereof
US10401964B2 (en) Mobile terminal and method for controlling haptic feedback
US9245165B2 (en) Auxiliary functionality control and fingerprint authentication based on a same user input
RU2595634C2 (en) Touch screens hover input handling
CN105824545B (en) The vision-control method and mobile terminal of a kind of display interface
CN104679401B (en) The touch control method and terminal of a kind of terminal
TWI585672B (en) Electronic display device and icon control method
US9552095B2 (en) Touch screen controller and method for controlling thereof
CN103392168B (en) Device including plurality of touch screens and screen change method for the device
CN103631511B (en) Method and apparatus for constructing main screen in the terminal with touch screen
CN106843739B (en) A kind of display control method and mobile terminal of mobile terminal
CN103106012B (en) User interface for mobile terminal provides method and apparatus
CN103543944B (en) Execute the method and its terminal of the function of the terminal including pen identification panel
JP6109847B2 (en) An electronic device with a user interface having three or more degrees of freedom, wherein the user interface includes a touch-sensitive surface and non-contact detection means
US9552068B2 (en) Input device with hand posture control
CN104020868B (en) The method and electronic equipment of a kind of information processing
EP2825944B1 (en) Touch screen hover input handling
CN102281352B (en) Contact list displaying method and terminal
CN103970474B (en) Method and apparatus for carrying out multitask
KR102104910B1 (en) Portable apparatus for providing haptic feedback with an input unit and method therefor
CN102855081B (en) The apparatus and method that web browser interface using gesture is provided in a device
US9671893B2 (en) Information processing device having touch screen with varying sensitivity regions
KR101274836B1 (en) Edge grip detection method of a touch panel and a device using the same

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder