CN112699259A - Information display method and device, electronic equipment and computer readable storage medium - Google Patents

Information display method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN112699259A
CN112699259A CN202110316960.9A CN202110316960A CN112699259A CN 112699259 A CN112699259 A CN 112699259A CN 202110316960 A CN202110316960 A CN 202110316960A CN 112699259 A CN112699259 A CN 112699259A
Authority
CN
China
Prior art keywords
color
color value
multimedia resource
multimedia
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110316960.9A
Other languages
Chinese (zh)
Other versions
CN112699259B (en
Inventor
李玉娥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110316960.9A priority Critical patent/CN112699259B/en
Publication of CN112699259A publication Critical patent/CN112699259A/en
Application granted granted Critical
Publication of CN112699259B publication Critical patent/CN112699259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/48Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/483Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/41Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/438Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/45Clustering; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to an information display method, an information display apparatus, an electronic device, a computer-readable storage medium, and a computer program product. The method comprises the following steps: acquiring at least one color value corresponding to a user account, wherein the at least one color value is obtained according to the associated multimedia resources of the user account, and the color value is used for representing the category of the multimedia resources; generating color blocks corresponding to the color values; when the number of the color values is one, the color blocks are used as target color fixture blocks, and when the number of the color values is multiple, the color blocks corresponding to the multiple color values are combined to generate the target color fixture blocks; and displaying a target color fixture block, wherein the color block in the target color fixture block is an access entrance of the multimedia resource under the corresponding color value. The method classifies the multimedia resources by increasing the uniform color value standard, visualizes the category distribution of the associated multimedia resources of the user account, is beneficial to simplifying the way for the user to know the information, and improves the searching accuracy of the multimedia resources.

Description

Information display method and device, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to an information display method, an information display apparatus, an electronic device, a computer-readable storage medium, and a computer program product.
Background
With the development of internet technology and the improvement of network bandwidth, the data volume of network multimedia resources is increased explosively, how to search massive multimedia resources on the internet becomes a research hotspot at home and abroad, and is the main research content of a new generation of search engine.
In the related art, multimedia retrieval is often implemented based on the category of multimedia resources. The categories of the multimedia resources can be divided in various ways, for example, according to tags, keywords, geographic locations, and the like. And the labels, keywords, geographic locations, etc. can be obtained by the publisher when publishing the work timestamp.
However, with the rapid development of internet technology, effective classification of multimedia resources is an important means for improving the accuracy of multimedia resource search, and therefore a more effective multimedia resource classification method is urgently needed.
Disclosure of Invention
The present disclosure provides an information display method, apparatus, electronic device, computer-readable storage medium, and computer program product to provide a more efficient way of classifying multimedia resources. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an information display method including:
acquiring at least one color value corresponding to a user account, wherein the at least one color value is obtained according to the associated multimedia resources of the user account, and the color value is used for representing the category of the multimedia resources;
generating color blocks corresponding to the color values;
when the number of the color values is one, the color blocks are used as target color fixture blocks, and when the number of the color values is multiple, the color blocks corresponding to the multiple color values are combined to generate the target color fixture blocks;
and displaying the target color fixture block, wherein the color block in the target color fixture block is an access entrance of the multimedia resource under the corresponding color value.
In one embodiment, the method further comprises:
responding to the triggering operation of a target color block in the target color fixture block, and acquiring a target color value corresponding to the target color block;
acquiring the multimedia resource under the target color value from the established color value and the classification index of the multimedia resource;
and displaying the multimedia resources under the target color value.
In one embodiment, the obtaining the multimedia resource under the target color value includes at least one of the following manners:
searching and obtaining the multimedia resources under the target color value from the associated multimedia resources of the user account;
and searching and obtaining the multimedia resources under the target color value from the total multimedia resources, wherein the total multimedia resources comprise the issued multimedia resources.
In one embodiment, the associated multimedia resource is a multimedia resource issued by the user account and/or a multimedia resource once browsed by the user account; the displaying the target color block comprises:
displaying a target color fixture block generated based on the published multimedia resource on a publication page of the multimedia resource;
and/or displaying the target color fixture block generated based on the browsed multimedia resource on a browsing page of the multimedia resource.
In one embodiment, generating a color block corresponding to the color value comprises:
acquiring a display indication corresponding to the color value;
and generating a color block corresponding to the color value according to the color value and the display indication corresponding to the color value.
In one embodiment, the display indication corresponding to the color value comprises a proportion corresponding to the color value; generating a color block corresponding to the color value according to the color value and a display indication corresponding to the color value, including:
and dividing the original color fixture block according to the proportion corresponding to the color value, filling the color corresponding to the color value, and generating a color block corresponding to the color value.
In one embodiment, the determining method of the ratio corresponding to the color value includes:
acquiring a resource indication of each associated multimedia resource;
counting the total resource indication of the related multimedia resources under the color values;
and determining the ratio as the ratio of the total resource indication of the associated multimedia resources to the total resource indication of all the associated multimedia resources under the color value.
In one embodiment, the obtaining the resource indication of each associated multimedia resource includes:
and acquiring the total duration of each associated multimedia resource, or acquiring the displayed duration of each associated multimedia resource in the client.
In one embodiment, the determining method of the ratio corresponding to the color value includes:
counting the total number of the associated multimedia resources under the color values;
and determining the ratio as the ratio of the total number of the associated multimedia resources to the total number of all the associated multimedia resources under the color value.
In one embodiment, the determining of the at least one color value includes:
acquiring a key image frame of each associated multimedia resource;
color quantization is carried out on the key image frame, and color histogram information after color quantization is counted to obtain a color histogram;
and processing the color histogram to obtain color values of the key image frame as color values corresponding to each associated multimedia resource.
In one embodiment, the associated multimedia asset is an associated video; the key image frame includes a cover page of the associated video, or an I-frame of the associated video.
In one embodiment, the determining of the at least one color value includes:
acquiring a preset category label of each associated multimedia resource;
and obtaining the color value corresponding to the preset category label of each associated multimedia resource according to the mapping relation between the preset category label and the color value.
According to a second aspect of the embodiments of the present disclosure, there is provided an information display device, comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is configured to execute acquisition of at least one color value corresponding to a user account, the at least one color value is obtained according to an associated multimedia resource of the user account, and the color value is used for representing the category of the multimedia resource;
a color block generation module configured to perform generating a color block corresponding to the color value;
the color block generation module is configured to execute that when the number of the color values is one, the color blocks are used as target color blocks, and when the number of the color values is multiple, the color blocks corresponding to the multiple color values are combined to generate the target color blocks;
and the first display module is configured to display the target color fixture block, and a color block in the target color fixture block is an access entry of the multimedia resource under the corresponding color value.
In one embodiment, the apparatus further comprises:
the second acquisition module is configured to execute triggering operation of a target color block in the target color fixture block, acquire a target color value corresponding to the target color block, and acquire the multimedia resource under the target color value from the established color value and a classification index of the multimedia resource;
and the second display module is configured to execute the display of the multimedia resource under the target color value.
In one embodiment, the obtaining the multimedia resource under the target color value includes at least one of the following manners:
searching and obtaining the multimedia resources under the target color value from the associated multimedia resources of the user account;
and searching and obtaining the multimedia resources under the target color value from the total multimedia resources, wherein the total multimedia resources comprise the issued multimedia resources.
In one embodiment, the associated multimedia resource is a multimedia resource issued by the user account and/or a multimedia resource once browsed by the user account;
the first display module is configured to display a target color fixture block generated based on the published multimedia resource on a publication page of the multimedia resource; and/or displaying the target color fixture block generated based on the browsed multimedia resource on a browsing page of the multimedia resource.
In one embodiment, the color block generating module includes:
an acquisition unit configured to perform acquisition of a display instruction corresponding to the color value;
and the color block generating unit is configured to generate a color block corresponding to the color value according to the color value and the display indication corresponding to the color value.
In one embodiment, the display indication corresponding to the color value comprises a proportion corresponding to the color value; and the color block generating unit is configured to divide an original color block according to the proportion corresponding to the color value, fill the color corresponding to the color value, and generate the color block corresponding to the color value.
In one embodiment, the apparatus further comprises:
a third acquisition module configured to perform acquisition of a resource indication of each associated multimedia resource;
a first statistic module configured to perform statistics of a total resource indication of an associated multimedia resource under the color values;
a first occupancy determination module configured to perform determining the occupancy as a ratio of a total resource indication of the associated multimedia resource to a total resource indication of all associated multimedia resources under the color value.
In one embodiment, the third obtaining module is configured to perform obtaining the total duration of each associated multimedia resource, or obtain the duration of each associated multimedia resource already displayed in the client.
In one embodiment, the apparatus further comprises:
a second counting module configured to perform counting of a total number of associated multimedia resources under the color value;
a second proportion determining module configured to perform determining that the proportion is a ratio of a total number of associated multimedia resources to a total number of all associated multimedia resources under the color value.
In one embodiment, the apparatus further comprises:
a fourth module configured to perform the obtaining of the key image frame of each associated multimedia resource;
the color quantization module is configured to perform color quantization on the key image frame, and count color histogram information after the color quantization to obtain a color histogram;
and the first color value determining module is configured to perform processing on the color histogram to obtain color values of the key image frame as color values corresponding to each associated multimedia resource.
In one embodiment, the associated multimedia asset is an associated video; the key image frame includes a cover page of the associated video, or an I-frame of the associated video.
In one embodiment, the apparatus further comprises:
a fifth obtaining module configured to perform obtaining a preset category label of each associated multimedia resource;
and the second color value determining module is configured to execute mapping between preset category labels and color values to obtain color values corresponding to the preset category labels of each associated multimedia resource.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the information display method according to any one of the above first aspects.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the information display method according to any one of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the information display method of any one of the above first aspects.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the multimedia resources are classified by adding the uniform color value standard, so that when the multimedia resources are searched based on the color values, all the multimedia resources can be covered as much as possible, the search range of the multimedia resources is expanded, and the search accuracy is improved. The target color fixture block is generated and displayed according to the color value of the associated multimedia resource of the user account and the display indication, so that the user can visually acquire the category distribution of the associated multimedia resource, the information understanding way of the user is simplified, the information understanding efficiency of the user is improved, and the information display function of the application program is more comprehensive; the color blocks in the target color fixture blocks are used as access entries of the multimedia resources under the corresponding color values, so that the search operation of the multimedia resources is simplified, and the operability and flexibility of the use of a user are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is an application environment diagram illustrating an information display method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method of displaying information according to an example embodiment.
FIG. 3 is a schematic diagram illustrating a determination of color blocks according to an example embodiment.
FIG. 4 is a flowchart illustrating a step of determining a ratio corresponding to a color value according to an exemplary embodiment.
FIG. 5 is a flowchart illustrating a step of determining color values according to an exemplary embodiment.
Fig. 6 is a flow chart illustrating a method of displaying information according to an example embodiment.
Fig. 7 is a block diagram illustrating an information display apparatus according to an exemplary embodiment.
FIG. 8 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In an exemplary embodiment, the information display method provided by the present disclosure may be applied to an application environment as shown in fig. 1. Wherein the terminal 110 interacts with the server 120 through the network. The terminal 110 has an application installed therein, and the application may be a social type application, an instant messaging type application, a short video type application, or the like. A user may publish multimedia assets, browse multimedia assets, search for specified categories of multimedia assets, etc. through an application. The server 120 may have colored value determination logic deployed in advance. After the server 120 obtains the login notification of the application in the terminal 110, the associated multimedia resource associated with the user account may be obtained. And determining the color value corresponding to each associated multimedia resource through color value determination logic. The server 120 sends at least one color value of the associated multimedia asset to the terminal 110. The terminal 110 generates color blocks corresponding to each color value, and when the number of the color values is one, the color blocks are used as target color fixture blocks, and when the number of the color values is multiple, the color blocks corresponding to the multiple color values are combined to generate the target color fixture blocks. The terminal 110 displays the target color patch on the page. The terminal 110 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 120 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In another exemplary embodiment, the information display method provided by the present disclosure may be applied to a terminal. In this case, the color value determination logic may be deployed in the terminal in advance. After the terminal detects the starting operation of the application program, the multimedia resources associated with the user account can be acquired from a local database or a server according to the user account. The color value for each associated multimedia asset is determined by color value determination logic. And then color blocks corresponding to each color value are generated. When the number of the color values is one, the color blocks are used as target color fixture blocks and displayed; and when the number of the color values is multiple, combining the color blocks corresponding to the multiple color values to generate a target color fixture block and displaying the target color fixture block. The terminal may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, among others.
Fig. 2 is a flowchart illustrating an information display method according to an exemplary embodiment, and the information display method is used in a terminal as shown in fig. 2, and includes the following steps.
In step S210, at least one color value corresponding to the user account is obtained, where the at least one color value is obtained according to the associated multimedia resource of the user account, and the color value is used to represent the category of the multimedia resource.
The multimedia resources may refer to content that can be digitally transmitted, including pictures, videos, animations, games, web pages, live video, and the like. The associated multimedia resource of the user account may refer to one or more multimedia resources related to the user account, for example, published by the user account, browsed by the user account, published by an account concerned by the user account, published by other accounts in the same city as the user account, and the like.
Color value refers to a color value corresponding to a color in different color modes, for example, a color value corresponding to red in an RGB (red, green, blue) color mode is (255, 0, 0); the color value of green corresponding to the RGB color mode is (0, 255, 0); the color value for blue in the RGB color mode is (0, 0, 255).
Specifically, after monitoring the starting operation, the client sends a login notification to the server, wherein the login notification carries the user account. The server retrieves the associated multimedia asset for the user account in response to the login notification. And performing color quantitative analysis on each associated multimedia resource based on the pre-configured color value determination logic to obtain the color value of each associated multimedia resource. And then, counting the color values of all the associated multimedia resources to obtain at least one color value. Illustratively, the associated multimedia asset is a picture; the color value determination logic is implemented based on a preset color quantization algorithm. After the server acquires the associated pictures, the color value of each associated picture can be obtained through a color quantization algorithm. It should be noted that the user account referred to in the present disclosure includes, but is not limited to, information characterized by user device information, user personal information, and the like, which are all information authorized by the user or sufficiently authorized by each party, for example, may be an Identity (ID) of the user, an ID of the terminal device, a user name, and the like.
Further, after the color value of each associated multimedia resource is obtained, a classification index of each associated multimedia resource and the color value can be established, and the classification index is solidified in the server, so that the subsequent use is facilitated.
In some possible embodiments, the server may analyze and process each existing multimedia resource in advance through the color value determination logic, obtain a color value of each multimedia resource, and establish a classification index of each multimedia resource and the color value. After a login notification sent by a client is received, the associated multimedia resources of the user account and the color value corresponding to each associated multimedia resource can be quickly inquired and obtained.
In some possible embodiments, the color value of the associated multimedia asset may also be obtained by the client. The color values are determined by the server and the client, the difference between the two is only the difference of the execution main body, and the implementation principle and the implementation process are similar.
In step S220, a color block corresponding to the color value is generated.
In step S230, when the number of color values is one, the color blocks are used as target color patch blocks, and when the number of color values is multiple, the color blocks corresponding to the multiple color values are combined to generate the target color patch blocks.
Specifically, after obtaining at least one color value, the client may generate a color block corresponding to each color value according to a preset color block display style. When the number of the color values is one, the color blocks are directly used as target color fixture blocks, and when the number of the color values is multiple, the color blocks of the multiple color values are combined to generate the target color fixture blocks. For example, the client fills a frame with a preset size according to a preset color brightness and a color corresponding to each color value to obtain a color block corresponding to each color value. And when the number of the color values comprises a plurality of color blocks, sequentially splicing the color blocks of the plurality of color values to obtain the target color fixture block. Or the client generates a columnar representation corresponding to each color value, and when the number of the color values is one, the columnar representation corresponding to the color value is used as a target color fixture block; and when the number of the color values is multiple, sequentially splicing the columnar representations of the multiple color values to generate a columnar diagram. Wherein. The color of each column in the histogram corresponds to a color value, and the length may be the number of associated multimedia resources under the color value.
In step S240, a target color block is displayed, and a color block in the target color block is an access entry of the multimedia resource under the corresponding color value.
Specifically, the client displays the target color fixture block in a preset page in a floating page mode, a fixed page mode and the like. The preset page may be a specific page in the application program, such as a search page, a home page, and the like. The preset page may also be any or all of the pages in the application. The default page may also be a separate page in the application, such as a hidden sidebar page, etc. Further, the client may also display the target color patch at a preset position of the preset page, for example, at the upper right corner of the preset page.
Further, the color blocks in the target color block can be used as the access entry of the multimedia resource. The access portal is an operation portal for searching for multimedia resources under color values. It is to be understood that, in this case, the classification index has been previously established in accordance with the correspondence between the color value and the multimedia asset. And configuring the color blocks in the target color fixture blocks as access inlets under the corresponding color values, so that a user can browse the multimedia resources under the color values corresponding to the color blocks by clicking the color blocks. Of course, the user may also search the multimedia resource by this way, for example, input a text content (e.g., "yellow") corresponding to the color value in a preset search box, so that the client searches for the multimedia resource under the corresponding color value according to the text content.
In the information display method, the multimedia resources are classified by using the uniform color value standard, so that when the multimedia resources are searched based on the color values, all the multimedia resources can be covered as much as possible, the search range of the multimedia resources is expanded, and the search accuracy is improved. The target color fixture block is generated and displayed according to the color value of the associated multimedia resource of the user account and the display indication, so that the user can visually acquire the category distribution of the associated multimedia resource, the information understanding way of the user is simplified, the information understanding efficiency of the user is improved, and the information display function of the application program is more comprehensive; the color blocks in the target color fixture blocks are used as access entries of the multimedia resources under the corresponding color values, so that the search operation of the multimedia resources is simplified, and the operability and flexibility of the use of a user are improved.
In an exemplary embodiment, the method further comprises: responding to the trigger operation of a target color block in a target color fixture block, and acquiring a target color value corresponding to the target color block; acquiring multimedia resources under target color values from the established color values and the classification indexes of the multimedia resources; and displaying the multimedia resource under the target color value.
In particular, the multimedia assets searched may be associated multimedia assets of the user account. In this case, the associated multimedia asset may be stored in a local database of the client. And the client acquires a target color value corresponding to the target color block after detecting the triggering operation of the user on the target color block. And searching the associated multimedia resources of the local database to obtain the multimedia resources under the target color value. The associated multimedia asset may also be stored in a server. After obtaining the target color value corresponding to the target color block, the client sends a search request of the multimedia resource to the server so as to request the server to search the associated multimedia resource to obtain the multimedia resource under the target color value, and sends the multimedia resource under the target color value to the client.
Alternatively, the multimedia assets being searched can also be full multimedia assets. The full amount of multimedia assets may be multimedia assets that have been published by all accounts in the application. After detecting the triggering operation of the user on the target color block, the client sends a search request of the multimedia resource to the server so as to request the server to search the multimedia resource under the target color value from the full multimedia resource.
Further, after receiving the multimedia resource under the target color value, the client may display the multimedia resource under the target color value in a page or a popup layer in a manner of a list, a grid, or the like.
In the embodiment, the category of the multimedia resource is marked by using the uniform color value standard, so that when the multimedia resource is searched based on the color value, all the multimedia resources can be covered as much as possible, the search range of the multimedia resources is expanded, and the search accuracy is improved.
In an exemplary embodiment, the associated multimedia resources are multimedia resources published by the user account and/or multimedia resources once browsed by the user account; in step S240, a target color patch is displayed, including: displaying a target color fixture block generated based on the published multimedia resource on a publication page of the multimedia resource; and/or displaying a target color fixture block generated based on the multimedia resource browsed once on a browsing page of the multimedia resource.
Specifically, the multimedia resources issued by the user account and/or the multimedia resources once browsed by the user account may be acquired according to the user account. And generating target color fixture blocks corresponding to the multimedia resources issued by the user account and/or target color fixture blocks corresponding to the multimedia resources once browsed by the user account by referring to the generation mode of the target color fixture blocks. The client displays a target color fixture block generated based on the published multimedia resource on a publication page of the multimedia resource; and displaying a target color fixture block generated based on the once browsed multimedia resource on a browsing page of the multimedia resource.
In the embodiment, the target color fixture blocks corresponding to the issued multimedia resources and the browsed multimedia resources are respectively generated and displayed on the corresponding pages, so that the user can intuitively know the track of the issued and/or browsed multimedia resources, the information knowing path of the user is simplified, and the information knowing efficiency of the user is improved.
In an exemplary embodiment, step S220 of generating a color block corresponding to the color value includes: acquiring a display indication corresponding to the color value; and generating a color block corresponding to the color value according to the color value and the display indication corresponding to the color value.
The display indication may refer to indication information of a display style in which the color values are presented on the client page, and may include information such as text, color brightness, color saturation, shape, size, and the like, for example. Illustratively, if the color value is in the RGB color mode (234, 85, 32), then the corresponding display indication may include the text "orange", the lightness in color lightness ", the shape" circle ", and the like.
The server generates a display indication corresponding to each color value based on the preconfigured display indication determination logic. For example, the display indication includes color brightness and size. And allocating corresponding color brightness and size to each color value according to the number of the associated multimedia resources corresponding to the color value. And the more the number of the associated multimedia resources corresponding to the color values is, the higher the color brightness is and the larger the size is. For example, each associated multimedia asset of the user account is analyzed to obtain two color values, color value 1 and color value 2. The number of the associated multimedia resources corresponding to the color value 1 is 10, and the number of the associated multimedia resources corresponding to the color value 2 is 5, so that high brightness and large size are distributed to the color value 1; color value 2 is assigned a medium lightness, small size. And the server sends the display corresponding to each color value to the client so that the client generates a corresponding color block according to the display indication corresponding to each color value.
In some possible embodiments, the display indication corresponding to the color value of the associated multimedia resource may also be obtained by the client. The server and the client determine the display indication corresponding to the color value, and the difference between the server and the client is only the difference of the execution main body, and the implementation principle and the implementation process are similar.
In this embodiment, by deploying the display indication generation logic in advance, the presentation mode of the color value can be solidified, so that the user can know the distribution condition of the associated multimedia resource through the target color fixture block, thereby simplifying the way for the user to know the information.
In an exemplary embodiment, the display indication corresponding to the color value comprises a duty ratio corresponding to the color value; and generating a color block corresponding to the color value according to the color value and the display indication corresponding to the color value, wherein the step of dividing the original color fixture block according to the proportion corresponding to the color value and filling the color corresponding to the color value to generate the color block corresponding to the color value.
Wherein, the proportion can be calculated based on the related information of the associated multimedia resources corresponding to the color values. The related information may be the number of associated multimedia resources, importance level, access amount, duration, etc. For example, the total number of associated multimedia resources under each color value is counted; and determining the ratio as the ratio of the total number of the associated multimedia resources to the total number of all the associated multimedia resources under the color value.
Specifically, the pattern of the original color patch can be configured in advance, for example, the original color patch is configured to be a fixed rectangle, a fixed circle, or the like. And dividing the original color fixture block according to the ratio of each acquired color value, filling the color corresponding to the color value in each divided part, and generating a color block corresponding to each color value.
Fig. 3 exemplarily shows schematic diagrams of two kinds of generated patches. The color number (r) and (r) are added to the schematic diagram for convenience of explanation. The associated multimedia resources of the user account correspond to 4 color values: color value (I), color value (II), color value (III) and color value (IV). As shown in fig. 3 (a), the ratio of the color value (i), the color value (ii), the color value (iii) and the color value (iv) can be represented by a length ratio, and the original color patch is divided according to the length ratio corresponding to each color value. As shown in fig. 3 (b), the ratio of the color value (i), the color value (ii), the color value (iii) and the color value (iv) can be represented by an area ratio, and the original color patch is divided according to the area ratio corresponding to each color value. And after the color blocks corresponding to the color values are obtained by dividing, filling the colors corresponding to the color values into each divided part to obtain the color blocks corresponding to the color values.
Further, it is also possible to render respective lightness in each color block, display text corresponding to the color value (e.g., yellow, red), display category labels corresponding to the color value (e.g., configuring yellow to represent dance, red to represent beauty), and so on.
Further, each color value can be assigned a corresponding rank according to the proportion corresponding to the color value. For example, the raw color patches are distributed from left to right in the order of the ratio from large to small, and the raw color patches are distributed in the clockwise direction in the order of the ratio from large to small.
In the embodiment, since the colors have obvious visual effect on people and express on the expression characteristics, the basic tones of the colors can enhance the characteristics of the multimedia resources, and the people can generate strong emotional reactions by means of the association caused by the colors, so that the multimedia resources are presented in the form of the colors, which is helpful for promoting the users to watch and/or release the actively optimistic multimedia resources.
In an exemplary embodiment, as shown in fig. 4, a manner of determining the ratio corresponding to the color value is described. The method can be realized by the following steps:
in step S410, a resource indication for each associated multimedia resource is obtained.
In step S420, the total resource indication associated with the multimedia resource under the statistical color value is determined.
In step S430, the ratio is determined as the ratio of the total resource indication of the associated multimedia resource to the total resource indication of all associated multimedia resources under the color value.
The resource indication may refer to information indicating quantifiability of the multimedia resource, such as importance level, access amount, duration, and the like. The resource indication of the associated multimedia resource may be obtained from attribute information of the associated multimedia resource, a log of the user account, and the like, depending on the specific content of the resource indication.
Specifically, the determination process of the occupation ratio may be implemented by a server or a client. Take a server as an example. And after searching the associated multimedia resources of the user account, the server acquires the resource indication of each associated multimedia resource. And counting the total resource indication of the associated multimedia resources under each color value. And calculating the ratio of the total resource indication of the associated multimedia resources to the total resource indication of all the associated multimedia resources under each color value as the ratio corresponding to each color value.
In some possible embodiments, the resource indication may be determined from a time dimension, specifically, a total duration of the associated multimedia resource, or a duration of the associated multimedia resource already displayed in the client. For example, the associated multimedia resource is a multimedia resource browsed by the user, and the resource indication is a time length displayed in the client. And the server searches the log of the user account to obtain the multimedia resources which are the resource A, the resource B and the resource C browsed by the user. The displayed time length of the resource A is T1, the displayed time length of the resource B is T2, and the displayed time length of the resource C is T3. The server determines that the resource A and resource B color values are S1 and the resource C color value is S2. The ratio corresponding to the color value S1 is (T1 + T2)/(T1 + T2+ T3); the ratio corresponding to the color value S2 is T3/(T1 + T2+ T3).
In this embodiment, the proportion of the total resource indication of the associated multimedia resources in the total resource indication of all the associated multimedia resources under the color value is obtained, and the original color card blocks are further divided according to the proportion, so that a user can intuitively obtain the resource distribution condition of the associated multimedia resources.
In an exemplary embodiment, one manner of determining at least one color value is illustrated in FIG. 5. The method can be realized by the following steps:
in step S510, a key image frame of each associated multimedia asset is acquired.
In step S520, the key image frame is color quantized, and color histogram information after the color quantization is counted to obtain a color histogram.
In step S530, the color histogram is processed to obtain color values of the key image frame as color values corresponding to each associated multimedia resource.
Wherein, in the case that the associated multimedia resource is an associated video, the key image frame may be any frame in the key segment. The key segment may be a segment in which there is a human voice in the associated video, a segment in which there is more than a preset number of human occurrences, or the like. The key image frame may also be a designated frame in the associated video, such as an I-frame. I-frames can be understood as a complete reservation of a frame of a picture, and by determining color values of the associated multimedia asset based on the I-frames, the accuracy of the color values can be improved. The key image frame may also be a cover page of the associated video. In general, the cover can be used to express the emotional characteristics of the user, and therefore, the color value determined based on the video cover can be closer to the emotional characteristics of the multimedia resource.
The color histogram may be used to describe the proportion of different colors in the key image frame. The color histogram may be a global color histogram, an accumulated color histogram, or the like.
Specifically, the color value determination process may be implemented by a server or a client. Take a server as an example. After determining the associated multimedia resources of the user account, the server acquires the key image frame of each associated multimedia resource. And performing color quantization on the key image frame. And acquiring the precision of the color needing to be quantized, and counting the color histogram information after the color quantization based on the quantization precision to obtain a color histogram. The accuracy of the color quantization required can be configured in advance, or the server can set the parameters such as the quality of the key image frame. And after the color histogram is obtained, further performing statistical analysis, sorting and smoothing on the color histogram to obtain color values. The color values obtained may be RGB values, HSV (Hue/Saturation/Value), Hue, Saturation, brightness, and the like.
In the embodiment, the key image frame can more accurately express the emotional characteristics of the video, so that the color value of the key image frame in the video is used as the color value of the video, the accuracy of color value determination can be improved, and the method is favorable for accurately promoting a user to watch and/or release the actively optimistic video.
In an exemplary embodiment, another manner of determining at least one color value is described. The method comprises the following steps: acquiring a preset category label of each associated multimedia resource; and obtaining the color value corresponding to the preset category label of each associated multimedia resource according to the mapping relation between the preset category label and the color value.
The preset category label may be a category label already existing in the system. For example, videos may be classified as: dancing, games, makeup, putting on, movie and television synthesis, star, sports, beauty, god, laugh, gourmet, agriculture, animal, automobile, quadratic element, parent and the like. Live video is classified into: singing, dancing, calligraphy, painting, playing, guitar, cooking, eating and broadcasting, seafood, fishing, field, body building, sports, make-up, skin care, hairdressing, fingernail beautifying, literary playing, jade, lovely pet, selling car, selling clothes, selling fishing gear, selling shoes, handsome boy, beauty, driving examination teaching, decoration, health and the like.
Specifically, the color value determination process may be implemented by a server or a client. Take a server as an example. And pre-establishing a mapping relation between the category label and the color value. After determining the associated multimedia resource of the user account, the server may obtain the corresponding preset category tag from the attribute information of the associated multimedia resource. And then, inquiring the color value corresponding to the preset category label from the mapping relation between the category label and the color value. And establishing color values and a classification index of the multimedia resources.
In the embodiment, the server can query the color values of the associated multimedia resources from the mapping relation by establishing the existing mapping relation between the category labels and the color values, so that the obtaining efficiency of the color values is greatly improved, and the operation pressure of the equipment is reduced.
Fig. 6 is a flow chart illustrating a method of displaying information according to an example embodiment. In this embodiment, the multimedia resource is a video. As shown in fig. 2, the information display method is used in a terminal, and includes the following steps:
in step S602, at least one color value corresponding to the associated video of the user account and a proportion corresponding to the color value are obtained. The determination method of the associated video, the determination method of the color value, and the determination method of the proportion corresponding to the color value may refer to the above embodiments, and are not specifically described herein.
In step S604, when the number of the color values is one, the color block corresponding to the color value is filled in the original color block, and the color block corresponding to the color value is obtained as the target color block. And when the number of the color values is multiple, dividing the original color blocks to obtain the original color blocks corresponding to each color value. And filling the color corresponding to each color value into the original color block corresponding to each color value to obtain the color block corresponding to each color value, and further combining the color blocks of the plurality of color values to obtain the target color fixture block.
In step S606, the target color patch is displayed. Specifically, a target color fixture block generated based on a published video can be displayed on a publication page of the video; and displaying a target color fixture block generated based on the video browsed once on a browsing page of the video.
In step S608, in response to the triggering operation on the target color block in the target color block, a target color value corresponding to the target color block is acquired. And searching the associated video to obtain the video under the target color value. Specifically, for a target color fixture block displayed on a video publishing page, a video under a target color value can be searched and obtained from a video published by a user account in response to a trigger operation on a target color block in the target color fixture block; for a target color block displayed on a video browsing page, a video under a target color value can be searched and obtained from the browsed video in response to the triggering operation of the target color block in the target color block.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the above-mentioned flowcharts may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or the stages is not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a part of the steps or the stages in other steps.
Fig. 7 is a block diagram illustrating an information display device 700 according to an example embodiment. Referring to fig. 7, the apparatus includes a first obtaining module 702, a color patch generating module 704, a color patch generating module 706, and a first displaying module 708.
A first obtaining module 702 configured to perform obtaining at least one color value corresponding to the user account, where the at least one color value is obtained according to the associated multimedia resource of the user account, and the color value is used for representing a category of the multimedia resource; a color block generation module 704 configured to perform generating a color block corresponding to the color value; the color patch generation module 706 is configured to perform, when the number of the color values is one, taking the color patches as target color patches, and when the number of the color values is multiple, combining the color patches corresponding to the multiple color values to generate the target color patches; and a first display module 708 configured to display a target color patch, where a color patch in the target color patch is an access entry of the multimedia resource at the corresponding color value.
In an exemplary embodiment, the apparatus 700 further comprises: the second acquisition module is configured to execute triggering operation of a target color block in the target color fixture block, acquire a target color value corresponding to the target color block, and acquire the multimedia resource under the target color value from the established color value and the classification index of the multimedia resource; and the second display module is configured to execute the display of the multimedia resource under the target color value.
In an exemplary embodiment, obtaining the multimedia resource under the target color value comprises at least one of the following ways: searching and obtaining multimedia resources under a target color value from the associated multimedia resources of the user account; and searching and obtaining the multimedia resources under the target color values from the total multimedia resources, wherein the total multimedia resources comprise the published multimedia resources.
In an exemplary embodiment, the associated multimedia resources are multimedia resources published by the user account and/or multimedia resources once browsed by the user account; a first display module 706 configured to perform displaying a target color patch generated based on a published multimedia resource on a publication page of the multimedia resource; and/or displaying a target color fixture block generated based on the multimedia resource browsed once on a browsing page of the multimedia resource.
In an exemplary embodiment, the patch generating module 704 includes: an acquisition unit configured to perform acquisition of a display instruction corresponding to a color value; and the color block generating unit is configured to generate the color block corresponding to the color value according to the color value and the display indication corresponding to the color value.
In an exemplary embodiment, the display indication corresponding to the color value comprises a duty ratio corresponding to the color value; and the color block generating unit is configured to divide the original color block according to the proportion corresponding to the color value, fill the color corresponding to the color value and generate the color block corresponding to the color value.
In an exemplary embodiment, the apparatus 700 further comprises: a third acquisition module configured to perform acquisition of a resource indication of each associated multimedia resource; a first statistical module configured to perform a total resource indication of an associated multimedia resource under a statistical color value; and the first occupation ratio determining module is configured to determine occupation ratio as a ratio of the total resource indication of the associated multimedia resources to the total resource indication of all the associated multimedia resources under the color value.
In an exemplary embodiment, the third obtaining module is configured to perform obtaining the total duration of each associated multimedia resource, or obtaining the duration of each associated multimedia resource already displayed in the client.
In an exemplary embodiment, the apparatus 700 further comprises: a second statistical module configured to perform a statistical of a total number of associated multimedia resources under the color value; and the second proportion determining module is configured to determine the proportion as the ratio of the total number of the associated multimedia resources to the total number of all the associated multimedia resources under the color value.
In an exemplary embodiment, the apparatus 700 further comprises: a fourth module configured to perform the obtaining of the key image frame of each associated multimedia resource; the color quantization module is configured to perform color quantization on the key image frame and count color histogram information after the color quantization to obtain a color histogram; and the first color value determining module is configured to execute processing on the color histogram to obtain color values of the key image frame as color values corresponding to each associated multimedia resource.
In an exemplary embodiment, the associated multimedia asset is an associated video; the key image frame includes a cover page of the associated video, or, an I-frame of the associated video.
In an exemplary embodiment, the apparatus 700 further comprises: a fifth obtaining module configured to perform obtaining a preset category label of each associated multimedia resource; and the second color value determining module is configured to execute the mapping relation between the preset category label and the color value to obtain the color value corresponding to the preset category label of each associated multimedia resource.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 8 is a block diagram illustrating an electronic device Z00 for information display in accordance with an exemplary embodiment. For example, electronic device Z00 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 8, electronic device Z00 may include one or more of the following components: a processing component Z02, a memory Z04, a power component Z06, a multimedia component Z08, an audio component Z10, an interface for input/output (I/O) Z12, a sensor component Z14 and a communication component Z16.
The processing component Z02 generally controls the overall operation of the electronic device Z00, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component Z02 may include one or more processors Z20 to execute instructions to perform all or part of the steps of the method described above. Further, the processing component Z02 may include one or more modules that facilitate interaction between the processing component Z02 and other components. For example, the processing component Z02 may include a multimedia module to facilitate interaction between the multimedia component Z08 and the processing component Z02.
The memory Z04 is configured to store various types of data to support operations at the electronic device Z00. Examples of such data include instructions for any application or method operating on electronic device Z00, contact data, phonebook data, messages, pictures, videos, and the like. The memory Z04 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component Z06 provides power to the various components of the electronic device Z00. The power component Z06 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device Z00.
The multimedia component Z08 comprises a screen providing an output interface between the electronic device Z00 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component Z08 includes a front facing camera and/or a rear facing camera. When the electronic device Z00 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component Z10 is configured to output and/or input an audio signal. For example, the audio component Z10 includes a Microphone (MIC) configured to receive external audio signals when the electronic device Z00 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory Z04 or transmitted via the communication component Z16. In some embodiments, the audio component Z10 further includes a speaker for outputting audio signals.
The I/O interface Z12 provides an interface between the processing component Z02 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly Z14 includes one or more sensors for providing status assessment of various aspects to the electronic device Z00. For example, the sensor assembly Z14 may detect the open/closed state of the electronic device Z00, the relative positioning of the components, such as the display and keypad of the electronic device Z00, the sensor assembly Z14 may also detect a change in the position of one component of the electronic device Z00 or the electronic device Z00, the presence or absence of user contact with the electronic device Z00, the orientation or acceleration/deceleration of the electronic device Z00, and a change in the temperature of the electronic device Z00. The sensor assembly Z14 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly Z14 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly Z14 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component Z16 is configured to facilitate wired or wireless communication between the electronic device Z00 and other devices. The electronic device Z00 may have access to a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component Z16 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component Z16 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device Z00 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a computer readable storage medium is also provided, for example the memory Z04, comprising instructions executable by the processor Z20 of the electronic device Z00 to perform the above method. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, which comprises a computer program that, when being executed by a processor, implements the information display method according to any one of the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (26)

1. An information display method, comprising:
acquiring at least one color value corresponding to a user account, wherein the at least one color value is obtained according to the associated multimedia resources of the user account, and the color value is used for representing the category of the multimedia resources;
generating color blocks corresponding to the color values;
when the number of the color values is one, the color blocks are used as target color fixture blocks, and when the number of the color values is multiple, the color blocks corresponding to the multiple color values are combined to generate the target color fixture blocks;
and displaying the target color fixture block, wherein the color block in the target color fixture block is an access entrance of the multimedia resource under the corresponding color value.
2. The information display method according to claim 1, characterized in that the method further comprises:
responding to the triggering operation of a target color block in the target color fixture block, and acquiring a target color value corresponding to the target color block;
acquiring the multimedia resource under the target color value from the established color value and the classification index of the multimedia resource;
and displaying the multimedia resources under the target color value.
3. The information display method according to claim 2, wherein the obtaining of the multimedia resource under the target color value comprises at least one of the following methods:
searching and obtaining the multimedia resources under the target color value from the associated multimedia resources of the user account;
and searching and obtaining the multimedia resources under the target color value from the total multimedia resources, wherein the total multimedia resources comprise the issued multimedia resources.
4. The information display method according to claim 1, wherein the associated multimedia resource is a multimedia resource issued by the user account and/or a multimedia resource viewed by the user account;
the displaying the target color block comprises:
displaying a target color fixture block generated based on the published multimedia resource on a publication page of the multimedia resource;
and/or displaying the target color fixture block generated based on the browsed multimedia resource on a browsing page of the multimedia resource.
5. The information display method according to claim 1, wherein generating a color block corresponding to the color value comprises:
acquiring a display indication corresponding to the color value;
and generating a color block corresponding to the color value according to the color value and the display indication corresponding to the color value.
6. The information display method according to claim 5, wherein the display indication corresponding to the color value includes a proportion corresponding to the color value;
generating a color block corresponding to the color value according to the color value and the display indication corresponding to the color value, including:
and dividing the original color fixture block according to the proportion corresponding to the color value, filling the color corresponding to the color value, and generating a color block corresponding to the color value.
7. The information display method according to claim 6, wherein the determination of the ratio corresponding to the color value includes:
acquiring a resource indication of each associated multimedia resource;
counting the total resource indication of the related multimedia resources under the color values;
and determining the ratio as the ratio of the total resource indication of the associated multimedia resources to the total resource indication of all the associated multimedia resources under the color value.
8. The information display method according to claim 7, wherein the obtaining the resource indication of each associated multimedia resource comprises:
acquiring the total duration of each associated multimedia resource;
or, the displayed duration of each associated multimedia resource in the client is obtained.
9. The information display method according to claim 6, wherein the determination of the ratio corresponding to the color value includes:
counting the total number of the associated multimedia resources under the color values;
and determining the ratio as the ratio of the total number of the associated multimedia resources to the total number of all the associated multimedia resources under the color value.
10. The information display method according to claim 1, wherein the determination of the at least one color value comprises:
acquiring a key image frame of each associated multimedia resource;
color quantization is carried out on the key image frame, and color histogram information after color quantization is counted to obtain a color histogram;
and processing the color histogram to obtain color values of the key image frame as color values corresponding to each associated multimedia resource.
11. The information display method according to claim 10, wherein the associated multimedia asset is an associated video; the key image frame includes a cover page of the associated video, or an I-frame of the associated video.
12. The information display method according to claim 1, wherein the determination of the at least one color value comprises:
acquiring a preset category label of each associated multimedia resource;
and obtaining the color value corresponding to the preset category label of each associated multimedia resource according to the mapping relation between the preset category label and the color value.
13. An information display device characterized by comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is configured to execute acquisition of at least one color value corresponding to a user account, the at least one color value is obtained according to an associated multimedia resource of the user account, and the color value is used for representing the category of the multimedia resource;
a color block generation module configured to perform generating a color block corresponding to the color value;
the color block generation module is configured to execute that when the number of the color values is one, the color blocks are used as target color blocks, and when the number of the color values is multiple, the color blocks corresponding to the multiple color values are combined to generate the target color blocks;
and the first display module is configured to display the target color fixture block, and a color block in the target color fixture block is an access entry of the multimedia resource under the corresponding color value.
14. The information display device according to claim 13, characterized in that the device further comprises:
the second acquisition module is configured to execute triggering operation of a target color block in the target color fixture block, acquire a target color value corresponding to the target color block, and acquire the multimedia resource under the target color value from the established color value and a classification index of the multimedia resource;
and the second display module is configured to execute the display of the multimedia resource under the target color value.
15. The information display device of claim 14, wherein the obtaining of the multimedia asset at the target color value comprises at least one of:
searching and obtaining the multimedia resources under the target color value from the associated multimedia resources of the user account;
and searching and obtaining the multimedia resources under the target color value from the total multimedia resources, wherein the total multimedia resources comprise the issued multimedia resources.
16. The information display device according to claim 13, wherein the associated multimedia resource is a multimedia resource issued by the user account and/or a multimedia resource viewed by the user account;
the first display module is configured to display a target color fixture block generated based on the published multimedia resource on a publication page of the multimedia resource; and/or displaying the target color fixture block generated based on the browsed multimedia resource on a browsing page of the multimedia resource.
17. The information display device according to claim 13, wherein the patch generation module includes:
an acquisition unit configured to perform acquisition of a display instruction corresponding to the color value;
and the color block generating unit is configured to generate a color block corresponding to the color value according to the color value and the display indication corresponding to the color value.
18. The information display device according to claim 17, wherein the display indication corresponding to the color value includes a proportion corresponding to the color value; and the color block generating unit is configured to divide an original color block according to the proportion corresponding to the color value, fill the color corresponding to the color value, and generate the color block corresponding to the color value.
19. The information display device according to claim 18, characterized in that the device further comprises:
a third acquisition module configured to perform acquisition of a resource indication of each associated multimedia resource;
a first statistic module configured to perform statistics of a total resource indication of an associated multimedia resource under the color values;
a first occupancy determination module configured to perform determining the occupancy as a ratio of a total resource indication of the associated multimedia resource to a total resource indication of all associated multimedia resources under the color value.
20. The information display device according to claim 19, wherein the third obtaining module is configured to perform obtaining the total duration of each associated multimedia resource or obtaining the duration of each associated multimedia resource already displayed in the client.
21. The information display device according to claim 18, characterized in that the device further comprises:
a second counting module configured to perform counting of a total number of associated multimedia resources under the color value;
a second proportion determining module configured to perform determining that the proportion is a ratio of a total number of associated multimedia resources to a total number of all associated multimedia resources under the color value.
22. The information display device according to claim 13, characterized in that the device further comprises:
a fourth module configured to perform the obtaining of the key image frame of each associated multimedia resource;
the color quantization module is configured to perform color quantization on the key image frame, and count color histogram information after the color quantization to obtain a color histogram;
and the first color value determining module is configured to perform processing on the color histogram to obtain color values of the key image frame as color values corresponding to each associated multimedia resource.
23. The information display device of claim 22, wherein the associated multimedia asset is an associated video; the key image frame includes a cover page of the associated video, or an I-frame of the associated video.
24. The information display device according to claim 13, characterized in that the device further comprises:
a fifth obtaining module configured to perform obtaining a preset category label of each associated multimedia resource;
and the second color value determining module is configured to execute mapping between preset category labels and color values to obtain color values corresponding to the preset category labels of each associated multimedia resource.
25. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the information display method of any one of claims 1 to 12.
26. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the information display method of any one of claims 1 to 12.
CN202110316960.9A 2021-03-25 2021-03-25 Information display method and device, electronic equipment and computer readable storage medium Active CN112699259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110316960.9A CN112699259B (en) 2021-03-25 2021-03-25 Information display method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110316960.9A CN112699259B (en) 2021-03-25 2021-03-25 Information display method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112699259A true CN112699259A (en) 2021-04-23
CN112699259B CN112699259B (en) 2021-07-13

Family

ID=75516799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110316960.9A Active CN112699259B (en) 2021-03-25 2021-03-25 Information display method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112699259B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101038595A (en) * 1999-04-29 2007-09-19 三菱电机株式会社 Method and apparatus for representing and searching for colour images
US20080046409A1 (en) * 2006-08-21 2008-02-21 Adam Lieb Color searching for images
CN101271528A (en) * 2008-04-11 2008-09-24 北京中星微电子有限公司 Method and device for outputting image
CN110019007A (en) * 2017-10-30 2019-07-16 北京金风科创风电设备有限公司 Data processing method and device
CN110019938A (en) * 2017-11-29 2019-07-16 深圳Tcl新技术有限公司 Video Information Retrieval Techniquess method, apparatus and storage medium based on RGB classification

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101038595A (en) * 1999-04-29 2007-09-19 三菱电机株式会社 Method and apparatus for representing and searching for colour images
US20080046409A1 (en) * 2006-08-21 2008-02-21 Adam Lieb Color searching for images
CN101271528A (en) * 2008-04-11 2008-09-24 北京中星微电子有限公司 Method and device for outputting image
CN110019007A (en) * 2017-10-30 2019-07-16 北京金风科创风电设备有限公司 Data processing method and device
CN110019938A (en) * 2017-11-29 2019-07-16 深圳Tcl新技术有限公司 Video Information Retrieval Techniquess method, apparatus and storage medium based on RGB classification

Also Published As

Publication number Publication date
CN112699259B (en) 2021-07-13

Similar Documents

Publication Publication Date Title
US11520824B2 (en) Method for displaying information, electronic device and system
CN111198956A (en) Multimedia resource interaction method and device, electronic equipment and storage medium
CN113099297B (en) Method and device for generating click video, electronic equipment and storage medium
CN109783656B (en) Recommendation method and system of audio and video data, server and storage medium
CN110688576B (en) Content recommendation method and device, electronic equipment and storage medium
CN107229403B (en) Information content selection method and device
CN112000266B (en) Page display method and device, electronic equipment and storage medium
CN107622074A (en) A kind of data processing method, device and computing device
US11546663B2 (en) Video recommendation method and apparatus
CN112131466A (en) Group display method, device, system and storage medium
CN112000840B (en) Business object display method and device
CN113901241A (en) Page display method and device, electronic equipment and storage medium
CN112131473B (en) Information recommendation method, device, equipment and storage medium
CN111127053A (en) Page content recommendation method and device and electronic equipment
CN117453933A (en) Multimedia data recommendation method and device, electronic equipment and storage medium
CN110650364B (en) Video attitude tag extraction method and video-based interaction method
CN112699259B (en) Information display method and device, electronic equipment and computer readable storage medium
CN111382281A (en) Recommendation method, device, equipment and storage medium based on content of media object
CN113918661A (en) Knowledge graph generation method and device and electronic equipment
CN112528092A (en) Information query method and device and electronic equipment
CN113407754B (en) Album generating method, apparatus, electronic device and storage medium
CN113190725B (en) Object recommendation and model training method and device, equipment, medium and product
CN113177162B (en) Search result sorting method and device, electronic equipment and storage medium
CN111078022B (en) Input method and device
CN114780828A (en) Resource recommendation method and device, computer equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant