Media content display method and device, electronic equipment, storage medium and program product
By displaying the background color associated with the media picture in the media content display interface, the problem of abrupt changes in the color of media pictures and non-picture areas in the prior art is solved, and the display effect of media content is improved.
Patent Information
- Application Number
- CN202411119198.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-12-06
AI Technical Summary
In the prior art, the display method of media content is relatively single, resulting in a sudden change in color between the media screen display area and the non-screen display area, causing a sense of separation.
In the media content display interface, some areas except the media screen display area display background colors associated with the current screen content, reducing the abruptness of color changes through gradients and other methods to improve the display effect.
It enriches the display method of media content, reduces the abruptness of color changes between media pictures and non-picture areas, reduces the sense of separation of regional backgrounds, and improves the display effect of screen content.
Smart Images

Figure CN119088258A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular, to a method, device, electronic device, storage medium, and program product for displaying media content. Background Art
[0002] Currently, the media content screen can be displayed in the screen display area, and the background color can be displayed in the non-screen display area. However, the display method of the media content is relatively simple. Summary of the invention
[0003] The embodiments of the present disclosure provide a method, device, electronic device, storage medium and program product for displaying media content, so as to enrich the display mode of media content.
[0004] In a first aspect, an embodiment of the present disclosure provides a method for displaying media content, including:
[0005] receiving a display operation for target media content;
[0006] In response to the display operation, displaying at least a portion of the screen content of the target media content in a media screen display area of a media content display interface;
[0007] The current background color is displayed in a target area in the media content display interface, the target area includes at least a portion of the area in the media content display interface that is not the media screen display area, and the current background color is associated with the current screen content displayed in the media screen display area.
[0008] In a second aspect, the embodiments of the present disclosure further provide a device for displaying media content, including:
[0009] An operation receiving module, used for receiving a display operation for target media content;
[0010] A content display module, configured to display at least a portion of the screen content of the target media content in a media screen display area of a media content display interface in response to the display operation;
[0011] A background display module is used to display a current background color in a target area in the media content display interface, wherein the target area includes at least a portion of the area in the media content display interface that is not the media screen display area, and the current background color is associated with the current screen content displayed in the media screen display area.
[0012] In a third aspect, an embodiment of the present disclosure further provides an electronic device, including:
[0013] one or more processors;
[0014] a memory for storing one or more programs,
[0015] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for displaying media content as described in the embodiment of the present disclosure.
[0016] In a fourth aspect, the embodiments of the present disclosure further provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for displaying media content as described in the embodiments of the present disclosure.
[0017] In a fifth aspect, the embodiments of the present disclosure further provide a computer program product. When the computer program product is executed by a computer, the computer implements the method for displaying media content as described in the embodiments of the present disclosure.
[0018] The media content display method, device, electronic device, storage medium and program product provided by the embodiments of the present disclosure display the background color of at least a part of the area except the media screen display area as the current background color associated with the current screen content in the media screen display area, which can enrich the display method of the media content, reduce the abruptness of the color change between the media screen display area and at least a part of the area except the media screen display area, reduce the sense of separation between the current screen content displayed in the media screen display area and the regional background of the target area, and improve the display effect of the current screen content. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0020] Figure 1 A flowchart of a method for displaying media content provided by an embodiment of the present disclosure;
[0021] Figure 2 A schematic diagram of various areas included in a media content display interface provided in an embodiment of the present disclosure;
[0022] Figure 3 A schematic diagram of a media content display interface provided by an embodiment of the present disclosure;
[0023] Figure 4 A schematic diagram of the current background color of a target area provided in an embodiment of the present disclosure;
[0024] Figure 5 A schematic diagram of a first gradient map provided by an embodiment of the present disclosure;
[0025] Figure 6 A schematic diagram of a process for determining a current background color provided by an embodiment of the present disclosure;
[0026] Figure 7 A schematic diagram of another process for determining the current background color provided by an embodiment of the present disclosure;
[0027] Figure 8 A flowchart of another method for displaying media content provided by an embodiment of the present disclosure;
[0028] Fig. 9 A schematic diagram of a screen content switching process provided by an embodiment of the present disclosure;
[0029] Fig.10 A structural block diagram of a media content display device provided in an embodiment of the present disclosure;
[0030] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0031] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0032] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0033] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0034] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0035] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0036] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0037] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0038] Figure 1 A flowchart of a method for displaying media content provided in an embodiment of the present disclosure. The method can be executed by a media content display device, wherein the device can be implemented by software and / or hardware, and can be configured in an electronic device, typically, a mobile phone or a tablet computer. The method for displaying media content provided in an embodiment of the present disclosure is suitable for displaying a scene of a background color associated with a currently displayed media content screen in at least a portion of an area of a media content display interface, such as displaying a scene of a gradient background color associated with a currently displayed media screen in at least a portion of an area of a media content display interface. Figure 1 As shown, the media content display method provided in this embodiment may include:
[0039] S101: Receive a display operation for target media content.
[0040] The display operation may be a trigger operation for indicating display of certain media content. The display operation may be performed in any manner, for example, the display operation may include triggering a certain control or performing a certain sliding gesture operation.
[0041] The target media content can be understood as the media content indicated for display by the above-mentioned display operation. When the above-mentioned display operation indicates displaying the media content display interface, the target media content may be the media content displayed in the media content display interface when the media content display interface is displayed in response to the above-mentioned display operation. When the above-mentioned display operation indicates switching the media content currently displayed in the media content display interface, the target media content may be the media content displayed in the media content display interface after the media content currently displayed in the media content display interface is switched in response to the above-mentioned display operation.
[0042] The target media content may include picture content, and the type of this picture content is not limited, so that the picture content may include video content and / or picture content, etc. Optionally, different picture contents are different media content items in the target media content. The media content items can be understood as picture items constituting the target media content, such as pictures, video frames, and / or a collection of multiple pictures and / or video frames constituting the target media content. The collection of multiple pictures and / or video frames, for example, can be a media content segment constituting the target media content. Exemplarily, different media items can be different pictures, different video frames, and / or different media content segments in the target media content. Optionally, the media content items include pictures, for example, the target media content may include one or more pictures that are switched and displayed in sequence, and different pictures can be used as different media content items of the target media content, that is, can be used as different picture contents of the target media content. The following is described by taking at least one picture included in the target media content as an example.
[0043] In this embodiment, when the current user wants to view the target media content, he can perform a display operation on the target media content. Correspondingly, the current application can receive the display operation.
[0044] S102: In response to the display operation, display at least a portion of the target media content in a media display area of a media content display interface.
[0045] The media content display interface may be an interface for displaying the screen content of the target media content, such as an interface for playing the target media content. The media content display interface may include a media screen display area and a non-media screen display area. The media screen display area may be an area in the media content display interface for displaying the screen content of the media content, that is, an area where the screen content in the media content is displayed.
[0046] Specifically, when a display operation for target media content is received, the target media content may be displayed in the media content display interface in response to the display operation.
[0047] When displaying the target media content in the media content display interface, illustratively, at least part of the screen content of the target media content can be displayed in the media screen display area of the media content display interface, such as different screen contents of the target media content can be switched in the media screen display area of the media content display interface.
[0048] S103: Displaying a current background color in a target area in the media content display interface, where the target area includes at least a portion of an area in the media content display interface that is not a media screen display area, and the current background color is associated with current screen content displayed in the media screen display area.
[0049] The current screen content can be understood as the screen content currently displayed in the media content screen area of the media content display interface. The current background color can be understood as the background color associated with the current screen content. For example, the current background color can be a gradient color. For example, the current background color can gradually change from one color to another color along a set direction, such as from one color to another color along a direction from top to bottom or from left to right.
[0050] Among them, the current background color is associated with the current screen content, and when the current screen content is different, the current background color may be different. Exemplarily, the current background color can be associated with at least part of the pixels of the current screen content. Optionally, the current background color is associated with at least one pixel in the current screen content, and the at least one pixel satisfies at least one of the following attributes: a preset position attribute, a color attribute, and a content attribute. Exemplarily, the current background color can be associated with a pixel with a preset attribute in the current screen content, for example, the color parameters of the current background color can be determined based on the color parameters of the pixel with a preset attribute in the current screen content. The preset attribute may include a preset position attribute, a preset color attribute, and / or a preset content attribute, etc.
[0051] A pixel point with a preset position attribute may, for example, be a pixel point located at a preset position in the current screen content. The preset position may, for example, include a preset boundary area of the current screen content, etc. The preset boundary area may be set as needed. Exemplarily, the preset boundary area may include an upper boundary area, a lower boundary area, a left boundary area and / or a right boundary area, etc.
[0052] The pixel point with preset color attribute may be, for example, a pixel point whose set color parameter satisfies a set condition, and the set color parameter may include, for example, hue, saturation and / or brightness. Taking the setting color parameter as saturation as an example, the pixel point with preset color attribute may be, for example, a pixel point whose saturation satisfies a preset saturation condition in the current picture content, such as the first n (n is a positive integer) pixel points in the current picture content sorted in descending order of saturation, or a pixel point whose saturation value is greater than or equal to a preset saturation threshold value in the current picture content. Both the value of n and the preset saturation threshold value may be flexibly set as needed, and this embodiment does not limit this.
[0053] The pixel points with preset content attributes may be, for example, the pixel points of the preset screen object presented in the current screen content, that is, the pixel points located on the preset screen object. The preset screen object may be the core object presented in the current screen content, or may be an object of a preset type presented in the current screen content, etc. For example, if the current screen content presents a picture with a small island on a large blue sea surface, the preset screen object may be the core object presented in the current screen content, such as the small island presented in the current screen content, and the blue sea surface with the largest color proportion in the current screen, and the pixel points with preset content attributes may be the pixel points associated with the small island, such as the pixel points constituting the small island or the pixel points within a preset distance range from the small island, etc. At this time, illustratively, the current background color may be determined based on the pixel points associated with the small island, or, in the process of determining the current background color, the weight of the pixel points associated with the small island may be higher than the weight of other pixel points in the current screen content except the pixel points associated with the small island.
[0054] For example, Figure 2 As shown, the media content display interface may include a media screen display area 20, and may also include at least one area outside the media screen display area, such as a control area and / or a text content display area 21. The control area may include, for example, a first control area 22 located above the media screen display area 20 and / or a second control area 23 located below the media screen display area 20, etc. The text content display area 21 may be an area in the media content display interface for displaying text content of the target media content.
[0055] The target area includes at least a portion of the area in the media content display interface except the media screen display area 20, and the at least portion of the area may include at least a portion of the adjacent area of the media screen display area 20, such as the text content display area 21 and / or the first control area 22. It is understandable that the background color coverage area may also include the target area and the media screen display area 20. For example, Figure 2 As shown, the first control area 22, the media screen display area 20, the text content display area 21 and the second control area 23 can be arranged from top to bottom in the media content display interface, and the background color coverage area (such as Figure 2The dotted area shown in the figure may include a first control area 22 located above the media screen display area 20, a media screen display area 20, and a text content display area 21 located below the media screen display area 20. In other words, the first control area 22, the media screen display area 20, and the text content display area 21 may be located within the background color coverage area. This case is used as an example for explanation below. At this time, optionally, the upper boundary of the background color coverage area may overlap with the upper boundary of the first control area 22 and / or the upper boundary of the media content display interface, the lower boundary of the background color coverage area may overlap with the lower boundary of the text content display area 21 and / or the upper boundary of the second control area 23, the left boundary of the background color coverage area may overlap with the left boundary of the media content display interface, and the right boundary of the background color coverage area may overlap with the right boundary of the media content display interface.
[0056] Exemplarily, when at least part of the target media content is displayed in the media screen display area of the media content display interface, the current background color associated with the current screen content displayed in the media screen display area can be displayed in the target area of the media content display interface.
[0057] For example, the background color coverage area includes the first control area 22, the media screen display area 20 and the text content display area 21. Figure 3 As shown, the current background color can be displayed in the background color overlay area, and at least one control can be displayed in the first control area 22, the current screen content of the target media content can be displayed in the media screen display area 20, and at least part of the text content of the target media content can be displayed in the text content display area 21. At this time, the level of the display layer where the at least one control, the current screen content and the at least part of the text content are located can be located above the level of the display layer where the current background color is located.
[0058] When the current background color is displayed in the target area, the current background color can be displayed as at least a part of the regional background of the target area. Optionally, during the display of the current screen content, the current background color is configured to fill the target area in the form of a regional background. In addition, other areas in the background color coverage area (such as the media screen display area) except the target area can also be filled with the current scene, that is, the current background color can be configured to fill the background color coverage area in the form of a regional background. For example, during the display of the current screen content, the regional background of the background color coverage area can be displayed as the current background color. At this time, the current background color fills the entire background color coverage area. Figure 4 As shown ( Figure 4The at least one control displayed in the first control area, the current screen content displayed in the media screen display area, and at least part of the text content displayed in the text content display area are not shown).
[0059] In addition, the target area may not include the second control area in the media content display interface. In this case, the background color of the second control area may be a preset background color, such as black (eg Figure 3 and 4 as shown), white or other colors, etc.
[0060] The media content display method provided in the present embodiment receives a display operation for target media content; in response to the display operation, displays at least a portion of the target media content in the media screen display area of the media content display interface; and displays the current background color in the target area in the media content display interface, wherein the target area includes at least a portion of the area other than the media screen display area in the media content display interface, and the current background color is associated with the current screen content displayed in the media screen display area. The present embodiment utilizes the above-mentioned technical solution to display the background color of at least a portion of the area other than the media screen display area as the current background color associated with the current screen content in the media screen display area, which can enrich the display method of the media content, reduce the abruptness of the color change between the media screen display area and at least a portion of the area other than the media screen display area, reduce the sense of separation between the current screen content displayed in the media screen display area and the regional background of the target area, and improve the display effect of the current screen content.
[0061] In some embodiments, the media content display method may further include: generating a current background color associated with the current screen content based on a pixel color of at least one pixel in the current screen content.
[0062] Specifically, the background color associated with each screen content of the target media content may be generated based on the pixel color of at least one pixel point in the screen content of the target media content.
[0063] Taking the generation of the current background color associated with the current screen content as an example, illustratively, at least one pixel in the current screen content with preset position attributes, color attributes and / or content attributes can be determined, the pixel color of this at least one pixel can be obtained, and the background color associated with the current screen content can be generated based on the pixel color of this at least one pixel.
[0064] Among them, the timing of generating the background color associated with a certain screen content in the target media content (such as the current screen content, etc.) is not limited. For example, the background color associated with each screen content in the target media content can be generated before receiving the display operation for the target media content, such as after the target media content is preloaded; the background color associated with each screen content in the target media content can also be generated in response to the display operation for the target media content; the background color associated with each screen content in the target media content can also be generated after receiving the display operation for the target media content, such as the background color associated with this screen content can be generated before displaying a certain screen content and / or during the display of a certain screen content, and so on.
[0065] Optionally, for each screen content in the target media content, a background color associated with this screen content can be generated before displaying this screen content, so that when displaying this screen content, the background color associated with this screen content can be displayed in the target area in time, thereby reducing the display delay of the background color.
[0066] There is no limitation on the manner of generating the current background color associated with the current screen content based on at least one pixel point of the current screen content.
[0067] In some embodiments, the color obtained by merging the pixel colors of at least one pixel point can be used as the current background color associated with the current screen content. At this time, the current background color can be presented as a single color. During the display of the current screen content, the background colors at each position in the target area can present the same color, rather than presenting a color gradient effect along a set direction.
[0068] In other embodiments, at least two colors are determined based on the pixel color of the at least one pixel, and a gradient color is generated in which the at least two colors change color gradually along a set direction. At this time, during the display of the current screen content, the background colors at various positions in the target area may not be completely the same, such as the regional background of the target area may present a color gradient effect along a set direction. The method for generating the current background color with a color gradient effect is not limited.
[0069] In some embodiments, generating a current background color associated with the current screen content based on the pixel color of at least one pixel in the current screen content includes: obtaining a first color in the current screen content based on at least two of a color proportion, a color saturation, and a content relevance of the pixel color in the current screen content; adjusting at least part of the color parameter value of the first color using a first adjustment method to obtain a second color; generating a first gradient map that gradually changes from the first color to the second color in a target direction of the screen; and determining the current background color associated with the current screen content based on the first gradient map.
[0070] Among them, the first color and the second color can be different colors. The first color can be a color determined by obtaining the pixel color of at least one pixel based on at least two of the color proportion, color saturation and content relevance of the pixel color in the current screen content. The second color can be understood as a color obtained by adjusting at least part of the color parameter value of the first color using the first adjustment method. The screen target direction can be a preset screen direction in which the color is gradually changed, such as a set direction. The first gradient map can be a gradient map generated based on the first color and the second color, and the first gradient map can include pixel points of the first color, pixel points of the second color, and pixel points of at least one intermediate color between the first color and the second color. The screen color presented in the first gradient map gradually changes from the first color to the second color along the screen target direction. Taking the screen target direction as from top to bottom as an example, in the first gradient map, the screen color presented in the first gradient map gradually changes from the first color to the second color from top to bottom.
[0071] Specifically, the first color of the current screen content can be obtained based on the color proportion, color saturation and content relevance of the pixel color in the current screen content; at least part of the color parameter value of the first color is adjusted using a first adjustment method to obtain a second color; a first gradient map is generated in which the first color gradually changes into the second color in the target direction of the screen, and the current background color associated with the current screen content is determined based on the first gradient map.
[0072] When acquiring the first color, illustratively, the pixel color whose color proportion satisfies the preset color proportion condition, the color saturation satisfies the preset saturation condition, and / or the content relevance satisfies the preset relevance condition can be acquired, and the first color can be obtained based on the fusion of the acquired pixel colors. Among them, the preset color proportion condition can be, for example, that the color proportion is greater than or equal to the preset color proportion threshold value and / or is arranged in the first a (a is a positive integer) when the color proportion is sorted from high to low in the current screen content. The preset saturation condition can be, for example, that the saturation is greater than or equal to the preset saturation threshold value and / or is arranged in the first b (b is a positive integer) when the saturation is sorted from high to low in the current screen content. The preset relevance condition can be, for example, that the relevance between the preset screen object displayed by the current screen content is greater than the preset relevance threshold value and / or is arranged in the first c (c is a positive integer) when the relevance between the preset screen object and the current screen content is sorted from high to low, and so on.
[0073] As an optional example, the color with the highest color proportion in the current picture content and the color with the highest saturation in the current picture content can be obtained, the obtained multiple colors are color-fused according to a preset first fusion weight, and the fused color is used as the first color. The first fusion weight can be a preset fusion weight, and can also be determined based on the color proportion of the multiple colors in the current picture content.
[0074] The first adjustment method used when obtaining the second color based on the first color adjustment can be flexibly set, such as the first adjustment method can increase or decrease one or more color parameter values of the first color by a first preset ratio, etc. Exemplarily, when obtaining the second color, at least part of the color parameter values of the first color can be increased or decreased by a first preset ratio, and the adjusted color is used as the second color. The first preset ratio can be set as needed, such as the first preset ratio can be set to 5%, 10% or 20%, etc.
[0075] After obtaining the first color and the second color, a first gradient map can be generated based on the first color and the second color. Taking the target direction of the screen from top to bottom as an example, a first gradient map that gradually changes from the first color to the second color from top to bottom can be generated, such as Figure 5 As shown, at this time, the color presented in the first gradient image gradually changes from the first color to the second color from top to bottom.
[0076] After the first gradient image is generated, the current background color associated with the current screen content can be determined based on the first gradient image. For example, the image color of the first gradient image can be obtained as the current background color associated with the current screen content. The color of the first gradient image can also be adjusted, such as adding a mask or adjusting at least part of the color parameters of the image color of the first gradient image, etc., to obtain the image color after the adjustment of the first gradient image as the current background color associated with the current screen content. The method of adjusting at least part of the color parameters of the image color of the first gradient image is not limited.
[0077] In some embodiments, the background colors displayed at different positions of the target area during the display of the current screen content may be determined based on the background colors of different border areas of the current screen content. For example, the background colors of adjacent areas of one or more border areas of the current screen content may be determined based on the background colors of the one or more border areas, and so on. At this time, optionally, during the display of the current screen content, the background colors of different positions of the target area are determined based on the color of at least one pixel in different border areas of the current screen content.
[0078] Exemplarily, in one or more boundary areas of the current screen content, the background color of each boundary area in the target area adjacent to the target area can be determined based on at least one pixel color in this boundary area, so as to further improve the smoothness of the color change between the color of the current screen content and the background color of the adjacent area. Optionally, the background color of different positions of the target area is determined based on at least one pixel color in different boundary areas of the current screen content, including: the background color of the target area located above the current screen content is determined based on at least one pixel color of the first boundary area at the top of the current screen content; and / or, the background color of the target area located below the current screen content is determined based on at least one pixel color in the second boundary area at the bottom of the current screen content. For example, the background color of the sub-area located above the media screen display area in the target area when displaying the current screen content can be determined based on at least one pixel color in the first boundary area at the top of the current screen content (i.e., the upper boundary area); and / or, the background color of the sub-area located below the media screen display area in the target area when displaying the current screen content is determined based on at least one pixel color in the second boundary area at the bottom of the current screen content (i.e., the lower boundary area).
[0079] In some embodiments, generating a current background color associated with the current screen content based on the pixel color of at least one pixel in the current screen content includes: acquiring at least one first pixel color that meets a preset condition in a first boundary area of the current screen content, and acquiring at least one second pixel color that meets a preset condition in a second boundary area of the current screen content; generating a third color based on the at least one first pixel color, and generating a fourth color based on the at least one second pixel color; generating a second gradient map based on the third color and the fourth color; and determining the current background color associated with the current screen content based on the second gradient map.
[0080] The first border area and the second border area are different border areas of the current screen content. For example, the first border area may be an upper border area located at the top of the current screen content, and the second border area may be a lower border area located at the bottom of the current screen content, and so on. The sizes of the first border area and the second border area in the direction perpendicular to the corresponding borders may be pre-set as needed, such as setting the size to 10px or 20px, and so on. The first pixel color may be a pixel color obtained from the first border area of the current screen content and meeting the preset conditions, and the number may be one or more; the second pixel color may be a pixel color obtained from the second border area of the current screen content and meeting the preset conditions, and the number may be one or more. The third color may be a color determined based on the first pixel color. The fourth color may be a color determined based on the second pixel color. The second gradient map may be a gradient map generated based on the third color and the fourth color.
[0081] The preset conditions can be set as needed. Optionally, the satisfying of the preset conditions at least includes that the pixel color satisfies the color proportion condition in the corresponding boundary area and / or the pixel color satisfies the color attribute requirement. The color proportion condition can be used to limit the color proportion of the pixel color to be obtained. For example, the preset color proportion condition can include the color proportion sorting or the color proportion value meeting the set requirements. The color attribute requirement can be used to limit the color attribute of the pixel color to be obtained. The color attribute can include, for example, hue, saturation and / or brightness, etc. Exemplarily, the color attribute can include at least saturation.
[0082] Specifically, at least one first pixel color that meets a preset condition can be obtained in a first boundary area of the current screen content, and at least one second pixel color that meets a preset condition can be obtained in a second boundary area of the current screen content; a third color can be generated based on the at least one first pixel color obtained, and a fourth pixel color can be generated based on the at least one second pixel color obtained; a second gradient map can be generated based on the third color and the fourth color, and a current background color associated with the current screen content can be determined based on the second gradient map.
[0083] Take the preset condition that the color proportion condition is met, and the color proportion condition is arranged in the order of the color proportion from high to low as an example, such as Figure 6 The first picture and Figure 7 As shown in the first figure in the figure, the first m pixel colors with the largest color proportion in the first boundary area 60 (the upper boundary area in the figure is taken as an example) of the current screen content can be obtained as the first pixel color; and the first m pixel colors with the largest color proportion in the second boundary area 61 (the lower boundary area in the figure is taken as an example) of the current screen content can be obtained as the second pixel color. Wherein, m is a positive integer, and the value of m is not limited. For example, m can be set to 1, 3, or 5, etc.
[0084] After acquiring at least one first pixel color, a third color may be generated based on the acquired at least one first pixel color. For example, in the case where the number of acquired first pixel colors is 1, the first pixel color may be used as the third color. In the case where the number of acquired first pixel colors is greater than or equal to 2, the acquired first pixel colors may be fused according to a preset second fusion weight, and the fused color may be used as the third color. The second fusion weight may be preset; or may be determined based on the color proportion of each first pixel color within the first boundary area. For example, each first pixel color may be fused based on the color proportion of each first pixel color within the first boundary area to obtain a third color. In this case, optionally, the third color is fused based on the color proportion of the at least one first pixel color within the first boundary area.
[0085] After acquiring at least one second pixel color, a third color may be generated based on the acquired at least two first pixel colors. For example, in the case where the number m of the acquired second pixel colors is 1, the second pixel color may be used as the fourth color. In the case where the number m of the acquired second pixel colors is greater than or equal to 2, the acquired second pixel colors may be fused according to a preset third fusion weight, and the fused color may be used as the fourth color. The third fusion weight may be preset; or may be determined based on the color proportion of each second pixel color in the second boundary area. For example, each second pixel color may be fused based on the color proportion of each second pixel color in the second boundary area to obtain a fourth color. In this case, optionally, the fourth color is fused based on the color proportion of the at least one second pixel color in the second boundary area.
[0086] After the third color and the fourth color are generated, a second gradient map can be generated according to the third color and the fourth color. The specific method of generating the second gradient map is not limited. For example, the color in at least a part of the area of the second gradient map can be gradually changed from the third color to the fourth color in the target direction of the picture; or, in the target direction of the picture, the third color can be gradually changed to other colors except the third color and the fourth color, and then the other colors can be gradually changed to the fourth color, and so on.
[0087] In some embodiments, the second gradient map may only perform a color gradient process once to reduce the resources occupied by generating the gradient map. For example, a second gradient map may be generated that gradually changes from a third color to a fourth color in the target direction of the screen, such as generating a second gradient map that gradually changes from a third color to a fourth color from top to bottom, such as Figure 6 As shown in the second figure, in this case, the top of the second gradient map presents the third color, and the bottom of the second gradient map presents the fourth color. From the top of the second gradient map to the bottom of the second gradient map, the color presented in the second gradient map gradually changes from the third color to the fourth color. At this time, optionally, generating the second gradient map according to the third color and the fourth color includes: generating a second gradient map that gradually changes from the third color to the fourth color in the target direction of the picture. The generated second gradient map may include pixels of the third color, pixels of the fourth color, and pixels of at least one intermediate color between the third color and the fourth color.
[0088] Taking the first boundary area being located at the top of the current screen content, the second boundary area being located at the bottom of the current screen content, the screen target direction being from top to bottom, and the image color of the second gradient image being used as the current background color as an example, when the current screen content is displayed in the media screen display area 20, the top of the background color coverage area (such as the top of the target area) can present a third color, and the bottom of the background color coverage area (such as the bottom of the target area) can present a fourth color, and the regional background of the background color coverage area gradually changes from the third color to the fourth color from top to bottom, such as Figure 6 As shown in the third picture.
[0089] In some embodiments, the second gradient map may include multiple color gradient processes to further improve the smoothness of the color change between the current screen content and the background color of the target area when the current screen content is displayed. Optionally, generating the second gradient map based on the third color and the fourth color includes: adjusting at least part of the color parameter value of the third color using the second adjustment method to obtain a fifth color, and adjusting at least part of the color parameter value of the fourth color using the third adjustment method to obtain a sixth color; performing color gradient in the target direction of the screen in the order of the fifth color, the third color, the fourth color and the sixth color to generate the second gradient map.
[0090] The fifth color may be a color adjusted based on the third color. The sixth color may be a color adjusted based on the fourth color. The second adjustment method may be the same or different color adjustment method, which may be set as needed.
[0091] Exemplarily, after obtaining the third color and the fourth color, the second adjustment method can be used to adjust at least part of the color parameter value of the third color, such as increasing at least part of the color parameter value of the third color by a second preset ratio, and using the adjusted color as the fifth color; and the third adjustment method can be used to adjust at least part of the color parameter value of the fourth color, such as reducing at least part of the color parameter value of the fourth color by a second preset ratio, and using the adjusted color as the sixth color.
[0092] After obtaining the fifth color and the sixth color, a second gradient map can be generated based on the third color, the fourth color, the fifth color and the sixth color. For example, a second gradient map can be generated that gradually changes from the fifth color to the third color, from the third color to the fourth color, and from the fourth color to the sixth color in the target direction of the picture, such as generating a second gradient map that gradually changes from the fifth color to the third color, from the third color to the fourth color, and from the fourth color to the sixth color from top to bottom, such as Figure 7As shown in the second figure in the figure, at this time, the second gradient map may include a color gradient process from the fifth color to the third color, a color gradient process from the third color to the fourth color, and a color gradient process from the fourth color to the sixth color. The second gradient map may include pixels of the fifth color, pixels of at least one intermediate color between the fifth color and the third color, pixels of the third color, pixels of at least one intermediate color between the third color and the fourth color, pixels of the fourth color, pixels of at least one intermediate color between the fourth color and the sixth color, and pixels of the sixth color.
[0093] The presentation positions of the third color and the fourth color in the second gradient map can be preset. Optionally, the third color is presented at an adjacent position of the first boundary area, and the fourth color is presented at an adjacent position of the second boundary area. For example, the presentation position of the third color in the second gradient map can overlap with the boundary line corresponding to the current screen content in the first boundary area when the second gradient map is used as the background of the background color coverage area to display the current screen content; the presentation position of the fourth color in the second gradient map can overlap with the boundary line corresponding to the current screen content in the second boundary area when the second gradient map is used as the background of the background color coverage area to display the current screen content.
[0094] Taking the case where the first boundary area is located at the top of the current screen content, the second boundary area is located at the bottom of the current screen content, the screen target direction is from top to bottom, and the image color of the second gradient image is used as the current background color, when the current screen content is displayed in the media screen display area, the top of the background color coverage area (such as the top of the target area) can present the fifth color, and the bottom of the background color coverage area (such as the bottom of the target area) can present the sixth color, and the background color of the background color coverage area gradually changes from the fifth color to the third color, from the third color to the fourth color, and from the fourth color to the sixth color from top to bottom.
[0095] For example, Figure 7 As shown in the third figure, when the current screen content is displayed in the media screen display area 20, the sixth color is presented at the upper boundary of the first control area 22, the third color is presented at the upper boundary of the media screen display area 20, the fourth color is presented at the lower boundary of the media screen display area 20, and the sixth color is presented at the lower boundary of the text content display area 21. The background color of the background color coverage area gradually changes from the sixth color at the upper boundary of the first control area 22 to the third color at the upper boundary of the media content screen display area 20, and from the third color at the upper boundary of the media content screen display area 20 to the fourth color at the lower boundary of the media content screen display area 20 (due to being blocked by the current screen content, Figure 7The fourth color at the lower border of the media content screen display area 20 is changed to the sixth color at the lower border of the text content display area 21.
[0096] After the second gradient map is generated, the current background color associated with the current screen content can be determined based on the second gradient map. For example, the image color of the second gradient map can be obtained as the current background color associated with the current screen content; the color of the second gradient map can also be adjusted, such as adding a mask or adjusting at least part of the color parameters of the image color of the first gradient map, etc., to obtain the adjusted image color of the second gradient map as the current background color associated with the current screen content.
[0097] In some embodiments, after generating an original background color associated with the current screen content based on the pixel color of at least one pixel in the current screen content, the original background color can be directly used as the current background color without considering whether the color parameter value of the generated original background color is within a preset range, so as to reduce the resources occupied by determining the current background color.
[0098] In some embodiments, after generating the original background color associated with the current screen content based on the pixel color of at least one pixel in the current screen content, it can be considered whether the preset color parameter value of the generated original background color is within a preset range. If the preset color parameter value of the original background color is within the preset range, the original background color is determined as the current background color; if the preset color parameter value of the original background color is not within the preset range, the preset color parameter value of the original background color is adjusted to within the preset range, and the adjusted original background color is used as the current background color to avoid the current background color appearing too high or too low in hue, saturation and / or brightness, thereby further improving the display effect of the interface content in the media content display interface.
[0099] At this time, optionally, the generating the current background color associated with the current screen content based on the pixel color of at least one pixel in the current screen content includes: generating the original background color associated with the current screen content based on the pixel color of at least one pixel in the current screen content; if the preset color parameter value of the original background color is within a preset range, using the original background color as the current background color associated with the current screen content; if the preset color parameter value of the original background color is outside the preset range, adjusting the preset color parameter value to within the preset range, and using the adjusted original background color as the current background color associated with the current screen content.
[0100] Among them, the original background color can be understood as a background color initially generated based on the pixel color of at least one pixel in the current screen content. The preset range can be set as needed, and this embodiment does not limit this. The preset color parameter value can be the value of a preset color parameter, and the preset color parameter can include at least one of hue, saturation and brightness. Exemplarily, the preset color parameter can include brightness, and the preset color parameter value can include a brightness value.
[0101] This embodiment generates a current background color associated with the current screen content based on the pixel color of at least one pixel point in the current screen content that satisfies preset position attributes, color attributes and / or content attributes. This can enrich the method of determining the current background color, further improve the smoothness of the color change from the current screen content in the media screen display area to the background color outside the media screen display area, and improve the display effect of the media content display interface.
[0102] Figure 8 A flow chart of another method for displaying media content provided for an embodiment of the present disclosure. The scheme in this embodiment can be combined with one or more optional schemes in the above-mentioned embodiments. Optionally, the method for displaying media content may also include: in response to a switching event for the current screen content, switching the current screen content from the first screen content to the second screen content, and changing the current background color of the target area as a whole from the first background color to the second background color, wherein the first background color is the background color associated with the first screen content, and the second background color is the background color associated with the second screen content.
[0103] Correspondingly, such as Figure 8 The media content display method provided in this embodiment may include:
[0104] S201: Receive a display operation for target media content.
[0105] S202: In response to the display operation, display at least a portion of the target media content in a media display area of a media content display interface.
[0106] S203: Displaying a current background color in a target area in the media content display interface, where the target area includes at least a portion of an area in the media content display interface that is not a media screen display area, and the current background color is associated with current screen content displayed in the media screen display area.
[0107] S204. In response to a switching event for the current screen content, the current screen content is switched from the first screen content to the second screen content, and the current background color of the target area is changed from the first background color to the second background color as a whole, wherein the first background color is the background color associated with the first screen content, and the second background color is the background color associated with the second screen content.
[0108] Among them, the switching event for the current screen content can be understood as an event that triggers the switching of the current screen content of the target media content displayed in the media screen display area. The generation method of the switching event is not limited. For example, the switching event can be generated in response to the display time of the first screen content reaching a preset time and / or the first screen content display is completed; it can also be generated in response to the current user's switching operation for the current screen content of the target media content. The execution method of this switching operation is not limited. Exemplarily, this switching operation can be an operation to trigger a switching control, or an operation to slide along a pre-set direction in the media content display interface, etc. This pre-set direction can be, for example, horizontal.
[0109] The first screen content can be understood as the screen content of the target media content displayed in the media screen display area before the current screen content is switched in response to a switching event for the current screen content. The second screen content can be understood as the screen content of the target media content displayed in the media screen display area after the current screen content is switched in response to a switching event for the current screen content. Exemplarily, the second screen content can be the screen content adjacent to the first screen content in the target media content, such as the previous screen content or the next screen content of the first screen content. The first background color can be the background color associated with the first screen content. The second background color can be the background color associated with the second screen content.
[0110] In this embodiment, the current screen content of the target media content displayed in the media screen display area can be switched in response to a switching event for the current screen content.
[0111] Specifically, Fig. 9 As shown, when a switching event for the current screen content is received, the current screen content displayed in the media screen display area can be switched from the first screen content of the target media content to the second content, and the current background color of the target area can be gradually changed from the first background color associated with the first screen content to the second background color associated with the second screen content.
[0112] In this embodiment, the current background color of the target area can be changed from the first background color to the second background color as a whole during the process of switching the current screen from the first screen content to the second screen content. For example, the current background color of the target area can be gradually switched from the first background color to the second background color as a whole during the process of switching the current screen from the first screen content to the second screen content by controlling the pixel points of the entire target area to gradually change color as the screen content is switched, so as to further improve the smoothness of the background color switching. At this time, optionally, the current background color of the target area is changed from the first background color to the second background color as a whole, including: in the process of switching the current screen content from the first screen content to the second screen content, the current background color of the target area is gradually changed from the first background color to the second background color as a whole by gradually changing the color of the pixel points of the entire target area.
[0113] In some embodiments, each pixel in the target area can be synchronously or asynchronously switched from the pixel color corresponding to the pixel color when displaying the first screen content to the pixel color corresponding to the pixel color when displaying the second screen content. Exemplarily, the pixel color of each pixel in the target area can be switched synchronously to achieve the effect of simultaneously switching the current background color at different positions in the target area.
[0114] Optionally, the current background color of the target area is gradually changed from a first background color to a second background color by gradually changing the color of the pixels of the target area as a whole, including: for each pixel in the target area, controlling the pixel to gradually change from an original pixel color to a target pixel color, wherein the original pixel color is the pixel color presented by the pixel when displaying the first screen content, and the target pixel color is the pixel color presented by the pixel when displaying the second screen content.
[0115] The original pixel color of a pixel in the target area may be the pixel color presented by the pixel when displaying the first screen content, such as before receiving the switching event for the current screen content, in other words, the background color presented at the location of the pixel when the first background color is displayed in the target area. The target pixel color of a pixel in the target area may be the pixel color that the pixel should present when displaying the second screen content, such as after switching the first screen content to the second screen content, in other words, the background color presented at the location of the pixel when the second background color is displayed in the target area.
[0116] Exemplarily, when a switching event for the current screen content is received, the current screen content can be switched from the first screen content to the second screen content in response to the switching event; and, the second background color is obtained, and for each pixel in at least a portion of the pixels in the target area, the target pixel color that should be presented by this pixel when the second background color is displayed is determined; and during the switching process of the current screen content, the pixel is controlled to gradually switch from its original pixel color to its target pixel color, that is, as time goes by, the pixel gradually changes from the original pixel color to the target pixel color.
[0117] It can be known that at least part of the pixels in the above-mentioned target area may include pixels in the target area that are not obscured by the foreground interface content (such as controls and / or text content) displayed in the media content display interface; it may also further include pixels obscured by the foreground interface content displayed in the media content display interface. When pixels obscured by the foreground interface content are included, although the pixel color of this pixel has changed, when it is obscured by the foreground content, the pixel color before and after the change of this pixel cannot be seen by the user.
[0118] In some embodiments, when controlling the pixel color presented by a certain pixel point to gradually change from the original pixel color to the target pixel color, the color change rate of this pixel point can be set in advance, that is, the switching progress of the current screen content can be ignored, and the preset color change rate can be used to control the pixel point to gradually switch from the original pixel color to the target pixel color.
[0119] In other embodiments, when controlling the pixel color presented by a certain pixel point to gradually change from the original pixel color to the target pixel color, the switching progress of the current screen content can be considered. For example, the color that this pixel point should currently present can be determined based on the switching progress of the current painter content.
[0120] Optionally, switching the current screen content from the first screen content to the second screen content includes: controlling the first screen content to move out of the media screen display area along a preset direction, and controlling the second screen content to move into the media screen display area along the preset direction for display, wherein, during the movement of the first screen content and the second screen content, the pixel color to which the pixel point currently changes is associated with the current moving position of the first screen content and / or the second screen content in the media screen display area.
[0121] The preset direction may be the moving direction of the screen content when the current screen content of the target media content is switched. The preset direction may be horizontal or vertical, and the following description is made by taking the horizontal preset direction as an example.
[0122] For example, before receiving the switching event for the current screen content, the first screen content of the target media content can be displayed in the media screen display area, and the first background color associated with the first screen content can be displayed in the target area, such as Fig. 9 As shown in the first picture.
[0123] When a switching event for the current screen content is received, the first screen content can be controlled to move out of the media screen display area along a preset direction, and the second screen content can be controlled to move into the media screen display area along a preset direction, such as Fig. 9 As shown in the second picture (the preset direction in the picture is taken as an example of moving the first picture content to the left).
[0124] In the process of controlling the first screen content to move out of the media screen display area along a preset direction, and controlling the second screen content to move into the media screen display area along a preset direction, the pixel color to which each pixel point in the above-mentioned at least part of the pixel points in the target area is currently changed can be determined based on the current moving position of the first screen content and / or the second screen content in the media screen display area, and each pixel point can be controlled to display the pixel color to which it should currently change.
[0125] In the above implementation, when the current screen content is switched, the first screen content can be controlled to move out of the media screen display area along a preset direction, and the second screen content can be controlled to move into the media screen display area along a preset direction. When the first screen content is completely moved out of the media screen display area, the second screen content is moved into the media screen display area for display, and the current screen content is switched. Thus, the position to which the first screen content and / or the second screen content is currently moved in the media screen display area (i.e., the current moving position) can be used to indicate the switching progress of the current screen content, and can also be used to indicate the color change progress of each pixel point in the above at least part of the pixel points from the original pixel color to the target pixel color.
[0126] Thus, for each pixel point among at least some of the above-mentioned pixels, the color change progress of this pixel point can be determined based on the current moving position of the first screen content and / or the second screen content in the media screen display area, and the pixel color to which this pixel point should change under this color change progress is determined according to this color change progress and the original pixel color and the target pixel color of this pixel point, and this pixel point is controlled to present the determined pixel color. When the color change progress is greater than 0 and less than 1, the pixel color to which a certain pixel point should change under a certain color change progress may be a certain intermediate color between the original pixel color and the target pixel color. When the current moving position of the first screen content and / or the second screen content is different, the pixel color to which this pixel point currently changes may be different.
[0127] Furthermore, as the first screen content gradually moves out of the media screen display area and the second screen content gradually moves into the media screen display area, each pixel in at least a portion of the above-mentioned pixel points in the target area gradually changes from the original pixel color to the target pixel color, and the current background color of the target area as a whole gradually switches from the first background color to the second background color.
[0128] In addition, if the user controls the current screen to switch from the second screen content back to the first screen content, as the second screen content gradually moves out of the media screen display area and the first screen content gradually moves into the media screen display area, each pixel point in at least part of the above-mentioned pixel points in the target area gradually changes from the target pixel color to the original pixel color, and the current background color of the target area as a whole gradually switches from the second background color to the first background color.
[0129] It is understandable that when the background color coverage area includes the target area and the media screen display area, when the background color of the target area is switched, the background color of the media screen display area can be switched in the same switching manner at the same time.
[0130] The media content display method provided in this embodiment controls the current background color of the target area to gradually switch from the first background color to the second background color when switching the current screen content displayed in the media screen display area, thereby achieving smooth switching of the current background color during the switching of the screen content.
[0131] Fig.10 This is a structural block diagram of a media content display device provided in an embodiment of the present disclosure. The device can be implemented by software and / or hardware, and can be configured in an electronic device, typically, a mobile phone or a tablet computer, and can display a background color associated with the currently displayed media content screen in at least a portion of the media content display interface by executing a media content display method, such as displaying a gradient background color associated with the currently displayed media screen in at least a portion of the media content display interface. Fig.10 As shown, the media content display device provided in this embodiment may include: an operation receiving module 1001, a content display module 1002 and a background display module 1003, wherein:
[0132] An operation receiving module 1001 is used to receive a display operation for target media content;
[0133] The content display module 1002 is used to display at least part of the screen content of the target media content in the media screen display area of the media content display interface in response to the display operation;
[0134] The background display module 1003 is used to display the current background color in the target area in the media content display interface, and the target area includes at least a part of the area in the media content display interface that is not the media screen display area, and the current background color is associated with the current screen content displayed in the media screen display area.
[0135] The media content display device provided in this embodiment receives a display operation for target media content through an operation receiving module; displays at least part of the target media content in the media screen display area of the media content display interface in response to the display operation through the content display module; and displays the current background color in the target area in the media content display interface through the background display module, wherein the target area includes at least part of the area other than the media screen display area in the media content display interface, and the current background color is associated with the current screen content displayed in the media screen display area. This embodiment utilizes the above-mentioned technical solution to display the background color of at least part of the area other than the media screen display area as the current background color associated with the current screen content in the media screen display area, which can enrich the display method of media content, reduce the abruptness of the color change between the media screen display area and at least part of the area other than the media screen display area, reduce the sense of separation between the current screen content displayed in the media screen display area and the regional background of the target area, and improve the display effect of the current screen content.
[0136] Optionally, the current background color is associated with at least one pixel in the current screen content, and the at least one pixel satisfies at least one of the following attributes: a preset position attribute, a color attribute, and a content attribute.
[0137] Furthermore, the media content display device may also include: a background color generation module, which is used to generate a current background color associated with the current screen content based on the pixel color of at least one pixel point in the current screen content.
[0138] Optionally, the background color generation module may include: a first color acquisition unit, used to acquire a first color in the current screen content based on at least two of the color proportion, color saturation and content relevance of the pixel color in the current screen content; a second color acquisition unit, used to adjust at least part of the color parameter value of the first color using a first adjustment method to obtain a second color; a first gradient map generation unit, used to generate a first gradient map that gradually changes from the first color to the second color in the target direction of the screen; and a first background color determination unit, used to determine the current background color associated with the current screen content based on the first gradient map.
[0139] Optionally, during display of the current screen content, the background colors of different positions of the target area are determined based on the color of at least one pixel in different boundary areas of the current screen content.
[0140] Optionally, the background color of different positions of the target area is determined based on at least one pixel color in different boundary areas of the current screen content, including: the background color of the target area above the current screen content is determined based on at least one pixel color of a first boundary area at the top of the current screen content; and / or, the background color of the target area below the current screen content is determined based on at least one pixel color in a second boundary area at the bottom of the current screen content.
[0141] Optionally, the background color generation module may include: a third color acquisition unit, used to acquire at least one first pixel color that meets a preset condition in a first boundary area of the current screen content, and to acquire at least one second pixel color that meets a preset condition in a second boundary area of the current screen content; a color generation unit, used to generate a third color based on the at least one first pixel color, and to generate a fourth color based on the at least one second pixel color; a second gradient map generation unit, used to generate a second gradient map according to the third color and the fourth color; and a second background color determination unit, used to determine the current background color associated with the current screen content based on the second gradient map.
[0142] Optionally, satisfying the preset condition at least includes that the pixel color satisfies a color proportion condition in the corresponding boundary area and / or the pixel color satisfies a color attribute requirement.
[0143] Optionally, the third color is obtained by blending based on the color proportion of the at least one first pixel color within the first boundary area; and / or the fourth color is obtained by blending based on the color proportion of the at least one second pixel color within the second boundary area.
[0144] Optionally, the second gradient map generating unit is specifically configured to generate a second gradient map that gradually changes from the third color to the fourth color in a target direction of the picture.
[0145] Optionally, the second gradient map generating unit is specifically used to: adjust at least part of the color parameter value of the third color using the second adjustment method to obtain a fifth color, and adjust at least part of the color parameter value of the fourth color using the third adjustment method to obtain a sixth color; perform color gradient in the target direction of the picture in the order of the fifth color, the third color, the fourth color and the sixth color to generate a second gradient map.
[0146] Optionally, the third color is presented at a position adjacent to the first boundary area, and the fourth color is presented at a position adjacent to the second boundary area.
[0147] Optionally, the background color generation module is specifically used to: generate an original background color associated with the current screen content based on the pixel color of at least one pixel in the current screen content; if the preset color parameter value of the original background color is within a preset range, use the original background color as the current background color associated with the current screen content; if the preset color parameter value of the original background color is outside the preset range, adjust the preset color parameter value to within the preset range, and use the adjusted original background color as the current background color associated with the current screen content.
[0148] Furthermore, the media content display device may also include: a switching module, which is used to switch the current screen content from the first screen content to the second screen content in response to a switching event for the current screen content, and change the current background color of the target area from the first background color to the second background color as a whole, wherein the first background color is the background color associated with the first screen content, and the second background color is the background color associated with the second screen content.
[0149] Optionally, the switching module can be used to: in the process of switching the current screen content from the first screen content to the second screen content, gradually change the current background color of the target area from the first background color to the second background color by gradually changing the color of the pixels of the entire target area.
[0150] Optionally, the switching module can be used to: for each pixel point in the target area, control the pixel point to gradually change from an original pixel color to a target pixel color, wherein the original pixel color is the pixel color presented by the pixel point when displaying the first screen content, and the target pixel color is the pixel color presented by the pixel point when displaying the second screen content.
[0151] Optionally, the switching module can be used to: control the first screen content to move out of the media screen display area along a preset direction, and control the second screen content to move into the media screen display area along the preset direction for display, wherein, during the movement of the first screen content and the second screen content, the pixel color to which the pixel point currently changes is associated with the current moving position of the first screen content and / or the second screen content in the media screen display area.
[0152] Optionally, during the display of the current screen content, the current background color is configured to fill the target area in a regional background manner.
[0153] Optionally, the different screen contents are different media content items in the target media content.
[0154] Optionally, the media content item includes a picture.
[0155] The media content display device provided in the embodiment of the present disclosure can execute the media content display method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of executing the media content display method. For technical details not fully described in this embodiment, please refer to the media content display method provided in any embodiment of the present disclosure.
[0156] Reference below Fig.11 , which shows a schematic diagram of the structure of an electronic device (e.g., terminal device) 1100 suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.11 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0157] like Fig.11 As shown, the electronic device 1100 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage device 1108 to a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the electronic device 1100 are also stored. The processing device 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0158] Typically, the following devices may be connected to the I / O interface 1105: an input device 1106 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1107 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1108 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1109. The communication device 1109 may allow the electronic device 1100 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.11The electronic device 1100 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0159] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 1109, or installed from a storage device 1108, or installed from a ROM 1102. When the computer program is executed by the processing device 1101, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0160] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0161] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0162] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0163] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: receives a display operation for target media content; in response to the display operation, displays at least part of the screen content of the target media content in the media screen display area of the media content display interface; displays the current background color in the target area in the media content display interface, the target area includes at least part of the area of the media content display interface that is not the media screen display area, and the current background color is associated with the current screen content displayed in the media screen display area.
[0164] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0165] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0166] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a module does not, in some cases, constitute a limitation on the unit itself.
[0167] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0168] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0169] According to one or more embodiments of the present disclosure, Example 1 provides a method for displaying media content, including:
[0170] receiving a display operation for target media content;
[0171] In response to the display operation, displaying at least a portion of the screen content of the target media content in a media screen display area of a media content display interface;
[0172] The current background color is displayed in a target area in the media content display interface, the target area includes at least a portion of the area in the media content display interface that is not the media screen display area, and the current background color is associated with the current screen content displayed in the media screen display area.
[0173] According to one or more embodiments of the present disclosure, Example 2 is based on the method described in Example 1, wherein the current background color is associated with at least one pixel in the current screen content, and the at least one pixel satisfies at least one of the following attributes: a preset position attribute, a color attribute, and a content attribute.
[0174] According to one or more embodiments of the present disclosure, Example 3 is the method according to Example 2, further comprising:
[0175] Based on the pixel color of at least one pixel in the current screen content, a current background color associated with the current screen content is generated.
[0176] According to one or more embodiments of the present disclosure, Example 4 is the method according to Example 3, wherein generating a current background color associated with the current screen content based on a pixel color of at least one pixel in the current screen content includes:
[0177] Acquire a first color in the current picture content based on at least two of a color proportion, a color saturation, and a content relevance of a pixel color in the current picture content;
[0178] Using a first adjustment method to adjust at least part of the color parameter value of the first color to obtain a second color;
[0179] Generate a first gradient map that gradually changes from the first color to the second color in a target direction of the picture;
[0180] A current background color associated with the current screen content is determined based on the first gradient map.
[0181] According to one or more embodiments of the present disclosure, Example 5 is based on the method described in Example 3, and during the display of the current screen content, the background color of different positions of the target area is determined based on at least one pixel color in different boundary areas of the current screen content.
[0182] According to one or more embodiments of the present disclosure, Example 6 is the method according to Example 5, wherein the background color of different positions of the target area is determined based on at least one pixel color in different boundary areas of the current screen content, including:
[0183] The background color of the target area above the current screen content is determined based on at least one pixel color of a first boundary area at the top of the current screen content; and / or
[0184] The background color of the target area below the current screen content is determined based on the color of at least one pixel in a second boundary area at the bottom of the current screen content.
[0185] According to one or more embodiments of the present disclosure, Example 7 is the method according to Example 5, wherein generating a current background color associated with the current screen content based on a pixel color of at least one pixel in the current screen content includes:
[0186] Acquire at least one first pixel color that meets a preset condition in a first boundary area of the current picture content, and acquire at least one second pixel color that meets a preset condition in a second boundary area of the current picture content;
[0187] generating a third color based on the at least one first pixel color and generating a fourth color based on the at least one second pixel color;
[0188] generating a second gradient map according to the third color and the fourth color;
[0189] A current background color associated with the current screen content is determined based on the second gradient map.
[0190] According to one or more embodiments of the present disclosure, Example 8 is based on the method described in Example 7, wherein satisfying the preset condition at least includes that the pixel color satisfies the color proportion condition in the corresponding boundary area and / or the pixel color satisfies the color attribute requirement.
[0191] According to one or more embodiments of the present disclosure, Example 9 is based on the method described in Example 7, wherein the third color is obtained by blending the color proportion of the at least one first pixel color within the first boundary area; and / or
[0192] The fourth color is obtained by blending based on the color proportion of the at least one second pixel color in the second boundary area.
[0193] According to one or more embodiments of the present disclosure, Example 10 is the method according to Example 7, wherein generating a second gradient map according to the third color and the fourth color includes:
[0194] A second gradient map is generated in which the third color gradually changes to the fourth color in the target direction of the picture.
[0195] According to one or more embodiments of the present disclosure, Example 11 is the method according to Example 7, wherein generating a second gradient map according to the third color and the fourth color includes:
[0196] Using the second adjustment method to adjust at least part of the color parameter value of the third color to obtain a fifth color, and using the third adjustment method to adjust at least part of the color parameter value of the fourth color to obtain a sixth color;
[0197] Color gradient is performed in the target direction of the screen in the order of the fifth color, the third color, the fourth color and the sixth color to generate a second gradient map.
[0198] According to one or more embodiments of the present disclosure, Example 12 is based on the method of Example 11, wherein the third color is presented at a position adjacent to the first boundary area, and the fourth color is presented at a position adjacent to the second boundary area.
[0199] According to one or more embodiments of the present disclosure, Example 13 is the method according to Example 3, wherein generating a current background color associated with the current screen content based on a pixel color of at least one pixel in the current screen content includes:
[0200] generating an original background color associated with the current screen content based on a pixel color of at least one pixel in the current screen content;
[0201] If the preset color parameter value of the original background color is within a preset range, the original background color is used as the current background color associated with the current screen content;
[0202] If the preset color parameter value of the original background color is outside the preset range, the preset color parameter value is adjusted to be within the preset range, and the adjusted original background color is used as the current background color associated with the current screen content.
[0203] According to one or more embodiments of the present disclosure, Example 14 is a method according to any one of Examples 1-13, further comprising:
[0204] In response to a switching event for the current screen content, the current screen content is switched from the first screen content to the second screen content, and the current background color of the target area is changed as a whole from the first background color to the second background color, wherein the first background color is the background color associated with the first screen content, and the second background color is the background color associated with the second screen content.
[0205] According to one or more embodiments of the present disclosure, Example 15 is the method according to Example 14, wherein the step of changing the current background color of the target area from the first background color to the second background color as a whole includes:
[0206] In the process of switching the current screen content from the first screen content to the second screen content, the current background color of the target area is gradually changed from the first background color to the second background color by gradually changing the color of the pixels of the target area as a whole.
[0207] According to one or more embodiments of the present disclosure, Example 16 is a method according to Example 15, wherein gradually changing the current background color of the target area from the first background color to the second background color by gradually changing the color of the pixels of the target area as a whole, includes:
[0208] For each pixel point in the target area, the pixel point is controlled to gradually change from an original pixel color to a target pixel color, wherein the original pixel color is the pixel color presented by the pixel point when displaying the first screen content, and the target pixel color is the pixel color presented by the pixel point when displaying the second screen content.
[0209] According to one or more embodiments of the present disclosure, Example 17 is the method according to Example 16, wherein switching the current screen content from the first screen content to the second screen content includes:
[0210] Control the first screen content to move out of the media screen display area along a preset direction, and control the second screen content to move into the media screen display area along the preset direction for display, wherein, during the movement of the first screen content and the second screen content, the pixel color to which the pixel point currently changes is associated with the current moving position of the first screen content and / or the second screen content in the media screen display area.
[0211] According to one or more embodiments of the present disclosure, Example 18 is based on the method described in any one of Examples 1-13, and during the display of the current screen content, the current background color is configured to fill the target area in the form of a regional background.
[0212] According to one or more embodiments of the present disclosure, Example 19 is a method according to any one of Examples 1-13, wherein the different screen contents are different media content items in the target media content.
[0213] According to one or more embodiments of the present disclosure, Example 20 is the method according to Example 19, wherein the media content item includes a picture.
[0214] According to one or more embodiments of the present disclosure, Example 21 provides a media content presentation device, including:
[0215] An operation receiving module, used for receiving a display operation for target media content;
[0216] A content display module, configured to display at least a portion of the screen content of the target media content in a media screen display area of a media content display interface in response to the display operation;
[0217] A background display module is used to display a current background color in a target area in the media content display interface, wherein the target area includes at least a portion of the area in the media content display interface that is not the media screen display area, and the current background color is associated with the current screen content displayed in the media screen display area.
[0218] According to one or more embodiments of the present disclosure, Example 22 provides an electronic device, including:
[0219] one or more processors;
[0220] a memory for storing one or more programs,
[0221] When the one or more programs are executed by the one or more processors, the one or more processors implement the media content display method as described in any one of Examples 1-20.
[0222] According to one or more embodiments of the present disclosure, Example 23 provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for presenting media content as described in any one of Examples 1-20.
[0223] According to one or more embodiments of the present disclosure, Example 24 provides a computer program product. When the computer program product is executed by a computer, the computer implements the method for displaying media content as described in any one of Examples 1-20.
[0224] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0225] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0226] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for displaying media content, characterized in that: include: receiving a display operation for target media content; In response to the display operation, displaying at least a portion of the screen content of the target media content in a media screen display area of a media content display interface; The current background color is displayed in a target area in the media content display interface, the target area includes at least a portion of the area in the media content display interface that is not the media screen display area, and the current background color is associated with the current screen content displayed in the media screen display area.
2. The method according to claim 1, characterized in that: The current background color is associated with at least one pixel in the current screen content, and the at least one pixel satisfies at least one of the following attributes: a preset position attribute, a color attribute, and a content attribute.
3. The method according to claim 2, characterized in that Also includes: Based on the pixel color of at least one pixel in the current screen content, a current background color associated with the current screen content is generated.
4. The method according to claim 3, characterized in that The generating a current background color associated with the current screen content based on the pixel color of at least one pixel in the current screen content includes: Acquire a first color in the current picture content based on at least two of a color proportion, a color saturation, and a content relevance of a pixel color in the current picture content; Using a first adjustment method to adjust at least part of the color parameter value of the first color to obtain a second color; Generate a first gradient map that gradually changes from the first color to the second color in a target direction of the picture; A current background color associated with the current screen content is determined based on the first gradient map.
5. The method according to claim 3, characterized in that: During the display of the current screen content, the background colors of different positions of the target area are determined based on the color of at least one pixel in different boundary areas of the current screen content.
6. The method according to claim 5, characterized in that The background colors at different positions of the target area are determined based on at least one pixel color in different boundary areas of the current picture content, including: The background color of the target area above the current screen content is determined based on at least one pixel color of a first boundary area at the top of the current screen content; and / or The background color of the target area below the current screen content is determined based on the color of at least one pixel in a second boundary area at the bottom of the current screen content.
7. The method according to claim 5, characterized in that The generating a current background color associated with the current screen content based on the pixel color of at least one pixel in the current screen content includes: Acquire at least one first pixel color that meets a preset condition in a first boundary area of the current picture content, and acquire at least one second pixel color that meets a preset condition in a second boundary area of the current picture content; generating a third color based on the at least one first pixel color and generating a fourth color based on the at least one second pixel color; generating a second gradient map according to the third color and the fourth color; A current background color associated with the current screen content is determined based on the second gradient map.
8. The method according to claim 7, characterized in that The satisfying of the preset condition at least includes that the pixel color satisfies the color proportion condition in the corresponding boundary area and / or the pixel color satisfies the color attribute requirement.
9. The method according to claim 7, characterized in that: The third color is obtained by blending the color proportion of the at least one first pixel color within the first boundary area; and / or The fourth color is obtained by blending based on the color proportion of the at least one second pixel color in the second boundary area.
10. The method according to claim 7, characterized in that The step of generating a second gradient map according to the third color and the fourth color includes: A second gradient map is generated in which the third color gradually changes to the fourth color in the target direction of the picture.
11. The method according to claim 7, characterized in that The step of generating a second gradient map according to the third color and the fourth color includes: Using the second adjustment method to adjust at least part of the color parameter value of the third color to obtain a fifth color, and using the third adjustment method to adjust at least part of the color parameter value of the fourth color to obtain a sixth color; Color gradient is performed in the target direction of the picture in the order of the fifth color, the third color, the fourth color and the sixth color to generate a second gradient map.
12. The method according to claim 11, characterized in that The third color is presented at a position adjacent to the first boundary area, and the fourth color is presented at a position adjacent to the second boundary area.
13. The method according to claim 3, characterized in that The generating a current background color associated with the current screen content based on the pixel color of at least one pixel in the current screen content includes: generating an original background color associated with the current screen content based on a pixel color of at least one pixel in the current screen content; If the preset color parameter value of the original background color is within a preset range, the original background color is used as the current background color associated with the current screen content; If the preset color parameter value of the original background color is outside the preset range, the preset color parameter value is adjusted to be within the preset range, and the adjusted original background color is used as the current background color associated with the current screen content.
14. The method according to any one of claims 1 to 13, characterized in that: Also includes: In response to a switching event for the current screen content, the current screen content is switched from the first screen content to the second screen content, and the current background color of the target area is changed as a whole from the first background color to the second background color, wherein the first background color is the background color associated with the first screen content, and the second background color is the background color associated with the second screen content.
15. The method according to claim 14, characterized in that The step of changing the current background color of the target area from the first background color to the second background color as a whole includes: In the process of switching the current screen content from the first screen content to the second screen content, the current background color of the target area is gradually changed from the first background color to the second background color by gradually changing the color of the pixels of the target area as a whole.
16. The method according to claim 15, characterized in that The step of gradually changing the overall current background color of the target area from the first background color to the second background color by gradually changing the color of the pixels of the entire target area includes: For each pixel point in the target area, the pixel point is controlled to gradually change from an original pixel color to a target pixel color, wherein the original pixel color is the pixel color presented by the pixel point when displaying the first screen content, and the target pixel color is the pixel color presented by the pixel point when displaying the second screen content.
17. The method according to claim 16, characterized in that The switching of the current screen content from the first screen content to the second screen content includes: Control the first screen content to move out of the media screen display area along a preset direction, and control the second screen content to move into the media screen display area along the preset direction for display, wherein, during the movement of the first screen content and the second screen content, the pixel color to which the pixel point currently changes is associated with the current moving position of the first screen content and / or the second screen content in the media screen display area.
18. The method according to any one of claims 1 to 13, characterized in that: During the display of the current screen content, the current background color is configured to fill the target area in the form of a regional background.
19. The method according to any one of claims 1 to 13, characterized in that: The different screen contents are different media content items in the target media content.
20. The method according to claim 19, characterized in that The media content item includes a picture.
21. A media content display device, characterized in that: include: An operation receiving module, used for receiving a display operation for target media content; A content display module, configured to display at least a portion of the screen content of the target media content in a media screen display area of a media content display interface in response to the display operation; A background display module is used to display a current background color in a target area in the media content display interface, wherein the target area includes at least a portion of the area in the media content display interface that is not the media screen display area, and the current background color is associated with the current screen content displayed in the media screen display area.
22. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the media content presentation method according to any one of claims 1 to 20.
23. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the media content display method according to any one of claims 1 to 20 when executed.
24. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the method for presenting media content according to any one of claims 1 to 20.
Citation Information
Patent Citations
Method and device for determining occupied background color
CN106528187A
Display device and image display method thereof
CN112114929A
Interface generation processing method and device, electronic equipment and computer storage medium
CN113301414A
Page generation method and device, equipment and storage medium
CN113742025A
Card display method and device, electronic equipment, storage medium and program product
CN114817630A
Cited By
Media content display method and apparatus, and electronic device, storage medium and program product
WO2026037373A1
Background image display method and apparatus, and electronic device, storage medium and program product
WO2026157206A1
