Summary of the invention
The technical problem to be solved in the present invention is that in the prior art the different interfaces of application program need to enter step by step andNot convenient defect complicated for operation is caused, the control method and device, terminal and readable storage medium storing program for executing of a kind of application program are provided.
The technical solution adopted by the present invention to solve the technical problems is: providing a kind of control method of application program, instituteThe method of stating includes:
Detection acts on the first control operation on the icon of application program;
Judge whether the first control operation meets the first preset condition;
If the first control operation meets the first preset condition, start the application program, applies journey into describedThere is in sequence with first preset condition interface of default corresponding relationship.
It is preferably, described to judge whether the first control operation meets the first preset condition, comprising:
The operating parameter and first control that obtain the first control operation operate the figure in the application programThe active position put on;
Judge whether the active position is located at the predeterminable area of the icon of the application program;
If the active position is located at the predeterminable area of the icon of the application program, obtain and the application programThe predeterminable area of icon has the parameter preset condition of corresponding relationship;
Judge whether the operating parameter meets the parameter preset condition.
Preferably, the method also includes:
Detection acts on the second control operation on the icon of application program;
Judge whether the second control operation meets the second preset condition;
If the second control operation meets the second preset condition, amplify the icon for showing the application program;
The first control that the application program image that the detection acts on terminal installation is put on, which operates, includes:
Detection acts on the first control operation that the application program image that amplification is shown is put on.
It is preferably, described to judge whether the operating parameter meets the parameter preset condition, comprising:
Judge whether the operating force of the first control operation is more than or equal to default dynamics threshold value;Or
Judge whether the duration of the first control operation is more than or equal to preset duration threshold value;Or
Judge whether the number of operations of the first control operation is more than or equal to preset number of operations;Or
Whether the operation trace for judging the first control operation is desired guiding trajectory.
Preferably, the method also includes:
Setting instruction is received, the predeterminable area, described pre- of the icon of the application program is set according to the setting instructionCorresponding relationship between setting parameter condition and the interface of the application program.
A kind of control device of application program is provided, described device includes:
First detection unit, for detecting the act on the icon of application program first control operation;
First judging unit, for judging whether the first control operation meets the first preset condition;
Control unit, for starting the application program when the first control operation meets the first preset condition, intoEnter to have in the application program with first preset condition interface of default corresponding relationship.
Preferably, first judging unit includes:
First obtains module, and the operating parameter and the first control operation for obtaining the first control operation existActive position on the icon of the application program;
First judgment module, for judging whether the active position is located at the preset areas of the icon of the application programDomain;
Second obtains module, when the predeterminable area of the icon for being located at the application program in the active position, obtainsTake the parameter preset condition that there is corresponding relationship with the predeterminable area of the icon of the application program;
Second judgment module, for judging whether the operating parameter meets the parameter preset condition.
Preferably, described device further include:
Second detection unit, for detecting the act on the icon of application program second control operation;
Second judgment unit, for judging whether the second control operation meets the second preset condition;
Amplifying unit, for when described second controls operation and meet the second preset condition, amplification to show described using journeyThe icon of sequence;
The first detection unit includes:
Detection module, for detecting the first control operation for acting on the application program image that amplification is shown and putting on.
A kind of terminal is provided, the terminal includes processor, and the processor is for executing the calculating stored in memoryIt is realized when machine program such as the step of any one of above-mentioned the method.
A kind of readable storage medium storing program for executing is provided, computer program is stored thereon with, the computer program is executed by processorThe step of Shi Shixian such as any one of above-mentioned the method.
Implement technical solution of the present invention, by the way that corresponding relationship is established at the interface of the first preset condition and application program,When the first control operation on the icon for acting on application program meets the first preset condition, it is directly entered in the application programInterface corresponding with the first preset condition, it is convenient to operate.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, completeSite preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based onEmbodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every otherEmbodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 is a kind of control method of application program provided by the invention, the control method of the embodimentIt can be applied in terminal.Terminal include but is not limited to mobile phone, tablet computer, smartwatch, Intelligent bracelet, laptop,Desktop computer, MP3, MP4 etc..The operating system of terminal may include but be not limited to Flyme operating system, Android operation systemSystem, IOS operating system, Symbian (Saipan) operating system, Black Berry (blackberry, blueberry) operating system, Windows PhoneOperating system etc..As shown in Fig. 1, the control method of the embodiment includes the following steps:
S11: detection acts on the first control operation on the icon of application program.
In the step S11 of the present embodiment, to the first control on the icon for acting on the application program that terminal is installedOperation is detected.
S12: judge whether the first control operation meets the first preset condition.
The step S12 of the present embodiment specifically includes following sub-step:
S121: the work of the operating parameter and the first control operation of the first control operation on the icon of application program is obtainedUse position.
S122: judge whether active position is located at the predeterminable area of the icon of application program.
The icon for the various application programs that palace lattice are enumerated, palace compartment have biggish gap, so the figure of each application programAll there is four relatively independent corners for mark.In the present embodiment, the predeterminable area of the icon of application program is icon fourOne or more in corner areas, A, B, C and D as shown in Figure 2.
In other embodiments, the icon of application program can also to be divided into one or more according to other rules pre-If region, for example, icon is divided into lower regions or left and right region by the middle line according to icon, for another example according to diagonal line by iconIt is divided into multiple predeterminable areas.
S123: it if active position is located at the predeterminable area of the icon of application program, obtains and the icon of application programPredeterminable area has the parameter preset condition of corresponding relationship;
In the sub-step S123 of the present embodiment, answered when the judging result of sub-step S122 acts on for the first controlIt is located at the predeterminable area of the icon of the application program with the active position of program icon, then obtains with the predeterminable area with correspondingThe parameter preset condition of relationship, and further judge whether the operating parameter of the first control operation obtained meets parameter preset itemPart.
Wherein, judge whether the operating parameter of the first control operation meets parameter preset condition, comprising:
Judge whether the operating force of the first control operation is more than or equal to default dynamics threshold value;Or
Judge whether the duration of the first control operation is more than or equal to preset duration threshold value;Or
Judge whether the number of operations of the first control operation is more than or equal to preset number of operations;Or
Whether the operation trace for judging the first control operation is desired guiding trajectory;Or
Their combination.
Determine that the operating parameter of the first control operation meets parameter preset condition when correspondingly, being satisfied with following situations:
When the operating force of the first control operation is more than or equal to default dynamics threshold value;Or
It is more than or equal to preset duration threshold value when the duration of the first control operation;Or
When the number of operations of the first control operation is more than or equal to preset number of operations;Or
The operation trace of first control operation is desired guiding trajectory;Or
Their combination.
When the active position that judging result is the first control operation obtained is located at the predeterminable area of icon, and the first controlWhen the operating parameter of operation meets the predeterminable area corresponding parameter preset condition, it is default to determine that the first control operation meets firstCondition.
S13: if the first control operation meets the first preset condition, starting application program, into application program with theOne preset condition has the interface of default corresponding relationship.
In the step S13 of the present embodiment, when the judging result in step S12 is that the first control operation satisfaction first is defaultWhen condition, start corresponding application program, being directly entered in the application program has default corresponding relationship with the first preset conditionInterface, avoid user to reach the multi-pass operation of progress required for the interface, it is convenient and efficient.
For example, application program is wechat, referring to fig. 2, four corners are respectively predeterminable area A, predeterminable area B, presetRegion C and predeterminable area D.Wherein, the corresponding parameter preset condition of predeterminable area A, B and C is preset duration threshold value 3 seconds, is presetIt is 2 times that D corresponding parameter preset condition in region, which is preset number of operations,.The corresponding wechat interface predeterminable area A is circle of friends, in advanceIf the corresponding wechat interface region B is chat interface with contact person X, the corresponding wechat interface predeterminable area C is and address list,The corresponding wechat interface predeterminable area D is set interface.
When detecting the long press operation that continue for 5 seconds in the predeterminable area A for acting on wechat icon, then the long press operationMeet the corresponding parameter preset condition of predeterminable area A, then starts wechat, be directly entered the circle of friends of wechat.
When detecting the double click operation in the predeterminable area D for acting on wechat icon, which meets predeterminable area DCorresponding parameter preset condition, then start wechat, is directly entered the set interface of wechat.
The case where predeterminable area B and C and so on.
Fig. 3 is the flow chart of the second embodiment of the control method of application program of the invention, as shown in figure 3, in this realityIt applies in example, control method includes:
S21: detection acts on the second control operation on the icon of application program.
In the step S21 of the present embodiment, to the second control on the icon for acting on the application program that terminal is installedOperation is detected.
S22: judge whether the second control operation meets the second preset condition.
It is specifically included in the step S22 of the present embodiment:
Judge whether the operating force of the second control operation is more than or equal to default dynamics threshold value;Or
Judge whether the duration of the second control operation is more than or equal to preset duration threshold value;Or
Judge whether the number of operations of the second control operation is more than or equal to preset number of operations;Or
Whether the operation trace for judging the second control operation is desired guiding trajectory;Or
Their combination.
It should be noted that the second preset condition and the first preset condition be not identical.In example as the aforementioned, the second controlOperation, which meets the second preset condition, may is that the second control operates corresponding operating force and is more than or equal to preset pressure thresholdValue, alternatively, the operation trace of the second control operation is desired guiding trajectory.
S23: if the second control operation meets the second preset condition, amplify the icon for showing application program.
In the step S23 of the present embodiment, when the judging result in step S22 is that the second control operation satisfaction second is defaultWhen condition, amplification shows the icon of corresponding application program.
S24: detection acts on the first control operation on the icon of application program.
In the step S24 of the present embodiment, detection acts on the first control on the icon for the application program that amplification is shownOperation.
S25: judge whether the first control operation meets the first preset condition;
S26: if the first control operation meets the first preset condition, starting application program, into application program with theOne preset condition has the interface of default corresponding relationship.
Corresponding identical as first embodiment in the step S25 and S26 of the present embodiment, details are not described herein.
Fig. 4 is the flow chart of the control method 3rd embodiment of application program of the invention, as shown in figure 4, in this implementationIn example, control method includes:
S31: receiving setting instruction, according to the predeterminable area of the icon of setting instruction setting application program, the default ginsengCorresponding relationship between said conditions and the interface of the application program;
S32: detection acts on the first control operation on the icon of application program;
S33: judge whether the first control operation meets the first preset condition;
S34: if the first control operation meets the first preset condition, starting application program, into application program with theOne preset condition has the interface of default corresponding relationship.
In the step S31 of the present embodiment, the setting instruction that user is inputted by touch control manner or voice mode is received,It is instructed according to setting the predeterminable area of the icon of corresponding application program, the parameter preset condition is arranged with described using journeyCorresponding relationship between the interface of sequence, and store the corresponding relationship.
Remaining situation of the present embodiment is identical with the first embodiment, and details are not described herein.
Fig. 5 is the functional block diagram of the control device first embodiment of application program of the invention, as shown in figure 5, in this realityIt applies in example, control device 500 includes:
First detection unit 510, for detecting the act on the icon of application program first control operation;
First judging unit 520, for judging whether the first control operation meets the first preset condition;
Control unit 530, for starting application program, into answering when the first control operation meets the first preset conditionWith the interface in program with the first preset condition with default corresponding relationship.
Wherein, first detection unit 510 grasps the first control on the icon for acting on the application program that terminal is installedIt is detected.
First judging unit 520 includes:
First obtains module, and the operating parameter and the first control operation for obtaining the first control operation are in application programIcon on active position.
First judgment module, for judging whether active position is located at the predeterminable area of the icon of application program.
The icon for the various application programs that palace lattice are enumerated, palace compartment have biggish gap, so the figure of each application programAll there is four relatively independent corners for mark.In the present embodiment, the predeterminable area of the icon of application program is icon fourOne or more in corner areas, A, B, C and D as shown in Figure 2.
In other embodiments, the icon of application program can also to be divided into one or more according to other rules pre-If region, for example, icon is divided into lower regions or left and right region by the middle line according to icon, for another example according to diagonal line by iconIt is divided into multiple predeterminable areas.
Second obtains module, when the predeterminable area of the icon for being located at application program in active position, obtains and appliesThe predeterminable area of the icon of program has the parameter preset condition of corresponding relationship.
Specifically, when the judging result of first judgment module is that the first control acts on the effect of application program image targetWhen position is located at the predeterminable area of the icon of the application program, second, which obtains module, is obtained with the predeterminable area with corresponding relationshipParameter preset condition.
Second judgment module, for judging whether operating parameter meets parameter preset condition.
Wherein, judge whether the operating parameter of the first control operation meets parameter preset condition, comprising:
Judge whether the operating force of the first control operation is more than or equal to default dynamics threshold value;Or
Judge whether the duration of the first control operation is more than or equal to preset duration threshold value;Or
Judge whether the number of operations of the first control operation is more than or equal to preset number of operations;Or
Whether the operation trace for judging the first control operation is desired guiding trajectory;Or
Their combination.
Determine that the operating parameter of the first control operation meets parameter preset condition when correspondingly, being satisfied with following situations:
When the operating force of the first control operation is more than or equal to default dynamics threshold value;Or
It is more than or equal to preset duration threshold value when the duration of the first control operation;Or
When the number of operations of the first control operation is more than or equal to preset number of operations;Or
The operation trace of first control operation is desired guiding trajectory;Or
Their combination.
When the active position that judging result is the first control operation obtained is located at the predeterminable area of icon, and the first controlWhen the operating parameter of operation meets the predeterminable area corresponding parameter preset condition, it is default to determine that the first control operation meets firstCondition presets corresponding close into having in application program with the first preset condition at this point, control unit 530 starts application programThe interface of system.
In the present embodiment, when judging result is that the first control operation meets the first preset condition, starting is answered accordinglyWith program, being directly entered in the application program has the interface of default corresponding relationship with the first preset condition, and avoiding user isThe multi-pass operation carried out required for the interface is reached, it is convenient and efficient.
For example, application program is wechat, referring to fig. 2, four corners are respectively predeterminable area A, predeterminable area B, presetRegion C and predeterminable area D.Wherein, the corresponding parameter preset condition of predeterminable area A, B and C is preset duration threshold value 3 seconds, is presetIt is 2 times that D corresponding parameter preset condition in region, which is preset number of operations,.The corresponding wechat interface predeterminable area A is circle of friends, in advanceIf the corresponding wechat interface region B is chat interface with contact person X, the corresponding wechat interface predeterminable area C is and address list,The corresponding wechat interface predeterminable area D is set interface.
When detecting the long press operation that continue for 5 seconds in the predeterminable area A for acting on wechat icon, then the long press operationMeet the corresponding parameter preset condition of predeterminable area A, then starts wechat, be directly entered the circle of friends of wechat.
When detecting the double click operation in the predeterminable area D for acting on wechat icon, which meets predeterminable area DCorresponding parameter preset condition, then start wechat, is directly entered the set interface of wechat.
The case where predeterminable area B and C and so on.
Fig. 6 is a kind of functional block diagram of the second embodiment of the control device of application program provided by the invention, such as Fig. 6 instituteShow, in the present embodiment, control device 600 includes:
Second detection unit 610, for detecting the act on the icon of application program second control operation;
Second judgment unit 620, for judging whether the second control operation meets the second preset condition;
Amplifying unit 630, for when the second control operation meets the second preset condition, amplification to show the figure of application programMark;
First detection unit 640, for detecting the act on the icon of application program first control operation;
First judging unit 650, for judging whether the first control operation meets the first preset condition;
Control unit 660, for starting application program, into answering when the first control operation meets the first preset conditionWith the interface in program with the first preset condition with default corresponding relationship.
Wherein, second detection unit 610 grasps the second control on the icon for acting on the application program that terminal is installedIt is detected.
Second judgment unit 620 judges whether the second control operation meets the concrete mode of the second preset condition and include:
Judge whether the operating force of the second control operation is more than or equal to default dynamics threshold value;Or
Judge whether the duration of the second control operation is more than or equal to preset duration threshold value;Or
Judge whether the number of operations of the second control operation is more than or equal to preset number of operations;Or
Whether the operation trace for judging the second control operation is desired guiding trajectory;Or
Their combination.
It should be noted that the second preset condition and the first preset condition be not identical.In example as the aforementioned, the second controlOperation, which meets the second preset condition, may is that the second control operates corresponding operating force and is more than or equal to preset pressure thresholdValue, alternatively, the operation trace of the second control operation is desired guiding trajectory.
When the judging result of second judgment unit 620 is that the second control operation meets the second preset condition, amplifying unit630 amplifications show the icon of corresponding application program.
In the present embodiment, first detection unit 640 detects the on the icon for acting on the application program that amplification is shownOne control operation.
In the present embodiment, remaining situation is identical as the first embodiment of control device, and details are not described herein.
Fig. 7 is the functional block diagram of the control device 3rd embodiment of application program of the invention, as shown in fig. 7, in this realityIt applies in example, control device 700 includes:
Setting unit 710 instructs the preset areas of the icon of setting application program according to setting for receiving setting instructionCorresponding relationship between domain, parameter preset condition and the interface of application program;
First detection unit 720, for detecting the act on the icon of application program first control operation;
First judging unit 730, for judging whether the first control operation meets the first preset condition;
Control unit 740, for starting application program, into answering when the first control operation meets the first preset conditionWith the interface in program with the first preset condition with default corresponding relationship.
In the present embodiment, setting unit 710 receives user and is referred to by the setting that touch control manner or voice mode inputIt enables, the predeterminable area of the icon of corresponding application program is set according to setting instruction, the parameter preset condition is answered with describedWith the corresponding relationship between the interface of program, and store the corresponding relationship.
Remaining situation of the present embodiment is identical as the first embodiment of control device, and details are not described herein.
Step in the method for the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.ThisModule or unit or sub-unit in the device of inventive embodiments can be combined, divided and deleted according to actual needs.ThisField those of ordinary skill is understood that all or part of the steps in the various methods of above-described embodiment is can to pass through programIt is completed to instruct the relevant hardware of terminal installation, which can be stored in a computer readable storage medium, and storage is situated betweenMatter may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random AccessMemory, RAM), disk or CD etc..
Above disclosed is only presently preferred embodiments of the present invention, cannot limit right of the invention certainly with thisRange, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and according to right of the present inventionEquivalent variations made by it is required that, still belongs to the scope covered by the invention.