Content search method and device, computer device, storage medium and product

By generating search results pages containing target content and published content within social applications, and combining interactive and Q&A functions, the problem of insufficient interactivity in traditional social applications is solved, enhancing users' interactive experience and emotional connection during holiday scenarios.

CN122153173APending Publication Date: 2026-06-05SWEET POTATO TECHNOLOGY (SHANGHAI) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SWEET POTATO TECHNOLOGY (SHANGHAI) CO LTD
Filing Date
2026-02-09
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Traditional social networking applications lack interactivity in their content search methods, especially during holidays, resulting in low user activity and stickiness.

Method used

A content search method is provided, which generates a search results page by obtaining the target content and published content corresponding to the search content. The results page includes a first results area and a second results area. The first area displays the target content and the second area displays related published content. It also supports triggering interactive functions and question-and-answer functions, and generates the target content using a preset database or content generation model.

Benefits of technology

It enhances the interactivity and fun of content search, meets users' specific search needs, and strengthens user activity and the platform's emotional value during holiday scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122153173A_ABST
    Figure CN122153173A_ABST
Patent Text Reader

Abstract

The application relates to a content search method and device, computer equipment, a storage medium and a product. The method comprises the following steps: obtaining a first search result corresponding to search content; the first search result is obtained in response to a search request comprising the search content, and comprises target content generated for the search content and published content related to the search content; the target content is generated based on a search intention determined based on the search content and logic corresponding to the search intention; based on the first search result, a search result page is displayed; wherein the search result page comprises a first result area and a second result area, the first result area displays the target content generated for the search content, and the second result area displays the published content related to the search content. By displaying the target content generated for the search content in the search result page, an interactive function with higher interactivity can be provided for a content search scene, and the interactivity and interest of content search are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a content search method, apparatus, computer equipment, storage medium, and product. Background Technology

[0002] Social media applications typically include search controls, allowing users to search for any content they want, including but not limited to searching for users, products, text, images, news, and topics.

[0003] Traditionally, applications typically use different types of search controls to retrieve users' search results, such as text input boxes, voice buttons, and trending topics.

[0004] However, traditional content search methods still suffer from insufficient interactivity. Summary of the Invention

[0005] Therefore, it is necessary to provide a content search method, apparatus, computer device, computer-readable storage medium, and computer program product that can enhance the interactive effect of content and improve the interactivity of application content search, in order to address the above-mentioned technical problems.

[0006] Firstly, this application provides a content search method applied to a terminal device, the method comprising:

[0007] Obtain the first search result corresponding to the search content; the first search result is obtained in response to a search request that includes the search content, including target content generated for the search content and published content related to the search content; the target content is generated based on the search intent determined by the search content and based on the logic corresponding to the search intent.

[0008] Based on the first search result, a search results page is displayed; wherein, the search results page includes a first result area and a second result area, the first result area displays target content generated for the search content, and the second result area displays published content related to the search content.

[0009] In one embodiment, the search intent includes a first search intent and a second search intent;

[0010] The first search intent is used to represent the triggering of interactive functions. The logic corresponding to the first search intent is the content generation logic. The content generation logic generates content based on a preset database or content generation model, and the content generation logic is unrelated to the published content.

[0011] The second search intent is used to represent the triggering of the question-and-answer function. The logic corresponding to the second search intent is the question-and-answer search logic, which generates content based on published content related to the search content.

[0012] In one embodiment, if the search intent is a first search intent, the first result area also displays media resources corresponding to the first search intent.

[0013] In one embodiment, the method further includes:

[0014] In response to the first trigger operation on the search results page, the second search result corresponding to the search content is obtained; the second search result is generated based on the content generation logic corresponding to the first search intent.

[0015] The search results page is updated based on the second search result.

[0016] In one embodiment, the method further includes:

[0017] In response to the second trigger operation on the search results page, the third search result corresponding to the search content is obtained; the third search result is generated based on the question-and-answer search logic corresponding to the second search intent.

[0018] The search results page is updated based on the third-party search results.

[0019] In one embodiment, updating the search results page based on a third search result includes:

[0020] Update the first and / or second result areas in the search results page based on the third search result.

[0021] In one embodiment, the method further includes:

[0022] In response to a third trigger action on the search results page, the user is redirected to a Q&A dialogue page; the Q&A dialogue page is used for dialogue based on the first search result.

[0023] In one embodiment, the method further includes:

[0024] In response to a fourth triggered action on the search results page, an image is generated based on the target content for use in at least one of the following actions: sharing, publishing, or saving.

[0025] In one embodiment, the method further includes:

[0026] In response to the fifth triggered action on the search results page, virtual resources are allocated to the user based on the search results page.

[0027] In one embodiment, the method further includes:

[0028] Displays a content search page; the content search page includes at least one search area, which is used to trigger a search for content;

[0029] Retrieve search results in response to a trigger action on any search area.

[0030] In one embodiment, the search area includes at least one of a text search area, a voice search area, and a module search area. In response to a triggering operation on any of the search areas, search content is retrieved, including any one of the following:

[0031] Retrieves search results in response to input of content into the text search area;

[0032] Retrieves search results in response to voice input in the voice search area;

[0033] Retrieve search results in response to a triggered action targeting a specific search module within the module search area.

[0034] Secondly, this application also provides a content search method applied to a server, the method comprising:

[0035] Receive a search request, including the search content, sent by the terminal device;

[0036] In response to a search request, a first search result corresponding to the search content is generated; the first search result includes target content generated for the search content and published content related to the search content; the target content is generated based on the search intent determined from the search content and based on the logic corresponding to the search intent.

[0037] The first search result is sent to the terminal device so that the terminal device can display a search results page based on the first search result; wherein, the search results page includes a first result area and a second result area, the first result area displays target content generated for the search content, and the second result area displays published content related to the search content.

[0038] In one embodiment, in response to a search request, a first search result corresponding to the search content is generated, including:

[0039] In response to a search request, the search intent is determined based on the search content, and target content corresponding to the search content is generated based on the logic corresponding to the search intent.

[0040] Retrieve published content related to the search terms from the published content library.

[0041] Thirdly, this application also provides a content search device for use in a terminal device, the device comprising:

[0042] The first acquisition module is used to acquire the first search result corresponding to the search content; the first search result is obtained in response to a search request including the search content, including target content generated for the search content and published content related to the search content; the target content is generated based on the search intent determined by the search content and based on the logic corresponding to the search intent.

[0043] A first display module is configured to display a search results page based on the first search result; wherein the search results page includes a first result area and a second result area, the first result area displays target content generated for the search content, and the second result area displays published content related to the search content.

[0044] Fourthly, this application also provides a content search device applied to a server, the device comprising:

[0045] The receiving module is used to receive search requests, including search content, sent by the terminal device;

[0046] A generation module is configured to generate a first search result corresponding to the search content in response to the search request; the first search result includes target content generated for the search content and published content related to the search content; the target content is generated based on the search intent determined by the search content and based on the logic corresponding to the search intent.

[0047] A sending module is configured to send the first search result to the terminal device, so that the terminal device displays a search result page based on the first search result; wherein, the search result page includes a first result area and a second result area, the first result area displays target content generated for the search content, and the second result area displays published content related to the search content.

