Content searching method and device, equipment and medium

By displaying the associated display area and recommended search terms on the content details page, users can search directly on the details page, solving the problem of cumbersome search steps in the existing technology and improving search efficiency and convenience.

CN119127908APending Publication Date: 2024-12-13XIAOHONGSHU TECH CO LTD

Patent Information

Application Number
CN202411128213.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

When browsing data content, users need to frequently exit the details page and enter the search page for search, resulting in cumbersome search steps and inefficient efficiency.

Method used

On the content details page, respond to the selection operation of the target content, display the associated display area, and display the recommended search terms associated with the target content in the area. Users can directly search on the details page to reduce the search steps.

Benefits of technology

Optimize the search process of users after browsing the details page, improve search efficiency and convenience, and reduce the cumbersomeness of search steps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119127908A_ABST
    Figure CN119127908A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a content searching method and device, equipment and a medium, and is applied to the technical field of Internet. The method comprises the steps that in response to selection operation for target content on a content detail page, when the target content is highlighted on the content detail page, an associated display area associated with the target content is displayed, and recommended search terms associated with the target content are displayed in the associated display area, and in response to a search operation for the recommended search term on the associated display area, displaying search result contents corresponding to the recommended search term. By adopting the embodiment of the invention, the search efficiency can be improved after the detail page is browsed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, specifically to the field of data processing technology, and in particular to a content search method, device, equipment and medium. Background Art

[0002] Currently, when users browse data content (such as notes), they usually want to search for part of the content in the notes. At this time, the user needs to exit the note details page, enter the search page, and enter the content they want to search. This search step is relatively cumbersome. After exiting the note details page, the user may forget the content they want to search for and need to repeatedly enter the note details page to view it. Therefore, how to improve search efficiency after browsing the details page has become a problem that needs to be solved urgently. Summary of the invention

[0003] The embodiments of the present application provide a content search method, apparatus, device and medium, which can improve search efficiency after browsing the details page.

[0004] On the one hand, an embodiment of the present application provides a content search method, the method comprising:

[0005] In response to a selection operation on a target content on a content detail page, when the target content is highlighted on the content detail page, an associated display area associated with the target content is displayed; the associated display area refers to a display area on the content detail page that does not block the target content;

[0006] Displaying recommended search terms associated with the target content in the associated display area; the recommended search terms refer to text segmentation entities in the target content;

[0007] In response to a search operation for a recommended search word on the associated display area, search result content corresponding to the recommended search word is displayed.

[0008] On the other hand, an embodiment of the present application provides a content search method, the method comprising:

[0009] receiving a search term recommendation request; the search term recommendation request is generated by a selection operation on a target content on a content detail page;

[0010] Determine text segmentation entities in the target content, and determine recommended search terms associated with the target content from the text segmentation entities;

[0011] In response to the search term recommendation request, the recommended search term is returned to display the recommended search term through an associated display area on the content detail page; the associated display area refers to a display area on the content detail page that does not block the target content.

[0012] On the one hand, an embodiment of the present application provides a content search device, the device comprising:

[0013] an area display module, for displaying an associated display area associated with the target content when the target content is highlighted on the content details page in response to a selection operation on the target content on the content details page; the associated display area refers to a display area on the content details page that does not block the target content;

[0014] A search term processing module, used to display recommended search terms associated with the target content in the associated display area; the recommended search terms refer to text segmentation entities in the target content;

[0015] The search term processing module is further used to display search result content corresponding to the recommended search term in response to a search operation for the recommended search term in the associated display area.

[0016] On the other hand, an embodiment of the present application provides a content search device, the device comprising:

[0017] A request receiving module, used to receive a search term recommendation request; the search term recommendation request is generated by a selection operation on a target content on a content detail page;

[0018] A search term determination module, used to determine text segmentation entities in the target content, and determine recommended search terms associated with the target content from the text segmentation entities;

[0019] The search term determination module is further used to return a recommended search term in response to the search term recommendation request, so as to display the recommended search term in an associated display area on the content detail page; the associated display area refers to a display area on the content detail page that does not block the target content;

[0020] A request receiving module, used to receive a content search request; the content search request is generated by a search operation for a recommended search term;

[0021] The content returning module is used to return the search result content to be displayed in response to the content search request when the search result content corresponding to the recommended search term is obtained through searching.

[0022] On the one hand, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute some or all of the steps in the above method.

[0023] On the one hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program includes program instructions, which, when executed by a processor, are used to execute some or all of the steps in the above method.

[0024] Accordingly, according to one aspect of the present application, a computer program product or a computer program is provided, wherein the computer program product or the computer program comprises computer instructions, and when the computer instructions are executed by a processor, some or all of the steps in the above method can be implemented.

[0025] In an embodiment of the present application, the target content can be selected in the content details page to highlight the target content and display the associated display area associated with the target content. The associated display area is a display area that does not block the target content. At this time, the recommended search terms determined by the text segmentation entities in the target content can be displayed in the associated display area, so that business objects (such as users) can directly select the target content of interest on the content details page, and can view the recommended search terms that the user may want to search for determined from the target content. At this time, the content search for the recommended search terms can be implemented through the search operation for the recommended search terms, and the search result content corresponding to the recommended search terms can be obtained, so that the user can search for the content in the content details page after viewing the content details page. This can optimize the user's search process after browsing the details page, thereby improving search efficiency and convenience. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0027] Figure 1 A schematic diagram of a network architecture provided for an embodiment of the present application;

[0028] Figure 2 A schematic diagram of a content search scenario provided in an embodiment of the present application;

[0029] Figure 3 A flowchart of a content search method provided in an embodiment of the present application;

[0030] Figure 4 A schematic diagram of a content selection scenario provided in an embodiment of the present application;

[0031] Figure 5 A schematic diagram of another scenario of content selection provided in an embodiment of the present application;

[0032] Figure 6 A schematic diagram of another content selection scenario provided in an embodiment of the present application;

[0033] Figure 7 A schematic diagram of a content search scenario provided in an embodiment of the present application;

[0034] Figure 8 A flowchart of another content search method provided in an embodiment of the present application;

[0035] Fig. 9 A schematic diagram of a content search area provided in an embodiment of the present application;

[0036] Fig.10 A schematic diagram of another content search area provided in an embodiment of the present application;

[0037] Fig.11 A schematic diagram of another content search area provided in an embodiment of the present application;

[0038] Fig.12 A flowchart of a content search method provided in an embodiment of the present application;

[0039] Fig.13 A schematic diagram of an interactive process of content search and display provided in an embodiment of the present application;

[0040] Fig.14 A schematic diagram of the structure of a content search device provided in an embodiment of the present application;

[0041] Fig.15 A schematic diagram of the structure of another content search device provided in an embodiment of the present application;

[0042] Fig.16 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] The content search method proposed in the embodiment of the present application is implemented in an electronic device, which can be a server or a terminal. The server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, and big data and artificial intelligence platforms. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited to this.

[0044] Among them, a network architecture diagram proposed based on the content search method can be shown as follows Figure 1As shown, the network architecture may include a server 100 (with no limitation on the number of servers) and a service terminal cluster (with no limitation on the number of service terminals, such as service terminal 200a, service terminal 200b, ..., service terminal 200n), wherein communication connections may exist between servers. At the same time, a server may have a communication connection with any service terminal, so that the server may exchange data with the service terminal through the communication connection. The above-mentioned communication connection does not limit the connection method, and may be directly or indirectly connected through a wired communication method, directly or indirectly connected through a wireless communication method, or through other methods, which are not limited in the present application. In addition, it can be understood that the electronic device involved in the embodiments of the present application may be Figure 1 The business terminal shown can also be Figure 1 The server shown.

[0045] It should be understood that Figure 1 Each service terminal in the service terminal cluster shown may be installed with an application client for content search. The application client may be any type of client, such as a social client, an instant messaging client (e.g., a conference client), an entertainment client (e.g., a live broadcast client), a multimedia client (e.g., a video client), an information client (e.g., a news client), a shopping client, a multimedia client, etc., which has the function of displaying data information such as text, images, audio, and video. The specific type of the application client is not limited here.

[0046] For example, an application client refers to a client that can send and receive Internet messages instantly and has content search functions. Figure 1 The application client of the service terminal 200a shown in FIG. 1 performs a search operation for the recommended search word in the associated display area. The service terminal 200a can send the recommended search word to the server 100 through the application client, and the service server (such as FIG. 100a ) Figure 1 The server 100 shown in the figure performs a content search on the recommended search words and retrieves the search result content that matches the recommended search words. The service terminal 200a can display the search result content through the search result page.

[0047] Among them, the technical solution of this application proposes a content search system, the system includes: a business terminal (such as Figure 1 The service terminal 200a shown in FIG. Figure 1The server 100 shown in the figure) includes: a business terminal for displaying the associated display area associated with the target content when highlighting the target content on the content details page; a business terminal for generating and receiving a search term recommendation request in response to a selection operation on the target content on the content details page; a business server for determining a text segmentation entity in the target content and determining a recommended search term associated with the target content from the text segmentation entity; a business terminal for displaying the recommended search term associated with the target content in the associated display area; a business terminal for generating a content search request for the recommended search term in response to a search operation on the recommended search term in the associated display area; a business server for returning the search result content to be displayed in response to the content search request when the search result content corresponding to the recommended search term is obtained by searching; and a business terminal for displaying the search result content corresponding to the recommended search term. The specific processing logic in the content search system can be found in the relevant description of the following embodiments.

[0048] Optionally, the service terminal and service server may be based on logical division. Therefore, when the service terminal and service server are mentioned below, they may be the same device or different devices physically.

[0049] For further understanding, please refer to Figure 2 , Figure 2 A schematic diagram of a content search scenario provided in an embodiment of the present application. The content details page 20a displays the published content, such as multiple text paragraphs "First, XXX...XXX...ABC.", "Finally, XXX...XXX.", etc.; in addition, the avatar and name of the publishing account can also be displayed.

[0050] Among them, in response to the selection operation on the target content on the content details page, the target content (such as "First, XXX...XXX...ABC.") is highlighted on the content details page, and the associated display area 20b associated with the target content is displayed. At this time, the recommended search terms associated with the target content (such as "ABC", "XXX", "XXX", etc.) can be displayed in the associated display area. It can be understood that the recommended search terms refer to the text segmentation entities in the target content.

[0051] Optionally, in response to a search operation for a recommended search term (such as "ABC") on the associated display area, the search result content corresponding to the recommended search term (such as "ABC") may be displayed. For example, a search result page 20c for the recommended search term (such as "ABC") is displayed, and the search result content displayed on the search result page is the published content recalled by the content search for the recommended search term.

[0052] The technical solution of the present application can select the target content on the content details page, and directly initiate a content search on the content details page based on the recommended search terms determined by the target content, without having to perform the tedious steps of exiting the content details page and entering the search page, thereby reducing the tediousness of content searches for business objects and improving the search efficiency, search convenience and search experience of business objects.

[0053] Optionally, in some embodiments, the electronic device may execute the content search method to optimize the search process after browsing the content details page according to actual business needs. The technical solution of the present application can be applied to any search scenario. For example, the published content can be searched in the encyclopedia search platform, and the published content can be papers, articles, etc. retrieved in the encyclopedia search platform. Another example is that the published content can be searched in the social sharing platform, and the published content can be notes, essays, etc. published in the social sharing platform.

[0054] Optionally, the published content may be a combination of at least one or more of text, image, video, and audio, such as text-based published content (such as published content containing a title and text). It may also be other non-text multimedia-based published content (such as published content containing a title, video, audio, or image). The type of content is not limited here.

[0055] Optionally, the data involved in this application, such as published content, can be stored in a database, or can be stored in a blockchain, such as through a blockchain distributed system, which is not limited in this application.

[0056] It should be noted that in the specific implementation of the present application, when it comes to scenarios involving obtaining relevant data such as user information, such as obtaining information containing user information (such as recommended search terms, etc.) for user search, etc., it is necessary to obtain user permission or consent. That is, when the embodiments of the present application are applied to specific products or technologies, the collection, use and processing of relevant user data comply with relevant laws, regulations and standards in the relevant regions. For example, a prompt message can be issued in the form of an interactive page to prompt which data will be collected or obtained. Specifically, the type and content of these data can be prompted to the user through a list or other method. Only after receiving a confirmation operation or instruction allowing the collection of data on the interactive page, the collection and processing of relevant data will be further performed.

[0057] It is understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, it is known to those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0058] Based on the above description, the present application embodiment proposes a content search method, which can be executed by the electronic device mentioned above, and can be specifically Figure 1 See the business terminal shown. Figure 3 , Figure 3 A flowchart of a content search method provided in an embodiment of the present application. Figure 3 As shown, the process of the content search method in the embodiment of the present application may include the following:

[0059] S101 . In response to a selection operation on a target content on a content detail page, when the target content is highlighted on the content detail page, an associated display area associated with the target content is displayed.

[0060] The associated display area refers to the display area on the content details page that does not block the target content. It can be understood that the associated display area can be displayed in the form of a bubble, or in the form of a prompt box, or in the form of a floating window, etc., and the display method of the associated display area is not limited here.

[0061] Among them, the content details page can be used to display the published content, and the target content can be the text content selected in the published content.

[0062] For example, the selection operation for the target content on the content details page can be, in response to the selection operation for the target word in the published content on the content details page, when the target paragraph where the target word is located is highlighted on the content details page, the associated display area associated with the target paragraph is displayed; the target paragraph is the target content.

[0063] It can be understood that the user can perform a selection operation (such as a long press operation or a double-click operation, etc., which are not limited here) on a certain word segmentation (target word segmentation) on the content details page. At this time, the text paragraph (target paragraph) where the target word segmentation is located can be automatically selected. At this time, the text paragraph can be used as the target content selected in the published content, and the associated display area associated with the target paragraph can be displayed.

[0064] Optionally, in addition to automatically selecting the text paragraph, the text sentence can also be automatically selected, such as highlighting the target text sentence where the target word is located on the content details page. At this time, the target text sentence can be used as the target content selected in the published content, and the associated display area associated with the target text sentence can be displayed.

[0065] It can be understood that when the target segmentation is a title in the published content, the target paragraph is the title. Optionally, the user can also perform a target content selection operation on the feedback content in the published content. For example, the feedback content is a comment content in the published content. When a selection operation for the target segmentation is detected, the comment content where the target segmentation is located is used as the target paragraph.

[0066] Optionally, in response to a selection operation on a target word segment in the published content on the content details page, the target paragraph where the target word segment is located is highlighted on the content details page, and the recommended search terms determined by the target paragraph can be displayed in the associated display area associated with the target paragraph.

[0067] Among them, if the recommended search term associated with the target paragraph is not obtained within the target time, when the first content selector associated with the target paragraph is displayed on the content details page, the first associated display area associated with the selected content indicated by the first content selector is displayed; at least the selected content indicated by the first content selector is displayed on the first associated display area.

[0068] For example, when the recommended search terms determined by the target paragraph cannot be obtained within a certain period of time due to network anomalies or business server anomalies, the first content selector associated with the target paragraph can be directly displayed, and the first associated display area can be displayed. The first associated display area can display the selected content indicated by the first content selector, and the content identifier related to the selected content indicated by the first content selector can be used to perform content search on the selected content indicated by the first content selector by triggering the selected content or content identifier indicated by the first content selector.

[0069] For another example, if the text length of the target paragraph is greater than the length threshold, when the second content selector associated with the target paragraph is displayed on the content details page, the second associated display area associated with the selected content indicated by the second content selector is displayed; the selected content indicated by the second content selector is the target content. In other words, when the text of the automatically selected target paragraph is too long, the second content selector associated with the target paragraph can be displayed, the currently selected text content can be moved by the second content selector, and the second associated display area can be displayed, and the second associated display area can be used to display the recommended search terms determined by the selected content indicated by the second content selector.

[0070] For another example, the selection operation for the target content on the content details page may also be, in response to a selection operation on the target word in the published content on the content details page, highlighting the target word on the content details page, and displaying a content selector associated with the target word, and displaying an associated display area associated with the selected content indicated by the content selector; the selected content is the target content.

[0071] It is understood that the user can perform a selection operation (such as a long press operation or a double click operation, etc., which are not limited here) on a certain word segmentation (target word segmentation) on the content details page, and the target word segmentation can be selected at this time, and a content selector for moving the selected content is displayed. It is understood that the content selector includes a first transition content selector and a second transition content selector, and the content between the first transition content selector and the second transition content selector in the published content represents the selected content indicated by the content selector.

[0072] Optionally, when the content selector is displayed, the content between the first transition content selector and the second transition content selector may be the target word segmentation, that is, the selected content is the target word segmentation at this time, and the user may move the first transition content selector and the second transition content selector to further determine the selected content. Alternatively, the content between the first transition content selector and the second transition content selector may be the target paragraph (or target text sentence) where the target word segmentation is located, that is, the selected content is the target paragraph (or target text sentence) at this time, and the user may move the first transition content selector and the second transition content selector to further determine the selected content. At this time, the selected content may be used as the target content selected in the published content, and the associated display area associated with the selected content may be displayed.

[0073] Optionally, the user can also perform a target content selection operation on the feedback content in the published content. For example, the feedback content is the comment content in the published content. When a selection operation on the target word segment is detected, a content selector is displayed. At this time, it can be displayed that the selected content indicated by the content selector must belong to the comment content where the target word segment is located. That is, the movement range of the first transition content selector and the second transition content selector cannot exceed the comment content where the target word segment is located.

[0074] It can be understood that the target segmentation can be a segmentation in the text content of the published content (for example, in the title or text or feedback data of the published content, a selection operation is performed on a segmentation), or it can also be a segmentation in the non-text content of the published content (for example, the published content has a content image, such as a video frame or cover image, etc., and text is displayed on the content image, and a selection operation can be performed on a segmentation in the displayed text in the content image).

[0075] Optionally, when a recommended search term associated with the selected content indicated by the content selector is not obtained within the target time, a first content selector associated with the selected content indicated by the content selector can be displayed on the content details page, and a first associated display area associated with the selected content indicated by the first content selector can be displayed.

[0076] For another example, when the published content contains a content image (such as a video frame, a cover image, or an image in feedback data, etc.), the selection operation for the target content on the content details page can also be that in response to the selection operation on the content details page for the content image in the published content, when the content text in the content image is highlighted on the content details page, an associated display area associated with the content text is displayed; the content text is the target content.

[0077] The selection operation on the content image in the published content (such as the selection operation on the area other than the text displayed in the content image) can be a long press operation on the content image, or a double-click operation on the content image, etc. At this time, the text (content text) in the content image can be automatically selected and highlighted, and the content text is used as the target content, and the associated display area associated with the content text is displayed.

[0078] Optionally, when highlighting the content text in the content image, a content selector associated with the content text can also be displayed (such as when the text length of the content text is greater than a length threshold), and the user moves the first transition content selector and the second transition content selector in the content selector, so that the selected content can be determined in the content text through the content selector. At this time, the selected content indicated by the content selector is the target content, and the associated display area is associated with the selected content indicated by the content selector.

[0079] Optionally, when no recommended search term associated with the content text is obtained within the target time, a first content selector associated with the content text may be displayed on the content details page, and a first associated display area associated with the selected content indicated by the first content selector may be displayed.

[0080] That is to say, when the recommended search terms associated with the target content are displayed in the associated display area, if the recommended search terms associated with the target content are not obtained within the target time, then when the first content selector associated with the target content is displayed on the content details page, the first associated display area associated with the selected content indicated by the first content selector is displayed; at least the selected content indicated by the first content selector is displayed on the first associated display area.

[0081] When the associated display area is displayed in the form of a bubble, the bubble arrow of the associated display area can be a fixed position (such as the center position of the associated display area), or it can be the target text position indicated by the selection operation, or it can also be the operation position indicated by the selection operation.

[0082] The target text position indicated by the selection operation may be the text position corresponding to the target word segmentation for determining the target content. The operation position indicated by the selection operation may be the selected position when performing a selection operation on the content image (such as the position where a long press operation is performed). The position of the bubble arrow is not limited here.

[0083] For example, Figure 4-Figure 6 As shown, Figure 4-Figure 6 A schematic diagram of a content selection scenario provided in an embodiment of the present application; wherein, Figure 4 In the example, the content details page 40a displays the published content, such as multiple text paragraphs "First, XXX...XXX...ABC.", "Finally, XXX...XXX.", etc. By selecting the target segmentation word (such as "ABC"), the target paragraph (such as "First, XXX...XXX...ABC") where the target segmentation word (such as "ABC") is located is highlighted on the content details page. At this time, the associated display area 40b can be displayed, and the bubble arrow position of the associated display area points to the target segmentation word (such as "ABC").

[0084] Optionally, when the recommended search term associated with the target paragraph is not obtained within the target time, the first content selector associated with the target paragraph is displayed, and the first content selector includes a first transition content selector 41a and a second transition content selector 41b (at this time, the first content selector selects the target paragraph). The selected content (such as "ABC") indicated by the first content selector can be determined by moving the first transition content selector 41a and the second transition content selector 41b. At this time, the first associated display area 40c can be displayed, and the first associated display area can display the selected content (such as "ABC") indicated by the first content selector.

[0085] For example, in Figure 5In the example, the content details page 50a displays the published content, such as multiple text paragraphs "First, XXX...XXX...ABC.", "Finally, XXX...XXX.", etc. By selecting the target segmentation word (such as "ABC"), the target segmentation word (such as "ABC") is highlighted on the content details page, and the corresponding associated display area 50b (such as displaying the recommended search word "ABC" etc.) can be displayed. At this time, a content selector associated with the target word segmentation may be displayed, and the content selector includes a first transition content selector 51a and a second transition content selector 51b. At this time, the selected content indicated by the first transition content selector 51a and the second transition content selector 51b is the target word segmentation. The user may move the first transition content selector 51a and the second transition content selector 51b to determine the selected content indicated by the content selector (such as "XXX...ABC"). At this time, the displayed associated display area 50b is associated with the selected content indicated by the content selector, and the bubble arrow position of the associated display area 50b points to the target word segmentation (such as "ABC"). At this time, the associated display area 50b may display recommended search terms determined by the selected content (such as "XXX...ABC"), such as "ABC", "XXX", etc.

[0086] For example, in Figure 6 In the example, the content details page 60a displays a content image 61a in the published content. By selecting the content image, the content text 61b (such as "XXX...XXX...") in the content image is highlighted on the content details page. At this time, the associated display area 61c can be displayed, and the bubble arrow position of the associated display area 61c is a fixed position (such as the center position of the associated display area 61c, and the bubble arrow points to the content text). The associated display area 61c can display recommended search terms (such as "XXX", "XXX", etc.) determined by the content text 61b (such as "XXX...XXX...").

[0087] It can be understood that, in other words, the text on the content image can be recognized, and the recognized text can be highlighted as the content text. For example, the service terminal sends the content image to the service server, and the service server recognizes the text on the content image and determines the location area of ​​the recognized text on the content image. The service terminal can highlight the content text in the content image based on the recognized location area, such as highlighting the location area where the content text in the content image is located.

[0088] S102: Display recommended search terms associated with the target content in an associated display area.

[0089] Among them, the recommended search terms refer to the text segmentation entities in the target content.

[0090] It is understood that one or more recommended search terms determined by the target content may be displayed in the associated display area. It is understood that the recommended search terms come from the target content, so that the information that the user may want to search for can be automatically determined from the selected target content and recommended to the user, and the user can search for content based on the recommended search terms. The specific method of determining the recommended search terms can refer to the relevant description of the following embodiment.

[0091] S103: In response to a search operation for a recommended search term in the associated display area, display search result content corresponding to the recommended search term.

[0092] The search operation for the recommended search term may be a click operation, a long press operation, etc. on the recommended search term in the associated display area, which is not limited here.

[0093] It is understood that at this time, a search behavior for the recommended search term can be directly initiated on the content details page, and the business server performs a content search for the recommended search term to obtain the search result content corresponding to the recommended search term. It is understood that the business terminal can display the search result content through the search result page of the recommended search term.

[0094] Optionally, in response to a rollback operation on the search result content (ie, a page rollback operation on the search result page), a content details page may be displayed, and the target content may be positioned and displayed on the content details page.

[0095] That is to say, you can return to the content details page you browsed originally from the search results page, and you can position and display the selected target content. For example, when you enter the search results page, you can record the display content on the content details page, and when you return to the content details page, you can still display the recorded display content on the content details page. Alternatively, you can reposition and display the target content, such as displaying the target content in the center. Optionally, when positioning and displaying the target content, you can highlight the target content, such as highlighting it for 2 seconds.

[0096] For example, Figure 7 As shown, Figure 7 A schematic diagram of a content search scenario provided in an embodiment of the present application; wherein, for Figure 2In the content details page 20a, the recommended search terms (such as "ABC", "XXX", "XXX") determined from the target paragraph are displayed in the associated display area 20b. By performing a search operation on the recommended search term (such as "ABC") (such as clicking on the recommended search term "ABC"), the search result page 20c of the recommended search term (such as "ABC") is entered, and the search result content corresponding to the recommended search term can be displayed on the search result page 20c.

[0097] Optionally, a back control 70a may be displayed on the search results page. By triggering the back control 70a, a back operation on the search result content may be performed. At this time, the user may return to the content details page 20a and locate and display the target paragraph ("First, XXX...XXX...ABC.") on the content details page.

[0098] In an embodiment of the present application, the target content can be selected in the content details page to highlight the target content and display the associated display area associated with the target content. The associated display area is a display area that does not block the target content. At this time, the recommended search terms determined by the text segmentation entities in the target content can be displayed in the associated display area, so that the user can directly select the target content of interest on the content details page, and can view the recommended search terms that the user may want to search for determined from the target content. At this time, the content search for the recommended search terms can be implemented through the search operation for the recommended search terms, and the search result content corresponding to the recommended search terms can be obtained, so that the user can search for the content in the content details page after viewing the content details page. This can optimize the user's search process after browsing the details page, thereby improving search efficiency and convenience.

[0099] Based on the above description, the present application embodiment proposes a content search method, which can be executed by the electronic device mentioned above, and can be specifically Figure 1 See the business terminal shown. Figure 8 , Figure 8 A flowchart of a content search method provided in an embodiment of the present application. Figure 8 As shown, the process of the content search method in the embodiment of the present application may include the following:

[0100] S201, in response to a selection operation on a target content on a content detail page, when the target content is highlighted on the content detail page, an associated display area associated with the target content is displayed. The specific implementation of step S201 can refer to the relevant description of the above embodiment, which will not be repeated here.

[0101] S202: When displaying the recommended search terms associated with the target content in the associated display area, the search entry associated with the content search box is displayed in the associated display area.

[0102] When displaying the recommended search terms in the associated display area, the search entry associated with the content search box may also be displayed. The recommended search terms refer to the text segmentation entities in the target content. For example, the service terminal may send the target content to the service server, and the service server may determine the recommended search terms from the target content. Alternatively, when the target content is text content on a content image, the content image may be sent to the service server, and the service server may determine the recommended search terms from the target content when determining the target content from the content image.

[0103] It is understood that the search entry can be displayed in any of the above-mentioned associated display areas. It is understood that after browsing the content details page, the user can search based on the content that has appeared in the content details page (i.e., search through recommended search terms), or search based on the related content of the content that has appeared in the content details page (i.e., the search entry is used to trigger the display of the content search box, and the user can enter the related content through the content search box to search), which enriches the user's search methods and improves the user's search flexibility.

[0104] Optionally, the associated display area can be adaptively adjusted according to the page size of the content details page and the number of recommended search terms, the area length of the associated display area does not exceed the page length of the content details page, and the area height of the associated display area can be determined according to the number of recommended search terms.

[0105] It can be understood that in the case where no recommended search terms associated with the target content are obtained within the target time, the associated display area can display a fallback style, that is, only display the search entry.

[0106] S203: In response to a trigger operation on the search entry, a content search area including a content search box is displayed on the content details page.

[0107] Among them, by triggering the search portal, a content search area can be displayed, and the content search area includes a content search box. The user can enter information in the content search box to search.

[0108] Optionally, the content search area can also be displayed in a manner that, in response to a trigger operation on a recommended search term, a content search area including a content search box is displayed on the content details page. For example, a double-click operation or a long-press operation on the recommended search term can be performed. In this way, the recommended search term can be automatically entered in the content search area, and the user can edit and process the entered recommended search term through the content search box to obtain the information that the user ultimately wants to search for.

[0109] Optionally, the content search area may also include a recommended search area, which can be used to display recommended search terms. In this way, in response to a trigger operation (such as a long press operation, a sliding operation, etc.) on the recommended search term on the recommended search area, the recommended search term can be entered in the content search box on the content search area.

[0110] Optionally, a search for a recommended search term may also be performed in the content search area. For example, when a recommended search term is displayed in the recommended search area of ​​the content search area, in response to a search operation (such as a click operation) for the recommended search term in the recommended search area, the search result content corresponding to the recommended search term is displayed. Alternatively, when a recommended search term is entered in the content search box, in response to a search operation (such as a trigger operation for a search control associated with the content search box) for the entered recommended search term, the search result content corresponding to the recommended search term is displayed.

[0111] Optionally, the user can also enter information in the content search box to implement a search. For example, in response to an information entry operation on the content search box, an entered search term corresponding to the information entry operation is displayed in the content search box; in response to a search operation on the entered search term (such as a trigger operation on a search control associated with the content search box), the search result content corresponding to the entered search term is displayed.

[0112] Optionally, when displaying the input search term corresponding to the information input operation, an association area of ​​the input search term may be displayed in the content search area (the content search area in which the association area is displayed may be referred to as a reference content search area at this time), and the association area is used to display the association search term (i.e., the related search term obtained by associating the input search term). At this time, in response to a search operation (such as a click operation) for the association search term, the search result content corresponding to the association search term may be displayed. The display position of the association area is not limited, and may be above the content search box (i.e., blocking the recommended search area) or above the recommended search area (i.e., not blocking the recommended search area).

[0113] Optionally, the user can input information by entering text. It can also be done by uploading voice, images, etc. For example, recognizing text from uploaded voice as input search terms. Another example is recognizing text from an image as input search terms. This is not limited here.

[0114] Optionally, the content search area may be an area that does not block the target content. For example, when the content search area (excluding the content search area of ​​the association area) is displayed on the content details page, if the content search area blocks the target content or the distance between the content search area and the target content is less than a distance threshold, the display position of the target content on the content details page is moved based on the distance threshold; the distance between the target content and the content search area after the move is at least equal to the distance threshold.

[0115] For example, if the content search area blocks the target content, the display position of the target content on the content details page is moved; after the move, the target content is above the content search area and will not be blocked by the content search area.

[0116] For another example, if the distance between the content search area and the target content is less than a distance threshold, the display position of the target content on the content details page is moved based on the distance threshold; the distance between the target content and the content search area after the move is at least equal to the distance threshold.

[0117] It can be understood that the target content is moved above the content search area (such as moving the area where the target content is located above the content search area), and the distance between the bottom of the display position of the target content and the top of the content search area can be greater than or equal to the distance threshold.

[0118] In other words, if the position of the bottom of the content search area on the content details page is the reference position (for example, the bottom of the content search area coincides with the bottom of the content details page, and the reference position is the bottom of the content details page), then when the distance between the target content and the reference position is less than a specified distance, the display position of the target content on the content details page can be moved; the distance between the moved target content and the reference position is at least equal to the specified distance. The specified distance is determined based on the area height of the content search area and the distance threshold.

[0119] Among them, the distance threshold can be configured by business personnel, and can also be determined according to the area size of the content search area after the associative area with the entered search word is displayed (such as a certain distance equal to or greater than the height difference between the area height of the content search area after the associative area without the entered search word is displayed and the area height of the content search area after the associative area with the entered search word is displayed). For example, the moved target content will not be obscured by the associative area when the associative area with the entered search word is displayed. Optionally, it can be understood that when the target content moves, it may need to be fully displayed on the content details page. If the top of the display position of the target content exceeds the display area of ​​the content details page, the movement is stopped.

[0120] For example, Figure 9-11 As shown, Figure 9-11A schematic diagram of a content search area provided in an embodiment of the present application; wherein Fig. 9 In, for Figure 2 In addition to displaying recommended search terms, the associated display area 20b shown in the example can also display a search entry 90a. By triggering the search entry 90a, a content search area 91b (the content search box is associated with a search control) containing a content search box 91a (such as displaying "Search more") can be displayed, and information can be entered through the content search box for searching.

[0121] Alternatively, by triggering a recommended search term (such as "ABC"), a content search area 91b (the content search box is associated with a search control) including a content search box 91a is displayed, and the triggered recommended search term (such as "ABC") can be automatically entered into the content search box.

[0122] In addition, the content search area may further include a recommended search area, which may be used to display recommended search terms.

[0123] For example, in Fig.10 In the example, the entered information (such as the entered search term "XYZ") can be displayed in the content search box 91a, and by triggering the search control, a search operation for the entered search term is performed, and the search result content corresponding to the entered search term is displayed.

[0124] Optionally, when the input search term is displayed, an associative area 101a is displayed, and the associative search term (such as "XYZZ", "XYZL", etc.) for the input search term is displayed in the associative area 101a. By triggering the associative search term (such as "XYZZ"), a search operation for the associative search term "XYZZ" is performed, and the search result content corresponding to the associative search term "XYZZ" is displayed. Optionally, the display position of the associative area 101a is not limited, and it can also be above the content search box 91a (i.e., blocking the recommended search area), or before the recommended search area (i.e., not blocking the recommended search area).

[0125] Optionally, in the recommended search area, by triggering a recommended search term (such as "ABC"), a search operation for the recommended search term is performed, and the search result content corresponding to the recommended search term is displayed.

[0126] It can be understood that when a rollback operation is performed on any of the above search result contents, the content details page can be rolled back and displayed, and the target content is positioned and displayed on the content details page.

[0127] For example, in Fig.11If the target content on the content details page 20a is obstructed when the content search area 91b is displayed, or the distance between the target content on the content details page and the content search area is less than the distance threshold (for example, this means that the target content will be obstructed when the association area 101a is displayed), then the display position of the target content on the content details page can be moved so that the target content is above the content search area, and the distance between the target content after the move and the content search area is at least equal to the distance threshold.

[0128] It can be understood that this ensures that the target content after the move will not be blocked by the content search area, and further ensures that the target content after the move will not be blocked by the associative area associated with the content search area.

[0129] Optionally, when the content search area is closed, the display position of the target content (ie, the target content after being moved) may remain unchanged, or may be changed to the display position of the target content before being moved.

[0130] In an embodiment of the present application, the target content can be selected in the content details page to highlight the target content and display the associated display area associated with the target content. The associated display area is a display area that does not block the target content. At this time, the recommended search terms determined by the text segmentation entities in the target content can be displayed in the associated display area, so that the user can directly select the target content of interest on the content details page, and can view the recommended search terms that the user may want to search for determined from the target content. In addition, the search portal can also be displayed. The search portal or recommended search terms can be triggered to display a content search area for content search, so that the user can directly enter the search content and initiate a search on the content details page. This can optimize the user's search process after browsing the details page, thereby improving search efficiency and convenience.

[0131] Based on the above description, the present application embodiment proposes a content search method, which can be executed by the electronic device mentioned above, and can be specifically Figure 1 The server shown is the business server. Fig.12 , Fig.12 A flowchart of a content search method provided in an embodiment of the present application. Fig.12 As shown, the process of the content search method in the embodiment of the present application may include the following:

[0132] S301: Receive a search term recommendation request.

[0133] The search term recommendation request is generated by selecting the target content on the content details page. The search term recommendation request may carry the target content, or may carry the content image where the target content is located, and the service server identifies the content text from the content image as the target content.

[0134] Optionally, when the target content is determined by selecting a target word, the search term recommendation request may carry the target word (or the text position of the target word in the target content), which may be used to represent the target text position indicated by the selection operation.

[0135] S302: Determine text segmentation entities in the target content, and determine recommended search terms associated with the target content from the text segmentation entities.

[0136] Among them, one or more text segmentation entities can be extracted from the target content, such as by using entity extraction technology (such as Name Entity Recognition (NER) model) to extract from the target content, and a text segmentation entity is composed of one or more text segmentations in the target content. For example, the text segmentation entity can be "parking lot" (composed of the text segmentation "parking lot"), or "functional down jacket" (composed of the text segmentation "functional" and the text segmentation "down jacket").

[0137] It can be understood that the NER model can be pre-trained so that the trained NER model can extract text segmentation entities with specified entity annotation attributes, such as extracting text segmentation entities with brand attributes, extracting text segmentation entities with audio-visual and literary work attributes, and so on.

[0138] For example, an entity attribute set associated with the recommended search term can be constructed, which includes one or more entity attributes that a user may search for, and the entity attributes in the entity attribute set are used to pre-train a NER model (such as an existing open source NER model, etc.), so that the trained NER model can not only recognize text segmentation entities of some existing conventional entity annotation attributes (such as modal particle attributes, time word attributes, etc.), but also recognize text segmentation entities of specific entity annotation attributes based on the entity attribute set.

[0139] Determining the recommended search terms associated with the target content from the text segmentation entity may include, based on the entity screening parameters of the text segmentation entity, screening the target text segmentation entity whose entity screening parameters meet the preset parameter conditions from the text segmentation entity, and determining the recommended search terms based on the target text segmentation entity. For example, the target text segmentation entity may be used as the recommended search term.

[0140] Among them, the entity screening parameters include at least one of the following: entity annotation attributes of the text segmentation entity, the distance between the text position of the text segmentation entity and the target text position indicated by the selection operation, the text length of the text segmentation entity, and the number of searches for the text segmentation entity.

[0141] Among them, the entity annotation attribute is used to characterize the attribute of the text segmentation entity, which is obtained when the text segmentation entity is extracted from the target content.

[0142] The text position of the text segmentation entity is the text position of the text segmentation entity in the target content, for example, the position of the middle character (or first character) of the text segmentation entity in the target content can be used as the text position of the text segmentation entity. The target text position indicated by the selection operation can refer to the position of the middle character (or first character) of the target segmentation corresponding to the selection operation in the target content. The method for determining the text position is not limited here.

[0143] The text length of the text segmentation entity represents the number of characters in the text segmentation entity.

[0144] The number of searches for a text segmentation entity may refer to the number of searches for the text segmentation entity. For example, the number of search terms of users within a period of time is counted, and the number of search terms containing the text segmentation entity (or the number of search terms with a similarity greater than a similarity threshold to the text segmentation entity) is taken as the number of searches for the text segmentation entity.

[0145] When the entity screening parameter includes an entity annotation attribute of a text segmentation entity, the preset parameter condition may be used to indicate that the entity annotation attribute of the text segmentation entity is a preset entity attribute.

[0146] Among them, when the entity screening parameters include the distance between the text position of the text segmentation entity and the target text position indicated by the selection operation, the preset parameter condition can be used to indicate the text segmentation entities whose distance is less than the preset distance, or the text segmentation entities belonging to a preset number with the smallest distance.

[0147] When the entity screening parameter includes the text length of the text segmentation entity, the preset parameter condition is used to indicate that the text length of the text segmentation entity is less than the preset length.

[0148] When the entity screening parameter includes the number of searches for a text segmentation entity, the preset parameter condition is used to indicate a text segmentation entity whose search times reach a preset number.

[0149] For example, the entity screening parameters include the entity annotation attribute of the text segmentation entity and the distance between the text position of the text segmentation entity and the target text position indicated by the selection operation. If the entity annotation attribute of the text segmentation entity is a preset entity attribute, and the distance between the text position of the text segmentation entity and the target text position indicated by the selection operation is less than the preset distance, it is determined that the text segmentation entity meets the preset parameter conditions.

[0150] For another example, the entity screening parameters include the entity annotation attribute of the text segmentation entity, the text length of the text segmentation entity, and the number of searches of the text segmentation entity. If the entity annotation attribute of the text segmentation entity is a preset entity attribute, the text length of the text segmentation entity is less than the preset length, and the number of searches of the text segmentation entity reaches a preset number, then it is determined that the text segmentation entity meets the preset parameter conditions.

[0151] S303: In response to the search term recommendation request, return a recommended search term.

[0152] Among them, the determined recommended search terms can be returned to the business terminal so that the recommended search terms can be displayed through the associated display area on the content details page on the business terminal; the associated display area refers to the display area on the content details page that does not block the target content.

[0153] Among them, the recommended search terms can be returned to the service terminal for display in sequence according to their text positions in the target content.

[0154] Optionally, when the search term recommendation request carries a target text position (such as a target participle) indicated by a selection operation, the recommended search term where the target participle is located can be regarded as the information that the user most wants to search for, and the recommended search term can be returned to the service terminal based on the distance between the text position of the recommended search term and the target text position indicated by the selection operation.

[0155] For example, returning recommended search terms may be by sorting the recommended search terms according to the distance between the text position of the recommended search terms and the target text position indicated by the selection operation (i.e., the distance between the text position of the recommended search terms in the target content and the text position of the target word in the target content) (e.g., sorting in ascending order of distance) to obtain sorted recommended search terms; and returning the sorted recommended search terms in response to a search term recommendation request so that the sorted recommended search terms are displayed through the associated display area on the content details page.

[0156] Among them, it can be understood that when the recommended search terms include the recommended search terms where the target participle is located (that is, the recommended search terms associated with the target text position indicated by the selection operation), the first recommended search term in the sorted recommended search terms is the recommended search term where the target participle is located, which can be regarded as the distance between the text position of the recommended search term where the target participle is located and the target text position indicated by the selection operation is 0.

[0157] That is, the display order of each recommended search term can be determined according to the distance between each recommended search term and the information that the user wants to search for most. For example, the closer the distance, the higher the display order; the farther the distance, the lower the display order.

[0158] Optionally, if there is a limit on the number of recommended search terms displayed, such as the number of recommended search terms needs to be less than or equal to a preset number, then when the number of recommended search terms is greater than the preset number, only the preset number of recommended search terms may be returned in sequence.

[0159] Optionally, when the length of the target content is less than a preset length, the target content can be directly used as a recommended search term. For example, when the word length of the target content is less than 5, the target content can be directly used as a recommended search term. At this time, the target content as a recommended search term can be used as the last recommended search term displayed.

[0160] S304: Receive a content search request.

[0161] The content search request is generated by a search operation on a recommended search term, such as a search operation on a recommended search term in an associated display area, or a search operation on a recommended search term in a content search area, and so on.

[0162] S305: When the search result content corresponding to the recommended search term is obtained through searching, the search result content to be displayed is returned in response to the content search request.

[0163] The service server may perform a content search on the recommended search term to obtain search result content corresponding to the recommended search term. The service terminal may display the search result content corresponding to the recommended search term on a search result page.

[0164] For example, Fig.13 As shown, Fig.13A schematic diagram of an interactive process of content search and display provided for an embodiment of the present application; wherein, S11, the business terminal generates a search term recommendation request in response to a selection operation on a target content on a content details page, and sends the search term recommendation request to a business server; S12, the business server determines a text segmentation entity in the target content, and determines a recommended search term associated with the target content from the text segmentation entity; S13, the business server responds to the search term recommendation request and returns the recommended search term to the business terminal; S14, the business terminal displays the recommended search term associated with the target content and the search entry associated with the content search box in an associated display area; S15, the business terminal generates a content search request in response to a search operation on the recommended search term in the associated display area, and sends the content search request to the business server; S16, the business server performs a content search on the recommended search term, and obtains search result content corresponding to the recommended search term; S17, the business server responds to the content The business terminal receives a content search request and returns the search result content to the business terminal; S18, the business terminal displays the search result content corresponding to the recommended search term; or, S19, the business terminal responds to the trigger operation on the search entry and displays a content search area including a content search box on the content details page; S110, the business terminal responds to the information entry operation on the content search box and displays the entered search term corresponding to the information entry operation in the content search box; S111, the business terminal responds to the search operation on the entered search term and generates a content search request for the entered search term, and sends the content search request for the entered search term to the business server; S112, the business server performs a content search on the entered search term and obtains the search result content corresponding to the entered search term; S113, the business server responds to the content search request on the entered search term and returns the search result content corresponding to the entered search term to the business terminal; S114, the business terminal displays the search result content corresponding to the entered search term.

[0165] In an embodiment of the present application, the user can directly select the target content of interest on the content details page, and can view the recommended search terms that the user may want to search for, which are determined from the target content. At this time, the content search for the recommended search terms can be implemented through a search operation on the recommended search terms, and the search result content corresponding to the recommended search terms can be obtained, so that the user can search for the content in the content details page after viewing the content details page. This can optimize the user's search process after browsing the details page, thereby improving search efficiency and convenience.

[0166] See also Fig.14 , Fig.14 This is a schematic diagram of the structure of a content search device provided in an embodiment of the present application. It should be noted that: Fig.14 The content search device shown is used to execute the present application Figure 3, Figure 8 and Fig.12 For the convenience of explanation, only the part related to the embodiment of the present application is shown, and the specific technical details are not disclosed. Figure 3 , Figure 8 and Fig.12 The content search device 900 may include: a region display module 901, a search term processing module 902. Among them:

[0167] The area display module 901 is used to display the associated display area associated with the target content when the target content is highlighted on the content details page in response to the selection operation on the target content on the content details page; the associated display area refers to the display area on the content details page that does not block the target content;

[0168] A search term processing module 902 is used to display recommended search terms associated with the target content in the associated display area; the recommended search terms refer to text segmentation entities in the target content;

[0169] The search term processing module 902 is further configured to display search result content corresponding to the recommended search term in response to a search operation for the recommended search term in the associated display area.

[0170] The area display module 901 is used to respond to the selection operation of the target content on the content details page, highlight the target content on the content details page, and display the associated display area associated with the target content, specifically for:

[0171] In response to a selection operation on a target word segment in the published content on a content detail page, when a target paragraph where the target word segment is located is highlighted on the content detail page, an associated display area associated with the target paragraph is displayed; the target paragraph is the target content; or,

[0172] In response to a selection operation on a target word in the published content on a content detail page, the target word is highlighted on the content detail page, and when a content selector associated with the target word is displayed, an associated display area associated with the selected content indicated by the content selector is displayed; the selected content is the target content; or,

[0173] In response to a selection operation on a content image in published content on a content detail page, when content text in the content image is highlighted on the content detail page, an associated display area associated with the content text is displayed; the content text is the target content.

[0174] Among them, the area display module 901 is used to respond to the selection operation of the target segmentation in the published content on the content details page, highlight the target paragraph where the target segmentation is located on the content details page, and display the associated display area associated with the target paragraph, specifically for:

[0175] In response to a selection operation on a target segmentation word in the published content on the content details page, highlighting a target paragraph where the target segmentation word is located on the content details page;

[0176] If the recommended search terms associated with the target paragraph are not obtained within the target time, when the first content selector associated with the target paragraph is displayed on the content details page, the first associated display area associated with the selected content indicated by the first content selector is displayed; at least the selected content indicated by the first content selector is displayed on the first associated display area; or,

[0177] If the text length of the target paragraph is greater than the length threshold, when the second content selector associated with the target paragraph is displayed on the content details page, a second associated display area associated with the selected content indicated by the second content selector is displayed; the selected content indicated by the second content selector is the target content.

[0178] The area display module 901 is also used for:

[0179] In response to a rollback operation on the search result content, displaying a content details page;

[0180] Position and display the target content on the content details page.

[0181] The area display module 901 is also used for:

[0182] Displaying the search entry associated with the content search box in the associated display area, and in response to a trigger operation on the search entry, displaying a content search area including the content search box on the content details page; or,

[0183] In response to a trigger operation for a recommended search term, when a content search area including a content search box is displayed on a content detail page, the triggered recommended search term is entered in the content search box.

[0184] The area display module 901 is also used for:

[0185] In response to an information entry operation on a content search box, an input search term corresponding to the information entry operation is displayed in the content search box; in response to a search operation on the input search term, search result content corresponding to the input search term is displayed; or,

[0186] When a recommended search word is displayed in the recommended search area of ​​the content search area, in response to a search operation for the recommended search word in the recommended search area, search result content corresponding to the recommended search word is displayed.

[0187] Wherein, when the area display module 901 is used to display the content search area on the content details page, it is specifically used to:

[0188] When displaying the content search area on the content details page, if the content search area blocks the target content or the distance between the content search area and the target content is less than a distance threshold, the display position of the target content on the content details page is moved based on the distance threshold; the distance between the target content and the content search area after the move is at least equal to the distance threshold.

[0189] The specific implementation of the information display module and the event display module can be found in the description of the above embodiments, and will not be described in detail here. It should be understood that the description of the beneficial effects obtained by adopting the same method will not be described in detail either.

[0190] See also Fig.15 , Fig.15 This is a schematic diagram of the structure of a content search device provided in an embodiment of the present application. It should be noted that: Fig.15 The content search device shown is used to execute the present application Figure 3 , Figure 8 and Fig.12 For the convenience of explanation, only the part related to the embodiment of the present application is shown, and the specific technical details are not disclosed. Figure 3 , Figure 8 and Fig.12 The content search device 1000 may include: a request receiving module 1001, a search term determining module 1002, and a content returning module 1003. Among them:

[0191] The request receiving module 1001 is used to receive a search word recommendation request; the search word recommendation request is generated by a selection operation on a target content on a content detail page;

[0192] A search term determination module 1002 is used to determine text segmentation entities in the target content, and determine recommended search terms associated with the target content from the text segmentation entities;

[0193] The search term determination module 1002 is further configured to return a recommended search term in response to the search term recommendation request, so as to display the recommended search term in an associated display area on the content detail page; the associated display area refers to a display area on the content detail page that does not block the target content;

[0194] The request receiving module 1001 is used to receive a content search request; the content search request is generated by a search operation for a recommended search term;

[0195] The content returning module 1003 is used to return the search result content to be displayed in response to the content search request when the search result content corresponding to the recommended search term is obtained through searching.

[0196] The search term determination module 1002 is used to determine the recommended search terms associated with the target content from the text segmentation entity, specifically to:

[0197] Based on the entity screening parameters of the text segmentation entities, target text segmentation entities whose entity screening parameters meet the preset parameter conditions are screened out from the text segmentation entities;

[0198] Determine recommended search terms based on target text segmentation entities;

[0199] Among them, the entity screening parameters include at least one of the following: entity annotation attributes of the text segmentation entity, the distance between the text position of the text segmentation entity and the target text position indicated by the selection operation, the text length of the text segmentation entity, and the number of searches for the text segmentation entity.

[0200] The search term determination module 1002, when used to respond to the search term recommendation request and return the recommended search term, is specifically used to:

[0201] sorting the recommended search terms according to the distance between the text position of the recommended search terms and the target text position indicated by the selection operation to obtain sorted recommended search terms;

[0202] In response to the search term recommendation request, the ranked recommended search terms are returned, so that the ranked recommended search terms are displayed through the associated display area on the content detail page.

[0203] The specific implementation of the request receiving module, the search term determining module, and the content returning module can be found in the description of the above embodiment, and will not be described in detail here. It should be understood that the description of the beneficial effects obtained by adopting the same method will not be described in detail either.

[0204] See also Fig.16 , Fig.16 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.16As shown, the electronic device 1100 includes: at least one processor 1101 and a memory 1102. Optionally, the electronic device may further include a network interface. Among them, the processor 1101, the memory 1102 and the network interface can exchange data, the network interface is controlled by the processor 1101 for sending and receiving messages, the memory 1102 is used to store computer programs, the computer programs include program instructions, and the processor 1101 is used to execute the program instructions stored in the memory 1102. Among them, the processor 1101 is configured to call the program instructions to execute the above method. The memory 1102 may include a volatile memory (volatile memory), such as a random-access memory (random-access memory, RAM); the memory 1102 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (solid-state drive, SSD), etc.; the memory 1102 may also include a combination of the above-mentioned types of memory.

[0205] The processor 1101 may be a central processing unit (CPU). In one embodiment, the processor 1101 may also be a graphics processing unit (GPU). The processor 1101 may also be a combination of a CPU and a GPU. The processor 1101 may be used to call the device control application stored in the memory 1102 to execute the above Figure 3 , Figure 8 and Fig.12 The description of the content search method in the corresponding embodiment can also be performed as described above. Fig.14 and Fig.15 The description of the content search device in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here either.

[0206] In a specific implementation, the device, processor, memory, etc. described in the embodiments of the present application can execute the implementation described in the above method embodiments, and can also execute the implementation described in the embodiments of the present application, which will not be repeated here.

[0207] A computer (readable) storage medium is also provided in the embodiment of the present application, and the computer storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by the processor, the processor can execute some or all of the steps performed in the above method embodiment. Optionally, the computer storage medium can be volatile or non-volatile. The computer readable storage medium can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc.; the data storage area can store data created according to the use of the blockchain node, etc.

[0208] An embodiment of the present application provides a computer program product, which may include a computer program. When the computer program is executed by a processor, it can implement some or all of the steps in the above method, which are not described in detail here.

[0209] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0210] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the computer program can be stored in a computer storage medium, which can be a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0211] The above disclosure is only part of the embodiments of the present application, which certainly cannot be used to limit the scope of rights of the present application. Ordinary technicians in this field can understand that all or part of the processes of implementing the above embodiments and equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A content search method, characterized in that: The method comprises: In response to a selection operation on a target content on a content details page, when the target content is highlighted on the content details page, an associated display area associated with the target content is displayed; the associated display area refers to a display area on the content details page that does not block the target content; Displaying a recommended search term associated with the target content in the associated display area; the recommended search term refers to a text segmentation entity in the target content; In response to a search operation for the recommended search term in the associated display area, search result content corresponding to the recommended search term is displayed.

2. The method according to claim 1, characterized in that In response to a selection operation on a target content on a content detail page, when the target content is highlighted on the content detail page, displaying an associated display area associated with the target content includes: In response to a selection operation on a target segmentation word in the published content on the content details page, when a target paragraph where the target segmentation word is located is highlighted on the content details page, an associated display area associated with the target paragraph is displayed; the target paragraph is the target content; or, In response to a selection operation on a target word in the published content on the content details page, the target word is highlighted on the content details page, and when a content selector associated with the target word is displayed, an associated display area associated with the selected content indicated by the content selector is displayed; the selected content is the target content; or, In response to a selection operation on a content image in the published content on the content details page, when a content text in the content image is highlighted on the content details page, an associated display area associated with the content text is displayed; the content text is the target content.

3. The method according to claim 2, characterized in that In response to a selection operation on the content details page for a target segmentation in the published content, when highlighting a target paragraph where the target segmentation is located on the content details page, displaying an associated display area associated with the target paragraph includes: In response to a selection operation on the content details page for a target segmentation word in the published content, highlighting a target paragraph where the target segmentation word is located on the content details page; If the recommended search term associated with the target paragraph is not obtained within the target time, when the first content selector associated with the target paragraph is displayed on the content details page, a first associated display area associated with the selected content indicated by the first content selector is displayed; the first associated display area at least displays the selected content indicated by the first content selector; or, If the text length of the target paragraph is greater than the length threshold, when the second content selector associated with the target paragraph is displayed on the content details page, a second associated display area associated with the selected content indicated by the second content selector is displayed; the selected content indicated by the second content selector is the target content.

4. The method according to claim 1, characterized in that: The method further comprises: In response to a rollback operation on the search result content, displaying the content details page; The target content is positioned and displayed on the content details page.

5. The method according to claim 1, characterized in that The method further comprises: Displaying a search entry associated with the content search box in the associated display area, and in response to a trigger operation on the search entry, displaying a content search area including the content search box on the content details page; or, In response to a triggering operation on the recommended search term, when a content search area including the content search box is displayed on the content detail page, the triggered recommended search term is entered in the content search box.

6. The method according to claim 5, characterized in that The method further comprises: In response to an information entry operation for the content search box, displaying an entry search term corresponding to the information entry operation in the content search box, and in response to a search operation for the entry search term, displaying search result content corresponding to the entry search term; or, When the recommended search term is displayed in the recommended search area of ​​the content search area, in response to a search operation for the recommended search term in the recommended search area, search result content corresponding to the recommended search term is displayed.

7. The method according to claim 5, characterized in that The displaying of the content search area on the content details page includes: When a content search area is displayed on the content details page, if the content search area obscures the target content or the distance between the content search area and the target content is less than a distance threshold, the display position of the target content on the content details page is moved based on the distance threshold; the distance between the target content and the content search area after the move is at least equal to the distance threshold.

8. A content search method, characterized in that: The method comprises: receiving a search term recommendation request; the search term recommendation request is generated by a selection operation on a target content on a content detail page; Determining text segmentation entities in the target content, and determining recommended search terms associated with the target content from the text segmentation entities; In response to the search term recommendation request, the recommended search term is returned, so as to display the recommended search term through an associated display area on the content detail page; the associated display area refers to a display area on the content detail page that does not block the target content; receiving a content search request; the content search request is generated by a search operation for the recommended search term; When the search result content corresponding to the recommended search term is obtained through searching, the search result content to be displayed is returned in response to the content search request.

9. The method according to claim 8, characterized in that The step of determining a recommended search term associated with the target content from the text segmentation entity includes: Based on the entity screening parameters of the text segmentation entities, target text segmentation entities whose entity screening parameters meet preset parameter conditions are screened out from the text segmentation entities; Determine the recommended search term based on the target text segmentation entity; Among them, the entity screening parameters include at least one of the following: entity annotation attributes of the text segmentation entity, the distance between the text position of the text segmentation entity and the target text position indicated by the selection operation, the text length of the text segmentation entity, and the number of searches for the text segmentation entity.

10. The method according to claim 8, characterized in that The step of returning the recommended search term in response to the search term recommendation request includes: sorting the recommended search terms according to the distance between the text position of the recommended search terms and the target text position indicated by the selection operation to obtain sorted recommended search terms; In response to the search term recommendation request, the ranked recommended search terms are returned so as to be displayed in an associated display area on the content detail page.

11. A content search device, characterized in that: The device comprises: an area display module, configured to, in response to a selection operation on a target content on a content detail page, display an associated display area associated with the target content when the target content is highlighted on the content detail page; the associated display area refers to a display area on the content detail page that does not block the target content; A search term processing module, configured to display recommended search terms associated with the target content in the associated display area; the recommended search terms refer to text segmentation entities in the target content; The search term processing module is further configured to display search result content corresponding to the recommended search term in response to a search operation for the recommended search term in the associated display area.

12. A content search device, characterized in that: The device comprises: A request receiving module, used to receive a search term recommendation request; the search term recommendation request is generated by a selection operation on a target content on a content detail page; A search term determination module, used to determine text segmentation entities in the target content, and determine recommended search terms associated with the target content from the text segmentation entities; The search term determination module is further configured to return the recommended search term in response to the search term recommendation request, so as to display the recommended search term through an associated display area on the content details page; the associated display area refers to a display area on the content details page that does not block the target content; The request receiving module is used to receive a content search request; the content search request is generated by a search operation for the recommended search term; The content returning module is used to return the search result content to be displayed in response to the content search request when the search result content corresponding to the recommended search term is obtained through searching.

13. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1 to 10.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 10.

15. A computer program product, characterized in that The method comprises a computer program, wherein the computer program comprises program instructions, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 10 is implemented.

Citation Information

Patent Citations

  • Search processing method and device applied to chat application, terminal and storage medium

    CN112084305A

  • Search recommendation method, device, electronic equipment and computer readable storage medium

    CN113779408A

  • Sidebar search pane

    CN115698987A

Cited By

  • Searching method and device, computer equipment, readable storage medium and program product

    CN120296255A