CN106775182A - A kind for the treatment of method and apparatus of suspension control - Google Patents
A kind for the treatment of method and apparatus of suspension control Download PDFInfo
- Publication number
- CN106775182A CN106775182A CN201510809331.4A CN201510809331A CN106775182A CN 106775182 A CN106775182 A CN 106775182A CN 201510809331 A CN201510809331 A CN 201510809331A CN 106775182 A CN106775182 A CN 106775182A
- Authority
- CN
- China
- Prior art keywords
- interface
- effective
- suspension
- suspension control
- touch
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 239000000725 suspension Substances 0.000 title claims abstract description 281
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000001514 detection method Methods 0.000 claims abstract description 12
- 238000012545 processing Methods 0.000 claims description 10
- 238000003672 processing method Methods 0.000 claims description 9
- 239000011230 binding agent Substances 0.000 description 8
- 238000007667 floating Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000000903 blocking effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 238000005188 flotation Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 210000003813 thumb Anatomy 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A kind for the treatment of method and apparatus of suspension control are the embodiment of the invention provides, the method includes:Interface residing for detection suspension control;Recognize the effective click on area clicked in the interface;Judge the suspension control whether in effective click on area;If so, then the suspension control is moved to outside effective click on area.The embodiment of the present invention reduces the possibility that suspension control causes to block to interface, reduces the probability of maloperation, improves the simplicity of touch control operation.
Description
Technical field
The present invention relates to computer processing technology field, more particularly to a kind of processing method of suspension control
With a kind of processing unit of suspension control.
Background technology
With the development of mobile communication technology, the mobile device such as mobile phone is increasingly popularized, and is given people
Life, study, work bring great convenience.
At present, mobile device is mostly touch-screen, and in order to improve the ratio of touch-screen, mobile device is reduced
Many entity keys.
In order to make up entity key missing to the influence that brings of operation, the system configuration of many mobile devices is outstanding
Floating control, various operations can be carried out by the suspension control, such as returned, are advanced, into one-handed performance
Pattern etc..
But, because suspension control is located on system interface or application interface, the design at different interfaces is each
By difference, when changing interface, the position of flotation control is constant, often blocks the control at interface after switching
Position, if user does not realize blocking, is intended to click on the control under the suspension control, actually triggers suspension
Control, easily causes maloperation.
Therefore, in control needed for triggering, it is necessary to suspension control is dragged into suitable position, touch-control behaviour
Make comparisons cumbersome.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes above mentioned problem or at least part of to provide one kind
The processing method of a kind of suspension control that solves the above problems and a kind of corresponding treatment of suspension control
Device.
According to one aspect of the present invention, there is provided a kind of processing method of suspension control, including:
Interface residing for detection suspension control;
Recognize the effective click on area clicked in the interface;
Judge the suspension control whether in effective click on area;If so, then described suspension is controlled
Part is moved to outside effective click on area.
Alternatively, also include:
Recognize the suspensible Effective Suspension region in the interface;
Judge the suspension control whether in the Effective Suspension region;If it is not, then described suspension is controlled
Part is moved in the Effective Suspension region.
Alternatively, the step of effective click on area clicked on of the identification in the interface includes:
When the interface is system application interface, recognize residing for the application controls in the system interface
Region, as effective click on area.
Alternatively, the step of effective click on area clicked on of the identification in the interface includes:
When the interface is third-party application interface, the interface scenario at the third-party application interface is obtained
Information;
Search the corresponding effective click on area of the interface scenario information.
Alternatively, it is described the suspension control is moved into the step outside effective click on area to include:
Calculate the distance between the suspension control and the outer each position of effective click edges of regions;
The suspension control is moved to the most short position of effective outer distance of click edges of regions.
Alternatively, the step of suspensible Effective Suspension region of the identification in the interface includes:
When the interface is system application interface, the non-application controls institute in the system interface is recognized
The region at place, as Effective Suspension region.
Alternatively, the step of suspensible Effective Suspension region of the identification in the interface includes:
When the interface is third-party application interface, the interface scenario at the third-party application interface is obtained
Information;
Search the corresponding invalid clicks region of the interface scenario information.
Alternatively, it is described the suspension control is moved into the step in the Effective Suspension region to include:
Calculate the distance between the suspension control and each position in the Effective Suspension edges of regions;
The suspension control is moved to the most short position of each distance of the Effective Suspension edges of regions.
Alternatively, the interface scenario information includes following one or more:
Device identification, unit type, application identities, application version, transverse screen mode, vertical screen mode.
Alternatively, also include:
Obtain the interface scenario information at third-party application interface residing for suspension control;
First position of touch of the recording needle to effective touch control operation at the third-party application interface;
First position of touch is clustered, one or more first position of touch set are formed;
One or more of first position of touch set are fitted one or more effective click on area;
Set up the corresponding relation of the interface scenario information and one or more of effective click on area.
Alternatively, the touch control operation includes following one or more:
Clicking operation, slide and drag operation;
First position of touch of the recording needle to effective touch control operation at the third-party application interface
The step of include:
When the clicking operation for the third-party application interface is detected, the clicking operation is recorded
First position of touch;
And/or,
When the slide for the third-party application interface is detected, the slide is recorded
First position of touch;
And/or,
When the drag operation for the suspension control is detected, the original position of drag operation is recorded,
As the first position of touch.
Alternatively, also include:
Obtain the interface scenario information at third-party application interface residing for suspension control;
Second position of touch of the recording needle to effective touch control operation of the suspension control;
Second position of touch is clustered, one or more second position of touch set are formed;
One or more of second position of touch set are fitted one or more Effective Suspension regions;
Set up the corresponding relation of the interface scenario information and one or more of Effective Suspension regions.
Alternatively, second position of touch of the recording needle to effective touch control operation of the suspension control
The step of include:
When touch control operation triggers the second-level menu of the suspension control, detect the second-level menu whether by
Click on;If so, then recording the second position of touch of the touch control operation;
And/or,
When touch control operation triggers the suspension control performs the operation specified, examined within the default time period
Whether survey cancels the operation specified;If it is not, then recording the second position of touch of the touch control operation;
And/or,
When the drag operation for the suspension control is detected, the stop position of drag operation is recorded,
As the second position of touch.
According to another aspect of the present invention, there is provided a kind of processing unit of suspension control, including:
Interface detection module, is adapted to detect for the interface residing for suspension control;
Region identification module is effectively clicked on, is suitable to the effective click area that clicks on of the identification in the interface
Domain;
Whether first position judge module, be suitable to judge the suspension control in effective click on area
In;If so, then calling the first mobile module;
First mobile module, is suitable to move to the suspension control outside effective click on area.
Alternatively, also include:
Effective Suspension region identification module, is suitable to suspensible Effective Suspension area of the identification in the interface
Domain;
Whether second place judge module, be suitable to judge the suspension control in the Effective Suspension region
In;If it is not, then calling the second mobile module;
Second mobile module, during the suspension control moved into the Effective Suspension region.
Alternatively, effective click region identification module is further adapted for:
When the interface is system application interface, recognize residing for the application controls in the system interface
Region, as effective click on area.
Alternatively, effective click region identification module is further adapted for:
When the interface is third-party application interface, the interface scenario at the third-party application interface is obtained
Information;
Search the corresponding effective click on area of the interface scenario information.
Alternatively, first mobile module is further adapted for:
Calculate the distance between the suspension control and the outer each position of effective click edges of regions;
The suspension control is moved to the most short position of effective outer distance of click edges of regions.
Alternatively, the Effective Suspension region identification module is further adapted for:
When the interface is system application interface, the non-application controls institute in the system interface is recognized
The region at place, as Effective Suspension region.
Alternatively, the Effective Suspension region identification module is further adapted for:
When the interface is third-party application interface, the interface scenario at the third-party application interface is obtained
Information;
Search the corresponding invalid clicks region of the interface scenario information.
Alternatively, the second place judge module is further adapted for:
Calculate the distance between the suspension control and each position in the Effective Suspension edges of regions;
The suspension control is moved to the most short position of each distance of the Effective Suspension edges of regions.
Alternatively, the interface scenario information includes following one or more:
Device identification, unit type, application identities, application version, transverse screen mode, vertical screen mode.
Alternatively, also include:
First interface scenario data obtaining module, is suitable to obtain third-party application interface residing for suspension control
Interface scenario information;
First position of touch logging modle, is suitable to recording needle and the effective of the third-party application interface is touched
Control the first position of touch of operation;
First cluster module, is suitable to cluster first position of touch, formed one or more
One position of touch set;
Effective click on area fitting module, is suitable to be fitted one or more of first position of touch set
One or more effective click on area;
First corresponding relation building module, be adapted to set up the interface scenario information with it is one or more of
The corresponding relation of effective click on area.
Alternatively, the touch control operation includes following one or more:
Clicking operation, slide and drag operation;
The first position of touch logging modle is further adapted for:
When the clicking operation for the third-party application interface is detected, the clicking operation is recorded
First position of touch;
And/or,
When the slide for the third-party application interface is detected, the slide is recorded
First position of touch;
And/or,
When the drag operation for the suspension control is detected, the original position of drag operation is recorded,
As the first position of touch.
Alternatively, also include:
Second contact surface scene information acquisition module, is suitable to obtain third-party application interface residing for suspension control
Interface scenario information;
Second position of touch logging modle, is suitable to effective touch control operation of the recording needle to the suspension control
The second position of touch;
Second cluster module, is suitable to cluster second position of touch, formed one or more
Two position of touch set;
Effective Suspension region fitting module, is suitable to be fitted one or more of second position of touch set
One or more Effective Suspension regions;
Second corresponding relation building module, be adapted to set up the interface scenario information with it is one or more of
The corresponding relation in Effective Suspension region.
Alternatively, the second position of touch logging modle is further adapted for:
When touch control operation triggers the second-level menu of the suspension control, detect the second-level menu whether by
Click on;If so, then recording the second position of touch of the touch control operation;
And/or,
When touch control operation triggers the suspension control performs the operation specified, examined within the default time period
Whether survey cancels the operation specified;If it is not, then recording the second position of touch of the touch control operation;
And/or,
When the drag operation for the suspension control is detected, the stop position of drag operation is recorded,
As the second position of touch.
When the embodiment of the present invention detects suspension control in effective click on area at residing interface, will suspend
Control is moved to outside effective click on area, reduces the possibility that suspension control causes to block to interface, is reduced
The probability of maloperation, improves the simplicity of touch control operation.
When the embodiment of the present invention detects suspension control not in the Effective Suspension region at residing interface, will be outstanding
Floating control is moved in Effective Suspension region, reduces the possibility that suspension control causes to block to interface, is reduced
The probability of maloperation, improves the simplicity of touch control operation.
Described above is only the general introduction of technical solution of the present invention, in order to better understand skill of the invention
Art means, and can be practiced according to the content of specification, and it is of the invention above and other in order to allow
Objects, features and advantages can become apparent, below especially exemplified by specific embodiment of the invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are for this
Field those of ordinary skill will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment,
And it is not considered as limitation of the present invention.And in whole accompanying drawing, be denoted by the same reference numerals
Identical part.In the accompanying drawings:
Fig. 1 shows a kind of processing method embodiment 1 of suspension control according to an embodiment of the invention
The step of flow chart;
Fig. 2 shows a kind of processing method embodiment 2 of suspension control according to an embodiment of the invention
The step of flow chart;
Fig. 3 shows a kind of processing unit embodiment 1 of suspension control according to an embodiment of the invention
Structured flowchart;And
Fig. 4 shows a kind of processing unit embodiment 2 of suspension control according to an embodiment of the invention
Structured flowchart.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although being shown in accompanying drawing
The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure without
Should be limited by embodiments set forth here.Conversely, there is provided these embodiments are able to more thoroughly
Understand the disclosure, and can by the scope of the present disclosure it is complete convey to those skilled in the art.
Reference picture 1, shows a kind of processing method reality of suspension control according to an embodiment of the invention
The step of applying example 1 flow chart, specifically may include steps of:
Step 101, the interface residing for detection suspension control;
It should be noted that the embodiment of the present invention can be applied in various mobile devices, for example, mobile phone,
Panel computer, personal digital assistant, wearable device (such as glasses, wrist-watch) etc..
The operating system of the mobile device can include Android (Android), IOS, Windows Phone,
Windows etc., the operation that can respectively apply, including system application, such as address list, photograph album, with
And, third-party application, such as immediate communication tool, mailbox client.
In embodiments of the present invention, there is suspension control in mobile device, that is, be suspended in it is current can visual field
Control on face, the control can be suspended in the most interface in addition to game, player etc. are applied
On.
By taking android system as an example, it is possible to use PopupWindow this control sets suspension control,
This control shows two methods:
One is showAsDropDown (View v) using PopupWindow as the drop-down of v components
Component shows;
Another method is exactly showAtLocation () method, and PopupWindow is included to refer to
On fixed position.
Certainly, in addition to PopupWindow, suspension control can also be set using other modes,
The embodiment of the present invention is not any limitation as to this.
By the suspension control, some touch control operations can be triggered.
In some systems, touch control operation can be directly carried out by triggering the suspension control, for example, single
The suspension control is hit, then triggering returns to operation, with the suspension control as starting point, slides to the left, then trigger
Return to the operation at a upper interface, etc..
In some systems, second-level menu can be ejected, in two grades of dishes by clicking on the suspension control
There is one or more functions control, clicking on the functionality controls carries out touch control operation in list.
In embodiments of the present invention, when the switching at interface is detected, suspension control is possible to block new
Interface, therefore, it can detect the interface residing for suspension control, such as system application interface, third-party application
Interface.
Step 102, recognizes the effective click on area clicked in the interface;
In embodiments of the present invention, effective click on area, referring to carries out effective touching to the application belonging to interface
Control the region of operation.
In a kind of alternative embodiment of the invention, step 102 can include following sub-step:
Sub-step S11, when the interface is system application interface, recognizes in the system interface
Region residing for application controls, as effective click on area.
Most of applications are all to carry out group by several or tens even more controls in implementing
Into, in addition to main window, also input method window, various pop-up windows and self-defined sample
The subwindow of formula, in the window, generally set by the UI such as application controls or icon (User Interface,
User interface) element.
By taking Android as an example, the window in android system is also to be organized in the form of storehouse
In WindowManagerService services, each the Activity component in application process exists
All to that should have one ActivityRecord pairs in Activity management services ActivityManagerService
As.Each ActivityRecord object in Activity management services ActivityManagerService
All to that should have one in Window management services WindowManagerService
AppWindowToken objects.
Additionally, in input method management service InputMethodManagerService, each input method
, all to that should have a Binder object, this Binder object is in Window management services for window
WindowManagerService is again to that should have a WindowToken object.
It is similar with input method window, it is each in wallpaper management service WallpaperManagerService
All to that should have a Binder object, this Binder object is managed and taken individual wallpaper window in Window
WindowManagerService is also to that should have a WindowToken object for business.
In Window management services WindowManagerService, either
AppWindowToken objects, or WindowToken objects, they are had for describing one group
The window of identical token, each window is described by a WindowState object.
Therefore, the region residing for application controls can be inquired about by WindowState objects, as effective
Click on area.
In another alternative embodiment of the invention, step 102 can include following sub-step:
Sub-step S21, when the interface is third-party application interface, obtains third-party application circle
The interface scenario information in face;
Sub-step S22, searches the corresponding effective click on area of the interface scenario information.
If interface residing for suspension control is third-party application interface, current interface scenario letter can be detected
Breath, that is, characterize the information of the applied environment of current interface.
In implementing, interface scenario information can include following one or more:
Device identification, unit type;
Specifically, the screen size of different mobile devices is different, causes the position of the control in interface
It is different, then can be made a distinction with testing equipment mark, unit type.
Application identities, application version;
The interface layout (such as position of control) of different third-party applications is mostly different, and the same 3rd
The different editions of Fang Yingyong, the interface layout at difference interface are also different, such as some third-party applications
Control is arranged in the upper left corner at interface, the lower right corner of the control layout of some third-party applications at interface.
If current interface is the interface of application program, can detect third-party application application identities,
Application version makes a distinction.
Transverse screen mode, vertical screen mode.
Same interface, under transverse screen mode and vertical screen mode, its interface layout can also produce change, control
Position can also change, then can detect that transverse screen mode and vertical screen mode make a distinction.
Certainly, above-mentioned interface scenario information is intended only as example, when the embodiment of the present invention is implemented, can be with
Other interface scenario information are set according to actual conditions, the embodiment of the present invention is not any limitation as to this.In addition,
In addition to above-mentioned interface scenario information, those skilled in the art can also according to actual needs use other boundaries
Face scene information, the embodiment of the present invention is not also any limitation as to this.
Using the embodiment of the present invention, can be in advance for different third-party application interfaces (with interface scenario
Information representation) effective touch control operation is counted, its first position of touch is fitted effective click on area,
When detecting third-party application interface (with the interface scenario information representation), effective click is directly searched
Region.
Specifically, the interface scenario information at third-party application interface residing for suspension control can be obtained, is remembered
Record is directed to the first position of touch of the effective touch control operation at third-party application interface, by clustering algorithm pair
First position of touch is clustered, and forms one or more first position of touch set, each first touch
Point in control location sets belongs to same effective click on area, you can so that by this, one or more first are touched
Control location sets are fitted one or more effective click on area, set up interface scenario information with this or many
The corresponding relation of individual effective click on area, stores to high in the clouds, there is provided to each mobile device.
Wherein, the touch control operation can include following one or more:
Clicking operation, slide and drag operation;
Then can in the following manner record the first position of touch of effective touch control operation:
1st, when the clicking operation for third-party application interface is detected, the first of record clicking operation
Position of touch;
In the manner, the mode of operation of the affiliated third-party application in third-party application interface, including to control
Clicking operation, such as click, double-click, if triggering clicking operation, under its first position of touch may
With control, touch control operation is effective.
2nd, when the slide for third-party application interface is detected, the first of record slide
Position of touch;
In the manner, the mode of operation of the affiliated third-party application in third-party application interface, including slide behaviour
Make, the page is such as slided in a browser, if triggering clicking operation, although can under its first position of touch
Energy is often slided without control, but the touch area that the position is also user to be commonly used, such as hand thumb
Region, touch control operation is effective.
3rd, when the drag operation for suspension control is detected, the original position of drag operation is recorded,
As the first position of touch.
In the manner, if dragging suspension control, can represent that the suspension control has blocked third party and answered
With interface, user needs the first position of touch in its starting to carry out touch control operation.
Certainly, the recording mode of above-mentioned first position of touch is intended only as example, implements the present invention is implemented
During example, the recording mode of other the first position of touch, the embodiment of the present invention can be set according to actual conditions
This is not any limitation as.In addition, in addition to the recording mode of above-mentioned first position of touch, art technology
Personnel can also according to actual needs using the recording mode of other the first position of touch, the embodiment of the present invention
This is not also any limitation as.
Whether step 103, judge the suspension control in effective click on area;If so, then holding
Row step 104;
In implementing, can judge that suspension control is by space geometry algorithm (such as theorem in Euclid space)
It is no in effective click on area, if suspension control is in effective click on area, third party may be blocked
Application interface, can remove, if suspension control may not block the 3rd not in effective click on area
Square application interface, can not remove.
Step 104, the suspension control is moved to outside effective click on area.
In actual applications, the operation for being brought to reduce mobile suspension control influences, and can calculate outstanding
Floating control and effectively the distance between outer each position of click edges of regions, available point is moved to by suspension control
Hit the most short position of the outer distance of edges of regions.
Certainly, in addition to being moved to and effectively clicking on edges of regions outside the most short position of distance, suspension control
The other positions outside effective click on area can also be moved to, the embodiment of the present invention is not any limitation as to this.
When the embodiment of the present invention detects suspension control in effective click on area at residing interface, will suspend
Control is moved to outside effective click on area, reduces the possibility that suspension control causes to block to interface, is reduced
The probability of maloperation, improves the simplicity of touch control operation.
Reference picture 2, shows a kind of processing method reality of suspension control according to an embodiment of the invention
The step of applying example 2 flow chart, specifically may include steps of:
Step 201, the interface residing for detection suspension control;
It should be noted that the embodiment of the present invention can be applied in various mobile devices, for example, mobile phone,
Panel computer, personal digital assistant, wearable device (such as glasses, wrist-watch) etc..
The operating system of the mobile device can include Android (Android), IOS, Windows Phone,
Windows etc., the operation that can respectively apply, including system application, such as address list, photograph album, with
And, third-party application, such as immediate communication tool, mailbox client.
In embodiments of the present invention, there is suspension control in mobile device, that is, be suspended in it is current can visual field
Control on face, the control can be suspended in the most interface in addition to game, player etc. are applied
On.
By taking android system as an example, it is possible to use PopupWindow this control sets suspension control,
This control shows two methods:
One is showAsDropDown (View v) using PopupWindow as the drop-down of v components
Component shows;
Another method is exactly showAtLocation () method, and PopupWindow is included to refer to
On fixed position.
Certainly, in addition to PopupWindow, suspension control can also be set using other modes,
The embodiment of the present invention is not any limitation as to this.
By the suspension control, some touch control operations can be triggered.
In some systems, touch control operation can be directly carried out by triggering the suspension control, for example, single
The suspension control is hit, then triggering returns to operation, with the suspension control as starting point, slides to the left, then trigger
Return to the operation at a upper interface, etc..
In some systems, second-level menu can be ejected, in two grades of dishes by clicking on the suspension control
There is one or more functions control, clicking on the functionality controls carries out touch control operation in list.
In embodiments of the present invention, when the switching at interface is detected, suspension control is possible to block new
Interface, therefore, it can detect the interface residing for suspension control, such as system application interface, third-party application
Interface.
Step 202, recognizes the suspensible Effective Suspension region in the interface;
In embodiments of the present invention, Effective Suspension region, refers to suspension control in the application belonging to the interface
In the region that can suspend (do not result in and block).
In a kind of alternative embodiment of the invention, step 202 can include following sub-step:
Sub-step S31, when the interface is system application interface, recognizes in the system interface
Region residing for non-application controls, as Effective Suspension region.
Most of applications are all to carry out group by several or tens even more controls in implementing
Into, in addition to main window, also input method window, various pop-up windows and self-defined sample
The subwindow of formula, in the window, generally set by the UI such as application controls or icon (User Interface,
User interface) element.
By taking Android as an example, the window in android system is also to be organized in the form of storehouse
In WindowManagerService services, each the Activity component in application process exists
All to that should have one ActivityRecord pairs in Activity management services ActivityManagerService
As.Each ActivityRecord object in Activity management services ActivityManagerService
All to that should have one in Window management services WindowManagerService
AppWindowToken objects.
Additionally, in input method management service InputMethodManagerService, each input method
, all to that should have a Binder object, this Binder object is in Window management services for window
WindowManagerService is again to that should have a WindowToken object.
It is similar with input method window, it is each in wallpaper management service WallpaperManagerService
All to that should have a Binder object, this Binder object is managed and taken individual wallpaper window in Window
WindowManagerService is also to that should have a WindowToken object for business.
In Window management services WindowManagerService, either
AppWindowToken objects, or WindowToken objects, they are had for describing one group
The window of identical token, each window is described by a WindowState object.
Therefore, the region residing for non-application controls can be inquired about by WindowState objects, as having
Effect suspension region.
In a kind of alternative embodiment of the invention, step 202 can include following sub-step:
Sub-step S41, when the interface is third-party application interface, obtains third-party application circle
The interface scenario information in face;
Sub-step S42, searches the corresponding invalid clicks region of the interface scenario information.
If interface residing for suspension control is third-party application interface, current interface scenario letter can be detected
Breath, that is, characterize the information of the applied environment of current interface.
In implementing, interface scenario information can include following one or more:
Device identification, unit type;
Specifically, the screen size of different mobile devices is different, causes the position of the control in interface
It is different, then can be made a distinction with testing equipment mark, unit type.
Application identities, application version;
The interface layout (such as position of control) of different third-party applications is mostly different, and the same 3rd
The different editions of Fang Yingyong, the interface layout at difference interface are also different, such as some third-party applications
Control is arranged in the upper left corner at interface, the lower right corner of the control layout of some third-party applications at interface.
If current interface is the interface of application program, can detect third-party application application identities,
Application version makes a distinction.
Transverse screen mode, vertical screen mode.
Same interface, under transverse screen mode and vertical screen mode, its interface layout can also produce change, control
Position can also change, then can detect that transverse screen mode and vertical screen mode make a distinction.
Certainly, above-mentioned interface scenario information is intended only as example, when the embodiment of the present invention is implemented, can be with
Other interface scenario information are set according to actual conditions, the embodiment of the present invention is not any limitation as to this.In addition,
In addition to above-mentioned interface scenario information, those skilled in the art can also according to actual needs use other boundaries
Face scene information, the embodiment of the present invention is not also any limitation as to this.
Using the embodiment of the present invention, can be in advance for different third-party application interfaces (with interface scenario
Information representation) statistics suspension control effective touch control operation, the fitting of its second position of touch is effectively outstanding
Floating region domain, when third-party application interface (with the interface scenario information representation) is detected, directly searches
The Effective Suspension region.
Specifically, the interface scenario information at third-party application interface residing for suspension control can be obtained, is remembered
Record for the effective touch control operation of suspension control the second position of touch, by clustering algorithm to described the
Two position of touch are clustered, and form one or more second position of touch set, each second touch-control
Point in location sets belongs to same has suspension to hit region, you can with one or more second touch-controls by this
Location sets are fitted one or more Effective Suspension regions, set up interface scenario information with this one or more
The corresponding relation in Effective Suspension region.
In embodiments of the present invention, the second touch-control of effective touch control operation can in the following manner be recorded
Position:
1st, when touch control operation triggers the second-level menu of suspension control, whether detection second-level menu is clicked;
If so, then recording the second position of touch of touch control operation;
In the manner, second-level menu can be ejected by clicking on the suspension control, if user clicks on two
Level menu, then needed for can representing that the triggering second-level menu is user, its second position of touch can suspend,
Otherwise, needed for can representing the triggering second-level menu and not being user, it may be possible to maloperation, it second is touched
Control position can not suspend.
2nd, when touch control operation triggering suspension control performs the operation specified, examined within the default time period
Whether survey cancels the operation specified;If it is not, then recording the second position of touch of touch control operation;
In the manner, touch control operation can be directly carried out by triggering the suspension control, if default
The operation is not cancelled in time period, then needed for can representing that the triggering operation is user, its second touch-control
Position can suspend, otherwise, needed for can representing that the triggering operation is not user, it may be possible to maloperation,
Its second position of touch can not suspend.
3rd, when the drag operation for suspension control is detected, the stop position of drag operation is recorded,
As the second position of touch.
In the manner, if dragging suspension control, can represent that the suspension control has blocked third party and answered
With interface, it stops the second position of touch can not typically cause to block, and can suspend.
Certainly, the recording mode of above-mentioned second position of touch is intended only as example, implements the present invention is implemented
During example, the recording mode of other the second position of touch, the embodiment of the present invention can be set according to actual conditions
This is not any limitation as.In addition, in addition to the recording mode of above-mentioned second position of touch, art technology
Personnel can also according to actual needs using the recording mode of other the second position of touch, the embodiment of the present invention
This is not also any limitation as.
Whether step 203, judge the suspension control in the Effective Suspension region;If it is not, then holding
Row step 204;
In implementing, can judge that suspension control is by space geometry algorithm (such as theorem in Euclid space)
It is no in the Effective Suspension region, if suspension control is in Effective Suspension region, typically do not block the 3rd
Square application interface, can not remove, if suspension control is not in Effective Suspension region, may block
Tripartite's application interface, can not remove.
Step 204, during the suspension control moved into the Effective Suspension region.
In actual applications, the operation for being brought to reduce mobile suspension control influences, and can calculate outstanding
The distance between each position in floating control and Effective Suspension edges of regions, suspension control is moved to effectively outstanding
The floating most short position of each distance of edges of regions.
Certainly, in addition to being moved to Effective Suspension edges of regions outside the most short position of distance, suspension control
The other positions in Effective Suspension region can also be moved to, the embodiment of the present invention is not any limitation as to this.
When the embodiment of the present invention detects suspension control not in the Effective Suspension region at residing interface, will be outstanding
Floating control is moved in Effective Suspension region, reduces the possibility that suspension control causes to block to interface, is reduced
The probability of maloperation, improves the simplicity of touch control operation.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions,
But those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement
System, because according to the embodiment of the present invention, some steps can sequentially or simultaneously be carried out using other.Its
Secondary, those skilled in the art should also know, embodiment described in this description belongs to be preferable to carry out
Example, necessary to the involved action not necessarily embodiment of the present invention.
Reference picture 3, shows a kind of processing unit reality of suspension control according to an embodiment of the invention
The structured flowchart of example 1 is applied, can specifically include such as lower module:
Interface detection module 301, is adapted to detect for the interface residing for suspension control;
Region identification module 302 is effectively clicked on, is suitable to the available point clicked on of the identification in the interface
Hit region;
Whether first position judge module 303, be suitable to judge the suspension control in effective click area
In domain;If so, then calling the first mobile module 304;
First mobile module 304, is suitable to move to the suspension control outside effective click on area.
In a kind of alternative embodiment of the invention, effective click region identification module 302 can be with
It is suitable to:
When the interface is system application interface, recognize residing for the application controls in the system interface
Region, as effective click on area.
In another alternative embodiment of the invention, effective click region identification module 302 may be used also
It is suitable for:
When the interface is third-party application interface, the interface scenario at the third-party application interface is obtained
Information;
Search the corresponding effective click on area of the interface scenario information.
In implementing, the interface scenario information can include following one or more:
Device identification, unit type, application identities, application version, transverse screen mode, vertical screen mode.
In a kind of alternative embodiment of the invention, first mobile module 304 can be adapted to:
Calculate the distance between the suspension control and the outer each position of effective click edges of regions;
The suspension control is moved to the most short position of effective outer distance of click edges of regions.
In a kind of alternative embodiment of the invention, the device can also include such as lower module:
First interface scenario data obtaining module, is suitable to obtain third-party application interface residing for suspension control
Interface scenario information;
First position of touch logging modle, is suitable to recording needle and the effective of the third-party application interface is touched
Control the first position of touch of operation;
First cluster module, is suitable to cluster first position of touch, formed one or more
One position of touch set;
Effective click on area fitting module, is suitable to be fitted one or more of first position of touch set
One or more effective click on area;
First corresponding relation building module, be adapted to set up the interface scenario information with it is one or more of
The corresponding relation of effective click on area.
In a kind of alternative embodiment of the invention, the touch control operation can include following one kind or many
Kind:
Clicking operation, slide and drag operation;
The first position of touch logging modle can be adapted to:
When the clicking operation for the third-party application interface is detected, the clicking operation is recorded
First position of touch;
And/or,
When the slide for the third-party application interface is detected, the slide is recorded
First position of touch;
And/or,
When the drag operation for the suspension control is detected, the original position of drag operation is recorded,
As the first position of touch.
Reference picture 4, shows a kind of processing unit reality of suspension control according to an embodiment of the invention
The structured flowchart of example 2 is applied, can specifically include such as lower module:
Interface detection module 401, is adapted to detect for the interface residing for suspension control;
Effective Suspension region identification module 402, is suitable to identification suspensible effectively outstanding in the interface
Floating region domain;
Whether second place judge module 403, be suitable to judge the suspension control in the Effective Suspension area
In domain;If it is not, then calling the second mobile module 404;
Second mobile module 404, during the suspension control moved into the Effective Suspension region.
In a kind of alternative embodiment of the invention, the Effective Suspension region identification module 402 can be with
It is suitable to:
When the interface is system application interface, the non-application controls institute in the system interface is recognized
The region at place, as Effective Suspension region.
In another alternative embodiment of the invention, the Effective Suspension region identification module 402 may be used also
It is suitable for:
When the interface is third-party application interface, the interface scenario at the third-party application interface is obtained
Information;
Search the corresponding invalid clicks region of the interface scenario information.
In implementing, the interface scenario information can include following one or more:
Device identification, unit type, application identities, application version, transverse screen mode, vertical screen mode.
In a kind of alternative embodiment of the invention, the second place judge module 404 can be adapted to:
Calculate the distance between the suspension control and each position in the Effective Suspension edges of regions;
The suspension control is moved to the most short position of each distance of the Effective Suspension edges of regions.
In a kind of alternative embodiment of the invention, the device can also include such as lower module:
Second contact surface scene information acquisition module, is suitable to obtain third-party application interface residing for suspension control
Interface scenario information;
Second position of touch logging modle, is suitable to effective touch control operation of the recording needle to the suspension control
The second position of touch;
Second cluster module, is suitable to cluster second position of touch, formed one or more
Two position of touch set;
Effective Suspension region fitting module, is suitable to be fitted one or more of second position of touch set
One or more Effective Suspension regions;
Second corresponding relation building module, be adapted to set up the interface scenario information with it is one or more of
The corresponding relation in Effective Suspension region.
In a kind of alternative embodiment of the invention, the second position of touch logging modle can also be fitted
In:
When touch control operation triggers the second-level menu of the suspension control, detect the second-level menu whether by
Click on;If so, then recording the second position of touch of the touch control operation;
And/or,
When touch control operation triggers the suspension control performs the operation specified, examined within the default time period
Whether survey cancels the operation specified;If it is not, then recording the second position of touch of the touch control operation;
And/or,
When the drag operation for the suspension control is detected, the stop position of drag operation is recorded,
As the second position of touch.
For device embodiment, because it is substantially similar to embodiment of the method, so the comparing of description
Simply, the relevent part can refer to the partial explaination of embodiments of method.
Algorithm and display be not solid with any certain computer, virtual system or miscellaneous equipment provided herein
There is correlation.Various general-purpose systems can also be used together with based on teaching in this.As described above,
It is obvious to construct the structure required by this kind of system.Additionally, the present invention is not also for any specific
Programming language.It is understood that, it is possible to use various programming languages realize the content of invention described herein,
And the description done to language-specific above is to disclose preferred forms of the invention.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that this
Inventive embodiment can be put into practice in the case of without these details.In some instances, not
Known method, structure and technology are shown specifically, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect
Or it is multiple, in above to the description of exemplary embodiment of the invention, each feature of the invention is sometimes
It is grouped together into single embodiment, figure or descriptions thereof.However, should not be by the disclosure
Method be construed to reflect following intention:I.e. the present invention for required protection requirement ratio is in each claim
The middle more features of feature be expressly recited.More precisely, as the following claims reflect
As, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows
Thus claims of specific embodiment are expressly incorporated in the specific embodiment, wherein each right
It is required that in itself all as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out certainly to the module in the equipment in embodiment
Adaptively change and they are arranged in one or more equipment different from the embodiment.Can be with
Module or unit or component in embodiment is combined into a module or unit or component, and in addition may be used
To be divided into multiple submodule or subelement or sub-component.Except such feature and/or process or
Outside at least some in unit exclude each other, can be using any combinations to this specification (including companion
With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or
All processes or unit of person's equipment are combined.Unless expressly stated otherwise, this specification (including companion
With claim, summary and accompanying drawing) disclosed in each feature can it is identical by offers, equally or phase
Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include it
Some included features are rather than further feature, but the group of the feature of different embodiments in its embodiment
Conjunction means to be within the scope of the present invention and formed different embodiments.For example, in following power
In sharp claim, the one of any of embodiment required for protection mode can make in any combination
With.
All parts embodiment of the invention can be realized with hardware, or be processed with one or more
The software module run on device is realized, or is realized with combinations thereof.Those skilled in the art should
Understand, basis can be realized using microprocessor or digital signal processor (DSP) in practice
Some or all parts in the processing equipment of the suspension control of the embodiment of the present invention some or it is complete
Portion's function.The present invention is also implemented as performing some or all of method as described herein
Equipment or program of device (for example, computer program and computer program product).Such realization
Program of the invention can be stored on a computer-readable medium, or can be with one or more letter
Number form.Such signal can be downloaded from internet website and obtained, or above be carried in carrier signal
For, or provided in any other form.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention,
And those skilled in the art can design replacement without departing from the scope of the appended claims
Embodiment.In the claims, any reference symbol being located between bracket should not be configured to right
It is required that limitation.Word "comprising" does not exclude the presence of element or step not listed in the claims.Position
Word "a" or "an" before element does not exclude the presence of element as multiple.The present invention can
To be realized by means of the hardware for including some different elements and by means of properly programmed computer.
If in the unit claim for listing equipment for drying, several in these devices can be by same
Individual hardware branch is embodied.The use of word first, second, and third does not indicate that any order.
These words can be construed to title.
The embodiment of the invention discloses A1, a kind of processing method of suspension control, including:
Interface residing for detection suspension control;
Recognize the effective click on area clicked in the interface;
Judge the suspension control whether in effective click on area;If so, then described suspension is controlled
Part is moved to outside effective click on area.
A2, the method as described in A1, also include:
Recognize the suspensible Effective Suspension region in the interface;
Judge the suspension control whether in the Effective Suspension region;If it is not, then described suspension is controlled
Part is moved in the Effective Suspension region.
A3, the method as described in A1, the effective click area that clicks on of the identification in the interface
The step of domain, includes:
When the interface is system application interface, recognize residing for the application controls in the system interface
Region, as effective click on area.
A4, the method as described in A1, the effective click area that clicks on of the identification in the interface
The step of domain, includes:
When the interface is third-party application interface, the interface scenario at the third-party application interface is obtained
Information;
Search the corresponding effective click on area of the interface scenario information.
A5, the method as described in A1, it is described to move to outside effective click on area the suspension control
The step of include:
Calculate the distance between the suspension control and the outer each position of effective click edges of regions;
The suspension control is moved to the most short position of effective outer distance of click edges of regions.
A6, the method as described in A2, suspensible Effective Suspension area of the identification in the interface
The step of domain, includes:
When the interface is system application interface, the non-application controls institute in the system interface is recognized
The region at place, as Effective Suspension region.
A7, the method as described in A2, suspensible Effective Suspension area of the identification in the interface
The step of domain, includes:
When the interface is third-party application interface, the interface scenario at the third-party application interface is obtained
Information;
Search the corresponding invalid clicks region of the interface scenario information.
A8, the method as described in A2, it is described that the suspension control moved into the Effective Suspension region
The step of include:
Calculate the distance between the suspension control and each position in the Effective Suspension edges of regions;
The suspension control is moved to the most short position of each distance of the Effective Suspension edges of regions.
A9, the method as described in A4 or A7, the interface scenario information include following one kind or many
Kind:
Device identification, unit type, application identities, application version, transverse screen mode, vertical screen mode.
A10, the method as described in A1 or A2 or A3 or A4 or A5 or A6 or A7 or A8,
Also include:
Obtain the interface scenario information at third-party application interface residing for suspension control;
First position of touch of the recording needle to effective touch control operation at the third-party application interface;
First position of touch is clustered, one or more first position of touch set are formed;
One or more of first position of touch set are fitted one or more effective click on area;
Set up the corresponding relation of the interface scenario information and one or more of effective click on area.
A11, the method as described in A10, the touch control operation include following one or more:
Clicking operation, slide and drag operation;
First position of touch of the recording needle to effective touch control operation at the third-party application interface
The step of include:
When the clicking operation for the third-party application interface is detected, the clicking operation is recorded
First position of touch;
And/or,
When the slide for the third-party application interface is detected, the slide is recorded
First position of touch;
And/or,
When the drag operation for the suspension control is detected, the original position of drag operation is recorded,
As the first position of touch.
A12, the method as described in A2 or A6 or A7 or A8, also include:
Obtain the interface scenario information at third-party application interface residing for suspension control;
Second position of touch of the recording needle to effective touch control operation of the suspension control;
Second position of touch is clustered, one or more second position of touch set are formed;
One or more of second position of touch set are fitted one or more Effective Suspension regions;
Set up the corresponding relation of the interface scenario information and one or more of Effective Suspension regions.
A13, the method as described in A12, effective touch-control behaviour of the recording needle to the suspension control
The step of the second position of touch made, includes:
When touch control operation triggers the second-level menu of the suspension control, detect the second-level menu whether by
Click on;If so, then recording the second position of touch of the touch control operation;
And/or,
When touch control operation triggers the suspension control performs the operation specified, examined within the default time period
Whether survey cancels the operation specified;If it is not, then recording the second position of touch of the touch control operation;
And/or,
When the drag operation for the suspension control is detected, the stop position of drag operation is recorded,
As the second position of touch.
The embodiment of the invention also discloses B14, a kind of processing unit of suspension control, including:
Interface detection module, is adapted to detect for the interface residing for suspension control;
Region identification module is effectively clicked on, is suitable to the effective click area that clicks on of the identification in the interface
Domain;
Whether first position judge module, be suitable to judge the suspension control in effective click on area
In;If so, then calling the first mobile module;
First mobile module, is suitable to move to the suspension control outside effective click on area.
B15, the device as described in B14, also include:
Effective Suspension region identification module, is suitable to suspensible Effective Suspension area of the identification in the interface
Domain;
Whether second place judge module, be suitable to judge the suspension control in the Effective Suspension region
In;If it is not, then calling the second mobile module;
Second mobile module, during the suspension control moved into the Effective Suspension region.
B16, the device as described in B14, effective click region identification module are further adapted for:
When the interface is system application interface, recognize residing for the application controls in the system interface
Region, as effective click on area.
B17, the device as described in B14, effective click region identification module are further adapted for:
When the interface is third-party application interface, the interface scenario at the third-party application interface is obtained
Information;
Search the corresponding effective click on area of the interface scenario information.
B18, the device as described in B14, first mobile module are further adapted for:
Calculate the distance between the suspension control and the outer each position of effective click edges of regions;
The suspension control is moved to the most short position of effective outer distance of click edges of regions.
B19, the device as described in B15, the Effective Suspension region identification module are further adapted for:
When the interface is system application interface, the non-application controls institute in the system interface is recognized
The region at place, as Effective Suspension region.
B20, the device as described in B15, the Effective Suspension region identification module are further adapted for:
When the interface is third-party application interface, the interface scenario at the third-party application interface is obtained
Information;
Search the corresponding invalid clicks region of the interface scenario information.
B21, the device as described in B15, the second place judge module are further adapted for:
Calculate the distance between the suspension control and each position in the Effective Suspension edges of regions;
The suspension control is moved to the most short position of each distance of the Effective Suspension edges of regions.
B22, the device as described in B17 or B20, the interface scenario information include following one kind or
It is various:
Device identification, unit type, application identities, application version, transverse screen mode, vertical screen mode.
B23, as described in B14 or B15 or B16 or B17 or B18 or B19 or B20 or B21
Device, also includes:
First interface scenario data obtaining module, is suitable to obtain third-party application interface residing for suspension control
Interface scenario information;
First position of touch logging modle, is suitable to recording needle and the effective of the third-party application interface is touched
Control the first position of touch of operation;
First cluster module, is suitable to cluster first position of touch, formed one or more
One position of touch set;
Effective click on area fitting module, is suitable to be fitted one or more of first position of touch set
One or more effective click on area;
First corresponding relation building module, be adapted to set up the interface scenario information with it is one or more of
The corresponding relation of effective click on area.
B24, the device as described in B23, the touch control operation include following one or more:
Clicking operation, slide and drag operation;
The first position of touch logging modle is further adapted for:
When the clicking operation for the third-party application interface is detected, the clicking operation is recorded
First position of touch;
And/or,
When the slide for the third-party application interface is detected, the slide is recorded
First position of touch;
And/or,
When the drag operation for the suspension control is detected, the original position of drag operation is recorded,
As the first position of touch.
B25, the device as described in B15 or B19 or B20 or B21, also include:
Second contact surface scene information acquisition module, is suitable to obtain third-party application interface residing for suspension control
Interface scenario information;
Second position of touch logging modle, is suitable to effective touch control operation of the recording needle to the suspension control
The second position of touch;
Second cluster module, is suitable to cluster second position of touch, formed one or more
Two position of touch set;
Effective Suspension region fitting module, is suitable to be fitted one or more of second position of touch set
One or more Effective Suspension regions;
Second corresponding relation building module, be adapted to set up the interface scenario information with it is one or more of
The corresponding relation in Effective Suspension region.
B26, the device as described in B25, the second position of touch logging modle are further adapted for:
When touch control operation triggers the second-level menu of the suspension control, detect the second-level menu whether by
Click on;If so, then recording the second position of touch of the touch control operation;
And/or,
When touch control operation triggers the suspension control performs the operation specified, examined within the default time period
Whether survey cancels the operation specified;If it is not, then recording the second position of touch of the touch control operation;
And/or,
When the drag operation for the suspension control is detected, the stop position of drag operation is recorded,
As the second position of touch.
Claims (10)
1. a kind of processing method of suspension control, including:
Interface residing for detection suspension control;
Recognize the effective click on area clicked in the interface;
Judge the suspension control whether in effective click on area;If so, then described suspension is controlled
Part is moved to outside effective click on area.
2. the method for claim 1, it is characterised in that also include:
Recognize the suspensible Effective Suspension region in the interface;
Judge the suspension control whether in the Effective Suspension region;If it is not, then described suspension is controlled
Part is moved in the Effective Suspension region.
3. the method for claim 1, it is characterised in that the identification is in the interface
The step of effective click on area that can be clicked on, includes:
When the interface is system application interface, recognize residing for the application controls in the system interface
Region, as effective click on area.
4. the method for claim 1, it is characterised in that the identification is in the interface
The step of effective click on area that can be clicked on, includes:
When the interface is third-party application interface, the interface scenario at the third-party application interface is obtained
Information;
Search the corresponding effective click on area of the interface scenario information.
5. the method for claim 1, it is characterised in that described to move to the suspension control
Step outside effective click on area includes:
Calculate the distance between the suspension control and the outer each position of effective click edges of regions;
The suspension control is moved to the most short position of effective outer distance of click edges of regions.
6. method as claimed in claim 2, it is characterised in that the identification is in the interface
The step of suspensible Effective Suspension region, includes:
When the interface is system application interface, the non-application controls institute in the system interface is recognized
The region at place, as Effective Suspension region.
7. method as claimed in claim 2, it is characterised in that the identification is in the interface
The step of suspensible Effective Suspension region, includes:
When the interface is third-party application interface, the interface scenario at the third-party application interface is obtained
Information;
Search the corresponding invalid clicks region of the interface scenario information.
8. method as claimed in claim 2, it is characterised in that described to move to the suspension control
Step in the Effective Suspension region includes:
Calculate the distance between the suspension control and each position in the Effective Suspension edges of regions;
The suspension control is moved to the most short position of each distance of the Effective Suspension edges of regions.
9. the method as described in claim 4 or 7, it is characterised in that the interface scenario packet
Include following one or more:
Device identification, unit type, application identities, application version, transverse screen mode, vertical screen mode.
10. a kind of processing unit of suspension control, including:
Interface detection module, is adapted to detect for the interface residing for suspension control;
Region identification module is effectively clicked on, is suitable to the effective click area that clicks on of the identification in the interface
Domain;
Whether first position judge module, be suitable to judge the suspension control in effective click on area
In;If so, then calling the first mobile module;
First mobile module, is suitable to move to the suspension control outside effective click on area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510809331.4A CN106775182A (en) | 2015-11-19 | 2015-11-19 | A kind for the treatment of method and apparatus of suspension control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510809331.4A CN106775182A (en) | 2015-11-19 | 2015-11-19 | A kind for the treatment of method and apparatus of suspension control |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106775182A true CN106775182A (en) | 2017-05-31 |
Family
ID=58885657
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510809331.4A Pending CN106775182A (en) | 2015-11-19 | 2015-11-19 | A kind for the treatment of method and apparatus of suspension control |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106775182A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107678666A (en) * | 2017-09-14 | 2018-02-09 | 维沃移动通信有限公司 | A kind of virtual key display methods, mobile terminal and computer-readable recording medium |
CN107704186A (en) * | 2017-09-01 | 2018-02-16 | 联想(北京)有限公司 | A kind of control method and electronic equipment |
CN108920081A (en) * | 2018-06-28 | 2018-11-30 | 努比亚技术有限公司 | A kind of interaction regulation method, equipment and computer readable storage medium |
CN109144343A (en) * | 2018-08-30 | 2019-01-04 | 努比亚技术有限公司 | Cancel icon display method, mobile terminal and computer readable storage medium |
CN109144385A (en) * | 2018-07-27 | 2019-01-04 | 北京小米移动软件有限公司 | The moving method and device of suspension ball |
CN109471571A (en) * | 2018-10-23 | 2019-03-15 | 努比亚技术有限公司 | Display methods, mobile terminal and the computer readable storage medium of suspension control |
CN109618210A (en) * | 2018-11-08 | 2019-04-12 | 北京微播视界科技有限公司 | Video pictures method of adjustment, device, computer equipment and readable storage medium storing program for executing |
CN111338528A (en) * | 2020-02-25 | 2020-06-26 | 维沃移动通信有限公司 | Operation response method and electronic equipment |
WO2022062949A1 (en) * | 2020-09-24 | 2022-03-31 | 荣耀终端有限公司 | Dynamic element control method, electronic device and computer-readable storage medium |
-
2015
- 2015-11-19 CN CN201510809331.4A patent/CN106775182A/en active Pending
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107704186A (en) * | 2017-09-01 | 2018-02-16 | 联想(北京)有限公司 | A kind of control method and electronic equipment |
CN107678666A (en) * | 2017-09-14 | 2018-02-09 | 维沃移动通信有限公司 | A kind of virtual key display methods, mobile terminal and computer-readable recording medium |
CN108920081A (en) * | 2018-06-28 | 2018-11-30 | 努比亚技术有限公司 | A kind of interaction regulation method, equipment and computer readable storage medium |
CN109144385A (en) * | 2018-07-27 | 2019-01-04 | 北京小米移动软件有限公司 | The moving method and device of suspension ball |
CN109144343B (en) * | 2018-08-30 | 2021-11-16 | 努比亚技术有限公司 | Method for displaying cancel icon, mobile terminal and computer-readable storage medium |
CN109144343A (en) * | 2018-08-30 | 2019-01-04 | 努比亚技术有限公司 | Cancel icon display method, mobile terminal and computer readable storage medium |
CN109471571A (en) * | 2018-10-23 | 2019-03-15 | 努比亚技术有限公司 | Display methods, mobile terminal and the computer readable storage medium of suspension control |
CN109471571B (en) * | 2018-10-23 | 2022-11-01 | 深圳汉硕计算机科技有限公司 | Display method of suspension control, mobile terminal and computer readable storage medium |
CN109618210A (en) * | 2018-11-08 | 2019-04-12 | 北京微播视界科技有限公司 | Video pictures method of adjustment, device, computer equipment and readable storage medium storing program for executing |
CN111338528A (en) * | 2020-02-25 | 2020-06-26 | 维沃移动通信有限公司 | Operation response method and electronic equipment |
CN111338528B (en) * | 2020-02-25 | 2021-05-07 | 维沃移动通信有限公司 | Operation response method and electronic equipment |
WO2022062949A1 (en) * | 2020-09-24 | 2022-03-31 | 荣耀终端有限公司 | Dynamic element control method, electronic device and computer-readable storage medium |
US12073070B2 (en) | 2020-09-24 | 2024-08-27 | Honor Device Co., Ltd. | Dynamic element control method, electronic device, and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106775182A (en) | A kind for the treatment of method and apparatus of suspension control | |
CN107077295A (en) | A kind of method, device, electronic equipment, display interface and the storage medium of quick split screen | |
US20110248939A1 (en) | Apparatus and method for sensing touch | |
CN102662462A (en) | Electronic device, gesture recognition method and gesture application method | |
CN102855068B (en) | Interface operation control method, device and electronic equipment | |
KR20150014083A (en) | Method For Sensing Inputs of Electrical Device And Electrical Device Thereof | |
CN104035677A (en) | Displaying method and device of prompt information | |
CN106802894B (en) | File induction method and equipment | |
CN107181858A (en) | A kind of method and terminal for showing notification message | |
CN103064627A (en) | Application management method and device | |
CN103294385B (en) | A kind of method and apparatus of information association | |
EP3100151A1 (en) | Virtual mouse for a touch screen device | |
US20130055164A1 (en) | System and Method for Selecting Objects on a Touch-Sensitive Display of a Mobile Communications Device | |
CN105849683A (en) | Method and apparatus for processing object provided through display | |
WO2017062215A1 (en) | Touch device with suppression band | |
KR101580570B1 (en) | Control method and controller for touch sensor panel | |
CN107450804A (en) | A kind of method and terminal for responding touch control operation | |
CN104932772B (en) | The application display method and device of smartwatch | |
CN104866210B (en) | A kind of touch screen control method, device and electronic equipment | |
CN105892873B (en) | Control method based on capacitive touch screen ip intelligent peripherals device setting operation interface | |
EP3304262B1 (en) | Pausing transient user interface elements based on hover information | |
CN105892895A (en) | Multi-finger sliding gesture recognition method and device as well as terminal equipment | |
CN105589570A (en) | Input error processing method and apparatus | |
CN104580704A (en) | Method and device for viewing details of short messages | |
CN107563212A (en) | A kind of information processing method, mobile terminal and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170531 |
|
WD01 | Invention patent application deemed withdrawn after publication |