[0048] Fifthly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the content search method in the first and second aspects described above.

[0049] Sixthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the content search method in the first and second aspects described above.

[0050] In a seventh aspect, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the content search method described in the first and second aspects above.

[0051] The aforementioned content search method, apparatus, computer equipment, storage medium, and computer program product involve a terminal device acquiring a first search result corresponding to the search content. This first search result is obtained in response to a search request including the search content and includes target content generated for the search content and published content related to the search content. The target content is generated based on the search intent determined by the search content and the logic corresponding to the search intent. Then, based on the first search result, a search results page is displayed. The search results page includes a first result area and a second result area. The first result area displays the target content generated for the search content, and the second result area displays the published content related to the search content. In other words, the content search method proposed in this application embodiment can set at least one interactive function in the application. Through content search, the corresponding interactive function can be triggered, and the interactive function and the target content generated for the search content can be displayed on the search results page. Furthermore, the search results page can also display published content related to the search content obtained based on conventional searches. In other words, for content search scenarios, more interactive functions with higher interactivity can be provided to users, thereby improving the interactivity and fun of content search, and better meeting the search needs of users with specific intents. Attached Figure Description

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

[0053] Figure 1 This is a diagram illustrating the application environment of a content search method in one embodiment;

[0054] Figure 2 This is a flowchart illustrating a content search method in one embodiment;

[0055] Figure 3 This is a schematic diagram illustrating the content search page in one embodiment;

[0056] Figure 4 This is another schematic diagram illustrating the content search page in one embodiment;

[0057] Figure 5 This is a schematic diagram illustrating the redirection of the content search page in one embodiment;

[0058] Figure 6 This is a schematic diagram of the search results page in one embodiment;

[0059] Figure 7 This is a flowchart illustrating the content search method in another embodiment;

[0060] Figure 8 This is a schematic diagram showing the redirection to the search results page corresponding to the annual poems function in one embodiment;

[0061] Figure 9 This is a schematic diagram illustrating the page changes of the search results page corresponding to the annual poems function in one embodiment;

[0062] Figure 10 This is a schematic diagram illustrating the page changes of the Q&A dialogue page corresponding to the annual poem function in one embodiment;

[0063] Figure 11 This is a flowchart illustrating the content search method in another embodiment;

[0064] Figure 12 This is a schematic diagram showing the redirection to the customized question page corresponding to the Book of Answers function in one embodiment;

[0065] Figure 13 This is a schematic diagram illustrating the page changes of the search results page corresponding to the "Book of Answers" function in one embodiment;

[0066] Figure 14 This is a schematic diagram illustrating the redirection to the search collection page in one embodiment;

[0067] Figure 15 This is a flowchart illustrating a content search method in one embodiment;

[0068] Figure 16 This is a schematic diagram of the complete interactive process of a content search method in one embodiment;

[0069] Figure 17 This is a structural block diagram of a content search device in one embodiment;

[0070] Figure 18 This is a structural block diagram of a content search device in one embodiment;

[0071] Figure 19 This is an internal structure diagram of a terminal device in one embodiment;

[0072] Figure 20 This is a diagram of the internal structure of a server in one embodiment. Detailed Implementation

[0073] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0074] Social media applications typically feature various search entry points, such as text search, voice search, image and text recognition search, and trending topic search. With the development of artificial intelligence (AI) technology, AI search entry points have also emerged, such as the "Ask a Question" control, allowing users to search for content through any of these entry points.

[0075] During important holidays such as the Spring Festival and the Lantern Festival, users have a strong demand for interactive features on social platforms, including features that enhance engagement, fun, and emotional resonance. Examples of such features include year-end summaries, year-end poems, New Year's shopping, New Year's Eve dinners, New Year's gifts, New Year's manicures, Spring Festival travel, and lantern riddle guessing activities. Traditional social applications do not provide rich content related to holiday scenarios, and existing content search portals offer poor interactivity for content searches within holiday contexts. Therefore, there is an urgent need for a content interaction method that innovates scenarios by incorporating the holiday atmosphere to improve user activity, enhance user stickiness, and deepen the platform's emotional value.

[0076] The content search method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, terminal device 101 communicates with server 102 via a network. A data storage system can store the data that server 102 needs to process. The data storage system can be integrated onto server 102 or placed on the cloud or other network servers. Terminal device 101 has social application software installed or deployed, which provides numerous functional applications, especially those for holiday scenarios. Server 102 responds to trigger operations for functional applications under different holiday scenarios, providing corresponding content search results to terminal device 101, enabling terminal device 101 to display the corresponding content search results. This not only improves the functional diversity under holiday scenarios but also enhances the convenience of functional searches and the interactivity of the application software.

[0077] The terminal device 101 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices, such as smartwatches, smart bracelets, and head-mounted devices. The server 102 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0078] In one exemplary embodiment, such as Figure 2 As shown, a content search method is provided, which can be applied to... Figure 1 Taking a terminal device as an example, the explanation includes the following steps 201 to 202. Wherein:

[0079] Step 201: Obtain the first search result corresponding to the search content.

[0080] The first search result is obtained in response to a search request that includes the search content, including target content generated for the search content and published content related to the search content; the target content is generated based on the search intent determined by the search content and based on the logic corresponding to the search intent.

[0081] For example, the terminal device can display a content search page. The content search page includes at least one search area, which is used to trigger a search for content, including but not limited to search content corresponding to a target holiday scenario; the search content can be obtained by responding to a trigger operation on any search area.

[0082] For example, the search area in the content search page may include at least one of a text search area, a voice search area, and a module search area. In a holiday scenario, the module search area may also be a holiday guide area. When obtaining search content, the terminal device may use any of the following methods: obtaining search content in response to content input in the text search area; or obtaining search content in response to voice input in the voice search area; or obtaining search content in response to a triggering operation on a target search module in the module search area.

[0083] refer to Figure 3 As shown, the text search area may include a text input box and a search control. Users can trigger interactive functions corresponding to the target festival scene by entering search content in the text input box, such as search content corresponding to the target festival scene (e.g., Spring Festival). The search content corresponds to the interactive function. For example, the interactive function corresponding to the target festival scene may include at least one. Taking the Spring Festival as an example, the interactive functions in the Spring Festival scene may include, but are not limited to, annual poems, answer books, New Year's gifts, New Year's Eve dinner, etc. Users can enter search content that matches the interactive function corresponding to the target festival scene. Then, the terminal device can send the detected search content to the server. The server can perform text matching on the search content. If the search content matches the text format of a certain interactive function in the target festival scene, it can be determined that the user wants to trigger that interactive function, rather than a regular content search function.

[0084] For example, for the "Poem of the Year" feature, the text format corresponding to the "Poem of the Year" feature can include the keyword "Poem of the Year," such as search terms like "Poem of the Year," "My Poem of the Year," "Poem of the Year 2025," "Where is the Poem of the Year," "Open the Poem of the Year," etc. For example, for the "Book of Answers" feature, the text format corresponding to the "Book of Answers" feature can include time keywords and interrogative sentences. Time keywords can include "this year," "next year," "2026," etc., and interrogative sentences can include "can I," "may I," "can I...?", "will I..." etc., such as "Can I find a partner this year?" or "Will I become rich in 2026?"

