Movatterモバイル変換


[0]ホーム

URL:


CN112084441A - Information retrieval method and device and electronic equipment - Google Patents

Information retrieval method and device and electronic equipment
Download PDF

Info

Publication number
CN112084441A
CN112084441ACN201910511856.8ACN201910511856ACN112084441ACN 112084441 ACN112084441 ACN 112084441ACN 201910511856 ACN201910511856 ACN 201910511856ACN 112084441 ACN112084441 ACN 112084441A
Authority
CN
China
Prior art keywords
link
information content
information
search result
search
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910511856.8A
Other languages
Chinese (zh)
Inventor
汪忠超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co LtdfiledCriticalBeijing ByteDance Network Technology Co Ltd
Priority to CN201910511856.8ApriorityCriticalpatent/CN112084441A/en
Publication of CN112084441ApublicationCriticalpatent/CN112084441A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The embodiment of the disclosure discloses an information retrieval method, an information retrieval device and electronic equipment. One embodiment of the method comprises: responding to a received search request of a user, and acquiring a link corresponding to a search result matched with the search request; determining whether information content corresponding to the link is stored in an in-station database; if yes, obtaining information content corresponding to the search result from the in-station database; if not, acquiring information content corresponding to the search result from an off-station database according to the link; and displaying the information content. On one hand, the accuracy of the information retrieval result can be ensured, and on the other hand, the response speed of the information retrieval can be improved.

Description

Translated fromChinese
信息检索方法、装置和电子设备Information retrieval method, device and electronic device

技术领域technical field

本公开涉及互联网技术领域,尤其涉及一种信息检索方法、装置和电子设备。The present disclosure relates to the field of Internet technologies, and in particular, to an information retrieval method, apparatus and electronic device.

背景技术Background technique

随着互联网技术的发展,人们越来越习惯从互联网获取各种信息。例如,用户可以通过终端设备获取来自互联网的各种信息。With the development of Internet technology, people are more and more accustomed to obtaining various information from the Internet. For example, users can obtain various information from the Internet through terminal devices.

通常,互联网用户可以通过设置终端设备中的搜索引擎客户端,向搜索引擎对应的服务器发起搜索请求。上述服务器中搜索引擎可以根据一定策略根据所接收到的搜索请求从互联网上搜集信息。在搜索引擎客户端会展现一条或多条搜索结果。上述一条或多条搜索结果可以包括各搜索结果对应的链接。当用户选中其中一条搜索结果时,可以通过该搜索结果的链接从提供该搜索结果的资源提供方获取搜索结果的详细信息。Generally, an Internet user can initiate a search request to a server corresponding to the search engine by setting the search engine client in the terminal device. The search engine in the above server can collect information from the Internet according to a certain strategy and according to the received search request. One or more search results will be displayed on the search engine client. The above one or more search results may include a link corresponding to each search result. When the user selects one of the search results, detailed information of the search result can be obtained from the resource provider that provides the search result through the link of the search result.

上述信息检索方式,搜索引擎从互联网中获取到搜索结果后,在展示搜索结果时,需要根据资源提供方所提供的链接跳转到资源提供方的相关页面。在上述过程中,由于发生跳转,搜索引擎所在平台无法确保跳转后的页面信息的准确性。此外,上述信息检索方式也无法保证向用户展示用户所选择的搜索结果的及时性,从而影响用户体验。In the above information retrieval method, after the search engine obtains the search results from the Internet, when displaying the search results, it needs to jump to the relevant page of the resource provider according to the link provided by the resource provider. In the above process, due to the jump, the platform where the search engine is located cannot ensure the accuracy of the page information after the jump. In addition, the above information retrieval method cannot guarantee the timeliness of displaying the search result selected by the user to the user, thereby affecting the user experience.

发明内容SUMMARY OF THE INVENTION

本公开实施例提供了一种信息检索方法、装置和电子设备,实现了提高待展示信息的准确性,提升信息检索的响应速度的目的。The embodiments of the present disclosure provide an information retrieval method, apparatus and electronic device, which achieve the purpose of improving the accuracy of information to be displayed and improving the response speed of information retrieval.

第一方面,本公开实施例提供了一种信息检索方法,该方法包括:响应于接收到用户的搜索请求,获取与所述搜索请求匹配的搜索结果对应的链接;确定站内数据库中是否存储有与所述链接对应的信息内容;若是,从所述站内数据库中获取所述搜索结果对应的信息内容;若否,根据所述链接从站外数据库中获取所述搜索结果对应的信息内容;展示所述信息内容。In a first aspect, an embodiment of the present disclosure provides an information retrieval method, the method includes: in response to receiving a search request from a user, obtaining a link corresponding to a search result matching the search request; determining whether an in-site database stores a link The information content corresponding to the link; if yes, obtain the information content corresponding to the search result from the in-site database; if not, obtain the information content corresponding to the search result from the off-site database according to the link; show the content of the information.

第二方面,本公开实施例提供了一种信息检索装置,包括获取单元,用于响应于接收到用户的搜索请求,获取与所述搜索请求匹配的搜索结果对应的链接;确定单元,用于确定站内数据库中是否存储有与所述链接对应的信息内容;第一获取单元,用于若是,从所述站内数据库中获取所述搜索结果对应的信息内容;第二获取单元,用于若否,根据所述链接从站外数据库中获取所述搜索结果对应的信息内容;展示单元,用于展示所述信息内容。In a second aspect, an embodiment of the present disclosure provides an information retrieval apparatus, including an obtaining unit, configured to, in response to receiving a search request from a user, obtain a link corresponding to a search result matching the search request; a determining unit, configured to Determine whether the information content corresponding to the link is stored in the in-site database; the first acquisition unit is used to acquire the information content corresponding to the search result from the in-site database if yes; the second acquisition unit is used for if not , obtain the information content corresponding to the search result from the off-site database according to the link; the display unit is used to display the information content.

第三方面,本公开实施例提供了一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现上述第一方面所述的信息检索方法的步骤。In a third aspect, embodiments of the present disclosure provide an electronic device, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors , so that one or more processors implement the steps of the information retrieval method described in the first aspect.

第四方面,本公开实施例提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现上述第一方面所述的信息检索方法的步骤。In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of the information retrieval method described in the first aspect.

本公开实施例提供的信息检索方法、装置和电子设备,通过响应于接收到用户的搜索请求,获取与搜索请求匹配的搜索结果对应的链接;然后,确定站内数据库中是否存储有与所述链接对应的信息内容,若是,从所述站内数据库中获取搜索结果对应的信息内容,若否,根据链接从站外数据库中获取搜索结果对应的信息内容,最后展示上述信息内容。上述方案通过首先确定站内数据库中是否存储有搜索结果对应的信息内容,若是,则从站内数据库中获取上述信息内容,若否,则根据搜索结果对应的链接在站外数据库获取上述信息内容,一方面可以提升信息搜索的响应速度,另一方面可以提高信息搜索结果的准确性。In the information retrieval method, device and electronic device provided by the embodiments of the present disclosure, in response to receiving a search request from a user, a link corresponding to a search result matching the search request is obtained; then, it is determined whether the in-site database stores a link corresponding to the link For the corresponding information content, if yes, obtain the information content corresponding to the search result from the on-site database, if not, obtain the information content corresponding to the search result from the off-site database according to the link, and finally display the above information content. The above scheme firstly determines whether the information content corresponding to the search result is stored in the in-site database, if so, obtains the above-mentioned information content from the in-site database, if not, obtains the above-mentioned information content from the off-site database according to the link corresponding to the search result. On the one hand, it can improve the response speed of information search, and on the other hand, it can improve the accuracy of information search results.

附图说明Description of drawings

附图用于更好地理解本公开,不构成对本公开的不当限定。其中:The accompanying drawings are used for a better understanding of the present disclosure, and do not constitute an improper limitation of the present disclosure. in:

图1是根据本公开的信息检索方法的一个实施例的流程图;1 is a flowchart of one embodiment of an information retrieval method according to the present disclosure;

图2是根据本申请的信息检索方法的一个应用场景的示意图;2 is a schematic diagram of an application scenario of the information retrieval method according to the present application;

图3是根据本公开的信息检索方法的又一个实施例的流程图;3 is a flowchart of yet another embodiment of an information retrieval method according to the present disclosure;

图4是根据本公开的信息检索装置的一个实施例的结构示意图;4 is a schematic structural diagram of an embodiment of an information retrieval apparatus according to the present disclosure;

图5是本公开的一个实施例的信息检索方法可以应用于其中的示例性系统架构;FIG. 5 is an exemplary system architecture to which the information retrieval method of an embodiment of the present disclosure may be applied;

图6是根据本公开实施例提供的电子设备的基本结构的示意图。FIG. 6 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.

具体实施方式Detailed ways

以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实施例的各种细节以助于理解。应当将它们认为仅仅是示范性的。因此本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本公开的范围和精神。Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding. They should be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure.

需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。It should be noted that the embodiments of the present disclosure and the features of the embodiments may be combined with each other under the condition of no conflict.

请参考图1,其示出了根据本公开的信息检索方法的一个实施例的流程。如图1所示该信息检索方法,包括以下步骤:Please refer to FIG. 1 , which shows a flow of an embodiment of an information retrieval method according to the present disclosure. As shown in Figure 1, the information retrieval method includes the following steps:

步骤101,响应于接收到用户的搜索请求,获取与所述搜索请求匹配的搜索结果对应的链接。Step 101, in response to receiving a search request from a user, obtain a link corresponding to a search result matching the search request.

通常,用户可以使用终端设备通过有线或者无线连接方式向服务器发出搜索请求。终端设备中可以设置各种应用客户端,例如搜索引擎客户端,或者购物类应用客户端等。这里的服务器可以是站内服务器。上述站内服务器是指,向用户通过其发送搜索请求的应用客户端提供服务的服务平台所属的服务器。Usually, a user can use a terminal device to send a search request to the server through a wired or wireless connection. Various application clients can be set in the terminal device, such as a search engine client, or a shopping application client. The server here can be an on-site server. The above-mentioned in-site server refers to a server belonging to a service platform that provides services to an application client through which a user sends a search request.

上述服务器可以从互联网中获取与搜索请求匹配的搜索结果对应的链接。The above server may obtain links corresponding to search results matching the search request from the Internet.

这里的链接可以超级链接。也即资源对应的统一资源定位符(Uniform ResourceLocator,URL)。Links here can be hyperlinked. That is, the uniform resource locator (Uniform ResourceLocator, URL) corresponding to the resource.

在可选的实现方式中,上述步骤101可以包括如下步骤:In an optional implementation manner, the above step 101 may include the following steps:

首先,响应于接收到用户的搜索请求,解析搜索请求对应的搜索元素。First, in response to receiving a search request from a user, a search element corresponding to the search request is parsed.

在这些可选的实现方式中,上述搜索元素例如可以是关键字、关键句等。In these optional implementation manners, the above-mentioned search elements may be, for example, keywords, key sentences, and the like.

上述用户的搜索请求例如可以包括文字形式的搜索请求,或者语音形式的搜索请求。在搜索请求是文字搜索请求时,可以对文字搜索请求进行切词,得到多个分词结果;然后使用各种现有的关键词分析方法从分词结果中确定出关键字。从而提取用户搜索请求对应的关键字。在搜索请求为语音形式的搜索请求时,可以将语音形式的搜索请求根据语音识别的方法转换成文字形式的搜索请求,并进一步提取该搜索请求对应的关键字。The above-mentioned user's search request may include, for example, a search request in the form of text, or a search request in the form of voice. When the search request is a text search request, the text search request can be segmented to obtain multiple word segmentation results; and then various existing keyword analysis methods are used to determine keywords from the word segmentation results. Thereby, the keyword corresponding to the user's search request is extracted. When the search request is a voice search request, the voice search request can be converted into a text search request according to the method of voice recognition, and keywords corresponding to the search request are further extracted.

在一些应用场景中,上述搜索请求还可以包括资源链接等。在这些应用场景中,上述搜索元素可以为资源链接。In some application scenarios, the above search request may also include resource links and the like. In these application scenarios, the above search elements may be resource links.

其次,基于搜索元素获取搜索结果。Second, get search results based on the search element.

可以基于上述搜索元素从互联网中进行搜索,从而得到多个搜索结果。例如可以通过网络爬虫技术在互联网中发布的各种资源的摘要信息中获取包括与搜索元素匹配的搜索结果。Searches from the Internet may be performed based on the above search elements, resulting in a plurality of search results. For example, the abstract information of various resources published on the Internet can be obtained by using the web crawler technology, including search results that match the search elements.

步骤102,确定站内数据库中是否存储有与链接对应的信息内容。Step 102: Determine whether the information content corresponding to the link is stored in the in-site database.

上述站内数据库可以是为终端设备的应用客户端提供信息服务的服务平台所属的数据库。这里的站内数据库可以是各种类型的数据库,例如层次式数据库、网络式数据库和关系型数据库等。The above-mentioned in-site database may be a database belonging to a service platform that provides information services for the application client of the terminal device. The in-site database here can be various types of databases, such as a hierarchical database, a network database, and a relational database.

在本实施例中,上述站内数据库中可以存储多条从互联网中获取的信息对应的详细的信息内容,以及各信息的摘要。上述信息内容可以包括文字、图片、视频,或者文字、图片和/或视频的组合等。In this embodiment, the above-mentioned in-site database may store detailed information contents corresponding to a plurality of pieces of information obtained from the Internet, and a summary of each information. The above information content may include words, pictures, videos, or a combination of words, pictures and/or videos, and the like.

在本实施例中,可以根据上述链接对应的摘要信息在站内数据库中进行查询。若站内数据库中存在与上述摘要信息,则可以确定站内数据库存在与上述链接对应的信息内容。In this embodiment, the in-site database can be queried according to the summary information corresponding to the above link. If the above-mentioned summary information exists in the in-station database, it can be determined that there is information content corresponding to the above-mentioned link in the in-station database.

步骤103,若是,从站内数据库中获取搜索结果对应的信息内容。Step 103: If yes, obtain the information content corresponding to the search result from the in-site database.

在步骤102中确定站内数据库中存储有与搜索结果对应的信息内容之后,上述服务器可以从站内数据库中提取上述搜索结果对应的信息内容。After it is determined in step 102 that the information content corresponding to the search result is stored in the in-site database, the server may extract the information content corresponding to the above-mentioned search result from the in-site database.

步骤104,若否,根据链接从站外数据库中获取所述搜索结果对应的信息内容Step 104, if not, obtain the information content corresponding to the search result from the off-site database according to the link

若在步骤102中确定站内数据库中不存在与上述搜索结果匹配的信息内容,则可以根据上述链接从站外数据库中获取搜索结果对应的信息内容。这里的站外数据库可以是不属于向用户通过其发送搜索请求的应用客户端提供服务的服务平台的任意数据库。If it is determined in step 102 that there is no information content matching the above search result in the on-site database, the information content corresponding to the search result may be obtained from the off-site database according to the above link. The off-site database here may be any database that does not belong to the service platform that provides services to the application client through which the user sends the search request.

步骤105,展示上述信息内容。Step 105, displaying the above information content.

实践中,可以将所获取的上述信息内容(包括文字信息、图片信息、音频信息和/或视频信息)以及预设展示方式发送到终端设备中,以在终端设备的显示屏幕中展示上述信息内容。这里的展示方式包括在页面中的展示的位置、字体大小、视频播放窗口大小、图片像素尺寸等等。In practice, the acquired information content (including text information, picture information, audio information and/or video information) and the preset display mode can be sent to the terminal device, so as to display the above-mentioned information content on the display screen of the terminal device. . The display method here includes the display position on the page, the font size, the size of the video playback window, the pixel size of the picture, and so on.

在一些应用场景中,上述展示上述信息内容,包括:根据与上述信息内容匹配的预设显示模板展示上述信息内容。In some application scenarios, the above-mentioned displaying the above-mentioned information content includes: displaying the above-mentioned information content according to a preset display template matching the above-mentioned information content.

也即可以预先设置与各类信息内容匹配的显示模板。当根据步骤101~104获取到与搜索结果匹配的信息内容之后,可以首先确定信息内容所属的类别。然后将信息内容对应的显示模板同时与信息内容发送给用户的终端设备(具体地是发送给设置在终端设备中的客户端)。以使终端设备在其屏幕中根据上述预设显示模板展示上述信息内容。That is, display templates matching various types of information content can be preset. After the information content matching the search result is acquired according to steps 101 to 104, the category to which the information content belongs may be determined first. Then, the display template corresponding to the information content is sent to the user's terminal device (specifically, to a client set in the terminal device) at the same time as the information content. So that the terminal device can display the above-mentioned information content on its screen according to the above-mentioned preset display template.

本公开的上述实施例提供的方法通过响应于接收到用户的搜索请求,获取与搜索请求匹配的搜索结果对应的链接;然后,确定站内数据库中是否存储有与所述链接对应的信息内容,若是,从所述站内数据库中获取搜索结果对应的信息内容,若否,根据链接从站外数据库中获取搜索结果对应的信息内容,最后展示上述信息内容。上述方案通过首先确定站内数据库中是否存储有搜索结果对应的信息内容,若是,则从站内数据库中获取上述信息内容,若否,则根据搜索结果对应的链接在站外数据库获取上述信息内容,一方面可以提升信息搜索的响应速度,另一方面可以提高信息搜索结果的准确性。The method provided by the above embodiments of the present disclosure obtains the link corresponding to the search result matching the search request by responding to receiving the search request from the user; then, it is determined whether the information content corresponding to the link is stored in the in-site database, and if so , obtain the information content corresponding to the search result from the on-site database, if not, obtain the information content corresponding to the search result from the off-site database according to the link, and finally display the above-mentioned information content. The above scheme firstly determines whether the information content corresponding to the search result is stored in the in-site database, if so, obtains the above-mentioned information content from the in-site database, if not, obtains the above-mentioned information content from the off-site database according to the link corresponding to the search result. On the one hand, it can improve the response speed of information search, and on the other hand, it can improve the accuracy of information search results.

请参考图2,其示出了本公开的信息检索方法的一个应用场景的示意图。如图2所示,用户201向终端设备202发起信息获取请求203,这里的信息获取请求203可以是用户通过终端设备展示的搜索引擎客户端输入的搜索请求而生成的信息获取请求。终端设备202可以将上述信息获取请求发送给服务器204。服务器204响应于接收到用户的搜索请求,获取与搜索请求匹配的搜索结果对应的链接205;然后服务器204确定站内数据库中是否存储有与上述链接对应的信息内容206;若是,服务器204从站内数据库中获取搜索结果对应的信息内容207;若否,服务器204根据上述链接从站外数据库中获取搜索结果对应的信息内容208;最后,服务器204将信息内容以及展示方式发送给终端设备209,以使终端设备202根据上述信息内容以及展示方式展示上述信息内容。Please refer to FIG. 2 , which shows a schematic diagram of an application scenario of the information retrieval method of the present disclosure. As shown in FIG. 2 , the user 201 initiates aninformation acquisition request 203 to theterminal device 202 , where theinformation acquisition request 203 may be an information acquisition request generated by a search request input by the user through a search engine client displayed by the terminal device. Theterminal device 202 may send the above information acquisition request to theserver 204 . In response to receiving the search request from the user, theserver 204 obtains thelink 205 corresponding to the search result matching the search request; then theserver 204 determines whether theinformation content 206 corresponding to the above link is stored in the in-site database; If not, theserver 204 obtains theinformation content 208 corresponding to the search result from the off-site database according to the above link; finally, theserver 204 sends the information content and display method to theterminal device 209, so that the Theterminal device 202 displays the above information content according to the above information content and the presentation manner.

进一步参考图3,其示出了信息检索方法的又一个实施例的流程图。如图3所示,该信息检索方法的流程,包括以下步骤:With further reference to FIG. 3, a flowchart of yet another embodiment of an information retrieval method is shown. As shown in Figure 3, the flow of the information retrieval method includes the following steps:

步骤301,响应于接收到用户的搜索请求,获取与所述搜索请求匹配的搜索结果对应的链接。Step 301, in response to receiving a search request from a user, obtain a link corresponding to a search result matching the search request.

步骤301与图1所示实施例中的步骤101相同,此处不赘述。Step 301 is the same as step 101 in the embodiment shown in FIG. 1 , and details are not described here.

步骤302,将上述链接与预先建立的链接标签映射表进行匹配,根据匹配结果确定站内数据库中是否存储有与上述链接对应的信息内容。Step 302: Match the above-mentioned link with a pre-established link label mapping table, and determine whether the information content corresponding to the above-mentioned link is stored in the database in the site according to the matching result.

在本实施例中,可以预先建立链接标签映射表。这里的链接标签映射表包括至少一个链接,以及与各个链接分别对应的标签。In this embodiment, a link label mapping table may be established in advance. The link label mapping table here includes at least one link, and labels corresponding to each link respectively.

可以预先从信息提供方获取多个信息内容对应的链接。这里的信息内容包括文字信息、图片信息、视频信息等。此外,还可以从信息提供方获取信息内容对应的摘要。Links corresponding to multiple information contents may be acquired from the information provider in advance. The information content here includes text information, picture information, video information, and the like. In addition, a summary corresponding to the information content can also be obtained from the information provider.

在一些应用场景中,可以使用预设方法生成上述链接对应的标签。In some application scenarios, a preset method can be used to generate the tags corresponding to the above links.

在另外一些应用场景中,可以使用上述预设方法生成链接和摘要共同对应的标签。这里的标签的长度可以是固定长度。上述标签可以为数字的组合、字符的组合或者数字和字符的组合等等。In other application scenarios, the above preset method can be used to generate tags corresponding to links and abstracts. The length of the label here can be a fixed length. The above label may be a combination of numbers, a combination of characters, or a combination of numbers and characters, and so on.

在本实施例中,在获取了信息提供方提供的资源、连接、资源摘要之后,可以将上述信息内容、摘要存储至站内数据库中一个存储地址中。可以使用预设方法生成包含链接、信息内容、摘要以及存储地址信息的标签。In this embodiment, after acquiring the resources, connections, and resource summaries provided by the information provider, the above-mentioned information content and summaries may be stored in a storage address in the in-site database. Labels containing links, informational content, summaries, and stored address information can be generated using preset methods.

上述预设方法可以是各种哈希算法(例如MD4、MD5、SHA-1等哈希算法),或者其他任意可以将任意长度的输入转换成固定长度输出的算法,例如随机数生成算法等。The above preset method can be various hash algorithms (such as MD4, MD5, SHA-1 and other hash algorithms), or any other algorithm that can convert an input of any length into a fixed-length output, such as a random number generation algorithm.

在本实施例中,上述链接以及与链接对应的标签可以关联存储在上述链接标签映射表中。In this embodiment, the above-mentioned link and the label corresponding to the link may be stored in the above-mentioned link label mapping table in association.

