CN104252340A - Coordinate corresponding method - Google Patents

Coordinate corresponding method Download PDF

Info

Publication number
CN104252340A
CN104252340A CN201310260275.4A CN201310260275A CN104252340A CN 104252340 A CN104252340 A CN 104252340A CN 201310260275 A CN201310260275 A CN 201310260275A CN 104252340 A CN104252340 A CN 104252340A
Authority
CN
China
Prior art keywords
coordinate
electronic
scope
window
writing unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310260275.4A
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.)
KYE Systems Corp
Original Assignee
KYE Systems Corp
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 KYE Systems Corp filed Critical KYE Systems Corp
Priority to CN201310260275.4A priority Critical patent/CN104252340A/en
Publication of CN104252340A publication Critical patent/CN104252340A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a coordinate corresponding method. The coordinate corresponding method is applicable to an electronic writing unit which is connected to an electronic device and comprises the following steps of obtaining a window range and a window position of an application program on the electronic device; obtaining a writing range of the electronic writing unit; receiving first coordinates corresponding to a trigger event in the writing range; obtaining second coordinates according to the window range, the window position, the writing range and the first coordinates. Contents of the electronic writing unit can be mapped to the electronic device through the coordinate corresponding method.

Description

Coordinate corresponding method
Technical field
The present invention relates to a kind of coordinate corresponding method, particularly a kind of with the coordinate corresponding method of the corresponding electronic installation of electronic writing unit equal proportion.
Background technology
The technology of current hand-written touch-control is widely used in action electronic device, and general personal computer also can connect and writes the operation that plotting sheet carries out hand-written touch-control.More be proposed the device that can carry out hand-written touch-control on screen on the market, more popularize application and the operation of hand-written touch-control.Such as flat computer, intelligent mobile phone, writing plotting sheet and touch control screen, is all the electronic installation that user the most often utilizes hand-written touch-control.
And hand-written touch-control is most commonly used to the input of word on electronic installation, and note down in the person's handwriting that electronic installation carries out drawing.When carrying out text event detection, identification can be carried out with writing identifying system.And when carrying out the handwriting record of drawing, be then carry out storing with equal proportion and note down.
But when electronic installation being opened many application programs simultaneously, hand-written touch-control often cannot correspond to the size of application program.And the control of hand-written touch-control universe often, cannot for specific application program.The application program of signing if necessary, often can not carry out correspondence.
When application program needs equal proportion to carry out corresponding hand-written touch-control, application program possibly cannot obtain the hand-written touch-control of effective equal proportion, causes not exclusively corresponding or needs the window of convergent-divergent application program voluntarily.Therefore, the space that is still improved of the corresponding method of hand-written touch-control.
Summary of the invention
Because above problem, the object of the invention is to propose a kind of coordinate corresponding method, use when use electronic writing unit carries out hand-written touch-control, can equal proportion correspond in the application program of electronic installation, to increase the convenience of use.
The invention provides a kind of coordinate corresponding method, be suitable for the electronic writing unit being connected to electronic installation.This coordinate corresponding method comprises the following steps.Obtain form (window) scope and the viewing window position of application program on electronic installation.What obtain electronic writing unit writes scope.Receive the first coordinate writing corresponding trigger event in scope.According to window, viewing window position, write scope and the first coordinate, obtain the second coordinate.Export the second coordinate.
In one embodiment of this invention, aforementioned applications program is the program for having window interface.
In one embodiment of this invention, aforementioned viewing window position is the coordinate for application program X-axis and Y-axis on a display unit of electronic installation.
In one embodiment of this invention, the aforementioned scope of writing is the elemental area for electronic writing unit produces.
In one embodiment of this invention, aforementioned first coordinate is for correspondence writes the X-axis of scope and the coordinate of Y-axis.
In one embodiment of this invention, the position that aforementioned trigger event comprises the first coordinate on electronic writing unit receives the electronic signal that external touch-control produces.
In one embodiment of this invention, aforementioned foundation first coordinate, corresponding to the position of the scope of writing, is that the step that the corresponding window of starting point produces the second coordinate comprises the following steps with viewing window position.First coordinate obtains respective coordinates divided by the scope of writing.Respective coordinates is multiplied by window and obtains converted coordinate.And converted coordinate to add that viewing window position is be the second coordinate.
In one embodiment of this invention, the step of aforementioned output second coordinate more comprises the following steps.Electronic installation receives the second coordinate.And the position of corresponding second coordinate of the window of application program produces corresponding action.
Coordinate corresponding method disclosed by the present invention is window and the viewing window position by obtaining application program on electronic installation, and obtain electronic writing unit write scope, and receive the first coordinate writing corresponding trigger event in scope.Then, according to window, viewing window position, write scope and this first coordinate, obtain the second coordinate, then export the second coordinate to electronic installation.Thus, when carrying out action of writing or the plotting motion of hand-written touch-control in electronic writing unit, can the application program of corresponding electronic installation of equal proportion, to increase the convenience of use.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Accompanying drawing explanation
Fig. 1 is the block scheme of coordinate correspondence system according to an embodiment of the invention;
Fig. 2 is the process flow diagram of coordinate corresponding method according to an embodiment of the invention;
Fig. 3 is the detail flowchart of the step S205 of Fig. 2;
Fig. 4 is the example schematic of coordinate corresponding method according to an embodiment of the invention;
Fig. 5 a and Fig. 5 b is the example schematic of coordinate corresponding method according to another embodiment of the present invention.
Wherein, Reference numeral
1 coordinate correspondence system
10 electronic installations
101 application programs
20 electronic writing unit
1011 viewing window position
1012 window
20 electronic writing unit
201 write scope
40 electronic installations
41 application programs
411 window
412 viewing window position
42 electronic writing unit
421 first coordinates
422 write scope
50 electronic writing unit
501 write scope
502 first coordinates
52 application programs
521 window
522 viewing window position
523 second coordinates
Embodiment
Below detailed features of the present invention and advantage is described in embodiments in detail, its content is enough to make any relevant art of haveing the knack of understand technology contents of the present invention and implement according to this, and according to content, right and accompanying drawing that this instructions is invented, any relevant art of haveing the knack of can understand the object and advantage that the present invention is correlated with easily.Following embodiment further describes viewpoint of the present invention, but non-to limit category of the present invention anyways.
Refer to Fig. 1, it is the block scheme of coordinate correspondence system according to an embodiment of the invention.In figure, coordinate correspondence system 1 comprises electronic installation 10 and electronic writing unit 20.In this embodiment, electronic writing unit 20 is external in electronic installation 10, but does not limit in actual conditions for this reason, also can in be built in electronic installation 10.Electronic installation 10 is such as the electronic installations such as personal computer, mobile computer or desk-top computer, and electronic installation 10 comprises application program 101.Electronic writing unit 20 is such as Digital Drawing plate, and electronic writing unit 20 comprises the scope of writing 201.
Application program 101 is such as operating on form (window) program of operating system (Operating System), and application program 101 comprises viewing window position 1011 and window 1012.Viewing window position 1011 is the position that application program 101 is shown in electronic installation 10, and viewing window position 1011 take pixel as the two-dimensional coordinate of base unit, and to show starting point for reference point.This display starting point is the starting point of the display frame for electronic installation 10, and its detailed content will be addressed in following.Window 1012 is the area of application program 101, the length of this area and wide such as in units of pixel.Writing scope 201 is the areas can for writing for electronic writing unit 20, the length of this area and wide also such as in units of pixel.
Above-mentioned with the inner member of schematic illustration coordinate correspondence system 1 and couple relation, below citing is described the coordinate corresponding method being applied to coordinate correspondence system 1.
First, the viewing window position 1011 of application program 101 and window 1012 can be sent to electronic writing unit 20 by electronic installation 10.Viewing window position 1011 is such as (200,100), is the upper left corner of the display unit relative to electronic installation 10, and with X-axis, down 200 pixels and Y-axis are turned right the position of 100 pixels.Window 1012 is such as that 400 pixels are multiplied by 300 pixels (400x300), is 120,000 square.Electronic writing unit 20 obtains the scope of writing 201 of electronic writing unit 20, and writing scope 201 is such as that 800 pixels are multiplied by 600 pixels (800x600), is 480,000 square.
Electronic writing unit 20 is received in the first coordinate of corresponding trigger event position in the scope of writing 201, and trigger event is the electronic signal such as receiving the generation of external touch-control for electronic writing unit 20 being write scope 201, as touching or click.First coordinate is such as (480,240), is the upper left corner of the scope of writing 201 relative to electronic writing unit 20, and with X-axis, down 480 pixels and Y-axis are turned right the position of 240 pixels.Electronic writing unit 20 according to window 1012, viewing window position 1011, write scope 201 and the first coordinate, obtain the second coordinate.
In one embodiment, produce second sit calibration method be for, first the first coordinate is obtained respective coordinates divided by the scope of writing 201.Be 480,000 square by (480,240) of the first coordinate divided by the area of the scope of writing 201, obtain respective coordinates for (0.001,0.0005).And respective coordinates is multiplied by window 1012 and obtains converted coordinate, be 120,000 square (0.001,0.0005) of respective coordinates being multiplied by window 1012, then converted coordinate is (120,60).Converted coordinate is added that viewing window position 1011 is the second coordinate, then for converted coordinate is that (120,60) add that viewing window position 1011 is for (200,100), the second coordinate is (320,160) again.Thus, after electronic installation 10 receives the second coordinate by electronic writing unit 20, electronic installation 10 can carry out corresponding action as display style of writing by the second coordinate (320,160) on the display unit of corresponding electronic installation 10.And the drawing action of electronic writing unit 20, also can equal proportion correspond to position relative in application program 101 on electronic installation 10.
Refer to Fig. 2, it is the process flow diagram of coordinate corresponding method according to an embodiment of the invention.The coordinate corresponding method of the present embodiment is applicable to the electronic writing unit being connected to electronic installation, and please also refer to Fig. 1.In step s 201, window 1012 and the viewing window position 1011 of application program 101 sent by electronic installation 10.In step S202, electronic writing unit 20 obtains window 1012 and the viewing window position 1011 of application program 101 on electronic installation 10.In step S203, electronic writing unit 20 obtains the scope of writing 201 of electronic writing unit 20.In step S204, electronic writing unit 20 receives the first coordinate writing corresponding trigger event in scope.In step S205, according to the position of the first coordinate corresponding to the scope of writing 201, with viewing window position 1011 for the corresponding window 1012 of starting point produces the second coordinate.In step S206, electronic writing unit 20 exports the second coordinate.In step S207, electronic installation 10 receives the second coordinate.In step S208, the position of corresponding second coordinate of window 201 of application program 101 produces corresponding action.
Referring to Fig. 3, is the detail flowchart of the step S205 for Fig. 2.And please also refer to Fig. 1, in step S301, the first coordinate obtains respective coordinates divided by the scope of writing 201.In step s 302, respective coordinates is multiplied by window 1012 and obtains converted coordinate.In step S303, it is the second coordinate that converted coordinate adds that viewing window position 1011 is.
Referring to Fig. 4, is the example schematic of coordinate corresponding method according to an embodiment of the invention.In figure, electronic writing unit 42 is the interior contact panel being built in electronic installation 40.First, the viewing window position 412 of application program 41 and window 411 can be sent to electronic writing unit 42 by electronic installation 40.In this embodiment, application program 41 is such as drawing picture.Viewing window position 412 is such as (100,100), and viewing window position 412 is for using the upper left corner of display unit as display starting point, and by display starting point, with X-axis, down 100 pixels and Y-axis are turned right the position of 100 pixels.Window 411 is such as that 200 pixels are multiplied by 100 pixels (200x100), is 20,000 square.Electronic writing unit 42 obtains the scope of writing 422 of electronic writing unit 42, and writing scope 422 is such as that 400 pixels are multiplied by 200 pixels (400x200), is 80,000 square.
Electronic writing unit 42 is received in the first coordinate 421 of corresponding trigger event position in the scope of writing 422, and trigger event is the electronic signal such as receiving the generation of external touch-control for electronic writing unit 42 being write scope 422, as touching or click.First coordinate 421 is such as (100,60), is the upper left corner of the scope of writing 422 relative to electronic writing unit 42, and with X-axis, down 100 pixels and Y-axis are turned right the position of 60 pixels.Electronic writing unit 42 foundation first coordinates 421, corresponding to the position of the scope of writing 422, are that the corresponding window 411 of starting point produces the second coordinate 413 with viewing window position 412.
Then, the method producing the second coordinate 413 be for, first the first coordinate 421 is obtained respective coordinates divided by the scope of writing 422.Be 80,000 square by (100,60) of the first coordinate 421 divided by the area of the scope of writing 421, obtain respective coordinates for (0.00125,0.00075).And respective coordinates is multiplied by window 411 and obtains converted coordinate, being respective coordinates is 20,000 square that (0.00125,0.00075) is multiplied by window 411, then converted coordinate is (25,15).Converted coordinate is added that viewing window position 412 is the second coordinate 413, then for converted coordinate is (100,100) that (25,15) add viewing window position 412, the second coordinate 413 is (125,115) again.Thus, after electronic installation 40 receives the second coordinate by electronic writing unit 42, electronic installation 40 can the second coordinate 413 on corresponding electronic installation 40 be that (125,115) carry out corresponding action as display style of writing.And the drawing action of electronic writing unit 42, also can equal proportion correspond to position relative in application program 41 on electronic installation 40.
Referring to Fig. 5 a and Fig. 5 b, is the example schematic for coordinate corresponding method according to another embodiment of the present invention.In figure, electronic writing unit 50 is the Digital Drawing plates for being external in electronic installation.First, the viewing window position 522 of application program 52 and window 521 can be sent to electronic writing unit 50 by electronic installation.In this embodiment, application program 52 is such as plotter program.Viewing window position 522 is such as (400,400), and viewing window position 522 is for using the upper left corner of display unit as display starting point, and by display starting point, with X-axis, down 400 pixels and Y-axis are turned right the position of 400 pixels.Window 521 is such as that 800 pixels are multiplied by 600 pixels (800x600), is 480,000 square.Electronic writing unit 50 obtains the scope of writing 501 of electronic writing unit 50, and writing scope 501 is such as that 1600 pixels are multiplied by 1200 pixels (1600x1200), is 1,920,000 square.
Electronic writing unit 50 is received in the first coordinate 502 of corresponding trigger event position in the scope of writing 501, and trigger event is the electronic signal such as receiving the generation of external touch-control for electronic writing unit 50 being write scope 501, as touching or click.First coordinate 502 is such as (480,300), is the upper left corner of the scope of writing 501 relative to electronic writing unit 50, and with X-axis, down 480 pixels and Y-axis are turned right the position of 300 pixels.Electronic writing unit 50 foundation first coordinates 502, corresponding to the position of the scope of writing 501, are that the corresponding window 521 of starting point produces the second coordinate 523 with viewing window position 522.
Then, the method producing the second coordinate 523 be for, first the first coordinate 502 is obtained respective coordinates divided by the scope of writing 501.By the first coordinate 502 (480,300) divided by the scope of writing 501 area 1,920,000 square, obtains respective coordinates for (0.00025,0.00015625).And respective coordinates is multiplied by window 521 and obtains converted coordinate, be 480,000 square (0.00025,0.00015625) of respective coordinates being multiplied by window 521, then converted coordinate is (120,75).Converted coordinate is added that viewing window position 522 is the second coordinate 523, be then (400,400) that (120,75) of converted coordinate add viewing window position 522, the second coordinate 523 is (520,475) again.Thus, after electronic installation receives the second coordinate 523 by electronic writing unit 50, electronic installation (520,475) of the second coordinate 523 on corresponding electronic installation can carry out corresponding action as display style of writing.And the drawing action of electronic writing unit 50, also can equal proportion correspond to position relative in application program 52 on electronic installation.
Coordinate corresponding method disclosed by the present invention is window and the viewing window position by first obtaining application program on electronic installation, and obtain electronic writing unit write scope, and receive the first coordinate writing corresponding trigger event in scope.Then, according to window, viewing window position, write scope and this first coordinate, obtain the second coordinate, then export the second coordinate to electronic installation.Thus, when carrying out action of writing or the plotting motion of hand-written touch-control in electronic writing unit, can the application program of corresponding electronic installation of equal proportion, to increase the convenience of use.
Certainly; the present invention also can have other various embodiments; when not deviating from the present invention's spirit and essence thereof; those of ordinary skill in the art are when making various corresponding change and distortion according to the present invention, but these change accordingly and are out of shape the protection domain that all should belong to the claim appended by the present invention.

