CN103473013B - The method of a kind of application interface regulation and mobile terminal - Google Patents

The method of a kind of application interface regulation and mobile terminal Download PDF

Info

Publication number
CN103473013B
CN103473013B CN201310414735.4A CN201310414735A CN103473013B CN 103473013 B CN103473013 B CN 103473013B CN 201310414735 A CN201310414735 A CN 201310414735A CN 103473013 B CN103473013 B CN 103473013B
Authority
CN
China
Prior art keywords
interface
touch
application interface
contact
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310414735.4A
Other languages
Chinese (zh)
Other versions
CN103473013A (en
Inventor
刘立荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201310414735.4A priority Critical patent/CN103473013B/en
Publication of CN103473013A publication Critical patent/CN103473013A/en
Application granted granted Critical
Publication of CN103473013B publication Critical patent/CN103473013B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The method that the embodiment of the invention discloses the regulation of a kind of application interface, described method includes: obtain the interface touch command that user inputs on application interface;The interface touch command inputted on application interface according to described user regulates position or the size of described application interface;Application interface after vision-control.The embodiment of the invention also discloses a kind of mobile terminal.Use the embodiment of the present invention, the position of scalable application interface and size, when not closing current application interface, open new opplication, simple operation, promote Consumer's Experience.

Description

The method of a kind of application interface regulation and mobile terminal
Technical field
The present invention relates to electronic technology field, particularly relate to method and the mobile terminal of the regulation of a kind of application interface.
Background technology
Growing along with mobile communication, the demand of mobile terminal is increased by market day by day, to its function Require the most day by day to improve.As a example by mobile phone, such as user, when using mobile phone to log in website, is prompted needs The information such as input validation code, now user needs to close current application interface, opens newly should of display identifying code With;It addition, user is after using mobile phone open one application, the interface of this application is displayed in full screen, if When having information to send to this mobile phone, this information has suggested at the status bar of mobile phone, and now user needs to lead to Cross pull-down state hurdle and open new opplication, check relevant information, or (return main screen by Home key Physical button or virtual key) directly return main screen, open the new opplication of relevant information the most again.Existing skill In art, mobile terminal can not regulate position and the size of application interface, so that needing closing current application circle When face, just can open new application, operate cumbersome.
Summary of the invention
Embodiments provide method and the mobile terminal of the regulation of a kind of application interface, scalable application circle The position in face and size, in order to when not closing current application interface, open new opplication, operation Convenient, promote Consumer's Experience.
The method embodiments providing the regulation of a kind of application interface, including:
Obtain the interface touch command that user inputs on application interface;
The interface touch command inputted on application interface according to described user regulates the position of described application interface Or size;
Application interface after vision-control.
Correspondingly, the embodiment of the present invention additionally provides a kind of mobile terminal, including:
Interface touch command acquisition module, for obtaining the interface touch command that user inputs on application interface;
Application interface adjustment module, is answering for the user obtained according to described interface touch command acquisition module Position or the size of described application interface is regulated by the interface touch command of input on interface;
Application interface display module, the application interface after showing the regulation of described application interface adjustment module.
Implement the embodiment of the present invention, the position of scalable application interface and size, in order to current not closing When application interface, open new opplication, simple operation, promote Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below In accompanying drawing be some embodiments of the present invention, for those of ordinary skill in the art, do not paying wound On the premise of the property made work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of application interface regulative mode in the embodiment of the present invention;
Fig. 2 is the flow chart of another kind of application interface regulative mode in the embodiment of the present invention;
Fig. 3 is the flow chart of another application interface regulative mode in the embodiment of the present invention;
Fig. 4 is the structure chart of a kind of mobile terminal in the embodiment of the present invention;
Fig. 5 is the structure chart of the interface regulation triggering command acquisition module of Fig. 4 in the embodiment of the present invention;
Fig. 6 is the structure chart of the application interface adjustment module of Fig. 4 in the embodiment of the present invention;
Fig. 7 is the structure chart of the multi-point touch unit of Fig. 6 in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, it is fully described by, it is clear that described embodiment is a part of embodiment of the present invention rather than all Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative labor The every other embodiment obtained under dynamic premise, broadly falls into the scope of protection of the invention.
The invention provides method and mobile terminal, the position of scalable application interface of a kind of application interface regulation Put and size, when not closing current application interface, open new opplication, simple operation.Hereinafter divide It is not described in detail.
Fig. 1 is the flow chart of a kind of application interface regulative mode in the embodiment of the present invention, and the embodiment of the present invention is real Position and the scheme of size of regulation application interface are showed.
The described method of the present invention at least includes as shown in the figure:
Step S101, obtains the interface touch command that user inputs on application interface.
The interface touch command that the user obtained inputs on current application interface includes that single-point touch instruction is with many Point touch command, and carry the movement of the contact of the interface touch command that user inputs on current application interface The sliding trace letter of multiple contacts of the touch command that trace information or user input on current application interface Breath.And current application interface can be interface, it is also possible to be other application interfaces.
As the optional embodiment of one, obtain interface touch command that user inputs on application interface it Before, it is also possible to obtaining interface regulation triggering command, wherein obtaining interface regulation triggering command can be to detect With the head of a household by the not operation district at current application interface.And interface regulation triggering command include single-point triggering command and Multiple spot triggering command, if the interface regulation triggering command obtained is single-point triggering command, then the user obtained exists On application interface, the interface touch command of input is single-point touch instruction;If the interface regulation triggering command obtained For multiple spot triggering command, then the interface touch command that the user obtained inputs on application interface is multi-point touch Instruction.
Before obtaining interface regulation triggering command, it is also possible to determine and currently meet interface regulation trigger condition, Described interface regulation trigger condition includes obtaining the interface pause instruction of user's transmission, described answering being detected It is displayed in full screen with interface or detects that described application interface is not full screen display but acquisition user is in described application circle The operational order of face input.
Can also suspend current application interface after obtaining interface regulation triggering command, and start to obtain user and exist The interface touch command of input on application interface.
Step S102, the interface touch command regulation application interface inputted on application interface according to described user Position or size.
In implementing, refer to if the interface touch command that user inputs on current application interface is single-point touch Order, then the motion track information of the contact of the interface touch command inputted on current application interface according to user Regulation current application interface position, wherein motion track information can be contact move up and down position, a left side Move right position, oblique line track shift position or arching trajectory shift position etc.;If user is in current application circle On face, the interface touch command of input is multi-point touch instruction, then input on current application interface according to user The sliding trace information of multiple contacts of interface touch command, the size at regulation current application interface, wherein Sliding trace information includes the initial position of touch of each contact and terminates position of touch.
Further, if multiple contacts of interface touch command that user inputs on current application interface include First contact and the second contact, multiple contacts of the interface touch command that user inputs on current application interface Sliding trace information include the initial position of touch of the first contact and terminate position of touch and the second contact Initial position of touch and termination position of touch, then need to judge the initial position of touch and second of the first contact Whether abscissa difference or vertical coordinate difference between the initial position of touch of contact are more than predetermined threshold value.
Wherein, predetermined threshold value can set according to different situations, with 50dp is in embodiments of the present invention Example, unit dp of this predetermined threshold value is a kind of abstract unit based on screen density, represents with density independent Pixel.
If the abscissa difference between the initial position of touch of the first contact and the initial position of touch of the second contact Less than or equal to 50dp, then fix current application interface width, according to the first contact and the slip of the second contact Trace information, regulates current application interfacial level.
If the vertical coordinate difference between the initial position of touch of the first contact and the initial position of touch of the second contact Less than or equal to 50dp, then fix current application interfacial level, according to the first contact and the slip of the second contact Trace information, regulates current application interface width.
Further, if the touch command that user inputs on current application interface includes at least three contact, The sliding trace information of multiple contacts of the interface touch command that user inputs on current application interface includes institute State the initial position of touch of each contact and terminate position of touch, then need to obtain in described contact is any Between any two contact in the abscissa difference of the initial position of touch between two contacts or described contact The vertical coordinate difference of initial position of touch, the target choosing maximum in the described abscissa difference obtained is horizontal Coordinate difference or obtain described vertical coordinate difference in choose maximum target vertical coordinate difference, sentence further Whether the disconnected target lateral coordinates difference chosen or target vertical coordinate difference be more than 50dp.
If described target lateral coordinates difference is less than or equal to 50dp, then fix current application interface width, according to The sliding trace information of multiple contacts of the interface touch command that user inputs on current application interface, regulation Current application interfacial level.
If described target vertical coordinate difference is less than or equal to 50dp, then fix current application interfacial level, according to The sliding trace information of multiple contacts of the interface touch command that user inputs on current application interface, regulation Current application interface width.
As the optional embodiment of one, described target lateral coordinates difference and described target can be judged simultaneously Whether vertical coordinate difference is more than 50dp.
If described target lateral coordinates difference and described target vertical coordinate difference are both greater than 50dp, the most respectively according to institute State the sliding trace information of two corresponding contacts of target lateral coordinates difference and described target vertical coordinate difference phase The width at the sliding trace information regulation current application interface of two corresponding contacts and height.
If described target lateral coordinates difference is more than 50dp, and described target vertical coordinate difference is less than or equal to 50dp, Then fix current application interfacial level, according to the slip of corresponding two contacts of described target lateral coordinates difference Trace information, regulates current application interface width.
If described target lateral coordinates difference is less than or equal to 50dp, and described target vertical coordinate difference is more than 50dp, Then fix current application interface width, according to the slip of corresponding two contacts of described target vertical coordinate difference Trace information, regulates current application interfacial level.
If described target lateral coordinates difference and described target vertical coordinate difference are both less than or equal to 50dp, then these are many Point touch-control is equal to single-point touch.I.e. fix width and the height at current application interface, according to the first contact Initial position of touch and the initial position of touch of the second contact, determine middle initial position of touch;According to first The termination position of touch of contact and the termination position of touch of the second contact, determine ends intermediate position of touch.Root According to the initial position of touch in this centre and the motion track information of ends intermediate position of touch, regulation application interface Position.
Step S103, the application interface after vision-control.
After the position and size at regulation current application interface, the application interface after vision-control.
As the optional embodiment of one, after the application interface after vision-control, current display screen shows Show the application interface after including described regulation and remaining area, can show in remaining area and open described answering With the upper level application interface before interface, if upper level application interface is interface of main menu, then can obtain That takes family interface of main menu input in this remaining area opens intended application instruction, and according to opening mesh Mark application instruction unpack intended application.
In the application interface control method described by Fig. 1, the user according to obtaining inputs on application interface Interface touch command, position and size to this application interface are adjusted;After regulating this application interface, Current display screen shows the application interface after including regulation and remaining area, if the upper level of this application interface Application interface is interface of main menu, then can obtain beating of user's interface of main menu input in remaining area Open intended application instruction, and according to this intended application instruction unpack intended application.Embodiment of the present invention scalable The position of application interface and size, in order to when not closing current application interface, open new opplication, Simple operation, promotes Consumer's Experience.
Fig. 2 is the flow chart of another kind of application interface regulative mode in the embodiment of the present invention, wherein shown in Fig. 2 Application interface control method in the interface touch command that inputs on application interface of user include that single-point touch refers to Order and two point touch command.As in figure 2 it is shown, this application interface control method may comprise steps of:
Step S201, obtains interface regulation triggering command the application interface that suspends.
Before obtaining the interface touch command that user inputs on application interface, first obtain interface regulation triggering and refer to Make and suspend application interface, and its median surface regulation triggering command can be to detect with the head of a household by current application circle The not operation district in face.
Further, interface regulation triggering command includes single-point triggering command and multiple spot triggering command, if obtaining Interface regulation triggering command be single-point triggering command, then the described user obtained inputs on application interface Interface touch command is single-point touch instruction;If the interface regulation triggering command obtained is multiple spot triggering command, The interface touch command that the described user then obtained inputs on application interface is multi-point touch instruction.
As the optional embodiment of one, may determine that current full before obtaining interface regulation triggering command Foot interface regulation trigger condition, described interface regulation trigger condition includes that the interface obtaining user's transmission is temporary Stop instruction, detect described application interface full screen display or detect described application interface be not full screen display but Obtain the operational order that user inputs at described application interface.
Concrete, if current application is game application, then detect whether this game application suspends, if obtaining The interface pause instruction sent to user, then obtain interface regulation triggering command;If not getting user The interface pause instruction sent, then continue other game operations in game application.
If current application is not game application, then whether detection current application interface is displayed in full screen, if currently Application interface is displayed in full screen, then obtain interface regulation triggering command;If current application interface is not full frame aobvious Show, then whether detection user is at current application interface operation further, if getting user in current application The operational order of interface input, then obtain interface regulation triggering command.
Step S202, obtains user in the interface touch command that application interface inputs.
After obtaining interface regulation triggering command the application interface that suspends, obtain what user inputted at application interface Interface touch command, the interface touch command that the user wherein obtained inputs on current application interface includes list Point touch command and two point touch command, and carry the interface touch-control that user inputs on current application interface and refer to The first of the interface touch command that the motion track information of the contact of order or user input on current application interface The sliding trace information of contact and the sliding trace information of the second contact.
Step S203, it is judged that whether interface touch command is single-point touch instruction.
Judge whether interface touch command is single-point touch instruction.If interface touch command is single-point touch instruction, So implement step S204;If touch command is two point touch command, then implement step S205.
Step S204, regulates application interface position according to the motion track information of contact.
If the interface touch command that user inputs on current application interface is single-point touch instruction, then according to The motion track information of the contact of the interface touch command that user inputs on current application interface, regulation application The position at interface.
Wherein motion track information can be contact move up and down position, move left and right position, oblique line moves Position or arching trajectory shift position etc..
Wherein, after regulating application interface position according to the motion track information of contact, step S212 is implemented.
Step S205, it is judged that the abscissa difference of the initial position of touch between the first contact and the second contact is No more than predetermined threshold value.
If the interface touch command that user inputs on current application interface is two point touch command, sentence further Whether the abscissa difference of disconnected initial position of touch between first contact and the second contact is more than predetermined threshold value. If the abscissa difference of the initial position of touch between the first contact and the second contact is more than predetermined threshold value, then Implement step S206;If the abscissa difference of the initial position of touch between the first contact and the second contact is less than Or equal to predetermined threshold value, then implement step S209.
Wherein, predetermined threshold value can set according to different situations, with 50dp is in embodiments of the present invention Example, unit dp of this predetermined threshold value is a kind of abstract unit based on screen density, represents with density independent Pixel.
Step S206, it is judged that the vertical coordinate difference of the initial position of touch between the first contact and the second contact is No more than predetermined threshold value.
If the abscissa difference of the initial position of touch between the first contact and the second contact is more than 50dp, then Determine whether whether the vertical coordinate difference of the initial position of touch between the first contact and the second contact is more than 50dp.If the vertical coordinate difference of the initial position of touch between the first contact and the second contact is more than 50dp, that Implement step S207;If the vertical coordinate difference of the initial position of touch between the first contact and the second contact is little In or equal to 50dp, then implement step S208.
Step S207, according to the sliding trace information of the first contact and the second contact, the height of regulation application interface Degree and width.
If the abscissa difference of the initial position of touch between the first contact and the second contact and vertical coordinate difference are all More than 50dp, then according to the sliding trace information of the first contact and the second contact, the height of regulation application interface Degree and width.
Wherein, according to the sliding trace information of the first contact and the second contact, the height of regulation application interface and After width, implement step S212.
Step S208, the height at stationary applications interface, believe according to the sliding trace of the first contact and the second contact Breath, the width of regulation application interface.
If the abscissa difference of the initial position of touch between the first contact and the second contact be more than 50dp, first The vertical coordinate difference of the initial position of touch between contact and the second contact is less than or equal to 50dp, then fixing The height at current application interface, according to the sliding trace information of the first contact and the second contact, regulation application circle The width in face.
Wherein, the height at stationary applications interface, according to the sliding trace information of the first contact and the second contact, After the width of regulation application interface, implement step S212.
Step S209, it is judged that the vertical coordinate difference of the initial position of touch between the first contact and the second contact is No more than predetermined threshold value.
If the abscissa difference of the initial position of touch between the first contact and the second contact is less than or equal to 50dp, then determine whether the vertical coordinate difference of initial position of touch between the first contact and the second contact Whether more than 50dp.If the vertical coordinate difference of the initial position of touch between the first contact and the second contact is more than 50dp, then implement step S210;If the vertical seat of the initial position of touch between the first contact and the second contact Mark difference is less than or equal to 50dp, then implement step S211.
Step S210, the height at stationary applications interface, believe according to the sliding trace of the first contact and the second contact Breath, the height of regulation application interface.
If the abscissa difference of the initial position of touch between the first contact and the second contact is less than or equal to 50dp, and the vertical coordinate difference of the initial position of touch between the first contact and the second contact is more than 50dp, that The width at fixing current application interface, according to the sliding trace information of the first contact and the second contact, regulation 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 the height of regulation application interface, implement step S212.
Step S211, the height at stationary applications interface and width, the position of regulation application interface.
If the abscissa difference of the initial position of touch between the first contact and the second contact and vertical coordinate difference are all Less than or equal to 50dp, then the width at fixing current application interface and height, initial according to the first contact Position of touch and the initial position of touch of the second contact, determine middle initial position of touch;According to the first contact Terminate position of touch and the termination position of touch of the second contact, determine ends intermediate position of touch.According to this Middle initial position of touch and the motion track information of ends intermediate position of touch, the position of regulation application interface.
Wherein, the height at stationary applications interface and width, according to the first contact and the sliding trace of the second contact Information, after the position of regulation application interface, implements step S212.
Step S212, the application interface after vision-control.
After the position and size at regulation current application interface, the application interface after vision-control.
As the optional embodiment of one, after the application interface after vision-control, current display screen shows Show the application interface after including described regulation and remaining area, can show in remaining area and open described answering With the upper level application interface before interface, if upper level application interface is interface of main menu, then can obtain That takes family interface of main menu input in this remaining area opens intended application instruction, and according to opening mesh Mark application instruction unpack intended application.
In the application interface control method described by Fig. 2, the user according to obtaining inputs on application interface Interface touch command, position and size to this application interface are adjusted;After regulating this application interface, Current display screen shows the application interface after including regulation and remaining area, if the upper level of this application interface Application interface is interface of main menu, then can obtain beating of user's interface of main menu input in remaining area Open intended application instruction, and according to this intended application instruction unpack intended application.Embodiment of the present invention scalable The position of application interface and size, in order to when not closing current application interface, open new opplication, Simple operation, promotes Consumer's Experience.
Fig. 3 is the flow chart of another application interface regulative mode in the embodiment of the present invention, wherein shown in Fig. 3 Application interface control method in the interface touch command that inputs on application interface of user include that single-point touch refers to Order and two point touch command.As it is shown on figure 3, this application interface control method may comprise steps of:
Step S301, determines and currently meets interface regulation trigger condition.
Before obtaining interface regulation triggering command, it is thus necessary to determine that currently meet interface regulation trigger condition.Institute State interface regulation trigger condition to include obtaining the interface pause instruction of user's transmission, described application being detected Interface is displayed in full screen or detects that described application interface is not full screen display but acquisition user is at described application interface The operational order of input.
Concrete, if current application is game application, then detect whether this game application suspends, if obtaining The interface pause instruction sent to user, then meet interface regulation trigger condition;If not getting user The interface pause instruction sent, then continue other game operations in game application.
If current application is not game application, then whether detection current application interface is displayed in full screen, if currently Application interface is displayed in full screen, then meet interface regulation trigger condition;If current application interface is not full frame aobvious Show, then whether detection user is at current application interface operation further, if getting user in current application The operational order of interface input, then meet interface regulation trigger condition.
Step S302, obtains interface regulation triggering command the application interface that suspends.
Determine after currently meeting interface regulation triggering command, obtain interface regulation triggering command the application that suspends Interface.
Wherein, regulation triggering command in interface includes single-point triggering command and two point triggering command, the interface of acquisition Regulation triggering command can be to detect with the head of a household by the not operation district at current application interface.
Further, if the interface regulation triggering command obtained is single-point triggering command, then the described use obtained The interface touch command that family inputs on application interface is single-point touch instruction;If the interface regulation obtained triggers Instruction is multiple spot triggering command, then the interface touch command that the described user obtained inputs on application interface is Multi-point touch instructs.
Step S303, it is judged that whether interface regulation triggering command is two point triggering command.
Judge whether interface regulation triggering command is two point triggering command, if interface regulation triggering command is two point Triggering command, then implement step S304;If interface regulation triggering command is single-point triggering command, then real Execute step S305.
Step S304, obtains the two point touch command that user inputs on application interface.
If interface regulation triggering command is two point triggering command, then the user of acquisition inputs at application interface Interface touch command is two point touch command, and carries the touch command that user inputs on current application interface The sliding trace information of the first contact and the sliding trace information of the second contact.
Wherein sliding trace information includes the initial position of touch of the first contact and terminates position of touch and second The initial position of touch of contact and termination position of touch.
Step S305, obtains the single-point touch instruction that user inputs on application interface.
If interface regulation triggering command is not two point triggering command, then the user of acquisition inputs at application interface Interface touch command be single-point touch instruction, and carry the touch-control that user inputs on current application interface and refer to The motion track information of the contact of order.
Wherein motion track information can be contact move up and down position, move left and right position, oblique line moves Position or arching trajectory shift position etc..
Step S306, regulates application interface size according to the sliding trace information of the first contact and the second contact.
After obtaining the two point touch command that user inputs on application interface, it is judged that the initial of the first contact touches Whether abscissa difference or vertical coordinate difference between control position and the initial position of touch of the second contact are more than pre- If threshold value.
If the abscissa difference between the initial position of touch of the first contact and the initial position of touch of the second contact Less than or equal to predetermined threshold value, then fix current application interface width, according to the first contact and the second contact Sliding trace information, regulates current application interfacial level.
If the vertical coordinate difference between the initial position of touch of the first contact and the initial position of touch of the second contact Less than or equal to predetermined threshold value, then fix current application interfacial level, according to the first contact and the second contact Sliding trace information, regulates current application interface width.
Wherein, predetermined threshold value can set according to different situations, with 50dp is in embodiments of the present invention Example, unit dp of this predetermined threshold value is a kind of abstract unit based on screen density, represents with density independent Pixel.
As the optional embodiment of one, the initial position of touch and second of the first contact can be judged simultaneously Whether abscissa difference and vertical coordinate difference between the initial position of touch of contact are more than 50dp.
If the abscissa difference between the initial position of touch of the first contact and the initial position of touch of the second contact It is both greater than 50dp with vertical coordinate difference, then regulates according to the sliding trace information of the first contact and the second contact and work as The height of front application interface and width.
If the abscissa difference between the initial position of touch of the first contact and the initial position of touch of the second contact More than the vertical seat between 50dp, and the initial position of touch of the first contact and the initial position of touch of the second contact Mark difference less than or equal to 50dp, then fixes current application interfacial level, according to the first contact and the second contact Sliding trace information, regulate current application interface width.
If the abscissa difference between the initial position of touch of the first contact and the initial position of touch of the second contact Less than or equal between 50dp, and the initial position of touch of the first contact and the initial position of touch of the second contact Vertical coordinate difference more than 50dp, then fix current application interface width, according to the first contact and the second contact Sliding trace information, regulate current application interfacial level.
If the abscissa difference between the initial position of touch of the first contact and the initial position of touch of the second contact Both less than or equal to 50dp, then this two point touch-control is equal to single-point touch with vertical coordinate difference.I.e. fixing current The width of application interface and height, according to initial position of touch and the initial touch-control of the second contact of the first contact Position, determines middle initial position of touch;Termination position of touch according to the first contact and the end of the second contact Only position of touch, determines ends intermediate position of touch.Touch according to the initial position of touch in this centre and ends intermediate The motion track information of control position, the position of regulation application interface.
Wherein, after regulating application interface size according to the sliding trace information of the first contact and the second contact, Implement step S308.
Step S307, regulates application interface position according to the motion track information of contact.
After obtaining the single-point touch instruction that user inputs on application interface, according to user in current application circle The motion track information of the contact of the interface touch command of input on face, with up/down, left/right, oblique line, arc Position Deng track regulation application interface.
Wherein, after regulating application interface position according to the motion track information of contact, step S308 is implemented.
Step S308, the application interface after vision-control.
After the position and size at regulation current application interface, the application interface after vision-control.
As the optional embodiment of one, after the application interface after vision-control, current display screen shows Show the application interface after including described regulation and remaining area, can show in remaining area and open described answering With the upper level application interface before interface, if upper level application interface is interface of main menu, then can obtain That takes family interface of main menu input in this remaining area opens intended application instruction, and according to opening mesh Mark application instruction unpack intended application.
In the application interface control method described by Fig. 3, the user according to obtaining inputs on application interface Interface touch command, position and size to this application interface are adjusted;After regulating this application interface, Current display screen shows the application interface after including regulation and remaining area, if the upper level of this application interface Application interface is interface of main menu, then can obtain beating of user's interface of main menu input in remaining area Open intended application instruction, and according to this intended application instruction unpack intended application.Embodiment of the present invention scalable The position of application interface and size, in order to when not closing current application interface, open new opplication, Simple operation, promotes Consumer's Experience.
Fig. 4 is the structure chart of a kind of mobile terminal in the embodiment of the present invention, and this mobile terminal can include intelligence Mobile phone, the equipment such as palm PC, the mobile terminal in the embodiment of the present invention at least can include boundary as shown in the figure Face touch command acquisition module 10, application interface adjustment module 20 and application interface display module 30, its In:
Interface touch command acquisition module 10, the interface touch-control inputted on application interface for obtaining user refers to Order.
Wherein, interface touch command acquisition module 10 obtains the interface touch-control that user inputs on application interface and refers to Order includes that single-point touch instruction and multi-point touch instruct, and carries the motion track information of single contact and multiple The sliding trace information of contact.And motion track information can be moving up and down position, moving left and right of contact Position and arching trajectory shift position etc., sliding trace information include each contact initial position of touch and Terminate position of touch.
Application interface adjustment module 20, is answering for the user obtained according to interface touch command acquisition module 10 By position or the size at the touch command regulation current application interface, interface of input on interface.
Wherein it is possible to inputted on application interface by the user of interface touch command acquisition module 10 acquisition The position at the single-point touch regulation current application interface of interface touch command;Mould is obtained by interface touch command Multi-point touch regulation current application circle of the interface touch command that the user that block 10 obtains inputs on application interface The size in face.
Application interface display module 30, the application interface after showing application interface adjustment module 20 regulation.
As the optional embodiment of one, the mobile terminal in the embodiment of the present invention can also include:
Interface regulation trigger condition meets module 40, is used for determining that currently meeting interface regulates trigger condition, touches Send out interface regulation triggering command acquisition module 50 and obtain interface regulation triggering command.
Wherein, regulation trigger condition in described interface includes obtaining interface pause instruction, the inspection that user sends Measure the full screen display of described application interface or detect that described application interface is not full screen display but acquisition user exists The operational order of described application interface input.
Interface regulation triggering command acquisition module 50, obtains user for interface touch command acquisition module 10 and exists On application interface before the interface touch command of input, obtaining interface regulation triggering command, its median surface regulates Triggering command can be to detect with the head of a household by the not operation district at current application interface.
Further, if interface regulation triggering command is single-point triggering command, then the described user obtained is answering It is single-point touch instruction by the interface touch command of input on interface;If interface regulation triggering command for tap more Send instructions, then the interface touch command that the described user obtained inputs on application interface is multi-point touch instruction.
Application interface suspending module 60, obtains interface regulation for interface regulation triggering command acquisition module 50 and touches After sending instructions, suspension current application interface, and trigger interface touch command acquisition module 10 and obtain user and exist The interface touch command of input on application interface.
Upper level application interface display module 70, the application after application interface display module 30 vision-control After interface, current display screen shows the application interface after including described regulation and remaining area, then exists In remaining area, the upper level application interface before described application interface is opened in display.
Open intended application instruction acquisition module 80, if for the display of upper level application interface display module 70 Upper level application interface is interface of main menu, then obtain user's interface of main menu in this remaining area defeated Enter opens intended application instruction.
Intended application opens module 90, for according to opening opening of intended application instruction acquisition module 80 acquisition Intended application instruction unpack intended application.
As the optional embodiment of one, the interface regulation triggering command acquisition module in the embodiment of the present invention 50 can be as it is shown in figure 5, farther include:
Single-point trigger element 501, if the interface regulation obtained for interface regulation triggering command acquisition module 50 Triggering command is single-point triggering command, and the user that the most described interface touch command acquisition module 10 obtains is in application On interface, the interface touch command of input is single-point touch instruction.
Multiple spot trigger element 502, if the interface regulation obtained for interface regulation triggering command acquisition module 50 Triggering command is multiple spot triggering command, and the user that the most described interface touch command acquisition module 10 obtains is in application On interface, the interface touch command of input is multi-point touch instruction.
Wherein, interface touch command acquisition module 10 obtains the interface touch-control that user inputs on application interface and refers to Order includes that single-point touch instruction and multi-point touch instruct, and as the optional embodiment of one, the present invention implements Application interface adjustment module 20 in example can farther include as shown in Figure 6:
Single-point touch unit 601, for obtaining user on application circle according to interface touch command acquisition module 10 The motion track information of the contact of the interface touch command of input on face, the position at regulation current application interface, Wherein motion track information can be moving up and down position, moving left and right position and arching trajectory and move of contact Dynamic position etc..
Multi-point touch unit 602, for obtaining user on application circle according to interface touch command acquisition module 10 The sliding trace information of multiple contacts of the interface touch command of input on face, regulates the big of current application interface Little, the sliding trace information of plurality of contact includes the initial position of touch of each contact and terminates touch-control position Put.
As the optional embodiment of one, the multi-point touch unit 602 in the embodiment of the present invention can be such as Fig. 7 Shown in, farther include:
Judgment sub-unit 701, if obtaining user at application interface for interface touch command acquisition module 10 Multiple contacts of the interface touch command of input include the first contact and the second contact, and interface touch command obtains Module 10 obtains the sliding trace information of multiple contacts of the interface touch command that user inputs on application interface Including the first contact initial position of touch and terminate position of touch and the second contact initial position of touch and Terminate position of touch, then need to judge the initial touch-control of the initial position of touch of the first contact and the second contact Whether abscissa difference or vertical coordinate difference between position are more than predetermined threshold value.
Altitude mixture control subelement 702, if judging the initial touch-control position of the first contact for judgment sub-unit 701 Put the abscissa difference between the initial position of touch of the second contact and be less than or equal to predetermined threshold value, then fix Current application interface width, according to the sliding trace information of the first contact and the second contact, regulates current application Interfacial level.
Width adjusting subelement 703, if judging the initial touch-control position of the first contact for judgment sub-unit 701 Put the vertical coordinate difference between the initial position of touch of the second contact and be less than or equal to predetermined threshold value, then fix Current application interfacial level, according to the sliding trace information of the first contact and the second contact, regulates current application Interface width.
Wherein, predetermined threshold value can set according to different situations, with 50dp is in embodiments of the present invention Example, unit dp of this predetermined threshold value is a kind of abstract unit based on screen density, represents with density independent Pixel.
In the mobile terminal described by Fig. 4, Fig. 5, Fig. 6, Fig. 7, obtain mould according to interface touch command The interface touch command that input on application interface of user that block 10 obtains, to the position of this application interface and greatly Little being adjusted, application interface display module 30 shows application circle after application interface adjustment module 20 regulation Face;After application interface adjustment module 20 regulates position and the size at current application interface, current display screen Display includes the application interface after regulation and remaining area, if the upper level application interface of this application interface is main Menu interface, then open intended application instruction acquisition module 80 and obtain user's main menu in remaining area The intended application of opening of interface input instructs, and intended application opens module 90 according to this intended application instruction unpack Intended application.The position of embodiment of the present invention scalable application interface and size, in order to current not closing When application interface, open new opplication, simple operation, promote Consumer's Experience.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, Can be by computer program and complete to instruct relevant hardware, described program can be stored in computer In read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method. Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, Or random store-memory body (Random Access Memory, RAM) etc. ROM).
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete.
Module in embodiment of the present invention device, unit or subelement can merge according to actual needs, Divide and delete.
It should be noted that in the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, certain The part being not described in embodiment, may refer to the associated description of other embodiments.Secondly, ability Field technique personnel also should know, embodiment described in this description belongs to preferred embodiment, involved Action and the module not necessarily present invention necessary to.
The method of sensing data transmission, the Apparatus and system that are thered is provided the embodiment of the present invention above are carried out Being discussed in detail, principle and the embodiment of the present invention are set forth by specific case used herein, with The explanation of upper embodiment is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for this The those skilled in the art in field, according to the thought of the present invention, the most all can Change part, and in sum, this specification content should not be construed as limitation of the present invention.

Claims (8)

1. the method for an application interface regulation, it is characterised in that described method includes:
Obtain the interface touch command that user inputs on application interface;
The interface touch command inputted on application interface according to described user regulates the position of described application interface Or size;
Application interface after vision-control, current display screen show the application interface after including described regulation and Remaining area;
In described remaining area, the upper level application interface before described application interface is opened in display;
If the upper level application interface of described application interface is interface of main menu, then obtain user at remaining area In interface of main menu input open intended application instruction;
According to described intended application instruction unpack intended application;
The described interface touch command inputted on application interface according to described user regulates described application interface Size includes:
If the interface touch command that described user inputs on application interface is multi-point touch instruction, then according to institute State the sliding trace information of multiple contacts of the interface touch command that user inputs on application interface, regulate institute State the size of application interface;
Multiple contacts of the interface touch command that described user inputs on application interface include the first contact and Two contacts, the sliding trace letter of multiple contacts of the interface touch command that described user inputs on application interface Breath includes the initial position of touch of described first contact and terminates the initial of position of touch and described second contact Position of touch and termination position of touch;
The slip rail of multiple contacts of the described interface touch command inputted on application interface according to described user Mark information, the size regulating described application interface includes:
Judge between the initial position of touch of described first contact and the initial position of touch of described second contact Whether abscissa difference or vertical coordinate difference be more than predetermined threshold value;
If the horizontal stroke between the initial position of touch of the initial position of touch of described first contact and described second contact Coordinate difference is less than or equal to predetermined threshold value, then fix described application interface width, according to described first contact With the sliding trace information of described second contact, regulate described application interface height;
If indulging between the initial position of touch of the initial position of touch of described first contact and described second contact Coordinate difference is less than or equal to predetermined threshold value, then fix described application interface height, according to described first contact With the sliding trace information of described second contact, regulate described application interface width.
2. the method for claim 1, it is characterised in that described acquisition user is defeated on application interface Before the interface touch command entered, described method also includes:
Obtain interface regulation triggering command.
3. method as claimed in claim 2, it is characterised in that described interface regulation triggering command includes list Point triggering command and two point triggering command;
If the interface regulation triggering command obtained is single-point triggering command, then the user obtained is on application interface The interface touch command of input is single-point touch instruction;
If the interface regulation triggering command obtained is multiple spot triggering command, then the user obtained is on application interface The interface touch command of input is multi-point touch instruction.
4. the method for claim 1, it is characterised in that described according to described user at application interface The interface touch command of upper input regulates the position of described application interface and includes:
If the interface touch command that described user inputs on application interface is single-point touch instruction, then according to institute Stating the motion track information of the contact of the interface touch command that user inputs on application interface, regulation is described should With the position at interface.
5. a mobile terminal, it is characterised in that described terminal includes:
Interface touch command acquisition module, for obtaining the interface touch command that user inputs on application interface;
Application interface adjustment module, is answering for the user obtained according to described interface touch command acquisition module Position or the size of described application interface is regulated by the interface touch command of input on interface;
Application interface display module, the application interface after showing the regulation of described application interface adjustment module, Current display screen shows the application interface after including described regulation and remaining area;
Described application interface display module, is additionally operable in described remaining area display and opens described application interface Upper level application interface before;If the upper level application interface of described application interface is interface of main menu, then Obtain user's interface of main menu input in remaining area opens intended application instruction;According to described target Application instruction unpack intended application;
Described application interface adjustment module includes:
Multi-point touch unit, for described interface touch command acquisition module obtain user on application interface defeated When the interface touch command entered is multi-point touch instruction, obtain according to described interface touch command acquisition module The sliding trace information of multiple contacts of the interface touch command that user inputs on application interface, regulation is described The size of application interface;
The interface touch command that described interface touch command acquisition module acquisition user inputs on application interface Multiple contacts include the first contact and the second contact, and described interface touch command acquisition module obtains user and answering Described first contact is included by the sliding trace information of multiple contacts of the interface touch command of input on interface The initial position of touch of initial position of touch and termination position of touch and described second contact and termination touch-control position Put;
Described multi-point touch unit includes:
Judgment sub-unit, for judging at the beginning of initial position of touch and described second contact of described first contact Whether abscissa difference or vertical coordinate difference between beginning position of touch are more than predetermined threshold value;
Altitude mixture control subelement, judges the initial position of touch of described first contact for described judgment sub-unit And the abscissa difference between the initial position of touch of described second contact less than or equal to predetermined threshold value time, Gu Fixed described application interface width, according to described first contact and the sliding trace information of described second contact, adjusts Save described application interface height;
Width adjusting subelement, judges the initial position of touch of described first contact for described judgment sub-unit And the vertical coordinate difference between the initial position of touch of described second contact less than or equal to predetermined threshold value time, Gu Fixed described application interface height, according to described first contact and the sliding trace information of described second contact, adjusts Save described application interface width.
6. mobile terminal as claimed in claim 5, it is characterised in that described terminal also includes:
Interface regulation triggering command acquisition module, obtains user for described interface touch command acquisition module and exists On application interface before the interface touch command of input, obtain interface regulation triggering command.
7. mobile terminal as claimed in claim 6, it is characterised in that described interface regulation triggering command obtains The interface regulation triggering command that delivery block obtains includes single-point triggering command and two point triggering command;
Described interface regulation triggering command acquisition module includes:
Single-point trigger element, touches if regulating for the interface that described interface regulation triggering command acquisition module obtains Sending instructions for single-point triggering command, the interface touch command that the most described interface touch command acquisition module obtains is Single-point touch instructs;
Multiple spot trigger element, touches if regulating for the interface that described interface regulation triggering command acquisition module obtains Sending instructions for multiple spot triggering command, the interface touch command that the most described interface touch command acquisition module obtains is Multi-point touch instructs.
8. mobile terminal as claimed in claim 5, it is characterised in that described application interface adjustment module is also Including:
Single-point touch unit, for described interface touch command acquisition module obtain user on application interface defeated When the interface touch command entered is single-point touch instruction, obtains according to described interface touch command acquisition module and use The motion track information of the contact of the interface touch command that family inputs on application interface regulates described application interface Position.
CN201310414735.4A 2013-09-12 2013-09-12 The method of a kind of application interface regulation and mobile terminal Active CN103473013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310414735.4A CN103473013B (en) 2013-09-12 2013-09-12 The method of a kind of application interface regulation and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310414735.4A CN103473013B (en) 2013-09-12 2013-09-12 The method of a kind of application interface regulation and mobile terminal

Publications (2)

Publication Number Publication Date
CN103473013A CN103473013A (en) 2013-12-25
CN103473013B true CN103473013B (en) 2016-08-17

Family

ID=49797891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310414735.4A Active CN103473013B (en) 2013-09-12 2013-09-12 The method of a kind of application interface regulation and mobile terminal

Country Status (1)

Country Link
CN (1) CN103473013B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103824011A (en) * 2014-03-24 2014-05-28 联想(北京)有限公司 Information prompt method in security authentication process and electronic equipment
CN104468600B (en) * 2014-12-18 2019-03-19 北京奇虎科技有限公司 Method of data capture and client
CN104503696B (en) * 2014-12-30 2017-08-29 广东欧珀移动通信有限公司 The object tracking method and system at a kind of camera preview interface
CN105117099A (en) * 2015-08-07 2015-12-02 深圳市金立通信设备有限公司 Terminal interface control method and terminal
CN106155527A (en) * 2016-07-15 2016-11-23 乐视控股(北京)有限公司 A kind of desktop page management method and device
CN107315530A (en) * 2017-06-28 2017-11-03 深圳传音控股有限公司 Touching display screen adjusting method and terminal
CN108228307B (en) * 2018-02-11 2020-03-10 Oppo广东移动通信有限公司 Application display method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101981987A (en) * 2008-01-30 2011-02-23 谷歌公司 Notification of mobile device events
CN102955671A (en) * 2011-08-16 2013-03-06 三星电子株式会社 Terminal and method for executing application using touchscreen
CN103164164A (en) * 2013-04-10 2013-06-19 天津三星光电子有限公司 Display control method of touch terminal application program and touch terminal thereof
CN103376987A (en) * 2012-04-23 2013-10-30 三星电子株式会社 Method of adjusting size of window and electronic device therefor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI373728B (en) * 2008-05-02 2012-10-01 Htc Corp Method and apparatus for browsing item information and recording medium using the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101981987A (en) * 2008-01-30 2011-02-23 谷歌公司 Notification of mobile device events
CN102955671A (en) * 2011-08-16 2013-03-06 三星电子株式会社 Terminal and method for executing application using touchscreen
CN103376987A (en) * 2012-04-23 2013-10-30 三星电子株式会社 Method of adjusting size of window and electronic device therefor
CN103164164A (en) * 2013-04-10 2013-06-19 天津三星光电子有限公司 Display control method of touch terminal application program and touch terminal thereof

Also Published As

Publication number Publication date
CN103473013A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN103473013B (en) The method of a kind of application interface regulation and mobile terminal
US9898180B2 (en) Flexible touch-based scrolling
US10416745B2 (en) Battery usage tracking user interface
US10620781B2 (en) Device, method, and graphical user interface for moving a cursor according to a change in an appearance of a control icon with simulated three-dimensional characteristics
CN104778001B (en) A kind of picture control method and picture control system
CN105549813B (en) A kind of method for controlling mobile terminal and mobile terminal
CN105214306A (en) The control method of a kind of game role control method and a kind of virtual controlling parts
US20150346929A1 (en) Safari Tab and Private Browsing UI Enhancement
CN104166553B (en) A kind of display methods and electronic equipment
JP2013530587A5 (en)
CN103699316B (en) A kind of method and terminal for transplanting directionkeys by afloat contact
CN104216639B (en) A kind of terminal operation method
CN103076982A (en) Method and device for controlling cursor in mobile terminal
CN103257820A (en) Control method and electronic device
CN103809886B (en) A kind of cursor positioning method and mobile terminal
CN103354581A (en) Method and system for automatically adjusting mobile phone control with left or right hand
CN104298437A (en) Text selection method, device and terminal
CN103389871B (en) The control method of a kind of electronic equipment and electronic equipment
CN103853495A (en) Vehicle-mounted device touch control device and method
CN103235681A (en) Method and device for controlling list interface
CN104020989B (en) Control method and system based on remote application
CN103164057A (en) Information display method and information display device
WO2019185007A1 (en) Window control bar layout method, apparatus and device
CN103902208B (en) Control method of electronic device and electronic equipment
CN104615342B (en) A kind of information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PP01 Preservation of patent right

Effective date of registration: 20180428

Granted publication date: 20160817

PP01 Preservation of patent right
PD01 Discharge of preservation of patent

Date of cancellation: 20210428

Granted publication date: 20160817

PD01 Discharge of preservation of patent
TR01 Transfer of patent right

Effective date of registration: 20210609

Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703

Patentee after: Shenzhen Microphone Holdings Co.,Ltd.

Address before: 518040 21 floor, east block, Times Technology Building, 7028 Shennan Road, Futian District, Shenzhen, Guangdong.

Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right