Content item display method, device, terminal and storage medium

By controlling the video to play after the interface elements disappear in the target interface, the problem of poor advertising display effect is solved and user attention and display effect are improved.

CN113626127BActive Publication Date: 2024-09-13GUANGZHOU KUGOU COMP TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110959710.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-20
Publication Date
2024-09-13
Estimated Expiration
2041-08-20

AI Technical Summary

Technical Problem

The display effect of existing advertisements in the user browsing interface is poor and the exposure rate cannot be effectively improved. Users usually do not notice the advertisements in the lower right corner of the interface.

Method used

By controlling the disappearance of interface elements in the target interface, the video in the content item is played, and special effect parameters are used to control the removal, transparency reduction or shrinking of interface elements to increase user attention.

Benefits of technology

Significantly improves the user's attention to the content item and the display effect, making it easier for the user to notice the content item.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113626127B
    Figure CN113626127B
Patent Text Reader

Abstract

The present application discloses a content item display method, device, terminal and storage medium, belonging to the field of Internet technology. The method comprises: displaying a target interface, the target interface comprises interface elements; obtaining content items to be recommended when content item display conditions are met, the content items at least comprising a video of the object to be recommended; controlling the interface elements in the target interface to disappear; after the interface elements disappear, playing the video in the content item in the target interface. This solution greatly improves the user's attention to the content item, thereby improving the display effect of the content item.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a content item display method, device, terminal and storage medium. Background Art

[0002] With the continuous development of Internet technology, advertisers can place advertisements on various platforms such as application clients and websites, allowing users to browse advertisements on relevant platforms and increase advertisement exposure.

[0003] However, usually, the advertisement is displayed in the lower right corner of the interface that the user is browsing, and the user usually does not notice the advertisement while browsing the interface. Therefore, the display effect of the advertisement is poor and the exposure rate is not really increased. Summary of the invention

[0004] The embodiments of the present application provide a content item display method, device, terminal and storage medium, which can increase the user's attention to the content item and improve the display effect of the content item. The technical solution is as follows:

[0005] In one aspect, a content item display method is provided, the method comprising:

[0006] Display a target interface, wherein the target interface includes interface elements;

[0007] When the content item display condition is met, obtaining the content item to be recommended, wherein the content item at least includes a video of the object to be recommended;

[0008] Controlling the interface elements in the target interface to disappear;

[0009] After the interface element disappears, the video in the content item is played in the target interface.

[0010] In one aspect, a content item display device is provided, the device comprising:

[0011] A display module, used to display a target interface, wherein the target interface includes interface elements;

[0012] An acquisition module, configured to acquire a content item to be recommended when a content item display condition is met, wherein the content item at least includes a video of an object to be recommended;

[0013] The display module is further used to control the disappearance of interface elements in the target interface;

[0014] The display module is also used to play the video in the content item in the target interface after the interface element disappears.

[0015] In a possible implementation, the display module includes:

[0016] An acquisition unit, configured to acquire, based on the display mode of the interface element, a disappearance special effect parameter corresponding to the display mode;

[0017] The display unit is used to control the disappearance of the interface element based on the acquired disappearance special effect parameters.

[0018] In a possible implementation, the display unit is used to perform any of the following steps:

[0019] The display mode of the interface element is the first display mode, the disappearance special effect parameter corresponding to the first display mode is the first disappearance special effect parameter, and based on the first disappearance special effect parameter, the interface element is controlled to move out of the target interface, and in the process of moving out of the target interface, the transparency of the interface element is controlled to gradually decrease to 0;

[0020] The display mode of the interface element is the second display mode, and the disappearance special effect parameter corresponding to the second display mode is the second disappearance special effect parameter. Based on the second disappearance special effect parameter, the interface element is controlled to gradually shrink until it disappears, and during the shrinking process, the transparency of the interface element is controlled to be reduced to 0.

[0021] In a possible implementation, the display module is used to perform at least one of the following:

[0022] Controlling the interface element to move out of the target interface;

[0023] Control the transparency of the interface element to gradually decrease until it reaches 0;

[0024] Control the interface element to gradually shrink until it disappears.

[0025] In a possible implementation, the display module is further used to control the interface element to be restored to the target interface.

[0026] In a possible implementation, the display module includes:

[0027] An acquisition unit, configured to acquire, based on the display mode of the interface element, a restoration special effect parameter corresponding to the display mode;

[0028] The display unit is used to control the interface element to be restored to the target interface based on the acquired restoration special effect parameters.

[0029] In a possible implementation, the display unit is used to perform any of the following steps:

[0030] The display mode of the interface element is the first display mode, the restoration special effect parameter corresponding to the first display mode is the first restoration special effect parameter, and based on the first restoration special effect parameter, the interface element is controlled to move back to the target interface, and in the process of moving back to the target interface, the transparency of the interface element is controlled to increase to 1;

[0031] The display mode of the interface element is the second display mode, and the recovery special effect parameter corresponding to the second display mode is the second recovery special effect parameter. Based on the second recovery special effect parameter, the interface element is controlled to gradually enlarge to a target size, and during the enlargement process, the transparency of the interface element is controlled to increase to 1. The target size is the initial size of the interface element in the target interface.

[0032] In a possible implementation, the display module is further configured to perform at least one of the following:

[0033] Controlling the interface element to move from a current position to an initial position of the interface element in the target interface;

[0034] Control the interface element to enlarge from the current size to the initial size of the interface element in the target interface;

[0035] Control the interface element to increase its transparency from the current one to 1.

[0036] In a possible implementation, the display module is further used to display the last video frame of the video after the video is played; and control the video frame to move from a current position to a target position.

[0037] In a possible implementation, the display module is used to control the video frame to move from the current position to the target position, and during the movement, control the video frame to gradually shrink.

[0038] In a possible implementation, the display module is used to control the video frame to move from the current position to the target position, and during the movement, control the video frame to gradually shrink until it disappears.

[0039] In a possible implementation, the content item also includes description information of the object; the display module is further used to control the disappearance of the video frame; and the description information in the content item is displayed in the area to which the target position belongs.

[0040] In a possible implementation, the content item further includes a logo image of the object; the display module is further configured to control the video frame to disappear; and display the logo image in the content item at the target position.

[0041] In a possible implementation, the display module is used to perform any of the following steps:

[0042] Control the logo image to disappear after popping up at the target position;

[0043] The logo image is controlled to pop up at the target position and then be restored.

[0044] In a possible implementation, the acquisition module is used to asynchronously request to acquire the content item in response to a triggering operation on the target interface, load the content item to a local device, and acquire the content item from the local device.

[0045] In a possible implementation, the content item display condition includes at least one of the following:

[0046] The data type of the content item indicates that the presentation style of the content item is a target presentation style;

[0047] The current time is the presentation time indicated by the time configuration information of the content item, and the time configuration information includes the waiting time length before the content item is presented.

[0048] In a possible implementation, the interface elements include view elements and tool elements; the display module is used to control the view elements in the target interface to disappear and keep the tool elements in the target interface unchanged.

[0049] In a possible implementation, the device further includes:

[0050] The updating module is used to update the state of the tool element to an untriggerable state, and the tool element in the untriggerable state does not respond to a triggering operation.

[0051] In a possible implementation, the update module is further used to update the state of the tool element to a triggerable state after the video is played, and the tool element in the triggerable state responds to a trigger operation.