在本实施例的一些可选的实现方式中,上述步骤302的将所述链接与预先建立的链接标签映射表进行匹配,根据匹配结果确定站内数据库中是否存储有与所述链接对应的信息内容,可以包括:In some optional implementations of this embodiment, in the above step 302, the link is matched with a pre-established link label mapping table, and according to the matching result, it is determined whether the information content corresponding to the link is stored in the in-site database , which can include:

首先,确定上述搜索结果所属的信息类型。First, determine the type of information to which the above search results belong.

在这些可选的实现方式中,可以事先确定多个信息内容分别对应的信息类型。并分别建立与各信息类型对应的链接标签映射表。也就是,每一个信息类型对应一个预设链接标签映射表。信息类型例如可以包括文字类信息、视频类信息、图片类信息、音频类信息等。对于每一个搜索结果,可以首先确定其所属的信息类型,然后将搜索结果对应的链接与根据该链接生成的标签关联存储至该信息类型对应的链接标签映射表中。In these optional implementation manners, the respective information types corresponding to the multiple information contents may be determined in advance. And establish a link label mapping table corresponding to each information type. That is, each information type corresponds to a preset link label mapping table. The information type may include, for example, text-type information, video-type information, picture-type information, audio-type information, and the like. For each search result, the information type to which it belongs can be determined first, and then the link corresponding to the search result and the tag generated according to the link are associated and stored in the link tag mapping table corresponding to the information type.

实践中,可以根据搜索结果所对应的摘要确定搜索结果所属的信息类型。In practice, the information type to which the search result belongs may be determined according to the abstract corresponding to the search result.

其次,将上述链接与和信息类型对应的预先建立的链接标签映射表进行匹配,根据匹配结果确定站内数据库中是否存储有与所述链接对应的信息内容。Next, the above link is matched with a pre-established link label mapping table corresponding to the information type, and according to the matching result, it is determined whether the information content corresponding to the link is stored in the database in the site.

实践中,可以将上述搜索结果对应的链接与上述链接标签映射表中的各链接逐一比对是否一致。若预设链接标签映射表中存在与上述搜索结果对应的链接一致的链接,则匹配成功,否则不成功。In practice, the links corresponding to the above search results may be compared with each link in the above link label mapping table one by one to see if they are consistent. If there is a link consistent with the link corresponding to the above search result in the preset link label mapping table, the matching is successful, otherwise it is unsuccessful.

若匹配成功,则确定站内数据库中存储有与所述链接对应的信息内容;若匹配不成功,则确定站内数据库中未存储于所述链接对应的信息内容。If the matching is successful, it is determined that the information content corresponding to the link is stored in the in-site database; if the matching is unsuccessful, it is determined that the information content corresponding to the link is not stored in the in-site database.

步骤303,若是,根据与上述链接对应的目标标签所指示的地址子标签,从站内数据库中获取上述信息内容。Step 303: If yes, acquire the above information content from the database in the site according to the address sub-tag indicated by the target tag corresponding to the above-mentioned link.

在本实施例中,上述标签包括用于指示站内数据库中存储地址的到地址子标签。上述地址子标签用指示与上述链接对应的信息内容在站内数据库中的存储地址。In this embodiment, the above-mentioned tag includes an address-to-address sub-tag for indicating the address stored in the in-station database. The above-mentioned address sub-tag is used to indicate the storage address of the information content corresponding to the above-mentioned link in the in-site database.

步骤304,若否,根据上述链接从站外数据库中获取所述搜索结果对应的信息内容;Step 304, if not, obtain the information content corresponding to the search result from the off-site database according to the above link;

可以根据上述链接从站外数据库中拉取上述搜索结果对应的信息内容。The information content corresponding to the above search results can be pulled from the off-site database according to the above link.

在一些可选的实现方式中,上述步骤304从站外数据库中获取搜索结果对应的信息内容之后,还可以进一步包括:In some optional implementations, after obtaining the information content corresponding to the search result from the off-site database in theabove step 304, it may further include:

首先,使用预设方法生成上述链接对应的标签,并将上述标签与上述链接添加至上述链接标签映射表中;其中上述标签包括用于指示将上述搜索结果对应的信息内容存储至的站内数据库中的存储地址的子标签;First, use a preset method to generate a label corresponding to the above link, and add the above label and the above link to the above link label mapping table; wherein the above label includes an in-site database for indicating that the information content corresponding to the above search result is to be stored in the site The subtag of the storage address of ;

将所述搜索结果对应的信息内容存储至所述站内数据库中的存储地址。The information content corresponding to the search result is stored to a storage address in the in-site database.

也即可以将根据用户搜索请求从站外数据库获取的信息内容,不断增加链接标签映射表中的记录。从而可以随着时间的推移,从站内数据库中获取更多的信息内容,使得对用户的搜索请求的响应速度越来越快。使得所得到的搜索结果的安全性越来越高。That is, the information content obtained from the off-site database according to the user's search request can be continuously added to the records in the link label mapping table. As a result, more information content can be obtained from the in-site database over time, so that the response speed to the user's search request is faster and faster. The security of the obtained search results is made higher and higher.

步骤305,展示上述信息内容。Step 305, displaying the above information content.

在本实施例中,上述步骤305可以与图1所示实施例中的步骤105相同或相似,此处不赘述。In this embodiment, the foregoingstep 305 may be the same as or similar to the step 105 in the embodiment shown in FIG. 1 , and details are not described here.

从图3中可以看出,与图1对应的实施例相比,本实施例中的信息检索方法的流程突出了将所述链接与预先建立的链接标签映射表进行匹配,根据匹配结果确定站内数据库中是否存储有与所述链接对应的信息内容,根据与所述链接对应的目标标签所指示的地址子标签,从站内数据库中获取所述信息内容的步骤,通过链接映射表可以进一步缩短在本地检索待展示信息所用的时间,可以进一步提高信息检索的响应速度,提高信息检索的效率,改善用户体验。As can be seen from FIG. 3 , compared with the embodiment corresponding to FIG. 1 , the process of the information retrieval method in this embodiment highlights that the link is matched with the pre-established link label mapping table, and the Whether the information content corresponding to the link is stored in the database, according to the address sub-tag indicated by the target label corresponding to the link, the step of obtaining the information content from the in-site database can be further shortened through the link mapping table. The time taken to retrieve the information to be displayed locally can further improve the response speed of the information retrieval, improve the efficiency of the information retrieval, and improve the user experience.

