CN101655839B - Window selecting type instant translation system and method thereof - Google Patents

Window selecting type instant translation system and method thereof Download PDF

Info

Publication number
CN101655839B
CN101655839B CN2008102130413A CN200810213041A CN101655839B CN 101655839 B CN101655839 B CN 101655839B CN 2008102130413 A CN2008102130413 A CN 2008102130413A CN 200810213041 A CN200810213041 A CN 200810213041A CN 101655839 B CN101655839 B CN 101655839B
Authority
CN
China
Prior art keywords
program
mouse
module
window
literal
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
CN2008102130413A
Other languages
Chinese (zh)
Other versions
CN101655839A (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.)
IValley Holding Co., Ltd.
Original Assignee
Inventec 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 Inventec Corp filed Critical Inventec Corp
Priority to CN2008102130413A priority Critical patent/CN101655839B/en
Publication of CN101655839A publication Critical patent/CN101655839A/en
Application granted granted Critical
Publication of CN101655839B publication Critical patent/CN101655839B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a window selecting type instant translation system and a method thereof, which solve the problem that a user is perplexed due to the execution of instant translation on windows under all mice by establishing a set list comprising at least one first program and performing the instant translation on the window when sensing that a second program generating the window under the mouse belongs to the first program in the prior art so as to achieve the advantage that the instant translation is selectively executed according to the setting of the user.

Description

Window selecting type instant translation system and method thereof
Technical field
A kind of instant translation system and method thereof are meant a kind of window selecting type instant translation system and method thereof especially.
Background technology
In present translation software, except this basic function of literal that all has the translation input, the translation software of part also provides the function of " instant translation ".
Instant translation, in fact be exactly when mouse rests on certain position in the window, directly the literal on the mouse stop place is carried out the action of instant translation, and show the translation result of the literal that is translated at (literal that just is translated around) around the mouse, so, the user will not need to carry out extra complex operations, just can obtain the explanation of this literal.
Because the function of present instant translation can be translated the literal of all demonstrations, no matter just where mouse moves to, instant translation all can be performed, and demonstrates translation result.Yet, the above-mentioned rolling mouse that needs only will show that the convenience of translation result causes the user's of part inconvenience on the contrary, on all application programs, do not carry out instant translation because they are hope, show that when not wishing to carry out instant translation translation result may interfere with their operation behavior.For example, when carrying out a plurality of window application at the same time, the window that each window application produced can't nonoverlappingly be shown in the viewing area usually, therefore mouse is in the process that move the viewing area, may move to does not need to carry out on the window of instant translation, make the function of instant translation be performed and demonstrate translation result, disturbed when causing user's input characters.
In sum, prior art has been present in all windows the problem that instant translation causes user's puzzlement easily of carrying out always since the midium or long term as can be known, therefore is necessary to propose improved technological means, solves this problem.
Summary of the invention
Carry out the problem that instant translation causes user's puzzlement easily in all windows because prior art is present in, the present invention provides a kind of window selecting type instant translation system and method thereof then, wherein:
Window selecting type instant translation system provided by the present invention, it includes: setting module, in order to set first program of carrying out instant translation; Whether detecting module is moved in order to the detecting mouse; Judge module is used to detecting module and detects mouse when moving, judge second program whether belong to first program one of them, wherein, the window under the mouse is produced by second program; The literal acquisition module, be used to judge module judge second program belong to first program one of them time, acquisition is by literal that mouse indicated; Translation module is in order to the translation literal; Display module, translation result in order to display text, after it will carry out first program of instant translation by the setting module setting, second program that judge to produce the window of mouse position by judge module whether belong to first program one of them, if just carry out instant translation, thereby solve the existing in prior technology problem.
Window selecting type instant translation method provided by the present invention, it includes the following step: set first program of carrying out instant translation; Detecting is after mouse is moved, judge second program that produces mouse window down belong to first program one of them time, capture literal by mouse indicated; The translation literal; The translation result of display text, it is judged and carries out instant translation when first program comprises second program of the window that produces the mouse superposition by after setting first program of translating when carrying out, thereby solves the existing in prior technology problem.
System and method for provided by the present invention as above when the difference between itself and the prior art is to judge that being set first program that needs to carry out instant translation comprises second program that produces the window under the mouse, is just carried out instant translation.By above-mentioned technological means, the present invention can reach provides the user from the technique effect of ordering the program that needs the execution instant translation, has solved and has carried out the problem that instant translation causes user's puzzlement easily in the prior art.
Description of drawings
Fig. 1 is the system architecture diagram of the window selecting type instant translation system carried of the present invention.
Fig. 2 is the method flow diagram of the window selecting type instant translation method carried of the present invention.
Fig. 3 A is the synoptic diagram of not carrying out instant translation that the embodiment of the invention is carried.
Fig. 3 B is the synoptic diagram of the execution instant translation carried of the embodiment of the invention.
Embodiment
Describe detailed features of the present invention and embodiment in detail below with reference to drawings and Examples, content is enough to make any correlation technique person of being familiar with to understand the applied technological means of technical solution problem of the present invention easily and implements according to this, and understands and realize the accessible effect of the present invention.
The present invention is applied to carry out graphic user interface is arranged (Graphical User Interface, in operating system GUI) (hereinafter to be referred as graphical interfaces operating system), graphic user interface is meant the computation environment that adopts graphics mode display application program.
Graphic user interface shown picture when starting generally is referred to as " desktop (Desktop) ", can show the window that a plurality of window application produces on the table.
Window application is the elementary cell in graphic user interface, the user can be in window operating application program, for example carry out management, generation and the editor of data.
First program that the present invention carried and second program all are to belong to window application, and wherein, first program is the window application that is stored in the computer, might not be in executory state, and second program then is the window application of carrying out.
Following elder generation illustrates System Operation of the present invention with the system architecture diagram of the window selecting type instant translation system that Fig. 1 the present invention is carried.As shown in Figure 1, system of the present invention contains setting module 110, detecting module 120, judge module 130, literal acquisition module 160, translation module 170 and display module 180.
Setting module 110 is responsible for providing first program that the user sets needs to carry out the instant translation function, the quantity of first program is decided according to user's demand, can be for one or more, setting module 110 can initiatively be searched all programs in the graphical interfaces operating system earlier, or inquire about registered program to graphical interfaces operating system, thereby on graphical interfaces operating system, provide procedure Selection, to allow the user select which program need carry out the instant translation function, which program does not need, also can allow the program that the user adds voluntarily to be needed instant translation or do not need instant translation, but the setting that the present invention carried need be carried out the mode of first program of instant translation function and not exceed in the above described manner.
Setting module 110 also is responsible for after the user finishes the setting of first program that needs execution instant translation function, user's setting can be stored in as in the Storage Medias such as storer or hard disk, generally speaking, setting module 110 can store the program name of first program with a program listing, but the present invention is not as limit.
Whether the mouse that detecting module 120 is responsible in the detecting graphical interfaces operating system is moved by the user, wherein, (hook) is responsible for the program of mouse beacon on the first hook of detecting module 120 meetings in graphical interfaces operating system, when mouse is moved by the user, graphical interfaces operating system can be carried out the program of mouse beacon, detecting module 120 can read mouse coordinate at that time by the program of mouse beacon on the hook, and at this coordinate that reads and the coordinate that last time read not simultaneously, judge that mouse is moved by the user.
Carry out in the above-mentioned graphical interfaces operating system at least one second program is arranged, and provide second program to show the second program implementation result with patterned interface, wherein, each second program can produce separately independently window (window), and shows each second program implementation result by the window that each second program produces.
Graphical interfaces operating system also provides the user with Cursor Control Device (as Genius mouse etc.) the above-mentioned mouse moving of control, make the user in the shown picture of screen, to move arbitrarily by mouse beacon, wherein, mouse can be displayed on the superiors of graphical interfaces, that is to say, no matter where mouse moves to, mouse all can be displayed in the picture, that is when the position that mouse moves to has shown window, then mouse is presented at originally with on the window displayed, that is to say that the user can see that the mouse superposition is on original window.
Detecting module 120 also can just begin to detect the coordinate of mouse after receiving the execution signal, and judge whether mouse is moved by the user, wherein, carry out signal, for example press and carry out the startup button that has in the instant translation software of the present invention etc. usually by user's triggering for generating.
Judge module 130 is responsible for detecting after mouse moved by the user at detecting module 110, second program that judge to produce the window under the mouse position, first program whether be the user set by setting module 110 one of them, wherein, judge module 130 can be by the coordinate at mouse place after graphical interfaces operating system obtains by the information of the window of mouse institute superposition, judge generation by second program of the window under the mouse by the information of window, and the program listing that is produced with the program name of second program comparison setting module 110, when the program name of second program is present in the program listing that setting module 110 produced, judge module 130 can judge first program that second program sets for the user one of them, otherwise, if when the program name of second program was not present in the program listing that setting module 110 produced, judge module 130 can judge that second program does not belong to first program that the user sets.Wherein, judge module 130 judges that the mode whether second program is present among first program do not exceed with program name, also can use identifying information as program, deposit modes such as path and judge.
Literal acquisition module 160 be responsible for judge module 130 judge second program belong to first program one of them time, the acquisition literal that mouse indicated, wherein, redraw function on for example first hook of method of acquisition literal in (hook) second program, then send the signal of the coordinate points inefficacy of mouse position, make window interface operating system second program of indicating redraw the coordinate points of mouse position, just can be obtained the literal that mouse indicates by the data that redraw function on the hook by intercepting afterwards, but the method for the acquisition literal that the present invention carried is not as limit.
If judge module 130 is judged when second program does not belong to program in first program, literal acquisition module 160 will can not carried out, therefore will not have any literal by 160 acquisitions of literal acquisition module, so, follow-up translation module 170 and display module 180 can not carried out yet.
Translation module 170 is responsible for after literal acquisition module 160 captures the literal that mouse indicates, search the translation result of the corresponding literal that is captured by literal acquisition module 160 to the database, thereby finish interpretative function, but the interpretative system that the present invention carried is not as limit.
Display module 180 is responsible for the translation result that demonstration translation module 170 is found out.Generally speaking, by the translation result of the literal that captured can be presented at the floating frame of Pop-up mouse around, but the present invention shows that the mode of translation result is not as limit.
Then explain orally How It Works of the present invention, please refer to the method flow diagram of the window selecting type instant translation method that Fig. 2 the present invention carried with an embodiment, and simultaneously with reference to figure 3A and Fig. 3 B.
Suppose in the present embodiment in the shown display frame 300 of graphical interfaces operating system, two windows are arranged, be respectively first window 310 that is produced by copy editor's program and second window 320 that browser program produced.
The user is before using instant translation function provided by the present invention, need first setting will carry out the program (step 201) of instant translation, suppose that setting module 110 of the present invention can be listed in all first programs of registering in the graphical interfaces operating system, allow the user set in the mode of choosing, then setting module 110 can be to all registered first programs of program inquiring of graphical interfaces operating system, and obtaining all after first program of graphical interfaces operating system registration, the program name (even adding the file path of depositing each first program) that shows all first programs with inventory, and nuclear of demonstration is got square (checkbox) before program name, allow the user set first program that to carry out instant translation by the mode of choosing nuclear and getting square, in first program that this hypothesis user chooses, comprise browser program, and do not comprised copy editor's program.
After having chosen first program that to carry out instant translation the user, setting module 110 can save as an enactment document with the program name of first program that the user chose, the program listing that includes first program in the enactment document, thereby provide judge module 130 to use, but the present invention is not limited to store selected first program of user in the mode that program name is saved as enactment document.
Provide the user to set to carry out at setting module 110 (step 201) after first program of instant translation, whether detecting module 120 can be moved (step 220) by the user by the detecting mouse, when mouse moved to primary importance 341 by the somewhere, detecting module 120 can detect mouse because the coordinate at mouse place changes and be moved by the user.In addition, detecting module 120 also can be carried out signal (step 210) and just detected mouse afterwards receiving.
Detect after mouse is moved (step 220) at detecting module 120, judge module 130 can be to the information of first window 310 under the graphical interfaces operating system inquiry mouse, and judge module 130 can be " copy editor's program " by the program name of second program that obtains generation first window 310 in the information of first window 310 that inquires also.
Then, judge module 130 can read the stored enactment document of setting module 110, and judge the program name " copy editor's program " (step 230) that whether has comprised second program in the program name of first program that enactment document writes down, because the user does not choose copy editor's program, so set the program name that does not have " copy editor's program " in grade program listing that is comprised, therefore, the present invention will can not carry out instant translation as known instant translation program, thus, if as shown in Figure 3A, program during the user uses at present (program that shows in the superiors of " desktop " just) is a browser program, because the present invention can't carry out instant translation to the copy editor's program that (just is presented at the program than browser program lower floor) in the non-use, so the user is when using browser program, even mouse is moved on copy editor's program, literal acquisition module 160 of the present invention will can not capture the shown literal of copy editor's program, therefore translation module 170 can not carried out the function of translation literal, display module 180 can not produce the floating frame that shows translation result in the mode that ejects yet, thus can not cause the user on operating with visual puzzlement.
And when the user moved to the second place 342 with mouse by primary importance 341, detecting module 120 can be changed by the coordinate of mouse equally and detect mouse and moved (step 220) by the user.
Detect after mouse is moved to the second place 342 (step 220) at detecting module 120, judge module 130 can be to the information of second window 320 under the graphical interfaces operating system inquiry mouse, and judge module 130 can be " browser program " by the program name of second program that obtains generation second window 320 in the information of second window 320 that inquires also.
Then, judge module 130 can read the stored enactment document of setting module 110, and judge the program name " browser program " (step 230) that whether has comprised second program in the program name of first program that enactment document writes down, because having, the user chooses browser program for needing to carry out first program of instant translation, therefore the program name " browser program " of second program is included in the enactment document, thus judge module 130 can judge second program " browser program " belong to first program one of them.
Judging second program at judge module 130 is that first program is after one of them, literal acquisition module 160 can capture in the browser program, mouse indicates the literal " effectively " of (superposition), translation module 170 can capture literal " effectively " afterwards at literal acquisition module 160, translate literal " effectively " and produce literal " effectively " translation result " effective; In effect; Valid ".
Afterwards, display module 180 can be translated the translation result " effective that literal " effectively " are produced with translation module 170 so that floating frame 360 is ejected the mode that shows; In effect; Valid " be presented at around the mouse, make the user can obtain the translation result of instant translation, allow the user use the function that still has instant translation under the situation of the present invention.
In sum, when the difference between the present invention and the prior art is to have and judges second program that produces the window under the mouse and need carry out instant translation as can be known, just carry out the technological means of instant translation, can solve existing in prior technology by this technological means and in all windows, carry out instant translation and cause the problem of user's puzzlement easily, and then reach the user from the technique effect of ordering the program that needs to carry out instant translation.
Moreover window selecting type instant translation method of the present invention can be implemented in the combination of hardware, software or hardware and software, also can realize or intersperse among with different elements the dispersing mode of the computer system of several interconnected with centralized system and realize in computer system.
Though embodiment provided by the present invention as above, described content is not in order to direct qualification scope of patent protection of the present invention.Any persond having ordinary knowledge in the technical field of the present invention is not breaking away within the spirit and scope provided by the present invention, and the change or the retouching of doing on the formal and details of implementing all belong to scope of patent protection of the present invention.Therefore scope of patent protection of the present invention still must be as the criterion with claims.