[0052] In a possible implementation, the display module is used to play the video in the target interface when the video playback condition is met;

[0053] The content item display condition includes at least one of the following:

[0054] The content item has been acquired;

[0055] The target interface is a top-level view, which is a view presented to the user by the device;

[0056] The tool element in the target interface is in an untriggerable state;

[0057] The target interface is prohibited from responding to a target gesture, and the target gesture is a gesture used to leave the target interface.

[0058] In a possible implementation, the target interface is an audio playback interface of any song; and the display module is further used to perform any of the following steps:

[0059] Pause the playing of the song and play the video in the target interface;

[0060] While the song is being played, the video is being played in the target interface.

[0061] On the one hand, a terminal is provided, which includes one or more processors and one or more memories, wherein the one or more memories store at least one program code, and the at least one program code is loaded and executed by the one or more processors to implement the operations performed by the content item display method in any possible implementation manner as described above.

[0062] On the one hand, a computer-readable storage medium is provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement the operations performed by the content item display method in any possible implementation manner as described above.

[0063] On the one hand, a computer program or a computer program product is provided, wherein the computer program or the computer program product comprises: a computer program code, wherein when the computer program code is executed by a terminal, the terminal implements the operations performed by the content item display method in any possible implementation manner as described above.

[0064] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0065] The content item display method, device, terminal and storage medium provided in the embodiments of the present application, when displaying the content item in the target interface, will first control the interface elements in the target interface to disappear, and then play the video in the content item, which greatly improves the user's attention to the content item, thereby improving the display effect of the content item. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0067] Figure 1It is a schematic diagram of an implementation environment provided by an embodiment of the present application;

[0068] Figure 2 is a flow chart of a content item display method provided in an embodiment of the present application;

[0069] Figure 3 is a flow chart of a content item display method provided in an embodiment of the present application;

[0070] Figure 4 is a schematic diagram of a target interface provided in an embodiment of the present application;

[0071] Figure 5 is a schematic diagram of the disappearance of an interface element provided in an embodiment of the present application;

[0072] Figure 6 It is a schematic diagram of playing a video of an object to be recommended in a target interface provided by an embodiment of the present application;

[0073] Figure 7 It is a schematic diagram of playing a video of an object to be recommended in a target interface provided by an embodiment of the present application;

[0074] Figure 8 is a schematic diagram of moving a video frame to a target position provided by an embodiment of the present application;

[0075] Fig. 9 is a schematic diagram of description information provided by an embodiment of the present application;

[0076] Fig.10 is a schematic diagram of the structure of a content item display device provided in an embodiment of the present application;

[0077] Fig.11 is a schematic diagram of the structure of another content item display device provided in an embodiment of the present application;

[0078] Fig.12 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0079] Fig.13 It is a schematic diagram of the structure of the server provided in the embodiment of the present application. DETAILED DESCRIPTION

[0080] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0081] It is understood that the terms "first", "second", etc. used in this application can be used in this article to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of this application, the first display mode can be referred to as the second display mode, and similarly, the second display mode can be referred to as the first display mode.

[0082] The terms "at least one", "multiple", "each", and "any" used in this application, at least one includes one, two or more than two, multiple includes two or more than two, each refers to each of the corresponding multiple, and any refers to any one of the multiple. For example, the multiple interface elements include 3 interface elements, and each refers to each of the 3 interface elements, and any refers to any one of the 3 interface elements, which can be the first, the second, or the third.

[0083] The content item display method provided in the embodiment of the present application is executed by a terminal. Optionally, the terminal may be a computer, a mobile phone, a tablet computer or other types of terminals.

[0084] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application, such as Figure 1 As shown, the implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 are connected via a wireless or wired network.

[0085] The target application served by the server 102 is installed on the terminal 101, and the terminal 101 can realize functions such as data transmission and message interaction through the target application. Optionally, the terminal 101 is a computer, a mobile phone, a tablet computer or other terminals. Optionally, the target application is a target application in the operating system of the terminal 101, or a target application provided by a third party. For example, the target application is a content sharing application, which has the function of content sharing. Of course, the content sharing application can also have other functions, such as review function, shopping function, navigation function, game function, etc. Optionally, the server 102 is the background server of the target application or a cloud server that provides cloud computing and cloud storage services.

[0086] Optionally, terminal 101 downloads the content item to be recommended from server 102 to the local computer, obtains the content item from the local computer when the content item display condition is met, controls the interface elements in the current interface to disappear, and plays the video in the content item in the current interface after the interface elements disappear.

[0087] The content item display method provided in the embodiment of the present application can be applied to any content item recommendation scenario.

[0088] For example, when a user opens the audio playback interface of a song, if the content item display method provided in the embodiment of the present application is adopted, the content related to the song in the audio playback interface disappears. At this time, playing the video of the object to be recommended in the content item will make the user pay attention to the video, thereby improving the display effect of the content item.

[0089] Figure 2 1 is a flow chart of a content item display method provided in an embodiment of the present application. The present application embodiment is exemplified by taking the execution subject as a terminal as an example. The embodiment includes:

[0090] 201. The terminal displays a target interface, where the target interface includes interface elements.

[0091] Among them, the target interface can be any interface. Optionally, the terminal is installed with a target application, and the target interface is any interface provided by the target application. For example, the target interface is the homepage of the target application; as another example, the target interface is a function page provided by the target application, etc. Optionally, the target interface is an interface provided by a website browsed by a user. Optionally, the target interface is a specified interface. For example, an audio playback application is installed on the terminal, and the target interface is an audio playback interface provided by the audio playback application. The embodiment of the present application does not limit the target interface.

[0092] Optionally, the terminal displays the target interface, including: the terminal displays the target interface in response to a triggering operation on an interface entry of the target interface.

[0093] An interface element is any element displayed in the target interface. For example, the interface element is a view element in the target interface; in another example, the interface element is a tool element in the target interface. Among them, a view element is an element used to display view content. Optionally, the view element is a visual view control, and the visual view control displays related views. Taking the target interface as a song playback interface for a song as an example, the cover of the song is displayed in the visual control; or, the lyrics of the song are displayed in the visual control, etc.

[0094] 202. When a content item display condition is met, the terminal obtains a content item to be recommended, where the content item at least includes a video of the object to be recommended.

[0095] In the embodiment of the present application, when the user browses the target interface, the terminal plays the video of the object to be recommended in the content item in the target interface. In order to clarify the display timing of the content item, the content item display condition can be set. When the content item display condition is met, the content item to be recommended is obtained and displayed. Among them, the content item can be data such as advertisements, and the embodiment of the present application does not limit the content item.

[0096] 203. The interface elements in the terminal control target interface disappear.

[0097] In order to enable the user to focus on the content item when the terminal displays the content item, the embodiment of the present application controls the interface elements in the target interface to disappear.

[0098] 204. After the interface element disappears, the video in the content item is played in the target interface.

[0099] Since the interface elements in the target interface have disappeared, when the video of the object to be recommended is played in the target interface, the user will focus on the video of the object to be recommended.

[0100] The content item display method provided in the embodiment of the present application, when displaying the content item in the target interface, will first control the interface elements in the target interface to disappear, and then play the video in the content item, which greatly improves the user's attention to the content item, thereby improving the display effect of the content item.

