CN103092518B - A kind of mobile accurate touch control method of cloud desktop based on RDP agreement - Google Patents
A kind of mobile accurate touch control method of cloud desktop based on RDP agreement Download PDFInfo
- Publication number
- CN103092518B CN103092518B CN201310026044.7A CN201310026044A CN103092518B CN 103092518 B CN103092518 B CN 103092518B CN 201310026044 A CN201310026044 A CN 201310026044A CN 103092518 B CN103092518 B CN 103092518B
- Authority
- CN
- China
- Prior art keywords
- touch
- screen
- virtual cursor
- cloud desktop
- mobile
- 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
Links
Landscapes
- User Interface Of Digital Computer (AREA)
- Position Input By Displaying (AREA)
Abstract
The present invention provides a kind of mobile accurate touch control method of cloud desktop based on RDP agreement, a virtual cursor mobile module and touch event respond module is set up so that the touch-screen of terminating unit this locality is modeled to touch pad and uses between RDP agreement performance data layer and interface display layer; Intercepting and capturing current touch-screen to all touch control operations of cloud desktop window, then indicate current click location with a virtual cursor, the movement of virtual cursor and position are determined by current touch operation; When finger moves on the touchscreen, relative mobile virtual cursor, the skew amount making it to remain identical with touch track moves, and sends the touch event message of current virtual cursor position to long-distance cloud desktop; Thus, it is achieved touch-screen simulated touch plate function locates virtual cursor, then realize accurately touching control by virtual cursor. The present invention adopts the method that touch-screen uses as touch pad, it is achieved that carry out accurately touching control after connecting cloud desktop under RDP agreement.
Description
Technical field
The present invention relates to computer domain of communication equipment, particularly relate to a kind of mobile accurate touch control method of cloud desktop based on RDP agreement.
Background technology
Along with the development of touch screen technology, terminating unit is namely with the product of touch-screen, as: panel computer leads computer trend gradually, under the upsurge of the development of cloud computing technology, mobile terminal cloud desktop becomes IT focus, and BYOD(handles official business from carrying equipment) the people that also got more and more of operating mode praise highly. Touch screen technology is widespread use, people are more and more higher to the experience requirements touching effect, and the cloud desktop of the overwhelming majority is all the Windows operating system adopted, but owing to there is a lot of less icon and button etc. in Windows operating system, it is not good that touch control operation is just supported by itself, so using the Windows system in cloud desktop just more to be difficult to reach good touch experience on cloud flat board. Connect at the enterprising desktop that racks of current cloud panel computer, clicking desktop icon when opening application program, owing to desktop application program icon is less, finger cannot accurately be located and be clicked cloud desktop application program icon, cause putting or overdue, application program or false touch cannot be opened to other position. Touch pad is a kind of on level and smooth Trackpad, utilize finger slide can a kind of input unit of moving cursor, be the set of system of location relatively, it is possible in Windows system, realize the accurate location of mouse cursor position. And touch-screen is a set of transparent absolute positioning system, where finger touch is exactly where respond, it is not necessary to the 2nd action. But when the position if desired touching control is less, finger just is difficult to touch control to needing the position clicked or false touch to other position. Therefore, research and development one carry out accurately touching control at cloud desktop, are the active demands of touch screen technology development.
Summary of the invention
The technical problem to be solved in the present invention, is to provide a kind of mobile accurate touch control method of cloud desktop based on RDP agreement, it is achieved that carry out accurately touching control after connecting cloud desktop under RDP agreement.
The present invention is achieved in that a kind of mobile accurate touch control method of cloud desktop based on RDP agreement, comprises the steps:
Step 1, between the RDP agreement performance data layer and interface display layer of terminating unit, set up a virtual cursor mobile module and touch event respond module; Make the touch-screen of terminating unit this locality be modeled to touch pad to use; Described virtual cursor mobile module is responsible for obtaining touch point coordinate information when touching mobile on the touch-screen of terminating unit; Described touch event respond module is responsible for clicking touch-screen, is double-clicked touch-screen and the long response by the event of touch-screen;
Step 2, intercept and capture current touch-screen to all touch control operations of cloud desktop window, adopt a bitmap picture as the virtual cursor in cloud desktop, i.e. the position of the cloud desktop operated that the instruction of this virtual cursor is corresponding during touch control operation on the touch-screen of terminating unit;
Step 3, intercept finger when being touched by touch-screen, touch point coordinate information when touching mobile is obtained by described virtual cursor mobile module, movement and the position of described virtual cursor is determined through touch point coordinate information, virtual cursor is shown in cloud desktop window, when finger is moved on the touchscreen, relative mobile virtual cursor, makes virtual cursor keep the skew amount identical with touch track to move;
Step 4, described touch event respond module receive finger when touch-screen being clicked touch-screen or double-clicks touch-screen or the long event by touch-screen, in cloud desktop, current virtual cursor now sends the event message of corresponding touch-screen in position, carries out the operation of corresponding event after cloud desktop reception to event message.
Tool of the present invention has the following advantages: present invention achieves and whole touch-screen screen is modeled to touch pad use, make virtual cursor accurately navigate to the current position needing to click, effectively prevent to touch and touch control when clicking smaller program icon or region less than the situation with false touch. After Windows tablet device is connected to cloud desktop, when being operated on cloud desktop by touch-screen, realize accurately locating on cloud desktop by a virtual cursor, promote the accuracy of touch operation.
Accompanying drawing explanation
Fig. 1 is the inventive method schematic flow sheet.
Embodiment
Referring to shown in Fig. 1, a kind of mobile accurate touch control method of cloud desktop based on RDP agreement of the present invention, comprises the steps:
Step 1, between the RDP agreement performance data layer and interface display layer of terminating unit, set up a virtual cursor mobile module and touch event respond module; Make the touch-screen of terminating unit this locality be modeled to touch pad to use; Described virtual cursor mobile module is responsible for obtaining touch point coordinate information when touching mobile on the touch-screen of terminating unit, and determines the display of the position of virtual cursor on cloud desktop and virtual cursor; Described touch event respond module is responsible for clicking touch-screen, is double-clicked touch-screen and the long response by the event of touch-screen;
Step 2, intercept and capture current touch-screen to all touch control operations of cloud desktop window, adopt a bitmap picture as the virtual cursor in cloud desktop, i.e. the position of the cloud desktop operated that the instruction of this virtual cursor is corresponding during touch control operation on the touch-screen of terminating unit;
Step 3, intercept finger when being touched by touch-screen, touch point coordinate information when touching mobile is obtained by described virtual cursor mobile module, movement and the position of described virtual cursor is determined through touch point coordinate information, virtual cursor is shown in cloud desktop window, when finger is moved on the touchscreen, relative mobile virtual cursor, makes virtual cursor keep the skew amount identical with touch track to move; Wherein, touch point coordinate information when touching mobile is obtained by described virtual cursor mobile module, movement and the position of described virtual cursor is determined through touch point coordinate information, virtual cursor is shown in cloud desktop window, it is specially: when finger touch touch-screen moves, it is divided into and touching and mobile two processes; During touch, touch-screen window receives a touch and presses message, now writes down position, touch point, the message do not pressed to cloud desktop transmission left mouse button; Time mobile, virtual cursor mobile module receives touch mobile messaging, and it is in touch down state, when touch-screen receives touch mobile messaging, judge now point whether be in down state, if down state, judge that whether current touch point is the point of beginning of motion track, it is, then obtain position, touch point currX, currY; (being point of beginning, also just show that last touch point is consistent with current touch point) is also saved in the overall situation variable prevX, prevY, i.e. prevX=currX, prevY=currY; Described prevX, prevY represent the coordinate of last touch point in finger moving process; Not, then the difference moveX=currX-prevX of current touch point coordinate with last touch point coordinate is represented, moveY=currY-prevY with moveX, moveY; (currX in this formula, currY and current touch point coordinate) represents, with the overall situation variable realPrevX, realPrevY, the actual coordinate that virtual cursor moves; (value of this realPrevX, realPrevY is obtained by the touch-screen function of window system) position coordinate that then virtual cursor is final is realX=realPrevX+moveX, realY=realPrevY+moveY; After determining the position that virtual cursor is final, virtual cursor is shown in cloud desktop window; By this bitmap picture of virtual cursor with upgrade after cloud desktop picture synthesize piece image, and image is drawn in internal memory, and then the cloud desktop picture after synthesis in internal memory is shown in cloud desktop window;
Step 4, described touch event respond module receive finger when touch-screen being clicked touch-screen or double-clicks touch-screen or the long event by touch-screen, in cloud desktop, current virtual cursor now sends the event message of corresponding touch-screen in position, carries out the operation of corresponding event after cloud desktop reception to event message; It is specially: described touch event respond module receives finger when touch-screen being clicked touch-screen or double-clicks touch-screen or the long event by touch-screen, message is pressed when touch-screen receives touch, then by the timing function G etTickCount64(of window system) obtain the time downTime of current touch screen, obtain the current coordinate position of virtual cursor simultaneously; When receiving touch release message, by timing function G etTickCount64() obtain the current time upTime discharging touch screen, obtain the current coordinate position of virtual cursor simultaneously; If upTime downTime is less than the threshold value of window Operation system setting: click the timed interval, and virtual cursor current coordinate position is constant, then representing click event, click message to what cloud desktop sent a current virtual cursor present position, cloud desktop carries out clicking process; If upTime downTime is greater than clicks the timed interval, namely representing and touch long pressing, representing right button event, send the right button event message of current virtual cursor present position to cloud desktop, cloud desktop carries out right button process; If the timed interval that touch event is clicked for twice is less than the double-press time function G etDoubleClickTime(of window system) the double-press time value that obtains, then the double click event message of current virtual cursor present position is sent to cloud desktop; Cloud desktop carries out double click event process.
In the present invention, the touch of described touch-screen comprises: finger touch screen, and finger frames out, and finger moves on the touchscreen; Described finger touch screen is touch and presses; Finger frames out to be and touches release; Finger moves to be to touch in touch screen and moves; From touch screen, touch screen moves, to, in the process frameed out, the touch-screen window of terminating unit can receive touch and press, touches mobile, touch release three event messages. Described virtual cursor is shown to cloud desktop window, and this display adopts dual-cache mechanism, to prevent there is scintillation during quick mobile virtual cursor.
In a word, present invention achieves and whole touch-screen screen is modeled to touch pad use, make virtual cursor accurately navigate to the current position needing to click, effectively prevent and touch control when touching the smaller program icon of click or region less than the situation with false touch. After Windows tablet device is connected to cloud desktop, when being operated on cloud desktop by touch-screen, realize accurately locating on cloud desktop by a virtual cursor, promote the accuracy of touch operation.
The foregoing is only the better embodiment of the present invention, all impartial changes done according to the present patent application patent scope, with modifying, all should belong to the covering scope of the present invention.
Claims (5)
1. the mobile accurate touch control method of cloud desktop based on RDP agreement, it is characterised in that, comprise the steps:
Step 1, between the RDP agreement performance data layer and interface display layer of terminating unit, set up a virtual cursor mobile module and touch event respond module; Make the touch-screen of terminating unit this locality be modeled to touch pad to use; Described virtual cursor mobile module is responsible for obtaining touch point coordinate information when touching mobile on the touch-screen of terminating unit; Described touch event respond module is responsible for clicking touch-screen, is double-clicked touch-screen and the long response by the event of touch-screen;
Step 2, intercept and capture current touch-screen to all touch control operations of cloud desktop window, adopt a bitmap picture as the virtual cursor in cloud desktop, i.e. the position of the cloud desktop operated that the instruction of this virtual cursor is corresponding during touch control operation on the touch-screen of terminating unit;
Step 3, intercept finger when being touched by touch-screen, touch point coordinate information when touching mobile is obtained by described virtual cursor mobile module, movement and the position of described virtual cursor is determined through touch point coordinate information, virtual cursor is shown in cloud desktop window, when finger is moved on the touchscreen, relative mobile virtual cursor, makes virtual cursor keep the skew amount identical with touch track to move;
Step 4, described touch event respond module receive finger when touch-screen being clicked touch-screen or double-clicks touch-screen or the long event by touch-screen, in cloud desktop, current virtual cursor now sends the event message of corresponding touch-screen in position, carries out the operation of corresponding event after cloud desktop reception to event message.
2. a kind of mobile accurate touch control method of cloud desktop based on RDP agreement according to claim 1, it is characterised in that: the touch of described touch-screen comprises: finger touch screen, and finger frames out, and finger moves on the touchscreen; Described finger touch screen is touch and presses; Finger frames out to be and touches release; Finger moves to be to touch in touch screen and moves; From touch screen, touch screen moves, to, in the process frameed out, the touch-screen window of terminating unit can receive touch and press, touches mobile, touch release three event messages.
3. a kind of mobile accurate touch control method of cloud desktop based on RDP agreement according to claim 1, it is characterized in that: obtain touch point coordinate information when touching mobile by described virtual cursor mobile module, movement and the position of described virtual cursor is determined through touch point coordinate information, virtual cursor is shown in cloud desktop window, it is specially: when finger touch touch-screen moves, it is divided into and touching and mobile two processes; During touch, touch-screen window receives a touch and presses message, now writes down position, touch point, the message do not pressed to cloud desktop transmission left mouse button; Time mobile, virtual cursor mobile module receives touch mobile messaging, and it is in touch down state, when touch-screen receives touch mobile messaging, judge now point whether be in down state, if down state, judge that whether current touch point is the point of beginning of motion track, it is, then obtain position, touch point currX, currY; And be saved in the overall situation variable prevX, prevY, i.e. prevX=currX, prevY=currY; Described prevX, prevY represent the coordinate of last touch point in finger moving process; Not, then the difference moveX=currX prevX of current touch point coordinate with last touch point coordinate is represented, moveY=currY prevY with moveX, moveY; The actual coordinate that virtual cursor moves is represented with the overall situation variable realPrevX, realPrevY; The position coordinate that then virtual cursor is final is realX=realPrevX+moveX, realY=realPrevY+moveY; After determining the position that virtual cursor is final, virtual cursor is shown in cloud desktop window; By this bitmap picture of virtual cursor with upgrade after cloud desktop picture synthesize piece image, and image is drawn in internal memory, and then the cloud desktop picture after synthesis in internal memory is shown in cloud desktop window.
4. a kind of mobile accurate touch control method of cloud desktop based on RDP agreement according to claim 3, it is characterized in that: described virtual cursor is shown to cloud desktop window, this display adopts dual-cache mechanism, to prevent there is scintillation during quick mobile virtual cursor.
5. a kind of mobile accurate touch control method of cloud desktop based on RDP agreement according to claim 1, it is characterized in that: described step 4 is specially: described touch event respond module receives finger when touch-screen being clicked touch-screen or double-clicks touch-screen or the long event by touch-screen, message is pressed when touch-screen receives touch, then by the timing function G etTickCount64(of window system) obtain the time downTime of current touch screen, obtain the current coordinate position of virtual cursor simultaneously; When receiving touch release message, by timing function G etTickCount64() obtain the current time upTime discharging touch screen, obtain the current coordinate position of virtual cursor simultaneously; If upTime-downTime is less than the threshold value of window Operation system setting: click the timed interval, and virtual cursor current coordinate position is constant, then representing click event, click message to what cloud desktop sent a current virtual cursor present position, cloud desktop carries out clicking process; If upTime downTime is greater than clicks the timed interval, namely representing and touch long pressing, representing right button event, send the right button event message of current virtual cursor present position to cloud desktop, cloud desktop carries out right button process; If the timed interval that touch event is clicked for twice is less than the double-press time function G etDoubleClickTime(of window system) the double-press time value that obtains, then the double click event message of current virtual cursor present position is sent to cloud desktop; Cloud desktop carries out double click event process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310026044.7A CN103092518B (en) | 2013-01-24 | 2013-01-24 | A kind of mobile accurate touch control method of cloud desktop based on RDP agreement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310026044.7A CN103092518B (en) | 2013-01-24 | 2013-01-24 | A kind of mobile accurate touch control method of cloud desktop based on RDP agreement |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103092518A CN103092518A (en) | 2013-05-08 |
CN103092518B true CN103092518B (en) | 2016-06-01 |
Family
ID=48205150
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310026044.7A Active CN103092518B (en) | 2013-01-24 | 2013-01-24 | A kind of mobile accurate touch control method of cloud desktop based on RDP agreement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103092518B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105302331A (en) * | 2014-06-30 | 2016-02-03 | 惠州市德赛西威汽车电子股份有限公司 | Key acquisition method based on bus |
CN105786367A (en) * | 2014-12-18 | 2016-07-20 | 中兴通讯股份有限公司 | Virtual desktop display method and terminal |
CN106293304B (en) * | 2015-05-13 | 2019-06-28 | 北京智谷睿拓技术服务有限公司 | Interface operation method and device |
CN105727551A (en) * | 2016-01-29 | 2016-07-06 | 网易(杭州)网络有限公司 | Game attacking method and device for mobile terminal |
CN107273009B (en) * | 2017-05-27 | 2024-04-16 | 陕西彦强卓越电子科技有限责任公司 | Method and system for rapidly capturing screen of mobile terminal |
JP6923361B2 (en) * | 2017-05-29 | 2021-08-18 | 株式会社ミツトヨ | How to operate the position measuring device |
CN108008857A (en) * | 2017-12-04 | 2018-05-08 | 飞依诺科技(苏州)有限公司 | A kind of method and apparatus of moving focal point for touch-screen |
CN111367455B (en) * | 2018-12-25 | 2022-02-08 | 北京广联达云图梦想科技有限公司 | Touch screen human-computer interaction accurate positioning and measuring method |
CN109871249B (en) * | 2019-01-14 | 2021-08-24 | 平安科技(深圳)有限公司 | Remote desktop operation method and device, readable storage medium and terminal equipment |
CN111142775A (en) * | 2019-12-27 | 2020-05-12 | 王友位 | Gesture interaction method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408823A (en) * | 2008-11-18 | 2009-04-15 | 广东威创视讯科技股份有限公司 | Method for judging double clicks of touch screen |
CN102739887A (en) * | 2012-06-06 | 2012-10-17 | 广东欧珀移动通信有限公司 | Wireless control method based on touch-screen mobile phone |
-
2013
- 2013-01-24 CN CN201310026044.7A patent/CN103092518B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408823A (en) * | 2008-11-18 | 2009-04-15 | 广东威创视讯科技股份有限公司 | Method for judging double clicks of touch screen |
CN102739887A (en) * | 2012-06-06 | 2012-10-17 | 广东欧珀移动通信有限公司 | Wireless control method based on touch-screen mobile phone |
Also Published As
Publication number | Publication date |
---|---|
CN103092518A (en) | 2013-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103092518B (en) | A kind of mobile accurate touch control method of cloud desktop based on RDP agreement | |
US20180364865A1 (en) | Touch control method, user equipment, input processing method, mobile terminal and intelligent terminal | |
CN107436700B (en) | Data processing method and device | |
CN103324348A (en) | Windows desktop control method based on intelligent mobile terminals | |
CN103472996A (en) | Method and device for receiving touch in mobile device | |
US20130132878A1 (en) | Touch enabled device drop zone | |
CN107704157B (en) | Multi-screen interface operation method and device and storage medium | |
CN104750498B (en) | A kind of method and electronic equipment controlling mouse module | |
CN102419689A (en) | Method and system for transmitting file based on gesture swiping of touch screen | |
CN102819391B (en) | System and method of multi-point touch gesture feedback system with concurrency under multiple scenes | |
CN105824531A (en) | Method and device for adjusting numbers | |
CN103019518A (en) | Method of automatically adjusting human-computer interaction interface | |
JP2014527673A (en) | Widget processing method and apparatus, and mobile terminal | |
US20170177208A1 (en) | Systems and wearable devices and methods for operating a computer | |
WO2017032193A1 (en) | User interface layout adjustment method and apparatus | |
US20140145969A1 (en) | System and method for graphic object management in a large-display area computing device | |
TW201706822A (en) | Interface adjustment method and electronic device | |
CN101498984B (en) | Computer cursor control system and method for controlling cursor movement | |
CN104980801A (en) | Method and device for processing audio data/video data | |
CN102438029B (en) | Control method and system for realizing remote interaction of Android cell phones | |
CN103150116A (en) | RDP-based method for magnification display of cloud desktop | |
CN103472931A (en) | Method for operating simulation touch screen by mouse | |
CN102323864A (en) | Touch screen response method and device and terminal device | |
CN103809793A (en) | Information processing method and electronic device | |
US20140002404A1 (en) | Display control method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |