Methods, apparatuses, electronic devices, and storage media for presenting information streams for content recommendation

By automatically selecting and combining special effects materials to add effects to content materials, the problem of not being able to mass-produce effects that match products in existing technologies has been solved. This enables the display of matching effects in the information flow, improving user experience and recommendation effectiveness.

CN115115425BActive Publication Date: 2026-07-17TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2022-04-29
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing technology cannot mass-produce special effects that match different products, which means that application distribution platforms cannot simultaneously display interface effects that match the products when recommending them, thus affecting the user experience.

Method used

By acquiring the special effects tag combinations and special effects combination materials of the content to be recommended, the system automatically selects matching special effects combination materials for the content materials, generating an information flow that matches the product, replacing the manual generation of single special effects materials.

Benefits of technology

It enables the simultaneous presentation of product-matching special effects during product recommendations, enhancing visual impact and user experience, and improving the effectiveness of product recommendations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115115425B_ABST
    Figure CN115115425B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, electronic device, and storage medium for presenting an information stream for content recommendation. Based on a first content material of the content to be recommended, this application determines at least one combination of special effects tags, then obtains at least one special effects combination material corresponding to each of the at least one special effects tag combination, and obtains at least one second content material based on the at least one special effects combination material and the first content material. The attribute fields of each second content material are determined based on the file address of the corresponding special effects combination material. The client can obtain at least a portion of the second content material and present an information stream containing the first content material and the special effects combination material. This application can present one or more special effects matching the product during product recommendation to improve the product recommendation effect and enhance the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet technology, and in particular to a method, apparatus, electronic device, and storage medium for presenting information streams for content recommendation. Background Technology

[0002] With the widespread adoption of the internet, the variety of online applications (such as games and short video products) has become dazzling. Currently, mainstream application distribution platforms all use video content as the primary form of product recommendation. Taking games as an example, using video content as the main method of product recommendation can effectively convey the gameplay and style of the game.

[0003] Special effects, as an important visual element, can meet people's ever-increasing demands for visual appeal. In the current special effects generation process, effects are manually designed by design teams using professional design software. Different designers have significant individual differences in their understanding of the visuals and their special effects techniques, resulting in lengthy modification times and high production costs. Therefore, it is impossible to mass-produce and use special effects in existing products. Furthermore, application distribution platforms cannot differentiate special effects for different products, meaning that interface effects matching the product cannot be simultaneously displayed during product recommendations. Summary of the Invention

[0004] This application provides a method, apparatus, electronic device, and storage medium for presenting information streams for content recommendation. These methods can present one or more special effects that match the product during product recommendation to improve the product recommendation effect and enhance the user experience.

[0005] In a first aspect, embodiments of this application provide a method for presenting an information stream applied to content recommendation, including:

[0006] Obtain the first content material for the content to be recommended;

[0007] Based on the first content material, at least one special effects tag combination is determined, and the special effects tag combination includes at least one basic special effects tag;

[0008] Obtain at least one special effects combination material corresponding to the at least one special effects tag combination;

[0009] At least one second content material is obtained based on the at least one special effects combination material and the first content material, wherein the attribute fields of each second content material are determined according to the file address of the special effects combination material corresponding to the second content material;

[0010] At least a portion of the second content material is transmitted to the client, causing the client to present an information stream including the first content material and the combined effects material.

[0011] Secondly, embodiments of this application provide a method for presenting an information stream applied to content recommendation, including:

[0012] The client obtains a second content material, which is obtained based on the first content material of the content to be recommended and a combination of special effects materials that match the first content material. The attribute fields of the second content material are determined based on the file address of the combination of special effects materials.

[0013] Based on the file address, the first animation file corresponding to the special effects combination material is loaded via the animation display component;

[0014] The animation display component loads the second animation file corresponding to the first content material.

[0015] Play the first animation file and the second animation file to present an information stream including the first content material and the combined special effects material.

[0016] Thirdly, embodiments of this application provide an apparatus for presenting an information stream for content recommendation, comprising:

[0017] The first acquisition unit is used to acquire the first content material of the content to be recommended.

[0018] The determining unit is configured to determine at least one special effects tag combination based on the first content material, wherein the special effects tag combination includes at least one basic special effects tag;

[0019] The second acquisition unit is used to acquire at least one special effect combination material corresponding to the at least one special effect tag combination;

[0020] The second acquisition unit is further configured to obtain at least one second content material based on the at least one special effects combination material and the first content material, wherein the attribute field of each second content material is determined based on the file address of the special effects combination material corresponding to the second content material;

[0021] The sending unit is configured to transmit at least a portion of the second content material to the client, so that the client presents an information stream including the first content material and the special effects combination material.

[0022] Fourthly, embodiments of this application provide an apparatus for presenting an information stream used in content recommendation, comprising:

[0023] The receiving unit is used for the client to obtain the second content material, wherein the second content material is obtained based on the first content material of the content to be recommended and the special effects combination material that matches the first content material, and the attribute fields of the second content material are determined based on the file address of the special effects combination material;

[0024] The loading unit is used to load the first animation file corresponding to the special effects combination material through the animation display component according to the file address;

[0025] The loading unit is also used to load the second animation file corresponding to the first content material through the animation display component;

[0026] The playback unit is used to play the first animation file and the second animation file to present an information stream including the first content material and the special effects combination material.

[0027] Fifthly, embodiments of this application provide an electronic device, which includes: a processor and a memory;

[0028] The memory is used to store computer programs;

[0029] The processor is used to execute the computer program to implement the method described above.

[0030] Sixthly, embodiments of this application provide a chip, including: a processor for calling and running a computer program from a memory, causing a device on which the chip is installed to perform the methods described above.

[0031] In a seventh aspect, embodiments of this application provide a computer-readable storage medium comprising a computer program that, when executed by an electronic device, causes the electronic device to perform the method described above.

[0032] Eighthly, embodiments of this application provide a computer program product, including a computer program that, when run on an electronic device, causes the electronic device to perform the methods described above.

[0033] Based on the above technical solutions, this application embodiment, when recommending products, can simultaneously present one or more special effects matching the product within an information flow primarily composed of content materials to enhance the product recommendation effect, achieve stronger visual impact, and thereby guide users to download or experience the product, thus improving the user experience. Simultaneously, this application embodiment can (e.g., through a background algorithm) automatically select one or more special effect combinations for the content materials, completing the addition of special effects to the content materials, thereby replacing the traditional manual single-material special effect generation scheme and enabling the large-scale generation of interface special effects matching the recommended products. Attached Figure Description

[0034] Figure 1A This is an example of an existing information stream that primarily uses video elements;

[0035] Figure 1B This is another example of an existing information stream that primarily features video elements;

[0036] Figure 1C This is another example of an existing information stream that primarily features video elements;

[0037] Figure 2 This is a schematic diagram illustrating an application scenario to which the embodiments of this application are applicable;

[0038] Figure 3 This is a schematic flowchart illustrating a method for presenting an information stream for content recommendation, provided in an embodiment of this application.

[0039] Figure 4 This is a schematic diagram of the network architecture for presenting information flow according to an embodiment of this application;

[0040] Figure 5 These are specific examples of several special effect combinations provided in the embodiments of this application;

[0041] Figure 6 This is a schematic diagram of the process for obtaining second content material provided in an embodiment of this application;

[0042] Figure 7 This is an example of an exploded view of the special effects card structure provided in the embodiments of this application;

[0043] Figure 8 Figures (A) to (C) are examples of the information flow homepage provided in the embodiments of this application;

[0044] Figure 9 This is a schematic diagram of the client's initialization process for the PAG plugin;

[0045] Figure 10 This is a schematic diagram of the process of sending and playing the PAG view under the photonic framework;

[0046] Figure 11 This is a schematic block diagram of an information flow presentation device provided in an embodiment of this application;

[0047] Figure 12 This is a schematic block diagram of another information flow presentation device provided in the embodiments of this application;

[0048] Figure 13 This is a schematic block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0049] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0050] It should be understood that in the embodiments of this application, "B corresponding to A" means that B is associated with A. In one implementation, B can be determined based on A. However, it should also be understood that determining B based on A does not mean determining B solely based on A; B can also be determined based on A and / or other information.

[0051] In the description of this application, unless otherwise stated, "at least one" means one or more, and "multiple" means two or more. Additionally, "and / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0052] Furthermore, to facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.

[0053] It should also be understood that specific features, structures, or characteristics relating to embodiments in the specification are included in at least one embodiment of this application. Furthermore, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0054] Furthermore, the terms “comprising” and “having”, and any variations thereof, are intended to cover non-exclusive inclusion, such that a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such processes, methods, products, or devices.

[0055] This application relates to the field of artificial intelligence (AI) technology. AI is a comprehensive technology within computer science that attempts to understand the essence of intelligence and produce new intelligent machines capable of reacting in a manner similar to human intelligence. AI studies the design principles and implementation methods of various intelligent machines, enabling them to possess perception, reasoning, and decision-making capabilities. AI technology is a multidisciplinary field, encompassing both hardware and software technologies. Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies primarily include computer vision, speech processing, natural language processing, machine learning / deep learning, autonomous driving, and intelligent transportation.

[0056] Computer vision, as a scientific discipline, studies related theories and technologies, attempting to build artificial intelligence systems capable of extracting information from images or multidimensional data. Computer vision technologies typically include image processing, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content / behavior recognition, 3D object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous localization and mapping (SLAM), autonomous driving, intelligent transportation, and other technologies. It also includes common biometric recognition technologies such as facial recognition and fingerprint recognition.

[0057] The method provided in this application can be applied to content distribution platforms, such as application distribution platforms or game distribution platforms. Users can download and install various online application products of interest through these platforms, such as games, short video platforms, and e-commerce platforms. However, application distribution platforms cannot provide differentiated special effects for different products, meaning that interface effects matching the product cannot be displayed simultaneously during product recommendations.

[0058] For example, game distribution platforms typically use game video footage as the primary form of game recommendation. That is, the information feed presented on the game recommendation page mainly contains game video footage to convey the game's gameplay and style, such as... Figure 1A , Figure 1B and Figure 1C As shown, the video footage within the black box is the material being played. Figure 1A , Figure 1B as well as Figure 1C None of them displayed special effects that matched the game.

[0059] This application provides a method, apparatus, electronic device, and storage medium for presenting information streams for content recommendation. It can simultaneously present one or more special effects that match the product in an information stream that is mainly composed of content materials to improve the product recommendation effect.

[0060] Specifically, in this embodiment of the application, at least one special effect tag combination can be determined based on the first content material of the content to be recommended. Then, at least one special effect combination material corresponding to the at least one special effect tag combination is obtained. At least one second content material is obtained based on the at least one special effect combination material and the first content material. The attribute fields of each second content material are determined based on the file address of the special effect combination material corresponding to the second content material. The client can obtain at least some of the second content materials and present an information stream containing the first content material and the special effect combination material.

[0061] Specifically, algorithms can automatically select matching effects combinations for the primary content material. Correspondingly, the effects included in the client-side information stream are matched with the content to be recommended.

[0062] Specifically, the client can obtain the second content material, and according to the file address in the attribute field of the second content material, load the first animation file corresponding to the special effects combination material through the animation display component, and obtain the second animation file corresponding to the first content material, and play the first animation file and the second animation file.

[0063] The special effects tag combination can include one or more basic special effects tags. Optionally, the special effects combination can be obtained based on one or more basic special effects; for example, a special effects combination can be obtained by splicing multiple basic special effects.

[0064] For example, content materials may include at least one of video materials, image materials, text materials, and audio materials. Optionally, content materials may demonstrate how to use the product and the content style.

[0065] Therefore, when making product recommendations, this application embodiment can simultaneously present one or more special effects that match the product in the information flow that is mainly composed of content materials to improve the product recommendation effect, achieve enhanced visual impact, and thus guide users to download or experience the product, thereby improving the user experience.

[0066] For example, embodiments of this application can automatically select matching special effects combinations for content materials through background algorithms to complete the addition of special effects to content materials, thereby replacing the traditional manual special effects single material generation scheme and generating interface special effects that match the recommended products on a large scale.

[0067] Taking a game distribution platform as an example, the content to be recommended can be a game product, and the content material for the recommended content can be video material of the game product. This video material can showcase the gameplay, content style, and other related information. By analyzing the first video material of the game product, one or more special effect tag combinations can be identified for the game product. Further, the special effect combination materials corresponding to each of these one or more special effect tag combinations are obtained. Based on these special effect combination materials and the first video material, a second video material is obtained. The attribute fields of this second content material are determined based on the file address of the special effect combination materials.

[0068] The client can obtain at least a portion of the second video material and, by loading and playing animation files containing a combination of special effects materials and animation files containing the first video material, present an information stream containing video materials and a combination of special effects. This enables the presentation of game promotional videos in game recommendation information stream scenarios, while simultaneously displaying interface effects that match the game, enhancing the user's visual impact and game atmosphere, thereby achieving the goal of guiding users to download or experience game products and improving user experience.

[0069] Figure 2 A schematic diagram illustrating an application scenario to which embodiments of this application may be applied is shown.

[0070] like Figure 2 As shown, the system architecture 100 includes a server 110, a network 120, and terminal devices 130. Optionally, it may also include a database 140. The database 140 can be integrated with the server 110 or configured separately. The network 120 can be a wide area network (WAN), a local area network (LAN), or a combination of both; there are no limitations.

[0071] In some embodiments, server 110 can be a backend server, also referred to as a backend or backend, capable of determining at least one special effects tag combination based on the first content material of the content to be recommended, obtaining at least one special effects combination material corresponding to the at least one special effects tag combination, and obtaining at least one second content material based on the at least one special effects combination material and the first content material respectively. The server can also transmit part or all of the at least one second content material to the client. The special effects combination material or content material can be stored locally on server 110 or stored in database 140, without limitation. A client can be installed on terminal device 130, and the client can obtain the second content material through network 120 and present an information stream containing content material and special effects combination.

[0072] In some embodiments, a client installed on the terminal device 130 can determine at least one combination of special effects tags based on the first content material of the content to be recommended, obtain at least one special effects combination material corresponding to the at least one combination of special effects tags, and obtain at least one second content material based on the at least one combination of special effects material and the first content material respectively. The client can further present an information stream containing content materials and special effects combinations. This application does not limit this.

[0073] The server 110 can be one or more. When there are multiple servers, at least two servers are used to provide different services, and / or at least two servers are used to provide the same service, such as providing the same service in a load-balanced manner. This application embodiment does not limit this.

[0074] Server 110 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. A server can also become a node in a blockchain.

[0075] Terminal device 130 may be a smartphone, tablet computer, laptop computer, desktop computer, smart TV, smartwatch, in-vehicle device, etc., but is not limited to these. Terminal device and server can be directly or indirectly connected via wired or wireless communication, which is not limited in this embodiment.

[0076] The solutions provided in the embodiments of this application are described below with reference to the accompanying drawings.

[0077] Figure 3 This is a schematic flowchart illustrating a method 300 for presenting an information stream for content recommendation, provided as an embodiment of this application. Method 300 is applied to... Figure 2 In the network architecture shown, the server and terminal devices are electronic devices with data processing capabilities. The server can be specifically implemented as a backend server. A client can be installed on the terminal device, and the processes on the terminal device side can be executed by this client, without limitation. For example, method 300 can be used for information flow presentation during game product recommendations.

[0078] like Figure 3 As shown, method 300 includes steps 310 to 380. Steps 310 to 340 can be implemented on the server side, steps 360 and 380 are implemented on the terminal device side, and step 350 is the interaction between the server side and the terminal device side.

[0079] 310, obtain the first content material for the content to be recommended.

[0080] The content to be recommended can be any online application product, such as games, short video products, e-commerce platform products, etc., without any restrictions. Online applications can be recommended to users through application distribution platforms on the terminal device side.

[0081] Content materials can be a form of product recommendation, showcasing how to use the application and its style. For example, content materials may include at least one of video, image, text, and audio materials, without limitation.

[0082] In this embodiment of the application, the first content material does not include special effects material.

[0083] As an example, see Figure 4 The backend server can obtain the first content material of the content to be recommended through video pipeline 410. Here, video pipeline 410 can be a function or module in the backend server that enables the acquisition of the first content material of the content to be recommended.

[0084] 320, Identify at least one special effects tag combination.

[0085] Specifically, the server can determine the at least one combination of special effects tags based on the first content material obtained from 310. This combination of special effects tags includes at least one basic special effects tag. The basic special effects tag can be used to identify the basic special effects, and may include at least one of the following: the ID, name, index, type, and special effects element tag of the basic special effects.

[0086] For example, the basic effect type corresponding to the basic effect tag may include at least one of the following: background panel, button, background, edge, element falling, meta sketch edge, particle, light effect, nature, and atmosphere.

[0087] For example, a basic effect can correspond to at least one different effect element. Effect elements can include natural effect elements (such as metal, wood, water, fire, earth, light, etc.), atmospheric elements, climate elements (such as wind, snow, thunder, lightning, rain, etc.), skill effects, or other types of effect elements, without limitation.

[0088] In some embodiments, background and button-type effects can be classified as Level 1 effects, background and edge-type effects as Level 2 effects, and other types of effects as Level 3 effects. Level 2 effects can be considered sub-effects of Level 1 effects, and Level 3 effects can be considered sub-effects of Level 2 effects. Table 1 shows an example of effect classification.

[0089] Table 1

[0090]

[0091] As an example, you can set the primary effect as a mandatory effect. Since the first content element always corresponds to a background panel and a button, setting the primary effect as mandatory allows you to add effects to the background panel and button containing the primary content element. This allows the effects to be applied to the UI elements.

[0092] Optionally, you can set the background effect as a required effect and the edge effect as an optional effect in the secondary effects, and set all the tertiary effects as optional effects.

[0093] Optionally, you can also set the maximum number of effects in the third-level effects corresponding to the second-level effects. For example, the maximum number of third-level effects corresponding to the background effects is 3 (adjustable), and the maximum number of third-level effects corresponding to the edge effects is 1 (adjustable).

[0094] Optionally, you can also set that only one or two of the same type of effect elements corresponding to level 1, level 2, and level 3 effects can be selected (adjustable). For example, if the effect element "light spot" is selected on the background panel, the level 2 background effect or level 3 particle effect cannot be selected as "light spot" to avoid selecting duplicate effects.

[0095] Therefore, by setting the attributes of each effect, such as making the effect optional or mandatory, and setting the maximum number of sub-effects corresponding to each effect, it is possible to achieve personalized effect selection for different content materials on the one hand, and to avoid the playback and display of content materials being affected by a large variety of effects, and to prevent the effects from becoming the focus of attention.

[0096] In some embodiments, as a possible implementation of determining at least one combination of special effects tags based on a first content material, the first content material can be parsed to determine the style tag corresponding to the content to be recommended, and the at least one combination of special effects tags can be determined based on the style tag.

[0097] As an example, the backend server can use a neural network model, such as the NeXtVLAD model, to classify primary content materials of different styles. For instance, the neural network model can learn low-level features from a large content dataset, extract feature vectors, and then classify these feature vectors using a classifier capable of predicting style categories. This process calculates the style of each primary content material (e.g., for video materials, the style of each frame can be calculated), resulting in style tags for each primary content material, which serve as style tags for the content to be recommended. It is not limited that at least one style tag can be obtained from each primary content material.

[0098] After obtaining the style tags of the content to be recommended, one or more basic effect tags can be obtained based on the style tags, and these basic effect tags can be combined to obtain effect combination tags.

[0099] For example, the style (i.e., style tag) corresponding to the first content material may include one or more of the following styles: realistic, abstract, cartoon, science fiction, traditional Chinese style, underground, urban, magic, comic, aesthetic, ink painting, or other style types, without limitation.

[0100] In some embodiments, styles can be graded, such as including primary styles, secondary styles, and tertiary styles. Table 2 shows an example of style grading.

[0101] Table 2

[0102]

[0103] Figure 5 The illustration shows schematic diagrams illustrating the effects of different style combinations of special effects provided in the embodiments of this application. For example... Figure 5 As shown, the illustration uses three styles—primary, secondary, and tertiary—as examples, illustrating that different styles correspond to different special effects. For example, Figure 5 The first effect in the first row is a combination of a halo effect background and a sweep button effect, and the second effect is a combination of a flame effect background and a sweep button effect.

[0104] As an example, see further. Figure 4 The first content material can enter the effects pipeline 420 through the video pipeline 410. The effects pipeline 420 determines at least one combination of effects tags corresponding to the content to be recommended. For example, the style tagging module (or plugin) 421 in the effects pipeline 420 can parse the first content material and determine the style tag corresponding to the content to be recommended. The style matching module (or plugin) 422 can match the above-mentioned at least one combination of effects tags to the content to be recommended based on the style tag.

[0105] Optionally, the effects pipeline 420 may also include an application matching module (or plugin) to identify the application to which the first content asset belongs. For example, the application matching module can identify that an instructional video asset belongs to a game application.

[0106] In some embodiments, the style tagging module 421 can also combine the application to which the first content material belongs to determine the style tag corresponding to the content to be recommended, thereby helping to obtain a more accurate style tag.

[0107] As a concrete example, within the effects pipeline 410, the style tagging module 421 can parse the first content material to obtain the corresponding style. For instance, one style can be selected for each of the three levels, such as "3D Realistic Magic." The style matching module 422 can match n effect combination tags of the same style but different effect categories for that style. For example, based on "3D Realistic Magic," it can match two effect combination tags: "Flame Light Effect Background + Sweeping Button" and "Fog Background + Ice and Snow Button."

[0108] 330, Obtain at least one special effects combination material.

[0109] Specifically, the server can retrieve at least one special effects combination material corresponding to at least one of the aforementioned special effects combination tags. Optionally, the server can retrieve the at least one special effects combination material from a database (such as a special effects material library).

[0110] Among them, special effects combination tags and special effects combination materials can correspond one-to-one, or one special effects combination tag can correspond to multiple special effects combination tags, without limitation.

[0111] In some embodiments, as a possible implementation of obtaining at least one special effects combination material, a first set of basic special effects IDs can be determined based on the IDs of at least one basic special effects material corresponding to the first special effects tag combination, and then the first special effects combination material can be obtained from the finished special effects library based on the first set of basic special effects IDs, wherein the at least one special effects tag combination includes the first special effects tag combination, and the finished special effects library includes the first special effects combination material.

[0112] The finished effects library can include at least one set of effects footage and a set of basic effects IDs and file addresses corresponding to each set of effects footage. Each set of effects footage is obtained by splicing together at least one set of basic effects footage by the video editing service. The basic effects footage can be stored in the basic effects library.

[0113] Optionally, the effects library may include a basic effects library and a finished effects library.

[0114] Table 3 shows an example of a basic effects library.

[0115] Table 3

[0116]

[0117] Table 4 shows an example of a finished effects library.

[0118] Table 4

[0119]

[0120] As an example, manually created special effects footage can be broken down into multiple stylized basic special effects footage. Then, these stylized basic footage can be abstracted and clustered to obtain basic special effects footage of various types. The ID, name, style, type, and URL of each basic special effects footage are then stored in a basic special effects library. For example, by uploading basic special effects files, inputting MOV files, and configuring the corresponding style, effect type, subtype, and name description of the basic special effects footage, an index can be built. For instance, indexes can be built and stored based on the ID, name, style, type, and URL of the basic special effects footage, completing the basic special effects library entry process.

[0121] Furthermore, one or more basic effect materials from the basic effect library can be spliced ​​together to obtain a combination of effect materials. The ID, name, style, baseIDs set, and URL of the effect combination material can be stored in the finished effect library.

[0122] For example, the name of the special effects combination material can be a collection of multiple basic special effects names, and the basic special effects identifier collection can be a collection of multiple basic special effects IDs.

[0123] As a concrete example, the types of the basic effects library are enumerated as follows:

[0124] type vefType int / / Effect type

[0125] const (

[0126] Background vefType = iota / / Background

[0127] Button

[0128] Background

[0129] Edge

[0130] ElementDrop tagType = iota / / Element drop

[0131] ElementSketchEdge

[0132] LightEffect

[0133] Particle / / particle

[0134] Nature

[0135] Atmosphere )

[0137] In some embodiments, as a possible implementation of obtaining at least one special effects combination material, when the finished special effects library does not have a second special effects combination material corresponding to the second special effects tag combination, at least one basic special effects material corresponding to the second special effects tag combination can be obtained from the basic special effects library according to the ID of at least one basic special effects material corresponding to the second special effects tag combination, and then the second special effects combination material can be obtained according to the at least one basic special effects material.

[0138] The second set of special effects materials is obtained by splicing together at least one basic special effects material corresponding to each of the second feature tag combinations by the video editing service.

[0139] As an example, at least one basic effect material corresponding to each of the second feature tag combinations in the basic effects library can be downloaded to the local machine, and a video editing service can be requested to splice the effect video according to the alpha channel to generate a new finished effect material, namely the aforementioned second effect combination material.

[0140] Optionally, after obtaining the second special effects combination material, the second basic special effects ID set can be determined based on the ID of at least one basic special effects material corresponding to the second special effects tag combination material, and then the file addresses of the second special effects combination material, the second basic special effects ID set, and the second special effects tag combination material can be stored in the finished special effects library.

[0141] See also Figure 4 Content library 430 can consume effects pipeline 420. For example, effects combination service 431 in content library 430 can obtain the first content material and its corresponding at least one effects combination tag from effects pipeline 420.

[0142] As one implementation, the special effects combination service 431 can search the finished special effects library 432 based on the at least one special effects combination tag, for example, by searching the finished special effects library 432 based on the set of basic special effects IDs corresponding to the special effects tag combination.

[0143] If the finished effects library 432 contains effects combination materials corresponding to the effects combination tag, then the corresponding effects combination materials will be returned.

[0144] If the finished effects library 432 does not contain a corresponding effects combination material, the effects combination service retrieves at least one basic effects material corresponding to each feature tag combination from the basic effects library 433 based on the ID of at least one basic effects material corresponding to the effects tag combination. For example, the at least one basic effects material can be downloaded locally, and the video editing service can be requested to perform effects video splicing on the at least one basic effects material based on the alpha channel to generate a new effects combination material. This new effects combination material can be stored in the finished effects library.

[0145] It should be noted that when matching special effects combinations to content materials in the future, special effects combination materials in the finished special effects library can be reused. That is, search the finished special effects library to see if there are any special effects combination materials needed. If they exist, the special effects combination materials can be reused directly, so that a special effects combination material can be reused on more content materials, which helps to scale up the generation of special effects and improve the efficiency of generating special effects.

[0146] 340. Based on at least one special effects combination material and the first content material, obtain at least one second content material. That is, the second content material can be a content material with added special effects (combination) material based on the first content material.

[0147] For example, n special effects combined with each other can produce n second content materials.

[0148] The attribute fields of each second content material are determined based on the file address of the corresponding special effects combination material. For example, each special effects combination material can be combined with a first content material to obtain a second content material, and the attribute fields of the second content material are obtained based on the file address of the special effects combination material.

[0149] In some instances, secondary content assets can be stored in a content asset library. This content asset library can reside in a database (content repository).

[0150] For example, when obtaining the first special effects combination material mentioned above, a second content material (i.e., the second content material corresponding to the first special effects combination material) can be obtained based on the first special effects combination material and the first content material. The attribute fields of the second content material can include the file address of the first special effects combination material.

[0151] For example, after obtaining the aforementioned second special effects combination material, the second special effects combination material can be stored in the finished special effects library, and a second content material (i.e., the second content material corresponding to the second special effects combination material) can be obtained based on the first special effects combination material and the first content material. The attribute fields of the second content material can include the file address of the second special effects combination material.

[0152] See also Figure 4 The special effects combination service 431 can store at least one second content material in the content material library 434. When the content material is video material, the content material library can be called a video material library, which is not limited in this application. The content materials in the content material library 434 can be recalled by the business backend 440 and exposed to the terminal. Therefore, the embodiments of this application realize the automated acquisition of special effects combination materials corresponding to content materials through the special effects pipeline and content library, which can completely free up operation and design manpower and improve the efficiency of special effects generation.

[0153] Figure 6 This illustrates a specific example of obtaining a second content element. For example... Figure 6 As shown, the process 600 for obtaining the second content material may include steps 601 to 611. Process 600 can be applied to... Figure 4 The content library is in 430.

[0154] 601, Consumer Effects Pipeline, retrieves n combinations of effect tags, where n is an integer greater than or equal to 1. As an example, n can be 3, 5, or 8, etc., without limitation.

[0155] 602, Enter the database based on the combination of special effects tags.

[0156] Specifically, you can return the special effects combination materials corresponding to the special effects tag combination through 603 to 610.

[0157] 603, Check if the finished special effects library contains special effects combinations.

[0158] Specifically, the special effects combination service can check whether the finished special effects library contains special effects combination materials corresponding to each special effects combination tag in the n special effects tag combinations mentioned above 601.

[0159] 604. If the corresponding effect combination exists in the finished effect inventory, return the corresponding effect combination material.

[0160] 605. When the finished effects library does not have the corresponding effects combination, search the basic effects library to obtain the address (i.e., file address, download address) of the corresponding basic effects file.

[0161] 606, Assign a value to the video editing service request field based on the effect type.

[0162] 607, Requesting video editing service to combine videos.

[0163] 608, obtained new special effects combination materials.

[0164] 609, stored in the finished product effects library.

[0165] 610, return the corresponding combination of special effects materials.

[0166] 611, save to content library.

[0167] Specifically, based on the special effects combination material and the first content material returned in 604 or 610, the corresponding second content material can be obtained and stored in the content material library.

[0168] 350, The server transmits the second content material to the terminal device (client).

[0169] For example, the second content material in 350 can be at least a portion of at least one of the second content materials in 340, such as one, two, or more, without limitation.

[0170] Optionally, the second content asset in 350 can be a content asset that is deployed to the entire platform. Among them, the corresponding effect combination in the second content asset deployed to the entire platform has the best effect.

[0171] In some embodiments, the server may perform canary release of at least one of the at least one second content material in the 350, and then determine one of the second content materials from the canary users' behavior logs for full release.

[0172] See also Figure 4 The recall service 441 in the business backend 440 can recall different second content materials corresponding to the same first content material from the content material library 434, and conduct small-scale gray-scale releases through the experimental platform 442. For example, the experimental platform 442 can target users based on user information (such as region, whether a specific application is installed, etc.), and users who meet the targeting conditions are then distributed. A small group of users A are selected to receive second content material A (which may include special effects combination material A) for display, a small group of users B are selected to receive second content material B (which may include special effects combination material B) for display, and so on, until all second content materials (i.e., special effects combination materials) are received.

[0173] Then, based on the click and dwell time logs of gray-scale users, statistics are collected to calculate the second content material with the best special effects (i.e., the optimal combination of special effects materials). In scene service 443, the second content material corresponding to the optimal combination of special effects is fully deployed to achieve the goal of automated operation.

[0174] Therefore, the embodiments of this application can conduct online experiments on multiple special effects schemes to select the optimal special effects scheme, and finally launch the optimal special effects scheme to obtain the best product recommendation effect.

[0175] 360, load the first animation file corresponding to the special effects combination material.

[0176] As an example, the client can obtain the view corresponding to the second content material through the animation display component (or plugin), and load the first animation file corresponding to the special effects combination material through the animation display component (or plugin) according to the file address in the attribute field of the second content material.

[0177] 370, Load the second animation file corresponding to the first content asset.

[0178] As an example, the client can obtain the attribute fields of the first content material from the second content material, including the file address of the first content material. Then, based on the file address of the first content material, the client can load the second animation file corresponding to the first content material through the animation display component.

[0179] 380. Play the first animation file and the second animation file to present an information stream that includes the first content material and the combination of special effects materials, that is, to present an information stream that includes the content material of the application product and the combination of special effects materials that match the content material.

[0180] Therefore, when making product recommendations, this application embodiment can simultaneously present one or more special effects that match the product in the information flow that is mainly composed of content materials to improve the product recommendation effect, achieve enhanced visual impact, and thus guide users to download or experience the product, thereby improving the user experience.

[0181] For example, embodiments of this application can automatically select matching special effects combinations for content materials through background algorithms to complete the addition of special effects to content materials, thereby replacing the traditional manual special effects single material generation scheme and generating interface special effects that match the recommended products on a large scale.

[0182] This application's embodiments enable the use of special effects as a product recommendation method on application distribution platforms, allowing for the large-scale application of special effects to product recommendation interface scenarios. Compared to existing methods of manually generating individual special effects materials, this application's embodiments offer advantages such as speed, uniform specifications, controllable quality, and quantifiable comparison of effects.

[0183] Furthermore, content materials and special effects can be layered for display, giving the special effects a suitable display space without affecting the display of content materials (such as playback). At the same time, the special effects are attached to UI elements to present special effects, thereby using special effects to express atmosphere and guide product conversion.

[0184] Furthermore, content assets and special effects can be separated, allowing individual content assets to be combined with different special effects to achieve different visual effects and form a reusable special effects library.

[0185] Furthermore, the special effects corresponding to the content materials can be stacked. For example, a single video can have one or more special effects stacked on it to achieve a richer visual effect.

[0186] In some embodiments, special effects combinations can be displayed by combining them with information cards. The combination of special effects combinations and information cards can be referred to as special effects cards.

[0187] Figure 7 This diagram illustrates an example of an effects card structure, which may include content assets, background textures / colors, background effects, and button effects. Optionally, the background textures / colors may be optional.

[0188] As an example, background effects may include fill and border effects, which are not limited in this application.

[0189] As an example, the content material can be video clip material, and this application does not limit it to this.

[0190] In some embodiments, as a possible implementation of playing the first animation file and the second animation file, the second animation file can be played when the first content material is presented in the first state on the client.

[0191] As an example, the first state can be the focus state, that is, the presentation state of the first content material in the focus area of ​​the client's interface, such as the first content material being presented in the center of the screen, or the first content material being fully presented on the screen.

[0192] like Figure 8 As shown in (A), on the homepage of a game distribution platform's information feed, video materials (i.e., video cards) used to showcase gameplay and style can be displayed by scrolling down. Figure 8 Image (B) illustrates the video clip (i.e., the video card) in focus mode, such as a diagram showing it in the center of the screen. When the video clip (i.e., the video card) is in focus mode, the video can be played and features can be displayed, such as... Figure 8 As shown in (C).

[0193] In some embodiments, a switch value can also be obtained, which indicates whether the UI elements of the client's terminal device are aligned with the animation corresponding to the second animation file. If the switch value is true (i.e., aligned), the second animation file is played.

[0194] Specifically, terminal devices (such as smartphones) vary greatly in screen aspect ratio and resolution, as well as performance, and different system versions support special effects animations differently. When the screen aspect ratio doesn't meet the animation playback requirements, the displayed animation cannot align with the terminal's UI elements. Alternatively, if the terminal device's performance or system version doesn't meet the animation playback requirements, playback may experience stuttering, crashes, or display anomalies. Therefore, an online switch could be implemented to control whether special effects animations play.

[0195] In some embodiments, the terminal can send a switch request to the server, which may carry information such as the terminal device's model, screen aspect ratio, and system version. The server can issue different switch values ​​for different devices. If any of the user's device's screen aspect ratio, model, or system version does not meet the minimum requirements set by the backend, the terminal can skip the playback step and will not display the special effects animation.

[0196] In some embodiments, the client can use Portable Animated Graphics (PAG) on an operating system (such as Android) to retrieve and display the animation files corresponding to content materials (including special effects combination materials) online.

[0197] PAG is a complete animation workflow solution that provides everything from exporting plugins for Adobe After Effects (AE) to desktop preview tools, and a rendering software development kit (SDK) covering various platforms such as iOS, Android, macOS, Windows, Linux, and Web.

[0198] As an example, the main modules involved in the online retrieval and display of animation files corresponding to content assets in PAG can include the Photon Framework, the Plugin Framework, and the RAFT Component Framework. Each module is described below.

[0199] Photon Framework: By dynamically distributing views from the backend server and dynamically loading views on the client, changes to the client's view do not require the release of a new version, providing great flexibility for real-time view changes on the client.

[0200] In this embodiment, the animation file corresponding to the special effects combination material can be displayed using the photon frame as a carrier. The photon component corresponding to the animation file of the special effects combination material can also encapsulate a background image view and the logic for automatically displaying special effects when the photon component slides to the center of the screen.

[0201] Plugin Framework: The application distribution platform's differential framework can be dynamically loaded from the Internet and called by the main program. Its main responsibility is to separate the Java part and the so library in the PAG animation library to reduce the size of the installation package.

[0202] Among them, the .so library, also known as a dynamic name library, is one of the most common files in Linux. The .so library copies the necessary code into the corresponding memory only at runtime.

[0203] The Java layer code for PAG animations is depended upon by the PAG components and is ultimately included directly in the compiled Android application package (APK) installation package. The .so libraries required for PAG animation playback are dynamically loaded by the plugin framework after the application distribution platform starts, and are not included with the APK installation package, thus reducing the size of the installation package. In one example, this method can reduce the installation package size by approximately 3MB.

[0204] RAFT Component Framework: Through dependency injection, it separates the interface from the implementation, shielding the PAG animation library from its specific logic.

[0205] The PAG component implemented based on this framework is divided into an API module and an implementation module. The logic related to the PAG animation library can only be accessed in the implementation module, but only the API module is exposed to the main project. The RAFT framework can automatically obtain the corresponding implementation based on the interface within the API module. The implementation module encapsulates the PAG library, shielding operations on the PAG library before the PAG plugin is fully loaded, ensuring that the caller does not need to check whether the PAG plugin is loaded at the time of invocation.

[0206] In addition, the view corresponding to PAG is re-encapsulated into a new view, and the caller can operate the newly encapsulated view in the same way as the original PAG view.

[0207] Figure 9 and Figure 10 This diagram illustrates the process from pulling the plugin to displaying the PAG animation at the client-side technical level after the application distribution platform starts. Figure 9 This diagram illustrates the process 900 of initializing the PAG plugin on the client side. Figure 10 A schematic diagram of the process 1000, which involves sending a PAG view and playing it from the photonic frame, is shown.

[0208] like Figure 9 As shown, the process 900 for initializing the PAG plugin includes steps 901 to 906.

[0209] 901, attempting to load PAG from a locally downloaded plugin.

[0210] For example, after the application distribution platform starts, it can enter the plugin retrieval logic, that is, try to load the PAG plugin from the locally downloaded plugins.

[0211] 902, is the PAG plugin already downloaded locally?

[0212] 903: If the PAG plugin is not already downloaded locally, download the plugin from the network and save it locally.

[0213] 904: If the PAG plugin is already downloaded locally, load the .so library from the plugin.

[0214] For example, APG plugins can be saved locally during the previous startup process. Then, the .so libraries within the local PAG plugin can be loaded directly.

[0215] 905, Send a global event indicating that the plugin is loaded.

[0216] 906, retrieve the PAG components from the notification queue and wake them up one by one.

[0217] Specifically, once the .so library is loaded, a global PAG plugin loading complete event can be sent. Upon receiving this global event, the class managing the PAG component notification queue can sequentially wake up the PAG components within the queue.

[0218] At this point, the PAG plugin initialization is complete.

[0219] like Figure 10 As shown, the process 1000 of sending and playing the PAG view under the photonic framework includes 1001 to 1016.

[0220] 1001, the photon downlink view contains the PAG view.

[0221] The PAG view contains the second content material in the embodiments of this application.

[0222] 1002. Create a PAG component. For example, you can create (new) a PAG component on the current node.

[0223] In other words, when the photon drop view contains a PAG photon module and the parameters include a URL (for example, the file address of the special effects combination material), the photon view can create a PAG component in the current view node.

[0224] 1003, the created PAG component is added to the notification queue. For example, when the PAG component is created, it can add itself to the PAG component notification queue. This notification queue is, for example,... Figure 9 The notification queue in 906 is not limited.

[0225] 1004. The Photon Framework instructs the PAG component to load the animation file (i.e., the PAG animation). For example, the Photon Framework can instruct the PAG component to load the PAG animation file from the URL given above.

[0226] 1005: Does the animation file already exist in the local cache? This is the same animation file that needs to be loaded as notified in 1004.

[0227] 1006: If the file is not in the local cache, download it and store it in the local cache. For example, an animation file can be downloaded via a URL.

[0228] If the animation file corresponding to the above URL has already been downloaded, the 1006 error can be skipped and the file can be loaded directly from the local cache.

[0229] 1007, Check if the PAG's .so library has been loaded.

[0230] 1008. Initialize the PAG view within the component when the .so library is loaded. For example, the PAG view within the component can be initialized by calling the component's init method.

[0231] 1009. Load PAG resources from the local cache (i.e., the animation files downloaded in 1006). For example, the PAG component can load the PAG resource from the local cache file corresponding to the URL.

[0232] 1010. The animation will not be displayed temporarily when the .so library is not loaded.

[0233] 1011. When the .so library finishes loading, the PAG component is activated. At this point, the next steps can be steps 1008 and 1009, namely calling the init method and loading the PAG animation resources from the local cache.

[0234] 1012. After loading PAG resources from the local cache, you can retrieve the switch value corresponding to whether or not to support playing animations.

[0235] Because Android devices (such as phones) have significantly different screen aspect ratios and resolutions, as well as vastly different performance levels, the support for PAG animations varies across different system versions. For example, if the screen aspect ratio is incompatible, the displayed animation cannot be aligned with UI elements. Furthermore, if the performance or system version is incompatible, animation playback may experience stuttering, crashes, or display anomalies.

[0236] Based on this, an online switch can be designed to control whether the PAG animation plays. For example, the terminal can send a switch request to the backend server, which can carry information such as the terminal's model, screen aspect ratio, and resolution. The backend can then issue different switch values ​​to different terminals.

[0237] 1013, Check if the switch value is true. If the switch value is not true, the animation will not play and the process will end.

[0238] For example, if any of the user's terminal's screen aspect ratio, device performance, or system version does not meet the minimum requirements set by the backend, the playback step will be skipped when the component needs to play, and PAGView will not display the animation.

[0239] 1014. If the switch value is true, check if the view's autoplay property is true.

[0240] 1015, if autoplay is not true, wait for the photon script to call the play method.

[0241] 1016, Play animation. For example, you can play an animation when autoplay is set to true.

[0242] The specific embodiments of this application have been described in detail above with reference to the accompanying drawings. However, this application is not limited to the specific details of the above embodiments. Within the scope of the technical concept of this application, various simple modifications can be made to the technical solutions of this application, and these simple modifications all fall within the protection scope of this application. For example, the various specific technical features described in the above embodiments can be combined in any suitable manner without contradiction. To avoid unnecessary repetition, this application will not describe the various possible combinations separately. Furthermore, various different embodiments of this application can also be arbitrarily combined, as long as they do not violate the spirit of this application, they should also be considered as the content disclosed in this application.

[0243] It should also be understood that, in the various method embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0244] The above text combined Figures 3 to 10 The method embodiments of this application are described in detail below, in conjunction with... Figures 11 to 13 The following describes in detail the device embodiments of this application.

[0245] Figure 11A schematic block diagram of an apparatus 10 for presenting an information stream for content recommendation, according to an embodiment of this application, is shown. Figure 11 As shown, the device 10 includes a first acquisition unit 11, a determination unit 12, a second acquisition unit 13, and a transmission unit 14.

[0246] The first acquisition unit 11 is used to acquire the first content material of the content to be recommended;

[0247] The determining unit 12 is used to determine at least one special effects tag combination based on the first content material, wherein the special effects tag combination includes at least one basic special effects tag;

[0248] The second acquisition unit 13 is used to acquire at least one special effect combination material corresponding to the at least one special effect tag combination;

[0249] The second acquisition unit 13 is further configured to obtain at least one second content material based on the at least one special effects combination material and the first content material, wherein the attribute field of each second content material is determined based on the file address of the special effects combination material corresponding to the second content material;

[0250] The sending unit 14 is used to transmit at least a portion of the second content material to the client, so that the client presents an information stream including the first content material and the special effects combination material.

[0251] Optionally, the determining unit 12 is specifically used for:

[0252] Analyze the first content material to determine the style tags corresponding to the content to be recommended;

[0253] Based on the style tags, determine the at least one combination of special effects tags.

[0254] Optionally, the second acquisition unit 13 is specifically used for:

[0255] A first set of basic special effects IDs is determined based on the ID of at least one basic special effects material corresponding to the first special effects tag combination, wherein the at least one special effects tag combination includes the first special effects tag combination;

[0256] Based on the first set of basic special effects IDs, obtain the first set of special effects combination materials from the finished special effects library;

[0257] The finished special effects library includes at least one combination of special effects materials and a set of basic special effects IDs and file addresses corresponding to each combination of special effects materials. Each combination of special effects materials is obtained by splicing together at least one basic special effects material by a video editing service.

[0258] Optionally, the second acquisition unit 13 is specifically used for:

[0259] Based on the ID of at least one basic effect material corresponding to the second effect tag combination, at least one basic effect material corresponding to the second feature tag combination is obtained from the basic effect library. The basic effect library includes at least one basic effect material, the ID and file address corresponding to each basic effect material.

[0260] Based on the at least one basic special effects material, the second special effects combination material is obtained, wherein the second special effects combination material is obtained by the video editing service splicing together at least one basic special effects material corresponding to the second feature tag combination.

[0261] Optionally, the device 10 also includes a storage unit for:

[0262] Based on the ID of at least one basic effect material corresponding to the second effect tag combination material, determine the second basic effect ID set;

[0263] Store the file addresses of the second special effects combination material, the second basic special effects ID set, and the second special effects tag combination material to the finished special effects library.

[0264] Optionally, the device 10 also includes a grayscale distribution unit for:

[0265] The at least one second content material will be released in grayscale.

[0266] Based on the behavior logs of grayscale users, at least a portion of the second content materials are determined from the at least one second content material for full distribution.

[0267] Optionally, the transmitting unit 14 is also used for:

[0268] A switch value is transmitted to the client, which is used to indicate that the UI elements of the client's terminal device are aligned with the animation corresponding to the special effects combination material.

[0269] Optionally, the basic effect types corresponding to the basic effect tags include at least one of the following: background panel, button, background, edge, element falling, meta sketch edge, particle, light effect, nature, and atmosphere.

[0270] Optionally, the first content material includes at least one of video material, image material, text material, and audio material.

[0271] It should be understood that the device embodiments and method embodiments can correspond to each other, and similar descriptions can be referred to the method embodiments. To avoid repetition, further details will not be provided here.

[0272] Figure 12A schematic block diagram of an apparatus 20 for presenting an information stream for content recommendation, according to an embodiment of this application, is shown. Figure 12 As shown, the device 20 includes a receiving unit 21, a loading unit 22, and a playback unit 23.

[0273] The receiving unit 21 is used for the client to obtain the second content material, wherein the second content material is obtained based on the first content material of the content to be recommended and the special effects combination material that matches the first content material, and the attribute fields of the second content material are determined based on the file address of the special effects combination material;

[0274] Loading unit 22 is used to load the first animation file corresponding to the special effects combination material through the animation display component according to the file address;

[0275] The loading unit 22 is also used to load the second animation file corresponding to the first content material through the animation display component;

[0276] Playback unit 23 is used to play the first animation file and the second animation file to present an information stream including the first content material and the special effects combination material.

[0277] Optionally, playback unit 23 is specifically used for:

[0278] The second animation file is played when the presentation state of the first content material on the client is in the first state.

[0279] Optionally, the receiving unit 21 further includes:

[0280] Obtain a switch value, which is used to indicate that the UI elements of the terminal device where the client is located are aligned with the animation corresponding to the first animation file.

[0281] Optionally, the basic effect types corresponding to the basic effect tags include at least one of the following: background panel, button, background, edge, element falling, meta sketch edge, particle, light effect, nature, and atmosphere.

[0282] Optionally, the first content material includes at least one of video material, image material, text material, and audio material.

[0283] It should be understood that the device embodiments and method embodiments can correspond to each other, and similar descriptions can be referred to the method embodiments. To avoid repetition, further details will not be provided here.

[0284] The apparatus of this application embodiment has been described above from the perspective of functional modules in conjunction with the accompanying drawings. It should be understood that this functional module can be implemented in hardware, in software instructions, or in a combination of hardware and software modules. Specifically, the steps of the method embodiments in this application can be completed by integrated logic circuits in the processor's hardware and / or by software instructions. The steps of the method disclosed in this application embodiment can be directly embodied as being executed by the hardware processor, or executed by a combination of hardware and software modules in the processor. Optionally, the software module can be located in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps in the above method embodiments.

[0285] Figure 13 This is a block diagram of an electronic device involved in an embodiment of this application. The device may be a server or a terminal device, used to execute the information stream presentation method for content recommendation described in the above embodiments. For details, please refer to the description in the above method embodiments.

[0286] Figure 13 The illustrated electronic device 30 includes a memory 31, a processor 32, and a communication interface 33. The memory 31, processor 32, and communication interface 33 are communicatively connected to each other. For example, the memory 31, processor 32, and communication interface 33 can be connected via a network. Alternatively, the electronic device 30 may also include a bus 34. The memory 31, processor 32, and communication interface 33 are communicatively connected to each other via the bus 34. Figure 13 It is an electronic device 30 in which the memory 31, processor 32, and communication interface 33 are connected to each other via bus 34.

[0287] The memory 31 can be a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 31 can store programs, and when the program stored in the memory 31 is executed by the processor 32, the processor 32 and the communication interface 33 are used to execute the above methods.

[0288] The processor 32 may be a general-purpose central processing unit (CPU), microprocessor, application specific integrated circuit (ASIC), graphics processing unit (GPU), or one or more integrated circuits.

[0289] The processor 32 can also be an integrated circuit chip with signal processing capabilities. In implementation, the method of this application can be completed through integrated logic circuits in the hardware of the processor 32 or through software instructions. The processor 32 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor can be a microprocessor or any conventional processor. The software module can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory 31, and the processor 32 reads information from memory 31 and, in conjunction with its hardware, completes the method of the embodiments of this application.

[0290] The communication interface 33 uses transceiver modules, such as, but not limited to, transceivers, to enable communication between the electronic device 30 and other devices or communication networks.

[0291] When the aforementioned electronic device 30 includes a bus 34, the bus 34 may include a path for transmitting information between various components of the electronic device 30 (e.g., memory 31, processor 32, communication interface 33).

[0292] According to this application, a computer storage medium is also provided, on which a computer program is stored, which, when executed by an electronic device, enables the electronic device to perform the methods of the above-described method embodiments. Alternatively, embodiments of this application also provide a computer program product containing a computer program, which, when executed by an electronic device, enables the electronic device to perform the methods of the above-described method embodiments.

[0293] According to this application, a computer program product is also provided, comprising a computer program stored in a computer-readable storage medium. A processor of an electronic device reads the computer program from the computer-readable storage medium and executes the computer program, causing the electronic device to perform the method described in the above-described method embodiments.

[0294] In other words, when implemented using software, it can be implemented entirely or partially in the form of a computer program product. This computer program product includes one or more computer programs. When the computer program is loaded and executed on an electronic device, all or part of the processes or functions described in the embodiments of this application are generated. The electronic device can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program can be transferred from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to the electronic device or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disc (DVD)), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0295] It is understood that in the specific implementation of this application, user-related information (such as behavior logs) and other related data are involved. When this application is applied to specific products or technologies in the form of embodiments, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0296] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0297] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.

[0298] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. For example, the functional modules in the various embodiments of this application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0299] Those skilled in the art will readily understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. Furthermore, reference can be made between the various method embodiments and between the various device embodiments; identical or corresponding content in different embodiments can be mutually referenced, without further elaboration.

Claims

1. A method for presenting information streams for content recommendation, characterized in that, include: The server retrieves the first content material of the application to be recommended; The first content material is used to demonstrate at least one of the application's usage method and content style; Based on the first content material, at least one special effects tag combination is determined, and the special effects tag combination includes at least one basic special effects tag; Based on the IDs of at least one basic effect material corresponding to each of the at least one effect tag combination, at least one set of basic effect IDs is determined. Based on the at least one set of basic effect IDs, at least one effect combination material is obtained from the finished effect library. The finished effect library includes at least one effect combination material and a set of basic effect IDs and a file address corresponding to each effect combination material. The file address includes a Uniform Resource Locator (URL). At least one second content material is obtained based on the at least one special effects combination material and the first content material, wherein the attribute fields of each second content material are determined according to the file address of the special effects combination material corresponding to the second content material; the file address is used to load the animation file corresponding to the special effects combination material; At least a portion of the second content material is transmitted to the client, so that when the client recommends the application, it obtains the animation file corresponding to the special effects combination material based on the file address of the special effects combination material, and presents an information stream including the first content material and the special effects combination material; A switch value is transmitted to the client, the switch value being used to indicate that the UI elements of the client's terminal device are aligned with the animation corresponding to the special effects combination material; wherein, the switch value is determined based on at least one of the terminal device's model, screen aspect ratio, and system version.

2. The method according to claim 1, characterized in that, The step of determining at least one special effects tag combination based on the first content material includes: Analyze the first content material to determine the style tags corresponding to the application to be recommended; Based on the style tags, determine the at least one combination of special effects tags.

3. The method according to claim 1, characterized in that, Also includes: Based on the ID of at least one basic effect material corresponding to each of the at least one effect tag combination, at least one basic effect material corresponding to each of the at least one effect tag combination is obtained from the basic effect library, wherein the basic effect library includes at least one basic effect material, the ID and file address corresponding to each basic effect material; Based on at least one basic special effects material corresponding to each of the at least one special effects tag combination, the at least one special effects combination material is obtained, wherein the special effects combination material is obtained by video editing service splicing together at least one basic special effects material corresponding to each of the special effects tag combinations.

4. The method according to claim 3, characterized in that, Also includes: The set of basic special effects IDs is determined based on the ID of at least one basic special effects material corresponding to the special effects combination material; The special effects combination material, the basic special effects ID set, and the file address of the special effects combination material are stored in the finished special effects library.

5. The method according to any one of claims 1-4, characterized in that, Before transmitting at least a portion of the second content material to the client, the method further includes: The at least one second content material will be released in grayscale. Based on the behavior logs of grayscale users, at least a portion of the second content materials are determined from the at least one second content material for full distribution.

6. The method according to any one of claims 1-4, characterized in that, The basic effect types corresponding to the basic effect tags include at least one of the following: background panel, button, background, edge, element falling, meta sketch edge, particle, light effect, nature, and atmosphere.

7. The method according to any one of claims 1-4, characterized in that, The first content material includes at least one of video material, image material, text material, and audio material.

8. A method for presenting information streams for content recommendation, characterized in that, include: The client obtains a second content material, which is obtained based on a first content material of the application to be recommended and a combination of special effects materials that match the first content material. The attribute fields of the second content material are determined based on the file address of the combination of special effects materials. The first content material is used to display at least one of the usage method and content style of the application. The combination of special effects materials is obtained from a finished special effects library based on a set of basic special effects IDs corresponding to at least one special effects tag combination of the first content material. The finished special effects library includes the at least one combination of special effects materials and a set of basic special effects IDs and a file address corresponding to each combination of special effects materials. The first animation file corresponding to the special effects combination material is obtained according to the file address, and the first animation file corresponding to the special effects combination material is loaded through the animation display component; the file address includes a Uniform Resource Locator (URL); A switch value is obtained, which is used to indicate that the UI elements of the terminal device where the client is located are aligned with the animation corresponding to the first animation file; the switch value is determined based on at least one of the terminal device's model, screen aspect ratio, and system version. The animation display component loads the second animation file corresponding to the first content material. The first animation file and the second animation file are played according to the switch value to present an information stream including the first content material and the special effects combination material when the application is recommended.

9. The method according to claim 8, characterized in that, Playing the first animation file and the second animation file includes: The second animation file is played when the presentation state of the first content material on the client is in the first state.

10. A device for presenting an information stream for content recommendation, characterized in that, include: The first acquisition unit is used to acquire the first content material of the application to be recommended. The first content material is used to demonstrate at least one of the application's usage method and content style; The determining unit is configured to determine at least one special effects tag combination based on the first content material, wherein the special effects tag combination includes at least one basic special effects tag; The second acquisition unit is configured to determine at least one set of basic special effects IDs based on the IDs of at least one basic special effects material corresponding to each of the at least one special effects tag combination, and to acquire at least one special effects combination material from the finished special effects library based on the at least one set of basic special effects IDs; wherein, the finished special effects library includes at least one special effects combination material and a set of basic special effects IDs and a file address corresponding to each special effects combination material; the file address includes a Uniform Resource Locator (URL); The second acquisition unit is further configured to obtain at least one second content material based on the at least one special effects combination material and the first content material, wherein the attribute field of each second content material is determined based on the file address of the special effects combination material corresponding to the second content material; the file address is used to load the animation file corresponding to the special effects combination material; The sending unit is configured to transmit at least a portion of the second content material to the client, so that when the client recommends the application, it obtains the animation file corresponding to the special effects combination material based on the file address of the special effects combination material, and presents an information stream including the first content material and the special effects combination material; A switch value is transmitted to the client, the switch value being used to indicate that the UI elements of the client's terminal device are aligned with the animation corresponding to the special effects combination material; wherein, the switch value is determined based on at least one of the terminal device's model, screen aspect ratio, and system version.

11. A device for presenting an information stream for content recommendation, characterized in that, include: A receiving unit is used for the client to obtain a second content material, wherein the second content material is obtained based on a first content material of the application to be recommended and a combination of special effects materials that match the first content material, and the attribute fields of the second content material are determined based on the file address of the combination of special effects materials; the first content material is used to display at least one of the usage method and content style of the application; the combination of special effects materials is obtained from a finished special effects library based on a set of basic special effects IDs corresponding to at least one special effects tag combination corresponding to the first content material; the finished special effects library includes the at least one combination of special effects materials and a set of basic special effects IDs and a file address corresponding to each combination of special effects materials; The loading unit is used to obtain the first animation file corresponding to the special effects combination material according to the file address, and load the first animation file corresponding to the special effects combination material through the animation display component; the file address includes a Uniform Resource Locator (URL); The receiving unit is further configured to acquire a switch value, which is used to indicate that the UI elements of the client's terminal device are aligned with the animation corresponding to the first animation file; the switch value is determined based on at least one of the terminal device's model, screen aspect ratio, and system version. The loading unit is also used to load the second animation file corresponding to the first content material through the animation display component; The playback unit is configured to play the first animation file and the second animation file according to the switch value, so as to present an information stream including the first content material and the special effects combination material when recommending the application.

12. An electronic device, characterized in that, include: Processor and memory; The memory is used to store computer programs; The processor is configured to execute the computer program to implement the method as described in any one of claims 1 to 9.

13. A computer-readable storage medium, characterized in that, The storage medium includes a computer program that, when executed by an electronic device, causes the electronic device to perform the method as described in any one of claims 1 to 9.

14. A computer program product, characterized in that, It includes a computer program that, when run by an electronic device, causes the electronic device to perform the method of any one of claims 1 to 9.