[0101] Figure 3 1 is a flow chart of a content item display method provided in an embodiment of the present application. The present application embodiment is exemplified by taking the execution subject as a terminal as an example. The embodiment includes:

[0102] 301. The terminal displays a target interface, where the target interface includes interface elements.

[0103] The step 301 is the same as the above step 201 and will not be described in detail here.

[0104] 302. When a content item display condition is met, the terminal obtains a content item to be recommended, where the content item includes a video and description information of the object to be recommended.

[0105] The content item display condition is a condition that must be met in order to display the content item to be recommended. It can be considered that only when the content item display condition is met will the terminal obtain the content item to be recommended and then display the content item.

[0106] In a possible implementation, when displaying a content item, the terminal displays the content item according to the display style of the content item. For example, if the display style of the content item is static display in the lower right corner, the terminal displays the image of the object to be recommended in the content item in the lower right corner when displaying the content item. For another example, if the display style of the content item is full screen playback, the terminal plays the video of the object to be recommended in the content item in full screen when displaying the content item.

[0107] In an embodiment of the present application, the data type of a content item is used to indicate the display style of the content item. Before displaying a content item, the terminal may first determine whether the display style of the content item is a target display style based on the data type of the content item, and obtain the content item when the data type of the content item indicates that the display style of the content item is a target display style. In other words, the content item display condition includes that the data type of the content item indicates that the display style of the content item is a target display style. The target display style is the display style of the content item to be recommended in the embodiment of the present application. For example, the target display style is a video playback style, a linkage display style, etc.

[0108] In another possible implementation, by limiting the display time of the content item, when the display time is reached, the content item to be recommended is obtained and displayed. Optionally, the content item is configured with time configuration information, and the time configuration information includes the waiting time of the content item before display. When the current moment is the display time indicated by the time configuration information of the content item, the content item to be recommended is obtained and displayed. In other words, the content display condition includes that the current moment is the display time indicated by the time configuration information of the content item.

[0109] It should be noted that the embodiments of the present application only illustrate the content item display conditions by taking the data type or time configuration information as an example, and do not limit the content item display conditions. In one possible implementation, the content item display conditions include: the data type of the content item indicates that the display style of the content item is the target display style, and the current moment is the display moment indicated by the time configuration information of the content item.

[0110] In another possible implementation, the terminal plays the video of the object to be recommended in the target interface once every first time period. Therefore, the content item display condition includes the time from entering the target interface or the time from the last time the video in the content item was played in the target interface reaching the first time period.

[0111] Among them, the data form of the content item can be multiple, and the display styles of content items in different data forms are different. For example, the data form of the content item can be in the form of pictures or in the form of videos. Among them, the display styles of content items in the form of pictures and content items in the form of videos can be different. In the embodiment of the present application, the video of the object to be recommended will be played in the target interface. If the content item only includes images, the video cannot be played. Therefore, the embodiment of the present application can determine whether to obtain the content item to be recommended based on the data form of the content item, and display the content item according to the display method shown in the embodiment of the present application. Optionally, the content item display condition includes that the data form of the content item is the target data form.

[0112] Among them, the content item in the above step 302 can be obtained by the terminal from the server, or it can be obtained from the terminal. Take the case where the content item is obtained by the terminal from the server as an example for explanation. In the above step 302, obtaining the content item to be recommended can be triggering the terminal to load the content item from the server when the content item display condition is met; it can also be that when the user enters the target interface, the terminal is triggered to load the content item from the server, the loaded content item is stored locally, and when the content item display condition is met, the content item is obtained from the local. For example, the method also includes: in response to the triggering operation of the target interface, asynchronously requesting to obtain the content item, and loading the content item to the local. Obtaining the content item to be recommended in the above step 302 includes: obtaining the content item from the local.

[0113] For example, after the user enters the audio playback interface of a certain song, the terminal requests a content item from the server, and the terminal receives the download link, data type and time configuration information of the content item sent by the server; the terminal performs asynchronous loading according to the download link sent by the server, and after loading is completed, it is stored in the user's mobile phone disk in the form of a file; if the data type sent by the server indicates that the display style of the content item is the target display style, then according to the time configuration information sent by the server, a delayed response event is set, and the content item is displayed after the waiting time is reached.

[0114] The time configuration information may be sent by the server when the terminal requests the server to send the content item, or may be sent by the server when the target application in the terminal is started, that is, the time configuration information may be the configuration information sent by the server when the terminal is started. The embodiment of the present application does not limit the method for obtaining the time configuration information.

[0115] 303. The interface elements in the terminal control target interface disappear.

[0116] In an embodiment of the present application, in order to enable the user to better focus on the content item when displaying the content item and improve the display effect of the content item, the interface elements in the target interface can be controlled to disappear first, and then the content item can be displayed.

[0117] When the terminal controls the disappearance of the interface elements in the target interface, the terminal can control the interface elements in the target interface to disappear directly, or use any special effect to control the interface elements to disappear gradually. The embodiment of the present application uses the following three disappearance methods to exemplify the process of the terminal controlling the disappearance of the interface elements in the target interface.

[0118] In a possible implementation, controlling the interface element in the target interface to disappear includes at least one of the following:

[0119] (1) Control the interface element to move out of the target interface.

[0120] When the interface element is controlled to move out of the target interface, the interface element can be controlled to move in a certain direction until the interface element moves out of the target interface. The direction can be any direction, for example, directly below, directly below, left, right, upper left, lower left, upper right, lower right, etc.

[0121] In one possible implementation, the terminal needs to control multiple interface elements to move out of the target interface. The terminal can control the multiple interface elements to move in the same direction, or control the multiple interface elements to move in different directions. For example, the terminal controls multiple interface elements to move directly downward until the multiple interface elements are all moved out of the target interface. For another example, the terminal controls the interface elements near the bottom of the interface to move downward, controls the interface elements near the top of the interface to move upward, controls the interface elements near the left side of the interface to move to the left, controls the interface elements near the right side of the interface to move right, etc.

[0122] In a possible implementation, the terminal obtains special effect parameters and controls the interface element according to the obtained special effect parameters. The terminal controls the interface element to move out of the target interface, including: obtaining the special effect parameters of the interface element, the special effect parameters including a moving trajectory, the moving trajectory is a trajectory of moving out of the target interface from the current position of the interface element, and controlling the interface element to move along the moving trajectory; or obtaining the special effect parameters of the interface element, the special effect parameters including a moving direction, and controlling the interface element to move along the moving direction until it moves out of the target interface.

[0123] Optionally, the special effect parameter also includes a moving speed, etc., and the terminal controls the interface element to move out of the target interface according to the moving speed. The embodiment of the present application does not limit the special effect parameter.

[0124] It should be noted that in the embodiment of the present application, when the control interface element moves out of the target interface, other special effects can also be superimposed. For example, when the terminal controls the interface element to move out of the target interface, the interface element is controlled to rotate during the process of moving out of the target interface. The embodiment of the present application only takes the rotation special effect as an example to exemplify the superimposed special effects, and does not limit the superimposed special effects.

[0125] (2) Control the transparency of the interface element to gradually decrease until it reaches 0.

[0126] The transparency of the interface element is 0, which means that the interface element is completely transparent and invisible; the transparency of the interface element is 1, which means that the interface element is completely opaque and visible. Controlling the transparency of the interface element to gradually decrease until it is 0 means controlling the interface element to gradually become transparent until it is completely transparent.

[0127] In a possible implementation, the terminal obtains special effect parameters and controls the interface element according to the obtained special effect parameters. Controlling the transparency of the interface element to gradually decrease until it is 0 includes: obtaining the special effect parameters of the interface element, the special effect parameters including the transparency corresponding to multiple moments, and the transparency corresponding to the last moment is 0, and controlling the transparency of the interface element to change according to the transparency corresponding to the multiple moments.

[0128] (3) Control the interface element to gradually shrink until it disappears.

[0129] In a possible implementation, the terminal obtains special effect parameters and controls the interface element according to the obtained special effect parameters. Controlling the interface element to gradually shrink until it disappears includes: obtaining the special effect parameters of the interface element, the special effect parameters including sizes corresponding to multiple moments, and the size corresponding to the last moment is 0, and controlling the size of the interface element to change according to the sizes corresponding to the multiple moments.

[0130] It should be noted that the embodiments of the present application are merely illustrative of the above three methods of controlling the gradual disappearance of interface elements, and do not limit the manner in which the interface elements disappear.

[0131] In one possible implementation, the interface elements have multiple display modes, and the interface elements disappear in different ways depending on their display modes. Controlling the disappearance of the interface elements in the target interface includes: based on the display mode of the interface element, obtaining disappearance special effect parameters corresponding to the display mode; and based on the obtained disappearance special effect parameters, controlling the disappearance of the interface element. The disappearance special effect parameters are special effect parameters used to control the disappearance of the interface elements. Different disappearance special effect parameters can be paired with display modes in any combination, and the embodiments of the present application are not limited to this.

[0132] In an embodiment of the present application, a method of controlling the disappearance of an interface element according to a display mode is exemplified. Optionally, based on the acquired disappearance special effect parameter, controlling the disappearance of the interface element includes any of the following steps: the display mode of the interface element is a first display mode, and the disappearance special effect parameter corresponding to the first display mode is a first disappearance special effect parameter. Based on the first disappearance special effect parameter, the interface element is controlled to move out of the target interface, and in the process of moving out of the target interface, the transparency of the interface element is controlled to be reduced to 0; the display mode of the interface element is a second display mode, and the disappearance special effect parameter corresponding to the second display mode is a second disappearance special effect parameter. Based on the second disappearance special effect parameter, the interface element is controlled to gradually shrink until it disappears, and in the process of shrinking, the transparency of the interface element is controlled to be reduced to 0.

[0133] For example, taking the target interface as an audio playback interface, the display modes of the interface elements include cover mode, square cover mode, circular rotation mode, and singer portrait mode. In the cover mode, the target interface includes a song cover view displayed in full screen, and the terminal can control the song cover view to move linearly downward, and during the downward movement, control the transparency of the cover view to be reduced to 0; in the square cover mode, the target interface includes a square cover view displayed in the upper half of the target interface, and the terminal can control the square cover view to gradually shrink, and during the shrinking process, control the transparency of the square cover view to be reduced to 0; in the circular rotation mode, the target interface includes a circular cover view displayed in the upper half of the target interface, and the circular cover view rotates continuously, and the terminal can control the circular cover view to gradually shrink, and during the shrinking process, control the transparency of the circular cover view to be reduced to 0, and during this process, the circular cover view Figure 1 In the singer portrait mode, the target interface includes a singer portrait view displayed in full screen, and the terminal can control the singer portrait view to move linearly downward, and during the downward movement, control the transparency of the singer portrait view to be reduced to 0.

[0134] It should be noted that in the embodiment of the present application, the purpose of controlling the disappearance of interface elements is to divert the user's attention to the content items to be displayed. Therefore, some interface elements that will not divert the user's attention can be retained in the target interface, and only the interface elements that can attract the user's attention are controlled to disappear. In a possible implementation, the interface elements include view elements and tool elements; controlling the disappearance of the interface elements in the target interface includes: controlling the disappearance of the view elements in the target interface and keeping the tool elements in the target interface unchanged.

[0135] Among them, view elements are elements used to display view content, while tool elements are elements used to provide modification functions. Taking the target interface as an audio playback interface as an example, view elements can include lyrics elements, album cover elements, etc.; while tool elements can include "play / pause" options, "next song" options, "previous song" options, etc.

[0136] For example, Figure 4 As shown, the target interface includes multiple view elements such as "song name", "lyrics", "song cover", etc., and also includes multiple tool elements such as "play / pause" option, "next song" option, "previous song" option. The terminal can control multiple view elements such as "song name", "lyrics", "song cover" to move downward, and during the downward movement, the transparency of these view elements gradually decreases, such as Figure 5 In addition, the terminal only controls the view element to move downward, while keeping multiple tool elements such as the "play / pause" option, the "next song" option, and the "previous song" option unchanged.

[0137] Among them, the tool element in the target interface can update the content displayed by the view element in the target interface, and the view element has disappeared. At this time, the tool element is operated, and the updated view element cannot be seen. Therefore, the tool element can be prohibited from interacting. Optionally, the method also includes: updating the state of the tool element to an untriggerable state, and the tool element in the untriggerable state does not respond to the trigger operation.

[0138] Optionally, the method further includes: after the video is played, updating the state of the tool element to a triggerable state, and the tool element in the triggerable state responds to the trigger operation. Since the interface element will be redisplayed in the target interface after the video is played, the interaction of the tool element can be restored to ensure the normal use of the target interface.

[0139] 304. After the interface element disappears, the terminal plays the video of the object to be recommended in the content item in the target interface.

[0140] When the terminal plays the video of the object to be recommended in the target interface, the video may be played in full screen or in a certain area, which is not limited in the embodiment of the present application.

[0141] In a possible implementation, the terminal embeds a video playback control in the target interface, and plays the video through the video playback control. That is, after the interface element disappears, the terminal plays the video of the object to be recommended in the target interface, including: after the interface element disappears, the terminal inserts a video playback control in the target interface, and plays the video of the object to be recommended in the content item based on the video playback control.

[0142] It should be noted that the terminal may initialize the video player and the video playback control in advance. For example, after the content item is loaded locally, the video player and the video playback control may be initialized.

[0143] In one possible implementation, some preparation work needs to be done before playing the video, and the video can only be played after the preparation work is completed. Optionally, playing the video of the object to be recommended in the target interface includes: playing the video in the target interface when a video playing condition is met; the video playing condition includes at least one of the following: (1) the content item has been acquired; (2) the target interface is a top-level view, which is the view presented to the user by the device; (3) the tool element in the target interface is in an untriggerable state; (4) the target interface is prohibited from responding to a target gesture, which is a gesture for leaving the target interface.

[0144] For example, when the current moment is the display moment indicated by the time configuration information of the content item, the content item is read locally from the terminal to determine whether the target interface is a top-level view. If the target interface is a top-level view, the status of the tool element is updated to an untriggerable state, and response to the target gesture is prohibited. After that, the interface elements in the target interface can be controlled to disappear, and the video can be played in the target interface.

[0145] For example, the target interface is an audio playback interface, and the audio playback interface is a top-level view, which means that the user is watching the audio playback interface, and the client to which the audio playback interface belongs is not running in the background, but in the foreground. However, even if the client is running in the foreground, if the top-level view is not the audio playback interface, the terminal will not play the video. For example, when the user slides from the audio playback interface to the lyrics display interface, the top-level view is the lyrics display interface. Since the user slides to the lyrics display interface usually to view the lyrics, if the lyrics are controlled to disappear and the content items are displayed, it may cause user disgust. Therefore, when the top-level view is the lyrics display interface, the content items are no longer displayed.

[0146] In one possible implementation, the target interface is an audio playback interface of any song. When the terminal displays the audio playback interface, it may be playing the audio of the song at the same time. In the embodiment of the present application, when playing a video, the playing of the song can be paused or continued, and the embodiment of the present application does not limit this. Optionally, playing the video of the object to be recommended in the target interface includes any of the following steps: pausing the playing of the song and playing the video in the target interface; playing the video in the target interface while playing the song.

[0147] One thing that needs to be explained is that if the song is paused while playing a video, you will need to resume the song after the video is finished playing.

[0148] Another point to be explained is that the video may or may not include audio data. Optionally, if the video includes audio data, the song can be paused when the video is played; alternatively, if the video does not include audio data, the song can continue to be played when the video is played, because the video has no sound, and therefore the video will not affect the song.

[0149] like Figure 6 and Figure 7 As shown, the object to be recommended is headphones, and a video with the headphones is played in the target interface.

[0150] 305. After playing the video, the terminal displays the last video frame of the video.

[0151] In an embodiment of the present application, after the terminal finishes playing the video, it will stay at the last video frame of the video.

[0152] 306. The terminal controls the video frame to move from the current position to the target position.

[0153] Among them, the target position can be any position in the target interface, which can be the system default position, the user set position, the technician set position, etc., and the embodiment of the present application does not limit this.

[0154] In a possible implementation, the terminal controls the video frame to move from the current position to the target position through the special effect parameter. Optionally, the terminal controls the video frame to move from the current position to the target position, including: obtaining the special effect parameter, the special effect parameter including the target position, and controlling the video frame to move from the current position to the target position according to the special effect parameter.

[0155] It should be noted that the embodiment of the present application does not limit the manner in which the terminal controls the video frame to move from the current position to the target position.

[0156] In a possible implementation, the terminal plays the video by embedding a video playback control in a target interface, and thus the terminal moves the video playback control so that the content displayed by the video playback control moves in the target interface. The terminal controls the video frame to move from a current position to a target position, including: the terminal controls the video playback control to move from the current position to the target position.

[0157] 307. The terminal controls the video frame to disappear, and displays the description information in the content item in the area to which the target position belongs.

[0158] The embodiment of the present application only takes the disappearance of the video frame and the display of the description information of the object in the area to which the target position belongs as an example to exemplify the display method of the content item. In another embodiment, the terminal can also control the video frame to move from the current position to the target position and display the video frame at the target position. In one possible implementation, the video frame is displayed in full screen and can be reduced in size when moving to the target position. Among them, controlling the video frame to move from the current position to the target position includes: controlling the video frame to move from the current position to the target position, and controlling the video frame to gradually reduce in size during the movement. Figure 8 As shown, the video frame is moved above the target interface and the video frame is reduced.

[0159] In the embodiment of the present application, the content item also includes description information of the object, and the target position may be any position in the display area of ​​the description information of the object. Optionally, the target position may be the center position of the display area of ​​the description object.

[0160] It should be noted that in the embodiment of the present application, the terminal controls the disappearance of the video frame either during the process of moving the video frame from the current position to the target position or after the video frame is moved to the target position, and the embodiment of the present application does not limit this.

[0161] In a possible implementation, the terminal controls the video frame to gradually disappear during the process of moving the video frame from the current position to the target position. Controlling the video frame to move from the current position to the target position includes: controlling the video frame to move from the current position to the target position, and during the movement, controlling the video frame to gradually shrink until it disappears.

[0162] Among them, when controlling the video frame to gradually shrink, the center of the rounded corners of the video frame can be controlled to shrink, and the embodiment of the present application does not limit the shrinking method.

[0163] For example, the terminal controls the video frame to move from the current position to the center position of the display area of ​​the description information, and controls the video frame to gradually shrink during the movement. When the video frame moves to the center position, it shrinks until it disappears. At this time, the description information of the object to be recommended is displayed in the display area, so that the user notices the description information.

[0164] Optionally, the description information of the object to be recommended may be at least one of the name, price, picture, video, etc. of the object to be recommended, and the embodiment of the present application does not limit the description information of the object to be recommended. Optionally, after watching the video of the object to be recommended, the user may have a desire to buy, so the description information of the object to be recommended may also be a shopping link of the object to be recommended, and by triggering the description information, the terminal may display the purchase interface of the object to be recommended.

[0165] It should be noted that the embodiment of the present application only takes the example that the content item includes the video and description information of the object to be recommended, and exemplifies the method for displaying the content item. In another embodiment, the content item includes a video and a logo image of the object, and after controlling the video frame to move from the current position to the target position, the method further includes: controlling the video frame to disappear; and displaying the logo image at the target position. The logo image is an image used to display the appearance of the object. For example, the object is a headset, and the logo image is a photo of the headset.

[0166] In a possible implementation, displaying the logo image at the target position includes any of the following steps: controlling the logo image to disappear after popping up at the target position; controlling the logo image to restore after popping up at the target position.

[0167] The terminal may enlarge or reduce the logo image so that the logo image presents a pop-up effect. For example, the terminal may first display the logo image at the initial size, then switch to 1.15 times the size, and then gradually reduce it from 1.15 times to the initial size; or the terminal may directly display the logo image at 1.15 times the size, and then gradually reduce it from 1.15 times to the initial size.

[0168] It should be noted that after the terminal restores the logo image to its original size, if it continues to display it, the effect of the logo image popping up and then recovering is achieved; if the logo image disappears after being restored to its original size, the effect of the logo image popping up and then disappearing at the target position is achieved.

[0169] In another embodiment, the content item includes a video, description information, and a logo image of the object to be recommended. Since the description information and the logo image are both displayed at the target location, the logo image can disappear after popping up at the target location. In a possible implementation, the terminal controls the video frame to disappear at the target location, and controls the logo image to disappear after popping up at the target location at the target location of the first layer; and displays the description information in the display area of ​​the second layer. The first layer is located above the second layer. Therefore, the logo image will cover the description information, and the description information will be displayed after the logo image disappears.

[0170] The description information can be regarded as the advertisement banner of the object to be recommended, and the logo image can be regarded as the middle image of the object to be recommended. The middle image is used to link the video and the advertisement banner.

[0171] 308. The terminal control interface elements are restored to the target interface.

[0172] After displaying the content items, the interface elements also need to be restored to the target interface to ensure normal use of the target interface.

[0173] It should be noted that, in a possible implementation, the process of the terminal controlling the disappearance of the interface element is the inverse process of the process of controlling the interface element to be restored to the target interface. For example, the terminal reduces the transparency of the interface element from 1 to 0 to make the interface element disappear; then when the terminal controls the interface element to be restored to the target interface, the transparency of the interface element can be controlled to increase from 0 to 1.

[0174] In a possible implementation, when restoring an interface element to a target interface, the display mode of the interface element is taken into consideration, and different display modes have different restoration methods. Controlling the interface element to be restored to the target interface includes: based on the display mode of the interface element, obtaining restoration special effect parameters corresponding to the display mode; and based on the obtained restoration special effect parameters, controlling the interface element to move back to the target interface.

[0175] Optionally, based on the acquired recovery special effect parameters, controlling the interface element to move back to the target interface includes any of the following steps: the display mode of the interface element is the first display mode, and the recovery special effect parameters corresponding to the first display mode are first recovery special effect parameters; based on the first recovery special effect parameters, controlling the interface element to move back to the target interface, and in the process of moving back to the target interface, controlling the transparency of the interface element to increase to 1; the display mode of the interface element is the second display mode, and the recovery special effect parameters corresponding to the second display mode are second recovery special effect parameters; based on the second recovery special effect parameters, controlling the interface element to gradually enlarge to a target size, and in the process of enlarging, controlling the transparency of the interface element to increase to 1, the target size being the initial size of the interface element in the target interface.

[0176] Among them, the method of restoring the interface elements based on the display mode is the same as the method of controlling the disappearance of the interface elements based on the display mode, and they will not be described in detail here.

[0177] In one possible implementation, controlling the interface element to restore to the target interface includes at least one of the following: (1) controlling the interface element to move from a current position to an initial position of the interface element in the target interface; (2) controlling the interface element to enlarge from a current size to an initial size of the interface element in the target interface; (3) controlling the interface element to increase its transparency from a current value to 1.

[0178] Among them, the method of restoring the interface element to the target interface is the same as the method of controlling the disappearance of the interface element, which will not be described in detail here.

[0179] It should be noted that the above step 308 and step 306 may be performed simultaneously, or step 306 may be performed first and then step 308. This embodiment of the present application does not limit this.

[0180] For example, Figure 8 He Ru Fig. 9 The interface elements move from the bottom of the target interface into the target interface, and their transparency gradually increases during the process of entering the target interface.

[0181] After the content item is displayed, the video text can be released from the memory and read again from the disk when it is displayed next time.

[0182] The content item display method provided in the embodiment of the present application, when displaying the content item in the target interface, will first control the interface elements in the target interface to disappear, and then play the video in the content item, which greatly improves the user's attention to the content item, thereby improving the display effect of the content item.

[0183] Moreover, after the video playback of the object is completed, the video can be moved to the target position. After the video disappears at the target position, the description information of the object is displayed at the target position, realizing the linkage between the video and the description information, allowing the user to pay attention to the description information, and further improving the display effect of the content item.

[0184] Furthermore, the embodiment of the present application can also display an animation at the location where the video disappears after the video disappears, and after the animation display is completed, display the description information of the object, thereby realizing the visual linkage between dynamic display information and static display information, doubly improving the user's perception, and thus improving the display effect of the content item.

[0185] Fig.10 This is a schematic diagram of the structure of a content item display device provided in an embodiment of the present application, see Fig.10 , the device comprises:

[0186] Display module 1001, used to display a target interface, wherein the target interface includes interface elements;

[0187] An acquisition module 1002 is used to acquire a content item to be recommended when a content item display condition is met, wherein the content item includes a video of an object to be recommended;

[0188] The display module 1001 is also used to control the disappearance of interface elements in the target interface;

[0189] The display module 1001 is further configured to play the video of the object to be recommended in the target interface after the interface element disappears.

[0190] like Fig.11 As shown, in a possible implementation, the display module 1001 includes:

[0191] The acquisition unit 1011 is used to acquire the disappearance special effect parameter corresponding to the display mode based on the display mode of the interface element;

[0192] The display unit 1021 is used to control the disappearance of the interface element based on the acquired disappearance special effect parameters.

[0193] In a possible implementation, the display unit 1021 is used to perform any of the following steps:

[0194] The display mode of the interface element is the first display mode, the disappearance special effect parameter corresponding to the first display mode is the first disappearance special effect parameter, and based on the first disappearance special effect parameter, the interface element is controlled to move out of the target interface, and in the process of moving out of the target interface, the transparency of the interface element is controlled to gradually decrease to 0;

[0195] The display mode of the interface element is the second display mode, and the disappearance special effect parameter corresponding to the second display mode is the second disappearance special effect parameter. Based on the second disappearance special effect parameter, the interface element is controlled to gradually shrink until it disappears, and during the shrinking process, the transparency of the interface element is controlled to be reduced to 0.

[0196] In a possible implementation, the display module 1001 is configured to perform at least one of the following:

[0197] Controlling the interface element to move out of the target interface;

[0198] Control the transparency of the interface element to gradually decrease until it reaches 0;

[0199] Control the interface element to gradually shrink until it disappears.

[0200] In a possible implementation, the display module 1001 is further used to control the interface element to be restored to the target interface.

[0201] In a possible implementation, the display module 1001 includes:

[0202] The acquisition unit 1011 is used to acquire the restoration special effect parameters corresponding to the display mode based on the display mode of the interface element;

[0203] The display unit 1021 is used to control the interface element to be restored to the target interface based on the acquired restoration special effect parameters.

[0204] In a possible implementation, the display unit 1021 is configured to perform any of the following steps:

[0205] The display mode of the interface element is the first display mode, the restoration special effect parameter corresponding to the first display mode is the first restoration special effect parameter, and based on the first restoration special effect parameter, the interface element is controlled to move back to the target interface, and in the process of moving back to the target interface, the transparency of the interface element is controlled to increase to 1;

[0206] The display mode of the interface element is the second display mode, and the recovery special effect parameter corresponding to the second display mode is the second recovery special effect parameter. Based on the second recovery special effect parameter, the interface element is controlled to gradually enlarge to a target size, and during the enlargement process, the transparency of the interface element is controlled to increase to 1. The target size is the initial size of the interface element in the target interface.

[0207] In a possible implementation, the display module 1001 is further configured to perform at least one of the following:

[0208] Controlling the interface element to move from a current position to an initial position of the interface element in the target interface;

[0209] Control the interface element to enlarge from the current size to the initial size of the interface element in the target interface;

[0210] Control the interface element to increase its transparency from the current one to 1.

[0211] In a possible implementation, the display module 1001 is further used to display the last video frame of the video after the video is played; and control the video frame to move from a current position to a target position.

[0212] In a possible implementation, the display module 1001 is used to control the video frame to move from the current position to the target position, and during the movement, control the video frame to gradually shrink.

[0213] In a possible implementation, the display module 1001 is used to control the video frame to move from the current position to the target position, and during the movement, control the video frame to gradually shrink until it disappears.

[0214] In a possible implementation, the content item further includes description information of the object; the display module 1001 is further configured to control the disappearance of the video frame; and display the description information in the content item in the area to which the target position belongs.

[0215] In a possible implementation, the content item further includes a logo image of the object; the display module 1001 is further configured to control the video frame to disappear; and display the logo image in the content item at the target position.

[0216] In a possible implementation, the display module 1001 is used to perform any of the following steps:

[0217] Control the logo image to disappear after popping up at the target position;

[0218] The logo image is controlled to pop up at the target position and then be restored.

[0219] In a possible implementation, the acquisition module 1002 is used to asynchronously request to acquire the content item in response to a triggering operation on the target interface, load the content item to a local device, and acquire the content item from the local device.

[0220] In a possible implementation, the content item display condition includes at least one of the following:

[0221] The data type of the content item indicates that the presentation style of the content item is a target presentation style;

[0222] The current time is the presentation time indicated by the time configuration information of the content item, and the time configuration information includes the waiting time length before the content item is presented.

[0223] In a possible implementation, the interface elements include view elements and tool elements; the display module 1001 is used to control the view elements in the target interface to disappear and keep the tool elements in the target interface unchanged.

[0224] In a possible implementation, the device further includes:

[0225] The updating module 1003 is used to update the state of the tool element to an untriggerable state. The tool element in the untriggerable state does not respond to a triggering operation.

[0226] In a possible implementation, the updating module 1003 is further used to update the state of the tool element to a triggerable state after the video playback is completed, and the tool element in the triggerable state responds to a triggering operation.

[0227] In a possible implementation, the display module 1001 is used to play the video in the target interface when the video playback condition is met;

[0228] The content item display condition includes at least one of the following:

[0229] The content item has been acquired;

[0230] The target interface is a top-level view, which is a view presented to the user by the device;

[0231] The tool element in the target interface is in an untriggerable state;

[0232] The target interface is prohibited from responding to a target gesture, and the target gesture is a gesture used to leave the target interface.

[0233] In a possible implementation, the target interface is an audio playback interface of any song; the display module 1001 is further used to perform any of the following steps:

[0234] Pause the playing of the song and play the video in the target interface;

[0235] While the song is being played, the video is being played in the target interface.

[0236] Fig.12The structure block diagram of a terminal 1200 provided by an exemplary embodiment of the present application is shown. The terminal 1200 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) player, a laptop computer or a desktop computer. The terminal 1200 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0237] The terminal 1200 includes: a processor 1201 and a memory 1202 .

[0238] The processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1201 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1201 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1201 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1201 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0239] The memory 1202 may include one or more computer-readable storage media, which may be non-transitory. The memory 1202 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1202 is used to store at least one program code, which is used to be executed by the processor 1201 to implement the content item display method provided in the method embodiment of the present application.

[0240] In some embodiments, the terminal 1200 may also optionally include: a peripheral device interface 1203 and at least one peripheral device. The processor 1201, the memory 1202 and the peripheral device interface 1203 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1203 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1204, a display screen 1205, a camera assembly 1206, an audio circuit 1207, a positioning assembly 1208 and a power supply 1209.

[0241] The peripheral device interface 1203 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1201 and the memory 1202. In some embodiments, the processor 1201, the memory 1202, and the peripheral device interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1201, the memory 1202, and the peripheral device interface 1203 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0242] The radio frequency circuit 1204 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1204 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1204 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1204 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1204 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1204 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0243] The display screen 1205 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1205 is a touch display screen, the display screen 1205 also has the ability to collect touch signals on the surface or above the surface of the display screen 1205. The touch signal can be input to the processor 1201 as a control signal for processing. At this time, the display screen 1205 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1205 can be one, and the front panel of the terminal 1200 is set; in other embodiments, the display screen 1205 can be at least two, which are respectively set on different surfaces of the terminal 1200 or are folded; in some other embodiments, the display screen 1205 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal 1200. Even, the display screen 1205 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1205 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0244] The camera assembly 1206 is used to capture images or videos. Optionally, the camera assembly 1206 includes a front camera and a rear camera. The front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1206 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0245] The audio circuit 1207 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1201 for processing, or input them into the radio frequency circuit 1204 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1200. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1201 or the radio frequency circuit 1204 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1207 may also include a headphone jack.

[0246] The positioning component 1208 is used to locate the current geographical location of the terminal 1200 to implement navigation or LBS (Location Based Service). The positioning component 1208 can be a positioning component based on the US GPS (Global Positioning System), China's Beidou system, Russia's Grenas system or the European Union's Galileo system.

[0247] The power supply 1209 is used to power various components in the terminal 1200. The power supply 1209 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1209 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0248] In some embodiments, the terminal 1200 further includes one or more sensors 1210 , including but not limited to: an acceleration sensor 1211 , a gyroscope sensor 1212 , a pressure sensor 1213 , a fingerprint sensor 1214 , an optical sensor 1215 , and a proximity sensor 1216 .

[0249] The acceleration sensor 1211 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1200. For example, the acceleration sensor 1211 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1201 can control the display screen 1205 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1211. The acceleration sensor 1211 can also be used to collect motion data of games or users.

[0250] The gyro sensor 1212 can detect the body direction and rotation angle of the terminal 1200, and the gyro sensor 1212 can cooperate with the acceleration sensor 1211 to collect the user's 3D actions on the terminal 1200. The processor 1201 can implement the following functions based on the data collected by the gyro sensor 1212: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0251] The pressure sensor 1213 can be set on the side frame of the terminal 1200 and / or the lower layer of the display screen 1205. When the pressure sensor 1213 is set on the side frame of the terminal 1200, the user's holding signal of the terminal 1200 can be detected, and the processor 1201 performs left and right hand recognition or shortcut operations according to the holding signal collected by the pressure sensor 1213. When the pressure sensor 1213 is set on the lower layer of the display screen 1205, the processor 1201 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1205. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0252] The fingerprint sensor 1214 is used to collect the user's fingerprint, and the processor 1201 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 1214, or the fingerprint sensor 1214 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 1201 authorizes the user to perform relevant sensitive operations, which include unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings. The fingerprint sensor 1214 can be set on the front, back, or side of the terminal 1200. When a physical button or a manufacturer logo is set on the terminal 1200, the fingerprint sensor 1214 can be integrated with the physical button or the manufacturer logo.

[0253] The optical sensor 1215 is used to collect the ambient light intensity. In one embodiment, the processor 1201 can control the display brightness of the display screen 1205 according to the ambient light intensity collected by the optical sensor 1215. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1205 is increased; when the ambient light intensity is low, the display brightness of the display screen 1205 is reduced. In another embodiment, the processor 1201 can also dynamically adjust the shooting parameters of the camera assembly 1206 according to the ambient light intensity collected by the optical sensor 1215.

[0254] The proximity sensor 1216, also called a distance sensor, is disposed on the front panel of the terminal 1200. The proximity sensor 1216 is used to collect the distance between the user and the front of the terminal 1200. In one embodiment, when the proximity sensor 1216 detects that the distance between the user and the front of the terminal 1200 is gradually decreasing, the processor 1201 controls the display screen 1205 to switch from the screen-on state to the screen-off state; when the proximity sensor 1216 detects that the distance between the user and the front of the terminal 1200 is gradually increasing, the processor 1201 controls the display screen 1205 to switch from the screen-off state to the screen-on state.

[0255] Those skilled in the art will understand that Fig.12 The structure shown in the figure does not constitute a limitation on the terminal 1200, and the terminal 1200 may include more or fewer components than those shown in the figure, or combine certain components, or adopt a different component arrangement.

[0256] Fig.13 This is a schematic diagram of the structure of a server provided in an embodiment of the present application. The server 1300 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1301 and one or more memories 1302, wherein the memory 1302 stores at least one program code, and the at least one program code is loaded and executed by the processor 1301 to implement the methods provided in the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.

[0257] The server 1300 is used to execute the steps executed by the server in the above method embodiment.

[0258] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including a program code, and the program code can be executed by a processor in a computer device to complete the content item display method in the above embodiment. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0259] In an exemplary embodiment, a computer program or a computer program product is further provided. The computer program or the computer program product includes a computer program code. When the computer program code is executed by a terminal, the terminal implements the content item display method in the above embodiment.

[0260] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0261] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for displaying content items, characterized in that: The method comprises: Display a target interface, wherein the target interface includes interface elements; In response to a triggering operation on the target interface, asynchronously requesting to obtain a content item to be recommended, the content item being an advertisement; Receiving the download link, data type and time configuration information of the content item sent by the server, performing asynchronous loading according to the download link, and storing the content item in the form of a file on a disk after the loading is completed; When the content item display condition is met, the content item to be recommended is obtained locally, wherein the content item at least includes a video of the object to be recommended; Controlling the interface elements in the target interface to disappear; After the interface element completely disappears, the video in the content item is played in the target interface.

2. The method according to claim 1, characterized in that The controlling the interface elements in the target interface to disappear includes: Based on the display mode of the interface element, obtaining disappearance special effect parameters corresponding to the display mode; Based on the acquired disappearance special effect parameters, the interface element is controlled to disappear.

3. The method according to claim 2, characterized in that The controlling the disappearance of the interface element based on the acquired disappearance special effect parameter comprises any of the following steps: The display mode of the interface element is the first display mode, the disappearance special effect parameter corresponding to the first display mode is the first disappearance special effect parameter, and based on the first disappearance special effect parameter, the interface element is controlled to move out of the target interface, and in the process of moving out of the target interface, the transparency of the interface element is controlled to gradually decrease to 0; The display mode of the interface element is the second display mode, and the disappearance special effect parameter corresponding to the second display mode is the second disappearance special effect parameter. Based on the second disappearance special effect parameter, the interface element is controlled to gradually shrink until it disappears, and during the shrinking process, the transparency of the interface element is controlled to be reduced to 0.

4. The method according to claim 1, characterized in that: The controlling the interface elements in the target interface to disappear includes at least one of the following: Controlling the interface element to move out of the target interface; Control the transparency of the interface element to gradually decrease until it reaches 0; Control the interface element to gradually shrink until it disappears.

5. The method according to claim 1, characterized in that After the interface element completely disappears and after the video in the content item is played in the target interface, the method further includes: Control the interface element to restore to the target interface.

6. The method according to claim 5, characterized in that The controlling the interface element to be restored to the target interface includes: Based on the display mode of the interface element, obtaining a restoration special effect parameter corresponding to the display mode; Based on the acquired restoration special effect parameters, the interface element is controlled to be restored to the target interface.

7. The method according to claim 6, characterized in that The controlling the interface element to be restored to the target interface based on the acquired restoration special effect parameter comprises any of the following steps: The display mode of the interface element is the first display mode, the restoration special effect parameter corresponding to the first display mode is the first restoration special effect parameter, and based on the first restoration special effect parameter, the interface element is controlled to move back to the target interface, and in the process of moving back to the target interface, the transparency of the interface element is controlled to increase to 1; The display mode of the interface element is the second display mode, and the recovery special effect parameter corresponding to the second display mode is the second recovery special effect parameter. Based on the second recovery special effect parameter, the interface element is controlled to gradually enlarge to a target size, and during the enlargement process, the transparency of the interface element is controlled to increase to 1. The target size is the initial size of the interface element in the target interface.

8. The method according to claim 5, characterized in that The controlling the interface element to be restored to the target interface includes at least one of the following: Controlling the interface element to move from a current position to an initial position of the interface element in the target interface; Control the interface element to enlarge from the current size to the initial size of the interface element in the target interface; Control the interface element to increase its transparency from the current one to 1.

9. The method according to claim 1, characterized in that: The method further comprises: After playing the video, display the last video frame of the video; Control the video frame to move from a current position to a target position.

10. The method according to claim 9, characterized in that The controlling the video frame to move from the current position to the target position includes: The video frame is controlled to move from the current position to the target position, and during the movement, the video frame is controlled to gradually shrink.

11. The method according to claim 10, characterized in that The controlling the video frame to move from the current position to the target position, and controlling the video frame to gradually shrink during the movement, includes: The video frame is controlled to move from the current position to the target position, and during the movement, the video frame is controlled to gradually shrink until it disappears.

12. The method according to claim 9, characterized in that The content item also includes description information of the object; after controlling the video frame to move from the current position to the target position, the method further includes: Controlling the video frame to disappear; In the area to which the target location belongs, the description information in the content item is displayed.

13. The method according to claim 9, characterized in that The content item further includes a logo image of the object. After controlling the video frame to move from the current position to the target position, the method further includes: Controlling the video frame to disappear; A logo image in the content item is displayed at the target location.

14. The method according to claim 13, characterized in that The step of displaying the logo image in the content item at the target location comprises any of the following steps: Control the logo image to disappear after popping up at the target position; The logo image is controlled to pop up at the target position and then be restored.

15. The method according to claim 1, characterized in that The content item display condition includes at least one of the following: The data type of the content item indicates that the presentation style of the content item is a target presentation style; The current time is the presentation time indicated by the time configuration information of the content item, and the time configuration information includes the waiting time length before the content item is presented.

16. The method according to claim 1, characterized in that The interface elements include view elements and tool elements; and the step of controlling the disappearance of the interface elements in the target interface includes: The view elements in the target interface are controlled to disappear, and the tool elements in the target interface are kept unchanged.

17. The method according to claim 16, characterized in that The method further comprises: The state of the tool element is updated to an untriggerable state, and the tool element in the untriggerable state does not respond to a trigger operation.

18. The method according to claim 17, characterized in that The method further comprises: After the video is played, the state of the tool element is updated to a triggerable state, and the tool element in the triggerable state responds to a trigger operation.

19. The method according to claim 1, characterized in that Playing the video in the content item in the target interface includes: When the video playing condition is met, playing the video in the target interface; The content item display condition includes at least one of the following: The content item has been acquired; The target interface is a top-level view, which is a view presented to the user by the device; The tool element in the target interface is in an untriggerable state; The target interface is prohibited from responding to a target gesture, and the target gesture is a gesture used to leave the target interface.

20. The method according to claim 1, characterized in that The target interface is an audio playback interface of any song; and playing the video in the content item in the target interface includes any of the following steps: Pause the playing of the song and play the video in the target interface; While the song is being played, the video is being played in the target interface.

21. A content item display device, characterized in that: The device comprises: A display module, used to display a target interface, wherein the target interface includes interface elements; The acquisition module is used to asynchronously request to acquire the content item to be recommended in response to the trigger operation on the target interface, wherein the content item is an advertisement; receive the download link, data type and time configuration information of the content item sent by the server, perform asynchronous loading according to the download link, and store it in the disk in the form of a file after loading; The acquisition module is further configured to acquire the content item to be recommended from a local computer if the content item display condition is met, wherein the content item at least includes a video of the object to be recommended; The display module is further used to control the disappearance of interface elements in the target interface; The display module is also used to play the video in the content item in the target interface after the interface element completely disappears.

22. A terminal, characterized in that: The terminal includes one or more processors and one or more memories, and at least one program code is stored in the one or more memories. The at least one program code is loaded and executed by the one or more processors to implement the operations performed by the content item display method as described in any one of claims 1 to claim 20.

23. A computer-readable storage medium, characterized in that: The storage medium stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the operations performed by the content item display method according to any one of claims 1 to 20.