[0085] Continue to refer to Figure 3 As shown, the voice search area may include a voice input control. Users can record their search queries by triggering the control, such as by long-pressing it. The terminal device then sends the collected voice query to the server, which performs text conversion and text format matching. If the search language corresponds to a specific interactive function, that function is triggered. The text format matching method is similar to the text search method described above and will not be repeated here.

[0086] Continue to refer to Figure 3 As shown, the module search area, such as the holiday guide area, can include at least one interactive search module corresponding to the target holiday scenario (such as the Spring Festival), such as the "My Annual Poem" module, the "New Year's Answer Book" module, the "Choose a New Year's Gift" module, the "New Year's Eve Dinner Inspiration" module, the "Decorate a Home with a Festive Atmosphere" module, and the "Get a New Year's Nail Art" module, etc. Users trigger the target search module, allowing the terminal device to obtain the search content corresponding to that module. It should be noted that the holiday guide area on the content search page can flexibly display different numbers of search modules depending on the size of the holiday guide area; alternatively, it can also flexibly display different numbers and types of search modules matching user needs based on user profiles.

[0087] For example, when the text input box in the text search area is triggered, an input keyboard will be overlaid at the bottom of the content search page, such as... Figure 4 As shown, in this case, the number of search modules displayed in the holiday guide area can be reduced. For example, depending on the size of the holiday guide area when the keyboard is expanded, two search modules can be displayed horizontally, while when the keyboard is collapsed, the holiday guide area can display four, six, or other numbers of search modules. Figure 3 As shown.

[0088] For example, the content search page may also include a history area, which can be collapsed to display one or more historical search results. Historical search results may include searches entered via the text search area, searches entered via the voice search area, or searches entered via the holiday guide area, etc. A delete control may also be displayed in the history area for deleting historical search results individually or in batches.

[0089] Regarding the display method of the content search page, for example, one can jump from the previous page to the content search page through a content search entry point, such as a content search control; in an optional implementation method, refer to... Figure 5 As shown, the preceding page can be a content display page, which displays multiple published content items, including video content, text and image content, live stream content, etc. The content display page also includes multiple functional controls, such as Follow, Discover, Nearby, Search, Home, Hot, Camera (e.g., +), Messages, and Me controls. By triggering the "Search" control, users can jump from the content display page to the content search page. It should be noted that the preceding page can also be other pages besides the content display page, such as a product display page, etc., but this embodiment does not specifically limit this.

[0090] For example, when a terminal device obtains search content, it can generate a search request based on the search content and send the search request to a server, so that the server can generate a first search result in response to the search request; or, the terminal device can also respond to the search request locally and generate the corresponding first search result, etc. The first search result can include target content generated for the search content and published content related to the search content. The target content is generated based on the search intent determined by the search content and the logic corresponding to the search intent. That is, when responding to a search request, the user's search intent can be determined first based on the search request, and the target content corresponding to the search content can be generated based on the logic corresponding to the determined search intent; simultaneously, published content related to the search content is searched from the published content library; then, the first search result corresponding to the search content is generated based on the target content and the published content related to the search content.

[0091] Step 202: Based on the first search result, display the search results page.

[0092] For example, when the preceding page is a content search page, the terminal device can generate and jump from the content search page to the search results page based on the obtained first search result in response to a trigger operation on the target search area in the content search page.

[0093] The search results page includes a first results area and a second results area. The first results area displays target content generated for the search content, and the second results area displays published content related to the search content.

[0094] For example, taking a holiday scenario, the target search area can be any one of at least one search area, meaning that any search area can trigger an interactive function corresponding to the target holiday scenario. For instance, in response to a trigger operation on the holiday guide area, the user can jump from the content search page to the search results page; or, in response to a trigger operation on the text search area, the user can jump from the content search page to the search results page; or, in response to a trigger operation on the voice search area, the user can jump from the content search page to the search results page. It should be noted that the search results displayed on the search results page in this example include search results related to the search content generated based on the interactive function corresponding to the target holiday scenario; that is, the target content generated for the search content can be displayed in the first result area of ​​the search results page. Of course, it can also include search results related to the search content obtained from published content based on regular searches. For example, search results obtained from regular searches can be displayed in the second result area of ​​the search results page; that is, published content related to the search content is displayed in the second result area.

[0095] For example, refer to Figure 6 As shown, when an interactive function corresponding to a target holiday scene is triggered, the user is directed to a search results page. This search results page includes a first result area and a second result area arranged vertically. The first result area displays target content related to the search content generated based on the interactive function. The second result area displays at least one published piece of content related to the search content, retrieved from a published content library that stores all published content. For example, the search results page may also include a text search area, a voice search area, and functional controls. The voice search area can be overlaid on the second result area; that is, the user can continue searching for other content on the search results page.

[0096] For example, for each interactive function corresponding to the target holiday scenario, the generated target content can be displayed in the first result area using different display methods and dynamic effects. For instance, for the annual poem function, the annual poem content can be displayed in the first result area in the form of dynamic letter paper; for the answer book function, the answer content can be displayed in the first result area in the form of a dynamic book, and so on.

[0097] It should be noted that the above content search method is not only applicable to the Spring Festival scenario, but also to other festival scenarios, such as the Lantern Festival and the Dragon Boat Festival. In the Lantern Festival scenario, the festival guide area can include modules such as guessing lantern riddles, making Lantern Festival dumplings, and drawing lanterns; in the Dragon Boat Festival scenario, the festival guide area can include modules such as making zongzi (sticky rice dumplings), online dragon boat racing, and praying for blessings.

[0098] In the aforementioned content search method, the terminal device obtains a first search result corresponding to the search content. This first search result is obtained in response to a search request including the search content and includes target content generated for the search content and published content related to the search content. The target content is generated based on the search intent determined by the search content and the logic corresponding to the search intent. Then, based on the first search result, a search results page is displayed. The search results page includes a first result area and a second result area. The first result area displays the target content generated for the search content, and the second result area displays the published content related to the search content. In other words, the content search method proposed in this application embodiment can set at least one interactive function in the application. Through content search, the corresponding interactive function can be triggered, and the interactive function and the target content generated for the search content can be displayed on the search results page. Furthermore, the search results page can also display published content related to the search content obtained based on conventional searches. In other words, for content search scenarios, more interactive functions with higher interactivity can be provided to users, thereby improving the interactivity and fun of content search, and better meeting the search needs of users with specific intents.

[0099] In an exemplary embodiment, the search intent may include a first search intent and a second search intent. The first search intent may be used to represent triggering an interactive function. The logic corresponding to the first search intent is content generation logic, which generates content based on a preset database or content generation model, and the content generation logic is unrelated to published content. The second search intent may be used to represent triggering a question-and-answer function. The logic corresponding to the second search intent is question-and-answer search logic, which generates content based on published content related to the search content.

