Content retrieval method, system, electronic device, and storage medium

By receiving the target search content and pattern sent by the terminal, relevant information is obtained for targeted retrieval, which solves the problem of cumbersome retrieval process in the existing technology, realizes efficient and convenient display of search results, and meets user needs.

CN117609634BActive Publication Date: 2026-06-30BOE TECHNOLOGY GROUP CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BOE TECHNOLOGY GROUP CO LTD
Filing Date
2023-11-30
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

In existing technologies, when users use search engines to retrieve content, the process is cumbersome and complex, making it difficult to obtain efficient and convenient search results.

Method used

By receiving the target search content and mode sent by the terminal, relevant information is obtained, and targeted searches are performed according to the search mode selected by the user. Search results are then provided and displayed on different terminals for the user to view.

Benefits of technology

It improves search efficiency, meets users' personalized needs, and avoids the hassle of switching back and forth between search results and original files.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117609634B_ABST
    Figure CN117609634B_ABST
Patent Text Reader

Abstract

This disclosure provides a content retrieval method, system, electronic device, and storage medium, comprising: receiving target retrieval content and a target retrieval mode sent by a first terminal, wherein the first terminal is a terminal connected to a server; obtaining associated information corresponding to the target retrieval mode according to the target retrieval mode; retrieving the target retrieval content according to the target retrieval mode and the associated information to obtain retrieval results; and sending the retrieval results to the first terminal and / or a second terminal, wherein the second terminal is another terminal connected to the server. This disclosure achieves targeted retrieval of target retrieval content, improving retrieval efficiency. Simultaneously, it allows users to select the appropriate retrieval method according to their needs, satisfying user requirements. When the retrieval results are displayed on the second terminal, i.e., the retrieval results and the original file are displayed on different terminals, it enables simultaneous viewing of the retrieval results and the original file, avoiding the need for users to switch back and forth.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a content retrieval method, system, electronic device, and storage medium. Background Technology

[0002] With the development of information retrieval, using search engines has become a new way for people to search.

[0003] With the continuous development of search tools, users can often use multiple search tools to search for the same content, resulting in a wide variety of results. Users need to constantly filter through these results to find the information they need, making the process cumbersome and complex.

[0004] Therefore, how to achieve efficient and convenient content retrieval so that users can quickly obtain the content they need has become an important problem to solve. Summary of the Invention

[0005] In view of this, the purpose of this disclosure is to provide a content retrieval method, system, electronic device and storage medium to solve or partially solve the above problems.

[0006] To achieve the above objectives, a first aspect of this disclosure provides a content retrieval method applied to a server, the method comprising:

[0007] The system receives target search content and target search mode sent by a first terminal, wherein the first terminal is a terminal that has established a connection with the server, and the target search mode is the search mode adopted when searching for the target search content.

[0008] Based on the target retrieval pattern, obtain the associated information corresponding to the target retrieval pattern;

[0009] Based on the target retrieval pattern and the associated information, the target retrieval content is retrieved to obtain retrieval results;

[0010] The search results are sent to the first terminal and / or the second terminal, wherein the second terminal is another terminal that has established a connection with the server.

[0011] To achieve the above objectives, a second aspect of this disclosure provides a content retrieval method applied to a first terminal, the method comprising:

[0012] Receive a content selection command for the first file;

[0013] The selected content corresponding to the content selection instruction is used as the target search content;

[0014] In response to receiving a mode selection instruction, mode option information is displayed, the mode option information including a first option for selecting a first search mode and a second option for selecting a second search mode;

[0015] In response to the selection instruction for the target option in the mode option information, the target retrieval mode is determined;

[0016] The target search content and the target search pattern are sent to the server so that the server can search the target search content according to the target search pattern and obtain search results;

[0017] Receive and display the search results sent by the server.

[0018] To achieve the above objectives, a third aspect of this disclosure provides a content retrieval method applied to a second terminal, the method comprising:

[0019] Receive the search results corresponding to the target search content sent by the server, and display the search results and search type selection information;

[0020] In response to receiving a search type selection instruction corresponding to the search type selection information, the target search type included in the search type selection instruction is obtained;

[0021] The target search type is sent to the server so that the server can search for the target search content based on the target search type.

[0022] Based on the same inventive concept, a fourth aspect of this disclosure proposes a content retrieval device, configured on a server, comprising:

[0023] The retrieval content receiving module is configured to receive target retrieval content and target retrieval mode sent by a first terminal, wherein the first terminal is a terminal that has established a connection with the server, and the target retrieval mode is the retrieval mode adopted when retrieving the target retrieval content;

[0024] The associated information acquisition module is configured to acquire associated information corresponding to the target retrieval mode based on the target retrieval mode;

[0025] The search result generation module is configured to search the target search content according to the target search pattern and the associated information to obtain search results;

[0026] The search result sending module is configured to send the search results to the first terminal and / or the second terminal, wherein the second terminal is another terminal that has established a connection with the server.

[0027] Based on the same inventive concept, the fifth aspect of this disclosure proposes a content retrieval device, installed in a first terminal, comprising:

[0028] The content selection instruction receiving module is configured to receive content selection instructions for the first file;

[0029] The selected content acquisition module is configured to acquire the selected content corresponding to the content selection instruction as the target search content;

[0030] The mode option information display module is configured to display mode option information in response to receiving a mode selection instruction. The mode option information includes a first option for selecting a first search mode and a second option for selecting a second search mode.

[0031] The target retrieval mode determination module is configured to determine the target retrieval mode in response to a selection instruction for a target option in the mode option information.

[0032] The information sending module is configured to send the target search content and the target search mode to the server, so that the server can search the target search content according to the target search mode and obtain search results;

[0033] The search result receiving module is configured to receive and display the search results sent by the server.

[0034] Based on the same inventive concept, the sixth aspect of this disclosure proposes a content retrieval device, installed in a second terminal, comprising:

[0035] The search result receiving module is configured to receive the search results corresponding to the target search content sent by the server, and display the search results and search type selection information.

[0036] The search type selection instruction receiving module is configured to, in response to receiving a search type selection instruction corresponding to the search type selection information, obtain the target search type contained in the search type selection instruction;

[0037] The target retrieval type sending module is configured to send the target retrieval type to the server so that the server can retrieve the target retrieval content based on the target retrieval type.

[0038] Based on the same inventive concept, the seventh aspect of this disclosure proposes a content retrieval system, including a server, a first terminal, and a second terminal, wherein the server executes the content retrieval method as described above, the first terminal executes the content retrieval method as described above, and the second terminal executes the content retrieval method as described above.

[0039] Based on the same inventive concept, the eighth aspect of this disclosure proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor, when executing the computer program, implements the content retrieval method as described above.

[0040] Based on the same inventive concept, the ninth aspect of this disclosure proposes a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the content retrieval method described above.

[0041] As can be seen from the above, this disclosure proposes a content retrieval method, system, electronic device, and storage medium. The server receives the target retrieval content and target retrieval mode sent by the first terminal. The target retrieval mode is the retrieval mode selected by the user. Based on the target retrieval mode, the server obtains the associated information corresponding to the target retrieval mode. By retrieving the target retrieval content according to the target retrieval mode and combining it with the associated information, targeted retrieval of the target retrieval content is achieved, improving retrieval efficiency. Simultaneously, the user's needs are met by allowing retrieval using the corresponding retrieval method selected according to their own needs. After obtaining the retrieval results, the retrieval results are sent to the first terminal and / or the second terminal. Since the file corresponding to the target retrieval content is displayed on the first terminal, when the retrieval results are displayed on the second terminal, that is, the retrieval results and the original file are displayed on different terminals, it is possible to view the retrieval results and the original file simultaneously, avoiding the user having to switch back and forth. Attached Figure Description

[0042] To more clearly illustrate the technical solutions in this disclosure or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0043] Figure 1 This is a flowchart of the content retrieval method according to an embodiment of the present disclosure;