进一步参考图4,作为对上述各图所示方法的实现,本公开提供了一种信息检索装置的一个实施例,该装置实施例与图1所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。Referring further to FIG. 4 , as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an information retrieval apparatus. The apparatus embodiment corresponds to the method embodiment shown in FIG. 1 . Specifically, the apparatus may Used in various electronic devices.

如图4所示,本实施例的信息检索装置包括:获取单元401、确定单元402、第一获取单元403、第二获取单元404和展示单元405。其中,获取单元401,用于响应于接收到用户的搜索请求,获取与搜索请求匹配的搜索结果对应的链接;确定单元402,用于确定站内数据库中是否存储有与链接对应的信息内容;第一获取单元403,用于若是,从站内数据库中获取搜索结果对应的信息内容;第二获取单元404,用于若否,根据链接从站外数据库中获取搜索结果对应的信息内容;展示单元405,用于展示信息内容。As shown in FIG. 4 , the information retrieval apparatus of this embodiment includes: anacquisition unit 401 , adetermination unit 402 , afirst acquisition unit 403 , asecond acquisition unit 404 , and adisplay unit 405 . Wherein, the obtainingunit 401 is used to obtain the link corresponding to the search result matching the search request in response to receiving the search request of the user; the determiningunit 402 is used to determine whether the information content corresponding to the link is stored in the database in the site; Anacquisition unit 403 is used to acquire the information content corresponding to the search result from the in-site database if yes; thesecond acquisition unit 404 is used to acquire the information content corresponding to the search result from the off-site database according to the link if not; thedisplay unit 405 , which is used to display information content.

在本实施例中,信息检索装置的获取单元401、确定单元402、第一获取单元403、第二获取单元404和展示单元405的具体处理及其所带来的技术效果可分别参考图1对应实施例中步骤101、步骤102、步骤103、步骤104和步骤105的相关说明,在此不再赘述。In this embodiment, the specific processing of the acquiringunit 401 , the determiningunit 402 , the first acquiringunit 403 , the second acquiringunit 404 , and the displayingunit 405 of the information retrieval apparatus and the technical effects brought about by them can refer to FIG. 1 , respectively. The related descriptions of step 101 , step 102 ,step 103 , step 104 and step 105 in the embodiment will not be repeated here.

在一些可选的实现方式中,确定单元402进一步用于:将链接与预先建立的链接标签映射表进行匹配,根据匹配结果确定站内数据库中是否存储有与链接对应的信息内容,其中,链接标签映射表包括至少一个链接以及各链接分别对应的标签,标签基于链接以及预设方法生成。In some optional implementations, the determiningunit 402 is further configured to: match the link with a pre-established link label mapping table, and determine whether information content corresponding to the link is stored in the in-site database according to the matching result, wherein the link label The mapping table includes at least one link and a label corresponding to each link, and the label is generated based on the link and a preset method.

在一些可选的实现方式中,标签包括用于指示站内存储地址的地址子标签;以及第一获取单元403进一步用于:若是,根据与链接对应的目标标签所指示的地址子标签,从站内数据库中获取信息内容。In some optional implementations, the label includes an address sub-label used to indicate the storage address in the station; and the first obtainingunit 403 is further configured to: if so, according to the address sub-label indicated by the target label corresponding to the link, from the station Get information from the database.

在一些可选的实现方式中,确定单元402进一步用于:确定搜索结果所属的信息类型;将链接与和信息类型对应的预先建立的链接标签映射表进行匹配,根据匹配结果确定站内数据库中是否存储有与链接对应的信息内容。In some optional implementations, the determiningunit 402 is further configured to: determine the information type to which the search result belongs; match the link with a pre-established link label mapping table corresponding to the information type, and determine whether there is a database in the site according to the matching result. Information content corresponding to the link is stored.

在一些可选的实现方式中,获取单元401进一步用于:响应于接收到用户的搜索请求,解析搜索请求对应的搜索元素;基于搜索元素获取搜索结果;获取搜索结果对应的链接。In some optional implementations, the obtainingunit 401 is further configured to: in response to receiving a search request from a user, parse a search element corresponding to the search request; obtain a search result based on the search element; and obtain a link corresponding to the search result.

在一些可选的实现方式中,第二获取单元404进一步用于:使用预设方法生成链接对应的标签,并将标签与链接添加至链接标签映射表中;其中标签包括用于指示将搜索结果对应的信息内容存储至的站内数据库中的存储地址的子标签;将搜索结果对应的信息内容存储至站内数据库中的存储地址。In some optional implementations, the second obtainingunit 404 is further configured to: generate a label corresponding to the link by using a preset method, and add the label and the link to the link label mapping table; The sub-tag of the storage address in the in-station database where the corresponding information content is stored; the information content corresponding to the search result is stored in the storage address in the in-station database.

在一些可选的实现方式中,展示单元405进一步用于:根据与信息内容匹配的预设显示模板展示信息内容。In some optional implementations, thedisplay unit 405 is further configured to: display the information content according to a preset display template matching the information content.

请参考图5,图5示出了本公开的一个实施例的信息检索方法可以应用于其中的示例性系统架构。Please refer to FIG. 5, which illustrates an exemplary system architecture to which an information retrieval method according to an embodiment of the present disclosure may be applied.

