WO2022121978A1 - Livestreaming room top message determining method and apparatus, device, and storage medium - Google Patents

Livestreaming room top message determining method and apparatus, device, and storage medium Download PDF

Info

Publication number
WO2022121978A1
WO2022121978A1 PCT/CN2021/136745 CN2021136745W WO2022121978A1 WO 2022121978 A1 WO2022121978 A1 WO 2022121978A1 CN 2021136745 W CN2021136745 W CN 2021136745W WO 2022121978 A1 WO2022121978 A1 WO 2022121978A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
live broadcast
room
broadcast room
live
Prior art date
Application number
PCT/CN2021/136745
Other languages
French (fr)
Chinese (zh)
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 WO2022121978A1 publication Critical patent/WO2022121978A1/en

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • 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/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
    • 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream

Definitions

  • the present disclosure relates to the technical field of Internet live broadcast, and in particular, to a method, apparatus, device and storage medium for determining a top message in a live broadcast room.
  • the client will receive the sticky message from the live room.
  • sticky messages are universal for most users, and sticky messages
  • the content usually does not change frequently.
  • the client when a user first enters the live broadcast room, the client will receive some coupon information to guide the user to participate in the current activity.
  • the client when the user just enters the live broadcast room, the client will receive some basic introduction information of the live broadcast room, including the basic information of the host and the live broadcast content.
  • the existing solution adopts the method of triggering the server to push a peer-to-peer message to the client when the user enters the live broadcast room, and the peer-to-peer message will only be sent to the client of the user who just entered the room.
  • the server needs to send a large number of concurrent point-to-point messages to the client in a short period of time, resulting in excessive data processing pressure on the server.
  • the embodiments of the present disclosure provide a method, apparatus, device and storage medium for determining a top message in a live broadcast room.
  • an embodiment of the present disclosure provides a method for determining a top message in a live broadcast room, including:
  • the top message of the live broadcast room is displayed on the message interaction interface of the live broadcast room.
  • an embodiment of the present disclosure also provides a method for determining a top message in a live broadcast room, including:
  • a live room sticky message is determined and sent to the client, so that the client displays the live broadcast room sticky message on the message interaction interface of the live room.
  • an embodiment of the present disclosure also provides a device for determining a live broadcast room top message, including:
  • a request sending module configured to send a request for obtaining the top message to the server of the live room when it is determined to enter the live room; wherein, the request for obtaining the top message is used to pull the top message of the live room from the server ;
  • a message receiving module configured to receive a live broadcast room top message from the server
  • a message display module configured to display the top message of the live broadcast room on the message interaction interface of the live broadcast room.
  • an embodiment of the present disclosure further provides an apparatus for determining a top message in a live broadcast room, including:
  • a request receiving module configured to receive a request for obtaining a top message from the client when it is determined to enter the live room; wherein, the request for obtaining a top message is used by the client to pull the top message of the live room from the server;
  • a message sending module configured to determine a live broadcast room sticky message and send it to the client according to the sticky message acquisition request, so that the client can display the live broadcast room sticky message on a message interaction interface of the live broadcast room.
  • an embodiment of the present disclosure further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the electronic device is made to The device implements any of the methods for determining the top message of a live broadcast room provided by the embodiments of the present disclosure.
  • an embodiment of the present disclosure further provides a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a computing device, the computing device enables the computing device to implement the embodiment of the present disclosure
  • the method for determining the top message of any live broadcast room provided.
  • the technical solutions provided by the embodiments of the present disclosure have at least the following advantages: in the embodiments of the present disclosure, when it is determined to enter the live room, the client actively sends a request for obtaining a top message to the server of the live room, so as to Pull the top message of the live broadcast room from the server and display the message interaction interface of the live broadcast room in the client. Different clients send a request to the server to obtain the top message and receive the live room top message sent by the server. There will be a certain timing difference, which can realize the off-peak sending of the live room top message that needs to be sent by the server.
  • the optimization of the interaction method for the server to send the top message of the live broadcast room to the client avoids the phenomenon that the server needs to send a large number of concurrent point-to-point messages to the client in a short period of time when a large number of users enter the same live broadcast room, and relieves the service end-to-end data processing pressure.
  • FIG. 1 is a flowchart of a method for determining a top message in a live broadcast room according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of another method for determining a top message in a live broadcast room provided by an embodiment of the present disclosure
  • FIG. 3 is a flowchart of another method for determining a live broadcast room top message provided by an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of a device for determining a top message in a live broadcast room according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of another apparatus for determining a top message in a live broadcast room provided by an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • FIG. 1 is a flowchart of a method for determining a top message in a live broadcast room provided by an embodiment of the present disclosure, which can be applied to the situation of how to determine the top message in a live broadcast room when a user enters the live broadcast room.
  • the method for determining the top message of a live broadcast room may be executed by an apparatus for determining the top message of a live broadcast room, which may be implemented by software and/or hardware, and may be integrated on any electronic device with computing capabilities, such as a smart phone, a tablet computer, a personal computer, etc.
  • User terminals may be referred to as clients).
  • the apparatus can also be integrated into an application program with a live broadcast function (hereinafter referred to as a live broadcast application program) installed on the electronic device, such as a video interactive application program and the like. That is, the methods provided by the embodiments of the present disclosure may be executed by an electronic device, or may be executed by a live broadcast application installed on the electronic device.
  • a live broadcast application program a live broadcast application installed on the electronic device.
  • the live broadcast room sticking information refers to the general message displayed on the live broadcast room interface when the user just enters the live broadcast room. That is, for users entering the same live broadcast room, they can see a part of the same message content on the message interaction interface of the live broadcast room.
  • the method for determining a top message in a live broadcast room may include:
  • the user can trigger an entry request for entering the live room by touching the live room entry control displayed on the client interface.
  • the client can establish a communication connection with the server, and switch from the current interface to the message interaction interface in the live room, thereby determining that the user has entered the live room.
  • the client automatically generates a request for obtaining the top message and sends it to the server.
  • the message interaction interface in the live broadcast room refers to a display interface where the user can completely view the live broadcast content through the client. According to the difference of the live broadcast room, the message interaction interface in the live broadcast room can be flexibly arranged.
  • the top message acquisition request may carry the room identifier of the live studio that the user currently enters, so that the server can accurately determine the top message of the live studio currently entered by the user according to the room identifier.
  • the server Before receiving the top message acquisition request from the client, the server determines the live room top message corresponding to the live room according to the business party's top message configuration operation in advance. That is, for the business side, it can customize the sticky message in the live room, and can add, delete, change, and view the sticky message in the live room. Then, the server stores the top message of the live broadcast room according to the room identifier of the live broadcast room, for example, in a local cache. After receiving the request for obtaining the sticky message from the client, the sticky message of the live broadcast room that needs to be delivered to the client is determined from the pre-stored sticky message of the live broadcast room. That is, receiving the live room top message from the server can receive the live room top message from the server's local cache, and the server's local cache is used to pre-cache the live room top message according to the room ID of the live room.
  • the customized top message of the live room is universal and will not change frequently within a certain period of time. By storing the top message of the live room, it will help improve the efficiency of the client to actively pull the top message of the live room when the user enters the live room. efficiency. That is, for the server, the hit rate of the stored message is relatively high.
  • the type of the live broadcast room sticky message includes at least one of the following: sticky message based on the live room ID dimension, sticky message based on the anchor ID dimension, sticky message based on the live broadcast application dimension, and sticky message based on the live broadcast function dimension.
  • the top message based on the ID dimension (RoomLevel) of the live room refers to the general message set for the current live room, such as the introduction information about the current live room, the event introduction information valid in the current live room, etc.
  • the ID of the live broadcast room The top message of this dimension can be different.
  • the anchor message based on the anchor ID dimension (AnchorLevel) refers to the general message set for the current anchor, and does not change due to the change of the live broadcast room where the anchor is located, such as personal introduction information for the anchor (such as interests, expertise, etc.) Wait.
  • the top message based on the live application dimension (AppLevel) refers to the top message set from the application level.
  • the top message based on the dimension of the live broadcast function refers to a message with generality set from the level of the live broadcast function, such as a welcome message for entering the live broadcast room, information on prohibiting specific behaviors, and so on. It should be noted that, for each dimension of the top message in the live broadcast room, the business party can flexibly set the specific content of each dimension of the top message according to the live broadcast requirements, which is not specifically limited in the embodiment of the present disclosure.
  • the live broadcast room stick-to-top messages corresponding to at least two types may be determined from the pre-stored live broadcast room stick-to-top messages. , and combine at least two types of live broadcast top messages, for example, sort and compress these messages, and then send them to the client together.
  • the server can also perform a combination of live broadcast room top messages before sending. to the client.
  • the client After receiving the live broadcast room sticking message, the client can display the live broadcast room sticking message in the preset display area of the message interaction interface of the live broadcast room.
  • the preset display area may include, but is not limited to, the public screen area of the message interaction interface in the live broadcast room, the interface pendant area, etc., which may be determined according to the interface layout. Further, the preset display area for displaying the top message of the live broadcast room may be the top of the interaction area used for displaying the interactive information of the live broadcast room, such as the top of the public screen area.
  • displaying the top message of the live broadcast room on the message interaction interface of the live broadcast room including:
  • each sticky sub-message included in the live broadcast room sticky message or the arrangement order of each sticky sub-message determine the display method of the live broadcast room sticky message
  • the top message of the live broadcast room is displayed on the message interaction interface of the live broadcast room.
  • the client will display the multiple sticking sub-messages according to a preset display method. Display it to ensure the display effect of the top sub-message and the prompting effect of the top sub-message for users who have just entered the live broadcast room.
  • the server determines the priority information of each sub-message.
  • the priority information of the top sub-messages belonging to different message types may be determined according to the message type to which the top sub-messages belong. For example, the priority of the top message based on the anchor ID dimension is higher than that based on the live broadcast room ID dimension, etc., and the priority information of different message types can be determined according to the configuration operation of the business party, that is, the business party customizes the configuration of each message in advance.
  • the priority information of each message can be specified at the same time.
  • the priority information of the top sub-messages belonging to the same message type can also be determined according to the configuration operation of the business party.
  • the top message based on the ID dimension of the live broadcast room includes the top sub-messages about multiple e-commerce activities. importance, configure the priority information of each top sub-message.
  • the server sends the determined priority information of each sticky sub-message to the client together with each sticky sub-message, so that the client determines the display mode of the stick-to-top message in the live broadcast room according to the priority information of each sticky sub-message.
  • the server can also sort the sub-messages according to the configuration time of each sub-message in the live-streaming message (that is, the time received by the server for the configuration operation of the live-streaming message by the business party);
  • the sorted top sub-messages are sent to the client, so that the client determines the display mode of the top messages in the live broadcast room according to the arrangement order of the top sub-messages.
  • the server can ensure that multiple top sub-messages are sent to the client in an orderly manner to avoid message omission. Display mode, display multiple received sub-messages in an orderly manner to ensure the display effect.
  • the display strategy that matches the priority information or arrangement order of the top sub-messages can be pre-delivered to the client. If the client detects that the priority information of multiple top sub-messages is received, it can be determined according to the priority information. Display mode, if no priority information is detected, the display mode can be determined according to the sorting order of the top sub-messages. Of course, it is also possible to determine the display mode of the top message in the live broadcast room according to the arrangement order of each sub-message as a default strategy for determining the display mode in the client.
  • the client can first decompress the received top message of the live broadcast room, and then determine the top message of the live broadcast room based on the decompressed top message of each live broadcast room display method.
  • displaying the live broadcast room top message on the live broadcast room interface including:
  • the client can display the top sub-message at the first priority on the message interaction interface in the live broadcast room first; that is, the top sub-message with a higher priority can be displayed first.
  • the client can display the top sub-message at the first priority on the message interaction interface in the live broadcast room.
  • the preset display area of the message interaction interface in the live broadcast room such as the public screen area.
  • the top message of the live broadcast room displayed earlier will be squeezed out of the display area.
  • the sub-message is displayed later, which can avoid the phenomenon that the pinned sub-message is quickly squeezed out of the display area, which causes the user to be unable to view it in time.
  • the client can display the top-level sub-message at the first priority in the form of a pendant on the message interaction interface in the live broadcast room.
  • a relatively persistent display effect of sticky-top messages with higher priority can be realized, even if it is displayed in other preset display areas of the message interaction interface of the live broadcast room.
  • the messages are constantly changing, and there will be no phenomenon that users cannot view the top sub-messages with higher priority in time due to the scrolling changes of the displayed messages.
  • the client can display the top sub-messages in sequence on the message interaction interface in the live broadcast room according to the order of the top sub-messages. That is, the display order of each sticky sub-message by the client can be consistent with the sorting result of each received sticky sub-message, so as to ensure the orderly display of the sticky sub-messages.
  • the client when it is determined to enter the live room, the client actively sends a request for obtaining the top message to the server of the live room, so as to pull the top message of the live room from the server and display the message of the live room in the client user-interface.
  • Different clients send a request to the server to obtain the top message and receive the live room top message sent by the server. There will be a certain timing difference, which can realize the off-peak sending of the live room top message that needs to be sent by the server.
  • the optimization of the interaction method for the server to send the top message of the live broadcast room to the client avoids the phenomenon that the server needs to send a large number of concurrent point-to-point messages to the client in a short period of time when a large number of users enter the same live broadcast room, and relieves the service end-to-end data processing pressure.
  • the client determines the display method of the top message in the live broadcast room according to the priority information of each sticky sub-message included in the live broadcast room sticky message or the arrangement order of each sticky sub-message, so as to ensure the display effect and message of the live broadcast room sticky message. prompt effect.
  • the flexibility of the message display strategy also fully reflects the implementation flexibility of this solution, and optimizes the client's live broadcast room top message display function.
  • FIG. 2 is a flowchart of another method for determining a top message in a live broadcast room provided by an embodiment of the present disclosure, which is further optimized and expanded based on the foregoing technical solution, and may be combined with the foregoing optional implementation manners.
  • the method for determining the top message of the live broadcast room may include:
  • S201 Obtain preset information of the client when it is determined to enter the live broadcast room; wherein, the preset information is used by the server to screen the live broadcast room top message that needs to be delivered to the client.
  • the preset information of the client includes at least one of the following: characteristic information of the client and a network type corresponding to the client.
  • the feature information of the client may include, but is not limited to, the device type corresponding to the client, the version information of the live broadcast application installed in the client, and the like.
  • the version information of the live broadcast application may include information such as the version number of the online version or the version number of the test version, and the device type corresponding to the client may include terminal devices based on the Android operating system or terminal devices based on the Apple operating system (ie iOS), etc.
  • the network type corresponding to the client may include a wireless local area network (WiFi) or a mobile network (for example, a 3G or 4G network, etc.).
  • WiFi wireless local area network
  • mobile network for example, a 3G or 4G network, etc.
  • the client can use a preset monitoring program to determine the current preset information of the client, and then carry it in the top message acquisition request and send it to the server together.
  • the server can first determine the pre-stored stick-top message of the live room according to the room identifier of the live room carried in the stick-top message acquisition request; In the sticky message, the sticky message of the live broadcast room that matches the preset information is determined, and then delivered to the client.
  • the server Based on the version information of the live broadcast application and the device type corresponding to the client, the server filters the live broadcast room sticking messages that need to be delivered to the client, which can avoid the current live broadcast application version or the live room sticking message that is not supported by the current device. Sent to the client, resulting in waste of broadband resources and occupation of storage resources.
  • the server filters the live room top messages that need to be delivered to the client according to the network type corresponding to the client, and can make full use of the network connection status corresponding to the current client, so that the client can reasonably display the live room top messages that match the current network type. And ensure the message display effect.
  • the personal introduction information of the anchor displays the name and age in the live broadcast application of the first version number, and the host's personal introduction information can be displayed in the live broadcast application of the second version number. Name, age and hobbies.
  • the server can deliver a live broadcast message to the client corresponding to the animation display effect, and if the current network type corresponding to the client is a mobile network, the server You can send the top message of the live broadcast room without animation display effect to the client.
  • the active introduction information of the current live broadcast room includes two versions of the introduction information corresponding to the animation display effect and the non-animation display effect.
  • the server can deliver the activity introduction information corresponding to the animation display effect to the client.
  • the client when it is determined to enter the live room, the client actively sends a request for obtaining the top message to the server of the live room, so as to pull the top message of the live room from the server and display the message of the live room in the client
  • the interactive interface optimizes the interaction method for the server to send the live broadcast room top message to the client, avoiding the phenomenon that the server needs to send a large number of concurrent point-to-point messages to the client in a short period of time when a large number of users enter the same live broadcast room. , which relieves the data processing pressure on the server.
  • the server can dynamically filter the sticky messages of the live broadcast room that need to be delivered to the client according to the preset information, so as to realize the personalization of sticky messages of the live broadcast room to different clients. Sending, thereby realizing the personalized display of the top message in the live broadcast room in the client.
  • FIG. 3 is a flowchart of another method for determining a live broadcast room top message provided by an embodiment of the present disclosure.
  • the method can be applied to a server, and can be executed by a live broadcast room top message determination device configured in the server.
  • the device It can be implemented in software and/or hardware.
  • the method for determining the top message of a live broadcast room provided by the embodiment of the present disclosure which can be applied to the server, is executed in cooperation with the method for determining the top message of the live broadcast room provided by the embodiment of the present disclosure, which can be applied to the client or a live broadcast application.
  • the method for determining the top message of the live broadcast room may include:
  • S301 Receive a sticking message acquisition request sent by the client when it is determined to enter the live broadcast room; wherein, the sticky message acquisition request is used by the client to pull the live broadcast room sticky message from the server.
  • S302. Determine and send the live room top message to the client according to the request for obtaining the top message, so that the client displays the live room top message on the message interaction interface of the live room.
  • the method for determining a sticker message in a live room further includes:
  • the sticky message of the live room corresponding to the live room is determined; for example, the business side can use the configuration interface of the live room message displayed by the client of the business side to input the sticky message configuration operation, and the client of the business side can enter the top message configuration operation.
  • the terminal sends the top message configuration operation to the server;
  • determine and send the sticking message of the live broadcast room to the client including:
  • At least two live broadcast room topping messages are determined from the pre-stored live broadcast room topping messages, and the at least two live broadcast room topping messages are assigned to the client.
  • the top message is merged;
  • the type of the top message in the live broadcast room includes at least one of the following: a top message based on the live room ID dimension, a top message based on the host ID dimension, a live broadcast application dimension-based top message, and a live broadcast function-based top message Dimension's sticky message.
  • determine the top message of the live broadcast room including:
  • a live broadcast room sticky message matching the preset information is determined.
  • the preset information includes at least one of the following: feature information of the client and a network type corresponding to the client.
  • sending a live broadcast room sticking message to the client includes:
  • the sorted top sub-messages are sent to the client, so that the client determines the display mode of the top messages in the live broadcast room according to the arrangement order of the top sub-messages.
  • the client when it is determined to enter the live room, the client actively sends a request for obtaining the top message to the server of the live room, so as to pull the top message of the live room from the server and display it on the live room interface of the client.
  • the interaction method of the server sending the live broadcast room top message to the client has been optimized, which avoids the phenomenon that the server needs to send a large number of concurrent point-to-point messages to the client in a short period of time when a large number of users enter the same live broadcast room, and alleviates the problem of service end-to-end data processing pressure.
  • the server dynamically filters the live broadcast room top-up messages that need to be delivered to the client terminal according to the preset information of the client terminal, so as to realize personalized sending of the live broadcast room top-up messages to different clients, and further realize the live broadcast room top-up messages in the client side. personalized display.
  • FIG. 4 is a schematic structural diagram of an apparatus for determining a top message in a live broadcast room according to an embodiment of the present disclosure, which can be applied to the situation of how to determine the top message in a live broadcast room when a user enters the live broadcast room.
  • the device can be configured in a client or a live broadcast application, and can be implemented in software and/or hardware.
  • the apparatus 400 for determining the top message of the live broadcast room may include a request sending module 401, a message receiving module 402, and a message displaying module 403, wherein:
  • the request sending module 401 is used to send a top message acquisition request to the server of the live room when it is determined to enter the live room; wherein, the top message acquisition request is used to pull the live room top message from the server;
  • a message receiving module 402 configured to receive a live broadcast room top message from the server
  • the message display module 403 is configured to display the top message of the live broadcast room on the message interaction interface of the live broadcast room.
  • the type of the sticky message in the live broadcast room includes at least one of the following: sticky message based on the dimension of the live room ID, sticky message based on the dimension of the host ID, sticky message based on the dimension of the live broadcast application, and sticky message based on the live broadcast function Dimension's sticky message.
  • the request sending module 401 includes:
  • a preset information obtaining unit configured to obtain preset information of the client when it is determined to enter the live broadcast room; wherein, the preset information is used by the server to filter the live broadcast room top message that needs to be delivered to the client;
  • the request sending unit is configured to generate a request for obtaining the top message based on the preset information, and send the request for obtaining the top message to the server.
  • the preset information of the client includes at least one of the following: characteristic information of the client and a network type corresponding to the client.
  • the message display module 403 includes:
  • a display mode determination unit configured to determine the display mode of the top message in the live broadcast room according to the priority information of each sticky sub-message included in the live broadcast room sticky message or the arrangement order of each sticky sub-message;
  • the message display unit is used to display the top message of the live broadcast room on the message interaction interface of the live broadcast room based on the determined display method.
  • the message display unit includes:
  • the first display sub-unit is used to display the top sub-message at the first priority on the message interaction interface in the live broadcast room;
  • the second display subunit is used to display the top sub-message at the first priority on the message interaction interface in the live broadcast room;
  • the third display sub-unit is used to display the top sub-message at the first priority in the form of a pendant on the message interaction interface of the live broadcast room;
  • the fourth display sub-unit is configured to display the top sub-messages in sequence on the message interaction interface in the live broadcast room according to the arrangement order of the top sub-messages.
  • the message receiving module 402 is specifically configured to:
  • the live broadcast room top message is received from the local cache of the server; wherein, the local cache is used to pre-cache the live broadcast room top message according to the room identifier of the live broadcast room.
  • the received live broadcast room top message is determined by the server from the local cache at least two live broadcast room top messages, and the messages are merged to obtain .
  • the apparatus for determining the top message of a live broadcast room provided in a client or a live broadcast application provided by the embodiment of the present disclosure can execute any method for determining the top message of a live broadcast room provided by the embodiment of the present disclosure, which is applied to a client or a live broadcast application, and has the ability to execute Corresponding functional modules and beneficial effects of the method.
  • any method for determining the top message of a live broadcast room provided by the embodiment of the present disclosure which is applied to a client or a live broadcast application, and has the ability to execute Corresponding functional modules and beneficial effects of the method.
  • FIG. 5 is a schematic structural diagram of another apparatus for determining the top message of a live broadcast room provided by an embodiment of the present disclosure, which can be applied to the situation of how to determine the top message of the live broadcast room when a user enters the live broadcast room.
  • the device can be configured in the server, and can be implemented by software and/or hardware.
  • the apparatus 500 for determining the top message of the live broadcast room may include a request receiving module 501 and a message sending module 502, wherein:
  • the request receiving module 501 is configured to receive a request for obtaining the top message sent by the client when it is determined to enter the live room; wherein, the request for obtaining the top message is used by the client to pull the top message of the live room from the server;
  • the message sending module 502 is configured to determine, according to the request for obtaining the sticker message, the sticky message of the live room and send it to the client, so that the client can display the sticky message of the live room on the message interaction interface of the live room.
  • the apparatus 500 for determining a top message in a live broadcast room provided by the embodiment of the present disclosure further includes:
  • a message determination module configured to determine the live room top message corresponding to the live room according to the top message configuration operation of the business side
  • the message storage module is used to store the top message of the live broadcast room according to the room identifier of the live broadcast room.
  • the message sending module 502 includes:
  • a message merging processing unit configured to determine at least two live broadcast room topping messages from the pre-stored live broadcast room topping messages if it is determined according to the sticking message acquisition request that the live broadcast room topping messages to be sent to the client include at least two live broadcast room topping messages, And at least two live broadcast room top messages are combined for processing;
  • the message sending unit is used to send the merged live broadcast room top message to the client.
  • the type of the top message in the live broadcast room includes at least one of the following: a top message based on the live room ID dimension, a top message based on the host ID dimension, a live broadcast application dimension-based top message, and a live broadcast function-based top message Dimension's sticky message.
  • the message sending module 502 includes:
  • a message generating unit configured to determine a live broadcast room top message matching the preset information according to the preset information of the client carried in the top message acquisition request;
  • the message sending unit is used to send the live broadcast room top message to the client.
  • the preset information includes at least one of the following: characteristic information of the client and a network type corresponding to the client.
  • the message sending module 502 includes:
  • a message generating unit configured to determine the top message in the live broadcast room according to the request for acquiring the top message
  • a priority determination unit used for determining the priority information of each top sub-message in the top message of the live broadcast room
  • a first sending unit configured to send the priority information of each stick-top sub-message and each stick-top sub-message to the client, so that the client can determine the display mode of the stick-top message in the live broadcast room according to the priority information of each stick-top sub-message;
  • a sorting unit configured to sort each top sub-message according to the configuration time of each top sub-message in the live broadcast room top message
  • the second sending unit is configured to send the sorted top sub-messages to the client, so that the client determines the display mode of the top message in the live broadcast room according to the arrangement order of the top sub-messages.
  • the apparatus for determining the top message of a live broadcast room provided by the embodiment of the present disclosure and configured on the server can execute the method for determining any live broadcast room top message provided by the embodiment of the present disclosure and applied to the server, and has corresponding functional modules and beneficial effects of the execution method.
  • the description in any method embodiment of the present disclosure for the content that is not described in detail in the apparatus embodiment of the present disclosure, reference may be made to the description in any method embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, which is used to exemplarily illustrate an electronic device that implements a method for determining a top message in a live broadcast room in an embodiment of the present disclosure.
  • the electronic devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (eg, Mobile terminals such as in-vehicle navigation terminals), etc., and stationary terminals such as digital TVs, desktop computers, servers, and the like.
  • PDAs personal digital assistants
  • PADs tablets
  • PMPs portable multimedia players
  • vehicle-mounted terminals eg, Mobile terminals such as in-vehicle navigation terminals
  • stationary terminals such as digital TVs, desktop computers, servers, and the like.
  • the electronic device shown in FIG. 6 is only an example, and should
  • electronic device 600 includes one or more processors 601 and memory 602 .
  • Processor 601 may be a central processing unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in electronic device 600 to perform desired functions.
  • CPU central processing unit
  • Processor 601 may be a central processing unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in electronic device 600 to perform desired functions.
  • Memory 602 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory.
  • Volatile memory may include, for example, random access memory (RAM) and/or cache memory, among others.
  • Non-volatile memory may include, for example, read only memory (ROM), hard disk, flash memory, and the like.
  • One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 601 may execute the program instructions to implement any method for determining the top message of a live broadcast room provided by the embodiments of the present disclosure, and may also implement other desired functions.
  • Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.
  • the method for determining a top message in a live broadcast room may include: when it is determined to enter the live room, sending a request for obtaining a top message to a server in the live room; wherein, the request for obtaining a sticker message is used from the server Pull the top message of the live broadcast room; receive the live broadcast room top message from the server; display the live broadcast room top message on the message interaction interface of the live broadcast room.
  • the method for determining a top message in a live broadcast room may include: receiving a top message acquisition request sent by a client when it determines to enter the live room; wherein, the top message acquisition request is used by the client from the server Pull the top message of the live room; according to the request to obtain the top message, determine the top message of the live room and send it to the client, so that the client can display the top message of the live room on the message interaction interface of the live room.
  • the electronic device 600 may also perform other optional implementations provided by the method embodiments of the present disclosure.
  • the electronic device 600 may also include an input device 603 and an output device 604 interconnected by a bus system and/or other form of connection mechanism (not shown).
  • the input device 603 may also include, for example, a keyboard, a mouse, and the like.
  • the output device 604 can output various information to the outside, including the determined distance information, direction information, and the like.
  • the output device 604 may include, for example, displays, speakers, printers, and communication networks and their connected remote output devices, among others.
  • the electronic device 600 may also include any other suitable components according to the specific application.
  • the embodiments of the present disclosure may also be computer program products, which include computer program instructions, which, when executed by the processor, cause the processor to execute any live broadcast top message provided by the embodiments of the present disclosure Determine the method.
  • the computer program product may write program code for performing operations of embodiments of the present disclosure in any combination of one or more programming languages, including object-oriented programming languages, such as Java, C++, etc., as well as conventional procedural programming language, such as "C" language or similar programming language.
  • the program code may execute entirely on the user's electronic device, partly on the user's device, as a stand-alone software package, partly on the user's electronic device and partly on a remote electronic device, or entirely on the remote electronic device or server execute on.
  • embodiments of the present disclosure may also be computer-readable storage media on which computer program instructions are stored, and when the computer program instructions are executed by the processor, the computer program instructions cause the processor to perform any live broadcast room top message determination provided by the embodiments of the present disclosure. method.
  • the method for determining a top message in a live broadcast room may include: when it is determined to enter the live room, sending a request for obtaining a top message to a server in the live room; wherein, the request for obtaining a sticker message is used from the server Pull the top message of the live broadcast room; receive the live broadcast room top message from the server; display the live broadcast room top message on the message interaction interface of the live broadcast room.
  • the method for determining a top message in a live room may include: receiving a request for acquiring a top message sent by a client when it determines to enter the live room; wherein, the request for acquiring a top message is used by the client from the server Pull the top message of the live room; according to the request to obtain the top message, determine the top message of the live room and send it to the client, so that the client can display the top message of the live room on the message interaction interface of the live room.
  • the processor may also cause the processor to execute other optional implementations provided by the method embodiments of the present disclosure.
  • a computer-readable storage medium can employ any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may include, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses or devices, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

Abstract

Embodiments of the present disclosure relate to a livestreaming room top message determining method and apparatus, a device, and a storage medium. The method may comprise: sending a top message obtaining request to a server of a livestreaming room in the case of determining to enter the livestreaming room, wherein the top message obtaining request is used for pulling a livestreaming room top message from the server; receiving the livestreaming room top message from the server; and displaying the livestreaming room top message on a message interaction interface of the livestreaming room. According to the embodiments of the present disclosure, the optimization of how to send a livestreaming room top message to a client by a server when a user enters a livestreaming room is implemented; and the client actively pulls the livestreaming room top message from the server, so that the phenomenon that the server needs to issue a large number of concurrent point-to-point messages to clients in a short period of time when a large number of users enter the same livestreaming room is avoided, and the data processing pressure of the server is relieved.

Description

直播间置顶消息确定方法、装置、设备和存储介质Method, device, device and storage medium for determining top message in live broadcast room
本公开要求于2020年12月09日提交中国国家知识产权局、申请号为202011448135.6、发明名称为“直播间置顶消息确定方法、装置、设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This disclosure requires the priority of the Chinese patent application with the application number 202011448135.6 and the invention titled "Method, Apparatus, Equipment and Storage Medium for Determining Top Message in Live Broadcasting Room" filed with the State Intellectual Property Office of China on December 09, 2020, all of which The contents are incorporated herein by reference.
技术领域technical field
本公开涉及互联网直播技术领域,尤其涉及一种直播间置顶消息确定方法、装置、设备和存储介质。The present disclosure relates to the technical field of Internet live broadcast, and in particular, to a method, apparatus, device and storage medium for determining a top message in a live broadcast room.
背景技术Background technique
目前,在直播场景中有一类特定的使用场景,即当用户刚进入直播间时,客户端会收到直播间的置顶消息,这些置顶消息针对大多数用户而言,具有通用性,并且置顶消息的内容通常不会频繁的变动。例如,针对电商直播间,当用户刚进入直播间时,客户端会收到一些优惠券信息,引导用户参与当前活动中。又例如,当用户刚进入直播间时,客户端会收到该直播间的一些基本介绍信息,包括主播的基本信息和直播内容等。At present, there is a specific usage scenario in the live broadcast scene, that is, when a user first enters the live broadcast room, the client will receive the sticky message from the live room. These sticky messages are universal for most users, and sticky messages The content usually does not change frequently. For example, for an e-commerce live broadcast room, when a user first enters the live broadcast room, the client will receive some coupon information to guide the user to participate in the current activity. For another example, when the user just enters the live broadcast room, the client will receive some basic introduction information of the live broadcast room, including the basic information of the host and the live broadcast content.
针对上述使用场景,现有方案采用当用户进入直播间时,会触发服务端向客户端推送一条点对点消息的方式实现,该点对点消息只会发送给刚入场用户的客户端。然而,当较短时间内存在大量用户进入直播间时,意味着服务端需要在较短时间内向客户端下发大量并发的点对点消息,导致服务端的数据处理压力过大。For the above usage scenarios, the existing solution adopts the method of triggering the server to push a peer-to-peer message to the client when the user enters the live broadcast room, and the peer-to-peer message will only be sent to the client of the user who just entered the room. However, when a large number of users enter the live broadcast room in a short period of time, it means that the server needs to send a large number of concurrent point-to-point messages to the client in a short period of time, resulting in excessive data processing pressure on the server.
发明内容SUMMARY OF THE INVENTION
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开实施例提供了一种直播间置顶消息确定方法、装置、设备和存储介质。In order to solve the above technical problem or at least partially solve the above technical problem, the embodiments of the present disclosure provide a method, apparatus, device and storage medium for determining a top message in a live broadcast room.
第一方面,本公开实施例提供了一种直播间置顶消息确定方法,包括:In a first aspect, an embodiment of the present disclosure provides a method for determining a top message in a live broadcast room, including:
在确定进入直播间的情况下,向所述直播间的服务端发送置顶消息获取请求;其中,所述置顶消息获取请求用于从所述服务端拉取直播间置顶消息;In the case of determining to enter the live broadcast room, send a request for obtaining the top message to the server of the live room; wherein, the request for obtaining the top message is used to pull the top message of the live broadcast room from the server;
从所述服务端接收直播间置顶消息;Receive a live broadcast room top message from the server;
在所述直播间的消息交互界面展示所述直播间置顶消息。The top message of the live broadcast room is displayed on the message interaction interface of the live broadcast room.
第二方面,本公开实施例还提供了一种直播间置顶消息确定方法,包括:In a second aspect, an embodiment of the present disclosure also provides a method for determining a top message in a live broadcast room, including:
接收客户端在确定进入直播间的情况下发送的置顶消息获取请求;其中,所述置顶消息获取请求用于所述客户端从所述服务端拉取直播间置顶消息;receiving a request for obtaining a top message from the client when it is determined to enter the live room; wherein, the request for obtaining a top message is used by the client to pull the top message of the live room from the server;
根据所述置顶消息获取请求,确定直播间置顶消息并向所述客户端发送,以使所述客户端在所述直播间的消息交互界面展示所述直播间置顶消息。According to the request for obtaining the sticky message, a live room sticky message is determined and sent to the client, so that the client displays the live broadcast room sticky message on the message interaction interface of the live room.
第三方面,本公开实施例还提供了一种直播间置顶消息确定装置,包括:In a third aspect, an embodiment of the present disclosure also provides a device for determining a live broadcast room top message, including:
请求发送模块,用于在确定进入直播间的情况下,向所述直播间的服务端发送置顶消息获取请求;其中,所述置顶消息获取请求用于从所述服务端拉取直播间置顶消息;A request sending module, configured to send a request for obtaining the top message to the server of the live room when it is determined to enter the live room; wherein, the request for obtaining the top message is used to pull the top message of the live room from the server ;
消息接收模块,用于从所述服务端接收直播间置顶消息;a message receiving module, configured to receive a live broadcast room top message from the server;
消息展示模块,用于在所述直播间的消息交互界面展示所述直播间置顶消息。A message display module, configured to display the top message of the live broadcast room on the message interaction interface of the live broadcast room.
第四方面,本公开实施例还提供了一种直播间置顶消息确定装置,包括:In a fourth aspect, an embodiment of the present disclosure further provides an apparatus for determining a top message in a live broadcast room, including:
请求接收模块,用于接收客户端在确定进入直播间的情况下发送的置顶消息获取请求;其中,所述置顶消息获取请求用于所述客户端从所述服务端拉取直播间置顶消息;a request receiving module, configured to receive a request for obtaining a top message from the client when it is determined to enter the live room; wherein, the request for obtaining a top message is used by the client to pull the top message of the live room from the server;
消息发送模块,用于根据所述置顶消息获取请求,确定直播间置顶消息并向所述客户端发送,以使所述客户端在所述直播间的消息交互界面展示所述直播间置顶消息。A message sending module, configured to determine a live broadcast room sticky message and send it to the client according to the sticky message acquisition request, so that the client can display the live broadcast room sticky message on a message interaction interface of the live broadcast room.
第五方面,本公开实施例还提供了一种电子设备,包括存储器和处理器,其中,所述存储器中存储有计算机程序,当所述计算机程序被所述处 理器执行时,使得所述电子设备实现本公开实施例提供的任一直播间置顶消息确定方法。In a fifth aspect, an embodiment of the present disclosure further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the electronic device is made to The device implements any of the methods for determining the top message of a live broadcast room provided by the embodiments of the present disclosure.
第六方面,本公开实施例还提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,当所述计算机程序被计算设备执行时,使得所述计算设备实现本公开实施例提供的任一直播间置顶消息确定方法。In a sixth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a computing device, the computing device enables the computing device to implement the embodiment of the present disclosure The method for determining the top message of any live broadcast room provided.
本公开实施例提供的技术方案与现有技术相比至少具有如下优点:在本公开实施例中,在确定进入直播间的情况下客户端主动向直播间的服务端发送置顶消息获取请求,以从服务端拉取直播间置顶消息并展示在客户端中直播间的消息交互界面。不同客户端向服务端发送置顶消息获取请求以及接收服务端下发的直播间置顶消息均会存在一定时序差异,能够实现对服务端需要下发的直播间置顶消息的错峰发送,进而实现了对服务端向客户端发送直播间置顶消息的交互方式的优化,避免了当大量用户进入同一直播间时服务端需要在较短时间内向客户端下发大量并发的点对点消息的现象,缓解了服务端的数据处理压力。Compared with the prior art, the technical solutions provided by the embodiments of the present disclosure have at least the following advantages: in the embodiments of the present disclosure, when it is determined to enter the live room, the client actively sends a request for obtaining a top message to the server of the live room, so as to Pull the top message of the live broadcast room from the server and display the message interaction interface of the live broadcast room in the client. Different clients send a request to the server to obtain the top message and receive the live room top message sent by the server. There will be a certain timing difference, which can realize the off-peak sending of the live room top message that needs to be sent by the server. The optimization of the interaction method for the server to send the top message of the live broadcast room to the client avoids the phenomenon that the server needs to send a large number of concurrent point-to-point messages to the client in a short period of time when a large number of users enter the same live broadcast room, and relieves the service end-to-end data processing pressure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the accompanying drawings that are required to be used in the description of the embodiments or the prior art will be briefly introduced below. In other words, on the premise of no creative labor, other drawings can also be obtained from these drawings.
图1为本公开实施例提供的一种直播间置顶消息确定方法的流程图;FIG. 1 is a flowchart of a method for determining a top message in a live broadcast room according to an embodiment of the present disclosure;
图2为本公开实施例提供的另一种直播间置顶消息确定方法的流程图;FIG. 2 is a flowchart of another method for determining a top message in a live broadcast room provided by an embodiment of the present disclosure;
图3为本公开实施例提供的另一种直播间置顶消息确定方法的流程图;3 is a flowchart of another method for determining a live broadcast room top message provided by an embodiment of the present disclosure;
图4为本公开实施例提供的一种直播间置顶消息确定装置的结构示意图;FIG. 4 is a schematic structural diagram of a device for determining a top message in a live broadcast room according to an embodiment of the present disclosure;
图5为本公开实施例提供的另一种直播间置顶消息确定装置的结构示意图;FIG. 5 is a schematic structural diagram of another apparatus for determining a top message in a live broadcast room provided by an embodiment of the present disclosure;
图6为本公开实施例提供的一种电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式Detailed ways
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments may be combined with each other under the condition of no conflict.
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。Many specific details are set forth in the following description to facilitate a full understanding of the present disclosure, but the present disclosure can also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, and Not all examples.
图1为本公开实施例提供的一种直播间置顶消息确定方法的流程图,可以适用于当用户进入直播间时,如何确定直播间的置顶消息的情况。该直播间置顶消息确定方法可以由直播间置顶消息确定装置执行,该装置可以采用软件和/或硬件实现,可以集成在任意具有计算能力的电子设备上,例如智能手机、平板电脑和个人电脑等用户终端(可以称为客户端)。进一步的,该装置还可以集成在电子设备上安装的具有直播功能的应用程序(以下简称为直播应用程序)中,例如视频交互类应用程序等。即本公开实施例提供的方法可以由电子设备执行,也可以由电子设备上安装的直播应用程序执行。FIG. 1 is a flowchart of a method for determining a top message in a live broadcast room provided by an embodiment of the present disclosure, which can be applied to the situation of how to determine the top message in a live broadcast room when a user enters the live broadcast room. The method for determining the top message of a live broadcast room may be executed by an apparatus for determining the top message of a live broadcast room, which may be implemented by software and/or hardware, and may be integrated on any electronic device with computing capabilities, such as a smart phone, a tablet computer, a personal computer, etc. User terminals (may be referred to as clients). Further, the apparatus can also be integrated into an application program with a live broadcast function (hereinafter referred to as a live broadcast application program) installed on the electronic device, such as a video interactive application program and the like. That is, the methods provided by the embodiments of the present disclosure may be executed by an electronic device, or may be executed by a live broadcast application installed on the electronic device.
在本公开实施例中,直播间置顶信息是指用户刚进入直播间时,直播间界面上展示的具有通用性的消息。即针对进入同一直播间的用户而言,其在直播间的消息交互界面上可以看到一部分相同的消息内容。In the embodiment of the present disclosure, the live broadcast room sticking information refers to the general message displayed on the live broadcast room interface when the user just enters the live broadcast room. That is, for users entering the same live broadcast room, they can see a part of the same message content on the message interaction interface of the live broadcast room.
如图1所示,本公开实施例提供的直播间置顶消息确定方法可以包括:As shown in FIG. 1 , the method for determining a top message in a live broadcast room provided by an embodiment of the present disclosure may include:
S101、在确定进入直播间的情况下,向直播间的服务端发送置顶消息获取请求;其中,置顶消息获取请求用于从服务端拉取直播间置顶消息。S101. In the case that it is determined to enter the live broadcast room, send a top message acquisition request to a server of the live broadcast room; wherein, the top message acquisition request is used to pull the live broadcast room top message from the server.
示例性的,用户可以通过触控客户端界面上展示的直播间进入控件,触发请求进入直播间的进入请求。客户端可以响应于该进入请求,与服务端建立通信连接,并由当前界面切换至直播间的消息交互界面,由此可以 确定用户已经进入直播间。此时,客户端自动生成置顶消息获取请求并向服务端发送。其中,直播间的消息交互界面是指用户通过客户端可以完整查看直播内容的展示界面,根据直播间的不同,直播间的消息交互界面可以进行灵活布局。Exemplarily, the user can trigger an entry request for entering the live room by touching the live room entry control displayed on the client interface. In response to the entry request, the client can establish a communication connection with the server, and switch from the current interface to the message interaction interface in the live room, thereby determining that the user has entered the live room. At this point, the client automatically generates a request for obtaining the top message and sends it to the server. The message interaction interface in the live broadcast room refers to a display interface where the user can completely view the live broadcast content through the client. According to the difference of the live broadcast room, the message interaction interface in the live broadcast room can be flexibly arranged.
进一步的,置顶消息获取请求中可以携带用户当前进入的直播间的房间标识,以使得服务端可以根据该房间标识准确确定用户当前进入的直播间的置顶消息。Further, the top message acquisition request may carry the room identifier of the live studio that the user currently enters, so that the server can accurately determine the top message of the live studio currently entered by the user according to the room identifier.
S102、从服务端接收所述直播间置顶消息。S102. Receive the live broadcast room top message from the server.
服务端在接收客户端的置顶消息获取请求之前,预先根据业务方的置顶消息配置操作,确定与直播间对应的直播间置顶消息。即针对业务方而言,其可以自定义直播间的置顶消息,可以对直播间置顶消息进行增加、删除、变更以及查看等操作。然后服务端按照直播间的房间标识,存储直播间置顶消息,例如存储在本地缓存中。当接收到客户端的置顶消息获取请求后,则从预先存储的直播间置顶消息中,确定需要下发至客户端的直播间置顶消息。即从服务端接收直播间置顶消息可以从服务端的本地缓存中接收直播间置顶消息,服务端的本地缓存用于按照直播间的房间标识预先缓存直播间置顶消息。Before receiving the top message acquisition request from the client, the server determines the live room top message corresponding to the live room according to the business party's top message configuration operation in advance. That is, for the business side, it can customize the sticky message in the live room, and can add, delete, change, and view the sticky message in the live room. Then, the server stores the top message of the live broadcast room according to the room identifier of the live broadcast room, for example, in a local cache. After receiving the request for obtaining the sticky message from the client, the sticky message of the live broadcast room that needs to be delivered to the client is determined from the pre-stored sticky message of the live broadcast room. That is, receiving the live room top message from the server can receive the live room top message from the server's local cache, and the server's local cache is used to pre-cache the live room top message according to the room ID of the live room.
自定义的直播间置顶消息具有通用性,在一定时间内不会发生频繁改动,通过将直播间置顶消息进行存储,有助于提高当用户进入直播间时客户端主动拉取直播间置顶消息的效率。即针对服务端而言,存储消息的命中率比较高。The customized top message of the live room is universal and will not change frequently within a certain period of time. By storing the top message of the live room, it will help improve the efficiency of the client to actively pull the top message of the live room when the user enters the live room. efficiency. That is, for the server, the hit rate of the stored message is relatively high.
具体的,直播间置顶消息的类型包括以下至少之一:基于直播间ID维度的置顶消息、基于主播ID维度的置顶消息、基于直播应用程序维度的置顶消息和基于直播功能维度的置顶消息。Specifically, the type of the live broadcast room sticky message includes at least one of the following: sticky message based on the live room ID dimension, sticky message based on the anchor ID dimension, sticky message based on the live broadcast application dimension, and sticky message based on the live broadcast function dimension.
其中,基于直播间ID维度(RoomLevel)的置顶消息是指针对当前直播间设置的具有通用性的消息,例如关于当前直播间的介绍信息、在当前直播间有效的活动介绍信息等,针对不同的直播间ID,该维度的置顶消息可以不同。基于主播ID维度(AnchorLevel)的置顶消息是指针对当前主播设置的具有通用性的消息,且不因主播所在的直播间的变化而变化,例 如针对主播的个人介绍信息(如兴趣、专长等)等。基于直播应用程序维度(AppLevel)的置顶消息是指从应用程序层面设置的置顶消息,例如针对不同类型的直播应用程序,设置与直播应用程序对应的进入直播间的欢迎语信息、文明直播提示信息、特定行为禁止信息等。基于直播功能维度(LiveLevel)的置顶消息是指从直播功能的层面设置的具有通用性的消息,例如进入直播间的欢迎语、特定行为禁止信息等等。需要说明的是,针对每种维度的直播间置顶消息,业务方可以根据直播需求灵活设置每种维度的置顶消息的具体内容,本公开实施例不作具体限定。Among them, the top message based on the ID dimension (RoomLevel) of the live room refers to the general message set for the current live room, such as the introduction information about the current live room, the event introduction information valid in the current live room, etc. The ID of the live broadcast room. The top message of this dimension can be different. The anchor message based on the anchor ID dimension (AnchorLevel) refers to the general message set for the current anchor, and does not change due to the change of the live broadcast room where the anchor is located, such as personal introduction information for the anchor (such as interests, expertise, etc.) Wait. The top message based on the live application dimension (AppLevel) refers to the top message set from the application level. For example, for different types of live broadcast applications, set the welcome message information and civilized live broadcast prompt information corresponding to the live broadcast application when entering the live broadcast room. , specific behavior prohibition information, etc. The top message based on the dimension of the live broadcast function (LiveLevel) refers to a message with generality set from the level of the live broadcast function, such as a welcome message for entering the live broadcast room, information on prohibiting specific behaviors, and so on. It should be noted that, for each dimension of the top message in the live broadcast room, the business party can flexibly set the specific content of each dimension of the top message according to the live broadcast requirements, which is not specifically limited in the embodiment of the present disclosure.
当服务端确定需要下发至客户端的直播间置顶消息涉及至少两个类型(或者至少两个维度)时,可以从预先存储的直播间置顶消息中确定出对应至少两个类型的直播间置顶消息,并将至少两个类型的直播间置顶消息进行合并处理,例如将这些消息进行排序并压缩处理,然后一起下发至客户端。此外,针对服务端需要向客户端发送同一类型下的至少两个直播间置顶消息的情况,服务端确定出至少两个直播间置顶消息后,同样可以执行直播间置顶消息的合并处理后再发送至客户端。When the server determines that there are at least two types (or at least two dimensions) of the live broadcast room top-up messages that need to be delivered to the client, the live broadcast room stick-to-top messages corresponding to at least two types may be determined from the pre-stored live broadcast room stick-to-top messages. , and combine at least two types of live broadcast top messages, for example, sort and compress these messages, and then send them to the client together. In addition, for the situation where the server needs to send at least two live broadcast room top messages of the same type to the client, after the server determines at least two live broadcast room top messages, it can also perform a combination of live broadcast room top messages before sending. to the client.
S103、在直播间的消息交互界面展示直播间置顶消息。S103. Display the top message of the live broadcast room on the message interaction interface of the live broadcast room.
客户端接收到直播间置顶消息后,可以在直播间的消息交互界面的预设展示区域展示该直播间置顶消息。预设展示区域可以包括但不限于直播间的消息交互界面的公屏区、界面挂件区域等,具体可以根据界面布局而定。进一步的,用于展示直播间置顶消息的预设展示区域可以是用于展示直播间交互信息的交互区域中的顶部,例如公屏区的顶部等。After receiving the live broadcast room sticking message, the client can display the live broadcast room sticking message in the preset display area of the message interaction interface of the live broadcast room. The preset display area may include, but is not limited to, the public screen area of the message interaction interface in the live broadcast room, the interface pendant area, etc., which may be determined according to the interface layout. Further, the preset display area for displaying the top message of the live broadcast room may be the top of the interaction area used for displaying the interactive information of the live broadcast room, such as the top of the public screen area.
在上述技术方案的基础上,在一种可能的实现方式中,在直播间的消息交互界面展示直播间置顶消息,包括:On the basis of the above technical solution, in a possible implementation manner, displaying the top message of the live broadcast room on the message interaction interface of the live broadcast room, including:
根据直播间置顶消息中包括的各个置顶子消息的优先级信息或者各个置顶子消息的排列顺序,确定直播间置顶消息的展示方式;According to the priority information of each sticky sub-message included in the live broadcast room sticky message or the arrangement order of each sticky sub-message, determine the display method of the live broadcast room sticky message;
基于确定的展示方式,在直播间的消息交互界面展示直播间置顶消息。Based on the determined display method, the top message of the live broadcast room is displayed on the message interaction interface of the live broadcast room.
在本公开实施例中,如果服务端下发至客户端的直播间置顶消息中包括多个(即至少两个)置顶子消息,则客户端会按照预先设定的展示方式对多个置顶子消息进行展示,确保置顶子消息的展示效果以及置顶子消息 对刚进入直播间的用户的提示作用。In the embodiment of the present disclosure, if the live broadcast room sticking message sent by the server to the client includes multiple (ie at least two) sticking sub-messages, the client will display the multiple sticking sub-messages according to a preset display method. Display it to ensure the display effect of the top sub-message and the prompting effect of the top sub-message for users who have just entered the live broadcast room.
服务端在确定需要下发至客户端的直播间置顶消息的过程中,同时确定各个置顶子消息的优先级信息。属于不同消息类型的置顶子消息的优先级信息,可以根据置顶子消息所属的消息类型进行确定。例如基于主播ID维度的置顶消息的优先级高于基于直播间ID维度的置顶消息等,并且不同消息类型的优先级信息可以根据业务方的配置操作而定,即业务方在预先自定义配置每个直播间的置顶消息的过程中,可以同时指定每个消息的优先级信息。此外,属于相同消息类型的置顶子消息的优先级信息也可以根据业务方的配置操作而定,例如基于直播间ID维度的置顶消息中包括关于多个电商活动的置顶子消息,可以根据活动的重要性,配置各个置顶子消息的优先级信息。In the process of determining the top message in the live broadcast room that needs to be delivered to the client, the server also determines the priority information of each sub-message. The priority information of the top sub-messages belonging to different message types may be determined according to the message type to which the top sub-messages belong. For example, the priority of the top message based on the anchor ID dimension is higher than that based on the live broadcast room ID dimension, etc., and the priority information of different message types can be determined according to the configuration operation of the business party, that is, the business party customizes the configuration of each message in advance. During the process of posting a message in a live room, the priority information of each message can be specified at the same time. In addition, the priority information of the top sub-messages belonging to the same message type can also be determined according to the configuration operation of the business party. For example, the top message based on the ID dimension of the live broadcast room includes the top sub-messages about multiple e-commerce activities. importance, configure the priority information of each top sub-message.
服务端将确定的各个置顶子消息的优先级信息和各个置顶子消息一并发送至客户端,以使客户端根据各个置顶子消息的优先级信息确定直播间置顶消息的展示方式。The server sends the determined priority information of each sticky sub-message to the client together with each sticky sub-message, so that the client determines the display mode of the stick-to-top message in the live broadcast room according to the priority information of each sticky sub-message.
此外,服务端还可以按照直播间置顶消息中各个置顶子消息的配置时间(即服务端接收到的业务方对直播间置顶消息的配置操作的时间),对各个置顶子消息进行排序;然后将排序之后的各个置顶子消息发送至客户端,以使客户端根据各个置顶子消息的排列顺序确定直播间置顶消息的展示方式。服务端通过按照置顶子消息的配置时间对多个置顶子消息进行排序,可以保证多个置顶子消息有序发送至客户端,避免消息的遗漏,对客户端而言,也可以按照预设的展示方式,对接收的多个置顶子消息进行有序展示,保证展示效果。In addition, the server can also sort the sub-messages according to the configuration time of each sub-message in the live-streaming message (that is, the time received by the server for the configuration operation of the live-streaming message by the business party); The sorted top sub-messages are sent to the client, so that the client determines the display mode of the top messages in the live broadcast room according to the arrangement order of the top sub-messages. By sorting the multiple top sub-messages according to the configuration time of the top sub-messages, the server can ensure that multiple top sub-messages are sent to the client in an orderly manner to avoid message omission. Display mode, display multiple received sub-messages in an orderly manner to ensure the display effect.
与置顶子消息的优先级信息或者排列顺序相匹配的展示策略可以预先下发至客户端中,如果客户端检测到接收到多个置顶子消息的优先级信息,则可以按照该优先级信息确定展示方式,如果未检测到优先级信息,则可以按照置顶子消息的排序顺序,确定展示方式。当然,也可以将按照各个置顶子消息的排列顺序,确定直播间置顶消息的展示方式作为客户端中确定展示方式的一种默认策略。The display strategy that matches the priority information or arrangement order of the top sub-messages can be pre-delivered to the client. If the client detects that the priority information of multiple top sub-messages is received, it can be determined according to the priority information. Display mode, if no priority information is detected, the display mode can be determined according to the sorting order of the top sub-messages. Of course, it is also possible to determine the display mode of the top message in the live broadcast room according to the arrangement order of each sub-message as a default strategy for determining the display mode in the client.
针对客户端接收到直播间置顶消息是经服务端进行消息合并处理的情 况,客户端可以首先对接收的直播间置顶消息进行解压,然后基于解压后的各个直播间置顶消息,确定直播间置顶消息的展示方式。In view of the situation that the client receives the top message of the live broadcast room and the message is combined and processed by the server, the client can first decompress the received top message of the live broadcast room, and then determine the top message of the live broadcast room based on the decompressed top message of each live broadcast room display method.
示例性的,基于确定的展示方式,在直播间界面展示直播间置顶消息,包括:Exemplarily, based on the determined display method, displaying the live broadcast room top message on the live broadcast room interface, including:
客户端可以将处于第一优先级的置顶子消息,在直播间的消息交互界面上进行在先展示;即优先级较高的置顶子消息可以优先展示。The client can display the top sub-message at the first priority on the message interaction interface in the live broadcast room first; that is, the top sub-message with a higher priority can be displayed first.
或者,or,
客户端可以将处于第一优先级的置顶子消息,在直播间的消息交互界面上进行在后展示。考虑直播间的消息交互界面的预设展示区域,例如公屏区,随着展示消息的持续增加,在先展示的直播间置顶消息将会被挤出展示区域,如果将优先级较高的置顶子消息进行在后展示,可以避免该置顶子消息被较快地挤出展示区域而导致用户无法及时查看的现象。The client can display the top sub-message at the first priority on the message interaction interface in the live broadcast room. Consider the preset display area of the message interaction interface in the live broadcast room, such as the public screen area. As the number of displayed messages continues to increase, the top message of the live broadcast room displayed earlier will be squeezed out of the display area. The sub-message is displayed later, which can avoid the phenomenon that the pinned sub-message is quickly squeezed out of the display area, which causes the user to be unable to view it in time.
或者,or,
客户端可以将处于第一优先级的置顶子消息,在直播间的消息交互界面上采用挂件形式进行固定展示。通过采用挂件形式对优先级较高的置顶子消息进行固定展示,可以实现对优先级较高的置顶子消息的相对持久化展示效果,即使直播间的消息交互界面的其他预设展示区域中展示消息在不断滚动变更,也不会产生因展示消息的滚动变更,导致用户无法及时查看优先级较高的置顶子消息的现象。The client can display the top-level sub-message at the first priority in the form of a pendant on the message interaction interface in the live broadcast room. By using the form of pendant to display the sticky sub-messages with higher priority, a relatively persistent display effect of sticky-top messages with higher priority can be realized, even if it is displayed in other preset display areas of the message interaction interface of the live broadcast room The messages are constantly changing, and there will be no phenomenon that users cannot view the top sub-messages with higher priority in time due to the scrolling changes of the displayed messages.
或者,or,
客户端可以根据各个置顶子消息的排列顺序,在直播间的消息交互界面上依次展示各个置顶子消息。即客户端对各个置顶子消息的展示顺序可以与接收到的各个置顶子消息的排序结果一致,保证对置顶子消息的有序展示。The client can display the top sub-messages in sequence on the message interaction interface in the live broadcast room according to the order of the top sub-messages. That is, the display order of each sticky sub-message by the client can be consistent with the sorting result of each received sticky sub-message, so as to ensure the orderly display of the sticky sub-messages.
在本公开实施例中,在确定进入直播间的情况下客户端主动向直播间的服务端发送置顶消息获取请求,以从服务端拉取直播间置顶消息并展示在客户端中直播间的消息交互界面。不同客户端向服务端发送置顶消息获取请求以及接收服务端下发的直播间置顶消息均会存在一定时序差异,能够实现对服务端需要下发的直播间置顶消息的错峰发送,进而实现了对服 务端向客户端发送直播间置顶消息的交互方式的优化,避免了当大量用户进入同一直播间时服务端需要在较短时间内向客户端下发大量并发的点对点消息的现象,缓解了服务端的数据处理压力。并且,通过客户端根据直播间置顶消息中包括的各个置顶子消息的优先级信息或者各个置顶子消息的排列顺序,确定直播间置顶消息的展示方式,确保了直播间置顶消息的展示效果以及消息提示效果。消息展示策略的灵活性,也充分体现了本方案的实施灵活性,优化了客户端的直播间置顶消息展示功能。In the embodiment of the present disclosure, when it is determined to enter the live room, the client actively sends a request for obtaining the top message to the server of the live room, so as to pull the top message of the live room from the server and display the message of the live room in the client user-interface. Different clients send a request to the server to obtain the top message and receive the live room top message sent by the server. There will be a certain timing difference, which can realize the off-peak sending of the live room top message that needs to be sent by the server. The optimization of the interaction method for the server to send the top message of the live broadcast room to the client avoids the phenomenon that the server needs to send a large number of concurrent point-to-point messages to the client in a short period of time when a large number of users enter the same live broadcast room, and relieves the service end-to-end data processing pressure. In addition, the client determines the display method of the top message in the live broadcast room according to the priority information of each sticky sub-message included in the live broadcast room sticky message or the arrangement order of each sticky sub-message, so as to ensure the display effect and message of the live broadcast room sticky message. prompt effect. The flexibility of the message display strategy also fully reflects the implementation flexibility of this solution, and optimizes the client's live broadcast room top message display function.
图2为本公开实施例提供的另一种直播间置顶消息确定方法的流程图,基于上述技术方案进一步优化与扩展,并可以与上述各个可选实施方式进行结合。FIG. 2 is a flowchart of another method for determining a top message in a live broadcast room provided by an embodiment of the present disclosure, which is further optimized and expanded based on the foregoing technical solution, and may be combined with the foregoing optional implementation manners.
如图2所示,本公开实施例提供的直播间置顶消息确定方法可以包括:As shown in FIG. 2 , the method for determining the top message of the live broadcast room provided by the embodiment of the present disclosure may include:
S201、在确定进入直播间的情况下,获取客户端的预设信息;其中,预设信息用于服务端筛选需要下发至客户端的直播间置顶消息。S201. Obtain preset information of the client when it is determined to enter the live broadcast room; wherein, the preset information is used by the server to screen the live broadcast room top message that needs to be delivered to the client.
在一种可能的实现方式中,客户端的预设信息包括以下至少之一:客户端的特征信息和客户端对应的网络类型。客户端的特征信息可以包括但不限于客户端对应的设备类型、客户端中安装的直播应用程序的版本信息等。直播应用程序的版本信息可以包括上线版本的版本号或者测试版本的版本号等信息,客户端对应的设备类型可以包括基于安卓操作系统的终端设备或者基于苹果操作系统(即iOS)的终端设备等。客户端对应的网络类型可以包括无线局域网(WiFi)或者移动网络(例如3G或4G网络等)等。针对不同客户端的预设信息,属于相同消息类型的直播间置顶消息,在不同客户端中展示时,仍会存在部分展示差异。In a possible implementation manner, the preset information of the client includes at least one of the following: characteristic information of the client and a network type corresponding to the client. The feature information of the client may include, but is not limited to, the device type corresponding to the client, the version information of the live broadcast application installed in the client, and the like. The version information of the live broadcast application may include information such as the version number of the online version or the version number of the test version, and the device type corresponding to the client may include terminal devices based on the Android operating system or terminal devices based on the Apple operating system (ie iOS), etc. . The network type corresponding to the client may include a wireless local area network (WiFi) or a mobile network (for example, a 3G or 4G network, etc.). For the preset information of different clients, there will still be some differences in the display of sticky messages belonging to the same message type in the live broadcast room when displayed in different clients.
客户端可以利用预先设置的监测程序,确定客户端的当前预设信息,然后携带在置顶消息获取请求中,一并发送至服务端。The client can use a preset monitoring program to determine the current preset information of the client, and then carry it in the top message acquisition request and send it to the server together.
S202、基于预设信息生成置顶消息获取请求,并向服务端发送。S202. Generate a top message acquisition request based on the preset information, and send the request to the server.
S203、从服务端接收直播间置顶消息。S203. Receive a live broadcast room top message from the server.
服务端可以首先根据置顶消息获取请求中携带的直播间的房间标识,确定预先存储的该直播间的置顶消息;然后根据置顶消息获取请求中携带的客户端的预设信息,从预先存储的直播间置顶消息中确定与预设信息匹 配的直播间置顶消息,然后下发至客户端。The server can first determine the pre-stored stick-top message of the live room according to the room identifier of the live room carried in the stick-top message acquisition request; In the sticky message, the sticky message of the live broadcast room that matches the preset information is determined, and then delivered to the client.
服务端根据直播应用程序的版本信息和客户端对应的设备类型,筛选需要下发至客户端的直播间置顶消息,可以避免将当前直播应用程序版本或者当前设备不支持显示的直播间置顶消息也下发至客户端,造成对宽带资源的浪费以及对存储资源的占用。服务端根据客户端对应的网络类型筛选需要下发至客户端的直播间置顶消息,可以充分利用当前客户端对应的网络连接情况,使得客户端合理展示与当前网络类型相匹配的直播间置顶消息,并保证消息展示效果。Based on the version information of the live broadcast application and the device type corresponding to the client, the server filters the live broadcast room sticking messages that need to be delivered to the client, which can avoid the current live broadcast application version or the live room sticking message that is not supported by the current device. Sent to the client, resulting in waste of broadband resources and occupation of storage resources. The server filters the live room top messages that need to be delivered to the client according to the network type corresponding to the client, and can make full use of the network connection status corresponding to the current client, so that the client can reasonably display the live room top messages that match the current network type. And ensure the message display effect.
示例性的,针对属于基于主播ID维度的置顶消息中,主播的个人介绍信息在第一版本号的直播应用程序中展示姓名和年龄,而在第二版本号的直播应用程序中可以展示主播的姓名、年龄和兴趣爱好。示例性的,如果客户端对应的当前网络类型为无线局域网,则服务端可以向客户端下发对应动画展示效果的直播间置顶消息,如果客户端对应的当前网络类型为移动网络,则服务端可以向客户端下发无动画展示效果的直播间置顶消息。例如,针对属于基于直播间ID维度的置顶消息中,当前直播间有效的活动介绍信息包括对应动画展示效果和无动画展示效果两种版本的介绍信息,如果客户端对应的当前网络类型为无线局域网,则服务端可以向客户端下发对应动画展示效果的活动介绍信息。Exemplarily, for the sticky message belonging to the anchor ID dimension, the personal introduction information of the anchor displays the name and age in the live broadcast application of the first version number, and the host's personal introduction information can be displayed in the live broadcast application of the second version number. Name, age and hobbies. Exemplarily, if the current network type corresponding to the client is a wireless local area network, the server can deliver a live broadcast message to the client corresponding to the animation display effect, and if the current network type corresponding to the client is a mobile network, the server You can send the top message of the live broadcast room without animation display effect to the client. For example, for a sticky message based on the ID dimension of the live broadcast room, the active introduction information of the current live broadcast room includes two versions of the introduction information corresponding to the animation display effect and the non-animation display effect. If the current network type corresponding to the client is a wireless local area network , the server can deliver the activity introduction information corresponding to the animation display effect to the client.
S204、在直播间的消息交互界面展示直播间置顶消息。S204. Display the top message of the live broadcast room on the message interaction interface of the live broadcast room.
在本公开实施例中,在确定进入直播间的情况下客户端主动向直播间的服务端发送置顶消息获取请求,以从服务端拉取直播间置顶消息并展示在客户端中直播间的消息交互界面,对服务端向客户端发送直播间置顶消息的交互方式进行了优化,避免了当大量用户进入同一直播间时服务端需要在较短时间内向客户端下发大量并发的点对点消息的现象,缓解了服务端的数据处理压力。并且,通过置顶消息获取请求中携带客户端的预设信息,服务端可以根据该预设信息对需要下发至客户端的直播间置顶消息进行动态筛选,实现了直播间置顶消息向不同客户端的个性化发送,进而实现了客户端中对直播间置顶消息的个性化展示。In the embodiment of the present disclosure, when it is determined to enter the live room, the client actively sends a request for obtaining the top message to the server of the live room, so as to pull the top message of the live room from the server and display the message of the live room in the client The interactive interface optimizes the interaction method for the server to send the live broadcast room top message to the client, avoiding the phenomenon that the server needs to send a large number of concurrent point-to-point messages to the client in a short period of time when a large number of users enter the same live broadcast room. , which relieves the data processing pressure on the server. In addition, by carrying the preset information of the client in the sticky message acquisition request, the server can dynamically filter the sticky messages of the live broadcast room that need to be delivered to the client according to the preset information, so as to realize the personalization of sticky messages of the live broadcast room to different clients. Sending, thereby realizing the personalized display of the top message in the live broadcast room in the client.
图3为本公开实施例提供的另一种直播间置顶消息确定方法的流程 图,该方法可以应用于服务端中,并可以由配置在服务端中的直播间置顶消息确定装置执行,该装置可以采用软件和/或硬件实现。3 is a flowchart of another method for determining a live broadcast room top message provided by an embodiment of the present disclosure. The method can be applied to a server, and can be executed by a live broadcast room top message determination device configured in the server. The device It can be implemented in software and/or hardware.
本公开实施例提供的可以应用于服务端的直播间置顶消息确定方法,与本公开实施例提供的可以应用于客户端或者应用于直播应用程序的直播间置顶消息确定方法配合执行,以下实施例中未详细描述的内容可以参考上述实施例中的描述。The method for determining the top message of a live broadcast room provided by the embodiment of the present disclosure, which can be applied to the server, is executed in cooperation with the method for determining the top message of the live broadcast room provided by the embodiment of the present disclosure, which can be applied to the client or a live broadcast application. In the following embodiments For content not described in detail, reference may be made to the descriptions in the above embodiments.
如图3所示,本公开实施例提供的直播间置顶消息确定方法可以包括:As shown in FIG. 3 , the method for determining the top message of the live broadcast room provided by the embodiment of the present disclosure may include:
S301、接收客户端在确定进入直播间的情况下发送的置顶消息获取请求;其中,置顶消息获取请求用于客户端从服务端拉取直播间置顶消息。S301. Receive a sticking message acquisition request sent by the client when it is determined to enter the live broadcast room; wherein, the sticky message acquisition request is used by the client to pull the live broadcast room sticky message from the server.
S302、根据置顶消息获取请求,确定直播间置顶消息并向客户端发送,以使客户端在直播间的消息交互界面展示直播间置顶消息。S302. Determine and send the live room top message to the client according to the request for obtaining the top message, so that the client displays the live room top message on the message interaction interface of the live room.
在一种可能的实现方式中,在接收客户端在确定进入直播间的情况下发送的置顶消息获取请求之前,本公开实施例提供的直播间置顶消息确定方法还包括:In a possible implementation manner, before receiving a request for obtaining a sticky message sent by a client when it is determined to enter a live room, the method for determining a sticker message in a live room provided by the embodiment of the present disclosure further includes:
根据业务方的置顶消息配置操作,确定与直播间对应的直播间置顶消息;例如,业务方可以利用业务方客户端展示的直播间消息的配置界面,输入置顶消息配置操作,并由业务方客户端向服务端发送该置顶消息配置操作;According to the configuration operation of the sticky message of the business side, the sticky message of the live room corresponding to the live room is determined; for example, the business side can use the configuration interface of the live room message displayed by the client of the business side to input the sticky message configuration operation, and the client of the business side can enter the top message configuration operation. The terminal sends the top message configuration operation to the server;
按照直播间的房间标识,存储直播间置顶消息。Store the top message of the live broadcast room according to the room ID of the live broadcast room.
在一种可能的实现方式中,根据置顶消息获取请求,确定直播间置顶消息并向客户端发送,包括:In a possible implementation manner, according to the request for obtaining the sticking message, determine and send the sticking message of the live broadcast room to the client, including:
如果根据置顶消息获取请求,确定需要向客户端发送的直播间置顶消息包括至少两个,则从预先存储的直播间置顶消息中确定出至少两个直播间置顶消息,并将至少两个直播间置顶消息进行合并处理;If it is determined that there are at least two live broadcast room topping messages to be sent to the client according to the sticky message acquisition request, then at least two live broadcast room topping messages are determined from the pre-stored live broadcast room topping messages, and the at least two live broadcast room topping messages are assigned to the client. The top message is merged;
将合并处理后的直播间置顶消息发送至客户端。Send the top message of the merged live broadcast room to the client.
在一种可能的实现方式中,直播间置顶消息的类型包括以下至少之一:基于直播间ID维度的置顶消息、基于主播ID维度的置顶消息、基于直播应用程序维度的置顶消息和基于直播功能维度的置顶消息。In a possible implementation manner, the type of the top message in the live broadcast room includes at least one of the following: a top message based on the live room ID dimension, a top message based on the host ID dimension, a live broadcast application dimension-based top message, and a live broadcast function-based top message Dimension's sticky message.
在一种可能的实现方式中,根据置顶消息获取请求,确定直播间置顶 消息,包括:In a possible implementation manner, according to the request for obtaining the top message, determine the top message of the live broadcast room, including:
根据置顶消息获取请求中携带的客户端的预设信息,确定与预设信息匹配的直播间置顶消息。According to the preset information of the client terminal carried in the sticky message acquisition request, a live broadcast room sticky message matching the preset information is determined.
在一种可能的实现方式中,预设信息包括以下至少之一:客户端的特征信息和客户端对应的网络类型。In a possible implementation manner, the preset information includes at least one of the following: feature information of the client and a network type corresponding to the client.
在一种可能的实现方式中,向客户端发送直播间置顶消息,包括:In a possible implementation, sending a live broadcast room sticking message to the client includes:
确定直播间置顶消息中各个置顶子消息的优先级信息;Determine the priority information of each sticky sub-message in the sticky message of the live broadcast room;
将各个置顶子消息的优先级信息和各个置顶子消息发送至客户端,以使客户端根据各个置顶子消息的优先级信息确定直播间置顶消息的展示方式;或者,Send the priority information of each sticky sub-message and each sticky sub-message to the client, so that the client can determine the display mode of the sticky message in the live broadcast room according to the priority information of each sticky sub-message; or,
按照直播间置顶消息中各个置顶子消息的配置时间,对各个置顶子消息进行排序;According to the configuration time of each sticky sub-message in the live broadcast room stick-top message, sort each stick-top sub-message;
将排序之后的各个置顶子消息发送至客户端,以使客户端根据各个置顶子消息的排列顺序确定直播间置顶消息的展示方式。The sorted top sub-messages are sent to the client, so that the client determines the display mode of the top messages in the live broadcast room according to the arrangement order of the top sub-messages.
在本公开实施例中,在确定进入直播间的情况下客户端主动向直播间的服务端发送置顶消息获取请求,以从服务端拉取直播间置顶消息并展示在客户端的直播间界面,对服务端向客户端发送直播间置顶消息的交互方式进行了优化,避免了当大量用户进入同一直播间时服务端需要在较短时间内向客户端下发大量并发的点对点消息的现象,缓解了服务端的数据处理压力。并且,服务端根据客户端的预设信息对需要下发至客户端的直播间置顶消息进行动态筛选,实现了直播间置顶消息向不同客户端的个性化发送,进而实现了客户端中对直播间置顶消息的个性化展示。In the embodiment of the present disclosure, when it is determined to enter the live room, the client actively sends a request for obtaining the top message to the server of the live room, so as to pull the top message of the live room from the server and display it on the live room interface of the client. The interaction method of the server sending the live broadcast room top message to the client has been optimized, which avoids the phenomenon that the server needs to send a large number of concurrent point-to-point messages to the client in a short period of time when a large number of users enter the same live broadcast room, and alleviates the problem of service end-to-end data processing pressure. In addition, the server dynamically filters the live broadcast room top-up messages that need to be delivered to the client terminal according to the preset information of the client terminal, so as to realize personalized sending of the live broadcast room top-up messages to different clients, and further realize the live broadcast room top-up messages in the client side. personalized display.
图4为本公开实施例提供的一种直播间置顶消息确定装置的结构示意图,可以适用于当用户进入直播间时,如何确定直播间的置顶消息的情况。该装置可以配置于客户端或者直播应用程序中,并可采用软件和/或硬件实现。FIG. 4 is a schematic structural diagram of an apparatus for determining a top message in a live broadcast room according to an embodiment of the present disclosure, which can be applied to the situation of how to determine the top message in a live broadcast room when a user enters the live broadcast room. The device can be configured in a client or a live broadcast application, and can be implemented in software and/or hardware.
如图4所示,本公开实施例提供的直播间置顶消息确定装置400可以包括请求发送模块401、消息接收模块402和消息展示模块403,其中:As shown in FIG. 4 , the apparatus 400 for determining the top message of the live broadcast room provided by the embodiment of the present disclosure may include a request sending module 401, a message receiving module 402, and a message displaying module 403, wherein:
请求发送模块401,用于在确定进入直播间的情况下,向直播间的服 务端发送置顶消息获取请求;其中,置顶消息获取请求用于从服务端拉取直播间置顶消息;The request sending module 401 is used to send a top message acquisition request to the server of the live room when it is determined to enter the live room; wherein, the top message acquisition request is used to pull the live room top message from the server;
消息接收模块402,用于从服务端接收直播间置顶消息;A message receiving module 402, configured to receive a live broadcast room top message from the server;
消息展示模块403,用于在直播间的消息交互界面展示直播间置顶消息。The message display module 403 is configured to display the top message of the live broadcast room on the message interaction interface of the live broadcast room.
在一种可能的实现方式中,直播间置顶消息的类型包括以下至少之一:基于直播间ID维度的置顶消息、基于主播ID维度的置顶消息、基于直播应用程序维度的置顶消息和基于直播功能维度的置顶消息。In a possible implementation manner, the type of the sticky message in the live broadcast room includes at least one of the following: sticky message based on the dimension of the live room ID, sticky message based on the dimension of the host ID, sticky message based on the dimension of the live broadcast application, and sticky message based on the live broadcast function Dimension's sticky message.
在一种可能的实现方式中,请求发送模块401包括:In a possible implementation manner, the request sending module 401 includes:
预设信息获取单元,用于在确定进入直播间的情况下,获取客户端的预设信息;其中,预设信息用于服务端筛选需要下发至客户端的直播间置顶消息;A preset information obtaining unit, configured to obtain preset information of the client when it is determined to enter the live broadcast room; wherein, the preset information is used by the server to filter the live broadcast room top message that needs to be delivered to the client;
请求发送单元,用于基于预设信息生成置顶消息获取请求,并向服务端发送置顶消息获取请求。The request sending unit is configured to generate a request for obtaining the top message based on the preset information, and send the request for obtaining the top message to the server.
在一种可能的实现方式中,客户端的预设信息包括以下至少之一:客户端的特征信息和客户端对应的网络类型。In a possible implementation manner, the preset information of the client includes at least one of the following: characteristic information of the client and a network type corresponding to the client.
在一种可能的实现方式中,消息展示模块403包括:In a possible implementation, the message display module 403 includes:
展示方式确定单元,用于根据直播间置顶消息中包括的各个置顶子消息的优先级信息或者各个置顶子消息的排列顺序,确定直播间置顶消息的展示方式;a display mode determination unit, configured to determine the display mode of the top message in the live broadcast room according to the priority information of each sticky sub-message included in the live broadcast room sticky message or the arrangement order of each sticky sub-message;
消息展示单元,用于基于确定的展示方式,在直播间的消息交互界面展示直播间置顶消息。The message display unit is used to display the top message of the live broadcast room on the message interaction interface of the live broadcast room based on the determined display method.
在一种可能的实现方式中,消息展示单元包括:In a possible implementation manner, the message display unit includes:
第一展示子单元,或者,第二展示子单元,或者,第三展示子单元,或者,第四展示子单元;The first presentation subunit, or the second presentation subunit, or the third presentation subunit, or the fourth presentation subunit;
其中,第一展示子单元,用于将处于第一优先级的置顶子消息,在直播间的消息交互界面上进行在先展示;Wherein, the first display sub-unit is used to display the top sub-message at the first priority on the message interaction interface in the live broadcast room;
第二展示子单元,用于将处于第一优先级的置顶子消息,在直播间的消息交互界面上进行在后展示;The second display subunit is used to display the top sub-message at the first priority on the message interaction interface in the live broadcast room;
第三展示子单元,用于将处于第一优先级的置顶子消息,在直播间的消息交互界面上采用挂件形式进行固定展示;The third display sub-unit is used to display the top sub-message at the first priority in the form of a pendant on the message interaction interface of the live broadcast room;
第四展示子单元,用于根据各个置顶子消息的排列顺序,在直播间的消息交互界面上依次展示各个置顶子消息。The fourth display sub-unit is configured to display the top sub-messages in sequence on the message interaction interface in the live broadcast room according to the arrangement order of the top sub-messages.
在一种可能的实现方式中,消息接收模块402具体用于:In a possible implementation manner, the message receiving module 402 is specifically configured to:
从服务端的本地缓存中接收直播间置顶消息;其中,本地缓存用于按照直播间的房间标识预先缓存直播间置顶消息。The live broadcast room top message is received from the local cache of the server; wherein, the local cache is used to pre-cache the live broadcast room top message according to the room identifier of the live broadcast room.
在一种可能的实现方式中,如果直播间置顶消息包括至少两个,则接收的直播间置顶消息由服务端从本地缓存中确定出至少两个直播间置顶消息,并进行消息合并处理后得到。In a possible implementation manner, if the live broadcast room top message includes at least two, the received live broadcast room top message is determined by the server from the local cache at least two live broadcast room top messages, and the messages are merged to obtain .
本公开实施例所提供的配置于客户端或者直播应用程序的直播间置顶消息确定装置可执行本公开实施例所提供的应用于客户端或者直播应用程序的任意直播间置顶消息确定方法,具备执行方法相应的功能模块和有益效果。本公开装置实施例中未详尽描述的内容可以参考本公开任意方法实施例中的描述。The apparatus for determining the top message of a live broadcast room provided in a client or a live broadcast application provided by the embodiment of the present disclosure can execute any method for determining the top message of a live broadcast room provided by the embodiment of the present disclosure, which is applied to a client or a live broadcast application, and has the ability to execute Corresponding functional modules and beneficial effects of the method. For the content that is not described in detail in the apparatus embodiment of the present disclosure, reference may be made to the description in any method embodiment of the present disclosure.
图5为本公开实施例提供的另一种直播间置顶消息确定装置的结构示意图,可以适用于当用户进入直播间时,如何确定直播间的置顶消息的情况。该装置可以配置于服务端中,并可采用软件和/或硬件实现。5 is a schematic structural diagram of another apparatus for determining the top message of a live broadcast room provided by an embodiment of the present disclosure, which can be applied to the situation of how to determine the top message of the live broadcast room when a user enters the live broadcast room. The device can be configured in the server, and can be implemented by software and/or hardware.
如图5所示,本公开实施例提供的直播间置顶消息确定装置500可以包括请求接收模块501和消息发送模块502,其中:As shown in FIG. 5 , the apparatus 500 for determining the top message of the live broadcast room provided by the embodiment of the present disclosure may include a request receiving module 501 and a message sending module 502, wherein:
请求接收模块501,用于接收客户端在确定进入直播间的情况下发送的置顶消息获取请求;其中,置顶消息获取请求用于客户端从服务端拉取直播间置顶消息;The request receiving module 501 is configured to receive a request for obtaining the top message sent by the client when it is determined to enter the live room; wherein, the request for obtaining the top message is used by the client to pull the top message of the live room from the server;
消息发送模块502,用于根据置顶消息获取请求,确定直播间置顶消息并向客户端发送,以使客户端在直播间的消息交互界面展示直播间置顶消息。The message sending module 502 is configured to determine, according to the request for obtaining the sticker message, the sticky message of the live room and send it to the client, so that the client can display the sticky message of the live room on the message interaction interface of the live room.
在一种可能的实现方式中,本公开实施例提供的直播间置顶消息确定装置500还包括:In a possible implementation manner, the apparatus 500 for determining a top message in a live broadcast room provided by the embodiment of the present disclosure further includes:
消息确定模块,用于根据业务方的置顶消息配置操作,确定与直播间 对应的直播间置顶消息;A message determination module, configured to determine the live room top message corresponding to the live room according to the top message configuration operation of the business side;
消息存储模块,用于按照直播间的房间标识,存储直播间置顶消息。The message storage module is used to store the top message of the live broadcast room according to the room identifier of the live broadcast room.
在一种可能的实现方式中,消息发送模块502包括:In a possible implementation manner, the message sending module 502 includes:
消息合并处理单元,用于如果根据置顶消息获取请求,确定需要向客户端发送的直播间置顶消息包括至少两个,则从预先存储的直播间置顶消息中确定出至少两个直播间置顶消息,并将至少两个直播间置顶消息进行合并处理;A message merging processing unit, configured to determine at least two live broadcast room topping messages from the pre-stored live broadcast room topping messages if it is determined according to the sticking message acquisition request that the live broadcast room topping messages to be sent to the client include at least two live broadcast room topping messages, And at least two live broadcast room top messages are combined for processing;
消息发送单元,用于将合并处理后的直播间置顶消息发送至客户端。The message sending unit is used to send the merged live broadcast room top message to the client.
在一种可能的实现方式中,直播间置顶消息的类型包括以下至少之一:基于直播间ID维度的置顶消息、基于主播ID维度的置顶消息、基于直播应用程序维度的置顶消息和基于直播功能维度的置顶消息。In a possible implementation manner, the type of the top message in the live broadcast room includes at least one of the following: a top message based on the live room ID dimension, a top message based on the host ID dimension, a live broadcast application dimension-based top message, and a live broadcast function-based top message Dimension's sticky message.
在一种可能的实现方式中,消息发送模块502包括:In a possible implementation manner, the message sending module 502 includes:
消息生成单元,用于根据置顶消息获取请求中携带的客户端的预设信息,确定与预设信息匹配的直播间置顶消息;a message generating unit, configured to determine a live broadcast room top message matching the preset information according to the preset information of the client carried in the top message acquisition request;
消息发送单元,用于向客户端发送直播间置顶消息。The message sending unit is used to send the live broadcast room top message to the client.
在一种可能的实现方式中,预设信息包括以下至少之一:客户端的特征信息和客户端对应的网络类型。In a possible implementation manner, the preset information includes at least one of the following: characteristic information of the client and a network type corresponding to the client.
在一种可能的实现方式中,消息发送模块502包括:In a possible implementation manner, the message sending module 502 includes:
消息生成单元,用于根据置顶消息获取请求,确定直播间置顶消息;a message generating unit, configured to determine the top message in the live broadcast room according to the request for acquiring the top message;
优先级确定单元,用于确定直播间置顶消息中各个置顶子消息的优先级信息;a priority determination unit, used for determining the priority information of each top sub-message in the top message of the live broadcast room;
第一发送单元,用于将各个置顶子消息的优先级信息和各个置顶子消息发送至客户端,以使客户端根据各个置顶子消息的优先级信息确定直播间置顶消息的展示方式;a first sending unit, configured to send the priority information of each stick-top sub-message and each stick-top sub-message to the client, so that the client can determine the display mode of the stick-top message in the live broadcast room according to the priority information of each stick-top sub-message;
排序单元,用于按照直播间置顶消息中各个置顶子消息的配置时间,对各个置顶子消息进行排序;a sorting unit, configured to sort each top sub-message according to the configuration time of each top sub-message in the live broadcast room top message;
第二发送单元,用于将排序之后的各个置顶子消息发送至客户端,以使客户端根据各个置顶子消息的排列顺序确定直播间置顶消息的展示方式。The second sending unit is configured to send the sorted top sub-messages to the client, so that the client determines the display mode of the top message in the live broadcast room according to the arrangement order of the top sub-messages.
本公开实施例所提供的配置于服务端的直播间置顶消息确定装置可执行本公开实施例所提供的应用于服务端的任意直播间置顶消息确定方法,具备执行方法相应的功能模块和有益效果。本公开装置实施例中未详尽描述的内容可以参考本公开任意方法实施例中的描述。The apparatus for determining the top message of a live broadcast room provided by the embodiment of the present disclosure and configured on the server can execute the method for determining any live broadcast room top message provided by the embodiment of the present disclosure and applied to the server, and has corresponding functional modules and beneficial effects of the execution method. For the content that is not described in detail in the apparatus embodiment of the present disclosure, reference may be made to the description in any method embodiment of the present disclosure.
图6为本公开实施例提供的一种电子设备的结构示意图,用于对实现本公开实施例中直播间置顶消息确定方法的电子设备进行示例性说明。本公开实施例中的电子设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机、服务器等等的固定终端。图6示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和占用范围带来任何限制。FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, which is used to exemplarily illustrate an electronic device that implements a method for determining a top message in a live broadcast room in an embodiment of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (eg, Mobile terminals such as in-vehicle navigation terminals), etc., and stationary terminals such as digital TVs, desktop computers, servers, and the like. The electronic device shown in FIG. 6 is only an example, and should not impose any limitation on the functions and occupancy scope of the embodiments of the present disclosure.
如图6所示,电子设备600包括一个或多个处理器601和存储器602。As shown in FIG. 6 , electronic device 600 includes one or more processors 601 and memory 602 .
处理器601可以是中央处理单元(CPU)或者具有数据处理能力和/或指令执行能力的其他形式的处理单元,并且可以控制电子设备600中的其他组件以执行期望的功能。 Processor 601 may be a central processing unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in electronic device 600 to perform desired functions.
存储器602可以包括一个或多个计算机程序产品,计算机程序产品可以包括各种形式的计算机可读存储介质,例如易失性存储器和/或非易失性存储器。易失性存储器例如可以包括随机存取存储器(RAM)和/或高速缓冲存储器(cache)等。非易失性存储器例如可以包括只读存储器(ROM)、硬盘、闪存等。在计算机可读存储介质上可以存储一个或多个计算机程序指令,处理器601可以运行程序指令,以实现本公开实施例提供的任意直播间置顶消息确定方法,还可以实现其他期望的功能。在计算机可读存储介质中还可以存储诸如输入信号、信号分量、噪声分量等各种内容。 Memory 602 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and/or cache memory, among others. Non-volatile memory may include, for example, read only memory (ROM), hard disk, flash memory, and the like. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 601 may execute the program instructions to implement any method for determining the top message of a live broadcast room provided by the embodiments of the present disclosure, and may also implement other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.
一方面,本公开实施例提供的直播间置顶消息确定方法可以包括:在确定进入直播间的情况下,向直播间的服务端发送置顶消息获取请求;其中,置顶消息获取请求用于从服务端拉取直播间置顶消息;从服务端接收直播间置顶消息;在直播间的消息交互界面展示直播间置顶消息。On the one hand, the method for determining a top message in a live broadcast room provided by an embodiment of the present disclosure may include: when it is determined to enter the live room, sending a request for obtaining a top message to a server in the live room; wherein, the request for obtaining a sticker message is used from the server Pull the top message of the live broadcast room; receive the live broadcast room top message from the server; display the live broadcast room top message on the message interaction interface of the live broadcast room.
另一方面,本公开实施例提供的直播间置顶消息确定方法可以包括:接收客户端在确定进入直播间的情况下发送的置顶消息获取请求;其中, 置顶消息获取请求用于客户端从服务端拉取直播间置顶消息;根据置顶消息获取请求,确定直播间置顶消息并向客户端发送,以使客户端在直播间的消息交互界面展示直播间置顶消息。On the other hand, the method for determining a top message in a live broadcast room provided by an embodiment of the present disclosure may include: receiving a top message acquisition request sent by a client when it determines to enter the live room; wherein, the top message acquisition request is used by the client from the server Pull the top message of the live room; according to the request to obtain the top message, determine the top message of the live room and send it to the client, so that the client can display the top message of the live room on the message interaction interface of the live room.
应当理解,电子设备600还可以执行本公开方法实施例提供的其他可选实施方案。It should be understood that the electronic device 600 may also perform other optional implementations provided by the method embodiments of the present disclosure.
在一个示例中,电子设备600还可以包括:输入装置603和输出装置604,这些组件通过总线系统和/或其他形式的连接机构(未示出)互连。In one example, the electronic device 600 may also include an input device 603 and an output device 604 interconnected by a bus system and/or other form of connection mechanism (not shown).
此外,该输入装置603还可以包括例如键盘、鼠标等等。In addition, the input device 603 may also include, for example, a keyboard, a mouse, and the like.
该输出装置604可以向外部输出各种信息,包括确定出的距离信息、方向信息等。该输出装置604可以包括例如显示器、扬声器、打印机、以及通信网络及其所连接的远程输出设备等等。The output device 604 can output various information to the outside, including the determined distance information, direction information, and the like. The output device 604 may include, for example, displays, speakers, printers, and communication networks and their connected remote output devices, among others.
当然,为了简化,图6中仅示出了该电子设备600中与本公开有关的组件中的一些,省略了诸如总线、输入/输出接口等等的组件。除此之外,根据具体应用情况,电子设备600还可以包括任何其他适当的组件。Of course, for simplicity, only some of the components in the electronic device 600 related to the present disclosure are shown in FIG. 6 , and components such as buses, input/output interfaces, and the like are omitted. Besides, the electronic device 600 may also include any other suitable components according to the specific application.
除了上述方法和设备以外,本公开的实施例还可以是计算机程序产品,其包括计算机程序指令,计算机程序指令在被处理器运行时使得处理器执行本公开实施例所提供的任意直播间置顶消息确定方法。In addition to the above-mentioned methods and devices, the embodiments of the present disclosure may also be computer program products, which include computer program instructions, which, when executed by the processor, cause the processor to execute any live broadcast top message provided by the embodiments of the present disclosure Determine the method.
计算机程序产品可以以一种或多种程序设计语言的任意组合来编写用于执行本公开实施例操作的程序代码,程序设计语言包括面向对象的程序设计语言,诸如Java、C++等,还包括常规的过程式程序设计语言,诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户电子设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户电子设备上部分在远程电子设备上执行、或者完全在远程电子设备或服务器上执行。The computer program product may write program code for performing operations of embodiments of the present disclosure in any combination of one or more programming languages, including object-oriented programming languages, such as Java, C++, etc., as well as conventional procedural programming language, such as "C" language or similar programming language. The program code may execute entirely on the user's electronic device, partly on the user's device, as a stand-alone software package, partly on the user's electronic device and partly on a remote electronic device, or entirely on the remote electronic device or server execute on.
此外,本公开的实施例还可以是计算机可读存储介质,其上存储有计算机程序指令,计算机程序指令在被处理器运行时使得处理器执行本公开实施例所提供的任意直播间置顶消息确定方法。In addition, the embodiments of the present disclosure may also be computer-readable storage media on which computer program instructions are stored, and when the computer program instructions are executed by the processor, the computer program instructions cause the processor to perform any live broadcast room top message determination provided by the embodiments of the present disclosure. method.
一方面,本公开实施例提供的直播间置顶消息确定方法可以包括:在确定进入直播间的情况下,向直播间的服务端发送置顶消息获取请求;其 中,置顶消息获取请求用于从服务端拉取直播间置顶消息;从服务端接收直播间置顶消息;在直播间的消息交互界面展示直播间置顶消息。On the one hand, the method for determining a top message in a live broadcast room provided by an embodiment of the present disclosure may include: when it is determined to enter the live room, sending a request for obtaining a top message to a server in the live room; wherein, the request for obtaining a sticker message is used from the server Pull the top message of the live broadcast room; receive the live broadcast room top message from the server; display the live broadcast room top message on the message interaction interface of the live broadcast room.
另一方面,本公开实施例提供的直播间置顶消息确定方法可以包括:接收客户端在确定进入直播间的情况下发送的置顶消息获取请求;其中,置顶消息获取请求用于客户端从服务端拉取直播间置顶消息;根据置顶消息获取请求,确定直播间置顶消息并向客户端发送,以使客户端在直播间的消息交互界面展示直播间置顶消息。On the other hand, the method for determining a top message in a live room provided by an embodiment of the present disclosure may include: receiving a request for acquiring a top message sent by a client when it determines to enter the live room; wherein, the request for acquiring a top message is used by the client from the server Pull the top message of the live room; according to the request to obtain the top message, determine the top message of the live room and send it to the client, so that the client can display the top message of the live room on the message interaction interface of the live room.
应当理解,计算机程序指令在被处理器运行时,还可以使得处理器执行本公开方法实施例提供的其他可选实施方案。It should be understood that, when the computer program instructions are executed by the processor, the processor may also cause the processor to execute other optional implementations provided by the method embodiments of the present disclosure.
计算机可读存储介质可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以包括但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。A computer-readable storage medium can employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses or devices, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as "first" and "second" etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is no such actual relationship or sequence between entities or operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情 况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above descriptions are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (19)

  1. 一种直播间置顶消息确定方法,其特征在于,包括:A method for determining a top message in a live broadcast room, comprising:
    在确定进入直播间的情况下,向所述直播间的服务端发送置顶消息获取请求;其中,所述置顶消息获取请求用于从所述服务端拉取直播间置顶消息;In the case of determining to enter the live broadcast room, send a request for obtaining the top message to the server of the live room; wherein, the request for obtaining the top message is used to pull the top message of the live broadcast room from the server;
    从所述服务端接收所述直播间置顶消息;Receive the live broadcast room top message from the server;
    在所述直播间的消息交互界面展示所述直播间置顶消息。The top message of the live broadcast room is displayed on the message interaction interface of the live broadcast room.
  2. 根据权利要求1所述的方法,其特征在于,所述直播间置顶消息的类型包括以下至少之一:基于直播间ID维度的置顶消息、基于主播ID维度的置顶消息、基于直播应用程序维度的置顶消息和基于直播功能维度的置顶消息。The method according to claim 1, wherein the type of the top message in the live broadcast room includes at least one of the following: a top message based on the live room ID dimension, a top message based on the anchor ID dimension, and a live broadcast application dimension-based top message. Sticky messages and sticky messages based on the dimension of the live broadcast function.
  3. 根据权利要求1所述的方法,其特征在于,所述向所述直播间的服务端发送置顶消息获取请求,包括:The method according to claim 1, wherein the sending a request for obtaining a top message to the server of the live room comprises:
    获取客户端的预设信息;其中,所述预设信息用于所述直播间的服务端筛选需要下发至所述客户端的直播间置顶消息;Acquiring preset information of the client; wherein, the preset information is used by the server of the live broadcast room to screen the live broadcast room top message that needs to be delivered to the client;
    基于所述预设信息生成所述置顶消息获取请求,并向所述服务端发送所述置顶消息获取请求。The top message acquisition request is generated based on the preset information, and the top message acquisition request is sent to the server.
  4. 根据权利要求3所述的方法,其特征在于,所述预设信息包括以下至少之一:客户端的特征信息和客户端对应的网络类型。The method according to claim 3, wherein the preset information includes at least one of the following: characteristic information of the client and a network type corresponding to the client.
  5. 根据权利要求1所述的方法,其特征在于,所述在所述直播间的消息交互界面展示所述直播间置顶消息,包括:The method according to claim 1, wherein the displaying the top message of the live broadcast room on the message interaction interface of the live broadcast room comprises:
    根据所述直播间置顶消息中包括的各个置顶子消息的优先级信息或者各个置顶子消息的排列顺序,确定所述直播间置顶消息的展示方式;According to the priority information of each sticky sub-message included in the live broadcast room sticky message or the arrangement order of each sticky sub-message, determine the display mode of the live broadcast room sticky message;
    基于确定的展示方式,在所述直播间的消息交互界面展示所述直播间置顶消息。Based on the determined display manner, the top message of the live broadcast room is displayed on the message interaction interface of the live broadcast room.
  6. 根据权利要求5所述的方法,其特征在于,所述基于确定的展示方式,在所述直播间的消息交互界面展示所述直播间置顶消息,包括:The method according to claim 5, wherein the displaying the top message of the live broadcast room on the message interaction interface of the live broadcast room based on the determined display mode comprises:
    将处于第一优先级的置顶子消息,在所述直播间的消息交互界面上进行在先展示;或者,The top-level sub-message at the first priority is displayed first on the message interaction interface in the live broadcast room; or,
    将处于第一优先级的置顶子消息,在所述直播间的消息交互界面上进行在后展示;或者,The top-level sub-messages at the first priority are displayed later on the message interaction interface in the live broadcast room; or,
    将处于第一优先级的置顶子消息,在所述直播间的消息交互界面上采用挂件形式进行固定展示;或者,The top-level sub-message at the first priority is displayed in the form of a pendant on the message interaction interface of the live broadcast room; or,
    根据所述各个置顶子消息的排列顺序,在所述直播间的消息交互界面上依次展示所述各个置顶子消息。According to the arrangement order of the top sub-messages, the respective top sub-messages are displayed in sequence on the message interaction interface in the live broadcast room.
  7. 根据权利要求1-6中任一所述的方法,其特征在于,所述从所述服务端接收所述直播间置顶消息,包括:The method according to any one of claims 1-6, wherein the receiving the live broadcast room top message from the server comprises:
    从所述服务端的本地缓存中接收所述直播间置顶消息;其中,所述本地缓存用于按照直播间的房间标识预先缓存所述直播间置顶消息。The live room top message is received from the local cache of the server; wherein, the local cache is used to pre-cache the live room top message according to the room identifier of the live room.
  8. 根据权利要求7所述的方法,其特征在于,如果所述直播间置顶消息包括至少两个,则所述接收的直播间置顶消息由所述服务端从所述本地缓存中确定出至少两个直播间置顶消息,并进行消息合并处理后得到。The method according to claim 7, wherein, if the live broadcast room top message includes at least two live broadcast room top message, the server determines at least two live broadcast room top message from the local cache. The top message in the live broadcast room is obtained after the message is merged.
  9. 一种直播间置顶消息确定方法,其特征在于,包括:A method for determining a top message in a live broadcast room, comprising:
    接收客户端在确定进入直播间的情况下发送的置顶消息获取请求;其中,所述置顶消息获取请求用于所述客户端从所述服务端拉取直播间置顶消息;receiving a request for obtaining a top message from the client when it is determined to enter the live room; wherein, the request for obtaining a top message is used by the client to pull the top message of the live room from the server;
    根据所述置顶消息获取请求,确定直播间置顶消息并向所述客户端发送,以使所述客户端在所述直播间的消息交互界面展示所述直播间置顶消息。According to the request for obtaining the sticky message, a live room sticky message is determined and sent to the client, so that the client displays the live broadcast room sticky message on the message interaction interface of the live room.
  10. 根据权利要求9所述的方法,其特征在于,在所述接收客户端在确定进入直播间的情况下发送的置顶消息获取请求之前,还包括:The method according to claim 9, wherein before the receiving a request for obtaining a top message sent by the client when it is determined to enter the live room, the method further comprises:
    根据业务方的置顶消息配置操作,确定与所述直播间对应的直播间置顶消息;According to the top message configuration operation of the business side, determine the live room top message corresponding to the live room;
    按照所述直播间的房间标识,存储所述直播间置顶消息。According to the room identifier of the live broadcast room, the top message of the live broadcast room is stored.
  11. 根据权利要求10所述的方法,其特征在于,所述根据所述置顶消息获取请求,确定直播间置顶消息并向所述客户端发送,包括:The method according to claim 10, wherein the determining and sending to the client a live broadcast room topping message according to the request for obtaining the topping message, comprises:
    如果根据所述置顶消息获取请求,确定需要向所述客户端发送的直播间置顶消息包括至少两个,则从预先存储的直播间置顶消息中确定出所述 至少两个直播间置顶消息,并将所述至少两个直播间置顶消息进行合并处理;If it is determined that there are at least two live broadcast room topping messages that need to be sent to the client according to the sticky message acquisition request, then the at least two live broadcast room topping messages are determined from the pre-stored live broadcast room topping messages, and merging the at least two live broadcast top messages;
    将所述合并处理后的直播间置顶消息发送至所述客户端。Sending the combined live broadcast room top message to the client.
  12. 根据权利要求9-11中任一所述的方法,其特征在于,所述直播间置顶消息的类型包括以下至少之一:基于直播间ID维度的置顶消息、基于主播ID维度的置顶消息、基于直播应用程序维度的置顶消息和基于直播功能维度的置顶消息。The method according to any one of claims 9-11, wherein the type of the top message in the live room includes at least one of the following: a top message based on a live room ID dimension, a top message based on the anchor ID dimension, The top message of the live broadcast application dimension and the top message based on the live broadcast function dimension.
  13. 根据权利要求9所述的方法,其特征在于,所述根据所述置顶消息获取请求,确定直播间置顶消息,包括:The method according to claim 9, characterized in that, the determining of the top message in the live broadcast room according to the request for acquiring the top message comprises:
    根据所述置顶消息获取请求中携带的所述客户端的预设信息,确定与所述预设信息匹配的直播间置顶消息。According to the preset information of the client carried in the request for obtaining the sticky message, a live broadcast room sticky message matching the preset information is determined.
  14. 根据权利要求13所述的方法,其特征在于,所述预设信息包括以下至少之一:客户端的特征信息和客户端对应的网络类型。The method according to claim 13, wherein the preset information includes at least one of the following: characteristic information of the client and a network type corresponding to the client.
  15. 根据权利要求9所述的方法,其特征在于,向所述客户端发送直播间置顶消息,包括:The method according to claim 9, wherein sending a live broadcast room top message to the client comprises:
    确定所述直播间置顶消息中各个置顶子消息的优先级信息;determining the priority information of each stick-to-top sub-message in the live broadcast room stick-to-top message;
    将所述各个置顶子消息的优先级信息和所述各个置顶子消息发送至所述客户端,以使所述客户端根据所述各个置顶子消息的优先级信息确定所述直播间置顶消息的展示方式;或者,Sending the priority information of each sticky sub-message and each sticky sub-message to the client, so that the client determines the priority of the live broadcast room sticky message according to the priority information of each sticky sub-message. the manner of presentation; or,
    按照所述直播间置顶消息中各个置顶子消息的配置时间,对所述各个置顶子消息进行排序;According to the configuration time of each stick-to-top sub-message in the live-streaming room stick-to-top message, sorting the respective stick-to-top sub-messages;
    将排序之后的所述各个置顶子消息发送至所述客户端,以使所述客户端根据所述各个置顶子消息的排列顺序确定所述直播间置顶消息的展示方式。The sorted top sub-messages are sent to the client, so that the client determines a display manner of the live broadcast top message according to the arrangement order of the top sub-messages.
  16. 一种直播间置顶消息确定装置,其特征在于,包括:A device for determining a top message in a live broadcast room, characterized in that it includes:
    请求发送模块,用于在确定进入直播间的情况下,向所述直播间的服务端发送置顶消息获取请求;其中,所述置顶消息获取请求用于从所述服务端拉取直播间置顶消息;A request sending module, configured to send a request for obtaining the top message to the server of the live room when it is determined to enter the live room; wherein, the request for obtaining the top message is used to pull the top message of the live room from the server ;
    消息接收模块,用于从所述服务端接收直播间置顶消息;a message receiving module, configured to receive a live broadcast room top message from the server;
    消息展示模块,用于在所述直播间的消息交互界面展示所述直播间置顶消息。A message display module, configured to display the top message of the live broadcast room on the message interaction interface of the live broadcast room.
  17. 一种直播间置顶消息确定装置,其特征在于,包括:A device for determining a top message in a live broadcast room, characterized in that it includes:
    请求接收模块,用于接收客户端在确定进入直播间的情况下发送的置顶消息获取请求;所述置顶消息获取请求用于所述客户端从所述服务端拉取直播间置顶消息;a request receiving module, configured to receive a request for obtaining a top message sent by the client when it is determined to enter the live room; the request for obtaining a top message is used by the client to pull the top message of the live room from the server;
    消息发送模块,用于根据所述置顶消息获取请求,确定直播间置顶消息并向所述客户端发送,以使所述客户端在所述直播间的消息交互界面展示所述直播间置顶消息。A message sending module, configured to determine a live broadcast room sticky message and send it to the client according to the sticky message acquisition request, so that the client can display the live broadcast room sticky message on a message interaction interface of the live broadcast room.
  18. 一种电子设备,其特征在于,包括存储器和处理器,其中,所述存储器中存储有计算机程序,当所述计算机程序被所述处理器执行时,使得所述电子设备实现权利要求1-8中任一项所述的直播间置顶消息确定方法,或者实现权利要求9-15中任一项所述的直播间置顶消息确定方法。An electronic device, characterized in that it includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the electronic device is made to implement claims 1-8 The method for determining a top message in a live broadcast room according to any one of the above, or the method for determining a top message in a live broadcast room according to any one of claims 9-15 is implemented.
  19. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序,当所述计算机程序被计算设备执行时,使得所述计算设备实现权利要求1-8中任一项所述的直播间置顶消息确定方法,或者执行权利要求9-15中任一项所述的直播间置顶消息确定方法。A computer-readable storage medium, characterized in that, a computer program is stored in the storage medium, and when the computer program is executed by a computing device, the computing device is made to implement any one of claims 1-8. The method for determining the top message of the live broadcast room, or the method for determining the top message of the live broadcast room according to any one of claims 9-15 is performed.
PCT/CN2021/136745 2020-12-09 2021-12-09 Livestreaming room top message determining method and apparatus, device, and storage medium WO2022121978A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011448135.6 2020-12-09
CN202011448135.6A CN112637619B (en) 2020-12-09 2020-12-09 Live broadcast overhead message determining method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022121978A1 true WO2022121978A1 (en) 2022-06-16

Family

ID=75310315

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/136745 WO2022121978A1 (en) 2020-12-09 2021-12-09 Livestreaming room top message determining method and apparatus, device, and storage medium

Country Status (2)

Country Link
CN (1) CN112637619B (en)
WO (1) WO2022121978A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637619B (en) * 2020-12-09 2023-05-16 北京字节跳动网络技术有限公司 Live broadcast overhead message determining method, device, equipment and storage medium
CN113660506A (en) * 2021-08-31 2021-11-16 五八同城信息技术有限公司 Information display method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188516A (en) * 2011-12-27 2013-07-03 华为终端有限公司 Acquisition method and relevant device for program introduction
CN104333815A (en) * 2014-10-28 2015-02-04 深圳市同洲电子股份有限公司 Television shopping method, terminal and system
CN105430446A (en) * 2015-10-27 2016-03-23 深圳创维数字技术有限公司 Set top box service pushing method, set top box, and related server
CN106406931A (en) * 2016-08-25 2017-02-15 广州华多网络科技有限公司 Studio rapid starting method and device in application program, and terminal equipment
US20180218334A1 (en) * 2017-02-02 2018-08-02 Notion AI Inc. Electronic Personal Networking System, Messaging Apparatus, and Persistent Introduction Process
CN111079012A (en) * 2019-12-13 2020-04-28 广州酷狗计算机科技有限公司 Live broadcast room recommendation method and device, storage medium and terminal
CN111652678A (en) * 2020-05-27 2020-09-11 腾讯科技(深圳)有限公司 Article information display method, device, terminal, server and readable storage medium
CN112637619A (en) * 2020-12-09 2021-04-09 北京字节跳动网络技术有限公司 Live broadcast room set-top message determining method, device, equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150213490A1 (en) * 2014-01-28 2015-07-30 Artases OIKONOMIDIS Methods And Apparatus for Targeted Advertising During Communication Through Communication Provider
CN107786601B (en) * 2016-08-29 2020-03-17 腾讯科技(深圳)有限公司 Information processing method, terminal and server
CN106790043B (en) * 2016-12-17 2020-12-25 北京小米移动软件有限公司 Method and device for sending message in live broadcast application
CN107483973B (en) * 2017-08-22 2020-04-21 广州市百果园信息技术有限公司 Method and device for executing activity in live broadcast room
CN111277847B (en) * 2020-01-21 2022-02-25 卓米私人有限公司 Method, device, server and system for displaying chat messages in live broadcast
CN111414516A (en) * 2020-03-17 2020-07-14 北京字节跳动网络技术有限公司 Live broadcast room message processing method and device, electronic equipment and storage medium
CN111970526B (en) * 2020-08-18 2022-04-26 广州华多网络科技有限公司 Interface notification message processing method, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188516A (en) * 2011-12-27 2013-07-03 华为终端有限公司 Acquisition method and relevant device for program introduction
CN104333815A (en) * 2014-10-28 2015-02-04 深圳市同洲电子股份有限公司 Television shopping method, terminal and system
CN105430446A (en) * 2015-10-27 2016-03-23 深圳创维数字技术有限公司 Set top box service pushing method, set top box, and related server
CN106406931A (en) * 2016-08-25 2017-02-15 广州华多网络科技有限公司 Studio rapid starting method and device in application program, and terminal equipment
US20180218334A1 (en) * 2017-02-02 2018-08-02 Notion AI Inc. Electronic Personal Networking System, Messaging Apparatus, and Persistent Introduction Process
CN111079012A (en) * 2019-12-13 2020-04-28 广州酷狗计算机科技有限公司 Live broadcast room recommendation method and device, storage medium and terminal
CN111652678A (en) * 2020-05-27 2020-09-11 腾讯科技(深圳)有限公司 Article information display method, device, terminal, server and readable storage medium
CN112637619A (en) * 2020-12-09 2021-04-09 北京字节跳动网络技术有限公司 Live broadcast room set-top message determining method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112637619A (en) 2021-04-09
CN112637619B (en) 2023-05-16

Similar Documents

Publication Publication Date Title
US10326715B2 (en) System and method for updating information in an instant messaging application
US8019276B2 (en) Audio transmission method and system
WO2022121978A1 (en) Livestreaming room top message determining method and apparatus, device, and storage medium
CN110012328B (en) Method and device for interacting with smart television
CN107517438B (en) Method for requesting sharing of Bluetooth device, electronic device and computer storage medium
WO2020177698A1 (en) Inter-mini program platform communication method and device, and computer storage medium
WO2020094036A1 (en) Wireless network connection method for terminal
CN111314433B (en) Message transmission method and device and electronic equipment
CN109905358B (en) Managing data communications based on telephone calls between mobile computing devices
WO2021237433A1 (en) Message pushing method and apparatus, and electronic device and computer-readable medium
WO2012151980A1 (en) Service processing server, system, and method
WO2020177697A1 (en) Method for discovery between mini program platforms, device, and computer storage medium
WO2023103419A1 (en) Message queue-based method and apparatus for sending 5g messages in batches, and electronic device
CN108334516B (en) Information pushing method and device
WO2023005197A1 (en) Content display method and terminal
CN111246238A (en) Live broadcast method, device, storage medium and live broadcast system
WO2014176896A1 (en) System and method for updating information in an instant messaging application
CN105142184A (en) Flow control method and electronic device
CN111478781A (en) Message broadcasting method and device
CN111767176B (en) Method and device for remotely controlling terminal equipment
AU2018403361B2 (en) Data transmission
TW201719443A (en) Forwarding activity-related information from source electronic devices to companion electronic devices
CN112769671A (en) Message processing method, device and system
CN110704151A (en) Information processing method and device and electronic equipment
CN114531946B (en) Data pushing method, data pushing system and computer program product

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

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 DATE 22.09.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21902683

Country of ref document: EP

Kind code of ref document: A1