CN105183724A - Translation method and electronic device - Google Patents

Translation method and electronic device Download PDF

Info

Publication number
CN105183724A
CN105183724A CN201510640697.3A CN201510640697A CN105183724A CN 105183724 A CN105183724 A CN 105183724A CN 201510640697 A CN201510640697 A CN 201510640697A CN 105183724 A CN105183724 A CN 105183724A
Authority
CN
China
Prior art keywords
word
webpage
window
user
translation
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
CN201510640697.3A
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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510640697.3A priority Critical patent/CN105183724A/en
Publication of CN105183724A publication Critical patent/CN105183724A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a translation method. The translation method comprises the steps of determining characters selected by a user on a first web page based on selection operation by the user on the first web page; outputting a first window near the characters, wherein a preset button is displayed in the first window; detecting whether there is triggering operation for triggering the preset button; and if the triggering operation is detected, outputting translations corresponding to the characters. According to the translation method, when met with unacquainted foreign languages during web page browsing, the user can acquire the translations corresponding to the foreign languages conveniently and quickly, and accordingly the user experience is improved. The invention further discloses an electronic device.

Description

A kind of interpretation method and electronic equipment
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of interpretation method and electronic equipment.
Background technology
Along with the development of science and technology, computing machine is extensively popularized, and brings many facilities to the work of people and life.People can use computer disposal document, surf the web, play games, listen to the music, control commercial production etc.
People browse in webpage process at use computing machine, often can run into unacquainted foreign language word (such as: English word, phrase, sentence etc.).At present, the common solution of people is: choose this part foreign language word, copy this part foreign language word, open searched page or local dictionary, the foreign language word copied pasted in searched page or local dictionary, click search button or inquire button, thus obtain Chinese translation corresponding to this foreign language word.But in this process, user needs to carry out choosing, copies, opens multiple operation steps such as searched page or local dictionary, stickup, click search or inquire button, could obtain translation, complex operation, very inconvenient.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the interpretation method solved the problem at least in part and electronic equipment.
One aspect of the present invention, provides a kind of interpretation method, comprising:
That carries out on the first webpage based on user draws selection operation, and described first webpage is determined the word that described user chooses;
Near described word, export first window, in described first window, show a pre-set button;
Detect the trigger action whether had for triggering described pre-set button;
If described trigger action detected, then export the translation that described word is corresponding.
Preferably, the described stroke selection operation carried out on the first webpage based on user, before described first webpage is determined the word that described user chooses, also comprises:
Selection operation is drawn described in acquisition user carries out on described first webpage.
Preferably, describedly near described word, export first window, comprising:
Described first window is exported in the upper left corner of described word or the upper right corner.
Preferably, in described first window, show multiple button, described pre-set button belongs to described multiple button, and shows in described pre-set button for representing the mark translated described word.
Preferably, whether described detection has the trigger action for triggering described pre-set button, comprising:
Detect and whether have the clicking operation clicking described pre-set button; Or
Detect and whether have the hover operation of mouse pointer in described pre-set button.
Preferably, described trigger action detected if described, then export the translation that described word is corresponding, comprising:
If described trigger action detected, then using described word as key word, obtain translation corresponding to described word by search engine, and export translation corresponding to described word; Or
If described trigger action detected, then from local dictionary, obtain translation corresponding to described word, and export translation corresponding to described word.
Preferably, the translation that the described word of described output is corresponding, comprising:
Export translation corresponding to described word by Second Window, described Second Window is different from described first window; Or
Export translation corresponding to described word by the second webpage, described second webpage is different from described first webpage.
Another aspect of the present invention, provides a kind of electronic equipment, comprising:
Determination module, draws selection operation for what carry out on the first webpage based on user, described first webpage is determined the word that described user chooses;
First output module, for exporting first window near described word, shows a pre-set button in described first window;
Detection module, for detecting the trigger action whether had for triggering described pre-set button;
Second output module, if for described trigger action being detected, then export the translation that described word is corresponding.
Preferably, described electronic equipment, also comprises:
Acquisition module, for the described stroke selection operation carried out on the first webpage based on user, before described first webpage is determined the word that described user chooses, draws selection operation described in acquisition user carries out on described first webpage.
Preferably, described first output module, specifically for:
Described first window is exported in the upper left corner of described word or the upper right corner.
Preferably, in described first window, show multiple button, described pre-set button belongs to described multiple button, and shows in described pre-set button for representing the mark translated described word.
Preferably, described detection module, specifically for:
Detect and whether have the clicking operation clicking described pre-set button; Or
Detect and whether have the hover operation of mouse pointer in described pre-set button.
Preferably, described second output module, specifically for:
If described trigger action detected, then using described word as key word, obtain translation corresponding to described word by search engine, and export translation corresponding to described word; Or
If described trigger action detected, then from local dictionary, obtain translation corresponding to described word, and export translation corresponding to described word.
Preferably, described second output module, specifically for:
Export translation corresponding to described word by Second Window, described Second Window is different from described first window; Or
Export translation corresponding to described word by the second webpage, described second webpage is different from described first webpage.
The technical scheme provided in the embodiment of the present application, at least has following technique effect or advantage:
In the embodiment of the present application, have employed stroke selection operation carried out on the first webpage based on user, first webpage is determined the word that user chooses, first window is exported near described word, a pre-set button is shown in first window, detecting the trigger action whether had for triggering pre-set button, if trigger action detected, then exporting the translation that described word is corresponding.Visible, user is when browsing webpage and running into unacquainted foreign language, only need to choose this foreign language by drawing selection operation, a pre-set button (" translation " button) two operation stepss are triggered again by trigger action, the translation that this foreign language is corresponding can be obtained, so, efficiently solve in prior art user browse webpage run into unacquainted foreign language time, need multiple operation steps could obtain translation corresponding to this foreign language, the technical matters of complex operation.Achieve user browse webpage run into unacquainted foreign language time, translation corresponding to this foreign language can be obtained quickly and easily, thus improve the technique effect of user experience.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention process flow diagram of interpretation method;
Fig. 2 shows a kind of according to an embodiment of the invention structural drawing of electronic equipment.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Embodiments provide a kind of interpretation method and electronic equipment, in order to overcome or solve at least in part in prior art user browse webpage run into unacquainted foreign language time, need multiple operation steps could obtain translation corresponding to this foreign language, the technical matters of complex operation.
Present embodiments provide a kind of interpretation method, be applied in electronic equipment, this electronic equipment can be desktop computer, notebook computer, panel computer, smart mobile phone etc., and for this electronic equipment specifically which kind of electronic equipment, the present embodiment is not specifically limited.This electronic equipment comprises a display, and for displays image information, wherein, for desktop computer and notebook computer, this display can not have touch controllable function, and user can carry out man-machine interaction by mouse, keyboard; For panel computer and smart mobile phone, this display should have touch controllable function, and user can carry out man-machine interaction by the display (that is: touch-screen) with touch controllable function.Be provided with a browser in this electronic equipment, user can be surfed the Net by this browser.
The interpretation method introduced in the present embodiment, its executive agent is above-mentioned electronic equipment, is specifically as follows the browser be arranged in electronic equipment.
As shown in Figure 1, present embodiments provide a kind of interpretation method, comprising:
Step S101: that carries out on the first webpage based on user draws selection operation, and the first webpage is determined the word (such as: foreign language word, foreign language phrase, foreign language sentence) that user chooses.
As the optional embodiment of one, before step S101, also comprise: obtain stroke selection operation of user on the first webpage.
For example, user use desktop computer (or notebook computer) browse the first webpage run into unacquainted foreign language word time, user can by clicking the mouse left button paddling mouse pointer, to be chosen by unacquainted foreign language word.Accordingly, desktop computer (or notebook computer) can acquire user by mouse and draw selection operation, particularly, the change of the left click event of mouse the position of combined mouse pointer can be detected, determine that user carries out drawing the word chosen of selection operation on the first webpage.
For example, when user uses smart mobile phone (or panel computer) to browse the first webpage, user directly can carry out drawing selection operation on the touchscreen and choose unacquainted foreign language word on the first webpage.Accordingly, smart mobile phone (or panel computer) can obtain user and carry out on the touchscreen drawing the position of selection operation by detecting, and based on the position of this stroke of selection operation determine user-selected in foreign language word.
Step S102: export first window near word, shows a pre-set button in first window.
As the optional embodiment of one, after determining the word that user chooses, create first window, and the upper left corner of the word chosen user or this first window of upper right corner output display, this first window can be native window.
As the optional embodiment of one, multiple button is shown in this first window, these buttons are for realizing different functions, and these buttons comprise one for realizing the pre-set button of interpretative function, and show in pre-set button for representing the mark translated word.
For example, the Copy button, " search " button, " translation " button is shown in first window, wherein, the Copy button is used for copying the word that user chooses, " search " button is searched for the word chosen for utilizing search engine, " translation " button is used for translating the word that user chooses, and should be described pre-set button by " translation " button.
Step S103: detect the trigger action whether had for triggering pre-set button.
As the optional embodiment of one, this trigger action can be the clicking operation that user performs.
For example, when user uses desktop computer (or notebook computer) to browse webpage, user can click this pre-set button by the mouse be connected with desktop computer (or notebook computer), to trigger this pre-set button.Accordingly, desktop computer (or notebook computer) can detect user and whether click this pre-set button by mouse, if detect, user clicks this pre-set button, be then considered as the trigger action detected for triggering pre-set button.
For example, when user browses webpage by smart mobile phone (or panel computer), user can click this pre-set button by the touch-screen of smart mobile phone (or panel computer), to trigger this pre-set button.Accordingly, smart mobile phone (or panel computer) can obtain the position that user clicks, judge whether the position that user clicks belongs in the viewing area of pre-set button, if belong to, then determine that user clicks this pre-set button, be then considered as the trigger action detected for triggering pre-set button.
As the optional embodiment of one, this trigger action can also be the hover operation of user's mouse beacon pointer in pre-set button.
For example, when user uses desktop computer (or notebook computer) to browse webpage, the mouse pointer that user can use mouse control to show over the display hovers, to trigger this pre-set button in this pre-set button.Now, such as, if electronic equipment detects this hover operation (that is: the mouse pointer time rested in this pre-set button is greater than a preset time value, stops more than 1 second), then the trigger action detected for triggering pre-set button can be considered as.
Step S104: if trigger action detected, then the translation that output character is corresponding.
As the optional embodiment of one, if trigger action detected, then the word chosen using user, as key word, is searched for by search engine, obtains the translation choosing word corresponding, and exports corresponding translation.Such as: can be searched for by " searching well " search engine or " bing " search engine, obtain the translation that word that user chooses is corresponding, then the translation that output character is corresponding.Herein, for described search engine specifically which kind of search engine, the present embodiment is not specifically limited.
As the optional embodiment of one, if trigger action detected, then from local dictionary, obtain translation corresponding to word, and the translation that output character is corresponding.Such as: installation local dictionary in the electronic device (such as: have dictionary, Kingsoft Powerword etc.) can be utilized to carry out query translation, obtain the translation that word is corresponding, then the translation that output character is corresponding.Herein, for described local dictionary specifically which kind of dictionary, the present embodiment is not specifically limited.
As the optional embodiment of one, when obtaining the translation choosing word corresponding, the translation rule can preset based on is translated.
Citing is incited somebody to action, and arbitrary foreign language word (that is: being different from the word of Chinese) all can be translated into Chinese, wherein, comprise " English-Chinese " translation, " Japanese-Chinese " translate, " Korean-Chinese " translation ", " Russian-Chinese " translate, etc.Also arbitrary foreign language word (that is: being different from English word) all can be translated into English, wherein, comprise " Chinese-English " translation, " Japanese-English " is translated, and " Korean-English ", " Russian-Chinese " are translated, etc.
As the optional embodiment of one, when the translation that output character is corresponding, can pass through translation corresponding to the second webpage output character, the second webpage is different from the first webpage, such as: can newly create the second webpage, and export translation on the second webpage.
As the optional embodiment of one, when the translation that output character is corresponding, can pass through translation corresponding to Second Window output character, wherein, Second Window is different from first window.
For example, Second Window can be created near first window, and export translation by Second Window.And after the translation corresponding by Second Window output character, if detect, user clicks the region beyond Second Window, then nullify first window and Second Window, make first window and Second Window no longer show.Like this, after user sees translation, can, by clicking the region beyond Second Window, first window and Second Window be disappeared.
Based on above-mentioned interpretation method, present invention also offers a kind of electronic equipment, as shown in Figure 2, comprising:
Determination module 201, draws selection operation for what carry out on the first webpage based on user, described first webpage is determined the word that described user chooses;
First output module 202, for exporting first window near described word, shows a pre-set button in described first window;
Detection module 203, for detecting the trigger action whether had for triggering described pre-set button;
Second output module 204, if for described trigger action being detected, then export the translation that described word is corresponding.
As the optional embodiment of one, described electronic equipment, also comprises:
Acquisition module, for the described stroke selection operation carried out on the first webpage based on user, before described first webpage is determined the word that described user chooses, draws selection operation described in acquisition user carries out on described first webpage.
As the optional embodiment of one, the first output module 202, specifically for:
Described first window is exported in the upper left corner of described word or the upper right corner.
As the optional embodiment of one, in described first window, show multiple button, described pre-set button belongs to described multiple button, and shows in described pre-set button for representing the mark translated described word.
As the optional embodiment of one, detection module 203, specifically for:
Detect and whether have the clicking operation clicking described pre-set button; Or
Detect and whether have the hover operation of mouse pointer in described pre-set button.
As the optional embodiment of one, the second output module 204, specifically for:
If described trigger action detected, then using described word as key word, obtain translation corresponding to described word by search engine, and export translation corresponding to described word; Or
If described trigger action detected, then from local dictionary, obtain translation corresponding to described word, and export translation corresponding to described word.
As the optional embodiment of one, the second output module 204, specifically for:
Export translation corresponding to described word by Second Window, described Second Window is different from described first window; Or
Export translation corresponding to described word by the second webpage, described second webpage is different from described first webpage.
The electronic equipment introduced due to the present embodiment is for implementing the device that in the embodiment of the present application, interpretation method adopts, so based on the interpretation method introduced in the embodiment of the present application, those skilled in the art can understand embodiment and its various version of the electronic equipment of the present embodiment, so introduce no longer in detail at this interpretation method how realized in the embodiment of the present application for this electronic equipment.As long as those skilled in the art implement the device that interpretation method in the embodiment of the present application adopts, all belong to the application for protection scope.
The technical scheme provided in the embodiment of the present application, at least has following technique effect or advantage:
In the embodiment of the present application, have employed stroke selection operation carried out on the first webpage based on user, first webpage is determined the word that user chooses, first window is exported near described word, a pre-set button is shown in first window, detecting the trigger action whether had for triggering pre-set button, if trigger action detected, then exporting the translation that described word is corresponding.Visible, user is when browsing webpage and running into unacquainted foreign language, only need to choose this foreign language by drawing selection operation, a pre-set button (" translation " button) two operation stepss are triggered again by trigger action, the translation that this foreign language is corresponding can be obtained, so, efficiently solve in prior art user browse webpage run into unacquainted foreign language time, need multiple operation steps could obtain translation corresponding to this foreign language, the technical matters of complex operation.Achieve user browse webpage run into unacquainted foreign language time, translation corresponding to this foreign language can be obtained quickly and easily, thus improve the technique effect of user experience.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although to comprise in other embodiment some included feature instead of further feature in this some embodiments, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in gateway according to the embodiment of the present invention, proxy server, system.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses A1, a kind of interpretation method, comprising:
That carries out on the first webpage based on user draws selection operation, and described first webpage is determined the word that described user chooses;
Near described word, export first window, in described first window, show a pre-set button;
Detect the trigger action whether had for triggering described pre-set button;
If described trigger action detected, then export the translation that described word is corresponding.
A2, interpretation method as described in A1, is characterized in that, described carry out on the first webpage based on user draw selection operation, before described first webpage is determined the word that described user chooses, also comprise:
Selection operation is drawn described in acquisition user carries out on described first webpage.
A3, interpretation method as described in A1, is characterized in that, describedly near described word, exports first window, comprising:
Described first window is exported in the upper left corner of described word or the upper right corner.
A4, interpretation method as described in A1, it is characterized in that, in described first window, show multiple button, described pre-set button belongs to described multiple button, and shows in described pre-set button for representing the mark translated described word.
A5, interpretation method as described in A1, it is characterized in that, whether described detection has the trigger action for triggering described pre-set button, comprising:
Detect and whether have the clicking operation clicking described pre-set button; Or
Detect and whether have the hover operation of mouse pointer in described pre-set button.
A6, interpretation method as described in A1, is characterized in that, described trigger action detected if described, then export the translation that described word is corresponding, comprising:
If described trigger action detected, then using described word as key word, obtain translation corresponding to described word by search engine, and export translation corresponding to described word; Or
If described trigger action detected, then from local dictionary, obtain translation corresponding to described word, and export translation corresponding to described word.
A7, as arbitrary in A1 ~ A6 as described in interpretation method, it is characterized in that the translation that the described word of described output is corresponding comprises:
Export translation corresponding to described word by Second Window, described Second Window is different from described first window; Or
Export translation corresponding to described word by the second webpage, described second webpage is different from described first webpage.
B8, a kind of electronic equipment, is characterized in that, comprising:
Determination module, draws selection operation for what carry out on the first webpage based on user, described first webpage is determined the word that described user chooses;
First output module, for exporting first window near described word, shows a pre-set button in described first window;
Detection module, for detecting the trigger action whether had for triggering described pre-set button;
Second output module, if for described trigger action being detected, then export the translation that described word is corresponding.
B9, electronic equipment as described in B8, it is characterized in that, described electronic equipment, also comprises:
Acquisition module, for the described stroke selection operation carried out on the first webpage based on user, before described first webpage is determined the word that described user chooses, draws selection operation described in acquisition user carries out on described first webpage.
B10, electronic equipment as described in B8, is characterized in that, described first output module, specifically for:
Described first window is exported in the upper left corner of described word or the upper right corner.
B11, electronic equipment as described in B8, it is characterized in that, in described first window, show multiple button, described pre-set button belongs to described multiple button, and shows in described pre-set button for representing the mark translated described word.
B12, method as described in B8, is characterized in that, described detection module, specifically for:
Detect and whether have the clicking operation clicking described pre-set button; Or
Detect and whether have the hover operation of mouse pointer in described pre-set button.
B13, electronic equipment as described in B8, is characterized in that, described second output module, specifically for:
If described trigger action detected, then using described word as key word, obtain translation corresponding to described word by search engine, and export translation corresponding to described word; Or
If described trigger action detected, then from local dictionary, obtain translation corresponding to described word, and export translation corresponding to described word.
B14, as arbitrary in B8 ~ B13 as described in electronic equipment, it is characterized in that, described second output module, specifically for:
Export translation corresponding to described word by Second Window, described Second Window is different from described first window; Or
Export translation corresponding to described word by the second webpage, described second webpage is different from described first webpage.

Claims (10)

1. an interpretation method, is characterized in that, comprising:
That carries out on the first webpage based on user draws selection operation, and described first webpage is determined the word that described user chooses;
Near described word, export first window, in described first window, show a pre-set button;
Detect the trigger action whether had for triggering described pre-set button;
If described trigger action detected, then export the translation that described word is corresponding.
2. interpretation method as claimed in claim 1, is characterized in that, the described stroke selection operation carried out on the first webpage based on user, before described first webpage is determined the word that described user chooses, also comprises:
Selection operation is drawn described in acquisition user carries out on described first webpage.
3. interpretation method as claimed in claim 1, is characterized in that, describedly near described word, exports first window, comprising:
Described first window is exported in the upper left corner of described word or the upper right corner.
4. interpretation method as claimed in claim 1, it is characterized in that, in described first window, show multiple button, described pre-set button belongs to described multiple button, and shows in described pre-set button for representing the mark translated described word.
5. interpretation method as claimed in claim 1, it is characterized in that, whether described detection has the trigger action for triggering described pre-set button, comprising:
Detect and whether have the clicking operation clicking described pre-set button; Or
Detect and whether have the hover operation of mouse pointer in described pre-set button.
6. interpretation method as claimed in claim 1, is characterized in that, described trigger action detected if described, then export the translation that described word is corresponding, comprising:
If described trigger action detected, then using described word as key word, obtain translation corresponding to described word by search engine, and export translation corresponding to described word; Or
If described trigger action detected, then from local dictionary, obtain translation corresponding to described word, and export translation corresponding to described word.
7. the interpretation method as described in as arbitrary in claim 1 ~ 6, is characterized in that the translation that the described word of described output is corresponding comprises:
Export translation corresponding to described word by Second Window, described Second Window is different from described first window; Or
Export translation corresponding to described word by the second webpage, described second webpage is different from described first webpage.
8. an electronic equipment, is characterized in that, comprising:
Determination module, draws selection operation for what carry out on the first webpage based on user, described first webpage is determined the word that described user chooses;
First output module, for exporting first window near described word, shows a pre-set button in described first window;
Detection module, for detecting the trigger action whether had for triggering described pre-set button;
Second output module, if for described trigger action being detected, then export the translation that described word is corresponding.
9. electronic equipment as claimed in claim 8, it is characterized in that, described electronic equipment, also comprises:
Acquisition module, for the described stroke selection operation carried out on the first webpage based on user, before described first webpage is determined the word that described user chooses, draws selection operation described in acquisition user carries out on described first webpage.
10. electronic equipment as claimed in claim 8, is characterized in that, described first output module, specifically for:
Described first window is exported in the upper left corner of described word or the upper right corner.
CN201510640697.3A 2015-09-30 2015-09-30 Translation method and electronic device Pending CN105183724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510640697.3A CN105183724A (en) 2015-09-30 2015-09-30 Translation method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510640697.3A CN105183724A (en) 2015-09-30 2015-09-30 Translation method and electronic device

Publications (1)

Publication Number Publication Date
CN105183724A true CN105183724A (en) 2015-12-23

Family

ID=54905813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510640697.3A Pending CN105183724A (en) 2015-09-30 2015-09-30 Translation method and electronic device

Country Status (1)

Country Link
CN (1) CN105183724A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760542A (en) * 2016-03-15 2016-07-13 腾讯科技(深圳)有限公司 Display control method, terminal and server
CN107632849A (en) * 2016-07-14 2018-01-26 广州市动景计算机科技有限公司 Client and page data resolver and method
CN109388810A (en) * 2018-08-31 2019-02-26 北京搜狗科技发展有限公司 A kind of data processing method, device and the device for data processing
CN109933258A (en) * 2019-02-13 2019-06-25 北京三快在线科技有限公司 Information display method, device, electronic equipment and readable storage medium storing program for executing
CN110362370A (en) * 2019-06-14 2019-10-22 平安科技(深圳)有限公司 A kind of switching method of homepages language, device and terminal device
CN114091483A (en) * 2021-10-27 2022-02-25 北京百度网讯科技有限公司 Translation processing method and device, electronic equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002189744A (en) * 2000-10-11 2002-07-05 Mieko Tsuyusaki Web page retrieval system
CN101110071A (en) * 2006-07-17 2008-01-23 英业达股份有限公司 Vocabulary instantaneous translation system and method
CN101739394A (en) * 2008-11-07 2010-06-16 英业达股份有限公司 Network translation inquiry system embedded in webpage and method thereof
CN102043772A (en) * 2009-10-14 2011-05-04 英业达股份有限公司 Network translation system embedded into browser and network translation method
CN102063425A (en) * 2009-11-17 2011-05-18 阿里巴巴集团控股有限公司 Translation method and device
CN102402372A (en) * 2010-09-09 2012-04-04 腾讯科技(深圳)有限公司 Text translation method and system
EP2527969A1 (en) * 2006-09-06 2012-11-28 Apple Inc. Video Manager for Portable Multifunction Device
CN102841746A (en) * 2012-07-11 2012-12-26 广东欧珀移动通信有限公司 Mobile phone webpage interaction method
CN102929924A (en) * 2012-09-20 2013-02-13 百度在线网络技术(北京)有限公司 Method and device for generating word selecting searching result based on browsing content
CN103136285A (en) * 2011-12-05 2013-06-05 英顺源(上海)科技有限公司 Translation query and operation system used for handheld device and method thereof
CN103412857A (en) * 2013-09-04 2013-11-27 广东全通教育股份有限公司 System and method for realizing Chinese-English translation of webpage
CN104462074A (en) * 2014-12-26 2015-03-25 北京奇虎科技有限公司 Method and device for conducting webpage data translation and browser client side

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002189744A (en) * 2000-10-11 2002-07-05 Mieko Tsuyusaki Web page retrieval system
CN101110071A (en) * 2006-07-17 2008-01-23 英业达股份有限公司 Vocabulary instantaneous translation system and method
EP2527969A1 (en) * 2006-09-06 2012-11-28 Apple Inc. Video Manager for Portable Multifunction Device
CN101739394A (en) * 2008-11-07 2010-06-16 英业达股份有限公司 Network translation inquiry system embedded in webpage and method thereof
CN102043772A (en) * 2009-10-14 2011-05-04 英业达股份有限公司 Network translation system embedded into browser and network translation method
CN102063425A (en) * 2009-11-17 2011-05-18 阿里巴巴集团控股有限公司 Translation method and device
CN102402372A (en) * 2010-09-09 2012-04-04 腾讯科技(深圳)有限公司 Text translation method and system
CN103136285A (en) * 2011-12-05 2013-06-05 英顺源(上海)科技有限公司 Translation query and operation system used for handheld device and method thereof
CN102841746A (en) * 2012-07-11 2012-12-26 广东欧珀移动通信有限公司 Mobile phone webpage interaction method
CN102929924A (en) * 2012-09-20 2013-02-13 百度在线网络技术(北京)有限公司 Method and device for generating word selecting searching result based on browsing content
CN103412857A (en) * 2013-09-04 2013-11-27 广东全通教育股份有限公司 System and method for realizing Chinese-English translation of webpage
CN104462074A (en) * 2014-12-26 2015-03-25 北京奇虎科技有限公司 Method and device for conducting webpage data translation and browser client side

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LKYTAL: "选中文字弹出快捷翻译/搜索", 《网址:HTTP://TIEBA.BAIDU.COM/P/2785863341》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760542A (en) * 2016-03-15 2016-07-13 腾讯科技(深圳)有限公司 Display control method, terminal and server
CN107632849A (en) * 2016-07-14 2018-01-26 广州市动景计算机科技有限公司 Client and page data resolver and method
CN109388810A (en) * 2018-08-31 2019-02-26 北京搜狗科技发展有限公司 A kind of data processing method, device and the device for data processing
CN109933258A (en) * 2019-02-13 2019-06-25 北京三快在线科技有限公司 Information display method, device, electronic equipment and readable storage medium storing program for executing
CN110362370A (en) * 2019-06-14 2019-10-22 平安科技(深圳)有限公司 A kind of switching method of homepages language, device and terminal device
WO2020248849A1 (en) * 2019-06-14 2020-12-17 平安科技(深圳)有限公司 Webpage language switching method and apparatus, and terminal device
CN114091483A (en) * 2021-10-27 2022-02-25 北京百度网讯科技有限公司 Translation processing method and device, electronic equipment and storage medium
CN114091483B (en) * 2021-10-27 2023-02-28 北京百度网讯科技有限公司 Translation processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105183724A (en) Translation method and electronic device
JP5723305B2 (en) Query generation from displayed text documents using virtual magnets
KR101681281B1 (en) Extension framework for input method editor
US10228850B2 (en) Preview window including a storage context view of one or more computer resources
US20130007606A1 (en) Text deletion
CN105224175A (en) The method of content and electronic equipment on a kind of marking of web pages
CN105095441A (en) Information acquisition method and device
US20140052725A1 (en) Terminal and method for determining type of input method editor
US20140089772A1 (en) Automatically Creating Tables of Content for Web Pages
CN105260433A (en) Webpage content collecting method and electronic device
CN105095378A (en) Method and device for loading web page pop-up comments
CN103440107A (en) Method and device for processing touch operation of electronic device
CN105242848A (en) Method for translating texts on web page and electronic device
CN105354187A (en) Method for translating webpage contents and electronic device
CN105279245A (en) Method for collecting contents on webpage and electronic device
CN104537051A (en) Terminal and searching method based on touch operation
CN105138273A (en) Marking method and electronic equipment
CN104504058A (en) Web page presentation method and browser device
CN106897016A (en) A kind of searching method based on touch screen terminal, device and touch screen terminal
CN105243057A (en) Method for translating web page contents and electronic device.
CN105242849A (en) Text translation method and electronic device
CN105320751A (en) Method for making mark on webpage and electronic device
CN104536688A (en) Searching method and device based on touch operation
CN105278810A (en) Collection method and electronic device
CN105117140A (en) Method and electronic equipment for conducting translation on webpage

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151223