Claims (8)

1. a coordinate corresponding method, be applicable to the electronic writing unit being connected to an electronic installation, it is characterized in that, this coordinate corresponding method comprises:
Obtain a window and a viewing window position of an application program on this electronic installation;
Obtain this electronic writing unit one writes scope;
Receive one first coordinate that this writes a corresponding trigger event in scope;
According to this window, this viewing window position, this writes scope and this first coordinate, obtains one second coordinate; And
Export this second coordinate.
2. coordinate corresponding method according to claim 1, is characterized in that, this application program is the program for having window interface.
3. coordinate corresponding method according to claim 1, is characterized in that, this viewing window position is the coordinate for this application program X-axis and Y-axis on a display unit of this electronic installation.
4. coordinate corresponding method according to claim 1, is characterized in that, this scope of writing is the elemental area for this electronic writing unit produces.
5. coordinate corresponding method according to claim 1, is characterized in that, this first coordinate is the coordinate to the X-axis and Y-axis that should write scope.
6. coordinate corresponding method according to claim 1, is characterized in that, the position that this trigger event comprises this first coordinate on this electronic writing unit receives the electronic signal that external touch-control produces.
7. coordinate corresponding method according to claim 1, is characterized in that, according to according to this window, this viewing window position, this writes scope and this first coordinate, the step obtaining this second coordinate comprises:
This first coordinate obtains a respective coordinates divided by this scope of writing;
This respective coordinates is multiplied by this window and obtains a converted coordinate; And
It is this second coordinate that this converted coordinate adds that this viewing window position is.
8. coordinate corresponding method according to claim 1, is characterized in that, the step exporting this second coordinate more comprises:
This electronic installation receives this second coordinate; And
This window of this application program is to the position of the second coordinate producing corresponding action.
CN201310260275.4A 2013-06-26 2013-06-26 Coordinate corresponding method Pending CN104252340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310260275.4A CN104252340A (en) 2013-06-26 2013-06-26 Coordinate corresponding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310260275.4A CN104252340A (en) 2013-06-26 2013-06-26 Coordinate corresponding method