Claims (10)

1. a window selecting type instant translation system is to be applied in the graphical interfaces operating system, and this instant translation system comprises:
One setting module is in order to set at least one first program of carrying out instant translation;
Whether one detecting module is moved in order to detect a mouse;
One judge module is used to this detecting module and detects this mouse when moving, judge one second program whether belong to those first programs one of them, wherein, the window under this mouse is produced by this second program;
One literal acquisition module, be used to this judge module judge this second program belong to those first programs one of them the time, acquisition is by literal that this mouse indicated;
One translation module is in order to translate this literal; And
One display module is in order to show the translation result of this literal.
2. window selecting type instant translation system as claimed in claim 1, it is characterized in that, this detecting module is control a program of this mouse in this graphical interfaces operating system on hook after, read the coordinate of this mouse, and in this coordinate and the coordinate that last time read not simultaneously, judge that this mouse is moved.
3. window selecting type instant translation system as claimed in claim 1, it is characterized in that, this judge module is the program name that is read this second program by the information of this window, and the program name of judging this second program one of them is identical with the program name of those first programs, with determine this second program whether belong to those first programs one of them.
4. whether window selecting type instant translation system as claimed in claim 1 is characterized in that, when this detecting module also is used to receive an execution signal, detects this mouse and be moved.
5. window selecting type instant translation system as claimed in claim 1, it is characterized in that, this literal acquisition module also is used to this judge module and judges when this second program does not belong to those first programs, finish to capture literal by this mouse indicated, make this translation module can not receive this literal, and this display module does not show this translation result.
6. a window selecting type instant translation method is to be applied in the graphical interfaces operating system, and this interpretation method comprises the following step:
Set at least one first program of carrying out instant translation;
After detecting a mouse and being moved, judge one second program that produces this mouse window down belong to those first programs one of them the time, capture literal by this mouse indicated;
Translate this literal; And
The translation result that shows this literal.
7. window selecting type instant translation method as claimed in claim 6 is characterized in that, detects the step that this mouse is moved and also comprises the following step:
A program of this mouse of control on the hook in this graphical interfaces operating system;
Read the coordinate of this mouse by this program; And
When this coordinate and the coordinate that last time read not simultaneously, judge that this mouse is moved.
8. window selecting type instant translation method as claimed in claim 6, it is characterized in that, it is to read the program name of this second program that this second program that this judgement produces this window belongs to one of them step of those first programs, and judges whether the program name of this second program is contained among the program name of those first programs.
9. window selecting type instant translation method as claimed in claim 6 is characterized in that, whether this method is detected this mouse and moved after also comprising reception one execution signal.
10. window selecting type instant translation method as claimed in claim 6 is characterized in that, this method also comprises judges when this second program does not belong to those first programs the step that end is carried out.
CN2008102130413A 2008-08-21 2008-08-21 Window selecting type instant translation system and method thereof Active CN101655839B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102130413A CN101655839B (en) 2008-08-21 2008-08-21 Window selecting type instant translation system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102130413A CN101655839B (en) 2008-08-21 2008-08-21 Window selecting type instant translation system and method thereof

