A document search method, device, equipment, medium, and program product
By analyzing user behavior data to generate auxiliary reading information, the problem that existing document search applications are difficult to meet the needs of different users is solved, and users' document search efficiency and reading interest are improved.
Patent Information
- Application Number
- CN202110564853.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-24
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2041-05-24
AI Technical Summary
Existing document search applications are difficult to meet the needs of different users for documents, resulting in poor user document search efficiency and reading experience.
By receiving document search requests, analyzing behavioral data related to search terms and terminal identification, generating auxiliary reading information for the target document, and returning it to the terminal to meet the needs of different users.
It improves the efficiency of user's document search, improves users' interest in reading target documents, avoids user loss, and increases the activity of document applications.
Smart Images

Figure CN113157649B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a document search method, apparatus, device, computer-readable storage medium, and computer program product. Background Art
[0002] With the continuous development of information technology, paper texts are gradually transformed into digital texts, thus generating digital documents. Digital documents are documents in digital format, also known as electronic documents, including but not limited to e-books, e-journals, e-comics, etc. Compared with traditional paper texts, digital documents have the advantages of portability and paperless nature. Users can read digital documents anytime and anywhere through mobile phones and other terminal devices.
[0003] Currently, users can read digital documents by installing document applications (APPs) on terminal devices such as mobile phones. Mainstream document applications all support document search functions. Specifically, users enter keywords in the document application to search, and the document application returns search results in response to the search operation and displays the search results to the user. The search results may be, for example, a brief introduction to the document and a reading entry.
[0004] However, different users have different needs for documents. For example, some users want to quickly understand the document, while others want to deeply analyze the document. How to meet the needs of different users and improve the user's document search efficiency and reading experience has become an urgent problem to be solved. Summary of the invention
[0005] The present disclosure provides a document search method, which returns auxiliary reading information to a terminal according to behavior data related to the target document after the user searches for the target document. Different behavior data results in different auxiliary reading information, thus meeting the needs of users on different terminals, improving the document search efficiency of the user, and enhancing the user's interest in reading the target document. The present disclosure also provides a device, an apparatus, a computer-readable storage medium, and a computer program product corresponding to the above method.
[0006] In a first aspect, the present disclosure provides a document search method, the method comprising:
[0007] receiving a document search request, wherein the document search request carries a search term and a terminal identifier;
[0008] Determine a target document matching the search term according to the search term, obtain behavior data related to the target document according to the terminal identifier, and determine auxiliary reading information of the target document based on analysis of the behavior data; wherein the auxiliary reading information is information generated for the target document and used to assist in reading the target document;
[0009] The search results are returned to the terminal, where the search results include auxiliary reading information of the target document.
[0010] In a second aspect, the present disclosure provides a document search method, the method comprising:
[0011] Presenting a search interface to the user;
[0012] Based on the search operation triggered by the user through the search interface, search results are presented to the user, and the search results include auxiliary reading information of the target document. The target document is a document matching the user's search term, and the auxiliary reading information is information determined based on behavioral data related to the target document and used to assist in reading the target document.
[0013] In a third aspect, the present disclosure provides a document search device, comprising:
[0014] A receiving module, configured to receive a document search request, wherein the document search request carries a search term and a terminal identifier;
[0015] an auxiliary information determination module, configured to determine a target document matching the search term according to the search term, obtain behavior data related to the target document according to the terminal identifier, and determine auxiliary reading information of the target document based on analysis of the behavior data; wherein the auxiliary reading information is information generated for the target document and used to assist in reading the target document;
[0016] The sending module is used to return the search results to the terminal, where the search results include the auxiliary reading information of the target document.
[0017] In a fourth aspect, the present disclosure provides a document search device, comprising:
[0018] A display module, used to present a search interface to the user;
[0019] A receiving module, used to receive a search operation triggered by a user through the search interface;
[0020] The display module is also used to present search results to the user based on the search operation, and the search results include auxiliary reading information of the target document. The target document is a document that matches the user's search term, and the auxiliary reading information is information determined based on behavioral data related to the target document and used to assist in reading the target document.
[0021] In a fifth aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of the method described in any one of the first aspect or the second aspect of the present disclosure.
[0022] In a sixth aspect, the present disclosure provides an electronic device, including:
[0023] a storage device having a computer program stored thereon;
[0024] A processing device is used to execute the computer program in the storage device to implement the steps of the method described in any one of the first aspect or the second aspect of the present disclosure.
[0025] In a seventh aspect, the present disclosure provides a computer program product comprising instructions, which, when executed on a device, enables the device to execute the method described in any one of the implementations of the first or second aspect.
[0026] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical method of the embodiments of the present disclosure, the drawings required for use in the embodiments are briefly introduced below.
[0028] Figure 1 A system architecture diagram of a document search system provided by an embodiment of the present disclosure;
[0029] Figure 2 An interactive flow chart of a document search method provided by an embodiment of the present disclosure;
[0030] Figure 3 A schematic diagram of a search interface provided by an embodiment of the present disclosure;
[0031] Figure 4 A schematic diagram of a search result interface provided by an embodiment of the present disclosure;
[0032] Figure 5 A schematic diagram of a search result interface provided by an embodiment of the present disclosure;
[0033] Figure 6 A schematic diagram of a search result interface provided by an embodiment of the present disclosure;
[0034] Figure 7 A schematic diagram of a search result interface provided by an embodiment of the present disclosure;
[0035] Figure 8 A schematic diagram of the structure of a document search device provided by an embodiment of the present disclosure;
[0036] Fig. 9 A schematic diagram of the structure of a document search device provided by an embodiment of the present disclosure;
[0037] Fig.10 A schematic diagram of the structure of a device provided in an embodiment of the present disclosure;
[0038] Fig.11 A schematic diagram of the structure of a device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0039] The terms "first" and "second" in the embodiments of the present disclosure are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.
[0040] First, some technical terms involved in the embodiments of the present disclosure are introduced.
[0041] A document specifically refers to a file that can be presented by a computer. Documents are generally in digital format, so they are also called digital documents or electronic documents. Documents include but are not limited to e-books, e-journals, and e-comics.
[0042] A document application refers to an application for reading documents. Furthermore, a document application may also include a document editing function. For example, a document application may support readers to read documents, and further, a document application may also support creators to edit documents and publish documents.
[0043] Document applications usually have a document search function, which supports users to search for the required documents from a large number of search documents based on search terms. However, different users usually have different needs for documents. For example, for users who have read the document, the user would like to see an in-depth analysis of the document in order to have a deeper understanding of the document; for users who have not read the document, the user would like to see a basic introduction to the document in order to quickly understand the document. When the search terms entered by the user are the same, the search results presented to different users by the relevant document application are usually the same, which cannot meet the needs of different users for the document at the same time, and it is difficult to attract each user's interest in reading the document, which leads to the loss of some users and reduces the activity of the document application.
[0044] In view of this, an embodiment of the present disclosure provides a document search method. When receiving a document search request, the method first determines a target document according to a search term in the document search request, then obtains behavior data related to the target document according to a terminal identifier, and determines auxiliary reading information of the target document based on an analysis of the behavior data. The auxiliary reading information is information generated for the target document and used to assist in reading the target document, rather than returning the same search results to different terminals for the same search term. In this way, the needs of users on different terminals are met, the user's interest in reading the document is increased, user loss is avoided, and the activity of document applications is increased.
[0045] The method can be applied to different document applications, for example, it can be applied to e-book applications, or e-journal applications, or e-comic applications. When the method is applied to the above-mentioned document applications, it is specifically implemented in the form of a computer program. In some embodiments, the computer program can be independent, for example, it can be an independent document application with corresponding functions. In other embodiments, the computer program can be a functional module or a plug-in, etc., which is attached to an existing document application and runs.
[0046] The document search method provided in the embodiment of the present disclosure can be executed by the client alone, or by the client and the server in collaboration. When the document search method is executed by the client alone (for example, the client of the document application), it indicates that the document application can run offline. For ease of understanding, the document search method is illustrated below by the client and the server in collaboration.
[0047] In order to make the technical solution of the present disclosure clearer and easier to understand, the architecture of the document search system provided by the embodiment of the present disclosure is introduced below with reference to the accompanying drawings.
[0048] See also Figure 1 The system architecture diagram of the document search system 100 shown in the figure includes a client 102 and a server 104. The client 102 and the server 104 are connected via a network. The client 102 is deployed on a terminal, and the terminal includes but is not limited to a smart phone, a tablet computer, a laptop computer, a personal digital assistant (PDA) or a smart wearable device. The server 104 can be a cloud server, such as a central server in a central cloud computing cluster, or an edge server in an edge cloud computing cluster. Of course, the server 104 can also be a server in a local data center. A local data center refers to a data center directly controlled by a user.
[0049] The client 102 is used to present a search interface to the user. The user can trigger a search operation in the search interface, and the client 102 generates a document search request in response to the search operation and sends it to the server 104. The document search request carries a search term and a terminal identifier.
[0050] The server 104 is used to receive the document search request, determine the target document matching the search term according to the search term carried in the document search request, obtain the behavior data corresponding to the target document according to the terminal identifier, and determine the auxiliary reading information of the target document based on the analysis of the behavior data, the auxiliary reading information is information generated for the target document for assisting the reading of the target document. Then the server 104 returns the search result to the client 102, and the search result includes the auxiliary reading information of the target document.
[0051] The client 102 is also used to receive the search results and present the search results to the user so that the user can quickly understand the target document or deeply understand the target document through the auxiliary reading information of the target document in the search results, meet the user's reading needs for the target document, improve the user's reading experience, reduce user churn, and increase the activity of document applications.
[0052] In actual application, the search results also include basic information of the target document. The basic information may include any one of the name, author, introduction, serialization status, directory, etc. of the target document. The directory of the target document may carry a hyperlink so that the user can access the corresponding chapter of the target document by clicking on the directory.
[0053] In some examples, the behavior data includes historical reading data and / or historical search data. When the historical reading data or historical search data indicates that the user has not read the target document, that is, the user is a new user of the target document, the server 104 determines the auxiliary reading information of the target document from the overall summary information of the target document, and returns the basic information and auxiliary reading information of the target document to the client 102. The overall summary information is used to assist users in quickly understanding the target document. The overall summary information may, for example, include at least one of an introduction to key plots (such as popular plots, climax plots), an introduction to character relationships, and an introduction to rankings. This can meet the needs of new users to quickly understand the target document. Among them, the format of the overall summary information includes but is not limited to text, audio, and video, and presenting the above-mentioned overall summary information in multiple genres can further enhance the reading experience.
[0054] When the historical reading data or historical search data indicates that the user has read the target document, that is, the user is an old user of the target document, the server 104 determines the auxiliary reading information of the target document from the detailed analysis information of the target document, and returns the basic information and auxiliary reading information of the target document to the client 102. The detailed analysis information is used to assist the user in deeply understanding the target document. The detailed analysis information may, for example, include at least one of character analysis, plot trend prediction, foreshadowing, in-depth interpretation, and comparison with related film and television works. This can meet the needs of old users to deeply understand the target document. Similarly, the format of the above-mentioned detailed analysis information includes but is not limited to text, audio, and video, and the reading experience can be further enhanced by presenting the above-mentioned detailed analysis information in multiple genres.
[0055] In some possible implementations, the auxiliary reading information may also include comments (e.g., book reviews). For users who have not read the target document, the comments can help the user understand the quality of the target document and other information, and provide a reference for the user to decide whether to read the target document. For users who have read the target document, the comments can help the user understand other readers' evaluation or feelings about the target document, and the user can interact with other readers, thereby improving the interactive experience.
[0056] In order to make the technical solution of the present disclosure clearer and easier to understand, the document search method provided by the embodiment of the present disclosure is introduced from the perspective of the client 102 and the server 104 below.
[0057] See also Figure 2 The interactive flow chart of the document search method shown in FIG. 1 includes:
[0058] S202: The client 102 presents a search interface to the user.
[0059] The client 102 may be a document application client. The document application may be a novel application, a comic application, a journal application, etc. The client 102 provides a search interface. The search interface may specifically be an interface for searching for documents in a document application. The client 102 may present the search interface to the user, and the user may search for documents in the search interface so as to read the documents.
[0060] Figure 3 FIG. 3 shows a schematic diagram of a search interface 300. Figure 3 As shown, the search interface 300 carries a search box 301, a search control 302 and at least one recommended word 303 ( Figure 3The eight recommended words are merely examples. The search interface 300 supports multiple search methods. One method is to directly input a search word in the search box 301 and then trigger a search operation through the search control 302. Another method is to click on the recommended word 303 and trigger a search operation using the recommended word 303 as the search word.
[0061] S204 : The client 102 generates a document search request according to the search operation triggered by the user in the search interface 300 .
[0062] In some embodiments, the user can enter a search term in the search box 301 of the search interface 300, and then search for documents through the search control 302, so that the client 102 can receive the search term entered by the user through the search box 301 of the search interface 300. The search term can be a document identifier, keyword, tag, etc., and the document identifier can be the name, number, etc. of the document. In some examples, the client 102 can be run on a terminal (such as a mobile phone), and different terminals can correspond to different users, for example, terminal 1 corresponds to user 1, and terminal 2 corresponds to user 2, so that the user can be characterized by the terminal as a new user or an old user of the target document). The client 102 generates a document search request based on the search term and the terminal identifier. The document search request carries the above-mentioned search term and terminal identifier.
[0063] In other embodiments, the user may click on the recommended word 303 in the search interface 300, so that the client 102 may determine the recommended word selected by the user through the search interface as the search word, and then generate a document search request according to the search word and the terminal identifier.
[0064] It should be noted that the client 102 can also record the user's search behavior data in the search interface, which can be specifically divided into data on the user's search behavior triggered by an active input channel and data on the user's search behavior triggered by a recommended word channel. The client 102 then carries the search behavior data in the document search request and sends it to the server 104 together.
[0065] S206 : The client 102 sends a document search request to the server 104 .
[0066] After the client 102 generates a document search request according to the search operation triggered by the user in the search interface 300 , the client 102 may send the search request to the server 104 so that the server 104 returns the search results to the client 102 according to the document search request.
[0067] S208: The server 104 determines a target document matching the search term based on the search term.
[0068] The server 104 may obtain a search term according to the document search request sent by the client 102 , and then determine a target document matching the search term.
[0069] In some embodiments, the server 104 may pre-store a mapping relationship between search terms and target documents. After receiving the search terms sent by the client 102, the server 104 determines the target document matching the search terms according to the mapping relationship.
[0070] In other embodiments, the server 104 may pre-store a document set, which is a collection of multiple different documents. After receiving the search term sent by the client 102, the server 104 may search the document set based on the search term to determine the target document matching the search term.
[0071] S210: The server 104 obtains behavior data related to the target document according to the terminal identification, and determines auxiliary reading information of the target document based on the behavior data.
[0072] The server 104 can obtain the terminal identification according to the document search request sent by the client 102. In some examples, the terminal identification can be represented by the user identification of the user logged in on the client 102 running on the terminal. The user identification can be the user's nickname, user name, mobile phone number, etc. The terminal identification can be represented by the user's nickname, user name, mobile phone number, etc. In other examples, the terminal identification can also be an international mobile equipment identity (IMEI) or other identification code that can uniquely identify the terminal.
[0073] Behavior data includes historical reading data and / or historical search data. Among them, historical reading data can be the user's historical reading records of the target document, such as reading progress, reading frequency, etc. Historical search data can be the user's historical search times for the target document, historical search methods (such as active input method, click on recommended words method), etc.
[0074] When the historical reading data or historical search data indicates that the user has not read the target document, the server 104 determines that the user is a new user of the target document, and determines the auxiliary reading information of the target document from the overall summary information of the target document, and the overall summary information is used to summarize the target document as a whole so that the user can quickly read and understand the target document. Taking the document as a novel as an example, the overall summary information may include at least one of the following: introduction to key plots (such as popular plots, climax plots), introduction to character relationships, introduction to rankings, etc.
[0075] When the historical reading data or historical search data indicates that the user has read the target document, when the server 104 determines that the user is an old user of the target document, the auxiliary reading information is determined from the detailed analysis information of the target document, and the detailed analysis information is used to deeply interpret the target document so that the user can deeply understand the target document. Taking the document as a novel as an example, the detailed analysis information may include at least one of character analysis, plot trend prediction, foreshadowing Easter eggs, in-depth interpretation, and comparison with related film and television works. In some embodiments, the server 104 stores the user's historical reading record of the target document. After the server 104 determines the terminal identifier, it can obtain the user's historical reading record of the target document corresponding to the terminal identifier. When the reading progress in the historical reading record is not zero, it is determined that the user has read the target document, and the server 104 can determine that the user is an old user of the target document; when the reading progress in the historical reading record is zero, it is determined that the user has not read the target document, and the server 104 determines that the user is a new user of the target document.
[0076] In some embodiments, the server 104 stores the number of historical searches for the target document by the user. After determining the terminal identifier, the server 104 can obtain the number of historical searches for the target document by the user corresponding to the terminal identifier. When the number of historical searches is greater than a preset number, it is determined that the user has read the target document, and the server 104 can determine that the user is an old user of the target document; when the number of historical searches is less than or equal to the preset number, it is determined that the user has not read the target document, and the server 104 determines that the user is a new user of the target document. The preset number can be determined according to actual needs, for example, the preset number can be 2 times, 5 times, etc.
[0077] In some embodiments, the server 104 may store the user's historical reading records and historical search times for the target document. When either the historical reading records or the historical search times do not meet the preset conditions, it is determined that the user has read the target document, and the server 104 may determine that the user is an old user of the target document. The historical reading records not meeting the preset conditions means that the reading progress in the historical reading records is not zero, and the historical search times not meeting the preset conditions means that the historical search times are greater than the preset times.
[0078] In some embodiments, the server 104 obtains the search behavior data carried by the document search request from the document search request. The search behavior data refers to the data of the search behavior triggered by the user in the search interface 300. The server 104 can classify the user according to the search behavior data carried in the document search request. Specifically, when the search behavior data indicates that the user triggers the search behavior through the recommendation channel, the server 104 adds the user identifier to the candidate set of the new user; when the search behavior data indicates that the user triggers the search behavior through the active input channel, the server 104 adds the user identifier to the candidate set of the old user, wherein the candidate set of the new user and the candidate set of the old user are both for the target document. The server 104 further classifies the new user and the old user of the target document, so as to determine the auxiliary reading information of the target document directly according to the candidate set of the new user or the candidate set of the old user, and the user identifier. In this way, the server 104 does not need to obtain the user's historical reading record of the target document, the number of historical searches, and other related operations, which reduces the operating pressure of the server 104 and improves the efficiency of the server 104 in determining the auxiliary reading information of the target document.
[0079] S212 : The server 104 returns the search results to the client 102 .
[0080] The search results include auxiliary reading information of the target document, and the auxiliary reading information is used to assist the user in reading the target document. Different users have different corresponding search results, thus satisfying the reading interests of different users in the target document.
[0081] In actual applications, the search results may also include basic information of the target document. The basic information may include any one of the name, author, introduction, serialization status, directory, etc. of the target document. The directory of the target document may carry a hyperlink so that the user can access the corresponding chapter of the target document by clicking on the directory. The server 104 may send the basic information of the target document and the auxiliary reading information to the client 102.
[0082] In some embodiments, when the user is an old user of the target document, if the target document is not completed, the server 104 sends update prompt information to the client 102, and the update prompt information is used to prompt reading of updated content of the target document. For example, the server 104 carries the update prompt information in the search results and returns it to the client 102.
[0083] In some embodiments, the server 104 can also predict the remaining reading time of the target document by the user. The remaining reading time refers to the remaining time for the user to read the target document. Specifically, the server 104 can predict the remaining reading time based on the reading progress and reading speed. For example, when the target document is completed, the target document includes 1000 chapters, the user reads 10 chapters every day, the user has currently read 910 chapters, and the target document still has 90 chapters left to be read by the user, then the user's remaining reading time for the target document is 9 days. For another example, when the target document is not completed, the target document is currently serialized to 550 chapters, the user reads 10 chapters every day, the user has currently read 490 chapters, and the target document still has 60 chapters left to be read by the user, then the user's remaining reading time for the target document is 6 days.
[0084] The disclosed embodiment does not limit the method by which the server 104 predicts the remaining reading time of the user for the target document. The above two examples are merely illustrative. Those skilled in the art may select a method for predicting the remaining reading time of the user for the target document according to actual needs.
[0085] In some implementations, if the remaining reading time is less than the preset time, the server 104 sends recommendation information to the client 102. For example, the server 104 can carry the recommendation information in the search results and return it to the client 102, so that the client 102 can recommend similar documents of the target document to the user. In some embodiments, the server 104 can set different preset times for the serialization status of the target document, for example, the preset time corresponding to the completion of the target document is greater than the preset time when the target document is not completed. A document that is in serialization may update new chapters as the user reads, thereby increasing the user's remaining reading time for the document, which can reduce the prediction error caused by the document author updating new chapters. In some examples, the preset time can be set to 10 days for a completed target document, and the preset time can be set to 5 days for an unfinished target document.
[0086] S214: The client 102 presents the search results to the user.
[0087] After the client 102 receives the search results returned by the server 104 , the client 102 may present the search results in a search results interface.
[0088] In some embodiments, when the search result received by the client 102 is the search result corresponding to an old user of the target document, the client 102 presents detailed parsing information of the target document to the user. Figure 4 The interface diagram of the search result interface 400 shown in FIG. Figure 4Taking the document as a novel as an example, a schematic diagram of a search result interface 400 for searching a novel (Dragon's XX) is shown. The search result interface 400 includes detailed analysis information 401 and basic information 402. The detailed analysis information 401 includes but is not limited to character analysis, plot trend prediction, foreshadowing, in-depth interpretation, and comparison with related film and television works. The basic information 402 includes but is not limited to the name, author, introduction, serialization status, directory and other information of the target document.
[0089] The user can browse the detail analysis information 401 by clicking on the detail analysis information 401. The format of the detail analysis information 401 includes but is not limited to text, audio, video, picture, etc. Compared with the detail analysis information 401 in text format, the detail analysis information 401 in picture format is easier for users to understand the content of the detail analysis information 401. The detail analysis information 401 in video format has the characteristics of fast speed and strong picture sense, which improves the user's visual experience. The client 102 presents the detail analysis information 401 to the user in a multi-genre manner, which can further enhance the reading experience. The present disclosure does not limit the specific format of the detail analysis information 401, and those skilled in the art can select a suitable format according to actual needs.
[0090] In other embodiments, when the search result received by the client 102 is the search result corresponding to the new user of the target document, the client 102 presents the overall summary information of the target document to the user. Figure 5 The interface diagram of the search result interface 500 shown in FIG. Figure 5 Taking the document as a novel as an example, a schematic diagram of a search result interface 500 for searching a novel (dragon's XX) is shown. The search result interface 500 includes overall summary information 501 and basic information 502. The overall summary information 501 includes but is not limited to comments (book reviews), introductions to key plots (such as popular plots, climax plots), introductions to character relationships, and introductions to rankings. The basic information 502 includes but is not limited to information such as the name, author, introduction, serialization status, and directory of the target document.
[0091] The user can browse the overall summary information 501 by clicking on the overall summary information 501. The format of the overall summary information 501 includes but is not limited to text, audio, video, picture, etc. Accordingly, the client 102 can also present the overall summary information 501 to the user in a multi-genre manner. The present disclosure does not limit the specific format of the overall summary information 501, and those skilled in the art can select a suitable format according to actual needs.
[0092] In some embodiments, the client 102 may also present auxiliary reading information to the user based on the sorting of the auxiliary reading information of the target document; wherein different auxiliary reading information is sorted according to different strategies, the strategies including at least one of a relevance sorting strategy, a popularity sorting strategy and a random sorting strategy, and different auxiliary reading information may be auxiliary information of different genres (for example, auxiliary reading information in the form of short videos, auxiliary reading information in the form of pictures and texts, etc.), or may refer to auxiliary reading information of different contents.
[0093] In some implementations, the client 102 may present the auxiliary reading information of the target document according to the order of relevance between the auxiliary reading information of the target document and the target document, may also present the auxiliary reading information of the target document according to the order of popularity of the auxiliary reading information, or may present the auxiliary reading information of the target document in combination with the order of relevance between the auxiliary reading information and the target document and the order of popularity of the auxiliary reading information. The relevance refers to the degree of association between the auxiliary reading information and the target document, and the popularity of the auxiliary reading information may be obtained by the forwarding amount, the number of likes, and the number of comments of the auxiliary reading information, for example, the weighted average of the forwarding amount, the number of likes, and the number of comments is performed to obtain the popularity of the auxiliary reading information.
[0094] In some implementations, the client 102 may score the auxiliary reading information according to its relevance to the target document, thereby obtaining a relevance score, or may score the popularity of the auxiliary reading information, thereby obtaining a popularity score. The client 102 may then perform a weighted average of the relevance score and the popularity score, thereby obtaining a score for the auxiliary reading information. The client 102 then sorts the auxiliary reading information based on the score of the auxiliary reading information, for example, the higher the score of the auxiliary reading information, the higher the ranking of the auxiliary reading information, that is, the closer the auxiliary reading information presented by the client 102 is to the top of the search result interface.
[0095] In some implementations, the client 102 may also obtain update prompt information based on the search results sent by the server 104, and through the update prompt information, prompt the user to read the updated content of the target document. Figure 6 The interface diagram of the search result interface 600 shown in FIG. 6 is provided with a continue reading control 601 and a comment area 602. The update prompt information may be a hyperlink corresponding to the updated content, such as the continue reading control 601 in the search result interface 600. When the user clicks the continue reading control 601, the client 102 automatically jumps to the updated content of the target document, so that the user can read the updated content of the target document.
[0096] In some implementations, if the client 102 does not receive the update prompt information sent by the server 104, that is, the target document is not updated, and the user opens the search result interface 600, the client 102 will focus on strengthening the comment area 602 to present wonderful comment content to the user and improve the user's reading experience.
[0097] In some embodiments, the client 102 may also obtain recommendation information based on the search results sent by the server 104, and then present the recommendation information to the user. Figure 7 The interface diagram of the search result interface 700 is shown. The search result interface 700 includes recommendation information 701. The user can click on the recommendation information 701 to browse similar documents of the target document. Furthermore, the client 102 can also present the overall summary information of the similar document to the user so that the user can quickly understand the similar document. And the client 102 also supports the user to add the similar document to the bookshelf so that the user can continue to read the similar document later. In this way, the method not only meets the user's need to continue reading and improves the user's reading experience, but also continues to attract users to read and improves the activity of document applications.
[0098] Based on the above description, the document search method provided by the embodiment of the present disclosure determines the target document according to the search terms in the document search request after receiving the document search request, and then obtains the behavior data related to the target document according to the terminal identifier in the document search request, and based on the analysis of the behavior data, determines the auxiliary reading information of the target document, the auxiliary reading information is the information generated for the target document for assisting the reading of the target document, and returns the search results to the terminal, the search results include the auxiliary reading information of the target document, that is, the behavior data related to the target document is different, and the auxiliary reading information returned to the terminal is different. In this way, the method meets the needs of users on different terminals, improves the user's interest in reading documents, avoids user loss, and improves the activity of document applications.
[0099] Figure 8 is a schematic diagram of a document search device according to an exemplary disclosed embodiment. Figure 8 As shown, the document search device 800 includes:
[0100] The receiving module 801 is used to receive a document search request, where the document search request carries a search term and a terminal identifier;
[0101] An auxiliary information determination module 802 is used to determine a target document matching the search term according to the search term, obtain behavior data related to the target document according to the terminal identifier, and determine auxiliary reading information of the target document based on analysis of the behavior data, wherein the auxiliary reading information is information generated for the target document and used to assist in reading the target document;
[0102] The sending module 803 is used to return the search results to the terminal, where the search results include the auxiliary reading information of the target document.
[0103] Optionally, the behavioral data includes historical reading data and / or historical search data, and the auxiliary information determination module 802 is used to determine the auxiliary reading information of the target document from the overall summary information of the target document when the historical reading data or the historical search data indicates that the user has not read the target document; and to determine the auxiliary reading information of the target document from the detailed parsed information of the target document when the historical reading data or the historical search data indicates that the user has read the target document.
[0104] Optionally, the historical reading data includes historical reading records, the historical search data includes historical search times, and the auxiliary information determination module 802 is used to determine that the user has read the target document when the reading progress in the historical reading records is not zero, or the historical search times are greater than a preset number.
[0105] Optionally, the device also includes a prediction module 804, which is used to predict the user's remaining reading time for the target document; when the remaining reading time is less than a preset time, return recommendation information to the user, and the recommendation information is used to recommend similar documents to the target document.
[0106] Optionally, the sending module 803 is further used to return update prompt information to the user when the target document is not completed, and the update prompt information is used to indicate reading updated content of the target document.
[0107] The functions of the above modules have been described in detail in the method steps in the previous embodiment and will not be repeated here.
[0108] Fig. 9 is a schematic diagram of a document search device according to an exemplary disclosed embodiment. Fig. 9 As shown, the document search device 900 includes:
[0109] Display module 901, used to present a search interface to the user;
[0110] A receiving module 902 is used to receive a search operation triggered by a user through the search interface;
[0111] The display module 901 is also used to present search results to the user based on the search operation, and the search results include auxiliary reading information of the target document. The target document is a document that matches the user's search term, and the auxiliary reading information is information used to assist in reading the target document determined based on behavioral data related to the target document.
[0112] Optionally, the display module 901 is used to present overall summary information of the target document to the user when the historical reading data or the historical search data indicates that the user has not read the target document; and to present detailed parsing information of the target document to the user when the historical reading data or the historical search data indicates that the user has read the target document.
[0113] Optionally, the display module 901 is used to present recommendation information to the user, where the recommendation information is used to recommend similar documents to the target document.
[0114] Optionally, the display module 901 is used to present update prompt information to the user;
[0115] The receiving module 902 is used to receive a reading operation triggered by a user on the update prompt information;
[0116] The display module 901 is used to present the updated content of the target document to the user according to the reading operation.
[0117] Optionally, the display module 901 is used to present different auxiliary reading information of the target document to the user according to different strategies, and the strategies include at least one of a relevance sorting strategy, a heat sorting strategy and a random sorting strategy.
[0118] The functions of the above modules have been described in detail in the method steps in the previous embodiment and will not be repeated here.
[0119] Reference below Fig.10 , which shows a schematic diagram of the structure of an electronic device 1000 suitable for implementing the embodiment of the present disclosure, the electronic device may be a server 104, the server 104 is used to implement the following Figure 8 The document search device 800 shown corresponds to the functions. Fig.10 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0120] like Fig.10As shown, the electronic device 1000 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the electronic device 1000 are also stored. The processing device 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0121] Typically, the following devices may be connected to the I / O interface 1005: an input device 1006 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1007 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1008 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 may allow the electronic device 1000 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.10 The electronic device 1000 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0122] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 1009, or installed from a storage device 1008, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0123] Reference below Fig.11 , which shows a schematic diagram of the structure of an electronic device 1100 suitable for implementing the embodiment of the present disclosure, the electronic device may be a terminal, the terminal having a client 102 running thereon, the terminal being used to implement the following Fig. 9 The document search device 900 shown corresponds to the functions. Fig.11 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0124] like Fig.11As shown, the electronic device 1100 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage device 1108 to a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the electronic device 1100 are also stored. The processing device 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0125] Typically, the following devices may be connected to the I / O interface 1105: an input device 1106 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1107 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1108 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1109. The communication device 1109 may allow the electronic device 1100 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.11 The electronic device 1100 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0126] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 1109, or installed from a storage device 1108, or installed from a ROM 1102. When the computer program is executed by the processing device 1101, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0127] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0128] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0129] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0130] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: receives a document search request, which carries a search term and a terminal identifier; determines a target document matching the search term based on the search term, obtains behavior data related to the target document based on the terminal identifier, and determines auxiliary reading information of the target document based on an analysis of the behavior data, wherein the auxiliary reading information is information generated for the target document and used to assist in reading the target document; and returns search results to the terminal, wherein the search results include the auxiliary reading information of the target document.
[0131] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: presents a search interface to the user; and presents search results to the user based on a search operation triggered by the user through the search interface, the search results including auxiliary reading information of a target document, the target document being a document that matches the user's search term, and the auxiliary reading information being information for assisting in reading the target document determined based on behavioral data related to the target document.
[0132] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0133] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0134] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a module does not limit the module itself in some cases. For example, the first acquisition module may also be described as a "module for acquiring at least two Internet Protocol addresses".
[0135] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0136] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0137] According to one or more embodiments of the present disclosure, Example 1 provides a document search method, the method comprising: receiving a document search request, the document search request carrying a search term and a terminal identifier; determining a target document matching the search term based on the search term, acquiring behavior data related to the target document based on the terminal identifier, and determining auxiliary reading information of the target document based on an analysis of the behavior data; wherein the auxiliary reading information is information generated for the target document for assisting in reading the target document; and returning search results to the terminal, the search results including the auxiliary reading information of the target document.
[0138] According to one or more embodiments of the present disclosure, Example 2 provides the method of Example 1, wherein the behavioral data includes historical reading data and / or historical search data, and the auxiliary reading information of the target document is determined based on the analysis of the behavioral data, including: when the historical reading data or the historical search data represents that the user has not read the target document, the auxiliary reading information of the target document is determined from the overall summary information of the target document; when the historical reading data or the historical search data represents that the user has read the target document, the auxiliary reading information of the target document is determined from the detailed parsed information of the target document.
[0139] According to one or more embodiments of the present disclosure, Example 3 provides the method of Example 2, wherein the historical reading data includes historical reading records, the historical search data includes historical search times, and the method further includes: when the reading progress in the historical reading records is not zero, or the historical search times are greater than a preset number, determining that the user has read the target document.
[0140] According to one or more embodiments of the present disclosure, Example 4 provides the method of Examples 1 to 3, which further includes: predicting the user's remaining reading time for the target document; when the remaining reading time is less than a preset time, returning recommendation information to the user, wherein the recommendation information is used to recommend similar documents to the target document.
[0141] According to one or more embodiments of the present disclosure, Example 5 provides the method of Example 3, the method further comprising: when the target document is not completed, returning update prompt information to the user, the update prompt information being used to indicate reading updated content of the target document.
[0142] According to one or more embodiments of the present disclosure, Example 6 provides the methods of Examples 1 to 5, wherein different auxiliary reading information of the target document is sorted according to different strategies, including at least one of a relevance sorting strategy, a heat sorting strategy, and a random sorting strategy.
[0143] According to one or more embodiments of the present disclosure, Example 7 provides a document search method, the method comprising: presenting a search interface to a user; presenting search results to the user based on a search operation triggered by the user through the search interface, the search results including auxiliary reading information of a target document, the target document being a document matching the user's search terms, the auxiliary reading information being information determined based on behavioral data related to the target document and used to assist in reading the target document.
[0144] According to one or more embodiments of the present disclosure, Example 8 provides the method of Example 7, wherein the behavioral data includes historical reading data and / or historical search data; and presenting search results to the user includes: when the historical reading data or the historical search data indicates that the user has not read the target document, presenting overall summary information of the target document to the user; when the historical reading data or the historical search data indicates that the user has read the target document, presenting detailed parsing information of the target document to the user.
[0145] According to one or more embodiments of the present disclosure, Example 9 provides the method of Example 7 or 8, wherein the method further includes: presenting recommendation information to the user, wherein the recommendation information is used to recommend similar documents to the target document.
[0146] According to one or more embodiments of the present disclosure, Example 10 provides the method of Example 8, which further includes: presenting update prompt information to the user; and presenting updated content of the target document to the user according to a reading operation triggered by the user based on the update prompt information.
[0147] According to one or more embodiments of the present disclosure, Example 11 provides the method of Examples 7 to 10, wherein presenting search results to the user comprises: presenting different auxiliary reading information of the target document to the user according to different strategies, wherein the strategies include at least one of a relevance sorting strategy, a popularity sorting strategy, and a random sorting strategy.
[0148] According to one or more embodiments of the present disclosure, Example 12 provides a document search device, including: a receiving module, used to receive a document search request, the document search request carries a search term and a terminal identifier; an auxiliary information determination module, used to determine a target document matching the search term based on the search term, obtain behavior data related to the target document based on the terminal identifier, and determine auxiliary reading information of the target document based on an analysis of the behavior data, the auxiliary reading information being information generated for the target document and used to assist in reading the target document; and a sending module, used to return search results to the terminal, the search results including the auxiliary reading information of the target document.
[0149] According to one or more embodiments of the present disclosure, Example 13 provides the device of Example 12, wherein the behavioral data includes historical reading data and / or historical search data, and the auxiliary information determination module is used to determine the auxiliary reading information of the target document from the overall summary information of the target document when the historical reading data or the historical search data indicates that the user has not read the target document; and to determine the auxiliary reading information of the target document from the detailed parsed information of the target document when the historical reading data or the historical search data indicates that the user has read the target document.
[0150] According to one or more embodiments of the present disclosure, Example 14 provides the device of Example 13, wherein the historical reading data includes historical reading records, the historical search data includes historical search times, and the auxiliary information determination module is used to determine that the user has read the target document when the reading progress in the historical reading records is not zero, or the historical search times is greater than a preset number.
[0151] According to one or more embodiments of the present disclosure, Example 15 provides an apparatus of Examples 12 to 14, wherein the apparatus further includes a prediction module, wherein the prediction module is used to predict the remaining reading time of the user for the target document; when the remaining reading time is less than a preset time, recommendation information is returned to the user, wherein the recommendation information is used to recommend similar documents to the target document.
[0152] According to one or more embodiments of the present disclosure, Example 16 provides the apparatus of Example 14, wherein the sending module is further used to return update prompt information to the user when the target document is not completed, wherein the update prompt information is used to indicate the updated content of reading the target document.
[0153] According to one or more embodiments of the present disclosure, Example 17 provides a document search device, comprising: a display module, used to present a search interface to a user; a receiving module, used to receive a search operation triggered by a user through the search interface; the display module is also used to present search results to the user based on the search operation, the search results including auxiliary reading information of a target document, the target document being a document matching the user's search term, and the auxiliary reading information being information for assisting in reading the target document determined based on behavioral data related to the target document.
[0154] According to one or more embodiments of the present disclosure, Example 18 provides the device of Example 17, wherein the display module is used to present overall summary information of the target document to the user when the historical reading data or the historical search data indicates that the user has not read the target document; and to present detailed parsing information of the target document to the user when the historical reading data or the historical search data indicates that the user has read the target document.
[0155] According to one or more embodiments of the present disclosure, Example 19 provides the apparatus of Example 17 or 18, wherein the display module is used to present recommendation information to the user, and the recommendation information is used to recommend similar documents to the target document.
[0156] According to one or more embodiments of the present disclosure, Example 20 provides the device of Example 18, wherein the display module is used to present update prompt information to the user; the receiving module is used to receive a reading operation triggered by the user in response to the update prompt information; and the display module is used to present the updated content of the target document to the user based on the reading operation.
[0157] According to one or more embodiments of the present disclosure, Example 21 provides the apparatus of Examples 17 to 19, wherein the display module is used to present different auxiliary reading information of the target document to the user according to different strategies, and the strategies include at least one of a relevance sorting strategy, a heat sorting strategy, and a random sorting strategy.
[0158] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0159] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0160] Although the subject matter has been described in language specific to structural features and / or method logic actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims. Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Claims
1. A document search method, characterized in that: The method comprises: receiving a document search request, wherein the document search request carries a search term and a terminal identifier; Determine a target document matching the search term according to the search term, and acquire behavior data related to the target document according to the terminal identifier, wherein the behavior data includes historical reading data and / or historical search data; Determining auxiliary reading information of the target document based on the analysis of the behavior data; wherein the auxiliary reading information is information generated for the target document and used to assist in reading the target document; Returning search results to the terminal, the search results including auxiliary reading information of the target document; The determining of the auxiliary reading information of the target document based on the analysis of the behavior data includes: When the historical reading data or the historical search data indicates that the user has not read the target document, determining the auxiliary reading information of the target document from the overall summary information of the target document, the overall summary information including at least one of a key plot introduction, a character relationship introduction, and a list ranking introduction; When the historical reading data or the historical search data indicates that the user has read the target document, auxiliary reading information of the target document is determined from detailed analysis information of the target document, and the detailed analysis information includes at least one of character analysis, plot trend prediction, foreshadowing, in-depth interpretation, and comparison with related film and television works.
2. The method according to claim 1, characterized in that The historical reading data includes historical reading records, the historical search data includes historical search times, and the method further includes: When the reading progress in the historical reading record is not zero, or the number of historical searches is greater than a preset number, it is determined that the user has read the target document.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: Predicting the remaining reading time of the target document by the user; When the remaining reading time is less than a preset time, recommendation information is returned to the user, where the recommendation information is used to recommend similar documents to the target document.
4. The method according to claim 2, characterized in that: The method further comprises: When the target document is not completed, update prompt information is returned to the user, where the update prompt information is used to instruct the user to read the updated content of the target document.
5. The method according to any one of claims 1 to 4, characterized in that: The different auxiliary reading information of the target document is sorted according to different strategies, and the strategies include at least one of a relevance sorting strategy, a heat sorting strategy and a random sorting strategy.
6. A document search method, characterized in that: The method comprises: Presenting a search interface to the user; presenting search results to the user according to a search operation triggered by the user through the search interface, the search results including auxiliary reading information of a target document, the target document being a document matching a search term of the user, the auxiliary reading information being information used to assist in reading the target document determined based on behavior data related to the target document, the behavior data including historical reading data and / or historical search data; The behavior data includes historical reading data and / or historical search data; The presenting search results to the user comprises: When the historical reading data or the historical search data indicates that the user has not read the target document, presenting overall summary information of the target document to the user, the overall summary information including at least one of an introduction to key plots, an introduction to relationships between characters, and an introduction to rankings; When the historical reading data or the historical search data indicates that the user has read the target document, detailed analysis information of the target document is presented to the user, and the detailed analysis information includes at least one of character analysis, plot trend prediction, foreshadowing, in-depth interpretation, and comparison with related film and television works.
7. The method according to claim 6, characterized in that The method further comprises: The recommendation information is presented to the user, where the recommendation information is used to recommend similar documents to the target document.
8. The method according to claim 6, characterized in that The method further comprises: Present update prompt information to the user; According to a reading operation triggered by the user based on the update prompt information, updated content of the target document is presented to the user.
9. The method according to any one of claims 6 to 8, characterized in that: The presenting search results to the user comprises: Different auxiliary reading information of the target document is presented to the user according to different strategies, wherein the strategies include at least one of a relevance sorting strategy, a heat sorting strategy and a random sorting strategy.
10. A document search device, characterized in that: include: A receiving module, configured to receive a document search request, wherein the document search request carries a search term and a terminal identifier; an auxiliary information determination module, configured to determine a target document matching the search term according to the search term, obtain behavior data related to the target document according to the terminal identifier, and determine auxiliary reading information of the target document based on analysis of the behavior data; wherein the auxiliary reading information is information generated for the target document and used to assist in reading the target document, and the behavior data includes historical reading data and / or historical search data; A sending module, used for returning search results to the terminal, wherein the search results include auxiliary reading information of the target document; The auxiliary information determination module is used to determine the auxiliary reading information of the target document from the overall summary information of the target document when the historical reading data or the historical search data indicates that the user has not read the target document; and to determine the auxiliary reading information of the target document from the detailed analysis information of the target document when the historical reading data or the historical search data indicates that the user has read the target document, wherein the overall summary information includes at least one of an introduction to key plots, an introduction to character relationships, and an introduction to list rankings, and the detailed analysis information includes at least one of character personality analysis, plot trend prediction, foreshadowing, in-depth interpretation, and comparison with related film and television works.
11. A document search device, characterized in that: include: A display module, used to present a search interface to the user; A receiving module, used to receive a search operation triggered by a user through the search interface; The display module is further used to present search results to the user according to the search operation, the search results including auxiliary reading information of a target document, the target document being a document matching a search term of the user, the auxiliary reading information being information used to assist in reading the target document determined based on behavior data related to the target document, the behavior data including historical reading data and / or historical search data; The display module is used to present overall summary information of the target document to the user when the historical reading data or the historical search data indicates that the user has not read the target document; When the historical reading data or the historical search data indicates that the user has read the target document, detailed analysis information of the target document is presented to the user, the overall summary information includes at least one of an introduction to key plots, an introduction to character relationships, and an introduction to list rankings, and the detailed analysis information includes at least one of character personality analysis, plot trend prediction, foreshadowing, in-depth interpretation, and comparison with related film and television works.
12. An electronic device, characterized in that: Includes: Includes: a storage device having a computer program stored thereon; A processing device, configured to execute the computer program in the storage device to implement the steps of the method according to any one of claims 1 to 9.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processing device, the steps of the method described in any one of claims 1 to 9 are implemented.
14. A computer program product, characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Display method and device of text information, mobile terminal and storage medium
CN107247691A
Information display method and device and computer storage medium
CN112799561A