CN106559711B - A kind of control method and device of screen touch-control - Google Patents

A kind of control method and device of screen touch-control Download PDF

Info

Publication number
CN106559711B
CN106559711B CN201611047046.4A CN201611047046A CN106559711B CN 106559711 B CN106559711 B CN 106559711B CN 201611047046 A CN201611047046 A CN 201611047046A CN 106559711 B CN106559711 B CN 106559711B
Authority
CN
China
Prior art keywords
touch
distance
user
cursor
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611047046.4A
Other languages
Chinese (zh)
Other versions
CN106559711A (en
Inventor
田超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201611047046.4A priority Critical patent/CN106559711B/en
Publication of CN106559711A publication Critical patent/CN106559711A/en
Priority to PCT/CN2017/112220 priority patent/WO2018095318A1/en
Application granted granted Critical
Publication of CN106559711B publication Critical patent/CN106559711B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03547Touch pads, in which fingers can move on a surface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content

Abstract

The invention discloses a kind of control method and device of screen touch-control, this method comprises: obtaining the first distance between two contacts that user acts on terminal touch screen under correction mode;Obtain the second distance between two cursor points that user acts on the controlled display screen of set-top box;Touch-control speed, which is calculated, according to the first distance and second distance corrects parameter;Under control mode touch mode, touch control operation of the user on the terminal touch screen is obtained, the cursor position on the display screen is calculated according to the contact position of the touch control operation and touch-control speed correction parameter.The present invention realizes user and controls the customed of movement speed of the cursor on the controlled display screen of set-top box by terminal touch screen, user can be according to the movement speed of the customed cursor of size of terminal touch screen, meet the demand of the set-top box of different size terminals and different resolution, control efficiency is improved, user experience is good.

Description

A kind of control method and device of screen touch-control
Technical field
The present invention relates to top box of digital machine technical field more particularly to a kind of control method and device of screen touch-control.
Background technique
In order to meet the new demand of user experience, in recent years, Wifi device is increasingly becoming the standard configuration of set-top box, set-top box Function is also increasingly intelligent.Set-top box establishes connection by Wifi device and hand-held end equipment, passes through the handheld terminals such as mobile phone, plate The touch screen of equipment realizes that the operation to set-top box controls, and changes the biography that user is watched TV by remote controller operation set-top box System mode.In the prior art, hand-held end equipment captures the touch event of touch screen, and touch event is passed through built in set-top box Wifi device is sent to set-top box, and set-top box handles the touch event received, to realize user by setting in handheld terminal The touch action of standby touch screen realizes the operation control to set-top box.
But there is following defect in practical applications, and the resolution ratio of handheld terminal screen is varied in the market, and thousand poor ten thousand Not, also, the screen resolution that uses of set-top box is there is also larger difference, causes on the handheld terminal touch screen of different resolution When operating the set-top box of different resolution by touch action, sensitivity when set-top box cursor moving speed is by touch-control exist compared with Big variation, user is inconvenient to use, and experience sense is by poor.
Summary of the invention
The present invention provides a kind of control method and device of screen touch-control, to realize that the controlled display cursor of set-top box is moved Move the customed of speed.
The invention adopts the following technical scheme:
In a first aspect, the present invention provides a kind of control method of screen touch-control, comprising:
Under correction mode, the first distance between two contacts that user acts on terminal touch screen is obtained;
Obtain the second distance between two cursor points that user acts on the controlled display screen of set-top box;
Touch-control speed, which is calculated, according to the first distance and second distance corrects parameter;
Under control mode touch mode, touch control operation of the user on the terminal touch screen is obtained, according to the touch control operation Contact position and touch-control speed correction parameter calculate the cursor position on the display screen.
Further, the second distance between two cursor points that user acts on the controlled display screen of set-top box is obtained Include:
According to sliding action of the user on terminal touch screen, the cursor point position on the display screen is controlled;
According to selection operation of the user on the terminal touch screen, two cursors selected in the display screen are determined Point, and calculate the second distance between described two cursor points.
Illustratively, the first distance obtained between two contacts that user acts on terminal touch screen, comprising:
It detects first action event of the user on the terminal touch screen, obtains first action event contact First coordinate;
It detects second action event of the user on the terminal touch screen, obtains second action event contact Second coordinate;
The first distance between two contacts is calculated according to first coordinate and the second coordinate.
Illustratively, obtain between two cursor points being acted on the controlled display screen of set-top box of user second away from From, comprising:
It detects third action event of the user on the terminal touch screen, obtains the controlled cursor of the set-top box and exist The third coordinate of current location on display screen;
It detects fourth action event of the user on the terminal touch screen, obtains the controlled cursor of the set-top box and exist The 4-coordinate of current location on display screen;
The second distance that cursor moves on a display screen is calculated according to the third coordinate and 4-coordinate.
Specifically, first action event and the second action event are single finger clicking on terminal touch screen Movement;The third action event and the 4th action event are double-click movement of the single finger on terminal touch screen.
It is specifically, described that touch-control speed correction parameter is calculated according to the first distance and second distance, comprising:
By the second distance divided by the first distance, to calculate the touch-control speed correction parameter.
Illustratively, under control mode touch mode, touch control operation of the user on the terminal touch screen is obtained, according to the touching The contact position and touch-control speed correction parameter for controlling operation calculate the cursor position on the display screen, comprising:
Under control mode touch mode, the contact position of touch control operation of the user on the terminal touch screen is obtained;
The light on the display screen is calculated according to the contact position of the touch control operation and touch-control speed correction parameter Cursor position is calculated according to following formula:
TX2=TX1+K* (UX2-UX1);
TY2=TY1+K* (UY2-UY1);
Wherein, TX2 is abscissa of the cursor after overcorrection on a display screen;TY2 is that cursor is being shown after overcorrection Ordinate on screen;TX1 is the current abscissa of cursor on a display screen;TY1 is the current ordinate of cursor on a display screen; K is that touch-control speed corrects parameter;UX2 is the starting point abscissa that user slides on terminal touch screen;UY2 is that user touches in terminal Touch the starting point ordinate slided on screen;UX1 is the terminal abscissa that user slides on terminal touch screen;UY1 is user at end The terminal ordinate slided on the touch screen of end.
Second aspect, the present invention provide a kind of control device of screen touch-control, comprising:
First distance acquiring unit, two contacts acted on terminal touch screen for obtaining user under correction mode Between first distance;
Second distance acquiring unit, for obtaining what user acted on the controlled display screen of set-top box under correction mode Second distance between two cursor points;
Touch-control speed corrects parameter calculation unit, based under correction mode according to the first distance and second distance It calculates touch-control speed and corrects parameter;
Cursor position correcting unit, under control mode touch mode, obtaining touch-control behaviour of the user on the terminal touch screen Make, the cursor position on the display screen is calculated according to the contact position of the touch control operation and touch-control speed correction parameter It sets.
Further, the second distance acquiring unit includes:
Cursor point position control unit controls the display for the sliding action according to user on terminal touch screen Cursor point position on screen;
Second distance computing unit is determined for the selection operation according to user on the terminal touch screen described The two cursor points selected in display screen, and calculate the second distance between described two cursor points.
Illustratively, the first distance acquiring unit includes:
First coordinate acquiring unit is obtained for detecting the first action event of the user on the terminal touch screen First coordinate of first action event contact;
Second coordinate acquiring unit is obtained for detecting the second action event of the user on the terminal touch screen Second coordinate of second action event contact;
First distance computing unit, for calculating between two contacts according to first coordinate and the second coordinate One distance;
The second distance acquiring unit includes:
Third coordinate acquiring unit is obtained for detecting third action event of the user on the terminal touch screen The third coordinate of the controlled cursor of set-top box current location on a display screen;
4-coordinate acquiring unit is obtained for detecting the 4th action event of the user on the terminal touch screen The 4-coordinate of the controlled cursor of set-top box current location on a display screen;
Second distance computing unit, for calculating cursor according to the third coordinate and 4-coordinate and moving on a display screen Dynamic second distance.
Technical solution provided by the invention is brought the following benefits:
Under correction mode, the first distance between two contacts that user acts on terminal touch screen is obtained, is obtained The second distance between two cursor points that user acts on the controlled display screen of set-top box, according to the first distance and Two distances calculate touch-control speed and correct parameter;Under control mode touch mode, touch control operation of the user on the terminal touch screen is obtained, The cursor position on the display screen is calculated according to the contact position of the touch control operation and touch-control speed correction parameter, it is real Customed, the Yong Huke that user controls movement speed of the cursor on the controlled display screen of set-top box by terminal touch screen is showed With the movement speed of the customed cursor of size according to terminal touch screen, the machine of different size terminals and different resolution is met The demand of top box, improves control efficiency, and user experience is good.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, institute in being described below to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also implement according to the present invention The content of example and these attached drawings obtain other attached drawings.
Fig. 1 is the method flow diagram of control method one embodiment of screen touch-control provided by the invention.
Fig. 2 is provided by the invention under correction mode, obtain two contacts being acted on terminal touch screen of user it Between first distance method flow diagram.
Fig. 3 is second between two cursor points that user provided by the invention acts on the controlled display screen of set-top box The method flow diagram of distance.
Fig. 4 is provided by the invention under control mode touch mode, according to the contact position of touch control operation and touch-control speed correction ginseng Number calculates the method flow diagram of the cursor position on display screen.
Fig. 5 is the method flow diagram of second embodiment of control method of screen touch-control provided by the invention.
Fig. 6 is the structural block diagram of one embodiment of the control device of screen touch-control provided by the invention.
Fig. 7 is the structural block diagram of second embodiment of the control device of screen touch-control provided by the invention.
Fig. 8 is the structural block diagram of the third embodiment of the control device of screen touch-control provided by the invention.
Specific embodiment
To keep the technical problems solved, the adopted technical scheme and the technical effect achieved by the invention clearer, below It will the technical scheme of the embodiment of the invention will be described in further detail in conjunction with attached drawing, it is clear that described embodiment is only It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those skilled in the art exist Every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
Fig. 1 is the method flow diagram of control method one embodiment of screen touch-control provided by the invention.The present invention is real The method for applying example is executed by configuring the control device of screen touch-control in the terminal, can also be by configuring the screen in set-top box The control device of curtain touch-control executes.Refering to what is shown in Fig. 1, the control method of the screen touch-control characterized by comprising
S101, under correction mode, obtain the first distance between two contacts acting on terminal touch screen of user.
Fig. 2 is provided by the invention under correction mode, obtain two contacts being acted on terminal touch screen of user it Between first distance method flow diagram.Refering to what is shown in Fig. 2, step S101 is specifically included:
S1011, it detects first action event of the user on the terminal touch screen, obtains first action event First coordinate of contact.
S1012, it detects second action event of the user on the terminal touch screen, obtains second action event Second coordinate of contact.
S1013, first distance between two contacts is calculated according to first coordinate and the second coordinate.
In the present embodiment, first action event and the second action event are single finger on terminal touch screen Click action.Click action by way of example only, is not intended as the limitation to the technical program herein.In other embodiments In, it is also possible to be different from other movements of third action event and the 4th action event.
It is executed in this way by configuring the control device of screen touch-control in the terminal for example: user passes through single Finger is clicked any one contact position as starting point and is clicked in terminal touch screen, and terminal detects that thing is clicked in single contact When part occurs, reads and the contact position coordinate recorded at this time is that the first coordinate (PX1, PY1) draws to improve user experience It leads user to operate in next step, display reminding information informs that user carries out next step operation to terminal on the touchscreen.User passes through list A finger clicks second contact different from aforementioned contact in terminal touch screen, and terminal detects single contact click event When occurring again, reads and the contact position coordinate recorded at this time is the second coordinate (PX2, PY2).Terminal is according to the first coordinate The linear distance between two contacts can be calculated in (PX1, PY1) and the second coordinate (PX2, PY2), this distance is user Finger slides into sliding distance of second point as target endpoint from any point as starting point on terminal touch screen, sliding Distance L1 calculation formula are as follows:Sliding distance L1 is first distance.
It is executed in this way by configuring the control device of the screen touch-control in set-top box for example: set-top box detection The user sent to terminal clicks any one contact position clicking as starting point by single finger in terminal touch screen Event, obtaining and recording the contact position coordinate at this time on terminal touch screen is the first coordinate (PX1, PY1);Set-top box detection Second contact different from aforementioned contact is clicked on terminal touch screen to user, obtains and the contact position recorded at this time is sat It is designated as the second coordinate (PX2, PY2).Set-top box can be calculated according to the first coordinate (PX1, PY1) and the second coordinate (PX2, PY2) The linear distance between two contacts is obtained, this distance as user's finger is on terminal touch screen from any point as starting point Slide into sliding distance of second point as target endpoint, sliding distance L1 calculation formula are as follows:Sliding distance L1 is first distance.
The second distance between two cursor points that S102, acquisition user act on the controlled display screen of set-top box.
Fig. 3 is second between two cursor points that user provided by the invention acts on the controlled display screen of set-top box The method flow diagram of distance.Refering to what is shown in Fig. 3, step S102 is specifically included:
S1021, it detects third action event of the user on the terminal touch screen, obtains the set-top box and controlled The third coordinate of cursor current location on a display screen.
S1022, it detects fourth action event of the user on the terminal touch screen, obtains the set-top box and controlled The 4-coordinate of cursor current location on a display screen.
S1023, the second distance that cursor moves on a display screen is calculated according to the third coordinate and 4-coordinate.
In the present embodiment, the third action event and the 4th action event are single finger on terminal touch screen Double-click movement.Double-click herein acts by way of example only, is not intended as the limitation to the technical program.In other embodiments, It is also possible to be different from other movements of the first action event and the second action event.
It is executed in this way by configuring the control device of screen touch-control in the terminal for example: terminal detects use Double click event of the family with single finger on terminal touch screen, the double click event triggering terminal send acquisition cursor to set-top box and exist The instruction of coordinate information on the controlled display screen of set-top box;After set-top box receives the instruction, cursor working as on a display screen is read Preceding coordinate (TX1, TY1), and cursor changing coordinates (TX1, TY1) are sent to by terminal by Wifi;It is current that terminal receives cursor Coordinate (TX1, TY1), is recorded as third coordinate, and display reminding information informs that user carries out next step operation on the touchscreen; User is slided in terminal touch screen by single finger and is moved with controlling cursor on the display screen that set-top box controls, when cursor moves (distance of the positional distance cursor prior location (TX1, TY1) is the desired distance of user, should be away from when moving to suitable position From it is, when with a certain distance from user slides in terminal touch screen, it is expected that the cursor of the controlled display screen of set-top box is from The distance that point is slided to terminal), user double-clicks terminal touch screen again, after terminal detects the double click event, to set-top box Send the instruction for obtaining changing coordinates information of the cursor in the controlled display screen of set-top box;After set-top box receives the instruction, read The changing coordinates (TX2, TY2) of cursor on a display screen are taken, and cursor changing coordinates (TX2, TY2) are sent to by end by Wifi End;Terminal receives cursor changing coordinates (TX2, TY2), is recorded as 4-coordinate, terminal can according to third coordinate and 4-coordinate The mobile linear distance of cursor is calculated, this distance is when user's finger slides certain distance on terminal touch screen When, linear distance that the cursor of the controlled display screen of set-top box is moved.Linear distance L2 calculation formula are as follows:Linear distance L2 is second distance.
It is executed in this way by configuring the control device of the screen touch-control in set-top box for example: set-top box detection Double click event of the user sent to terminal with single finger on terminal touch screen, the double click event trigger set-top box and read light The changing coordinates (TX1, TY1) of mark on a display screen, are recorded as third coordinate;Set-top box receives the user of terminal transmission in terminal The event slided on touch screen, control cursor move on a display screen, (positional distance when cursor is moved to suitable position The distance of cursor prior location (TX1, TY1) is the desired distance of user, and the distance is it is, when user is in terminal touch screen When middle sliding certain distance, it is expected that the distance that the cursor of the controlled display screen of set-top box is slided from origin-to-destination);Set-top box The user for being received again by terminal transmission after double click event, reads the changing coordinates of cursor on a display screen on terminal touch screen (TX2, TY2), is recorded as 4-coordinate, according to third coordinate and 4-coordinate can be calculated the mobile straight line of cursor away from From this distance is the cursor of the controlled display screen of set-top box when user's finger slides certain distance on terminal touch screen The linear distance moved.Linear distance L2 calculation formula are as follows:The straight line Distance L2 is second distance.
S103, touch-control speed correction parameter is calculated according to the first distance and second distance.
Specifically, by the second distance L2 divided by the first distance L1, to calculate the touch-control speed correction parameter K.Calculation formula are as follows:
K=L2/L1;Wherein, K is that touch-control speed corrects parameter, and L2 is second distance;L1 is first distance.
S104, under control mode touch mode, obtain touch control operation of the user on the terminal touch screen, grasped according to the touch-control The contact position of work and touch-control speed correction parameter calculate the cursor position on the display screen.
Fig. 4 is provided by the invention under control mode touch mode, according to the contact position of touch control operation and touch-control speed correction ginseng Number calculates the method flow diagram of the cursor position on display screen.Refering to what is shown in Fig. 4, step S104 is specifically included:
S1041, under control mode touch mode, obtain the contact position of touch control operation of the user on the terminal touch screen.
The contact position includes the starting point coordinate of contact and the terminal point coordinate of contact.
S1042, the display screen is calculated according to the contact position of the touch control operation and touch-control speed correction parameter On cursor position, calculated according to following formula:
TX2=TX1+K* (UX2-UX1);
TY2=TY1+K* (UY2-UY1);
Wherein, TX2 is abscissa of the cursor after overcorrection on a display screen;TY2 is that cursor is being shown after overcorrection Ordinate on screen;TX1 is the current abscissa of cursor on a display screen;TY1 is the current ordinate of cursor on a display screen; K is that touch-control speed corrects parameter;UX2 is the starting point abscissa that user slides on terminal touch screen;UY2 is that user touches in terminal Touch the starting point ordinate slided on screen;UX1 is the terminal abscissa that user slides on terminal touch screen;UY1 is user at end The terminal ordinate slided on the touch screen of end.
To sum up, the control method of screen touch-control provided by the invention obtains user in terminal touch screen under correction mode First distance between two contacts of upper movement obtains two cursor points that user acts on the controlled display screen of set-top box Between second distance, touch-control speed is calculated according to the first distance and second distance and corrects parameter;Under control mode touch mode, obtain Touch control operation of the family on the terminal touch screen is taken, is rectified according to the contact position of the touch control operation and the touch-control speed Positive parameter calculates the cursor position on the display screen, realizes user and is controlled by terminal touch screen control cursor in set-top box Movement speed on display screen processed it is customed, user can be according to the mobile speed of the customed cursor of size of terminal touch screen Degree, meets the demand of the set-top box of different size terminals and different resolution, improves control efficiency, user experience is good.
Fig. 5 is the method flow diagram of second embodiment of control method of screen touch-control provided by the invention.The present invention is real The method for applying example is executed by configuring the control device of screen touch-control in the terminal, can also be by configuring the screen in set-top box The control device of curtain touch-control executes.The present embodiment specifically provides the acquisition of second distance based on preceding solution Mode.Refering to what is shown in Fig. 5,
S201, under correction mode, obtain the first distance between two contacts acting on terminal touch screen of user.
S202, the sliding action according to user on terminal touch screen control the cursor point position on the display screen.
When user's finger is slided on terminal touch screen, the cursor on the controlled display screen of set-top box is also and then moved, Specifically no longer it is described in detail.
S203, the selection operation according to user on the terminal touch screen determine two selected in the display screen A cursor point, and calculate the second distance between described two cursor points.
User can double-click on terminal touch screen in sliding starting point, select the start position of cursor on a display screen, User slides certain distance on terminal touch screen, and cursor is moved to the desired position of user on a display screen, and user is in terminal Double click operation again on touch screen, selecting the current location of cursor on a display screen is final position.It is touched by user in terminal Touch the starting point coordinate and terminal point coordinate of double click operation selection cursor on a display screen on screen.
Certainly, selection operation is not limited to double click operation, or the pressing operation on terminal touch screen is only herein For example, being not intended as the limitation to the technical program.
S204, touch-control speed correction parameter is calculated according to the first distance and second distance.
Specifically, by the second distance L2 divided by the first distance L1, to calculate the touch-control speed correction parameter K.Calculation formula are as follows:
K=L2/L1;Wherein, K is that touch-control speed corrects parameter, and L2 is second distance;L1 is first distance.
S205, under control mode touch mode, obtain touch control operation of the user on the terminal touch screen, grasped according to the touch-control The contact position of work and touch-control speed correction parameter calculate the cursor position on the display screen.
In the present embodiment, step S201, I will not elaborate for the detailed content of S204 and S205, and details are referring to earlier figures 1 The corresponding content of the method.
The control method of screen touch-control provided by the invention obtains user and acts on terminal touch screen under correction mode Two contacts between first distance controlled on the display screen according to sliding action of the user on terminal touch screen Cursor point position determines two selected in the display screen according to selection operation of the user on the terminal touch screen Cursor point, and the second distance between described two cursor points is calculated, touch-control is calculated according to the first distance and second distance Speed corrects parameter, under control mode touch mode, obtains touch control operation of the user on the terminal touch screen, is grasped according to the touch-control The contact position of work and touch-control speed correction parameter calculate the cursor position on the display screen, realize user and pass through end The customed of movement speed of the touch screen control cursor on the controlled display screen of set-top box is held, user can touch according to terminal The movement speed of the customed cursor of the size of screen, meets the demand of the set-top box of different size terminals and different resolution, mentions High control efficiency, user experience are good.
Fig. 6 is the structural block diagram of one embodiment of the control device of screen touch-control provided by the invention.With reference to Fig. 6 Shown, the control device of the screen touch-control includes:
First distance acquiring unit 10, two touchings acted on terminal touch screen for obtaining user under correction mode First distance between point;
Second distance acquiring unit 11 acts on the controlled display screen of set-top box for obtaining user under correction mode Two cursor points between second distance;
Touch-control speed corrects parameter calculation unit 12, is used under correction mode according to the first distance and second distance It calculates touch-control speed and corrects parameter;
Cursor position correcting unit 13, under control mode touch mode, obtaining touch-control of the user on the terminal touch screen Operation calculates the cursor position on the display screen according to the contact position of the touch control operation and touch-control speed correction parameter It sets, is specifically used under control mode touch mode, the contact position of touch control operation of the user on the terminal touch screen is obtained, according to institute The contact position and touch-control speed correction parameter of stating touch control operation calculate the cursor position on the display screen, according to as follows Formula is calculated:
TX2=TX1+K* (UX2-UX1);
TY2=TY1+K* (UY2-UY1);
Wherein, TX2 is abscissa of the cursor after overcorrection on a display screen;TY2 is that cursor is being shown after overcorrection Ordinate on screen;TX1 is the current abscissa of cursor on a display screen;TY1 is the current ordinate of cursor on a display screen; K is that touch-control speed corrects parameter;UX2 is the starting point abscissa that user slides on terminal touch screen;UY2 is that user touches in terminal Touch the starting point ordinate slided on screen;UX1 is the terminal abscissa that user slides on terminal touch screen;UY1 is user at end The terminal ordinate slided on the touch screen of end.
To sum up, the control device of screen touch-control provided by the invention passes through first distance acquiring unit under correction mode The first distance between two contacts that user acts on terminal touch screen is obtained, second distance acquiring unit obtains user and exists The second distance between two cursor points acted on the controlled display screen of set-top box, touch-control speed correct parameter calculation unit root Touch-control speed, which is calculated, according to the first distance and second distance corrects parameter;Under control mode touch mode, cursor position correcting unit is obtained Touch control operation of the family on the terminal touch screen is taken, is rectified according to the contact position of the touch control operation and the touch-control speed Positive parameter calculates the cursor position on the display screen, realizes user and is controlled by terminal touch screen control cursor in set-top box Movement speed on display screen processed it is customed, user can be according to the mobile speed of the customed cursor of size of terminal touch screen Degree, meets the demand of the set-top box of different size terminals and different resolution, improves control efficiency, user experience is good.
Fig. 7 is the structural block diagram of second embodiment of the control device of screen touch-control provided by the invention.This implementation Example specifically provides the acquisition modes of second distance based on preceding solution.Refering to what is shown in Fig. 7, the second distance Acquiring unit 11 includes:
Cursor point position control unit 110 controls described aobvious for the sliding action according to user on terminal touch screen Cursor point position in display screen;
Second distance computing unit 111 is determined for the selection operation according to user on the terminal touch screen in institute The two cursor points selected in display screen are stated, and calculate the second distance between described two cursor points.
Fig. 8 is the structural block diagram of the third embodiment of the control device of screen touch-control provided by the invention.This implementation Example specifically provides the acquisition modes of first distance and second distance based on preceding solution.Refering to what is shown in Fig. 8, institute Stating first distance acquiring unit 10 includes:
First coordinate acquiring unit 100 is obtained for detecting the first action event of the user on the terminal touch screen Take the first coordinate of first action event contact;
Second coordinate acquiring unit 101 is obtained for detecting the second action event of the user on the terminal touch screen Take the second coordinate of second action event contact;
First distance computing unit 102, for being calculated between two contacts according to first coordinate and the second coordinate First distance;
The second distance acquiring unit 11 includes:
Third coordinate acquiring unit 110 is obtained for detecting third action event of the user on the terminal touch screen Take the third coordinate of the controlled cursor of set-top box current location on a display screen;
4-coordinate acquiring unit 112 is obtained for detecting the 4th action event of the user on the terminal touch screen Take the 4-coordinate of the controlled cursor of set-top box current location on a display screen;
Second distance computing unit 113, for calculating cursor in display screen according to the third coordinate and 4-coordinate The second distance of upper movement.
The control device of screen touch-control provided by the invention realizes user and controls cursor on machine top by terminal touch screen Movement speed on the controlled display screen of box it is customed, user can be according to the shifting of the customed cursor of size of terminal touch screen Dynamic speed, meets the demand of the set-top box of different size terminals and different resolution, improves control efficiency, user experience It is good.
The above is only a preferred embodiment of the present invention, for those of ordinary skill in the art, according to the present invention Thought, there will be changes in the specific implementation manner and application range, and the content of the present specification should not be construed as to the present invention Limitation.

Claims (9)

1. a kind of control method of screen touch-control characterized by comprising
Under correction mode, the first distance between two contacts that user acts on terminal touch screen is obtained;
Obtain the second distance between the cursor point for two cursors that user acts on the controlled display screen of set-top box;
Touch-control speed, which is calculated, according to the first distance and second distance corrects parameter;
Under control mode touch mode, touch control operation of the user on the terminal touch screen is obtained, according to the contact of the touch control operation Position and touch-control speed correction parameter calculate the cursor position on the display screen;
It is wherein, described that touch-control speed correction parameter is calculated according to the first distance and second distance, comprising:
By the second distance divided by the first distance, to calculate the touch-control speed correction parameter.
2. the method according to claim 1, wherein obtaining what user acted on the controlled display screen of set-top box Second distance between the cursor point of two cursors includes:
According to sliding action of the user on terminal touch screen, the cursor point position of cursor on the display screen is controlled;
According to selection operation of the user on the terminal touch screen, the two cursor points selected in the display screen are determined, And calculate the second distance between described two cursor points.
3. the method according to claim 1, wherein two for obtaining user and being acted on terminal touch screen First distance between contact, comprising:
It detects first action event of the user on the terminal touch screen, obtains the first of first action event contact Coordinate;
It detects second action event of the user on the terminal touch screen, obtains the second of second action event contact Coordinate;
The first distance between two contacts is calculated according to first coordinate and the second coordinate.
4. according to the method described in claim 3, it is characterized in that, obtaining what user acted on the controlled display screen of set-top box Second distance between the cursor point of two cursors, comprising:
It detects third action event of the user on the terminal touch screen, obtains the controlled cursor of the set-top box and showing The third coordinate of current location on screen;
It detects fourth action event of the user on the terminal touch screen, obtains the controlled cursor of the set-top box and showing The 4-coordinate of current location on screen;
The second distance that cursor moves on a display screen is calculated according to the third coordinate and 4-coordinate.
5. according to the method described in claim 4, it is characterized in that, first action event and the second action event are list Click action of a finger on terminal touch screen;The third action event and the 4th action event are single finger at end Hold the double-click movement on touch screen.
6. the method according to claim 1, wherein obtaining user under control mode touch mode and being touched in the terminal Touch control operation on screen calculates the display screen according to the contact position of the touch control operation and touch-control speed correction parameter On cursor position, comprising:
Under control mode touch mode, the contact position of touch control operation of the user on the terminal touch screen is obtained;
The cursor position on the display screen is calculated according to the contact position of the touch control operation and touch-control speed correction parameter It sets, is calculated according to following formula:
TX2=TX1+K* (UX2-UX1);
TY2=TY1+K* (UY2-UY1);
Wherein, TX2 is abscissa of the cursor after overcorrection on a display screen;TY2 be cursor after overcorrection on a display screen Ordinate;TX1 is the current abscissa of cursor on a display screen;TY1 is the current ordinate of cursor on a display screen;K is Touch-control speed corrects parameter;UX2 is the starting point abscissa that user slides on terminal touch screen;UY2 is that user touches in terminal The starting point ordinate slided on screen;UX1 is the terminal abscissa that user slides on terminal touch screen;UY1 is user in terminal The terminal ordinate slided on touch screen.
7. a kind of control device of screen touch-control characterized by comprising
First distance acquiring unit, for being obtained between two contacts that user acts on terminal touch screen under correction mode First distance;
Second distance acquiring unit, two acted on the controlled display screen of set-top box for obtaining user under correction mode Second distance between the cursor point of cursor;
Touch-control speed corrects parameter calculation unit, for calculating touching according to the first distance and second distance under correction mode Rate controlling degree corrects parameter;
Cursor position correcting unit, under control mode touch mode, obtaining touch control operation of the user on the terminal touch screen, root The cursor position on the display screen is calculated according to the contact position of the touch control operation and touch-control speed correction parameter;
Wherein, touch-control speed corrects parameter calculation unit, is specifically used for the second distance divided by the first distance, in terms of Calculate the touch-control speed correction parameter.
8. the control device of screen touch-control according to claim 7, which is characterized in that the second distance acquiring unit packet It includes:
Cursor point position control unit controls on the display screen for the sliding action according to user on terminal touch screen The cursor point position of cursor;
Second distance computing unit is determined for the selection operation according to user on the terminal touch screen in the display The two cursor points selected in screen, and calculate the second distance between described two cursor points.
9. the control device of screen touch-control according to claim 7, which is characterized in that the first distance acquiring unit packet It includes:
First coordinate acquiring unit, for detecting first action event of the user on the terminal touch screen, described in acquisition First coordinate of the first action event contact;
Second coordinate acquiring unit, for detecting second action event of the user on the terminal touch screen, described in acquisition Second coordinate of the second action event contact;
First distance computing unit, for according to first coordinate and the second coordinate calculate between two contacts first away from From;
The second distance acquiring unit includes:
Third coordinate acquiring unit, for detecting third action event of the user on the terminal touch screen, described in acquisition The third coordinate of the controlled cursor of set-top box current location on a display screen;
4-coordinate acquiring unit, for detecting fourth action event of the user on the terminal touch screen, described in acquisition The 4-coordinate of the controlled cursor of set-top box current location on a display screen;
Second distance computing unit, for calculating what cursor moved on a display screen according to the third coordinate and 4-coordinate Second distance.
CN201611047046.4A 2016-11-23 2016-11-23 A kind of control method and device of screen touch-control Active CN106559711B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611047046.4A CN106559711B (en) 2016-11-23 2016-11-23 A kind of control method and device of screen touch-control
PCT/CN2017/112220 WO2018095318A1 (en) 2016-11-23 2017-11-22 Cursor control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611047046.4A CN106559711B (en) 2016-11-23 2016-11-23 A kind of control method and device of screen touch-control

Publications (2)

Publication Number Publication Date
CN106559711A CN106559711A (en) 2017-04-05
CN106559711B true CN106559711B (en) 2019-07-12

Family

ID=58443530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611047046.4A Active CN106559711B (en) 2016-11-23 2016-11-23 A kind of control method and device of screen touch-control

Country Status (2)

Country Link
CN (1) CN106559711B (en)
WO (1) WO2018095318A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559711B (en) * 2016-11-23 2019-07-12 深圳创维数字技术有限公司 A kind of control method and device of screen touch-control
TWI739673B (en) * 2020-11-24 2021-09-11 明基電通股份有限公司 Touch-sensing display apparatus and cursor controlling methode of its touch pannel

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355558A (en) * 2011-08-17 2012-02-15 深圳市同洲电子股份有限公司 Method and system for synchronizing mobile terminal and display device
CN103207760A (en) * 2013-04-07 2013-07-17 福州瑞芯微电子有限公司 Method and system for controlling electronic equipment by handhold mobile terminal
JP2015018300A (en) * 2013-07-09 2015-01-29 シャープ株式会社 Display unit, terminal apparatus, display system, and display method
CN104737104A (en) * 2012-10-19 2015-06-24 三菱电机株式会社 Information processing device, information terminal, information processing system and calibration method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446049A (en) * 2010-10-11 2012-05-09 梁宇杰 Device and method for cursor operation induction processing and using external display devices to display information
TWI493438B (en) * 2012-01-09 2015-07-21 Amtran Technology Co Ltd Touch control method
CN103365444A (en) * 2012-03-26 2013-10-23 联想移动通信科技有限公司 Terminal equipment and touch method for touch screen thereon
CN102981758B (en) * 2012-11-05 2015-05-13 福州瑞芯微电子有限公司 Connection method between electronic devices
CN103616989B (en) * 2013-12-12 2017-05-24 北京星网锐捷网络技术有限公司 Method and device for automatically adjusting position of cursor and mobile terminal
CN105528100B (en) * 2014-10-21 2018-12-07 惠州市德赛西威汽车电子股份有限公司 The Reverse Turning Control method of vehicle device and mobile terminal interconnection
CN106559711B (en) * 2016-11-23 2019-07-12 深圳创维数字技术有限公司 A kind of control method and device of screen touch-control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355558A (en) * 2011-08-17 2012-02-15 深圳市同洲电子股份有限公司 Method and system for synchronizing mobile terminal and display device
CN104737104A (en) * 2012-10-19 2015-06-24 三菱电机株式会社 Information processing device, information terminal, information processing system and calibration method
CN103207760A (en) * 2013-04-07 2013-07-17 福州瑞芯微电子有限公司 Method and system for controlling electronic equipment by handhold mobile terminal
JP2015018300A (en) * 2013-07-09 2015-01-29 シャープ株式会社 Display unit, terminal apparatus, display system, and display method

Also Published As

Publication number Publication date
CN106559711A (en) 2017-04-05
WO2018095318A1 (en) 2018-05-31

Similar Documents

Publication Publication Date Title
CN103076918B (en) Long-range control method based on touch terminal and system
US10055064B2 (en) Controlling multiple devices with a wearable input device
CN102111582B (en) Remote control device for television, television and remote control method
US20150326909A1 (en) Method for remotely controlling smart television
CN102945136B (en) Mobile terminal and touch operation method thereof
CN104850341B (en) A kind of application icon display methods of mobile terminal and mobile terminal
KR20140071282A (en) Electronic device and method for controlling zooming of displayed object
TW201504852A (en) Controlling method of multipurpose remote controller for smart TV and controlling system thereof
US10372223B2 (en) Method for providing user commands to an electronic processor and related processor program and electronic circuit
CN104317452A (en) Method for controlling intelligent equipment with large screen
CN103152467B (en) Hand-held electronic device and remote control method
CN106559711B (en) A kind of control method and device of screen touch-control
CN106648152B (en) It is a kind of to be based on rotation angle and the three-dimensional pen-based interaction interface Zoom method of distance
CN102685581B (en) Multi-hand control system for intelligent television
CN102968258A (en) Touch method for accurate sliding control over touch screen
CN103699331A (en) Gesture method for controlling screen zooming
CN105204764A (en) Hand-held terminal provided with suspension screen, display equipment and remote control method
US9063567B2 (en) Display control apparatus and display control method
CN102750032A (en) Controller and touch control operating method
CN105302459B (en) Single-hand control method and device for terminal
CN103885707A (en) Multi-touch technology based human-computer interaction method and remote controller
JP2015011679A (en) Operation input device and input operation processing method
CN101377725A (en) Hand-held electric device and control method thereof
CN105511672A (en) Method for simulating virtual pointing bar through handheld device
CN102486689B (en) A kind of input method and terminal

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
GR01 Patent grant
GR01 Patent grant