WO2017173827A1 - Searching method, device and equipment - Google Patents

Searching method, device and equipment Download PDF

Info

Publication number
WO2017173827A1
WO2017173827A1 PCT/CN2016/106257 CN2016106257W WO2017173827A1 WO 2017173827 A1 WO2017173827 A1 WO 2017173827A1 CN 2016106257 W CN2016106257 W CN 2016106257W WO 2017173827 A1 WO2017173827 A1 WO 2017173827A1
Authority
WO
WIPO (PCT)
Prior art keywords
feature information
search
language
user
information
Prior art date
Application number
PCT/CN2016/106257
Other languages
French (fr)
Chinese (zh)
Inventor
李玉斌
赵绚
韩异凡
谢远江
Original Assignee
北京搜狗科技发展有限公司
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 北京搜狗科技发展有限公司 filed Critical 北京搜狗科技发展有限公司
Publication of WO2017173827A1 publication Critical patent/WO2017173827A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A searching method, searching device and searching equipment. The method comprises: obtaining first feature information which is information in a first language (201); converting the first feature information into second feature information in response to a search request in which the first feature information belongs to a first search state (202), wherein the search request in the first search state is used for instructing the feature information converted on the basis of a designated language to search a search result, and the second feature information is information of a second language corresponding to the first feature information; and searching a search result matched with the second feature information and feeding the search result back (203). By the method provided, the operation for performing search in an unfamiliar language can be simplified and therefore the user experience of search service can be improved.

Description

