CN104572642A - Key word search method and device - Google Patents

Key word search method and device Download PDF

Info

Publication number
CN104572642A
CN104572642A CN201310469818.3A CN201310469818A CN104572642A CN 104572642 A CN104572642 A CN 104572642A CN 201310469818 A CN201310469818 A CN 201310469818A CN 104572642 A CN104572642 A CN 104572642A
Authority
CN
China
Prior art keywords
key word
translation
target language
language
search
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
CN201310469818.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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310469818.3A priority Critical patent/CN104572642A/en
Priority to PCT/CN2014/084573 priority patent/WO2015051670A1/en
Publication of CN104572642A publication Critical patent/CN104572642A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • G06F16/313Selection or weighting of terms for indexing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation

Abstract

The invention discloses a key word search method and device, and belongs to the technical field of networks. The method comprises the following steps: receiving a translation instruction which at least carries a target language and a key word in a search input field; translating according to the target language and the key word to obtain a translated text of the key word; providing the translated text of the key word for a terminal, and displaying the translated text based on the search input field by the terminal; when receiving a search instruction of the translated text, searching according to the translated text. The device comprises a receiving module, a translating module, a translated text providing module and a search module. According to the key word search method and device, the operations of copying, pasting and the like required for manual translation by users are avoided, the process of converting the language for search is simplified, the search efficiency is improved, the waste of terminal resources is avoided, and the standby time of the terminal is guaranteed.

Description

Keyword search methodology and device
Technical field
The present invention relates to networking technology area, particularly a kind of keyword search methodology and device.
Background technology
Along with the develop rapidly of network technology, search engine technique becomes one of hot spot technology paid close attention to by people gradually.Search engine a kind ofly provides the system of retrieval service for user, and it is according to certain strategy, uses specific computer program gather information from internet and carry out organized processing.
Search engine is generally retrieved in strict accordance with the language of inputted key word, when the key word inputted is Chinese, obtains the relevant information that result for retrieval mostly is Chinese website.And if there is no suitable Search Results in the relevant information of Chinese website, often need to search for external website, then need user to re-enter corresponding English or other countries' language, again search for.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
When user's code-switching is searched for again, need to re-enter English corresponding to key word or other countries' language, complicated operation is loaded down with trivial details, search efficiency is low, cause the waste of terminal resource, mutual due to what repeatedly carry out between server, the power consumption of terminal increases, and shortens the stand-by time of terminal.
Summary of the invention
In order to simplify search procedure, improve search efficiency, embodiments provide a kind of keyword search methodology and device, described technical scheme is as follows:
On the one hand, provide a kind of keyword search methodology, described method comprises:
Receive interpretive order, described interpretive order at least carries the key word in target language and search input frame;
Translate according to described target language and described key word, obtain the translation of described key word;
The translation of described key word is provided to terminal, makes described terminal show described translation based on described search input frame;
When receiving the search instruction to described translation, search for according to described translation.
On the other hand, provide a kind of keyword search device, described device comprises:
Receiver module, for receiving interpretive order, described interpretive order at least carries the key word in target language and search input frame;
Translation module, for translating according to described target language and described key word, obtains the translation of described key word;
Translation provides module, for providing the translation of described key word to terminal, makes described terminal show described translation based on described search input frame;
Search module, for when receiving the search instruction to described translation, searches for according to described translation.
The keyword search methodology that the embodiment of the present invention provides and device, by direct according to the interpretive order to key word in search procedure, obtain the translation of this key word, this translation can be presented in search input frame intuitively, thus search for according to this translation, avoid the operations such as the copy and paste of user's manual translation needs, simplify the process that mapping language carries out searching for, improve search efficiency, avoid the waste to terminal resource, ensure that the stand-by time of terminal.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of a kind of keyword search methodology that the embodiment of the present invention provides;
Fig. 2 is the process flow diagram of a kind of keyword search methodology that the embodiment of the present invention provides;
Fig. 3 a is a kind of search interface schematic diagram that the embodiment of the present invention provides;
Fig. 3 b is a kind of search interface schematic diagram that the embodiment of the present invention provides;
Fig. 3 c is a kind of search interface schematic diagram that the embodiment of the present invention provides;
Fig. 4 is that the embodiment of the present invention provides a kind of keyword search apparatus structure schematic diagram;
Fig. 5 is a kind of server architecture schematic diagram that the embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Fig. 1 is the process flow diagram of a kind of keyword search methodology that the embodiment of the present invention provides.See Fig. 1, the method specifically comprises:
101, receive interpretive order, described interpretive order at least carries the key word in target language and search input frame;
102, translate according to this target language and this key word, obtain the translation of this key word;
103, the translation of this key word is provided to terminal, makes this terminal show this translation based on this search input frame;
104, when receiving the search instruction to this translation, search for according to this translation.
The method that the embodiment of the present invention provides, by direct according to the interpretive order to key word in search procedure, obtain the translation of this key word, this translation can be presented in search input frame intuitively, thus search for according to this translation, avoid the operations such as the copy and paste of user's manual translation needs, simplify the process that mapping language carries out searching for, improve search efficiency, avoid the waste to terminal resource, ensure that the stand-by time of terminal.
Fig. 2 is the process flow diagram of a kind of keyword search methodology that the embodiment of the present invention provides.See Fig. 2, the method specifically comprises:
200, terminal demonstration search interface, this search interface provides search input frame and the option of operation for translating key word;
In embodiments of the present invention, server provides search interface for terminal, and the every display items display in this search interface is configured by server, and can change according to the adjustment of terminal user.Search input frame, search option and the option of operation for translating key word is at least comprised in this search interface, this search interface can also comprise classification for search option, as " webpage ", " picture ", " video ", " music ", " asking ", " encyclopaedia ", " news ", " map ", " picture " and " more " etc.
Fig. 3 a is a kind of search interface schematic diagram that the embodiment of the present invention provides.See Fig. 3 a, show with the form of button for the option of operation translated key word, this button can be positioned at the arbitrary region of search interface, in this Fig. 3 a, is only arranged in search input frame for this button and is described.
201, terminal receives the key word that user inputs at this search input frame;
202, when the trigger action to the option of operation for translating key word being detected, terminal demonstration is to the setting options of target language and the option of operation for translating this key word according to this target language;
In embodiments of the present invention, when terminal detects the trigger action to the option of operation that key word is translated, determine to need the key word in search input frame to translate, in order to ensure the accuracy translated, server provides the setting options to target language, user can be arranged, to translate according to target language in subsequent step the target language of translation.
Further, these setting options, on the basis of setting providing the target language to translation, can also provide the setting to source language.Fig. 3 b is a kind of search interface schematic diagram that the embodiment of the present invention provides.See Fig. 3 b, these setting options comprise and arrange button to source language and target language, and each button that arranges, when being activated, can being shown and comprise multilingual list, select for user.Further, further comprises the option of operation for translating this key word according to this target language in this search interface, as shown in Figure 3 b, this option of operation can be positioned at the certain limit of the position of setting options, selects for user.In fact, this option of operation can be positioned at any position near setting options, and the embodiment of the present invention does not limit this.
203, when the setting operation to target language in these setting options being detected, target language is obtained;
In this step 203, if the setting operation to source language and target language detected, then obtain source language and target language, if the setting operation to target language only detected, then obtain target language.
Further, when the setting operation to source language and target language in these setting options being detected, this source language and target language is obtained.
For Chinese operating system, can be Chinese and English by source language and target language default setting, if when any operation to translation setting options not detected, then Chinese is retrieved as source language, English is retrieved as target language, certainly, for the operating system of other language, the language of its default setting can be other forms, as French operating system, can by source language and target language respectively default setting be French and English.
204, when detecting that to for according to the trigger action of this target language to the option of operation that this key word is translated, terminal to server sends interpretive order, and this interpretive order carries the key word in target language and search input frame;
205, when server receives this interpretive order, the target language carried according to this interpretive order and the key word searched in input frame are translated, and obtain the translation of key word;
For this step 205, the mode of this translation can have following situation:
(1) identify the language of this key word, the syntax rule of the language that application identification goes out and target language, this key word is translated as this target language, obtain the translation of this key word;
For the language that some are uncommon, user may can not know the concrete title of this language, to such an extent as to may go wrong in the process of translation, therefore, can not need to arrange source language when translating, and be only this key word and target language are sent to server, make the language of this key word of server identification, and carry out follow-up translation, make to become possibility according to unknown language is translated into target language.
(2) when this interpretive order also carries source language, apply the syntax rule of this source language and target language, this key word is translated as this target language, obtain the translation of this key word.
Certainly, in most of the cases, user can distinguish which kind of language key word belongs to, and therefore, can select source language and target language, to translate from language setting options.
For user, when not carrying out any selection to language setting options, can think that this source language and target language are default language, server can be translated according to default language.
206, server sends translation and the translation display position of this key word to this terminal;
In embodiments of the present invention, only not only send translation with server, also sending translation display position is that example is described, this translation display position refers to which position of the search interface this translation being presented at terminal, this translation display position can be the position of search input frame original keyword display, near the key word that can also show for this search input frame, the embodiment of the present invention does not do concrete restriction to this.
Alternatively, this step 206 can be substituted by following steps: server sends the translation of key word to terminal.In fact, server only can send translation, terminal is shown according to translation, and does not indicate concrete display position.
207, when terminal receives translation and translation display position, terminal this translation display position in this search input frame shows this translation;
In order to reach effect intuitively, in embodiments of the present invention, only with the key word in hiding search input frame, and to show this translation on the former position for showing this key word be that example is described, this display mode not easily causes to be obscured, and also provides unique search language for follow-up search procedure.
Such as, Fig. 3 c is a kind of search interface schematic diagram that the embodiment of the present invention provides.Be " array antenna " for key word, user uses key word search, only Chinese web page can be searched, in order to search for English webpage, then click " translating " button, now interface display language setting options, source language is set to Chinese by user, target language is set to English, click " automatic translation " button again, trigger translation instruction, this interpretive order carries " array antenna ", " Chinese " and " English ", when server receives this interpretive order, " array antenna " English should be translated into, obtain translation " array antenna ", and this translation is returned to terminal, " array antenna " is presented in search input frame by terminal.
208, when the trigger action to search option being detected, terminal to server sends search instruction, and this search instruction carries this translation;
209, when server receives this search instruction, search for according to the translation that this search instruction carries.
For this step 200-209, in fact can think that this process is one and uses key word to carry out searching for and do not obtain making customer satisfaction system result, and and then need to use other language to carry out the process of searching for, this process is by direct according to the interpretive order to key word in search procedure, obtain the translation of this key word, make this translation can be presented in search input frame intuitively, thus search for according to this translation, avoid the operations such as the copy and paste of user's manual translation needs, simplify the process that mapping language carries out searching for, improve search efficiency, avoid the waste to terminal resource, avoid repeatedly with the process of server interaction, thus the meaningless increase of terminal power consumption amount can not be caused, ensure that the stand-by time of terminal.
Fig. 4 is the structural representation of a kind of keyword search device that the embodiment of the present invention provides.See Fig. 4, this device comprises:
Receiver module 401, for receiving interpretive order, this interpretive order at least carries the key word in target language and search input frame;
Translation module 402, for translating according to this target language and this key word, obtains the translation of this key word;
Translation provides module 403, for providing the translation of this key word to terminal, makes this terminal show this translation based on this search input frame;
Search module 404, for when receiving the search instruction to this translation, searches for according to this translation.
Alternatively, this translation module 402 comprises:
First translation unit, for identifying the language of this key word, the syntax rule of the language that application identification goes out and target language, is translated as this target language by this key word, obtains the translation of this key word; Or,
Second translation unit, for when this interpretive order also carries source language, applies the syntax rule of this source language and target language, this key word is translated as this target language, obtain the translation of this key word.
Alternatively, this device also comprises:
Sending module, for sending translation and the translation display position of this key word to this terminal, makes this terminal this translation display position in this search input frame shows this translation.
Alternatively, this device also comprises:
First option provides module, for be provided for for this terminal translating key word option of operation, for the setting options of target language and the option of operation for translating this key word according to this target language.
Alternatively, this device also comprises:
Second option provides module, for be provided for for this terminal translating key word option of operation, for the setting options of source language and target language and the option of operation for translating this key word according to this source language and this target language.
It should be noted that: the keyword search device that above-described embodiment provides is when keyword search, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the keyword search device that above-described embodiment provides and keyword search methodology embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
A kind of server architecture schematic diagram that the embodiment of the present invention provides see Fig. 5, Fig. 5.This server 500 can produce larger difference because of configuration or performance difference, one or more central processing units (central processing units can be comprised, CPU) 522(such as, one or more processors) and storer 532, one or more store storage medium 530(such as one or more mass memory units of application program 542 or data 544).Wherein, storer 532 and storage medium 530 can be of short duration storages or store lastingly.The program being stored in storage medium 530 can comprise one or more modules (illustrating not shown), and each module can comprise a series of command operatings in server.Further, central processing unit 522 can be set to communicate with storage medium 530, and server 500 performs a series of command operatings in storage medium 530.Server 500 can also comprise one or more power supplys 526, one or more wired or wireless network interfaces 550, one or more IO interface 558, and/or, one or more operating systems 541, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.Above-mentioned Fig. 1 and embodiment illustrated in fig. 2 described in the step performed by server can based on the server architecture shown in this Fig. 5.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a keyword search methodology, is characterized in that, described method comprises:
Receive interpretive order, described interpretive order at least carries the key word in target language and search input frame;
Translate according to described target language and described key word, obtain the translation of described key word;
The translation of described key word is provided to terminal, makes described terminal show described translation based on described search input frame;
When receiving the search instruction to described translation, search for according to described translation.
2. method according to claim 1, is characterized in that, translate according to described target language and described key word, the translation obtaining described key word comprises:
Identify the language of described key word, the syntax rule of the language that application identification goes out and target language, described key word is translated as described target language, obtain the translation of described key word; Or,
When described interpretive order also carries source language, apply the syntax rule of described source language and target language, described key word is translated as described target language, obtain the translation of described key word.
3. method according to claim 1, is characterized in that, provides the translation of described key word to terminal, makes described terminal show described translation based on described search input frame and comprises:
Send translation and the translation display position of described key word to described terminal, make the described translation display position of described terminal in described search input frame shows described translation.
4. method according to claim 1, it is characterized in that, receive before interpretive order, described method also comprises: the option of operation being provided for translating key word for described terminal, to the setting options of target language and the option of operation for translating described key word according to described target language.
5. method according to claim 1, is characterized in that, before receiving interpretive order, described method also comprises:
The option of operation being provided for translating key word for described terminal, to source language and the setting options of target language and the option of operation for translating described key word according to described source language and described target language.
6. a keyword search device, is characterized in that, described device comprises:
Receiver module, for receiving interpretive order, described interpretive order at least carries the key word in target language and search input frame;
Translation module, for translating according to described target language and described key word, obtains the translation of described key word;
Translation provides module, for providing the translation of described key word to terminal, makes described terminal show described translation based on described search input frame;
Search module, for when receiving the search instruction to described translation, searches for according to described translation.
7. device according to claim 6, is characterized in that, described translation module comprises:
First translation unit, for identifying the language of described key word, the syntax rule of the language that application identification goes out and target language, is translated as described target language by described key word, obtains the translation of described key word; Or,
Second translation unit, for when described interpretive order also carries source language, applies the syntax rule of described source language and target language, described key word is translated as described target language, obtain the translation of described key word.
8. device according to claim 6, is characterized in that, described device also comprises:
Sending module, for sending translation and the translation display position of described key word to described terminal, makes the described translation display position of described terminal in described search input frame shows described translation.
9. device according to claim 6, is characterized in that, described device also comprises:
First option provides module, for be provided for for described terminal translating key word option of operation, for the setting options of target language and the option of operation for translating described key word according to described target language.
10. device according to claim 6, is characterized in that, described device also comprises:
Second option provides module, for be provided for for described terminal translating key word option of operation, for the setting options of source language and target language and the option of operation for translating described key word according to described source language and described target language.
CN201310469818.3A 2013-10-10 2013-10-10 Key word search method and device Pending CN104572642A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310469818.3A CN104572642A (en) 2013-10-10 2013-10-10 Key word search method and device
PCT/CN2014/084573 WO2015051670A1 (en) 2013-10-10 2014-08-15 Method and device for keyword search

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310469818.3A CN104572642A (en) 2013-10-10 2013-10-10 Key word search method and device

