Content display method and device, electronic equipment and medium

By synchronously searching and recommendations in the content consumption interface, dynamically adjusting the display size and content, the problem of low correlation between search results and consumer content is solved, and the user experience and the accuracy of recommended content is improved.

CN120407925APending Publication Date: 2025-08-01BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510494552.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-18
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

In the content consumption scenario, when users search for information, the search results have low correlation with the current consumption content, resulting in poor accuracy of recommended content and affecting user experience.

Method used

In the content consumption interface, in response to user operations, information search and recommendation are synchronized, search results and recommended content are obtained and displayed, seamless embedding is achieved through a hybrid rendering architecture, display size and content dynamically adjusting, and recommendations are optimized based on user behavior data.

Benefits of technology

It improves the relevance and user experience during information search, realizes seamless embedding of search functions in content consumption scenarios, dynamically adjusts the display to adapt to the device and content types, and optimizes the accuracy of recommended content and user operation convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120407925A_ABST
    Figure CN120407925A_ABST
Patent Text Reader

Abstract

The invention provides a content display method and device, electronic equipment and a medium, and relates to the technical field of artificial intelligence, in particular to the technical field of information recommendation and information search. According to the implementation scheme, in response to received first operation of a user for first target content in currently displayed first content, multiple pieces of second content are obtained, and the multiple pieces of second content comprise at least one first search result and at least one first recommendation content; the at least one first search result is obtained by performing information search based on the first target content, and the at least one first recommendation content is obtained by performing information recommendation based on the first content; and displaying the plurality of second contents to the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence technologies, and in particular, to the fields of information recommendation and information search technologies. Specifically, the present disclosure relates to a content display method, apparatus, electronic device, computer-readable storage medium, and computer program product. Background Art

[0002] Artificial intelligence is a discipline that studies how to make a computer simulate certain human thinking processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.). It has both hardware-level technologies and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include several major directions such as computer vision technology, speech recognition technology, natural language processing technology, and machine learning / deep learning, big data processing technology, and knowledge graph technology.

[0003] With the rapid development of the Internet and the advent of the digital age, information search and information recommendation technologies have become important tools for people to obtain information, and they play an important role in improving the efficiency of users' information acquisition and optimizing information service systems.

[0004] The methods described in this section are not necessarily methods that have been previously envisioned or adopted. Unless otherwise specified, any method described in this section should not be considered prior art merely because it is included in this section. Similarly, unless otherwise specified, the problems mentioned in this section should not be considered to have been recognized in any prior art. Summary of the Invention

[0005] The present disclosure provides a content display method, apparatus, electronic device, computer-readable storage medium, and computer program product.

[0006] According to an aspect of the present disclosure, there is provided a content display method, including: in response to receiving a first operation by a user on a first target content in a first content currently being displayed, obtaining a plurality of second contents, where the plurality of second contents include at least one first search result and at least one first recommended content, at least one first search result is obtained by performing information search based on the first target content, and at least one first recommended content is obtained by performing information recommendation based on the first content; and presenting the plurality of second contents to the user.

[0007] According to another aspect of the present disclosure, there is provided a content display device, including: an acquisition unit configured to, in response to receiving a first operation of a user on a first target content in a currently displayed first content, acquire a plurality of second contents, where the plurality of second contents include at least one first search result and at least one first recommended content, at least one first search result is obtained by performing an information search based on the first target content, and at least one first recommended content is obtained by performing an information recommendation based on the first content; and a display unit configured to display the plurality of second contents to the user.

[0008] According to another aspect of the present disclosure, there is provided an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; where the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the content display method of the present disclosure.

[0009] According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to cause a computer to execute the content display method of the present disclosure.

[0010] According to another aspect of the present disclosure, there is provided a computer program product, including a computer program, where the computer program, when executed by a processor, implements the content display method of the present disclosure.

[0011] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The drawings exemplarily illustrate embodiments and form a part of the specification, and are used together with the written description of the specification to explain the exemplary embodiments of the embodiments. The illustrated embodiments are for illustrative purposes only and do not limit the scope of the claims. In all the drawings, the same reference numerals refer to similar but not necessarily identical elements.

[0013] Figure 1 A schematic diagram of an exemplary system in which the various methods described herein can be implemented according to an embodiment of the present disclosure is shown;

[0014] Figure 2 A flowchart of a content display method according to an embodiment of the present disclosure is shown;

[0015] Figure 3 A flowchart of acquiring a user behavior feature encoding according to an embodiment of the present disclosure is shown;

[0016] Figure 4A structural block diagram of a content display device according to an embodiment of the present disclosure is shown;

[0017] Figure 5 A structural block diagram of an exemplary electronic device that can be used to implement the embodiments of the present disclosure is shown. Detailed implementation manners

[0018] The following describes exemplary embodiments of the present disclosure with reference to the accompanying drawings. Various details of the embodiments of the present disclosure are included to assist understanding, and they should be considered merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0019] In the present disclosure, unless otherwise specified, the terms "first", "second", etc. are used to describe various elements, and are not intended to limit the positional relationship, timing relationship, or importance relationship of these elements. Such terms are only used to distinguish one element from another. In some examples, the first element and the second element may refer to the same instance of the element, and in certain cases, based on the description of the context, they may also refer to different instances.

[0020] In the description of various examples in the present disclosure, the terms used are only for the purpose of describing specific examples and are not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the element may be one or more. In addition, the term "and / or" used in the present disclosure covers any one of the listed items and all possible combinations.

[0021] In the related art, when consuming content, if a user needs to perform an information search, the user needs to jump to the search interface. The search scenario and the content consumption scenario are completely separated. Therefore, the recommended content displayed on the search result display interface has a low relevance to the content that the user is currently consuming, and the accuracy of the recommended content is low, which is difficult to meet the user's expectations and affects the user experience.

[0022] Embodiments of the present disclosure provide a content display method. In a content consumption scenario, in response to a user performing a first operation on a first target content in the first content currently displayed, information search is performed based on the first target content. While obtaining at least one first search result, information recommendation is performed based on the first content currently displayed on the interface to obtain at least one first recommended content, and the first search result and the first recommended content are displayed simultaneously. Thus, when performing information search in a content consumption scenario, while providing search results for the user, more accurate recommended content that is more relevant to the content that the user is currently consuming can be provided for the user, improving the user experience.

[0023] Embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

[0024] Figure 1 FIG. shows a schematic diagram of an exemplary system 100 in which the various methods and apparatuses described herein can be implemented according to embodiments of the present disclosure. Referring Figure 1 thereto, the system 100 includes one or more client devices 101, 102, 103, 104, 105, and 106, a server 120, and one or more communication networks 110 that couple the one or more client devices to the server 120. The client devices 101, 102, 103, 104, 105, and 106 can be configured to execute one or more applications.

[0025] In an embodiment of the present disclosure, the server 120 can run one or more services or software applications that enable the content display method of the present disclosure to be executed.

[0026] In certain embodiments, the server 120 can also provide other services or software applications, which can include non-virtual environments and virtual environments. In certain embodiments, these services can be provided as web-based services or cloud services, for example, provided to users of the client devices 101, 102, 103, 104, 105, and / or 106 under a software as a service (SaaS) model.

[0027] In Figure 1 the configuration shown, the server 120 can include one or more components that implement the functions performed by the server 120. These components can include software components, hardware components, or a combination thereof that can be executed by one or more processors. Users operating the client devices 101, 102, 103, 104, 105, and / or 106 can in turn utilize one or more client applications to interact with the server 120 to utilize the services provided by these components. It should be understood that various different system configurations are possible, which can be different from the system 100. Therefore, Figure 1 is an example of a system for implementing the various methods described herein and is not intended to be limiting.

[0028] Users can use the client devices 101, 102, 103, 104, 105, and / or 106 to browse page content. The client device can provide an interface that enables the user of the client device to interact with the client device. The client device can also output information to the user via the interface. Although Figure 1 only six client devices are depicted, those skilled in the art will be able to understand that the present disclosure can support any number of client devices.

[0029] Client devices 101, 102, 103, 104, 105, and / or 106 can include various types of computer devices, such as portable handheld devices, general-purpose computers (such as personal computers and laptop computers), workstation computers, wearable devices, smart screen devices, self-service terminal devices, service robots, gaming systems, thin clients, various messaging devices, sensors, or other sensing devices, etc. These computer devices can run various types and versions of software applications and operating systems, such as MICROSOFT Windows, APPLE iOS, UNIX-like operating systems, Linux, or Linux-like operating systems (such as GOOGLE Chrome OS); or include various mobile operating systems, such as MICROSOFT WindowsMobile OS, iOS, Windows Phone, Android. Portable handheld devices can include cellular phones, smartphones, tablets, personal digital assistants (PDAs), etc. Wearable devices can include head-mounted displays (such as smart glasses) and other devices. Gaming systems can include various handheld gaming devices, Internet-enabled gaming devices, etc. Client devices are capable of executing various different applications, such as various Internet-related applications, communication applications (such as email applications), short message service (SMS) applications, and can use various communication protocols.

[0030] Network 110 can be any type of network known to those skilled in the art, which can support data communication using any one of a variety of available protocols (including but not limited to TCP / IP, SNA, IPX, etc.). By way of example only, one or more networks 110 can be a local area network (LAN), an Ethernet-based network, Token Ring, a wide area network (WAN), the Internet, a virtual network, a virtual private network (VPN), an intranet, an extranet, a blockchain network, a public switched telephone network (PSTN), an infrared network, a wireless network (such as Bluetooth, WIFI), and / or any combination of these and / or other networks.