Publications (1)

Publication Number Publication Date
CN104252340A true CN104252340A (en) 2014-12-31

Family

ID=52187291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310260275.4A Pending CN104252340A (en) 2013-06-26 2013-06-26 Coordinate corresponding method

Country Status (1)

Country Link
CN (1) CN104252340A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105068727A (en) * 2015-08-18 2015-11-18 百度在线网络技术(北京)有限公司 Realization method and device for drawing tool
CN113253874A (en) * 2021-06-01 2021-08-13 北京有竹居网络技术有限公司 Display device control method, device, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402116A (en) * 2001-08-04 2003-03-12 三星电子株式会社 Device with touch screen using connected external apparatus for displaying information, and method thereof
US20070247435A1 (en) * 2006-04-19 2007-10-25 Microsoft Corporation Precise selection techniques for multi-touch screens
CN101178631A (en) * 2006-11-06 2008-05-14 三星电子株式会社 Computer system and method thereof
CN101963858A (en) * 2009-07-22 2011-02-02 义隆电子股份有限公司 Positiong method for controlling cursor on screen by using touch device
CN102393795A (en) * 2011-07-22 2012-03-28 惠州Tcl移动通信有限公司 Method for inputting handwritten information into computer by touch-screen mobile phone

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402116A (en) * 2001-08-04 2003-03-12 三星电子株式会社 Device with touch screen using connected external apparatus for displaying information, and method thereof
US20070247435A1 (en) * 2006-04-19 2007-10-25 Microsoft Corporation Precise selection techniques for multi-touch screens
CN101178631A (en) * 2006-11-06 2008-05-14 三星电子株式会社 Computer system and method thereof
CN101963858A (en) * 2009-07-22 2011-02-02 义隆电子股份有限公司 Positiong method for controlling cursor on screen by using touch device
CN102393795A (en) * 2011-07-22 2012-03-28 惠州Tcl移动通信有限公司 Method for inputting handwritten information into computer by touch-screen mobile phone

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105068727A (en) * 2015-08-18 2015-11-18 百度在线网络技术(北京)有限公司 Realization method and device for drawing tool
CN105068727B (en) * 2015-08-18 2018-09-04 百度在线网络技术(北京)有限公司 A kind of implementation method and device of drawing tool
CN113253874A (en) * 2021-06-01 2021-08-13 北京有竹居网络技术有限公司 Display device control method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
US20180364865A1 (en) Touch control method, user equipment, input processing method, mobile terminal and intelligent terminal
US10228835B2 (en) Method for displaying information, and terminal equipment
CN102119376B (en) Multidimensional navigation for touch-sensitive display
US20100031188A1 (en) Method for zooming image and electronic device using the same
EP2770422A2 (en) Method for providing a feedback in response to a user input and a terminal implementing the same
CN109471692B (en) Display control method and terminal equipment
CN103488419A (en) Operating method of communication terminal and communication terminal
WO2014047922A1 (en) Electronic device and method for controlling zooming of display object
CN102566908A (en) Electronic equipment and page zooming method for same
CN103631435B (en) For controlling the method and its electronic device of touch function
RU2014128244A (en) Providing an open instance of the application
WO2012095058A1 (en) Touch screen and input control method
US20140354583A1 (en) Method and apparatus for outputting display data based on a touch operation on a touch panel
CN109816759B (en) Expression generating method and device
CN107102805A (en) A kind of display methods and display device
CN107809531A (en) A kind of schedule creation method, mobile terminal
CN102314287A (en) Interactive display system and method
CN104252340A (en) Coordinate corresponding method
CN103150116A (en) RDP-based method for magnification display of cloud desktop
CN103383630A (en) Method for inputting touch and touch display apparatus
CN103558957A (en) Method and device for screen operation of mobile terminal
JP2019067111A (en) Display control device and program
CN103543824B (en) Gesture input system and method
TWI511028B (en) Coordinate corresponding method
CN101634929A (en) Method for utilizing controlled media conversion on digital photo frame

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141231

WD01 Invention patent application deemed withdrawn after publication