[0100] For example, the target content corresponding to the search content can be generated based on the content generation logic corresponding to the first search intent, or the target content corresponding to the search content can be generated based on the question-and-answer search logic corresponding to the second search intent.

[0101] In one optional implementation, the first search intent may include a first search sub-intent and a second search sub-intent. The content generation logic corresponding to the first search sub-intent may generate content based on a content generation model, and the content generation logic corresponding to the second search sub-intent may generate content based on a preset database. For example, the festival interaction function based on the first search sub-intent may include an annual poem, that is, an annual summary based on the content generation model to generate annual poem content; the festival interaction function based on the second search sub-intent may include a book of answers, that is, determining the answer content based on a preset database (such as an answer library), etc.

[0102] For example, when the search intent is the first search intent, the first result area of ​​the search results page also displays media resources corresponding to the first search intent. The media resources may include static images and / or dynamic effects. Displaying media resources can enrich the interactivity and display effect of the festival interactive function.

[0103] Taking the annual poems module in the module search area (such as the holiday guide area) as an example, this section provides a detailed description of the display method and process of displaying the annual poems function on the search results page; for example... Figure 7 As shown, the above step "in response to a triggered action targeting a module search area (such as a holiday guide area), jump from the content search page to the search results page" may include:

[0104] Step 701: In response to the triggering operation of the annual poems module, redirect from the content search page to the search results page.

[0105] The first result area on the search results page displays an annual poem card, which includes a view control and a license control.

[0106] For example, users can directly trigger the interactive function corresponding to the target festival scene through the search module in the festival guide area. When a user wants to view their annual poem, they can trigger the "My Annual Poem" search module on the content search page, thereby entering the search results page. The first result area of ​​the search results page displays search results related to the annual poem.

[0107] In one alternative implementation, refer to Figure 8As shown, the first results area of ​​the search results page may display an annual poem card, which includes at least a view control (such as "View Now") and a permission control (such as whether you agree to the application using your personal data, see the "License Agreement"). For example, the media resources in the annual poem card may include a statically displayed image of a printer and a dynamically displayed printer letterhead, which can be dynamically displayed from the printer. The printer letterhead may display a function title, view control, and permission control. For example, the function title, view control, and permission control may be displayed progressively during the dynamic display of the printer letterhead, or they may be displayed after the printer letterhead is dynamically displayed. Alternatively, the printer letterhead may be statically displayed, and the function title, view control, and permission control may be displayed on the printer letterhead.

[0108] Additionally, please continue to refer to Figure 8 As shown, the second results area on the search results page can display published content related to the Poem of the Year, such as the Poem of the Year content shared and published by other users.

[0109] Furthermore, when the interactive function of the target festival scene is triggered through the festival guide area, after jumping to the search results page, the text input box in the text search area of ​​the search results page is automatically filled with the corresponding search content. For example, after triggering the "My Annual Poem" module, the text input box is automatically filled with the search content of "Annual Poem" to synchronously display the current search content to the user, so that the user can always understand and grasp the current search content and improve the visual effect of the page.

[0110] Step 702: In response to the triggering operation of the view control and the license control, generate and dynamically display the annual poem content in the annual poem card based on the user's historical data.

[0111] For example, under a user license agreement, a license control can be triggered (i.e., selected), and a view control can be triggered, which can instruct the server to call a content generation model to generate and dynamically display annual poem content in an annual poem card based on the user's historical data. The user's historical data mainly includes at least one of the following: historical data within the current year, such as posting data, search data, collection data, likes data, and comment data within the current year.

[0112] For example, dynamically displaying the annual poem content on the annual poem card may include dynamically unfolding the printer paper and dynamically erasing the annual poem content. In one alternative implementation, refer to... Figure 9As shown, the dynamic display of annual poem content on the annual poem card can also include: responding to the triggering of the view control and the license control, displaying a content loading prompt message in the annual poem card during the process of generating annual poem content based on the user's historical data, such as "Summarizing the past year for you"; and dynamically displaying the annual poem content in the annual poem card after generating annual poem content based on the user's historical data, including the title of the annual poem written for you, the username (To: [username]), the main text of the poem (This year, ...), and source information (such as AI summarizing the past year for you), etc.

[0113] For example, when generating annual poem content based on a user's historical data, a content generation model, such as an AI container, can be invoked to generate the user's annual summary by combining the user's historical data for that year. The AI ​​container can summarize and reason about the input data based on a trained large language model to obtain the annual poem content. This process can be executed on a server, which then sends the summarized annual poem content to the terminal device so that the terminal device can dynamically display the annual poem content in the annual poem card (such as printer letter paper) in the first result area of ​​the search results page.

[0114] For example, if the printed letter paper cannot display the complete text of the poem, the annual poem card may also include a sliding control that can be used to continuously unfold the printed letter paper to display the remaining text of the poem; or, the terminal device may also detect the user's sliding operation, such as an upward sliding operation, and based on the sliding operation, continuously unfold the printed letter paper to display the remaining text of the poem.

[0115] In other implementations, the terminal device may also respond to the first trigger operation on the search results page to obtain the second search result corresponding to the search content; the second search result is generated based on the content generation logic corresponding to the first search intent; then, the search results page is updated based on the second search result.

[0116] For example, a regeneration control can be provided on the search results page. This regeneration control can be placed within the first result area of ​​the search results page, or in any other area besides the first result area; this embodiment does not specifically limit this. The terminal device, by responding to a trigger operation on the regeneration control, can regenerate the second search result corresponding to the search content based on the content generation logic corresponding to the first search intent; and update the first result area in the search results page based on the second search result. Of course, the second search result can also include regenerated published content related to the search content, and the second result area in the search results page can also be updated based on the regenerated published content related to the search content.

[0117] In other implementations, the terminal device can also respond to a second trigger operation on the search results page to obtain a third search result corresponding to the search content; the third search result is generated based on the question-and-answer search logic corresponding to the second search intent; then, the search results page is updated based on the third search result.

[0118] For example, a content switching control can be provided on the search results page. This control can be located within the first result area of ​​the search results page, or in any other area besides the first result area; this embodiment does not specifically limit this. The terminal device, by responding to a trigger operation on the content switching control, can generate a third search result corresponding to the search content based on the question-and-answer search logic corresponding to the second search intent; and update the first result area on the search results page based on the third search result. For example, if the third search result includes regenerated published content related to the search content, the second result area on the search results page can also be updated based on the regenerated published content related to the search content.

[0119] In other implementations, the terminal device may also respond to a third trigger operation on the search results page to jump from the search results page to a question-and-answer dialogue page, which includes a content display area and a content search area. The content display area is used to display target content, such as the annual poem content. The response to the third trigger operation on the search results page includes at least one of the following: a trigger operation on the annual poem card in the search results page, a trigger operation on the question-and-answer control (such as the "Ask a Question" control) in the search results page, etc.

[0120] refer to Figure 10 As shown, by performing a corresponding trigger action on the search results page, users can enter a Q&A dialogue page, where more of the poem's text can be displayed, allowing users to view the complete poem. This Q&A dialogue page can include a content display area, which may show the search results (e.g., the poem of the year), source information (also known as source text, such as "AI summarizes the past year for you"), and the poem's text. Similarly, users can view the remaining poem text that is not currently displayed by swiping or using controls. For example, when swiping to the bottom of the poem's text, multiple operation controls or buttons can also be displayed in the content display area, including but not limited to posting a note, saving and sharing, liking (upward finger button), disliking (downward finger button), and history (not shown in the figure).

[0121] Additionally, the Q&A dialogue page can include a content search area, which may include a text input box, a voice control, and a send control. Users can continue searching for other content in the text input box, or trigger the voice control to input voice search content. When inputting text search content, users can click the send control to trigger a new search. When inputting voice search content, users need to long-press the voice control while inputting the voice search content, and release the voice control after inputting the content to simultaneously send the voice search and trigger a new search. For example, when triggering a new content search, an AI container can be invoked to generate corresponding text content results for the new search content, and these text content results can be displayed in the content display area.

[0122] This embodiment details the triggering and display process of the annual poem function, providing a feasible basis for its implementation in the Spring Festival scenario. It also enriches the interactive functions during the Spring Festival and enhances the content interactivity of the application. Furthermore, for the annual poem function, "letter paper" is used as the core visual carrier, paired with a continuous animation of "printer fading out → letter paper unfolding → text erasing," forming a complete narrative loop between the loading and generating states. This improves the display effect of the annual poem function and enhances user immersion. In addition, it breaks through the generalized output mode of traditional question-and-answer functions, using users' search terms throughout the year (e.g., 2025.1.1-latest) and publicly available useful notes (including exposure / click / interaction data) as core inputs. Through AI technology, these are reconstructed into "annual poems," achieving the transformation from "data" to "emotional text," providing users with an annual emotional connection and filling the emotional gap in the holiday scenario.

[0123] Taking the "Book of Answers" module within the module search area (such as the holiday guide area) as an example, this section provides a detailed description of the display method and process of showcasing the "Book of Answers" function on the search results page; for example... Figure 11 As shown, the above step "in response to a triggered action targeting a module search area (such as a holiday guide area), jump from the content search page to the search results page" may include:

[0124] Step 1101: In response to the triggering operation of the Book of Answers module, redirect from the content search page to the customized question page.

[0125] The customized question page includes at least one question example control.

[0126] For example, the holiday guide area of ​​the content search page may include multiple search modules. Each search module is used to directly trigger the corresponding interactive function in the target holiday scenario. For example, the "My Annual Poem" module can trigger the "Annual Poem Function", the "New Year's Answer Book" module can trigger the "Answer Book Function", the "Pick a New Year's Gift" module can trigger the "New Year's Gift Function", and the "New Year's Eve Dinner Inspiration" module can trigger the "New Year's Eve Dinner Function", etc. For example, the Annual Poem Function can adopt the display format of printer letter paper and combine AI container to generate and display the user's annual poem content. The Answer Book Function can use the Answer Book and page-turning animation to display randomly generated answer content. The New Year's Gift Function and the New Year's Eve Dinner Function can use the form of a random wheel or random cards to display randomly selected gifts or New Year's Eve dinners, etc. Different interactive functions in the holiday scenario can use the same or different forms for content search and display to improve the interactivity of the application software in the holiday scenario.

[0127] This example provides a more detailed description of the Book of Answers feature. (Refer to...) Figure 12 As shown, when the Book of Answers module is triggered, the user can first jump from the content search page to a customized question page. This customized question page can include a text search area, a function title (e.g., the currently triggered question is the New Year's Book of Answers), a function description (e.g., an introduction to how to use the Book of Answers function), at least one example question control (e.g., Can I find a partner this year? Can I lose weight in the New Year? Can I become happier in the New Year?), function cards (e.g., Spring Festival travel guide, New Year's Book of Answers, decorating a new home for the New Year, etc. When the New Year's Book of Answers function is triggered, the New Year's Book of Answers card can be centered and highlighted), and a voice search area.

[0128] On the customized question page, users can directly trigger the question example control, or they can enter search terms through the text search area or voice search area, such as "Will I get rich in the New Year?" or "Will I have good luck in the New Year?"—search terms different from the question example control. For example, for the question example control, multiple question example controls can be generated based on the popularity of historical search content in the Answer Book, the preferences of terminal device users, and the tourism / cultural characteristics of the terminal device user's region. This allows for precise matching of users, increasing the probability of users triggering the Answer Book function through the question example control, and thus improving the efficiency of users' operation of the Answer Book function.

[0129] Step 1102: In response to the triggering operation of the customized question page, jump from the customized question page to the search results page; the first result area of ​​the search results page displays the answer content.

[0130] For example, triggering operations on a customized question page can include any one of the following: triggering an example question control on the customized question page, triggering a text search area on the customized question page, or triggering a voice search area on the customized question page. When a search is triggered through a customized question page, the user can jump to a search results page, where the target content related to the search content, i.e., the answer content, is displayed in the first results area of ​​the search results page.

[0131] For example, when navigating from a customized question page to a search results page, the "Book of Answers" can be dynamically displayed in the first results area of ​​the search results page; that is, media content corresponding to the "Book of Answers" can be displayed. The dynamic display of the "Book of Answers" can include a dynamically displayed title page and a first content page of the "Book of Answers," with the first content page displaying the answer content. (See reference) Figure 13 As shown, after entering the search results page, the title page of the Book of Answers can be statically displayed in the first results area, such as "New Year's Book of Answers". Then, the Book of Answers can switch from static to dynamic. It can first switch to the flip page state (dynamic), that is, the title page of the Book of Answers expands and displays the first content page of the Book of Answers. After the title page expands, the Book of Answers can switch from the flip page state to the answer state (static) and display the answer content in the first content page.

[0132] For example, in the book-flipping state, the first result area can also display a book-flipping prompt, such as "Flipping through the book of answers for you...". In the answer state, the first result area can also display at least one operation control or operation button, such as "Share Now" or "Flip Again". In the interactive function of the book of answers, the terminal device can also respond to the first trigger operation on the search results page to obtain the second search result corresponding to the search content. The second search result is generated based on the content generation logic corresponding to the first search intent (the second search sub-intent). Then, the search results page is updated based on the second search result. For example, if the user wants to get the answer again, they can trigger the "Flip Again" button. The terminal device, in response to the trigger operation on the book-flipping control, switches the first content page of the book of answers to the title page and then switches from the title page to the second content page in the first result area. In other words, after triggering the flip again, the title page of the Book of Answers closes and the flipping action is executed again, that is, it re-enters the flipping state and switches from the flipping state to the answer state. When switching to the answer state for the second time, the Book of Answers displays the second content page, which displays other answer content that is different from the previous answer content. That is, the answer content is regenerated from the preset database (such as the answer library) based on the content generation logic corresponding to the second search sub-intent.

[0133] It should be noted that when the server randomly generates or regenerates answers, it can retrieve them from a preset answer library. This library may include multiple online answers, multiple model-generated answers, and multiple manually reviewed answers. When triggering a second flip, the server regenerates a deduplicated answer. For example, the number of flips can be limited, such as 30. If the number of times the flip control is triggered exceeds the preset limit, the flip control switches from a triggerable state to a disabled state. In the disabled state, the second flip control can be grayed out, indicating that the flip control is currently untriggerable. For example, in the disabled state, a disabled trigger prompt message, such as "Finished flipping, try another word," can be displayed in the first result area. This disabled trigger prompt message can be displayed permanently or pop up briefly. After the preset duration, the disabled trigger prompt message will no longer be displayed.

[0134] For example, the page-turning state can also be maintained for a preset duration, such as 2 seconds. During the page-turning animation, the search area and function controls on the search results page are not clickable. That is, in the page-turning state, the search area and function controls are prohibited from being triggered. After switching from the page-turning state to the answer state, the search area and function controls can be clicked. That is, after the page-turning is completed, the user can re-enter new search content through the (text / voice) search area and view other search results through the function controls.

[0135] For example, functional controls may include all, users, products, videos, locations, and a "Ask a Question" control, etc. The "Ask a Question" control can be associated with an AI container to trigger an AI question-and-answer mechanism, which may also employ the question-and-answer search logic corresponding to the second search intent. Under the "Book of Answers" function, the terminal device can also respond to the second trigger operation on the search results page to obtain the third search result corresponding to the search content. The third search result is generated based on the question-and-answer search logic corresponding to the second search intent. Then, the search results page is updated based on the third search result. Additionally, under the "Book of Answers" function, the terminal device can also respond to the third trigger operation on the search results page to jump from the search results page to a question-and-answer dialogue page. The question-and-answer dialogue page is used for dialogue based on the first search result. For the "Book of Answers" function, users can also trigger the "Ask a Question" control. The terminal device, by responding to the trigger operation of the "Ask a Question" control, jumps from the search results page to the question-and-answer dialogue page. The question-and-answer dialogue page displays the query results corresponding to the search content on the customized question page, and other question-and-answer content can be triggered based on these query results.

[0136] It should be noted that when redirected from the customized question page to the search results page, the search results from the customized question page can be displayed in the text search area of ​​the search results page, such as "Will I find a partner this year?". Figure 13As shown, when the "Ask a Question" control is triggered on the search results page, the user can be redirected to the question-and-answer dialogue page. At this point, the AI ​​container can be invoked to analyze the search content of the customized question page, such as "Can I find a partner this year?", and generate analysis results, which are then displayed in the content display area of ​​the customized question page. The analysis results generated by the AI ​​container are different from the results in the answer database; that is, they are other analysis results outside of the answer database.

[0137] This embodiment details the triggering and display methods and process of the "Book of Answers" function, providing a feasibility basis for its implementation during the Spring Festival. It also enriches the interactive functions during the Spring Festival and enhances the content interactivity of the application. Furthermore, the "Book of Answers" function for the New Year uses a "flipping through a book" animation as its core, presenting the answers after a page-flipping transition, thus restoring the ritualistic feel of reading a physical book and enhancing user immersion. In addition, for emotional wishes without precise answers, such as "Will I find a partner / get rich in the New Year?", and for "virtual queries" reflecting life's uncertainties, the "Book of Answers" scenario provides responses that combine a sense of mystical good fortune with a gentle, healing quality, filling the emotional gaps during the holiday season.

[0138] In an exemplary embodiment, for the search results page in the various embodiments described above, the terminal device may further respond to a fourth trigger operation on the search results page by generating an image based on the target content for use in at least one of the operations of sharing, publishing, and saving. For example, the first result area of ​​the search results page may also include at least one control for sharing, publishing, and saving. When a user triggers the share control, the terminal device may generate an image based on the target content and display a share page based on the image, allowing the user to share the generated image to other users or other interactive platforms. When a user triggers the publish control, the terminal device may generate an image based on the target content and display a publish page based on the image, allowing the user to generate a content note to be published based on the generated image and publish the content note. When a user triggers the save control, the terminal device may generate an image based on the target content and display a save page based on the image, allowing the user to choose to save the image to a platform draft, a local album, or a cloud album, etc.; for example, when a user triggers the save control, the terminal device may also directly save the generated image to a local album, etc.

[0139] In one exemplary embodiment, for the search results page in the various embodiments described above, the terminal device may further respond to a fifth trigger operation on the search results page by displaying virtual resources allocated to the user based on the search results page. For example, the first result area of ​​the search results page may also include welfare controls, such as... Figure 9 and Figure 13The image features a cartoon character holding a gift. For the "Poem of the Year" feature, this gift control is displayed when the poem is shown in the first result area of ​​the search results page; for the "Book of Answers" feature, this gift control is displayed when either the book or the answer content is shown in the first result area of ​​the search results page.

[0140] For example, the application can display the welfare control in the first result area of ​​the search results page according to preset welfare rules. When the preset welfare rules are met, the application can jump from the search results page to the welfare page. The welfare page can include welfare content generated based on preset welfare formats, which may include, but are not limited to, lotteries, raffles, red envelopes, red envelope rain, coupons, etc. The preset welfare rules may include, but are not limited to, the user's first use of the interactive function corresponding to the target holiday scenario, the user's use of the interactive function corresponding to the target holiday scenario reaching a preset number of times, the user being a VIP customer, etc. This application embodiment does not specifically limit these.

[0141] In this embodiment, by setting welfare rules, user stickiness can be further improved, and user activity and usage time during holidays can be increased.

[0142] In one exemplary embodiment, multiple search modules can be displayed in the holiday guide area of ​​the content search page. The displayed search modules can be dynamically adjusted based on search popularity, user preferences, looping strategies, etc. However, since the display size of the holiday guide area is limited, it is not possible to display all search modules at once. Therefore, a search aggregation control can also be set in the holiday guide area, as shown in the reference. Figure 3 The "+" sign in the upper right corner of the Chinese holiday guide area is the search collection control. When the search collection control is triggered, all search modules can be displayed.

[0143] Based on the above embodiments, the content search method proposed in this embodiment may further include: responding to the triggering operation of the search collection control, displaying a search collection page on the content search page; the search collection page includes at least one search module, and the search module includes at least one search module other than the search module displayed in the holiday guide area.

[0144] For example, refer to Figure 14As shown, to facilitate users' access to more interactive functions related to the target holiday scene, a search collection control, such as a "+" sign, is set in the holiday guide area of ​​the content search page. When the search collection control is triggered, a search collection page can be overlaid on the content search page. The search collection page can display the holiday guide title and multiple search modules. These multiple search modules can include all search modules, or all remaining search modules other than those displayed in the holiday guide area. If there are many search modules, all search modules can also be displayed using a sliding method. The search collection page also includes a close control; triggering the close control returns the user to the content search page. Conversely, if a search module is triggered on the search collection page, the user can jump to the search results page.

[0145] In this embodiment, a search collection control is set in the holiday guide area, which can display more search modules related to the target holiday scene to users, thereby further improving the interactivity of the application in the holiday scene, increasing user activity during the holiday, and enhancing user stickiness.

[0146] Regarding the above embodiments, it should be noted that the terminal device is mainly used to display various interactive pages of the application, detect user trigger operations, receive search results from the server, and update or redirect interactive pages based on search results. In other words, the terminal device mainly performs page element display and page interaction operations. The server is mainly used to process data, including but not limited to acquiring historical data, generating new text content, and performing a series of data processing processes such as content search in the published content library. In other words, the server mainly performs data acquisition and data processing operations.

[0147] In one embodiment, this application also provides a content search method applied to a server, such as... Figure 15 As shown, the method includes:

[0148] Step 1501: Receive a search request from the terminal device, which includes the search content.

[0149] Step 1502: In response to the search request, generate the first search result corresponding to the search content; the first search result includes target content generated for the search content and published content related to the search content; the target content is generated based on the search intent determined by the search content and based on the logic corresponding to the search intent.

[0150] Step 1503: Send the first search result to the terminal device so that the terminal device can display a search results page based on the first search result; wherein, the search results page includes a first result area and a second result area, the first result area displays target content generated for the search content, and the second result area displays published content related to the search content.

[0151] In one embodiment, step 1502, in response to the search request, generating a first search result corresponding to the search content, may include:

[0152] In response to a search request, the search intent is determined based on the search content, and target content corresponding to the search content is generated based on the logic corresponding to the search intent.

[0153] Retrieve published content related to the search terms from the published content library.

[0154] In other words, in this example, the server parses the search intent of the search content sent by the terminal device, generates target content corresponding to the search intent based on the logic corresponding to the search content, and retrieves published content related to the search content from the published content library. Then, the server feeds back the target content and the published content related to the search content as the first search result to the terminal device. This allows the terminal device to display the target content generated for the search content in the first result area of ​​the first search result page, and to display the published content related to the search content in the second result area. This provides users with more and richer search results and offers more interactive search functions. Especially for holiday scenarios, it increases the fun of the search function and provides users with a variety of functional applications in special holiday contexts, thereby increasing user stickiness during holiday periods.

[0155] Based on this, the embodiments of this application also provide a complete interactive flow of a content search method, taking the annual poems function as an example, such as... Figure 16 As shown, it includes the following steps:

[0156] Step 1601: In response to the triggering operation of the content search control on the content display page, the terminal device jumps from the content display page to the content search page; the content search page includes a text search area, a holiday guide area, and a voice search area.

[0157] Step 1602: In response to the triggering operation of the text search area (or voice search area) in the content search page, the terminal device sends a search instruction to the server, which carries the text search content (or voice search content).

[0158] Step 1603: The server matches the text search content (or voice search content) with the text format of the annual poem function. If the match is successful, the server sends a successful trigger result for the annual poem function to the terminal device. Then proceed to step 1605.

[0159] Step 1604: The terminal device responds to the trigger operation of the annual poems module in the festival guide area of ​​the content search page and proceeds to step 1605.

[0160] Step 1605: The terminal device jumps from the content search page to the search results page corresponding to the annual poem function, and in response to the triggering operation of the view control and permission control in the first result area of ​​the search results page, sends an annual poem generation instruction to the server, which carries user information; at the same time, the display content in the first result area of ​​the search results page is updated, that is, the printer paper is dynamically expanded and a content loading prompt message is displayed.

[0161] Step 1606: The server obtains the user's historical data based on the user information, calls the AI ​​container to generate the user's annual poem content based on the user's historical data, and sends the user's annual poem content to the terminal device.

[0162] Step 1607: The terminal device continues to update the displayed content of the first result area in the search results page based on the user's annual poem content, that is, it uses text erasure animation to display the poem text word by word.

[0163] Step 1608: In response to the triggering operation of the first result area (or the "Ask a Question" control) in the search results page, the terminal device jumps from the search results page to the question and answer dialogue page, where the content display area of ​​the question and answer dialogue page displays the complete text of the poem.

[0164] Step 1609: In response to the triggering operation of the note-taking control in the content display area of ​​the question-and-answer dialogue page, the terminal device sends a note-taking command to the server.

[0165] Step 1610: The server generates and publishes notes based on the user's annual poem content.

[0166] The content search method proposed in this application can create exclusive interactive scenarios for festivals (such as the Spring Festival) within an application, enhancing the festive atmosphere of the application platform and increasing user activity and usage time during the festival. Furthermore, it can output personalized and emotional content, allowing users to review past experiences and receive New Year's wishes, thus strengthening their emotional identification and sense of belonging to the platform. Moreover, it can cover different user needs (such as personalized memories, New Year's wishes, and curiosity), improving the scenario matrix of the "Ask a Question" function and enhancing its comprehensiveness and practicality.

[0167] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0168] Based on the same inventive concept, this application also provides a content search apparatus for implementing the content search method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more content search apparatus embodiments provided below can be found in the limitations of the content search method described above, and will not be repeated here.

[0169] In one exemplary embodiment, such as Figure 17 As shown, a content search device is provided, applied to a terminal device, including: a first acquisition module 1701 and a first display module 1702, wherein:

[0170] The first acquisition module 1701 is used to acquire the first search result corresponding to the search content; the first search result is obtained in response to a search request including the search content, including target content generated for the search content and published content related to the search content; the target content is generated based on the search intent determined by the search content and based on the logic corresponding to the search intent.

[0171] The first display module 1702 is used to display a search results page based on the first search results; wherein the search results page includes a first result area and a second result area, the first result area displays target content generated for the search content, and the second result area displays published content related to the search content.

[0172] In one embodiment, the search intent includes a first search intent and a second search intent; the first search intent is used to represent triggering an interactive function, and the logic corresponding to the first search intent is a content generation logic, which generates content based on a preset database or a content generation model, and the content generation logic is unrelated to the published content; the second search intent is used to represent triggering a question-and-answer function, and the logic corresponding to the second search intent is a question-and-answer search logic, which generates content based on the published content related to the search content.

[0173] In one embodiment, if the search intent is a first search intent, the first result area also displays media resources corresponding to the first search intent.

[0174] In one embodiment, the first acquisition module 1701 is further configured to acquire a second search result corresponding to the search content in response to a first trigger operation on the search results page; the second search result is generated based on the content generation logic corresponding to the first search intent.

[0175] The update module is used to update the search results page based on the second search result.

[0176] In one embodiment, the first acquisition module 1701 is further configured to acquire a third search result corresponding to the search content in response to a second trigger operation on the search results page; the third search result is generated based on the question-and-answer search logic corresponding to the second search intent;

[0177] The update module is also used to update the search results page based on third-party search results.

[0178] In one embodiment, the update module is specifically configured to update the first result area and / or the second result area in the search results page based on the third search result.

[0179] In one embodiment, the device further includes:

[0180] The question-and-answer module is used to respond to a third trigger action on the search results page, redirecting the user from the search results page to the question-and-answer dialogue page; the question-and-answer dialogue page is used for dialogue based on the first search result.

[0181] In one embodiment, the device further includes:

[0182] A generation module is used to generate an image based on the target content in response to a fourth trigger action on the search results page, for use in at least one of the following actions: sharing, publishing, and saving.

[0183] In one embodiment, the device further includes:

[0184] The resource allocation module is used to respond to the fifth trigger operation on the search results page and allocate virtual resources to the user based on the search results page.

[0185] In one embodiment, the device further includes:

[0186] The second display module is used to display the content search page; the content search page includes at least one search area, which is used to trigger the search for content.

[0187] The second acquisition module is used to acquire search content in response to a trigger operation on any search area.

[0188] In one embodiment, the search area includes at least one of a text search area, a voice search area, and a module search area, and the second acquisition module is specifically configured to perform any of the following:

[0189] Retrieves search results in response to input of content into the text search area;

[0190] Retrieves search results in response to voice input in the voice search area;

[0191] Retrieve search results in response to a triggered action targeting a specific search module within the module search area.

[0192] In one exemplary embodiment, such as Figure 18 As shown, a content search device is provided, applied to a server, including: a receiving module 1801, a generating module 1802, and a sending module 1803, wherein:

[0193] The receiving module 1801 is used to receive a search request, which includes search content, sent by the terminal device.

[0194] The generation module 1802 is used to generate a first search result corresponding to the search content in response to a search request. The first search result includes target content generated for the search content and published content related to the search content. The target content is generated based on the search intent determined by the search content and the logic corresponding to the search intent.

[0195] The sending module 1803 is used to send the first search result to the terminal device so that the terminal device can display a search result page based on the first search result; wherein, the search result page includes a first result area and a second result area, the first result area displays target content generated for the search content, and the second result area displays published content related to the search content.

[0196] In one embodiment, the generation module 1802 is specifically used to respond to a search request, determine the search intent based on the search content, and generate target content corresponding to the search content based on the logic corresponding to the search intent; and obtain published content related to the search content from the published content library.

[0197] Each module in the aforementioned content search device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0198] In one exemplary embodiment, a computer device is provided. Taking the computer device as an example, which is a terminal device, its internal structure diagram can be as follows: Figure 19 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminal devices; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When executed by the processor, the computer program implements a content search method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0199] In one exemplary embodiment, a computer device is provided, taking a server as an example, and its internal structure diagram can be as follows: Figure 20 As shown, this computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The database stores published content, content generation models, preset databases, and other data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements a content search method.

[0200] Those skilled in the art will understand that Figure 19 and 20 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0201] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the content search method in any of the above embodiments.

[0202] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the content search method in any of the above embodiments.

[0203] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the content search method in any of the above embodiments.

[0204] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0205] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0206] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0207] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A content search method, characterized in that, Applied to a terminal device, the method includes: Obtain the first search result corresponding to the search content; the first search result is obtained in response to a search request including the search content, including target content generated for the search content and published content related to the search content; the target content is generated based on the search intent determined by the search content and based on the logic corresponding to the search intent; Based on the first search result, a search results page is displayed; wherein, the search results page includes a first result area and a second result area, the first result area displays target content generated for the search content, and the second result area displays published content related to the search content.

2. The method according to claim 1, characterized in that, The search intent includes a first search intent and a second search intent; The first search intent is used to represent the triggering of interactive functions. The logic corresponding to the first search intent is the content generation logic. The content generation logic generates content based on a preset database or a content generation model, and the content generation logic is unrelated to the published content. The second search intent is used to represent triggering the question-and-answer function. The logic corresponding to the second search intent is the question-and-answer search logic, which generates content based on published content related to the search content.

3. The method according to claim 2, characterized in that, If the search intent is the first search intent, then the first result area also displays media resources corresponding to the first search intent.

4. The method according to claim 2, characterized in that, The method further includes: In response to a first trigger operation on the search results page, a second search result corresponding to the search content is obtained; the second search result is generated based on the content generation logic corresponding to the first search intent. The search results page is updated based on the second search result.

5. The method according to claim 2, characterized in that, The method further includes: In response to a second trigger operation on the search results page, a third search result corresponding to the search content is obtained; the third search result is generated based on the question-and-answer search logic corresponding to the second search intent. The search results page is updated based on the third search result.

6. The method according to claim 5, characterized in that, The updating of the search results page based on the third search result includes: The first result area and / or the second result area in the search results page are updated based on the third search result.

7. The method according to any one of claims 1-6, characterized in that, The method further includes: In response to a third triggering operation on the search results page, the user is redirected from the search results page to a question-and-answer dialogue page; the question-and-answer dialogue page is used for dialogue based on the first search results.

8. The method according to any one of claims 1-6, characterized in that, The method further includes: In response to a fourth triggering action on the search results page, an image is generated based on the target content for use in at least one of the following operations: sharing, publishing, and saving.

9. The method according to any one of claims 1-6, characterized in that, The method further includes: In response to a fifth triggered operation on the search results page, virtual resources are displayed for the user based on the search results page.

10. The method according to any one of claims 1-6, characterized in that, The method further includes: Display a content search page; the content search page includes at least one search area, the search area being used to trigger a search for content; In response to a trigger operation on any of the search areas, the search content is retrieved.

11. The method according to claim 10, characterized in that, The search area includes at least one of a text search area, a voice search area, and a module search area, and the step of obtaining the search content in response to a trigger operation on any of the search areas includes any one of the following: In response to a content input operation targeting the text search area, the search content is obtained; In response to a voice input operation targeting the voice search area, the search content is obtained; In response to a triggered operation targeting a target search module in the module search area, the search content is obtained.

12. A content search method, characterized in that, Applied to a server, the method includes: Receive a search request, including the search content, sent by the terminal device; In response to the search request, a first search result corresponding to the search content is generated; the first search result includes target content generated for the search content and published content related to the search content; the target content is generated based on the search intent determined by the search content and based on the logic corresponding to the search intent. The first search result is sent to the terminal device so that the terminal device can display a search results page based on the first search result; wherein, the search results page includes a first result area and a second result area, the first result area displays target content generated for the search content, and the second result area displays published content related to the search content.

13. The method according to claim 12, characterized in that, The step of generating a first search result corresponding to the search content in response to the search request includes: In response to the search request, the search intent is determined based on the search content, and target content corresponding to the search content is generated based on the logic corresponding to the search intent; Retrieve published content related to the search terms from the published content library.

14. A content search device, characterized in that, Applied to a terminal device, the device includes: The first acquisition module is used to acquire the first search result corresponding to the search content; the first search result is obtained in response to a search request including the search content, including target content generated for the search content and published content related to the search content; the target content is generated based on the search intent determined by the search content and based on the logic corresponding to the search intent. A first display module is configured to display a search results page based on the first search result; wherein the search results page includes a first result area and a second result area, the first result area displays target content generated for the search content, and the second result area displays published content related to the search content.

15. A content search device, characterized in that, Applied to a server, the device includes: The receiving module is used to receive search requests, including search content, sent by the terminal device; A generation module is configured to generate a first search result corresponding to the search content in response to the search request; the first search result includes target content generated for the search content and published content related to the search content; the target content is generated based on the search intent determined by the search content and based on the logic corresponding to the search intent. A sending module is configured to send the first search result to the terminal device, so that the terminal device displays a search result page based on the first search result; wherein, the search result page includes a first result area and a second result area, the first result area displays target content generated for the search content, and the second result area displays published content related to the search content.

16. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 13.

17. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 13.

18. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 13.