[0031] Server 120 can include one or more general-purpose computers, dedicated server computers (such as PC (personal computer) servers, UNIX servers, midrange servers), blade servers, mainframes, server clusters, or any other suitable arrangement and / or combination. Server 120 can include one or more virtual machines running a virtual operating system, or other computing architectures involving virtualization (such as one or more flexible pools of logical storage devices that can be virtualized to maintain virtual storage devices for the server). In various embodiments, server 120 can run one or more services or software applications that provide the functions described below.

[0032] The computing units in server 120 can run one or more operating systems including any of the above operating systems and any commercially available server operating systems. Server 120 can also run any one of a variety of additional server applications and / or middleware applications, including HTTP servers, FTP servers, CGI servers, JAVA servers, database servers, etc.

[0033] In some embodiments, server 120 can include one or more applications to analyze and combine data feeds and / or event updates received from users of client devices 101, 102, 103, 104, 105, and / or 106. Server 120 can also include one or more applications to display data feeds and / or real-time events via one or more display devices of client devices 101, 102, 103, 104, 105, and / or 106.

[0034] In some embodiments, server 120 can be a server of a distributed system or a server incorporating a blockchain. Server 120 can also be a cloud server or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology. A cloud server is a host product in the cloud computing service system to address the defects of difficult management and weak business scalability existing in traditional physical hosts and virtual private server (VPS) services.

[0035] System 100 can also include one or more databases 130. In certain embodiments, these databases can be used to store data and other information. For example, one or more of databases 130 can be used to store information such as audio files and video files. Databases 130 can reside in various locations. For example, the databases used by server 120 can be local to server 120 or can be remote from server 120 and can communicate with server 120 via a network-based or dedicated connection. Databases 130 can be of different types. In certain embodiments, the databases used by server 120 can be, for example, relational databases. One or more of these databases can store, update, and retrieve data to and from the databases in response to commands.

[0036] In certain embodiments, one or more of databases 130 can also be used by applications to store application data. The databases used by applications can be different types of databases, such as key-value repositories, object repositories, or conventional repositories supported by a file system.

[0037] Figure 1System 100 can be configured and operated in various ways to enable the application of the various methods and apparatuses described in this disclosure.

[0038] According to an embodiment of the present disclosure, as Figure 2 shown, a content display method is provided, including: step S201, in response to receiving a first operation of a user on a first target content in a currently displayed first content, obtaining a plurality of second contents, where the plurality of second contents include at least one first search result and at least one first recommended content, at least one first search result is obtained by performing an information search based on the first target content, and at least one first recommended content is obtained by performing an information recommendation based on the first content; and step S202, presenting the plurality of second contents to the user.

[0039] Thus, in a content consumption scenario, in response to the user performing a first operation on a first target content in a currently displayed first content, an information search is performed based on the first target content to obtain at least one first search result, and at the same time, an information recommendation is performed based on the first content currently displayed on the interface to obtain at least one first recommended content, and the first search result and the first recommended content are presented simultaneously, so that when performing an information search in a content consumption scenario, while providing search results for the user, more accurate and more relevant recommended content for the content that the current user is consuming can be provided for the user, improving the user experience.

[0040] In some embodiments, the above-mentioned first content may be multimedia content of any content type, including but not limited to content types such as images, texts, picture texts, videos, etc.

[0041] In some embodiments, the above-mentioned first content may be content presented by an application program for providing information search and information recommendation services, or may be page content presented by other application programs (such as a landing page or a mini program in a third-party application, etc.).

[0042] In some embodiments, when the user is browsing the first content, that is, when the current target display device (such as a mobile phone display screen or a computer monitor) is displaying the first content, the user can perform a first operation on the first target content in the first content.

[0043] Among them, the first target content may be a part of the first content, such as a certain keyword in the text content, a certain display area in the image, etc., which is not limited herein. The first operation may be, for example, an interaction operation for triggering an information search on the first target content. For example, it may be an operation of clicking on a component that pops up for triggering an information search after selecting or long-pressing the first target content.

[0044] In some embodiments, the first content may include third content and at least one recommended search term associated with the third content, and the first target content may be one of the at least one recommended search term.

[0045] Thus, by simultaneously displaying the content itself consumed by the user (i.e., the third content) and at least one recommended search term associated with the third content, it is possible to further provide the user with recommended search terms and improve the convenience of user operations.

[0046] In some embodiments, the first content may include the content itself consumed by the user (i.e., the third content) and at least one recommended search term associated with the third content. The first target content may be one of the at least one recommended search term, and correspondingly, the first operation may be a click or touch operation on the recommended search term.

[0047] In some embodiments, the at least one recommended search term may be obtained by performing content understanding and extraction on the content of the currently displayed page (i.e., the above-mentioned third content). In some exemplary embodiments, for text content, at least one recommended search term may be obtained by means of text content understanding and keyword extraction. In some exemplary embodiments, for image or video content, the entity name in the image or video may be obtained through image recognition and used as the recommended search term.

[0048] In some embodiments, the display manner of the recommended search term may include but is not limited to a bottom-mounted bar, text content with a highlighted word effect, etc., and no limitation is made here.

[0049] In some embodiments, when the first content only contains the content of the page being browsed by the user, after receiving the first operation of the user on the first target content, information search may be performed based on the first target content to obtain at least one first search result; at the same time, information recommendation related to the first content currently displayed may be performed to obtain at least one first recommended content.

[0050] In some embodiments, when the first content contains the content of the page being browsed by the user (third content) and at least one recommended search term, after receiving the first operation of the user on the first target content, information search may be performed based on the first target content to obtain at least one first search result; at the same time, information recommendation related to the third content currently displayed may be performed to obtain at least one first recommended content.

[0051] In some embodiments, after receiving a user's first operation on a first target content, the client for content display may simultaneously send an information search request for the first target content and an information recommendation request based on the above page content to the server, enabling the server to obtain at least one first search result and at least one first recommended content based on the above requests and send them back to the client for display to the user through the client's display screen.

[0052] In some embodiments, the above at least one first search result and at least one first recommended content may be displayed in a pop-up or jump page, and displayed in the page after the pop-up or jump.

[0053] In some embodiments, the first content may be loaded in a first page container, and multiple second contents may be loaded in a second page container. Displaying multiple second contents to the user may include: while displaying the first content in the first page container, displaying multiple second contents in the second page container.

[0054] In some embodiments, the first content and the second content may also be loaded in different page containers respectively, and in the form of split-screen display or through the way of upper and lower floating layers, so that the two page containers are simultaneously displayed on the client's display screen.

[0055] Thus, by loading the first content and the second content in different page containers respectively, it is realized that while displaying the first content, the second content (i.e., the first search result for the first target content and the first recommended content obtained based on the current first content) is displayed, so that the search function is seamlessly embedded in the user's current operation interface (such as reading, chatting, video playing), and it is realized that information search and recommended content acquisition can be carried out in the content consumption scenario without page jump, further improving the user experience.

[0056] In some embodiments, the client may implement a hybrid rendering architecture of a native container (NativeContainer) and an H5 component through a data protocol issued by the server, and based on the above hybrid rendering architecture, simultaneously display the first page container and the second page container. Among them, the H5 component is a modular functional unit for building a web page or a web application based on the HTML5 standard.

[0057] In some embodiments, the first display size of the second page container may be determined based on the display parameters of the target display device and the content type of the first content.

[0058] Thus, according to the display parameters of the target display device currently applied and the content type of the first content currently displayed, the first display size of the second page container is dynamically adjusted, so as to improve the adaptability of the size of the second page container and improve the user browsing experience.

[0059] In some embodiments, the target display device may be a screen-equipped client such as a mobile phone or a tablet computer, or a monitor connected to a computer. The display parameters may include parameters related to display, including but not limited to screen resolution, pixel density, screen size, etc.

[0060] In some embodiments, the content type may include but not limited to content types such as images, texts, videos, and picture texts.

[0061] In some embodiments, the determination of the first display size may include: obtaining a display weight corresponding to the display parameters and the content type in a preset device feature database based on the display parameters and the content type; and determining the first display size of the second page container based on the display weight and the second display size of the target display device.

[0062] In some embodiments, a device feature database may be pre-constructed, which may include display parameters of common display devices, common content types, and display weights corresponding to the above two. Among them, the display weights stored in the device feature database may be determined based on the analysis of the collected user behavior data. For example, by setting multiple candidate weights for the same display parameters and content types, and collecting user behavior feedback (such as click-through rate, dwell time, etc.) of users for different candidate weights through A / B testing, analyzing and determining the candidate weight that users prefer more for the display parameters and content types, and using it as the display weight stored in the device feature database.

[0063] In some embodiments, when the client sends a search request, it may synchronously upload the display parameters of the target display device and the content type of the current displayed content. After the server obtains the display weight corresponding to the current display parameters and content type in the preset device feature database, it feeds back the display weight to the client. Subsequently, the client may determine the first display size of the second page container by multiplying the display weight by the second display size of the target display device.

[0064] Thus, by storing the display parameters of each display device and the corresponding relationship between each content type and the display weight in the device feature database, the display size of the current second page container can be determined more efficiently.

[0065] In some embodiments, the first display size of the second page container may be determined based on the display parameters of the target display device, the content type of the first content, and the collected historical behavior data of the user. In some exemplary embodiments, the display parameters of the target display device, the content type of the first content, and the historical behavior data may be input into a trained neural network, so that the neural network predicts, based on the input information, the display size that the user prefers more for the current display parameters and the content type of the first content. Thereby, while achieving an accurate determination of the display size of the second page container, the display size can be adjusted in real time based on the user behavior data, further optimizing the user experience.

[0066] In some embodiments, the above content display method may further include: in response to receiving a second operation by the user on any one of the plurality of second contents, adjusting the display size of the second page container to a third display size, where the third display size is larger than the second display size.

[0067] In some embodiments, the second operation may be an interaction operation that can reflect the user's strong demand for a certain second content, including but not limited to operations such as clicking to expand a certain second content, liking a certain second content, and commenting on a certain second content.

[0068] After detecting the above second operation on a certain second content, the display size of the second page container may be further adjusted to a larger third display size.

[0069] In some exemplary embodiments, when the user is performing normal browsing on the second content in the second page container (such as swiping up and down multiple second contents), the display size of the second page container may not be adjusted, so as to display the first content in the first page container and the second content in the second page container on the target display device at the same time; in response to receiving a second operation by the user on a certain second content, the second page container may be automatically adjusted to full-screen display.

[0070] Thereby, when receiving a second operation by the user on the second content in the second page container (such as strong demand operations such as clicking and gesture browsing), the display size of the second page container is expanded, so as to judge the user's browsing demand for the second content according to the user's real-time operation, and then adjust the display size of the second page container in real time according to the browsing demand, further enhancing the user's browsing experience.

[0071] In some embodiments, in response to a user's operation on the content in the second page container, the browsing progress of the user for multiple second contents can be recognized in real time. When it is determined that the user has browsed all the second contents (for example, multiple second contents have been scrolled up to the bottom) and the user is still performing a scroll-up operation, the current displayed content in the second page container can be fixed, and the second page container can be moved according to the user's gesture direction. Thus, while meeting the user's personalized needs and optimizing the user experience, the convenience of operation can be further improved.

[0072] In some embodiments, the above content display method may further include: hiding the second page container in response to receiving a third operation of the user on the current displayed content in the first page container.

[0073] Thus, when receiving a third operation of the user on the current displayed content in the first page container (such as a strong demand operation like clicking or gesture browsing), the second page container is automatically hidden, so as to judge the user's browsing demand for the current content according to the user's real-time operation, and then adjust the display of the page container in real time according to the browsing demand, further improving the user's browsing experience.

[0074] In some embodiments, the above content display method may further include: in response to receiving a fourth operation that hides the second page container, obtaining at least one second recommended content based on the user behavior data and the current displayed content in the first page container to update at least one first recommended content, where the user behavior data includes the interaction behavior information of the user for each of the multiple second contents.

[0075] Thus, in response to receiving a fourth operation of the user that hides the second page container, a recommended content update request is automatically sent in the background, and the second recommended content is obtained based on the interaction behavior information of the user for each second content and the content being displayed in the first page container. Therefore, the subsequent recommended content can be dynamically adjusted based on the user's real-time interaction feedback and the real-time updated displayed content in the first page container, further improving the accuracy of the recommended content and the user experience.

[0076] In some embodiments, during the process of the user browsing the second content in the second page container, the user's behavior data can be recorded. The user behavior data may include, but is not limited to, the residence time for each second content, whether there is a click-through event, the consumption time, whether there is a sliding event, the sliding speed, the adjustment of the playing progress for video content, and other interaction behavior information.

[0077] In some embodiments, the fourth operation may be an interaction operation that hides the second page container. For example, it may include the third operation described above, or an interaction operation of clicking the close button or the collapse button of the second page container, or an operation where the user drags the second page container at a speed higher than a certain threshold, which is not limited herein.

[0078] In some embodiments, after receiving the above fourth operation of the user, the client may, while hiding the second page container, upload the above user behavior data, the current display content in the first page container, and the recommendation content update request to the server at the same time. After receiving the above request, the server obtains at least one second recommended content based on the current display content and the user behavior data as the updated recommended content.

[0079] In some embodiments, the current display content may be the same as the above first content or different from the above first content. For example, if the first content is video content and the video content continues to play while the user browses the second content, then after the user browses the second content for a certain period of time, the current display content in the first page container is different from the first content initially displayed.

[0080] In the related art, usually when a user searches for the same information twice successively within a short period of time, the displayed search results and recommended content are fixed.

[0081] In some embodiments, the above content display method may further include: in response to receiving a first operation of the user on a second target content in the current display content after the second page container is hidden, displaying the second page container to display at least one second recommended content and at least one second search result corresponding to the second target content in the second page container.

[0082] Thus, when a search is triggered again after hiding the second page container, it is possible to display updated recommended content that better meets the user's expectations and improve the user experience.

[0083] In some embodiments, the second target content may be the same as the first target content. That is, although the user searches for the same target content twice successively, different recommended contents can be obtained, and the recommended content obtained the second time is optimized based on the analysis of user behavior data, which can better meet the user's expectations and improve the user experience.

[0084] In some embodiments, the first content includes a third content and at least one recommended search term associated with the third content, and the first target content is one of the at least one recommended search terms.

[0085] In some embodiments, the above content display method may further include: in response to receiving a fourth operation, obtaining at least one updated recommended search term based on user behavior data and the current displayed content.

[0086] Thus, in response to receiving the fourth operation by the user that hides the second page container, a recommended search term update request is automatically sent in the background, and based on the user's interaction behavior information for each second content and the content being displayed in the first page container, updated search recommended terms are obtained, so that subsequent recommended search terms can be dynamically adjusted based on the user's real-time interaction feedback and the real-time updated displayed content in the first page container, further improving the accuracy of the recommended search terms and enhancing the user experience.

[0087] In some embodiments, after receiving the above fourth operation by the user, the client can, while hiding the second page container, upload the above user behavior data, the current displayed content in the first page container, and the update request for the recommended search term to the server at the same time. After receiving the above request, the server obtains at least one recommended search term based on the current displayed content and the user behavior data as the updated recommended search term.

[0088] In some embodiments, in response to obtaining at least one updated recommended search term, the at least one updated recommended search term can be displayed in the first page container.

[0089] In some embodiments, at least one second recommended content and the at least one updated recommended search term can be obtained through a recommendation model. The above content display method may further include: performing feature encoding on the user behavior data to obtain a user behavior feature encoding; and performing feature encoding on the current displayed content to obtain a content feature encoding; and wherein, the recommendation model can be configured to obtain target recommendation information from a recommendation candidate set based on the input user behavior feature encoding and content feature encoding, where the target recommendation information includes at least one of the at least one second recommended content and the at least one updated recommended search term.

[0090] Thus, by applying the recommendation model, a comprehensive analysis of the user behavior data and the current displayed content is performed, so that more accurate second recommended content and recommended search terms can be obtained.

[0091] In some embodiments, the obtaining of the at least one second recommended content and the at least one updated recommended search term can be implemented based on the same recommendation model or different recommendation models, which is not limited herein.

[0092] In some embodiments, the candidate set for obtaining the second recommended content and the candidate set for obtaining the recommended search terms may be the same recommended candidate set, and the recommended candidate set may include multiple candidate recommended contents and multiple candidate recommended search terms.

[0093] In some embodiments, the candidate set for obtaining the second recommended content and the candidate set for obtaining the recommended search terms may also be different recommended candidate sets. Among them, the candidate set for obtaining the second recommended content may include multiple candidate recommended contents, and the candidate set for obtaining the recommended search terms may include multiple candidate recommended search terms, where the multiple candidate recommended search terms may be extracted from the current displayed content and / or historical recommended contents.

[0094] In some embodiments, the user behavior data further includes the interaction behavior information of the user with respect to the historical displayed content in the second page container.

[0095] Thus, by recording the historical interaction behavior information in the historical displayed content in the second page container, the user preferences can be obtained more accurately. Introducing it into information recommendation can obtain more accurate target recommendation information that better meets the user's expectations.

[0096] In some embodiments, as Figure 3 shown, performing feature encoding on the user behavior data to obtain the user behavior feature encoding may include: Step S301, in response to the user behavior data including first behavior data and at least one second behavior data, respectively performing feature encoding on each of the first behavior data and the at least one second behavior data, and correspondingly obtaining a first behavior feature encoding and at least one second behavior feature encoding, where the first behavior data is the interaction behavior information of the user with respect to each third content in multiple second contents, and each second behavior data in the at least one second behavior data is the interaction behavior information of the user with respect to the historical displayed content of each display in the second page container; Step S302, based on the duration from the recording time of each second behavior data in the at least one second behavior data to the current time, determining the weight of each second behavior data, where the weight is negatively correlated with the duration; and Step S303, based on the first behavior feature encoding, the at least one second behavior feature encoding, and the weight of each second behavior data in the at least one second behavior data, obtaining the user behavior feature encoding.

[0097] In some embodiments, the corresponding weight of each second behavior data with different durations from the recording time to the current time may be determined by setting a time decay coefficient. For example, the weight corresponding to the current time is 1, and through the time decay coefficient, when the above-mentioned duration increases by a preset duration, the weight decays by a preset value.

[0098] In some embodiments, different time decay coefficients can be set for different device types. For example, the preset duration corresponding to clients of types such as mobile phones and tablets can be 15 minutes, and the preset duration corresponding to clients such as computers can be 1 hour.

[0099] In some embodiments, by constructing a streaming training pipeline, real-time processing of user behavior data and real-time update of user behavior feature encoding can be achieved.

[0100] Thus, based on determining the weight of the second behavior data according to the recording time of the second behavior data, the feature information of the user behavior feature in the time dimension can be further introduced and introduced into information recommendation, and more accurate and more user-expected target recommendation information can be obtained.

[0101] In some embodiments, the above recommendation model can be trained based on multiple sample data. Among them, each sample data includes sample user behavior data, sample page content, sample recommended content, and sample tags, where the sample tags can be used to indicate the preferences of the sample user for the sample recommended content.

[0102] In some embodiments, during the application process of the above recommendation model, the preferences of the user for each recommended content can be determined based on the user behavior data, and then multiple sample data can be sorted out. At the same time, one or more negative sample data can be generated through a generative adversarial network based on the positive sample data (i.e., the recommended content that receives positive feedback from the user), and the above recommendation model can be further trained based on the newly added sample data, so as to further improve the robustness of the recommendation model and the accuracy of content recommendation.

[0103] In some embodiments, one or more recommended contents or recommended search terms that the user prefers more (such as those with a high click-through rate) can be determined based on the already pushed recommended contents and user behavior data, and the semantic vector of the above recommended information can be obtained. More recommended information with a higher semantic relevance can be recalled according to the obtained semantic vector to expand the recommendation candidate set, so as to provide the user with richer recommended contents and recommended search terms and further improve the user experience.

[0104] In some embodiments, such as Figure 4As shown, a content display device 400 is provided, including: an acquisition unit 410 configured to, in response to receiving a first operation of a user on a first target content in a currently displayed first content, acquire a plurality of second contents, where the plurality of second contents includes at least one first search result and at least one first recommended content, at least one first search result is obtained by performing an information search based on the first target content, and at least one first recommended content is obtained by performing an information recommendation based on the first content; and a display unit 420 configured to display the plurality of second contents to the user.

[0105] Among them, the operations performed by the acquisition unit 410 and the display unit 420 in the content display device 400 and the technical effects that can be achieved are similar to steps S201 to S202 in the content display method described above, and will not be elaborated here.

[0106] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision, and disclosure of the user's personal information and other processing all comply with the provisions of relevant laws and regulations and do not violate public order and good customs.

[0107] According to an embodiment of the present disclosure, an electronic device, a readable storage medium, and a computer program product are also provided.

[0108] Reference Figure 5 , the structural block diagram of an electronic device 500 that can be used as a server or a client of the present disclosure will now be described. It is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, a personal digital processor, a cellular phone, a smart phone, a wearable device, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0109] As Figure 5 shown, the electronic device 500 includes a computing unit 501, which can execute various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0110] Multiple components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, an output unit 507, a storage unit 508, and a communication unit 509. The input unit 506 can be any type of device capable of inputting information into the electronic device 500. The input unit 506 can receive input digital or character information, and generate key signal inputs related to the user settings and / or function controls of the electronic device, and can include but are not limited to a mouse, a keyboard, a touch screen, a trackpad, a trackball, a joystick, a microphone, and / or a remote control. The output unit 507 can be any type of device capable of presenting information, and can include but are not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 508 can include but are not limited to a magnetic disk and an optical disk. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and can include but are not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth device, an 802.11 device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0111] The computing unit 501 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 501 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 501 executes the various methods and processes described above, such as the content display method of the present disclosure. For example, in some embodiments, the content display method of the present disclosure can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 508. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the content display method of the present disclosure described above can be executed. Alternatively, in other embodiments, the computing unit 501 can be configured to execute the content display method of the present disclosure by any other suitable means (e.g., by means of firmware).

[0112] The various embodiments of the systems and techniques described above in this specification can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from, and transmits data and instructions to, a storage system, at least one input device, and at least one output device.

[0113] The program code for implementing the methods of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing device, such that the program codes, when executed by the processor or controller, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine, or entirely on the remote machine or server.

[0114] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0115] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can also be used to provide for interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, speech input, or tactile input).

[0116] The systems and techniques described here can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described here), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0117] A computer system can include a client and a server. The client and the server are generally remote from each other and typically interact through a communication network. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, a server of a distributed system, or a server incorporating a blockchain.

[0118] It should be understood that various forms of the processes shown above can be used, steps can be reordered, added, or deleted. For example, the steps recited in this disclosure can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this is not limited herein.

[0119] Although embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it should be understood that the above methods, systems, and devices are merely exemplary embodiments or examples, and the scope of the present invention is not limited by these embodiments or examples, but is only defined by the claims after authorization and their equivalent scope. Various elements in the embodiments or examples may be omitted or replaced by their equivalent elements. In addition, the steps may be executed in an order different from that described in the present disclosure. Further, the various elements in the embodiments or examples may be combined in various ways. Importantly, with the evolution of technology, many of the elements described herein may be replaced by equivalent elements that emerge after the present disclosure.

Claims

1. A content display method, comprising: Upon receiving a first operation by the user on a first target content in the currently displayed first content, obtaining a plurality of second contents, wherein the plurality of second contents includes at least one first search result and at least one first recommended content, the at least one first search result is obtained by performing an information search based on the first target content, and the at least one first recommended content is obtained by performing an information recommendation based on the first content; and Displaying the plurality of second contents to the user.

2. According to claim 1 or the method described above, wherein, The first content is loaded in a first page container, and the plurality of second contents are loaded in a second page container. Displaying the plurality of second contents to the user includes: While displaying the first content in the first page container, displaying the plurality of second contents in the second page container.

3. The method according to claim 2, wherein A first display size of the second page container is determined based on display parameters of a target display device and a content type of the first content.

4. The method according to claim 3, wherein, Determination of the first display size includes: Based on the display parameters and the content type, obtaining a display weight corresponding to the display parameters and the content type in a preset device feature database; and Based on the display weight and a second display size of the target display device, determining the first display size of the second page container.

5. The method according to claim 4, further comprising: Upon receiving a second operation by the user on any one of the plurality of second contents, adjusting a display size of the second page container to a third display size, wherein the third display size is greater than the second display size.

6. The method according to any one of claims 2 to 5, further comprising: Upon receiving a third operation by the user on the currently displayed content in the first page container, hiding the second page container.

7. The method according to any one of claims 2 to 6, further comprising: Upon receiving a fourth operation that hides the second page container, obtaining at least one second recommended content based on user behavior data and the currently displayed content in the first page container to update the at least one first recommended content, wherein the user behavior data includes interaction behavior information of the user on each of the plurality of second contents.

8. The method according to claim 7, further comprising: Upon receiving a first operation by the user on a second target content in the currently displayed content after the second page container is hidden, displaying the second page container to display the at least one second recommended content and at least one second search result corresponding to the second target content in the second page container.

9. The method according to claim 8, wherein The first content includes a third content and at least one recommended search term associated with the third content, and the first target content is one of the at least one recommended search terms.

10. The method according to claim 9, further comprising: Upon receiving the fourth operation, obtaining updated at least one recommended search term based on the user behavior data and the currently displayed content.

11. The method according to claim 10, wherein, The at least one second recommended content and the updated at least one recommended search term can be obtained through a recommendation model, and the method further includes: Performing feature encoding on the user behavior data to obtain user behavior feature encoding; and Performing feature encoding on the current displayed content to obtain content feature encoding; and wherein, The recommendation model is configured to obtain target recommendation information from a recommendation candidate set based on the input user behavior feature encoding and the content feature encoding, where the target recommendation information includes at least one of the at least one second recommended content and the updated at least one recommended search term.

12. The method according to claim 11, wherein, The user behavior data further includes the user's interaction behavior information for the historical displayed content in the second page container.

13. The method according to claim 12, wherein, The performing feature encoding on the user behavior data to obtain user behavior feature encoding includes: In response to the user behavior data including first behavior data and at least one second behavior data, performing feature encoding on each of the first behavior data and the at least one second behavior data respectively to obtain first behavior feature encoding and at least one second behavior feature encoding, where the first behavior data is the user's interaction behavior information for each third content among the multiple second contents, and each second behavior data in the at least one second behavior data is the user's interaction behavior information for the historical displayed content of each display in the second page container; Determining the weight of each second behavior data based on the duration from the recording time of each second behavior data in the at least one second behavior data to the current time, where the weight is negatively correlated with the duration; and Obtaining the user behavior feature encoding based on the first behavior feature encoding, the at least one second behavior feature encoding, and the weight of each second behavior data in the at least one second behavior data.

14. A content display device, comprising: An acquisition unit configured to, in response to receiving a first operation of the user on a first target content in the currently displayed first content, acquire multiple second contents, where the multiple second contents include at least one first search result and at least one first recommended content, the at least one first search result is obtained by performing information search based on the first target content, and the at least one first recommended content is obtained by performing information recommendation based on the first content; and A display unit configured to display the multiple second contents to the user.

15. An electronic device, comprising: At least one processor; And A memory communicatively connected to the at least one processor; Wherein The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1-13.

16. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause a computer to execute the method according to any one of claims 1-13.

17. A computer program product, comprising a computer program, wherein, The computer program, when executed by a processor, implements the method according to any one of claims 1-13.