Movatterモバイル変換


[0]ホーム

URL:


CN111625706B - Information retrieval method, device, equipment and storage medium - Google Patents

Information retrieval method, device, equipment and storage medium
Download PDF

Info

Publication number
CN111625706B
CN111625706BCN202010440829.9ACN202010440829ACN111625706BCN 111625706 BCN111625706 BCN 111625706BCN 202010440829 ACN202010440829 ACN 202010440829ACN 111625706 BCN111625706 BCN 111625706B
Authority
CN
China
Prior art keywords
information
search
retrieval
interaction module
user interaction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010440829.9A
Other languages
Chinese (zh)
Other versions
CN111625706A (en
Inventor
张雪婷
杨双全
谢奕
张阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co LtdfiledCriticalBeijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202010440829.9ApriorityCriticalpatent/CN111625706B/en
Publication of CN111625706ApublicationCriticalpatent/CN111625706A/en
Application grantedgrantedCritical
Publication of CN111625706BpublicationCriticalpatent/CN111625706B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The application discloses an information retrieval method, an information retrieval device, information retrieval equipment and a storage medium, and relates to the intelligent search technology. The specific implementation scheme is as follows: and acquiring corresponding retrieval instruction information (comprising information of a main body, association relation information of the main body and retrieval intention information) from a server according to the received retrieval statement, determining each target user interaction module corresponding to the retrieval intention information according to first local configuration information, acquiring target retrieval results corresponding to each target user interaction module from the server according to the retrieval instruction information, and displaying the target retrieval results corresponding to each target user interaction module to a user. Therefore, in the embodiment of the application, more search results based on the search indication information can be displayed to the user through each target user interaction module, and the content of the search results is more comprehensive and accurate.

Description

Information retrieval method, device, equipment and storage medium
Technical Field
The application relates to the field of computer technology, in particular to an intelligent searching technology.
Background
In the network age, information retrieval via the internet is currently the dominant retrieval system.
In the prior art, after a user inputs search information through a search engine in a terminal, the terminal usually sorts and displays results obtained by searching a server based on plain text content in the search information according to the order of relevance, but the content of the displayed results is often not comprehensive and accurate enough.
Disclosure of Invention
The information retrieval method, the information retrieval device, the information retrieval equipment and the storage medium are provided, and the content of the retrieval result displayed to the user is more comprehensive and accurate.
According to a first aspect, there is provided an information retrieval method comprising:
receiving a search statement input by a user; wherein, the search statement comprises: information of a subject, time information and behavior type information of the subject;
acquiring corresponding retrieval instruction information from a server according to the retrieval statement; wherein the retrieval instruction information includes: information of the main body, association relation information of the main body and retrieval intention information;
determining at least one target user interaction module corresponding to the retrieval intention information according to the first local configuration information; the first local configuration information is used for indicating user interaction modules corresponding to different retrieval intention information;
And acquiring a target retrieval result corresponding to each target user interaction module from the server according to the retrieval indication information, and displaying the target retrieval result corresponding to each target user interaction module to a user.
It can be seen that, unlike the prior art, in the embodiment of the present application, corresponding search instruction information (including information of a main body, association relation information of the main body, and search intention information) is obtained from a server according to a received search statement, then each target user interaction module corresponding to the search intention information in the search instruction information is determined according to first local configuration information, then target search results corresponding to each target user interaction module are obtained from the server according to the search instruction information, and target search results corresponding to each target user interaction module are displayed to a user. It can be seen that, in the embodiment of the application, more search results based on the search instruction information (including the information of the main body, the association relationship information of the main body and the search intention information) corresponding to the search statement can be displayed to the user through each target user interaction module, the content of the search results is more comprehensive and accurate, and each target user interaction module also has interactivity, so that more extended search results can be displayed to the user.
According to a second aspect, there is provided an information retrieval apparatus comprising:
the receiving module is used for receiving a search statement input by a user; wherein, the search statement comprises: information of a subject, time information and behavior type information of the subject;
the first acquisition module is used for acquiring corresponding retrieval instruction information from the server according to the retrieval statement; wherein the retrieval instruction information includes: information of the main body, association relation information of the main body and retrieval intention information;
the determining module is used for determining at least one target user interaction module corresponding to the retrieval intention information according to the first local configuration information; the first local configuration information is used for indicating information of user interaction modules corresponding to different retrieval intention information;
the second acquisition module is used for acquiring a target retrieval result corresponding to each target user interaction module from the server according to the retrieval indication information;
and the first display module is used for displaying the target retrieval result corresponding to each target user interaction module to the user.
According to a third aspect, there is provided an electronic device comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the first aspect described above.
According to a fourth aspect, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of the first aspect described above.
One embodiment of the above application has the following advantages or benefits: through each target user interaction module corresponding to the search intention information in the search instruction information, more search results based on the search instruction information (comprising the information of the main body, the association relation information of the main body and the search intention information) corresponding to the search statement can be displayed to the user, the content of the search results is more comprehensive and accurate, and each target user interaction module also has interactivity, so that more extended search results can be displayed to the user.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for better understanding of the present solution and do not constitute a limitation of the present application. Wherein:
FIG. 1 is a diagram showing the search results in the prior art;
fig. 2 is a schematic view of an application scenario provided in an embodiment of the present application;
FIG. 3 is a flow chart of an information retrieval method according to an embodiment of the present disclosure;
fig. 4 is a schematic illustration of a target user interaction module according to an embodiment of the present application;
fig. 5 is a second schematic illustration of a target user interaction module provided in an embodiment of the present application;
FIG. 6 is a flowchart of an information retrieval method according to another embodiment of the present disclosure;
FIG. 7 is a flowchart of an information retrieval method according to another embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an information retrieval device according to an embodiment of the present application;
fig. 9 is a block diagram of an electronic device for implementing the information retrieval method of the embodiments of the present application.
Detailed Description
Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and should be considered as merely exemplary. Accordingly, one 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 application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
First, an application scenario and related part of the vocabulary of the embodiment of the present application will be explained.
In the prior art, after a user inputs search information through a search engine in a terminal, the terminal transmits the search information to a server. Secondly, the server performs searching (or called keyword matching searching) according to the plain text content in the searching information to obtain a plurality of searching results, and feeds back the plurality of searching results to the terminal. Then, fig. 1 is a schematic diagram showing the search results in the prior art, as shown in fig. 1, the terminal may sequentially display the search results obtained by searching the server based on the plain text content (for example, wei Mou, etc.) in the search information according to the order of relevance, but the content of the displayed results is often not comprehensive and accurate enough.
With the increasing habit of people using electronic devices and the increasing variety of electronic devices, the association relationship data generated among people, devices and devices is greatly increased, and more information hidden behind the data can be found by searching and analyzing the association relationship data. However, in the prior art, only matching search is performed based on the plain text content, how to search based on the association relationship of people, things, places and things to obtain a search result, and display and interact the search result, so that the problem of enhancing the acquisition of more effective information is to be solved.
Aiming at the technical problem that the content of the displayed search result in the prior art is not comprehensive and accurate enough, in the embodiment of the application, corresponding search instruction information (comprising information of a main body, association relation information of the main body and search intention information) is obtained from a server according to the received search statement, and then the target search result respectively corresponding to at least one target user interaction module is displayed to a user according to the search instruction information. Therefore, in the embodiment of the application, more retrieval results based on the retrieval instruction information (including the information of the main body, the association relation information of the main body and the retrieval intention information) corresponding to the retrieval statement can be displayed to the user through each target user interaction module, the content of the retrieval results is more comprehensive and accurate, and each target user interaction module also has interactivity, so that more extended retrieval results can be displayed to the user.
Fig. 2 is a schematic view of an application scenario provided in an embodiment of the present application. As shown in fig. 2, the application scenario in the embodiment of the present application may include, but is not limited to: aterminal 21 and aserver 22. Theterminal 21 may use the information retrieval method provided in the embodiment of the present application to display the retrieval result with more comprehensive and more accurate content to the user.
Alternatively, when receiving the search information input by the user, theterminal 21 may send the search information to theserver 22, so that theserver 22 performs analysis processing (e.g., natural language processing, and/or search processing, etc.) according to the search information, and sends the processing result (e.g., search instruction information, or target search results corresponding to each target user interaction module, etc.) to theterminal 21; further, theterminal 21 performs a corresponding operation after receiving the processing result fed back by theserver 22.
For example, if the processing result includes the above-mentioned search instruction information, theterminal 21 may perform a determining operation of each target user interaction module, an obtaining operation of a target search result corresponding to each target user interaction module, and/or a displaying operation of a target search result corresponding to each target user interaction module.
As yet another example, if the processing result includes the target search result corresponding to each target user interaction module, theterminal 21 may perform a presentation operation or the like of the target search result corresponding to each target user interaction module. It should be noted that, in this implementation, the server-side search process may include, but is not limited to: and determining each target user interaction module and searching target search results corresponding to each target user interaction module.
Illustratively, the terminals referred to in the embodiments of the present application may include, but are not limited to: a cell phone, tablet, notebook, desktop, or other form of electronic device with a search engine.
The server involved in the embodiment of the present application may be a background server corresponding to the search engine in the terminal.
The search statement referred to in the embodiment of the present application may include, but is not limited to: information of the subject, time information, and behavior type information of the subject. For example, the search statement may include, but is not limited to, any of the following: "3 months (time information) recently, who goes together with Wei Mou (subject) (behavior type information)", "important person who passed through (behavior type information) three days recently (time information) and Zhang san (subject)", "all travel records (behavior type information) of Lifour (subjects) three days recently (time information)".
The search instruction information corresponding to the search statement in the embodiment of the present application may include, but is not limited to: information of a subject (or referred to as an entity) in the search sentence, association relationship information of the subject, and search intention information. The search intention refers to the query intention of the user which is accurately understood on a semantic level based on multi-modal information such as user preference, space-time characteristics, context and the like.
For example, the association relationship information of the subject may refer to that analyzed by combining time information in the search statement and behavior type information of the subject; the retrieval intention information may refer to that which is analyzed by combining information of the subject, time information, and behavior type information of the subject in the retrieval sentence. For example, for a search statement: "3 months (time information) recently, who goes together with Wei Mou (subject) (behavior type information), the association information of the subject may include: going with Wei for some 3 months, retrieving intent information may include: inquiring the people who travel together with Wei within 3 months.
The natural language processing (natural language processing, NLP) referred to in embodiments of the present application is a cross-domain of computer science, artificial intelligence, and linguistics with the goal of letting a computer process or "understand" natural language to perform tasks such as language translation and question answering.
Optionally, the search instruction information corresponding to the search statement in the embodiment of the present application may be a result obtained by performing natural language processing on the search statement by the server, so that search intention information corresponding to the search statement input by the user may be accurately analyzed.
The technical scheme of the present application is described in detail below with specific examples. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 3 is a flow chart of an information retrieval method according to an embodiment of the present application. The execution body of the embodiment of the present application may be the above-mentioned terminal, or an information retrieval device in the above-mentioned terminal (it should be noted that, in the following embodiment of the present application, the execution body is described by taking the above-mentioned terminal as an example). The above information retrieval means may be implemented by software and/or hardware, for example.
As shown in fig. 3, the information retrieval method provided in the embodiment of the present application may include:
step S301, receiving a search sentence input by a user.
In this step, the terminal may receive a search term (or referred to as search information 1) input by the user through a search engine in the terminal. It should be understood that the terminal may receive search sentences entered by the user in text form through a search engine in the terminal, or may receive search sentences entered by the user in speech form through a search engine in the terminal.
Of course, the terminal may also receive a search sentence input by the user through other manners, which is not limited in the embodiment of the present application.
The search statement referred to in the embodiment of the present application may include, but is not limited to: information of the subject, time information, and behavior type information of the subject. For example, the search statement may include, but is not limited to, any of the following: "3 months (time information) recently, who goes together with Wei Mou (subject) (behavior type information)", "important person who passed through (behavior type information) three days recently (time information) and Zhang san (subject)", "all travel records (behavior type information) of Lifour (subjects) three days recently (time information)".
Step S302, corresponding retrieval instruction information is obtained from a server according to the retrieval statement.
In this step, the terminal may send the search term received in step S301 to the server, so that the server may analyze the search term to obtain search instruction information corresponding to the search term, and then feed back the search instruction information corresponding to the search term to the terminal.
The search instruction information corresponding to the above search statement in the embodiment of the present application may include, but is not limited to: the information of the subject, the association information of the subject and the search intention information in the search sentence.
For example, the association relationship information of the subject may be analyzed by combining the time information in the search sentence and the behavior type information of the subject. For example, for a search statement: "3 months (time information) recently, who goes together with Wei Mou (subject) (behavior type information), the association information of the subject may include: travel with Wei for 3 months.
The above-described retrieval intention information may be, for example, one analyzed by combining information of the subject, time information, and behavior type information of the subject in the above-described retrieval sentence. For example, for a search statement: "last 3 months (time information), who goes together with Wei Mou (subject) (behavior type information), the retrieval intention information of which may include: inquiring the people who travel together with Wei within 3 months.
Step S303, determining at least one target user interaction module corresponding to the retrieval intention information according to the first local configuration information.
In the embodiment of the application, the terminal is provided with first local configuration information; the first local configuration information is used for indicating user interaction modules corresponding to different retrieval intention information, so that the terminal can determine the user interaction module to be displayed according to the retrieval intention information corresponding to any retrieval statement.
For example, the first local configuration information is used to indicate: the searching intention information 1 corresponds to a user interaction module 1, a user interaction module 2 and a user interaction module 3; the retrieval intention information 2 corresponds to the user interaction module 4 and the user interaction module 5; the retrieval intention information 3 corresponds to the user interaction module 1, the user interaction module 2 and the user interaction module 5.
The first local configuration information in the terminal may be preconfigured when the terminal leaves the factory, or may be preconfigured when the terminal is updated or upgraded after leaving the factory, or may be preconfigured for the server to the terminal. Of course, the first local configuration information in the terminal may also be obtained by other manners, which is not limited in the embodiment of the present application.
Step S304, obtaining the target retrieval results corresponding to each target user interaction module from the server according to the retrieval indication information, and displaying the target retrieval results corresponding to each target user interaction module to the user.
In this step, the terminal may obtain, from the server, the target search result corresponding to each target user interaction module determined in the step S303 according to part or all of the search instruction information corresponding to the search statement (which may include, but is not limited to, information of the subject in the search statement, association relationship information of the subject, and search intention information), and then display the target search result corresponding to each target user interaction module to the user.
Therefore, compared with the mode that in the prior art, the terminal performs sequencing display on the results obtained by searching the server based on the plain text content in the search information according to the relevance order, in the embodiment of the present application, the terminal can display more search results based on the search instruction information (including the information of the main body, the association relation information of the main body and the search intention information) corresponding to the search statement to the user through each target user interaction module corresponding to the search intention information in the search instruction information, so that the content of the search results is more comprehensive and accurate.
It should be understood that the information form (e.g., computer-recognizable information form) of the target search result corresponding to each target user interaction module obtained by the terminal from the server may be different from the information form (e.g., user-recognizable information form) of the target search result corresponding to each target user interaction module presented to the user by the terminal.
It should be understood that, the information content of the target search result corresponding to each target user interaction module obtained by the terminal from the server may include: the information content of the target search result corresponding to each target user interaction module displayed to the user by the terminal may, of course, also include information content not displayed to the user temporarily, for example, when search information further input by the user is received through a certain target user interaction module, the information content may be further displayed to the user.
In summary, in the embodiment of the application, corresponding search instruction information (including information of a main body, association relation information of the main body and search intention information) is obtained from a server according to the received search statement, each target user interaction module corresponding to the search intention information in the search instruction information is determined according to the first local configuration information, then target search results corresponding to each target user interaction module are obtained from the server according to the search instruction information, and the target search results corresponding to each target user interaction module are displayed to a user. It can be seen that, in the embodiment of the application, more search results based on the search instruction information (including the information of the main body, the association relationship information of the main body and the search intention information) corresponding to the search statement can be displayed to the user through each target user interaction module, the content of the search results is more comprehensive and accurate, and each target user interaction module also has interactivity, so that more extended search results can be displayed to the user.
Further, on the basis of the above embodiment, in the embodiment of the present application, an implementation manner of "receiving a search sentence input by a user" in the above step S301 is described.
In a possible implementation manner, the terminal may receive the search sentence input by the user in the form of a word, for example, "3 months Wei Mouyi starts out".
In another possible implementation, the terminal may receive the above search statement entered by the user in the form of a conversation, for example, "3 months recently, who and Wei Mouyi go out". Therefore, the search statement input by the user in the form is beneficial to the user to express the clear search intention, so that after the terminal sends the search statement to the server, the server can accurately determine the search indication information corresponding to the search statement according to the search statement, and the terminal can display more accurate search results to the user according to the search indication information corresponding to the search statement.
Of course, the terminal may also receive the search statement input by the user in other forms, which is not limited in the embodiment of the present application.
Optionally, the search instruction information corresponding to the search statement in the embodiment of the present application may be a result obtained by performing natural language processing on the search statement by using the server, so that accurate information of a main body, association information of the main body and search intention information corresponding to the search statement may be obtained, so that more suitable target user interaction modules corresponding to the search intention information may be determined later, and thus more suitable search results may be displayed to a user through each target user interaction module.
In this embodiment of the present application, the server performs natural language processing on the search statement, extracts information and association relationship information of a subject, and then further analyzes and processes the information and association relationship information of the subject, so as to obtain search intention information.
The server can perform natural language processing on the search sentences through the capabilities of entities, relation extraction, basic word segmentation and the like provided by the big data intelligent processing platform, extract information of a main body and association relation information, and then perform rule matching to analyze the search intention information.
Further, each target user interaction module corresponding to the above-mentioned retrieval intention information in the embodiment of the present application may include, but is not limited to, at least one of the following: the system comprises a main body information interaction module, an association relation information interaction module, a related object information interaction module, a recommendation information interaction module and a track information interaction module. The main body information interaction module is used for displaying the main body information in the retrieval indication information; the association relation information interaction module is used for displaying the association relation information of the main body in the retrieval indication information; the related object information interaction module is used for displaying information of related objects meeting the association relation information of the main body in the retrieval indication information and the retrieval intention information; the recommendation information interaction module is used for displaying the extension recommendation information of the association relation information and the retrieval intention information of the main body in the retrieval instruction information; the track information interaction module is used for displaying the main body in the retrieval indication information and/or track information of the related objects.
Illustratively, the track information interaction module may include, but is not limited to: the system comprises a main body track information interaction module and a multimedia fusion track information interaction module. The main body track information interaction module is used for drawing and reproducing the historical geographic position of the main body in the retrieval instruction information by combining map information; the multimedia fusion track information interaction module is used for combining map information to draw, reproduce and fit the historical geographic position of the main body in the retrieval instruction information in a mode of distinguishing position sources and behavior sources (for example, taking trains, taking planes and the like).
For example, for a search statement: "last 3 months (time information), who goes together with Wei Mou (subject) (behavior type information), the respective target user interaction modules corresponding to the retrieval intention information may include, but are not limited to: the system comprises a main body information interaction module, an association relation information interaction module, a related object information interaction module and a recommendation information interaction module.
Fig. 4 is a first schematic illustration of a target user interaction module provided in an embodiment of the present application, and fig. 5 is a second schematic illustration of the target user interaction module provided in an embodiment of the present application. As shown in fig. 4, the main body information interaction module is configured to display information of a main body (for example, wei Mou) in the search instruction information corresponding to the search statement, or the basic information called as a center person, for example, may include, but not limited to: name, gender, age, school, etc.
As shown in fig. 4, the recommendation information interaction module is configured to display association information for the main body in the above-mentioned retrieval instruction information (for example, travel with Wei for 3 months) and retrieve intent information (e.g., query for people who travel with Wei for 3 months), such as people who travel with Wei Mou for 1 month, and people who travel with Wei Mou years.
The related object information interaction module is configured to display information of related objects (or referred to as target personnel) that satisfy the association relationship information of the main body and the search intention information in the search instruction information, as shown in fig. 5, where the information of the related objects may be displayed in a flat manner in a list manner, and support time screening, keyword screening, and so on, so that a user may further input the search information.
As shown in fig. 5, the association information interaction module is configured to display association information of the subject in the search instruction information, or referred to as a relationship map, for example, display association between the subject and the related object that satisfy the association information of the subject in the search instruction information and the search intention information.
Of course, each target user interaction module corresponding to the search intention information of the search sentence may further include other user interaction modules (for example, a track information interaction module, etc.), which is not limited in the embodiment of the present application.
It should be noted that, the target user interaction modules corresponding to the above-mentioned search intention information are only described by way of example, and may also correspond to other different target user interaction modules for different search intention information, which is not limited in the embodiment of the present application.
Further, on the basis of the above embodiment, in the embodiment of the present application, an implementation manner of "obtaining, from the server, the target search result corresponding to each target user interaction module according to the search instruction information" in the above step S304 is described.
In one possible implementation manner, the terminal may obtain, from the server, a target search result corresponding to each target user interaction module according to the search instruction information; the server may be preset with user interaction module configuration information, where the user interaction module configuration information is used to instruct different user interaction modules to display relevant information required when the corresponding search result is displayed.
In this implementation manner, the terminal may obtain, from the server, the target search result corresponding to each target user interaction module according to some or all of the above-mentioned search instruction information (which may include, but is not limited to, information of the subject in the search statement, association relationship information of the subject, and search intention information). The server can be preset with the configuration information of the user interaction module, so that the target retrieval result corresponding to each target user interaction module fed back to the terminal by the server not only considers the retrieval indication information, but also considers the related information required by each target user interaction module when displaying the corresponding target retrieval result, thereby being beneficial to improving the success rate of the terminal when displaying the retrieval result corresponding to each user interaction module.
Considering that the user interaction module in the terminal may be changed, if the configuration information of the user interaction module is not changed in time in the server, the target search result corresponding to a part of target user interaction modules fed back by the server to the terminal may not be displayed correctly. Based on the situation, the embodiment of the application also provides the following realizable mode, which can ensure that the terminal can correctly display the retrieval result corresponding to each user interaction module acquired from the server.
In another possible implementation manner, the terminal may obtain, from the server, the target search result corresponding to each target user interaction module according to the search instruction information and the second local configuration information.
In the implementation mode, the terminal is provided with second local configuration information; the second local configuration information is used for indicating related information required by different user interaction modules when displaying corresponding search results, so that the terminal can be ensured to accurately display the search results corresponding to each user interaction module acquired from the server according to the second local configuration information.
The second local configuration information in the terminal may be preconfigured when the terminal leaves the factory, or may be preconfigured when the terminal is updated or upgraded after leaving the factory, or may be preconfigured for the server to the terminal. Of course, the second local configuration information in the terminal may also be obtained by other manners, which is not limited in the embodiment of the present application.
In this implementation manner, the terminal may obtain, from the server, the target search result corresponding to each target user interaction module according to some or all of the above-mentioned search instruction information (which may include, but is not limited to, information of the subject in the search sentence, association relationship information of the subject, and search intention information), and the above-mentioned second local configuration information. The server requests the target retrieval results corresponding to each target user interaction module, not only considers the retrieval indication information, but also considers the related information required by each target user interaction module when displaying the corresponding target retrieval results, which is beneficial to the server to feed back the target retrieval results corresponding to each target user interaction module to the terminal, not only accords with the retrieval indication information, but also accords with the related information required by each target user interaction module when displaying the corresponding target retrieval results, thereby ensuring that the terminal can accurately display the retrieval results corresponding to each user interaction module acquired from the server according to the retrieval indication information and the second local configuration information.
Fig. 6 is a flowchart of an information retrieval method according to another embodiment of the present application. Based on the above embodiments, in the embodiments of the present application, an implementation manner of displaying more extended search results for a user through the above target user interaction module is described. As shown in fig. 6, on the basis of the embodiment shown in fig. 3, the information retrieval method provided in the embodiment of the present application may further include:
Step S305, if any target user interaction module is detected to receive the search information, obtaining a search result corresponding to the search information from a server, and displaying the search result corresponding to the search information.
In this embodiment of the present application, since each target user interaction module presented to the user in step S304 has interactivity, that is, the user may further input the search information (or referred to as the search information 2) through any target user interaction module.
In this step, if it is detected that any target user interaction module receives the search information, the terminal may obtain a search result corresponding to the search information from the server, and further display the search result corresponding to the search information. It can be seen that the user can further input extended search information through any target user interaction module in the terminal, so that the terminal can further display more extended search results to the user.
For example, as shown in fig. 5, if it is detected that the related object information interaction module receives the search information (for example, a person traveling together within Wei Mouyi weeks) input by the user through the time screening method, the terminal may obtain the search result corresponding to the search information (for example, a person traveling together within Wei Mouyi weeks) from the server, and further display the search result corresponding to the search information.
If the search result corresponding to the search information is already stored in the terminal, the search result corresponding to the search information may be directly displayed without executing the step of acquiring the search result from the server.
It should be understood that, the search result corresponding to the search information may be displayed through the related object information interaction module, for example, the search result corresponding to the search information may be displayed through a display sub-interface corresponding to the related object information interaction module in a display interface of the terminal. Of course, the search result corresponding to the search information may be displayed in other manners, which is not limited in the embodiment of the present application.
Fig. 7 is a flowchart of an information retrieval method according to another embodiment of the present application. On the basis of the above embodiment, in order to facilitate understanding, in the embodiment of the present application, taking the search statement "3 months recently, who goes with Wei Mouyi" as an example, the realizable manner of the above information search method is described in combination with the terminal side and the server side. As shown in fig. 7, the information retrieval method provided in the embodiment of the present application may include:
step S701, the terminal receives a search sentence input by a user.
Step S702, the terminal sends the search statement to the server.
Step S703, the server performs natural language processing on the search sentence to obtain search instruction information corresponding to the search sentence.
Illustratively, the search instruction information corresponding to the search statement may include, but is not limited to: the information of the subject, the association information of the subject and the search intention information in the search sentence.
Step S704, the server feeds back the search instruction information corresponding to the search statement to the terminal.
For example, after receiving the search instruction information corresponding to the search statement fed back by the server, the terminal may store the search instruction information corresponding to the search statement in a search (Retrieval) class.
Step S705, the terminal determines at least one target user interaction module corresponding to the search intention information in the search instruction information according to the first local configuration information.
Illustratively, a query result (query result) class may be provided in the terminal; wherein, the QueryResult class can store at least one of the following: (basic information) BaseInfo class, (personnel list) PersonList class, (recommended) class, (behavior) behavigors class; of course, other classes may be stored in the query result class, which is not limited in the embodiment of the present application.
Illustratively, each of the QueryResult classes inherits from the (display) displayItem class (for being responsible for interactive presentation), and all contain at least the following subclasses: the (Event) Event subclass, the (basic data block) BaseDataBlock subclass. The Event subclass is used for being responsible for monitoring and responding to data related events, such as data request to a server; the BaseDataBlock subclass is used to be responsible for acquisition and update of data, for example, to be responsible for storing data acquired from a server, and the like.
It should be noted that different classes stored in the query result class are used to implement different user interaction modules. For example, baseInfo is used to implement the main body information interaction module, personList is used to implement the related object information interaction module, recommended is used to implement the recommendation information interaction module, and behavigs is used to implement the track information interaction module.
In this step, the terminal may determine, according to the first local configuration information, at least one target user interaction module corresponding to the search intention information in the search instruction information, that is, a class corresponding to each target user interaction module is obtained by matching from among classes stored in the query result class. For example, if the at least one target user interaction module corresponding to the search intention information in the search instruction information includes: the main body information interaction module and the related object information interaction module can be matched with each other by the terminal from the QueryResult class to obtain a BaseInfo class and a PersonList class.
Of course, the terminal may also determine, according to the first local configuration information, at least one target user interaction module corresponding to the above-mentioned search intention information in other manners, which is not limited in this embodiment of the present application.
Step S706, the terminal obtains the target retrieval result corresponding to each target user interaction module from the server according to the retrieval instruction information, and displays the target retrieval result corresponding to each target user interaction module to the user.
In this step, the terminal may obtain, from the server, the target search result corresponding to each target user interaction module according to the search instruction information and the second local configuration information, and then may accurately display the target search result corresponding to each target user interaction module to the user; the second local configuration information is used for indicating related information required by different user interaction modules when the corresponding search results are displayed. For example, the second local configuration information is used for indicating related information required for implementing the display of the classes corresponding to different user interaction modules.
For any target user interaction module, the terminal may obtain, from the server, a target search result corresponding to the target user interaction module according to part or all of the search instruction information corresponding to the search statement stored in the Retrieval class and related information required for implementing the display of the class corresponding to the target user interaction module indicated by the second local configuration information, through an Event subclass and a BaseDataBlock subclass in the class corresponding to the target user interaction module, and then, through a DisplayItem class inherited by the class corresponding to the target user interaction module, may accurately display the target search result corresponding to the target user interaction module to the user.
For example, for the related object information interaction module, the terminal may obtain, from the server, the target search result corresponding to the related object information interaction module according to the information of the main body and the association relationship information of the main body in the search instruction information stored in the Retrieval class, and the related information required for implementing display of the PersonList class corresponding to the related object information interaction module indicated by the second local configuration information, through the Event subclass and the BaseDataBlock subclass in the PersonList class, and then accurately display the target search result corresponding to the related object information interaction module to the user through the DisplayItem class inherited by the PersonList class.
For another example, for the main information interaction module, the terminal may obtain, from the server, the target search result corresponding to the main information interaction module according to the information of the main in the search instruction information stored in the Retrieval class and the related information required for implementing the display of the BaseInfo class corresponding to the main information interaction module indicated by the second local configuration information, through the Event subclass and the BaseDataBlock subclass in the BaseInfo class, and then may accurately display the target search result corresponding to the main information interaction module to the user through the DisplayItem class inherited by the BaseInfo class.
Of course, the terminal can also obtain the target retrieval result corresponding to each target user interaction module from the server in other modes according to the retrieval indication information; and/or, the terminal may display the target search result corresponding to each target user interaction module to the user in other manners, which is not limited in the embodiment of the present application.
Step S707, if any target user interaction module is detected to receive the search information, the terminal obtains a search result corresponding to the search information from the server.
Step S708, the terminal displays the search result corresponding to the search information.
It should be noted that, after determining the search instruction information corresponding to the search statement, the server may further determine at least one target user interaction module corresponding to the search intention information in the search instruction information, and a target search result corresponding to each target user interaction module, and then feed back the target search result corresponding to each target user interaction module to the terminal, so that the terminal may display the target search result corresponding to each target user interaction module to the user.
However, compared with the mode that the terminal side executes the determining operation of each target user interaction module and the acquiring operation of the target search result corresponding to each target user interaction module, the mode that the server side executes the determining operation of each target user interaction module and the acquiring operation of the target search result corresponding to each target user interaction module needs to carry out a great deal of code modification on the server side, has higher development cost and has low configurability.
In summary, in the embodiment of the application, corresponding search instruction information (including information of a main body, association relation information of the main body and search intention information) is obtained from a server according to the received search statement, each target user interaction module corresponding to the search intention information in the search instruction information is determined according to the first local configuration information, then target search results corresponding to each target user interaction module are obtained from the server according to the search instruction information and the second local configuration information, target search results corresponding to each target user interaction module are displayed to a user, and further if any target user interaction module is detected to receive the search information, the search results corresponding to the search information obtained from the server are displayed. It can be seen that, in the embodiment of the present application, more search results based on the search instruction information (including the information of the main body, the association relationship information of the main body, and the search intention information) corresponding to the search statement can be correctly displayed to the user through each target user interaction module, the content of the search results is more comprehensive and accurate, and in addition, the user can further input extended search information through any target user interaction module in the terminal, so that the terminal can further display more extended search results to the user.
Fig. 8 is a schematic structural diagram of an information retrieval device provided in an embodiment of the present application, and as shown in fig. 8, the information retrieval device provided in an embodiment of the present application may include: a receivingmodule 801, a first acquiringmodule 802, a determiningmodule 803, a second acquiringmodule 804 and a first displayingmodule 805.
Wherein, the receivingmodule 801 is configured to receive a search sentence input by a user; wherein, the search statement comprises: information of a subject, time information and behavior type information of the subject;
a first obtainingmodule 802, configured to obtain corresponding search instruction information from a server according to the search statement; wherein the retrieval instruction information includes: information of the main body, association relation information of the main body and retrieval intention information;
a determiningmodule 803, configured to determine at least one target user interaction module corresponding to the retrieval intention information according to the first local configuration information; the first local configuration information is used for indicating information of user interaction modules corresponding to different retrieval intention information;
a second obtainingmodule 804, configured to obtain, from the server, a target search result corresponding to each target user interaction module according to the search instruction information;
And thefirst display module 805 is configured to display, to a user, a target search result corresponding to each of the target user interaction modules.
In one possible implementation manner, the second obtaining module is specifically configured to:
acquiring a target retrieval result corresponding to each target user interaction module from the server according to the retrieval indication information and the second local configuration information; the second local configuration information is used for indicating related information required by different user interaction modules when the corresponding search results are displayed.
In one possible implementation, the apparatus further includes:
the third acquisition module is used for acquiring a search result corresponding to the search information from the server if any target user interaction module is detected to receive the search information;
and the second display module is used for displaying the search result corresponding to the search information.
In one possible implementation manner, the receiving module is specifically configured to:
and receiving the search statement input by the user in the form of a session.
In one possible implementation, the at least one target user interaction module includes at least one of: the system comprises a main body information interaction module, an association relation information interaction module, a related object information interaction module, a recommendation information interaction module and a track information interaction module.
The information retrieval device provided in this embodiment is configured to execute the technical solution in the embodiment of the information retrieval method described in this application, and the technical principle and the technical effect of the information retrieval device are similar, and are not repeated herein.
According to embodiments of the present application, an electronic device and a readable storage medium are also provided.
According to an embodiment of the present application, there is also provided a computer program product comprising: a computer program stored in a readable storage medium, from which at least one processor of an electronic device can read, the at least one processor executing the computer program causing the electronic device to perform the solution provided by any one of the embodiments described above.
As shown in fig. 9, a block diagram of an electronic device according to an information retrieval method according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, personal digital assistants, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the application described and/or claimed herein.
As shown in fig. 9, the electronic device includes: one ormore processors 901,memory 902, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In other embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. In fig. 9, aprocessor 901 is taken as an example.
Memory 902 is a non-transitory computer-readable storage medium provided herein. Wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the information retrieval method provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the information retrieval method provided by the present application.
Thememory 902 is used as a non-transitory computer readable storage medium, and may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules (e.g., the receivingmodule 801, the first obtainingmodule 802, the determiningmodule 803, the second obtainingmodule 804, and thefirst presenting module 805 shown in fig. 8) corresponding to the information retrieval method in the embodiments of the present application. Theprocessor 901 executes various functional applications of the electronic device and data processing, i.e., implements the information retrieval method in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in thememory 902.
Thememory 902 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store data created according to the use of the electronic device, etc. In addition, thememory 902 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments,memory 902 optionally includes memory remotely located relative toprocessor 901, which may be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device may further include: aninput device 903 and anoutput device 904. Theprocessor 901,memory 902,input devices 903, andoutput devices 904 may be connected by a bus or other means, for example in fig. 9.
Theinput device 903 may receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic device described above, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointer stick, one or more mouse buttons, a track ball, a joystick, and the like. The output means 904 may include a display device, auxiliary lighting means (e.g., LEDs), tactile feedback means (e.g., vibration motors), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASIC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
These computing programs (also referred to as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, corresponding search instruction information (comprising information of a main body, association relation information of the main body and search intention information) is obtained from a server according to the received search statement, and then target search results respectively corresponding to at least one target user interaction module are displayed to a user according to the search instruction information. Therefore, in the embodiment of the application, more retrieval results based on the retrieval instruction information (including the information of the main body, the association relation information of the main body and the retrieval intention information) corresponding to the retrieval statement can be displayed to the user through each target user interaction module, the content of the retrieval results is more comprehensive and accurate, and each target user interaction module also has interactivity, so that more extended retrieval results can be displayed to the user.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, provided that the desired results of the technical solutions disclosed in the present application can be achieved, and are not limited herein.
The above embodiments do not limit the scope of the application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application are intended to be included within the scope of the present application.

Claims (10)

CN202010440829.9A2020-05-222020-05-22 Information retrieval method, device, equipment and storage mediumActiveCN111625706B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010440829.9ACN111625706B (en)2020-05-222020-05-22 Information retrieval method, device, equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010440829.9ACN111625706B (en)2020-05-222020-05-22 Information retrieval method, device, equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN111625706A CN111625706A (en)2020-09-04
CN111625706Btrue CN111625706B (en)2023-05-30

Family

ID=72271010

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010440829.9AActiveCN111625706B (en)2020-05-222020-05-22 Information retrieval method, device, equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN111625706B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112860813B (en)*2021-02-102023-09-22北京百度网讯科技有限公司 Methods and devices for retrieving information
CN120123388A (en)*2023-12-082025-06-10花瓣云科技有限公司 Information retrieval method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2016115294A (en)*2014-12-182016-06-23バイドゥ ネットコム サイエンス アンド テクノロジー(ペキン) カンパニー リミテッドInformation retrieval method and device
CN111080369A (en)*2019-12-202020-04-28百度在线网络技术(北京)有限公司Advertisement information display method, device, equipment and readable storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR101042515B1 (en)*2008-12-112011-06-17주식회사 네오패드 Information retrieval method and information provision method based on user's intention
US20110313994A1 (en)*2010-06-182011-12-22Microsoft CorporationContent personalization based on user information
CN108572990B (en)*2017-03-142021-05-25上海优扬新媒信息技术有限公司Information pushing method and device
CN107133345B (en)*2017-05-222020-11-06北京百度网讯科技有限公司 Artificial intelligence-based interaction method and device
CN107656996B (en)*2017-09-192021-05-07北京百度网讯科技有限公司Man-machine interaction method and device based on artificial intelligence
CN110083688B (en)*2019-05-102022-03-25北京百度网讯科技有限公司Search result recall method, device, server and storage medium
CN110647537A (en)*2019-09-242020-01-03中国联合网络通信集团有限公司Data searching method, device and storage medium
CN111078998B (en)*2019-11-192024-03-12Oppo(重庆)智能科技有限公司Information retrieval method, device, storage medium and server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2016115294A (en)*2014-12-182016-06-23バイドゥ ネットコム サイエンス アンド テクノロジー(ペキン) カンパニー リミテッドInformation retrieval method and device
CN111080369A (en)*2019-12-202020-04-28百度在线网络技术(北京)有限公司Advertisement information display method, device, equipment and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
面向信息精准服务的信息检索与查询推荐方法研究;蔡飞;《中国博士学位论文电子期刊网》;全文*

Also Published As

Publication numberPublication date
CN111625706A (en)2020-09-04

Similar Documents

PublicationPublication DateTitle
CN111221984B (en)Multi-mode content processing method, device, equipment and storage medium
CN111522967B (en)Knowledge graph construction method, device, equipment and storage medium
CN111125435B (en) Method, device and computer equipment for determining video label
CN111782977B (en)Point-of-interest processing method, device, equipment and computer readable storage medium
US20210049354A1 (en)Human object recognition method, device, electronic apparatus and storage medium
CN111523019B (en)Method, apparatus, device and storage medium for outputting information
CN111291184B (en)Expression recommendation method, device, equipment and storage medium
CN114880480B (en)Knowledge graph-based question answering method and device
CN111241242B (en) Method, device, device and computer-readable storage medium for determining target content
CN111984774B (en)Searching method, searching device, searching equipment and storage medium
CN111309872B (en) Search processing method, device and equipment
CN111522863A (en) A subject concept mining method, device, device and storage medium
CN110795593A (en)Voice packet recommendation method and device, electronic equipment and storage medium
CN112052410A (en) Map point of interest update method and device
CN111625706B (en) Information retrieval method, device, equipment and storage medium
CN111898382A (en) A named entity identification method, device and device for named entity identification
CN111460296A (en)Method and apparatus for updating event set
CN111666417B (en)Method, device, electronic equipment and readable storage medium for generating synonyms
CN112383662A (en)Information display method and device and electronic equipment
CN111639234A (en)Method and device for mining core entity interest points
CN111385188A (en)Recommendation method and device for dialog elements, electronic equipment and medium
CN107291259B (en)Information display method and device for information display
CN111666771A (en)Semantic label extraction device, electronic equipment and readable storage medium of document
CN112328896B (en)Method, apparatus, electronic device, and medium for outputting information
JP2020021489A (en)Area-based item recommendation device and method

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp