CN113419798A - Content display method, device, equipment and storage medium - Google Patents

Content display method, device, equipment and storage medium Download PDF

Info

Publication number
CN113419798A
CN113419798A CN202110604516.7A CN202110604516A CN113419798A CN 113419798 A CN113419798 A CN 113419798A CN 202110604516 A CN202110604516 A CN 202110604516A CN 113419798 A CN113419798 A CN 113419798A
Authority
CN
China
Prior art keywords
display
content
preset
display content
weight
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
CN202110604516.7A
Other languages
Chinese (zh)
Other versions
CN113419798B (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 CN202110604516.7A priority Critical patent/CN113419798B/en
Publication of CN113419798A publication Critical patent/CN113419798A/en
Application granted granted Critical
Publication of CN113419798B publication Critical patent/CN113419798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure relates to a content display method, apparatus, device and storage medium, and relates to the technical field of computer processing, wherein the method includes: in the process of displaying the display content to be displayed on the preset display area of the display interface, the display weight of the display content is obtained according to the attribute of the display content, the display information of the display content is determined according to the display weight of the display content, and the display content is displayed on the preset display area according to the display information of the display content. Therefore, in the process of displaying the content in the display area of the display interface, the display content in the display area is accurately controlled by combining the display information of the content to be displayed, the display effect is improved, and then the user experience can be improved.

Description

Content display method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for displaying content.
Background
With the rapid development of information technology, applications (e.g., e-commerce APPs, news APPs, etc.) on smart terminals (e.g., mobile phones, tablet computers, etc.) may push announcements, popularization types, or other types of information to users at random. The information is of various types, and usually exists in the form of characters, graphics, images, sounds, videos, animations, and the like, and in order to save the space of the display page, the content to be displayed is usually displayed alternately at the home page position of the application (or other display pages).
In the related art, the intelligent terminal usually performs alternate display on the display content based on a fixed manner. However, the display effect of the display mode is poor, and the user experience effect is poor.
Disclosure of Invention
The present disclosure provides a content display method, device, apparatus, and storage medium, to at least solve the problems of poor display effect and poor user experience effect in the related art.
The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a content display method, including: acquiring display content to be displayed on a preset display area of a display interface; acquiring the display weight of the display content according to the attribute of the display content; determining the display information of the display content according to the display weight of the display content; and displaying the display content on the preset display area according to the display information of the display content.
In an embodiment of the present disclosure, the obtaining a display weight of the display content according to the attribute of the display content includes: acquiring user attribute information corresponding to the display content according to a first user account corresponding to the display interface, wherein the user attribute information comprises a second user account, and the second user account has an association relation with the first user account; acquiring evaluation values of the first user account and the second user account in multiple preset dimensions; and acquiring the display weight of the display content according to the evaluation value on each dimension and a preset weight corresponding to each dimension.
In an embodiment of the present disclosure, the determining the display information of the display content according to the display weight of the display content includes: adjusting the size information of the head portrait image according to the display weight of the head portrait image; or determining the frequency information of the carousel display of the head portrait images according to the display weight of the head portrait images.
In an embodiment of the present disclosure, the determining, according to the display weight of the display content, display information of the display content includes: determining the display times of the display contents in a preset display period according to the display weight of the display contents; the displaying the display content on the preset display area according to the display information of the display content comprises: and displaying the display content on the preset display area according to the display times based on the preset display period.
In an embodiment of the present disclosure, the determining, according to the display weight of the display content, the number of times of displaying the display content in a preset display period includes: acquiring a switching time interval set for the preset display period; determining a time interval for displaying the display content according to the switching time interval and the display weight, wherein the time interval is M times of the switching time interval, M is an integer greater than or equal to 1 and less than or equal to N, and N is determined based on the preset display period and the switching time interval; and determining the display times of the display content according to the time interval and the preset display period.
In an embodiment of the present disclosure, the displaying the display content on the preset display area according to the display times based on the preset display period includes: acquiring a switching time interval set for the display period; determining the time interval of the display content according to the display times and the switching time interval; and displaying the display content on the preset display area according to the time interval.
In an embodiment of the present disclosure, the displaying the display content on the preset display area according to the display information of the display content includes: determining the total number of the display contents to be displayed on the preset display area according to the display information of each display content; determining a corresponding switching time interval according to the total number and a preset display period; and sequentially displaying the display contents to be displayed on the preset display area according to the switching time interval.
In one embodiment of the present disclosure, the method further comprises: acquiring the number of the display contents which can be displayed on the preset display area at the last time; determining a corresponding switching time interval according to the total number and a preset display period, wherein the determining comprises the following steps: determining the switching times in the preset display period according to the number and the total number of the display contents which can be displayed at the last time in the preset display area; and determining a corresponding switching time interval according to the switching times and the preset display period.
According to a second aspect of the embodiments of the present disclosure, there is provided a content display apparatus, including: the display device comprises a first acquisition module, a second acquisition module and a display module, wherein the first acquisition module is configured to acquire display content to be displayed on a preset display area of a display interface; the second acquisition module is configured to acquire the display weight of the display content according to the attribute of the display content; the determining module is configured to determine the display information of the display content according to the display weight of the display content; and the display module is configured to display the display content on the preset display area according to the display information of the display content.
In an embodiment of the disclosure, the second obtaining module is specifically configured to: acquiring user attribute information corresponding to the display content according to a first user account corresponding to the display interface, wherein the user attribute information comprises a second user account, and the second user account has an association relation with the first user account; acquiring evaluation values of the first user account and the second user account in multiple preset dimensions; and acquiring the display weight of the display content according to the evaluation value on each dimension and a preset weight corresponding to each dimension.
In an embodiment of the disclosure, the display content is an avatar image, and the determining module is specifically configured to: adjusting the size information of the head portrait image according to the display weight of the head portrait image; or determining the frequency information of the carousel display of the head portrait images according to the display weight of the head portrait images.
In one embodiment of the present disclosure, the determining module includes: the first determining unit is configured to determine the display times of the display contents in a preset display period according to the display weight of the display contents; the presentation module is specifically configured to: and displaying the display content on the preset display area according to the display times based on the preset display period.
In an embodiment of the disclosure, the first determining unit is specifically configured to: acquiring a switching time interval set for the preset display period; determining a time interval for displaying the display content according to the switching time interval and the display weight, wherein the time interval is M times of the switching time interval, M is an integer greater than or equal to 1 and less than or equal to N, and N is determined based on the preset display period and the switching time interval; and determining the display times of the display content according to the time interval and the preset display period.
In an embodiment of the disclosure, the display module is specifically configured to: acquiring a switching time interval set for the display period; determining the time interval of the display content according to the display times and the switching time interval; and displaying the display content on the preset display area according to the time interval.
In one embodiment of the present disclosure, the display content is a plurality of, and the display module includes: a second determining unit configured to determine a total number of the display contents to be displayed on the preset display area according to the display information of each display content; a third determining unit configured to determine a corresponding switching time interval according to the total number and a preset presentation period; the display unit is configured to sequentially display the display contents to be displayed on the preset display area according to the switching time interval.
In one embodiment of the present disclosure, the apparatus further comprises: the third obtaining module is configured to obtain the number of the display contents which can be displayed in the preset display area at the last time; the third determining unit is specifically configured to: determining the switching times in the preset display period according to the number and the total number of the display contents which can be displayed at the last time in the preset display area; and determining a corresponding switching time interval according to the switching times and the preset display period.
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 presentation method of content as described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the presentation method of contents of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, a computer program product comprising a computer program, wherein the computer program is configured to implement the presentation method of contents as described above when executed by a processor.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the process of displaying the display content to be displayed on the preset display area of the display interface, the display weight of the display content is obtained according to the attribute of the display content, the display information of the display content is determined according to the display weight of the display content, and the display content is displayed on the preset display area according to the display information of the display content. Therefore, in the process of displaying the content in the display area of the display interface, the display content in the display area is accurately controlled by combining the display information of the content to be displayed, the display effect is improved, and then the user experience can be 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 a flow chart illustrating a method of presenting content according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating another method of presenting content according to an example embodiment.
Fig. 3 is a flow chart illustrating another method of presenting content according to an example embodiment.
Fig. 4 is a flow chart illustrating another method of presenting content according to an example embodiment.
Fig. 5 is a flow chart illustrating another method of presenting content according to an example embodiment.
Fig. 6 is an exemplary diagram of a display interface including presentation contents in a preset display area.
Fig. 7 is a block diagram illustrating an apparatus for presenting content according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating another content presentation apparatus according to an example embodiment.
FIG. 9 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.
It should be noted that the data referred to in the present disclosure may be data authorized by a user or data sufficiently authorized by each party.
Fig. 1 is a flowchart illustrating a content presentation method according to an exemplary embodiment, where the content presentation method is used in an electronic device as illustrated in fig. 1, and includes the following steps.
In step 101, display content to be displayed on a preset display area of a display interface is acquired.
It should be noted that the execution subject of the display method of the present disclosure may be a display apparatus of content, where the display apparatus of the content of this implementation may be configured in an electronic device, where the electronic device in this embodiment may include a terminal device, a server, and the like, and the implementation is not limited thereto.
In some embodiments, in a case where a display device of content receives a display trigger instruction for a display interface, display content to be displayed on a preset display area of the display interface may be acquired.
The presentation content in this embodiment may include, but is not limited to, images, movies (e.g., short videos), animations, and the like.
In some embodiments of the present disclosure, the display interface may be a display interface in any application, and in some embodiments, the preset application may be a video application, for example, the preset application may be a short video application.
In this embodiment, the position of the preset display area on the display interface may be a preset position, and in practical application, the position of the preset display area on the display interface may be set according to an actual service requirement, for example, the preset display area may be located at the top, the bottom, or the middle of the display interface, and the position of the preset display area on the display interface is not specifically limited in this embodiment.
In step 102, a display weight of the display content is obtained according to the attribute of the display content.
In some embodiments, in the case that the display content is a video, the attribute information of the display content may include, but is not limited to, one or more of popularity information, browsing volume information, attention information, and the like of the video.
In some embodiments, in the case that the display content is a commodity picture, the attribute information of the display content may include, but is not limited to, one or more of sales volume, score, and the like of the commodity picture.
In other embodiments, in a case that the display content is an avatar image, the attribute information of the display content may include, but is not limited to, user attribute information corresponding to the avatar image, where the user attribute information may include user account information.
In some embodiments, the user account information corresponding to the avatar image and the user account corresponding to the display interface have an association relationship, and in some embodiments, the association relationship may be a friend relationship, a concern relationship, or the like.
In step 103, the display information of the display content is determined according to the display weight of the display content.
The display information may include, but is not limited to, display frequency information, display size information, and the like.
In step 104, the display content is displayed on the preset display area according to the display information of the display content.
According to the content display method, in the process of displaying the display content to be displayed on the preset display area of the display interface, the display weight of the display content is obtained according to the attribute of the display content, the display information of the display content is determined according to the display weight of the display content, and the display content is displayed on the preset display area according to the display information of the display content. Therefore, in the process of displaying the content in the display area of the display interface, the display content in the display area is accurately controlled by combining the display information of the content to be displayed, the display effect is improved, and then the user experience can be improved.
In some embodiments, in order to accurately determine the display weight of the display content, one possible implementation manner of obtaining the display weight of the display content according to the attribute of the display content, as shown in fig. 2, may include:
in step 201, user attribute information corresponding to the display content is obtained according to a first user account corresponding to the display interface, where the user attribute information includes a second user account, where the second user account has an association relationship, such as a friend relationship, with the first user account, that is, the second user account may be a friend account of the first user account.
In step 202, evaluation values of the first user account and the second user account in a plurality of preset dimensions are acquired.
The preset dimensions may include, but are not limited to, an affinity dimension, a region dimension, an activity dimension, and the like.
In step 203, a display weight of the display content is obtained according to the evaluation value in each dimension and a preset weight corresponding to each dimension.
In some embodiments, the evaluated values in each dimension may be multiplied by their corresponding weights and summed to obtain a presentation weight for the presentation. That is, in some embodiments, the evaluation values in the dimensions may be weighted according to the weight to obtain the presentation weight of the presentation content.
The display content may include, but is not limited to, an image, a video (e.g., a short video), an animation, and the like.
In some embodiments, in different application scenarios, the implementation manner of determining the presentation information of the presentation content according to the presentation weight of the presentation content is different, and the example is as follows:
as an exemplary embodiment, in the case that the display content is the avatar image, the size information of the avatar image may be adjusted according to the display weight of the avatar image.
In an exemplary embodiment of the present disclosure, the display size information corresponding to the avatar image may be determined according to the display weight of the avatar image, and the size information of the avatar image may be adjusted according to the display size information when it is determined that the display size information is different from the current size information of the avatar image.
It can be understood that the avatar image has different display weights and different display size information. For example, the larger the display weight, the larger the display size of the corresponding avatar image, and conversely, the smaller the display size of the corresponding avatar image.
As another exemplary embodiment, the frequency information of the carousel presentation of the avatar images is determined according to the presentation weight of the avatar images.
It can be understood that the display weights of the avatar images are different, and the frequency information of avatar image carousel display is different. For example, the larger the display weight is, the larger the frequency information displayed in the carousel of the corresponding avatar image is, and on the contrary, the smaller the frequency information displayed in the carousel of the avatar image is.
Fig. 3 is a flow chart illustrating a method of presenting content according to an exemplary embodiment. It should be noted that, in the present embodiment, the above-described embodiments are refined or optimized.
As shown in fig. 3, the content presentation method is used in an electronic device, and includes the following steps.
In step 301, display content to be displayed on a preset display area of a display interface is obtained.
In step 302, a display weight of the display content is obtained according to the attribute of the display content.
In step 303, the number of times of displaying the display content in a preset display period is determined according to the display weight of the display content.
It can be understood that, in different application scenarios, the determining the number of times of displaying the display content within the preset display period according to the display weight of the display content may be implemented in various ways, for example, as follows:
as an exemplary embodiment, the number of times of displaying the display content may be calculated according to the display period and the display weight.
As another exemplary embodiment, a corresponding relationship between a display weight corresponding to a preset display period and a display frequency may be obtained, and the display frequency corresponding to the display weight may be obtained from the corresponding relationship.
As another exemplary embodiment, in order to accurately determine the number of times of displaying the displayed content, a switching time interval set for a preset display period may be obtained; determining a time interval for displaying the display content according to the switching time interval and the display weight, wherein the time interval is M times of the switching time interval, M is an integer which is greater than or equal to 1 and less than or equal to N, and N is determined based on a preset display period and the switching time interval; and determining the display times of the display contents according to the time interval and the preset display period.
In some embodiments, the manner of determining N based on the preset presentation period and the switching time interval may be: and obtaining a value obtained by dividing a preset display period by the switching time interval, and taking the obtained value as N. It should be noted that, the higher the display weight of the display content is, the shorter the time interval for displaying the content is; the smaller the presentation weight of the presentation content, the longer the time interval for presenting the content.
It is understood that the time interval for presenting the content is less than or equal to the preset presentation period. In some embodiments, in the case that the time interval for presenting the presentation content is equal to the preset presentation period, it means that the presentation content is presented only once within the preset presentation period.
For example, if the presentation period is 100 seconds and the switching time interval is 10 seconds, and the time interval for determining the presentation content based on the presentation weight is 20 seconds, the number of times of presentation of the presentation content may be determined to be 5 times from the presentation period and the time interval for the presentation content.
In step 304, the display content is displayed on the preset display area according to the display times based on the preset display period.
According to the content display method, in the process of displaying the display content to be displayed on the preset display area of the display interface, the display weight of the display content is obtained according to the attribute of the display content, the display times of the display content in the preset display period are determined according to the display weight of the display content, and the display content is displayed on the preset display area according to the display times based on the preset display period. Therefore, in the process of displaying the content in the display area of the display interface, the display content in the display area is accurately controlled by combining the display information of the content to be displayed, the display effect is improved, and then the user experience can be improved.
In some embodiments, in order to improve the display effect of the display content, based on a preset display period, one possible implementation manner of displaying the display content on a preset display area according to the display times is as follows: acquiring a switching time interval set for a display period; determining the time interval for displaying the content according to the display times and the switching time interval; and displaying the display content on a preset display area according to the time interval.
For example, the switching time interval is 10 seconds, and the number of times of displaying the display content is 2, the time interval of displaying the display content may be determined to be 20 seconds, and the display content may be displayed on the preset display area once every 20 seconds in the process of displaying the display content.
In this embodiment, the display effect can be further improved by periodically displaying the display content in the display period.
In other embodiments, based on a preset display period, another possible implementation manner of displaying the display content on the preset display area according to the display times is as follows: the time interval for repeatedly displaying the display content can be determined according to the display period and the display times, and the display content is periodically displayed according to the time interval in the display period.
For example, the presentation period is 100 seconds, the number of presentations corresponding to the presentation content is 5 times, and the presentation period may be divided by the number of presentations to obtain a time interval for repeatedly presenting the presentation content, which is 20 seconds. However, in the presentation period, the presentation is presented every 20 seconds.
Fig. 4 is a flowchart illustrating another content presentation method according to an exemplary embodiment, where the content presentation method is used in an electronic device as illustrated in fig. 1, and includes the following steps.
In step 401, a plurality of display contents to be displayed on a preset display area of a display interface are obtained.
In step 402, display weights of the plurality of display contents are obtained according to the attributes of the plurality of display contents.
In step 403, display information of the plurality of display contents is determined according to the display weights of the plurality of display contents.
In step 404, a total number of the display contents to be displayed on the preset display area is determined according to the display information of each display content.
In step 405, a corresponding switching time interval is determined according to the total number and a preset display period.
In some scenarios, one display content may be displayed in the preset display area, or a plurality of display contents may be displayed, and in some embodiments, in order to accurately control the display contents in the preset area, the method of this embodiment may further obtain the number of the last displayable display contents in the preset display area.
Correspondingly, according to the total number and the preset display period, one possible implementation manner of determining the corresponding switching time interval is as follows: and determining the switching times in a preset display period according to the quantity and the total number of the contents which can be displayed in the preset display area at one time.
Specifically, a value obtained by dividing the total number by the number that can be displayed in one display can be obtained; determining the switching times in a preset display period according to the values; and determining a corresponding switching time interval according to the switching times and a preset display period.
In step 406, the display contents to be displayed are sequentially displayed on the preset display area according to the switching time interval.
In the content display method of the embodiment of the disclosure, in the process of displaying a plurality of display contents to be displayed on a preset display area of a display interface, for each display content, according to an attribute of the display content, a display weight of the display content is obtained, display information of the display content is determined according to the display weight of the display content, based on a display frequency of the display content, a total number of the display contents to be displayed on the preset display area is determined, according to the total number and a preset display period, a corresponding switching time interval is determined, and the display contents to be displayed are sequentially displayed on the preset display area according to the switching time interval. Therefore, in the process of displaying the content in the display area of the display interface, the display content in the display area is accurately controlled by combining the display information of the content to be displayed, the display effect is improved, and then the user experience can be improved.
In this embodiment, in order to make those skilled in the art understand the present disclosure more clearly, the following further describes the content displaying method of this embodiment with reference to fig. 5, where it is to be noted that, in fig. 5, the description is given by taking the avatar image of the friend who has the displayed content as the corresponding user, as shown in fig. 5, the content displaying method may include:
service terminal
1) And the server side acquires friend information of the user according to the user information.
The user information comprises head portrait images of corresponding friends.
2) The method comprises the steps of obtaining preset information on multiple dimensions, and then conducting weighted calculation on the information on each dimension to obtain display weights of head portrait images of a user and corresponding friends of the user.
The weight of each dimension is an empirical value determined by the server side based on analysis of big data.
Among them, preset multiple dimensions, such as: intimacy, regional relationship (whether in the same city), location information between users, personal liveness of users, frequency of interaction between users, and the like.
3) Configuring parameter information: display area, number of display images, carousel interval, etc. Wherein, the carousel interval is the display duration of the corresponding head portrait image.
It is understood that when it is detected that the presentation time of the corresponding avatar reaches the presentation time, another avatar image may be switched to be presented.
Mobile terminal
1) And initializing the display area according to the display area and the number of the images issued by the server.
2) The network loads the image.
3) And setting a timing trigger mechanism according to the carousel interval issued by the server.
4) And dynamically adjusting the carousel content according to the display weight. There are two current approaches: (1) time interval, the image is presented at a certain time. (2) The number of the exhibition is that in the process of playing all the images for one turn, the number of the images which can be exhibited is set and scattered in one playing period.
For example, the image sequence sent by the server is a, b, c … z, and when b shows the number of times is 2, another b is inserted between b and z to obtain an adjusted image sequence. Correspondingly, the images in the image sequence can be displayed on the display area of the mobile terminal according to the display sequence in the adjusted image sequence.
The play period in this embodiment is a duration corresponding to one time of playing all the pictures sent by the server.
In this embodiment, the images to be displayed are controlled in combination with the display weight of the avatar image, so that the display degree of the content with high display weight is increased, the user attention of the content with high weight can be increased, and the interaction frequency is increased.
For example, the display interface is a display interface corresponding to the user account a, and may acquire a plurality of pieces of user account information having a friend relationship with the user account a, and assume that the acquired plurality of pieces of user account information are four user accounts, and the four user accounts are respectively a user account B, a user account C, a user account D, and a user account E, and may respectively acquire avatar images corresponding to the user account B, the user account C, the user account D, and the user account E. The head portrait image corresponding to the user account B is a head portrait image B, the head portrait image corresponding to the user account C is a head portrait image C, the head portrait image corresponding to the user account D is a head portrait image C, and the head portrait image corresponding to the user account E is a head portrait image E. Assume that, according to the association relationship between the user account a and each of the plurality of account information, the display weight relationship of the avatar image corresponding to the user account is determined as follows: the display weight of the head portrait image C is greater than that of the head portrait image B, the display weight of the head portrait image B is greater than that of the head portrait image D, and the display weight of the head portrait image D is greater than that of the head portrait display image E. At this time, as shown in fig. 6, it can be seen from fig. 6 that the avatar image with a larger display weight has a larger size in the content information displayed on the preset display area in the display interface of the user account B.
Fig. 7 is a block diagram illustrating an apparatus for presenting content according to an exemplary embodiment.
As shown in fig. 7, the content presentation apparatus 6 may include a first obtaining module 701, a second obtaining module 702, a determining module 703, and a presentation module 704, wherein:
the first obtaining module 701 is configured to obtain display content to be displayed on a preset display area of a display interface.
A second obtaining module 702, configured to obtain the display weight of the display content according to the attribute of the display content.
A determining module 703 configured to determine the display information of the display content according to the display weight of the display content.
The display module 704 is configured to display the display content on the preset display area according to the display information of the display content.
In an embodiment of the disclosure, the second obtaining module 702 is specifically configured to: acquiring user attribute information corresponding to the display content according to a first user account corresponding to the display interface, wherein the user attribute information comprises a second user account, and the second user account has an association relation with the first user account; acquiring evaluation values of the first user account and the second user account in multiple preset dimensions; and acquiring the display weight of the display content according to the evaluation value on each dimension and a preset weight corresponding to each dimension.
In some embodiments, the display content is an avatar image, and the determining module is specifically configured to: adjusting the size information of the head portrait image according to the display weight of the head portrait image; or determining the frequency information of the carousel display of the head portrait images according to the display weight of the head portrait images.
In an embodiment of the present disclosure, on the basis of the apparatus embodiment shown in fig. 7, as shown in fig. 8, the determining module 703 may include:
a first determining unit 7031 configured to determine, according to the display weight of the display content, the number of times of displaying the display content in a preset display period;
the presentation module 704 is specifically configured to: and displaying the display content on the preset display area according to the display times based on the preset display period.
In an embodiment of the present disclosure, the first determining unit 7031 is specifically configured to: acquiring a switching time interval set for a preset display period; determining a time interval for displaying the display content according to the switching time interval and the display weight, wherein the time interval is M times of the switching time interval, M is an integer which is greater than or equal to 1 and less than or equal to N, and N is a value obtained by dividing a preset display period by the switching time interval; and determining the display times of the display contents according to the time interval and the preset display period.
In an embodiment of the present disclosure, the presentation module 704 is specifically configured to: acquiring a switching time interval set for a display period; determining the time interval for displaying the content according to the display times and the switching time interval; and displaying the display content on a preset display area according to the time interval.
In an embodiment of the present disclosure, the display content is multiple, and as shown in fig. 8, the display module 704 may include:
a second determining unit 7041 configured to determine, according to the presentation information of each presentation content, a total number of presentation contents to be presented on the preset display area;
a third determining unit 7042 configured to determine a corresponding switching time interval according to the total number and a preset presentation period;
the display unit 7043 is configured to sequentially display the display contents to be displayed on the preset display area according to the switching time interval.
In one embodiment of the present disclosure, as shown in fig. 8, the apparatus further includes:
a third obtaining module 705 configured to obtain the number of the displayable display contents in the preset display area at the last time;
third determining unit 7042 is specifically configured to: obtaining a value obtained by dividing the total number by the number; determining the switching times in a preset display period according to the values; and determining a corresponding switching time interval according to the switching times and a preset display period.
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.
The content display device provided by the embodiment of the disclosure obtains the display weight of the display content according to the attribute of the display content in the process of displaying the display content to be displayed on the preset display area of the display interface, determines the display information of the display content according to the display weight of the display content, and displays the display content on the preset display area according to the display information of the display content. Therefore, in the process of displaying the content in the display area of the display interface, the display content in the display area is accurately controlled by combining the display information of the content to be displayed, the display effect is improved, and then the user experience can be improved.
FIG. 9 is a block diagram illustrating an electronic device in accordance with an example embodiment.
As shown in fig. 9, the electronic device 200 includes:
a processor 220, a memory 210 for storing instructions executable by the processor 220;
wherein the processor 220 is configured to execute instructions to implement the tag mining method of the embodiments of the present disclosure.
In one possible implementation, the electronic device may also include a bus 230 that connects the various components (including the memory 210 and the processor 220).
Bus 230 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 200 typically includes a variety of electronic device readable media. Such media may be any available media that is accessible by electronic device 200 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 210 may also include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)240 and/or cache memory 250. The electronic device 200 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 260 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 9, and commonly referred to as a "hard drive"). Although not shown in FIG. 9, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 230 by one or more data media interfaces. Memory 210 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.
A program/utility 280 having a set (at least one) of program modules 270, including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may comprise an implementation of a network environment, may be stored in, for example, the memory 210. The program modules 270 generally perform the functions and/or methodologies of the embodiments described in this disclosure.
Electronic device 200 may also communicate with one or more external devices 290 (e.g., keyboard, pointing device, display 291, etc.), with one or more devices that enable a user to interact with electronic device 200, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 200 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 292. Also, the electronic device 200 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 293. As shown in FIG. 9, the network adapter 293 communicates with the other modules of the electronic device 200 via the bus 230. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 220 executes various functional applications and data processing by executing programs stored in the memory 210.
In one embodiment, the processor 220 may be configured to perform the presentation method of the contents of the disclosed embodiments.
It should be noted that the explanation about the content display method in the foregoing embodiment is also applicable to this embodiment, and the description of this embodiment is not repeated.
According to the electronic equipment of the embodiment, in the process of displaying the display content to be displayed on the preset display area of the display interface, the display weight of the display content is obtained according to the attribute of the display content, the display information of the display content is determined according to the display weight of the display content, and the display content is displayed on the preset display area according to the display information of the display content. Therefore, in the process of displaying the content in the display area of the display interface, the display content in the display area is accurately controlled by combining the display information of the content to be displayed, the display effect is improved, and then the user experience can be improved.
In an exemplary embodiment, a storage medium comprising instructions, such as a memory comprising instructions, executable by the processor 220 of the apparatus 200 to perform the above-described method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, for example, the non-transitory 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, when executed by a processor of an electronic device, enables the electronic device to perform the method of presenting content as set forth above.
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 (10)

1. A method for presenting content, comprising:
acquiring display content to be displayed on a preset display area of a display interface;
acquiring the display weight of the display content according to the attribute of the display content;
determining the display information of the display content according to the display weight of the display content;
and displaying the display content on the preset display area according to the display information of the display content.
2. The method according to claim 1, wherein the obtaining the display weight of the display content according to the attribute of the display content comprises:
acquiring user attribute information corresponding to the display content according to a first user account corresponding to the display interface, wherein the user attribute information comprises a second user account, and the second user account has an association relation with the first user account;
acquiring evaluation values of the first user account and the second user account in multiple preset dimensions;
and acquiring the display weight of the display content according to the evaluation value on each dimension and a preset weight corresponding to each dimension.
3. The method according to claim 2, wherein the display content is an avatar image, and the determining the display information of the display content according to the display weight of the display content comprises:
adjusting the size information of the head portrait image according to the display weight of the head portrait image; alternatively, the first and second electrodes may be,
and determining frequency information of carousel display of the head portrait images according to the display weight of the head portrait images.
4. The method according to claim 1, wherein the determining presentation information of the presentation content according to the presentation weight of the presentation content comprises:
determining the display times of the display contents in a preset display period according to the display weight of the display contents;
the displaying the display content on the preset display area according to the display information of the display content comprises:
and displaying the display content on the preset display area according to the display times based on the preset display period.
5. The method according to claim 4, wherein the determining the number of times of displaying the display content in a preset display period according to the display weight of the display content comprises:
acquiring a switching time interval set for the preset display period;
determining a time interval for displaying the display content according to the switching time interval and the display weight, wherein the time interval is M times of the switching time interval, M is an integer greater than or equal to 1 and less than or equal to N, and N is determined based on the preset display period and the switching time interval;
and determining the display times of the display content according to the time interval and the preset display period.
6. The method according to claim 4, wherein the displaying the display content on the preset display area according to the display times based on the preset display period comprises:
acquiring a switching time interval set for the display period;
determining the time interval of the display content according to the display times and the switching time interval;
and displaying the display content on the preset display area according to the time interval.
7. An apparatus for displaying content, comprising:
the display device comprises a first acquisition module, a second acquisition module and a display module, wherein the first acquisition module is configured to acquire display content to be displayed on a preset display area of a display interface;
the second acquisition module is configured to acquire the display weight of the display content according to the attribute of the display content;
the determining module is configured to determine the display information of the display content according to the display weight of the display content;
and the display module is configured to display the display content on the preset display area according to the display information of the display content.
8. 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 presentation method of content of any one of claims 1 to 7.
9. A computer-readable storage medium, whose instructions, when executed by a processor of an electronic device, enable the electronic device to perform a presentation method of contents according to any one of claims 1 to 7.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the presentation method of the content of any one of claims 1 to 7.
CN202110604516.7A 2021-05-31 2021-05-31 Content display method, device, equipment and storage medium Active CN113419798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110604516.7A CN113419798B (en) 2021-05-31 2021-05-31 Content display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110604516.7A CN113419798B (en) 2021-05-31 2021-05-31 Content display method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113419798A true CN113419798A (en) 2021-09-21
CN113419798B CN113419798B (en) 2023-12-19

