Content display method and device, medium and equipment
By displaying weather information in the video container of the video playback interface, the problem of insufficient convenience of existing weather applications is solved, and the convenience and user experience of users to obtain weather information are improved.
Patent Information
- Application Number
- CN202411795304.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-03-18
AI Technical Summary
Existing weather applications are not convenient for users to obtain weather information, which affects the user experience.
Display weather information in the video container of the video playback interface. By obtaining weather data and generating display content, it improves the convenience of users to obtain weather information.
By displaying weather information in the video playback interface, it improves the convenience of users to obtain weather information and improves the user experience.
Smart Images

Figure CN119646310A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, in particular to the field of information recommendation and video recommendation technology, and specifically to a content display method, device, electronic device, computer-readable storage medium and computer program product. Background Art
[0002] At present, weather applications have become an indispensable tool in modern life, and their current status is reflected in the diversification of functions and the continuous optimization of user experience. They not only provide real-time weather information, such as basic parameters such as temperature, humidity, and wind speed, but also integrate diversified information such as air quality index, ultraviolet intensity, and life index to meet the needs of users in different scenarios.
[0003] The methods described in this section are not necessarily methods that have been previously conceived or employed. Unless otherwise indicated, it should not be assumed that any method described in this section is considered to be prior art simply because it is included in this section. Similarly, unless otherwise indicated, the issues mentioned in this section should not be considered to have been recognized in any prior art. Summary of the invention
[0004] The present disclosure provides a content display method, device, electronic device, computer-readable storage medium, and computer program product.
[0005] According to one aspect of the present disclosure, a content display method is provided, including: acquiring target data, the target data including weather data; generating target display content based on the target data, the target display content including weather information; and displaying the target display content in a video container of a video playback interface.
[0006] According to another aspect of the present disclosure, a content display device is provided, including: a first acquisition unit, configured to acquire target data, the target data including weather data; a first generation unit, configured to generate target display content based on the target data, the target display content including weather information; and a first display unit, configured to display the target display content in a video container of a video playback interface.
[0007] According to another aspect of the present disclosure, an electronic device is provided, 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 content display method of the present disclosure.
[0008] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the content display method of the present disclosure.
[0009] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein the computer program implements the content presentation method of the present disclosure when executed by a processor.
[0010] According to one or more embodiments of the present disclosure, weather information can be displayed in a video container in a video playback interface, thereby improving the convenience of users in obtaining weather information and improving user experience.
[0011] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended 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 accompanying drawings exemplarily illustrate the embodiments and constitute a part of the specification, and together with the text description of the specification, are used to explain the exemplary implementation of the embodiments. The embodiments shown are for illustrative purposes only and do not limit the scope of the claims. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.
[0013] Figure 1 A schematic diagram showing an exemplary system in which the various methods described herein may be implemented according to an embodiment of the present disclosure;
[0014] Figure 2 A flow chart of a content display method according to an embodiment of the present disclosure is shown;
[0015] Figure 3 A schematic diagram of a video playback interface according to an exemplary embodiment of the present disclosure is shown;
[0016] Figure 4 A 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 DESCRIPTION
[0018] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0019] In the present disclosure, unless otherwise specified, the use of the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, temporal relationship, or importance relationship of these elements, and such terms are only used to distinguish one element from another element. In some examples, the first element and the second element may refer to the same instance of the element, and in some cases, based on the description of the context, they may also refer to different instances.
[0020] The terms used in the description of various examples in this disclosure 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 can be one or more. In addition, the term "and / or" used in this disclosure covers any one of the listed items and all possible combinations.
[0021] The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0022] Figure 1 FIG. 1 is a schematic diagram of an exemplary system 100 in which various methods and apparatuses described herein may be implemented according to an embodiment of the present disclosure. Figure 1 , 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 coupling the one or more client devices to the server 120. The client devices 101, 102, 103, 104, 105, and 106 may be configured to execute one or more applications.
[0023] In an embodiment of the present disclosure, the server 120 may run one or more services or software applications that enable the method of performing video recommendations and presenting weather information in a recommended video stream.
[0024] In some embodiments, server 120 may also provide other services or software applications, which may include non-virtualized environments and virtualized environments. In some embodiments, these services may be provided as web-based services or cloud services, such as provided to users of client devices 101, 102, 103, 104, 105, and / or 106 under a software as a service (SaaS) model.
[0025] exist Figure 1In the configuration shown, the server 120 may include one or more components that implement the functions performed by the server 120. These components may include software components, hardware components, or a combination thereof that can be executed by one or more processors. Users operating client devices 101, 102, 103, 104, 105, and / or 106 may 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 a variety of different system configurations are possible, which may differ from the system 100. Therefore, Figure 1 is one example of a system for implementing the various methods described herein and is not intended to be limiting.
[0026] The user can use client devices 101, 102, 103, 104, 105 and / or 106 to view recommended videos and weather information. 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. Figure 1 Only six client devices are depicted, but one skilled in the art will appreciate that the present disclosure may support any number of client devices.
[0027] Client devices 101, 102, 103, 104, 105 and / or 106 may 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, game systems, thin clients, various messaging devices, sensors or other sensing devices, etc. These computer devices may 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 Windows Mobile OS, iOS, Windows Phone, Android. Portable handheld devices may include cellular phones, smart phones, tablet computers, personal digital assistants (PDAs), etc. Wearable devices may include head-mounted displays (such as smart glasses) and other devices. Game systems may include various handheld game devices, Internet-enabled game 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 may use various communication protocols.
[0028] The network 110 may be any type of network known to those skilled in the art that may support data communications using any of a variety of available protocols, including but not limited to TCP / IP, SNA, IPX, etc. By way of example only, the one or more networks 110 may be a local area network (LAN), an Ethernet-based network, a 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 (e.g., Bluetooth, WIFI), and / or any combination of these and / or other networks.
[0029] Server 120 may include one or more general purpose computers, dedicated server computers (e.g., PC (personal computer) servers, UNIX servers, mid-range servers), blade servers, mainframe computers, server clusters, or any other suitable arrangement and / or combination. Server 120 may include one or more virtual machines running virtual operating systems, or other computing architectures involving virtualization (e.g., one or more flexible pools of logical storage devices that may be virtualized to maintain a server's virtual storage device). In various embodiments, server 120 may run one or more services or software applications that provide the functionality described below.
[0030] The computing units in the server 120 may run one or more operating systems including any of the above operating systems and any commercially available server operating systems. The server 120 may also run any of a variety of additional server applications and / or middle-tier applications, including HTTP servers, FTP servers, CGI servers, JAVA servers, database servers, etc.
[0031] In some implementations, server 120 may include one or more applications to analyze and consolidate data feeds and / or event updates received from users of client devices 101, 102, 103, 104, 105, and / or 106. Server 120 may 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.
[0032] In some embodiments, the server 120 may be a server of a distributed system, or a server combined with a blockchain. The server 120 may 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 a cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private servers (VPS) services.
[0033] The system 100 may also include one or more databases 130. In some embodiments, these databases may be used to store data and other information. For example, one or more of the databases 130 may be used to store information such as audio files and video files. The databases 130 may reside in various locations. For example, the database used by the server 120 may be local to the server 120, or may be remote from the server 120 and may communicate with the server 120 via a network-based or dedicated connection. The databases 130 may be of different types. In some embodiments, the databases used by the server 120 may be, for example, relational databases. One or more of these databases may store, update, and retrieve data to and from the databases in response to commands.
[0034] In some embodiments, one or more of the databases 130 may also be used by applications to store application data. The databases used by the applications may be different types of databases, such as a key-value store, an object store, or a conventional store backed by a file system.
[0035] Figure 1 The system 100 may be configured and operated in various ways to enable the application of various methods and apparatuses described in the present disclosure.
[0036] According to the embodiments of the present disclosure, Figure 2 As shown, a content display method is provided, including: step S201, obtaining target data, the target data including weather data; step S202, generating target display content based on the target data, the target display content including weather information; and step S203, displaying the target display content in a video container of a video playback interface.
[0037] Therefore, by displaying weather information in the video container in the video playback interface, the convenience for users to obtain weather information is improved, thereby improving the user experience.
[0038] In some embodiments, the content display method of the embodiments of the present disclosure may be used in any application with a video playback function (eg, a video recommendation application).
[0039] In some embodiments, the target data may include weather data, such as data including but not limited to the current and future weather, temperature, humidity, wind speed, air quality index, ultraviolet intensity, etc. in the user's area.
[0040] In response to acquiring the weather data, target display content for displaying weather information can be generated based on the weather data. In some embodiments, the target display content can be structured weather information, for example, the weather conditions in the current and future period can be displayed through corresponding weather icons, and the temperature conditions in the future period can be displayed through a line graph.
[0041] After the target display content is generated, the target display content can be displayed in the video container in the video playback interface. In some embodiments, when the video is being played in the video container, the target display content can be displayed in the upper layer of a preset area in the video screen. Thus, by displaying weather information in the video container in the video playback interface, the convenience of users obtaining weather information can be improved, and the user experience can be improved.
[0042] In some embodiments, the weather data may be derived from one or more weather data public platforms. In some embodiments, in response to detecting that the weather data in the platform has changed, the weather data may be re-acquired, and the target display content may be generated according to the latest weather data.
[0043] In some embodiments, after obtaining the weather data, the weather data may first be cleaned and normalized. In some exemplary embodiments, Python libraries (such as Pandas, NumPy) may be used to perform automated data cleaning and normalization, or preprocessing modules in machine learning frameworks (such as scikit-learn) may be used to perform data normalization.
[0044] In some embodiments, corresponding weather icons can be recalled based on standardized weather data. For example, weather data (such as temperature, humidity, wind speed, precipitation, etc.) can be classified to obtain weather categories corresponding to the weather data (such as sunny, cloudy, rainy, snowy, windy, etc.), and corresponding icons can be recalled from a preset icon library based on the weather categories, and used as part of the target display content.
[0045] In some embodiments, the above-mentioned content display method may further include: obtaining a recommended video sequence; and wherein, displaying the target display content in the video container of the video playback interface may include: displaying the target display content in the video container during the process of displaying the recommended video sequence.
[0046] In some embodiments, the application that executes the above-mentioned content display method may be a video recommendation application.
[0047] In some embodiments, before displaying the target display content, a recommended video sequence may be obtained first, wherein the recommended video sequence generally includes a plurality of recommended videos arranged in a certain order, i.e., a video recommendation stream. In response to receiving the recommended video sequence, the video may be played in the video container in the video playback interface in the order of arrangement, and in response to the completion of the current video playback or in response to the user performing a video switching operation, the next recommended video may be played.
[0048] In some embodiments, the target display information generated based on weather data can be inserted between the first recommended video and the second recommended video in the recommended video sequence, and the target display information can be displayed in the video container after the first recommended video is finished playing, or in response to the user performing a video switching operation to end the playback of the first recommended video, before displaying the second recommended video.
[0049] Figure 3 A schematic diagram of a video playback interface according to an exemplary embodiment of the present disclosure is shown.
[0050] In some exemplary embodiments, Figure 3 The video playback interface of a video recommendation application is shown, wherein weather information can be displayed in the form of a weather forecast chart in the video container 301, and in response to the user continuing to perform a video switching operation (such as swiping up the interface), the next recommended video can continue to be played.
[0051] Therefore, by inserting and displaying weather information in the middle of the video stream in the video recommendation scenario, the convenience of users in obtaining weather information can be improved.
[0052] In some embodiments, in the process of displaying a recommended video sequence, displaying target display content in a video container may include: determining an insertion position of the target display content in the recommended video sequence based on first information, the first information including at least one of the following: user age and user operation data on historical display content; and based on the insertion position, displaying the target display content in the video container in the process of displaying the recommended video sequence.
[0053] Therefore, the insertion position of the weather information in the video recommendation stream is determined according to the user's first information, and personalized information is pushed to the user to improve the user experience.
[0054] In some embodiments, the first information may include at least one of the user's age and operation data for historical display content (including historical weather information) (such as viewing time and whether to like, collect or share, etc.). In some embodiments, the first information may also include other user profile information, such as gender, interests and hobbies, operation data for historical recommended videos, etc.
[0055] It should be noted that users are aware of and authorized the acquisition and use of the above-mentioned user information and operation data.
[0056] In some embodiments, a trained prediction model can be used to determine the insertion position of the weather information in the recommended video sequence based on the first information. In some exemplary embodiments, the first information, weather information, and description information of each recommended video in the recommended video sequence can be input into the model to obtain the insertion position of the weather information predicted by the model. The model can be trained based on sample first information, sample weather information, sample recommended video sequence, and insertion position label.
[0057] By predicting the insertion position through the model, the insertion position can be determined by comprehensively considering the user's first information and the specific weather conditions. When the weather is relatively bad in the future, the target display content will be inserted at a front position in the sequence so that the user can more easily view the weather information; when the weather is relatively stable in the future and the first information reflects that the user does not like to be disturbed by weather information (for example, historical interaction data shows that the user will quickly swipe away the weather information), the target display content can be inserted at a back position in the sequence to avoid excessive disturbance to the user.
[0058] In some embodiments, the display frequency of weather information can also be determined based on the first information. In some exemplary embodiments, when the first information reflects that the user does not like to be disturbed by weather information, a time interval can be set and weather information can be displayed only once in the same time interval to avoid excessive disturbance to the user.
[0059] In some embodiments, determining the insertion position of the target display content in the recommended video sequence based on the first information may include: determining the insertion position based on the first information and the priority of weather information in the target display content.
[0060] In some embodiments, when determining the insertion position, the priority of the weather information can first be determined based on the weather data. For example, in response to detecting that the weather data contains meteorological warning information, or in response to detecting that the change in the numerical value of certain weather data (such as rainfall, temperature, wind level, etc.) exceeds a preset threshold, the priority of the weather information is determined to be high priority; otherwise, the priority of the weather information is determined to be low priority.
[0061] In response to the weather information having a high priority, it can be displayed at a preset position in the recommended video sequence (e.g., the first position in the sequence or after 1 to 2 recommended videos), so that the weather information can be pushed with priority, making it easier for users to obtain the information and improving the user experience. In response to the weather information having a high priority, the above method can be applied to determine the insertion position based on the first information.
[0062] In some embodiments, generating target display content based on target data may include: determining a target display mode of weather data based on second information, the target display mode including any of the following: weather forecast charts, virtual human broadcast videos, or weather animations, the second information including at least one of the following: user age and user operation data for historical display content; and generating target display content based on the target display mode and weather data.
[0063] In some embodiments, the second information may include at least one of the user's age and operation data for historical display content (including historical weather information) (such as viewing time and whether to like, collect or share, etc.). In some embodiments, the second information may also include other user profile information, such as gender, interests and hobbies, operation data for historical recommended videos, etc.
[0064] It should be noted that users are aware of and authorized the acquisition and use of the above-mentioned user information and operation data.
[0065] In some embodiments, the display mode of weather data preferred by different users (i.e., target display mode) can be determined based on the second information of different users. For example, for young and middle-aged users, animation broadcast content (i.e., weather animation) based on real-time weather data can be generated to display changes in weather elements such as clouds and air index; for the elderly, virtual digital human technology can be used to generate weather forecast broadcast videos, thereby improving the convenience of the elderly in obtaining weather information through voice broadcast.
[0066] In some embodiments, the user's age and the user's operation data for weather information with different display modes pushed to the user in history may be combined to determine the display mode of weather data that the user prefers more. For example, a trained prediction model may be used to determine the display mode of weather data based on the user's age and the user's operation data for historical display content. The model may be trained based on the sample second information and the display mode label.
[0067] In some embodiments, the generation of the above-mentioned weather animation may include: presetting multiple display elements (such as the sun, trees, etc.) in the animation picture, each display element corresponds to multiple animation effects corresponding to weather parameters, inputting various weather parameters in real-time weather data, determining the animation effect of each display element based on the parameter value of each weather parameter, and displaying the corresponding animation effect in the picture (for example, the greater the wind speed, the greater the amplitude of the shaking of the trees in the picture; the sun changes to different heights and directions in the picture with the change of current time, etc.).
[0068] Therefore, the display mode of the weather data is determined according to the second information, and personalized information is pushed to the user to improve the user experience.
[0069] In some embodiments, based on the target data, generating the target display content may also include: based on the second information, determining the first display style of the weather data; based on the first data in the weather data, determining the second display style of the weather data; and wherein, based on the target display mode and weather data, generating the target display content may include: generating the target display content based on the target display mode, the first display style, the second display style and weather data.
[0070] In some embodiments, the first display style may include, for example, the number of display elements in the display content, the layout of the display elements, whether the display elements are interactive, etc. For example, middle-aged and elderly users tend to prefer simplified visual effects, while young users prefer elements with rich details or interactive elements. The user's preferences may be determined based on the user's second information, and the first display style of weather data may be determined based on the user's preferences. Among them, interactive elements may be, for example, elements that can produce corresponding dynamic effects in response to the user's touch or click.
[0071] In some embodiments, the user's age and the user's operation data for weather information with different display styles pushed to the user in the past can be combined to determine the first display style of weather data that the user prefers more. For example, a trained prediction model can be used to determine the first display style of weather data based on the user's age and the user's operation data for historical display content. The model can be trained based on the sample second information and the display style label.
[0072] In some embodiments, based on the first data in the weather data, determining the second display style of the weather data may be based on the first data in the weather data used to represent the weather type, determining the second display style of the weather data. For example, if the weather type is raining, the second display style is determined to be a soothing color style; if the weather type is sunny, the second display style is determined to be a bright color style, and so on.
[0073] In some embodiments, the first data may further include date data, and in response to determining that the current day is a specific date (such as a holiday, solar term, etc.) based on the date data, the second display style may be determined as a style corresponding to the specific date.
[0074] In some embodiments, based on the above-mentioned target display mode, the first display style, the second display style, and various weather data, the most relevant material can be recalled from the preset material library to generate the target display content.
[0075] In some exemplary embodiments, each material in the preset material library may include multiple description information, including but not limited to its corresponding display mode, first display style, second display style, and weather description, etc. Based on the target display mode, the first display style, the second display style, and the semantics of each weather data, based on the element layout in the first display style, the material with the highest semantic similarity can be recalled in the preset material library, and target display content can be generated based on each material.
[0076] It is understandable that when the target presentation mode is a virtual person broadcasting a video, the first presentation style and the second presentation style can be used to guide the generation of the virtual person background image.
[0077] Therefore, the display style of weather data can be determined by combining the user's age, operation data for historical display content, and weather data, thereby further improving the user experience.
[0078] In some embodiments, the target data may include calendar data, and generating target display content based on the target data may include: determining a third display style of the calendar data based on third information, the third information including at least one of the following: user age and user operation data on historical display content; and generating a calendar with a third display style.
[0079] In some embodiments, the third information may include at least one of the user's age and operation data for historical display content (including historical weather information) (such as viewing time and whether to like, collect or share, etc.). In some embodiments, the third information may also include other user profile information, such as gender, interests and hobbies, operation data for historical recommended videos, etc.
[0080] It should be noted that users are aware of and authorized the acquisition and use of the above-mentioned user information and operation data.
[0081] In some embodiments, the target display content may be generated based on calendar data alone, or the target display content integrating weather information and calendar information may be generated based on calendar data and weather data.
[0082] In some embodiments, a third display style of the calendar data may be determined based on the third information. For example, for middle-aged and elderly people who are accustomed to viewing the lunar calendar, the third display style may be determined as the lunar calendar style, and the calendar may be displayed based on the lunar calendar style. For young and middle-aged people, the third display style may be determined as the style of a regular calendar, and the calendar may be displayed based on the regular style.
[0083] In some embodiments, the third display style can be determined by a pre-trained neural network model. In some examples, the third information of the user can be input into the model so that the model analyzes the historical operation data of the user, such as the user's age and the user's calendars with different display styles displayed in history, and predicts the third display style preferred by the user.
[0084] Therefore, by displaying calendar information in a video container and determining the display style of the calendar based on information such as the user's age and the user's operation data on historical display content, the convenience of users obtaining calendar information can be improved, thereby improving the user experience.
[0085] In some embodiments, a function switching component may be provided in the target display content so as to realize switching among weather information, a conventional calendar, and a lunar calendar, thereby improving the convenience of user operation.
[0086] In some embodiments, in response to an update in weather data or the current day being a preset date (such as a holiday, solar term, etc.), in addition to displaying the above-mentioned target display content in the video recommendation stream, a viewing entrance for related content may also be displayed in a preset area in the video recommendation application (for example, the viewing entrance may be displayed at the video shooting entrance or at a function button on the account homepage), thereby further improving the convenience of users in obtaining weather information and calendar information and enhancing the user experience.
[0087] In some embodiments, the above-mentioned content display method may also include: obtaining life advice tags based on target data; and obtaining target recommended videos from a preset video library based on the life advice tags and fourth information, the recommended video sequence including the target recommended video, and the fourth information including the user's operation data on historical recommended videos.
[0088] In some embodiments, a life advice tag can be generated based on at least one of weather data and calendar data. For example, an outdoor hiking activity tag can be generated based on weather data indicating sunny weather, and an activity tag for viewing maple leaves can be generated based on weather data and calendar data. On this basis, based on the life advice tag and the fourth information mentioned above, target recommended videos corresponding to the life advice tag that meet user preferences can be recalled from the preset video library and placed in the recommended video stream as one of the recommended videos.
[0089] Therefore, based on at least one of the weather data and the calendar data, life advice tags are obtained, and then recommended videos are recalled based on the life advice tags and the user's operation data on historical recommended videos, thereby further improving the richness of recommended videos and enhancing user experience.
[0090] In some embodiments, the insertion position of the target recommended video may be further determined based on the user's operation data on the historical recommended videos and other user information (eg, age, gender, interests, etc.).
[0091] It should be noted that users are aware of and authorized the acquisition and use of the above-mentioned user information and operation data.
[0092] In some embodiments, a pre-trained sorting model can be used to comprehensively reorder recommended videos recalled based on user portraits, recommended videos recalled based on life advice tags and user operation data on historical recommended videos, and target display content, based on user age and user operation data on historical recommended videos and historical display content, as well as information in each video and display content, to obtain an updated sequence, and based on the updated sequence, the above-mentioned videos and content are displayed, thereby further improving the user experience.
[0093] In some embodiments, personalized recommendations can be achieved by analyzing the user's historical interaction data; for example, for users who prefer lunar calendar content, more recommended videos recalled based on life advice tags in the lunar calendar can be pushed; for young users, more recommended videos corresponding to life advice tags related to weather data can be pushed.
[0094] In some embodiments, the weather information and calendar information may also be pushed to the user periodically or in real time in response to the user's subscription, thereby further improving the user experience.
[0095] In some embodiments, Figure 4 As shown, a content display device 400 is provided, including: a first acquisition unit 410, configured to acquire target data, the target data including weather data; a first generation unit 420, configured to generate target display content based on the target data, the target display content including weather information; and a first display unit 430, configured to display the target display content in a video container of a video playback interface.
[0096] The operations performed by units 410 to 430 in the content display device 400 and the effects that can be achieved are similar to steps S201 to S203 in the above-mentioned content display method, and are not described in detail here.
[0097] In some embodiments, the above-mentioned content display device may also include: a second acquisition unit configured to acquire a recommended video sequence; and wherein the first display unit may be further configured to: display the target display content in the video container during the display of the recommended video sequence.
[0098] In some embodiments, the first display unit is further configured to: determine an insertion position of the target display content in the recommended video sequence based on first information, the first information including at least one of the following: user age and user operation data on historical display content; and based on the insertion position, display the target display content in the video container during the display of the recommended video sequence.
[0099] In some embodiments, determining the insertion position of the target display content in the recommended video sequence based on the first information includes: determining the insertion position based on the first information and the priority of weather information in the target display content.
[0100] In some embodiments, the first generation unit includes: a first determination subunit, configured to determine a target display mode of weather data based on second information, the target display mode including any one of the following: weather forecast chart, virtual human broadcast video or weather animation, the second information including at least one of the following: user age and user operation data for historical display content; and a first generation subunit, configured to generate target display content based on the target display mode and weather data.
[0101] In some embodiments, the first generation unit also includes: a second determination subunit, configured to determine a first display style of weather data based on second information; a third determination subunit, configured to determine a second display style of weather data based on first data in the weather data; and wherein the first generation subunit is further configured to: generate target display content based on the target display mode, the first display style, the second display style and weather data.
[0102] In some embodiments, the target data includes calendar data, and the first generating unit includes: a fourth determining subunit, configured to determine a third display style of the calendar data based on third information, the third information including at least one of: user age and user operation data on historical display content; and a second generating subunit, configured to generate a calendar with a third display style.
[0103] In some embodiments, the above-mentioned content display device may also include: a second acquisition unit, configured to acquire a life advice tag based on the target data; and a third acquisition unit, configured to acquire a target recommended video from a preset video library based on the life advice tag and fourth information, the recommended video sequence includes the target recommended video, and the fourth information includes the user's operation data on the historical recommended video.
[0104] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0105] According to an embodiment of the present disclosure, an electronic device, a readable storage medium and a computer program product are also provided.
[0106] refer to Figure 5 , a block diagram of an electronic device 500 that can be used as a server or client of the present disclosure will now be described, which 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 laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, 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 required herein.
[0107] like Figure 5 As shown, the electronic device 500 includes a computing unit 501, which can perform 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 via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0108] 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 that can input information to the electronic device 500. The input unit 506 can receive input digital or character information and generate key signal input related to user settings and / or function control of the electronic device, and can include but is not limited to a mouse, a keyboard, a touch screen, a track pad, a track ball, a joystick, a microphone, and / or a remote controller. The output unit 507 can be any type of device that can present information, and can include but is 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 is not limited to a disk, 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 is 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.
[0109] The computing unit 501 may be a variety of general and / or special 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, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as the content display method described above. For example, in some embodiments, the content display method described above may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on 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 described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the content display method described above in any other appropriate manner (e.g., by means of firmware).
[0110] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0111] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0112] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0113] To provide interaction with a user, the systems and techniques described herein 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 pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide 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, voice input, or tactile input).
[0114] The systems and techniques described herein may 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 with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may 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.
[0115] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0116] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be performed 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 document is not limited here.
[0117] Although the embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it should be understood that the above-mentioned 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 only by the claims after authorization and their equivalent scope. Various elements in the embodiments or examples can be omitted or replaced by their equivalent elements. In addition, each step can be performed in an order different from that described in the present disclosure. Further, the various elements in the embodiments or examples can be combined in various ways. It is important that with the evolution of technology, many elements described herein can be replaced by equivalent elements that appear after the present disclosure.
Claims
1. A content display method, comprising: Acquiring target data, wherein the target data includes weather data; Based on the target data, generating target display content, the target display content includes weather information; as well as The target display content is displayed in a video container of a video playback interface.
2. The method according to claim 1, further comprising: Obtain recommended video sequences; And among them, The displaying of the target display content in the video container of the video playback interface includes: In the process of displaying the recommended video sequence, the target display content is displayed in the video container.
3. The method according to claim 2, wherein: In the process of displaying the recommended video sequence, displaying the target display content in the video container includes: Determining an insertion position of the target display content in the recommended video sequence based on first information, wherein the first information includes at least one of the following: user age and user operation data on historical display content; and Based on the insertion position, the target presentation content is presented in the video container during presentation of the recommended video sequence.
4. The method according to claim 3, wherein: The step of determining, based on the first information, an insertion position of the target display content in the recommended video sequence comprises: The insertion position is determined based on the first information and the priority of the weather information in the target presentation content.
5. The method according to any one of claims 2 to 4, wherein: The generating target display content based on the target data includes: Determining a target display mode of the weather data based on the second information, the target display mode including any one of the following: a weather forecast chart, a virtual person broadcasting video, or a weather animation, the second information including at least one of the following: a user age and user operation data for historical display content; and The target display content is generated based on the target display mode and the weather data.
6. The method according to claim 5, wherein: The generating target display content based on the target data further includes: Based on the second information, determining a first display style of the weather data; Based on the first data in the weather data, a second display style of the weather data is determined; and wherein, The generating the target display content based on the target display mode and the weather data includes: The target display content is generated based on the target display mode, the first display style, the second display style, and the weather data.
7. The method according to any one of claims 2 to 6, wherein: The target data includes calendar data, and generating target display content based on the target data includes: Determining a third presentation style of the calendar data based on third information, the third information comprising at least one of the following: user age and user operation data on historical presentation content; and A calendar in the third display style is generated.
8. The method according to any one of claims 2 to 7, further comprising: Based on the target data, obtain a life suggestion tag; as well as Based on the life advice tag and the fourth information, a target recommended video is obtained from a preset video library, the recommended video sequence includes the target recommended video, and the fourth information includes the user's operation data on the historical recommended videos.
9. A content display device, comprising: A first acquisition unit is configured to acquire target data, wherein the target data includes weather data; A first generating unit is configured to generate target display content based on the target data, wherein the target display content includes weather information; as well as The first display unit is configured to display the target display content in a video container of the video playback interface.
10. The device according to claim 9, further comprising: The second acquisition unit is configured to acquire a recommended video sequence; and wherein, The first display unit is further configured to: display the target display content in the video container during display of the recommended video sequence.
11. The device according to claim 10, wherein: The first display unit is further configured as: Determining an insertion position of the target display content in the recommended video sequence based on first information, wherein the first information includes at least one of the following: user age and user operation data on historical display content; as well as Based on the insertion position, the target presentation content is presented in the video container during presentation of the recommended video sequence.
12. The device according to claim 11, wherein The step of determining, based on the first information, an insertion position of the target display content in the recommended video sequence comprises: The insertion position is determined based on the first information and the priority of the weather information in the target presentation content.
13. The device according to any one of claims 10 to 12, wherein: The first generating unit comprises: A first determining subunit is configured to determine a target display mode of the weather data based on second information, the target display mode including any one of the following: a weather forecast chart, a virtual person broadcasting video, or a weather animation, the second information including at least one of the following: a user age and user operation data for historical display content; and The first generating subunit is configured to generate the target display content based on the target display mode and the weather data.
14. The device according to claim 13, wherein: The first generating unit further includes: a second determining subunit, configured to determine a first display style of the weather data based on the second information; The third determining subunit is configured to determine a second display style of the weather data based on the first data in the weather data; and wherein, The first generating subunit is further configured to generate the target display content based on the target display mode, the first display style, the second display style and the weather data.
15. The device according to any one of claims 10 to 14, wherein: The target data includes calendar data, and the first generating unit includes: a fourth determining subunit configured to determine a third display style of the calendar data based on third information, wherein the third information includes at least one of the following: user age and user operation data on historical display content; and The second generating subunit is configured to generate a calendar in the third display style.
16. The device according to any one of claims 10 to 15, further comprising: A second acquisition unit is configured to acquire a life advice tag based on the target data; as well as The third acquisition unit is configured to acquire a target recommended video from a preset video library based on the life advice tag and the fourth information, the recommended video sequence includes the target recommended video, and the fourth information includes the user's operation data on the historical recommended video.
17. An electronic device comprising: at least one processor; as well as a memory communicatively coupled to the at least one processor; in The memory stores instructions that can be executed 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 perform the method according to any one of claims 1 to 8.
18. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to make a computer execute the method according to any one of claims 1-8.
19. A computer program product comprising a computer program, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.