WO2019144743A1 - Information display method and apparatus - Google Patents
Information display method and apparatus Download PDFInfo
- Publication number
- WO2019144743A1 WO2019144743A1 PCT/CN2018/123331 CN2018123331W WO2019144743A1 WO 2019144743 A1 WO2019144743 A1 WO 2019144743A1 CN 2018123331 W CN2018123331 W CN 2018123331W WO 2019144743 A1 WO2019144743 A1 WO 2019144743A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- displayed
- display
- cache queue
- priority
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
Definitions
- the present application relates to the field of computer technology, and in particular, to an information display method and apparatus.
- live broadcast applications can allow users to watch live video broadcasts.
- users can also live on the live broadcast interface. Display various information, such as the user's chat information, the information of the user currently entering the live room, the user's reward information, and the like.
- the live application needs to display more and more information.
- the live application displays more information
- the live application usually displays multiple information in turn according to the order of time.
- the existing display method does not take into account the display performance of the terminal device.
- the embodiment of the present invention provides a method and device for displaying information, which is used to solve the problem that the live application in the prior art does not consider the display performance of the terminal device when displaying multiple pieces of information in time sequence.
- an information display method comprising:
- an information display device comprising:
- the display unit determines the display manner of the at least one information to be displayed based on the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed.
- an electronic device comprising:
- a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the following operations:
- a computer readable storage medium storing one or more programs, the one or more programs, when executed by an electronic device comprising a plurality of applications, causing the The electronic device performs the following methods:
- the technical solution provided by the embodiment of the present application obtains at least one piece of information to be displayed; determines the at least the attribute related to the display priority based on the usage of the cache queue of the information to be displayed, and/or the attribute of the at least one piece of information to be displayed.
- a way to display information to be displayed The cache queue and the display priority of the information to be displayed are set in the live application, so that when at least one information to be displayed is obtained, the usage of the cache queue and/or the attribute related to the display priority in the information to be displayed may be determined.
- At least one way to display the information to be displayed Since the embodiment of the present application changes the display manner of the information to be displayed, the display performance of the terminal device can be taken into consideration, thereby improving the display effect of the information to be displayed and improving the user experience.
- FIG. 1 is a schematic flow chart of an information display method according to an embodiment of the present application.
- FIG. 2 is a schematic diagram of an information display method according to an embodiment of the present application.
- FIG. 3 is a schematic flow chart of an information display method according to an embodiment of the present application.
- FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
- FIG. 5 is a schematic structural diagram of an information display apparatus according to an embodiment of the present application.
- live broadcast applications can usually display the user's chat information, reward information, etc. in the live broadcast interface to increase the user and the user, between the user and the anchor. Interactivity. As more and more users watch live video, there are more and more information that live applications need to display. When a live application displays multiple messages, it can usually display multiple messages in chronological order. However, in practical applications, this information display method does not consider the display performance of the terminal device, thereby affecting the user experience.
- the chat information or the reward information of other users or the other users who are concerned with them can be displayed in the live interface for a longer period of time, so that the user does not miss the information.
- the information display method of the existing live application cannot meet the above requirements of the user.
- the live application when the live application displays information, it usually needs to render the displayed information, so that when the live application displays multiple pieces of information according to the above information display manner, the rendering pressure of the live application is relatively large, in this case, The live application will be stuck or even crashed, seriously affecting the user experience of watching live video.
- the embodiment of the present application provides an information display method and apparatus, the method comprising: acquiring at least one information to be displayed; using a cache queue based on information to be displayed, and/or the at least one information to be displayed
- the attribute related to the display priority is determined, and the manner in which the at least one information to be displayed is displayed is determined.
- the technical solution provided by the embodiment of the present application can set the cache queue of the information to be displayed and the display priority in the live application, so that when at least one information to be displayed is obtained, the usage of the cache queue and/or the information to be displayed may be based on the cache queue.
- the attribute related to the display priority determines how at least one piece of information to be displayed is displayed. Since the embodiment of the present application changes the display manner of the information to be displayed, the display performance of the terminal device can be taken into consideration, thereby improving the display effect of the information to be displayed and improving the user experience.
- the technical solution provided by the embodiment of the present application can determine the display manner of the information to be displayed based on the priority of the information to be displayed, so that the user can satisfy the chat information, the reward information, and the like that the user wants to watch. Demonstrate the demand for time; because the usage of the cache queue to be displayed can be determined based on the usage of the cache queue to be displayed, the pressure of the live application to read the information to be displayed can be reduced, thereby reducing the rendering of the presentation information. Pressure, effectively avoiding the phenomenon of jamming or crashing caused by excessive rendering pressure in live broadcast applications.
- the technical solution provided by the embodiment of the present application may be used for information display of a live application
- the live application may be a live application developed by HTML5 or a live application developed by a native system of Android or iOS. It can also be a live application developed by other technologies or systems, and is not specifically limited herein.
- the technical solution provided by the embodiment of the present application can effectively improve the display effect of the live application display information.
- the specific application scenario may be that when the user watches the live video on the PC, the information display effect of the live application of the PC is effectively improved, or the user is moving.
- the terminal watches the live video
- the information display effect of the live application of the mobile terminal is effectively improved.
- the mobile terminal may be a smart phone or an iPad, and is not specifically limited herein.
- the following embodiments of the present application may be described by taking an example of improving the information display effect of a live application of a mobile terminal.
- FIG. 1 is a schematic flow chart of an information display method according to an embodiment of the present application.
- the information display method can be applied to a client corresponding to a live application in a mobile terminal (hereinafter referred to as a live client), and the information display method is as follows.
- S102 Acquire at least one piece of information to be displayed.
- the live broadcast client may obtain at least one information to be displayed when the information is displayed, and specifically, may receive one or more pieces of information to be displayed pushed by a server corresponding to the live application (hereinafter referred to as a server), or may be from the server. Proactively get one or more pieces of information to be displayed.
- a server corresponding to the live application
- the information to be displayed may be the inbound and outbound information of the user when the user enters and exits the live broadcast client, or may be the chat information or the reward information of the user during the process of watching the live video broadcast, etc. Make specific limits.
- the live broadcast client may execute S104.
- S104 Determine, according to the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed, the manner of displaying the at least one information to be displayed.
- a cache queue that can be used to cache information to be displayed is set in the live broadcast client, and after the at least one information to be displayed is obtained, the live broadcast client may be based on the cache queue and/or the at least one standby Demonstrate an attribute related to the display priority in the information, and determine how the at least one information to be displayed is displayed.
- the display priority may be a priority mark carried in the information to be displayed, or a display order determined based on an attribute or a certain attribute in the information to be displayed.
- the attribute related to the display priority in the information to be displayed may include a timeline of the information to be displayed, a time of receiving the information to be displayed, a user type of the user to which the information to be displayed belongs, and a user to which the information to be displayed belongs. At least one of a user level and a reward amount of information to be displayed.
- the timeline of the information to be displayed refers to the moment when the event corresponding to the message to be displayed occurs.
- the user type of the information to be displayed may be determined according to the relationship between the user and the user corresponding to the information to be displayed, for example, may include: the user and the non-user, and may include, for example, the user himself, the user concerned, and others. Three categories of users. Of course, there may be other ways of classifying, and the embodiments of the present application will not be repeated here.
- the method may include:
- the timeline of the information to be displayed refers to the moment when the event corresponding to the message to be displayed occurs.
- the display priority of the information to be displayed may be determined based on the timeline of the information to be displayed, for example, the timeline is first, the display priority is high, the timeline is followed, the display priority is low, and the like.
- the timeline is first, the display priority is high, the timeline is followed, the display priority is low, and the like.
- the display priority is the lowest.
- the presentation priority of the information to be displayed may be determined based on the receiving time of the information to be displayed, for example, the receiving time is first, the display priority is high, the receiving time is later, the display priority is low, and the like.
- the user type of the information to be displayed may be determined according to the relationship between the user and the user corresponding to the information to be displayed, for example, may include: the user and the non-user, and may include, for example, the user himself, the user concerned, and others. Three categories of users. Of course, there may be other ways of classifying, and the embodiments of the present application will not be repeated here.
- the presentation priority of the information to be displayed may be determined based on the type of user of the information to be displayed. For example, the user's own display has the highest priority, the user's attention is second, the other users' display priority is the lowest, and so on.
- the presentation priority of the information to be displayed may be determined based on the user level of the information to be displayed. For example, suppose the user level is divided into 10 levels, which are 1-10 according to importance from low to high. At this time, the display priority of the information to be displayed of the level 10 user is higher than the display priority of the information to be displayed of the level 1 user.
- the user level may also include VIP users and non-VIP users, and the like.
- the presentation priority of the information to be displayed may also be determined based on the reward amount in the information to be displayed. For example, a reward of 10 yuan is preferred over a reward of 0.1 yuan.
- the display priority of the information to be displayed can be determined by combining various attributes.
- the display priority of the information to be displayed may be determined based on the two attributes of the user level and the reward amount.
- the two reward information When the two reward information is obtained, if the users of the two reward information belong to the same user level, the judgment may be continued.
- the reward amount of the two reward information the display with high reward amount has high priority, and the display with low reward amount has low priority. If the user level of the two reward information belongs to different users and the reward amount is different, the weights of the user level and the reward amount may be set according to actual needs, and the final display priority is determined according to the respective weights.
- the at least one to be determined may be determined based on the usage of the cache queue and/or the display priority of the at least one information to be displayed. Show how information is displayed. In other words, at least one display manner of the information to be displayed may be determined based on the usage of the cache queue and/or the attributes related to the display priority in the at least one information to be displayed.
- determining, according to the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed, determining how the at least one information to be displayed is displayed Can include:
- the at least one information to be displayed is added to the cache queue, and the at least one information to be displayed is read from the cache queue for display.
- the at least one piece of information to be displayed may be determined whether there is a remaining cache space in the cache queue.
- the method for determining whether the cache queue has a remaining cache space may be determining whether the number of information cached in the cache queue is less than a set value.
- the set value may be the maximum number of pieces of information that can be stored in the cache queue, which may be determined according to the rendering pressure that the live client can actually carry, or set by the user.
- the buffer queue has a remaining cache space, and if the number of information cached in the cache queue is not less than the set value, It can be determined that there is no remaining cache space in the cache queue.
- the at least one information to be displayed may be added to the cache queue, so that the at least one information to be displayed is read from the cache queue for display.
- adding the at least one information to be displayed to the cache queue may include:
- selecting a portion of the at least one information to be displayed is added to the cache queue until the cache queue does not have a remaining cache space.
- the space occupied by the live broadcast client to be displayed may be larger than the remaining cache space of the cache queue, or may be less than or equal to the remaining cache space of the cache queue. If it is larger than the remaining cache space of the cache queue, the information to be displayed will not be fully added to the cache queue. Therefore, when it is determined that the remaining cache space exists in the cache queue, it is further determined whether the space occupied by the acquired information to be displayed is not greater than the remaining cache space of the cache queue, that is, whether the cache queue can accommodate all the information to be displayed.
- the obtained information to be displayed may be added to the cache queue; otherwise, the part of the information to be displayed that is selected may be added to the cache queue. Until the cache queue does not have remaining cache space.
- the cache queue can store up to 200 reward information, and the currently stored reward message is 0.
- the live broadcast client obtains 50 rewards from the information fed back by the server during the time period of 15:00. Messages, you can add these 50 reward messages to the cache queue; if the live client gets 250 reward messages from the information fed back by the server during the time period of 15:00, you can use these 250 The part of the reward message (up to 200) is added to the cache queue.
- selecting a part of the at least one information to be displayed to be added to the cache queue may include:
- Selecting, according to the display priority of the at least one item to be displayed, the part of the at least one information to be displayed is added to the display priority according to the display priority corresponding to the attribute related to the display priority in the at least one information to be displayed. Cache queue.
- the remaining cache space in the cache queue is 40 pieces of information and the number of information to be displayed is 100, then 40 items to be displayed may be added according to the order of priority of the display information of the 100 pieces of information to be displayed. To the cache queue.
- the cache queue can store up to 200 reward information, and the currently stored reward message is 160.
- the live broadcast client obtains 100 reward messages from the information fed back by the server during the time period of 15:00.
- the timeline corresponding to the reward message (that is, the time the user performs the reward) is distributed in the interval of 14:59:50-14:59:59. If the live client is not displayed for more than 5 seconds from the current time, the rest will be displayed in the order of the timeline. According to the timeline of the 100 reward information, the timeline will be between 14:59:50-14:59:55. Abandon the rest, and the rest are added to the cache queue according to the timeline of the timeline until enough 200 reward messages are added, or all displayable reward information enters the cache queue.
- the information cached in the cache queue is dynamically changed, that is, in the process of adding a part of the at least one information to be displayed to the cache queue, other information in the cache queue may be Being read and displayed in the live broadcast interface, after the other information is read and displayed, a part of the cache space can be freed in the cache queue, and at this time, the part of the at least one information to be displayed can be continuously added to The cache queue until the cache queue does not have remaining cache space.
- a part of the information to be displayed may be added to the cache queue according to the order of the display priority of the information to be displayed.
- the display priority of the information to be displayed based on the timeline of the information to be displayed as an example, in the above 100 pieces of information to be displayed, in the process of adding 40 pieces of information to be displayed to the cache queue, if the cache queue is in the queue If 10 pieces of information are read and displayed, the remaining 10 items to be displayed in the remaining 60 items to be displayed may be added to the cache queue.
- to-be-displayed information may be ignored and not displayed to reduce the rendering pressure of the live client.
- the 30 pieces of information to be displayed can be eliminated, that is, the 30 items are not displayed. Information to be displayed.
- the added to-be-displayed information may be read from the cache queue for display.
- the information to be displayed is added to the cache queue to be displayed based on the cache queue, which can reduce the rendering pressure when the live client receives a large amount of information to be displayed. , effectively avoiding the phenomenon that the live application in the prior art is stuck or collapsed due to excessive rendering pressure.
- the at least one to-be-displayed information is read from the cache queue for display, and the to-be-displayed information is read from the cache queue for display according to a first-in-first-out principle.
- Each of the cache queues can read out a piece of information to be displayed, and the cache queue can free up a buffer space for information.
- Displaying at least one piece of the information to be displayed may include:
- the idle display track is awaited, and when the idle display track appears, the first to-be-displayed information is displayed on the idle display track.
- the display track can be used to display information to be displayed, wherein one display track can be used to display a piece of information to be displayed, and the number of display tracks included in the live broadcast interface can be determined according to actual conditions, preferably, the live broadcast interface includes The number of display tracks can be two. Of course, it is not excluded that there is only one display track, or there are three or more display tracks.
- the method further includes:
- the second to-be-displayed information is taken out from the cache queue according to the first in first out principle
- the second information to be displayed is ignored.
- the second to-be-displayed information and the current time may be further determined. Whether the difference is less than a predetermined period of time. If yes, the second to-be-displayed information may be displayed on the idle display track; otherwise, the second to-be-displayed information may be ignored to ensure the timeliness of the information displayed on the display interface.
- the predetermined time period may be determined according to actual timeliness requirements, and is not specifically limited herein.
- the method further includes:
- the display is performed according to the display time.
- the embodiment of the present application may determine the display time of the information to be displayed according to the attribute related to the display time in the information to be displayed, wherein the attribute related to the display time may be At least one of the user type, the user level, and the bonus amount described above is included.
- the display time is the longest, the user type is the person concerned by the user, the display time is centered, and the user type is the other user, the display time is the shortest; the user level is the shorter High, the longer the display time; the more the user's reward, the longer the display time.
- the display time can also be comprehensively determined based on a plurality of user types, user levels, and reward amounts.
- the presentation time of the information to be displayed it may also be determined according to the presentation priority of the information to be displayed. The higher the display priority of the information to be displayed is, the longer the display time is.
- the specific time can be determined according to actual conditions, and no specific limitation is made here.
- the display priority of the reward information may be the highest priority, and the presentation time of the reward information may be set to 3 seconds, so as to facilitate the Users can view their reward information for a long time.
- the display priority of the reward information may be a higher priority, and the information to be displayed is displayed.
- the display time can be set to 2 seconds, so that the user can view the reward information with a larger amount of rewards for a longer period of time.
- the information to be displayed may be directly ignored and not displayed. In this way, since the obtained cached information is ignored and not displayed in the cache queue, the rendering pressure of the live application can be reduced, and the live application can be prevented from being stuck or collapsed due to large rendering pressure. phenomenon.
- determining, according to the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed, determining the display of the at least one information to be displayed Ways can include:
- the first to-be-displayed information is in the idle The display on the display track, wherein the first to-be-displayed information is any one of the at least one information to be displayed.
- the display priority of each piece of information to be displayed may be determined according to an attribute related to the display priority in each piece of information to be displayed, thereby determining that the display priority is not less than a preset.
- the first information to be displayed of the priority may be one or more.
- the preset priority is determined according to the display priority.
- the display priority is divided into a maximum, a high, a medium, a low, and a lowest five, and the preset priority may be The highest priority of the display may be the priority of the display.
- the specificity may be determined according to actual conditions, and is not specifically limited herein.
- the method of determining the priority refer to the foregoing method for determining the priority of the display, and no further description is provided.
- the first to-be-displayed information may be directly displayed on the display interface.
- the first to-be-displayed information may be directly displayed on the idle display track.
- the display time of the first to-be-displayed information may be determined according to an attribute related to the display time in the first to-be-displayed information, specifically Referring to the corresponding content described in the above embodiments, the description is not repeated here.
- the display manner of the one or more pieces of information to be displayed may be determined according to the usage of the cache queue, The contents described above can be referred to, and the description will not be repeated here.
- the one or more pieces of information to be displayed may be omitted to reduce the rendering pressure of the live client, which is not specifically limited in this embodiment.
- determining, according to the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed, determining the display of the at least one information to be displayed Ways including:
- the display priority corresponding to the attribute related to the display priority in the first to-be-displayed information is not less than the preset priority, and there is no idle display track in the current display interface, waiting for the idle display track, and appearing idle When the track is displayed, the first to-be-displayed information is displayed on the idle display track, wherein the first to-be-displayed information is any one of the at least one to-be-displayed information to be displayed.
- the current display interface has no idle display track.
- the idle display track can be waited for, and when the idle display track appears, the first to-be-displayed information is displayed on the idle display track.
- FIG. 2 is a schematic diagram of an information display method according to an embodiment of the present application.
- A is a display area of a live video
- B is an area displaying a reward information in the display interface, and the number of display tracks in the area is 2.
- the live broadcast client can determine that the display priority of the reward information a is the highest display priority. At this time, the reward information a can be displayed on the idle display track of the display interface. Show it.
- a is the user's own reward information
- b is the reward information of other users. Since the reward information a is the user's own reward information, the presentation time for displaying the reward information a on the display interface may be 3 seconds.
- the reward information a when the reward information a is displayed on the display interface, the reward information a may also be displayed in an animation.
- the technical solution provided by the embodiment of the present application obtains at least one piece of information to be displayed; determines the at least the attribute related to the display priority based on the usage of the cache queue of the information to be displayed, and/or the attribute of the at least one piece of information to be displayed.
- a way to display information to be displayed The cache queue and the display priority of the information to be displayed are set in the live application, so that when at least one information to be displayed is obtained, the usage of the cache queue and/or the attribute related to the display priority in the information to be displayed may be determined.
- At least one way to display the information to be displayed Since the embodiment of the present application changes the display manner of the information to be displayed, the display performance of the terminal device can be taken into consideration, thereby improving the display effect of the information to be displayed and improving the user experience.
- FIG. 3 is a schematic flowchart diagram of an information display method according to an embodiment of the present application.
- the information display method described in the embodiment of the present application can be implemented by the information display method of the embodiment described in FIG.
- the information display method provided by the embodiment of the present application can be applied to a live broadcast client.
- the reward information is used as an example to be displayed.
- the information to be displayed of the present application includes, but is not limited to, reward information.
- Step 301 Acquire the reward information to be displayed.
- the live broadcast client may receive the reward information to be displayed pushed by the server, or may actively obtain the reward information to be displayed from the server.
- Step 302 Determine whether the reward information is the user's own reward information.
- the user type may be distinguished according to the relationship between the user to whom the reward information belongs (ie, the user who performs the reward) and the current user. Among them, the user type can be used as an attribute to determine the priority of the display.
- user types can be divided into users and other users.
- the classification method it can be determined whether the reward information is the user's own reward information, that is, whether the reward information is the user who currently uses the live broadcast client to watch the live video. If yes, it can be stated that the display priority of the reward information is high, and step 303 can be performed; if not, the display priority of the reward information can be low, and step 306 can be performed.
- the user type when the user type is distinguished according to the relationship between the user to whom the reward information belongs (ie, the user who is performing the reward) and the current user, there may be other classification methods. For example, it can be divided into three categories: the user himself, the user concerned, and other users; for example, it can be divided into four categories: the user himself, the user who is mainly concerned by the user, the person who is generally concerned by the user, and other users. and many more. Of course, it is also possible to classify the user himself into one of the categories.
- the user type may be used as a selection criterion for the display priority to determine the priority order of the reward information display.
- Step 303 Determine whether there is an idle display track in the display interface.
- the number of the display track may be determined based on the display performance (including memory, rendering capability, CPU, etc.) of the device where the live client is located, or may be configured by the user, or a fixed value. There is no limit to this. For example, it may be 1 display track, 2 display tracks, or more display tracks, and the like.
- the live broadcast client can determine whether there is an idle display track in the current display interface.
- step 304 may be performed; otherwise, step 305 may be performed.
- Step 304 Display the reward information on the idle display track.
- the presentation time may also be determined based on the attributes associated with the presentation priority.
- the attribute related to the presentation time in the reward information may include at least one of a user type of the reward information, a user level, and a reward amount.
- the reward information of the person currently concerned by the user displaying 2s, the current user's reward information, displaying 3s, other users' reward information, displaying 1s, and the like.
- the user's own reward time can be set to be slightly longer.
- the display time can also be set according to the amount of the user's reward. For example, reward 5-10 yuan, display time is 1 second; reward 10-100 yuan, display time is 2 seconds, and so on.
- the correspondence between the reward amount and the presentation time can also be set by the user.
- the display time may be comprehensively determined based on a plurality of types of users of the reward information, the user level, and the reward amount.
- Step 305 Waiting for a predetermined time.
- step 303 may be performed to make a determination of the next round of idle display tracks.
- Step 306 Determine whether the cache queue has remaining cache space.
- step 302 if it is determined that the reward information is non-personal reward information, it may be determined whether the cache queue has remaining buffer space.
- step 307 is performed; if the cache queue does not have the remaining cache space, step 310 is performed.
- Step 307 Add the reward information to the cache queue.
- the reward information with the highest priority is added to the cache queue according to the display priority of the reward information, and the priority is low and then added to the cache queue.
- the display priority may be determined based on the attributes related to the presentation priority, thereby determining the order of entering the cache queue.
- the attribute related to the display priority may be the display priority itself, for example, the display priority of the reward information.
- the attribute related to the display priority may include at least one of a timeline of the reward information, a receiving time, a user type, a user level, and a reward amount, and the live broadcast client may be based on the display priority Related attributes that determine the display priority.
- the cache queue can also hold 20 reward information, and the live client obtains 30 reward information from the server.
- the live client can be arranged from the largest to the smallest based on the reward amount in the reward information; the same amount of the reward can be arranged in the order of the timeline of the reward information.
- the live broadcast client may also set the reward information that is longer than the predetermined time (eg, 5 s) from the current time to the lowest priority or directly filter out, and the like. For the rest of the cache queue, the live client can discard it directly.
- Step 308 The reward information is taken out from the cache queue.
- the live broadcast client can retrieve the reward information from the cache queue for display.
- Step 309 Determine whether the difference between the timeline of the reward information extracted from the cache queue and the current time is less than a predetermined time period.
- the live broadcast customer can determine whether to reward based on the timeliness of the reward information when preparing to display the reward information.
- step 304 is performed; otherwise, step 310 is performed.
- step 309 is an optional step.
- the live client may also perform step 304 directly without performing step 309.
- Step 310 Ignore the reward information.
- the reward information is not displayed to reduce the rendering pressure of the live client.
- a cache queue is set on the live broadcast client.
- the reward information and the use of the cache queue may be determined by the user.
- the remaining storage space in the cache queue to make up the reward information, the way to eliminate the reward information without the remaining storage space, can reduce the rendering pressure of the live client, avoid the live client stuck or crash, and at the same time, because the user himself
- the reward information is prioritized and can also enhance the user experience.
- the electronic device includes a processor, optionally including an internal bus, a network interface, and a memory.
- the memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory.
- RAM high-speed random access memory
- non-volatile memory such as at least one disk memory.
- the electronic device may also include hardware required for other services.
- the processor, the network interface, and the memory may be interconnected by an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended) Industry Standard Architecture, extending the industry standard structure) bus.
- the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one double-headed arrow is shown in Figure 4, but it does not mean that there is only one bus or one type of bus.
- the program can include program code, the program code including computer operating instructions.
- the memory can include both memory and non-volatile memory and provides instructions and data to the processor.
- the processor reads the corresponding computer program from the non-volatile memory into memory and then runs to form an information display device at a logical level.
- the processor executes the program stored in the memory and is specifically used to perform the following operations:
- the method performed by the information display apparatus disclosed in the embodiment shown in FIG. 4 of the present application may be applied to a processor or implemented by a processor.
- the processor may be an integrated circuit chip with signal processing capabilities.
- each step of the above method may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software.
- the above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; or may be a digital signal processor (DSP), dedicated integration.
- ASIC Application Specific Integrated Circuit
- FPGA Field-Programmable Gate Array
- other programmable logic device discrete gate or transistor logic device, discrete hardware component.
- the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
- the steps of the method disclosed in the embodiments of the present application may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
- the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
- the storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method.
- the electronic device can also perform the method of FIG. 1 and implement the functions of the information display device in the embodiments shown in FIG. 1 , FIG. 2 and FIG. 3 , and details are not described herein again.
- the electronic device of the present application does not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution body of the following processing flow is not limited to each logical unit. It can also be hardware or logic.
- the embodiment of the present application further provides a computer readable storage medium storing one or more programs, the one or more programs including instructions, when the portable electronic device is included in a plurality of applications When executed, the portable electronic device can be configured to perform the method of the embodiment shown in FIG. 1 and specifically for performing the following operations:
- FIG. 5 is a schematic structural diagram of an information display apparatus 50 according to an embodiment of the present application.
- the information display device 50 may include: an obtaining unit 51 and a display unit 52, where:
- the obtaining unit 51 acquires at least one piece of information to be displayed
- the displaying unit 52 determines the display manner of the at least one information to be displayed based on the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed.
- the displaying unit 52 determines the manner in which the at least one information to be displayed is displayed based on the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed. ,include:
- the at least one information to be displayed is added to the cache queue, and the at least one information to be displayed is read from the cache queue for display.
- the displaying unit 52 adds the at least one information to be displayed to the cache queue, including:
- selecting a portion of the at least one information to be displayed is added to the cache queue until the cache queue does not have a remaining cache space.
- the displaying unit 52 selects a part of the at least one information to be displayed to be added to the cache queue, including:
- Selecting, according to the display priority of the at least one item to be displayed, the part of the at least one information to be displayed is added to the display priority according to the display priority corresponding to the attribute related to the display priority in the at least one information to be displayed. Cache queue.
- the displaying unit 52 determines the manner in which the at least one information to be displayed is displayed based on the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed. ,include:
- the at least one information to be displayed is ignored.
- the displaying unit 52 determines the manner in which the at least one information to be displayed is displayed based on the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed. ,include:
- the first to-be-displayed information is in the idle The display on the display track, wherein the first to-be-displayed information is any one of the at least one information to be displayed.
- the displaying unit 52 determines the manner in which the at least one information to be displayed is displayed based on the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed. ,include:
- the display priority corresponding to the attribute related to the display priority in the first to-be-displayed information is not less than the preset priority, and there is no idle display track in the current display interface, waiting for the idle display track, and appearing idle When the track is displayed, the first to-be-displayed information is displayed on the idle display track, wherein the first to-be-displayed information is any one of the at least one to-be-displayed information to be displayed.
- the displaying unit 52 determines, according to the attribute related to the display time in the information to be displayed, the display time of the information to be displayed;
- the display is performed according to the display time.
- the displaying unit 52 when there is an idle display track in the display interface, takes out the second to-be-displayed information from the cache queue according to the first in first out principle;
- the second information to be displayed is ignored.
- the attribute related to the display priority in the information to be displayed includes at least one of a time line of the information to be displayed, a receiving time, a user type, a user level, and a reward amount.
- the information display device 50 can also perform the method of FIG. 1 or FIG. 3 and implement the functions of the information display device in the embodiment shown in FIG. 1 and FIG. 3, and details are not described herein again.
- the embodiment of the present application further provides an information display system, where the information display system may include a live broadcast client and a server corresponding to the live broadcast client, and the live broadcast client may include the information display device shown in FIG. 5, and The method steps described in the embodiment shown in FIG. 1 or FIG. 3 may be implemented.
- the server may provide services for the live broadcast client, and may implement the functions of the server described in the embodiment shown in FIG. 1 or FIG. 3.
- the system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
- a typical implementation device is a computer.
- the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
- Computer readable media includes both permanent and non-persistent, removable and non-removable media.
- Information storage can be implemented by any method or technology.
- the information can be computer readable instructions, data structures, modules of programs, or other data.
- Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
- computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
An information display method and apparatus, the method comprising: acquiring at least one piece of information to be displayed (S102); on the basis of the usage conditions of a cache queue for information to be displayed and/or attributes related to display priority in the at least one piece of information to be displayed, determining a display mode for the at least one piece of information to be displayed (S104).
Description
本申请涉及计算机技术领域,尤其涉及一种信息展示方法和装置。The present application relates to the field of computer technology, and in particular, to an information display method and apparatus.
随着互联网技术的飞速发展,出现了越来越多的网络视频直播应用(以下简称直播应用),这些直播应用可以允许用户观看视频直播,在用户观看视频直播的过程中,还可以在直播界面展示各种信息,例如,用户的聊天信息,当前进入直播间的用户的信息,用户的打赏信息等。With the rapid development of Internet technology, more and more network video live broadcast applications (hereinafter referred to as live broadcast applications) have emerged. These live broadcast applications can allow users to watch live video broadcasts. In the process of watching live video broadcasts, users can also live on the live broadcast interface. Display various information, such as the user's chat information, the information of the user currently entering the live room, the user's reward information, and the like.
随着观看视频直播的用户越来越多,直播应用需要展示的信息也越来越多,当直播应用展示的信息比较多时,直播应用通常会按照时间的先后顺序,依次将多个信息进行展示。但是,现有的展示方式没有考虑到终端设备的展示性能。As more and more users watch live video, the live application needs to display more and more information. When the live application displays more information, the live application usually displays multiple information in turn according to the order of time. . However, the existing display method does not take into account the display performance of the terminal device.
发明内容Summary of the invention
本申请实施例提供一种信息展示方法和装置,用于解决现有技术中直播应用在按照时间的先后顺序将多条信息进行展示时,没有考虑终端设备的展示性能的问题。The embodiment of the present invention provides a method and device for displaying information, which is used to solve the problem that the live application in the prior art does not consider the display performance of the terminal device when displaying multiple pieces of information in time sequence.
为解决上述技术问题,本申请实施例是这样实现的:To solve the above technical problem, the embodiment of the present application is implemented as follows:
第一方面,提出一种信息展示方法,该方法包括:In a first aspect, an information display method is proposed, the method comprising:
获取至少一条待展示信息;Obtain at least one piece of information to be displayed;
基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级中相关的属性,确定所述至少一条待展示信息的展示方式。Determining the display manner of the at least one information to be displayed based on the usage of the cache queue to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed.
第二方面,提出一种信息展示装置,该装置包括:In a second aspect, an information display device is provided, the device comprising:
获取单元,获取至少一条待展示信息;Obtaining a unit to obtain at least one piece of information to be displayed;
展示单元,基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式。The display unit determines the display manner of the at least one information to be displayed based on the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed.
第三方面,提出一种电子设备,该电子设备包括:In a third aspect, an electronic device is provided, the electronic device comprising:
处理器;以及Processor;
被安排成存储计算机可执行指令的存储器,该可执行指令在被执行时使该处理器执行以下操作:A memory arranged to store computer executable instructions that, when executed, cause the processor to perform the following operations:
获取至少一条待展示信息;Obtain at least one piece of information to be displayed;
基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式。Determining the display manner of the at least one information to be displayed based on the usage of the cache queue to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed.
第四方面,提出一种计算机可读存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下方法:In a fourth aspect, a computer readable storage medium is provided, the computer readable storage medium storing one or more programs, the one or more programs, when executed by an electronic device comprising a plurality of applications, causing the The electronic device performs the following methods:
获取至少一条待展示信息;Obtain at least one piece of information to be displayed;
基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式。Determining the display manner of the at least one information to be displayed based on the usage of the cache queue to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed.
本申请实施例提供的技术方案,获取至少一条待展示信息;基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式。通过在直播应用中设置待展示信息的缓存队列以及展示优先级,使得在获取到至少一条待展示信息时,可以基于缓存队列的使用情况和/或待展示信息中与展示优先级相关的属性确定至少一条待展示信息的展示方式。由于本申请实施例改变了待展示信息的展示方式,因此,可以兼顾终端设备的展示性能,从而改善待展示信息的展示效果,提升用户体验。The technical solution provided by the embodiment of the present application obtains at least one piece of information to be displayed; determines the at least the attribute related to the display priority based on the usage of the cache queue of the information to be displayed, and/or the attribute of the at least one piece of information to be displayed. A way to display information to be displayed. The cache queue and the display priority of the information to be displayed are set in the live application, so that when at least one information to be displayed is obtained, the usage of the cache queue and/or the attribute related to the display priority in the information to be displayed may be determined. At least one way to display the information to be displayed. Since the embodiment of the present application changes the display manner of the information to be displayed, the display performance of the terminal device can be taken into consideration, thereby improving the display effect of the information to be displayed and improving the user experience.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a few embodiments described in the present application, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1是本申请的一个实施例信息展示方法的流程示意图;1 is a schematic flow chart of an information display method according to an embodiment of the present application;
图2是本申请的一个实施例信息展示方法的示意图;2 is a schematic diagram of an information display method according to an embodiment of the present application;
图3是本申请的一个实施例信息展示方法的流程示意图;3 is a schematic flow chart of an information display method according to an embodiment of the present application;
图4是本申请的一个实施例电子设备的结构示意图;4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
图5是本申请的一个实施例信息展示装置的结构示意图。FIG. 5 is a schematic structural diagram of an information display apparatus according to an embodiment of the present application.
随着互联网技术的飞速发展,出现了越来越多的网络视频直播应用,这些直播应用通常可以在直播界面展示用户的聊天信息、打赏信息等,以增加用户与用户、用户与主播之间的互动性。随着观看视频直播的用户越来越多,直播应用需要展示的信息也越来越多,直播应用在展示多个信息时,通常可以按照时间的先后顺序依次展示多个信息。然而在实际应用中,这种信息展示方式并没有考虑终端设备的展示性能,从而影响用户体验。With the rapid development of Internet technology, more and more online video live broadcast applications have appeared. These live broadcast applications can usually display the user's chat information, reward information, etc. in the live broadcast interface to increase the user and the user, between the user and the anchor. Interactivity. As more and more users watch live video, there are more and more information that live applications need to display. When a live application displays multiple messages, it can usually display multiple messages in chronological order. However, in practical applications, this information display method does not consider the display performance of the terminal device, thereby affecting the user experience.
例如,用户在使用直播应用观看视频直播时,往往希望自己或自己关注的其他用户的聊天信息或打赏信息在直播界面中可以展示更长的时间,这样,用户不会错过这些信息。然而,现有的直播应用的信息展示方式并不能满足用户的上述需求。For example, when a user uses a live application to watch a live video, it is often desirable that the chat information or the reward information of other users or the other users who are concerned with them can be displayed in the live interface for a longer period of time, so that the user does not miss the information. However, the information display method of the existing live application cannot meet the above requirements of the user.
再例如,直播应用在展示信息时,通常需要对展示的信息进行渲染,这样,当直播应用按照上述信息展示方式展示多条信息时,直播应用承载的渲染压力会比较大,在这种情况下,直播应用将会出现卡顿、甚至崩溃的现象,严重影响用户观看视频直播的用户体验。For example, when the live application displays information, it usually needs to render the displayed information, so that when the live application displays multiple pieces of information according to the above information display manner, the rendering pressure of the live application is relatively large, in this case, The live application will be stuck or even crashed, seriously affecting the user experience of watching live video.
为了解决上述问题,本申请实施例提供一种信息展示方法和装置,该方法包括:获取至少一条待展示信息;基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式。本申请实施例提供的技术方案,通过在直播应用中设置待展示信息的缓存队列以及展示优先级,使得在获取到至少一条待展示信息时,可以基于缓存队列的使用情况和/或待展示信息中与展示优先级相关的属性确定至少一条待展示信息的展示方式。由于本申请实施例改变了待展示信息的展示方式,因此,可以兼顾终端设备的展示性能,从而改善待展示信息的展示效果,提升用户体验。In order to solve the above problem, the embodiment of the present application provides an information display method and apparatus, the method comprising: acquiring at least one information to be displayed; using a cache queue based on information to be displayed, and/or the at least one information to be displayed The attribute related to the display priority is determined, and the manner in which the at least one information to be displayed is displayed is determined. The technical solution provided by the embodiment of the present application can set the cache queue of the information to be displayed and the display priority in the live application, so that when at least one information to be displayed is obtained, the usage of the cache queue and/or the information to be displayed may be based on the cache queue. The attribute related to the display priority determines how at least one piece of information to be displayed is displayed. Since the embodiment of the present application changes the display manner of the information to be displayed, the display performance of the terminal device can be taken into consideration, thereby improving the display effect of the information to be displayed and improving the user experience.
与现有技术相比,本申请实施例提供的技术方案,由于可以基于待展示信息的优先 级确定待展示信息的展示方式,因此,可以满足用户对想要观看的聊天信息、打赏信息等展示时间的需求;由于可以基于待展示信息的缓存队列的使用情况,确定待展示信息的展示方式,因此,可以减缓直播应用读取待展示信息的压力,进而减少对待展示信息进行渲染时的渲染压力,有效避免直播应用由于渲染压力过大导致的卡顿或崩溃现象。Compared with the prior art, the technical solution provided by the embodiment of the present application can determine the display manner of the information to be displayed based on the priority of the information to be displayed, so that the user can satisfy the chat information, the reward information, and the like that the user wants to watch. Demonstrate the demand for time; because the usage of the cache queue to be displayed can be determined based on the usage of the cache queue to be displayed, the pressure of the live application to read the information to be displayed can be reduced, thereby reducing the rendering of the presentation information. Pressure, effectively avoiding the phenomenon of jamming or crashing caused by excessive rendering pressure in live broadcast applications.
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following, in which the technical solutions in the embodiments of the present application are clearly and completely described. The embodiments are only a part of the embodiments of the present application, and not all of them. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope shall fall within the scope of the application.
需要说明的是,本申请实施例提供的技术方案可以用于直播应用的信息展示,所述直播应用可以是由HTML5开发的直播应用,也可以是由Android或iOS的原生***开发的直播应用,还可以是其他技术或***开发的直播应用,这里不做具体限定。It should be noted that the technical solution provided by the embodiment of the present application may be used for information display of a live application, and the live application may be a live application developed by HTML5 or a live application developed by a native system of Android or iOS. It can also be a live application developed by other technologies or systems, and is not specifically limited herein.
本申请实施例提供的技术方案可以有效改善直播应用展示信息的展示效果,具体应用场景可以是用户在PC端观看视频直播时,有效改善PC端的直播应用的信息展示效果,也可以是用户在移动终端观看视频直播时,有效改善移动终端的直播应用的信息展示效果。其中,所述移动终端可以是智能手机,也可以是iPad,这里也不做具体限定。本申请的以下实施例可以以改善移动终端的直播应用的信息展示效果为例进行说明。The technical solution provided by the embodiment of the present application can effectively improve the display effect of the live application display information. The specific application scenario may be that when the user watches the live video on the PC, the information display effect of the live application of the PC is effectively improved, or the user is moving. When the terminal watches the live video, the information display effect of the live application of the mobile terminal is effectively improved. The mobile terminal may be a smart phone or an iPad, and is not specifically limited herein. The following embodiments of the present application may be described by taking an example of improving the information display effect of a live application of a mobile terminal.
以下结合附图,详细说明本申请各实施例提供的技术方案。The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
图1是本申请的一个实施例信息展示方法的流程示意图。所述信息展示方法可以应用于移动终端中直播应用对应的客户端(以下简称直播客户端),所述信息展示方法如下所述。FIG. 1 is a schematic flow chart of an information display method according to an embodiment of the present application. The information display method can be applied to a client corresponding to a live application in a mobile terminal (hereinafter referred to as a live client), and the information display method is as follows.
S102:获取至少一条待展示信息。S102: Acquire at least one piece of information to be displayed.
在S102中,直播客户端在进行信息展示时,可以获取至少一条待展示信息,具体地,可以接收直播应用对应的服务器(以下简称服务器)推送的一条或多条待展示信息,也可以从服务器主动获取一条或多条待展示信息。In S102, the live broadcast client may obtain at least one information to be displayed when the information is displayed, and specifically, may receive one or more pieces of information to be displayed pushed by a server corresponding to the live application (hereinafter referred to as a server), or may be from the server. Proactively get one or more pieces of information to be displayed.
本申请实施例中,所述待展示信息可以是用户进出直播客户端时,该用户的进出信息,也可以是用户在观看视频直播的过程中,用户的聊天信息或打赏信息等,这里不做具体限定。In the embodiment of the present application, the information to be displayed may be the inbound and outbound information of the user when the user enters and exits the live broadcast client, or may be the chat information or the reward information of the user during the process of watching the live video broadcast, etc. Make specific limits.
直播客户端在获取到所述至少一条待展示信息后,可以执行S104。After the live broadcast client obtains the at least one information to be displayed, the live broadcast client may execute S104.
S104:基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式。S104: Determine, according to the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed, the manner of displaying the at least one information to be displayed.
在S104中,在直播客户端设置了可以用于缓存待展示信息的缓存队列,直播客户端在获取到所述至少一条待展示信息后,可以基于所述缓存队列和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式。In S104, a cache queue that can be used to cache information to be displayed is set in the live broadcast client, and after the at least one information to be displayed is obtained, the live broadcast client may be based on the cache queue and/or the at least one standby Demonstrate an attribute related to the display priority in the information, and determine how the at least one information to be displayed is displayed.
应理解,所述展示优先级可以是携带在待展示信息中的优先级标记,或者是基于待展示信息中的某个属性或某几个属性确定的展示顺序。其中,待展示信息中与展示优先级相关的属性,可以包括待展示信息的时间线(timeline)、待展示信息的接收时间、待展示信息所属的用户的用户类型、待展示信息所属的用户的用户级别、待展示信息的打赏金额中的至少一种。It should be understood that the display priority may be a priority mark carried in the information to be displayed, or a display order determined based on an attribute or a certain attribute in the information to be displayed. The attribute related to the display priority in the information to be displayed may include a timeline of the information to be displayed, a time of receiving the information to be displayed, a user type of the user to which the information to be displayed belongs, and a user to which the information to be displayed belongs. At least one of a user level and a reward amount of information to be displayed.
待展示信息的时间线(timeline),是指待展示消息对应的事件的发生时刻。The timeline of the information to be displayed refers to the moment when the event corresponding to the message to be displayed occurs.
待展示信息的用户类型可以根据待展示信息对应的用户与用户本人的关系确定,例如,可包括:用户本人和非用户本人两类;又例如,可包括:用户本人、用户关注的人、其它用户三类。当然,还可能有其它分类方式,本申请实施例在此不再一一赘述。The user type of the information to be displayed may be determined according to the relationship between the user and the user corresponding to the information to be displayed, for example, may include: the user and the non-user, and may include, for example, the user himself, the user concerned, and others. Three categories of users. Of course, there may be other ways of classifying, and the embodiments of the present application will not be repeated here.
本申请实施例在确定所述至少一条待展示信息的展示方式之前,所述方法可以包括:Before determining the manner in which the at least one information to be displayed is displayed, the method may include:
基于所述至少一条待展示信息的时间线、接收时间、用户类型、用户级别以及打赏金额中的至少一种,确定所述至少一条待展示信息的展示优先级。Determining a display priority of the at least one piece of information to be displayed based on at least one of a timeline, a receiving time, a user type, a user level, and a reward amount of the at least one piece of information to be displayed.
待展示信息的时间线(timeline),是指待展示消息对应的事件的发生时刻。The timeline of the information to be displayed refers to the moment when the event corresponding to the message to be displayed occurs.
可选地,可基于待展示信息的timeline确定待展示信息的展示优先级,例如,timeline在前的,展示优先级高;timeline在后的,展示优先级低,等等。当然,应理解,考虑到显示的及时性问题,如果待展示信息的时间线距离当前时刻大于预定时间,可能就没有展示的价值,展示优先级最低。Optionally, the display priority of the information to be displayed may be determined based on the timeline of the information to be displayed, for example, the timeline is first, the display priority is high, the timeline is followed, the display priority is low, and the like. Of course, it should be understood that, considering the timeliness of display, if the timeline of the information to be displayed is greater than the predetermined time from the current time, there may be no value of display, and the display priority is the lowest.
可选地,可基于待展示信息的接收时间确定待展示信息的展示优先级,例如,接收时间在前的,展示优先级高;接收时间在后的,展示优先级低,等等。Optionally, the presentation priority of the information to be displayed may be determined based on the receiving time of the information to be displayed, for example, the receiving time is first, the display priority is high, the receiving time is later, the display priority is low, and the like.
待展示信息的用户类型可以根据待展示信息对应的用户与用户本人的关系确定,例如,可包括:用户本人和非用户本人两类;又例如,可包括:用户本人、用户关注的人、其它用户三类。当然,还可能有其它分类方式,本申请实施例在此不再一一赘述。The user type of the information to be displayed may be determined according to the relationship between the user and the user corresponding to the information to be displayed, for example, may include: the user and the non-user, and may include, for example, the user himself, the user concerned, and others. Three categories of users. Of course, there may be other ways of classifying, and the embodiments of the present application will not be repeated here.
可选地,可基于待展示信息的用户类型确定待展示信息的展示优先级。例如,用户 本人的展示优先级最高、用户关注的人的展示优先级次之、其它用户的展示优先级最低,等等。Optionally, the presentation priority of the information to be displayed may be determined based on the type of user of the information to be displayed. For example, the user's own display has the highest priority, the user's attention is second, the other users' display priority is the lowest, and so on.
可选地,可基于待展示信息的用户等级确定待展示信息的展示优先级。例如,假设用户等级分为10级,按重要性从低到高以此为1-10。此时,10级用户的待展示信息的展示优先级,要高于1级用户的待展示信息的展示优先级。又例如,用户等级还可包括VIP用户和非VIP用户等等。Optionally, the presentation priority of the information to be displayed may be determined based on the user level of the information to be displayed. For example, suppose the user level is divided into 10 levels, which are 1-10 according to importance from low to high. At this time, the display priority of the information to be displayed of the level 10 user is higher than the display priority of the information to be displayed of the level 1 user. As another example, the user level may also include VIP users and non-VIP users, and the like.
可选地,还可基于待展示信息中的打赏金额确定待展示信息的展示优先级。例如,打赏10元的展示优先级高于打赏0.1元的。Optionally, the presentation priority of the information to be displayed may also be determined based on the reward amount in the information to be displayed. For example, a reward of 10 yuan is preferred over a reward of 0.1 yuan.
当然,应理解,前面只是列举了基于某种属性确定优先级的情况。在具体的应用中,可结合多种属性确定待展示信息的展示优先级。Of course, it should be understood that the foregoing only enumerates the case where priority is determined based on certain attributes. In a specific application, the display priority of the information to be displayed can be determined by combining various attributes.
例如,可以基于用户级别和打赏金额这两种属性确定待展示信息的展示优先级,当获取到两条打赏信息时,如果两条打赏信息所属用户的用户级别相同,则可以继续判断两条打赏信息的打赏金额,打赏金额高的展示优先级高,打赏金额低的展示优先级低。如果两条打赏信息所属用户的用户级别不同,打赏金额也不同,则可以根据实际需要设置用户级别和打赏金额各自所占的权重,根据各自的权重确定最终的展示优先级。For example, the display priority of the information to be displayed may be determined based on the two attributes of the user level and the reward amount. When the two reward information is obtained, if the users of the two reward information belong to the same user level, the judgment may be continued. The reward amount of the two reward information, the display with high reward amount has high priority, and the display with low reward amount has low priority. If the user level of the two reward information belongs to different users and the reward amount is different, the weights of the user level and the reward amount may be set according to actual needs, and the final display priority is determined according to the respective weights.
在通过上述记载的方法确定所述至少一条待展示信息的展示优先级后,可以基于所述缓存队列的使用情况和/或所述至少一条待展示信息的展示优先级,确定所述至少一条待展示信息的展示方式。换句话说,可基于所述缓存队列的使用情况和/或至少一条待展示信息中与展示优先级相关的属性,确定至少一条待展示信息的展示方式。After the display priority of the at least one information to be displayed is determined by the method described above, the at least one to be determined may be determined based on the usage of the cache queue and/or the display priority of the at least one information to be displayed. Show how information is displayed. In other words, at least one display manner of the information to be displayed may be determined based on the usage of the cache queue and/or the attributes related to the display priority in the at least one information to be displayed.
在本申请的一个实施例中,基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式,可以包括:In an embodiment of the present application, determining, according to the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed, determining how the at least one information to be displayed is displayed Can include:
当所述缓存队列存在剩余缓存空间时,将所述至少一条待展示信息添加至所述缓存队列,并从所述缓存队列中读取所述至少一条待展示信息进行展示。When the cache queue has the remaining cache space, the at least one information to be displayed is added to the cache queue, and the at least one information to be displayed is read from the cache queue for display.
例如,在获取到所述至少一条待展示信息后,可以判断所述缓存队列中是否存在剩余缓存空间。For example, after the at least one piece of information to be displayed is obtained, it may be determined whether there is a remaining cache space in the cache queue.
判断所述缓存队列是否存在剩余缓存空间的方法,可以是确定所述缓存队列中缓存的信息条数是否小于设定值。其中,所述设定值可以是缓存队列最多可以存储的信息条数,具体可以根据直播客户端实际可以承载的渲染压力确定,或者由用户自行设定。The method for determining whether the cache queue has a remaining cache space may be determining whether the number of information cached in the cache queue is less than a set value. The set value may be the maximum number of pieces of information that can be stored in the cache queue, which may be determined according to the rendering pressure that the live client can actually carry, or set by the user.
若所述缓存队列中缓存的信息条数小于所述设定值,则可以确定所述缓存队列存在剩余缓存空间,若所述缓存队列中缓存的信息条数不小于所述设定值,则可以确定所述缓存队列不存在剩余缓存空间。If the number of information cached in the cache queue is less than the set value, it may be determined that the buffer queue has a remaining cache space, and if the number of information cached in the cache queue is not less than the set value, It can be determined that there is no remaining cache space in the cache queue.
当所述缓存队列中存在剩余缓存空间时,可以将所述至少一条待展示信息添加至所述缓存队列中,以便于从所述缓存队列中读取所述至少一条待展示信息进行展示。When the remaining cache space exists in the cache queue, the at least one information to be displayed may be added to the cache queue, so that the at least one information to be displayed is read from the cache queue for display.
在本申请实施例中,将所述至少一条待展示信息添加至所述缓存队列,可以包括:In the embodiment of the present application, adding the at least one information to be displayed to the cache queue may include:
确定所述至少一条待展示信息占用的空间是否不大于所述缓存队列的剩余缓存空间;Determining whether a space occupied by the at least one information to be displayed is not greater than a remaining buffer space of the cache queue;
若是,则将所述至少一条待展示信息全部添加至所述缓存队列;If yes, the at least one information to be displayed is all added to the cache queue;
若否,则选择所述至少一条待展示信息中的部分添加至所述缓存队列,直至所述缓存队列不存在剩余缓存空间。If not, selecting a portion of the at least one information to be displayed is added to the cache queue until the cache queue does not have a remaining cache space.
在实际应用中,直播客户端一次获取的待展示信息占用的空间可能大于缓存队列的剩余缓存空间,也可能小于或等于所述缓存队列的剩余缓存空间。如果大于缓存队列的剩余缓存空间,那么,待展示信息将无法全部添加至缓存队列中。因此,在确定缓存队列中存在剩余缓存空间时,还可以进一步确定获取的待展示信息占用的空间是否不大于缓存队列的剩余缓存空间,即缓存队列是否可以容纳获取的全部待展示信息。In an actual application, the space occupied by the live broadcast client to be displayed may be larger than the remaining cache space of the cache queue, or may be less than or equal to the remaining cache space of the cache queue. If it is larger than the remaining cache space of the cache queue, the information to be displayed will not be fully added to the cache queue. Therefore, when it is determined that the remaining cache space exists in the cache queue, it is further determined whether the space occupied by the acquired information to be displayed is not greater than the remaining cache space of the cache queue, that is, whether the cache queue can accommodate all the information to be displayed.
若获取的待展示信息占用的空间不大于缓存队列的剩余缓存空间,则可以将获取的待展示信息全部添加至缓存队列中;否则,可以选择获取的待展示信息中的部分添加至缓存队列,直至缓存队列不存在剩余缓存空间为止。If the information to be displayed is not greater than the remaining cache space of the cache queue, the obtained information to be displayed may be added to the cache queue; otherwise, the part of the information to be displayed that is selected may be added to the cache queue. Until the cache queue does not have remaining cache space.
例如,缓存队列最多可以存储200条打赏信息,当前存储的打赏消息为0,此时,如果直播客户端在15:00这一时间段从服务端反馈的信息里获取了50条打赏消息,则可以将这50条打赏消息加入到缓存队列里;如果直播客户端在15:00这一时间段从服务端反馈的信息里获取了250条打赏消息,则可以将这250条打赏消息中的部分(最多200条)加入到缓存队列里。For example, the cache queue can store up to 200 reward information, and the currently stored reward message is 0. At this time, if the live broadcast client obtains 50 rewards from the information fed back by the server during the time period of 15:00. Messages, you can add these 50 reward messages to the cache queue; if the live client gets 250 reward messages from the information fed back by the server during the time period of 15:00, you can use these 250 The part of the reward message (up to 200) is added to the cache queue.
可选地,在本申请实施例中,选择所述至少一条待展示信息中的部分添加至所述缓存队列,可以包括:Optionally, in the embodiment of the present application, selecting a part of the at least one information to be displayed to be added to the cache queue may include:
根据所述至少一条待展示信息中与展示优先级相关的属性对应的展示优先级,按照所述展示优先级从高到低的顺序,选择所述至少一条待展示信息中的部分添加至所述缓 存队列。Selecting, according to the display priority of the at least one item to be displayed, the part of the at least one information to be displayed is added to the display priority according to the display priority corresponding to the attribute related to the display priority in the at least one information to be displayed. Cache queue.
例如,如果缓存队列中剩余缓存空间为40条信息,待展示信息为100条,那么,可以按照这100条待展示信息的展示优先级从高到低的顺序,选择其中40条待展示信息添加至所述缓存队列中。For example, if the remaining cache space in the cache queue is 40 pieces of information and the number of information to be displayed is 100, then 40 items to be displayed may be added according to the order of priority of the display information of the 100 pieces of information to be displayed. To the cache queue.
以基于待展示信息的timeline确定待展示信息的展示优先级为例。假设缓存队列最多可以存储200条打赏信息,当前存储的打赏消息为160。同时,假设直播客户端在15:00这一时间段从服务端反馈的信息里获取了100条打赏消息。其中,打赏消息对应的timeline(即用户进行打赏的时间)分布在14:59:50-14:59:59的区间。如果直播客户端设定距离当前时间超过5s的不显示,其余按照timeline的先后顺序展示,则按照这100条打赏信息的timeline,将timeline在14:59:50-14:59:55之间的抛弃,其余按照timeline的时间顺序加入到缓存队列里,直到补充足够200条打赏消息,或所有可显示的打赏信息都进入缓存队列为止。Taking the display priority of the information to be displayed based on the timeline based on the information to be displayed as an example. Assume that the cache queue can store up to 200 reward information, and the currently stored reward message is 160. At the same time, it is assumed that the live broadcast client obtains 100 reward messages from the information fed back by the server during the time period of 15:00. The timeline corresponding to the reward message (that is, the time the user performs the reward) is distributed in the interval of 14:59:50-14:59:59. If the live client is not displayed for more than 5 seconds from the current time, the rest will be displayed in the order of the timeline. According to the timeline of the 100 reward information, the timeline will be between 14:59:50-14:59:55. Abandon the rest, and the rest are added to the cache queue according to the timeline of the timeline until enough 200 reward messages are added, or all displayable reward information enters the cache queue.
需要说明的是,所述缓存队列中缓存的信息是动态变化的,即在将所述至少一条待展示信息中的部分添加至所述缓存队列的过程中,所述缓存队列中的其他信息会被读取并展示在直播界面中,当其他信息被读取并展示后,所述缓存队列中可以腾出一部分缓存空间,此时,可以继续将所述至少一条待展示信息中的部分添加至所述缓存队列,直至所述缓存队列不存在剩余缓存空间。It should be noted that the information cached in the cache queue is dynamically changed, that is, in the process of adding a part of the at least one information to be displayed to the cache queue, other information in the cache queue may be Being read and displayed in the live broadcast interface, after the other information is read and displayed, a part of the cache space can be freed in the cache queue, and at this time, the part of the at least one information to be displayed can be continuously added to The cache queue until the cache queue does not have remaining cache space.
在继续将所述至少一条待展示信息中的部分添加至所述缓存队列时,也可以按照待展示信息的展示优先级从高到低的顺序,选择部分的待展示信息添加至所述缓存队列。When the part of the at least one information to be displayed is added to the cache queue, a part of the information to be displayed may be added to the cache queue according to the order of the display priority of the information to be displayed. .
以基于待展示信息的timeline确定待展示信息的展示优先级为例,在上述100条待展示信息中,在将40条待展示信息添加至所述缓存队列的过程中,如果所述缓存队列中有10条信息被读取并展示,则可以选择剩余的60条待展示信息中timeline在前的10条待展示信息添加至所述缓存队列中。Taking the display priority of the information to be displayed based on the timeline of the information to be displayed as an example, in the above 100 pieces of information to be displayed, in the process of adding 40 pieces of information to be displayed to the cache queue, if the cache queue is in the queue If 10 pieces of information are read and displayed, the remaining 10 items to be displayed in the remaining 60 items to be displayed may be added to the cache queue.
还需要说明的是,针对无法添加至所述缓存队列中的一条或多条所述待展示信息,可以将其忽略不展示,以减少直播客户端的渲染压力。It should also be noted that for one or more of the to-be-displayed information that cannot be added to the cache queue, it may be ignored and not displayed to reduce the rendering pressure of the live client.
仍以上述100条待展示信息为例,如果最终剩余timeline在后的30条待展示信息无法添加至所述缓存队列中,则可以将该30条待展示信息消除,即忽略不展示这30条待展示信息。For example, if the information to be displayed in the last 30 remaining items cannot be added to the cache queue, the 30 pieces of information to be displayed can be eliminated, that is, the 30 items are not displayed. Information to be displayed.
在将所述至少一条待展示信息的全部或部分添加至所述缓存队列中后,可以从所述 缓存队列中读取添加的所述待展示信息进行展示。After all or part of the at least one information to be displayed is added to the cache queue, the added to-be-displayed information may be read from the cache queue for display.
在本申请实施例中,在缓存队列的存储空间可用的情况下,将待展示信息添加至缓存队列,以基于缓存队列进行展示,可以减缓直播客户端接收到大批量待展示信息时的渲染压力,有效避免现有技术中直播应用由于渲染压力过大导致的卡顿或崩溃现象。In the embodiment of the present application, when the storage space of the cache queue is available, the information to be displayed is added to the cache queue to be displayed based on the cache queue, which can reduce the rendering pressure when the live client receives a large amount of information to be displayed. , effectively avoiding the phenomenon that the live application in the prior art is stuck or collapsed due to excessive rendering pressure.
可选地,从所述缓存队列中读取所述至少一条待展示信息进行展示,可以按照先进先出的原则,从所述缓存队列中读取所述待展示信息进行展示。其中,每从所述缓存队列中读取一条所述待展示信息,所述缓存队列就可以腾出一条信息的缓存空间。Optionally, the at least one to-be-displayed information is read from the cache queue for display, and the to-be-displayed information is read from the cache queue for display according to a first-in-first-out principle. Each of the cache queues can read out a piece of information to be displayed, and the cache queue can free up a buffer space for information.
将至少一条所述待展示信息进行展示,可以包括:Displaying at least one piece of the information to be displayed may include:
针对其中一条所述待展示信息,执行以下操作:For one of the information to be displayed, do the following:
判断当前展示界面中是否存在空闲的展示轨道;Determining whether there is an idle display track in the current display interface;
若是,则将所述待展示信息在空闲的展示轨道上展示;If yes, the information to be displayed is displayed on an idle display track;
若否,则等待空闲的展示轨道,并在出现空闲的展示轨道时,将所述第一待展示信息在所述空闲的展示轨道上展示。If not, the idle display track is awaited, and when the idle display track appears, the first to-be-displayed information is displayed on the idle display track.
所述展示轨道可以用于展示待展示信息,其中,一条展示轨道可以用于展示一条待展示信息,直播界面中包含的展示轨道的个数可以根据实际情况确定,优选地,直播界面中包含的展示轨道的个数可以为2个。当然,也不排除只有1个展示轨道,或者有3个及3个以上展示轨道的情况。The display track can be used to display information to be displayed, wherein one display track can be used to display a piece of information to be displayed, and the number of display tracks included in the live broadcast interface can be determined according to actual conditions, preferably, the live broadcast interface includes The number of display tracks can be two. Of course, it is not excluded that there is only one display track, or there are three or more display tracks.
可选地,所述方法还包括:Optionally, the method further includes:
当展示界面中存在空闲的展示轨道时,按照先进先出的原则从所述缓存队列中取出第二待展示信息;When there is an idle display track in the display interface, the second to-be-displayed information is taken out from the cache queue according to the first in first out principle;
如果所述第二待展示信息的时间线与当前时刻之差小于预定时间段,通过所述空闲的展示轨道进行展示;If the difference between the timeline of the second information to be displayed and the current time is less than a predetermined time period, displaying by the idle display track;
如果所述第二待展示信息的时间线与当前时刻之差大于或等于所述预定时间段,忽略所述第二待展示信息。If the difference between the timeline of the second information to be displayed and the current time is greater than or equal to the predetermined time period, the second information to be displayed is ignored.
考虑到展示界面展示的信息的时效性,在从缓存队列中取出第二待展示信息并在展示界面中空闲的展示轨道进行展示之前,还可以进一步判断所述第二待展示信息与当前时刻之差是否小于预定时间段。若是,则可以将所述第二待展示信息在空闲的展示轨道进行展示;否则,可以忽略所述第二待展示信息,以保证展示界面展示的信息的时效性。Considering the timeliness of the information displayed on the display interface, before the second to-be-displayed information is taken out from the cache queue and displayed on the display track that is free in the display interface, the second to-be-displayed information and the current time may be further determined. Whether the difference is less than a predetermined period of time. If yes, the second to-be-displayed information may be displayed on the idle display track; otherwise, the second to-be-displayed information may be ignored to ensure the timeliness of the information displayed on the display interface.
所述预定时间段可以根据实际的时效性要求确定,这里不做具体限定。The predetermined time period may be determined according to actual timeliness requirements, and is not specifically limited herein.
可选地,所述方法还包括:Optionally, the method further includes:
根据所述待展示信息中与展示时间相关的属性,确定所述待展示信息的展示时间;Determining, according to the attribute related to the display time in the information to be displayed, the display time of the information to be displayed;
在将所述待展示信息在展示界面进行展示时,按照所述展示时间进行展示。When the information to be displayed is displayed on the display interface, the display is performed according to the display time.
为了提升用户体验,本申请实施例在将待展示信息在展示界面进行展示时,可以根据待展示信息中与展示时间相关的属性确定待展示信息的展示时间,其中,与展示时间相关的属性可以包含上述记载的用户类型、用户级别以及打赏金额中的至少一种。In order to improve the user experience, when the information to be displayed is displayed on the display interface, the embodiment of the present application may determine the display time of the information to be displayed according to the attribute related to the display time in the information to be displayed, wherein the attribute related to the display time may be At least one of the user type, the user level, and the bonus amount described above is included.
在确定待展示信息的展示时间时,例如,用户类型为用户本人,则展示时间最长,用户类型为用户关注的人,则展示时间居中,用户类型为其他用户则展示时间最短;用户级别越高,展示时间越长;用户的打赏金额越多,展示时间越长。当然,还可基于用户类型、用户级别以及打赏金额中的多种,综合确定展示时间。When determining the display time of the information to be displayed, for example, the user type is the user himself, the display time is the longest, the user type is the person concerned by the user, the display time is centered, and the user type is the other user, the display time is the shortest; the user level is the shorter High, the longer the display time; the more the user's reward, the longer the display time. Of course, the display time can also be comprehensively determined based on a plurality of user types, user levels, and reward amounts.
应理解,在确定待展示信息的展示时间时,还可以根据待展示信息的展示优先级确定。其中,待展示信息的展示优先级越高,展示时间越长,具体可以根据实际情况确定,这里不做具体限定。It should be understood that when determining the presentation time of the information to be displayed, it may also be determined according to the presentation priority of the information to be displayed. The higher the display priority of the information to be displayed is, the longer the display time is. The specific time can be determined according to actual conditions, and no specific limitation is made here.
例如,若待展示信息为打赏信息,且为用户本人的打赏信息,则打赏信息的展示优先级可以是最高的优先级,打赏信息的展示时间可以设置为3秒,以便于该用户可以在较长时间内查看到自己的打赏信息。再例如,如果待展示信息为其他用户的打赏信息,且打赏金额超过设定金额(例如5元),则所述打赏信息的展示优先级可以是较高的优先级,待展示信息的展示时间可以设置为2秒,以便于用户可以在较长时间内查看到打赏金额比较多的打赏信息。For example, if the information to be displayed is the reward information and is the user's own reward information, the display priority of the reward information may be the highest priority, and the presentation time of the reward information may be set to 3 seconds, so as to facilitate the Users can view their reward information for a long time. For another example, if the information to be displayed is the reward information of other users, and the reward amount exceeds the set amount (for example, 5 yuan), the display priority of the reward information may be a higher priority, and the information to be displayed is displayed. The display time can be set to 2 seconds, so that the user can view the reward information with a larger amount of rewards for a longer period of time.
在本申请实施例中,在获取到所述至少一条待展示信息后,当缓存队列不存在剩余缓存空间时,可以直接忽略待展示信息,不予展示。这样,由于在缓存队列不存在剩余缓存空间的情况下,对获取到的待展示信息忽略不展示,因此,可以减少直播应用的渲染压力,避免直播应用由于渲染压力较大导致的卡顿或崩溃现象。In the embodiment of the present application, after the at least one piece of information to be displayed is obtained, when there is no remaining buffer space in the cache queue, the information to be displayed may be directly ignored and not displayed. In this way, since the obtained cached information is ignored and not displayed in the cache queue, the rendering pressure of the live application can be reduced, and the live application can be prevented from being stuck or collapsed due to large rendering pressure. phenomenon.
在本申请的另一实施例中,基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式,可以包括:In another embodiment of the present application, determining, according to the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed, determining the display of the at least one information to be displayed Ways can include:
如果第一待展示信息中与展示优先级相关的属性对应的展示优先级不小于预设 优先级,且当前展示界面中存在空闲的展示轨道,则将所述第一待展示信息在所述空闲的展示轨道上展示,其中,第一待展示信息是所述至少一条待展示信息中的任一条待展示信息。If the display priority corresponding to the attribute related to the display priority in the first to-be-displayed information is not less than the preset priority, and the idle display track exists in the current display interface, the first to-be-displayed information is in the idle The display on the display track, wherein the first to-be-displayed information is any one of the at least one information to be displayed.
本实施例中,在获取到至少一条待展示信息后,可以根据每一条待展示信息中与展示优先级相关的属性确定每一条待展示信息的展示优先级,进而确定展示优先级不小于预设优先级的第一待展示信息。第一待展示信息的条数可以是一条,也可以是多条。In this embodiment, after obtaining at least one piece of information to be displayed, the display priority of each piece of information to be displayed may be determined according to an attribute related to the display priority in each piece of information to be displayed, thereby determining that the display priority is not less than a preset. The first information to be displayed of the priority. The number of pieces of information to be displayed may be one or more.
在本申请实施例中,预设优先级根据展示优先级确定,例如,所述展示优先级一共分为最高、较高、中等、较低、最低五级,那么所述预设优先级可以是最高的所述展示优先级,也可以是中等的所述展示优先级,具体可以根据实际情况确定,这里不做具体限定。展示优先级的确定方法,可参考前述的展示优先级确定方法,不再赘述。In the embodiment of the present application, the preset priority is determined according to the display priority. For example, the display priority is divided into a maximum, a high, a medium, a low, and a lowest five, and the preset priority may be The highest priority of the display may be the priority of the display. The specificity may be determined according to actual conditions, and is not specifically limited herein. For the method of determining the priority, refer to the foregoing method for determining the priority of the display, and no further description is provided.
在确定所述第一待展示信息后,可以直接将所述第一待展示信息在展示界面进行展示。在将所述第一待展示信息在所述展示界面进行展示时,若当前展示界面中存在空闲的展示轨道,则可以直接将所述第一待展示信息在所述空闲的展示轨道上展示。After determining the first to-be-displayed information, the first to-be-displayed information may be directly displayed on the display interface. When the first to-be-displayed information is displayed on the display interface, if there is an idle display track in the current display interface, the first to-be-displayed information may be directly displayed on the idle display track.
在将所述第一待展示信息在所述空闲的展示轨道上展示时,可以根据所述第一待展示信息中与展示时间相关的属性确定所述第一待展示信息的展示时间,具体可以参见上述实施例记载的相应内容,这里不再重复描述。When the first to-be-displayed information is displayed on the idle display track, the display time of the first to-be-displayed information may be determined according to an attribute related to the display time in the first to-be-displayed information, specifically Referring to the corresponding content described in the above embodiments, the description is not repeated here.
需要说明的是,针对展示优先级小于所述预设优先级的一条或多条待展示信息,可以根据所述缓存队列的使用情况,确定所述一条或多条待展示信息的展示方式,具体可以参见上述记载的内容,这里不再重复描述。此外,也可以将所述一条或多条待展示信息忽略,以减少直播客户端的渲染压力,本实施例不做具体限定。It should be noted that, for one or more pieces of information to be displayed whose display priority is less than the preset priority, the display manner of the one or more pieces of information to be displayed may be determined according to the usage of the cache queue, The contents described above can be referred to, and the description will not be repeated here. In addition, the one or more pieces of information to be displayed may be omitted to reduce the rendering pressure of the live client, which is not specifically limited in this embodiment.
在本申请的另一实施例中,基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式,包括:In another embodiment of the present application, determining, according to the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed, determining the display of the at least one information to be displayed Ways, including:
如果第一待展示信息中与展示优先级相关的属性对应的展示优先级不小于预设优先级,且当前展示界面中不存在空闲的展示轨道,则等待空闲的展示轨道,并在出现空闲的展示轨道时,将所述第一待展示信息在所述空闲的展示轨道上展示,其中,第一待展示信息是所述至少一条待展示信息中的任一条待展示信息。If the display priority corresponding to the attribute related to the display priority in the first to-be-displayed information is not less than the preset priority, and there is no idle display track in the current display interface, waiting for the idle display track, and appearing idle When the track is displayed, the first to-be-displayed information is displayed on the idle display track, wherein the first to-be-displayed information is any one of the at least one to-be-displayed information to be displayed.
本实施例中,在基于上一实施例记载的方法确定所述第一待展示信息并将所述第一待展示信息进行展示时,存在当前的所述展示界面没有空闲的展示轨道的情况,此 时,可以等待空闲的展示轨道,并在出现空闲的展示轨道时,将所述第一待展示信息在空闲的展示轨道上展示。具体可以参见上一实施例中记载的相关内容,这里不再重复描述。In this embodiment, when the first to-be-displayed information is determined and the first to-be-displayed information is displayed according to the method described in the previous embodiment, there is a case where the current display interface has no idle display track. At this time, the idle display track can be waited for, and when the idle display track appears, the first to-be-displayed information is displayed on the idle display track. For details, refer to related content recorded in the previous embodiment, and the description is not repeated here.
图2为本申请的一个实施例信息展示方法的示意图。FIG. 2 is a schematic diagram of an information display method according to an embodiment of the present application.
图2中,A为视频直播的显示区域,B为展示界面中展示打赏信息的区域,该区域的展示轨道的个数为2。直播客户端在接收到用户本人的一条打赏信息a时,可以确定打赏信息a的展示优先级为最高的展示优先级,此时,可以将打赏信息a在展示界面的空闲的展示轨道进行展示。In FIG. 2, A is a display area of a live video, and B is an area displaying a reward information in the display interface, and the number of display tracks in the area is 2. When receiving the reward information a of the user, the live broadcast client can determine that the display priority of the reward information a is the highest display priority. At this time, the reward information a can be displayed on the idle display track of the display interface. Show it.
如图2所示,a为用户本人的打赏信息,b为其他用户的打赏信息。由于打赏信息a为用户本人的打赏信息,则在所述展示界面展示打赏信息a的展示时间可以是3秒。As shown in FIG. 2, a is the user's own reward information, and b is the reward information of other users. Since the reward information a is the user's own reward information, the presentation time for displaying the reward information a on the display interface may be 3 seconds.
图2中,在所述展示界面展示打赏信息a时,还可以将打赏信息a动画显示。In FIG. 2, when the reward information a is displayed on the display interface, the reward information a may also be displayed in an animation.
本申请实施例提供的技术方案,获取至少一条待展示信息;基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式。通过在直播应用中设置待展示信息的缓存队列以及展示优先级,使得在获取到至少一条待展示信息时,可以基于缓存队列的使用情况和/或待展示信息中与展示优先级相关的属性确定至少一条待展示信息的展示方式。由于本申请实施例改变了待展示信息的展示方式,因此,可以兼顾终端设备的展示性能,从而改善待展示信息的展示效果,提升用户体验。The technical solution provided by the embodiment of the present application obtains at least one piece of information to be displayed; determines the at least the attribute related to the display priority based on the usage of the cache queue of the information to be displayed, and/or the attribute of the at least one piece of information to be displayed. A way to display information to be displayed. The cache queue and the display priority of the information to be displayed are set in the live application, so that when at least one information to be displayed is obtained, the usage of the cache queue and/or the attribute related to the display priority in the information to be displayed may be determined. At least one way to display the information to be displayed. Since the embodiment of the present application changes the display manner of the information to be displayed, the display performance of the terminal device can be taken into consideration, thereby improving the display effect of the information to be displayed and improving the user experience.
图3是本申请的一个实施例信息展示方法的流程示意图。本申请实施例记载的信息展示方法可以由图1记载的实施例的信息展示方法实现。本申请实施例提供的信息展示方法可以应用于直播客户端。在本申请实施例中,以打赏信息作为待展示信息进行举例说明。当然,应理解,本申请的待展示信息包括但不限于打赏信息。FIG. 3 is a schematic flowchart diagram of an information display method according to an embodiment of the present application. The information display method described in the embodiment of the present application can be implemented by the information display method of the embodiment described in FIG. The information display method provided by the embodiment of the present application can be applied to a live broadcast client. In the embodiment of the present application, the reward information is used as an example to be displayed. Of course, it should be understood that the information to be displayed of the present application includes, but is not limited to, reward information.
步骤301:获取待展示的打赏信息。Step 301: Acquire the reward information to be displayed.
在步骤301中,直播客户端可以接收服务器推送的待展示的打赏信息,也可以主动从服务器获取待展示的打赏信息。In step 301, the live broadcast client may receive the reward information to be displayed pushed by the server, or may actively obtain the reward information to be displayed from the server.
步骤302:判断打赏信息是否为用户本人的打赏信息。Step 302: Determine whether the reward information is the user's own reward information.
具体地,在本申请实施例中,可按照打赏信息所属的用户(即进行打赏的用户)与当前用户的关系,区分用户类型。其中,用户类型可用于作为确定展示优先级的属性。Specifically, in the embodiment of the present application, the user type may be distinguished according to the relationship between the user to whom the reward information belongs (ie, the user who performs the reward) and the current user. Among them, the user type can be used as an attribute to determine the priority of the display.
例如,可以将用户类型分成用户本人和其它用户两类。基于这种分类方式,可判断打赏信息是否为用户本人的打赏信息,即判断打赏信息是否为当前使用直播客户端观看视频直播的用户。若是,则可以说明打赏信息的展示优先级高,可以执行步骤303;若否,则可以说明打赏信息的展示优先级低,可以执行步骤306。For example, user types can be divided into users and other users. Based on the classification method, it can be determined whether the reward information is the user's own reward information, that is, whether the reward information is the user who currently uses the live broadcast client to watch the live video. If yes, it can be stated that the display priority of the reward information is high, and step 303 can be performed; if not, the display priority of the reward information can be low, and step 306 can be performed.
当然,应理解,在按照打赏信息所属的用户(即进行打赏的用户)与当前用户的关系区分用户类型时,还可以有其它的分类方式。例如,可以分成用户本人、用户关注的人、和其它用户三类;又例如,可以分为用户本人、用户重点关注的人、用户普通关注的人、其它用户四类。等等。当然,也可以把用户本人归入到其中某一个类别中。Of course, it should be understood that when the user type is distinguished according to the relationship between the user to whom the reward information belongs (ie, the user who is performing the reward) and the current user, there may be other classification methods. For example, it can be divided into three categories: the user himself, the user concerned, and other users; for example, it can be divided into four categories: the user himself, the user who is mainly concerned by the user, the person who is generally concerned by the user, and other users. and many more. Of course, it is also possible to classify the user himself into one of the categories.
在本申请实施例中,用户类型可以作为展示优先级的一个选择标准,以确定打赏信息展示的优先顺序。In the embodiment of the present application, the user type may be used as a selection criterion for the display priority to determine the priority order of the reward information display.
步骤303:判断展示界面中是否存在空闲的展示轨道。Step 303: Determine whether there is an idle display track in the display interface.
应理解,展示轨道的数量可以是基于直播客户端所在的设备的展示性能(包括内存、渲染能力、CPU等)确定的,也可以是用户自行配置的,或者是一个固定值,本申请实施例对此不作限制。例如,可以是1个展示轨道、2个展示轨道,或更多个展示轨道,等等。It should be understood that the number of the display track may be determined based on the display performance (including memory, rendering capability, CPU, etc.) of the device where the live client is located, or may be configured by the user, or a fixed value. There is no limit to this. For example, it may be 1 display track, 2 display tracks, or more display tracks, and the like.
当判定获取到高优先级的打赏信息后,直播客户端可判断当前的展示界面中是否存在空闲的展示轨道。After determining that the high priority reward information is obtained, the live broadcast client can determine whether there is an idle display track in the current display interface.
如果存在空闲的展示轨道,则可以执行步骤304;否则,则可以执行步骤305。If there is an idle display track, step 304 may be performed; otherwise, step 305 may be performed.
步骤304:将打赏信息在空闲的展示轨道进行展示。Step 304: Display the reward information on the idle display track.
应理解,在对打赏信息进行展示时,还可基于与展示优先级相关的属性,确定展示时间。It should be understood that when presenting the reward information, the presentation time may also be determined based on the attributes associated with the presentation priority.
打赏信息中与展示时间相关的属性,可包括打赏信息的用户类型、用户级别以及打赏金额中的至少一种。The attribute related to the presentation time in the reward information may include at least one of a user type of the reward information, a user level, and a reward amount.
例如,当前用户关注的人的打赏信息,显示2s,当前用户的打赏信息,显示3s,其它用户的打赏信息,显示1s,等等。用户本人的打赏时间,可以设置为略长一些。For example, the reward information of the person currently concerned by the user, displaying 2s, the current user's reward information, displaying 3s, other users' reward information, displaying 1s, and the like. The user's own reward time can be set to be slightly longer.
又例如,还可以根据用户打赏的金额,设置展示时间。例如,打赏5-10元,展示时间为1秒;打赏10-100元,展示时间为2秒,等等。当然,打赏金额与展示时间之间的对应关系还可以由用户自行设置。For another example, the display time can also be set according to the amount of the user's reward. For example, reward 5-10 yuan, display time is 1 second; reward 10-100 yuan, display time is 2 seconds, and so on. Of course, the correspondence between the reward amount and the presentation time can also be set by the user.
当然,应理解,还可基于打赏信息的用户类型、用户级别以及打赏金额中的多种,综合确定展示时间。Of course, it should be understood that the display time may be comprehensively determined based on a plurality of types of users of the reward information, the user level, and the reward amount.
步骤305:等待预定时间。Step 305: Waiting for a predetermined time.
应理解,在等待预定时间后,可执行步骤303,进行下一轮的空闲展示轨道的判断。It should be understood that after waiting for a predetermined time, step 303 may be performed to make a determination of the next round of idle display tracks.
步骤306:判断缓存队列是否存在剩余缓存空间。Step 306: Determine whether the cache queue has remaining cache space.
应理解,在步骤302的判断之后,如果确定打赏信息为非本人打赏信息,则可判断缓存队列是否存在剩余缓存空间。It should be understood that after the determination of step 302, if it is determined that the reward information is non-personal reward information, it may be determined whether the cache queue has remaining buffer space.
若所述缓存队列存在剩余缓存空间,则执行步骤307;若所述缓存队列不存在剩余缓存空间,则执行步骤310。If the cache queue has the remaining cache space, step 307 is performed; if the cache queue does not have the remaining cache space, step 310 is performed.
步骤307:将打赏信息添加至缓存队列。Step 307: Add the reward information to the cache queue.
应理解,在将打赏信息添加至缓存队列时,可按照打赏信息的展示优先级,将展示优先级高的打赏信息先加入缓存队列中,展示优先级低的后加入缓存队列中。It should be understood that, when the reward information is added to the cache queue, the reward information with the highest priority is added to the cache queue according to the display priority of the reward information, and the priority is low and then added to the cache queue.
具体地,可基于与展示优先级相关的属性,确定展示优先级,进而确定进入缓存队列的顺序。可选地,与展示优先级相关的属性,可以是展示优先级本身,例如,打赏信息中可携带展示优先级。或者,可选地,与展示优先级相关的属性,可以包括打赏信息的timeline、接收时间、用户类型、用户级别、打赏金额中的至少一种,直播客户端可基于这些与展示优先级相关的属性,确定展示优先级。Specifically, the display priority may be determined based on the attributes related to the presentation priority, thereby determining the order of entering the cache queue. Optionally, the attribute related to the display priority may be the display priority itself, for example, the display priority of the reward information. Or, optionally, the attribute related to the display priority may include at least one of a timeline of the reward information, a receiving time, a user type, a user level, and a reward amount, and the live broadcast client may be based on the display priority Related attributes that determine the display priority.
例如,缓存队列中还可容纳20个打赏信息,直播客户端从服务器获取30个打赏信息。此时,直播客户端可基于打赏信息中的打赏金额,从大到小排列;打赏金额相同的,可按照打赏信息的timeline先后顺序排列。特别地,直播客户端还可把距离当前时间超过预定时间(例如,5s)的打赏信息设为最低优先级或者直接过滤掉,等等。对于超出缓存队列的其余部分,直播客户端可直接舍弃。For example, the cache queue can also hold 20 reward information, and the live client obtains 30 reward information from the server. At this time, the live client can be arranged from the largest to the smallest based on the reward amount in the reward information; the same amount of the reward can be arranged in the order of the timeline of the reward information. In particular, the live broadcast client may also set the reward information that is longer than the predetermined time (eg, 5 s) from the current time to the lowest priority or directly filter out, and the like. For the rest of the cache queue, the live client can discard it directly.
当然,前面只是展示出了一种将打赏信息添加到缓存队列的方案,在具体的应用中,还可能存在其它技术方案,在此不在一一列举。Of course, the foregoing only shows a scheme for adding reward information to the cache queue. In a specific application, there may be other technical solutions, which are not enumerated here.
步骤308:从缓存队列中取出打赏信息。Step 308: The reward information is taken out from the cache queue.
当展示轨道空闲,且没有较高优先级的打赏信息在等待时,直播客户端可从缓存队列中取出打赏信息进行展示。When the display track is idle and there is no higher priority reward information waiting, the live broadcast client can retrieve the reward information from the cache queue for display.
步骤309:判断从缓存队列取出的打赏信息的时间线与当前时刻之差是否小于预定时间段。Step 309: Determine whether the difference between the timeline of the reward information extracted from the cache queue and the current time is less than a predetermined time period.
直播客户可在准备展示打赏信息时,基于打赏信息的时效性确定是否打赏。The live broadcast customer can determine whether to reward based on the timeliness of the reward information when preparing to display the reward information.
如果打赏信息的时间线与当前时刻之差小于所述预定时间段,则执行步骤304;否则执行步骤310。If the difference between the timeline of the reward information and the current time is less than the predetermined time period, step 304 is performed; otherwise, step 310 is performed.
当然,应理解,步骤309是一个可选的步骤。直播客户端也可不执行步骤309,直接执行步骤304。Of course, it should be understood that step 309 is an optional step. The live client may also perform step 304 directly without performing step 309.
步骤310:忽略所述打赏信息。Step 310: Ignore the reward information.
即不展示所述打赏信息,以减少直播客户端的渲染压力。That is, the reward information is not displayed to reduce the rendering pressure of the live client.
本申请实施例提供的技术方案,在直播客户端设置缓存队列,在需要展示的打赏信息较多时,可以通过判断是否为用户本人发出的打赏信息以及缓存队列的使用情况,基于一边展示一边补足,在缓存队列有剩余存储空间就补足打赏信息,没有剩余存储空间就消除打赏信息的方式,可以减少直播客户端的渲染压力,避免直播客户端卡顿或崩溃,同时,由于将用户本人的打赏信息优先显示,还可以提升用户体验。In the technical solution provided by the embodiment of the present application, a cache queue is set on the live broadcast client. When there is more reward information to be displayed, the reward information and the use of the cache queue may be determined by the user. Complement, the remaining storage space in the cache queue to make up the reward information, the way to eliminate the reward information without the remaining storage space, can reduce the rendering pressure of the live client, avoid the live client stuck or crash, and at the same time, because the user himself The reward information is prioritized and can also enhance the user experience.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing description of the specific embodiments of the specification has been described. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than the embodiments and still achieve the desired results. In addition, the processes depicted in the figures are not necessarily in a particular order or in a sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
图4是本申请的一个实施例电子设备的结构示意图。请参考图4,在硬件层面,该电子设备包括处理器,可选地还包括内部总线、网络接口、存储器。其中,存储器可能包含内存,例如高速随机存取存储器(Random-Access Memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器等。当然,该电子设备还可能包括其他业务所需要的硬件。4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Referring to FIG. 4, at the hardware level, the electronic device includes a processor, optionally including an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. Of course, the electronic device may also include hardware required for other services.
处理器、网络接口和存储器可以通过内部总线相互连接,该内部总线可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图4中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。The processor, the network interface, and the memory may be interconnected by an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended) Industry Standard Architecture, extending the industry standard structure) bus. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one double-headed arrow is shown in Figure 4, but it does not mean that there is only one bus or one type of bus.
存储器,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器可以包括内存和非易失性存储器,并向处理器提供指令和数据。Memory for storing programs. In particular, the program can include program code, the program code including computer operating instructions. The memory can include both memory and non-volatile memory and provides instructions and data to the processor.
处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,在逻辑层面上形成信息展示装置。处理器,执行存储器所存放的程序,并具体用于执行以下操作:The processor reads the corresponding computer program from the non-volatile memory into memory and then runs to form an information display device at a logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:
获取至少一条待展示信息;Obtain at least one piece of information to be displayed;
基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式。Determining the display manner of the at least one information to be displayed based on the usage of the cache queue to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed.
上述如本申请图4所示实施例揭示的信息展示装置执行的方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。The method performed by the information display apparatus disclosed in the embodiment shown in FIG. 4 of the present application may be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; or may be a digital signal processor (DSP), dedicated integration. Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method.
该电子设备还可执行图1的方法,并实现信息展示装置在图1、图2以及图3所示实施例的功能,本申请实施例在此不再赘述。The electronic device can also perform the method of FIG. 1 and implement the functions of the information display device in the embodiments shown in FIG. 1 , FIG. 2 and FIG. 3 , and details are not described herein again.
当然,除了软件实现方式之外,本申请的电子设备并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。Of course, in addition to the software implementation, the electronic device of the present application does not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution body of the following processing flow is not limited to each logical unit. It can also be hardware or logic.
本申请实施例还提出了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序包括指令,该指令当被包括多个应用程序的便携式 电子设备执行时,能够使该便携式电子设备执行图1所示实施例的方法,并具体用于执行以下操作:The embodiment of the present application further provides a computer readable storage medium storing one or more programs, the one or more programs including instructions, when the portable electronic device is included in a plurality of applications When executed, the portable electronic device can be configured to perform the method of the embodiment shown in FIG. 1 and specifically for performing the following operations:
获取至少一条待展示信息;Obtain at least one piece of information to be displayed;
基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式。Determining the display manner of the at least one information to be displayed based on the usage of the cache queue to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed.
图5是本申请的一个实施例信息展示装置50的结构示意图。请参考图5,在一种软件实施方式中,所述信息展示装置50可包括:获取单元51和展示单元52,其中:FIG. 5 is a schematic structural diagram of an information display apparatus 50 according to an embodiment of the present application. Referring to FIG. 5, in a software implementation, the information display device 50 may include: an obtaining unit 51 and a display unit 52, where:
获取单元51,获取至少一条待展示信息;The obtaining unit 51 acquires at least one piece of information to be displayed;
展示单元52,基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式。The displaying unit 52 determines the display manner of the at least one information to be displayed based on the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed.
可选地,所述展示单元52基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式,包括:Optionally, the displaying unit 52 determines the manner in which the at least one information to be displayed is displayed based on the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed. ,include:
当所述缓存队列存在剩余缓存空间时,将所述至少一条待展示信息添加至所述缓存队列,并从所述缓存队列中读取所述至少一条待展示信息进行展示。When the cache queue has the remaining cache space, the at least one information to be displayed is added to the cache queue, and the at least one information to be displayed is read from the cache queue for display.
可选地,所述展示单元52将所述至少一条待展示信息添加至所述缓存队列,包括:Optionally, the displaying unit 52 adds the at least one information to be displayed to the cache queue, including:
确定所述至少一条待展示信息占用的空间是否不大于所述缓存队列的剩余缓存空间;Determining whether a space occupied by the at least one information to be displayed is not greater than a remaining buffer space of the cache queue;
若是,则将所述至少一条待展示信息全部添加至所述缓存队列;If yes, the at least one information to be displayed is all added to the cache queue;
若否,则选择所述至少一条待展示信息中的部分添加至所述缓存队列,直至所述缓存队列不存在剩余缓存空间。If not, selecting a portion of the at least one information to be displayed is added to the cache queue until the cache queue does not have a remaining cache space.
可选地,所述展示单元52选择所述至少一条待展示信息中的部分添加至所述缓存队列,包括:Optionally, the displaying unit 52 selects a part of the at least one information to be displayed to be added to the cache queue, including:
根据所述至少一条待展示信息中与展示优先级相关的属性对应的展示优先级,按照所述展示优先级从高到低的顺序,选择所述至少一条待展示信息中的部分添加至所述缓存队列。Selecting, according to the display priority of the at least one item to be displayed, the part of the at least one information to be displayed is added to the display priority according to the display priority corresponding to the attribute related to the display priority in the at least one information to be displayed. Cache queue.
可选地,所述展示单元52基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式,包括:Optionally, the displaying unit 52 determines the manner in which the at least one information to be displayed is displayed based on the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed. ,include:
当所述缓存队列不存在剩余缓存空间时,忽略所述至少一条待展示信息。When the cache queue does not have remaining cache space, the at least one information to be displayed is ignored.
可选地,所述展示单元52基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式,包括:Optionally, the displaying unit 52 determines the manner in which the at least one information to be displayed is displayed based on the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed. ,include:
如果第一待展示信息中与展示优先级相关的属性对应的展示优先级不小于预设优先级,且当前展示界面中存在空闲的展示轨道,则将所述第一待展示信息在所述空闲的展示轨道上展示,其中,第一待展示信息是所述至少一条待展示信息中的任一条待展示信息。If the display priority corresponding to the attribute related to the display priority in the first to-be-displayed information is not less than the preset priority, and the idle display track exists in the current display interface, the first to-be-displayed information is in the idle The display on the display track, wherein the first to-be-displayed information is any one of the at least one information to be displayed.
可选地,所述展示单元52基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式,包括:Optionally, the displaying unit 52 determines the manner in which the at least one information to be displayed is displayed based on the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed. ,include:
如果第一待展示信息中与展示优先级相关的属性对应的展示优先级不小于预设优先级,且当前展示界面中不存在空闲的展示轨道,则等待空闲的展示轨道,并在出现空闲的展示轨道时,将所述第一待展示信息在所述空闲的展示轨道上展示,其中,第一待展示信息是所述至少一条待展示信息中的任一条待展示信息。If the display priority corresponding to the attribute related to the display priority in the first to-be-displayed information is not less than the preset priority, and there is no idle display track in the current display interface, waiting for the idle display track, and appearing idle When the track is displayed, the first to-be-displayed information is displayed on the idle display track, wherein the first to-be-displayed information is any one of the at least one to-be-displayed information to be displayed.
可选地,所述展示单元52根据所述待展示信息中与展示时间相关的属性,确定所述待展示信息的展示时间;Optionally, the displaying unit 52 determines, according to the attribute related to the display time in the information to be displayed, the display time of the information to be displayed;
在将所述待展示信息在展示界面进行展示时,按照所述展示时间进行展示。When the information to be displayed is displayed on the display interface, the display is performed according to the display time.
可选地,所述展示单元52,当展示界面中存在空闲的展示轨道时,按照先进先出的原则从所述缓存队列中取出第二待展示信息;Optionally, the displaying unit 52, when there is an idle display track in the display interface, takes out the second to-be-displayed information from the cache queue according to the first in first out principle;
如果所述第二待展示信息的时间线与当前时刻之差小于预定时间段,通过所述空闲的展示轨道进行展示;If the difference between the timeline of the second information to be displayed and the current time is less than a predetermined time period, displaying by the idle display track;
如果所述第二待展示信息的时间线与当前时刻之差大于或等于所述预定时间段,忽略所述第二待展示信息。If the difference between the timeline of the second information to be displayed and the current time is greater than or equal to the predetermined time period, the second information to be displayed is ignored.
可选地,所述待展示信息中与展示优先级相关的属性,包括所述待展示信息的 时间线、接收时间、用户类型、用户级别以及打赏金额中的至少一种。Optionally, the attribute related to the display priority in the information to be displayed includes at least one of a time line of the information to be displayed, a receiving time, a user type, a user level, and a reward amount.
信息展示装置50还可执行图1或图3的方法,并实现信息展示装置在图1、图3所示实施例的功能,本申请实施例在此不再赘述。The information display device 50 can also perform the method of FIG. 1 or FIG. 3 and implement the functions of the information display device in the embodiment shown in FIG. 1 and FIG. 3, and details are not described herein again.
本申请实施例还提出了一种信息展示***,所述信息展示***可以包括直播客户端和所述直播客户端对应的服务器,所述直播客户端可以包括图5所示的信息展示装置,并可以实现图1或图3所示实施例中记载的方法步骤,所述服务器可以为所述直播客户端提供服务,并可以实现图1或图3所示实施例中记载的服务器的功能。The embodiment of the present application further provides an information display system, where the information display system may include a live broadcast client and a server corresponding to the live broadcast client, and the live broadcast client may include the information display device shown in FIG. 5, and The method steps described in the embodiment shown in FIG. 1 or FIG. 3 may be implemented. The server may provide services for the live broadcast client, and may implement the functions of the server described in the embodiment shown in FIG. 1 or FIG. 3.
总之,以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。In summary, the above description is only the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application are intended to be included within the scope of the present application.
上述实施例阐明的***、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It is also to be understood that the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or equipment. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device including the element.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于***实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
Claims (13)
- 一种信息展示方法,包括:An information display method, including:获取至少一条待展示信息;Obtain at least one piece of information to be displayed;基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式。Determining the display manner of the at least one information to be displayed based on the usage of the cache queue to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed.
- 如权利要求1所述的方法,基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式,包括:The method of claim 1, determining the manner in which the at least one information to be displayed is displayed based on a usage of a cache queue of information to be displayed, and/or an attribute related to a display priority in the at least one information to be displayed ,include:当所述缓存队列存在剩余缓存空间时,将所述至少一条待展示信息添加至所述缓存队列,并从所述缓存队列中读取所述至少一条待展示信息进行展示。When the cache queue has the remaining cache space, the at least one information to be displayed is added to the cache queue, and the at least one information to be displayed is read from the cache queue for display.
- 如权利要求2所述的方法,将所述至少一条待展示信息添加至所述缓存队列,包括:The method of claim 2, adding the at least one information to be displayed to the cache queue comprises:确定所述至少一条待展示信息占用的空间是否不大于所述缓存队列的剩余缓存空间;Determining whether a space occupied by the at least one information to be displayed is not greater than a remaining buffer space of the cache queue;若是,则将所述至少一条待展示信息全部添加至所述缓存队列;If yes, the at least one information to be displayed is all added to the cache queue;若否,则选择所述至少一条待展示信息中的部分添加至所述缓存队列,直至所述缓存队列不存在剩余缓存空间。If not, selecting a portion of the at least one information to be displayed is added to the cache queue until the cache queue does not have a remaining cache space.
- 如权利要求3所述的方法,选择所述至少一条待展示信息中的部分添加至所述缓存队列,包括:The method of claim 3, wherein selecting a portion of the at least one information to be displayed is added to the cache queue comprises:根据所述至少一条待展示信息中与展示优先级相关的属性对应的展示优先级,按照所述展示优先级从高到低的顺序,选择所述至少一条待展示信息中的部分添加至所述缓存队列。Selecting, according to the display priority of the at least one item to be displayed, the part of the at least one information to be displayed is added to the display priority according to the display priority corresponding to the attribute related to the display priority in the at least one information to be displayed. Cache queue.
- 如权利要求1所述的方法,基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式,包括:The method of claim 1, determining the manner in which the at least one information to be displayed is displayed based on a usage of a cache queue of information to be displayed, and/or an attribute related to a display priority in the at least one information to be displayed ,include:当所述缓存队列不存在剩余缓存空间时,忽略所述至少一条待展示信息。When the cache queue does not have remaining cache space, the at least one information to be displayed is ignored.
- 如权利要求1所述的方法,基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式,包括:The method of claim 1, determining the manner in which the at least one information to be displayed is displayed based on a usage of a cache queue of information to be displayed, and/or an attribute related to a display priority in the at least one information to be displayed ,include:如果第一待展示信息中与展示优先级相关的属性对应的展示优先级不小于预设优先级,且当前展示界面中存在空闲的展示轨道,则将所述第一待展示信息在所述空闲的 展示轨道上展示,其中,第一待展示信息是所述至少一条待展示信息中的任一条待展示信息。If the display priority corresponding to the attribute related to the display priority in the first to-be-displayed information is not less than the preset priority, and the idle display track exists in the current display interface, the first to-be-displayed information is in the idle The display on the display track, wherein the first to-be-displayed information is any one of the at least one information to be displayed.
- 如权利要求1所述的方法,基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式,包括:The method of claim 1, determining the manner in which the at least one information to be displayed is displayed based on a usage of a cache queue of information to be displayed, and/or an attribute related to a display priority in the at least one information to be displayed ,include:如果第一待展示信息中与展示优先级相关的属性对应的展示优先级不小于预设优先级,且当前展示界面中不存在空闲的展示轨道,则等待空闲的展示轨道,并在出现空闲的展示轨道时,将所述第一待展示信息在所述空闲的展示轨道上展示,其中,第一待展示信息是所述至少一条待展示信息中的任一条待展示信息。If the display priority corresponding to the attribute related to the display priority in the first to-be-displayed information is not less than the preset priority, and there is no idle display track in the current display interface, waiting for the idle display track, and appearing idle When the track is displayed, the first to-be-displayed information is displayed on the idle display track, wherein the first to-be-displayed information is any one of the at least one to-be-displayed information to be displayed.
- 如权利要求1所述的方法,所述方法还包括:The method of claim 1 further comprising:根据所述待展示信息中与展示时间相关的属性,确定所述待展示信息的展示时间;Determining, according to the attribute related to the display time in the information to be displayed, the display time of the information to be displayed;在将所述待展示信息在展示界面进行展示时,按照所述展示时间进行展示。When the information to be displayed is displayed on the display interface, the display is performed according to the display time.
- 如权利要求1所述的方法,所述方法还包括:The method of claim 1 further comprising:当展示界面中存在空闲的展示轨道时,按照先进先出的原则从所述缓存队列中取出第二待展示信息;When there is an idle display track in the display interface, the second to-be-displayed information is taken out from the cache queue according to the first in first out principle;如果所述第二待展示信息的时间线与当前时刻之差小于预定时间段,通过所述空闲的展示轨道进行展示;If the difference between the timeline of the second information to be displayed and the current time is less than a predetermined time period, displaying by the idle display track;如果所述第二待展示信息的时间线与当前时刻之差大于或等于所述预定时间段,忽略所述第二待展示信息。If the difference between the timeline of the second information to be displayed and the current time is greater than or equal to the predetermined time period, the second information to be displayed is ignored.
- 如权利要求1所述的方法,The method of claim 1所述待展示信息中与展示优先级相关的属性,包括所述待展示信息的时间线、接收时间、用户类型、用户级别以及打赏金额中的至少一种。The attribute related to the display priority in the information to be displayed includes at least one of a timeline, a receiving time, a user type, a user level, and a reward amount of the information to be displayed.
- 一种信息展示装置,包括:An information display device comprising:获取单元,获取至少一条待展示信息;Obtaining a unit to obtain at least one piece of information to be displayed;展示单元,基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式。The display unit determines the display manner of the at least one information to be displayed based on the usage of the cache queue of the information to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed.
- 一种电子设备,包括:An electronic device comprising:处理器;以及Processor;被安排成存储计算机可执行指令的存储器,该可执行指令在被执行时使该处理器执行以下操作:A memory arranged to store computer executable instructions that, when executed, cause the processor to perform the following operations:获取至少一条待展示信息;Obtain at least one piece of information to be displayed;基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式。Determining the display manner of the at least one information to be displayed based on the usage of the cache queue to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed.
- 一种计算机可读存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下方法:A computer readable storage medium storing one or more programs, the one or more programs, when executed by an electronic device comprising a plurality of applications, causing the electronic device to perform the following method :获取至少一条待展示信息;Obtain at least one piece of information to be displayed;基于待展示信息的缓存队列的使用情况,和/或所述至少一条待展示信息中与展示优先级相关的属性,确定所述至少一条待展示信息的展示方式。Determining the display manner of the at least one information to be displayed based on the usage of the cache queue to be displayed, and/or the attribute related to the display priority in the at least one information to be displayed.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810071316.8A CN108415780A (en) | 2018-01-25 | 2018-01-25 | A kind of information displaying method and device |
CN201810071316.8 | 2018-01-25 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019144743A1 true WO2019144743A1 (en) | 2019-08-01 |
Family
ID=63126525
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/123331 WO2019144743A1 (en) | 2018-01-25 | 2018-12-25 | Information display method and apparatus |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN108415780A (en) |
TW (1) | TWI693823B (en) |
WO (1) | WO2019144743A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110941781A (en) * | 2019-10-16 | 2020-03-31 | 贝壳技术有限公司 | Banner picture display method and device, electronic equipment and storage medium |
CN111582996A (en) * | 2020-05-20 | 2020-08-25 | 拉扎斯网络科技(上海)有限公司 | Business information display method and device |
CN112770128A (en) * | 2020-12-31 | 2021-05-07 | 百果园技术(新加坡)有限公司 | Playing system, method and device of live gift and server |
CN114840295A (en) * | 2022-05-10 | 2022-08-02 | 网易(杭州)网络有限公司 | Information display method, display device, equipment and medium |
CN115190347A (en) * | 2022-05-31 | 2022-10-14 | 北京达佳互联信息技术有限公司 | Message processing method, message processing device, electronic equipment and storage medium |
WO2023193683A1 (en) * | 2022-04-08 | 2023-10-12 | 北京有竹居网络技术有限公司 | Information display method and apparatus, electronic device and storage medium |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108415780A (en) * | 2018-01-25 | 2018-08-17 | 阿里巴巴集团控股有限公司 | A kind of information displaying method and device |
CN109275013B (en) * | 2018-09-13 | 2021-02-12 | 广州酷狗计算机科技有限公司 | Method, device and equipment for displaying virtual article and storage medium |
CN109391852B (en) * | 2018-09-14 | 2021-01-22 | 广州虎牙信息科技有限公司 | Message display method, device, equipment and storage medium |
CN109407922B (en) * | 2018-09-30 | 2020-12-15 | 武汉斗鱼网络科技有限公司 | Icon display control method, device, equipment and medium |
CN110971920B (en) * | 2018-09-30 | 2021-11-26 | 武汉斗鱼网络科技有限公司 | Message degradation method and related device |
CN109309858B (en) * | 2018-09-30 | 2021-04-27 | 武汉斗鱼网络科技有限公司 | Display method, device, equipment and medium of mutually exclusive icon |
CN109325181B (en) * | 2018-10-09 | 2021-01-01 | 武汉斗鱼网络科技有限公司 | Live broadcast room display method and device and readable storage medium |
CN109646954B (en) * | 2018-12-18 | 2022-04-05 | 北京像素软件科技股份有限公司 | Game animation state transition method and device |
CN111831946A (en) * | 2020-07-24 | 2020-10-27 | 北京达佳互联信息技术有限公司 | Information display method and device and electronic equipment |
CN111914136A (en) * | 2020-07-31 | 2020-11-10 | 中国建设银行股份有限公司 | Resource management method and device, electronic equipment and storage medium |
CN113055701B (en) * | 2021-04-21 | 2023-03-14 | 上海哔哩哔哩科技有限公司 | Data processing method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106454484A (en) * | 2016-10-26 | 2017-02-22 | 福建中金在线信息科技有限公司 | Method and device for displaying studio message |
CN106649621A (en) * | 2016-12-01 | 2017-05-10 | 天脉聚源(北京)传媒科技有限公司 | Method and device of displaying comment information |
CN107087236A (en) * | 2017-03-22 | 2017-08-22 | 北京潘达互娱科技有限公司 | A kind of live information methods of exhibiting and device |
CN107302489A (en) * | 2017-06-02 | 2017-10-27 | 北京潘达互娱科技有限公司 | Message display method and device |
CN108415780A (en) * | 2018-01-25 | 2018-08-17 | 阿里巴巴集团控股有限公司 | A kind of information displaying method and device |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2486744A (en) * | 2010-12-24 | 2012-06-27 | Starbucks Hk Ltd | Multimedia system with separately transmitted supplementary data overlaid onto broadcast video stream based on user input |
CN105868247A (en) * | 2015-12-15 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Information display method and apparatus |
CN105828124A (en) * | 2016-03-30 | 2016-08-03 | 乐视控股(北京)有限公司 | Information display method and apparatus in live broadcast |
CN106131698A (en) * | 2016-06-29 | 2016-11-16 | 北京金山安全软件有限公司 | Information display method and device and electronic equipment |
CN106302469A (en) * | 2016-08-18 | 2017-01-04 | 北京奇虎科技有限公司 | A kind of control the method and apparatus that information shows |
CN106303656A (en) * | 2016-08-18 | 2017-01-04 | 北京奇虎科技有限公司 | A kind of control the method and apparatus that information shows |
CN106375775B (en) * | 2016-09-26 | 2020-12-11 | 广州华多网络科技有限公司 | Virtual gift display method and device |
CN106502804B (en) * | 2016-10-31 | 2019-11-05 | 武汉斗鱼网络科技有限公司 | A kind of pop-up methods of exhibiting and system based on queue structure |
-
2018
- 2018-01-25 CN CN201810071316.8A patent/CN108415780A/en active Pending
- 2018-12-13 TW TW107145000A patent/TWI693823B/en active
- 2018-12-25 WO PCT/CN2018/123331 patent/WO2019144743A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106454484A (en) * | 2016-10-26 | 2017-02-22 | 福建中金在线信息科技有限公司 | Method and device for displaying studio message |
CN106649621A (en) * | 2016-12-01 | 2017-05-10 | 天脉聚源(北京)传媒科技有限公司 | Method and device of displaying comment information |
CN107087236A (en) * | 2017-03-22 | 2017-08-22 | 北京潘达互娱科技有限公司 | A kind of live information methods of exhibiting and device |
CN107302489A (en) * | 2017-06-02 | 2017-10-27 | 北京潘达互娱科技有限公司 | Message display method and device |
CN108415780A (en) * | 2018-01-25 | 2018-08-17 | 阿里巴巴集团控股有限公司 | A kind of information displaying method and device |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110941781A (en) * | 2019-10-16 | 2020-03-31 | 贝壳技术有限公司 | Banner picture display method and device, electronic equipment and storage medium |
CN111582996A (en) * | 2020-05-20 | 2020-08-25 | 拉扎斯网络科技(上海)有限公司 | Business information display method and device |
CN111582996B (en) * | 2020-05-20 | 2023-11-24 | 拉扎斯网络科技(上海)有限公司 | Service information display method and device |
CN112770128A (en) * | 2020-12-31 | 2021-05-07 | 百果园技术(新加坡)有限公司 | Playing system, method and device of live gift and server |
CN112770128B (en) * | 2020-12-31 | 2023-04-07 | 百果园技术(新加坡)有限公司 | Playing system, method and device of live gift and server |
WO2023193683A1 (en) * | 2022-04-08 | 2023-10-12 | 北京有竹居网络技术有限公司 | Information display method and apparatus, electronic device and storage medium |
CN114840295A (en) * | 2022-05-10 | 2022-08-02 | 网易(杭州)网络有限公司 | Information display method, display device, equipment and medium |
CN114840295B (en) * | 2022-05-10 | 2023-09-15 | 网易(杭州)网络有限公司 | Information display method, display device, equipment and medium |
CN115190347A (en) * | 2022-05-31 | 2022-10-14 | 北京达佳互联信息技术有限公司 | Message processing method, message processing device, electronic equipment and storage medium |
CN115190347B (en) * | 2022-05-31 | 2024-01-02 | 北京达佳互联信息技术有限公司 | Message processing method, message processing device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
TW201933875A (en) | 2019-08-16 |
CN108415780A (en) | 2018-08-17 |
TWI693823B (en) | 2020-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019144743A1 (en) | Information display method and apparatus | |
US11848903B2 (en) | Method and system for synchronizing instant messages between multiple clients | |
US11394672B2 (en) | Virtual chat rooms | |
US9349368B1 (en) | Generating an audio notification based on detection of a triggering event | |
WO2017076289A1 (en) | Method and device for playing video | |
WO2022152191A1 (en) | Message display method and apparatus | |
US9413704B2 (en) | Presenting messages associated with locations | |
US20170308539A1 (en) | Predictive Generation of Search Suggestions | |
US8555156B2 (en) | Inferring that a message has been read | |
US11070887B2 (en) | Video content deep diving | |
US9860306B2 (en) | Component-specific application presentation histories | |
US10623517B2 (en) | Content prefetching and cache management | |
CN109284183A (en) | Cardon playback method, device, computer storage medium and terminal | |
TWI602431B (en) | Method and device for transmitting information | |
TW201824138A (en) | Personal homepage display method and apparatus, terminal and server | |
TW202020652A (en) | Voice processing method and apparatus | |
US20240004914A1 (en) | Processing method and apparatus for notification message, and smart wearable device | |
US20130145276A1 (en) | Methods and apparatus for enabling context-aware and personalized web content browsing experience | |
CN107391163B (en) | Page data loading method and device in mobile terminal and application | |
WO2023030325A1 (en) | Buffer processing method and apparatus | |
US11017044B2 (en) | Apparatus, method, and program product for filtering similar content items | |
US10681409B2 (en) | Selective orientation during presentation of a multidirectional video | |
WO2020114343A1 (en) | Prompt method and apparatus | |
WO2022242760A1 (en) | Message display method and apparatus for virtual live-streaming room, and device | |
US20240064362A1 (en) | Playing media content in response to triggers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18902426 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18902426 Country of ref document: EP Kind code of ref document: A1 |