Publications (1)

Publication Number Publication Date
CN104572642A true CN104572642A (en) 2015-04-29

Family

ID=52812506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310469818.3A Pending CN104572642A (en) 2013-10-10 2013-10-10 Key word search method and device

Country Status (2)

Country Link
CN (1) CN104572642A (en)
WO (1) WO2015051670A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022133799A1 (en) * 2020-12-23 2022-06-30 Citrix Systems, Inc. Cross-language search

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492354A (en) * 2000-06-02 2004-04-28 钧 顾 Multilingual information searching method and multilingual information search engine system
CN101933017A (en) * 2009-03-24 2010-12-29 三菱电机信息系统株式会社 Document search device, document search system, document search program, and document search method
WO2011146958A1 (en) * 2010-05-25 2011-12-01 Fortescue Technologies System and method of translation management, including concurrent user-directed presentation and execution of normalised and romanised function and function parameter names, within microsoft excel for windows (excel) for non-english and non-roman script languages

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763374A (en) * 2008-12-08 2010-06-30 新奥特硅谷视频技术有限责任公司 Method and device for trans-speech retrieval

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492354A (en) * 2000-06-02 2004-04-28 钧 顾 Multilingual information searching method and multilingual information search engine system
CN101933017A (en) * 2009-03-24 2010-12-29 三菱电机信息系统株式会社 Document search device, document search system, document search program, and document search method
WO2011146958A1 (en) * 2010-05-25 2011-12-01 Fortescue Technologies System and method of translation management, including concurrent user-directed presentation and execution of normalised and romanised function and function parameter names, within microsoft excel for windows (excel) for non-english and non-roman script languages

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022133799A1 (en) * 2020-12-23 2022-06-30 Citrix Systems, Inc. Cross-language search
US11556530B2 (en) 2020-12-23 2023-01-17 Citrix Systems, Inc. Cross-language search

Also Published As

Publication number Publication date
WO2015051670A1 (en) 2015-04-16

Similar Documents

Publication Publication Date Title
CN109857327B (en) Information processing apparatus, information processing method, and storage medium
US10783885B2 (en) Image display device, method for driving the same, and computer readable recording medium
US11409775B2 (en) Recommending documents sets based on a similar set of correlated features
US11526575B2 (en) Web browser with enhanced history classification
JP2018518726A (en) Information retrieval navigation method and apparatus
US10176171B1 (en) Language agnostic command-understanding digital assistant
US10928992B2 (en) HTML editing operations
CN104010035A (en) Method and system for application program distribution
KR20160125401A (en) Inline and context aware query box
CN109189954A (en) Content recommendation method and device
CN105354318A (en) File searching method and device
US20180165275A1 (en) Identification and Translation of Idioms
US11275805B2 (en) Dynamically tagging webpages based on critical words
US20180165277A1 (en) Dynamic Translation of Idioms
CN103744883A (en) Method and system for rapidly selecting information fragments
CN110232155B (en) Information recommendation method for browser interface and electronic equipment
KR101681851B1 (en) A web browser operation method and system
CN107168627B (en) Text editing method and device for touch screen
CN104572642A (en) Key word search method and device
US20200117711A1 (en) Methods and systems for processing language with standardization of source data
CN111857934A (en) Page loading method and device, electronic equipment and storage medium
CN106844396B (en) Information processing method and electronic equipment
US10055401B2 (en) Identification and processing of idioms in an electronic environment
KR20160049329A (en) Method and Apparatus for Providing User Customized Search Result
KR101757755B1 (en) Method for distributed processing research of prior art and server and system implementing the same

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

Application publication date: 20150429

RJ01 Rejection of invention patent application after publication