[0044] Figure 2 This is a schematic diagram illustrating the content retrieval method according to an embodiment of the present disclosure;

[0045] Figure 3 This is a flowchart of a content retrieval method according to another embodiment of this disclosure;

[0046] Figure 4 This is a schematic diagram illustrating a content retrieval method according to another embodiment of the present disclosure;

[0047] Figure 5 This is a flowchart of a content retrieval method according to another embodiment of this disclosure;

[0048] Figure 6 This is a structural block diagram of the content retrieval device according to an embodiment of the present disclosure;

[0049] Figure 7 This is a structural block diagram of a content retrieval device according to another embodiment of the present disclosure;

[0050] Figure 8 This is a structural block diagram of a content retrieval device according to another embodiment of the present disclosure;

[0051] Figure 9 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Detailed Implementation

[0052] To make the objectives, technical solutions, and advantages of this disclosure clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.

[0053] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this disclosure should have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms "first," "second," and similar terms used in the embodiments of this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0054] The server is connected to both the first terminal and the second terminal, and each of the server, the first terminal, and the second terminal contains a pre-developed interface for data communication. The server can be a cloud server used for content retrieval.

[0055] The first terminal is a display device, which can display content and allow users to operate on the displayed content, such as editing, touch, dragging, etc. Exemplarily, the first terminal is a laptop, mobile phone, tablet computer, watch, or bracelet, etc., and in this embodiment, a computer is preferred.

[0056] The second terminal is a display device, which can display content and allow users to operate on the displayed content, such as editing, touch, dragging, etc. For example, the second terminal may be a screen, laptop, mobile phone, tablet computer, watch, or bracelet.

[0057] For example, when the second terminal is a drawing screen, it can be used independently as an electronic photo album to display image information.

[0058] The first terminal and the second terminal establish a connection through the server. When the first terminal and the second terminal are both powered on and connected to the server, the content retrieval method described in this disclosure can be realized through the cooperation of the server, the first terminal and the second terminal.

[0059] Based on the above description, this embodiment proposes a content retrieval method, applied to a server, such as... Figure 1 As shown, the method includes:

[0060] Step 101: Receive the target search content and target search mode sent by the first terminal, wherein the first terminal is a terminal that has established a connection with the server, and the target search mode is the search mode adopted when searching for the target search content.

[0061] In practice, the user selects the target search content and target search mode through a first terminal. The target search mode is selected by the user according to their needs and is the search method used when searching for the target search content. The target search mode includes a first search mode and a second search mode. The difference between the first search mode and the second search mode lies at least in the difference in the search process and / or the search content. The user can choose one of the search modes to search for the target search content according to their own needs. The server establishes a connection with the first terminal and receives the target search content and target search parameters sent by the first terminal, so as to obtain the corresponding related information according to the target search mode later.

[0062] Step 102: Obtain the associated information corresponding to the target retrieval mode according to the target retrieval mode.

[0063] In practice, different search modes correspond to different related information. By obtaining the corresponding related information through the received target search mode, the acquisition of the related information is more accurate, which improves the accuracy of subsequent searches based on the related information.

[0064] Step 103: Based on the target retrieval mode and the associated information, retrieve the target retrieval content to obtain retrieval results.

[0065] In practice, by receiving the target search mode selected by the user and combining it with the associated information corresponding to the target search mode, the target search content is retrieved, thereby achieving targeted retrieval of the target search content and improving search efficiency while meeting user needs.

[0066] Each search result may include information such as title, abstract, author or URL. Users can select each search result on a first terminal and / or a second terminal to view the detailed information corresponding to that search result. The selection operation can be, for example, a click operation.

[0067] Simultaneously, after obtaining the search results, the server acquires the display content of each search result. The server iterates through the display content and marks the target search content contained within it. The marking process includes at least one of the following: bolding, highlighting, underlining, italics, or changing font color.

[0068] For example, the target search content is audio, and the displayed content is a title and summary, highlighted. After searching the audio, three search results are obtained. The title and summary corresponding to each search result are obtained, and the title and summary are traversed to find all target search content contained in the title and summary. The target search content contained in the title and summary is then highlighted to distinguish it from other content. When displaying the search results, the target search content contained in the search results can be prominently displayed in the search results for user browsing, while also demonstrating the relevance between the search results and the target search content.

[0069] Step 104: Send the search results to the first terminal and / or the second terminal, wherein the second terminal is another terminal that has established a connection with the server.

[0070] In practice, the search results are sent to a first terminal and / or a second terminal so that they can be displayed on the first terminal and / or the second terminal for the user to view.

[0071] Specifically, as an optional embodiment, the obtained search results can be sent to the first terminal, so that targeted retrieval of the target content can be achieved even when the user only has one terminal device.

[0072] For example, the first terminal is a laptop computer. The user selects "car" as the target search term and chooses a target search mode on the laptop, sending the target search term and search mode to the server. After obtaining the corresponding related information based on the target search term, the server uses the target search mode in conjunction with the related information to perform a search, obtaining the search results, which are then sent back to the laptop computer. The user can then view the search results on the laptop computer, thus achieving targeted searching for the target search term.

[0073] As another optional embodiment, the search results can be sent to a second terminal. When a user has two or more terminal devices, since the original file containing the target search content is displayed on the first terminal, the search results can be displayed on the second terminal, allowing the user to view the search results and the original file at the same time, avoiding the need for the user to switch back and forth between the search results and the original file, which is more convenient.

[0074] For example, the first terminal is a laptop computer, and the second terminal is a display screen. The user selects "apple" as the target search term on the laptop computer and chooses a target search mode, sending the target search term and search mode to the server. The server retrieves the corresponding related information based on the target search term, performs a search using the target search mode and the related information, obtains the search results, and sends the search results to the display screen for display. This allows the original file to be displayed on the laptop computer while the search results are displayed on the display screen, providing convenient viewing for the user.

[0075] As another optional embodiment, the search results can be sent to both the first terminal and the second terminal. When the search results contain multiple pieces of information, the user can view different content from the search results simultaneously on both terminals. Undoubtedly, the user can also view the same content from the search results on both devices as needed; no specific limitation is imposed.

[0076] For example, the search results contain three pieces of content information A, B, and C. The search results are sent to a first terminal and a second terminal respectively. A user can view content information A on the first terminal and content information B on the second terminal at the same time. Alternatively, a user can view content information C on both the first and second terminals simultaneously.

[0077] Through the above scheme, the server receives the target search content and target search mode sent by the first terminal. The target search mode is the search mode selected by the user. Based on the target search mode, the server obtains the associated information corresponding to the target search mode. By searching the target search content according to the target search mode and the associated information, targeted retrieval of the target search content is achieved, improving search efficiency. Simultaneously, the user's needs are met by allowing them to select the corresponding search method according to their own requirements. After obtaining the search results, the search results are sent to the first terminal and / or the second terminal. Since the file corresponding to the target search content is displayed on the first terminal, when the search results are displayed on the second terminal, that is, the search results and the original file are displayed on different terminals, allowing simultaneous viewing of the search results and the original file, avoiding the user having to switch back and forth.

[0078] In some embodiments, the target retrieval mode includes a first retrieval mode, and step 102 specifically includes:

[0079] Step 1021: In response to determining that the target retrieval mode is the first retrieval mode, a history retrieval request is sent to the first terminal, so that the first terminal reads and sends history information from the local machine according to the history retrieval request.

[0080] In practice, the server determines the received target search mode. If the target search mode is the first search mode, it sends a history retrieval request to the first terminal. Upon receiving the history retrieval request, the first terminal reads its local history information and sends it to the server.

[0081] Step 1022: Receive historical record information sent by the first terminal, and use the historical record information as the associated information corresponding to the first search mode.