Family

ID=77713439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110604516.7A Active CN113419798B (en) 2021-05-31 2021-05-31 Content display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113419798B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086265A (en) * 2022-06-30 2022-09-20 上海掌门科技有限公司 Method and equipment for generating group head portrait information

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050275636A1 (en) * 2004-06-15 2005-12-15 Microsoft Corporation Manipulating association of data with a physical object
CN105138557A (en) * 2015-07-22 2015-12-09 北京锤子数码科技有限公司 Music random play method and apparatus
CN109688469A (en) * 2018-12-27 2019-04-26 北京爱奇艺科技有限公司 A kind of advertisement demonstration method and show device
CN110704758A (en) * 2019-09-27 2020-01-17 珠海格力电器股份有限公司 Information display method and device based on classification and storage medium
CN110971507A (en) * 2019-11-26 2020-04-07 维沃移动通信有限公司 Information display method and electronic equipment
CN112015501A (en) * 2020-07-15 2020-12-01 深圳市金蝶天燕云计算股份有限公司 Visual page generation method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050275636A1 (en) * 2004-06-15 2005-12-15 Microsoft Corporation Manipulating association of data with a physical object
CN105138557A (en) * 2015-07-22 2015-12-09 北京锤子数码科技有限公司 Music random play method and apparatus
CN109688469A (en) * 2018-12-27 2019-04-26 北京爱奇艺科技有限公司 A kind of advertisement demonstration method and show device
CN110704758A (en) * 2019-09-27 2020-01-17 珠海格力电器股份有限公司 Information display method and device based on classification and storage medium
CN110971507A (en) * 2019-11-26 2020-04-07 维沃移动通信有限公司 Information display method and electronic equipment
CN112015501A (en) * 2020-07-15 2020-12-01 深圳市金蝶天燕云计算股份有限公司 Visual page generation method and device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086265A (en) * 2022-06-30 2022-09-20 上海掌门科技有限公司 Method and equipment for generating group head portrait information

Also Published As

Publication number Publication date
CN113419798B (en) 2023-12-19

Similar Documents

Publication Publication Date Title
US10448081B2 (en) Multimedia information processing method, terminal, and computer storage medium for interactive user screen
CN111062778A (en) Product browsing method, device, equipment and storage medium
CN113194349B (en) Video playing method, comment device, equipment and storage medium
CN111338732A (en) Display method and device for long list page
CN111729291B (en) Interaction method, device, electronic equipment and storage medium
CN112601098A (en) Live broadcast interaction method and content recommendation method and device
CN110021062B (en) Product characteristic acquisition method, terminal and storage medium
CN111494952A (en) Webpage end object display method and device and readable storage medium
JP7130771B2 (en) Attention information processing method and device, storage medium, and electronic device
CN113419798B (en) Content display method, device, equipment and storage medium
CN109801104A (en) A kind of advertising information methods of exhibiting of unaware
CN111866403B (en) Video graphic content processing method, device, equipment and medium
CN109299378B (en) Search result display method and device, terminal and storage medium
US10328336B1 (en) Concurrent game functionality and video content
CN116688526A (en) Virtual character interaction method and device, terminal equipment and storage medium
CN114092608B (en) Expression processing method and device, computer readable storage medium and electronic equipment
CN111796846B (en) Information updating method, device, terminal equipment and readable storage medium
CN113318441A (en) Game scene display control method and device, electronic equipment and storage medium
CN113031846A (en) Method and device for displaying description information of task and electronic equipment
CN113453051A (en) Virtual item display method, device, terminal and computer readable storage medium
CN114816597A (en) Content display method and device and computer readable storage medium
CN112990173A (en) Reading processing method, device and system
CN113065061B (en) Information display method, device and server
US11886893B2 (en) Method and device for capturing screen and terminal
CN117649275A (en) Virtual commodity processing method, device, electronic equipment and storage 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