Publications (2)

Publication Number Publication Date
CN101655839A CN101655839A (en) 2010-02-24
CN101655839B true CN101655839B (en) 2011-08-10

Family

ID=41710132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102130413A Active CN101655839B (en) 2008-08-21 2008-08-21 Window selecting type instant translation system and method thereof

Country Status (1)

Country Link
CN (1) CN101655839B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136285A (en) * 2011-12-05 2013-06-05 英顺源(上海)科技有限公司 Translation query and operation system used for handheld device and method thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776582A (en) * 2015-11-24 2017-05-31 英业达科技有限公司 Real-time translation system, method and computer-readable medium storing
CN105808257B (en) * 2016-03-08 2020-07-07 杭州朗和科技有限公司 Application popup identification method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1250915A (en) * 1998-10-09 2000-04-19 英业达股份有限公司 Instantaneous translation system
CN1685313A (en) * 2002-09-30 2005-10-19 陈宁萍 Pointer initiated instant bilingual annotation on textual information in an electronic document

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1250915A (en) * 1998-10-09 2000-04-19 英业达股份有限公司 Instantaneous translation system
CN1685313A (en) * 2002-09-30 2005-10-19 陈宁萍 Pointer initiated instant bilingual annotation on textual information in an electronic document

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开平11-85751A 1999.03.30

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136285A (en) * 2011-12-05 2013-06-05 英顺源(上海)科技有限公司 Translation query and operation system used for handheld device and method thereof