[0082] In practice, the server receives historical information sent by the first terminal, and the historical information is the associated information corresponding to the first search mode.

[0083] In this embodiment, since the search process and search content corresponding to the first search mode are more streamlined, the first search mode can be considered a simple search mode. The associated information under the simple search mode is set as the historical record information within the first terminal. The historical record information is the search record information when the user used the first terminal to perform a search before this search. Each search record information includes the search time, search content, search tool used for the search, and user information, etc. The user information refers to the information of the logged-in user corresponding to the first terminal system, which is used to distinguish different users using the same search tool.

[0084] When a user selects target search content and target search mode on the first terminal, the first terminal, in addition to obtaining the target search content and target search mode, can also obtain the target user information currently logged into the system, and send the target search content, target search mode, and target user information to the server. When the server sends a history retrieval request, the history retrieval request can be a request to retrieve the history information corresponding to the target user information, ensuring that the received history information is all history information corresponding to the target user information, further improving the accuracy of the search results.

[0085] In some cases, the historical record retrieval request sent by the server in this application may also include a time limit for retrieval. For example, only historical records within a preset time period (e.g., three months) are retrieved. Historical records closer to the current time better reflect the user's recent preferences and habits; by requesting only historical records within the closest time period to the current time, the accuracy of the retrieval results is further improved.

[0086] In some embodiments, the target retrieval mode includes a first retrieval mode, and step 103 specifically includes:

[0087] Step 1031: Obtain the target content type of the target search content.

[0088] Step 1032: Determine the target retrieval tool corresponding to the target content type based on the target content type and the historical record information.

[0089] Step 1033: Use the target retrieval tool to retrieve the target content and obtain the retrieval results.

[0090] In practice, different content types require different search tools. The target content type is determined first, and then the corresponding target search tool is identified based on historical data.

[0091] The above approach utilizes target search tools that correspond to the target content type of the target search content to retrieve the target content. By employing commonly used search tools, both the search tools and the search results are made more in line with user habits.

[0092] In some embodiments, the target content type includes technical types and non-technical types, and step 1032 specifically includes:

[0093] Step 10321: In response to determining that the target content type is the technology type, the first search tool corresponding to the technology type is determined as the target search tool based on the historical record information.

[0094] Step 10322: In response to determining that the target content type is the non-technical type, the second search tool corresponding to the non-technical type is determined as the target search tool based on the historical record information.

[0095] In practice, the target content types include technical and non-technical types. The server categorizes the content according to a preset range, which can be determined by whether an explanation can be found on a professional website. If an explanation can be found, the content type is technical; otherwise, it is non-technical.

[0096] For example, if the content is a screen drawing and no explanation can be found on a professional website, then the type corresponding to the screen drawing is a non-technical type. As another example, if the content is a neural network and an explanation can be found on a professional website, then the type corresponding to the neural network is a technical type.

[0097] It is understandable that the preset range given above is only an example, and can be set according to the actual situation, without any specific limitation.

[0098] When the target content type is technical, the first search tool corresponding to the technical type is determined as the target search tool based on the obtained historical information. When the target content type is non-technical, the second search tool corresponding to the non-technical type is determined as the target search tool based on the obtained historical information.

[0099] In some embodiments, step 10321 specifically includes:

[0100] Step 103211: Determine multiple candidate search tools corresponding to the technology type based on the historical record information.

[0101] Step 103212: Based on the historical record information, determine the most frequently used candidate search tool among the multiple candidate search tools corresponding to the technology type as the first search tool.

[0102] In specific implementation, each historical record in the received historical record information includes the search content. Similarly, the search content in the historical record information is classified according to a preset range, into historical record information with technical search content and historical record information with non-technical search content. The preset range can be specifically referred to in step 10322.

[0103] Retrieve historical search data for technology-related content. Each historical record includes a search tool. Obtain all search tools listed in the historical records for technology-related content as candidate search tools. Count the frequency of each candidate search tool and select the most frequently used candidate search tool as the primary search tool for that technology type.

[0104] For example, historical data on the search content as a technology type is obtained, and all search tools included therein are selected as candidate search tools, including CSDN, CNKI, SCI, VIP, Wanfang Data, or the American Chemical Society. By statistically analyzing the frequency of occurrence of candidate search tools, CSDN is determined to be the most frequently used candidate search tool, and CSDN is then selected as the primary search tool corresponding to the technology type.

[0105] In some embodiments, step 10322 specifically includes:

[0106] Step 103221: Based on the historical record information and the multiple candidate search tools corresponding to the non-technical type.

[0107] Step 103222: Based on the historical record information, determine the second search tool as the search tool with the highest frequency of use among the multiple search tools corresponding to the non-technical type.

[0108] In specific implementation, each historical record in the received historical record information includes the search content. Similarly, the search content in the historical record information is classified according to a preset range, into historical record information with technical search content and historical record information with non-technical search content. The preset range can be specifically referred to in step 10322.

[0109] Retrieve historical search records for non-technical content. Each record contains a search tool. Collect all search tools from these records and use them as candidate search tools. Count the frequency of each candidate search tool and select the most frequently used tool as the second search tool for the non-technical category.

[0110] For example, historical search records for non-technical content are retrieved, and all search tools included in these records are selected as candidate search tools, including Baidu, Bing, Sohu, Google, or Firefox. By counting the frequency of occurrence of candidate search tools, Baidu is identified as the most frequently used candidate search tool, and thus it is selected as the second search tool for non-technical content.

[0111] The above approach analyzes users' search history to identify their preferred search tools for technical and non-technical content. After determining the content type of the target search, a corresponding target search tool is selected. This target search tool represents the user's preferred search tool for that content type, better aligning with their habits.

[0112] In some embodiments, the target retrieval mode includes a second retrieval mode, and step 102 specifically includes:

[0113] Step 102A: In response to determining that the target retrieval mode is the second retrieval mode, a history retrieval request and a retrieval content supplementation request are sent to the first terminal, so that the first terminal reads and sends the history retrieval information from the local machine according to the history retrieval request and generates supplementary content information according to the retrieval content supplementation request.

[0114] In practice, when the server determines that the received target search mode is the second search mode, it sends a history retrieval request and a search content supplementation request to the first terminal. Upon receiving these requests, the first terminal reads the history retrieval request and the search content supplementation request from its local storage, generates supplementary content information, and sends both the history retrieval information and the supplementary content information to the server.

[0115] Step 102B: Receive historical record information and supplementary content information sent by the first terminal, and use the historical record information and supplementary content information as the associated information corresponding to the second retrieval mode.

[0116] In practice, the server receives historical record information and supplementary content information sent by the first terminal, and determines that the associated information corresponding to the second search mode is historical record information and supplementary content information.

[0117] In this embodiment, since the second search mode adds supplementary content information compared to the first search mode, it is equivalent to adding search conditions, making the search results more targeted. Therefore, the second search mode can be considered a precise search mode. The associated information for the precise search mode includes historical record information and supplementary content information. The historical record information refers to the search records of the user when using the first terminal to perform searches before this search. Each search record includes the search time, search content, search tool used, and user information. The user information refers to the information of the logged-in user corresponding to the first terminal system, used to distinguish different users using the same search tool.

[0118] In some embodiments, the supplementary content information includes the content of a target file in a first file in the first terminal; the target retrieval content is selected from the first file; step 103 specifically includes:

[0119] Step 103A: Obtain the target content type of the target search content.

[0120] Step 103B: Determine the target retrieval tool corresponding to the target content type based on the target content type and the historical record information.

[0121] Step 103C: Use the target retrieval tool to retrieve the target retrieval content and the target file content to obtain retrieval results.

[0122] In practice, the target content types include technical and non-technical types. The server categorizes the content according to a preset range, which can be determined by whether an explanation can be found on a professional website. If an explanation can be found, the content type is technical; otherwise, it is non-technical.

[0123] The target content type of the target search content is obtained, and the corresponding target search tool is determined based on the target content type. Specifically: when the target content type is a technical type, a first search tool corresponding to the technical type is determined as the target search tool based on the obtained historical record information. When the target content type is a non-technical type, a second search tool corresponding to the non-technical type is determined as the target search tool based on the obtained historical record information. The process of determining the first search tool and the second search tool is as described in steps 10321 and 10322 and their subordinate steps.

[0124] The target search content is selected by the user from a first file in the first terminal. The file type of the first file can be Word, PDF, Excel, or PPT. When the supplementary content information is the content of the target file in the first file of the first terminal, it indicates that the content of the target file is also included in the search. The target search content and the content of the target file are searched using a target search tool corresponding to the target content type.

[0125] For example, if the target search content is a screen display and the target file content is audio, and the screen display is determined to be a non-technical type, and the target search tool corresponding to the non-technical type is determined to be Baidu based on historical information, then Baidu is used to search for the screen display and audio.

[0126] Through the above scheme, when the received supplementary information is the content of the target file in the first file of the first terminal, it is equivalent to adding other content that is searched simultaneously with the target search content, thereby narrowing the search scope and improving the accuracy of the search. Meanwhile, when selecting a target search tool, the corresponding target search tool is still determined based on the target content type selected by the user, and the target search tool is more closely aligned with the user's commonly used search tools.

[0127] In some embodiments, the supplementary content information includes a target file type determined based on the first file in the first terminal and other files opened simultaneously with the first file in the first terminal; step 103 specifically includes:

[0128] Step A: Based on the target file type and the historical information, determine the target retrieval tool corresponding to the target file type; use the target retrieval tool corresponding to the target file type to retrieve the target content and obtain the retrieval results.

[0129] In specific implementation, when there are other files opened simultaneously with the first file from which the target retrieval content is selected in the first terminal, the supplementary content information sent by the first terminal received by the server includes not only the target file content in the first file in the first terminal, but also the target file type determined according to the first file in the first terminal and other files opened simultaneously with the first file in the first terminal.

[0130] The process of determining the target retrieval tool corresponding to the target file type based on historical data is as follows:

[0131] Each historical record received includes the file type, search time, search tool used, and user information. The user information refers to the information of the logged-in user corresponding to the first terminal system, which is used to distinguish different users using the same search tool.

[0132] When a user selects target search content and target search mode on the first terminal, the first terminal, in addition to obtaining the target search content and target search mode, can also obtain the target user information currently logged into the system, and send the target search content, target search mode, and target user information to the server. When the server sends a history retrieval request, the history retrieval request can be a request to retrieve the history information corresponding to the target user information, ensuring that the received history information is all history information corresponding to the target user information, further improving the accuracy of the search results.

[0133] In another scenario, the historical record retrieval request sent by the server in this application can also include a time limit for retrieval. For example, only historical records within a preset timeframe (e.g., three months) are retrieved. Historical records closer to the current time better reflect the user's recent preferences and habits, further improving the accuracy of retrieval results by requesting only historical records from times closer to the current time.

[0134] For example, each historical record in the received historical record information includes a file type. Similarly, the file types in the historical record information are classified according to a preset range, into historical record information with a patent type, historical record information with a paper type, and historical record information with other file types, wherein the other file types are types other than patent type and paper type.

[0135] Retrieve historical data for patent-type documents. Each historical record includes a search tool. Obtain all search tools listed in the historical data for patent-type documents as candidate search tools. Count the frequency of each candidate search tool and select the most frequently used candidate search tool as the target search tool for the corresponding patent type.

[0136] For example, historical information of the file type "patent" is obtained, and all search tools contained therein are selected as candidate search tools, including PatSnap, PatentStar, Incopat, Baidu, and CNKI. By counting the frequency of occurrence of the candidate search tools, CNKI is determined to be the most frequently used candidate search tool, and then CNKI is selected as the target search tool corresponding to the patent type.

[0137] Retrieve historical data for documents of the paper type. Each historical record includes a search tool. Collect all search tools listed in the historical data for paper-type documents and use them as candidate search tools. Count the frequency of each candidate search tool and select the most frequently used candidate search tool as the target search tool for the paper type.

[0138] For example, historical information of the file type as the target type is obtained, and all the search tools contained therein are selected as candidate search tools, including CNKI, SCI, VIP, or Wanfang Data. By counting the occurrence frequency of the candidate search tools, VIP is determined to be the most frequently used candidate search tool, and then VIP is selected as the target search tool corresponding to the paper type.

[0139] Retrieve historical data for file types other than those specified. Each historical record includes a search tool. Collect all search tools listed in the historical data for file types other than those specified, and use them as candidate search tools. Count the frequency of each candidate search tool and select the most frequently used candidate search tool as the target search tool for the other file types.

[0140] For example, historical data for file types other than [other types] is retrieved, and all search tools contained therein are selected as candidate search tools, including Baidu, Bing, and CNKI. By counting the frequency of occurrence of candidate search tools, Baidu is identified as the most frequently used candidate search tool, and then Baidu is selected as the target search tool for other file types.

[0141] The target search content is searched using the target search tool corresponding to the target file type to obtain search results.

[0142] For example, if the target search content is apple and the target file type is other file types, and the target search tool for other file types is determined to be Baidu based on historical information, then Baidu will be used to search for apple.

[0143] In some embodiments, the supplementary content information includes the target file content in the first file in the first terminal, and the target file type determined based on the first file in the first terminal and other files opened simultaneously with the first file in the first terminal; step 103 specifically includes:

[0144] Step 103a: Determine the target retrieval tool corresponding to the target file type based on the target file type and the historical record information.

[0145] Step 103b: Using the target retrieval tool corresponding to the target file type, retrieve the target retrieval content and the target file content to obtain retrieval results.

[0146] In specific implementation, the content of the target file in the first file of the first terminal is used as other content to be searched simultaneously with the target search content. The target search tool corresponding to the target file type is used, and the specific process is described in step A. The target search content and the target file content are searched to obtain search results.

[0147] For example, if the target search content is a screen, the target file content is voice, and the target file type is a patent type, and the target search tool corresponding to the patent type is determined to be CNKI based on historical information, then CNKI is used to search for the screen and voice.

[0148] Using the above method, other files opened simultaneously with the first file containing the selected target search content can be considered to have a certain degree of correlation with the first file, which is why the user opened them simultaneously. Therefore, when obtaining supplementary content information, the target file type is obtained by analyzing the first file and the other simultaneously opened files. Based on historical information, the search tool corresponding to the target file type is determined as the target search tool. Using the target search tool to search for target search content and target file content improves the accuracy of the search results.

[0149] In some embodiments, step 103a specifically includes:

[0150] Step 103a1: Analyze and process the target file type to determine the first initial target retrieval tool and the first explanatory information corresponding to the target file type, wherein the first explanatory information is the explanation information of the first initial target retrieval tool.

[0151] Step 103a2: Based on the target file type and the historical record information, determine the second initial target retrieval tool and the second explanatory information corresponding to the target file type, wherein the second explanatory information is an explanation of the second initial target retrieval tool.

[0152] In specific implementation, when the server receives the target file type, it will analyze and process the target file type to obtain a first initial target retrieval tool determined by the target file type and a first description of the first initial target retrieval tool. The first description is an explanation of the first initial target retrieval tool, which includes an introduction or function of the first initial target retrieval tool.

[0153] Simultaneously, the server will determine the second initial target retrieval tool and the second explanatory information corresponding to the target file type based on historical record information. The second explanatory information is an explanation of the second initial target retrieval tool, and the explanation information includes that the second initial target retrieval tool is a retrieval tool determined based on historical record information.

[0154] For example, the target file type is a patent type, the first initial target search tool is PatSnap, the second initial target search tool is CNKI, the first explanatory information is that PatSnap is a professional search tool, and the second explanatory information is that CNKI is a commonly used search tool.

