CN109976621A - Shortcut menu control method and system - Google Patents
Shortcut menu control method and system Download PDFInfo
- Publication number
- CN109976621A CN109976621A CN201910252735.6A CN201910252735A CN109976621A CN 109976621 A CN109976621 A CN 109976621A CN 201910252735 A CN201910252735 A CN 201910252735A CN 109976621 A CN109976621 A CN 109976621A
- Authority
- CN
- China
- Prior art keywords
- shortcut menu
- touch
- center position
- position coordinates
- coordinate
- 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
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/0482—Interaction with lists of selectable items, e.g. menus
-
- 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
- G06F3/04883—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 for inputting data by handwriting, e.g. gesture or text
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
The invention discloses a kind of shortcut menu control method and system, which includes: the multiple touch pressing operations detected on touch screen, and obtains the coordinate of multiple multiple touch points for touching pressing operation;The center position coordinates of multiple touch points are calculated according to the coordinate of multiple touch points;Send shortcut menu operational order;Shortcut menu is shown at center position coordinates.The control method of the invention quickly can show and move shortcut menu, and the display and movement of shortcut menu are more convenient.
Description
Technical field
The present invention relates to intelligent display device fields, more specifically, being a kind of shortcut menu control method and system.
Background technique
The education touch one-piece machine used now, touch screen size thereon are generally larger, the shortcut menu on touch screen
It is typically in hidden state, general a side for being equipped with hiding shortcut menu by point touching screen recalls shortcut menu, leads to
It crosses click shortcut menu and drags its movement, when the user of all-in-one machine is located at the left side of touch screen, and shortcut menu is located at touching
When touching the right edge of screen, when recalling or moving shortcut menu, user needs to be moved to the right edge of touch screen, shortcut menu
Display and mobile and its inconvenience.
Summary of the invention
The purpose of the present invention is to provide a kind of shortcut menu control method and systems, can quickly be shown by the control method
Show and move shortcut menu, the display and movement of shortcut menu are more convenient.
Its technical solution is as follows:
The present invention discloses a kind of shortcut menu control method, comprising the following steps:
Multiple touch pressing operations on touch screen are detected, and obtain the seat of multiple multiple touch points for touching pressing operation
Mark;
The center position coordinates of multiple touch points are calculated according to the coordinate of multiple touch points;
Send shortcut menu operational order;
Shortcut menu is shown at center position coordinates.
Shortcut menu is shown at center position coordinates, comprising:
If shortcut menu is hidden on touch screen, shortcut menu is shown at center position coordinates;
If shortcut menu is shown on touch screen, shortcut menu is moved at center position coordinates and shows.
The touch point is two, and the coordinate value of the X axis coordinate of two touch points is respectively x0, x1, and x0 is less than x1, two
The coordinate value of the Y axis coordinate of touch point is respectively y0, y1, and y0 is less than y1, center position coordinates: X=x0+ (x1-x0)/2, Y=
y0+(y1-y0)/2。
The touch point is at least three, and the smallest coordinate value is x0 in the X axis coordinate of at least three touch points, most
Big coordinate value is x1, and the smallest coordinate value is y0 in the Y axis coordinate of at least three touch points, and maximum coordinate value is y1, in
Heart position coordinates: X=x0+ (x1-x0)/2, Y=y0+ (y1-y0)/2.
The touch point is five.
Before the center position coordinates for calculating multiple touch points according to the coordinate of multiple touch points, further includes:
Judge whether multiple touch pressing operations meet the first preset condition.
It is long greater than preset time that first preset condition touches compressing time length for multiple touch pressing operations simultaneously
Degree.
The shortcut menu central point is clicked, the shortcut menu is hidden.
Invention additionally discloses a kind of shortcut menu control systems, comprising:
Touch detection module detects multiple touch pressing operations on touch screen, and obtains multiple touch pressing operations
The coordinate of multiple touch points;
Message processing module, the center position coordinates of multiple touch points are calculated according to the coordinate of multiple touch points, and are sent
Shortcut menu operational order;
Operation module receives shortcut menu operational order, shortcut menu is shown at center position coordinates.
Further include:
Judgment module, judges whether multiple touch pressing operations meet the first preset condition;
Wherein, when first preset condition is that multiple touch pressing operations touch compressing time length greater than presetting simultaneously
Between length.
It should be understood that
Aforementioned " x0, x1 ..., y0, y1 ... " is only used for the differentiation for title, does not represent specific quantity and sequence.
Advantages of the present invention or principle are illustrated below:
1, the center position coordinates of multiple touch points are calculated by obtaining the coordinate of multiple touch points on touch screen, fast
Menu is shown at center position coordinates, is shown at center position coordinates in this way, hiding shortcut menu is recalled,
Or the shortcut menu of display is moved at center position coordinates, the display of shortcut menu and conveniently moving are quick, work as touch screen
When larger, user does not need to walk up and down in front of the touch screen.
2, when the touch point on touch screen is two, pass through the X axis coordinate value and Y axis coordinate value of two touch points
The center position coordinates for determining two touch points pass through touch point when the touch point on touch screen is three or more than three
In X axis coordinate in min coordinates value and maximum coordinate value among, min coordinates value and maximum coordinate value among in Y axis coordinate can be true
Determine the center position coordinates of touch point, the determination of center position coordinates is simple, and precision is higher.
3, the touch point on touch screen is five, and touch pressing operation can be carried out by five fingers and recalls and moves fast
Menu, the display and movement of shortcut menu are simple and convenient, and user experience is good.
4, by judging to touch whether pressing operation meets the first preset condition, it is determined whether recall and move quick dish
It is single, prevent the maloperation of shortcut menu.
5, the central point for clicking shortcut menu, can hide shortcut menu, hiding for shortcut menu is efficient and convenient.
Detailed description of the invention
Fig. 1 is the flow chart of the shortcut menu control method of the embodiment of the present invention;
Fig. 2 is the schematic diagram of the shortcut menu control system of the embodiment of the present invention;
Description of symbols:
100, touch detection module;200, judgment module;300, message processing module;400, operation module.
Specific embodiment
The embodiment of the present invention is described in detail below.
As shown in Figure 1, the present embodiment discloses a kind of shortcut menu control method, comprising the following steps:
S10: multiple touch pressing operations on detection touch screen, and obtain multiple multiple touch points for touching pressing operation
Coordinate;
S20: the center position coordinates of multiple touch points are calculated according to the coordinate of multiple touch points;
S30: shortcut menu operational order is sent;
S40: shortcut menu is shown at center position coordinates.
Wherein, shortcut menu operational order includes center position coordinates.
Wherein, in above-mentioned steps S40, shortcut menu is shown at center position coordinates, is specifically included:
If shortcut menu is hidden on touch screen, shortcut menu is shown at center position coordinates;
If shortcut menu is shown on touch screen, shortcut menu is moved at center position coordinates and shows.
Before the coordinate according to multiple touch points of the present embodiment calculates the center position coordinates of multiple touch points, also wrap
It includes:
Judge whether multiple touch pressing operations meet the first preset condition.
Wherein, it is long greater than preset time to touch compressing time length for multiple touch pressing operations simultaneously for the first preset condition
Degree, predetermined time period can be set as needed as any time length, recall display and mobile fast to improve shortcut menu
The efficiency of prompt menu, predetermined time period are preferable to provide as 1S, and multiple touch pressing operation compressing times are more than 1S, Ji Keyu
After showing that shortcut menu, multiple touch pressing operations meet the first preset condition at the center position coordinates of multiple touch points, hair
Shortcut menu operational order is sent, which includes center position coordinates, and according to the instruction, shortcut menu is mobile or recalls display.
For the ease of the display and movement of shortcut menu, the touch pressing operation of the present embodiment can be to be touched by finger
Pressing operation, and can be to touch pressing operation simultaneously by five fingers, and obtain five fingers touch pressing operation five
The coordinate of a touch point, the smallest coordinate value is x0 in the X axis coordinate of five touch points, and maximum coordinate value is x1, five touchings
Touching the smallest coordinate value in Y axis coordinate a little is y0, and maximum coordinate value is y1, is calculated by the following formula five touch points
The X axis coordinate value and Y axis coordinate value of center position coordinates, in which:
X=x0+ (x1-x0)/2;
Y=y0+ (y1-y0)/2.
The present embodiment can also carry out touch pressing operation simultaneously by two fingers, obtain the touch pressing behaviour of two fingers
The coordinate for two touch points made, the coordinate value of the X axis coordinate of two touch points are respectively x0, x1, and x0 is less than x1, two touches
The coordinate value of the Y axis coordinate of point is respectively y0, y1, and y0 is less than y1, is calculated by the following formula the center of two touch points
The X axis coordinate value and Y axis coordinate value of coordinate, in which:
X=x0+ (x1-x0)/2;
Y=y0+ (y1-y0)/2.
It, can will be quick by clicking shortcut menu central point after the shortcut menu of the present embodiment is shown on the touchscreen
Menu is hidden on touch screen.
In the above-described embodiments, shortcut menu is moved at center position coordinates in 0.1S, and shortcut menu is adjusted in 1S
The time shown out, and after the recalling of shortcut menu, it can successively be shown in centre bit from small to large according to the size of shortcut menu
It sets at coordinate.
As shown in Fig. 2, a kind of shortcut menu control system is also disclosed in the present embodiment, comprising:
Touch detection module 100 detects multiple touch pressing operations on touch screen, and obtains multiple touch pressing operations
Multiple touch points coordinate;
Message processing module 300 calculates the center position coordinates of multiple touch points according to the coordinate of multiple touch points, concurrently
Send shortcut menu operational order;
Operation module 400 receives shortcut menu operational order, shortcut menu is shown at center position coordinates.
The shortcut menu control system of this implementation further include:
Judgment module 200, judges whether multiple touch pressing operations meet the first preset condition;
Wherein, it is long greater than preset time to touch compressing time length for multiple touch pressing operations simultaneously for the first preset condition
Degree.
The advantages of below to the present embodiment or principle are illustrated:
1, the center position coordinates of multiple touch points are calculated by obtaining the coordinate of multiple touch points on touch screen, fast
Menu is shown at center position coordinates, is shown at center position coordinates in this way, hiding shortcut menu is recalled,
Or the shortcut menu of display is moved at center position coordinates, the display of shortcut menu and conveniently moving are quick, work as touch screen
When larger, user does not need to walk up and down in front of the touch screen.
2, when the touch point on touch screen is two, pass through the X axis coordinate value and Y axis coordinate value of two touch points
The center position coordinates for determining two touch points pass through touch point when the touch point on touch screen is three or more than three
In X axis coordinate in min coordinates value and maximum coordinate value among, min coordinates value and maximum coordinate value among in Y axis coordinate can be true
Determine the center position coordinates of touch point, the determination of center position coordinates is simple, and precision is higher.
3, the touch point on touch screen is five, and touch pressing operation can be carried out by five fingers and recalls and moves fast
Menu, the display and movement of shortcut menu are simple and convenient, and user experience is good.
4, by judging to touch whether pressing operation meets the first preset condition, it is determined whether recall and move quick dish
It is single, prevent the maloperation of shortcut menu.
5, the central point for clicking shortcut menu, can hide shortcut menu, hiding for shortcut menu is efficient and convenient.
The above is only specific embodiments of the present invention, are not limited the scope of protection of the present invention with this;Do not violating this hair
Made any replacement and improvement, category protection scope of the present invention on the basis of bright design.
Claims (10)
1. shortcut menu control method, which comprises the following steps:
Multiple touch pressing operations on touch screen are detected, and obtain the coordinate of multiple multiple touch points for touching pressing operation;
The center position coordinates of multiple touch points are calculated according to the coordinate of multiple touch points;
Send shortcut menu operational order;
Shortcut menu is shown at center position coordinates.
2. shortcut menu control method as described in claim 1, which is characterized in that shortcut menu is shown at center position coordinates
Show, comprising:
If shortcut menu is hidden on touch screen, shortcut menu is shown at center position coordinates;
If shortcut menu is shown on touch screen, shortcut menu is moved at center position coordinates and shows.
3. shortcut menu control method as described in claim 1, which is characterized in that the touch point is two, two touch points
The coordinate value of X axis coordinate be respectively x0, x1, x0 is less than x1, and the coordinate value of the Y axis coordinate of two touch points is respectively y0, y1,
Y0 is less than y1, center position coordinates:
X=x0+ (x1-x0)/2, Y=y0+ (y1-y0)/2.
4. shortcut menu control method as described in claim 1, which is characterized in that the touch point is at least three, at least three
The smallest coordinate value is x0 in the X axis coordinate of a touch point, and maximum coordinate value is x1, the Y-axis of at least three touch points
The smallest coordinate value is y0 in coordinate, and maximum coordinate value is y1, center position coordinates: X=x0+ (x1-x0)/2, Y=y0+
(y1-y0)/2。
5. shortcut menu control method as claimed in claim 4, which is characterized in that the touch point is five.
6. the shortcut menu control method as described in any one of claims 1 to 5, which is characterized in that according to multiple touch points
Coordinate calculates before the center position coordinates of multiple touch points, further includes:
Judge whether multiple touch pressing operations meet the first preset condition.
7. shortcut menu control method as claimed in claim 6, which is characterized in that first preset condition is that multiple touches are pressed
Press operation touches compressing time length greater than predetermined time period simultaneously.
8. the shortcut menu control method as described in any one of claims 1 to 5, which is characterized in that click the shortcut menu
Central point, the shortcut menu are hidden.
9. shortcut menu control system characterized by comprising
Touch detection module detects multiple touch pressing operations on touch screen, and obtains the multiple of multiple touch pressing operations
The coordinate of touch point;
Message processing module calculates the center position coordinates of multiple touch points according to the coordinate of multiple touch points, and sends quick
Menu operation instruction;
Operation module receives shortcut menu operational order, shortcut menu is shown at center position coordinates.
10. shortcut menu control system as claimed in claim 9, which is characterized in that further include:
Judgment module, judges whether multiple touch pressing operations meet the first preset condition;
Wherein, it is long greater than preset time to touch compressing time length for multiple touch pressing operations simultaneously for first preset condition
Degree.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910252735.6A CN109976621A (en) | 2019-03-29 | 2019-03-29 | Shortcut menu control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910252735.6A CN109976621A (en) | 2019-03-29 | 2019-03-29 | Shortcut menu control method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109976621A true CN109976621A (en) | 2019-07-05 |
Family
ID=67081869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910252735.6A Pending CN109976621A (en) | 2019-03-29 | 2019-03-29 | Shortcut menu control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109976621A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101211249A (en) * | 2006-12-28 | 2008-07-02 | 三星电子株式会社 | Method for providing menu and multimedia device using the same |
US20120131503A1 (en) * | 2010-11-22 | 2012-05-24 | Shao-Chieh Lin | Application displaying method for touch-controlled device and touch-controlled device thereof |
CN103649898A (en) * | 2011-07-14 | 2014-03-19 | 微软公司 | Launcher for context based on menus |
CN105549830A (en) * | 2015-12-08 | 2016-05-04 | 广州视睿电子科技有限公司 | Intelligent display method and device |
-
2019
- 2019-03-29 CN CN201910252735.6A patent/CN109976621A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101211249A (en) * | 2006-12-28 | 2008-07-02 | 三星电子株式会社 | Method for providing menu and multimedia device using the same |
US20120131503A1 (en) * | 2010-11-22 | 2012-05-24 | Shao-Chieh Lin | Application displaying method for touch-controlled device and touch-controlled device thereof |
CN103649898A (en) * | 2011-07-14 | 2014-03-19 | 微软公司 | Launcher for context based on menus |
CN105549830A (en) * | 2015-12-08 | 2016-05-04 | 广州视睿电子科技有限公司 | Intelligent display method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103294401B (en) | A kind of icon disposal route and device with the electronic equipment of touch-screen | |
EP2835729A1 (en) | Method for controlling position of floating window and terminal | |
CN105487809A (en) | Terminal control method and device | |
CN106415472B (en) | Gesture control method and device, terminal equipment and storage medium | |
EP2722730A1 (en) | Mobile terminal and method for moving cursor thereof | |
CN105511781B (en) | Start the method, apparatus and user equipment of application program | |
CN103513912B (en) | A kind of interface switching method and device | |
JP6128363B2 (en) | Data reporting method and apparatus, and terminal device | |
EP2955619A1 (en) | Mobile terminal and application control method therefor | |
CN106201207A (en) | A kind of virtual reality exchange method and device | |
CN105022561A (en) | Touch screen control apparatus and method and mobile terminal | |
CN107329644A (en) | A kind of icon moving method and device | |
WO2013178192A2 (en) | Touchscreen single-point control method, device and mobile terminal | |
CN103076968A (en) | Operation control method for touch terminal and touch terminal thereof | |
CN107247557A (en) | A kind of application icon display methods and device | |
CN107066176A (en) | A kind of control method and device of the singlehanded pattern of terminal | |
CN105302369A (en) | Method and system for preventing or reducing misoperations of touch screen | |
CN104991719B (en) | A kind of screenshot method based on touch screen, system and mobile terminal | |
CN107577404B (en) | Information processing method and device and electronic equipment | |
CN105426074A (en) | Method and system for cancelling misoperation | |
CN108334267A (en) | A kind of cursor-moving method, system and terminal device | |
CN111310557A (en) | Gesture recognition method, device and medium based on infrared touch frame | |
CN104978030A (en) | Left and right hand based software and method for automatically adjusting display interface of mobile phone | |
CN105183191B (en) | A kind of stylus and touch-controlled electronic devices and control method | |
CN107807779A (en) | A kind of touch operation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190705 |
|
RJ01 | Rejection of invention patent application after publication |