Also Published As

Publication number Publication date
CN101655839A (en) 2010-02-24

Similar Documents

Publication Publication Date Title
US9280451B2 (en) Testing device
CN101997561B (en) Data transfer method and system
CN102830963B (en) A kind of coupling screenshot method and system
US20130132878A1 (en) Touch enabled device drop zone
US9229552B2 (en) System and method for synchronized operation of touch device
AU2013287381A1 (en) Method and apparatus for controlling application by handwriting image recognition
CN105612495A (en) Automatically resolving conflicts after installation of selected updates in computer system
US10175954B2 (en) Method of processing big data, including arranging icons in a workflow GUI by a user, checking process availability and syntax, converting the workflow into execution code, monitoring the workflow, and displaying associated information
US20130332810A1 (en) Managing objects in panorama display to navigate spreadsheet
US9298594B2 (en) Testing apparatus and testing method
US8082513B2 (en) Method and system for saving images from web pages
CN103414737B (en) A kind of method and system carrying out input synchronization at equipment room
JP2012103786A (en) Test support device, control method, and program
CN104123031A (en) Pattern swapping method and multi-touch device thereof
US10394422B2 (en) Data interaction cards for capturing and replaying logic in visual analyses
CN101655839B (en) Window selecting type instant translation system and method thereof
CN109476014A (en) For engaging the testing touch screen platform of the target signature of dynamic positioning
CN102982569A (en) Distinction between editable guidance and non-editable guidance
CN103809840A (en) Method and device for operating terminal equipment and terminal equipment
CN104160370A (en) Image-based application automation
CN103218162A (en) Terminal operation method and device
US20150106152A1 (en) Continuously tracing issues through the lifecycle phases of a project
CN106201859A (en) A kind of regression testing method and system
CN102375667A (en) Method and device for positioning input focus
CN101996046A (en) Systems and methods for application management

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
ASS Succession or assignment of patent right

Owner name: I VALLEY HOLDINGS CO., LTD.

Free format text: FORMER OWNER: YINGYEDA CO., LTD., TAIWAN

Effective date: 20150724

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150724

Address after: Cayman Islands, George Town

Patentee after: IValley Holding Co., Ltd.

Address before: Taipei City, Taiwan Chinese Shilin District Hougang Street No. 66

Patentee before: Inventec Corporation