[0155] Step 103a3: Send target retrieval tool selection prompt information to the first terminal and / or the second terminal so that the first terminal and / or the second terminal can display the target retrieval tool selection prompt information, and receive feedback information corresponding to the target retrieval tool selection prompt information, wherein the target retrieval tool selection information includes the first initial target retrieval tool, the first explanatory information, the second initial target retrieval tool, and the second explanatory information.

[0156] Step 103a4: Receive feedback information sent by the first terminal and / or the second terminal, and determine that the retrieval tool corresponding to the feedback information is the target retrieval tool.

[0157] In specific implementation, a target search tool selection prompt is sent to the first terminal and / or the second terminal, and the prompt is displayed on the first terminal and / or the second terminal for the user to select a target search tool. The target search tool selection prompt includes a first initial target search tool and a second initial target search tool, as well as corresponding first and second explanatory information, providing a reference for the user's selection. Feedback information sent by the first terminal and / or the second terminal is received, wherein the feedback information includes the target search tool selected by the user based on the target search tool selection prompt.

[0158] For example, the target file type is a patent type, the first initial target search tool is PatSnap, the second initial target search tool is CNKI, the first explanatory information is that PatSnap is a professional search tool, and the second explanatory information is that CNKI is a commonly used search tool. If the first initial target search tool is different from the second initial target search tool, a target search tool selection prompt is sent to the first terminal and / or the second terminal, wherein the target search tool selection prompt includes the first initial target search tool, the first explanatory information, the second initial target search tool, and the second explanatory information.

[0159] As another example, the target file type is a patent type, the first initial target retrieval tool is PatSnap, the second initial target retrieval tool is PatSnap, and the first initial target retrieval tool is the same as the second initial target retrieval tool. In this case, there is no need to send the user the target retrieval tool selection information, and PatSnap is directly used as the target retrieval tool.

[0160] In some embodiments, after determining the target retrieval mode as the second retrieval mode, the method further includes, after step 104:

[0161] Step 10a: When performing a search using the second search mode, after sending the search results to the first terminal and / or the second terminal, receive adjustment content information sent by the first terminal and / or the second terminal, wherein the adjustment content information includes the target file content in the first file in the first terminal and / or the target file type determined according to the first file in the first terminal and other files in the first terminal that are opened at the same time as the first file.

[0162] As an optional embodiment, when the adjusted content information is the target file content and target search content in a first file in a first terminal, the content type corresponding to the target search content is obtained, and the target search tool corresponding to the content type is determined based on historical record information. The target search tool is then used to search for the target search content.

[0163] For example, the search conditions corresponding to the displayed search results include target search content (screen), target file content (audio), target file content (video), and target file type (patent document). If the server receives adjustment content information indicating target file content (audio) and target file content (video), it determines that the content type corresponding to the screen is non-technical. Based on historical data, it determines that the target search tool for non-technical types is Baidu, and then uses Baidu to search for the screen, audio, and video.

[0164] As another optional embodiment, when the adjusted content information is a target file type determined based on the first file in the first terminal and other files opened simultaneously with the first file in the first terminal, a target retrieval tool corresponding to the target file type is determined based on the target file type and the historical record information; the target retrieval tool corresponding to the target file type is used to retrieve the target retrieval content to obtain retrieval results.

[0165] For example, the search conditions corresponding to the displayed search results include target search content (screen), target file content (audio), target file content (video), and target file type (patent document). If the server receives the adjusted content information that the target file type is a patent document, then based on historical information, it determines that the target search tool corresponding to the patent type is PatSnap, and uses PatSnap to search for the screen.

[0166] As another optional embodiment, when the adjusted content information includes the target file content of a first file in a first terminal and the target file type determined based on the first file in the first terminal and other files opened simultaneously with the first file in the first terminal, a target retrieval tool corresponding to the target file type is determined based on the target file type and the historical record information. The target retrieval tool corresponding to the target file type is then used to retrieve the target retrieval content and the target file content to obtain retrieval results.

[0167] For example, the search conditions corresponding to the displayed search results include target search content (screen), target file content (audio), target file content (video), and target file type (patent document). If the server receives the adjusted content information as target file content (audio) and target file type (patent document), then based on historical data, it determines that the target search tool corresponding to the patent type is PatSnap, and uses PatSnap to search for screen and audio content.

[0168] In some embodiments, after step 104, the method further includes:

[0169] Step 10b: Send search type selection information to the first terminal and / or the second terminal, so that the first terminal and / or the second terminal can receive and display the search type selection information. That is, while displaying the search results, the first terminal and / or the second terminal will also display the search type selection information, so that the user can select technical type search or non-technical type search again to switch the search type.

[0170] For example, such as Figure 2 As shown, the search results interface will also display either technical or non-technical search results, and can simultaneously display the searched content (such as target search content, target file content, and target file type). The currently displayed search results are obtained by using the search tool corresponding to the technical type to search the target search content. When the user selects a non-technical search, the server will use the second search tool corresponding to the non-technical type to search the target search content, obtain the search results again, and send them to the first terminal and / or the second terminal.

[0171] In some embodiments, after step 104, the method further includes:

[0172] Step 10A: Determine whether the search result is empty.

[0173] Step 10B: Determine that the search result is empty, generate a first prompt message, and send the first prompt message to a first terminal and / or a second terminal.

[0174] In practice, after obtaining the search results, the server determines whether the search results are empty, i.e., whether any relevant content was found. If the search results are empty, a first prompt message is generated and sent to the first terminal and / or the second terminal. The first prompt message indicates to the user that no relevant content was found. Simultaneously, the server may also remind the user to change the target search content, the target search mode, or the target search tool.

[0175] Based on the above description, this embodiment proposes a content retrieval method, applied to a first terminal, such as... Figure 3 As shown, the method includes:

[0176] Step 301: Receive the content selection instruction for the first file.

[0177] Step 302: Obtain the selected content corresponding to the content selection instruction as the target search content.

[0178] In practice, a first document is displayed on the first terminal. When browsing the first document, the user can select content within it by drawing a box. When the first terminal receives a content selection instruction for the first document, it retrieves the selected content corresponding to the instruction and uses the selected content as the target search content.

[0179] Step 303: In response to receiving a mode selection instruction, display mode option information, which includes a first option for selecting a first search mode and a second option for selecting a second search mode.

[0180] Step 304: In response to the selection instruction for the target option in the mode option information, determine the target retrieval mode.

[0181] In a specific implementation, for example, a user clicks the mouse to display mode selection information. This mouse click is a mode selection instruction. The mode selection information includes a first option for selecting a first search mode and a second option for selecting a second search mode. The user clicks the mouse again to select a target search mode. This mouse click is a selection instruction for the target option in the mode option information.

[0182] Step 305: Send the target search content and the target search mode to the server so that the server can search the target search content according to the target search mode and obtain search results.

[0183] Step 306: Receive and display the search results sent by the server.

[0184] In practice, the target search content and target search mode selected by the user are sent to the server. The server searches the target search content according to the target search mode, obtains the search results, and sends them to the first terminal. The first terminal receives the search results sent by the server and displays them for the user to view.

[0185] In some embodiments, the method further includes:

[0186] Step 30A: Receive a request from the server to supplement the search object.

[0187] Step 30B: Identify the page number information corresponding to the target search content in the first file, and the first document content contained in the page number information, wherein the target search content is selected from the first file.

[0188] Step 30C: Select the document content contained in a preset number of pages adjacent to the page number information as the second document content.

[0189] Step 30D: Take the content of the first document and the content of the second document as the content to be detected, traverse the content to be detected, and count the repetition rate of each word contained in the content to be detected.

[0190] Step 30E: Select a preset number of contents from the contents to be detected, sorted by repetition rate from high to low, as the target file contents, and send the target file contents as supplementary content information to the server so that the server can search the target search content based on the supplementary content information.

[0191] In specific implementation, the first terminal receives a request for supplementary information on the search object sent by the server, identifies the page number information of the target search content in the first file, and obtains all the content in the page number information as the first document content. The document content contained in a preset number of pages adjacent to the page number information is selected as the second document content. The first document content and the second document content are used as the content to be detected, and the frequency of occurrence of each word in the content to be detected is counted to obtain the repetition rate corresponding to each word. All words are sorted from high to low according to their repetition rate, and the top preset number of words are selected as the target file content, i.e., the supplementary content information.

[0192] For example, the target search content is a screen display, the preset page number is one, and the preset quantity is one. If the screen display selected by the user is located on the fourth page of the first document, then all content contained on the fourth page is retrieved as the first document content. The entire content of the adjacent page (the third and fifth pages) is retrieved as the second document content. The frequency of occurrence of all words on the third, fourth, and fifth pages is statistically analyzed, and the words with the highest repetition rate are sorted from highest to lowest. The word with the highest repetition rate is selected as the target document content.

[0193] In some embodiments, the method further includes:

[0194] Step 30a: Receive the supplementary request for the search object sent by the server, and determine whether there are other files opened at the same time besides the first file.

[0195] Step 30b: Determine if other files exist, and obtain the number of such other files.

[0196] Step 30c: Determine the number of other files to be one, and use the first file and the other files as the target file; or, determine the number of other files to be multiple, select a preset number of other files as the initial target file, and use the first file and the initial target file as the target file.

[0197] Step 30d: Analyze and process the file content of the target file to obtain the target file type corresponding to the target file.

[0198] Step 30e: The target file type is sent to the server as supplementary content information so that the server can retrieve the target search content based on the supplementary content information.

[0199] In practice, the first terminal receives a request from the server to supplement the search object and determines whether there are other files opened simultaneously with the first file. If other files exist, the number of other files is determined. If there is only one other file, the first file and the other file are used as the target file. If there are multiple other files, a preset number of other files are selected as the initial target file, and the first file and the initial target file are used as the target file.

[0200] The method for selecting the initial target file can be to obtain the opening time of each other file, sort them from earliest to latest according to the opening time, and select a preset number of other files at the top of the sort as the initial target file.

[0201] Another method for selecting the initial target file is to display all other files, where the displayed content can be the filenames of the other files, such as... Figure 4As shown. The system receives feedback information from the user, which includes the user's selected target file, and uses this target file as the initial target file.

[0202] The content of the target file is analyzed, such as obtaining the first page of the target file, identifying the first page, and determining whether it conforms to the patent type or the paper type. If it does not conform to either the patent type or the paper type, the target file type is determined to be other file types.

[0203] For example, determine whether there is patent-related information such as application number, applicant, and patent application on the homepage. If so, determine that the target document type is a patent type.

[0204] Another example is to determine whether there are paper-related information such as papers or school information on the homepage. If so, the target file type is determined to be a paper.

[0205] In some embodiments, the method further includes:

[0206] Receive and display the search type selection information sent by the server;

[0207] Receive the search type selection instruction sent by the user, and obtain the search type corresponding to the search type selection instruction.

[0208] In practice, the first terminal receives the search type selection information sent by the server and displays either a technical search or a non-technical search on the results display interface. The currently displayed search results are obtained by using the search tool corresponding to the technical type to search for the target content. When the user selects a non-technical search, the first terminal receives the search type selection instruction, obtains the corresponding non-technical search result, and sends it to the server. The server then uses the second search tool corresponding to the non-technical type to search for the target content, obtains the search result again, and sends it to the first terminal.

[0209] Based on the above description, this embodiment proposes a content retrieval method, applied to a second terminal, such as... Figure 5 As shown, the method includes:

[0210] Step 501: Receive the search results corresponding to the target search content sent by the server, and display the search results and search type selection information.

[0211] Step 502: In response to receiving a search type selection instruction corresponding to the search type selection information, obtain the target search type included in the search type selection instruction.

[0212] Step 503: Send the target search type to the server so that the server can search for the target search content according to the target search type.

[0213] In practice, the second terminal receives the search type selection information sent by the server and displays either a technical search or a non-technical search on the results screen. The currently displayed search results are obtained by using the search tool corresponding to the technical type to search for the target content. When the user selects a non-technical search, the second terminal receives the search type selection instruction, obtains the corresponding non-technical search result, and sends it to the server. The server then uses the second search tool corresponding to the non-technical type to search for the target content, obtains the search results again, and sends them to the second terminal.

[0214] It should be noted that the method of this disclosure embodiment can be executed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method of this disclosure embodiment, and the multiple devices will interact with each other to complete the method described.

[0215] It should be noted that the above description describes some embodiments of this disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0216] Based on the same inventive concept, corresponding to any of the above embodiments, this disclosure also provides a content retrieval device, which is set on a server.

[0217] refer to Figure 6 , Figure 6 The content retrieval device for this embodiment includes:

[0218] The retrieval content receiving module 601 is configured to receive target retrieval content and target retrieval mode sent by a first terminal, wherein the first terminal is a terminal that has established a connection with the server, and the target retrieval mode is the retrieval mode adopted when retrieving the target retrieval content.

[0219] The associated information acquisition module 602 is configured to acquire associated information corresponding to the target retrieval mode according to the target retrieval mode;

[0220] The search result generation module 603 is configured to search the target search content according to the target search pattern and the associated information to obtain search results;

[0221] The retrieval result sending module 604 is configured to send the retrieval result to the first terminal and / or the second terminal, wherein the second terminal is another terminal that has established a connection with the server.

[0222] In some embodiments, the target retrieval mode includes a first retrieval mode, and the associated information acquisition module 602 specifically includes:

[0223] The history record retrieval request sending unit is configured to send a history record retrieval request to the first terminal in response to determining that the target retrieval mode is the first retrieval mode, so that the first terminal reads and sends history record information from the local device according to the history record retrieval request.

[0224] The historical record information receiving unit is configured to receive historical record information sent by the first terminal and use the historical record information as the associated information corresponding to the first search mode.

[0225] In some embodiments, the retrieval result generation module 603 specifically includes:

[0226] The content type acquisition unit is configured to acquire the target content type of the target search content;

[0227] The retrieval tool determination unit is configured to determine the target retrieval tool corresponding to the target content type based on the target content type and the historical record information;

[0228] The search result generation unit is configured to use the target search tool to search the target search content and obtain search results.

[0229] In some embodiments, the target content type includes technical and non-technical types, and the retrieval tool determination unit specifically includes:

[0230] The first search tool determining subunit is configured to, in response to determining that the target content type is the technology type, determine the first search tool corresponding to the technology type as the target search tool based on the historical record information;

[0231] The second search tool determination subunit is configured to, in response to determining that the target content type is the non-technical type, determine the second search tool corresponding to the non-technical type as the target search tool based on the historical record information.

[0232] In some embodiments, the first retrieval tool determining subunit is specifically configured to determine a plurality of candidate retrieval tools corresponding to the technology type based on the historical record information; and to determine the candidate retrieval tool with the highest usage frequency among the plurality of candidate retrieval tools corresponding to the technology type as the first retrieval tool based on the historical record information.

[0233] In some embodiments, the second search tool determining subunit is specifically configured to select multiple search tools corresponding to the non-technical type based on the historical record information; and to determine the most frequently used search tool among the multiple search tools corresponding to the non-technical type as the second search tool based on the historical record information.

[0234] In some embodiments, the target retrieval mode includes a second retrieval mode, and the associated information acquisition module 602 specifically includes:

[0235] The request sending unit is configured to send a history record acquisition request and a search content supplementation request to the first terminal in response to determining that the target search mode is a second search mode, so that the first terminal reads and sends history record information from the local machine according to the history record acquisition request and generates supplementary content information according to the search content supplementation request.

[0236] The association information determination unit is configured to receive historical record information and supplementary content information sent by the first terminal, and use the historical record information and supplementary content information as association information corresponding to the second retrieval mode.

[0237] In some embodiments, the supplementary content information includes the content of a target file in a first file in the first terminal; the target retrieval content is selected from the first file; the retrieval result generation module 603 specifically includes:

[0238] The content type acquisition unit is configured to acquire the target content type of the target search content;

[0239] The retrieval tool determination unit is configured to determine the target retrieval tool corresponding to the target content type based on the target content type and the historical record information;

[0240] The search result generation unit is configured to use the target search tool to search the target search content and the target file content to obtain search results.

[0241] In some embodiments, the supplementary content information includes the target file content in the first file in the first terminal, and the target file type determined based on the first file in the first terminal and other files opened simultaneously with the first file in the first terminal; the retrieval result generation module 603 specifically includes:

[0242] The retrieval tool determination unit is configured to determine the target retrieval tool corresponding to the target file type based on the target file type and the historical record information;

[0243] The search result generation unit is configured to use a target search tool corresponding to the target file type to search the target search content and the target file content to obtain search results.

[0244] In some embodiments, the retrieval tool determining unit specifically includes:

[0245] The first initial target retrieval tool determining subunit is configured to analyze and process the target file type to determine the first initial target retrieval tool and first explanatory information corresponding to the target file type, wherein the first explanatory information is explanatory information for the first initial target retrieval tool;

[0246] The second initial target retrieval tool determining subunit is configured to determine a second initial target retrieval tool and second explanatory information corresponding to the target file type based on the target file type and the historical record information, wherein the second explanatory information is explanatory information for the second initial target retrieval tool;

[0247] The target retrieval tool selection prompt information sending subunit is configured to send target retrieval tool selection prompt information to the first terminal and / or the second terminal, so that the first terminal and / or the second terminal can display the target retrieval tool selection prompt information, and receive feedback information corresponding to the target retrieval tool selection prompt information, wherein the target retrieval tool selection information includes the first initial target retrieval tool, the first explanatory information, the second initial target retrieval tool, and the second explanatory information;

[0248] The target retrieval tool determination subunit is configured to receive feedback information sent by a first terminal and / or a second terminal, and determine the retrieval tool corresponding to the feedback information as the target retrieval tool.

[0249] Based on the same inventive concept, corresponding to any of the above embodiments, this disclosure also provides a content retrieval device, which is installed in a first terminal.

[0250] refer to Figure 7 , Figure 7 The content retrieval device for this embodiment includes:

[0251] The content selection instruction receiving module 701 is configured to receive a content selection instruction for the first file;

[0252] The selected content acquisition module 702 is configured to acquire the selected content corresponding to the content selection instruction as the target search content;

[0253] The mode option information display module 703 is configured to display mode option information in response to receiving a mode selection instruction, the mode option information including a first option for selecting a first search mode and a second option for selecting a second search mode;

[0254] The target retrieval mode determination module 704 is configured to determine the target retrieval mode in response to a selection instruction for a target option in the mode option information;

[0255] The information sending module 705 is configured to send the target search content and the target search mode to the server, so that the server can search the target search content according to the target search mode and obtain search results;

[0256] The search result receiving module 706 is configured to receive and display the search results sent by the server.

[0257] In some embodiments, the apparatus further includes a supplementary content information generation module, which specifically includes:

[0258] The retrieval object supplementation request receiving unit is configured to receive retrieval object supplementation requests sent by the server;

[0259] The first document content determination unit is configured to identify the page number information corresponding to the target retrieval content in a first file, and the first document content contained in the page number information, wherein the target retrieval content is selected from the first file;

[0260] The second document content determination unit is configured to select document content contained in a preset number of pages adjacent to the page number information as the second document content;

[0261] The repetition rate acquisition unit is configured to take the content of the first document and the content of the second document as the content to be detected, perform traversal processing on the content to be detected, and count the repetition rate of each word contained in the content to be detected.

[0262] The target file content determination unit is configured to select a preset number of contents from the contents to be detected, sorted by repetition rate from high to low, as the target file content, and send the target file content as supplementary content information to the server so that the server can retrieve the target search content based on the supplementary content information.

[0263] Based on the same inventive concept, corresponding to any of the above embodiments, this disclosure also provides a content retrieval device, which is installed in a first terminal.

[0264] refer to Figure 8 , Figure 8 The content retrieval device for this embodiment includes:

[0265] The search result receiving module 801 is configured to receive the search results corresponding to the target search content sent by the server, and display the search results and search type selection information.

[0266] The search type selection instruction receiving module 802 is configured to, in response to receiving a search type selection instruction corresponding to the search type selection information, obtain the target search type contained in the search type selection instruction;

[0267] The target retrieval type sending module 803 is configured to send the target retrieval type to the server so that the server can retrieve the target retrieval content according to the target retrieval type.

[0268] For ease of description, the above apparatus is described in terms of its functions, divided into various modules. Of course, in implementing this disclosure, the functions of each module can be implemented in one or more software and / or hardware.

[0269] The apparatus described above is used to implement the corresponding content retrieval method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0270] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the content retrieval method described in any of the above embodiments.

[0271] Figure 9This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

[0272] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0273] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0274] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0275] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0276] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0277] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.

[0278] The electronic devices described above are used to implement the corresponding content retrieval methods in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0279] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this disclosure also provides a non-transitory computer-readable storage medium that stores computer instructions for causing the computer to execute the content retrieval method as described in any of the above embodiments.

[0280] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0281] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the content retrieval method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0282] It is understood that before using the technical solutions of the various embodiments in this disclosure, users will be informed of the type, scope of use, and usage scenarios of the personal information involved in an appropriate manner, and user authorization will be obtained.

[0283] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose, based on the prompt message, whether to provide personal information to the software or hardware such as electronic devices, applications, servers, or storage media performing the operations of this disclosed technical solution.

[0284] As an optional but not limited implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0285] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0286] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this disclosure (including the claims) is limited to these examples; within the framework of this disclosure, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this disclosure as described above, which are not provided in detail for the sake of brevity.

[0287] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this disclosure, the provided drawings may or may not show well-known power / ground connections to integrated circuit (IC) chips and other components. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this disclosure, and this also takes into account the fact that the details of implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this disclosure will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuitry) have been set forth to describe exemplary embodiments of this disclosure, it will be apparent to those skilled in the art that the embodiments of this disclosure may be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0288] Although this disclosure has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0289] This disclosure is intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A content retrieval method, characterized in that, Applied to servers, including: The system receives target search content and target search mode sent by a first terminal, wherein the first terminal is a terminal that has established a connection with the server, and the target search mode is the search mode adopted when searching for the target search content. Based on the target retrieval pattern, obtain the associated information corresponding to the target retrieval pattern; Based on the target retrieval pattern and the associated information, the target retrieval content is retrieved to obtain retrieval results; The search results are sent to the first terminal and / or the second terminal, wherein the second terminal is another terminal that has established a connection with the server; The step of retrieving the target search content based on the target search pattern and the associated information to obtain search results includes: Receive historical record information and supplementary content information sent by the first terminal. The supplementary content information includes the target file content in the first file in the first terminal, and the target file type determined according to the first file in the first terminal and other files opened at the same time as the first file in the first terminal. Based on the target file type and the historical record information, determine the target retrieval tool corresponding to the target file type; Using a target retrieval tool corresponding to the target file type, the target retrieval content and the target file content are retrieved to obtain retrieval results; The step of determining the target retrieval tool corresponding to the target file type based on the target file type and the historical record information includes: The target file type is analyzed and processed to determine a first initial target retrieval tool and first explanatory information corresponding to the target file type, wherein the first explanatory information is explanatory information for the first initial target retrieval tool; Based on the target file type and the historical record information, a second initial target retrieval tool and second explanatory information corresponding to the target file type are determined, wherein the second explanatory information is an explanation of the second initial target retrieval tool; Send target search tool selection prompt information to the first terminal and / or the second terminal so that the first terminal and / or the second terminal can display the target search tool selection prompt information, and receive feedback information corresponding to the target search tool selection prompt information, wherein the target search tool selection information includes the first initial target search tool, the first explanatory information, the second initial target search tool and the second explanatory information; Receive feedback information sent by the first terminal and / or the second terminal, and determine the retrieval tool corresponding to the feedback information as the target retrieval tool.

2. The method according to claim 1, characterized in that, The target retrieval mode includes a first retrieval mode, and the step of obtaining the associated information corresponding to the target retrieval mode according to the target retrieval mode includes: In response to determining that the target retrieval mode is the first retrieval mode, a history record retrieval request is sent to the first terminal, so that the first terminal reads and sends the history record information from the local device according to the history record retrieval request; The system receives historical record information sent by the first terminal and uses the historical record information as the associated information corresponding to the first search mode.

3. The method according to claim 2, characterized in that, The step of retrieving the target search content based on the target search pattern and in conjunction with the associated information to obtain search results includes: Obtain the target content type of the target search content; Based on the target content type and the historical record information, determine the target retrieval tool corresponding to the target content type; The target search tool is used to search for the target content to obtain search results.

4. The method according to claim 3, characterized in that, The target content types include technical and non-technical types. The step of determining the target retrieval tool corresponding to the target content type based on the target content type and the historical record information includes: In response to determining that the target content type is the technology type, the first search tool corresponding to the technology type is determined as the target search tool based on the historical record information; In response to determining that the target content type is the non-technical type, the second search tool corresponding to the non-technical type is determined as the target search tool based on the historical record information.

5. The method according to claim 4, characterized in that, The step of determining the first search tool corresponding to the technology type as the target search tool based on the historical record information includes: determining a plurality of candidate search tools corresponding to the technology type based on the historical record information; and determining the candidate search tool with the highest usage frequency among the plurality of candidate search tools corresponding to the technology type as the first search tool based on the historical record information. The step of determining the second search tool corresponding to the non-technical type as the target search tool based on the historical record information includes: determining multiple candidate search tools corresponding to the non-technical type based on the historical record information; and determining the candidate search tool with the highest usage frequency among the multiple candidate search tools corresponding to the non-technical type as the second search tool based on the historical record information.

6. The method according to claim 1, characterized in that, The target retrieval mode includes a second retrieval mode, and the step of obtaining the associated information corresponding to the target retrieval mode includes: In response to determining that the target retrieval mode is the second retrieval mode, a history record acquisition request and a retrieval content supplementation request are sent to the first terminal, so that the first terminal reads and sends the history record information from the local machine according to the history record acquisition request and generates supplementary content information according to the retrieval content supplementation request. The system receives historical record information and supplementary content information sent by the first terminal, and uses the historical record information and supplementary content information as associated information corresponding to the second search mode.

7. The method according to claim 6, characterized in that, The supplementary content information includes the content of the target file in the first file in the first terminal; the target search content is selected from the first file; the step of searching the target search content according to the target search mode and in combination with the associated information to obtain search results includes: Obtain the target content type of the target search content; Based on the target content type and the historical record information, determine the target retrieval tool corresponding to the target content type; The target retrieval tool is used to retrieve the target search content and the target file content to obtain the retrieval results.

8. A retrieval method, characterized in that, Applied to the first terminal, including: Receive a content selection command for the first file; The selected content corresponding to the content selection instruction is used as the target search content; In response to receiving a mode selection instruction, mode option information is displayed, the mode option information including a first option for selecting a first search mode and a second option for selecting a second search mode; In response to the selection instruction for the target option in the mode option information, the target retrieval mode is determined; The target search content and the target search mode are sent to the server so that the server can search the target search content according to the target search mode and obtain search results. The search results are determined by receiving historical information and supplementary content information sent by the first terminal. The supplementary content information includes the target file content in the first file in the first terminal and the target file type determined according to the first file in the first terminal and other files opened at the same time as the first file in the first terminal. Based on the target file type and the historical record information, determine the target retrieval tool corresponding to the target file type; Using a target retrieval tool corresponding to the target file type, the target retrieval content and the target file content are retrieved to obtain retrieval results; The step of determining the target retrieval tool corresponding to the target file type based on the target file type and the historical record information includes: The target file type is analyzed and processed to determine a first initial target retrieval tool and first explanatory information corresponding to the target file type, wherein the first explanatory information is explanatory information for the first initial target retrieval tool; Based on the target file type and the historical record information, a second initial target retrieval tool and second explanatory information corresponding to the target file type are determined, wherein the second explanatory information is an explanation of the second initial target retrieval tool; Send target search tool selection prompt information to the first terminal and / or the second terminal so that the first terminal and / or the second terminal can display the target search tool selection prompt information, and receive feedback information corresponding to the target search tool selection prompt information, wherein the target search tool selection information includes the first initial target search tool, the first explanatory information, the second initial target search tool and the second explanatory information; Receive feedback information sent by a first terminal and / or a second terminal, and determine the retrieval tool corresponding to the feedback information as the target retrieval tool; Receive and display the search results sent by the server.

9. The method according to claim 8, characterized in that, Also includes: Receive requests from the server to supplement the searched objects; Identify the page number information corresponding to the target search content in the first file, and the first document content contained in the page number information, wherein the target search content is selected from the first file; Select the document content contained in a preset number of pages adjacent to the page number information as the second document content; The content of the first document and the content of the second document are used as the content to be detected. The content to be detected is traversed and the repetition rate of each word contained in the content to be detected is calculated. After sorting the content to be detected by repetition rate from high to low, a predetermined number of positive content are selected as target file content. The target file content is sent to the server as supplementary content information so that the server can retrieve the target content based on the supplementary content information.

10. A content retrieval method, characterized in that, Applied to the second terminal, including: The system receives the search results corresponding to the target search content sent by the server, and displays the search results and search type selection information. The search results are determined by receiving historical record information and supplementary content information sent by the first terminal. The supplementary content information includes the target file content in the first file in the first terminal, and the target file type determined based on the first file in the first terminal and other files opened at the same time as the first file in the first terminal. Based on the target file type and the historical record information, determine the target retrieval tool corresponding to the target file type; Using a target retrieval tool corresponding to the target file type, the target retrieval content and the target file content are retrieved to obtain retrieval results; The step of determining the target retrieval tool corresponding to the target file type based on the target file type and the historical record information includes: The target file type is analyzed and processed to determine a first initial target retrieval tool and first explanatory information corresponding to the target file type, wherein the first explanatory information is explanatory information for the first initial target retrieval tool; Based on the target file type and the historical record information, a second initial target retrieval tool and second explanatory information corresponding to the target file type are determined, wherein the second explanatory information is an explanation of the second initial target retrieval tool; Send target search tool selection prompt information to the first terminal and / or the second terminal so that the first terminal and / or the second terminal can display the target search tool selection prompt information, and receive feedback information corresponding to the target search tool selection prompt information, wherein the target search tool selection information includes the first initial target search tool, the first explanatory information, the second initial target search tool and the second explanatory information; Receive feedback information sent by a first terminal and / or a second terminal, and determine the retrieval tool corresponding to the feedback information as the target retrieval tool; In response to receiving a search type selection instruction corresponding to the search type selection information, the target search type included in the search type selection instruction is obtained; The target search type is sent to the server so that the server can search for the target search content based on the target search type.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the method as claimed in any one of claims 1 to 7, or the method as claimed in any one of claims 8 to 9, or the method as claimed in claim 10.

12. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method as claimed in any one of claims 1 to 7, or the method as claimed in any one of claims 8 to 9, or the method as claimed in claim 10.