如图5所示,系统架构可以包括终端设备501、502、503,网络504、505,第一服务器506、第二服务器507。网络504用以在终端设备501、502、503和第一服务器506之间提供通信链路的介质。网络505用以在第一服务器506和第二服务器507之间提供通信链路的介质。网络504、505可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 5 , the system architecture may includeterminal devices 501 , 502 , and 503 ,networks 504 and 505 , afirst server 506 , and asecond server 507 . Thenetwork 504 is a medium for providing a communication link between theterminal devices 501 , 502 , 503 and thefirst server 506 . Thenetwork 505 is the medium used to provide the communication link between thefirst server 506 and thesecond server 507 . Thenetworks 504, 505 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.

终端设备501、502、503可以通过网络504与第一服务器505交互,以接收或发送消息等。终端设备501、502、503上可以安装有各种客户端应用,例如网页浏览器应用、搜索类应用、新闻资讯类应用。Theterminal devices 501, 502, and 503 can interact with thefirst server 505 through thenetwork 504 to receive or send messages and the like. Various client applications may be installed on theterminal devices 501 , 502 and 503 , such as web browser applications, search applications, and news information applications.

终端设备501、502、503可以是具有显示屏的各种电子设备,包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。Theterminal devices 501, 502, 503 may be various electronic devices with display screens, including but not limited to, such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portables) multimedia players), mobile terminals such as in-vehicle terminals (eg, in-vehicle navigation terminals), etc., and stationary terminals such as digital TVs, desktop computers, and the like.

第一服务器506可以是站内服务器,例如搜索引擎服务平台所属的服务器。第一服务器506可以提供各种服务,例如接收终端设备501、502、503发送的信息获取请求,根据信息获取请求通过各种信息获取方式获取信息获取请求对应的搜索结果对应的链接,例如从第二服务器507中获取搜索结果对应的链接。Thefirst server 506 may be an on-site server, such as a server to which the search engine service platform belongs. Thefirst server 506 can provide various services, such as receiving information acquisition requests sent by theterminal devices 501, 502, and 503, and acquiring links corresponding to the search results corresponding to the information acquisition requests through various information acquisition methods according to the information acquisition requests, for example, from the The link corresponding to the search result is obtained from thesecond server 507 .

第二服务器507可以是站外服务器。第二服务器507可以是各种服务器,例如接收第一服务器506的信息获取请求,并根据信息获取请求从其对应的数据裤子中所存储的信息进行匹配,将匹配成功的信息的链接发送给第一服务器506。Thesecond server 507 may be an off-site server. Thesecond server 507 may be various servers, for example, it receives the information acquisition request from thefirst server 506, matches the information stored in its corresponding data pants according to the information acquisition request, and sends the link of the successfully matched information to thefirst server 507. Aserver 506.

需要说明的是,本公开实施例所提供的信息检索方法一般由第一服务器506执行,相应地,信息检索装置一般设置于第一服务器506中。It should be noted that the information retrieval method provided by the embodiments of the present disclosure is generally executed by thefirst server 506 , and accordingly, the information retrieval apparatus is generally set in thefirst server 506 .

应该理解,图5中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in FIG. 5 are only illustrative. There can be any number of terminal devices, networks and servers according to implementation needs.

下面参考图6,其示出了适于用来实现本公开实施例的电子设备(例如图5中的第一服务器)的结构示意图。图6示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring next to FIG. 6 , it shows a schematic structural diagram of an electronic device (eg, the first server in FIG. 5 ) suitable for implementing an embodiment of the present disclosure. The electronic device shown in FIG. 6 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.

如图6所示,电子设备可以包括处理装置(例如中央处理器、图形处理器等)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储装置606加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有电子设备操作所需的各种程序和数据。处理装置601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。As shown in FIG. 6 , the electronic device may include a processing device (eg, a central processing unit, a graphics processor, etc.) 601 that may be loaded into a random access memory according to a program stored in a read only memory (ROM) 602 or from astorage device 606 The program in the (RAM) 603 executes various appropriate operations and processes. In theRAM 603, various programs and data necessary for the operation of the electronic device are also stored. Theprocessing device 601 , theROM 602 , and theRAM 603 are connected to each other through abus 604 . An input/output (I/O)interface 605 is also connected tobus 604 .

通常,以下装置可以连接至I/O接口605:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置606;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置607;包括例如磁带、硬盘等的存储装置606;以及通信装置609。通信装置609可以允许电子设备与其他设备进行无线或有线通信以交换数据。虽然图6示出了具有各种装置的电子设备,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices can be connected to the I/O interface 605:input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration Anoutput device 607 of a computer, etc.; astorage device 606 including, for example, a magnetic tape, a hard disk, etc.; and acommunication device 609. Communication means 609 may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While FIG. 6 illustrates an electronic device having various means, it should be understood that not all of the illustrated means are required to be implemented or available. More or fewer devices may alternatively be implemented or provided.

特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置609从网络上被下载和安装,或者从存储装置606被安装,或者从ROM 602被安装。在该计算机程序被处理装置601执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via thecommunication device 609 , or from thestorage device 606 , or from theROM 602 . When the computer program is executed by theprocessing apparatus 601, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.

需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.

在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText TransferProtocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and server can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium (eg, a communications network) interconnected. Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.

上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.

上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:响应于接收到用户的搜索请求,获取与所述搜索请求匹配的搜索结果对应的链接;确定站内数据库中是否存储有与所述链接对应的信息内容;若是,从所述站内数据库中获取所述搜索结果对应的信息内容;若否,根据所述链接从站外数据库中获取所述搜索结果对应的信息内容;展示所述信息内容。The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: in response to receiving a search request from a user, obtain a search that matches the search request The link corresponding to the result; determine whether the information content corresponding to the link is stored in the in-site database; if so, obtain the information content corresponding to the search result from the in-site database; if not, according to the link from the off-site database to obtain the information content corresponding to the search result; and display the information content.

可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.

描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,获取单元还可以被描述为“响应于接收到用户的搜索请求,获取与所述搜索请求匹配的搜索结果对应的链接的单元”。The units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner. Wherein, the name of the unit does not constitute a limitation of the unit itself under certain circumstances. For example, the obtaining unit may also be described as "in response to receiving a search request from a user, obtain a corresponding search result matching the search request. linked units".

