CN111585869B - Barrage presentation method and device for instant message - Google Patents

Barrage presentation method and device for instant message Download PDF

Info

Publication number
CN111585869B
CN111585869B CN202010358566.7A CN202010358566A CN111585869B CN 111585869 B CN111585869 B CN 111585869B CN 202010358566 A CN202010358566 A CN 202010358566A CN 111585869 B CN111585869 B CN 111585869B
Authority
CN
China
Prior art keywords
instant message
target
chat session
bullet screen
chat
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010358566.7A
Other languages
Chinese (zh)
Other versions
CN111585869A (en
Inventor
陈晓磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN202010358566.7A priority Critical patent/CN111585869B/en
Publication of CN111585869A publication Critical patent/CN111585869A/en
Application granted granted Critical
Publication of CN111585869B publication Critical patent/CN111585869B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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]
    • 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/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Abstract

The application aims to provide a barrage presenting method and equipment for instant messages, and the application monitors instant messages corresponding to target chat sessions; when the message distribution amount of the target chat session in unit time is larger than a preset distribution amount threshold value, loading a bullet screen presentation layer on a chat interface of the current chat session, and determining a target instant message according to the instant message corresponding to the target chat session; the method comprises the steps that when the current instant message corresponding to the current chat session is displayed on the chat interface, the high-density target instant message corresponding to the target chat session is displayed on the bullet screen presentation layer in a bullet screen mode, so that the instant message display mode in the chat session is beyond the expectation of a user, and the hot chat atmosphere of the user is increased and created, so that the user interactivity is enhanced, and the communication experience of the user in the chat session is further improved.

Description

