WO2022242760A1 - 虚拟直播间的消息展示方法、装置和设备 - Google Patents

虚拟直播间的消息展示方法、装置和设备 Download PDF

Info

Publication number
WO2022242760A1
WO2022242760A1 PCT/CN2022/094192 CN2022094192W WO2022242760A1 WO 2022242760 A1 WO2022242760 A1 WO 2022242760A1 CN 2022094192 W CN2022094192 W CN 2022094192W WO 2022242760 A1 WO2022242760 A1 WO 2022242760A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
messages
live broadcast
area
virtual live
Prior art date
Application number
PCT/CN2022/094192
Other languages
English (en)
French (fr)
Inventor
谢少泽
Original Assignee
北京字节跳动网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2022242760A1 publication Critical patent/WO2022242760A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Definitions

  • the present disclosure relates to the technical field of Internet live broadcasting, and in particular to a method, device and equipment for displaying messages in a virtual live broadcasting room.
  • the present disclosure provides a method, device and device for displaying messages in a virtual live broadcast room.
  • the present disclosure provides a method for displaying messages in a virtual live broadcast room, including: determining the popularity status of the virtual live broadcast room; when the popularity status is the first state, scrolling in the first area of the public screen of the virtual live broadcast room Display multiple messages belonging to the first type, and scroll to display a message belonging to the second type in the second area of the public screen in the virtual live broadcast room; wherein, the first area and the second area do not overlap or partially overlap, and the first type is different from the second type.
  • scrolling and displaying multiple messages of the first type in the first area of the public screen of the virtual live broadcast room includes: obtaining the first message of the first type from the default message queue, wherein the default message All types of messages received from the server are stored in the queue; stop displaying the messages at the top of the first area, scroll up the messages at the middle of the first area, and display the first message at the top of the first area bottom to make the messages in the first area scroll.
  • scrolling and displaying a message belonging to the second type in the second area of the public screen in the virtual live broadcast room includes: obtaining a new message from the folded message queue, wherein the folded message queue stores a message belonging to the The second type of message; when the display duration of a message currently displayed in the second area exceeds the first preset duration, the display of a message currently displayed in the second area will be stopped, and a new message will be displayed in the second area to scroll through the messages in the second area.
  • the method further includes: when the display duration of a message currently displayed in the second area does not exceed the first preset duration, discarding a new message.
  • the method further includes: receiving a message of the second type from the server; storing a message in a collapsed message queue.
  • storing a message in the folding message queue includes: when the total number of messages stored in the folding message queue is less than a preset threshold, storing a message in Collapse the message queue.
  • the method further includes: the total number of messages stored in the folded message queue is greater than or equal to a preset threshold, and when the priorities of the messages stored in the folded message queue are different, the priorities stored in the folded message queue The message with the lowest level and the earliest time is discarded, and a message is stored in the folded message queue; or, the total number of messages stored in the folded message queue is greater than or equal to the preset threshold, and the priority of the messages stored in the folded message queue When the levels are the same, the oldest message stored in the folded message queue is discarded, and a message is stored in the folded message queue.
  • the method further includes: when the popularity state is switched from the first state to the second state, scrolling and displaying a plurality of messages belonging to the first type and the second type on the public screen of the virtual live broadcast room; wherein, The heat of the first state is greater than the heat of the second state.
  • scrolling and displaying a plurality of messages belonging to the first type and the second type on the public screen of the virtual live broadcast room includes: obtaining the second message from the default message queue, wherein the default message queue stores the messages from All types of messages received by the server; stop displaying the message at the top of the public screen, scroll up the message at the middle of the public screen, and display the second message at the bottom of the public screen, so that the public screen will display the second message at the bottom of the public screen The message scrolling display.
  • determining the popularity status of the virtual live broadcast room includes: determining the popularity status based on the total number of messages in the public screen received from the server within the second preset time period.
  • the first type includes: the comment message input by the user in the virtual live broadcast room;
  • the second type includes: the user's gift notification message in the virtual live broadcast room, the user's like notification message in the virtual live broadcast room, The attention notification message of the live account corresponding to the user following the virtual live broadcast room, the sharing notification message of the user sharing the virtual live broadcast room, and the entry notification message of the user entering the virtual live broadcast room.
  • the present disclosure provides a message display device for a virtual live broadcast room, including: a determination module, used to determine the popularity state of the virtual live broadcast room; A plurality of messages belonging to the first type are scrolled and displayed in the first area of the public screen in the virtual live room, and a message of the second type is scrolled in the second area of the public screen in the virtual live broadcast room; wherein, the first area and the second The two regions do not overlap or partially overlap, and the first type is different from the second type.
  • the display module is specifically configured to obtain the first message of the first type from the default message queue, where all types of messages received from the server are stored in the default message queue; it will be located in the first area Stop displaying the messages at the top of the first area, scroll up the messages located in the middle of the first area, and display the first messages at the bottom of the first area, so that the messages in the first area are scrolled and displayed.
  • the display module is specifically configured to acquire a new message from the folded message queue, wherein messages of the second type are stored in the folded message queue; displaying a message currently displayed in the second area When the duration exceeds the first preset duration, the display of a message currently displayed in the second area is stopped, and a new message is displayed in the second area, so that the messages in the second area are scrolled and displayed.
  • the display module is further configured to discard a new message when the display duration of a message currently displayed in the second area does not exceed the first preset duration.
  • the apparatus further includes: a receiving module, configured to receive a message of the second type from the server; and a storage module, configured to store a message in the folded message queue.
  • the storage module is specifically configured to store a message in the folded message queue when the virtual live broadcast room is a game virtual live broadcast room and the total number of messages stored in the folded message queue is less than a preset threshold.
  • the storage module is specifically used for the total number of messages stored in the folded message queue to be greater than or equal to a preset threshold, and when the priorities of the messages stored in the folded message queue are different, the messages stored in the folded message queue A message with the lowest priority and the earliest time is discarded, and a message is stored in the folded message queue; or, the total number of messages stored in the folded message queue is greater than or equal to the preset threshold, and the number of messages stored in the folded message queue When the priorities are the same, the oldest message stored in the folded message queue is discarded, and a message is stored in the folded message queue.
  • the display module is also used to scroll and display multiple messages belonging to the first type and the second type on the public screen of the virtual live broadcast room when the popularity state is switched from the first state to the second state; wherein , the heat of the first state is greater than the heat of the second state.
  • the display module is specifically configured to obtain the second message from the default message queue, wherein the default message queue stores all types of messages received from the server; stop displaying the messages at the top of the public screen , the message located in the middle of the public screen is scrolled upwards, and the second message is displayed at the bottom of the public screen, so that the messages in the public screen are scrolled and displayed.
  • the determining module is specifically configured to determine the popularity status based on the total number of messages in the public screen received from the server within the second preset time period.
  • the first type includes: the comment message input by the user in the virtual live broadcast room;
  • the second type includes: the user's gift notification message in the virtual live broadcast room, the user's like notification message in the virtual live broadcast room, The attention notification message of the live account corresponding to the user following the virtual live broadcast room, the sharing notification message of the user sharing the virtual live broadcast room, and the entry notification message of the user entering the virtual live broadcast room.
  • the present disclosure provides an electronic device, including: a memory and a processor; the memory is used to store program instructions; the processor is used to call the program instructions in the memory so that the electronic device executes any one of the first aspect and the first aspect The message display method of the virtual live broadcast room in the possible design.
  • the present disclosure provides a computer storage medium, including computer instructions.
  • the computer instructions When the computer instructions are run on the electronic device, the electronic device executes the virtual live broadcast room in any possible design of the first aspect and the first aspect.
  • the message display method When the computer instructions are run on the electronic device, the electronic device executes the virtual live broadcast room in any possible design of the first aspect and the first aspect.
  • the message display method When the computer instructions are run on the electronic device, the electronic device executes the virtual live broadcast room in any possible design of the first aspect and the first aspect.
  • the present disclosure provides a computer program product, which, when the computer program product is run on a computer, enables the computer to execute the message presentation method in the virtual live broadcast room in any possible design of the first aspect and the first aspect.
  • the present disclosure provides a chip system, which includes: a processor; when the processor executes the computer instructions stored in the memory, the electronic device executes any of the possible designs of the first aspect and the first aspect A message display method in a virtual live broadcast room.
  • FIG. 1 is a schematic flowchart of a method for displaying messages in a virtual live broadcast room provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a method for displaying messages in a virtual live broadcast room provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of a method for displaying messages in a virtual live broadcast room provided by an embodiment of the present disclosure
  • FIG. 4 is a working principle diagram of a message display method in a virtual live broadcast room provided by an embodiment of the present disclosure
  • FIG. 5 is a schematic flowchart of a method for displaying messages in a virtual live broadcast room provided by an embodiment of the present disclosure
  • 6A-6D are schematic diagrams of human-computer interaction interfaces provided by embodiments of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a message display device in a virtual live broadcast room provided by an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a message display device for a virtual live broadcast room provided by an embodiment of the present disclosure.
  • the present disclosure provides a method, device, device, computer storage medium and computer program product for displaying messages in a virtual live broadcast room.
  • a virtual live broadcast room with high popularity different messages are displayed from the perspective of user value.
  • Type distinction scrolling and displaying multiple messages of one type on the public screen of the virtual live broadcast room, giving high-value news more exposure opportunities, scrolling and displaying a message of another type on the public screen of the virtual live broadcast room, The exposure chance of low-value news is reduced, thereby effectively guaranteeing the user's viewing experience and comment interaction experience.
  • the message presentation method in the virtual live broadcast room of the present disclosure is executed by an electronic device or a live broadcast application program (Application, APP), webpage, or official account in the electronic device.
  • the electronic device can be a tablet computer, a mobile phone, a wearable device, an in-vehicle device, an augmented reality (AR)/virtual reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC) ), netbooks, personal digital assistants (personal digital assistants, PDAs), smart TVs, smart screens, high-definition TVs, 4K TVs, smart speakers, smart projectors and other devices, this disclosure does not impose any restrictions on the specific types of electronic devices.
  • a virtual live broadcast room with high popularity is referred to as a high-heat virtual live broadcast room for short, which can be defined as the total number of messages received on the public screen in a unit time (such as 1 second) exceeding the preset number (such as 10).
  • the heat status of the high-heat virtual live broadcast room is a high-heat state.
  • virtual live broadcast rooms other than high-heat virtual live broadcast rooms are referred to as ordinary virtual live broadcast rooms.
  • the popularity status of the ordinary virtual live broadcast room is normal.
  • the common virtual live broadcast room and the high-heat virtual live broadcast room can be converted to each other.
  • the ordinary virtual live broadcast room becomes a high-heat virtual live broadcast room.
  • the high-heat virtual live broadcast room becomes an ordinary virtual live broadcast room.
  • the public screen (referred to as the public screen for short) is an area used to display various types of news in the virtual live broadcast room.
  • the public screen is different from the live broadcast area.
  • the live broadcast area is an area used to display live images in the virtual live broadcast room.
  • the virtual live broadcast room can also include: animation area, which is used in the virtual live broadcast room to display the special effects of the entry animation of the user entering the virtual live The area for gift-giving animation special effects and so on.
  • the types of messages displayed on the public screen may include, but are not limited to: comment messages entered by users in the virtual live broadcast room, gift notification messages sent by users in the virtual live broadcast room, and like notification messages received by users in the virtual live broadcast room , the attention notification message of the live account corresponding to the user following the virtual live broadcast room, the sharing notification message of the user sharing the virtual live broadcast room, and the entry notification message of the user entering the virtual live broadcast room.
  • the priority of the message may include: first level, second level and third level; the priority of the first level is higher than the priority of the second level, and the priority of the second level is higher than the third level Priority of Levels
  • Messages in the first level may include: comment messages.
  • the messages in the second level may include: notification messages for giving gifts, notification messages for likes, notification messages for following, and notification messages for sharing.
  • Messages in the third level may include: approach notification messages.
  • messages of the present disclosure may be divided into high priority messages and low priority messages.
  • the high-priority messages mentioned in this disclosure refer to the messages in the first level
  • the low-priority messages refer to the messages in the second and third levels.
  • Normal display that is, each message is displayed normally on the public screen and scrolls up.
  • Folded display That is, only one message is occupied at the bottom of the public screen, so that the message is "folded" and displayed in turn, avoiding rapid scrolling and display of messages on the public screen.
  • messages in the second and third levels are displayed in a collapsible manner.
  • Discard without display that is, directly discard this message and not display it on the public screen.
  • messages in the third level may be discarded and not displayed.
  • the messages in the second level may be discarded and not displayed.
  • Message queue It is a "first in, first out" message structure. Messages generally enter the queue from the tail of the queue and exit from the head of the queue.
  • the message queues in the present disclosure may include: a default message queue and a collapsed message queue. All types of messages are stored in the default message queue. The folded display and discarded messages that are not displayed are stored in the folded message queue.
  • the default message queue and folded message queue can be stored in the electronic device or in the live APP, web page, official account in the electronic device, or in the server, which is not limited in the present disclosure.
  • the present disclosure will take a live APP in an electronic device as an example in an embodiment, and describe the message display method of a virtual live broadcast room provided by the present disclosure in detail in combination with the accompanying drawings and application scenarios.
  • FIG. 1 is a schematic flowchart of a method for displaying messages in a virtual live broadcast room provided by an embodiment of the present disclosure.
  • the message presentation method of the virtual live broadcast room provided by the present disclosure may include:
  • the live broadcast APP can determine the popularity status of the virtual live broadcast room in real time, periodically or irregularly, so as to determine and select the message display strategy in the public screen of the virtual live broadcast room.
  • the present disclosure does not limit the specific implementation manner of determining the popularity status of the live broadcast APP.
  • the live APP can determine the popularity status based on the total number of messages in the public screen received from the server within the second preset time period.
  • the specific size of the second preset duration can be set according to the actual situation, such as 1 second.
  • the live broadcast APP can determine that the virtual live broadcast room is a hot virtual live broadcast room, and the popularity state of the virtual live broadcast room is the first state (ie, high heat state).
  • the live APP can determine that the virtual live room is a normal virtual live room, and the popularity state of the virtual live room is the second state (ie, the normal state).
  • the specific size of the preset quantity can be set according to the actual situation, such as 10 pieces.
  • the live APP After the live APP determines that the popularity state of the virtual live broadcast room is the first state, it can determine that the virtual live broadcast room has become a hot live broadcast room. At this time, the live broadcast APP needs to display the news in the public screen of the virtual live broadcast room by region.
  • the live broadcast APP divides the public screen of the virtual live broadcast room into a first area and a second area.
  • the first area and the second area may not overlap or partially overlap.
  • the first area and the second area do not overlap, the first area and the second area are separated, for example, the sum of the areas of the first area and the second area is the public screen of the virtual live broadcast room.
  • the first area and the second area partially overlap, the first area and the second area are not separated, for example, the first area can be the public screen of the virtual live room, and the second area is a part of the public screen of the virtual live room .
  • the second area can be set at the bottom of the public screen of the virtual live broadcast room.
  • the live APP can configure the messages in the first area to belong to the first type, and configure the messages in the second area to belong to the second type. Wherein, the first type is different from the second type.
  • the first type may include: comment messages.
  • the second type may include: a gift notification message, a like notification message, a follow notification message, a sharing notification message, and an entry notification message.
  • the present disclosure may set the priority of the first type higher than that of the second type, so as to display more high-priority messages.
  • messages belonging to the first type may include one or more priorities
  • messages belonging to the second type may include one or more priorities.
  • the first area can be used to display high priority messages
  • the second area can be used to display low priority messages
  • the area of the first area can be larger than the area of the second area to give high priority messages more Many display opportunities.
  • the live APP can scroll and display multiple messages belonging to the first type in the first area of the public screen, which is conducive to giving more opportunities to display high-priority messages, and the scrolling display in the second area of the public screen belongs to A message of the second type is beneficial to reduce the chance of displaying priority messages.
  • the message presentation method of the virtual live broadcast room determines the popularity state of the virtual live broadcast room.
  • the popularity state is the first state
  • a plurality of messages belonging to the first type are scrolled and displayed in the first area of the public screen of the virtual live broadcast room
  • a plurality of messages belonging to the second type are scrolled and displayed in the second area of the public screen of the virtual live broadcast room.
  • a message of type wherein, the first area and the second area do not overlap or partially overlap, and the first type is different from the second type.
  • the public screen in the virtual live broadcast room (referred to as the public screen) is mixed with various types of messages, making it difficult for users to extract effective information from the public screen, and users cannot carefully read the comment messages on the public screen , resulting in the inability of users to perform effective real-time interaction, it is easy to give users a feeling of confusion and too fast screen swiping, which reduces the user's interactive experience of real-time interaction when watching webcast.
  • the live broadcast APP may scroll and display multiple messages belonging to the first type in the first area of the public screen in various ways.
  • FIG. 2 is a schematic flowchart of a method for displaying messages in a virtual live broadcast room provided by an embodiment of the present disclosure.
  • the message presentation method of the virtual live broadcast room provided by the present disclosure may include:
  • the live APP may select messages belonging to the first type from the default message queue, so as to obtain the first message belonging to the first type.
  • the first message may be one or more messages, specifically based on the scrolling frequency or display duration of the messages in the first area.
  • the default message queue can be stored in the live broadcast APP, or in an electronic device, or in a server, which is not limited in the present disclosure.
  • the messages in the default message queue are first-in-first-out, that is, the live APP usually obtains messages from the head of the default message queue.
  • the live APP can refresh the news currently displayed in the first area.
  • the live broadcast APP can scroll up the messages currently displayed in the first area, so that the messages at the top of the first area stop displaying, and the messages at the middle of the first area continue to be displayed, so as to leave the bottom of the first area to display the a message.
  • the display area of the message to be displayed is substantially the same as the display area of the first message.
  • the present disclosure is not limited to scrolling the messages displayed in the first area in other ways than scrolling up the display.
  • the live broadcast APP can scroll and display the news in the first area.
  • step S102 of the embodiment in FIG. 1 the live broadcast APP can scroll and display a message belonging to the second type in the second area of the public screen in various ways.
  • FIG. 3 is a schematic flowchart of a method for displaying messages in a virtual live broadcast room provided by an embodiment of the present disclosure.
  • the message presentation method of the virtual live broadcast room provided by the present disclosure may include:
  • the folding message queue includes messages of the second type. Therefore, the live APP can obtain a new message from the collapsed message queue.
  • the folded message queue may be stored in the live broadcast APP, or in an electronic device, or in a server, which is not limited in the present disclosure.
  • the messages in the folded message queue are first-in-first-out, that is, the live APP usually obtains messages from the head of the folded message queue.
  • S302. Determine whether the display duration of a message currently displayed in the second area exceeds a first preset duration.
  • the specific size of the first preset duration can be set according to the actual situation, such as 0.5 seconds.
  • the live APP can execute step S3031; when the display duration of a message currently displayed in the second area does not exceed the first preset duration, The live APP can execute step S3032.
  • the live APP may refresh the message currently displayed in the second area.
  • the live broadcast APP can scroll up a message currently displayed in the second area, so that the display of a message currently displayed in the second area stops, so as to leave the second area for displaying a new message.
  • the present disclosure is not limited to scrolling and displaying a message in the second area in other ways except scrolling upward.
  • the live broadcast APP can scroll and display the messages in the second area.
  • the live broadcast APP may receive a message belonging to the second type from the server, and store a message in the folded message queue.
  • the virtual live broadcast room can be divided into a game virtual live broadcast room and a video virtual live broadcast room.
  • the game virtual live broadcast room is a virtual live broadcast room related to the game such as explaining how to play the game or live broadcasting the game process.
  • Video virtual live broadcast rooms are other virtual live broadcast rooms except game virtual live broadcast rooms, such as shopping virtual live broadcast rooms, chat virtual live broadcast rooms, voice virtual live broadcast rooms, and music virtual live broadcast rooms.
  • the live APP can directly store a message in the folded message queue. After receiving a message belonging to the second type in the video virtual live broadcast room, the live APP needs to judge whether the total number of messages stored in the folded message queue is less than a preset threshold.
  • the live APP can store a message in the folded message queue.
  • the live APP can discard the messages stored in the folded message queue to store the latest obtained message. In this way, the live APP can determine whether the priorities of the messages stored in the folded message queue are different.
  • the live APP may discard a message with the lowest priority and the earliest time stored in the folded message queue, and store a message in the folded message queue.
  • the live APP can discard the earliest message stored in the folded message queue, and store a message in the folded message queue.
  • FIG. 4 is a working principle diagram of a method for displaying messages in a virtual live broadcast room provided by an embodiment of the present disclosure.
  • the default message queue includes 8 messages, including: message 1, message 2, message 3, message 4, message 5, message 6, message 7 and message 8 according to the time sequence of entering the queue.
  • the messages in the first level include: message 1 and message 5 .
  • Messages in the second level include: message 2, message 4, message 6, message 7 and message 8.
  • Messages in the third level include: Message 3.
  • the default message queue includes various types of messages (such as high and low, messages in the second level and third level), corresponding to the default message queue in Figure 2.
  • the folded message queue includes 4 messages, which include: message 2, message 3, message 4, and message 6 in sequence according to the time sequence of entering the queue.
  • the messages in the second level include: message 2, message 4 and message 6.
  • Messages in the third level include: Message 3. And message 1 and message 5 will not be enqueued to the collapsed message queue.
  • the folded message queue includes messages belonging to the second type (such as messages in the second level and the third level), corresponding to the folded message queue in FIG. 3 .
  • the preset threshold is set to 4, which are message 2, message 3, message 4, and message 6 respectively. Since the messages stored in the folded message queue The total number of messages is 4, and the messages stored in the folded message queue have message 3 in the third level. Therefore, message 3 can be discarded, so that message 7 can be enqueued into the folded message queue, corresponding to the above-mentioned discarding and folding The lowest priority and oldest message stored in the message queue.
  • the preset threshold is set to 4, which are message 2, message 4, message 6, and message 7 respectively. Since the messages stored in the folded message queue The total number of messages is 4, and there are no messages stored in the folded message queue in the third level. Therefore, message 2 with the earliest time can be discarded sequentially, so that message 8 can be enqueued into the folded message queue, corresponding to the above mentioned Promptly discard the oldest message stored in the folded message queue.
  • Message 1 and Message 5 are normally displayed in the first area of the public screen after being acquired by the live broadcast APP; Message 2 and Message 3 can be discarded and not displayed; Folding display in the second area, message 5, message 6, message 7 and message 8 can wait for message 4 to be displayed for the first preset time, wait for the live APP to obtain it, and then perform folding display in sequence.
  • the heat state of a virtual live broadcast room is random, and can be switched between normal state and high heat state.
  • virtual live broadcast rooms in different hot states can have different message display strategies, so as to adapt to the actual needs in the hot state.
  • FIG. 5 is a schematic flowchart of a method for displaying messages in a virtual live broadcast room provided by an embodiment of the present disclosure.
  • the message presentation method of the virtual live broadcast room provided by the present disclosure may include:
  • first area and the second area do not overlap or partially overlap, and the first type is different from the second type.
  • steps S401 and S402 are implemented in a manner similar to that of S101 and S102 in the embodiment of FIG. 1 , and will not be repeated here in the present disclosure.
  • the live broadcast APP determines the popularity status of the virtual live broadcast room in real time or periodically or irregularly during the live broadcast of the virtual live broadcast room. Therefore, after the live broadcast APP determines that the popularity state of the virtual live broadcast room has switched from the first state to the second state, it can determine that the virtual live broadcast room has changed from a hot live broadcast room to an ordinary live broadcast room. Wherein, the heat degree of the first state is greater than the heat degree of the second state.
  • the live broadcast APP does not need to continue to display the news in the public screen of the virtual live broadcast room by region, but can display various types of news on the public screen of the virtual live broadcast room.
  • the live broadcast APP can scroll and display multiple messages belonging to the first type and the second type (that is, all types of messages) on the public screen of the virtual live broadcast room, which is conducive to the complete display of each message. type of message.
  • the live broadcast APP can obtain the second message from the default message queue in chronological order.
  • the second message may include one or more messages, specifically based on the scrolling frequency or display duration of the messages in the public screen.
  • the live APP can refresh the message currently displayed on the public screen.
  • the live broadcast APP can scroll up the messages currently displayed in the public screen, so that the messages at the top of the public screen stop displaying, and the messages in the middle of the public screen continue to be displayed, so as to leave the bottom of the public screen to display the second message.
  • the display area of the message that is stopped to be displayed is substantially the same as the display area of the second message.
  • the present disclosure is not limited to scrolling the messages displayed in the public screen in other ways than scrolling up the display.
  • the live broadcast app can scroll through the messages displayed on the public screen.
  • FIG. 6A-FIG. 6D are schematic diagrams of human-computer interaction interfaces provided by embodiments of the present disclosure.
  • the electronic device is a mobile phone
  • the live APP installed in the mobile phone is a short video social APP (Application 1 for short) as an example.
  • application 1 After application 1 detects that the popularity state of a virtual live broadcast room is the first state, it can display the user interface 10 exemplarily shown in FIG. 6A on the mobile phone.
  • the user interface 10 is used to display that a popularity state in application 1 is the first State of the virtual live broadcast room.
  • the user interface 10 may include: a status area 101 , a live broadcast area 102 , an animation area 103 , a public screen 104 and a control area 105 .
  • the status area 101 is used to display status information such as the account number and the number of likes of the virtual live broadcast room.
  • the status area can also be used for entering into other virtual live broadcast rooms and notification information of other virtual live broadcast rooms.
  • the live broadcast area 102 is used for displaying live broadcast images.
  • the animation area 103 is used to display animation special effects such as entering the scene and giving gifts.
  • the animation area 103 may not overlap or partially overlap with the live broadcast area 102 .
  • the animation area 103 may not overlap or partially overlap with the public screen 104 .
  • the public screen 104 is used to display various types of messages.
  • the public screen 104 may include a first area 1041 and a second area 1042 .
  • the first area 1041 is used to scroll and display a plurality of messages of the first type (such as comment messages), and the second area 1042 is used to scroll and display a message of the second type (such as an entry notification message).
  • control area 105 is used to provide users with access to input comment information, share, like, send gifts, follow, etc.
  • control area 105 may include an input box and a plurality of controls.
  • the first area 1041 displays 9 comment messages
  • the second area 1042 displays 1 entry notification message (in FIG. 6A , the display “user 10 nickname: coming” is used as an example).
  • application 1 After application 1 acquires a new message belonging to the first type and a new message belonging to the second type, application 1 may display a new message belonging to the first type in the first area 1042 exemplarily shown in FIG. 6B . message, and a new message belonging to the second type as exemplarily shown in FIG. 6B is displayed on the second area 1042 .
  • FIG. 6B the messages in the first area 1041 are scrolled upwards, and the first area 1041 still shows 9 comment messages, and 1 message in the first area 1041 (shown in FIG. 6A as "User 1 nickname: "good card” for example) stops displaying, the remaining 8 messages in the first area 1041 scroll up, and 1 new comment message (showing "user 10 nickname: really nice” for example in Figure 6B) is displayed on the second In an area 1041 .
  • the previous entry notification message in the second area 1042 is replaced with a new entry notification message (in FIG. 6B, the display of "user 11 nickname: coming" is used as an example).
  • application 1 may display a new message of the second type in the second area 1042 exemplarily shown in FIG. 6C .
  • the first area 1041 still displays 9 comment messages, and the messages in the first area 1041 are not refreshed.
  • the previous entry notification message in the second area 1042 is replaced with a new entry notification message (in FIG. 6C , the display "user 12 nickname: coming" is used as an example to illustrate).
  • the present disclosure includes but is not limited to scrolling and displaying a plurality of messages belonging to the first type in the first area and scrolling displaying a message belonging to the second type in the second area in the embodiment of FIGS. 6A-6C . How the message is implemented.
  • application 1 After application 1 detects that the popularity state of the virtual live broadcast room has switched from the first state to the second state, after application 1 obtains a new message belonging to the second type and a new message belonging to the first type, it can A new message belonging to the second type and a new message belonging to the first type as exemplarily shown in FIG. 6D are sequentially displayed on the public screen 104 .
  • FIG. 6D the messages in the public screen 104 (here referred to as the first area 1041) are scrolled upwards, and the public screen 104 still shows 8 comment messages in the first area 1041, and the messages in the first area 1041 1 message (in FIG. 6C is illustrated by showing "user 2 nickname: like it" for example) stops displaying, the remaining 8 messages in the first area 1041 scroll up, and 1 new entry notification message (in FIG. 6D Take the display of "user 13 nickname: coming" as an example) and 1 new comment message (in FIG.
  • the present disclosure provides a message display device for a virtual live broadcast room.
  • Fig. 7 is a schematic structural diagram of a message display device in a virtual live broadcast room provided by an embodiment of the present disclosure.
  • the message display device of the virtual live broadcast room of the present disclosure can be set in an electronic device, and can realize the message display method of the virtual live broadcast room in the above-mentioned embodiment of FIG. 1 to FIG. 6D corresponding to the operation of the live broadcast APP.
  • the device 100 for displaying messages in a virtual live broadcast room may include: a determination module 101 and a display module 102 .
  • Determining module 101 for determining the popularity state of virtual live broadcast room
  • the display module 102 is configured to scroll and display multiple messages of the first type in the first area of the public screen in the virtual live broadcast room when the popularity state is the first state, and scroll and display a plurality of messages belonging to the first type in the second area of the public screen in the virtual live broadcast room A message belonging to the second type is scrolled in ;
  • first area and the second area do not overlap or partially overlap, and the first type is different from the second type.
  • the presentation module 102 is specifically configured to acquire the first message of the first type from the default message queue, where all types of messages received from the server are stored in the default message queue; Stop displaying the messages at the top of the area, scroll up the messages located in the middle of the first area, and display the first messages at the bottom of the first area, so that the messages in the first area are scrolled and displayed.
  • the display module 102 is specifically configured to obtain a new message from the folded message queue, wherein the folded message queue stores messages of the second type; When the display duration exceeds the first preset duration, the display of a message currently displayed in the second area is stopped, and a new message is displayed in the second area, so that the messages in the second area are scrolled and displayed.
  • the display module 102 is further configured to discard a new message when the display duration of a message currently displayed in the second area does not exceed the first preset duration.
  • FIG. 8 is a schematic structural diagram of a message display device in a virtual live broadcast room provided by an embodiment of the present disclosure.
  • the message presentation device 100 of the virtual live broadcast room provided by the present disclosure may further include: a receiving module 103 and a storage module 104 .
  • a receiving module 103 configured to receive a message belonging to the second type from the server
  • the storage module 104 is configured to store a message in the collapsed message queue.
  • the storage module 104 is specifically configured to store a message in the folded message queue when the virtual live broadcast room is a game virtual live broadcast room and the total number of messages stored in the folded message queue is less than a preset threshold.
  • the storage module 104 is specifically configured to store the total number of messages in the folded message queue greater than or equal to a preset threshold, and when the priorities of the messages stored in the folded message queue are different, store the messages stored in the folded message queue The message with the lowest priority and the earliest time is discarded, and a message is stored in the collapsed message queue;
  • the oldest message stored in the folded message queue is discarded, and a Messages are stored in a collapsed message queue.
  • the display module 102 is also used to scroll and display multiple messages belonging to the first type and the second type on the public screen of the virtual live broadcast room when the popularity state is switched from the first state to the second state; Wherein, the heat degree of the first state is greater than the heat degree of the second state.
  • the display module 102 is specifically configured to obtain the second message from the default message queue, wherein, the default message queue stores all types of messages received from the server; stop the message at the top of the public screen displaying, scrolling and displaying the message located in the middle of the public screen upwards, and displaying the second message at the bottom of the public screen, so that the messages in the public screen are scrolled and displayed.
  • the determining module 101 is specifically configured to determine the popularity status based on the total number of messages in the public screen received from the server within the second preset time period.
  • the first type includes: the comment message input by the user in the virtual live broadcast room;
  • the second type includes: the user's gift notification message in the virtual live broadcast room, the user's like notification message in the virtual live broadcast room, The attention notification message of the live account corresponding to the user following the virtual live broadcast room, the sharing notification message of the user sharing the virtual live broadcast room, and the entry notification message of the user entering the virtual live broadcast room.
  • the message display device in the virtual live broadcast room provided by the present disclosure can execute the above-mentioned method embodiments, and its specific implementation principles and technical effects can be referred to the above-mentioned method embodiments, and the present disclosure will not repeat them here.
  • the functional modules of the message display device in the virtual live broadcast room can be divided according to the above-mentioned method examples.
  • each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in each embodiment of the present disclosure is schematic, and is only a logical function division, and there may be another division manner in actual implementation.
  • the present disclosure provides an electronic device comprising: one or more processors; memory; and one or more computer programs; wherein the one or more computer programs are stored in the memory; one or more processors When one or more computer programs are executed, the electronic device is made to implement the method for displaying messages in the virtual live broadcast room of the foregoing embodiments.
  • the present disclosure provides a chip system, which is applied to an electronic device including a memory and a sensor; the chip system includes: a processor; when the processor executes the method for displaying messages in a virtual live broadcast room in the foregoing embodiments.
  • the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to enable an electronic device to implement the method for displaying messages in a virtual live broadcast room in the foregoing embodiments.
  • the present disclosure provides a computer program product.
  • the computer program product runs on a computer
  • the computer executes the method for displaying messages in a virtual live broadcast room in the foregoing embodiments.
  • all or part of the functions may be implemented by software, hardware, or a combination of software and hardware.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • a computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present disclosure are produced in whole or in part.
  • a computer can be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • Computer instructions may be stored on a computer readable storage medium.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media. Available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, solid state disk (solid state disk, SSD)) and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请实施例公开了一种虚拟直播间的消息展示方法、装置和设备,该方法包括:确定虚拟直播间的热度状态。在热度状态为第一状态时,在虚拟直播间的公共屏幕的第一区域中滚动展示属于第一类型的多条消息,且在虚拟直播间的公共屏幕的第二区域中滚动展示属于第二类型的一条消息。

Description

虚拟直播间的消息展示方法、装置和设备
相关申请的交叉引用
本申请要求于2021年05月20日提交的,申请号为202110552323.1、发明名称为“虚拟直播间的消息展示方法、装置和设备”的中国专利申请的优先权,该申请的全文通过引用结合在本申请中。
技术领域
本公开涉及互联网直播技术领域,尤其涉及一种虚拟直播间的消息展示方法、装置和设备。
背景技术
随着互联网技术的不断发展,网络直播应运而生,为用户提供了丰富多彩的娱乐生活。通过网络直播,可实现多方异地的实时互动,一般会为不同的网络直播分配不同的接入地址(或称为链接地址),简称虚拟直播间。从而,用户可进入到虚拟直播间中进行观看和互动。
发明内容
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种虚拟直播间的消息展示方法、装置和设备。
第一方面,本公开提供了一种虚拟直播间的消息展示方法,包括: 确定虚拟直播间的热度状态;在热度状态为第一状态时,在虚拟直播间的公共屏幕的第一区域中滚动展示属于第一类型的多条消息,且在虚拟直播间的公共屏幕的第二区域中滚动展示属于第二类型的一条消息;其中,第一区域和第二区域不重叠或部分重叠,第一类型与第二类型不同。
在一些实施例中,在虚拟直播间的公共屏幕的第一区域中滚动展示属于第一类型的多条消息,包括:从默认消息队列中获取属于第一类型的第一消息,其中,默认消息队列中存储有从服务器接收到的全部类型的消息;将位于第一区域的顶部的消息停止显示,将位于第一区域的中部的消息向上滚动显示,且将第一消息显示在第一区域的底部,以使在第一区域中的消息滚动展示。
在一些实施例中,在虚拟直播间的公共屏幕的第二区域中滚动展示属于第二类型的一条消息,包括:从折叠消息队列中获取一条新的消息,其中,折叠消息队列中存储有属于第二类型的消息;在第二区域中当前展示的一条消息的显示时长超过第一预设时长时,将在第二区域中当前展示的一条消息停止显示,并在第二区域中显示一条新的消息,以使在第二区域中的消息滚动展示。
在一些实施例中,该方法还包括:在第二区域中当前展示的一条消息的显示时长未超过第一预设时长时,将一条新的消息丢弃。
在一些实施例中,该方法还包括:从服务器接收属于第二类型的一条消息;将一条消息存储在折叠消息队列中。
在一些实施例中,在虚拟直播间为游戏虚拟直播间时,将一条消 息存储在折叠消息队列中,包括:在折叠消息队列中存储的消息的总数小于预设阈值时,将一条消息存储在折叠消息队列中。
在一些实施例中,该方法还包括:在折叠消息队列中存储的消息的总数大于等于预设阈值,且在折叠消息队列中存储的消息的优先级不同时,将折叠消息队列中存储的优先级最低且时间最早的一条消息丢弃,并将一条消息存储在折叠消息队列中;或者,在折叠消息队列中存储的消息的总数大于等于预设阈值,且在折叠消息队列中存储的消息的优先级相同时,将折叠消息队列中存储的时间最早的一条消息丢弃,并将一条消息存储在折叠消息队列中。
在一些实施例中,该方法还包括:在热度状态从第一状态切换为第二状态时,在虚拟直播间的公共屏幕中滚动展示属于第一类型和第二类型的多条消息;其中,第一状态的热度大于第二状态的热度。
在一些实施例中,在虚拟直播间的公共屏幕中滚动展示属于第一类型和第二类型的多条消息,包括:从默认消息队列中获取第二消息,其中,默认消息队列中存储有从服务器接收到的全部类型的消息;将位于公共屏幕的顶部的消息停止显示,将位于公共屏幕的中部的消息向上滚动显示,且将第二消息显示在公共屏幕的底部,以使在公共屏幕中的消息滚动展示。
在一些实施例中,确定虚拟直播间的热度状态,包括:基于第二预设时长内从服务器接收到的在公共屏幕中的消息的总数,确定热度状态。
在一些实施例中,第一类型包括:用户在虚拟直播间中输入的评 论消息;第二类型包括:用户在虚拟直播间中的送礼通知消息、用户在虚拟直播间中的点赞通知消息、用户关注虚拟直播间对应的直播账号的关注通知消息、用户分享虚拟直播间的分享通知消息以及用户进入到虚拟直播间的进场通知消息。
第二方面,本公开提供了一种虚拟直播间的消息展示装置,包括:确定模块,用于确定虚拟直播间的热度状态;展示模块,用于在热度状态为第一状态时,在虚拟直播间的公共屏幕的第一区域中滚动展示属于第一类型的多条消息,且在虚拟直播间的公共屏幕的第二区域中滚动展示属于第二类型的一条消息;其中,第一区域和第二区域不重叠或部分重叠,第一类型与第二类型不同。
在一些实施例中,展示模块,具体用于从默认消息队列中获取属于第一类型的第一消息,其中,默认消息队列中存储有从服务器接收到的全部类型的消息;将位于第一区域的顶部的消息停止显示,将位于第一区域的中部的消息向上滚动显示,且将第一消息显示在第一区域的底部,以使在第一区域中的消息滚动展示。
在一些实施例中,展示模块,具体用于从折叠消息队列中获取一条新的消息,其中,折叠消息队列中存储有属于第二类型的消息;在第二区域中当前展示的一条消息的显示时长超过第一预设时长时,将在第二区域中当前展示的一条消息停止显示,并在第二区域中显示一条新的消息,以使在第二区域中的消息滚动展示。
在一些实施例中,展示模块,还用于在第二区域中当前展示的一条消息的显示时长未超过第一预设时长时,将一条新的消息丢弃。
在一些实施例中,该装置还包括:接收模块,用于从服务器接收属于第二类型的一条消息;存储模块,用于将一条消息存储在折叠消息队列中。
在一些实施例中,存储模块,具体用于在虚拟直播间为游戏虚拟直播间,且在折叠消息队列中存储的消息的总数小于预设阈值时,将一条消息存储在折叠消息队列中。
在一些实施例中,存储模块,具体用于在折叠消息队列中存储的消息的总数大于等于预设阈值,且在折叠消息队列中存储的消息的优先级不同时,将折叠消息队列中存储的优先级最低且时间最早的一条消息丢弃,并将一条消息存储在折叠消息队列中;或者,在折叠消息队列中存储的消息的总数大于等于预设阈值,且在折叠消息队列中存储的消息的优先级相同时,将折叠消息队列中存储的时间最早的一条消息丢弃,并将一条消息存储在折叠消息队列中。
在一些实施例中,展示模块,还用于在热度状态从第一状态切换为第二状态时,在虚拟直播间的公共屏幕中滚动展示属于第一类型和第二类型的多条消息;其中,第一状态的热度大于第二状态的热度。
在一些实施例中,展示模块,具体用于从默认消息队列中获取第二消息,其中,默认消息队列中存储有从服务器接收到的全部类型的消息;将位于公共屏幕的顶部的消息停止显示,将位于公共屏幕的中部的消息向上滚动显示,且将第二消息显示在公共屏幕的底部,以使在公共屏幕中的消息滚动展示。
在一些实施例中,确定模块,具体用于基于第二预设时长内从服 务器接收到的在公共屏幕中的消息的总数,确定热度状态。
在一些实施例中,第一类型包括:用户在虚拟直播间中输入的评论消息;第二类型包括:用户在虚拟直播间中的送礼通知消息、用户在虚拟直播间中的点赞通知消息、用户关注虚拟直播间对应的直播账号的关注通知消息、用户分享虚拟直播间的分享通知消息以及用户进入到虚拟直播间的进场通知消息。
上述第二方面以及上述第二方面的各可能的设计中所提供的虚拟直播间的消息展示装置,其有益效果可以参见上述第一方面和第一方面的各可能的实施方式所带来的有益效果,在此不再赘述。
第三方面,本公开提供了一种电子设备,包括:存储器和处理器;存储器用于存储程序指令;处理器用于调用存储器中的程序指令使得电子设备执行第一方面及第一方面任一种可能的设计中的虚拟直播间的消息展示方法。
第四方面,本公开提供了一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行第一方面及第一方面任一种可能的设计中的虚拟直播间的消息展示方法。
第五方面,本公开提供了一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行第一方面及第一方面任一种可能的设计中的虚拟直播间的消息展示方法。
第六方面,本公开提供了一种芯片***,芯片***包括:处理器;当处理器执行存储器中存储的计算机指令时,电子设备执行第一方面及第一方面任一种可能的设计中的虚拟直播间的消息展示方法。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例或相关技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例提供的虚拟直播间的消息展示方法的流程示意图;
图2为本公开实施例提供的虚拟直播间的消息展示方法的流程示意图;
图3为本公开实施例提供的虚拟直播间的消息展示方法的流程示意图;
图4为本公开实施例提供的虚拟直播间的消息展示方法的工作原理图;
图5为本公开实施例提供的虚拟直播间的消息展示方法的流程示意图;
图6A-图6D为本公开实施例提供的人机交互界面示意图;
图7为本公开实施例提供的虚拟直播间的消息展示装置的结构示意图;
图8为本公开实施例提供的虚拟直播间的消息展示装置的结构示意图。
具体实施方式
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。
示例性地,本公开提供一种虚拟直播间的消息展示方法、装置、设备、计算机存储介质以及计算机程序产品,针对热度高的虚拟直播间而言,从用户的价值层面出发,对不同消息进行类型区分,在虚拟直播间的公共屏幕中滚动展示一种类型的多条消息,给予了高价值消息更多的曝光机会,在虚拟直播间的公共屏幕中滚动展示另一种类型的一条消息,降低了低价值消息的曝光机会,从而有效保障了用户的观看体验和评论交互体验。
其中,本公开的虚拟直播间的消息展示方法由电子设备或电子设备中的直播应用程序(Application,APP)、网页、公众号来执行。电子设备可以是平板电脑、手机、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)、智能电视、智慧屏、高清电视、4K电视、智能音箱、智能投影仪等设备,本公开对电子设备的具体类型不作任何限制。
首先,下面对公开中的部分用语进行解释说明,以便于本领域技术人员理解。
1、热度高的虚拟直播间简称为高热虚拟直播间,可定义为单位时间内(如1秒)接收到的在公屏中的消息总数超过了预设数量(如10条)。此时,高热虚拟直播间的热度状态为高热状态。
另外,除了高热虚拟直播间之外的虚拟直播间简称为普通虚拟直播间。此时,普通虚拟直播间的热度状态为普通状态。
并且,普通虚拟直播间与高热虚拟直播间可相互转换。在普通虚拟直播间的热度状态变为高热状态后,普通虚拟直播间便成为了高热虚拟直播间。在高热虚拟直播间的热度状态变为普通状态后,高热虚拟直播间便成为了普通虚拟直播间。
2、公共屏幕(简称为公屏)是在虚拟直播间中用于展示各个类型的消息的区域。公屏与直播区域不同,直播区域是在虚拟直播间中用于展示直播画面的区域。另外,除了公屏和直播区域之外,虚拟直播间还可包括:动画区域,动画区域是在虚拟直播间中用于展示如用户进入到虚拟直播间的进场动画特效、用户在虚拟直播间中的送礼动画特效等的区域。
3、在公屏中展示的消息的类型可以包括但不限于:用户在虚拟直播间中输入的评论消息、用户在虚拟直播间中的送礼通知消息、用户在虚拟直播间中的点赞通知消息、用户关注虚拟直播间对应的直播账号的关注通知消息、用户分享虚拟直播间的分享通知消息以及用户进入到虚拟直播间的进场通知消息。
4、本公开中可通过优先级来划分消息的不同类型。在一些实施例中,消息的优先级可包括:第一级别、第二级别和第三级别;第一级别的优先级高于第二级别的优先级,第二级别的优先级高于第三级别的优先级第一级别中的消息可以包括:评论消息。第二级别中的消息可以包括:送礼通知消息、点赞通知消息、关注通知消息和分享通知消息。第三级别中的消息可以包括:进场通知消息。
另外,本公开的消息可划分为高优先级消息和低优先级消息。本公开提及的高优先级消息指的是第一级别中的消息,低优先级指的是第二级别和第三级别中的消息。
5、消息的展示方式可包括多种:
a、正常展示:即每条消息在公屏中正常展示且向上滚动。
b、折叠展示:即在公屏的底部只占据一条消息的位置,使得消息“折叠起来”进行轮流展示,避免造成消息在公屏中快速滚动展示。通常,第二级别和第三级别中的消息可折叠展示。
c、丢弃不展示:即直接丢弃此消息,在公屏中不予展示。通常,第三级别中的消息可丢弃不展示。在不存在第三级别中的消息时,第二级别中的消息可丢弃不展示。
6、消息队列:即一种“先进先出”的消息结构,消息一般从队尾入队,从队头出队。本公开中的消息队列可以包括:默认消息队列和折叠消息队列。默认消息队列中存储有全部类型的消息。折叠消息队列中存储有折叠展示和丢弃不展示的消息。
需要说明的是,默认消息队列和折叠消息队列可存储在在电子设 备或电子设备中的直播APP、网页、公众号中,也可存储在服务器中,本公开对此不做限定。
基于前述描述,本公开以实施例将以电子设备中的直播APP为例,结合附图和应用场景,对本公开提供的虚拟直播间的消息展示方法进行详细阐述。
请参阅图1,图1为本公开实施例提供的虚拟直播间的消息展示方法的流程示意图。如图1所示,本公开提供的虚拟直播间的消息展示方法可以包括:
S101、确定虚拟直播间的热度状态。
直播APP在一个虚拟直播间的直播过程中,可实时或周期性或不定时地确定出该虚拟直播间的热度状态,来确定选择该虚拟直播间的公共屏幕中的消息展示策略。
其中,本公开对直播APP确定热度状态的具体实现方式不做限定。
在一些实施例中,直播APP基于第二预设时长内从服务器接收到的在公共屏幕中的消息的总数,可确定热度状态。其中,第二预设时长的具体大小可根据实际情况进行设置,如1秒。
在公共屏幕中的消息的总数大于等于预设数量时,直播APP可确定该虚拟直播间为高热虚拟直播间,且该虚拟直播间的热度状态为第一状态(即高热状态)。
在公共屏幕中的消息的总数小于预设数量时,直播APP可确定该虚拟直播间为普通虚拟直播间,且该虚拟直播间的热度状态为第二 状态(即普通状态)。
其中,预设数量的具体大小可根据实际情况进行设置,如10条。
S102、在热度状态为第一状态时,在虚拟直播间的公共屏幕的第一区域中滚动展示属于第一类型的多条消息,且在虚拟直播间的公共屏幕的第二区域中滚动展示属于第二类型的一条消息。
直播APP在确定该虚拟直播间的热度状态为第一状态后,可确定该虚拟直播间变为高热直播间。此时,直播APP需要将该虚拟直播间的公共屏幕中的消息进行分区域展示。
一方面,直播APP将该虚拟直播间的公共屏幕划分为第一区域和第二区域。其中,第一区域和第二区域可不重叠或部分重叠。
在第一区域和第二区域不重叠时,第一区域和第二区域分离,如第一区域和第二区域的面积之和为该虚拟直播间的公共屏幕。在第一区域和第二区域部分重叠时,第一区域与第二区域不分离,如第一区域可为该虚拟直播间的公共屏幕,第二区域为该虚拟直播间的公共屏幕的部分区域。
其中,第二区域可设置在该虚拟直播间的公共屏幕的底部。
另一方面。直播APP可配置第一区域中的消息属于第一类型,且配置第二区域中的消息属于第二类型。其中,第一类型与第二类型不同。
在一些实施例中,第一类型可以包括:评论消息。第二类型可以包括:送礼通知消息、点赞通知消息、关注通知消息、分享通知消息以及进场通知消息。
另外,在通过优先级对不同类型的进行划分时,本公开可设置第一类型的优先级高于第二类型的优先级,以便显示更多高优先级的消息。并且,属于第一类型的消息可包括一个或者多个优先级,属于第二类型的消息可包括一个或者多个优先级。
在一些实施例中,第一区域可用于展示高优先级消息,第二区域可用于展示低优先级消息,因此,第一区域的面积可大于第二区域的面积,以便给予高优先级消息更多的展示机会。
综上,直播APP可在公共屏幕的第一区域中滚动展示属于第一类型的多条消息,有利于给予高优先级消息更多的展示机会,且在公共屏幕的第二区域中滚动展示属于第二类型的一条消息,有利于降低优先级消息的展示机会。
本公开提供的虚拟直播间的消息展示方法,通过确定虚拟直播间的热度状态。在热度状态为第一状态时,在虚拟直播间的公共屏幕的第一区域中滚动展示属于第一类型的多条消息,且在虚拟直播间的公共屏幕的第二区域中滚动展示属于第二类型的一条消息。其中,第一区域和第二区域不重叠或部分重叠,第一类型与第二类型不同。从而,在虚拟直播间的公共屏幕的不同区域中能够展示不同类型的消息,使得用户能够在虚拟直播间的公共屏幕中快速提取有效信息,避免了在虚拟直播间的公共屏幕中的消息量过大而导致刷屏过快现象,有效提升了用户观看网络直播时实时互动的交互体验。
对比来说,如果用户观看虚拟直播间的数量瞬时剧增,那么虚拟直播间的消息量瞬时可达百万甚至千万条。由于消息量很大,虚拟直 播间的公共屏幕(简称公屏)混杂了多种类型的消息,使得用户很难从公屏中提取有效信息,且用户也无法在公共屏幕中仔细看清评论消息,导致用户无法进行有效的实时互动,容易给用户带来一种混乱且刷屏过快的感受,降低了用户观看网络直播时实时互动的交互体验。
图1实施例的步骤S102中,直播APP可采用多种方式在公共屏幕的第一区域中滚动展示属于第一类型的多条消息。
下面,结合图2,具体介绍直播APP在虚拟直播间的公共屏幕的第一区域中滚动展示属于第一类型的多条消息的一种可行的实现方式。
请参阅图2,图2为本公开实施例提供的虚拟直播间的消息展示方法的流程示意图。如图2所示,本公开提供的虚拟直播间的消息展示方法可以包括:
S201、从默认消息队列中获取属于第一类型的第一消息,其中,默认消息队列中存储有从服务器接收到的全部类型的消息。
由于默认消息队列中存储有直播APP从服务器接收到的全部类型的消息,即默认消息队列中包括各个类型的消息。因此,直播APP可从默认消息队列中选择属于第一类型的消息,以获取到属于第一类型的第一消息。
其中,第一消息可为一条或多条消息,具体基于第一区域中消息的滚动频率或者显示时长而定。
需要说明的是,默认消息队列可存储在直播APP中,也可存储 在电子设备中,也可以存储在服务器中,本公开对此不做限定。另外,默认消息队列中的消息是先进先出,即直播APP通常从默认消息队列的队头获取消息的。
S202、将位于第一区域的顶部的消息停止显示,将位于第一区域的中部的消息向上滚动显示,且将第一消息显示在第一区域的底部,以使在第一区域中的消息滚动展示。
直播APP在获取到第一消息后,可刷新当前在第一区域中展示的消息。直播APP可将在第一区域中当前展示的消息向上滚动,使得位于第一区域的顶部的消息停止显示,位于第一区域的中部的消息继续显示,以便留出来第一区域的底部来显示第一消息。
需要说明的是,在第一区域中,停止显示的消息的显示面积与第一消息的显示面积大体相同。另外,除了向上滚动显示之外,本公开不限于沿着其他方式滚动显示在第一区域中的消息。
综上,直播APP可滚动展示在第一区域中的消息。
图1实施例的步骤S102中,直播APP可采用多种方式在公共屏幕的第二区域中滚动展示属于第二类型的一条消息。
下面,结合图3,具体介绍直播APP在虚拟直播间的公共屏幕的第二区域中滚动展示属于第二类型的一条消息的一种可行的实现方式。
请参阅图3,图3为本公开实施例提供的虚拟直播间的消息展示方法的流程示意图。如图3所示,本公开提供的虚拟直播间的消息展示方法可以包括:
S301、从折叠消息队列中获取一条新的消息。
由于折叠消息队列中存储有属于第二类型的消息,即折叠消息队列中包括属于第二类型的消息。因此,直播APP可从折叠消息队列中获取一条新的消息。
需要说明的是,折叠消息队列可存储在直播APP中,也可存储在电子设备中,也可以存储在服务器中,本公开对此不做限定。另外,折叠消息队列中的消息是先进先出,即直播APP通常从折叠消息队列的队头获取消息的。
S302、判断第二区域中当前展示的一条消息的显示时长是否超过第一预设时长。
其中,第一预设时长的具体大小可根据实际情况进行设置,如0.5秒。
在第二区域中当前展示的一条消息的显示时长超过第一预设时长时,直播APP可执行步骤S3031;在第二区域中当前展示的一条消息的显示时长未超过第一预设时长时,直播APP可执行步骤S3032。
S3031、将在第二区域中当前展示的一条消息停止显示,并在第二区域中显示一条新的消息,以使在第二区域中的消息滚动展示。
直播APP在第二区域中当前展示的一条消息的显示时长超过第一预设时长时,可刷新当前在第二区域中展示的一条消息。直播APP可将在第二区域中当前展示的一条消息向上滚动,使得在第二区域中当前展示的一条消息停止显示,以便留出来第二区域来显示一条新的消息。
需要说明的是,除了向上滚动显示之外,本公开不限于沿着其他方式滚动显示在第二区域中的一条消息。
综上,直播APP可滚动展示在第二区域中的消息。
S3032、将一条新的消息丢弃。
直播APP在第二区域中当前展示的一条消息的显示时长未超过第一预设时长时,可将一条新的消息丢弃,避免第二区域中的消息刷新过快,确保了低优先级消息在该虚拟直播间的公共屏幕中不会变化过快。
基于上述描述,在折叠消息队列存储在直播APP时,直播APP可从服务器接收属于第二类型的一条消息,并将一条消息存储在折叠消息队列中。
本公开中,虚拟直播间可划分为游戏虚拟直播间和视频虚拟直播间。其中,游戏虚拟直播间为讲解游戏打法或者直播游戏过程等与游戏相关的虚拟直播间。视频虚拟直播间为除了游戏虚拟直播间之外的其他虚拟直播间,如购物虚拟直播间、聊天虚拟直播间、语音虚拟直播间和音乐虚拟直播间等。
由于相比于视频虚拟直播间而言,游戏虚拟直播间中的低优先级消息并不重要。因此,直播APP在接收到视频虚拟直播间中的属于第二类型的一条消息后,可直接将一条消息存储在折叠消息队列中。直播APP在接收到视频虚拟直播间中的属于第二类型的一条消息后,需要判断折叠消息队列中存储的消息的总数是否小于预设阈值。
从而,在折叠消息队列中存储的消息的总数小于预设阈值时,直 播APP可将一条消息存储在折叠消息队列中。
在折叠消息队列中存储的消息的总数大于等于预设阈值时,直播APP可将折叠消息队列中存储的消息进行丢弃,来存放最新获取到的一条消息。这样,直播APP可判断折叠消息队列中存储的消息的优先级是否不同。
从而,在折叠消息队列中存储的消息的优先级不同时,直播APP可将折叠消息队列中存储的优先级最低且时间最早的一条消息丢弃,并将一条消息存储在折叠消息队列中。
在折叠消息队列中存储的消息的优先级相同时,直播APP可将折叠消息队列中存储的时间最早的一条消息丢弃,并将一条消息存储在折叠消息队列中。
下面,结合图4,介绍默认消息队列和折叠消息队列的实现方式。
请参阅图4,图4为本公开实施例提供的虚拟直播间的消息展示方法的工作原理图。
1、默认消息队列和折叠消息队列的入队过程
如图4所示,默认消息队列中包括8条消息,按照入队的时间先后顺序依次包括:消息1、消息2、消息3、消息4、消息5消息6、消息7和消息8。
其中,第一级别中的消息包括:消息1和消息5。第二级别中的消息包括:消息2、消息4、消息6、消息7和消息8。第三级别中的消息包括:消息3。
可见,默认消息队列中包括各个类型的消息(如高低、第二级别 和第三级别中的消息),对应于图2中的默认消息队列。
如图4所示,折叠消息队列中包括4条消息,按照入队的时间先后顺序依次包括:消息2、消息3、消息4和消息6。
其中,第二级别中的消息包括:消息2、消息4和消息6。第三级别中的消息包括:消息3。且消息1和消息5并不会入队到折叠消息队列中。
可见,折叠消息队列中包括属于第二类型的消息(如第二级别和第三级别中的消息),对应于图3中的折叠消息队列。
2、折叠消息队列中的消息的优先级丢弃过程
如图4所示,在需要将消息7入队到折叠消息队列中时,假设预设阈值设置为4条,分别为消息2、消息3、消息4和消息6,由于折叠消息队列中存储的消息的总数为4条,且折叠消息队列中存储的消息存在第三级别中的消息3,因此,可丢弃消息3,使得消息7入队到折叠消息队列中,对应于前文提及的丢弃折叠消息队列中存储的优先级最低且时间最早的一条消息。
3、折叠消息队列中的消息的时间顺序丢弃过程
如图4所示,在需要将消息8入队到折叠消息队列中时,假设预设阈值设置为4条,分别为消息2、消息4、消息6和消息7,由于折叠消息队列中存储的消息的总数为4条,且折叠消息队列中存储的消息未存在第三级别中的消息,因此,可顺序丢弃时间最早的消息2,使得消息8入队到折叠消息队列中,对应于前文提及的丢弃折叠消息队列中存储的时间最早的一条消息。
4、消息展示
如图4所示,消息1和消息5等待直播APP获取后在公共屏幕的第一区域中正常展示,消息2和消息3可丢弃不展示,消息4可等待直播APP获取后在公共屏幕的第二区域中折叠展示,消息5、消息6、消息7和消息8可等待消息4展示够第一预设时长后等待直播APP获取后依次进行折叠展示。
本公开中,一个虚拟直播间的热度状态是随机的,可在普通状态和高热状态之间相互切换。且不同热度状态下的虚拟直播间可具备不同的消息展示策略,以便自适应于热点状态下的实际需求。
下面,结合图5,详细介绍该虚拟直播间的热点状态从第一状态(即高热状态)切换到第二状态(即普通状态)的具体实现过程。
请参阅图5,图5为本公开实施例提供的虚拟直播间的消息展示方法的流程示意图。如图5所示,本公开提供的虚拟直播间的消息展示方法可以包括:
S401、确定虚拟直播间的热度状态。
S402、在热度状态为第一状态时,在虚拟直播间的公共屏幕的第一区域中滚动展示属于第一类型的多条消息,且在虚拟直播间的公共屏幕的第二区域中滚动展示属于第二类型的一条消息。
其中,第一区域和第二区域不重叠或部分重叠,第一类型与第二类型不同。
其中,步骤S401和S402分别与图1实施例中的S101和S102实现方式类似,本公开此处不再赘述。
S403、在热度状态从第一状态切换为第二状态时,在虚拟直播间的公共屏幕中滚动展示属于第一类型和第二类型的多条消息。
由于直播APP在该虚拟直播间的直播过程中实时或周期性或不定时地确定出该虚拟直播间的热度状态。因此,直播APP在确定该虚拟直播间的热度状态从第一状态切换为第二状态后,可确定该虚拟直播间从高热直播间变为普通直播间。其中,第一状态的热度大于第二状态的热度。
此时,直播APP无要继续将该虚拟直播间的公共屏幕中的消息进行分区域展示,可将各个类型的消息显示在该虚拟直播间的公共屏幕中即可。
综上,由于消息量过小,因此,直播APP可在该虚拟直播间的公共屏幕中滚动展示属于第一类型和第二类型的多条消息(即全部类型的消息),有利于完整展示各个类型的消息。
在一些实施例中,由于默认消息队列中存储有直播APP从服务器接收到的全部类型的消息。因此,直播APP可按照时间先后顺序从默认消息队列中获取第二消息。其中,第二消息可包括一条或者多条消息,具体基于公共屏幕中消息的滚动频率或者显示时长而定。
从而,直播APP在获取到第二消息后,可刷新当前在公共屏幕中展示的消息。直播APP可将在公共屏幕中当前展示的消息向上滚动,使得位于公共屏幕的顶部的消息停止显示,位于公共屏幕的中部的消息继续显示,以便留出来公共屏幕的底部来显示第二消息。
需要说明的是,在公共屏幕中,停止显示的消息的显示面积与第 二消息的显示面积大体相同。另外,除了向上滚动显示之外,本公开不限于沿着其他方式滚动显示在公共屏幕中的消息。
综上,直播APP可滚动展示在公共屏幕中的消息。
基于上述描述,结合图6A-图6D,详细介绍直播APP基于一个虚拟直播间的热度状态来展示公共屏幕中各个类型的消息具体实现过程。
请参阅图6A-图6D,图6A-图6D为本公开实施例提供的人机交互界面示意图。为了便于说明,图6A-图6D中,以电子设备为手机,手机中安装有直播APP为短视频社交APP(简称应用1)为例进行示意。
应用1在检测到一个虚拟直播间的热度状态为第一状态后,可在手机上显示图6A示例性所示的用户界面10,用户界面10用于显示应用1中的一个热度状态为第一状态的虚拟直播间。
其中,用户界面10可以包括:状态区域101、直播区域102、动画区域103、公共屏幕104和控件区域105。
状态区域101,用于显示虚拟直播间的账号、点赞数等状态信息。另外,状态区域还可用于进入到其他虚拟直播间和其他虚拟直播间的通知信息等。
直播区域102,用于展示直播画面。
动画区域103,用于展示如进场、送礼等动画特效。另外,动画区域103与直播区域102可不重叠或部分重叠。动画区域103与公共屏幕104可不重叠或部分重叠。
公共屏幕104,用于展示各个类型的消息。公共屏幕104可以包括第一区域1041和第二区域1042。第一区域1041用于滚动展示属于第一类型的多条消息(如评论消息),第二区域1042用于滚动展示属于第二类型的一条消息(如进场通知消息)。
控制区域105,用于向用户提供输入评论信息、分享、点赞、送礼、关注等入口。例如,控制区域105可包括输入框和多个控件。
综上,图6A中,第一区域1041展示有9条评论消息,第二区域1042展示有1条进场通知消息(图6A中以显示“用户10昵称:来了”进行举例示意)。
在应用1获取到属于第一类型的一条新的消息以及属于第二类型的一条新的消息后,应用1可在第一区域1042上显示图6B示例性所示的属于第一类型的一条新的消息,且在第二区域1042上显示图6B示例性所示的属于第二类型的一条新的消息。
可见,图6B中,第一区域1041中的消息向上滚动显示,且第一区域1041仍展示有9条评论消息,第一区域1041中的1条消息(图6A中以显示“用户1昵称:好卡”进行举例示意)停止显示,第一区域1041中的剩余8条消息向上滚动,1条新的评论消息(图6B中以显示“用户10昵称:真好看”进行举例示意)显示在第一区域1041中。第二区域1042中的之前的进场通知消息被替换为1条新的进场通知消息(图6B中以显示“用户11昵称:来了”进行举例示意)。
接着,在应用1获取到属于第二类型的一条新的消息后,应用1可在第二区域1042上显示图6C示例性所示的属于第二类型的一条新 的消息。
可见,图6C中,第一区域1041仍展示有9条评论消息,并不刷新第一区域1041中的消息。第二区域1042中的之前的进场通知消息被替换为1条新的进场通知消息(图6C中以显示“用户12昵称:来了”进行举例示意)。
需要说明的是,本公开包括但不限于图6A-图6C实施例中的在第一区域中滚动展示属于第一类类型的多条消息且在第二区域中滚动展示属于第二类型的一条消息的实现方式。
应用1在检测到该虚拟直播间的热度状态从第一状态切换为第二状态后,在应用1获取到属于第二类型的一条新的消息以及属于第类型的一条新的消息后,可在公共屏幕104上依次显示图6D示例性所示的属于第二类型的一条新的消息以及属于第一类型的一条新的消息。
可见,图6D中,公共屏幕104(此处指的是第一区域1041)中的消息向上滚动显示,公共屏幕104仍展示第一区域1041中的8条评论消息,且第一区域1041中的1条消息(图6C中以显示“用户2昵称:点赞吧”进行举例示意)停止显示,第一区域1041中的剩余8条消息向上滚动,1条新的进场通知消息(图6D中以显示“用户13昵称:来了”进行举例示意)和1条新的评论消息(图6D中以显示“用户14昵称:大气”进行举例示意)依次显示在公共屏幕104中。
示例性地,本公开提供一种虚拟直播间的消息展示装置。
请参阅图7,图7为本公开实施例提供的虚拟直播间的消息展示 装置的结构示意图。本公开的虚拟直播间的消息展示装置可设置在电子设备中,可实现上述图1-图6D实施例的虚拟直播间的消息展示方法对应于直播APP的操作。
如图7所示,本公开提供的虚拟直播间的消息展示装置100可以包括:确定模块101和展示模块102。
确定模块101,用于确定虚拟直播间的热度状态;
展示模块102,用于在热度状态为第一状态时,在虚拟直播间的公共屏幕的第一区域中滚动展示属于第一类型的多条消息,且在虚拟直播间的公共屏幕的第二区域中滚动展示属于第二类型的一条消息;
其中,第一区域和第二区域不重叠或部分重叠,第一类型与第二类型不同。
在一些实施例中,展示模块102,具体用于从默认消息队列中获取属于第一类型的第一消息,其中,默认消息队列中存储有从服务器接收到的全部类型的消息;将位于第一区域的顶部的消息停止显示,将位于第一区域的中部的消息向上滚动显示,且将第一消息显示在第一区域的底部,以使在第一区域中的消息滚动展示。
在一些实施例中,展示模块102,具体用于从折叠消息队列中获取一条新的消息,其中,折叠消息队列中存储有属于第二类型的消息;在第二区域中当前展示的一条消息的显示时长超过第一预设时长时,将在第二区域中当前展示的一条消息停止显示,并在第二区域中显示一条新的消息,以使在第二区域中的消息滚动展示。
在一些实施例中,展示模块102,还用于在第二区域中当前展示 的一条消息的显示时长未超过第一预设时长时,将一条新的消息丢弃。
请参阅图8,图8为本公开实施例提供的虚拟直播间的消息展示装置的结构示意图。如图8所示,本公开提供的虚拟直播间的消息展示装置100在图7所示装置结构的基础上,还可以包括:接收模块103和存储模块104。
接收模块103,用于从服务器接收属于第二类型的一条消息;
存储模块104,用于将一条消息存储在折叠消息队列中。
在一些实施例中,存储模块104,具体用于在虚拟直播间为游戏虚拟直播间,且在折叠消息队列中存储的消息的总数小于预设阈值时,将一条消息存储在折叠消息队列中。
在一些实施例中,存储模块104,具体用于在折叠消息队列中存储的消息的总数大于等于预设阈值,且在折叠消息队列中存储的消息的优先级不同时,将折叠消息队列中存储的优先级最低且时间最早的一条消息丢弃,并将一条消息存储在折叠消息队列中;
或者,在折叠消息队列中存储的消息的总数大于等于预设阈值,且在折叠消息队列中存储的消息的优先级相同时,将折叠消息队列中存储的时间最早的一条消息丢弃,并将一条消息存储在折叠消息队列中。
在一些实施例中,展示模块102,还用于在热度状态从第一状态切换为第二状态时,在虚拟直播间的公共屏幕中滚动展示属于第一类型和第二类型的多条消息;其中,第一状态的热度大于第二状态的热度。
在一些实施例中,展示模块102,具体用于从默认消息队列中获取第二消息,其中,默认消息队列中存储有从服务器接收到的全部类型的消息;将位于公共屏幕的顶部的消息停止显示,将位于公共屏幕的中部的消息向上滚动显示,且将第二消息显示在公共屏幕的底部,以使在公共屏幕中的消息滚动展示。
在一些实施例中,确定模块101,具体用于基于第二预设时长内从服务器接收到的在公共屏幕中的消息的总数,确定热度状态。
在一些实施例中,第一类型包括:用户在虚拟直播间中输入的评论消息;第二类型包括:用户在虚拟直播间中的送礼通知消息、用户在虚拟直播间中的点赞通知消息、用户关注虚拟直播间对应的直播账号的关注通知消息、用户分享虚拟直播间的分享通知消息以及用户进入到虚拟直播间的进场通知消息。
本公开提供的虚拟直播间的消息展示装置,可执行上述方法实施例,其具体实现原理和技术效果,可参见上述方法实施例,本公开此处不再赘述。
本公开中可以根据上述方法示例对虚拟直播间的消息展示装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本公开各实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
示例性地,本公开提供一种电子设备,包括:一个或多个处理器; 存储器;以及一个或多个计算机程序;其中一个或多个计算机程序被存储在存储器中;一个或多个处理器在执行一个或多个计算机程序时,使得电子设备实现前文实施例的虚拟直播间的消息展示方法。
示例性地,本公开提供一种芯片***,芯片***应用于包括存储器和传感器的电子设备;芯片***包括:处理器;当处理器执行前文实施例的虚拟直播间的消息展示方法。
示例性地,本公开提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器使得电子设备执行时实现前文实施例的虚拟直播间的消息展示方法。
示例性地,本公开提供一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行前文实施例的虚拟直播间的消息展示方法。
在上述实施例中,全部或部分功能可以通过软件、硬件、或者软件加硬件的组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本公开实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如,固态硬盘 (solid state disk,SSD))等。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (15)

  1. 一种虚拟直播间的消息展示方法,包括:
    确定虚拟直播间的热度状态;
    在所述热度状态为第一状态时,在所述虚拟直播间的公共屏幕的第一区域中滚动展示属于第一类型的多条消息,且在所述虚拟直播间的公共屏幕的第二区域中滚动展示属于第二类型的一条消息;
    其中,所述第一区域和所述第二区域不重叠或部分重叠,所述第一类型与所述第二类型不同。
  2. 根据权利要求1所述的方法,其中,在所述虚拟直播间的公共屏幕的第一区域中滚动展示属于第一类型的多条消息,包括:
    从默认消息队列中获取属于所述第一类型的第一消息,其中,所述默认消息队列中存储有从服务器接收到的全部类型的消息;
    将位于所述第一区域的顶部的消息停止显示,将位于第一区域的中部的消息向上滚动显示,且将所述第一消息显示在所述第一区域的底部,以使在所述第一区域中的消息滚动展示。
  3. 根据权利要求1所述的方法,其中,在所述虚拟直播间的公共屏幕的第二区域中滚动展示属于第二类型的一条消息,包括:
    从折叠消息队列中获取一条新的消息,其中,所述折叠消息队列中存储有属于所述第二类型的消息;
    在所述第二区域中当前展示的一条消息的显示时长超过第一预 设时长时,将在所述第二区域中当前展示的一条消息停止显示,并在第二区域中显示所述一条新的消息,以使在所述第二区域中的消息滚动展示。
  4. 根据权利要求3所述的方法,其中,所述方法还包括:
    在所述第二区域中当前展示的一条消息的显示时长不大于所述第一预设时长时,将所述一条新的消息丢弃。
  5. 根据权利要求3或4所述的方法,其中,所述方法还包括:
    从服务器接收属于所述第二类型的一条消息;
    将所述一条消息存储在所述折叠消息队列中。
  6. 根据权利要求5所述的方法,其中,在所述虚拟直播间为游戏虚拟直播间时,将所述一条消息存储在所述折叠消息队列中,包括:
    在所述折叠消息队列中存储的消息的总数小于预设阈值时,将所述一条消息存储在所述折叠消息队列中。
  7. 根据权利要求6所述的方法,其中,所述方法还包括:
    在所述折叠消息队列中存储的消息的总数大于等于所述预设阈值,且在所述折叠消息队列中存储的消息的优先级不同时,将所述折叠消息队列中存储的优先级最低且时间最早的一条消息丢弃,并将所述一条消息存储在所述折叠消息队列中;
    或者,在所述折叠消息队列中存储的消息的总数大于等于预设阈值,且在所述折叠消息队列中存储的消息的优先级相同时,将所述折叠消息队列中存储的时间最早的一条消息丢弃,并将所述一条消息存储在所述折叠消息队列中。
  8. 根据权利要求1-7中任一项所述的方法,其中,所述方法还包括:
    在所述热度状态从所述第一状态切换为第二状态时,在所述虚拟直播间的公共屏幕中滚动展示属于所述第一类型和所述第二类型的多条消息;
    其中,所述第一状态的热度大于所述第二状态的热度。
  9. 根据权利要求8所述的方法,其中,在所述虚拟直播间的公共屏幕中滚动展示属于所述第一类型和所述第二类型的多条消息,包括:
    从默认消息队列中获取第二消息,其中,所述默认消息队列中存储有从服务器接收到的全部类型的消息;
    将位于所述公共屏幕的顶部的消息停止显示,将位于公共屏幕的中部的消息向上滚动显示,且将所述第二消息显示在所述公共屏幕的底部,以使在所述公共屏幕中的消息滚动展示。
  10. 根据权利要求1-9中任一项所述的方法,其中,确定所述虚拟直播间的热度状态,包括:
    基于第二预设时长内从服务器接收到的在所述公共屏幕中显示的消息的总数,确定所述热度状态。
  11. 根据权利要求1-10中任一项所述的方法,其中,所述第一类型包括:用户在所述虚拟直播间中输入的评论消息;所述第二类型包 括:用户在所述虚拟直播间中的送礼通知消息、用户在所述虚拟直播间中的点赞通知消息、用户关注所述虚拟直播间对应的直播账号的关注通知消息、用户分享所述虚拟直播间的分享通知消息以及用户进入到所述虚拟直播间的进场通知消息。
  12. 一种虚拟直播间的消息展示装置,其中,包括:
    确定模块,用于确定虚拟直播间的热度状态;
    展示模块,用于在所述热度状态为第一状态时,在所述虚拟直播间的公共屏幕的第一区域中滚动展示属于第一类型的多条消息,且在所述虚拟直播间的公共屏幕的第二区域中滚动展示属于第二类型的一条消息;其中,所述第一区域和所述第二区域不重叠或部分重叠,所述第一类型与所述第二类型不同。
  13. 一种电子设备,包括:一个或多个处理器;存储器;以及一个或多个计算机程序;其中所述一个或多个计算机程序被存储在所述存储器中;其中,所述一个或多个处理器在执行所述一个或多个计算机程序时,使得所述电子设备实现如权利要求1-11任一项所述的虚拟直播间的消息展示方法。
  14. 一种计算机存储介质,其中,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-11任一项所述的虚拟直播间的消息展示方法。
  15. 一种计算机程序产品,其中,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-11任一项所述的虚拟直播间的消息展示方法。
PCT/CN2022/094192 2021-05-20 2022-05-20 虚拟直播间的消息展示方法、装置和设备 WO2022242760A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110552323.1 2021-05-20
CN202110552323.1A CN115379281A (zh) 2021-05-20 2021-05-20 虚拟直播间的消息展示方法、装置和设备

Publications (1)

Publication Number Publication Date
WO2022242760A1 true WO2022242760A1 (zh) 2022-11-24

Family

ID=84059979

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/094192 WO2022242760A1 (zh) 2021-05-20 2022-05-20 虚拟直播间的消息展示方法、装置和设备

Country Status (2)

Country Link
CN (1) CN115379281A (zh)
WO (1) WO2022242760A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160227269A1 (en) * 2015-02-02 2016-08-04 Samsung Electronics Co., Ltd. Display apparatus and control method thereof
CN111586426A (zh) * 2020-04-30 2020-08-25 广州华多网络科技有限公司 全景直播的信息展示方法、装置、设备及存储介质
CN111913620A (zh) * 2020-07-28 2020-11-10 Tcl通讯(宁波)有限公司 通知类消息展示方法、装置、存储介质及移动终端
CN112434053A (zh) * 2020-12-02 2021-03-02 百果园技术(新加坡)有限公司 一种计算直播热度的方法、装置、设备和存储介质
CN112637410A (zh) * 2020-12-22 2021-04-09 努比亚技术有限公司 一种消息通知显示的方法、终端及存储介质

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792248B (zh) * 2016-12-28 2019-11-12 广州华多网络科技有限公司 一种直播互动信息的展示方法和装置
CN107302489A (zh) * 2017-06-02 2017-10-27 北京潘达互娱科技有限公司 消息展示方法及装置
CN109391852B (zh) * 2018-09-14 2021-01-22 广州虎牙信息科技有限公司 一种消息展示方法、装置、设备及存储介质
CN110022259B (zh) * 2018-12-19 2021-09-24 卓米私人有限公司 消息到达率确定方法、装置、数据统计服务器及存储介质
CN110662085B (zh) * 2019-10-16 2021-10-01 北京字节跳动网络技术有限公司 消息发送方法、装置、可读介质及电子设备
CN110856030B (zh) * 2019-11-14 2022-02-18 网易(杭州)网络有限公司 一种弹幕区域的调整方法、装置及可读介质
CN111596995B (zh) * 2020-04-30 2023-07-04 北京字节跳动网络技术有限公司 展示方法、装置和电子设备
CN111770351B (zh) * 2020-06-23 2022-11-29 北京字节跳动网络技术有限公司 直播消息展示方法及装置
CN111796825B (zh) * 2020-06-30 2024-02-09 北京字节跳动网络技术有限公司 一种弹幕的绘制方法、装置、设备和存储介质
CN112218103B (zh) * 2020-09-02 2022-12-09 北京达佳互联信息技术有限公司 直播间互动方法、装置、电子设备和存储介质
CN112217713B (zh) * 2020-10-13 2022-05-17 维沃移动通信有限公司 显示消息的方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160227269A1 (en) * 2015-02-02 2016-08-04 Samsung Electronics Co., Ltd. Display apparatus and control method thereof
CN111586426A (zh) * 2020-04-30 2020-08-25 广州华多网络科技有限公司 全景直播的信息展示方法、装置、设备及存储介质
CN111913620A (zh) * 2020-07-28 2020-11-10 Tcl通讯(宁波)有限公司 通知类消息展示方法、装置、存储介质及移动终端
CN112434053A (zh) * 2020-12-02 2021-03-02 百果园技术(新加坡)有限公司 一种计算直播热度的方法、装置、设备和存储介质
CN112637410A (zh) * 2020-12-22 2021-04-09 努比亚技术有限公司 一种消息通知显示的方法、终端及存储介质

Also Published As

Publication number Publication date
CN115379281A (zh) 2022-11-22

Similar Documents

Publication Publication Date Title
EP4087258A1 (en) Method and apparatus for displaying live broadcast data, and device and storage medium
WO2022121593A1 (zh) 直播交互方法、装置、电子设备和存储介质
TWI693823B (zh) 資訊展示方法和裝置
US11178448B2 (en) Method, apparatus for processing video, electronic device and computer-readable storage medium
WO2020151547A1 (zh) 展示页面的交互控制方法及装置
TW201901606A (zh) 展示方法及裝置
WO2022039802A1 (en) Animated visual cues indicating the availability of associated content
US20170187811A1 (en) Content presentation using a device set
WO2022199406A1 (zh) 应用程序的热点事件展示方法和电子设备
WO2012012453A2 (en) Use of social ranks to find providers of relevant user-generated content
CN106527864B (zh) 一种界面显示方法及装置
WO2019007409A1 (zh) 一种显示方法、装置、智能终端及计算机可读存储介质
CN111124668B (zh) 内存释放方法、装置、存储介质及终端
WO2024002047A1 (zh) 会话消息的显示方法、装置、设备及存储介质
WO2022252920A1 (zh) 应用程序的页面显示方法、装置和电子设备
CN107911749B (zh) 一种合演图谱的展示、提供方法、客户端及服务器
WO2022242760A1 (zh) 虚拟直播间的消息展示方法、装置和设备
WO2024046386A1 (zh) 一种直播间访问方法、装置、设备及介质
WO2024051374A1 (zh) 一种页面展示方法、装置及设备
WO2019007408A1 (zh) 一种显示方法、装置、可穿戴设备及计算机可读存储介质
CN110716782B (zh) 一种信息展示方法、装置及电子设备
WO2022242628A1 (zh) 投屏方法、装置、设备及存储介质
WO2022247547A1 (zh) 虚拟直播间的显示方法、装置、客户端、服务器和介质
WO2023284498A1 (zh) 视频播放方法、装置及存储介质
CN114500434A (zh) 通讯消息的聚合方法及装置

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: 22804079

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25-03-2024)