WO2018095096A1 - 弹幕消息的处理方法、装置、系统及其设备 - Google Patents

弹幕消息的处理方法、装置、系统及其设备 Download PDF

Info

Publication number
WO2018095096A1
WO2018095096A1 PCT/CN2017/099537 CN2017099537W WO2018095096A1 WO 2018095096 A1 WO2018095096 A1 WO 2018095096A1 CN 2017099537 W CN2017099537 W CN 2017099537W WO 2018095096 A1 WO2018095096 A1 WO 2018095096A1
Authority
WO
WIPO (PCT)
Prior art keywords
barrage
message
barrage message
terminal
messages
Prior art date
Application number
PCT/CN2017/099537
Other languages
English (en)
French (fr)
Inventor
王洁明
Original Assignee
北京金山安全软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京金山安全软件有限公司 filed Critical 北京金山安全软件有限公司
Publication of WO2018095096A1 publication Critical patent/WO2018095096A1/zh
Priority to US16/423,876 priority Critical patent/US10944700B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/063Content adaptation, e.g. replacement of unsuitable content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/226Delivery according to priorities
    • 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/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234336Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by media transcoding, e.g. video is transformed into a slideshow of still pictures or audio is converted into text
    • 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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/251Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/252Processing of multiple end-users' preferences to derive collaborative data
    • 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/637Control signals issued by the client directed to the server or network components
    • H04N21/6377Control signals issued by the client directed to the server or network components directed to server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8126Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts

Definitions

  • the present application relates to the field of Internet technologies, and in particular, to a method, an apparatus, a system, and a device for processing a barrage message.
  • the Internet has become a major area for user activities, and users can conduct online communication, learning, shopping and other activities on the Internet.
  • the Internet provides more and more functional services for users.
  • the user is provided with a barrage function, so that the user can use the relevant interface of the terminal to display the barrage message by means of drifting and the like.
  • the screen may be too fast due to the large flow of the barrage, and the user cannot see the contents of the barrage message, and thus cannot enhance the interaction between the users.
  • the purpose of the present application is to solve at least one of the above technical problems to some extent.
  • the first object of the present application is to provide a method for processing a barrage message, which enriches the barrage message displayed by the terminal and improves the interaction between users.
  • the second object of the present application is to propose another method of processing a barrage message.
  • a third object of the present application is to provide a processing apparatus for a barrage message.
  • a fourth object of the present application is to propose another processing apparatus for a barrage message.
  • a fifth object of the present application is to propose a processing system for a barrage message.
  • a sixth object of the present application is to propose a server.
  • a seventh object of the present application is to propose another terminal.
  • An eighth object of the present application is to propose a non-transitory computer readable storage medium.
  • a ninth object of the present application is to propose another non-transitory computer readable storage medium.
  • a tenth object of the present application is to propose a computer program product.
  • An eleventh object of the present application is to propose another computer program product.
  • the first aspect of the present application provides a method for processing a barrage message, which acquires a total amount of a plurality of first barrage messages sent by a plurality of first terminals in a unit time; a ratio between the total amount of the first barrage message and the first threshold; grouping the plurality of first barrage messages according to the ratio value, wherein the plurality of first bullets after the grouping
  • the screen message is used as the second barrage message, and the plurality of second terminals are grouped according to the proportional value; and the plurality of second barrage messages are sent to the second terminal in the corresponding group, wherein the The second terminal displays the second barrage message in the corresponding group.
  • the processing method of the barrage message in the embodiment of the present application acquires the total amount of the plurality of first barrage messages sent by the plurality of first terminals in the unit time, and calculates the total amount of the plurality of first barrage messages and the first threshold. a ratio value between the two, and then grouping the plurality of first barrage messages according to the scale value to generate a second barrage message, and grouping the second terminals according to the scale value, and then transmitting the second barrage message to the corresponding The second terminal within the group.
  • the barrage message displayed by the terminal is enriched, and the interaction between users is improved.
  • processing method of the barrage message in the embodiment of the present application further has the following additional technical features:
  • the method further includes:
  • the first broadcast message sent has been fed back to the second terminal that sent the first barrage message.
  • the grouping, by the ratio value, the plurality of first barrage messages including:
  • the grouping, by the ratio value, the multiple second terminals including:
  • the second terminals having the same modulus are grouped into one group.
  • the first threshold is a total amount of the barrage message displayed by the second terminal of the second terminal.
  • the second aspect of the present application provides another method for processing a barrage message, including The following steps: receiving a first barrage message sent by the user; sending the first barrage message to a server, where the server collects a total amount of the plurality of first barrage messages received in a unit time, and Calculating a ratio between the total quantity of the plurality of first barrage messages and the first threshold, and grouping the plurality of first barrage messages and the terminal according to the ratio value, and grouping the groups
  • the plurality of first barrage messages are sent to the terminal in the corresponding group, wherein the terminal is used to indicate the device to receive the barrage message; and the second barrage message sent by the server is received, the second bullet
  • the message is a message corresponding to the grouped terminal and displays the received barrage message.
  • the processing method of the barrage message in the embodiment of the present application receives the first barrage message sent by the user, and sends the first barrage message to the server, where the server collects the plurality of first barrage messages received in the unit time.
  • the total amount, and calculating a ratio between the total amount of the plurality of first barrage messages and the first threshold, and grouping the plurality of first barrage messages and the terminal according to the scale value, and grouping the plurality of messages The first barrage message is sent to the terminal in the corresponding group, wherein the terminal is used to indicate the device to receive the barrage message, receive the second barrage message sent by the server, and display the received second barrage message. .
  • the terminal can display a richer barrage message for the user, thereby improving the interaction between the users.
  • the method further includes: while displaying the received second barrage message, the method further includes:
  • the displaying the received second barrage message includes:
  • the second barrage message is obtained from the message queue and displayed.
  • the method further includes:
  • the newly received second barrage message is no longer added to the message queue until the message
  • the newly received second barrage message continues to be added to the message queue when the number of barrage messages in the queue is less than the second threshold.
  • the method further includes:
  • the second barrage message to be displayed is displayed according to the adjusted barrage speed.
  • the first threshold is a total amount of the barrage message displayed by the terminal single screen; the second threshold is N times the first threshold, and the N is a natural number greater than or equal to 2. .
  • the third aspect of the present application provides a processing apparatus for a barrage message, including: an acquiring module, configured to acquire a plurality of first barrage messages sent by a plurality of first terminals in a unit time a calculation module, configured to calculate a ratio between a total amount of the plurality of first barrage messages and a first threshold; a grouping module, configured to display the plurality of first barrages according to the ratio value The message is grouped, and the plurality of second terminals are grouped according to the scale value, wherein the grouped first plurality of first barrage messages are used as a second barrage message, and the plurality of second terminals are used for a terminal that is to receive the second barrage message; a first sending module, configured to send the second barrage message to a second terminal in the corresponding group.
  • the processing device of the barrage message in the embodiment of the present application acquires the total amount of the plurality of first barrage messages sent by the plurality of first terminals in the unit time, and calculates the total amount of the plurality of first barrage messages and the first threshold. a ratio between the values, and then grouping the plurality of first barrage messages according to the scale value to generate a second barrage message, and grouping the second terminals according to the scale value, and then grouping the second barrage message Send to the second terminal in the corresponding group.
  • the barrage message displayed by the terminal is enriched, and the interaction between users is improved.
  • processing apparatus of the barrage message in the embodiment of the present application further has the following additional technical features:
  • the first sending module is further configured to: when the second barrage message after the grouping is sent to the second terminal in the corresponding group, feed the sent first barrage message to the sending station. The second terminal of the first barrage message.
  • the grouping module includes:
  • An obtaining unit configured to acquire identification information of the plurality of first barrage messages
  • a modulo unit configured to modulo the identification information of the plurality of first barrage messages to the proportional value, to obtain a modulus corresponding to the plurality of barrage messages
  • a grouping unit configured to group the barrage messages having the same modulus according to the modulus corresponding to the plurality of barrage messages.
  • the acquiring unit is further configured to acquire identifier information of the multiple second terminals
  • the modulo unit is further configured to modulo the identification information of the plurality of second terminals against the proportional value to obtain a modulus corresponding to the plurality of second terminals;
  • the grouping unit is further configured to group the second terminals having the same modulus into one group according to the modulus corresponding to the plurality of second terminals.
  • the first threshold is a total amount of the barrage message displayed by the second terminal of the second terminal.
  • the fourth aspect of the present application provides another apparatus for processing a barrage message, including: a first receiving module, configured to receive a first barrage message sent by a user; and a second sending module, configured to: Sending the first barrage message to a server, wherein the server is configured to collect a plurality of first barrage messages received in a unit time a total amount, and calculating a ratio between the total amount of the plurality of first barrage messages and the first threshold, and respectively grouping the plurality of barrage messages and the terminal according to the ratio value, and And the plurality of first barrage messages are sent to the terminal in the corresponding group, where the terminal is used to indicate the device to receive the barrage message, and the second receiving module is configured to receive the message sent by the server.
  • the second barrage message; the display module is configured to display the received second barrage message.
  • the processing apparatus of the barrage message in the embodiment of the present application receives the first barrage message sent by the user, and sends the first barrage message to the server, where the server collects the plurality of first barrage messages received in the unit time.
  • the first barrage message is sent to the terminal in the corresponding group, wherein the terminal is used to indicate the device to receive the barrage message, receive the second barrage message sent by the server, and display the received second barrage message. .
  • the terminal can display a richer barrage message for the user, thereby improving the interaction between the users.
  • processing apparatus of the barrage message in the embodiment of the present application further has the following additional technical features:
  • the displaying module is further configured to display the first barrage message sent by the user while displaying the received second barrage message.
  • the display module includes:
  • a detecting unit configured to detect whether the total amount of the received second barrage message is greater than a first threshold
  • a display unit configured to display the received second barrage message when the total amount of the received second barrage message is less than or equal to the first threshold
  • an allocating unit configured to: when the total amount of the received second barrage message is greater than the first threshold, obtain the number of the first threshold from the received second barrage message Two barrage messages are sent to the display unit, and the remaining second barrage message is added to the message queue;
  • the display unit is further configured to: when detecting that the number of the second barrage message currently displayed is less than the first threshold, acquire a second barrage message from the message queue and display the same.
  • the allocating unit is further configured to: when detecting that the number of second barrage messages in the message queue is greater than or equal to the second At the threshold, the newly received second barrage message is no longer added to the message queue until the number of barrage messages in the message queue is less than the second threshold, and the newly received number is continued. Two barrage messages are added to the message queue.
  • it also includes:
  • An adjustment module configured to adjust a barrage speed according to the number of the second barrage messages in the message queue; wherein the display module is further configured to use the adjusted barrage speed to the second barrage to be displayed according to the adjusted barrage speed The message is displayed.
  • the first threshold is a total amount of the barrage message displayed by the terminal single screen; the second threshold is twice the N of the first threshold, and the N is a natural number greater than or equal to 2.
  • the fifth aspect of the present application provides a processing system for a barrage message, including a device for processing a barrage message according to an embodiment of the third aspect of the present application, and an embodiment of the fourth aspect of the present application.
  • the server acquires the total amount of the plurality of first barrage messages sent by the plurality of first terminals in the unit time, and calculates the total amount of the plurality of first barrage messages and the first a ratio between the thresholds, and then grouping the plurality of first barrage messages according to the proportional value, using the plurality of first barrage messages after the grouping as the second barrage message, and grouping the terminals according to the proportional value, and then The second barrage message is sent to the terminal in the corresponding group to display the barrage message on the terminal.
  • the barrage message displayed by the terminal is enriched, and the interaction between users is improved.
  • a sixth aspect of the present application provides a server, including: a processor, a memory, a communication interface, and a bus; the processor, the memory, and the communication interface are connected and completed through the bus Communication with each other; the memory stores executable program code; the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory for execution of a program
  • the processing method of the barrage message wherein the processing method of the barrage message comprises:
  • the plurality of first barrage messages are grouped according to the ratio value, wherein the grouped first plurality of first barrage messages are used as the second barrage message;
  • the server of the embodiment of the present application acquires a total quantity of multiple first barrage messages sent by multiple first terminals in a unit time, and calculates a ratio between a total quantity of the plurality of first barrage messages and a first threshold. And then grouping the plurality of first barrage messages according to the proportional value to generate a second barrage message, and grouping the second terminal according to the proportional value, and then sending the grouped second barrage message to the corresponding group.
  • the second terminal Thereby, the barrage message displayed by the terminal is enriched, and the interaction between users is improved.
  • the seventh aspect of the present application provides a terminal, including:
  • processor a memory, a communication interface, and a bus
  • the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
  • the memory stores executable program code
  • the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory for executing a processing method of a barrage message; wherein the barrage message
  • the processing methods include:
  • the server is configured to count the total amount of the plurality of first barrage messages received in the unit time, and calculate the plurality of first barrage messages And a ratio value between the total amount and the first threshold, and respectively grouping the plurality of first barrage messages and the terminal according to the ratio value, and sending the grouped first barrage message to Corresponding to the terminal in the group, wherein the terminal is used to indicate a device to receive a barrage message;
  • the second barrage message received is displayed.
  • the terminal of the barrage message in the embodiment of the present application receives the first barrage message sent by the user, and sends the first barrage message to the server, where the server collects the plurality of first barrage messages received in the unit time.
  • the total amount, and calculating a ratio between the total amount of the plurality of first barrage messages and the first threshold, and grouping the plurality of first barrage messages and the terminal according to the scale value, and grouping the plurality of The first barrage message is sent to the terminal in the corresponding group, wherein the terminal is used to indicate the device to receive the barrage message, receive the second barrage message sent by the server, and display the received second barrage message.
  • the terminal can display a richer barrage message for the user, thereby improving the interaction between the users.
  • an eight-part embodiment of the present application proposes a non-transitory computer readable storage medium, which enables a mobile terminal to perform a bomb when an instruction in the storage medium is executed by a processor of the mobile terminal
  • a method for processing a curtain message comprising:
  • the second terminal is grouped according to the ratio value, where the second terminal is used to indicate a terminal that is to receive a barrage message;
  • an embodiment of the nine aspects of the present application proposes another non-transitory computer readable storage medium, which enables a mobile terminal to perform a kind when an instruction in the storage medium is executed by a processor of the mobile terminal
  • a method for processing a barrage message comprising:
  • the server is configured to count the total amount of the plurality of first barrage messages received in the unit time, and calculate the plurality of first barrage messages And a ratio value between the total amount and the first threshold, and respectively grouping the plurality of first barrage messages and the terminal according to the ratio value, and sending the grouped first barrage message to Corresponding to the terminal in the group, wherein the terminal is used to indicate a device to receive a barrage message;
  • the second barrage message received is displayed.
  • a tenth aspect of the present application provides a computer program product, which, when executed by an instruction processor in the computer program product, performs a method for processing a barrage message, the method comprising:
  • the second terminal is grouped according to the ratio value, where the second terminal is used to indicate a terminal that is to receive a barrage message;
  • an eleventh embodiment of the present application proposes another computer program product that, when executed by an instruction processor in the computer program product, performs a method of processing a barrage message, the method comprising :
  • the first first barrage message is sent to the terminal in the corresponding group, wherein the terminal is used to indicate the device to receive the barrage message; the second barrage message sent by the server is received, and the second barrage is received.
  • the message is a message in the group corresponding to the grouped terminal;
  • FIG. 1 is a flow chart of a method of processing a barrage message according to an embodiment of the present application
  • FIG. 2 is a flow chart of a method for processing a barrage message according to an embodiment of the present application
  • FIG. 3 is a flowchart of a method of processing a barrage message according to another embodiment of the present application.
  • FIG. 5 is a flowchart of a method for processing a barrage message according to still another embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a server according to a first embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a processing apparatus for a barrage message according to a second embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a processing apparatus for a barrage message according to a third embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a processing apparatus for a barrage message according to a fourth embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a processing apparatus for a barrage message according to a fifth embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a processing system for a barrage message according to an embodiment of the present application.
  • FIG. 12 is a schematic diagram of interaction between a server and a terminal in an embodiment of a processing system for a specific barrage message according to the present application;
  • FIG. 13 is a schematic structural diagram of a server (terminal) according to an embodiment of the present application.
  • the barrage is a function of sending comments when watching a video, and is increasingly sought after by users. Users can send a barrage message to the watched video so that other users can watch their own comments on the video. The user can also view the barrage messages sent by other users on the current play interface to know other users' comments on the video in real time, and even different users can also send chats by sending a barrage.
  • the screen may be swift too fast, and it is difficult for the user to see the specific content of the barrage message.
  • the live interface will be swiped too fast, the user can't see the specific content of the barrage information, and the anchor can't get the viewer's comment on the live video according to the barrage information.
  • the interaction between users is limited. .
  • the present application proposes a method for processing a barrage message, which performs random grouping based on the user's individual unit, and randomly groups all current barrage messages, thereby providing corresponding groups according to the grouping of the user.
  • the barrage message enriches the bullets displayed by the terminal due to the even grouping of the barrage messages based on big data. News.
  • the terminal may be a hardware device with various operating systems and display devices, such as a mobile phone, a tablet computer, a personal digital assistant, a wearable device, and the wearable device may be a smart wristband, a smart watch, or smart glasses. Wait.
  • FIG. 1 is a flow chart of a method of processing a barrage message in accordance with one embodiment of the present application.
  • the processing method of the barrage message may include:
  • the first terminal is a terminal that sends the first barrage message.
  • the specific duration represented by the unit time is related to the frequency at which the server receives the barrage message. For example, if the server receives the barrage message every 1 second, the duration corresponding to the unit time is less than or equal to any value within 1 second. .
  • the multiple second terminals are grouped according to the proportional value, where the multiple second terminals are used to indicate the terminal that is to receive the second barrage message.
  • the first threshold is a total amount of the barrage message displayed by the second terminal
  • the size of the first threshold It is related to the size of the display font of the barrage message, the size of the terminal display screen, and the like.
  • the ratio between the total amount of the plurality of first barrage messages calculated and the first threshold is 5:1.
  • the second terminal corresponds to the terminal that receives the barrage message, and may be included in the first terminal that sends the barrage message, or may only be the terminal that displays the barrage message.
  • the ratio between the total amount of the plurality of first barrage messages and the first threshold is greater than 1, it indicates that the total amount of the first barrage message exceeds the upper limit of the ability of the second terminal to display the barrage message. If the ratio between the total quantity of the plurality of first barrage messages and the first threshold is less than or equal to 1, it indicates that the total amount of the first barrage message does not exceed the upper limit of the ability of the second terminal to display the barrage message.
  • the total amount of the plurality of first barrage messages is 150, and the first threshold is 50, and the ratio between the total amount of the plurality of first barrage messages and the first threshold is calculated to be 3:1, the first bullet The total amount of the curtain message exceeds the upper limit of the ability of the second terminal to display the barrage message.
  • the plurality of first first barrage messages are used as the second barrage message, thereby performing random grouping in units of a single second terminal, and performing random grouping in units of a single barrage message, that is, the second terminal and the plurality of first The barrage messages are grouped separately.
  • the ratio between the total quantity of the plurality of first barrage messages and the first threshold is a parameter of the second terminal and the plurality of first barrage message packets, and may be different according to the application scenario. According to the ratio value, the second terminal and the plurality of first barrage messages are grouped in different operation manners, as illustrated in the following examples:
  • the proportional value modulo may be grouped according to the relevant parameters of the second terminal and the plurality of first barrage messages.
  • the parameters of the second terminal and the plurality of first barrage information are represented by numbers, and can be used to distinguish different second terminals and different first barrage messages.
  • the parameter corresponding to the second terminal and the plurality of first barrage messages may be identification information
  • the identification information of the second terminal may include the ID of the second terminal
  • the identification information of the plurality of first barrage messages may include a bullet.
  • the corresponding identification number may be set in advance for the geographic location, for example, the identifier number corresponding to the A area is 25, the identification number corresponding to the B area is 36, and the corresponding identification number is set for the sending time period of the first barrage message.
  • Etc. for example, the identification number corresponding to 7:10 to 7:11 is 33, and the identification number corresponding to 7:45 to 7:46 is 34.
  • the following takes the parameter corresponding to the second terminal and the plurality of first barrage messages as an example for description, and the identification information of the plurality of first barrage messages is obtained, and the identification information of the plurality of first barrage messages is obtained.
  • the scale value is modulo, and the modulus corresponding to the plurality of first barrage messages is obtained.
  • the first barrage message having the same modulus is divided into a group, and the grouped first barrage message is used as the second barrage message.
  • the ID of the first barrage message x is 66, and if the ratio of the total number of the first barrage messages to the first threshold is 5, the modulus corresponding to the first barrage message x is 1, If it is known that the ID of the first barrage message y is 19, the modulus corresponding to the first barrage message y is 4, and if the ID of the first barrage message z is 16, the first barrage message is obtained.
  • the modulus corresponding to z is 1, so that the first barrage messages x and z are grouped together, and y is a group.
  • the identification information of the second terminal is obtained, and the comparison value of the identification information of the plurality of second terminals is modulo, and the modulus corresponding to the plurality of second terminals is obtained, and according to the plurality of second The modulus corresponding to the terminal will have the same
  • the second terminals of the modulus are grouped into one group.
  • the modulus corresponding to the second terminal A is 1 and the second terminal B is learned. If the ID is 19, the modulus corresponding to the second terminal B is 4, and if the ID of the second terminal C is 16, the modulus corresponding to the second terminal C is 1 and the second terminal A is obtained. And C is divided into one group, and B is a group.
  • the proportional values may be multiplied according to the correlation parameters of the second terminal and the plurality of first barrage messages.
  • the parameters of the second terminal and the plurality of first barrage messages are represented by numbers, and can be used to distinguish different second terminals and different first barrage messages.
  • the second terminal and the ID corresponding to the first barrage message may be used to identify and the like.
  • the ID of the second terminal can be multiplied by the scale value, and the second terminals with the same number of tails of the multiplier can be grouped.
  • the second terminals A and C are grouped into one group, and B is a group.
  • the ID of the first barrage message can be multiplied by the proportional value, and the first barrage message with the same mantissa of the multiplied value can be grouped into one group.
  • the ID of the first barrage message x is 66. If the ratio of the total number of the first barrage messages to the first threshold is 5, the multiplier of the multiplication value corresponding to the first barrage message x is obtained. 0, if it is known that the ID of the first barrage message y is 19, the multiplier of the multiplication value corresponding to the first barrage message y is 5, and if the ID of the first barrage message z is 16 is obtained, The multiplier value corresponding to a barrage message z is 0, so that the first barrage messages x and z are grouped into one group, and y is a group.
  • the parameters of the plurality of first barrage messages according to the proportional value grouping may be different from the parameters according to the second terminal grouping according to the proportional value grouping. , can also be the same, not limited here.
  • the second barrage message is divided into multiple groups, and the second barrage message is sent to the second terminal in the corresponding group, thereby The message groups the first barrage message, and the first barrage message is relatively evenly distributed, so that the second terminal can see a richer barrage message.
  • the barrage message in the second group may include the barrage message of the chat room, and the barrage messages of other chat rooms such as B and C, so that the second group is in the second group.
  • the second terminal can basically receive the barrage message of each chat room, and know the comments of each type of user on the current live video.
  • the live broadcast scenario is taken as an example to illustrate the process of the barrage message in the actual application:
  • the message when the first amount of the barrage message sent in the live room exceeds the first threshold of the amount of the single-screen message proposed by the terminal, the message is sent by offloading.
  • the server controls the first barrage message and the second terminal according to a ratio of the total amount of the first barrage message to the first threshold. If the total number of first barrage messages received in the unit time of the current live broadcast is 1000, and the first threshold value of the message volume that can be displayed on the terminal single screen is 50, the calculated ratio value is 20:1.
  • the second terminal A1 is 25
  • the ID of the second terminal B1 is 45
  • the ID of the second terminal C1 is 77
  • the second terminal B1 is divided into the fifth group by the modulo operation
  • the second terminal C1 is divided into the 17 groups.
  • the total amount of the first barrage message is 100 at this time, and the first threshold value of the message amount that can be displayed by the terminal single screen is 50, calculating a plurality of first barrage messages
  • the ratio between the total amount and the first threshold is 2:1
  • Terminals B2 and C2 are modulo-calculated and are grouped into the first group.
  • the processing method of the barrage message in the embodiment of the present application acquires the total amount of the plurality of first barrage messages sent by the plurality of first terminals in a unit time, and calculates the total of the plurality of first barrage messages. a ratio between the quantity and the first threshold, and then grouping the plurality of first barrage messages according to the ratio value, wherein the plurality of first barrage messages after the grouping are used as the second barrage message, and according to the scale value
  • the second terminal is grouped, and then the second barrage message is sent to the second terminal in the corresponding group.
  • the barrage message displayed by the terminal is enriched, and the interaction between users is improved.
  • FIG. 2 is a flowchart of a method for processing a barrage message according to an embodiment of the present application. As shown in FIG. 2, the method further includes:
  • the second barrage message includes the first barrage message sent by the second terminal
  • the second barrage message is directly sent to the second terminal in the corresponding group.
  • the first barrage message sent by the second terminal needs to be sent to the second terminal itself to enhance the user's sense of participation.
  • the second barrage message includes the first barrage message sent by the second terminal, so that when the second barrage message does not include the first barrage message sent by the second terminal, the second message will be When the barrage message is sent to the second terminal in the corresponding group, the first barrage message sent by the second terminal is sent to the second terminal.
  • the first barrage message sent by the second terminal itself may be obtained in multiple manners, for example, by using the terminal of the second terminal.
  • the identifier is matched with the identifier of the first barrage message to obtain the first barrage message sent by the second terminal that is successfully matched.
  • the first barrage message sent by the second terminal, and the like may be obtained from the first barrage message stored locally by the second terminal.
  • the second barrage message when the second barrage message includes the first barrage message sent by the second terminal, the second barrage message is directly sent to the second terminal in the corresponding group.
  • the total amount of the plurality of first barrage messages is calculated and the first threshold is calculated.
  • the first barrage message x2 sent by the second terminal A2, with the ID of 65 and the modulo operation 65%2 1, is sent to the second terminal B2 of the first group and having the ID 14 respectively.
  • the second barrage message in the first packet received by the second terminal A2 includes the first barrage message x2, y2, etc., wherein the second barrage message includes the first bullet sent by the second terminal A2.
  • the curtain message x2 therefore directly sends the second barrage message of the first group to the second terminal A2.
  • determining whether the second barrage message includes the first barrage message sent by the second terminal is different, for example, as follows:
  • the terminal identifier of the terminal to which the second barrage message belongs is obtained, and the terminal identifier of the second terminal is matched with the multiple terminal identifiers. If the matching is successful, the second barrage message is included in the second Transmitted by the terminal The barrage message is sent, so that the grouped second barrage message is directly sent to the second terminal in the corresponding group.
  • the terminal identifier of the second terminal fails to match the multiple terminal identifiers, it is learned that the second barrage message does not include the barrage message sent by the second terminal, and thus the second barrage message is sent to the corresponding message. At the same time as the second terminal in the group, the barrage message of the second terminal is sent to the second terminal.
  • the first barrage message stored by the second terminal is matched with the second barrage message, for example, the IP address, the keyword, the font, the sending time, and the like are matched. If the matching is successful, the second barrage is obtained.
  • the message includes the first barrage message sent by the second terminal, so that the second barrage message is directly sent to the second terminal in the corresponding group.
  • the second barrage message does not include the first barrage message sent by the second terminal, and thus the second barrage message is sent to the second terminal in the corresponding group, The first barrage message of the second terminal is sent to the second terminal.
  • the processing method of the barrage message in the embodiment of the present application sends the second barrage message to the second terminal in the corresponding group, and sends the first barrage message sent by the second terminal to the second terminal. Terminals to enhance user engagement and further enhance the user experience.
  • FIG. 3 is a flowchart of a method for processing a barrage message according to another embodiment of the present application. As shown in FIG. 3, the method includes:
  • the first barrage message sent by the user is received to learn the comments of other users.
  • the server After receiving the first barrage message sent by the user, sending the first barrage message to the server, so that the server collects the total amount of the plurality of first barrage messages received in the unit time, and calculates a ratio between the total amount of the plurality of first barrage messages and the first threshold.
  • the plurality of first barrage messages and the terminal are respectively grouped according to the proportional value, and the plurality of first barrage messages after the grouping are sent to the terminal in the corresponding group, wherein the terminal is used to indicate that the barrage message is to be received. device of.
  • S303 Receive a second barrage message sent by the server, where the second barrage message is a message in the group corresponding to the grouped terminal.
  • the receiving server displays the second barrage message in the corresponding group sent by the grouped terminal, and displays the received second barrage message, and the barrage message is formed because the big message is based on the barrage message. A relatively even grouping is obtained, so that the user can see rich barrage messages on the terminal, which improves the interaction between users.
  • the processing method of the barrage message in the embodiment of the present application receives the first barrage message sent by the user, and sends the first barrage message to the server, where the server collects multiple received in the unit time. a total amount of the first barrage message, and calculating a ratio between the total amount of the plurality of first barrage messages and the first threshold, and grouping the plurality of first barrage messages and the terminal according to the scale value, and And sending, by the terminal, the second barrage message sent by the server, and receiving the second Barrage messages are displayed. Thereby, the terminal can display a richer barrage message for the user, thereby improving the interaction between the users.
  • the number of barrage messages may increase, and the number of barrage messages corresponding to the group where the terminal is located increases sharply, exceeding the terminal display capability.
  • the upper limit may still cause the screen to be too fast.
  • FIG. 4 is a flowchart of a method for processing a barrage message according to still another embodiment of the present application. As shown in FIG. 4, the foregoing step S303 may include:
  • the first threshold is a total amount of the barrage message displayed by the terminal single screen
  • the size of the first threshold is related to the size of the display font of the barrage message, the size of the terminal display screen, and the like.
  • the terminal can display all the barrage messages, and thus the received barrage message is displayed.
  • the first threshold is obtained from the received second barrage message.
  • the second barrage message is displayed and the remaining second barrage message is added to the message queue.
  • the second barrage message to be displayed by the terminal is saved in the message queue.
  • the first threshold of the barrage message displayed by terminal A3 is 50 per screen, when the bullet in the message queue When the amount of message is less than 50, the second barrage message received will be displayed.
  • the number of second barrage messages that can be saved in the message queue is limited, when the upper limit of the number of second barrage messages saved in the message queue is the second threshold, where the second The threshold is a N of the first threshold (N is a natural number greater than or equal to 2) times, that is, corresponding to the total amount of the second barrage message displayed on the two screens or multiple screens of the terminal, if the second barrage in the message queue is detected
  • N is a natural number greater than or equal to 2
  • the user when it is detected that the number of the second barrage message currently displayed is less than the first threshold, in order to fully utilize the display screen of the terminal, the user is convenient to display more second barrage messages at one time, and obtain the second message from the message queue. Barrage messages and presentations.
  • the adjustment of the number of display of the barrage message can be realized by controlling the operation of displaying the size of the font, the display speed, and the like by the barrage message.
  • the full display of the barrage message can be comprehensively considered, and the user can clearly know the content of the barrage message, and the barrage speed can be adjusted according to the adjusted The barrage speed shows the second barrage message to be displayed.
  • the adjustment range of the barrage speed is small, for example, it can be 0.9X-1.1X, thereby ensuring that the number of barrage messages is stable, avoiding the phenomenon of brushing, slowing, etc. The situation has happened.
  • the barrage speed may be appropriately increased, and according to the adjusted barrage speed. Display the second barrage message currently to be displayed.
  • the barrage speed can be appropriately reduced, and the current barrage speed is adjusted according to the adjusted barrage speed.
  • the second barrage message was displayed for display.
  • the first threshold of the second barrage message that terminal A can display is 50 per screen, and this is A.
  • the second threshold value of the stored second screen message of the two screens is 100.
  • the barrage speed is considered. Speed up from 1.0X to 1.1X.
  • the processing method of the barrage message in the embodiment of the present application detects whether the total amount of the received barrage message is greater than a first threshold, and if the total amount of the received second barrage message is less than or equal to the first
  • the threshold value is used to display the received second barrage message. If the total amount of the received second barrage message is greater than the first threshold, the number of the second barrage message received is the first threshold.
  • the second barrage message is displayed and added, and the remaining second barrage message is added to the message queue. When it is detected that the number of the second barrage message currently displayed is less than the first threshold, the second message is obtained from the message queue.
  • the second barrage message is displayed and, accordingly, according to the specific number of the second barrage message received, the second barrage message is processed correspondingly, which improves the practicability and flexibility of the barrage message processing method of the present application. Sex.
  • FIG. 5 is a flowchart of a method for processing a barrage message according to still another embodiment of the present application. As shown in FIG. 5, the method further includes:
  • the first barrage message sent by the user needs to be displayed.
  • determining whether the second barrage message includes the first barrage message sent by the user and when the second barrage message includes the first barrage message sent by the user, sending the second barrage message and the user
  • the first barrage message is deduplicated, that is, the first barrage message in the second barrage message is filtered, and the second barrage message after deduplication and the first barrage message sent by the user are displayed.
  • the received second barrage message and the first barrage message sent by the user are directly displayed.
  • processing method of the barrage message described above with reference to FIG. 2 is also applicable to the method for processing the barrage message in the embodiment of the present application.
  • the details not disclosed in the embodiment of the method for processing the barrage message of the present application are This will not be repeated here.
  • the processing method of the barrage message in the embodiment of the present invention displays the first barrage message sent by the user while displaying the received second barrage message. Thereby, the user's sense of participation is improved and the user experience is improved.
  • FIG. 6 is a schematic structural diagram of a device for processing a barrage message according to the first embodiment of the present application. As shown in FIG. The acquisition module 110, the calculation module 120, the grouping module 130, and the first sending module 140 are included.
  • the obtaining module 110 is configured to acquire a total amount of multiple first barrage messages sent by multiple first terminals in a unit time.
  • the calculating module 120 is configured to calculate a ratio between the total amount of the plurality of first barrage messages and the first threshold.
  • the grouping module 130 is configured to group the plurality of first barrage messages according to the scale value, and group the plurality of second terminals according to the proportional value, wherein the grouped first barrage message is used as the second bomb The second message is used to indicate the terminal to receive the second barrage message.
  • FIG. 7 is a schematic structural diagram of a processing apparatus for a barrage message according to a second embodiment of the present application.
  • the grouping module 130 includes an obtaining unit 131 and a modulo unit 132. And grouping unit 133.
  • the obtaining unit 131 is configured to acquire identification information of the plurality of first barrage messages.
  • the modulo unit 132 is configured to modulo the identification information of the plurality of first barrage messages to obtain a modulus corresponding to the plurality of barrage messages.
  • the grouping unit 133 is configured to group the barrage messages having the same modulus according to the modulus corresponding to the plurality of first barrage messages.
  • the first threshold is a single screen of the second terminal, and the total amount of the barrage message can be displayed.
  • the obtaining unit 131 is further configured to acquire identifier information of multiple second terminals.
  • the modulo unit 132 is further configured to modulo the identification information of the plurality of second terminals to obtain a modulus corresponding to the plurality of second terminals.
  • the grouping unit 133 is further configured to group the second terminals having the same modulus according to the modulus corresponding to the plurality of second terminals.
  • the first sending module 140 is configured to send the second barrage message to the second terminal in the corresponding group, where the second terminal displays the second barrage message in the corresponding group.
  • processing method of the barrage message described above with reference to FIG. 1 is also applicable to the processing device of the barrage message in the embodiment of the present application, and the details not disclosed in the embodiment of the processing device of the barrage message of the present application are This will not be repeated here.
  • the processing apparatus of the barrage message in the embodiment of the present application acquires the total amount of the plurality of first barrage messages sent by the plurality of first terminals in the unit time, and calculates the total of the plurality of first barrage messages. The ratio between the quantity and the first threshold, And then grouping the plurality of first barrage messages according to the proportional value, using the plurality of first barrage messages after the grouping as the second barrage message, and grouping the second terminals according to the proportional value, and then the second barrage The message is sent to the second terminal in the corresponding group. Thereby, the barrage message displayed by the terminal is enriched, and the interaction between users is improved.
  • the first sending module 140 is further configured to send the first barrage message sent by the second terminal to the second terminal message while transmitting the second barrage message to the second terminal in the corresponding group. Two terminals.
  • the first barrage message sent by the second terminal may be included in the second barrage message.
  • the first sending module 140 sends the second barrage message to the second terminal in the corresponding group when the second barrage message does not include the first barrage message sent by the second terminal, and the second sending module 140 The first barrage message sent by the terminal is sent to the second terminal.
  • the first sending module 140 directly sends the second barrage message to the second terminal in the corresponding group.
  • the processing apparatus of the barrage message in the embodiment of the present application sends the second barrage message to the second terminal in the corresponding group, and sends the first barrage message sent by the second terminal to the second terminal. Terminals to enhance user engagement and further enhance the user experience.
  • FIG. 8 is a schematic structural diagram of a processing device for a barrage message according to the third embodiment of the present application. As shown in FIG.
  • the processing device of the barrage message includes: a first receiving module 210, a second sending module 220, a second receiving module 230, and a display module 240.
  • the first receiving module 210 is configured to receive a first barrage message sent by the user.
  • the second sending module 220 is configured to send the first barrage message to the server, where the server is configured to count the total amount of the plurality of first barrage messages received in the unit time, and calculate the plurality of first barrage a ratio between the total amount of the message and the first threshold, and grouping the plurality of first barrage messages and the terminal according to the proportional value, and transmitting the plurality of first barrage messages after the grouping to the corresponding group a terminal, wherein the terminal is used to indicate a device to receive a barrage message.
  • the first threshold is a total amount of the barrage message displayed on the terminal single screen.
  • the second receiving module 230 is configured to receive a second barrage message sent by the server.
  • the display module 240 is configured to display the received second barrage message.
  • processing method of the barrage message described above with reference to FIG. 3 is also applicable to the processing device of the barrage message in the embodiment of the present application, and the details not disclosed in the embodiment of the processing device of the barrage message of the present application are This will not be repeated here.
  • the processing apparatus of the barrage message in the embodiment of the present application receives the first barrage message sent by the user, and sends the first barrage message to the server, where the server is used to collect the information received in the unit time.
  • Multiple first barrage The total amount of the message, and calculating a ratio between the total amount of the plurality of first barrage messages and the first threshold, and grouping the plurality of first barrage messages and the terminal according to the scale value, and grouping the packets
  • sending, by the terminal, the second barrage message in the corresponding group sent by the terminal after the grouping, and The second barrage message received is displayed.
  • the terminal can display a richer barrage message for the user, thereby improving the interaction between the users.
  • the display module 240 includes a detecting unit 241, a display unit 242, and Distribution unit 243.
  • the detecting unit 241 is configured to detect whether the total amount of the received second barrage message is greater than a first threshold.
  • the displaying unit 242 is configured to display the received second barrage message when the total amount of the received second barrage message is less than or equal to the first threshold.
  • the allocating unit 243 is configured to: when the total amount of the received second barrage message is greater than the first threshold, obtain a second barrage message of the first threshold from the received second barrage message and send the message to the second barrage message Display the unit and add the remaining second barrage message to the message queue.
  • the display unit 242 is further configured to: when detecting that the number of the second displayed barrage message currently displayed is less than the first threshold, acquire the second barrage message from the message queue and display the message.
  • the allocating unit 243 when the message volume that the message queue can bear is the second threshold, is further configured to: when detecting that the number of the second barrage messages in the message queue is greater than or equal to the second threshold , the newly received second barrage message is no longer added to the message queue, and the received second barrage message is continuously added to the message queue until the number of barrage messages in the message queue is less than the second threshold.
  • the second threshold is N of the first threshold (N is a natural number greater than or equal to 2) times, and the second threshold is a total amount of the barrage message displayed by the terminal dual screen.
  • FIG. 10 is a schematic structural diagram of a processing apparatus for a barrage message according to a fifth embodiment of the present application. As shown in FIG. 10, the processing apparatus of the barrage message further includes an adjustment module 250.
  • the adjustment module 250 is configured to adjust the barrage speed according to the number of second barrage messages in the message queue.
  • the display module 240 is further configured to display the second barrage message to be displayed according to the adjusted barrage speed.
  • the processing apparatus of the barrage message in the embodiment of the present application detects whether the total amount of the received second barrage message is greater than a first threshold, and if the total amount of the received second barrage message is less than or equal to The first threshold value is used to display the received second barrage message. If the total amount of the received second barrage message is greater than the first threshold, the number of the second barrage message received is the number of a threshold of the second barrage message and display, and the remaining second bomb The screen message is added to the message queue.
  • the second barrage message is obtained from the message queue and displayed, thereby, according to the received second
  • the specific number of barrage messages, the corresponding processing of the second barrage message improves the practicability and flexibility of the barrage message processing method of the present application.
  • the display module 240 is further configured to display the first barrage message sent by the user while displaying the received second barrage message.
  • the second barrage message includes the first barrage message sent by the user.
  • the display module 240 displays the received second barrage message and the first barrage message sent by the user.
  • the second barrage message and the first barrage message sent by the user are deduplicated and deduplicated.
  • the second second barrage message and the first barrage message sent by the user are displayed.
  • the processing apparatus of the barrage message in the embodiment of the present invention displays the first barrage message sent by the user while displaying the received second barrage message. Thereby, the user's sense of participation is improved and the user experience is improved.
  • FIG. 11 is a schematic structural diagram of a processing system for a barrage message according to an embodiment of the present application.
  • the processing system can include a processing device 100 for barrage messages and a processing device 200 for barrage messages.
  • the processing device 100 of the barrage message may be a server or a server, configured to acquire a total amount of the plurality of first barrage messages sent by the plurality of first terminals in a unit time, and calculate a plurality of first bullets. a ratio between the total amount of the curtain message and the first threshold, and grouping the plurality of first barrage messages according to the ratio value, wherein the plurality of first barrage messages after the grouping are used as the second barrage message, and The plurality of second terminals are grouped according to the proportional value, wherein the plurality of second terminals are used to indicate the terminal that is to receive the second barrage message, and then send the second barrage message to the second terminal in the corresponding group, where The second terminal will display the second barrage message in the corresponding group.
  • the processing device 200 for the barrage message may include a barrage message sending end and a barrage message receiving end, configured to receive the first barrage message sent by the user, and send the first barrage message to the server, where the server is used for Counting the total amount of the plurality of first barrage messages received in the unit time, and calculating a ratio between the total amount of the plurality of first barrage messages and the first threshold, and respectively, according to the ratio value a barrage message and the terminal grouping, and transmitting the first plurality of barrage messages after the grouping to the terminal in the corresponding group, wherein the terminal is used to indicate the device to receive the barrage message, and then receive the second message sent by the server.
  • the barrage message, the second barrage message is a message in the group corresponding to the grouped terminal; and the received second barrage message is displayed.
  • processing 100 of the barrage message in the embodiment of the present application includes the processing device embodiment of the barrage message described above with reference to FIG. 6 to FIG.
  • the processing device of the barrage message described in reference to FIG. 8 to FIG. 10 is similar, and the implementation principle thereof is similar, and details are not described herein again.
  • the processing device 100 for the barrage message is described below with reference to FIG.
  • the processing device 200 for the barrage message includes a barrage message sending terminal A and a barrage message receiving terminal C, and an interaction process between the barrage message processing device 100 and the barrage message processing device 200 is illustrated. as follows:
  • the terminal A receives the first barrage message sent by the user (S1), and sends a plurality of first barrage messages sent by the terminal A to the server B (S2), and the server B acquires the unit.
  • a plurality of first barrage messages sent by the terminal A (S3) are calculated between the plurality of first barrage messages and the first threshold according to the plurality of first barrage messages sent by the terminal A received in the unit time.
  • the ratio value is used to group the plurality of first barrage messages according to the scale value, wherein the plurality of first barrage messages after the grouping are used as the second barrage message (S4).
  • the terminal C is grouped according to the scale value (S5), and after the barrage message and the terminal are grouped, the second barrage message is transmitted to the terminal C in the corresponding group (S6).
  • the terminal C in the corresponding group receives the second barrage message in the corresponding group (S7), and determines whether the total amount of the second barrage message is greater than the first threshold (S8) before displaying the second barrage message. If it is greater than the first threshold, it indicates that the current number of second barrage messages exceeds the total amount of the barrage message displayed by the terminal C single screen, so that the second barrage message of the first threshold is obtained for display, and the remaining second The barrage message is added to the message queue (S9), so that when the second barrage message currently displayed is less than the first threshold, a barrage message is obtained from the message queue for presentation (S10).
  • the server acquires the total amount of the plurality of barrage messages sent by the plurality of first terminals in the unit time, and calculates the total amount of the plurality of barrage messages and the a ratio between the thresholds, and then grouping the plurality of barrage messages according to the proportional value, and grouping the second terminals according to the proportional value, and then transmitting the plurality of barrage messages after the grouping to the terminals in the corresponding group, And display the barrage message on the terminal.
  • the barrage message displayed by the terminal is enriched, and the interaction between users is improved.
  • FIG. 13 is a schematic structural diagram of a server according to an embodiment of the present application.
  • the server 1000 includes: a processor 1010, a memory 1020, Communication interface 1030 and bus 1040;
  • the processor 1010, the memory 1020, and the communication interface 1030 are connected by the bus 1040 and complete communication with each other;
  • the memory 1020 stores executable program code
  • the processor 1010 runs with the executable program by reading executable program code stored in the memory 1020.
  • the second barrage message is fed back to the second terminal that sent the first barrage message, wherein the second terminal displays the second barrage message in the corresponding group.
  • the server of the embodiment of the present application acquires the total amount of the plurality of first barrage messages sent by the plurality of first terminals in the unit time, and calculates the total amount of the plurality of first barrage messages and the first threshold. a ratio between the plurality of first barrage messages according to the proportional value, and the plurality of first barrage messages after the grouping are used as the second barrage message, and the plurality of second terminals are performed according to the proportional value. After grouping, the second barrage message is sent to the second terminal in the corresponding group. Thereby, the barrage message displayed by the terminal is enriched, and the interaction between users is improved.
  • the present application also proposes a terminal, referring to FIG. 13, also includes a processor 1010, a memory 1020, a communication interface 1030, and a bus 1040;
  • the processor 1010, the memory 1020, and the communication interface 1030 are connected by the bus 1040 and complete communication with each other;
  • the memory 1020 stores executable program code
  • the processor 1010 runs a program corresponding to the executable program code by reading executable program code stored in the memory 1020 for executing a processing method of a barrage message; wherein the processing method of the barrage message includes :
  • the server sends the first barrage message to the server, where the server counts the total amount of the plurality of first barrage messages received in the unit time, and calculates the total amount of the plurality of first barrage messages and the first threshold And the plurality of first barrage messages and the terminal are grouped according to the proportional value, and the plurality of first barrage messages after the grouping are sent to the terminal in the corresponding group, wherein the terminal is used to indicate that the terminal is to be received Equipment for barrage messages;
  • the second barrage message received is displayed.
  • the terminal in the embodiment of the present application receives the first barrage message sent by the user, and sends a barrage message to the server, where the server collects the total number of the first barrage messages received in the unit time. And calculating a ratio between the total amount of the plurality of first barrage messages and the first threshold, and grouping the plurality of first barrage messages and the terminal according to the ratio value, and grouping the plurality of segments
  • a barrage message is sent to the terminal in the corresponding group, wherein the terminal is used to indicate the device to receive the first barrage message, and the receiving server receives the second barrage message in the corresponding group according to the grouped terminal, and receives the message.
  • the second barrage message arrived.
  • the terminal can display a richer barrage message for the user, thereby improving the interaction between the users.
  • the present application also proposes a storage medium.
  • the storage medium is used to store an application program, and the application program is used to execute the processing method of the barrage message in the embodiment of the present application.
  • the processing method of the barrage message includes: acquiring multiple firsts in a unit time.
  • the screen message is grouped, wherein the grouped first plurality of first barrage messages are used as the second barrage message, and the plurality of second terminals are grouped according to the proportional value;
  • the barrage message is sent to the second terminal in the corresponding group, wherein the second terminal displays the second barrage message in the corresponding group.
  • the present application also proposes a storage medium.
  • the storage medium is used to store an application, and the application is used to execute the processing method of the barrage message in the embodiment of the present application.
  • the processing method of the barrage message includes: receiving the first barrage message sent by the user.
  • Transmitting the first barrage message to a server wherein the server counts a total amount of the plurality of first barrage messages received in a unit time, and calculates a total of the plurality of first barrage messages The ratio between the quantity and the first threshold, and respectively grouping the plurality of first barrage messages and the terminal according to the ratio value, and sending the grouped first plurality of first barrage messages to the corresponding a terminal in the group, wherein the terminal is used to indicate a device to receive a barrage message; and receive a second barrage message sent by the server, where the second barrage message is in a group corresponding to the grouped terminal Message and display the received barrage message.
  • the application further provides an application program, where the application is used to execute the processing method of the barrage message in the embodiment of the present application at runtime, and the processing method of the barrage message includes: acquiring the unit in the unit a total amount of the plurality of first barrage messages sent by the plurality of first terminals in a time; calculating a ratio between the total amount of the plurality of first barrage messages and the first threshold; The plurality of first barrage messages are grouped, wherein the plurality of first barrage messages after the grouping are used as the second barrage message, and the plurality of second terminals are grouped according to the proportional value; The plurality of second barrage messages are sent to the second terminal in the corresponding group, wherein the second terminal displays the second barrage message in the corresponding group.
  • the application further provides an application program, where the application is used to execute the processing method of the barrage message in the embodiment of the present application, and the processing method of the barrage message includes: receiving the user to send First barrage message; sending the first barrage message to a server, wherein the server statistics are in unit time a total amount of the plurality of first barrage messages received, and calculating a ratio between the total amount of the plurality of first barrage messages and the first threshold, and respectively respectively, according to the ratio value
  • the first barrage message and the terminal perform grouping, and send the grouped first barrage message to the terminal in the corresponding group, wherein the terminal is used to indicate the device to receive the barrage message;
  • the second barrage message sent by the server is the message in the group corresponding to the grouped terminal, and the received barrage message is displayed.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • portions of the application can be implemented in hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are schematic, for example, the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or may be integrated. Go to another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Computer Graphics (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请公开了一种弹幕消息的处理方法、装置、系统及其设备,其中,方法包括:获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量;计算多个第一弹幕消息的总量与第一阈值之间的比例值;根据比例值将多个第一弹幕消息进行分组,其中,将分组后的所述多个第一弹幕消息作为第二弹幕消息;根据比例值将多个第二终端进行分组,其中,多个第二终端用于指示待接收第二弹幕消息的终端;将第二弹幕消息发送给对应组内的第二终端,其中,第二终端将在对应组内的弹幕消息进行展示。该方法丰富了终端展示的弹幕消息,提高了用户之间的互动性。

Description

弹幕消息的处理方法、装置、系统及其设备
相关申请的交叉引用
本申请要求北京金山安全软件有限公司于2016年11月28日提交的、申请名称为“弹幕消息的处理方法、装置、系统及其设备”的、中国专利申请号“201611070315.9”的优先权。
技术领域
本申请涉及互联网技术领域,尤其涉及一种弹幕消息的处理方法、装置、系统及其设备。
背景技术
随着互联网技术的发展,互联网成为用户活动的主要区域,用户可在互联网进行在线交流、学习、购物等活动。而随着互联网利用率的增加,互联网为用户提供的功能服务也越来越多元化。
通常,为了增加互联网用户之间的互动性,在直播、视频播放等场景下,为用户提供弹幕功能,从而可在用户使用终端的相关界面,通过飘过等形式显示弹幕消息,来展现用户评论等信息。
然而,当用户的评论过多时,可能因弹幕流过大而导致刷屏过快,用户无法看清弹幕消息的内容,因而不能起到增强用户之间互动的效果。
相关技术中,为了避免上述问题,将所有的用户分散到的不同的分组,并仅为用户提供该分组内的用户发送的弹幕消息,导致显示的弹幕消息单一,提供的弹幕消息有限。
发明内容
本申请的目的旨在至少在一定程度上解决上述的技术问题之一。
为此,本申请的第一个目的在于提出一种弹幕消息的处理方法,该方法丰富了终端展示的弹幕消息,提高了用户之间的互动性。
本申请的第二个目的在于提出另一种弹幕消息的处理方法。
本申请的第三个目的在于提出一种弹幕消息的处理装置。
本申请的第四个目的在于提出另一种弹幕消息的处理装置。
本申请的第五个目的在于提出一种弹幕消息的处理系统。
本申请的第六个目的在于提出一种服务器。
本申请的第七个目的在于提出另一种终端。
本申请的第八个目的在于提出一种非临时性计算机可读存储介质。
本申请的第九个目的在于提出另一种非临时性计算机可读存储介质。
本申请的第十个目的在于提出一种计算机程序产品。
本申请的第十一个目的在于提出另一种计算机程序产品。
为了实现上述目的,本申请第一方面实施例提出了一种弹幕消息的处理方法,获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量;计算所述多个第一弹幕消息的总量与第一阈值之间的比例值;根据所述比例值将所述多个第一弹幕消息进行分组,其中,将分组后的所述多个第一弹幕消息作为第二弹幕消息,并根据所述比例值将多个第二终端进行分组,;将所述多个第二弹幕消息发送给对应组内的第二终端,其中,所述第二终端将对应组内的第二弹幕消息进行展示。
本申请实施例的弹幕消息的处理方法,获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量,计算多个第一弹幕消息的总量与第一阈值之间的比例值,进而根据比例值将多个第一弹幕消息进行分组,以生成第二弹幕消息,并根据比例值将第二终端进行分组,之后将第二弹幕消息发送给对应组内的第二终端。由此,丰富了终端展示的弹幕消息,提高了用户之间的互动性。
另外,本申请实施例的弹幕消息的处理方法,还具有如下附加的技术特征:
可选地,在将所述第二弹幕消息发送给对应组内的第二终端的同时,所述方法还包括:
将已发送的第一弹幕消息反馈给发送所述第一弹幕消息的第二终端。
可选地,所述根据所述比例值将所述多个第一弹幕消息进行分组,包括:
获取所述多个第一弹幕消息的标识信息;
将所述多个第一弹幕消息的标识信息对所述比例值取模,得到与所述多个第一弹幕消息对应的模数;
根据所述与所述多个第一弹幕消息对应的模数,将具有相同模数的第一弹幕消息分为一组。
可选地,所述根据所述比例值将多个第二终端进行分组,包括:
获取所述多个第二终端的标识信息;
将所述多个第二终端的标识信息对所述比例值取模,得到与所述多个第二终端对应的模数;根据所述与所述多个第二终端对应的模数,将具有相同模数的第二终端分为一组。
可选地,所述第一阈值为所述第二终端单屏可显示弹幕消息的总量。
为了实现上述目的,本申请第二方面实施例提出了另一种弹幕消息的处理方法,包括 以下步骤:接收用户发送的第一弹幕消息;将所述第一弹幕消息发送至服务器,其中,所述服务器统计在单位时间内接收到的多个第一弹幕消息的总量,并计算所述多个第一弹幕消息的总量与第一阈值之间的比例值,并根据所述比例值分别将所述多个第一弹幕消息以及终端进行分组,并将分组后的所述多个第一弹幕消息发送给对应组内的终端,其中,所述终端用于指示待接收弹幕消息的设备;接收所述服务器发送的第二弹幕消息,所述第二弹幕消息为与分组后的终端对应组内的消息,并对接收到的弹幕消息进行展示。
本申请实施例的弹幕消息的处理方法,接收用户发送的第一弹幕消息,将第一弹幕消息发送至服务器,其中,服务器统计在单位时间内接收到的多个第一弹幕消息的总量,并计算多个第一弹幕消息的总量与第一阈值之间的比例值,并根据比例值分别将多个第一弹幕消息以及终端进行分组,并将分组后的多个第一弹幕消息发送给对应组内的终端,其中,终端用于指示待接收弹幕消息的设备,接收服务器发送的第二弹幕消息,并对接收到的第二弹幕消息进行展示。由此,可通过终端为用户展现更加丰富的弹幕消息,提高了用户之间的互动性。
另外,本申请实施例的另一种弹幕消息的处理方法,还具有如下附加的技术特征:
可选地,在对接收到的第二弹幕消息进行展示的同时,所述方法还包括:
对所述用户发送的第一弹幕消息进行展示。
可选地,所述对接收到的第二弹幕消息进行展示,包括:
检测所述接收到的第二弹幕消息的总量是否大于第一阈值;
当检测到所述接收到的第二弹幕消息的总量小于或等于所述第一阈值,则将所述接收到的第二弹幕消息进行展示;当检测到所述接收到的第二弹幕消息的总量大于所述第一阈值,则从所述接收到的第二弹幕消息中,获取数量为所述第一阈值的第二弹幕消息并进行展示,并将剩余的第二弹幕消息添加至消息队列中;
当检测到当前展示的第二弹幕消息的数量小于所述第一阈值时,从所述消息队列中获取第二弹幕消息并进行展示。
可选地,当所述消息队列可承受的消息量为第二阈值时,所述方法还包括:
当检测到所述消息队列中的第二弹幕消息的数量大于或等于所述第二阈值时,不再将新接收到的第二弹幕消息添加至所述消息队列中,直至所述消息队列中的弹幕消息的数量小于所述第二阈值为止时继续将新接收到的第二弹幕消息添加至所述消息队列中。
可选地,所述方法还包括:
根据所述消息队列中的第二弹幕消息的数量,调整弹幕速度;
根据调整后的弹幕速度对当前待展示的第二弹幕消息进行展示。
可选地,所述第一阈值为所述终端单屏可显示弹幕消息的总量;所述第二阈值为所述第一阈值的N倍,所述N为大于等于2的自然数。。
为了实现上述目的,本申请第三方面实施例提出了一种弹幕消息的处理装置,包括:获取模块,用于获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量;计算模块,用于计算所述多个第一弹幕消息的总量与第一阈值之间的比例值;分组模块,用于根据所述比例值将所述多个第一弹幕消息进行分组,并根据所述比例值将多个第二终端进行分组,其中,将分组后的所述多个第一弹幕消息作为第二弹幕消息,所述多个第二终端用于指示待接收所述第二弹幕消息的终端;第一发送模块,用于将所述第二弹幕消息发送给对应组内的第二终端。
本申请实施例的弹幕消息的处理装置,获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量,计算多个第一弹幕消息的总量与第一阈值之间的比例值,进而根据比例值将多个第一弹幕消息进行分组,以生成第二弹幕消息,并根据比例值将第二终端进行分组,之后将分组后的第二弹幕消息发送给对应组内的第二终端。由此,丰富了终端展示的弹幕消息,提高了用户之间的互动性。
另外,本申请实施例的弹幕消息的处理装置还具有如下附加的技术特征:
可选地,所述第一发送模块还用于在将分组后的所述第二弹幕消息发送给对应组内的第二终端的同时,将已发送的第一弹幕消息反馈给发送所述第一弹幕消息的第二终端。
可选地,所述分组模块包括:
获取单元,用于获取所述多个第一弹幕消息的标识信息;
取模单元,用于将所述多个第一弹幕消息的标识信息对所述比例值取模,得到与所述多个弹幕消息对应的模数;
分组单元,用于根据所述与所述多个弹幕消息对应的模数,将具有相同模数的弹幕消息分为一组。
可选地,所述获取单元还用于获取所述多个第二终端的标识信息;
所述取模单元还用于将所述多个第二终端的标识信息对所述比例值取模,得到与所述多个第二终端对应的模数;
所述分组单元还用于根据所述与所述多个第二终端对应的模数,将具有相同模数的第二终端分为一组。
可选地,所述第一阈值为所述第二终端单屏可显示弹幕消息的总量。
为了实现上述目的,本申请第四方面实施例提出了另一种弹幕消息的处理装置,包括:第一接收模块,用于接收用户发送的第一弹幕消息;第二发送模块,用于将所述第一弹幕消息发送至服务器,其中,所述服务器用于统计在单位时间内接收到的多个第一弹幕消息 的总量,并计算所述多个第一弹幕消息的总量与第一阈值之间的比例值,并根据所述比例值分别将所述多个弹幕消息以及终端进行分组,并将分组后的所述多个第一弹幕消息发送给对应组内的终端,其中,所述终端用于指示待接收弹幕消息的设备;第二接收模块,用于接收所述服务器发送的第二弹幕消息;展示模块,用于对接收到的第二弹幕消息进行展示。
本申请实施例的弹幕消息的处理装置,接收用户发送的第一弹幕消息,将第一弹幕消息发送至服务器,其中,服务器统计在单位时间内接收到的多个第一弹幕消息的总量,并计算多个第一弹幕消息的总量与第一阈值之间的比例值,并根据比例值分别将多个第一弹幕消息以及终端进行分组,并将分组后的多个第一弹幕消息发送给对应组内的终端,其中,终端用于指示待接收弹幕消息的设备,接收服务器发送的第二弹幕消息,并对接收到的第二弹幕消息进行展示。由此,可通过终端为用户展现更加丰富的弹幕消息,提高了用户之间的互动性。
另外,本申请实施例的弹幕消息的处理装置,还具有如下附加的技术特征:
可选地,所述展示模块还用于在对接收到的第二弹幕消息进行展示的同时,对所述用户发送的第一弹幕消息进行展示。
可选地,所述展示模块包括:
检测单元,用于检测所述接收到的第二弹幕消息的总量是否大于第一阈值;
展示单元,用于在所述接收到的第二弹幕消息的总量小于或等于所述第一阈值时,将所述接收到的第二弹幕消息进行展示;
分配单元,用于在所述接收到的第二弹幕消息的总量大于所述第一阈值时,从所述接收到的第二弹幕消息中,获取数量为所述第一阈值的第二弹幕消息并发送给所述展示单元,并将剩余的第二弹幕消息添加至消息队列中;
所述展示单元还用于在检测到当前展示的第二弹幕消息的数量小于所述第一阈值时,从所述消息队列中获取第二弹幕消息并进行展示。
可选地,当所述消息队列可承受的消息量为第二阈值时,所述分配单元还用于在检测到所述消息队列中的第二弹幕消息的数量大于或等于所述第二阈值时,不再将新接收到的第二弹幕消息添加至所述消息队列中,直至所述消息队列中的弹幕消息的数量小于所述第二阈值为止时继续将新接收到的第二弹幕消息添加至所述消息队列中。
可选地,还包括:
调整模块,用于根据所述消息队列中的第二弹幕消息的数量,调整弹幕速度;其中,所述展示模块还用于根据调整后的弹幕速度对当前待展示的第二弹幕消息进行展示。
可选地,所述第一阈值为所述终端单屏可显示弹幕消息的总量;所述第二阈值为所述第一阈值的N两倍,所述N为大于等于2的自然数。
为了实现上述目的,本申请第五方面实施例提出了一种弹幕消息的处理系统,包括本申请第三方面实施例所述的弹幕消息的处理装置,和本申请第四方面实施例所述的弹幕消息的处理装置。
本申请实施例的弹幕消息的处理系统,服务器获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量,计算多个第一弹幕消息的总量与第一阈值之间的比例值,进而根据比例值将多个第一弹幕消息进行分组,将分组后的多个第一弹幕消息作为第二弹幕消息,并根据比例值将终端进行分组,之后将第二弹幕消息发送给对应组内的终端,以在终端上显示弹幕消息。由此,丰富了终端展示的弹幕消息,提高了用户之间的互动性。
为了实现上述目的,本申请第六方面实施例提出了一种服务器,包括:处理器、存储器、通信接口和总线;所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;所述存储器存储可执行程序代码;所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行一种弹幕消息的处理方法;其中,所述弹幕消息的处理方法包括:
获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量;
计算所述多个第一弹幕消息的总量与第一阈值之间的比例值;
根据所述比例值将所述多个第一弹幕消息进行分组,其中,将分组后的所述多个第一弹幕消息作为第二弹幕消息;
根据所述比例值将多个第二终端进行分组,其中,所述多个第二终端用于指示待接收所述第二弹幕消息的终端;
将所述第二弹幕消息发送给对应组内的第二终端,其中,所述第二终端将在对应组内的第二弹幕消息进行展示。
本申请实施例的服务器,获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量,计算多个第一弹幕消息的总量与第一阈值之间的比例值,进而根据比例值将多个第一弹幕消息进行分组,以生成第二弹幕消息,并根据比例值将第二终端进行分组,之后将分组后的第二弹幕消息发送给对应组内的第二终端。由此,丰富了终端展示的弹幕消息,提高了用户之间的互动性。
为了实现上述目的,本申请第七个方面实施例提出了一种终端,包括:
处理器、存储器、通信接口和总线;
所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;
所述存储器存储可执行程序代码;
所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行一种弹幕消息的处理方法;其中,所述弹幕消息的处理方法包括:
接收用户发送的第一弹幕消息;
将所述第一弹幕消息发送至服务器,其中,所述服务器用于统计在单位时间内接收到的多个第一弹幕消息的总量,并计算所述多个第一弹幕消息的总量与第一阈值之间的比例值,并根据所述比例值分别将所述多个第一弹幕消息以及终端进行分组,并将分组后的所述多第一个弹幕消息发送给对应组内的终端,其中,所述终端用于指示待接收弹幕消息的设备;
接收所述服务器发送的第二弹幕消息,所述第二弹幕消息为与分组后的终端对应组内的消息;
对接收到的第二弹幕消息进行展示。
本申请实施例的弹幕消息的终端,接收用户发送的第一弹幕消息,将第一弹幕消息发送至服务器,其中,服务器统计在单位时间内接收到的多个第一弹幕消息的总量,并计算多个第一弹幕消息的总量与第一阈值之间的比例值,并根据比例值分别将多个第一弹幕消息以及终端进行分组,并将分组后的多个第一弹幕消息发送给对应组内的终端,其中,终端用于指示待接收弹幕消息的设备,接收服务器发送的第二弹幕消息,并对接收到的第二弹幕消息进行展示。由此,可通过终端为用户展现更加丰富的弹幕消息,提高了用户之间的互动性。
为了实现上述目的,本申请八方面实施例提出了一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器被执行时,使得移动终端能够执行一种弹幕消息的处理方法,所述方法包括:
获取在单位时间内多个第一终端发送的多个弹幕消息的总量;
计算所述多个弹幕消息的总量与第一阈值之间的比例值;
根据所述比例值将所述多个弹幕消息进行分组;
根据所述比例值将第二终端进行分组,其中,所述第二终端用于指示待接收弹幕消息的终端;
将分组后的所述多个弹幕消息发送给对应组内的第二终端。
为了实现上述目的,本申请九方面实施例提出了另一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器被执行时,使得移动终端能够执行一种弹幕消息的处理方法,所述方法包括:
接收用户发送的第一弹幕消息;
将所述第一弹幕消息发送至服务器,其中,所述服务器用于统计在单位时间内接收到的多个第一弹幕消息的总量,并计算所述多个第一弹幕消息的总量与第一阈值之间的比例值,并根据所述比例值分别将所述多个第一弹幕消息以及终端进行分组,并将分组后的所述多第一个弹幕消息发送给对应组内的终端,其中,所述终端用于指示待接收弹幕消息的设备;
接收所述服务器发送的第二弹幕消息,所述第二弹幕消息为与分组后的终端对应组内的消息;
对接收到的第二弹幕消息进行展示。
为了实现上述目的,本申请第十方面实施例提出了一种计算机程序产品,当所述计算机程序产品中的指令处理器执行时,执行一种弹幕消息的处理方法,所述方法包括:
获取在单位时间内多个第一终端发送的多个弹幕消息的总量;
计算所述多个弹幕消息的总量与第一阈值之间的比例值;
根据所述比例值将所述多个弹幕消息进行分组;
根据所述比例值将第二终端进行分组,其中,所述第二终端用于指示待接收弹幕消息的终端;
将分组后的所述多个弹幕消息发送给对应组内的第二终端。
为了实现上述目的,本申请第十一方面实施例提出了另一种计算机程序产品,当所述计算机程序产品中的指令处理器执行时,执行一种弹幕消息的处理方法,所述方法包括:
接收用户发送的第一弹幕消息;将所述第一弹幕消息发送至服务器,其中,所述服务器用于统计在单位时间内接收到的多个第一弹幕消息的总量,并计算所述多个第一弹幕消息的总量与第一阈值之间的比例值,并根据所述比例值分别将所述多个第一弹幕消息以及终端进行分组,并将分组后的所述多第一个弹幕消息发送给对应组内的终端,其中,所述终端用于指示待接收弹幕消息的设备;接收所述服务器发送的第二弹幕消息,所述第二弹幕消息为与分组后的终端对应组内的消息;
对接收到的第二弹幕消息进行展示。本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。
附图说明
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1是根据本申请一个实施例的弹幕消息的处理方法的流程图;
图2是根据本申请一个具体实施例的弹幕消息的处理方法的流程图;
图3是根据本申请另一个实施例的弹幕消息的处理方法的流程图;
图4是根据本申请又一个实施例的弹幕消息的处理方法的流程图;
图5是根据本申请再一个实施例的弹幕消息的处理方法的流程图
图6是根据本申请第一个实施例的服务器的结构示意图;
图7是根据本申请第二个实施例的弹幕消息的处理装置的结构示意图;
图8是根据本申请第三个实施例的弹幕消息的处理装置的结构示意图;
图9是根据本申请第四个实施例的弹幕消息的处理装置的结构示意图;
图10是根据本申请第五个实施例的弹幕消息的处理装置的结构示意图;
图11是根据本申请一个实施例弹幕消息的处理系统的结构示意图;
图12是根据本申请一个具体弹幕消息的处理系统实施例的中,服务器和终端的交互示意图;以及
图13是根据本申请的一个实施例的服务器(终端)的结构示意图。
具体实施方式
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。
下面参考附图描述本申请实施例的弹幕消息的处理方法、装置、系统及其设备。
目前,弹幕作为一种在观看视频时发送评论的功能,越来越受到用户的追捧,用户可以针对观看的视频发送弹幕消息,以使得其他用户可观看到自己对该视频的评论,同时用户也可以在当前播放界面上,观看到其他用户发送的弹幕消息,以实时了解其他用户对该视频的评论,甚至,不同的用户之间也可以通过发送弹幕进行聊天等。
而如果针对当前播放视频的弹幕消息较多,则可能导致刷屏太快,用户难以看清弹幕消息的具体内容,比如,针对某一知名主播的直播视频,如果观看用户发送的弹幕信息较多,则会导致直播界面刷屏太快,用户无法看清弹幕信息的具体内容,且主播也无法根据弹幕信息获得观看者对直播视频的评论,用户之间的互动性受到限制。
而通过将用户进行分组,并仅为用户提供同一分组的其他用户发送的弹幕信息的方式中,由于用户的分组是固定的,用户只能看到所属分组内的其他用户发送的弹幕信息,不能获知其他分组用户发送的弹幕信息,获知的弹幕信息单一有限,用户体验不高。
为了避免上述问题,本申请提出了一种弹幕消息的处理方法,基于用户个人为单位进行随机分组,并对当前所有的弹幕消息进行随机分组,从而根据用户所在分组,为用户提供相应分组的弹幕消息,由于基于大数据对弹幕消息均匀分组,因而丰富了终端展示的弹 幕消息。
需要说明的是,上述终端可以是手机、平板电脑、个人数字助理、穿戴式设备等具有各种操作系统以及显示装置的硬件设备,且该穿戴式设备可以是智能手环、智能手表、智能眼镜等。
为了便于说明,以下集中在服务器侧进行具体说明,说明如下:
图1是根据本申请一个实施例的弹幕消息的处理方法的流程图。
如图1所示,该弹幕消息的处理方法可包括:
S101,获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量。
可以理解,在当前弹幕消息数量没有超过终端显示能力的上限时,可以将所有的弹幕消息显示给用户,在当前弹幕消息数量超过终端显示能力上限时,则为了避免刷频,需要对弹幕消息进行相应处理操作。
因而,需要获取单位时间内多个第一终端发送的多个第一弹幕消息的总量,其中,上述第一终端为发送第一弹幕消息的终端。
另外,上述单位时间所代表的具体时长,与服务器接收弹幕消息的频率有关,比如,如果服务器每隔1秒接收一次弹幕消息,则单位时间对应的时长为小于等于1秒内的任意值。
S102,计算多个第一弹幕消息的总量与第一阈值之间的比例值。
S103,根据比例值将多个第一弹幕消息进行分组,其中,将分组后的多个第一弹幕消息作为第二弹幕消息。
S104,根据比例值将多个第二终端进行分组,其中,多个第二终端用于指示待接收第二弹幕消息的终端。
具体地,计算多个第一弹幕消息的总量与第一阈值之间的比例值,其中,第一阈值为第二终端单屏可显示弹幕消息的总量,该第一阈值的大小与弹幕消息的显示字体的大小、终端显示屏的大小等有关。
比如,当多个第一弹幕消息的总量为100,第一阈值为20时,计算得到的多个第一弹幕消息的总量与第一阈值之间的比例值为5:1。
其中,第二终端对应于接收弹幕消息的终端,可以包含于发送弹幕消息的第一终端内,也可以仅是显示弹幕消息的终端。
应当理解的是,如果多个第一弹幕消息的总量与第一阈值之间的比例值大于1,则表明第一弹幕消息的总量超过第二终端显示弹幕消息能力的上限,如果多个第一弹幕消息的总量与第一阈值之间的比例值小于等于1,则表明第一弹幕消息的总量没有超过第二终端显示弹幕消息能力的上限。
比如,多个第一弹幕消息的总量为150,第一阈值为50,则计算多个第一弹幕消息的总量与第一阈值之间的比例值为3:1,第一弹幕消息的总量超过第二终端显示弹幕消息能力的上限。
进一步地,在计算出多个第一弹幕消息的总量与第一阈值之间的比例值后,根据该比例值对多个第一弹幕消息和第二终端进行随机分组,并将分组后的多个第一弹幕消息作为第二弹幕消息,从而,以单个第二终端为单位进行随机分组,且以单个弹幕消息为单位进行随机分组,即第二终端和多个第一弹幕消息分别进行分组。
需要说明的是的,上述多个第一弹幕消息的总量与第一阈值之间的比例值,为第二终端和多个第一弹幕消息分组的参数,根据应用场景的不同,可根据该比例值以不同的运算方式,对第二终端和多个第一弹幕消息进行分组操作,举例说明如下:
第一种示例,可根据第二终端和多个第一弹幕消息的相关参数对比例值取模进行分组。其中,第二终端和多个第一弹幕信息的参数通过数字表示,可用以区分不同的第二终端以及不同的第一弹幕消息。
比如,当第二终端和多个第一弹幕消息对应的参数可为标识信息,比如第二终端的标识信息可包括第二终端的ID,多个第一弹幕消息的标识信息可包括弹幕消息的ID等。
又比如,可预先针对地理位置设置对应的标识数字,比如A区域对应的标识数字为25,B区域对应的标识数字为36等,并针对第一弹幕消息的发送时间段设置对应的标识数字等,比如7:10分到7:11分对应的标识数字为33,在7:45到7:46对应的标识数字为34等。
进而,识别第二终端所在的地理位置,并根据该第二终端所在的地理位置确定出第二终端所在地理位置对应的数字标识,同样的,识别第一弹幕消息发送的时间,根据第一弹幕消息的发送时间确定第一弹幕消息对应的数字标识等。
下面以第二终端和多个第一弹幕消息对应的参数,为标识信息为例进行说明,即可获知多个第一弹幕消息的标识信息,将多个第一弹幕消息的标识信息对比例值取模,得到与多个第一弹幕消息对应的模数。
进而根据与多个第一弹幕消息对应的模数,将具有相同模数的第一弹幕消息分为一组,并将该分组后的第一弹幕消息作为第二弹幕消息。
比如,获知第一弹幕消息x的ID为66,如果多个第一弹幕消息的总量与第一阈值的比值为5,则得到与第一弹幕消息x对应的模数为1,若获知第一弹幕消息y的ID为19,则得到与第一弹幕消息y对应的模数为4,若获知第一弹幕消息z的ID为16,则得到与第一弹幕消息z对应的模数为1,从而将第一弹幕消息x和z分为一组,y为一组。
同理,在本示例中,获取第二终端的标识信息,将多个第二终端的标识信息对比例值取模,得到与多个第二终端对应的模数,并根据与多个第二终端对应的模数,将具有相同 模数的第二终端分为一组。
比如,获知第二终端A的ID为66,如果多个第二终端的总量与第一阈值的比值为5,则得到与第二终端A对应的模数为1,若获知第二终端B的ID为19,则得到与第二终端B对应的模数为4,若获知第二终端C的ID为16,则得到与第二终端C对应的模数为1,从而将第二终端A和C分为一组,B为一组。
第二种示例,可以根据第二终端和多个第一弹幕消息的相关参数对比例值相乘进行分组。其中,第二终端和多个第一弹幕消息的参数通过数字表示,可用以区分不同的第二终端以及不同的第一弹幕消息。比如可用第二终端以及第一弹幕消息所对应的ID来标识等。
在本示例中,可将第二终端的ID与比例值相乘,将相乘值尾数相同的第二终端分为一组。
即如果获知第二终端A的ID为66,如果多个第二终端的总量与第一阈值的比值为5,则得到与第二终端A对应的相乘值尾数为0,若获知第二终端B的ID为19,则得到与第二终端B对应的相乘值尾数为5,若获知第二终端C的ID为16,则得到与第二终端C对应的相乘值尾数为0,从而将第二终端A和C分为一组,B为一组。
同理,可将第一弹幕消息的ID与比例值相乘,将相乘值尾数相同的第一弹幕消息分为一组。
比如,获知第一弹幕消息x的ID为66,如果多个第一弹幕消息的总量与第一阈值的比值为5,则得到与第一弹幕消息x对应的相乘值尾数为0,若获知第一弹幕消息y的ID为19,则得到与第一弹幕消息y对应的相乘值尾数为5,若获知第一弹幕消息z的ID为16,则得到与第一弹幕消息z对应的相乘值尾数为0,从而将第一弹幕消息x和z分为一组,y为一组。
需要说明的是,在对第二终端和多个第一弹幕消息分组时,多个第一弹幕消息根据比例值分组的依据的参数,与第二终端根据比例值分组依据的参数可不同,也可相同,在此不限制。
S105,将第二弹幕消息发送给对应组内的第二终端,其中,第二终端将在对应组内的弹幕消息进行展示。
具体地,在对第二终端和多个第一弹幕消息随机分组后,分成多组第二弹幕消息,将第二弹幕消息发送给对应组内的第二终端,从而根据单个弹幕消息对第一弹幕消息进行分组,第一弹幕消息得到相对均匀的分布,使得第二终端可以看到更加丰富的弹幕消息。
比如,在直播应用场景下,处于第二分组内的弹幕消息可能即包括甲聊天室的弹幕消息,又包括乙、丙等其他聊天室的弹幕消息,从而处于第二分组内的第二终端基本可接收到每个聊天室的弹幕消息,了解每一类用户对当前直播视频的评论等。
为了更加清楚的说明本申请实施例的弹幕消息的处理方法,下面继续以直播场景为例,举例说明在实际应用中,弹幕消息的处理过程:
在本申请的一个实施例中,当直播间中发出的第一弹幕消息量超出终端拟定的单屏消息量的而第一阈值时,消息进行分流发送。
服务器根据第一弹幕消息总量与第一阈值的比例值,对第一弹幕消息和第二终端进行控制。假如当前直播间的单位时间内接收到的第一弹幕消息总量为1000条,终端单屏能显示的消息量的第一阈值为50条,则计算得到的比例值为20:1。
进而,根据第二终端的ID和比例值20取模,假定第二终端A1的ID为25,第二终端B1的ID为45,第二终端C1的ID为77,那么第二终端A1根据取模运算25%20=5,被分在第五分组,第二终端B1通过取模运算将分在第五分组,第二终端C1将分在17分组。
此时有第一弹幕消息x1的ID为65,第一弹幕消息y1的ID为97,则第一弹幕消息x1通过取模运算65%20=5,第一弹幕消息x1被分到第五分组,将会被第五组的第二终端(第二终端A1,第二终端B1)接收,弹幕消息y1通过取模运算97%20=17,被分在第17分组,所以能被第十七组第二和终端接收(第二终端C)。
在本申请的另一个实施例中,假定此时第一弹幕消息总量为100条,终端单屏能显示的消息量的第一阈值为50条,则计算多个第一弹幕消息的总量与第一阈值之间的比例值为2:1,ID为25的第二终端A2经过取模运算25%2=1,被分在第一组,ID分别为15和35的第二终端B2和C2经过取模运算,都被分在第一组。
在本实施例中,ID为65的第一弹幕消息x2取模运算65%2=1后,被分在第一组,ID为97弹幕消息y2取模运算97%2=1后,也被分在第一组,因而第二终端A2,B2,C2都可以看到弹幕消息x2,y2。
综上所述,本申请实施例的弹幕消息的处理方法,获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量,计算多个第一弹幕消息的总量与第一阈值之间的比例值,进而根据比例值将多个第一弹幕消息进行分组,其中,将分组后的多个第一弹幕消息作为第二弹幕消息,并根据比例值将第二终端进行分组,之后将第二弹幕消息发送给对应组内的第二终端。由此,丰富了终端展示的弹幕消息,提高了用户之间的互动性。
基于以上实施例,应当理解的是,在实际应用中,为了增加用户的参与感,应当始终将其发送的弹幕消息发送给自身。
具体而言,图2是根据本申请一个具体实施例的弹幕消息的处理方法的流程图,如图2所示,在上述步骤S105实施的同时,该方法还包括:
S201,判断第二弹幕消息中是否包含第二终端发送的第一弹幕消息。
S202,当第二弹幕消息中未包含第二终端发送的弹幕消息时,将第二弹幕消息发送给 对应组内的第二终端的同时,将第二终端发送的第一弹幕消息发送至第二终端。
S203,当第二弹幕消息中包含第二终端发送的第一弹幕消息时,直接将第二弹幕消息发送给对应组内的第二终端。
具体地,在将第二弹幕消息发送给对应组内的第二终端的同时,需要将第二终端发送的第一弹幕消息发送给第二终端本身,以增强用户的参与感。
具体而言,判断第二弹幕消息中是否包含第二终端发送的第一弹幕消息,从而,当第二弹幕消息中未包含第二终端发送的第一弹幕消息时,将第二弹幕消息发送给对应组内的第二终端的同时,将第二终端发送的第一弹幕消息发送至第二终端。
其中,当第二弹幕消息中未包含第二终端发送的第一弹幕消息时,可采用多种方式获取第二终端本身发送的第一弹幕消息,比如可通过将第二终端的终端标识与第一弹幕消息的标识进行匹配,以获取匹配成功的第二终端发送的第一弹幕消息。又比如,可直接从第二终端本地存储的第一弹幕消息中,获取第二终端发送的第一弹幕消息等。
另外,在本实施例中,当第二弹幕消息中包含第二终端发送的第一弹幕消息时,直接将第二弹幕消息发送给对应组内的第二终端。
举例而言,假定此时第一弹幕消息总量为100条,终端单屏能显示的消息量的第一阈值为50条,则计算多个第一弹幕消息的总量与第一阈值之间的比例值为2:1,ID为25的第二终端A2经过取模运算25%2=1,被分在第一组,ID分别为14的第二终端B2经过取模运算,被分在第零组。
在本实施例中,第二终端A2发送的第一弹幕消息x2,ID为65且取模运算65%2=1后,被分在第一组,ID分别为14的第二终端B2发送的第一弹幕消息y2,ID为97且取模运算97%2=1后,也被分在第一组,其他第二终端发送的第一弹幕消息,包括ID为97且取模运算97%2=1后,被分在第零组的弹幕消息z2等。
从而,第二终端A2接受到的第一分组内的第二弹幕消息,包括第一弹幕消息x2、y2等,其中,由于第二弹幕消息中包含第二终端A2发送的第一弹幕消息x2,因此直接将第一分组的第二弹幕消息发送至第二终端A2。
第二终端B2接受到的第零分组内的第二弹幕消息,包括第一弹幕消息z2等,其中,由于第二弹幕消息中不包含第二终端B2发送的第一弹幕消息y2,因此将第零分组的第二弹幕消息发送至第二终端B2的同时,将第一弹幕消息y2也发送至第二终端B2。
应当理解的是,根据具体应用需求的不同,判断第二弹幕消息中是否包含第二终端发送的第一弹幕消息的方式不同,举例说明如下:
第一种示例,获取第二弹幕消息所属终端的多个终端标识,将第二终端的终端标识和上述多个终端标识进行匹配,如果匹配成功,则获知第二弹幕消息中包含第二终端发送的 弹幕消息,从而直接将分组后的第二弹幕消息发送给对应组内的第二终端。
在本示例中,如果第二终端的终端标识和上述多个终端标识匹配失败,则获知第二弹幕消息中未包含第二终端发送的弹幕消息,因而将第二弹幕消息发送给对应组内的第二终端的同时,将第二终端的弹幕消息发送给第二终端。
第二种示例,将第二终端存储的第一弹幕消息与第二弹幕消息进行匹配,比如进行IP地址、关键字、字体、发送时间等匹配,如果匹配成功,则获知第二弹幕消息中包含第二终端发送的第一弹幕消息,从而直接将第二弹幕消息发送给对应组内的第二终端。
在本示例中,如果匹配失败,则获知第二弹幕消息中未包含第二终端发送的第一弹幕消息,因而将第二弹幕消息发送给对应组内的第二终端的同时,将第二终端的第一弹幕消息发送给第二终端。
综上所述,本申请实施例的弹幕消息的处理方法,将第二弹幕消息发送给对应组内的第二终端的同时,将第二终端发送的第一弹幕消息发送至第二终端,以提升用户的参与感,进一步提升用户体验。
下面集中在终端侧描述本申请实施例的弹幕消息的处理方法,图3是根据本申请另一个实施例的弹幕消息的处理方法的流程图,如图3所示,该方法包括:
S301,接收用户发送的第一弹幕消息。
具体的,在一些应用场景下,为了提高用户的参与感,接收用户发送的第一弹幕消息,以了解其他用户的评论。
S302,将第一弹幕消息发送至服务器,其中,服务器统计在单位时间内接收到的多个第一弹幕消息的总量,并计算多个第一弹幕消息的总量与第一阈值之间的比例值,并根据比例值分别将多个第一弹幕消息以及终端进行分组,并将分组后的多个第一弹幕消息发送给对应组内的终端,其中,终端用于指示待接收第一弹幕消息的设备。
具体地,在接收到用户发送的第一弹幕消息后,将第一弹幕消息发送至服务器,以供服务器统计在单位时间内接收到的多个第一弹幕消息的总量,并计算多个第一弹幕消息的总量与第一阈值之间的比例值。
进而,根据比例值分别将多个第一弹幕消息以及终端进行分组,并将分组后的多个第一弹幕消息发送给对应组内的终端,其中,终端用于指示待接收弹幕消息的设备。
需要说明的是,服务器对弹幕消息和终端的分组的处理过程,可参照上述结合图1描述的弹幕消息的处理方法的描述,在此不再赘述。
S303,接收服务器发送的第二弹幕消息,其中,第二弹幕消息为与分组后的终端对应组内的消息。
S304,对接收到的第二弹幕消息进行展示。
具体地,接收服务器根据分组后的终端发送的对应组内的第二弹幕消息,并对接收到的第二弹幕消息进行展示,由于基于弹幕消息的大数据进行分组,因而弹幕消息得到了相对均匀的分组,从而用户可在终端上看到丰富的弹幕消息,提高了用户之间的互动性。
综上所述,本申请实施例的弹幕消息的处理方法,接收用户发送的第一弹幕消息,将第一弹幕消息发送至服务器,其中,服务器统计在单位时间内接收到的多个第一弹幕消息的总量,并计算多个第一弹幕消息的总量与第一阈值之间的比例值,并根据比例值分别将多个第一弹幕消息以及终端进行分组,并将分组后的多个第一弹幕消息发送给对应组内的终端,其中,终端用于指示待接收弹幕消息的设备,接收服务器发送的第二弹幕消息,并对接收到的第二弹幕消息进行展示。由此,可通过终端为用户展现更加丰富的弹幕消息,提高了用户之间的互动性。
基于以上实施例,应当理解的是,在实际应用中,在直播视频的主播为著名主播等场景下,可能导致弹幕消息的增多,终端所在分组对应的弹幕消息数量激增,超过终端展示能力的上限,可能仍会导致刷屏过快的现象等。
因而,在具体实施过程中,需要根据接收到的弹幕消息的具体数量,进行相应的处理,具体如下:
图4是根据本申请又一个实施例的弹幕消息的处理方法的流程图,如图4所示,上述步骤S303可包括:
S401,检测接收到的第二弹幕消息的总量是否大于第一阈值。
具体地,第一阈值为终端单屏可显示弹幕消息的总量,该第一阈值的大小与弹幕消息的显示字体的大小、终端显示屏的大小等有关。
S402,当检测到接收到的第二弹幕消息的总量小于或等于第一阈值,则将接收到的第二弹幕消息进行展示。
具体地,如果接收到第二弹幕消息的总量小于第一阈值,则表明终端可以展示全部的弹幕消息,因而将接收到的弹幕消息进行展示。
S403,当检测到接收到的第二弹幕消息的总量大于第一阈值,则从接收到的第二弹幕消息中,获取数量为第一阈值的第二弹幕消息并进行展示,并将剩余的第二弹幕消息添加至消息队列中。
具体地,如果接收到的第二弹幕消息的总量大于第一阈值,则为了避免出现弹幕消息刷屏现象,从接收到的第二弹幕消息中,获取数量为第一阈值的第二弹幕消息进行展示,并将剩余的第二弹幕消息加入至消息队列中。其中,消息队列中保存有待终端显示的第二弹幕消息。
举例而言,假设终端A3显示的弹幕消息的第一阈值为每屏50条,当消息队列中的弹 幕消息量小于50条时,将接收到的第二弹幕消息进行展示。
当消息队列中的第二弹幕消息量大于50条时,从第二弹幕消息中获取50条弹幕消息进行展示,并将剩余的第二弹幕消息添加至消息队列中。
应当理解的是,在实际应用中,消息队列中可保存的第二弹幕消息数量是有限的,当消息队列中保存的第二弹幕消息数量的上限是第二阈值时,其中,第二阈值为第一阈值的N(N为大于等于2的自然数)倍,即对应于终端两屏或多屏可显示第二弹幕消息的总量,则如果检测到消息队列中的第二弹幕消息大于第二阈值时,为了避免内存溢出,将不再将新接收到的第二弹幕消息添加至消息队列中,直至消息队列中的第二弹幕消息的数量小于第二阈值为止,才继续将接收到的第二弹幕消息添加至消息队列中。
S404,当检测到当前展示的第二弹幕消息的数量小于第一阈值时,从消息队列中获取第二弹幕消息并进行展示。
具体地,当检测到当前展示的第二弹幕消息的数量小于第一阈值时,为了充分利用终端的显示屏,便于用户一次性显示更多第二弹幕消息,从消息队列中获取第二弹幕消息并进行展示。
举例而言,当检测到当前展示的第二弹幕消息的数量为30,而第一阈值为50时,为了充分利用终端的显示屏,而消息队里中保存有30条第二弹幕消息,则从消息队列中获取20条第二弹幕消息并进行展示。
基于以上描述,应当理解是,在实际应用中,为了进一步增强弹幕消息的显示效果,还可通过控制弹幕消息显示字体的大小、显示速度等操作,实现对弹幕消息展现数量的调整。下面以通过控制弹幕消息的显示速度为例,进行举例说明:
作为一种示例,可根据消息队列中的第二弹幕消息的数量,综合考量弹幕消息的完全显示,与用户清楚的获知弹幕消息的内容,可调整弹幕速度,以根据调整后的弹幕速度对当前待展示的第二弹幕消息进行展示。
需要说明的是,本申请实施例中对弹幕速度的调整范围较小,比如可以为0.9X-1.1X,从而保证了弹幕消息数量显示稳定,避免出现刷屏、飘过速度较慢等情况的发生。
具体而言,如果消息队列中的第二弹幕消息数量较多,则为了向用户展示完全消息队列中的第二弹幕消息,可适当增大弹幕速度,并根据调整后的弹幕速度对当前待展示的第二弹幕消息进行展示。
如果消息队列中的第二弹幕消息数量较少,则为了使得用户能够更加清楚的看清第二弹幕消息的内容,可适当降低弹幕速度,并根据调整后的弹幕速度对当前待展示的第二弹幕消息进行展示。
在本示例中,假设终端A能显示的第二弹幕消息量的第一阈值为每屏50条,此时为A 准备消息队列里,存储的两屏的第二弹幕消息的第二阈值为100条,当消息队列中的消息量小于50条时,为了更加清楚的向用户展示第二弹幕消息,考虑放慢弹幕速度,比如将弹幕速度从1.0X放慢至0.9X。
当第二弹幕消息量超过第二阈值100条时,后续的第二弹幕消息将不被加入到消息队列中,此时,为了向用户展示完全第二弹幕消息,考虑将弹幕速度从1.0X加快至1.1X。
综上所述,本申请实施例的弹幕消息的处理方法,检测接收到的弹幕消息的总量是否大于第一阈值,如果接收到的第二弹幕消息的总量小于或等于第一阈值,则将接收到的第二弹幕消息进行展示,如果接收到的第二弹幕消息的总量大于第一阈值,则从接收到的第二弹幕消息中,获取数量为第一阈值的第二弹幕消息并进行展示,并将剩余的第二弹幕消息添加至消息队列中,当检测到当前展示的第二弹幕消息的数量小于第一阈值时,从消息队列中获取第二弹幕消息并进行展示,由此,根据接收到的第二弹幕消息的具体数量,对第二弹幕消息进行相应的处理操作,提高了本申请弹幕消息处理方法的实用性和灵活性。
基于以上实施例,应当理解的是,为了增加用户的参与感,还需要将对用户发送的第一弹幕消息展示给自身。
具体而言,图5是根据本申请再一个实施例的弹幕消息的处理方法的流程图,如图5所示,上述步骤S304实施的同时,该方法还包括:
S501,判断第二弹幕消息中是否包含用户发送的第一弹幕消息。
S502,当第二弹幕消息中未含有用户发送的第一弹幕消息时,对接收到的第二弹幕消息以及用户发送的第一弹幕消息进行展示。
S503,当第二弹幕消息中包含用户发送的第一弹幕消息时,对第二弹幕消息以及用户发送的第一弹幕消息进行去重,并对去重后的第二弹幕消息以及用户发送的第一弹幕消息进行展示。
具体地,在将第二消息展示给用户的同时,还需要对用户发送的第一弹幕消息进行展示。
具体而言,判断第二弹幕消息中是否包含用户发送的第一弹幕消息,当第二弹幕消息中包含用户发送的第一弹幕消息时,对第二弹幕消息以及用户发送的第一弹幕消息进行去重,即将第二弹幕消息中的第一弹幕消息过滤,并对去重后的第二弹幕消息以及用户发送的第一弹幕消息进行展示。
在本实施例中,当第二弹幕消息中未含有用户发送的第一弹幕消息时,直接对接收到的第二弹幕消息以及用户发送的第一弹幕消息进行展示。
需要说明的是,前述参照图2描述的弹幕消息的处理方法,也适用于本申请实施例的弹幕消息的处理方法,本申请弹幕消息的处理方法实施例中未披露的细节,在此不再赘述。
综上所述,本申请实施例的弹幕消息的处理方法,在对接收到的第二弹幕消息进行展示的同时,对用户发送的第一弹幕消息进行展示。由此,提高了用户的参与感,提升了用户体验。
为了实现上述实施例,本申请还提出了一种弹幕消息的处理装置,图6是根据本申请第一个实施例的弹幕消息的处理装置的结构示意图,如图6所示,该服务器包括获取模块110、计算模块120、分组模块130和第一发送模块140。
其中,获取模块110,用于获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量。
计算模块120,用于计算多个第一弹幕消息的总量与第一阈值之间的比例值。
分组模块130,用于根据比例值将多个第一弹幕消息进行分组,并根据比例值将多个第二终端进行分组,其中,将分组后的多个第一弹幕消息作为第二弹幕消息,多个第二终端用于指示待接收第二弹幕消息的终端。
在本申请的一个实施例中,图7是根据本申请第二个实施例的弹幕消息的处理装置的结构示意图,如图7所示,该分组模块130包括获取单元131、取模单元132和分组单元133。
其中,获取单元131,用于获取多个第一弹幕消息的标识信息。
取模单元132,用于将多个第一弹幕消息的标识信息对比例值取模,得到与多个弹幕消息对应的模数。
分组单元133,用于根据与多个第一弹幕消息对应的模数,将具有相同模数的弹幕消息分为一组。
其中,第一阈值为第二终端单屏可显示弹幕消息的总量。
在本申请的一个实施例中,获取单元131还用于获取多个第二终端的标识信息。
取模单元132还用于将多个第二终端的标识信息对比例值取模,得到与多个第二终端对应的模数。
分组单元133还用于根据与多个第二终端对应的模数,将具有相同模数的第二终端分为一组。
第一发送模块140,用于将第二弹幕消息发送给对应组内的第二终端,其中,第二终端将对应组内的第二弹幕消息进行展示。
需要说明的是,前述参照图1描述的弹幕消息的处理方法,也适用与本申请实施例的弹幕消息的处理装置,本申请弹幕消息的处理装置实施例中未披露的细节,在此不再赘述。
综上所述,本申请实施例的弹幕消息的处理装置,获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量,计算多个第一弹幕消息的总量与第一阈值之间的比例值, 进而根据比例值将多个第一弹幕消息进行分组,将分组后的多个第一弹幕消息作为第二弹幕消息,并根据比例值将第二终端进行分组,之后将第二弹幕消息发送给对应组内的第二终端。由此,丰富了终端展示的弹幕消息,提高了用户之间的互动性。
在本申请的一个实施例中,第一发送模块140还用于在将第二弹幕消息发送给对应组内的第二终端的同时,将第二终端发送的第一弹幕消息发送至第二终端。
在具体执行过程中,可通过判断第二弹幕消息中是否包含第二终端发送的第一弹幕消息,
进一步地,第一发送模块140在第二弹幕消息中未包含第二终端发送的第一弹幕消息时,将第二弹幕消息发送给对应组内的第二终端的同时,将第二终端发送的第一弹幕消息发送至第二终端。
在本实施例中,第一发送模块140在第二弹幕消息中包含第二终端发送的弹幕消息时,直接将第二弹幕消息发送给对应组内的第二终端。
需要说明的是,前述参照图2描述的弹幕消息的处理方法,也适用与本申请实施例的弹幕消息的装置,本申请弹幕消息的处理装置实施例中未披露的细节,在此不再赘述。
综上所述,本申请实施例的弹幕消息的处理装置,将第二弹幕消息发送给对应组内的第二终端的同时,将第二终端发送的第一弹幕消息发送至第二终端,以提升用户的参与感,进一步提升用户体验。
为了实现上述实施例,本申请还提出了另一种弹幕消息的处理装置,图8是根据本申请第三个实施例的弹幕消息的处理装置的结构示意图,如图8所示,该弹幕消息的处理装置包括:第一接收模块210、第二发送模块220、第二接收模块230和展示模块240。
其中,第一接收模块210,用于接收用户发送的第一弹幕消息。
第二发送模块220,用于将第一弹幕消息发送至服务器,其中,服务器用于统计在单位时间内接收到的多个第一弹幕消息的总量,并计算多个第一弹幕消息的总量与第一阈值之间的比例值,并根据比例值分别将多个第一弹幕消息以及终端进行分组,并将分组后的多个第一弹幕消息发送给对应组内的终端,其中,终端用于指示待接收弹幕消息的设备。
其中,第一阈值为终端单屏可显示弹幕消息的总量。
第二接收模块230,用于接收服务器发送的第二弹幕消息。
展示模块240,用于对接收到的第二弹幕消息进行展示。
需要说明的是,前述参照图3描述的弹幕消息的处理方法,也适用于本申请实施例的弹幕消息的处理装置,本申请弹幕消息的处理装置实施例中未披露的细节,在此不再赘述。
综上所述,本申请实施例的弹幕消息的处理装置,接收用户发送的第一弹幕消息,将第一弹幕消息发送至服务器,其中,服务器用于统计在单位时间内接收到的多个第一弹幕 消息的总量,并计算多个第一弹幕消息的总量与第一阈值之间的比例值,并根据比例值分别将多个第一弹幕消息以及终端进行分组,并将分组后的多个第一弹幕消息发送给对应组内的终端,其中,终端用于指示待接收弹幕消息的设备,接收服务器根据分组后的终端发送的对应组内的第二弹幕消息,并对接收到的第二弹幕消息进行展示。由此,可通过终端为用户展现更加丰富的弹幕消息,提高了用户之间的互动性。
图9是根据本申请第四个实施例的弹幕消息的处理装置的结构示意图,如图9所示,在如图8所示的基础上,展示模块240包括检测单元241、展示单元242和分配单元243。
其中,检测单元241,用于检测接收到的第二弹幕消息的总量是否大于第一阈值。
展示单元242,用于在接收到的第二弹幕消息的总量小于或等于第一阈值时,将接收到的第二弹幕消息进行展示。
分配单元243,用于在接收到的第二弹幕消息的总量大于第一阈值时,从接收到的第二弹幕消息中,获取数量为第一阈值的第二弹幕消息并发送给展示单元,并将剩余的第二弹幕消息添加至消息队列中。
在本申请的一个实施例中,展示单元242还用于在检测到当前展示的第二弹幕消息的数量小于第一阈值时,从消息队列中获取第二弹幕消息并进行展示。
在本申请的一个实施例中,当消息队列可承受的消息量为第二阈值时,分配单元243还用于在检测到消息队列中的第二弹幕消息的数量大于或等于第二阈值时,不再将新接收到的第二弹幕消息添加至消息队列中,直至消息队列中的弹幕消息的数量小于第二阈值为止时继续将接收到的第二弹幕消息添加至消息队列中。
其中,第二阈值为第一阈值的N(N为大于等于2的自然数)倍,第二阈值为终端双屏可显示弹幕消息的总量。
图10是根据本申请第五个实施例的弹幕消息的处理装置的结构示意图,如图10所示,在如图8所示的基础上,弹幕消息的处理装置还包括调整模块250。
其中,调整模块250,用于根据消息队列中的第二弹幕消息的数量,调整弹幕速度。
在本申请的一个实施例中,展示模块240还用于根据调整后的弹幕速度对当前待展示的第二弹幕消息进行展示。
需要说明的是,前述描述的弹幕消息的处理方法,也适用于本申请实施例的弹幕消息的处理装置,本申请弹幕消息的处理装置实施例中未披露的细节,在此不再赘述。
综上所述,本申请实施例的弹幕消息的处理装置,检测接收到的第二弹幕消息的总量是否大于第一阈值,如果接收到的第二弹幕消息的总量小于或等于第一阈值,则将接收到的第二弹幕消息进行展示,如果接收到的第二弹幕消息的总量大于第一阈值,则从接收到的第二弹幕消息中,获取数量为第一阈值的第二弹幕消息并进行展示,并将剩余的第二弹 幕消息添加至消息队列中,当检测到当前展示的第二弹幕消息的数量小于第一阈值时,从消息队列中获取第二弹幕消息并进行展示,由此,根据接收到的第二弹幕消息的具体数量,对第二弹幕消息进行相应的处理操作,提高了本申请弹幕消息处理方法的实用性和灵活性。
在本申请的一个实施例中,展示模块240还用于在对接收到的第二弹幕消息进行展示的同时,对用户发送的第一弹幕消息进行展示。
在具体执行过程中,判断第二弹幕消息中是否包含用户发送的第一弹幕消息,
进一步地,展示模块240在第二弹幕消息中未含有用户发送的第一弹幕消息时,对接收到的第二弹幕消息以及用户发送的第一弹幕消息进行展示。
在本实施例中,展示模块240在第二弹幕消息中包含用户发送的第一弹幕消息时,对第二弹幕消息以及用户发送的第一弹幕消息进行去重,并对去重后的第二弹幕消息以及用户发送的第一弹幕消息进行展示。
需要说明的是,前述描述的弹幕消息的处理方法,也适用于本申请实施例的弹幕消息的处理装置,本申请弹幕消息的处理装置实施例中未披露的细节,在此不再赘述。
综上所述,本申请实施例的弹幕消息的处理装置,在对接收到的第二弹幕消息进行展示的同时,对用户发送的第一弹幕消息进行展示。由此,提高了用户的参与感,提升了用户体验。
为了实现上述实施例,本申请还提出了一种弹幕消息的处理系统,图11是根据本申请一个实施例弹幕消息的处理系统的结构示意图,如图11所示,该弹幕消息的处理系统可包括弹幕消息的处理装置100和弹幕消息的处理装置200。
其中,弹幕消息的处理装置100,可以为服务器或者为位于服务器中,用于获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量,计算多个第一弹幕消息的总量与第一阈值之间的比例值,根据比例值将多个第一弹幕消息进行分组,其中,将分组后的多个第一弹幕消息作为第二弹幕消息,并根据比例值将多个第二终端进行分组,其中,多个第二终端用于指示待接收第二弹幕消息的终端,进而将第二弹幕消息发送给对应组内的第二终端,其中,第二终端将在对应组内的第二弹幕消息进行展示。
弹幕消息的处理装置200,可包括弹幕消息发送端和弹幕消息接收端,用于将接收用户发送的第一弹幕消息,将第一弹幕消息发送至服务器,其中,服务器用于统计在单位时间内接收到的多个第一弹幕消息的总量,并计算多个第一弹幕消息的总量与第一阈值之间的比例值,并根据比例值分别将多个第一弹幕消息以及终端进行分组,并将分组后的多第一个弹幕消息发送给对应组内的终端,其中,终端用于指示待接收弹幕消息的设备,进而接收服务器发送的第二弹幕消息,第二弹幕消息为与分组后的终端对应组内的消息;对接收到的第二弹幕消息进行展示。
需要说明的是,本申请实施例的弹幕消息的处理100包括上述参照图6至图7描述的弹幕消息的处理装置实施例对应,本申请实施例的弹幕消息的处理200,与上述参照图8至图10描述的弹幕消息的处理装置对应,其实现原理类似,在此不再赘述。
为了更加清楚的说明本申请实施例的弹幕消息的处理系统中,弹幕消息的处理装置100与弹幕消息的处理装置200的交互过程,下面结合图12,以弹幕消息的处理装置100为服务器B,弹幕消息的处理装置200包括弹幕消息发送终端A和弹幕消息接收终端C,对弹幕消息的处理装置100与弹幕消息的处理装置200的交互过程进行举例说明,说明如下:
如图12所示,在实际操作过程中,终端A接收用户发送的第一弹幕消息(S1),向服务器B发送终端A发送的多个第一弹幕消息(S2),服务器B获取单位时间内终端A发送的多个第一弹幕消息(S3),根据单位时间内接收到的终端A发送的多个第一弹幕消息,计算多个第一弹幕消息与第一阈值之间的比例值,以根据比例值将多个第一弹幕消息进行分组,其中,将分组后的多个第一弹幕消息作为第二弹幕消息(S4)。
进而,根据比例值将终端C进行分组(S5),在对弹幕消息和终端分组后,将第二弹幕消息发送给对应组内的终端C(S6)。
对应组内的终端C接收对应的组内的第二弹幕消息(S7),在对第二弹幕消息进行展示之前,判断第二弹幕消息的总量是否大于第一阈值(S8),如果大于第一阈值,则表明当前第二弹幕消息的数量超过终端C单屏可显示弹幕消息的总量,从而获取第一阈值的第二弹幕消息进行展示,并将剩余的第二弹幕消息加入消息队列中(S9),以便于当前展示的第二弹幕消息小于第一阈值时,从消息队列中获取弹幕消息进行展示(S10)。
如果第二弹幕消息的总量不大于第一阈值,则表明当前第二弹幕消息的数量没有超过展示终端C单屏可显示弹幕消息的总量,从而直接将第二弹幕消息进行展示(S11)。
综上所述,本申请实施例的弹幕消息的处理系统,服务器获取在单位时间内多个第一终端发送的多个弹幕消息的总量,计算多个弹幕消息的总量与第一阈值之间的比例值,进而根据比例值将多个弹幕消息进行分组,并根据比例值将第二终端进行分组,之后将分组后的多个弹幕消息发送给对应组内的终端,并在终端上显示弹幕消息。由此,丰富了终端展示的弹幕消息,提高了用户之间的互动性。
为了实现上述实施例,本申请还提出了一种电子设备,图13是根据本申请的一个实施例的服务器的结构示意图,如图13所示,该服务器1000包括:处理器1010、存储器1020、通信接口1030和总线1040;
处理器1010、存储器1020和通信接口1030通过总线1040连接并完成相互间的通信;
存储器1020存储可执行程序代码;
处理器1010通过读取存储器1020中存储的可执行程序代码来运行与所述可执行程序 代码对应的程序,以用于执行一种弹幕消息的处理方法;其中,弹幕消息的处理方法包括:
获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量;
计算多个第一弹幕消息的总量与第一阈值之间的比例值;
根据比例值将多个第一弹幕消息进行分组,其中,将分组后的多个第一弹幕消息作为第二弹幕消息;
根据比例值将多个第二终端进行分组,其中,多个第二终端用于指示待接收第二弹幕消息的终端;
将第二弹幕消息反馈给发送过所述第一弹幕消息的第二终端,其中,第二终端将对应组内的第二弹幕消息进行展示。
需要说明的是,前述参照图1和图2描述的弹幕消息的处理方法,与本申请实施例的服务器对应,其实现原理类似,在此不再赘述。
综上所述,本申请实施例的服务器,获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量,计算多个第一弹幕消息的总量与第一阈值之间的比例值,进而根据比例值将多个第一弹幕消息进行分组,讲分组后的多个第一弹幕消息作为第二弹幕消息,并根据比例值将多个第二终端进行分组,之后将第二弹幕消息发送给对应组内的第二终端。由此,丰富了终端展示的弹幕消息,提高了用户之间的互动性。
为了实现上述实施例,本申请还提出了一种终端,参照图13,也包括处理器1010、存储器1020、通信接口1030和总线1040;
处理器1010、存储器1020和通信接口1030通过总线1040连接并完成相互间的通信;
存储器1020存储可执行程序代码;
处理器1010通过读取存储器1020中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行一种弹幕消息的处理方法;其中,弹幕消息的处理方法包括:
接收用户发送的第一弹幕消息;
将第一弹幕消息发送至服务器,其中,服务器统计在单位时间内接收到的多个第一弹幕消息的总量,并计算多个第一弹幕消息的总量与第一阈值之间的比例值,并根据比例值分别将多个第一弹幕消息以及终端进行分组,并将分组后的多个第一弹幕消息发送给对应组内的终端,其中,终端用于指示待接收弹幕消息的设备;
接收服务器发送的第二弹幕消息,所述第二弹幕消息为与分组后的终端对应组内的消息;
对接收到的第二弹幕消息进行展示。
需要说明的是,前述参照图3至图5描述的弹幕消息的处理方法,与本申请实施例的终端对应,其实现原理类似,在此不再赘述。
综上所述,本申请实施例的终端,接收用户发送的第一弹幕消息,将弹幕消息发送至服务器,其中,服务器统计在单位时间内接收到的多个第一弹幕消息的总量,并计算多个第一弹幕消息的总量与第一阈值之间的比例值,并根据比例值分别将多个第一弹幕消息以及终端进行分组,并将分组后的多个第一弹幕消息发送给对应组内的终端,其中,终端用于指示待接收第一弹幕消息的设备,接收服务器根据分组后的终端发送的对应组内的第二弹幕消息,并对接收到的第二弹幕消息进行展示。由此,可通过终端为用户展现更加丰富的弹幕消息,提高了用户之间的互动性。
为了实现上述实施例,本申请还提出一种存储介质。其中,该存储介质用于存储应用程序,该应用程序用于在运行时执行本申请实施例的弹幕消息的处理方法,该弹幕消息的处理方法包括:获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量;计算所述多个第一弹幕消息的总量与第一阈值之间的比例值;根据所述比例值将所述多个第一弹幕消息进行分组,其中,将分组后的所述多个第一弹幕消息作为第二弹幕消息,并根据所述比例值将多个第二终端进行分组,;将所述多个第二弹幕消息发送给对应组内的第二终端,其中,所述第二终端将对应组内的第二弹幕消息进行展示。
为了实现上述实施例,本申请还提出一种存储介质。其中,该存储介质用于存储应用程序,该应用程序用于在运行时执行本申请实施例的弹幕消息的处理方法,该弹幕消息的处理方法包括:接收用户发送的第一弹幕消息;将所述第一弹幕消息发送至服务器,其中,所述服务器统计在单位时间内接收到的多个第一弹幕消息的总量,并计算所述多个第一弹幕消息的总量与第一阈值之间的比例值,并根据所述比例值分别将所述多个第一弹幕消息以及终端进行分组,并将分组后的所述多个第一弹幕消息发送给对应组内的终端,其中,所述终端用于指示待接收弹幕消息的设备;接收所述服务器发送的第二弹幕消息,所述第二弹幕消息为与分组后的终端对应组内的消息,并对接收到的弹幕消息进行展示。
为了实现上述实施例,本申请还提出一种应用程序,其中,该应用程序用于在运行时执行本申请实施例的弹幕消息的处理方法,该弹幕消息的处理方法包括:获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量;计算所述多个第一弹幕消息的总量与第一阈值之间的比例值;根据所述比例值将所述多个第一弹幕消息进行分组,其中,将分组后的所述多个第一弹幕消息作为第二弹幕消息,并根据所述比例值将多个第二终端进行分组,;将所述多个第二弹幕消息发送给对应组内的第二终端,其中,所述第二终端将对应组内的第二弹幕消息进行展示。
为了实现上述实施例,本申请还提出一种应用程序,其中,该应用程序用于在运行时执行本申请实施例的弹幕消息的处理方法,该弹幕消息的处理方法包括:接收用户发送的第一弹幕消息;将所述第一弹幕消息发送至服务器,其中,所述服务器统计在单位时间内 接收到的多个第一弹幕消息的总量,并计算所述多个第一弹幕消息的总量与第一阈值之间的比例值,并根据所述比例值分别将所述多个第一弹幕消息以及终端进行分组,并将分组后的所述多个第一弹幕消息发送给对应组内的终端,其中,所述终端用于指示待接收弹幕消息的设备;接收所述服务器发送的第二弹幕消息,所述第二弹幕消息为与分组后的终端对应组内的消息,并对接收到的弹幕消息进行展示。
对于装置、电子设备、存储介质及应用程序实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
值得说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为 依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本申请技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,其中,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。
以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。

Claims (29)

  1. 一种弹幕消息的处理方法,其特征在于,包括以下步骤:
    获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量;
    计算所述多个第一弹幕消息的总量与第一阈值之间的比例值;
    根据所述比例值将所述多个第一弹幕消息进行分组,其中,将分组后的所述多个第一弹幕消息作为第二弹幕消息;
    根据所述比例值将多个第二终端进行分组,其中,所述多个第二终端用于指示待接收所述第二弹幕消息的终端;
    将所述第二弹幕消息发送给对应组内的第二终端。
  2. 如权利要求1所述的弹幕消息的处理方法,其特征在于,在将所述第二弹幕消息发送给对应组内的第二终端的同时,所述方法还包括:
    将已发送的第一弹幕消息反馈给发送所述第一弹幕消息的第二终端。
  3. 如权利要求1或2所述的弹幕消息的处理方法,其特征在于,所述根据所述比例值将所述多个第一弹幕消息进行分组,包括:
    获取所述多个第一弹幕消息的标识信息;
    将所述多个第一弹幕消息的标识信息对所述比例值取模,得到与所述多个第一弹幕消息对应的模数;
    根据所述与所述多个第一弹幕消息对应的模数,将具有相同模数的第一弹幕消息分为一组。
  4. 如权利要求1-3任一所述的弹幕消息的处理方法,其特征在于,所述根据所述比例值将多个第二终端进行分组,包括:
    获取所述多个第二终端的标识信息;
    将所述多个第二终端的标识信息对所述比例值取模,得到与所述多个第二终端对应的模数;
    根据所述与所述多个第二终端对应的模数,将具有相同模数的第二终端分为一组。
  5. 如权利要求1至4中任一项所述的弹幕消息的处理方法,其特征在于,所述第一阈值为所述第二终端单屏可显示弹幕消息的总量。
  6. 一种弹幕消息的处理方法,其特征在于,包括以下步骤:
    接收用户发送的第一弹幕消息;
    将所述第一弹幕消息发送至服务器,其中,所述服务器用于统计在单位时间内接收到的多个第一弹幕消息的总量,并计算所述多个第一弹幕消息的总量与第一阈值之间的比例 值,并根据所述比例值分别将所述多个第一弹幕消息以及终端进行分组,并将分组后的所述多第一个弹幕消息发送给对应组内的终端,其中,所述终端用于指示待接收弹幕消息的设备;
    接收所述服务器发送的第二弹幕消息,所述第二弹幕消息为与分组后的终端对应组内的消息;
    对接收到的第二弹幕消息进行展示。
  7. 如权利要求6所述的弹幕消息的处理方法,其特征在于,在对接收到的第二弹幕消息进行展示的同时,所述方法还包括:
    对所述用户发送的第一弹幕消息进行展示。
  8. 如权利要求6或7所述的弹幕消息的处理方法,其特征在于,所述对接收到的第二弹幕消息进行展示,包括:
    检测所述接收到的第二弹幕消息的总量是否大于第一阈值;
    当检测到所述接收到的第二弹幕消息的总量小于或等于所述第一阈值,则将所述接收到的第二弹幕消息进行展示;
    当检测到所述接收到的第二弹幕消息的总量大于所述第一阈值,则从所述接收到的第二弹幕消息中,获取数量为所述第一阈值的第二弹幕消息并进行展示,并将剩余的第二弹幕消息添加至消息队列中;
    当检测到当前展示的第二弹幕消息的数量小于所述第一阈值时,从所述消息队列中获取第二弹幕消息并进行展示。
  9. 如权利要求6-8任一所述的弹幕消息的处理方法,其特征在于,当所述消息队列可承受的消息量为第二阈值时,所述方法还包括:
    当检测到所述消息队列中的第二弹幕消息的数量大于或等于所述第二阈值时,不再将新接收到的第二弹幕消息添加至所述消息队列中,直至所述消息队列中的弹幕消息的数量小于所述第二阈值为止时继续将新接收到的第二弹幕消息添加至所述消息队列中。
  10. 如权利要求6-9任一所述的弹幕消息的处理方法,其特征在于,所述方法还包括:
    根据所述消息队列中的第二弹幕消息的数量,调整弹幕速度;
    根据调整后的弹幕速度对当前待展示的第二弹幕消息进行展示。
  11. 如权利要求6-10任一所述的弹幕消息的处理方法,其特征在于,
    所述第一阈值为所述终端单屏可显示弹幕消息的总量;
    所述第二阈值为所述第一阈值的N倍,所述N为大于等于2的自然数。
  12. 一种弹幕消息的处理装置,其特征在于,包括:
    获取模块,用于获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量;
    计算模块,用于计算所述多个第一弹幕消息的总量与第一阈值之间的比例值;
    分组模块,用于根据所述比例值将所述多个第一弹幕消息进行分组,并根据所述比例值将多个第二终端进行分组,其中,将分组后的所述多个第一弹幕消息作为第二弹幕消息,所述多个第二终端用于指示待接收所述第二弹幕消息的终端;
    第一发送模块,用于将所述第二弹幕消息发送给对应组内的第二终端。
  13. 如权利要求12所述的弹幕消息的处理装置,其特征在于,所述第一发送模块还用于在将所述第二弹幕消息发送给对应组内的第二终端的同时,将已发送的第一弹幕消息反馈给发送所述第一弹幕消息的第二终端。
  14. 如权利要求12或13所述的弹幕消息的处理装置,其特征在于,所述分组模块包括:
    获取单元,用于获取所述多个第一弹幕消息的标识信息;
    取模单元,用于将所述多个第一弹幕消息的标识信息对所述比例值取模,得到与所述多个弹幕消息对应的模数;
    分组单元,用于根据所述与所述多个第一弹幕消息对应的模数,将具有相同模数的弹幕消息分为一组。
  15. 如权利要求12-14任一所述的弹幕消息的处理装置,其特征在于,
    所述获取单元还用于获取所述多个第二终端的标识信息;
    所述取模单元还用于将所述多个第二终端的标识信息对所述比例值取模,得到与所述多个第二终端对应的模数;
    所述分组单元还用于根据所述与所述多个第二终端对应的模数,将具有相同模数的第二终端分为一组。
  16. 如权利要求12至15中任一项所述的弹幕消息的处理装置,其特征在于,所述第一阈值为所述第二终端单屏可显示弹幕消息的总量。
  17. 一种弹幕消息的处理装置,其特征在于,包括:
    第一接收模块,用于接收用户发送的第一弹幕消息;
    第二发送模块,用于将所述第一弹幕消息发送至服务器,其中,所述服务器用于统计在单位时间内接收到的多个第一弹幕消息的总量,并计算所述多个第一弹幕消息的总量与第一阈值之间的比例值,并根据所述比例值分别将所述多个第一弹幕消息以及终端进行分组,并将分组后的所述多个第一弹幕消息发送给对应组内的终端,其中,所述终端用于指示待接收弹幕消息的设备;
    第二接收模块,用于接收所述服务器发送的第二弹幕消息,所述第二弹幕消息为与分组后的终端对应组内的消息;
    展示模块,用于对接收到的第二弹幕消息进行展示。
  18. 如权利要求17所述的弹幕消息的处理装置,其特征在于,所述展示模块还用于在对接收到的第二弹幕消息进行展示的同时,对所述用户发送的第一弹幕消息进行展示。
  19. 如权利要求17或18所述的弹幕消息的处理装置,其特征在于,所述展示模块包括:
    检测单元,用于检测所述接收到的第二弹幕消息的总量是否大于第一阈值;
    展示单元,用于在所述接收到的第二弹幕消息的总量小于或等于所述第一阈值时,将所述接收到的第二弹幕消息进行展示;
    分配单元,用于在所述接收到的第二弹幕消息的总量大于所述第一阈值时,从所述接收到的第二弹幕消息中,获取数量为所述第一阈值的第二弹幕消息并发送给所述展示单元,并将剩余的第二弹幕消息添加至消息队列中;
    所述展示单元还用于在检测到当前展示的第二弹幕消息的数量小于所述第一阈值时,从所述消息队列中获取第二弹幕消息并进行展示。
  20. 如权利要求17-19任一所述的弹幕消息的处理装置,其特征在于,当所述消息队列可承受的消息量为第二阈值时,所述分配单元还用于在检测到所述消息队列中的第二弹幕消息的数量大于或等于所述第二阈值时,不再将新接收到的第二弹幕消息添加至所述消息队列中,直至所述消息队列中的弹幕消息的数量小于所述第二阈值为止时继续将新接收到的第二弹幕消息添加至所述消息队列中。
  21. 如权利要求17-20任一所述的弹幕消息的处理装置,其特征在于,还包括:
    调整模块,用于根据所述消息队列中的第二弹幕消息的数量,调整弹幕速度;
    其中,所述展示模块还用于根据调整后的弹幕速度对当前待展示的第二弹幕消息进行展示。
  22. 如权利要求17-21任一所述的弹幕消息的处理装置,其特征在于,所述第一阈值为所述终端单屏可显示弹幕消息的总量;所述第二阈值为所述第一阈值的N倍,所述N为大于等于2的自然数。
  23. 一种弹幕消息的处理系统,其特征在于,包括:
    如权利要求12至16任一项所述的弹幕消息的处理装置;
    如权利要求17至22中任一项所述的弹幕消息的处理装置。
  24. 一种服务器,其特征在于,包括:处理器、存储器、通信接口和总线;
    所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;
    所述存储器存储可执行程序代码;
    所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代 码对应的程序,以用于执行一种弹幕消息的处理方法;其中,所述弹幕消息的处理方法包括:
    获取在单位时间内多个第一终端发送的多个第一弹幕消息的总量;
    计算所述多个第一弹幕消息的总量与第一阈值之间的比例值;
    根据所述比例值将所述多个第一弹幕消息进行分组,其中,将分组后的所述多个第一弹幕消息作为第二弹幕消息;
    根据所述比例值将多个第二终端进行分组,其中,所述多个第二终端用于指示待接收所述第二弹幕消息的终端;
    将所述第二弹幕消息发送给对应组内的第二终端。
  25. 一种终端,其特征在于,包括:
    包括:处理器、存储器、通信接口和总线;
    所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;
    所述存储器存储可执行程序代码;
    所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行一种弹幕消息的处理方法;其中,所述弹幕消息的处理方法包括:
    接收用户发送的第一弹幕消息;
    将所述第一弹幕消息发送至服务器,其中,所述服务器用于统计在单位时间内接收到的多个第一弹幕消息的总量,并计算所述多个第一弹幕消息的总量与第一阈值之间的比例值,并根据所述比例值分别将所述多个第一弹幕消息以及终端进行分组,并将分组后的所述多第一个弹幕消息发送给对应组内的终端,其中,所述终端用于指示待接收弹幕消息的设备;
    接收所述服务器发送的第二弹幕消息,所述第二弹幕消息为与分组后的终端对应组内的消息;
    对接收到的第二弹幕消息进行展示。
  26. 一种存储介质,其特征在于,所述存储介质存储有一个或者多个程序,所述一个或者多个程序被一个设备执行权利要求1-5任一所述的弹幕消息的处理方法。
  27. 一种存储介质,其特征在于,所述存储介质存储有一个或者多个程序,所述一个或者多个程序被一个设备执行权利要求6-11任一所述的弹幕消息的处理方法。
  28. 一种应用程序,其特征在于,所述应用程序用于在运行时,执行权利要求1-5任一所述的弹幕消息的处理方法。
  29. 一种应用程序,其特征在于,所述应用程序用于在运行时,执行权利要求6-11 任一所述的弹幕消息的处理方法。
PCT/CN2017/099537 2016-11-28 2017-08-29 弹幕消息的处理方法、装置、系统及其设备 WO2018095096A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/423,876 US10944700B2 (en) 2016-11-28 2019-05-28 Processing live commenting messages based on the ratio of the total number of live commenting messages to a threshold number of live commenting messages displayable on the screen of a terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611070315.9 2016-11-28
CN201611070315.9A CN106507133B (zh) 2016-11-28 2016-11-28 弹幕消息的处理方法、装置、系统及其设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/423,876 Continuation US10944700B2 (en) 2016-11-28 2019-05-28 Processing live commenting messages based on the ratio of the total number of live commenting messages to a threshold number of live commenting messages displayable on the screen of a terminal

Publications (1)

Publication Number Publication Date
WO2018095096A1 true WO2018095096A1 (zh) 2018-05-31

Family

ID=58328933

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/099537 WO2018095096A1 (zh) 2016-11-28 2017-08-29 弹幕消息的处理方法、装置、系统及其设备

Country Status (3)

Country Link
US (1) US10944700B2 (zh)
CN (1) CN106507133B (zh)
WO (1) WO2018095096A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4047934A4 (en) * 2019-10-16 2023-12-27 Beijing Bytedance Network Technology Co., Ltd. METHOD AND DEVICE FOR SENDING MESSAGES, READABLE MEDIUM AND ELECTRONIC DEVICE

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507133B (zh) 2016-11-28 2019-07-26 北京金山安全软件有限公司 弹幕消息的处理方法、装置、系统及其设备
CN107396144B (zh) * 2017-06-30 2019-08-02 武汉斗鱼网络科技有限公司 一种弹幕分发方法及装置
CN107360441B (zh) * 2017-07-10 2019-12-13 广州华多网络科技有限公司 一种用户直播间发言控制方法及装置
CN108462893A (zh) * 2018-03-26 2018-08-28 武汉斗鱼网络科技有限公司 一种弹幕的显示方法、装置、终端和存储介质
CN108551585B (zh) * 2018-03-28 2021-01-01 武汉斗鱼网络科技有限公司 一种弹幕校验方法、装置、服务器及介质
CN109413502B (zh) * 2018-09-29 2021-04-27 武汉斗鱼网络科技有限公司 多线程弹幕消息分发方法、装置、设备及存储介质
CN111526377B (zh) * 2019-02-01 2022-07-05 广州虎牙信息科技有限公司 拉流方法及装置
JP6735398B1 (ja) * 2019-08-06 2020-08-05 株式会社 ディー・エヌ・エー ライブ動画を配信するためのシステム、方法、及びプログラム
CN111416765A (zh) * 2020-03-20 2020-07-14 北京字节跳动网络技术有限公司 一种互动消息处理的方法及装置
CN111770351B (zh) * 2020-06-23 2022-11-29 北京字节跳动网络技术有限公司 直播消息展示方法及装置
CN116319084B (zh) * 2023-05-17 2023-09-29 北京富算科技有限公司 一种随机分组的方法及装置、计算机程序产品、电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607659A (zh) * 2013-11-25 2014-02-26 小米科技有限责任公司 在智能显示设备上显示节目评论的方法、装置及服务器
US20150181297A1 (en) * 2008-06-25 2015-06-25 At&T Intellectual Property I, Lp Apparatus and method for media on demand commentaries
CN105530372A (zh) * 2015-12-03 2016-04-27 小米科技有限责任公司 消息显示方法、装置及终端设备
CN105578209A (zh) * 2015-12-16 2016-05-11 广州酷狗计算机科技有限公司 弹幕显示方法及装置
CN105657475A (zh) * 2016-03-15 2016-06-08 武汉斗鱼网络科技有限公司 一种直播网站中将用户进行分组的方法及装置
CN106161219A (zh) * 2016-09-29 2016-11-23 广州华多网络科技有限公司 消息处理方法及装置
CN106507133A (zh) * 2016-11-28 2017-03-15 北京金山安全软件有限公司 弹幕消息的处理方法、装置、系统及其设备

Family Cites Families (49)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2927920B2 (ja) * 1990-09-14 1999-07-28 日本電信電話株式会社 位置登録制御方式
EP1323060A4 (en) * 2000-07-31 2011-01-12 Intermedia Advertising Group PROC D AND COMPUTERIZED SYSTEM TO INCREASE THE EFFECTIVENESS OF ADVERTISING
WO2002019717A2 (en) * 2000-08-31 2002-03-07 Myrio Corporation Real-time audience monitoring, content rating, and content enhancing
US7120455B1 (en) * 2004-05-20 2006-10-10 Cellco Partnership Method and system for mobile instant messaging using multiple interfaces
GB2417391B (en) * 2004-08-18 2007-04-18 Wecomm Ltd Transmitting data over a network
US20060200528A1 (en) * 2005-01-25 2006-09-07 Krishna Pathiyal Method and system for processing data messages
US7603413B1 (en) * 2005-04-07 2009-10-13 Aol Llc Using automated agents to facilitate chat communications
JP4673862B2 (ja) * 2007-03-02 2011-04-20 株式会社ドワンゴ コメント配信システム、コメント配信サーバ、端末装置、コメント配信方法、及びプログラム
US7752279B2 (en) * 2007-05-29 2010-07-06 Research In Motion Limited System for facilitating thread-based message prioritization
US8254968B2 (en) * 2008-09-29 2012-08-28 Futurewei Technologies, Inc. System and method for low overhead paging in a wireless communications system
US8266652B2 (en) * 2009-10-15 2012-09-11 At&T Intellectual Property I, L.P. Apparatus and method for transmitting media content
JP5052691B1 (ja) * 2011-06-29 2012-10-17 株式会社ソニー・コンピュータエンタテインメント 情報処理装置および情報処理方法
US8195665B1 (en) * 2011-07-29 2012-06-05 Google Inc. Dynamic bitwise sharding of live stream comment groups
US10178537B2 (en) * 2011-11-10 2019-01-08 Sirengps, Llc Emergency messaging system and method of responding to an emergency
CN103517092B (zh) * 2012-06-29 2018-01-30 腾讯科技(深圳)有限公司 一种视频展示的方法及装置
US20140047049A1 (en) * 2012-08-07 2014-02-13 Milyoni, Inc. Methods and systems for linking and prioritizing chat messages
US9369670B2 (en) * 2012-12-19 2016-06-14 Rabbit, Inc. Audio video streaming system and method
US20140317240A1 (en) * 2013-03-12 2014-10-23 Xstreaming Fitness L.L.C. Systems and methods for streaming video programs while integrating accountability and communication
US9514217B2 (en) * 2013-05-31 2016-12-06 Linkedin Corporation Message index subdivided based on time intervals
JP6122768B2 (ja) * 2013-11-19 2017-04-26 株式会社ソニー・インタラクティブエンタテインメント 情報処理装置、表示方法およびコンピュータプログラム
US20150177974A1 (en) * 2013-12-23 2015-06-25 Huawei Technologies Co., Ltd. Information display method and user terminal for instant messaging tool
EP3089404A4 (en) * 2013-12-24 2017-11-22 Yulong Computer Telecommunication Scientific (Shenzhen) Co. Ltd. Server and user group management method
US9467744B2 (en) * 2013-12-30 2016-10-11 Verizon and Redbox Digital Entertainment Services, LLC Comment-based media classification
US9363255B2 (en) * 2014-06-04 2016-06-07 Sonos, Inc. Cloud queue playhead
US10021049B2 (en) * 2014-08-13 2018-07-10 S-Printing Solution Co., Ltd. Cloud system and method of displaying, by cloud system, content
US10212110B2 (en) * 2014-08-13 2019-02-19 Hp Printing Korea Co., Ltd. Cloud system and method of displaying, by cloud system, content
US20160073168A1 (en) * 2014-09-09 2016-03-10 Cisco Technology, Inc. Channel of top socially-commented audio visual content
US10721499B2 (en) * 2015-03-27 2020-07-21 Twitter, Inc. Live video streaming services
US10061467B2 (en) * 2015-04-16 2018-08-28 Microsoft Technology Licensing, Llc Presenting a message in a communication session
US9953017B2 (en) * 2015-05-05 2018-04-24 International Business Machines Corporation Displaying at least one categorized message
CN106294373B (zh) * 2015-05-15 2020-03-10 阿里巴巴集团控股有限公司 评论信息回复方法及装置
US10277549B2 (en) * 2015-06-04 2019-04-30 Apple Inc. Prioritized email synchronization with server
CN106412681B (zh) * 2015-07-31 2019-12-24 腾讯科技(深圳)有限公司 弹幕视频直播方法及装置
US10182024B1 (en) * 2015-12-28 2019-01-15 Amazon Technologies, Inc. Reallocating users in content sharing environments
US11146865B2 (en) * 2016-03-03 2021-10-12 Comcast Cable Communications, Llc Determining points of interest in a content item
CN105721891A (zh) * 2016-03-30 2016-06-29 宁波元鼎电子科技有限公司 一种网络主播过程中主播与观众互动方法及系统
CN105872612A (zh) * 2016-03-30 2016-08-17 宁波元鼎电子科技有限公司 一种改进型网络主播过程中主播与观众互动方法及系统
CN105872836B (zh) * 2016-03-30 2019-01-29 武汉斗鱼网络科技有限公司 一种直播网站中增加用户互动性的方法及装置
EP3240292A1 (en) * 2016-04-28 2017-11-01 Advanced Digital Broadcast S.A. List-type content recommendation presentation device and method
CN107404371B (zh) * 2016-05-20 2021-02-09 华为技术有限公司 一种数据处理方法、装置及系统
CN106254311B (zh) * 2016-07-15 2020-12-08 腾讯科技(深圳)有限公司 直播方法和装置、直播数据流展示方法和装置
US10535177B2 (en) * 2016-08-01 2020-01-14 Facebook, Inc. Systems and methods for interactive broadcasting
US10791084B2 (en) * 2016-10-04 2020-09-29 Oath Inc. Automatic electronic message content rating method and apparatus
JP6580109B2 (ja) * 2017-11-09 2019-09-25 株式会社ドワンゴ 投稿提供サーバ、投稿提供プログラム、ユーザプログラム、投稿提供システムおよび投稿提供方法
CN107948760B (zh) * 2017-11-30 2021-01-29 上海哔哩哔哩科技有限公司 弹幕播放控制方法、服务器及弹幕播放控制系统
CN107948761B (zh) * 2017-12-12 2021-01-01 上海哔哩哔哩科技有限公司 弹幕播放控制方法、服务器及弹幕播放控制系统
CN108156148B (zh) * 2017-12-21 2019-04-26 北京达佳互联信息技术有限公司 评论聚合展示方法、系统、服务器及智能终端
DK180130B1 (da) * 2018-05-07 2020-06-02 Apple Inc. Multi-participant live communication user interface
US20200177529A1 (en) * 2018-11-29 2020-06-04 International Business Machines Corporation Contextually correlated live chat comments in a live stream with mobile notifications

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150181297A1 (en) * 2008-06-25 2015-06-25 At&T Intellectual Property I, Lp Apparatus and method for media on demand commentaries
CN103607659A (zh) * 2013-11-25 2014-02-26 小米科技有限责任公司 在智能显示设备上显示节目评论的方法、装置及服务器
CN105530372A (zh) * 2015-12-03 2016-04-27 小米科技有限责任公司 消息显示方法、装置及终端设备
CN105578209A (zh) * 2015-12-16 2016-05-11 广州酷狗计算机科技有限公司 弹幕显示方法及装置
CN105657475A (zh) * 2016-03-15 2016-06-08 武汉斗鱼网络科技有限公司 一种直播网站中将用户进行分组的方法及装置
CN106161219A (zh) * 2016-09-29 2016-11-23 广州华多网络科技有限公司 消息处理方法及装置
CN106507133A (zh) * 2016-11-28 2017-03-15 北京金山安全软件有限公司 弹幕消息的处理方法、装置、系统及其设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4047934A4 (en) * 2019-10-16 2023-12-27 Beijing Bytedance Network Technology Co., Ltd. METHOD AND DEVICE FOR SENDING MESSAGES, READABLE MEDIUM AND ELECTRONIC DEVICE
US12075106B2 (en) 2019-10-16 2024-08-27 Beijing Bytedance Network Technology Co., Ltd. Message sending method and device, readable medium and electronic device

Also Published As

Publication number Publication date
CN106507133B (zh) 2019-07-26
CN106507133A (zh) 2017-03-15
US20190394146A1 (en) 2019-12-26
US10944700B2 (en) 2021-03-09

Similar Documents

Publication Publication Date Title
WO2018095096A1 (zh) 弹幕消息的处理方法、装置、系统及其设备
CN108156507B (zh) 虚拟物品赠送方法、装置及存储介质
US11558214B2 (en) Methods, systems, and media for sending a message about a new video to a group of related users
WO2016095516A1 (zh) 一种复杂事件处理方法、装置及系统
US11025967B2 (en) Method for inserting information push into live video streaming, server, and terminal
US20170163580A1 (en) Interactive method and device for playback of multimedia
CN110099283A (zh) 信息推送方法、装置、设备和存储介质
WO2015090095A1 (zh) 一种信息推送方法、设备和系统
CN109874059A (zh) 直播界面展示方法、客户端及存储介质、计算机设备
US20230247248A1 (en) Live broadcast message display method and apparatus
WO2021103366A1 (zh) 基于微信小程序的弹幕处理方法和系统
CN104506330B (zh) 一种消息同步方法和系统
CN110913237A (zh) 直播控制方法和装置、直播发起设备和存储介质
WO2018000743A1 (zh) 一种用于跨设备群聊的方法及电子设备
WO2015090133A1 (zh) 一种视频信息更新方法及电子设备
CN108415908B (zh) 一种多媒体数据的处理方法及服务器
WO2022143255A1 (zh) 实时信息交互方法及装置、设备、存储介质
WO2023005199A1 (zh) 数据处理方法及装置
CN110351577B (zh) 直播信息处理方法及装置、存储介质、电子设备
CN104469428A (zh) 一种视频与文字即时传输的方法及装置
BR112014006764B1 (pt) Métodos e terminal para proporcionar serviços interativos dentro de uma rede para distribuição de conteúdo televisivo
CN109547811B (zh) 展示交互内容的方法、装置以及存储介质
CN110324377B (zh) 一种推送交互方法、装置、电子设备及介质
CN108966034B (zh) 虚拟物品显示方法、装置和存储介质
TW201720104A (zh) 交錯方法、電腦可讀取媒體及交錯裝置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17874013

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17874013

Country of ref document: EP

Kind code of ref document: A1

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10/09/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17874013

Country of ref document: EP

Kind code of ref document: A1