CN117896341A - Message display method, device, electronic equipment and readable storage medium - Google Patents

Message display method, device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN117896341A
CN117896341A CN202410119773.5A CN202410119773A CN117896341A CN 117896341 A CN117896341 A CN 117896341A CN 202410119773 A CN202410119773 A CN 202410119773A CN 117896341 A CN117896341 A CN 117896341A
Authority
CN
China
Prior art keywords
message
session
barrage
display
interface
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.)
Pending
Application number
CN202410119773.5A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202410119773.5A priority Critical patent/CN117896341A/en
Publication of CN117896341A publication Critical patent/CN117896341A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a message display method, a message display device, electronic equipment and a readable storage medium, and belongs to the technical field of electronic equipment. The message display method comprises the following steps: displaying a session interface, wherein the session interface comprises a first session message; and displaying a first barrage message in the session interface when the second session message is acquired, wherein the first barrage message is matched with the message content of the second session message, and the second session message is associated with the first session message.

Description

Message display method, device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a message display method and device, electronic equipment and a readable storage medium.
Background
With the development of internet communication technology, users increasingly use instant messaging applications to conduct group chat.
In the related art session chat, the display mode of the session message in the session interface has the problem that the user is difficult to distinguish the session message in the session interface, so that the efficiency of browsing the session message by the user is low.
Disclosure of Invention
The embodiment of the application aims to provide a message display method, a message display device, electronic equipment and a readable storage medium, which improve the efficiency of browsing session messages for users.
In a first aspect, an embodiment of the present application provides a message display method, including: displaying a session interface, wherein the session interface comprises a first session message; and displaying a first barrage message in the session interface when the second session message is acquired, wherein the first barrage message is matched with the message content of the second session message, and the second session message is associated with the first session message.
In a second aspect, an embodiment of the present application provides a message display apparatus, including: the display module is used for displaying a session interface, and the session interface comprises a first session message; and the display module is further used for displaying the first barrage message in the session interface under the condition that the second session message is acquired, wherein the first barrage message is matched with the message content of the second session message, and the second session message is associated with the first session message.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, the program or instructions implementing the steps of the method as in the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method as in the first aspect.
In a fifth aspect, embodiments of the present application provide a chip comprising a processor and a communication interface coupled to the processor for running a program or instructions implementing the steps of the method as in the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executed by at least one processor to carry out the steps of the method as in the first aspect.
In the embodiment of the application, a session interface is displayed, wherein the session interface comprises a first session message; and displaying a first barrage message in the session interface when the second session message is acquired, wherein the first barrage message is matched with the message content of the second session message, and the second session message is associated with the first session message. Therefore, the second session message associated with the first session message can be displayed in the form of the first barrage message, so that a user can conveniently distinguish and search different messages, and the reading efficiency of the user on the messages displayed in the session interface is improved.
Drawings
FIG. 1 is a flow chart of a message display method according to some embodiments of the present application;
FIG. 2 illustrates one of the schematics of a session interface provided by some embodiments of the present application;
FIG. 3 illustrates a schematic diagram of a session interface and forwarding interface provided in some embodiments of the present application;
FIG. 4 illustrates a second session interface diagram provided in some embodiments of the application;
FIG. 5a illustrates a third illustrative view of a session interface provided in some embodiments of the application;
FIG. 5b illustrates a fourth session interface schematic provided in some embodiments of the application;
FIG. 6 illustrates a schematic block diagram of a message display apparatus provided by some embodiments of the application;
FIG. 7 illustrates a block diagram of an electronic device provided by some embodiments of the application;
Fig. 8 is a schematic diagram of a hardware structure of an electronic device according to some embodiments of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type not limited to the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The message display method, the message display device, the electronic device and the readable storage medium provided by the embodiment of the application are described in detail below with reference to fig. 1 to 8 through specific embodiments and application scenarios thereof.
In some embodiments of the present application, a message display method is provided, and fig. 1 shows a flow chart of the message display method provided in some embodiments of the present application, as shown in fig. 1, the message display method includes:
Step 102, displaying a session interface, wherein the session interface comprises a first session message;
In the embodiment of the application, the session interface is a session interface in the social application, and the session interface comprises a first session message, that is, the first session message is a session message displayed in the session interface, and the first session message may be a session message received by the electronic device or a session message sent by a user through the electronic device.
The session interface may be a group chat session interface, in which session messages of a plurality of group chat members are displayed, and the first session message may be a session message sent by another group chat member received by the local device, or may be a session message sent by editing for the local device.
And 104, displaying a first barrage message in the session interface under the condition that the second session message is acquired, wherein the first barrage message is matched with the message content of the second session message, and the second session message is associated with the first session message.
In the embodiment of the present application, the second session message is a session message associated with the first session message, and illustratively, the second session message may be a reply message to the first session message, for example, the user replies to the first session message by clicking on the first session message, and inputs the second session message according to actual requirements to form the second session message.
In the embodiment of the application, under the condition that the second session message is acquired, the second session message is converted into the first barrage message, and the first barrage message is displayed in the session interface, so that the message content of the first barrage message is matched with the message content of the second session message. That is, after the second session message is acquired, the message content of the second session message is displayed in the session interface in the form of the first barrage message. The second session message may be a session message sent by the other received user, or may be a session message input by the local user according to an actual requirement.
After the second session message is acquired, the message content of the second session message may be displayed in the session interface in the form of the first barrage message, or the second session message may be directly displayed in the session interface.
In an exemplary embodiment, when the second session message is acquired, determining a session authority of a message source of the second session message, when the session authority is a class a authority, directly displaying the second session message in the session interface, and when the session authority is a class B authority, displaying the second session message in the session interface in the form of the first barrage message.
In the embodiment of the application, the second session message is the session message associated with the first session message, so that the user can quickly determine the relationship between different session messages by looking up the first session message and the first barrage message displayed in the session interface, thereby improving the convenience of the user in browsing the session interface and the efficiency of searching the messages in the session interface.
Fig. 2 illustrates one of the schematics of the session interface provided by some embodiments of the present application, as shown in fig. 2, a first session message 202 is displayed within the session interface, and a display position of the first session message 202 corresponds to a user avatar icon. The first barrage message 204 includes the content of the conversation message and the user name and is displayed in the conversation interface in the form of a scrolling barrage. Wherein the number of the first session messages 202 is 3, each first session message 202 is associated with a plurality of second session messages, and the first barrage message 204 corresponding to the associated second session message is also displayed in the session interface.
In the embodiment of the application, a session interface is displayed, wherein the session interface comprises a first session message; and displaying a first barrage message in the session interface when the second session message is acquired, wherein the first barrage message is matched with the message content of the second session message, and the second session message is associated with the first session message. Therefore, the second session message associated with the first session message can be displayed in the form of the first barrage message, so that a user can conveniently distinguish and search different messages, and the reading efficiency of the user on the messages displayed in the session interface is improved.
In some embodiments of the application, the display area of the first barrage message at least partially overlaps the display area of the first session message.
In the embodiment of the application, the first barrage message can be displayed on the first session message in a suspending way, so that the first barrage message and the display area of the first session message in the session interface are at least partially overlapped.
Illustratively, the session interface is a group session interface and the second session message is a reply message to the first session message. The first session message is directly displayed in the session interface, after other group members or local users look up the first session message, the first session message is replied by the second session message, and then the second session message is scrolled and suspended to be displayed on the first session message in the form of a first barrage message.
As shown in FIG. 2, "what is today" in the first session message 202 is bound to "fried dough" in the first barrage message 204 and "fried chicken" are each scroll-hovered over the first session message 202.
In the embodiment of the application, the first barrage message and the display area of the first session message are set to be at least partially overlapped, so that after a user views the display areas corresponding to the first barrage message and the first session message, the association relationship between the two session messages can be rapidly determined, the user can conveniently browse and search the session messages, and the reading efficiency of the user on the messages displayed in the session interface is further improved.
In some embodiments of the application, the number of second session messages is at least two;
Displaying a first barrage message in a session interface if a second session message is acquired, including:
sequentially displaying at least two first barrage messages according to a first sequence in a session interface;
wherein the first order matches the order of receipt of the at least two second session messages.
In the embodiment of the application, the number of the second session messages is matched with the number of the first barrage messages, namely, each second session message is independently displayed in the session interface as one first barrage message. And under the condition that the number of the received session messages is at least two, the corresponding at least two first barrage messages are displayed in a rolling way, the rolling display sequence of the at least two first barrage messages is a first sequence, and the first sequence is an arrangement sequence determined according to the receiving sequence of the at least two second session messages.
As shown in fig. 2, the second session messages are illustratively arranged in the order of receipt as "fried noodles", "fried chickens", and the corresponding first barrage message 204 scrolls from left to right, so that the "fried noodles" are scrolled and displayed first in the first order of scrolling and displaying, and then the "fried chickens" are scrolled and displayed, that is, the "fried chickens" are positioned on the "fried noodles" and then are scrolled and displayed.
In the embodiment of the application, when at least two first barrage messages corresponding to at least two second session messages are displayed, the at least two first barrage messages are required to be ordered according to the receiving sequence of the at least two second session messages, so that the at least two first barrage messages are displayed in a rolling way according to the first order obtained by ordering, and a user can determine the receiving sequence of the corresponding second session messages when viewing a plurality of first barrage messages.
In some embodiments of the present application, after displaying the first barrage message in the session interface, the message display method further includes: receiving a first input for a first session message; forwarding, in response to the first input, a first session message, and a second barrage message associated with the first session message, wherein the second barrage message includes at least one of: history display barrage message, currently displayed barrage message.
In the embodiment of the application, the second barrage message is a message associated with the first session message, and the second barrage message comprises a barrage message currently displayed in the session interface and also comprises a barrage message which is not currently displayed but is displayed in a history. It should be noted that, when the second barrage message associated with the first session message is displayed in a scrolling manner in the session interface, and when there are more second barrage messages, part of the second barrage message is temporarily hidden after the scrolling display is completed.
In the embodiment of the present application, the first input is used to trigger forwarding of the first session message and the associated second barrage message, and the first input may be an operation input to the session interface, for example: gesture inputs such as long press input and short press input can be touch input to the physical key, and are not limited herein. When the first session message is forwarded through the first input trigger, not only the first session message and the second barrage message currently displayed in the session interface can be forwarded, but also the historical second barrage message can be forwarded together.
For example, in the case of forwarding the first session message, the session interface may be forwarded in a manner of a session record, that is, the receiving user can view the complete session interface, and only the first session message and the second barrage message are included in the session interface.
In the case of forwarding the first session message, the forwarding may be performed by way of a long screenshot, i.e. a long screenshot that the recipient user receives to include the first session message and the second barrage message.
Fig. 3 illustrates a schematic diagram of a session interface and a forwarding interface provided in some embodiments of the present application, as shown in fig. 3, in which a first session message 304 and a second barrage message 306 are displayed in a session interface 302 of group chat 1, wherein the second barrage message 306 includes 3 second barrage messages 306 that have been displayed in the session interface and 2 second barrage messages 306 that have not been displayed. The user clicks the forward button 310 in the session interface to forward the first session message 304 and the second barrage message 306 into the session interface 308 of group chat 2.
Illustratively, there are 20 second barrage messages in the session interface, wherein 10 second barrage messages are being displayed or historically displayed messages, and the 10 displayed second barrage messages are forwarded with the first session message. The other 10 second barrage messages are barrage messages which are not displayed temporarily, so that the 10 messages which are not displayed are not forwarded along with the first session message, and sharing of some content unknown to the user is avoided.
In the embodiment of the application, when the user needs to forward the first session message and the second barrage message related to the first session message, at least one of the second barrage message displayed in the history and the second barrage message displayed at present is forwarded along with the first session message, so that the convenience of forwarding the messages displayed in the session interface by the user is improved. And in the forwarding process, the second bullet screen information which is not displayed is not forwarded, so that sharing and forwarding of some content unknown to the user can be effectively avoided.
In some embodiments of the present application, after displaying the first barrage message in the session interface in the case where the second session message is acquired, the message display method further includes:
and under the condition that the operation times of the target operation received by the first barrage message are larger than the time threshold, canceling the display of the first barrage message, and displaying the second session message on the session interface.
In the embodiment of the application, the message content of the second session message is consistent with the message content of the first barrage message, when the operation frequency of the target operation executed by the first barrage message is greater than the frequency threshold, the first barrage message is not displayed in the session interface, and the second session message is directly displayed, wherein the second session message can be the acquired second session message or the session message obtained by converting the first barrage message. For example, the target operation may be a praise operation of the first barrage message by the session member, and when the number of times the first barrage message is subjected to the praise operation reaches a threshold, that is, the praise number of the first barrage message reaches the threshold, the second session message corresponding to the first barrage message is triggered to be displayed in the session interface. When the second session message is displayed in the session interface, the receiving time of the second session message and the receiving time of the first session message already displayed in the session interface need to be determined, and the first session message and the second session message are ordered according to the receiving time, so that the second session message and the first session message are displayed in the session interface together according to the receiving order.
Fig. 4 illustrates a second schematic diagram of a session interface provided in some embodiments of the present application, where, as shown in fig. 4, a first barrage message 402 and a first session message 404 are displayed in the session interface, and a session member corresponding to the session interface can click on the first barrage message 402 for a long time according to the first barrage message 402. When the number of praise of the first barrage message 402 exceeds the number threshold, then the first barrage message is hidden and a corresponding second session message 406 is displayed in the session interface.
In the embodiment of the application, under the condition that the operation times of the target operation executed by the first barrage message is larger than the time threshold, the message content of the first barrage message is determined to be important, and at the moment, the second session message corresponding to the first barrage message is displayed in the session interface, so that the user can conveniently view and browse the session message subsequently, and the user is prevented from missing the message.
In some embodiments of the present application, displaying the first barrage message in the session interface in the event that the second session message is acquired, includes: and displaying the first barrage message in the session interface under the condition that the second session message is acquired and the second session message does not comprise the first character, wherein the first key character comprises information.
In the embodiment of the application, under the condition that the second session message is acquired, whether the second session message is displayed in the session interface in the form of the first barrage message is determined by identifying whether the second session message comprises the first character.
Specifically, in the case where the acquired second session message includes the first character, the second session message is displayed in the session interface, and the corresponding first barrage message is not displayed. And if the acquired second session message does not comprise the first character, displaying a first barrage message corresponding to the second session message in the session interface.
Illustratively, the first character includes communication account information of the native user, such as: is the second session message "@ user a, do you eat fried chicken at night? "@ user A" is a first character, and "user A" is communication account information of a local user. The second session message is directly displayed in the session interface of the first electronic device, and the second session message is displayed after being converted into a barrage message in the session interfaces of the other electronic devices.
Illustratively, the first character may also include other characters, such as: the second session message is "important notification: the members of the group are in a meeting at 10 am in the open day, wherein the important notification is a first character, and when the first character is identified, the second session message is directly displayed in the session interface.
In the embodiment of the application, when the acquired second session message comprises the first character, the second session message is determined to be a relatively important message, and the second session message is directly displayed in the session interface and the corresponding first barrage message is not displayed in order to avoid missing the message by a local user. When the acquired second session message does not comprise the first character, displaying a first barrage message corresponding to the second session message, further facilitating the user to distinguish different message types in the session interface, and improving the convenience of reading the messages in the session interface for the user.
In some embodiments of the present application, after displaying the session interface, the message display method further includes:
Receiving a second input;
Adjusting display parameters of the first barrage message in response to the second input;
Wherein the display parameters include at least one of: display transparency, display color, scroll speed, display size.
In the embodiment of the application, the second input is used for adjusting the display parameters of the first barrage message displayed in the session interface, and the display parameters of the first barrage message comprise at least one of display transparency, display color, scrolling speed and display size. The second input may be an operational input to the session interface, for example: gesture inputs such as long press input and short press input can be touch input to the physical key, and are not limited herein.
Illustratively, a barrage adjustment control is displayed in the session interface, and a second input to the barrage adjustment control is received; in response to the second input, the display transparency, display color, scroll speed, display size are adjusted.
It should be noted that, before the first barrage message is not displayed on the session interface, the user may set the display parameters of the first barrage message, so that the first barrage message that is displayed subsequently is displayed according to the set display parameters.
In the embodiment of the application, the second input is executed, so that the display parameters of the first barrage message displayed in the session interface can be set, at least one of the display transparency, the display color, the scrolling speed and the display size can be set according to the actual demand by a user, the flexibility of setting the session interface by the user is improved, and the content displayed in the session interface meets the actual demand of the user.
In some embodiments of the present application, after displaying the session interface, the message display method further includes: sending first request information to obtain a first authority corresponding to the first request information; and displaying a third session message or a third barrage message on the session interface under the condition that the third session message is acquired based on the acquired first authority, wherein the third barrage message is matched with the message content of the third session message.
In the embodiment of the application, the third session message is a session message input by a local user. When the local user obtains the corresponding first right by sending the first request information, the third session message required to be sent into the session interface can be selected to be directly displayed in the session interface in the form of a normal session message, and the third session message can also be displayed in the session interface in the form of a third barrage message.
In the embodiment of the application, the first request information is the request information sent to the administrator user by the electronic equipment, and the administrator user can select whether to configure the corresponding first authority for the communication account information logged in by the motor electronic equipment based on the actual demand. When the communication account information logged in by the electronic equipment has the first right, the user of the electronic equipment can select to display the third session message in the session interface as a normal message or in the session interface in the form of a third barrage message through different operations.
Fig. 5a illustrates a third exemplary session interface provided in some embodiments of the present application, as shown in fig. 5a, in which a first session message 502 is displayed, and after a user presses the first session message 502 for a long time to trigger a barrage message sending function, after a third session message 508 is input in the text input box 504, the send button 506 is clicked to send. A third barrage message 510 is displayed in the session interface that matches the content of the third session message 508, the third barrage message 510 being scrolled over the first session message 502.
FIG. 5b illustrates a fourth schematic diagram of a conversation interface provided in some embodiments of the present application, as shown in FIG. 5b, in which a first conversation message 502 is displayed, the user clicks on the text input box 504, and after entering a third conversation message 508 in the text input box 504, clicks on the send button 506 to send. The third session message 508 is displayed directly in the session interface.
In the embodiment of the application, the local user can request the corresponding first authority by sending the first request information, and when the local user obtains the corresponding first authority, the sent third session message can be selected to be directly displayed in the session interface or displayed in the session interface in the form of the third barrage message, so that the user can select the display form of the sent third session message in the session interface according to the actual requirement.
In some embodiments of the present application, after displaying the first barrage message in the session interface in the case where the second session message is acquired, the message display method further includes: and sending second request information, hiding the first barrage message and displaying a second session message under the condition that the second authority corresponding to the second request information is received.
In the embodiment of the application, when the second session message is a session message sent by the local user and the second session message is displayed on the session interface in the form of the first barrage message, the local user can send the second request message to request the second authority. And under the condition that the second authority is acquired, hiding the first barrage message in the session interfaces of all session members, and displaying the second session message.
Specifically, when the user of the electronic device does not have the right to directly display the transmitted session message in the session interfaces of the rest session members, the user of the electronic device transmits a second session message including second request information, the second session message is firstly displayed in the session interface in the form of a first barrage message, after the administrator checks and passes, the second right is configured for the electronic device, at this time, the first barrage message in the session interfaces of all the session members is hidden, and the second session message transmitted by the user of the electronic device is displayed. It should be noted that, the administrator user may actively select the first barrage message displayed in the session interface, and convert the first barrage message into the second session message for display.
In the embodiment of the application, under the condition that the user of the electronic equipment does not have corresponding permission, the sent second session message is displayed in the session interface in the form of the first barrage message, after the manager user configures the corresponding second permission in response to the second request message sent by the electronic equipment, the first barrage message is hidden, and the second session message is directly displayed in the session interface, so that the user can request to convert the first barrage message sent by the user into the second session message at any time for display, and the convenience of the user for sending the session message through the session interface is improved.
In the embodiment of the application, the administrator user can configure corresponding authorities for the session members, and the second session messages sent by users with different authorities are displayed in different modes in the session interface. Illustratively, the user of the class a authority can choose to display the second session message sent by the user on the session interface in the form of the first barrage message or directly display the second session message on the session interface. The user with B-type authority can only display the second session message sent by the user on the session interface in the form of the first barrage message. The administrator user can configure and adjust the authorities of users with different types of authorities at any time, and can also switch and adjust the display forms of the first barrage message and the second session message displayed in the session interface at any time.
According to the message display method provided by the embodiment of the application, the execution main body can be a message display device. In the embodiment of the application, a message display device is taken as an example to execute a message display method.
In some embodiments of the present application, a message display apparatus 600 is provided, and fig. 6 shows a schematic block diagram of the message display apparatus provided by some embodiments of the present application. As shown in fig. 6, the message display apparatus 600 includes:
a display module 602, configured to display a session interface, where the session interface includes a first session message;
The display module 602 is further configured to display a first barrage message in the session interface if the second session message is acquired, where the first barrage message matches the message content of the second session message, and the second session message is associated with the first session message.
In the embodiment of the application, a session interface is displayed, wherein the session interface comprises a first session message; and displaying a first barrage message in the session interface when the second session message is acquired, wherein the first barrage message is matched with the message content of the second session message, and the second session message is associated with the first session message. Therefore, the second session message associated with the first session message can be displayed in the form of the first barrage message, so that a user can conveniently distinguish and search different messages, and the reading efficiency of the user on the messages displayed in the session interface is improved.
In some embodiments of the application, the display area of the first barrage message at least partially overlaps the display area of the first session message.
In the embodiment of the application, the first barrage message and the display area of the first session message are set to be at least partially overlapped, so that after a user views the display areas corresponding to the first barrage message and the first session message, the association relationship between the two session messages can be rapidly determined, the user can conveniently browse and search the session messages, and the reading efficiency of the user on the messages displayed in the session interface is further improved.
In some embodiments of the present application, the message display apparatus 600 further includes:
A receiving module for receiving a first input for a first session message;
a sending module for forwarding, in response to the first input, a first session message and a second barrage message associated with the first session message, wherein the second barrage message includes at least one of: history display barrage message, currently displayed barrage message.
In the embodiment of the application, when the user needs to forward the first session message and the second barrage message related to the first session message, at least one of the second barrage message displayed in the history and the second barrage message displayed at present is forwarded along with the first session message, so that the convenience of forwarding the messages displayed in the session interface by the user is improved. And in the forwarding process, the second bullet screen information which is not displayed is not forwarded, so that sharing and forwarding of some content unknown to the user can be effectively avoided.
In some embodiments of the present application, the display module 602 is further configured to cancel displaying the first barrage message and display the second session message on the session interface if the number of operations of the target operation received by the first barrage message is greater than the number threshold.
In the embodiment of the application, under the condition that the operation times of the target operation executed by the first barrage message is larger than the time threshold, the message content of the first barrage message is determined to be important, and at the moment, the second session message corresponding to the first barrage message is displayed in the session interface, so that the user can conveniently view and browse the session message subsequently, and the user is prevented from missing the message.
In some embodiments of the present application, the display module 602 is specifically configured to display the first barrage message in the session interface when the second session message is acquired and the second session message does not include the first character.
In the embodiment of the application, when the acquired second session message comprises the first character, the second session message is determined to be a relatively important message, and the second session message is directly displayed in the session interface and the corresponding first barrage message is not displayed in order to avoid missing the message by a local user. When the acquired second session message does not comprise the first character, displaying the first barrage message corresponding to the second session message, and not displaying the second session message, so that the user can distinguish different message types in the session interface, and the reading convenience of the user on the message in the session interface is improved.
The message display device in the embodiment of the application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. The electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a mobile internet appliance (mobile INTERNET DEVICE, MID), an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and may also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., which are not particularly limited in the embodiments of the present application.
The message display device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The message display device provided by the embodiment of the application can realize each process realized by the embodiment of the method, and in order to avoid repetition, the description is omitted here.
Optionally, the embodiment of the present application further provides an electronic device, which includes the message display device in any of the embodiments, so that the electronic device has all the beneficial effects of the message display device in any of the embodiments, and will not be described in detail herein.
Optionally, an embodiment of the present application further provides an electronic device, fig. 7 shows a block diagram of a structure of the electronic device according to an embodiment of the present application, as shown in fig. 7, an electronic device 700 includes a processor 702, a memory 704, and a program or an instruction stored in the memory 704 and capable of running on the processor 702, where the program or the instruction implements each process of the above-mentioned message display method embodiment when executed by the processor 702, and the process can achieve the same technical effects, and is not repeated herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, and processor 810.
Those skilled in the art will appreciate that the electronic device 800 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 810 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein, the display unit 806 is configured to display a session interface, where the session interface includes a first session message;
the display unit 806 is further configured to display a first barrage message in the session interface if the second session message is acquired, where the first barrage message matches the message content of the second session message, and the second session message is associated with the first session message.
In the embodiment of the application, a session interface is displayed, wherein the session interface comprises a first session message; and displaying a first barrage message in the session interface when the second session message is acquired, wherein the first barrage message is matched with the message content of the second session message, and the second session message is associated with the first session message. Therefore, the second session message associated with the first session message can be displayed in the form of the first barrage message, so that a user can conveniently distinguish and search different messages, and the reading efficiency of the user on the messages displayed in the session interface is improved.
Further, the display area of the first barrage message at least partially overlaps the display area of the first session message.
In the embodiment of the application, the first barrage message and the display area of the first session message are set to be at least partially overlapped, so that after a user views the display areas corresponding to the first barrage message and the first session message, the association relationship between the two session messages can be rapidly determined, the user can conveniently browse and search the session messages, and the reading efficiency of the user on the messages displayed in the session interface is further improved.
Further, a user input unit 807 for receiving a first input of a first session message;
a processor 810 for forwarding, in response to the first input, a first session message, and a second barrage message associated with the first session message, wherein the second barrage message includes at least one of: history display barrage message, currently displayed barrage message.
In the embodiment of the application, when the user needs to forward the first session message and the second barrage message related to the first session message, at least one of the second barrage message displayed in the history and the second barrage message displayed at present is forwarded along with the first session message, so that the convenience of forwarding the messages displayed in the session interface by the user is improved. And in the forwarding process, the second bullet screen information which is not displayed is not forwarded, so that sharing and forwarding of some content unknown to the user can be effectively avoided.
Further, the display unit 806 is further configured to cancel displaying the first barrage message and display the second session message on the session interface if the number of operations of the target operation received by the first barrage message is greater than the number threshold.
In the embodiment of the application, under the condition that the operation times of the target operation executed by the first barrage message is larger than the time threshold, the message content of the first barrage message is determined to be important, and at the moment, the second session message corresponding to the first barrage message is displayed in the session interface, so that the user can conveniently view and browse the session message subsequently, and the user is prevented from missing the message.
Further, the display unit 806 is specifically configured to display the first barrage message in the session interface when the second session message is acquired and the second session message does not include the first character.
In the embodiment of the application, when the acquired second session message comprises the first character, the second session message is determined to be a relatively important message, and the second session message is directly displayed in the session interface and the corresponding first barrage message is not displayed in order to avoid missing the message by a local user. When the acquired second session message does not comprise the first character, displaying the first barrage message corresponding to the second session message, and not displaying the second session message, so that the user can distinguish different message types in the session interface, and the reading convenience of the user on the message in the session interface is improved.
It should be appreciated that in embodiments of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, with the graphics processor 8041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes at least one of a touch panel 8071 and other input devices 8072. Touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two parts, a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 809 can be used to store software programs as well as various data. The memory 809 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 809 may include volatile memory or nonvolatile memory, or the memory 809 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static random access memory (STATIC RAM, SRAM), dynamic random access memory (DYNAMIC RAM, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate synchronous dynamic random access memory (double DATA RATE SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous link dynamic random access memory (SYNCH LINK DRAM, SLDRAM), and direct random access memory (DRRAM). Memory 809 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 810.
The embodiment of the application also provides a readable storage medium, and the readable storage medium stores a program or an instruction, which when executed by a processor, implements each process of the above method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is provided herein.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as computer readable memory ROM, random access memory RAM, magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the processes of the message display method embodiment can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the message display method embodiment described above, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, apparatus, article or device that comprises the element. Furthermore, it should be noted that the apparatus and the scope of the apparatus in the embodiments of the present application are not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described apparatus may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment device may be implemented by means of software plus a necessary general hardware platform, or may be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in part in the form of a computer software product stored on a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the means of the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (12)

1. A message display method, characterized in that the message display method comprises:
Displaying a session interface, wherein the session interface comprises a first session message;
And displaying a first barrage message in the session interface under the condition that a second session message is acquired, wherein the first barrage message is matched with the message content of the second session message, and the second session message is associated with the first session message.
2. The message display method of claim 1, wherein the display area of the first barrage message at least partially overlaps the display area of the first session message.
3. The message display method of claim 1, wherein after the first barrage message is displayed in the session interface, the message display method further comprises:
receiving a first input for the first session message;
Forwarding, in response to the first input, the first session message and a second barrage message associated with the first session message, wherein the second barrage message includes at least one of: history display barrage message, currently displayed barrage message.
4. A message display method according to any one of claims 1 to 3, wherein, in the case where the second session message is acquired, after displaying the first barrage message in the session interface, the message display method further comprises:
And under the condition that the operation times of the target operation received by the first barrage message are larger than a time threshold, canceling to display the first barrage message, and displaying the second session message on the session interface.
5. A message display method according to any one of claims 1 to 3, wherein in the event that a second session message is acquired, displaying a first barrage message in the session interface comprises: and displaying a first barrage message in the session interface under the condition that the second session message is acquired and the second session message does not comprise the first character.
6. A message display device, the message display device comprising:
the display module is used for displaying a session interface, wherein the session interface comprises a first session message;
the display module is further configured to display a first barrage message in the session interface when a second session message is acquired, where the first barrage message matches a message content of the second session message, and the second session message is associated with the first session message.
7. The message display apparatus of claim 6, wherein the display area of the first barrage message at least partially overlaps the display area of the first session message.
8. The message display apparatus according to claim 6, wherein the message display apparatus further comprises:
A receiving module for receiving a first input for the first session message;
A sending module, configured to forward, in response to the first input, the first session message, and a second barrage message associated with the first session message, where the second barrage message includes at least one of: history display barrage message, currently displayed barrage message.
9. The message display apparatus according to any one of claims 6 to 8, wherein,
And the display module is further used for canceling the display of the first barrage message and displaying the second session message on the session interface under the condition that the operation times of the target operation received by the first barrage message are greater than a time threshold.
10. The message display apparatus according to any one of claims 6 to 8, wherein,
The display module is specifically configured to display a first barrage message in the session interface when a second session message is acquired and the second session message does not include the first character.
11. An electronic device, comprising:
a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method of any one of claims 1 to 5.
12. A readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to any of claims 1 to 5.
CN202410119773.5A 2024-01-29 2024-01-29 Message display method, device, electronic equipment and readable storage medium Pending CN117896341A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410119773.5A CN117896341A (en) 2024-01-29 2024-01-29 Message display method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410119773.5A CN117896341A (en) 2024-01-29 2024-01-29 Message display method, device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117896341A true CN117896341A (en) 2024-04-16

Family

ID=90639393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410119773.5A Pending CN117896341A (en) 2024-01-29 2024-01-29 Message display method, device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117896341A (en)

Similar Documents

Publication Publication Date Title
CN113141293B (en) Message display method and device and electronic equipment
CN114500432A (en) Session message transceiving method and device, electronic equipment and readable storage medium
CN111857504A (en) Information display method and device, electronic equipment and storage medium
WO2023125157A1 (en) Message sending method and apparatus, and electronic device and medium
CN112947807A (en) Display method and device and electronic equipment
CN114385049A (en) Message processing method, device, equipment and storage medium
CN115357158A (en) Message processing method and device, electronic equipment and storage medium
CN113285866B (en) Information sending method and device and electronic equipment
US20240089223A1 (en) Information display method and apparatus, and electronic device
CN114443203A (en) Information display method and device, electronic equipment and readable storage medium
CN114928585B (en) Message processing method, device, electronic equipment and readable storage medium
CN115002056B (en) Message processing method, device, electronic equipment and readable storage medium
CN114374663B (en) Message processing method and message processing device
CN115412634A (en) Message display method and device
CN117896341A (en) Message display method, device, electronic equipment and readable storage medium
CN114489420A (en) Voice information sending method and device and electronic equipment
CN114866835A (en) Bullet screen display method, bullet screen display device and electronic equipment
CN115412524B (en) Message processing method, device, electronic equipment and medium
CN113691439B (en) Content sharing method and device
CN113037618B (en) Image sharing method and device
CN116016756A (en) Information processing method, apparatus, electronic device, and readable storage medium
CN117909017A (en) Display method, display device and electronic equipment
CN117215456A (en) Display method and device and electronic equipment
CN114553805A (en) Message display method and device
CN116627676A (en) Schedule creation method and device

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