一种搜索方法、装置和设备Search method, device and device
本申请要求于2016年4月6号提交中国专利局、申请号为201610210486.0、发明名称为“一种搜索方法、装置和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610210486.0, entitled "A Search Method, Apparatus and Apparatus", filed on Apr. 6, 2016, the entire contents of in.
技术领域Technical field
本发明涉及信息处理技术领域,特别是涉及一种搜索方法、装置和搜索设备。The present invention relates to the field of information processing technologies, and in particular, to a search method, apparatus, and search device.
背景技术Background technique
网络搜索服务是目前使用最为广泛的网络应用服务之一。在传统的搜索技术中,用户可以在搜索引擎提供的操作界面上输入文本信息。搜索引擎获取用户输入的查询词,查找与所述查询词相匹配的搜索结果,再向用户反馈所述搜索结果,以使得用户获得搜索结果。Web search service is one of the most widely used web application services. In the traditional search technology, the user can input text information on the operation interface provided by the search engine. The search engine obtains a query word input by the user, searches for a search result that matches the query word, and feeds back the search result to the user, so that the user obtains the search result.
发明人经过研究发现,传统的搜索技术仅能够提供与用户输入的查询词相匹配的搜索结果。若用户输入的是中文查询词,搜索引擎反馈给用户的则是与所述中文查询词相匹配的搜索结果。若用户输入的是英文查询词,搜索引擎反馈给用户的则是与所述英文查询词相匹配的搜索结果。而在实际使用中,有时用户想要获得与英文查询词相匹配的搜索结果,但该用户仅熟悉中文而不熟悉英文,即该用户仅知晓与所述英文查询词对应的中文查询词而不知晓所述英文查询词。由于传统的搜索技术向用户反馈的搜索结果都是与用户输入的查询词相匹配的搜索结果,该用户为了获得与所述英文查询词相匹配的搜索结果,需要先自行查找翻译工具并将所述中文查询词翻译成所述英文查询词,再向搜索引擎输入所述英文查询词,以便所述搜索引擎查找出与所述英文查询词相匹配的搜索结果。可见,用户在以不熟悉的语言进行搜索时需要执行较为复杂和不便的操作,这造成了搜索服务的用户体验不佳。The inventors have found through research that traditional search techniques can only provide search results that match the query terms entered by the user. If the user inputs a Chinese query term, the search engine feeds back to the user a search result that matches the Chinese query term. If the user inputs an English query term, the search engine feeds back to the user a search result that matches the English query term. In actual use, sometimes the user wants to obtain a search result that matches the English query word, but the user is only familiar with Chinese and is not familiar with English, that is, the user only knows the Chinese query word corresponding to the English query word without Know the English query words. Since the search results fed back to the user by the traditional search technology are search results that match the query words input by the user, the user needs to search for the translation tool first in order to obtain the search result that matches the English query word. Translating the Chinese query words into the English query words, and then inputting the English query words to the search engine, so that the search engine finds the search results that match the English query words. It can be seen that users need to perform complicated and inconvenient operations when searching in an unfamiliar language, which results in a poor user experience of the search service.
发明内容Summary of the invention
本发明所要解决的技术问题是,提供一种搜索方法、搜索装置和搜索设备, 以使得用户能够通过更加简便的操作来实现以不熟悉语言的查询词进行搜索,从而提升搜索服务的用户体验。The technical problem to be solved by the present invention is to provide a search method, a search device, and a search device. In order to enable users to search in unfamiliar language query words through more convenient operations, thereby improving the user experience of the search service.
第一方面,为解决上述技术问题,本发明实施例提供了一种搜索方法,该方法包括:In a first aspect, in order to solve the above technical problem, an embodiment of the present invention provides a search method, where the method includes:
获取第一特征信息,所述第一特征信息为第一语言的信息;Obtaining first feature information, where the first feature information is information in a first language;
响应于所述第一特征信息属于第一搜索状态的搜索请求,将所述第一特征信息转换为第二特征信息;其中,所述第一搜索状态的搜索请求用于指示基于指定的语言转换后的特征信息查找搜索结果,所述第二特征信息为对应于所述第一特征信息的第二语言的信息;Converting the first feature information into second feature information in response to the search request that the first feature information belongs to the first search state; wherein the search request of the first search state is used to indicate that the language conversion is based on the specified The subsequent feature information looks up the search result, and the second feature information is information corresponding to the second language of the first feature information;
查找与所述第二特征信息相匹配的搜索结果并反馈。Searching for search results that match the second feature information and feeding back.
可选的,Optional,
在所述查找与所述第二特征信息相匹配的搜索结果并反馈时,所述方法还包括:When the search results matching the second feature information are searched for and fed back, the method further includes:
提供第一入口,所述第一入口用于用户请求与所述第一特征信息相匹配的搜索结果。A first entry is provided, the first entry being for a user to request a search result that matches the first feature information.
可选的,所述将所述第一特征信息转换为第二特征信息,包括:Optionally, the converting the first feature information into the second feature information includes:
从系统预设的配置中识别用于转换所述第一特征信息的第一目标语言;Identifying, in a configuration preset by the system, a first target language for converting the first feature information;
响应于所述第一目标语言为所述第二语言,将所述第一特征信息转换为所述第二特征信息。The first feature information is converted into the second feature information in response to the first target language being the second language.
可选的,所述将所述第一特征信息转换为第二特征信息,包括:Optionally, the converting the first feature information into the second feature information includes:
从所述第一特征信息所属的搜索请求中识别用于转换所述第一特征信息的第二目标语言,所述第二目标语言是响应于第一用户操作而设置到所述搜索请求中的,所述第一用户操作为用户对转换语言的选择操作;Identifying, from the search request to which the first feature information belongs, a second target language for converting the first feature information, the second target language being set to the search request in response to a first user operation The first user operation is a user selection operation of a conversion language;
响应于所述第二目标语言为所述第二语言,将所述第一特征信息转换为所述第二特征信息。The first feature information is converted into the second feature information in response to the second target language being the second language.
可选的,还包括:Optionally, it also includes:
响应于将所述第一特征信息转换成所述第二特征信息,查找与所述第二特征信息具有相关关系的至少一个第三特征信息,所述第三特征信息为所述第二语言的信息; And searching for at least one third feature information having a correlation with the second feature information, wherein the third feature information is in the second language, in response to converting the first feature information into the second feature information Information
反馈所述至少一个第三特征信息;Feedbacking the at least one third feature information;
响应于第一指示指令,查找与第一目标特征信息相匹配的搜索结果并反馈;Searching for a search result that matches the first target feature information and feeding back in response to the first indication instruction;
其中,所述第一指示指令用于指示所述第一目标特征信息,所述第一指示指令是响应于第二用户操作而生成的,所述第二用户操作为用户在所述至少一个第三特征信息中选取所述第一目标特征信息的操作。The first indication instruction is used to indicate the first target feature information, the first indication instruction is generated in response to a second user operation, and the second user operation is that the user is in the at least one The operation of selecting the first target feature information from the three feature information.
可选的,还包括:Optionally, it also includes:
响应于所述第一特征信息与多个所述第二语言的特征信息相对应,反馈所述多个所述第二语言的特征信息;And corresponding to the feature information of the plurality of the second languages, the feature information of the plurality of the second languages is fed back;
响应于第二指示指令,执行所述查找与所述第二特征信息相匹配的搜索结果并反馈;And in response to the second indication instruction, performing the searching for the search result that matches the second feature information and feeding back;
其中,所述第二指示指令用于指示所述第二特征信息,所述第二指示指令是响应于第三用户操作而生成的,所述第三用户操作为用户在所述多个所述第二语言的特征信息中选取得到所述第二特征信息的操作。The second indication instruction is used to indicate the second feature information, the second indication instruction is generated in response to a third user operation, and the third user operation is The operation of obtaining the second feature information is selected from the feature information of the second language.
可选的,在所述查找与所述第二特征信息相匹配的搜索结果并反馈时,所述方法还包括:Optionally, when the search results are matched and matched by the second feature information, the method further includes:
提供第二入口,所述第二入口用于用户请求与第四特征信息相匹配的搜索结果,所述第四特征信息为对应于所述第一特征信息的第三语言的信息。A second entry is provided for the user to request a search result that matches the fourth feature information, the fourth feature information being information corresponding to the third language of the first feature information.
可选的,Optional,
在所述查找与所述第二特征信息相匹配的搜索结果并反馈时,还包括:When the search result matching the second feature information is searched for and fed back, the method further includes:
反馈所述第二特征信息以供显示。The second feature information is fed back for display.
第二方面,为解决上述技术问题,本发明实施例提供了一种搜索装置,该装置包括:In a second aspect, in order to solve the above technical problem, an embodiment of the present invention provides a search apparatus, where the apparatus includes:
获取单元,用于获取第一特征信息,所述第一特征信息为第一语言的信息;An acquiring unit, configured to acquire first feature information, where the first feature information is information in a first language;
转换单元,用于响应于所述第一特征信息属于第一搜索状态的搜索请求,将所述第一特征信息转换为第二特征信息;其中,所述第一搜索状态的搜索请求用于指示基于指定的语言转换后的特征信息查找搜索结果,所述第二特征信息为对应于所述第一特征信息的第二语言的信息;a converting unit, configured to convert the first feature information into second feature information in response to the search request that the first feature information belongs to the first search state; wherein the search request of the first search state is used to indicate Searching for a search result based on the specified language-converted feature information, where the second feature information is information corresponding to the second language of the first feature information;
查找单元,用于查找与所述第二特征信息相匹配的搜索结果; a searching unit, configured to search for a search result that matches the second feature information;
反馈单元,用于反馈所述与所述第二特征信息相匹配的搜索结果。And a feedback unit, configured to feed back the search result that matches the second feature information.
第三方面,为解决上述技术问题,本发明实施例提供了一种搜索装系统,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In a third aspect, in order to solve the above technical problem, an embodiment of the present invention provides a search loading system including a memory and one or more programs, wherein one or more programs are stored in a memory and configured to be Execution of the one or more programs by one or more processors includes instructions for performing the following operations:
获取第一特征信息,所述第一特征信息为第一语言的信息;Obtaining first feature information, where the first feature information is information in a first language;
响应于所述第一特征信息属于第一搜索状态的搜索请求,将所述第一特征信息转换为第二特征信息;其中,所述第一搜索状态的搜索请求用于指示基于指定的语言转换后的特征信息查找搜索结果,所述第二特征信息为对应于所述第一特征信息的第二语言的信息;Converting the first feature information into second feature information in response to the search request that the first feature information belongs to the first search state; wherein the search request of the first search state is used to indicate that the language conversion is based on the specified The subsequent feature information looks up the search result, and the second feature information is information corresponding to the second language of the first feature information;
查找与所述第二特征信息相匹配的搜索结果并反馈。Searching for search results that match the second feature information and feeding back.
与现有技术相比,本发明实施例具有以下优点:Compared with the prior art, the embodiment of the invention has the following advantages:
采用本发明实施方式提供的技术方案,在用户熟悉第一语言而不熟悉第二语言的情况下,用户可以输入第一语言的第一特征信息并触发第一搜索状态的搜索请求,搜索引擎可以先在第一搜索状态的搜索请求的指示下将第一语言的第一特征信息转换成第二语言的第二特征信息再查找并反馈与第二特征信息相匹配的搜索结果,而用户不必自行查找翻译工具,也不必输入第二语言的查询词。可见,用户在以不熟悉的语言进行搜索时的操作得以简化,从而搜索服务的用户体验得以提升。According to the technical solution provided by the embodiment of the present invention, in a case where the user is familiar with the first language and is not familiar with the second language, the user may input the first feature information of the first language and trigger a search request of the first search state, and the search engine may First converting the first feature information of the first language into the second feature information of the second language under the instruction of the search request of the first search state, and then searching for and feeding back the search result that matches the second feature information, and the user does not have to Find a translation tool and don't have to type a query in a second language. It can be seen that the user's operation in searching in an unfamiliar language is simplified, and the user experience of the search service is improved.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a few embodiments described in the present invention, and other drawings can be obtained from those skilled in the art without any inventive effort.
图1为本发明实施例中一个示例性应用场景的框架示意图;FIG. 1 is a schematic diagram of a framework of an exemplary application scenario according to an embodiment of the present invention; FIG.
图2为本发明实施例中一种搜索方法的流程图;2 is a flowchart of a search method according to an embodiment of the present invention;
图3为本发明实施例中一种搜索装置的结构图;FIG. 3 is a structural diagram of a search apparatus according to an embodiment of the present invention; FIG.
图4为本发明实施例中一种搜索设备的结构图; 4 is a structural diagram of a search device according to an embodiment of the present invention;
图5是本发明实施例中服务器的结构示意图。FIG. 5 is a schematic structural diagram of a server in an embodiment of the present invention.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
发明人经过研究发现,传统的搜索技术仅能够提供与用户输入的查询词相匹配的搜索结果,这在一些情况下导致了用户在搜索时的操作较为不便。例如,若用户输入的是中文查询词,搜索引擎反馈给用户的则是与所述中文查询词相匹配的搜索结果。如果用户希望搜索英文或其他语言的搜索结果,则需要输入相应的英文查询词或其他语言的查询词。而在实际使用中,有时用户想要获得与英文查询词相匹配的搜索结果,但该用户仅熟悉中文而不熟悉英文,即该用户仅知晓与所述英文查询词对应的中文查询词而不知晓所述英文查询词。该用户为了获得与所述英文查询词相匹配的搜索结果,需要先自行查找翻译工具并将所述中文查询词翻译成所述英文查询词,再向搜索引擎输入所述英文查询词,这样所述搜索引擎才能向用户反馈与所述英文查询词相关的搜索结果。可见,用户在以不熟悉的语言进行搜索时需要执行较为复杂和不便的操作,这造成了搜索服务的用户体验不佳。The inventors have found through research that the traditional search technology can only provide search results that match the query words input by the user, which in some cases leads to inconvenience to the user when searching. For example, if the user inputs a Chinese query term, the search engine feeds back to the user a search result that matches the Chinese query term. If the user wants to search for search results in English or other languages, they need to enter the corresponding English query words or query terms in other languages. In actual use, sometimes the user wants to obtain a search result that matches the English query word, but the user is only familiar with Chinese and is not familiar with English, that is, the user only knows the Chinese query word corresponding to the English query word without Know the English query words. In order to obtain the search result that matches the English query word, the user needs to first find the translation tool and translate the Chinese query word into the English query word, and then input the English query word to the search engine. The search engine can feed back the search results related to the English query words to the user. It can be seen that users need to perform complicated and inconvenient operations when searching in an unfamiliar language, which results in a poor user experience of the search service.
而且在现有的中文搜索引擎中,有时即使输入了英文查询词或其他语言的查询词,但系统最终给出的搜索结果中,绝大部分的搜索结果仍然是中文的搜索结果,因此不能满足于用户的需求。Moreover, in the existing Chinese search engine, sometimes even if an English query word or a query term in other languages is input, most of the search results given by the system are still Chinese search results, and thus cannot be satisfied. For the needs of users.
为了解决上述问题,在本发明实施例中,当搜索引擎接收到第一搜索状态的搜索请求时,将基于指定的语言转换后的特征信息查找搜索结果。具体的,搜索引擎在获取到第一语言的第一特征信息时,可以在第一搜索状态的搜索请求的指示下,根据第一特征信息与第二特征信息之间的对应关系,将第一语言的第一特征信息转换为第二语言的第二特征信息,然后再查找与第二特征信息相匹配的搜索结果并反馈。可见,在用户熟悉第一语言而不熟悉第二语言的情 况下,用户可以向搜索引擎输入第一语言的第一特征信息并触发第一搜索状态的搜索请求,搜索引擎则可以在第一搜索状态的搜索请求的指示下基于第一语言的第一特征信息向用户反馈与第二语言的第二特征信息相匹配的搜索结果,而用户不必自行查找翻译工具,也不必输入第二语言的查询词。可见,用户在以不熟悉的语言进行搜索时的操作得以简化,从而搜索服务的用户体验得以提升。In order to solve the above problem, in the embodiment of the present invention, when the search engine receives the search request of the first search state, the search result is searched based on the specified language-converted feature information. Specifically, when acquiring the first feature information of the first language, the search engine may, according to the mapping request of the first search state, according to the correspondence between the first feature information and the second feature information, The first feature information of the language is converted into the second feature information of the second language, and then the search result matching the second feature information is searched for and fed back. It can be seen that the user is familiar with the first language and is not familiar with the second language. In this case, the user may input the first feature information of the first language to the search engine and trigger the search request of the first search state, and the search engine may be based on the first feature of the first language under the instruction of the search request of the first search state. The information feeds back to the user search results that match the second feature information of the second language, and the user does not have to find the translation tool by himself or enter the query words of the second language. It can be seen that the user's operation in searching in an unfamiliar language is simplified, and the user experience of the search service is improved.
举例说明,本发明实施例可以应用到如图1所示的场景,其中,用户终端102与服务器101之间通过网络103实现交互。在这一场景中,服务器101获取用户终端102发送的第一特征信息,所述第一特征信息为第一语言的信息。然后,服务器101响应于所述第一特征信息属于第一搜索状态的搜索请求,将所述第一特征信息转换为第二特征信息;其中,所述第一搜索状态的搜索请求用于指示基于指定的语言转换后的特征信息查找搜索结果,所述第二特征信息为基于第二语言转换所述第一特征信息后获得的,对应于所述第一特征信息的第二语言的信息。再后,服务器101查找与所述第二特征信息相匹配的搜索结果并向用户终端102反馈。For example, the embodiment of the present invention can be applied to the scenario shown in FIG. 1 , where the user terminal 102 and the server 101 implement interaction through the network 103 . In this scenario, the server 101 acquires first feature information sent by the user terminal 102, and the first feature information is information in the first language. Then, the server 101 converts the first feature information into second feature information in response to the search request that the first feature information belongs to the first search state; wherein the search request of the first search state is used to indicate that the The specified language-converted feature information is used to search for a search result, and the second feature information is information obtained in the second language corresponding to the first feature information obtained after the first feature information is converted based on the second language. Then, the server 101 looks up the search result that matches the second feature information and feeds back to the user terminal 102.
可以理解的是,用户终端102可以是现有的、正在研发的或将来研发的、能够通过任何形式的有线和/或无线连接(例如,Wi-Fi、LAN、蜂窝、同轴电缆等)实现与服务器101交互的任何用户设备,包括但不限于:现有的、正在研发的或将来研发的智能手机、非智能手机、平板电脑、膝上型个人计算机、桌面型个人计算机、小型计算机、中型计算机、大型计算机等。It will be appreciated that the user terminal 102 can be existing, under development, or developed in the future, and can be implemented by any form of wired and/or wireless connection (eg, Wi-Fi, LAN, cellular, coaxial cable, etc.). Any user equipment that interacts with the server 101, including but not limited to: existing, developing, or future developed smartphones, non-smart phones, tablets, laptop personal computers, desktop personal computers, small computers, medium-sized Computers, mainframes, etc.
此外,服务器101仅是现有的、正在研发的或将来研发的、能够向用户提供搜索服务的设备的一个示例。本发明的实施方式在此方面不受任何限制。Further, the server 101 is merely an example of an existing, research-developed or future-developed device capable of providing a search service to a user. Embodiments of the invention are not subject to any limitation in this regard.
可以理解的是,本发明的应用场景中,虽然此处和下面将本发明实施方式的动作描述为由服务器101执行,但是这些动作也可以部分由用户终端102执行、部分由服务器101执行,或者完全由用户终端102执行。本发明在执行主体方面不受限制,只要执行了本发明实施方式所公开的动作即可。It can be understood that, in the application scenario of the present invention, although the actions of the embodiments of the present invention are described herein and below as being performed by the server 101, these actions may also be partially performed by the user terminal 102, partially by the server 101, or It is completely executed by the user terminal 102. The present invention is not limited in terms of the execution subject, and only the actions disclosed in the embodiments of the present invention may be performed.
需要注意的是,上述应用场景仅是为了便于理解本发明而示出,本发明的实施方式在此方面不受任何限制。相反,本发明的实施方式可以应用于适用的任何场景。 It should be noted that the above application scenarios are only for the purpose of facilitating understanding of the present invention, and embodiments of the present invention are not limited in this respect. Rather, embodiments of the invention may be applied to any scenario that is applicable.
下面结合附图,详细说明本发明的各种非限制性实施方式。Various non-limiting embodiments of the present invention are described in detail below with reference to the drawings.
示例性方法Exemplary method
参见图2,示出了本发明实施例中一种搜索方法的流程图。在图1所示的场景中,本实施例的方法例如可以应用于服务器101,即本实施例的方法例如可以由服务器101来执行。本实施例的方法例如具体可以包括如下步骤:Referring to Figure 2, a flow chart of a search method in an embodiment of the present invention is shown. In the scenario shown in FIG. 1, the method of the present embodiment can be applied, for example, to the server 101, that is, the method of the present embodiment can be executed, for example, by the server 101. The method of this embodiment may specifically include the following steps:
步骤201、获取第一特征信息,所述第一特征信息为第一语言的信息。Step 201: Acquire first feature information, where the first feature information is information in a first language.
具体实现时,服务器101可以通过用户终端102呈现搜索界面,在所述搜索界面上包括有搜索查询词的输入位置。用户可以在所述输入位置中输入第一语言的第一特征信息并在所述搜索界面上执行触发搜索的操作。用户终端102响应于用户触发搜索的操作时,可以生成携带有所述第一特征信息的搜索请求并向服务器101发送。服务器101在接收到所述搜索请求时,可以从所述搜索请求中获取所述第一特征信息。In a specific implementation, the server 101 may present a search interface through the user terminal 102, and include an input location of the search query word on the search interface. The user may input first feature information of the first language in the input location and perform an operation of triggering the search on the search interface. The user terminal 102 may generate a search request carrying the first feature information and transmit it to the server 101 in response to the user triggering the search operation. The server 101 may acquire the first feature information from the search request when receiving the search request.
步骤202、响应于所述第一特征信息属于第一搜索状态的搜索请求,将所述第一特征信息转换为第二特征信息;其中,所述第一搜索状态的搜索请求用于指示基于指定的语言转换后的特征信息查找搜索结果,所述第二特征信息为对应于所述第一特征信息的第二语言的信息。Step 202: Convert the first feature information into second feature information in response to the search request that the first feature information belongs to the first search state, where the search request of the first search state is used to indicate that the designation is based on The language-converted feature information looks up the search result, and the second feature information is information corresponding to the second language of the first feature information.
具体实现时,所述第二特征信息为基于所述指定的语言对所述第一特征信息转换后,得到的所述指定语言的特征信息。例如,当所述指定的语言为第二语言时,所述第二特征信息即为对应于所述第一特征信息的第二语言的信息。In a specific implementation, the second feature information is feature information of the specified language obtained by converting the first feature information based on the specified language. For example, when the specified language is the second language, the second feature information is information corresponding to the second language of the first feature information.
服务器101基于所述搜索请求,可以确定本次搜索需要使用的第二语言。服务器101响应于识别出所述第一特征信息为第一语言的信息,可以将第一语言的第一特征信息转换成第二语言的第二特征信息。Based on the search request, the server 101 can determine the second language that the search needs to use. The server 101 may convert the first feature information of the first language into the second feature information of the second language in response to identifying that the first feature information is information of the first language.
其中,为了实现语言转换,在服务器101中具有一个用于语言转换的数据库,所述数据库中记录有第一语言单词与第二语言单词之间的对应关系。服务器101分析第一语言的第一特征信息的语法构成并基于所述语法构成将所述第一特征信息拆分成至少一个第一语言单词。然后,服务器101在所述数据库中查找各个所述第一语言单词所对应的各个第二语言单词。再后,服务器101可以按照所述语法构成将所述各个第二语言单词组织成所述第二特征信息。In order to implement language conversion, the server 101 has a database for language conversion, in which the correspondence between the first language word and the second language word is recorded. The server 101 analyzes the grammatical composition of the first feature information of the first language and splits the first feature information into at least one first language word based on the grammatical composition. Then, the server 101 searches the database for each second language word corresponding to each of the first language words. Then, the server 101 may organize the respective second language words into the second feature information according to the grammar composition.
在本实施例中,所述第一语言的第一特征信息与所述第二语言的第二特征 信息相对应,这表示,所述第一特征信息与所述第二特征信息具有相同的语义。相对应的第一语言单词与第二语言单词也具有相同的语义。In this embodiment, the first feature information of the first language and the second feature of the second language Corresponding to the information, this means that the first feature information has the same semantics as the second feature information. The corresponding first language word has the same semantics as the second language word.
在本实施例中,用户可以对搜索请求设置不同的搜索状态,服务器101可以基于搜索请求对应的不同搜索状态,确定基于用户输入语言进行搜索或基于转换语言进行搜索。In this embodiment, the user may set different search states for the search request, and the server 101 may determine to perform a search based on the user input language or perform a search based on the conversion language based on different search states corresponding to the search request.
具体地,当用户希望基于指定的转换语言进行搜索时,可以将搜索请求设置为第一搜索状态。所述第一搜索状态的搜索请求可以用于指示服务器101基于转换语言查找搜索结果,也即步骤202和步骤203。而当用户希望基于输入语言进行搜索时,可以将搜索请求设置为第二搜索状态。所述第二搜索状态的搜索请求可以用于指示服务器101基于原始输入语言的特征信息查找搜索结果。也即,服务器101还可以响应于所述第一特征信息属于第二搜索状态的搜索请求,查找与所述第一特征信息相匹配的搜索结果并反馈。Specifically, when the user desires to perform a search based on the specified conversion language, the search request may be set to the first search state. The search request of the first search state may be used to instruct the server 101 to search for search results based on the conversion language, that is, step 202 and step 203. And when the user wants to search based on the input language, the search request can be set to the second search state. The search request of the second search state may be used to instruct the server 101 to search for search results based on feature information of the original input language. That is, the server 101 may further search for a search result that matches the first feature information and feed back in response to the search request that the first feature information belongs to the second search state.
作为一种示例,搜索状态可以通过搜索环境来设置。若用户在搜索界面上选择指定语言(例如“英文”)的搜索环境进行搜索,所触发的搜索请求即为第一搜索状态的搜索请求。若用户在搜索界面上选择原始输入相同的语言(例如“新闻”、“网页”等)搜索环境进行搜索时,所触发的搜索请求即为第二搜索状态的搜索请求。As an example, the search status can be set by the search environment. If the user selects a search environment of a specified language (for example, "English") on the search interface to perform a search, the triggered search request is a search request of the first search state. If the user selects the search environment in the same language (for example, "news", "webpage", etc.) in the search interface to search, the triggered search request is the search request of the second search state.
可以理解的是,本实施例中提供了多种方式用于服务器101确定转换后使用的第二语言。It can be understood that various ways are provided in the embodiment for the server 101 to determine the second language used after the conversion.
例如,在一些实施方式中,转换后使用的第二语言可以是系统预先定义的一种默认语言。具体地,步骤202例如可以包括:从系统预设的配置中识别用于转换所述第一特征信息的第一目标语言;响应于所述第一目标语言为所述第二语言,将所述第一特征信息转换为所述第二特征信息。其中,第一目标语言即是系统预先定义的默认语言。For example, in some embodiments, the second language used after conversion can be a default language predefined by the system. Specifically, step 202 may include, for example, identifying a first target language for converting the first feature information from a configuration preset by the system; and responding to the first target language being the second language, The first feature information is converted into the second feature information. The first target language is the default language predefined by the system.
又如,在另一些实施方式中,转换后使用的第二语言可以是用户自主选择的。具体地,步骤202例如可以包括:从所述第一特征信息所属的搜索请求中识别用于转换所述第一特征信息的第二目标语言,所述第二目标语言是响应于第一用户操作而设置到所述搜索请求中的;所述第一用户操作为用户对转换语言的选择操作;响应于所述第二目标语言为所述第二语言,将所述第一特征信 息转换为所述第二特征信息。As another example, in other embodiments, the second language used after the conversion may be user-selected. Specifically, step 202 may include, for example, identifying a second target language for converting the first feature information from a search request to which the first feature information belongs, the second target language being responsive to the first user operation And setting to the search request; the first user operation is a user selecting operation of a conversion language; and in response to the second target language being the second language, the first feature letter is The information is converted into the second feature information.
例如,服务器101可以通过用户终端102向用户提供多个语言选项,用户可以启动搜索操作时,在所述多个语言选项中选择出第二语言,用户终端101基于所述第二语言生成搜索请求并向服务器101发送,服务器101通过所述搜索请求可以确定转换后使用第二语言。For example, the server 101 may provide a plurality of language options to the user through the user terminal 102, and when the user can initiate a search operation, select a second language among the plurality of language options, and the user terminal 101 generates a search request based on the second language. And sending to the server 101, the server 101 can determine that the second language is used after the conversion by the search request.
再如,在又一些实施方式中,转换后使用的第二语言可以是综合前两种实施方式来确定的。具体地,若用户在触发搜索请求时没有指示用于转换第一特征信息的语言,服务器102从所述搜索请求中识别不到用于转换第一特征信息的语言,此时可以从系统预设的配置中识别用于转换所述第一特征信息的第一目标语言。若用户在触发搜索请求时指示了第二目标语言用于转换第一特征信息,服务器102可以从所述搜索请求中识别到用于转换第一特征信息的第二目标语言。As another example, in some embodiments, the second language used after the conversion may be determined by combining the first two embodiments. Specifically, if the user does not indicate the language for converting the first feature information when the search request is triggered, the server 102 does not recognize the language for converting the first feature information from the search request, and may preset from the system. A first target language for converting the first feature information is identified in the configuration. If the user indicates that the second target language is used to convert the first feature information when the search request is triggered, the server 102 may identify a second target language for converting the first feature information from the search request.
步骤203、查找与所述第二特征信息相匹配的搜索结果并反馈。Step 203: Search for a search result that matches the second feature information and feed back.
具体实现时,服务器101可以查找与所述第二特征信息相关的网络资源作为搜索结果。其中,所述与所述第二特征信息相关的网络资源可以但不限于包含有所述第二特征信息的网络资源,或者是包含有与所述第二特征信息语义相同或相近的特征信息的网络资源,然后将查找到的搜索结果反馈给用户终端102,以便用户终端102向用户呈现。In a specific implementation, the server 101 may search for a network resource related to the second feature information as a search result. The network resource related to the second feature information may be, but is not limited to, a network resource that includes the second feature information, or a feature information that includes the same or similar semantics as the second feature information. The network resource then feeds back the found search results to the user terminal 102 for the user terminal 102 to present to the user.
可以理解的是,在所述查找与所述第二特征信息相匹配的搜索结果并反馈的同时,还可以在搜索结果页面反馈所述第二特征信息以供显示给用户,使得用户可以确定当前反馈的搜索结果对应的搜索词,即为与所述第一特征信息对应的第二语言的第二特征信息是什么。It can be understood that, while searching for the search result matching the second feature information and feeding back, the second feature information may be fed back to the user on the search result page, so that the user can determine the current The search term corresponding to the searched result of the feedback is what is the second feature information of the second language corresponding to the first feature information.
作为一种示例,用户在搜索界面上输入的第一特征信息可以是中文查询词“奥斯卡”,搜索引擎确定所述搜索请求属于第一搜索状态的搜索请求,所述指定的语言为英文,则搜索引擎确定基于英文转换所述第一特征信息“奥斯卡”后,得到的第二特征信息可以是英文查询词“oscar”。据此,搜索引擎反馈的搜索结果可以是与英文查询词“oscar”相匹配的搜索结果。“奥斯卡”与“oscar”是具有相同语义的不用语言对应的特征信息,即第二特征信息与第一特征信息相对应的英文特征信息。 As an example, the first feature information input by the user on the search interface may be a Chinese query word “Oscar”, and the search engine determines that the search request belongs to the search request of the first search state, and the specified language is English, After the search engine determines to convert the first feature information "Oscar" based on the English, the obtained second feature information may be the English query word "oscar". Accordingly, the search result fed back by the search engine may be a search result that matches the English query word "oscar". "Oscar" and "oscar" are feature information corresponding to a language having the same semantics, that is, English feature information corresponding to the first feature information.
可以理解的是,在反馈与第二特征信息相匹配的搜索结果的同时,服务器101还可以在搜索结果页面反馈提示信息,该提示信息可以用于提示用户搜索结果与转换后的第二特征信息相匹配。例如,在前述有关“oscar”的示例中,可以但不限于在搜索结果页面中显示提示信息为“查询词已翻译为:oscar”或者“对应的英文查询词为:oscar”等等,使得用户可以确定当前反馈的搜索结果对应的搜索词是oscar。It can be understood that, while feeding back the search result that matches the second feature information, the server 101 can also feed back the prompt information on the search result page, and the prompt information can be used to prompt the user to search for the search result and the converted second feature information. Match. For example, in the foregoing example regarding "oscar", the prompt information may be displayed in the search result page as "the query word has been translated into: oscar" or "the corresponding English query word is: oscar", etc., so that the user It can be determined that the search term corresponding to the currently feedback search result is oscar.
为了使得基于语言转换的搜索过程能够为用户提供更广泛的搜索结果,本实施例在基于语言转换进行搜索的基础上提供了多种可选的搜索功能。In order to enable the language conversion based search process to provide users with a wider range of search results, the present embodiment provides a variety of optional search functions based on a language based search.
在一些情况下,为了使得用户能够获取得到更为广泛和全面的搜索结果,可以向用户提供基于第二特征信息的相关信息,使得用户可以基于该相关信息做进一步的搜索。In some cases, in order to enable a user to obtain a broader and comprehensive search result, relevant information based on the second feature information may be provided to the user so that the user can make a further search based on the related information.
为了简化这种用户需求下的用户操作,在本实施例的一些实施方式中,本实施例还可以包括:响应于将所述第一特征信息转换成所述第二特征信息,查找与所述第二特征信息具有相关关系的至少一个第三特征信息,所述第三特征信息为所述第二语言的信息;反馈所述至少一个第三特征信息;响应于第三指示指令,查找与第一目标特征信息相匹配的搜索结果并反馈;其中,所述第一指示指令用于指示所述第一目标特征信息,所述第一指示指令是响应于第二用户操作而生成的,所述第二用户操作为用户在所述至少一个第三特征信息中选取所述第一目标特征信息的操作。In some embodiments of the present embodiment, the embodiment may further include: searching for and converting the first feature information into the second feature information, in the embodiment of the present embodiment. The second feature information has at least one third feature information of a correlation relationship, the third feature information is information of the second language; and the at least one third feature information is fed back; in response to the third indication instruction, searching and a target feature information matching the search result and feedback; wherein the first indication instruction is used to indicate the first target feature information, and the first indication instruction is generated in response to a second user operation, The second user operation is an operation in which the user selects the first target feature information in the at least one third feature information.
具体地,服务器101可以将所述至少一个第三特征信息和与第二特征信息相匹配的搜索结果都反馈给用户终端102。用户终端102可以在搜索界面上呈现所述至少一个第三特征信息。若用户在所述至少一个第三特征信息中选择了第一目标特征信息,终端102可以生成所述第三指示指令向服务器101发送,以便服务器101反馈与所述第一目标特征信息相匹配的搜索结果。其中,用户终端102可以以快捷链接的方式在搜索界面上呈现所述至少一个第三特征信息。若用户点击了第一目标特征信息的快捷链接,则触发用户终端102生成所述第二指示指令。Specifically, the server 101 may feed back the at least one third feature information and the search result that matches the second feature information to the user terminal 102. The user terminal 102 can present the at least one third feature information on a search interface. If the user selects the first target feature information in the at least one third feature information, the terminal 102 may generate the third indication instruction to send to the server 101, so that the server 101 feeds back the first target feature information. search results. The user terminal 102 can present the at least one third feature information on the search interface in a quick link manner. If the user clicks on the shortcut link of the first target feature information, the user terminal 102 is triggered to generate the second indication instruction.
作为一种示例,用户在搜索界面上输入的第一特征信息可以是中文查询词“奥斯卡”,搜索引擎确定所述搜索请求属于第一搜索状态的搜索请求,所述 指定的语言为英文,则搜索引擎确定基于英文转换所述第一特征信息“奥斯卡”后,得到的第二特征信息可以是英文查询词“oscar”。此时,搜索引擎可以查找并得到与所述第二特征信息“oscar”具有相关关系的第三特征信息,例如“Leonardo DiCaprio”(最新一届的奥斯卡最佳男演员)、“Brie Larson”(最新一届的奥斯卡女演员)、“Spotlight”(最新一届的奥斯卡最佳影片)等;此时,搜索引擎可以向用户反馈所述多个第三特征信息(可以但不限于在所述搜索结果页面上显示,或者在弹窗中显示等等),并响应第一指令信息;该第一指令信息用于指示用户选择的第一目标特征信息,例如,当用户选择“Leonardo DiCaprio”时,搜索引擎响应该第二用户操作(可以但不限于用户点击搜索引擎反馈的第一目标特征信息“Leonardo DiCaprio”),生成第一指令信息,指示用户选择的第一目标特征信息为“Leonardo DiCaprio”;据此,搜索引擎反馈与英文查询词“Leonardo DiCaprio”相匹配的搜索结果给用户。As an example, the first feature information input by the user on the search interface may be a Chinese query word “Oscar”, and the search engine determines the search request that the search request belongs to the first search state, If the specified language is English, the search engine determines that the first feature information “Oscar” is converted based on the English, and the obtained second feature information may be the English query word “oscar”. At this time, the search engine can find and obtain third feature information having a correlation with the second feature information "oscar", such as "Leonardo DiCaprio" (the latest Oscar best actor), "Brie Larson" ( The latest Oscar actress), "Spotlight" (the latest Oscar best film), etc.; at this time, the search engine can feed back the plurality of third feature information to the user (maybe but not limited to the search) Displayed on the result page, or displayed in a pop-up window, and responsive to the first instruction information; the first instruction information is used to indicate the first target feature information selected by the user, for example, when the user selects "Leonardo DiCaprio", The search engine responds to the second user operation (which may be, but is not limited to, the first target feature information “Leonardo DiCaprio” that the user clicks on the feedback of the search engine), and generates first instruction information indicating that the first target feature information selected by the user is “Leonardo DiCaprio”. According to this, the search engine feeds back the search results matching the English query word "Leonardo DiCaprio" to the user.
在本实施例的一些实施方式中,本实施例还可以包括:在相关搜索栏中,显示与所述第二特征信息具有相关关系的至少一个第三特征信息相匹配的搜索结果。In some implementations of this embodiment, the embodiment may further include: displaying, in the related search bar, search results that match at least one third feature information having a correlation with the second feature information.
例如,在前述有关“奥斯卡”的示例中,在搜索结果页面的主界面中显示与所述第二特征信息oscar相关的搜索结果的同时,在相关推荐栏(例如在位于搜索结果页面右侧的相关推荐栏、或者是位于搜索结果页面的最底端的相关推荐栏)中,展示与第二特征信息“oscar”具有相关关系的至少一个第三特征信息相匹配的搜索结果,例如与“Leonardo DiCaprio”、“Brie Larson”、和/或“Spotlight”等相匹配的搜索结果给用户,以供用户查看。For example, in the aforementioned example regarding "Oscar", while the search result related to the second feature information oscar is displayed in the main interface of the search result page, in the relevant recommendation column (for example, on the right side of the search result page) In the related recommendation column, or in the relevant recommendation column at the bottom of the search result page, the search result matching at least one third feature information having a correlation with the second feature information “oscar” is displayed, for example, “Leonardo DiCaprio "Brie Larson", and/or "Spotlight" matches the search results to the user for viewing.
在另一些情况下,有时第一语言的第一特征信息对应于多个第二语言的特征信息,此时可以将所述多个第二语言的特征信息提供用户进行选择,并基于用户选择的特征信息作为第二特征信息进行搜索。在本实施例的一些实施方式中,本实施例还可以包括:响应于所述第一特征信息与多个所述第二语言的特征信息相对应,反馈所述多个所述第二语言的特征信息;响应于第二指示指令,执行步骤203;其中,所述第二指示指令用于指示所述第二特征信息,所述第二指示指令是响应于第三用户操作而生成的,所述第三用户操作为用户在所述多个所述第二语言的特征信息中选取所述第二特征信息的操作。 In other cases, the first feature information of the first language sometimes corresponds to the feature information of the plurality of second languages, and the feature information of the plurality of second languages may be provided to the user for selection, and based on the user's selection. The feature information is searched as the second feature information. In some implementations of this embodiment, the embodiment may further include: feeding back the plurality of the second languages in response to the first feature information corresponding to the feature information of the plurality of the second languages Feature information; in response to the second indication instruction, performing step 203; wherein the second indication instruction is used to indicate the second feature information, the second indication instruction is generated in response to a third user operation, The third user operation is an operation in which the user selects the second feature information from the feature information of the plurality of the second languages.
具体地,服务器101在转换第一特征信息时,识别到所述第一特征信息对应于多个第二语言的特征信息,可以但不限于将所述多个第二语言的特征信息反馈到用户终端102呈现的搜索界面或者以弹窗的形式呈现给用户,以供用户选择。若用户在所述多个所述第二语言的特征信息中选取了第二特征信息,用户终端102向服务器101发送所述第二指示指令,服务器101则响应于所述第二指示指令可以执行步骤203。Specifically, when converting the first feature information, the server 101 identifies that the first feature information corresponds to feature information of the plurality of second languages, and may, but is not limited to, feed back the feature information of the multiple second languages to the user. The search interface presented by the terminal 102 is presented to the user in the form of a pop-up window for the user to select. If the user selects the second feature information in the feature information of the plurality of the second languages, the user terminal 102 sends the second instruction instruction to the server 101, and the server 101 can execute the second instruction instruction in response to the second instruction instruction. Step 203.
作为一种示例,用户在搜索界面上输入的第一特征信息可以是中文查询词“笔”,搜索引擎确定所述搜索请求属于第一搜索状态的搜索请求,所述指定的语言为英文,则搜索引擎确定基于英文转换所述第一特征信息“笔”后,得到的第二语言的特征信息可以为多个,例如“pen”、“pencil”、“ball pen”、“crayon”等等;此时,搜索引擎可以向用户反馈所述多个第二语言的特征信息(可以但不限于在所述搜索结果页面上显示,或者在弹窗中显示等等),并响应第二指令信息;该第二指令信息用于指示用户选择的第二特征信息,例如,当用户选择“pencil”时,搜索引擎响应该第三用户操作(可以但不限于用户点击搜索引擎反馈的特征信息“pencil”),生成第二指令信息,指示用户选择的第二特征信息为“pencil”;据此,搜索引擎反馈与英文查询词“pencil”相匹配的搜索结果。As an example, the first feature information input by the user on the search interface may be a Chinese query word “pen”, and the search engine determines that the search request belongs to the search request of the first search state, and the specified language is English, After the search engine determines to convert the first feature information “pen” based on the English, the obtained feature information of the second language may be multiple, such as “pen”, “pencil”, “ball pen”, “crayon”, and the like; At this time, the search engine may feed back the feature information of the plurality of second languages to the user (may be, but not limited to, being displayed on the search result page, or displayed in a pop-up window, etc.), and responding to the second instruction information; The second instruction information is used to indicate the second feature information selected by the user. For example, when the user selects “pencil”, the search engine responds to the third user operation (may but not limited to the feature information “pencil” that the user clicks on the search engine feedback. Generating second instruction information indicating that the second feature information selected by the user is "pencil"; accordingly, the search engine feedback is related to the English query word "pencil" Matching search results.
在又一些情况下,用户在看到基于转换语言的搜索结果之后可能有需求再查看基于原始语言的搜索结果。为了简化这种用户需求下的用户操作,在本实施例的一些实施方式中,本实施例还可以包括:在所述查找与所述第二特征信息相匹配的搜索结果并反馈的同时,提供第一入口,所述第一入口用于用户请求与所述第一特征信息相匹配的搜索结果。In other cases, the user may need to view the original language based search results after seeing the conversion language based search results. In order to simplify the user operation of the user, in some embodiments of the present embodiment, the embodiment may further include: providing the search result matching the second feature information and feeding back a first entry, the first entry being for a user to request a search result that matches the first feature information.
进一步而言,服务器101响应于第三指示指令,还可以查找与所述第一特征信息相匹配的搜索结果并反馈,其中,所述第三指示指令用于指示所述第一特征信息,所述第三指示指令是响应于第四用户操作而生成的,所述第四用户操作为用户对所述第一入口的触发操作。Further, the server 101 may further search for a search result that matches the first feature information and feed back, in response to the third indication instruction, where the third indication instruction is used to indicate the first feature information, The third indication instruction is generated in response to a fourth user operation, and the fourth user operation is a trigger operation of the first entry by the user.
具体地,服务器101可以在搜索结果页面中将所述第一入口和与第二特征信息相匹配的搜索结果都反馈给用户终端102,用户终端102可以在搜索结果页面上呈现所述第一入口,当用户选择点击所述第一入口时,用户终端102 可以生成所述第三指示指令向服务器101发送,以便服务器101反馈与所述第一特征信息相匹配的搜索结果。Specifically, the server 101 may feed back the first entry and the search result matching the second feature information to the user terminal 102 in the search result page, and the user terminal 102 may present the first entry on the search result page. When the user selects to click on the first portal, the user terminal 102 The third indication instruction may be generated to be transmitted to the server 101, so that the server 101 feeds back a search result that matches the first feature information.
例如,在前述有关“奥斯卡”的示例中,在显示与所述第二特征信息oscar相关的搜索结果的同时,显示第一入口给用户;所述第一入口的提示信息可以显示为“仍然搜索:奥斯卡”。其中,所述第一入口“奥斯卡”可以是一个快捷链接,用户点击该快捷链接将会触发所述第三指示指令。之后,所述搜索结果页面将会跳转至呈现包含与第一特征信息“奥斯卡”相匹配的搜索结果。For example, in the foregoing example regarding "Oscar", while displaying the search result related to the second feature information oscar, the first entry is displayed to the user; the prompt information of the first entry may be displayed as "still searching" : Oscar." The first entry "Oscar" may be a shortcut link, and the user clicking the shortcut link will trigger the third indication instruction. Thereafter, the search result page will jump to the presentation containing search results that match the first feature information "Oscar".
在本实施例的一些实施方式中,本实施例还可以包括:在相关搜索栏中,显示与所述第一特征信息相匹配的搜索结果。In some implementations of this embodiment, the embodiment may further include: displaying, in the related search bar, a search result that matches the first feature information.
例如,在前述有关“奥斯卡”的示例中,在搜索结果页面的主界面中显示与所述第二特征信息oscar相关的搜索结果的同时,在相关推荐栏(例如在位于搜索结果页面右侧的相关推荐栏、或者是位于搜索结果页面的最底端的相关推荐栏)中,展示包含与第一特征信息“奥斯卡”相匹配的搜索结果给用户,以供用户查看。For example, in the aforementioned example regarding "Oscar", while the search result related to the second feature information oscar is displayed in the main interface of the search result page, in the relevant recommendation column (for example, on the right side of the search result page) In the related recommendation column, or in the relevant recommendation column at the bottom of the search result page, the display includes the search result matching the first feature information "Oscar" to the user for the user to view.
可以理解的是,所述第二特征信息与所述至少一个第三特征信息之间的相关关系例如可以是基于用户历史搜索行为而学习得到的,这样第三特征信息被用户做进一步搜索的可能性更高,从而便于为用户提供更准确地相关查询词。It can be understood that the correlation between the second feature information and the at least one third feature information may be learned, for example, based on a user history search behavior, such that the third feature information may be further searched by the user. Higher sex, which makes it easier to provide users with more accurate related query terms.
在又一些情况下,用户在看到第二语言对应的搜索结果之后可能有需求再查看除第一语言、第二语言之外的其他语言对应的搜索结果。为了简化这种用户需求下的用户操作,在本实施例的一些实施方式中,本实施例还可以包括:在所述查找与所述第二特征信息相匹配的搜索结果并反馈的同时,提供第二入口,所述第二入口用于用户请求与第四特征信息相匹配的搜索结果,所述第四特征信息为对应于所述第一特征信息的第三语言的信息。In other cases, after the user sees the search result corresponding to the second language, the user may need to view the search result corresponding to the language other than the first language and the second language. In order to simplify the user operation of the user, in some embodiments of the present embodiment, the embodiment may further include: providing the search result matching the second feature information and feeding back a second entry for the user to request a search result that matches the fourth feature information, the fourth feature information being information corresponding to the third language of the first feature information.
进一步而言,服务器101响应于第四指示指令,还可以将所述第一特征信息转换成所述第四特征信息,查找与所述第四特征信息相匹配的搜索结果并反馈,其中,所述第四指示指令用于指示所述第四特征信息,所述第四指示指令是响应于第五用户操作而生成的,所述第五用户操作为用户对所述第二入口的触发操作。Further, the server 101 may further convert the first feature information into the fourth feature information, search for a search result that matches the fourth feature information, and feed back, in response to the fourth indication instruction, where The fourth indication instruction is used to indicate the fourth feature information, the fourth indication instruction is generated in response to a fifth user operation, and the fifth user operation is a trigger operation of the second entry by the user.
具体地,服务器101可以将所述第二入口和与第二特征信息相匹配的搜索 结果都反馈给用户终端102,用户终端102可以在搜索界面上呈现所述第二入口,当用户选择点击所述第二入口时用户终端102可以生成所述第四指示指令向服务器101发送,以便服务器101反馈与所述第四特征信息相匹配的搜索结果。Specifically, the server 101 may search the second entry and the second feature information The result is fed back to the user terminal 102, the user terminal 102 can present the second entry on the search interface, and when the user selects to click the second entry, the user terminal 102 can generate the fourth indication instruction to send to the server 101, so that The server 101 feeds back search results that match the fourth feature information.
例如,在前述有关“奥斯卡”的示例中,在显示与所述第二特征信息oscar相关的搜索结果的同时,显示第二入口给用户;所述第二入口的提示信息可以显示为“搜索:
Figure PCTCN2016106257-appb-000001
”(即为基于对应第三语言为韩语的第四特征信息进行搜索)。其中,所述第二入口
Figure PCTCN2016106257-appb-000002
可以是一个快捷链接,用户点击该快捷链接将会触发所述第四指示指令。之后,所述搜索结果页面将会跳转至呈现包含与第四特征信息
Figure PCTCN2016106257-appb-000003
相匹配的搜索结果。
For example, in the aforementioned example regarding "Oscar", while displaying the search result related to the second feature information oscar, the second entry is displayed to the user; the prompt information of the second entry may be displayed as "search:
Figure PCTCN2016106257-appb-000001
(that is, searching for the fourth feature information based on the third language corresponding to Korean). wherein the second entry
Figure PCTCN2016106257-appb-000002
It can be a quick link, and the user clicking the shortcut link will trigger the fourth instruction instruction. After that, the search result page will jump to the presentation inclusion and the fourth feature information.
Figure PCTCN2016106257-appb-000003
Matching search results.
在本实施例的一些实施方式中,本实施例还可以包括:在相关搜索栏中,显示与所述第四特征信息相匹配的搜索结果。In some implementations of this embodiment, the embodiment may further include: displaying, in the related search bar, a search result that matches the fourth feature information.
例如,在前述有关“奥斯卡”的示例中,在搜索结果页面的主界面中显示与所述第二特征信息oscar相关的搜索结果的同时,在相关推荐栏(例如在位于搜索结果页面右侧的相关推荐栏、或者是位于搜索结果页面的最底端的相关推荐栏)中,展示包含与第四特征信息
Figure PCTCN2016106257-appb-000004
相匹配的搜索结果给用户,以供用户查看。
For example, in the aforementioned example regarding "Oscar", while the search result related to the second feature information oscar is displayed in the main interface of the search result page, in the relevant recommendation column (for example, on the right side of the search result page) In the relevant recommendation column, or in the relevant recommendation column at the bottom of the search result page), the display includes the fourth feature information.
Figure PCTCN2016106257-appb-000004
Match the search results to the user for viewing.
可以理解的是,所述第三语言例如可以是当前用户经常流量或使用的语言,具体可以依据当前用户的历史搜索记录统计得到的。在本实施例中,在用户熟悉第一语言而不熟悉第二语言的情况下,用户可以向搜索引擎输入第一语言的第一特征信息并触发第一搜索状态的搜索请求,搜索引擎则可以在第一搜索状态的搜索请求的指示下基于第一语言的第一特征信息向用户反馈与第二语言的第二特征信息相匹配的搜索结果,而用户不必自行查找翻译工具,也不必输入第二语言的查询词。可见,用户在以不熟悉的语言进行搜索时的操作得以简化,从而搜索服务的用户体验得以提升。It can be understood that the third language may be, for example, a current traffic or a language used by the current user, and may be obtained according to the current user's historical search record statistics. In this embodiment, in a case where the user is familiar with the first language and is not familiar with the second language, the user may input the first feature information of the first language to the search engine and trigger a search request of the first search state, and the search engine may Searching for the search result matching the second feature information of the second language to the user based on the first feature information of the first language under the instruction of the search request of the first search state, and the user does not have to search for the translation tool by himself or enter the first Two language query words. It can be seen that the user's operation in searching in an unfamiliar language is simplified, and the user experience of the search service is improved.
示例性设备Exemplary device
参见图3,示出了本发明实施例中一种搜索装置的结构图。在本实施例中,所述装置例如具体可以包括: Referring to Figure 3, there is shown a block diagram of a search device in an embodiment of the present invention. In this embodiment, the device may specifically include:
第一获取单元301,用于获取第一特征信息,所述第一特征信息为第一语言的信息;The first acquiring unit 301 is configured to acquire first feature information, where the first feature information is information in a first language;
转换单元302,用于响应于所述第一特征信息属于第一搜索状态的搜索请求,将所述第一特征信息转换为第二特征信息;其中,所述第一搜索状态的搜索请求用于指示基于指定的语言转换后的特征信息查找搜索结果,所述第二特征信息为对应于所述第一特征信息的第二语言的信息;The converting unit 302 is configured to convert the first feature information into second feature information in response to the search request that the first feature information belongs to the first search state; wherein the search request of the first search state is used for Instructing to search for a search result based on the specified language-converted feature information, the second feature information being information corresponding to the second language of the first feature information;
第一查找单元303,用于查找与所述第二特征信息相匹配的搜索结果;The first searching unit 303 is configured to search for a search result that matches the second feature information.
第一反馈单元304,用于反馈所述与所述第二特征信息相匹配的搜索结果。The first feedback unit 304 is configured to feed back the search result that matches the second feature information.
可选的,所述装置还包括:Optionally, the device further includes:
第一提供单元,用于在所述查找与所述第二特征信息相匹配的搜索结果并反馈时,提供第一入口,所述第一入口用于用户请求与所述第一特征信息相匹配的搜索结果。a first providing unit, configured to provide a first entry when the search result matching the second feature information is searched for, and the first entry is used for a user request to match the first feature information Search results.
可选的,所述转换单元302可以包括:第一识别子单元和第一转换子单元。Optionally, the converting unit 302 may include: a first identifying subunit and a first converting subunit.
第一识别子单元,用于从系统预设的配置中识别用于转换所述第一特征信息的第一目标语言;a first identifying subunit, configured to identify, from a configuration preset by the system, a first target language for converting the first feature information;
第一转换子单元,用于响应于所述第一目标语言为所述第二语言,将所述第一特征信息转换为所述第二特征信息。a first conversion subunit, configured to convert the first feature information into the second feature information in response to the first target language being the second language.
可选的,所述转换单元302可以包括:第二识别子单元和第二转换子单元。Optionally, the converting unit 302 may include: a second identifying subunit and a second converting subunit.
第二识别子单元,用于从所述第一特征信息所属的搜索请求中识别用于转换所述第一特征信息的第二目标语言,所述第二目标语言是响应于第一用户操作而设置到所述搜索请求中的,所述第一用户操作为用户对转换语言的选择操作;a second identification subunit, configured to identify, from a search request to which the first feature information belongs, a second target language for converting the first feature information, where the second target language is in response to the first user operation Set to the search request, the first user operation is a user selection operation of a conversion language;
第二转换子单元,用于响应于所述第二目标语言为所述第二语言,将所述第一特征信息转换为所述第二特征信息。a second conversion subunit, configured to convert the first feature information into the second feature information in response to the second target language being the second language.
可选的,所述装置还可以包括:第二查找单元、第二反馈单元、第三查找单元、第三反馈单元。Optionally, the device may further include: a second searching unit, a second feedback unit, a third searching unit, and a third feedback unit.
第二查找单元,用于响应于将所述第一特征信息转换成所述第二特征信息,查找与所述第二特征信息具有相关关系的至少一个第三特征信息,所述第 三特征信息为所述第二语言的信息;a second searching unit, configured to search for at least one third feature information having a correlation with the second feature information, in response to converting the first feature information into the second feature information, where The three feature information is information of the second language;
第二反馈单元,用于反馈所述至少一个第三特征信息;a second feedback unit, configured to feed back the at least one third feature information;
第三查找单元,用于响应于第一指示指令,查找与第一目标特征信息相匹配的搜索结果;其中,所述第一指示指令用于指示所述第一目标特征信息,所述第一指示指令是响应于第二用户操作而生成的,所述第二用户操作为用户在所述至少一个第三特征信息中选取所述第一目标特征信息的操作;a third searching unit, configured to search for a search result that matches the first target feature information in response to the first indication instruction, where the first indication instruction is used to indicate the first target feature information, the first The instruction instruction is generated in response to the second user operation, and the second user operation is an operation in which the user selects the first target feature information in the at least one third feature information;
第三反馈单元,用于反馈所述与所述第一目标特征信息相匹配的搜索结果。And a third feedback unit, configured to feed back the search result that matches the first target feature information.
可选的,所述第二特征信息与所述至少一个第三特征信息之间的相关关系是基于用户历史搜索行为而学习得到的。Optionally, the correlation between the second feature information and the at least one third feature information is learned based on a user history search behavior.
可选的,所述装置还包括:第四反馈单元、触发单元。Optionally, the device further includes: a fourth feedback unit, a trigger unit.
第四反馈单元,用于响应于所述第一特征信息与多个所述第二语言的特征信息相对应,反馈所述多个所述第二语言的特征信息;a fourth feedback unit, configured to feed back the feature information of the plurality of the second languages in response to the first feature information corresponding to the feature information of the plurality of the second languages;
触发单元,用于响应于第二指示指令,触发所述第一查找单元603;其中,所述第二指示指令用于指示所述第二特征信息,所述第二指示指令是响应于第三用户操作而生成的,所述第三用户操作为用户在所述多个所述第二语言的特征信息中选取得到所述第二特征信息的操作。a triggering unit, configured to trigger the first searching unit 603 in response to the second indication instruction; wherein the second indication instruction is used to indicate the second feature information, and the second indication instruction is in response to the third The third user operation is an operation of selecting, by the user, the second feature information in the feature information of the plurality of the second languages.
可选的,所述装置还可以包括:第二提供单元。Optionally, the device may further include: a second providing unit.
第二提供单元,用于在所述查找与所述第二特征信息相匹配的搜索结果并反馈时,提供第二入口,所述第二入口用于用户请求与第四特征信息相匹配的搜索结果,所述第四特征信息为对应于所述第一特征信息的第三语言的信息。a second providing unit, configured to provide a second portal for searching for a search that matches the fourth feature information when the search result matching the second feature information is searched for and fed back As a result, the fourth feature information is information corresponding to the third language of the first feature information.
可选的,所述装置还可以包括:第五反馈单元。Optionally, the device may further include: a fifth feedback unit.
第五反馈单元,用于在所述查找与所述第二特征信息相匹配的搜索结果并反馈的同时,反馈所述第二特征信息以供显示。And a fifth feedback unit, configured to feed back the second feature information for display while searching for the search result that matches the second feature information and feeding back.
在本实施例中,在用户熟悉第一语言而不熟悉第二语言的情况下,用户可以向搜索引擎输入第一语言的第一特征信息并触发第一搜索状态的搜索请求,搜索引擎则可以在第一搜索状态的搜索请求的指示下基于第一语言的第一特征信息向用户反馈与第二语言的第二特征信息相匹配的搜索结果,而用户不必自行查找翻译工具,也不必输入第二语言的查询词。可见,用户在以不熟悉的 语言进行搜索时的操作得以简化,从而搜索服务的用户体验得以提升。In this embodiment, in a case where the user is familiar with the first language and is not familiar with the second language, the user may input the first feature information of the first language to the search engine and trigger a search request of the first search state, and the search engine may Searching for the search result matching the second feature information of the second language to the user based on the first feature information of the first language under the instruction of the search request of the first search state, and the user does not have to search for the translation tool by himself or enter the first Two language query words. Visible, the user is unfamiliar The operation of the language for searching is simplified, and the user experience of the search service is improved.
参照图4,装置400可以包括以下一个或多个组件:处理组件402,存储器404,电源组件406,多媒体组件406,音频组件410,输入/输出(I/O)的接口412,传感器组件414,以及通信组件416。Referring to FIG. 4, apparatus 400 can include one or more of the following components: processing component 402, memory 404, power component 406, multimedia component 406, audio component 410, input/output (I/O) interface 412, sensor component 414, And a communication component 416.
处理组件402通常控制装置400的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件402可以包括一个或多个处理器420来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件402可以包括一个或多个模块,便于处理组件402和其他组件之间的交互。例如,处理部件402可以包括多媒体模块,以方便多媒体组件406和处理组件402之间的交互。 Processing component 402 typically controls the overall operation of device 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 402 can include one or more processors 420 to execute instructions to perform all or part of the steps of the methods described above. Moreover, processing component 402 can include one or more modules to facilitate interaction between component 402 and other components. For example, processing component 402 can include a multimedia module to facilitate interaction between multimedia component 406 and processing component 402.
存储器404被配置为存储各种类型的数据以支持在设备400的操作。这些数据的示例包括用于在装置400上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器404可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。 Memory 404 is configured to store various types of data to support operation at device 400. Examples of such data include instructions for any application or method operating on device 400, contact data, phone book data, messages, pictures, videos, and the like. Memory 404 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable. Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
电源组件406为装置400的各种组件提供电力。电源组件406可以包括电源管理系统,一个或多个电源,及其他与为装置400生成、管理和分配电力相关联的组件。 Power component 406 provides power to various components of device 400. Power component 406 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 400.
多媒体组件406包括在所述装置400和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件406包括一个前置摄像头和/或后置摄像头。当设备400处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。 每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 406 includes a screen between the device 400 and the user that provides an output interface. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 406 includes a front camera and/or a rear camera. When the device 400 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
音频组件410被配置为输出和/或输入音频信号。例如,音频组件410包括一个麦克风(MIC),当装置400处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器404或经由通信组件416发送。在一些实施例中,音频组件410还包括一个扬声器,用于输出音频信号。The audio component 410 is configured to output and/or input an audio signal. For example, audio component 410 includes a microphone (MIC) that is configured to receive an external audio signal when device 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in memory 404 or transmitted via communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting an audio signal.
I/O接口412为处理组件402和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 412 provides an interface between the processing component 402 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
传感器组件414包括一个或多个传感器,用于为装置400提供各个方面的状态评估。例如,传感器组件414可以检测到设备400的打开/关闭状态,组件的相对定位,例如所述组件为装置400的显示器和小键盘,传感器组件414还可以检测装置400或装置400一个组件的位置改变,用户与装置400接触的存在或不存在,装置400方位或加速/减速和装置400的温度变化。传感器组件414可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件414还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件414还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor assembly 414 includes one or more sensors for providing status assessment of various aspects to device 400. For example, sensor assembly 414 can detect an open/closed state of device 400, a relative positioning of components, such as the display and keypad of device 400, and sensor component 414 can also detect a change in position of one component of device 400 or device 400. The presence or absence of user contact with device 400, device 400 orientation or acceleration/deceleration, and temperature variation of device 400. Sensor assembly 414 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件416被配置为便于装置400和其他设备之间有线或无线方式的通信。装置400可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件416经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件416还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 Communication component 416 is configured to facilitate wired or wireless communication between device 400 and other devices. The device 400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, communication component 416 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
在示例性实施例中,装置400可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器 或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, device 400 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Gate array (FPGA), controller, microcontroller, microprocessor Or other electronic components are implemented to perform the above method.
具体地,本发明实施例提供了一种终端,该终端可以具体为装置400,包括有存储器404,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器404中,且经配置以由一个或者一个以上处理器420执行所述一个或者一个以上程序包含用于进行以下操作的指令:Specifically, the embodiment of the present invention provides a terminal, which may be specifically a device 400, including a memory 404, and one or more programs, where one or more programs are stored in the memory 404 and configured to Executing the one or more programs by one or more processors 420 includes instructions for performing the following operations:
获取第一特征信息,所述第一特征信息为第一语言的信息;Obtaining first feature information, where the first feature information is information in a first language;
响应于所述第一特征信息属于第一搜索状态的搜索请求,将所述第一特征信息转换为第二特征信息;其中,所述第一搜索状态的搜索请求用于指示基于指定的语言转换后的特征信息查找搜索结果,所述第二特征信息为对应于所述第一特征信息的第二语言的信息;Converting the first feature information into second feature information in response to the search request that the first feature information belongs to the first search state; wherein the search request of the first search state is used to indicate that the language conversion is based on the specified The subsequent feature information looks up the search result, and the second feature information is information corresponding to the second language of the first feature information;
查找与所述第二特征信息相匹配的搜索结果并反馈。Searching for search results that match the second feature information and feeding back.
本发明实施例还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器404,上述指令可由装置400的处理器420执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。Embodiments of the present invention also provide a non-transitory computer readable storage medium including instructions, such as a memory 404 including instructions executable by processor 420 of apparatus 400 to perform the above method. For example, the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行一种语音通信处理方法,所述方法包括:A non-transitory computer readable storage medium, when an instruction in the storage medium is executed by a processor of an electronic device, enabling the electronic device to perform a voice communication processing method, the method comprising:
获取第一特征信息,所述第一特征信息为第一语言的信息;Obtaining first feature information, where the first feature information is information in a first language;
响应于所述第一特征信息属于第一搜索状态的搜索请求,将所述第一特征信息转换为第二特征信息;其中,所述第一搜索状态的搜索请求用于指示基于指定的语言转换后的特征信息查找搜索结果,所述第二特征信息为对应于所述第一特征信息的第二语言的信息;Converting the first feature information into second feature information in response to the search request that the first feature information belongs to the first search state; wherein the search request of the first search state is used to indicate that the language conversion is based on the specified The subsequent feature information looks up the search result, and the second feature information is information corresponding to the second language of the first feature information;
查找与所述第二特征信息相匹配的搜索结果并反馈。Searching for search results that match the second feature information and feeding back.
图5是本发明实施例中服务器的结构示意图。该服务器1900可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)1922(例如,一个或一个以上处理器)和存储器1932,一个或一个以上存储应用程序1942或数据1944的存储介质1930(例如一个 或一个以上海量存储设备)。其中,存储器1932和存储介质1930可以是短暂存储或持久存储。存储在存储介质1930的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器1922可以设置为与存储介质1930通信,在服务器1900上执行存储介质1930中的一系列指令操作。FIG. 5 is a schematic structural diagram of a server in an embodiment of the present invention. The server 1900 can vary considerably depending on configuration or performance, and can include one or more central processing units (CPUs) 1922 (eg, one or more processors) and memory 1932, one or one The storage medium 1930 storing the application 1942 or the data 1944 (for example, one Or a storage device in Shanghai). Among them, the memory 1932 and the storage medium 1930 may be short-term storage or persistent storage. The program stored on storage medium 1930 may include one or more modules (not shown), each of which may include a series of instruction operations in the server. Still further, central processor 1922 can be configured to communicate with storage medium 1930, which performs a series of instruction operations in storage medium 1930.
服务器1900还可以包括一个或一个以上电源1926,一个或一个以上有线或无线网络接口1950,一个或一个以上输入输出接口1958,一个或一个以上键盘1956,和/或,一个或一个以上操作系统1941,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。 Server 1900 may also include one or more power sources 1926, one or more wired or wireless network interfaces 1950, one or more input and output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941. For example, Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. The terms "including", "comprising" or "comprising" or "comprising" are intended to include a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also other items not specifically listed Elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the device embodiment, since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment. The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.
以上所述仅是本发明的具体实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 The above is only a specific embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims (10)

  1. 一种搜索方法,其特征在于,包括:A search method, comprising:
    获取第一特征信息,所述第一特征信息为第一语言的信息;Obtaining first feature information, where the first feature information is information in a first language;
    响应于所述第一特征信息属于第一搜索状态的搜索请求,将所述第一特征信息转换为第二特征信息;其中,所述第一搜索状态的搜索请求用于指示基于指定的语言转换后的特征信息查找搜索结果,所述第二特征信息为对应于所述第一特征信息的第二语言的信息;Converting the first feature information into second feature information in response to the search request that the first feature information belongs to the first search state; wherein the search request of the first search state is used to indicate that the language conversion is based on the specified The subsequent feature information looks up the search result, and the second feature information is information corresponding to the second language of the first feature information;
    查找与所述第二特征信息相匹配的搜索结果并反馈。Searching for search results that match the second feature information and feeding back.
  2. 根据权利要求1所述的方法,其特征在于,在所述查找与所述第二特征信息相匹配的搜索结果并反馈时,所述方法还包括:The method according to claim 1, wherein when the search results are matched and matched by the second feature information, the method further comprises:
    提供第一入口,所述第一入口用于用户请求与所述第一特征信息相匹配的搜索结果。A first entry is provided, the first entry being for a user to request a search result that matches the first feature information.
  3. 根据权利要求1所述的方法,其特征在于,所述将所述第一特征信息转换为第二特征信息,包括:The method according to claim 1, wherein the converting the first feature information into the second feature information comprises:
    从系统预设的配置中识别用于转换所述第一特征信息的第一目标语言;Identifying, in a configuration preset by the system, a first target language for converting the first feature information;
    响应于所述第一目标语言为所述第二语言,将所述第一特征信息转换为所述第二特征信息。The first feature information is converted into the second feature information in response to the first target language being the second language.
  4. 根据权利要求1所述的方法,其特征在于,所述将所述第一特征信息转换为第二特征信息,包括:The method according to claim 1, wherein the converting the first feature information into the second feature information comprises:
    从所述第一特征信息所属的搜索请求中识别用于转换所述第一特征信息的第二目标语言,所述第二目标语言是响应于第一用户操作而设置到所述搜索请求中的,所述第一用户操作为用户对转换语言的选择操作;Identifying, from the search request to which the first feature information belongs, a second target language for converting the first feature information, the second target language being set to the search request in response to a first user operation The first user operation is a user selection operation of a conversion language;
    响应于所述第二目标语言为所述第二语言,将所述第一特征信息转换为所述第二特征信息。The first feature information is converted into the second feature information in response to the second target language being the second language.
  5. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    响应于将所述第一特征信息转换成所述第二特征信息,查找与所述第二特征信息具有相关关系的至少一个第三特征信息,所述第三特征信息为 所述第二语言的信息;And in response to converting the first feature information into the second feature information, searching for at least one third feature information having a correlation with the second feature information, the third feature information being Information of the second language;
    反馈所述至少一个第三特征信息;Feedbacking the at least one third feature information;
    响应于第一指示指令,查找与第一目标特征信息相匹配的搜索结果并反馈;Searching for a search result that matches the first target feature information and feeding back in response to the first indication instruction;
    其中,所述第一指示指令用于指示所述第一目标特征信息,所述第一指示指令是响应于第二用户操作而生成的,所述第二用户操作为用户在所述至少一个第三特征信息中选取所述第一目标特征信息的操作。The first indication instruction is used to indicate the first target feature information, the first indication instruction is generated in response to a second user operation, and the second user operation is that the user is in the at least one The operation of selecting the first target feature information from the three feature information.
  6. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    响应于所述第一特征信息与多个所述第二语言的特征信息相对应,反馈所述多个所述第二语言的特征信息;And corresponding to the feature information of the plurality of the second languages, the feature information of the plurality of the second languages is fed back;
    响应于第二指示指令,执行所述查找与所述第二特征信息相匹配的搜索结果并反馈;And in response to the second indication instruction, performing the searching for the search result that matches the second feature information and feeding back;
    其中,所述第二指示指令用于指示所述第二特征信息,所述第二指示指令是响应于第三用户操作而生成的,所述第三用户操作为用户在所述多个所述第二语言的特征信息中选取得到所述第二特征信息的操作。The second indication instruction is used to indicate the second feature information, the second indication instruction is generated in response to a third user operation, and the third user operation is The operation of obtaining the second feature information is selected from the feature information of the second language.
  7. 根据权利要求1所述的方法,其特征在于,在所述查找与所述第二特征信息相匹配的搜索结果并反馈时,所述方法还包括:The method according to claim 1, wherein when the search results are matched and matched by the second feature information, the method further comprises:
    提供第二入口,所述第二入口用于用户请求与第四特征信息相匹配的搜索结果,所述第四特征信息为对应于所述第一特征信息的第三语言的信息。A second entry is provided for the user to request a search result that matches the fourth feature information, the fourth feature information being information corresponding to the third language of the first feature information.
  8. 根据权利要求1所述的方法,其特征在于,在所述查找与所述第二特征信息相匹配的搜索结果并反馈时,所述方法还包括:The method according to claim 1, wherein when the search results are matched and matched by the second feature information, the method further comprises:
    反馈所述第二特征信息以供显示。The second feature information is fed back for display.
  9. 一种搜索装置,其特征在于,包括:A search device, comprising:
    获取单元,用于获取第一特征信息,所述第一特征信息为第一语言的信息;An acquiring unit, configured to acquire first feature information, where the first feature information is information in a first language;
    转换单元,用于响应于所述第一特征信息属于第一搜索状态的搜索请求,将所述第一特征信息转换为第二特征信息;其中,所述第一搜索状态的搜索请求用于指示基于指定的语言转换后的特征信息查找搜索结果,所 述第二特征信息为对应于所述第一特征信息的第二语言的信息;a converting unit, configured to convert the first feature information into second feature information in response to the search request that the first feature information belongs to the first search state; wherein the search request of the first search state is used to indicate Searching for search results based on specified feature information after language conversion The second feature information is information corresponding to the second language of the first feature information;
    查找单元,用于查找与所述第二特征信息相匹配的搜索结果;a searching unit, configured to search for a search result that matches the second feature information;
    反馈单元,用于反馈所述与所述第二特征信息相匹配的搜索结果。And a feedback unit, configured to feed back the search result that matches the second feature information.
  10. 一种搜索设备,其特征在于,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:A search device, comprising: a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to execute the one or more by one or more processors The program contains instructions for doing the following:
    获取第一特征信息,所述第一特征信息为第一语言的信息;Obtaining first feature information, where the first feature information is information in a first language;
    响应于所述第一特征信息属于第一搜索状态的搜索请求,将所述第一特征信息转换为第二特征信息;其中,所述第一搜索状态的搜索请求用于指示基于指定的语言转换后的特征信息查找搜索结果,所述第二特征信息为对应于所述第一特征信息的第二语言的信息;Converting the first feature information into second feature information in response to the search request that the first feature information belongs to the first search state; wherein the search request of the first search state is used to indicate that the language conversion is based on the specified The subsequent feature information looks up the search result, and the second feature information is information corresponding to the second language of the first feature information;
    查找与所述第二特征信息相匹配的搜索结果并反馈。 Searching for search results that match the second feature information and feeding back.
PCT/CN2016/106257 2016-04-06 2016-11-17 Searching method, device and equipment WO2017173827A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610210486.0 2016-04-06
CN201610210486.0A CN107273372A (en) 2016-04-06 2016-04-06 A kind of searching method, device and equipment

Publications (1)

Publication Number Publication Date
WO2017173827A1 true WO2017173827A1 (en) 2017-10-12

Family

ID=60000792

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/106257 WO2017173827A1 (en) 2016-04-06 2016-11-17 Searching method, device and equipment

Country Status (2)

Country Link
CN (1) CN107273372A (en)
WO (1) WO2017173827A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109241385A (en) 2018-08-08 2019-01-18 百度在线网络技术(北京)有限公司 Searching method, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030018468A1 (en) * 2001-07-20 2003-01-23 Johnson Deanna G. Universal search engine
CN101042692A (en) * 2006-03-24 2007-09-26 富士通株式会社 translation obtaining method and apparatus based on semantic forecast
CN102651003A (en) * 2011-02-28 2012-08-29 北京百度网讯科技有限公司 Cross-language searching method and device
CN102654867A (en) * 2011-03-02 2012-09-05 北京百度网讯科技有限公司 Webpage sorting method and system in cross-language search
CN103294682A (en) * 2012-02-24 2013-09-11 摩根全球购物有限公司 Multi-language retrieving method, computer readable storage medium and network searching system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030018468A1 (en) * 2001-07-20 2003-01-23 Johnson Deanna G. Universal search engine
CN101042692A (en) * 2006-03-24 2007-09-26 富士通株式会社 translation obtaining method and apparatus based on semantic forecast
CN102651003A (en) * 2011-02-28 2012-08-29 北京百度网讯科技有限公司 Cross-language searching method and device
CN102654867A (en) * 2011-03-02 2012-09-05 北京百度网讯科技有限公司 Webpage sorting method and system in cross-language search
CN103294682A (en) * 2012-02-24 2013-09-11 摩根全球购物有限公司 Multi-language retrieving method, computer readable storage medium and network searching system

Also Published As

Publication number Publication date
CN107273372A (en) 2017-10-20

Similar Documents

Publication Publication Date Title
WO2018032271A1 (en) Information searching method, device, electronic apparatus and server
RU2644130C2 (en) Text input method and device
WO2017088247A1 (en) Input processing method, device and apparatus
WO2018000585A1 (en) Interface theme recommendation method, apparatus, terminal and server
WO2017016148A1 (en) Image-based communication method and device
US11749273B2 (en) Speech control method, terminal device, and storage medium
CN106201734B (en) File sharing method and device
WO2017020479A1 (en) Interface display method and apparatus
WO2017185567A1 (en) Resource searching method and apparatus
WO2017092121A1 (en) Information processing method and device
US11836342B2 (en) Method for acquiring historical information, storage medium, and system
WO2019109664A1 (en) Cross-language search method and apparatus, and apparatus for cross-language search
WO2017148120A1 (en) Method, apparatus and system for acquiring image
CN108803891B (en) Information display method and device, electronic equipment and storage medium
WO2017088380A1 (en) Interface display method and apparatus
WO2018188410A1 (en) Feedback response method and apparatus
CN111046210A (en) Information recommendation method and device and electronic equipment
WO2020215691A1 (en) Information switching method and apparatus, and electronic device
WO2017173827A1 (en) Searching method, device and equipment
WO2017035985A1 (en) String storing method and device
CN110502484B (en) Method, device and medium for displaying file information on mobile terminal
CN111414766B (en) Translation method and device
CN107315590B (en) Notification message processing method and device
CN112068793A (en) Voice input method and device
CN107024998B (en) Input method, input device and input device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16897757

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16897757

Country of ref document: EP

Kind code of ref document: A1