本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical Devices (CPLDs) and more.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.

以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of the disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, and should also cover, without departing from the above-mentioned disclosed concept, the technical solutions formed by the above-mentioned technical features or Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above-mentioned features with the technical features disclosed in the present disclosure (but not limited to) with similar functions.

此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。Additionally, although operations are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, although the above discussion contains several implementation-specific details, these should not be construed as limitations on the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.

尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or logical acts of method, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims (16)

CN201910511856.8A2019-06-132019-06-13Information retrieval method and device and electronic equipmentPendingCN112084441A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910511856.8ACN112084441A (en)2019-06-132019-06-13Information retrieval method and device and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910511856.8ACN112084441A (en)2019-06-132019-06-13Information retrieval method and device and electronic equipment

Publications (1)

Publication NumberPublication Date
CN112084441Atrue CN112084441A (en)2020-12-15

Family

ID=73733723

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910511856.8APendingCN112084441A (en)2019-06-132019-06-13Information retrieval method and device and electronic equipment

Country Status (1)

CountryLink
CN (1)CN112084441A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113239278A (en)*2021-06-082021-08-10阿波罗智联(北京)科技有限公司Information display method and device, electronic equipment and storage medium
CN113704604A (en)*2021-08-242021-11-26山东库睿科技有限公司Search system and search method

Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101263493A (en)*2005-06-202008-09-10谷歌公司System and method for providing search results
CN102902816A (en)*2012-10-232013-01-30北京奇虎科技有限公司Search result display method and system and client
CN102945259A (en)*2012-10-182013-02-27北京奇虎科技有限公司Searching method and device based on favorites
CN103488781A (en)*2013-09-302014-01-01北京奇虎科技有限公司Method and search engine server for providing information search
CN103744853A (en)*2013-11-082014-04-23北京奇虎科技有限公司Method and device for providing web cache information in search engine
CN103778156A (en)*2012-10-242014-05-07阿里巴巴集团控股有限公司Method and device for searching for data and server for data search
CN105574115A (en)*2015-12-142016-05-11北京奇虎科技有限公司Method and system for directly displaying search result on search page
CN106294469A (en)*2015-06-022017-01-04广州市动景计算机科技有限公司A kind of searching method based on browser and device
CN108885621A (en)*2016-10-312018-11-23微软技术许可有限责任公司For accelerating the content caching of load time
CN109740085A (en)*2019-01-102019-05-10北京字节跳动网络技术有限公司A kind of methods of exhibiting of content of pages, device, equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101263493A (en)*2005-06-202008-09-10谷歌公司System and method for providing search results
US20110295828A1 (en)*2005-06-202011-12-01Google Inc.Systems and methods for providing search results
CN102945259A (en)*2012-10-182013-02-27北京奇虎科技有限公司Searching method and device based on favorites
CN102902816A (en)*2012-10-232013-01-30北京奇虎科技有限公司Search result display method and system and client
CN103778156A (en)*2012-10-242014-05-07阿里巴巴集团控股有限公司Method and device for searching for data and server for data search
CN103488781A (en)*2013-09-302014-01-01北京奇虎科技有限公司Method and search engine server for providing information search
CN103744853A (en)*2013-11-082014-04-23北京奇虎科技有限公司Method and device for providing web cache information in search engine
CN106294469A (en)*2015-06-022017-01-04广州市动景计算机科技有限公司A kind of searching method based on browser and device
CN105574115A (en)*2015-12-142016-05-11北京奇虎科技有限公司Method and system for directly displaying search result on search page
CN108885621A (en)*2016-10-312018-11-23微软技术许可有限责任公司For accelerating the content caching of load time
CN109740085A (en)*2019-01-102019-05-10北京字节跳动网络技术有限公司A kind of methods of exhibiting of content of pages, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113239278A (en)*2021-06-082021-08-10阿波罗智联(北京)科技有限公司Information display method and device, electronic equipment and storage medium
CN113704604A (en)*2021-08-242021-11-26山东库睿科技有限公司Search system and search method

Similar Documents

PublicationPublication DateTitle
CN111414498B (en)Multimedia information recommendation method and device and electronic equipment
CN111368185B (en)Data display method and device, storage medium and electronic equipment
US11758088B2 (en)Method and apparatus for aligning paragraph and video
US11687715B2 (en)Summary generation method and apparatus
CN115757400B (en)Data table processing method, device, electronic equipment and computer readable medium
CN112287206A (en)Information processing method and device and electronic equipment
CN114780792A (en) A method, apparatus, device and medium for generating a video summary
CN112214695A (en)Information processing method and device and electronic equipment
CN114445754A (en) Video processing method, apparatus, readable medium and electronic device
CN113407665A (en)Text comparison method, device, medium and electronic equipment
WO2023151572A1 (en)Landing page processing method and apparatus
CN112084441A (en)Information retrieval method and device and electronic equipment
WO2022184037A1 (en)Document processing method, apparatus and device, and medium
CN111984890B (en)Method, device, medium and electronic equipment for generating display information
CN114239501A (en)Contract generation method, apparatus, device and medium
KR102151322B1 (en) Information push method and device
CN110489326B (en)IDS-based HTTPAPI debugging method device, medium and equipment
CN111597439A (en)Information processing method and device and electronic equipment
CN109947526A (en) Method and apparatus for outputting information
CN113807056B (en) A document name serial number error correction method, device and equipment
CN117034959A (en)Data processing method, device, electronic equipment and storage medium
CN113220922B (en) Image search method, device and electronic device
CN114786069A (en)Video generation method, device, medium and electronic equipment
CN115935051A (en) Search result display method, apparatus, device, storage medium and program product
CN114741629A (en)Page loading method, device, equipment and medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20201215

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp