CN108509442B - Search method and apparatus, server, and computer-readable storage medium - Google Patents
Search method and apparatus, server, and computer-readable storage medium Download PDFInfo
- Publication number
- CN108509442B CN108509442B CN201710104371.8A CN201710104371A CN108509442B CN 108509442 B CN108509442 B CN 108509442B CN 201710104371 A CN201710104371 A CN 201710104371A CN 108509442 B CN108509442 B CN 108509442B
- Authority
- CN
- China
- Prior art keywords
- search result
- user
- search
- priority
- grade
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a search method and apparatus, a server, and a computer-readable storage medium. One embodiment of the method comprises: in response to receiving a search request sent by a user through a terminal, searching a search result set matched with the search request; aiming at each search result in the search result set, matching the knowledge complexity level of the search result with the user cognitive ability level of the user so as to set the display priority of the search result in a search result page to be generated according to the matching result; generating a search result page according to the display priority of each search result in the search result set; and sending the generated search result page to the terminal for displaying. This embodiment reduces the time required for a user to query for search results that match his or her own user cognitive level.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to the field of internet technologies, and in particular, to a search method and apparatus, a server, and a computer-readable storage medium.
Background
A Search Engine (Search Engine) is a system that collects information from the internet by using a specific computer program according to a certain policy, organizes and processes the information, provides a Search service for a user, and displays information related to user Search to the user.
However, when the knowledge information is retrieved, the returned search results are relatively cluttered, the user is often required to search the search results meeting the self cognitive ability through manual screening, and the screening process usually takes a relatively long time, so that inconvenience is brought to the user.
Disclosure of Invention
It is an object of the present application to propose an improved searching method and apparatus, server and computer readable storage medium to solve the technical problems mentioned in the background section above.
In a first aspect, the present application provides a search method, including: in response to receiving a search request sent by a user through a terminal, searching a search result set matched with the search request; aiming at each search result in the search result set, matching the knowledge complexity level of the search result with the user cognitive ability level of the user so as to set the display priority of the search result in a search result page to be generated according to the matching result; generating a search result page according to the display priority of each search result in the search result set; and sending the generated search result page to a terminal for displaying.
In some embodiments, before searching for a search result set matching a search request sent by a user via a terminal in response to receiving the search request, the method further comprises: and generating the cognitive ability grade of the user according to the user characteristic information of the user.
In some embodiments, the user characteristic information comprises at least one of: user identity information of the user and operation behavior information of the user.
In some embodiments, before the searching for the search result set matching the search request in response to receiving the search request sent by the user via the terminal, the method further includes: and setting the knowledge complexity level of the search result according to the operation behavior information of the search result operated by the user and/or the content of the search result.
In some embodiments, setting a knowledge complexity level for the search results based on the content of the search results comprises: matching the content of the search result with the page content of at least one sample page with known knowledge complexity level; and setting the knowledge complexity grade corresponding to the successfully matched sample page as the knowledge complexity grade of the search result.
In some embodiments, the matching the knowledge complexity level of the search result with the user cognitive ability level of the user to set a display priority of the search result in the search result page to be generated according to the matching result includes: comparing the knowledge complexity grade of the search result with the knowledge complexity grade matched with the cognitive ability grade of the user, or comparing the cognitive grade of the user matched with the knowledge complexity grade of the search result with the cognitive ability grade of the user; and setting the display priority of the search result according to the comparison result.
In some embodiments, the setting of the display priority of the search result according to the comparison result includes: when the comparison result is that the knowledge complexity grade of the search result is equal to the knowledge complexity grade matched with the user cognitive ability grade or the user cognitive grade matched with the knowledge complexity grade of the search result is equal to the user cognitive ability grade of the user, setting the display priority of the search result as a first priority; when the comparison result is that the knowledge complexity level of the search result is higher than the knowledge complexity level matched with the user cognitive competence level of the user or the user cognitive level matched with the knowledge complexity level of the search result is higher than the user cognitive competence level of the user, setting the display priority of the search result as a second priority; when the comparison result is that the knowledge complexity grade of the search result is lower than the knowledge complexity grade matched with the user cognitive ability grade of the user or the user cognitive grade matched with the knowledge complexity grade of the search result is lower than the user cognitive ability grade of the user, setting the display priority of the search result as a third priority; wherein the first priority is higher than the second priority and the third priority.
In some embodiments, the second priority is higher than the third priority.
In some embodiments, generating the search result page according to the presentation priority of each search result includes: and respectively setting the display positions of the search results corresponding to the first priority, the second priority and the third priority in three different display areas in the search result page.
In some embodiments, before searching for a search result set matching a search request in response to receiving the search request sent by the user via the terminal, the method further comprises: and receiving a knowledge grading function starting instruction sent by a user through a terminal.
In some embodiments, after sending the generated search result page to the terminal for presentation, the method further includes: acquiring operation information of a user on a search result in a search result page through a terminal; and updating the cognitive ability level of the user and/or the knowledge complexity level of the search result based on the acquired operation information.
In a second aspect, the present application provides a search apparatus, comprising: the search unit is used for responding to a search request sent by a user through the terminal and searching a search result set matched with the search request; the priority setting unit is used for matching the knowledge complexity level of each search result in the search result set with the user cognitive ability level of the user so as to set the display priority of the search result in a search result page to be generated according to the matching result; the generating unit is used for generating a search result page according to the display priority of each search result; and the sending unit is used for sending the generated search result page to the terminal for displaying.
In some embodiments, the above apparatus further comprises: and the user cognitive ability grade generation unit is used for generating the user cognitive ability grade of the user according to the user characteristic information of the user.
In some embodiments, the user characteristic information comprises at least one of: user identity information of the user and operation behavior information of the user.
In some embodiments, the above apparatus further comprises: and the knowledge complexity level setting unit is used for setting the knowledge complexity level of the search result according to the operation behavior information of the search result operated by the user and/or the content of the search result.
In some embodiments, the knowledge complexity level setting unit is further to: matching the content of the search result with the page content of at least one sample page with known knowledge complexity level; and setting the knowledge complexity grade corresponding to the successfully matched sample page as the knowledge complexity grade of the search result.
In some embodiments, the priority setting unit includes: the comparison subunit is used for comparing the knowledge complexity level of the search result with the knowledge complexity level matched with the user cognitive ability level of the user, or comparing the user cognitive level matched with the knowledge complexity level of the search result with the user cognitive ability level of the user; and the setting subunit is used for setting the display priority of the search result according to the comparison result.
In some embodiments, the setup subunit is further to: when the comparison result is that the knowledge complexity grade of the search result is equal to the knowledge complexity grade matched with the user cognitive ability grade of the user or the user cognitive grade matched with the knowledge complexity grade of the search result is equal to the user cognitive ability grade of the user, setting the display priority of the search result as a first priority; when the comparison result is that the knowledge complexity level of the search result is higher than the knowledge complexity level matched with the user cognitive competence level of the user or the user cognitive level matched with the knowledge complexity level of the search result is higher than the user cognitive competence level of the user, setting the display priority of the search result as a second priority; when the comparison result is that the knowledge complexity grade of the search result is lower than the knowledge complexity grade matched with the user cognitive ability grade of the user or the user cognitive grade matched with the knowledge complexity grade of the search result is lower than the user cognitive ability grade of the user, setting the display priority of the search result as a third priority; wherein the first priority is higher than the third priority.
In some embodiments, the second priority is higher than the third priority.
In some embodiments, the generating unit is further to: and respectively setting the display positions of the search results corresponding to the first priority, the second priority and the third priority in three different display areas in the search result page.
In some embodiments, the above apparatus further comprises: and the receiving unit is used for receiving a knowledge grading function starting instruction sent by the user through the terminal before matching the knowledge complexity grade of each search result in the search result set with the user cognitive ability grade of the user corresponding to the terminal.
In some embodiments, the above apparatus further comprises: the acquisition unit is used for acquiring operation information of a search result in a search result page by a user through a terminal; and the updating unit is used for updating the user cognitive ability level of the user and/or the knowledge complexity level of the search result based on the acquired operation information.
In a third aspect, the present application provides a server, comprising: one or more processors; storage means for storing one or more programs which, when executed by one or more processors, cause the one or more processors to carry out the method as described in any one of the first aspects.
In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method as described in any one of the first aspect.
According to the searching method and device, the server and the computer readable storage medium, when the searching result is pushed, the display priority of the searching result with different knowledge complexity levels is determined according to the user cognitive ability level of the user, so that the user can read the searching result matched with the cognitive ability, and the time consumed when the user manually refers to the searching result matched with the cognitive ability of the user is reduced.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a search method according to the present application;
FIGS. 3a and 3b are schematic diagrams of an application scenario of the search method according to the present application;
FIG. 4 is a flow diagram of yet another embodiment of a search method according to the present application;
FIG. 5 is a schematic block diagram of one embodiment of a search apparatus according to the present application;
FIG. 6 is a schematic block diagram of a computer system suitable for use in implementing a server according to embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the search method or apparatus of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as a web browser application, a search-type application, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for web pages displayed on the terminal devices 101, 102, 103. The background server may analyze and perform other processing on the received data such as the search request, and feed back a processing result (e.g., search result page data) to the terminal device.
It should be noted that the search method provided in the embodiment of the present application is generally executed by the server 105, and accordingly, the search apparatus is generally disposed in the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for an implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a search method according to the present application is shown. The searching method comprises the following steps:
In this embodiment, an electronic device (e.g., a server shown in fig. 1) on which the search method operates may receive a search request from a terminal through a wired connection manner or a wireless connection manner. Where the terminal may be a terminal device with which a user searches and browses information, the search request may typically include one or more search terms including, but not limited to, keywords, text files, images, voice, and the like.
After receiving the search request, the electronic device may search a series of search results matching the search request to obtain a search result set. When searching, the electronic device may perform searching by running a search engine program itself, or may perform searching by a search engine server of a third party.
In this embodiment, the electronic device may set a knowledge complexity level for each search result in advance. The knowledge complexity level can be used for describing the difficulty level of understanding of the content corresponding to the search result, and the user cognitive ability level can be used for representing the cognitive ability of the user. It should be noted that the knowledge complexity of each search result may be pre-labeled manually by a labeling person or a user, or may be calculated by performing data analysis on data related to the search result. Similarly, the cognitive level of the user may also be manually marked by the current user or other users, or may also be obtained by performing data analysis on data related to the current user. In addition, the knowledge complexity level and the user cognitive ability level have a matching relationship, the corresponding relationship between each knowledge complexity level and the matched user cognitive ability level can be preset, the different knowledge complexity levels have a high-low relationship, and the different user cognitive ability levels also have a high-low relationship.
Based on the search result set obtained in step 201, the electronic device may match the knowledge complexity level of each search result in the search result set with the user cognitive ability level of the user, respectively. Generally, when matching is performed, the matching result may be two results, i.e., a successful matching result and an unsuccessful matching result, or three results, i.e., a matching result, a higher matching result, a lower matching result, and the like, of the knowledge complexity level relative to the user cognitive ability level of the user, or a matching degree representation of the two results. For example, a higher degree of matching may be shown by a value between 0 and 1, where a larger value indicates a higher degree of matching, 1 indicates a perfect match, and 0 indicates the worst degree of matching. For another example, the matching degree may be further characterized by a positive and negative numerical value, where 0 represents a perfect match, a positive number represents that the knowledge complexity level is higher relative to the user cognitive ability level of the user, a negative number represents that the knowledge complexity level is lower relative to the user cognitive ability level of the user, and a smaller absolute value represents a smaller matching degree between the two.
According to the matching result, the electronic equipment can set the display priority of the search result in the search result page to be generated according to the matching result. In general, search results with different matching results may be set to different presentation priorities. It should be noted that the matching result may be only one of the multiple conditions for determining the presentation priority, and other attribute information of each search result may also be used as other conditions when determining the presentation priority, where the other attribute information includes, but is not limited to, a degree of correlation between the search result and the search request, a degree of hotness of the search result, whether the search result meets the preference of the user, and the like.
And step 203, generating a search result page according to the display priority of each search result in the search result set.
In this embodiment, after obtaining the display priority of each search result in the search result page in step 202, the electronic device may determine whether each search result needs to be displayed on the search result page or search result page information such as a specific display manner in the search result page according to the determined display priority, so as to generate the search result page.
For example, because the number of search results that may be presented by the search results page is limited, search results that are presented with a higher priority may be given a higher weight in ranking in order to have a greater likelihood of being presented in the search results page. For example, the search results with low presentation priority may be presented in a normal manner, and the search results with high priority may be presented in a manner of highlighting or the like with a special mark, so that the user can read the search results with high presentation priority preferentially when reading the search result page.
And step 204, sending the generated search result page to the terminal for displaying.
In this embodiment, based on the search result page generated in the step, the electronic device may send the search result page to the terminal, and the terminal may display the search result page after receiving the search result page, so that the user can browse the search result page.
In some optional implementations of this embodiment, before step 201, the search method further includes: and generating the cognitive ability grade of the user according to the user characteristic information of the user. In this implementation, the electronic device may analyze the cognitive ability level of the user in advance through a data analysis method. Optionally, the user characteristic information may include user identity information of the user and operation behavior information of the user. The user identity information is usually provided by the user, such as academic information, professional information, hobby information and other identity information related to the cognitive ability of the user. The operation behavior information may include operation behavior information of an online operation of the user, such as search behavior information, browsing behavior information, online shopping information, collection behavior information, and attention behavior information within a preset time period of the user. The operation behavior information may also include offline operation information of the user, such as visiting behavior information of the user at various places, purchasing behavior information of online entities, and the like. For the operation behavior information, the electronic equipment can analyze the cognitive ability level of the user through a big data analysis method.
In some optional implementations of this embodiment, before step 201, the method further includes: and setting the knowledge complexity level of the search result according to the operation behavior information of the search result operated by the user and/or the content of the search result. In this implementation, the electronic device may set a knowledge complexity level of the search result based on the operation behavior information of the search result operated by the user. At this time, the electronic device may collect operation information generated by the search result being operated by a large number of users in advance. The operation information includes, but is not limited to, information about a click operation of a user on a search result, a browsing operation of a page content corresponding to the search result, an editing operation, a comment operation, and the like. For example, for browsing operation, the operation information may include browsing time of the user on the page corresponding to the search result; for editing operation, the operation information may be an object edited when a user edits the page content in the page; for the comment operation, the operation information may be information submitted when the user comments on the page content in the page. Further, the electronic device may also set the knowledge complexity level of the search results based on the content of the search results. At this time, the electronic device may analyze the knowledge complexity level of the search result in advance through a content analysis technique. It should be further noted that the electronic device may also set the knowledge complexity level of the search result based on the operation behavior information of the search result operated by the user and the content of the search result at the same time. In this case, the electronic device may obtain the probability of the search result being at each knowledge complexity level based on the operation behavior information of the search result operated by the user and the content of the search result, obtain the comprehensive probability of the search result being at each knowledge complexity level based on the weight corresponding to the operation behavior information and the weight of the content of the search result, and finally determine the knowledge complexity level of the search result based on the comprehensive probability.
In some optional implementations of the embodiment, the setting the knowledge complexity level of the search result according to the content of the search result may include: matching the content of the search result with the page content of at least one sample page with known knowledge complexity level; and setting the knowledge complexity grade corresponding to the successfully matched sample page as the knowledge complexity grade of the search result. This implementation provides a scheme for setting a knowledge complexity level of a search result based on the content of the search result. In the scheme, the knowledge complexity level can be set through the matching result of matching the content of the search result with the page content of the sample page. In practice, the matched object may be a text, an image, an audio/video, or the like, and may also be a sub-object in the foregoing object, for example, a specific object such as a word, a sentence, a paragraph, and a formula in the text is matched. When matching is performed, the number of objects successfully matched can be judged according to whether the number of objects successfully matched reaches the threshold value, the number of objects successfully matched and the weight values set for various objects can be used for carrying out weighting calculation, and whether the matching is successful or not is determined by whether the numerical value obtained by weighting reaches the threshold value or not. In practice, when determining whether the content of the search result is successfully matched with the page content of the sample page, other ways not listed may be used, and details are not repeated here.
In some optional implementations of this embodiment, the step 202 includes: comparing the knowledge complexity grade of the search result with a knowledge complexity grade matched with the user cognitive ability grade of the user, or comparing the user cognitive grade matched with the knowledge complexity grade of the search result with the user cognitive ability grade of the user; and setting the display priority of the search result according to the comparison result. In this implementation manner, when the electronic device matches the knowledge complexity level of the search result with the user cognitive ability level of the user, the electronic device may perform matching in the following two manners: the first mode is that the knowledge complexity grade matched with the cognitive ability grade of the user is determined, then the knowledge complexity grade of the search result is compared with the determined knowledge complexity grade, and the obtained comparison result is used as the matching result; the second way is to determine the user cognitive level matched with the knowledge complexity level of the search result and compare the user cognitive level with the user cognitive level of the user, and take the obtained comparison result as a matching result. After matching, the display priority of the search results can be set according to the obtained comparison results.
For example, the knowledge complexity level may be divided into three levels, an easy level, a general level, and a difficult level from low to high, respectively. Correspondingly, the cognitive ability grades of the user are weak grade, common grade and strong grade from low to high. And, the matching relationship between the knowledge complexity level and the user cognitive ability level may be: the easy stage is matched with the weak stage, the general stage is matched with the common stage, and the difficult stage is matched with the strong stage. In matching by this implementation, there are three comparison results, the former being equal to, higher than, or lower than the latter. The corresponding three matching results are that the knowledge complexity level of the search result is matched, higher or lower relative to the user cognitive ability level of the user. When the display priority of the search result in the search result page to be generated is set according to the matching result corresponding to each search result, different display priorities can be respectively set for the search results according to three different comparison results, namely, the comparison result is equal to, higher than or lower than the comparison result of the search result page to be generated.
In some optional implementation manners of this embodiment, the setting of the display priority of the search result according to the comparison result includes: when the comparison result is that the knowledge complexity grade of the search result is equal to the knowledge complexity grade matched with the user cognitive ability grade of the user or the user cognitive grade matched with the knowledge complexity grade of the search result is equal to the user cognitive ability grade of the user, setting the display priority of the search result as a first priority; when the comparison result is that the knowledge complexity level of the search result is higher than the knowledge complexity level matched with the user cognitive competence level of the user or the user cognitive level matched with the knowledge complexity level of the search result is higher than the user cognitive competence level of the user, setting the display priority of the search result as a second priority; when the comparison result is that the knowledge complexity grade of the search result is lower than the knowledge complexity grade matched with the user cognitive ability grade of the user or the user cognitive grade matched with the knowledge complexity grade of the search result is lower than the user cognitive ability grade of the user, setting the display priority of the search result as a third priority; wherein the first priority is higher than the second priority and the third priority. It should be noted that the search result with high presentation priority may be presented in the search page in preference to the search result with lower presentation priority. In the implementation mode, when the knowledge complexity level of the search result is matched with the user knowledge complexity level of the user, the search result can be set to be higher in priority, and when the knowledge complexity level of the search result is higher or lower, the search result is set to be lower in priority, so that the search result with the knowledge complexity matched with the user cognitive ability of the user can be preferentially displayed in a search result page, and the time for the user to inquire the search result matched with the cognitive ability of the user is reduced.
In some optional implementations of the embodiment, the second priority is higher than the third priority. In the implementation mode, the display priority of the search result with the knowledge complexity level higher than the cognitive ability of the user is set to be higher than the display priority of the search result with the lower knowledge complexity level, so that the user can preferentially browse the search result with the higher difficulty level and meeting the further learning requirement of the user in the search result page and browse the search result with the lower difficulty level and generally not meeting the further learning requirement of the user later.
In some optional implementations of this embodiment, the step 203 includes: and respectively setting the display positions of the search results corresponding to the first priority, the second priority and the third priority in three different display areas in the search result page. In this implementation manner, since the display positions of the search results corresponding to the first priority, the second priority and the third priority are respectively set in three different display areas in the search result page, that is, three search results with matching knowledge complexity, higher knowledge complexity and lower knowledge complexity can be respectively displayed in three different display areas of the search result page, so that the user can search for the search results of different matching results in the corresponding display areas as required, and the time for the user to search for the required search results is further saved. For example, the display positions of the search results of the first priority and the search results of the second priority may be set in the natural search result region, and the display position of the search results of the first priority may be set above the search results of the second priority, while the display positions of the search results of the second priority may be set in the popularization search result region.
In some optional implementations of this embodiment, before step 201, the method further includes: and receiving a knowledge grading function starting instruction sent by a user through a terminal. In this implementation, when the user issues a knowledge hierarchy function start instruction, the electronic device executes a subsequent process of sending a search result page with a matching knowledge complexity level according to the cognitive ability of the user. In practice, the user may also turn off the function of providing search results based on the cognitive ability of the user by issuing a knowledge ranking function turn-off instruction, thereby causing the server to execute general search results. The realization mode is beneficial to the user to control the starting of the related functions, and the use flexibility is improved.
Fig. 3a and 3b are schematic diagrams of application scenarios of the search method according to the present embodiment. In the application scenario, as shown in fig. 3a, after a user inputs "calculate image area" through a text input box 301 and clicks a search button 302, a search request with a search word as "calculate image area" may be initiated to a background server through a mobile phone. After receiving the search request, the background server may search for three search results, i.e., search result a, search result B, and search result C, that match the search request. And then, the background server respectively matches the knowledge complexity levels of the search result A, the search result B and the search result C with the cognitive ability level of the user, so as to set the display priority of the search result A, the search result B and the search result C according to the matching result. The matching result is that the knowledge complexity levels of the search result A, the search result B and the search result C are respectively equal to, higher than and lower than the knowledge complexity level matched with the user cognitive ability level of the user, so that the display priorities of the search result A, the search result B and the search result C on the search result page can be respectively set to be a first priority, a second priority and a third priority according to the matching result, the first priority is higher than the second priority, and the second priority is higher than the third priority. Then, the background server may set the search result a, the search result B, and the search result C in the presentation areas 303, 304, and 305 of the search result page according to the presentation priorities set for the search result a, the search result B, and the search result C, respectively, to generate the search result page. Finally, the background server sends the search result page to the mobile phone, and the mobile phone can display the search result page as shown in fig. 3 b.
According to the method provided by the embodiment of the application, when the search result is pushed, the display priority of the search result with different knowledge complexity levels is determined according to the cognitive ability level of the user, so that the user can read the search result matched with the cognitive ability, and the time consumed when the user manually refers to the search result matched with the cognitive ability of the user is reduced.
With further reference to fig. 4, a flow 400 of yet another embodiment of a search method is shown. The process 400 of the search method includes the following steps:
In this embodiment, the specific processing of step 401 may refer to step 201 in the corresponding embodiment of fig. 2, which is not described herein again.
And 402, matching the knowledge complexity level of the search result with the user cognitive ability level of the user aiming at each search result in the search result set so as to set the display priority of the search result in the search result page to be generated according to the matching result.
In this embodiment, the specific processing of step 402 may refer to step 202 in the embodiment corresponding to fig. 2, and is not described herein again.
In this embodiment, the specific processing in step 403 may refer to step 203 in the embodiment corresponding to fig. 2, which is not described herein again.
And step 404, sending the generated search result page to the terminal for displaying.
In this embodiment, the specific processing of step 404 may refer to step 204 in the corresponding embodiment of fig. 2, which is not described herein again.
In this embodiment, based on the search result page presented at the terminal in step 404, the user may perform an operation on the search result presented on the search result page. For example, the user may click on the search result, browse after clicking on a specific page corresponding to the search result, and modify the knowledge complexity level of the search result after browsing the content of the search result. For the operation of the user on the search result in the search result page through the terminal, the electronic device may acquire operation information of the operation.
And 406, updating the cognitive ability level of the user and/or the knowledge complexity level of the search result based on the acquired operation information.
In this embodiment, based on the operation information obtained in step 405, the electronic device may analyze the operation information, so as to update the user cognitive ability level of the user and/or the knowledge complexity level of the search result.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the process 400 of the search method in this embodiment highlights a step of updating the user cognitive ability level of the user or the knowledge complexity level of the search result according to the operation behavior of the user on the search result, so that the accuracy of the user cognitive ability level of each user or the knowledge complexity level of the search result can be continuously improved, and it is beneficial to provide the search result with corresponding knowledge complexity more accurately according to the user cognitive ability level of the user in the subsequent process.
With further reference to fig. 5, as an implementation of the method shown in the above figures, the present application provides an embodiment of a search apparatus, which corresponds to the embodiment of the method shown in fig. 2, and which can be applied to various electronic devices.
As shown in fig. 5, the search apparatus 500 of the present embodiment includes: a search unit 501, a priority setting unit 502, a generation unit 503, and a transmission unit 504. The searching unit 501 is configured to search, in response to receiving a search request sent by a user via a terminal, a search result set matching the search request; the priority setting unit 502 is configured to match, for each search result in the search result set, the knowledge complexity level of the search result with the user cognitive ability level of the user, so as to set a display priority of the search result in a search result page to be generated according to the matching result; the generating unit 503 is configured to generate a search result page according to the display priority of each search result in the search result set; and the sending unit 504 is configured to send the generated search result page to the terminal for presentation.
In this embodiment, the specific processing of the searching unit 501, the priority setting unit 502, the generating unit 503 and the sending unit 504 may refer to step 201, step 202, step 203 and step 204 in the corresponding embodiment of fig. 2, and is not described herein again.
In some optional implementations of this embodiment, the apparatus 500 further includes: and a user cognitive level generation unit (not shown) for generating a user cognitive level of the user according to the user characteristic information of the user. The specific processing of this implementation may refer to a corresponding implementation in the corresponding embodiment of fig. 2, which is not described herein again.
In some optional implementations of this embodiment, the user characteristic information includes at least one of: user identity information of the user and operation behavior information of the user. The specific processing of this implementation may refer to a corresponding implementation in the corresponding embodiment of fig. 2, which is not described herein again.
In some optional implementations of this embodiment, the apparatus 500 further includes: a knowledge complexity level setting unit (not shown) for setting a knowledge complexity level of the search result according to the operation behavior information of the search result operated by the user and/or the content of the search result. The specific processing of this implementation may refer to a corresponding implementation in the corresponding embodiment of fig. 2, which is not described herein again.
In some optional implementations of the present embodiment, the knowledge complexity level setting unit is further configured to: matching the content of the search result with the page content of at least one sample page with known knowledge complexity level; and setting the knowledge complexity grade corresponding to the successfully matched sample page as the knowledge complexity grade of the search result. The specific processing of this implementation may refer to a corresponding implementation in the corresponding embodiment of fig. 2, which is not described herein again.
In some optional implementations of this implementation, the priority setting unit 402 includes: a comparison subunit (not shown) for comparing the knowledge complexity level of the search result with a knowledge complexity level matched with the user cognitive ability level of the user, or comparing the user cognitive level matched with the knowledge complexity level of the search result with the user cognitive ability level of the user; a setting subunit (not shown) for setting the presentation priority of the search result according to the comparison result. The specific processing of this implementation may refer to a corresponding implementation in the corresponding embodiment of fig. 2, which is not described herein again.
In some optional implementations of this embodiment, the setting subunit is further configured to: when the comparison result is that the knowledge complexity grade of the search result is equal to the knowledge complexity grade matched with the user cognitive ability grade of the user or the user cognitive grade matched with the knowledge complexity grade of the search result is equal to the user cognitive ability grade of the user, setting the display priority of the search result as a first priority; when the comparison result is that the knowledge complexity level of the search result is higher than the knowledge complexity level matched with the user cognitive competence level of the user or the user cognitive level matched with the knowledge complexity level of the search result is higher than the user cognitive competence level of the user, setting the display priority of the search result as a second priority; when the comparison result is that the knowledge complexity grade of the search result is lower than the knowledge complexity grade matched with the user cognitive ability grade of the user or the user cognitive grade matched with the knowledge complexity grade of the search result is lower than the user cognitive ability grade of the user, setting the display priority of the search result as a third priority; wherein the first priority is higher than the third priority.
In some optional implementations of the embodiment, the second priority is higher than the third priority.
In some optional implementations of the present embodiment, the generating unit 403 is further configured to: and respectively setting the display positions of the search results corresponding to the first priority, the second priority and the third priority in three different display areas in the search result page. The specific processing of this implementation may refer to a corresponding implementation in the corresponding embodiment of fig. 2, which is not described herein again.
In some optional implementations of this embodiment, the apparatus 500 further includes: and the receiving unit is used for receiving a knowledge grading function starting instruction sent by the user through the terminal before matching the knowledge complexity level of each search result in the search result set with the user cognitive ability level of the user corresponding to the terminal. The specific processing of this implementation may refer to a corresponding implementation in the corresponding embodiment of fig. 2, which is not described herein again.
In some optional implementations of this embodiment, the apparatus 500 further includes: the acquisition unit is used for acquiring operation information of a search result in a search result page by a user through a terminal; and the updating unit is used for updating the user cognitive ability level of the user and/or the knowledge complexity level of the search result based on the acquired operation information. The specific processing of this implementation may refer to steps 405 and 406 in the corresponding embodiment of fig. 4, which is not described herein again.
Referring now to FIG. 6, shown is a block diagram of a computer system 600 suitable for use in implementing a server according to embodiments of the present application. The server shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: includes an input portion 606; includes an output portion 607; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to an embodiment 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 embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the method of the present application when executed by a Central Processing Unit (CPU) 601. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
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 application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block 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 will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a search unit, a priority setting unit, a generation unit, and a transmission unit. The names of these units do not in some cases constitute a limitation on the units themselves, and for example, a search unit may also be described as a "unit that searches a search result set matching a search request in response to receiving a search request sent by a user via a terminal".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: in response to receiving a search request sent by a user through a terminal, searching a search result set matched with the search request; aiming at each search result in the search result set, matching the knowledge complexity level of the search result with the user cognitive ability level of the user so as to set the display priority of the search result in a search result page to be generated according to the matching result; generating a search result page according to the display priority of each search result in the search result set; and sending the generated search result page to the terminal for displaying.
The foregoing description is only exemplary of the preferred embodiments of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.
Claims (14)
1. A method of searching, the method comprising:
in response to receiving a search request sent by a user through a terminal, searching a search result set matched with the search request;
aiming at each search result in the search result set, matching the knowledge complexity level of the search result with the user cognitive ability level of the user so as to set the display priority of the search result in a search result page to be generated according to the matching result;
generating a search result page according to the display priority of each search result in the search result set;
sending the generated search result page to the terminal for displaying;
wherein the method further comprises:
obtaining the comprehensive probability of each knowledge complexity level of the search result according to the weight corresponding to the operation behavior information of the search result operated by the user and the weight of the content of the search result;
determining a knowledge complexity level of the search result based on the composite probability.
2. The method according to claim 1, wherein before the searching for the search result set matching the search request in response to receiving the search request sent by the user via the terminal, the method further comprises:
and generating the user cognitive ability grade of the user according to the user characteristic information of the user.
3. The method of claim 2, wherein the user characteristic information comprises at least one of: the user identity information of the user and the operation behavior information of the user.
4. The method of claim 1, wherein setting a knowledge complexity level of the search result according to the content of the search result comprises:
matching the content of the search result with the page content of at least one sample page with known knowledge complexity level;
and setting the knowledge complexity grade corresponding to the successfully matched sample page as the knowledge complexity grade of the search result.
5. The method according to claim 1, wherein the matching the knowledge complexity level of the search result with the user cognitive ability level of the user to set the display priority of the search result in the search result page to be generated according to the matching result comprises:
comparing the knowledge complexity grade of the search result with the knowledge complexity grade matched with the user cognitive ability grade of the user, or comparing the user cognitive grade matched with the knowledge complexity grade of the search result with the user cognitive ability grade of the user;
and setting the display priority of the search result according to the comparison result.
6. The method according to claim 5, wherein the setting of the presentation priority of the search result according to the comparison result comprises:
when the comparison result is that the knowledge complexity grade of the search result is equal to the knowledge complexity grade matched with the cognitive ability grade of the user or the user cognitive grade matched with the knowledge complexity grade of the search result is equal to the user cognitive ability grade of the user, setting the display priority of the search result as a first priority;
when the comparison result is that the knowledge complexity level of the search result is higher than the knowledge complexity level matched with the user cognitive competence level of the user or the user cognitive level matched with the knowledge complexity level of the search result is higher than the user cognitive competence level of the user, setting the display priority of the search result to be a second priority;
when the comparison result is that the knowledge complexity grade of the search result is lower than the knowledge complexity grade matched with the user cognitive ability grade of the user or the user cognitive grade matched with the knowledge complexity grade of the search result is lower than the user cognitive ability grade of the user, setting the display priority of the search result as a third priority;
wherein the first priority is higher than the third priority.
7. The method of claim 6, wherein the second priority is higher than the third priority.
8. The method of claim 7, wherein generating a search result page according to the presentation priority of each search result comprises:
and respectively setting the display positions of the search results corresponding to the first priority, the second priority and the third priority in three different display areas in the search result page.
9. The method according to claim 1, wherein before the searching for the search result set matching the search request in response to receiving the search request sent by the user via the terminal, the method further comprises:
and receiving a knowledge grading function starting instruction sent by the user through the terminal.
10. The method according to one of claims 1 to 9, wherein after sending the generated search result page to the terminal for presentation, the method further comprises:
acquiring operation information of a user on a search result in a search result page through the terminal;
updating the user cognitive ability level of the user and/or the knowledge complexity level of the search result based on the acquired operation information.
11. A search apparatus, characterized in that the apparatus comprises:
the search unit is used for responding to a search request sent by a user through a terminal and searching a search result set matched with the search request;
the priority setting unit is used for matching the knowledge complexity level of the search result with the user cognitive ability level of the user aiming at each search result in the search result set so as to set the display priority of the search result in a search result page to be generated according to the matching result;
the generating unit is used for generating a search result page according to the display priority of each search result in the search result set;
the sending unit is used for sending the generated search result page to the terminal for displaying;
wherein the apparatus further comprises:
the comprehensive probability determining unit is used for obtaining comprehensive probabilities of the search results in each knowledge complexity level according to the weight corresponding to the operation behavior information of the search results operated by the user and the weight of the content of the search results;
and the knowledge complexity grade unit is used for determining the knowledge complexity grade of the search result based on the comprehensive probability.
12. The apparatus of claim 11, further comprising:
the acquisition unit is used for acquiring operation information of a search result in a search result page by a user through the terminal;
and the updating unit is used for updating the user cognitive ability level of the user and/or the knowledge complexity level of the search result based on the acquired operation information.
13. A server, comprising:
one or more processors;
a storage device to store one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-10.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710104371.8A CN108509442B (en) | 2017-02-24 | 2017-02-24 | Search method and apparatus, server, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710104371.8A CN108509442B (en) | 2017-02-24 | 2017-02-24 | Search method and apparatus, server, and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108509442A CN108509442A (en) | 2018-09-07 |
CN108509442B true CN108509442B (en) | 2022-06-03 |
Family
ID=63373977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710104371.8A Active CN108509442B (en) | 2017-02-24 | 2017-02-24 | Search method and apparatus, server, and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108509442B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134760A (en) * | 2019-05-17 | 2019-08-16 | 北京思维造物信息科技股份有限公司 | A kind of searching method, device, equipment and medium |
CN112017775A (en) * | 2020-09-09 | 2020-12-01 | 平安科技(深圳)有限公司 | Information recommendation method and device, computer equipment and storage medium |
CN113536111B (en) * | 2021-06-11 | 2024-06-07 | 北京十一贝科技有限公司 | Recommendation method and device for insurance knowledge content and terminal equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8484179B2 (en) * | 2008-12-08 | 2013-07-09 | Microsoft Corporation | On-demand search result details |
CN101996238A (en) * | 2010-10-15 | 2011-03-30 | 无敌科技(西安)有限公司 | Method and device for improving searching matching degree by using multilingual input |
CN102708129B (en) * | 2011-03-04 | 2017-04-12 | 微软技术许可有限责任公司 | Using computer engine to improve searching relevance |
CN104462506A (en) * | 2014-12-19 | 2015-03-25 | 北京奇虎科技有限公司 | Method and device for establishing knowledge graph based on user annotation information |
-
2017
- 2017-02-24 CN CN201710104371.8A patent/CN108509442B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108509442A (en) | 2018-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109460513B (en) | Method and apparatus for generating click rate prediction model | |
CN107577807B (en) | Method and device for pushing information | |
CN111738010B (en) | Method and device for generating semantic matching model | |
CN110059172B (en) | Method and device for recommending answers based on natural language understanding | |
CN110619078B (en) | Method and device for pushing information | |
CN111897950A (en) | Method and apparatus for generating information | |
CN108509442B (en) | Search method and apparatus, server, and computer-readable storage medium | |
CN112182255A (en) | Method and apparatus for storing media files and for retrieving media files | |
WO2024099171A1 (en) | Video generation method and apparatus | |
CN111461967B (en) | Picture processing method, device, equipment and computer readable medium | |
CN108038172B (en) | Search method and device based on artificial intelligence | |
CN113590756A (en) | Information sequence generation method and device, terminal equipment and computer readable medium | |
CN112395490B (en) | Method and device for generating information | |
CN111382365B (en) | Method and device for outputting information | |
KR20210080561A (en) | Consulting information processing method and device | |
CN112148962B (en) | Method and device for pushing information | |
CN112148865B (en) | Information pushing method and device | |
CN109472028B (en) | Method and device for generating information | |
CN112309387A (en) | Method and apparatus for processing information | |
CN113220922B (en) | Image searching method and device and electronic equipment | |
CN112395109B (en) | Clipboard content processing method and device | |
CN111125501B (en) | Method and device for processing information | |
CN109857838B (en) | Method and apparatus for generating information | |
CN114239501A (en) | Contract generation method, apparatus, device and medium | |
CN111984839B (en) | Method and device for drawing user portrait |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |