CN108595241A - A method of touch screen is virtualized - Google Patents

A method of touch screen is virtualized Download PDF

Info

Publication number
CN108595241A
CN108595241A CN201810371452.9A CN201810371452A CN108595241A CN 108595241 A CN108595241 A CN 108595241A CN 201810371452 A CN201810371452 A CN 201810371452A CN 108595241 A CN108595241 A CN 108595241A
Authority
CN
China
Prior art keywords
touch
target
screen
coordinate
region
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.)
Withdrawn
Application number
CN201810371452.9A
Other languages
Chinese (zh)
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.)
Suzhou Snail Digital Technology Co Ltd
Original Assignee
Suzhou Snail 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 Suzhou Snail Digital Technology Co Ltd filed Critical Suzhou Snail Digital Technology Co Ltd
Priority to CN201810371452.9A priority Critical patent/CN108595241A/en
Publication of CN108595241A publication Critical patent/CN108595241A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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

Abstract

A method of touch screen is virtualized, including data configuration stage and touch-responsive stage, which includes the following steps:It receives user identifier setting and touches transition region source, generate and preserve touch transition region source data;Identification marking target triggers region, generates and preserves target triggering area data;The touch-responsive stage includes the following steps:Touch event is monitored, confirmation operation is touching transition region source;Final trigger position is obtained as a result, confirming that target triggering region is effective;The final trigger position result is forwarded to target and triggers region, touch event is carried out and reports.The method for virtualizing touch screen of the present invention can select to press in user's more easily other positions by user setting, to realize that the button of designated position generates response, meet the demand of user individual operating position.

Description

A method of touch screen is virtualized
Technical field
The present invention relates to mobile terminal touch screen application field, especially a kind of method virtualizing touch screen.
Background technology
In the prior art, with the continuous development of artificial intelligence, touch screen is gradually general as a kind of means of human-computer interaction And still, the function button response position of existing touch-screen applications is consistent with the pressing position of touch screen, to the operative position of user It is equipped with and is limited, user individual operating position demand cannot be met, the personalization of touch screen application operating is grasped for user Make locational requirement, to propose the present invention.
Invention content
In order to solve the shortcomings of the prior art, touch screen is virtualized the purpose of the present invention is to provide a kind of Method, it is intended to solve function button operating position limitation problem of the user in touch-screen applications.
To achieve the above object, the present invention proposes the method for virtualizing touch screen, including, the data configuration stage With the touch-responsive stage,
The data configuration stage includes the following steps:
It receives user identifier setting and touches transition region source, generate and preserve touch transition region source data;
Identification marking target triggers region, generates and preserves target triggering area data;
The touch-responsive stage includes the following steps:
Touch event is monitored, confirmation operation is touching transition region source;
Final trigger position is obtained as a result, confirming that target triggering region is effective;
The final trigger position result is forwarded to target and triggers region, touch event is carried out and reports.
Further, touch transition region source data, including touching transition region in the position of screen, wherein this is touched Transition region is touched in the position of screen, to touch transition region in the location and range size of the X/Y axis of screen, the mark target The step of triggering region is by way of user identifier or system intelligent recognition, and mark target triggers region.
Further, which triggers area data, includes location and range of the target triggering region in the X/Y axis of screen Size.
Further, which triggers region, the step of generating and preserve target triggering area data, into one Step includes the following steps:
Touch screen receives user's active identification positioning target and triggers region;
Touch screen receives current application system Smart Logo positioning target and triggers region;
The target is triggered to the location and range size of the X/Y axis of the screen in region, target is formed and triggers area data.
Further, the monitoring touch event, includes the trigger position of the mark of event and event.
Further, which is touching transition region source, is according to the operation coordinate in touch screen operation message The touch transition region source data is searched, confirmation operation is to touch transition region source.
Further, it is opposite to be to look for trigger event operation coordinate for the step of acquisition final trigger position result It touches the corresponding target in transition region source and triggers regional location, and final trigger position knot is calculated with the trigger event coordinate Fruit.
Further, the step of acquisition final trigger position result, specific formula is as follows:
The coordinate in touch point opposed area source is(X-RawX1=startX1, Y-RawY1=startY1),
Wherein, X is the X-coordinate of area source touch point relative screen, RawX1 is area source boundary relative screen X-coordinate, StartX1 is the X-coordinate in touch point opposed area source, Y is the Y coordinate of area source touch point relative screen, RawY1 is area source The Y coordinate of boundary relative screen, the Y coordinate that startY1 is touch point opposed area,
Touch point is located at the coordinate of target area(StartX2+RawX2=resultX, startY2+RawY2=resultY),
Wherein, startX2 is the X-coordinate of touch point opposed area, RawX2 is target area boundaries relative screen X-coordinate, ResultX is the X-coordinate of target area touch point relative screen, startY2 is the Y coordinate of touch point opposed area, RawY2 is The Y coordinate of target area boundaries relative screen, the Y coordinate that resultY is target area touch point relative screen.
Further, which triggers the effective step in region, be confirm final trigger position result whether Target triggers in area data, is to think that target triggering region is effective.
The method provided by the invention for virtualizing touch screen, the touch screen use virtual touch screen side of the invention After method, then it can select to press in user's more easily other positions, to realize designated position by user setting Button generates response.
The present invention guides " touching transition region source " of user's set device touch screen by interaction, is then marked by user Know or system intelligent recognition current application designated position generates " target triggering region ", establishes corresponding transformational relation.To " target triggering region " position of application is transferred to after the touch screen message data of " touching transition region source " position is received, it is real The screen touch event location of existing " touching transition region source " position to " target triggering region " position is converted.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, and with the present invention's Embodiment together, for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the method flow diagram for virtualizing touch screen according to the present invention;
Fig. 2 is the method flow diagram that area data is triggered according to the acquisition target of the present invention.
Specific implementation mode
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that preferred reality described herein Apply example only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
Fig. 1 is according to the method flow diagram for virtualizing touch screen of the present invention, below with reference to Fig. 1, to this hair Bright the method that touch screen virtualizes is described in detail.
The method that touch screen is virtualized, including data configuration stage and touch-responsive stage.
Wherein, the data configuration stage further comprises the steps:
First, it in step 101, receives user identifier setting and touches transition region source position, obtain and touch transition region data. In the step, the touch transition region data of acquisition include the location and range size of the X/Y axis of screen.
In step 102, Mapping and Converting area source and key assignments are set, identification marking target triggers region, obtains and preserve mesh Mark triggering area data.In this step, the target of acquisition triggers area data, includes the location and range of the X/Y axis of screen Size, application system intelligent identification position the trigger position of mobile trigger position and technical ability according to different application dynamic.
Further, wherein the touch-responsive stage includes the following steps:
In step 103, all touch events of touch screen are monitored, generate touch screen operation message.In this step, bottom receives It is binary event to screen event, the form generated by different system conversion is also slightly different, and the content needed is substantially divided For:One be the event mark, including down(It presses)、move(It is mobile)、up(It lifts)、cancel(Event is cancelled), separately One be event trigger position, X/Y(Include the X/Y axis of relative screen), RawX/RawY(The X/Y axis in opposite triggering region).
In step 104, whether decision is touching transition region source, is if it is carrying out next step, otherwise carry out Normal touch event reports.
In this step, whether decision is touching transition region source, is according to the operation in touch screen operation message Coordinate searches existing predefined touch transition region source data;Coordinate is operated in predefined touch transition region source data In, then it is assumed that operation is to touch transition region source, otherwise it is assumed that operation is not touching transition region source.
In step 105, trigger event is intercepted, the position result in the operation coordinate relative touch transition region source is obtained.
In step 106, whether judgement target triggering region is effective, is to carry out next step, otherwise abandon touch event It reports.
In this step, the judgement target triggering whether effective specific method in region is:Establish touch transition region source with Target triggers the corresponding conversion relationship in region, finds the opposite corresponding mesh in touch transition region source of trigger event operation coordinate Mark triggering regional location, and final trigger position result is calculated with the trigger event coordinate;Judge the final trigger position As a result whether target trigger area data in, be think target triggering region it is effective, otherwise it is assumed that target trigger region without Effect, abandons the trigger event.
In this step, the coordinate in touch point opposed area source is(X-RawX1=startX1, Y-RawY1=startY1) It is located at the coordinate of target area with touch point(StartX2+RawX2=resultX, startY2+RawY2=resultY).Because The position that transition region source and target regional location is in screen is different, so the position obtained from transition region source needs to subtract Fall region and obtains relative position to screen position
(X-RawX1=startX1, Y-RawY1=startY1),
Wherein, X is the X-coordinate of area source touch point relative screen, RawX1 is area source boundary relative screen X-coordinate, StartX1 is the X-coordinate in touch point opposed area source, Y is the Y coordinate of area source touch point relative screen, RawY1 is area source The Y coordinate of boundary relative screen, the Y coordinate that startY1 is touch point opposed area,
It really executes and needs relative coordinate being added with the coordinate of target area at target area, just finally reported coordinate
(StartX2+RawX2=resultX, startY2+RawY2=resultY),
Wherein, startX2 is the X-coordinate of touch point opposed area, RawX2 is target area boundaries relative screen X-coordinate, ResultX is the X-coordinate of target area touch point relative screen, startY2 is the Y coordinate of touch point opposed area, RawY2 is The Y coordinate of target area boundaries relative screen, the Y coordinate that resultY is target area touch point relative screen.
In step 107, final trigger position result is forwarded to target and triggers region, touch event is carried out and reports.
Fig. 2 is the method flow diagram that area data is triggered according to the acquisition target of the present invention, below with reference to Fig. 2, to this The method of the acquisition target triggering area data of invention is described in detail.
In step 201, touch screen receives user's active identification positioning target and triggers region.
In step 202, touch screen receives current application system Smart Logo positioning target and triggers region.
In step 203, step 201 or the target of step 202 mark location are triggered to the position of the X/Y axis of the screen in region And range size, it forms target and triggers area data.
The method for virtualizing touch screen of the present invention, if in use, user sets in virtual rocking bar or technical ability It is to touch transition region source to set screen A points, and B points are the moving area of the virtual rocking bar of touch-screen applications(By user identifier or it is System intelligent recognition).The present invention can assist user, and in the operation of screen A points, then B points realize the virtual rocking bar movement of normal response, and A Touch transition region source event is intercepted(Then it is not responding to any touch event), to which user can be arranged in screen any position A points trigger region come the movement of virtual rocking bar or button for responding game application, realize personalized screens operating position demand.
Meaning touch screen virtualization of the invention realizes to include to be not limited in touch screen game application and virtual rocking bar or skill It is used in energy, different virtual touch screen schemes can be arranged according to different applications in virtual touch screen.Wherein in touch-screen applications In, for example there is the button of page turning on right side, it can also be real after left side operate to conversion by the setting of virtual touch screen The function of existing right side page turning.Promote the usage experience that user applies in mobile terminal touch screen
One of ordinary skill in the art will appreciate that:The foregoing is only a preferred embodiment of the present invention, is not used to limit The system present invention, although the present invention is described in detail referring to the foregoing embodiments, for those skilled in the art, Its technical solution that can be still recorded to foregoing embodiments is modified, or is equal to which part technical characteristic It replaces.All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in this hair Within bright protection domain.

Claims (9)

1. a kind of method virtualizing touch screen, including, data configuration stage and touch-responsive stage,
It is characterized in that,
The data configuration stage includes the following steps:
It receives user identifier setting and touches transition region source, generate and preserve touch transition region source data;
Identification marking target triggers region, generates and preserves target triggering area data;
The touch-responsive stage includes the following steps
Touch event is monitored, confirmation operation is touching transition region source;
Final trigger position is obtained as a result, confirming that target triggering region is effective;
The final trigger position result is forwarded to target and triggers region, touch event is carried out and reports.
2. the method according to claim 1 for virtualizing touch screen, which is characterized in that the touch transition region Source data, including touching transition region in the position of screen, wherein the touch transition region is in the position of screen, to touch Transition region is the mark by way of user identifier or system intelligent recognition in the location and range size of the X/Y axis of screen Target triggers region.
3. the method according to claim 1 for virtualizing touch screen, which is characterized in that the target triggers region Data include X/Y axis and range size of the target triggering region in screen.
4. the method according to claim 1 for virtualizing touch screen, which is characterized in that the identification marking target The step of triggering region, generate and preserving target triggering area data, further comprises the steps:
Touch screen receives user's active identification positioning target and triggers region;
Touch screen receives current application system Smart Logo positioning target and triggers region;
The target is triggered to the X/Y axis and range size of the screen in region, target is formed and triggers area data.
5. the method according to claim 1 for virtualizing touch screen, which is characterized in that the monitoring touches thing Part includes the trigger position of the mark of event and event.
6. the method according to claim 1 for virtualizing touch screen, which is characterized in that the confirmation operation is being touched Transition region source is touched, is that the touch transition region source data is searched according to the operation coordinate in touch screen operation message, confirms Operation is to touch transition region source.
7. the method according to claim 1 for virtualizing touch screen, which is characterized in that the final triggering of acquisition The step of position result, is to look for the opposite touch transition region source corresponding target triggering region of trigger event operation coordinate Position, and final trigger position result is calculated with the trigger event coordinate.
8. the method according to claim 7 for virtualizing touch screen, which is characterized in that the final triggering of acquisition The step of position result, specific formula are as follows:
The coordinate in touch point opposed area source is(X-RawX1=startX1, Y-RawY1=startY1),
Wherein, X is the X-coordinate of area source touch point relative screen, RawX1 is area source boundary relative screen X-coordinate, StartX1 is the X-coordinate in touch point opposed area source, Y is the Y coordinate of area source touch point relative screen, RawY1 is area source The Y coordinate of boundary relative screen, the Y coordinate that startY1 is touch point opposed area,
Touch point is located at the coordinate of target area(StartX2+RawX2=resultX, startY2+RawY2=resultY),
Wherein, startX2 is the X-coordinate of touch point opposed area, RawX2 is target area boundaries relative screen X-coordinate, ResultX is the X-coordinate of target area touch point relative screen, startY2 is the Y coordinate of touch point opposed area, RawY2 is The Y coordinate of target area boundaries relative screen, the Y coordinate that resultY is target area touch point relative screen.
9. the method according to claim 1 for virtualizing touch screen, which is characterized in that the confirmation target triggering The effective step in region is to confirm final trigger position result whether in target triggers area data, is to think that target is touched It is effective to send out region.
CN201810371452.9A 2018-04-24 2018-04-24 A method of touch screen is virtualized Withdrawn CN108595241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810371452.9A CN108595241A (en) 2018-04-24 2018-04-24 A method of touch screen is virtualized

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810371452.9A CN108595241A (en) 2018-04-24 2018-04-24 A method of touch screen is virtualized

Publications (1)

Publication Number Publication Date
CN108595241A true CN108595241A (en) 2018-09-28

Family

ID=63614842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810371452.9A Withdrawn CN108595241A (en) 2018-04-24 2018-04-24 A method of touch screen is virtualized

Country Status (1)

Country Link
CN (1) CN108595241A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314257A (en) * 2011-09-22 2012-01-11 中兴通讯股份有限公司 Touch device and user terminal
CN102968215A (en) * 2012-11-30 2013-03-13 广东威创视讯科技股份有限公司 Touch screen operating method and device
CN104298462A (en) * 2014-09-22 2015-01-21 广东欧珀移动通信有限公司 Method and device for operating intelligent terminal with one hand
CN104951223A (en) * 2014-03-28 2015-09-30 华为技术有限公司 Method and device for achieving magnifying lens on touch screen and host
CN105278853A (en) * 2014-12-16 2016-01-27 维沃移动通信有限公司 Mobile terminal manipulation method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314257A (en) * 2011-09-22 2012-01-11 中兴通讯股份有限公司 Touch device and user terminal
CN102968215A (en) * 2012-11-30 2013-03-13 广东威创视讯科技股份有限公司 Touch screen operating method and device
CN104951223A (en) * 2014-03-28 2015-09-30 华为技术有限公司 Method and device for achieving magnifying lens on touch screen and host
CN104298462A (en) * 2014-09-22 2015-01-21 广东欧珀移动通信有限公司 Method and device for operating intelligent terminal with one hand
CN105278853A (en) * 2014-12-16 2016-01-27 维沃移动通信有限公司 Mobile terminal manipulation method and mobile terminal

Similar Documents

Publication Publication Date Title
CN102053720B (en) Track equipment and input method thereof
CN103019596B (en) A kind of method and mobile terminal realizing operation of virtual key based on touch screen
CN102830930B (en) The processing method of a kind of keyboard, device and multimedia terminal
CN104793878B (en) A method of it realizing that mobile terminal quickly goes out by long-press touch screen and shields lock machine
CN104298400B (en) Intelligent ring and its method of controlling operation thereof
CN107273009A (en) A kind of method and system of the quick screenshotss of mobile terminal
CN104423629A (en) Electronic equipment and data processing method
CN102968245B (en) Mouse touches cooperative control method, device and Intelligent television interaction method, system
CN103324320A (en) Mode switching method and electronic device
CN108595241A (en) A method of touch screen is virtualized
CN104142742B (en) The touch control manner switching method of touch-controlled electronic devices and touch-controlled electronic devices
JP2014081800A (en) Handwriting input device and function control program
CN108733297A (en) A method of screenshotss are carried out by user gesture
CN103631408B (en) The treating method and apparatus of touch command
CN106331873A (en) Method and device for switching human-computer interaction interface of smart television
CN104615342B (en) A kind of information processing method and electronic equipment
CN103870195A (en) Information prompt method and electronic equipment
CN107562260B (en) A kind of method and device of touch control
CN106955489B (en) The exchange method and device of presentation of information in a kind of control mobile phone games
CN102929405B (en) A kind of remote control equipment of novel manipulation intelligent video terminal and implementation method
CN106155544A (en) The control method of a kind of terminal display and device
CN105630389B (en) A kind of information processing method and electronic equipment
CN104484117B (en) Man-machine interaction method and device
CN107515703A (en) A kind of state prompt method and electronic equipment
CN103902045A (en) Method and device for operating wallpaper via non-contact postures

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180928