Barrage presentation method and equipment for instant messages
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for presenting a barrage of an instant message.
Background
With the development of internet technology, interconversion is more and more important. On-line interaction has become an increasingly important communication mode. In order to meet the requirement of information interaction of a large number of users, various social software or communication software comes up. Along with the development requirement of the user interaction mode, the existing social software can only adopt a conversation form to display the chat content, so that the chat conversation display form is single, the chat atmosphere cannot be better blended, and the chat experience of the user is poor and the chat enthusiasm is low.
Disclosure of Invention
An object of the present application is to provide a barrage presenting method and device for instant messages, so as to solve the problem of poor user experience caused by a single display form of social chat conversation in the prior art.
According to an aspect of the present application, there is provided a bullet screen presenting method of an instant message, wherein the method includes:
monitoring instant messages corresponding to the target chat session;
when the message distribution amount of the target chat session in unit time is larger than a preset distribution amount threshold value, loading a bullet screen presentation layer on a chat interface of the current chat session, and determining a target instant message according to the instant message corresponding to the target chat session;
and displaying the current instant message corresponding to the current chat session on the chat interface, and simultaneously displaying the target instant message corresponding to the target chat session on the bullet screen presentation layer in a bullet screen mode.
Further, in the above method, the displaying, in a bullet screen form, the target instant message corresponding to the target chat session on the bullet screen presentation layer includes:
and displaying the target instant message corresponding to the target chat session and the identification information of the publishing user of the target instant message in a bullet screen form on the bullet screen presentation layer.
Further, in the above method, the determining a target instant message according to the instant message corresponding to the target chat session includes:
and determining the instant message corresponding to the target instant message when the message distribution quantity in the unit time in the instant messages corresponding to the target chat session is larger than the preset distribution quantity threshold value.
Further, in the above method, after determining the target instant message, the method further includes:
sending the target instant message to a bullet screen control;
wherein, the displaying the target instant message corresponding to the target chat session in the bullet screen form on the bullet screen presentation layer comprises: and the bullet screen control displays the target instant message corresponding to the target chat session in a bullet screen shape on the bullet screen presentation layer.
Further, in the above method, the target instant message includes a target audio message, where the displaying the target instant message corresponding to the target chat session in a bullet screen form on the bullet screen presentation layer includes:
displaying an audio icon for indicating the target audio message in a bullet screen form on the bullet screen presentation layer;
and responding to the selection operation of the user on the audio icon, and playing the target audio message.
Further, in the above method, after the bullet screen presentation layer displays the target instant message corresponding to the target chat session in a bullet screen manner while the chat interface displays the current instant message corresponding to the current chat session, the method further includes:
and when the message distribution quantity of the target chat session in the unit time is less than or equal to the preset distribution quantity threshold value, the barrage presentation layer exits from the chat interface of the current chat session.
Further, in the foregoing method, the current chat session is the target chat session or another chat session, where the target chat session and the another chat session are in the same instant messaging tool and do not belong to the same chat session.
Further, in the above method, if the current chat session is the other chat session, displaying, on the bullet screen presentation layer, the target instant message corresponding to the target chat session in a bullet screen manner includes:
and displaying the session identification of the target chat session and the corresponding target instant message in a bullet screen form on the bullet screen presentation layer.
According to another aspect of the present application, there is also provided a computer-readable medium having computer-readable instructions stored thereon, which, when executed by a processor, cause the processor to implement the bullet screen presenting method of instant messaging as described above.
According to another aspect of the present application, there is also provided a bullet screen presenting apparatus for instant messages, wherein the apparatus includes:
one or more processors;
a non-volatile storage medium for storing one or more computer-readable instructions,
when executed by the one or more processors, cause the one or more processors to implement a bullet screen presentation method, such as the instant message described above.
Compared with the prior art, the barrage presenting method of the instant message provided by the application monitors the instant message corresponding to the target chat session; when the message distribution amount of the target chat session in unit time is larger than a preset distribution amount threshold value, loading a bullet screen presentation layer on a chat interface of the current chat session, and determining a target instant message according to the instant message corresponding to the target chat session; and displaying the current instant message corresponding to the current chat session on the chat interface, and simultaneously displaying the target instant message corresponding to the target chat session on the bullet screen presentation layer in a bullet screen mode. In the social software, when the message distribution amount of the target chat session in unit time is greater than the preset distribution amount threshold value, the current instant message corresponding to the current chat session is displayed on the original chat interface of the current chat session, and meanwhile, the high-density target instant message corresponding to the target chat session is displayed on the bullet screen presentation layer loaded on the chat interface in a bullet screen mode, so that the instant message display mode in the chat session is beyond the expectation of a user, the hot chat atmosphere of the user is increased and created, the user interactivity is enhanced, and the communication experience of the user in the chat session is further improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 illustrates a flow diagram of a method for barrage presentation of instant messages in accordance with an aspect of the subject application;
fig. 2 is a schematic diagram illustrating an actual application scenario of a bullet screen presentation method for instant messaging according to an aspect of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
As shown in fig. 1, a schematic flowchart of a method for presenting an instant message barrage according to an aspect of the present application includes steps S11, S12, and S13, where the method specifically includes:
step S11, monitoring instant messages corresponding to the target chat session; here, the social software where the target chat session is located may simultaneously include one or more chat sessions, where each of the session users of the chat session includes at least two session users, for example, when two session users of the chat session include two session users, it indicates that the chat session corresponding to the two users is a one-to-one chat session, and when more than two session users of the chat session include more than two users, it indicates that the chat session corresponding to more than two users is a group chat session.
Step S12, when the message distribution quantity of the target chat conversation in unit time is larger than the preset distribution quantity threshold, loading a bullet screen presentation layer on the chat interface of the current chat conversation, and determining the target instant message according to the instant message corresponding to the target chat conversation.
It should be noted that the unit time may include, but is not limited to, a time period of one second, two seconds, or other units, which is used to measure the message distribution density of the instant messages of the target chat session, and in a preferred embodiment of the present application, the unit time may be preferably one second. The message distribution amount in the unit time may be the number of instant message distributions in the unit time, for example, the number of several or dozens of instant message distributions, or may be the memory amount of instant message distributions in the unit time, for example, the memory amount of 20M, 100M, or any other value.
Step S13, while displaying the current instant message corresponding to the current chat session on the chat interface, displaying the target instant message corresponding to the target chat session on the bullet screen presentation layer in a bullet screen manner.
Here, the current chat session is the target chat session or another chat session, where the target chat session and the another chat session are in the same instant messaging tool and do not belong to the same chat session. When the current chat session is the target chat session, representing that the current chat session and the target chat session belong to the same chat session; and when the current chat session is other chat sessions, representing that the current chat session and the other chat sessions do not belong to the same chat session.
Through the steps S11 to S13, when the message distribution amount of the target chat session in unit time is greater than the preset distribution amount threshold, in the social software, while the current instant message corresponding to the current chat session is displayed on the chat interface of the original current chat session, the high-density target instant message corresponding to the target chat session is displayed in a bullet screen form on the bullet screen presentation layer loaded on the chat interface, so that the instant message presentation form in the chat session is beyond the expectation of the user, and the hot chat atmosphere of the user is increased and created, thereby enhancing the user interactivity and further improving the communication experience of the user in the chat session.
For example, in the social software, if the current chat session a performed by the user at this time and the monitored target chat session B belong to different chat sessions and the unit time is one second, step S11 monitors the instant message corresponding to the target chat session B, where the instant message is any session message in the target chat session B, and for each unit time of the target chat session B: a message distribution amount within one second, wherein when the message distribution amount of the target chat session B within one second is greater than a preset distribution amount threshold (for example, 6), the step S12 loads a bullet screen presentation layer on the chat interface of the current chat session a, and determines a corresponding target instant message when the preset distribution amount threshold is exceeded according to the instant message corresponding to the target chat session B; if the current instant message corresponding to the current chat session A comprises: instant message a1, instant message a2, instant message A3, and instant message a4, and the determined target instant messages corresponding to the target chat session include: instant message B1, instant message B2, instant message B3, instant message B4, instant message B5, instant message B6, and instant message B7, then at step S13, while displaying instant message a1, instant message a2, instant message A3, and instant message a4 corresponding to the current chat session a on the original chat interface of the current chat session a, a popup screen presentation layer loaded on the chat interface of the original current chat session a displays, in a popup screen form, high-density instant message B1, instant message B2, instant message B3, instant message B4, instant message B5, instant message B6, and instant message B7 corresponding to the target chat session B, which not only enables display of the current instant message corresponding to the original current chat session a, but also enables display of another chat session different from the current chat session a: the high-density target instant messages corresponding to the target chat session B are displayed in a barrage mode, so that the instant messages displayed to the user for the current chat session and the target chat session on the chat interface exceed the expectation of the user, hot chat atmosphere is added and created for the chat session of the user, the interactivity of the user participating in the chat session is increased, and the communication experience of the user in the chat session is further improved.
For example, in the social software, if the current chat session performed by the user at the time and the monitored target chat session belong to the same chat session (chat session a) and the unit time is one second, the step S11 monitors the instant message corresponding to the chat session a, where the instant message is any session message in the chat session a, and for each unit time of the chat session a: a message distribution amount within one second, wherein when the message distribution amount of the chat session a within one second is greater than a preset distribution amount threshold (for example, 6), the step S12 loads a bullet screen presentation layer on a chat interface of the chat session a, and determines a target instant message corresponding to the instant message exceeding the preset distribution amount threshold according to the instant message corresponding to the chat session a; if the current instant message corresponding to the chat session comprises: instant message a1, instant message a2, instant messages A3, … …, instant message a19, and instant message a20, wherein instant message a1, instant message a2, and instant message A3 belong to the same unit time, instant message a4, instant message A5, and instant message A6 belong to the same unit time, instant message a7 and instant message A8 belong to the same unit time, instant message a9, instant message a10, instant message a11, instant message a12, instant message a13, instant message a14, instant message a15, and instant message a16 belong to the same unit time, instant message a17, instant message a18, instant message a19, and instant message a20 belong to the same unit time, the determined target instant message corresponding to chat session a is: instant messages 9, 10, … …, 15 and 16, when the chat interface of chat session a is displayed, only instant messages a1, a2, A3, … …, 7 and 8 are displayed, when the instant messages in the unit time of instant messages 9, 10, … …, 15 and 16 are displayed, the corresponding instant messages 9, 10, … …, 15 and 16 are displayed on the original chat interface of chat session a, and simultaneously, a bullet screen presentation layer loaded on the chat interface of chat session a displays the high-density target instant messages corresponding to chat session a in bullet screen form: instant message 9, instant messages 10, … …, instant message 15, and instant message 16, of course, in the unit time of instant message a17, instant message a18, instant message a19 and instant message a20, the bullet screen presentation layer in the chat interface of chat session a exits, and only instant message a17, instant message a18, instant message a19 and instant message a20 are displayed on the chat interface of chat session a, so that not only is the instant message corresponding to the original chat interface of the same chat session displayed, also realizes that the bullet screen presentation layer loaded on the chat interface of the chat session displays high-density target instant messages in the bullet screen mode, creates hot chat atmosphere for the chat session corresponding to the current chat interface of the user, therefore, the interactivity and the enthusiasm of the user for participating in the chat session are increased, and the communication experience of the user in the chat session is further improved.
Next to the foregoing embodiment of the present application, the determining a target instant message according to an instant message corresponding to the target chat session in step S12 specifically includes:
and determining the instant message corresponding to the target instant message when the message distribution quantity in the unit time in the instant messages corresponding to the target chat session is larger than the preset distribution quantity threshold value.
For example, if the current chat session performed by the user at the time and the monitored target chat session belong to the same chat session (chat session a), in a preferred embodiment of the present application, the preset distribution threshold is preferentially set to 6 distribution numbers in the unit time of the instant messages, and for the instant messages corresponding to the target chat session a: instant message a1, instant message a2, instant messages A3, … …, instant message a19, and instant message a20 monitor the amount of message posted per unit time, wherein it is monitored that instant message A1, instant message A2, and instant message A3 belong to the same unit time, instant message a4, instant message a5, and instant message a6 belong to the same unit of time, instant message a7 and instant message A8 belong to the same unit of time, instant message a9, instant message a10, instant message a11, instant message a12, instant message a13, instant message a14, instant message a15, and instant message a16 belong to the same unit of time, instant message a17, instant message a18, instant message a19, and instant message a20 belong to the same unit of time, it can be seen that the message distribution amount (8) in the unit time corresponding to instant message a9, instant messages a10, … …, instant message a15 and instant message a16 is greater than the preset distribution amount threshold: 6, the instant message A9, the instant messages A10, … …, the instant message A15 and the instant message A16 corresponding to the target chat session A session are determined as the target instant messages, so that the target instant messages corresponding to the monitored target chat session are determined, so that subsequent to instant message a9, instant messages a10, … …, instant message a15, and instant message a16 being displayed in the chat interface of the current chat session a, the instant messages A9, the instant messages A10, … …, the instant message A15 and the instant message A16 are also displayed on a bullet screen presentation layer loaded on a chat interface of the current chat session A in a bullet screen mode, so that high-density target instant messages corresponding to the monitored target chat session are further displayed on the bullet screen presentation layer in the bullet screen mode, the instant messages corresponding to the current chat session are displayed, and displaying the high-density target instant messages by bullet screen recognition on the loaded bullet screen presentation layer.
Next to the foregoing embodiment of the present application, after determining the target instant message in step S12, the barrage presenting method for an instant message provided in an embodiment of the present application further includes:
sending the target instant message to a bullet screen control;
wherein, the displaying the target instant message corresponding to the target chat session in the bullet screen form on the bullet screen presentation layer specifically includes: and the bullet screen control displays the target instant message corresponding to the target chat session in a bullet screen shape on the bullet screen presentation layer.
For example, if the current chat session a performed by the user at the time and the monitored target chat session B do not belong to the same chat session, step S11 monitors the distribution amount of the instant messages in each unit time (for example, one second) corresponding to the target chat session B, and when the distribution amount of the messages in one second of the target chat session B is greater than a preset distribution amount threshold (for example, 6 messages), step S12 loads a bullet screen presentation layer on the chat interface of the current chat session a, and determines the corresponding target instant message when the distribution amount exceeds the preset distribution amount threshold according to the instant message corresponding to the target chat session B; if the current instant message corresponding to the current chat session A comprises: instant message a1, instant message a2, instant message A3, and instant message a4, and the determined target instant message corresponding to target chat session B is: instant message B1, instant message B2, instant message B3, instant message B4, instant message B5, instant message B6, and instant message B7, the target instant message corresponding to target chat session B has: instant message B1, instant message B2, instant message B3, instant message B4, instant message B5, instant message B6, and instant message B7 to the barrage control; so that in step S13, while the original chat interface of the current chat session a displays instant message a1, instant message a2, instant message A3 and instant message a4 corresponding to the current chat session a, the target instant message corresponding to the target chat session B is displayed through the popup control: instant message B1, instant message B2, instant message B3, instant message B4, instant message B5, instant message B6 and instant message B7, which are displayed in a bullet screen shape on the bullet screen presentation layer, so that the target instant message required to be displayed on the bullet screen presentation layer is received through a bullet screen control, and the bullet screen display of the target instant message is controlled through the bullet screen control.
Next to the foregoing embodiment of the present application, the displaying, in the bullet screen presentation layer in the step S13, the target instant message corresponding to the target chat session in a bullet screen form specifically includes:
and displaying the target instant message corresponding to the target chat session and the identification information of the publishing user of the target instant message in a bullet screen form on the bullet screen presentation layer.
For example, if the current chat session a performed by the user at the time and the monitored target chat session B do not belong to the same chat session, step S11 monitors the distribution amount of the instant messages in each unit time (for example, one second) corresponding to the target chat session B, and when the distribution amount of the messages in one second of the target chat session B is greater than a preset distribution amount threshold (for example, 6 messages), step S12 loads a bullet screen presentation layer on the chat interface of the current chat session a, and determines the corresponding target instant message when the distribution amount exceeds the preset distribution amount threshold according to the instant message corresponding to the target chat session B; if the current instant message corresponding to the current chat session A comprises: instant message a1, instant message a2, instant message A3, and instant message a4, and the determined target instant message corresponding to target chat session B is: instant message B1, instant message B2, instant message B3, instant message B4, instant message B5, instant message B6, and instant message B7, and the target instant messages are: the identification information of the publishing user corresponding to instant message B1, instant message B2, instant message B3, instant message B4, instant message B5, instant message B6, and instant message B7 are respectively: UserB1, UserB2, UserB3, UserB4, UserB5, UserB6, and UserB7, then said step S13 displays an instant message a1, an instant message a2, an instant message a3, and an instant message a4 corresponding to the current chat session a on the original chat interface of the current chat session a, at the same time, displays a bullet screen presentation layer loaded on the chat interface of the original current chat session a, displays a high-density instant message B1 and its publishing user UserB1, an instant message B2 and its publishing user UserB2, an instant message B3 and its publishing user UserB3, an instant message B8687428 and its publishing user UserB7, an instant message B5 and its publishing user UserB5, an instant message B5 and its publishing user UserB5, and a bullet screen presentation layer of the current chat session A5 on the target chat interface of the current chat session a, and displays the high-density instant message B5 corresponding to the current chat session at the same time, and the identification information of the publishing user of each target instant message is also displayed, so that all users participating in the chat session can clearly know the publishing user of each target instant message in the bullet screen form, the chat distance between the users in the chat session is shortened, the participation, the enthusiasm and the interactivity of the users in the chat session are increased, and the chat exchange experience of the users is further improved.
Next to the foregoing embodiment of the present application, when the target instant message in the embodiment of the present application includes a target audio message, wherein the displaying, in the bullet screen presentation layer in the step S13, the target instant message corresponding to the target chat session in a bullet screen mode specifically includes:
displaying an audio icon for indicating the target audio message in a bullet screen form on the bullet screen presenting layer;
and responding to the selection operation of the user on the audio icon, and playing the target audio message.
It should be noted that the target instant message displayed in the bullet screen presentation layer in the bullet screen form may be, but is not limited to, a text message, an audio message, a picture message, an emoticon message, and other messages, and any other form of instant message may be displayed in the bullet screen presentation layer in the bullet screen form. The audio icon may be, but is not limited to, a horn icon, a small bubble, a microphone icon, and any icon that may be used to indicate audio.
For example, the current chat session a performed by the user at this time and the monitored target chat session B do not belong to the same chat session, and the determined target instant message: instant message B2 and instant message B5 of instant message B1, instant message B2, instant message B3, instant message B4, instant message B5, instant message B6, and instant message B7 are all audio messages, wherein the target audio message of instant message B2 is: "for our country to refuel and cheer", the target audio message of instant message B5 is: "the mother of our country is happy birthday", and instant message B1, instant message B3, instant message B4, instant message B6 and instant message B7 are all text messages; in step S13, while displaying instant message a1, instant message a2, instant message A3 and instant message a4 corresponding to the current chat session a on the original chat interface of the current chat session a, displaying the text information of high-density instant message B1, instant message B3, instant message B4, instant message B6 and instant message B7 corresponding to the target chat session B in a bullet screen form, and displaying the audio icons of the target audio messages corresponding to instant message B2 and instant message B5 respectively on the original chat interface of the current chat session a; when the barrage presentation layer displays the audio icon for indicating the target audio message in the barrage form, if the user wants to further know what audio message is displayed in the barrage, the user can select to select the audio icon displayed in the barrage form, and if the audio icon selected by the user is the audio icon corresponding to the instant message B5, in response to the user selecting the audio icon corresponding to the instant message B5, the instant message B5 is played in the barrage presentation layer: the audio message of the mother birthday happiness of China is to realize the bullet screen display of the audio message in the mode of carrying out audio icon on the bullet screen presentation layer and to trigger the corresponding audio message by selecting the audio icon.
Next to the foregoing embodiment of the present application, if the current chat session is the other chat session, that is, the current chat session and the other chat session do not belong to the same chat session, where the displaying the target instant message corresponding to the target chat session in the bullet screen form on the bullet screen presentation layer in step S13 specifically includes:
and displaying the session identification of the target chat session and the corresponding target instant message in a bullet screen form on the bullet screen presentation layer.
It should be noted that the session identifier may be any identifier that can uniquely identify the chat session, including but not limited to a session name, a session subject, and a session serial number of the chat session.
For example, in the social software, if a current chat session a performed by the user at the time and a monitored target chat session B belong to different chat sessions, where a session identifier of the current chat session a is "soy sauce playing group", a session identifier corresponding to the target chat session B is "five-play group", and a current instant message corresponding to the current chat session a includes: instant message a1, instant message a2, instant message A3, and instant message a4, and the determined target instant messages corresponding to target chat session B are: instant message B1, instant message B2, instant message B3, instant message B4, instant message B5, instant message B6, and instant message B7, in step S13, while displaying instant message a1, instant message a2, instant message A3, and instant message a4 corresponding to the current chat session a on the original chat interface of the current chat session a, a barrage presentation layer loaded on the original chat interface of the current chat session a, and displaying the session identifier of the target chat session B in a barrage form on the barrage presentation layer: the "five-one outbound group" and the corresponding high-density instant message B1, instant message B2, instant message B3, instant message B4, instant message B5, instant message B6, and instant message B7 not only realize the display of the current instant message corresponding to the original current chat session a, but also realize another chat session different from the current chat session a: the conversation mark of the target chat conversation B and the bullet screen form display of the high-density target instant message corresponding to the conversation mark B enable a user to clearly know which specific chat conversation the target instant message displayed in the bullet screen form on the bullet screen presentation layer belongs to when viewing the target instant message displayed in the bullet screen form, namely, the chat source of the target instant message displayed in the bullet screen, so that a subsequent user can select to join the target chat conversation corresponding to the conversation mark according to the interest degree of the user on the target instant message displayed in the bullet screen, display of the chat conversation to which the target instant message belongs is achieved, and convenience of the user entering the target chat conversation corresponding to the conversation mark is increased.
Next to the above embodiment of the present application, in the step S13, while the chat interface displays the current instant message corresponding to the current chat session, after the barrage presentation layer displays the target instant message corresponding to the target chat session in a barrage form, the barrage presentation method for instant messages provided in an embodiment of the present application further includes: step S14 and step S15, in which, in the step S14, the instant messages corresponding to the target chat session are continuously monitored, and whether the message distribution amount of the target chat session in unit time is greater than a preset distribution amount threshold value is judged, if yes, the step S12 is returned, otherwise, the step S15 is executed; in step S15, when the message distribution amount of the target chat session in the unit time is less than or equal to the preset distribution amount threshold, the barrage presentation layer exits from the chat interface of the current chat session.
For example, in the social software, if the current chat session performed by the user at the time and the monitored target chat session belong to the same chat session (chat session a) and the unit time is one second, the step S11 monitors the instant message corresponding to the chat session a, where the instant message is any session message in the chat session a, and for each unit time of the chat session a: a message distribution amount within one second, wherein when the message distribution amount of the chat session a within one second is greater than a preset distribution amount threshold (for example, 6), the step S12 loads a bullet screen presentation layer on a chat interface of the chat session a, and determines a target instant message corresponding to the instant message exceeding the preset distribution amount threshold according to the instant message corresponding to the chat session a; if the current instant message corresponding to the chat session comprises: instant message a1, instant message a2, instant message A3, … …, instant message a19, and instant message a20, wherein instant message a1, instant message a2, and instant message A3 belong to the same unit time, instant message A4, instant message A5, and instant message A6 belong to the same unit time, instant message a7 and instant message A8 belong to the same unit time, instant message a9, instant message a10, instant message a11, instant message a12, instant message a13, instant message a14, instant message a15, and instant message a16 belong to the same unit time, instant message a17, instant message a18, instant message a19, and instant message a20 belong to the same unit time, when it is determined that the amount of the instant messages a9, instant message a10, instant message a11, instant message a12, instant message a13, instant message a14, instant message a15, and instant message a16 are greater than the predetermined amount of the instant messages issued in unit time, step S14 needs to continue to monitor the instant message distribution amount of the next unit time corresponding to the target chat session B, so as to determine whether to continue to perform barrage display on the barrage presentation layer for the instant message in the next unit time, where the message distribution amounts of the instant message a17, the instant message a18, the instant message a19, and the instant message a20 in the next unit time are: 4, less than a preset distribution amount threshold value: 6, when the instant message is displayed on the chat interface of the current chat session a, only the instant message a1, the instant message a2, the instant messages A3, … …, the instant message 7 and the instant message 8 are displayed on the chat interface of the chat session a; when the instant messages in the unit time of displaying the instant messages 9, 10, … …, 15 and 16 are displayed, the corresponding instant messages 9, 10, … …, 15 and 16 are displayed on the original chat interface of the chat session A, and simultaneously, the bullet screen presentation layer loaded on the chat interface of the chat session A displays the high-density target instant messages corresponding to the chat session A in the bullet screen form on the bullet screen presentation layer: when instant messages 9, 10, … …, 15 and 16 enter the display of instant messages a17, a18, a19 and a20, the bullet screen presentation layer loaded on the chat interface of chat session a exits the chat interface of chat session a, and only corresponding instant messages a17, a18, a19 and a20 are displayed on the chat interface of chat session a, so that the continuous monitoring of the distribution amount of the instant messages of the monitored chat session is realized, and the instant messages are displayed in different unit times, or the instant messages of the current chat session are displayed on the chat interface and simultaneously the target instant messages of the target chat session are displayed in bullet screen form on the bullet screen presentation layer loaded on the chat interface.
In an actual application scenario of the instant message barrage presentation method provided in an embodiment of the present application, if a current chat session and a monitored target chat session belong to the same chat session and a preset release threshold is preferably 5, for example, a company chat group has 200 people in the company chat group, including Worker1, Worker2, Worker3, Worker4, … …, Worker199, and Worker200, in order to facilitate a staff to notice an instant message in the company chat group at any time, an instant message of one language and one language of each staff in the company chat group is monitored, at ordinary times, in the company chat group, few staff send an instant message, and when an employee sends an instant message occasionally, only the instant message sent by the staff is displayed on a chat interface of the company chat group; when a company has a major event or requires multi-party communication, such as employees: worker36 issues an instant message: "company honors XXX honor", then staff in the company chat group leap in a short time to issue many instant messages to call the company, for example, the Worker26 sends out instant message: "give power", Worker39 sends an instant message: "orley to", Worker57 sends an instant message: "wand-click", Worker87 sends an instant message: "refuel, refuel", the Worker124 sends an instant message: the 'duck continuously making' and the Worker164 send out an instant message: "thank you for corporate collaboration of everybody", when the message distribution amount of the instant messages in a unit time is greater than a preset distribution amount threshold (5), triggering the loading of a bullet screen presentation layer on a chat interface of a company chat group, so as to display the message on the chat interface of the company chat group: the method comprises the steps of displaying target instant messages of 'give power', 'Aoli give', 'bar Da', 'refuel and refuel', 'continue to make a rush' and 'thank you for your coordination' on a bullet screen presentation layer loaded on a chat interface of a company chat group, displaying the target instant messages of 'give power', 'Aoli give', 'bar Da', 'refuel and refuel', 'continue to make a rush' and 'thank you for your coordination' in a bullet screen form on the bullet screen presentation layer, displaying the target instant messages with high density in a bullet screen form through the bullet screen presentation layer while displaying the instant messages, and creating a group atmosphere that employees in the company get a honor for collective celebration and refuel and inflate for honor of the company, so that the interactivity among the employees is enhanced, and the communication enthusiasmity and experience degree among the employees are further improved.
Further, in order to facilitate each employee in the company to clearly know which specific employee sent when the specific barrage message is obtained, when the target instant messages of "give power", "ao li give", "bang", "refuel and refuel", "continue to wash duck" and "thank you for your health" are displayed in the barrage presenting layer in the form of a barrage, the identification information of the publishing user corresponding to each target instant message is displayed, for example, the Worker26 is displayed in the form of a barrage on the barrage presenting layer: "give force", Worker 39: "orlistat", Worker 57: "lollipop", Worker 87: "refuel and refuel", Worker 124: the duck is continuously brewed, and the mixing ratio of the duck to the Worker 164: the method realizes bullet screen display of the target instant messages and simultaneously displays the publishing users corresponding to each target instant message, so that the publishing users feel that the instant messages published by the publishing users are bullet screen displayed and valued, other users can know specific users participating in group chat, and the interactivity among all employees in a group is further improved.
Further, the target instant message may include not only text information, picture information, emoticon message, and the like, but also an audio message, and when the target instant message includes the target audio message, for example, the maker 57 sends out an instant message: the "wand-stick" and Worker124 send an instant message: the 'continuously making duck' is a target audio message, and in order to prevent audio-visual confusion caused by simultaneous broadcasting of a plurality of audio messages, a chat interface of a company chat group displays: the instant messages of 'give power', 'Aoli give', 'lollipop' and 'refuel and refuel', 'continue to make a rush' and 'thank you for your guild' are simultaneously displayed in the form of a bullet screen on a bullet screen presentation layer loaded on a chat interface of a company chat group, and the text instant messages of 'give power', 'Aoli give', 'lollipop' and 'refuel and refuel', 'continue to make a rush' and 'thank you for your guild' and the audio icons corresponding to the audio messages respectively corresponding to the 'lollipop' and 'continue to make a rush', for example, the target audio message: the audio icon of "wand-stick" is a trumpet and target audio message: the audio icon of "continuously making duck" is a small bubble, when a certain employee needs to know what the audio information that the small loudspeaker needs to broadcast is, the employee can select the small loudspeaker displayed on the bullet screen, and in response to the selection of the employee, the bullet screen presentation layer plays the target audio message corresponding to the small loudspeaker: the audio of the 'bar-stick' is used for realizing the bullet screen display of the target instant message with the audio message in the mode of audio icons on the bullet screen presentation layer, and the audio message corresponding to the audio icon is triggered by selecting the audio icon.
Further, after a bullet screen presentation layer is loaded on a chat interface corresponding to the company chat group to display the target instant message, the instant message published in the company chat group is continuously monitored, whether the message publishing amount in each unit time next in the company chat group is greater than a preset publishing amount threshold (5 pieces) is judged, if yes, the target instant message is displayed in a bullet screen form on the bullet screen presentation layer loaded on the chat interface while the corresponding target instant message is continuously displayed on the chat interface of the company chat group; if not, the bullet screen presentation layer is withdrawn from the chat interface of the company chat group, and only the corresponding instant messages are displayed on the chat interface of the company chat group when the corresponding instant messages are smaller than the preset release amount threshold value, so that the instant messages issued in the company chat group are continuously monitored, the instant messages are conveniently displayed on the chat interface in different unit time, or the high-density instant messages are displayed on the bullet screen presentation layer loaded on the chat interface in a bullet screen mode while the instant messages are displayed on the chat interface, and the instant messages in different forms of the monitored company chat group in different unit time are displayed.
According to another aspect of the present application, there is also provided a computer readable medium having stored thereon computer readable instructions, which, when executed by a processor, cause the processor to implement the bullet screen presenting method of instant messaging as described above.
According to another aspect of the present application, there is also provided a bullet screen presenting device for instant messages, characterized in that the device comprises:
one or more processors;
a computer-readable medium for storing one or more computer-readable instructions,
when executed by the one or more processors, cause the one or more processors to implement a bullet screen presentation method, such as the instant message described above.
Here, the detailed contents of each embodiment of the barrage presenting device for the instant message may specifically refer to the corresponding parts of the foregoing embodiment of the barrage presenting method for the instant message, and are not described herein again.
To sum up, the instant message corresponding to the target chat session is monitored; when the message distribution amount of the target chat session in unit time is larger than a preset distribution amount threshold value, loading a bullet screen presentation layer on a chat interface of the current chat session, and determining a target instant message according to the instant message corresponding to the target chat session; and displaying the current instant message corresponding to the current chat session on the chat interface, and simultaneously displaying the target instant message corresponding to the target chat session on the bullet screen presentation layer in a bullet screen mode. In the social software, when the message distribution amount of the target chat session in unit time is greater than the preset distribution amount threshold value, the current instant message corresponding to the current chat session is displayed on the original chat interface of the current chat session, and meanwhile, the high-density target instant message corresponding to the target chat session is displayed on the bullet screen presentation layer loaded on the chat interface in a bullet screen mode, so that the instant message display mode in the chat session is beyond the expectation of a user, the hot chat atmosphere of the user is increased and created, the user interactivity is enhanced, and the communication experience of the user in the chat session is further improved.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
Additionally, some portions of the present application may be applied as a computer program product, such as computer program instructions, which, when executed by a computer, may invoke or provide the method and/or solution according to the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (8)

1. A bullet screen presenting method of instant message, wherein,
the method comprises the following steps:
monitoring instant messages corresponding to the target chat session;
when the message distribution amount of the target chat session in unit time is larger than a preset distribution amount threshold, loading a bullet screen presentation layer on a chat interface of the current chat session, and determining a target instant message according to the instant message corresponding to the target chat session, wherein the current chat session is the target chat session or other chat sessions, and the target chat session and the other chat sessions are in the same instant communication tool and do not belong to the same chat session;
displaying a target instant message corresponding to the target chat session in a bullet screen form on the bullet screen presentation layer while displaying the current instant message corresponding to the current chat session on the chat interface, wherein if the current chat session is the other chat session, the displaying the target instant message corresponding to the target chat session in the bullet screen form on the bullet screen presentation layer comprises: and displaying the session identifier of the target chat session and the corresponding target instant message in a bullet screen mode on the bullet screen presentation layer, wherein the session identifier comprises a session name, a session subject and a session serial number of the chat session.
2. The method of claim 1, wherein displaying the target instant message corresponding to the target chat session in a bullet screen form on the bullet screen presentation layer comprises:
and displaying the target instant message corresponding to the target chat session and the identification information of the publishing user of the target instant message in a bullet screen form on the bullet screen presentation layer.
3. The method of claim 1, wherein,
the determining a target instant message according to the instant message corresponding to the target chat session includes:
and determining the instant message corresponding to the target instant message when the message distribution quantity in the unit time in the instant messages corresponding to the target chat session is larger than the preset distribution quantity threshold value.
4. The method of claim 3, wherein,
after the target instant message is determined, the method further comprises:
sending the target instant message to a bullet screen control;
wherein, the displaying the target instant message corresponding to the target chat session in the bullet screen form on the bullet screen presentation layer comprises: and the bullet screen control displays the target instant message corresponding to the target chat session in a bullet screen shape on the bullet screen presentation layer.
5. The method of claim 1, wherein,
the target instant message comprises a target audio message, wherein the target instant message corresponding to the target chat session is displayed in a bullet screen form on the bullet screen presentation layer, and the method comprises the following steps:
displaying an audio icon for indicating the target audio message in a bullet screen form on the bullet screen presentation layer;
and responding to the selection operation of the user on the audio icon, and playing the target audio message.
6. The method of claim 1, wherein,
the method further includes, after the target instant message corresponding to the target chat session is displayed in a bullet screen form on the bullet screen presentation layer while the current instant message corresponding to the current chat session is displayed on the chat interface, the method further includes:
and when the message distribution quantity of the target chat session in the unit time is less than or equal to the preset distribution quantity threshold value, the barrage presentation layer exits from the chat interface of the current chat session.
7. A computer readable medium having computer readable instructions stored thereon which, when executed by a processor, cause the processor to implement the method of any one of claims 1 to 6.
8. A bullet screen presenting device for instant messages, wherein,
the apparatus comprises:
one or more processors;
a non-volatile storage medium to store one or more computer-readable instructions that,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
CN202010358566.7A 2020-04-29 2020-04-29 Barrage presentation method and device for instant message Active CN111585869B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010358566.7A CN111585869B (en) 2020-04-29 2020-04-29 Barrage presentation method and device for instant message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010358566.7A CN111585869B (en) 2020-04-29 2020-04-29 Barrage presentation method and device for instant message

Publications (2)

Publication Number Publication Date
CN111585869A CN111585869A (en) 2020-08-25
CN111585869B true CN111585869B (en) 2022-09-16

Family

ID=72124975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010358566.7A Active CN111585869B (en) 2020-04-29 2020-04-29 Barrage presentation method and device for instant message

Country Status (1)

Country Link
CN (1) CN111585869B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112217713B (en) * 2020-10-13 2022-05-17 维沃移动通信有限公司 Method and device for displaying message

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303745A (en) * 2016-08-16 2017-01-04 腾讯科技(深圳)有限公司 The treating method and apparatus of barrage
CN108966032A (en) * 2018-06-06 2018-12-07 北京奇艺世纪科技有限公司 A kind of barrage social contact method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792188B (en) * 2016-12-06 2020-06-02 腾讯数码(天津)有限公司 Data processing method, device and system for live broadcast page and storage medium
CN106685800B (en) * 2016-12-19 2019-11-26 北京五八信息技术有限公司 The based reminding method and device of information
CN107426598B (en) * 2017-03-02 2020-07-31 武汉斗鱼网络科技有限公司 Bullet screen information processing method and injection module
CN108401175B (en) * 2017-12-20 2020-03-06 广州虎牙信息科技有限公司 Barrage message processing method and device, storage medium and electronic equipment
CN108347650B (en) * 2018-01-29 2020-03-06 广州虎牙信息科技有限公司 Method and device for determining interaction result, storage medium and electronic equipment
CN109729199A (en) * 2018-12-29 2019-05-07 努比亚技术有限公司 Screen display method, terminal and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303745A (en) * 2016-08-16 2017-01-04 腾讯科技(深圳)有限公司 The treating method and apparatus of barrage
CN108966032A (en) * 2018-06-06 2018-12-07 北京奇艺世纪科技有限公司 A kind of barrage social contact method and device

Also Published As

Publication number Publication date
CN111585869A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
US8700711B2 (en) Controlling delivery of notifications in real-time communications based on communication channel state
CN105554027B (en) Resource sharing method and device
US9131059B2 (en) Systems, methods, and computer programs for joining an online conference already in progress
US20130339431A1 (en) Replay of Content in Web Conferencing Environments
US10057308B2 (en) Customizable reproduction of electronic meetings
US9665575B2 (en) Synchronization of media presentation software
US20190052473A1 (en) Synchronized Accessibility for Client Devices in an Online Conference Collaboration
US20090300680A1 (en) Method and Apparatus for Displaying Interactions With Media by Members of a Social Software System
CN104995596A (en) Managing audio at the tab level for user notification and control
US9112980B2 (en) Systems and methods for selectively reviewing a recorded conference
CN103338405A (en) Screen capture application method, equipment and system
CN106105172A (en) Highlight the video messaging do not checked
CN113748425A (en) Auto-completion for content expressed in video data
CN106716356A (en) Component-specific application presentation histories
US20100100820A1 (en) User specific music in virtual worlds
WO2020233169A1 (en) Comment content display method, apparatus and device, and storage medium
CN111585869B (en) Barrage presentation method and device for instant message
CN113711618A (en) Authoring comments including typed hyperlinks referencing video content
CN106576126B (en) Audio chat management equipment and method
JP2023506364A (en) Audio messaging interface on messaging platform
CN109189293A (en) Evaluation interactive approach, device, electronic equipment and the storage medium of rich-media content
WO2020233171A1 (en) Song list switching method, apparatus and system, terminal, and storage medium
US10328336B1 (en) Concurrent game functionality and video content
CN115878242A (en) Media content display method, device, equipment, readable storage medium and product
US10320862B2 (en) Providing content analytics on delivery rate and consumption rates differentials in live online conferencing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant