Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
The invention provides method and mobile terminal that a kind of application interface is regulated, position and the size that can regulate application interface, under the situation of not closing the current application interface, open new application, simple operation.Below be elaborated respectively.
Fig. 1 is the process flow diagram of a kind of application interface regulative mode in the embodiment of the present invention, and the embodiment of the present invention has realized regulating the position of application interface and big or small scheme.
Described method of the present invention at least comprises as shown in the figure:
Step S101, obtain the interface touch-control instruction that the user inputs on application interface.
The interface touch-control instruction that the user who obtains inputs on the current application interface comprises single-point touch instruction and multi-point touch instruction, and carries the sliding trace information of a plurality of contacts of the motion track information of contact of the interface touch-control instruction that the user inputs on the current application interface or the touch-control instruction that the user inputs on the current application interface.And the current application interface can be interface, can be also other application interfaces.
As a kind of optional embodiment, before obtaining the interface touch-control instruction that the user inputs on application interface, can also obtain interface and regulate triggering command, wherein obtaining interface adjusting triggering command can be the not operation district by the current application interface with the head of a household to be detected.And interface adjusting triggering command comprises single-point triggering command and multiple spot triggering command, if triggering command is regulated at the interface obtained, be the single-point triggering command, the interface touch-control instruction that the user who obtains inputs on application interface is the single-point touch instruction; If it is the multiple spot triggering command that triggering command is regulated at the interface obtained, the interface touch-control instruction that the user who obtains inputs on application interface is the multi-point touch instruction.
Before obtaining interface adjusting triggering command, can also determine currently to meet interface and regulate trigger condition, described interface is regulated trigger condition and is comprised the interface pause instruction of obtaining the user and sending, described application interface full screen display detected or described application interface detected and be not full screen display but obtain the operational order of user in described application interface input.
Obtain interface and regulate after triggering command the current application interface that can also suspend, and start to obtain the interface touch-control instruction that the user inputs on application interface.
Step S102, position or the size of application interface regulated in the interface touch-control instruction of inputting on application interface according to described user.
In specific implementation, if the interface touch-control instruction that the user inputs on the current application interface is the single-point touch instruction, the motion track information of the contact of the interface touch-control instruction of inputting on the current application interface according to the user is regulated the position at current application interface, and wherein motion track information can be the moving up and down position, move left and right position of contact, oblique line track shift position or arching trajectory shift position etc.; If the interface touch-control instruction that the user inputs on the current application interface is the multi-point touch instruction, the sliding trace information of a plurality of contacts of the interface touch-control instruction of inputting on the current application interface according to the user, regulate the size at current application interface, wherein sliding trace information comprises the initial position of touch of each contact and stops position of touch.
Further, if a plurality of contacts of the interface touch-control instruction that the user inputs on the current application interface comprise the first contact and the second contact, the sliding trace information of a plurality of contacts of the interface touch-control instruction that the user inputs on the current application interface comprises the initial position of touch of the first contact and stops position of touch and the initial position of touch of the second contact and stop position of touch, needs so to judge whether horizontal ordinate difference or the ordinate difference between the initial position of touch of the initial position of touch of the first contact and the second contact is greater than predetermined threshold value.
Wherein, predetermined threshold value can be set according to different situations, take in embodiments of the present invention 50dp as example, and the dp of unit of this predetermined threshold value is a kind of abstract unit based on screen density, means the pixel of density-independent.
If the horizontal ordinate difference between the initial position of touch of the initial position of touch of the first contact and the second contact is less than or equal to 50dp, fixing current application interface width, according to the sliding trace information of the first contact and the second contact, regulate the current application interfacial level.
If the ordinate difference between the initial position of touch of the initial position of touch of the first contact and the second contact is less than or equal to 50dp, fixing current application interfacial level, according to the sliding trace information of the first contact and the second contact, regulate the current application interface width.
Further, if the touch-control instruction that the user inputs on the current application interface comprises at least three contacts, the sliding trace information of a plurality of contacts of the interface touch-control instruction that the user inputs on the current application interface comprises the initial position of touch of described each contact and stops position of touch, need so to obtain the horizontal ordinate difference of the initial position of touch between any two contacts in described contact or the ordinate difference of the initial position of touch between any two contacts in described contact, choose maximum target ordinate difference in the described ordinate difference of choosing maximum target horizontal ordinate difference or obtaining in the described horizontal ordinate difference of obtaining, whether target horizontal ordinate difference or target ordinate difference that further judgement is chosen are greater than 50dp.
If described target horizontal ordinate difference is less than or equal to 50dp, fixing current application interface width, the sliding trace information of a plurality of contacts of the interface touch-control instruction of inputting on the current application interface according to the user, regulate the current application interfacial level.
If described target ordinate difference is less than or equal to 50dp, fixing current application interfacial level, the sliding trace information of a plurality of contacts of the interface touch-control instruction of inputting on the current application interface according to the user, regulate the current application interface width.
As a kind of optional embodiment, can judge whether described target horizontal ordinate difference and described target ordinate difference are greater than 50dp simultaneously.
If described target horizontal ordinate difference and described target ordinate difference all are greater than 50dp, respectively according to described target horizontal ordinate difference the sliding trace information of the sliding trace information of two corresponding contacts two contacts corresponding with described target ordinate difference regulate width and the height at current application interface.
If described target horizontal ordinate difference is greater than 50dp, and described target ordinate difference is less than or equal to 50dp, fixing current application interfacial level, the sliding trace information of two corresponding contacts according to described target horizontal ordinate difference, regulate the current application interface width.
If described target horizontal ordinate difference is less than or equal to 50dp, and described target ordinate difference is greater than 50dp, fixing current application interface width, the sliding trace information of two corresponding contacts according to described target ordinate difference, regulate the current application interfacial level.
If described target horizontal ordinate difference and described target ordinate difference all are less than or equal to 50dp, this multi-point touch is equal to single-point touch.The i.e. fixedly width at current application interface and height, according to the initial position of touch of the first contact and the initial position of touch of the second contact, initial position of touch in the middle of determining; According to the termination position of touch of the first contact and the termination position of touch of the second contact, in the middle of determining, stop position of touch.According to the initial position of touch in this centre and the middle motion track information that stops position of touch, regulate the position of application interface.
Step S103, the application interface after vision-control.
After the position and size of regulating the current application interface, the application interface after vision-control.
As a kind of optional embodiment, after application interface after vision-control, current display screen demonstration comprises application interface and the remaining area after described adjusting, can in remaining area, show the upper level application interface of opening before described application interface, if the upper level application interface is interface of main menu, that can obtain so the input of the interface of main menu of user in this remaining area opens the intended application instruction, and according to opening intended application instruction unpack intended application.
In the described application interface control method of Fig. 1, the interface touch-control instruction of inputting on application interface according to the user who obtains, regulated position and the size of this application interface; After regulating this application interface, current display screen demonstration comprises application interface and the remaining area after adjusting, if the upper level application interface of this application interface is interface of main menu, that can obtain the input of the interface of main menu of user in remaining area opens the intended application instruction, and according to this intended application instruction unpack intended application.The embodiment of the present invention can be regulated position and the size of application interface, so that, under the situation of not closing the current application interface, open new application, simple operation, promote the user and experience.
Fig. 2 is the process flow diagram of another kind of application interface regulative mode in the embodiment of the present invention, and the interface touch-control instruction that wherein in the application interface control method shown in Fig. 2, the user inputs on application interface comprises single-point touch instruction and the instruction of two point touch-control.As shown in Figure 2, this application interface control method can comprise the following steps:
Step S201, obtain interface and regulate triggering command the application interface that suspends.
Before obtaining the interface touch-control instruction that the user inputs on application interface, first obtain interface and regulate triggering command the application interface that suspends, it can be the not operation district by the current application interface with the head of a household to be detected that triggering command is regulated in its median surface.
Further, interface is regulated triggering command and is comprised single-point triggering command and multiple spot triggering command, if triggering command is regulated at the interface obtained, is the single-point triggering command, and the interface touch-control instruction that the described user who obtains inputs on application interface is the single-point touch instruction; If it is the multiple spot triggering command that triggering command is regulated at the interface obtained, the interface touch-control instruction that the described user who obtains inputs on application interface is the multi-point touch instruction.
As a kind of optional embodiment, can determine before regulating triggering command and currently meet interface and regulate trigger condition obtaining interface, described interface is regulated trigger condition and is comprised the interface pause instruction of obtaining the user and sending, described application interface full screen display detected or described application interface detected and be not full screen display but obtain the operational order of user in described application interface input.
Concrete, if current application is the game application, detects so this game application and whether suspend, if get the interface pause instruction that the user sends, obtain interface and regulate triggering command; If do not get the interface pause instruction that the user sends, continue so other game operations in the game application.
If current application is not game application, detect so the whether full screen display of current application interface, if the full screen display of current application interface is obtained so interface and regulated triggering command; If the current application interface is not full screen display, whether so further detect the user at the current application interface operation, if get the operational order of user in the input of current application interface, obtain so interface and regulate triggering command.
Step S202, obtain the interface touch-control instruction of user in the application interface input.
After obtaining interface adjusting triggering command the application interface that suspends, obtain the interface touch-control instruction of user in the application interface input, the interface touch-control instruction that the user who wherein obtains inputs on the current application interface comprises single-point touch instruction and the instruction of two point touch-control, and carries the sliding trace information of the first contact of the motion track information of contact of the interface touch-control instruction that the user inputs on the current application interface or the interface touch-control instruction that the user inputs on the current application interface and the sliding trace information of the second contact.
Step S203, judge whether interface touch-control instruction is the single-point touch instruction.
Judge whether interface touch-control instruction is the single-point touch instruction.If interface touch-control instruction is the single-point touch instruction, so implementation step S204; If the touch-control instruction is the instruction of two point touch-control, implementation step S205 so.
Step S204, regulate the application interface position according to the motion track information of contact.
If the interface touch-control instruction that the user inputs on the current application interface is the single-point touch instruction, the motion track information of the contact of the interface touch-control instruction of inputting on the current application interface according to the user so, the position of adjusting application interface.
Wherein motion track information can be the moving up and down position, move left and right position of contact, oblique line shift position or arching trajectory shift position etc.
Wherein, after regulating the application interface position according to the motion track information of contact, implementation step S212.
Step S205, judge whether the horizontal ordinate difference of the initial position of touch between the first contact and the second contact is greater than predetermined threshold value.
If the interface touch-control instruction that the user inputs on the current application interface is the instruction of two point touch-control, further judge whether the horizontal ordinate difference of the initial position of touch between the first contact and the second contact is greater than predetermined threshold value.If the horizontal ordinate difference of the initial position of touch between the first contact and the second contact is greater than predetermined threshold value, so implementation step S206; If the horizontal ordinate difference of the initial position of touch between the first contact and the second contact is less than or equal to predetermined threshold value, so implementation step S209.
Wherein, predetermined threshold value can be set according to different situations, take in embodiments of the present invention 50dp as example, and the dp of unit of this predetermined threshold value is a kind of abstract unit based on screen density, means the pixel of density-independent.
Step S206, judge whether the ordinate difference of the initial position of touch between the first contact and the second contact is greater than predetermined threshold value.
If the horizontal ordinate difference of the initial position of touch between the first contact and the second contact is greater than 50dp, so further judge whether the ordinate difference of the initial position of touch between the first contact and the second contact is greater than 50dp.If the ordinate difference of the initial position of touch between the first contact and the second contact is greater than 50dp, so implementation step S207; If the ordinate difference of the initial position of touch between the first contact and the second contact is less than or equal to 50dp, so implementation step S208.
Step S207, according to the sliding trace information of the first contact and the second contact, regulate height and the width of application interface.
If horizontal ordinate difference and the ordinate difference of the initial position of touch between the first contact and the second contact all are greater than 50dp, so according to the sliding trace information of the first contact and the second contact, regulate height and the width of application interface.
Wherein, according to the sliding trace information of the first contact and the second contact, after regulating the height and width of application interface, implementation step S212.
Step S208, the height at stationary applications interface, according to the sliding trace information of the first contact and the second contact, regulate the width of application interface.
If the horizontal ordinate difference of the initial position of touch between the first contact and the second contact is greater than 50dp, the ordinate difference of the initial position of touch between the first contact and the second contact is less than or equal to 50dp, the so fixing height at current application interface, according to the sliding trace information of the first contact and the second contact, regulate the width of application interface.
Wherein, the height at stationary applications interface, according to the sliding trace information of the first contact and the second contact, after regulating the width of application interface, implementation step S212.
Step S209, judge whether the ordinate difference of the initial position of touch between the first contact and the second contact is greater than predetermined threshold value.
If the horizontal ordinate difference of the initial position of touch between the first contact and the second contact is less than or equal to 50dp, so further judge whether the ordinate difference of the initial position of touch between the first contact and the second contact is greater than 50dp.If the ordinate difference of the initial position of touch between the first contact and the second contact is greater than 50dp, so implementation step S210; If the ordinate difference of the initial position of touch between the first contact and the second contact is less than or equal to 50dp, so implementation step S211.
Step S210, the height at stationary applications interface, according to the sliding trace information of the first contact and the second contact, regulate the height of application interface.
If the horizontal ordinate difference of the initial position of touch between the first contact and the second contact is less than or equal to 50dp, and the ordinate difference of the initial position of touch between the first contact and the second contact is greater than 50dp, the so fixing width at current application interface, according to the sliding trace information of the first contact and the second contact, regulate the height of application interface.
Wherein, the height at stationary applications interface, according to the sliding trace information of the first contact and the second contact, after regulating the height of application interface, implementation step S212.
Step S211, the height at stationary applications interface and width, the position of adjusting application interface.
If horizontal ordinate difference and the ordinate difference of the initial position of touch between the first contact and the second contact all are less than or equal to 50dp, so fixedly the width at current application interface and the height, according to the initial position of touch of the first contact and the initial position of touch of the second contact, initial position of touch in the middle of determining; According to the termination position of touch of the first contact and the termination position of touch of the second contact, in the middle of determining, stop position of touch.According to the initial position of touch in this centre and the middle motion track information that stops position of touch, regulate the position of application interface.
Wherein, the height at stationary applications interface and width, according to the sliding trace information of the first contact and the second contact, after regulating the position of application interface, implementation step S212.
Step S212, the application interface after vision-control.
After the position and size of regulating the current application interface, the application interface after vision-control.
As a kind of optional embodiment, after application interface after vision-control, current display screen demonstration comprises application interface and the remaining area after described adjusting, can in remaining area, show the upper level application interface of opening before described application interface, if the upper level application interface is interface of main menu, that can obtain so the input of the interface of main menu of user in this remaining area opens the intended application instruction, and according to opening intended application instruction unpack intended application.
In the described application interface control method of Fig. 2, the interface touch-control instruction of inputting on application interface according to the user who obtains, regulated position and the size of this application interface; After regulating this application interface, current display screen demonstration comprises application interface and the remaining area after adjusting, if the upper level application interface of this application interface is interface of main menu, that can obtain the input of the interface of main menu of user in remaining area opens the intended application instruction, and according to this intended application instruction unpack intended application.The embodiment of the present invention can be regulated position and the size of application interface, so that, under the situation of not closing the current application interface, open new application, simple operation, promote the user and experience.
Fig. 3 is the process flow diagram of another application interface regulative mode in the embodiment of the present invention, and the interface touch-control instruction that wherein in the application interface control method shown in Fig. 3, the user inputs on application interface comprises single-point touch instruction and the instruction of two point touch-control.As shown in Figure 3, this application interface control method can comprise the following steps:
Step S301, determine the current interface adjusting trigger condition that meets.
Before obtaining interface adjusting triggering command, need to determine the current interface adjusting trigger condition that meets.Described interface is regulated trigger condition and is comprised the interface pause instruction of obtaining the user and sending, described application interface full screen display detected or described application interface detected and be not full screen display but obtain the operational order of user in described application interface input.
Concrete, if current application is the game application, detects so this game application and whether suspend, if get the interface pause instruction that the user sends, meet interface and regulate trigger condition; If do not get the interface pause instruction that the user sends, continue so other game operations in the game application.
If current application is not game application, detect so the whether full screen display of current application interface, if the full screen display of current application interface meets so interface and regulates trigger condition; If the current application interface is not full screen display, whether so further detect the user at the current application interface operation, if get the operational order of user in the input of current application interface, meet so interface and regulate trigger condition.
Step S302, obtain interface and regulate triggering command the application interface that suspends.
Determine currently to meet after interface regulates triggering command, obtain interface and regulate triggering command the application interface that suspends.
Wherein, interface is regulated triggering command and is comprised single-point triggering command and two point triggering command, and it can be the not operation district by the current application interface with the head of a household to be detected that triggering command is regulated at the interface obtained.
Further, if triggering command is regulated at the interface obtained, be the single-point triggering command, the interface touch-control instruction that the described user who obtains inputs on application interface is the single-point touch instruction; If it is the multiple spot triggering command that triggering command is regulated at the interface obtained, the interface touch-control instruction that the described user who obtains inputs on application interface is the multi-point touch instruction.
Step S303, judge whether interface adjusting triggering command is the two point triggering command.
Judge whether interface adjusting triggering command is the two point triggering command, is the two point triggering command if triggering command is regulated at interface, so implementation step S304; If it is the single-point triggering command that triggering command is regulated at interface, so implementation step S305.
Step S304, obtain the two point touch-control instruction that the user inputs on application interface.
If it is the two point triggering command that triggering command is regulated at interface, the user who obtains so is the instruction of two point touch-control in the interface touch-control instruction of application interface input, and carries the sliding trace information of the first contact of the touch-control instruction that the user inputs on the current application interface and the sliding trace information of the second contact.
Wherein sliding trace information comprises the initial position of touch of the first contact and stops the initial position of touch of position of touch and the second contact and stop position of touch.
Step S305, obtain the single-point touch instruction that the user inputs on application interface.
If it is not the two point triggering command that triggering command is regulated at interface, the user who obtains so is the single-point touch instruction in the interface touch-control instruction of application interface input, and carries the motion track information of the contact of the touch-control instruction that the user inputs on the current application interface.
Wherein motion track information can be the moving up and down position, move left and right position of contact, oblique line shift position or arching trajectory shift position etc.
Step S306, regulate the application interface size according to the sliding trace information of the first contact and the second contact.
After obtaining the two point touch-control instruction that the user inputs on application interface, judge whether horizontal ordinate difference or the ordinate difference between the initial position of touch of the initial position of touch of the first contact and the second contact is greater than predetermined threshold value.
If the horizontal ordinate difference between the initial position of touch of the initial position of touch of the first contact and the second contact is less than or equal to predetermined threshold value, fixing current application interface width, according to the sliding trace information of the first contact and the second contact, regulate the current application interfacial level.
If the ordinate difference between the initial position of touch of the initial position of touch of the first contact and the second contact is less than or equal to predetermined threshold value, fixing current application interfacial level, according to the sliding trace information of the first contact and the second contact, regulate the current application interface width.
Wherein, predetermined threshold value can be set according to different situations, take in embodiments of the present invention 50dp as example, and the dp of unit of this predetermined threshold value is a kind of abstract unit based on screen density, means the pixel of density-independent.
As a kind of optional embodiment, can judge whether horizontal ordinate difference and the ordinate difference between the initial position of touch of the initial position of touch of the first contact and the second contact is greater than 50dp simultaneously.
If horizontal ordinate difference and ordinate difference between the initial position of touch of the initial position of touch of the first contact and the second contact all are greater than 50dp, according to the sliding trace information of the first contact and the second contact, regulate height and the width at current application interface.
If the horizontal ordinate difference between the initial position of touch of the initial position of touch of the first contact and the second contact is greater than 50dp, and the ordinate difference between the initial position of touch of the first contact and the initial position of touch of the second contact is less than or equal to 50dp, fixing current application interfacial level, according to the sliding trace information of the first contact and the second contact, regulate the current application interface width.
If the horizontal ordinate difference between the initial position of touch of the initial position of touch of the first contact and the second contact is less than or equal to 50dp, and the ordinate difference between the initial position of touch of the first contact and the initial position of touch of the second contact is greater than 50dp, fixing current application interface width, according to the sliding trace information of the first contact and the second contact, regulate the current application interfacial level.
If horizontal ordinate difference and ordinate difference between the initial position of touch of the initial position of touch of the first contact and the second contact all are less than or equal to 50dp, this two point touch-control is equal to single-point touch.The i.e. fixedly width at current application interface and height, according to the initial position of touch of the first contact and the initial position of touch of the second contact, initial position of touch in the middle of determining; According to the termination position of touch of the first contact and the termination position of touch of the second contact, in the middle of determining, stop position of touch.According to the initial position of touch in this centre and the middle motion track information that stops position of touch, regulate the position of application interface.
Wherein, after regulating the application interface size according to the sliding trace information of the first contact and the second contact, implementation step S308.
Step S307, regulate the application interface position according to the motion track information of contact.
After obtaining the single-point touch instruction that the user inputs on application interface, the motion track information of the contact of the interface touch-control instruction of inputting on the current application interface according to the user, regulate the position of application interface with tracks such as up/down, left/right, oblique line, arcs.
Wherein, after regulating the application interface position according to the motion track information of contact, implementation step S308.
Step S308, the application interface after vision-control.
After the position and size of regulating the current application interface, the application interface after vision-control.
As a kind of optional embodiment, after application interface after vision-control, current display screen demonstration comprises application interface and the remaining area after described adjusting, can in remaining area, show the upper level application interface of opening before described application interface, if the upper level application interface is interface of main menu, that can obtain so the input of the interface of main menu of user in this remaining area opens the intended application instruction, and according to opening intended application instruction unpack intended application.
In the described application interface control method of Fig. 3, the interface touch-control instruction of inputting on application interface according to the user who obtains, regulated position and the size of this application interface; After regulating this application interface, current display screen demonstration comprises application interface and the remaining area after adjusting, if the upper level application interface of this application interface is interface of main menu, that can obtain the input of the interface of main menu of user in remaining area opens the intended application instruction, and according to this intended application instruction unpack intended application.The embodiment of the present invention can be regulated position and the size of application interface, so that, under the situation of not closing the current application interface, open new application, simple operation, promote the user and experience.
Fig. 4 is the structural drawing of a kind of mobile terminal in the embodiment of the present invention, this mobile terminal can comprise smart mobile phone, the equipment such as palm PC, mobile terminal in the embodiment of the present invention at least can comprise interface touch-control instruction acquisition module 10, application interface adjustment module 20 and application interface display module 30 as shown in the figure, wherein:
Interface touch-control instruction acquisition module 10, the interface touch-control instruction of inputting on application interface for obtaining the user.
Wherein, interface touch-control instruction acquisition module 10 obtains the interface touch-control instruction that the user inputs on application interface and comprises single-point touch instruction and multi-point touch instruction, and carries the motion track information of single contact and the sliding trace information of a plurality of contacts.And motion track information can be moving up and down position, moving left and right position and arching trajectory shift position etc. of contact, sliding trace information comprises the initial position of touch of each contact and stops position of touch.
Application interface adjustment module 20, position or the size at current application interface regulated in the interface touch-control instruction of inputting on application interface for the user who obtains according to interface touch-control instruction acquisition module 10.
The single-point touch of the interface touch-control instruction that the user that wherein, can obtain by interface touch-control instruction acquisition module 10 inputs on application interface is regulated the position at current application interface; The multi-point touch of the interface touch-control instruction that the user who obtains by interface touch-control instruction acquisition module 10 inputs on application interface is regulated the size at current application interface.
Application interface display module 30, the application interface after regulating for display application interface adjustment module 20.
As a kind of optional embodiment, the mobile terminal in the embodiment of the present invention can also comprise:
Interface is regulated trigger condition and is met module 40, and for determining the current interface adjusting trigger condition that meets, triggering interface adjusting triggering command acquisition module 50 obtains interface and regulates triggering command.
Wherein, described interface is regulated trigger condition and is comprised the interface pause instruction of obtaining the user and sending, described application interface full screen display detected or described application interface detected and be not full screen display but obtain the operational order of user in described application interface input.
Triggering command acquisition module 50 is regulated at interface, before obtaining for interface touch-control instruction acquisition module 10 the interface touch-control instruction that the user inputs on application interface, obtain interface and regulate triggering command, it can be the not operation district by the current application interface with the head of a household to be detected that triggering command is regulated in its median surface.
Further, if triggering command is regulated at interface, be the single-point triggering command, the interface touch-control instruction that the described user who obtains inputs on application interface is the single-point touch instruction; If it is the multiple spot triggering command that triggering command is regulated at interface, the interface touch-control instruction that the described user who obtains inputs on application interface is the multi-point touch instruction.
Application interface suspending module 60, after obtaining interface adjusting triggering command for interface adjusting triggering command acquisition module 50, suspension current application interface, and trigger interface touch-control instruction acquisition module 10 and obtain the interface touch-control instruction that the user inputs on application interface.
Upper level application interface display module 70, after the application interface after application interface display module 30 vision-controls, current display screen shows application interface and the remaining area comprised after described adjusting, then in remaining area, shows the upper level application interface of opening before described application interface.
Open intended application instruction acquisition module 80, if the upper level application interface shown for upper level application interface display module 70 is interface of main menu, that obtains so the interface of main menu input of user in this remaining area opens the intended application instruction.
Intended application is opened module 90, for according to what open that intended application instruction acquisition module 80 obtains, opening intended application instruction unpack intended application.
As a kind of optional embodiment, the interface in the embodiment of the present invention is regulated triggering command acquisition module 50 and can as shown in Figure 5, further be comprised:
Single-point trigger element 501, if it is the single-point triggering command that triggering command is regulated at the interface obtained for interface adjusting triggering command acquisition module 50, the interface touch-control instruction that the user that described interface touch-control instruction acquisition module 10 obtains inputs on application interface is the single-point touch instruction.
Multiple spot trigger element 502, if it is the multiple spot triggering command that triggering command is regulated at the interface obtained for interface adjusting triggering command acquisition module 50, the interface touch-control instruction that the user that described interface touch-control instruction acquisition module 10 obtains inputs on application interface is the multi-point touch instruction.
Wherein, interface touch-control instruction acquisition module 10 obtains the interface touch-control instruction that the user inputs on application interface and comprises single-point touch instruction and multi-point touch instruction, as a kind of optional embodiment, the application interface adjustment module 20 in the embodiment of the present invention can as shown in Figure 6, further comprise:
Single-point touch unit 601, for obtain the motion track information of the contact of the interface touch-control instruction that the user inputs on application interface according to interface touch-control instruction acquisition module 10, regulate the position at current application interface, wherein motion track information can be moving up and down position, moving left and right position and arching trajectory shift position etc. of contact.
Multi-point touch unit 602, for obtain the sliding trace information of a plurality of contacts of the interface touch-control instruction that the user inputs on application interface according to interface touch-control instruction acquisition module 10, regulate the size at current application interface, wherein the sliding trace information of a plurality of contacts comprises the initial position of touch of each contact and stops position of touch.
As a kind of optional embodiment, the multi-point touch unit 602 in the embodiment of the present invention can as shown in Figure 7, further comprise:
Judgment sub-unit 701, comprise the first contact and the second contact if obtain a plurality of contacts of the interface touch-control instruction that the user inputs on application interface for interface touch-control instruction acquisition module 10, the sliding trace information that interface touch-control instruction acquisition module 10 obtains a plurality of contacts of the interface touch-control instruction that the user inputs on application interface comprises the initial position of touch of the first contact and stops the initial position of touch of position of touch and the second contact and stop position of touch, need so to judge whether horizontal ordinate difference or ordinate difference between the initial position of touch of the initial position of touch of the first contact and the second contact are greater than predetermined threshold value.
Highly regulate subelement 702, if the horizontal ordinate difference of judging for judgment sub-unit 701 between the initial position of touch of the initial position of touch of the first contact and the second contact is less than or equal to predetermined threshold value, fixing current application interface width, according to the sliding trace information of the first contact and the second contact, regulate the current application interfacial level.
Width adjusting subelement 703, if the ordinate difference of judging for judgment sub-unit 701 between the initial position of touch of the initial position of touch of the first contact and the second contact is less than or equal to predetermined threshold value, fixing current application interfacial level, according to the sliding trace information of the first contact and the second contact, regulate the current application interface width.
Wherein, predetermined threshold value can be set according to different situations, take in embodiments of the present invention 50dp as example, and the dp of unit of this predetermined threshold value is a kind of abstract unit based on screen density, means the pixel of density-independent.
In Fig. 4, Fig. 5, the described mobile terminal of Fig. 6, Fig. 7, the interface touch-control instruction that the user who obtains according to interface touch-control instruction acquisition module 10 inputs on application interface, position and size to this application interface are regulated, the application interface after application interface display module 30 display application interface adjustment modules 20 are regulated; After application interface adjustment module 20 is regulated the position and size at current application interface, current display screen demonstration comprises application interface and the remaining area after adjusting, if the upper level application interface of this application interface is interface of main menu, that opens so that intended application instruction acquisition module 80 obtains the input of the interface of main menu of user in remaining area opens the intended application instruction, and intended application is opened module 90 according to this intended application instruction unpack intended application.The embodiment of the present invention can be regulated position and the size of application interface, so that, under the situation of not closing the current application interface, open new application, simple operation, promote the user and experience.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in computer read/write memory medium, this program, when carrying out, can comprise the flow process as the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Step in embodiment of the present invention method can be carried out according to actual needs order and adjusted, merges and delete.
Module in embodiment of the present invention device, unit or subelement can be merged according to actual needs, divided and be deleted.
It should be noted that, in the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, there is no the part of describing in detail in certain embodiment, can be referring to the associated description of other embodiment.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
Method, the Apparatus and system of the above sensing data transmission that the embodiment of the present invention is provided are described in detail, applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention simultaneously.