Session content display method and device and electronic terminal

文档序号:7081 发布日期:2021-09-17 浏览:33次 中文

1. The display method of the conversation content is characterized in that a terminal provides a graphical user interface, the graphical user interface comprises a first conversation interface, and the first conversation interface is used for displaying first conversation content chatting with a first conversation object; the method comprises the following steps:

under the first session interface, responding to a receiving event of second session content sent aiming at a second session object, and displaying a message prompt control in the first session interface, wherein a second object identifier corresponding to the second session object is displayed in the message prompt control;

displaying the second session content in response to a specified operation for the second object identification.

2. The method of claim 1, wherein the step of displaying the second session content in response to the specified operation identified for the second object comprises:

and responding to a specified operation aiming at the second object identification, switching the first conversation interface to a second conversation interface, and displaying the second conversation content on the second conversation interface.

3. The method of claim 1, wherein the step of displaying the second session content in response to the specified operation identified for the second object comprises:

displaying the second session content in the first session interface in response to a specified operation identified for the second object.

4. The method of claim 3, further comprising:

responding to a triggering operation aiming at the second session content under the first session interface, and displaying a reply window;

determining reply content for the second session content in response to a reply operation in the reply window;

and sending the reply content to the second session object.

5. The method of claim 1, wherein the number of the second session objects is plural; the step of displaying a message prompt control in the first session interface in response to a receiving event of second session content sent for a second session object under the first session interface includes:

displaying a message prompt control in the first session interface in response to a receiving event of a plurality of second session contents sent for a plurality of the second session objects under the first session interface;

and displaying a plurality of second object identifications corresponding to the second session objects in the message prompt control.

6. The method of claim 5, wherein the step of displaying the second session content in response to the specified operation identified for the second object comprises:

in response to a selection operation for a target second object identifier of the plurality of second object identifiers, displaying target second session content;

and the target second object identification corresponds to a target second session object, and the target second session content is sent by the target second session object.

7. The method of claim 6, wherein the step of displaying the target second session content in response to the selection operation for the target second object identifier of the plurality of second object identifiers comprises:

and responding to the selection operation of a target second object identifier in the plurality of second object identifiers, displaying target second session content, and displaying other second object identifiers in the plurality of second object identifiers except the target second object identifier in the message prompt control.

8. The method of claim 6, wherein the selecting operation comprises any one or more of:

clicking operation aiming at the target second object identifier, sliding operation aiming at the target second object identifier, and the touch operation duration aiming at the target second object identifier exceeds a preset touch duration.

9. The method of claim 5, wherein a composite object identifier corresponding to a plurality of second session objects is displayed in the message prompt control; the method further comprises the following steps:

and responding to the opening operation aiming at the comprehensive object identification, and displaying second object identifications respectively corresponding to the second session objects.

10. The method of claim 5, wherein a first portion of the second object identifiers corresponding to a first portion of the second session objects in the plurality of second session objects are displayed in the message prompt control; the method further comprises the following steps:

responding to the dragging operation aiming at the first part of second object identification, and displaying a second part of second object identification corresponding to the dragging result; and the dragging operation corresponds to the dragging result.

11. The method of claim 5, wherein the step of displaying a message prompt control in the first session interface in response to a receiving event of a plurality of second session contents sent for a plurality of the second session objects under the first session interface comprises:

under the first session interface, responding to a receiving event of the current second session content sent aiming at the current second session object, and displaying a message prompt control containing the current second object identification in the first session interface; wherein the current second session object corresponds to the current second object identifier;

under the first session interface, in response to a receiving event of the latest second session content sent aiming at the latest second session object, determining the current second object identifier as a historical second object identifier, and switching the historical second object identifier to the latest second object identifier corresponding to the latest second session object in the message prompt control.

12. The method according to claim 11, wherein an extensible prompt identifier and the latest second object identifier are displayed in the message prompt control, and the extensible prompt identifier is used for indicating that other second object identifiers except the latest second object identifier can be displayed in an extensible form; the method further comprises the following steps:

and displaying all the second object identifications in response to the unfolding operation aiming at the unfoldable prompt identifications.

13. The method of claim 1, wherein the step of displaying a message prompt control in the first session interface in response to a receiving event of second session content sent for a second session object under the first session interface further comprises:

and under the first session interface, responding to a second session content re-receiving event sent by the second session object, and changing the display state of the second object identifier in the message prompt control.

14. A display device of conversation contents, characterized in that, a graphic user interface is provided by a terminal, the graphic user interface comprises a first conversation interface, the first conversation interface is used for displaying first conversation contents chatting with a first conversation object; the device comprises:

the first display module is used for responding to a receiving event of second session content sent aiming at a second session object under the first session interface and displaying a message prompt control in the first session interface, wherein a second object identifier corresponding to the second session object is displayed in the message prompt control;

and the second display module is used for responding to the specified operation aiming at the second object identification and displaying the second conversation content.

15. An electronic terminal comprising a memory and a processor, the memory having stored thereon a computer program operable on the processor, wherein the processor, when executing the computer program, performs the steps of the method of any of claims 1 to 13.

16. A computer readable storage medium having stored thereon computer executable instructions which, when invoked and executed by a processor, cause the processor to execute the method of any of claims 1 to 13.

Background

In many existing terminal chat software, when a user chats with a certain person in a separate conversation interface, if a newly-sent message of the other person is received, a vibration prompt is provided to prompt the user that the other person sends the new message. For example, many chat software currently receive a new message in a manner of vibrating and displaying the number of new messages in the upper left corner of the conversation interface, so as to achieve the purpose of reminding the user.

However, for the existing prompting method in the conversation, the user acquires less related information of the new message, and if the conversation content of the new message is more urgent than the current conversation content, the more important conversation is easily missed.

Disclosure of Invention

The application aims to provide a conversation content display method, a conversation content display device and an electronic terminal, so as to relieve the technical problem that the related information of a new message acquired by a user is less in the existing conversation prompting mode.

In a first aspect, an embodiment of the present application provides a method for displaying session content, where a terminal provides a graphical user interface, where the graphical user interface includes a first session interface, and the first session interface is used to display first session content chatting with a first session object; the method comprises the following steps:

under the first session interface, responding to a receiving event of second session content sent aiming at a second session object, and displaying a message prompt control in the first session interface, wherein a second object identifier corresponding to the second session object is displayed in the message prompt control;

displaying the second session content in response to a specified operation for the second object identification. In one possible implementation, the step of displaying the second session content in response to the specified operation for the second object identifier includes:

and responding to a specified operation aiming at the second object identification, switching the first conversation interface to a second conversation interface, and displaying the second conversation content on the second conversation interface.

In one possible implementation, the step of displaying the second session content in response to the specified operation for the second object identifier includes:

displaying the second session content in the first session interface in response to a specified operation identified for the second object.

In one possible implementation, the method further comprises:

responding to a triggering operation aiming at the second session content under the first session interface, and displaying a reply window;

determining reply content for the second session content in response to a reply operation in the reply window;

and sending the reply content to the second session object.

In one possible implementation, the number of the second session objects is multiple; the step of displaying a message prompt control in the first session interface in response to a receiving event of second session content sent for a second session object under the first session interface includes:

displaying a message prompt control in the first session interface in response to a receiving event of a plurality of second session contents sent for a plurality of the second session objects under the first session interface;

and displaying a plurality of second object identifications corresponding to the second session objects in the message prompt control.

In one possible implementation, the step of displaying the second session content in response to the specified operation for the second object identifier includes:

in response to a selection operation for a target second object identifier of the plurality of second object identifiers, displaying target second session content;

and the target second object identification corresponds to a target second session object, and the target second session content is sent by the target second session object.

In one possible implementation, the step of displaying the target second session content in response to the selection operation for the target second object identifier in the plurality of second object identifiers includes:

and responding to the selection operation of a target second object identifier in the plurality of second object identifiers, displaying target second session content, and displaying other second object identifiers in the plurality of second object identifiers except the target second object identifier in the message prompt control.

In one possible implementation, the selecting operation includes any one or more of:

clicking operation aiming at the target second object identifier, sliding operation aiming at the target second object identifier, and the touch operation duration aiming at the target second object identifier exceeds a preset touch duration.

In one possible implementation, a plurality of integrated object identifiers corresponding to the second session object sets are displayed in the message prompt control; the method further comprises the following steps:

and responding to the opening operation aiming at the comprehensive object identification, and displaying second object identifications respectively corresponding to the second session objects.

In one possible implementation, a first part of second object identifications corresponding to a first part of second session objects in a plurality of second session objects are displayed in the message prompt control; the method further comprises the following steps:

responding to the dragging operation aiming at the first part of second object identification, and displaying a second part of second object identification corresponding to the dragging result; and the dragging operation corresponds to the dragging result.

In one possible implementation, the step of displaying a message prompt control in the first session interface in response to a receiving event of a plurality of second session contents sent for a plurality of the second session objects under the first session interface includes:

under the first session interface, responding to a receiving event of the current second session content sent aiming at the current second session object, and displaying a message prompt control containing the current second object identification in the first session interface; wherein the current second session object corresponds to the current second object identifier;

under the first session interface, in response to a receiving event of the latest second session content sent aiming at the latest second session object, determining the current second object identifier as a historical second object identifier, and switching the historical second object identifier to the latest second object identifier corresponding to the latest second session object in the message prompt control.

In one possible implementation, an extensible prompt identifier and the latest second object identifier are displayed in the message prompt control, wherein the extensible prompt identifier is used for indicating that other second object identifiers except the latest second object identifier can be displayed in an extensible form; the method further comprises the following steps:

and displaying all the second object identifications in response to the unfolding operation aiming at the unfoldable prompt identifications.

In one possible implementation, after the step of displaying a message prompt control in the first session interface in response to a receiving event of the second session content sent by the second session object under the first session interface, the method further includes:

and under the first session interface, responding to a second session content re-receiving event sent by the second session object, and changing the display state of the second object identifier in the message prompt control.

In a second aspect, a display device for session content is provided, which provides a graphical user interface through a terminal, where the graphical user interface includes a first session interface for displaying first session content chatting with a first session object; the device comprises:

the first display module is used for responding to a receiving event of second session content sent aiming at a second session object under the first session interface and displaying a message prompt control in the first session interface, wherein a second object identifier corresponding to the second session object is displayed in the message prompt control;

and the second display module is used for responding to the specified operation aiming at the second object identification and displaying the second conversation content.

In a third aspect, an embodiment of the present application further provides an electronic terminal, which includes a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor executes the computer program to implement the method in the first aspect.

In a fourth aspect, this embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, which, when invoked and executed by a processor, cause the processor to perform the method of the first aspect.

The embodiment of the application brings the following beneficial effects:

according to the conversation content display method and device and the electronic terminal, the message prompt control comprising the second object identification can be displayed in the first conversation interface in response to the receiving event of the second conversation content sent by the second conversation object under the first conversation interface chatting with the first conversation object, and then the second conversation content can be displayed in response to the specified operation aiming at the second object identification. According to the scheme, when a new message sent by other objects is received in the chat process with the single session interface of the current session object, the object identification corresponding to the other session object is displayed in the single session interface of the current session object, the identity of the object sending the new message can be quickly reminded, a user can conveniently and quickly judge whether the new message is more urgent than the current session, the more important session is avoided being missed, the technical problem that the related information of the new message obtained by the user is less due to a prompt mode in the existing session is solved, the session content of the new message can be displayed through the specified operation of the object identification, the session conversion path is reduced, and the message reminding and viewing efficiency is improved.

Drawings

In order to more clearly illustrate the detailed description of the present application or the technical solutions in the prior art, the drawings needed to be used in the detailed description of the present application or the prior art description will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.

Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;

fig. 2 shows a schematic structural diagram of a mobile phone provided in an embodiment of the present application;

fig. 3 is a schematic view of a usage scenario of an electronic terminal according to an embodiment of the present application;

fig. 4 is a schematic flowchart of a session content display method according to an embodiment of the present application;

FIG. 5 is a schematic diagram of an electronic terminal displaying a graphical user interface provided by an embodiment of the present application;

FIG. 6 is a schematic diagram of an electronic terminal displaying another graphical user interface provided by an embodiment of the present application;

FIG. 7 is a schematic diagram of an electronic terminal displaying another graphical user interface provided by an embodiment of the present application;

FIG. 8 is a schematic diagram of an electronic terminal displaying another graphical user interface provided by an embodiment of the present application;

FIG. 9 is a schematic diagram of an electronic terminal displaying another graphical user interface provided by an embodiment of the present application;

fig. 10 is a schematic structural diagram of a session content display apparatus according to an embodiment of the present application.

Detailed Description

To make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

The terms "comprising" and "having," and any variations thereof, as referred to in the embodiments of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.

At present, a plurality of mobile phone end chatting software exist, when a user chats with a certain person in a separate conversation interface and receives a new message sent by other people, only a vibration prompt is provided, and the identity of a sender of the new message is not clear. For example, many chat software currently receive a new message in a manner of vibrating and displaying the number of new messages in the upper left corner of the conversation interface, so as to achieve the purpose of reminding the user. However, with the existing session display method, the user has less information related to new messages, and the user cannot know who sends the new message, so that whether the new message is more urgent than the current session or not is more urgent, and more important sessions are easily missed.

Moreover, if switching to a new session is desired, the session list must be returned and the session clicked into the new session chat interface, resulting in a long interaction process path from the current session interface to the new session interface. Furthermore, in the prior art, the user can invoke the left-right switchable session by pressing the blank area for a long time, but the disadvantages are that the operation is relatively unclear and is not easy to trigger, the operation cost is as much as that of returning the list and then entering the session, and the interaction process path from the current session interface to the new session interface is relatively long, so that the user cannot switch to the new session conveniently and quickly.

Based on this, the embodiment of the application provides a display method and device of conversation content, and an electronic terminal, by which the technical problem that the related information of a new message acquired by a user is less due to the existing prompting mode in a conversation can be alleviated.

The display method of the conversation content in one embodiment of the disclosure can be operated on the electronic terminal. The electronic terminal comprises a touch screen and a processor, wherein the touch screen is used for presenting a graphical user interface and receiving operation aiming at the graphical user interface.

For example, as shown in fig. 1, fig. 1 is a schematic view of an application scenario provided in the embodiment of the present application. The application scenario may include an electronic terminal (e.g., a cell phone 102) and a server 101, and the electronic terminal may communicate with the server 101 through a wired network or a wireless network. The electronic terminal is used for running a virtual desktop, and can interact with the server 101 through the virtual desktop, so that a conversation such as real-time communication and chat with a user (conversation object) corresponding to another electronic terminal is realized.

The electronic terminal of the embodiment is described by taking the mobile phone 102 as an example. The handset 102 includes Radio Frequency (RF) circuitry 110, memory 120, a touch screen 130, a processor 140, and the like. Those skilled in the art will appreciate that the handset configuration shown in fig. 2 is not intended to be limiting and may include more or fewer components than those shown, or may combine certain components, or split certain components, or arranged in different components. Those skilled in the art will appreciate that the touch screen 130 is part of a User Interface (UI) and that the cell phone 102 may include fewer than or the same User Interface as illustrated.

The RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.

The memory 120 may be used to store software programs and modules, and the processor 140 executes various functional applications and data processing of the handset 102 by executing the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the stored data area may store data created from use of the handset 102, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

The touch screen 130 may be used to display a graphical user interface and receive user operations with respect to the graphical user interface. A particular touch screen 130 may include a display panel and a touch panel. The Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may collect contact or non-contact operations of a user on or near the touch panel (for example, as shown in fig. 3, operations of the user on or near the touch panel using any suitable object or accessory such as a finger 103, a stylus pen, etc.), and generate preset operation instructions. In addition, the touch panel may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction and gesture of a user, detects signals brought by touch operation and transmits the signals to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into information that can be processed by the processor, sends the information to the processor 140, and receives and executes a command sent by the processor 140. In addition, the touch panel may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, a surface acoustic wave, and the like, and may also be implemented by any technology developed in the future. Further, the touch panel may cover the display panel, a user may operate on or near the touch panel covered on the display panel according to a graphical user interface displayed by the display panel, the touch panel detects an operation thereon or nearby and transmits the operation to the processor 140 to determine a user input, and the processor 140 provides a corresponding visual output on the display panel in response to the user input. In addition, the touch panel and the display panel can be realized as two independent components or can be integrated.

The processor 140 is the control center of the handset 102, connects various parts of the entire handset using various interfaces and lines, and performs various functions and processes of the handset 102 by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the handset.

Embodiments of the present application are further described below with reference to the accompanying drawings.

Fig. 4 is a flowchart illustrating a method for displaying session content according to an embodiment of the present application.

Wherein the method can be applied to a terminal (e.g., the handset 102 shown in fig. 2) capable of presenting a graphical user interface, the graphical user interface being provided by the terminal and comprising a first session interface (e.g., the first session interface for conducting a separate chat with object a as shown in fig. 5) for displaying first session content for separately chatting with a first session object (e.g., object a).

As shown in fig. 4, the method includes:

step S410, in response to the receiving event of the second session content sent by the second session object in the first session interface, displaying a message prompt control in the first session interface.

And displaying a second object identifier corresponding to the second session object in the message prompt control. The message prompt control, as a function control for reminding of receiving a new message, can be displayed at a specified position in the first session interface. As an alternative embodiment, the message prompting control can be a floating pop frame or a floating pop window, and the transparency of the message prompting control can be set according to actual requirements. It should be noted that, in the present disclosure, the transparency of the message prompt control is not specifically limited, and after the transparency of the message prompt control is set to exceed a certain threshold, the display of the message prompt control in the first session interface appears to be only displayed with the second object identifier.

As a possible embodiment, the second session object may be an object specified by the user or an object that is statistically more closely related to the user. For example, in this step, not all chat objects send messages but only important clients and friends have a prompt for displaying the identifier.

The session content sent by the second session object may be understood as the session content sent by the second session object to the local terminal. In practical applications, the second session content may be displayed in the graphical user interface in whole or in part.

It should be noted that the second object identifier includes, but is not limited to, a user avatar, and may also be an object identifier such as a user name. The display position of the second object identifier includes, but is not limited to, the right side in the graphical user interface, and may be the left side, the upper side, the lower side, etc. in the graphical user interface. The one-handed operation of more users may be facilitated if the display position of the second object identifier is on the right side.

In one possible implementation, when the graphical user interface displays the first session interface chatting with the object a (the first session object) alone, if a new message (the second session content) is received from the session object B (the second session object), the reminder information about the session object B (the second session object) can pop up to the right in the first session interface in the form of a floating box or a floating popup (i.e., a message prompt control), as shown in fig. 6, where a second object identifier corresponding to the session object B (the second session object) can be displayed, and the second object identifier can be a user avatar of the session object B. By adding the message prompt control in the form of the floating bullet frame in the graphical user interface for reminding, a user of the local terminal can quickly know that a sender of a new message is a session object B.

Step S420, in response to the designation operation for the second object identifier, displaying the second session content.

In practical applications, the designated operation includes, but is not limited to, single click, double click, long press, slide, drag, and other different operation modes.

For example, as shown in fig. 6, the initial graphical user interface displays a first session interface for chatting with the object a (first session object) separately, at this time, the second session content received from the session object B (second session object) may display a second object identifier under the first session interface, and if the local user clicks the second object identifier corresponding to the session object B (second session object) (e.g., the user avatar of the session object B), the second session content sent from the object B (second session object) may be displayed immediately, so that the user may quickly view the second session content.

In the embodiment of the application, when a new message sent by other objects is received in the chat process with the independent session interface of the current session object, the object identifier corresponding to the other session object is displayed in the independent session interface of the current session object, so that the identity of the object sending the new message can be quickly reminded, a user can conveniently and quickly judge whether the new message is more urgent than the current session, the more important session is avoided being missed, the technical problem that the related information of the new message obtained by the user is less due to the prompt mode in the existing session is solved, the session content of the new message can be displayed through the specified operation of the object identifier, the session conversion path is reduced, and the message reminding and viewing efficiency is improved.

The above steps are described in detail below.

In some embodiments, the display manner for displaying the second session content may include a wide variety. As an example, the step S420 may specifically include the following steps:

and a) responding to the specified operation aiming at the second object identification, switching the first conversation interface to the second conversation interface, and displaying the second conversation content on the second conversation interface.

Wherein the second session interface is configured to display second session content for separately chatting with a second session object (e.g., object B).

In the embodiment of the application, the terminal can directly jump from the first conversation interface to the second conversation interface, so that the direct switching from the first conversation content to the second conversation content is realized, and the convenient and fast switching of different conversation contents is further completed. The conversation interface can be switched to the conversation interface of the new message conveniently and rapidly through the appointed operation of the object identification, the conversation object list does not need to be returned, conversation switching paths are reduced, and message reminding and checking efficiency is improved.

As another example, the step S420 may specifically include the following steps:

and b), responding to the specified operation aiming at the second object identification, and displaying the second session content in the first session interface.

The terminal does not need to switch from the first session interface to the second session interface, and can also realize the rapid display of the second session content sent by the second session object under the first session interface, so that the user can conveniently and rapidly check the second session content in time.

Based on the step b), the method can further comprise the following steps:

step c), responding to the triggering operation aiming at the second conversation content in the first conversation interface, and displaying a reply window;

step d), responding to the reply operation in the reply window, and determining reply content aiming at the second session content;

and e), sending the reply content to the second session object.

In practical applications, a fast reply to a message may also be implemented under the first session interface, in which case a switch to the second session interface may not be necessary. For example, after the user clicks, long-clicks, or double-clicks on the avatar of object B (second object identifier), the second session content for the separate chat with object B (second session object) may be displayed in a smaller reply window in the separate chat interface with session object a (first session interface), as shown in fig. 7.

As a possible implementation manner, the terminal may hide the reply window and the content of the second session after sending the reply content with the object B (the second session object), which is equivalent to resuming the session with the object a (the first session object).

The reply window can be displayed through the triggering operation aiming at the second conversation content under the first conversation interface, and then the reply operation aiming at the second conversation content and the reply content sent to the second conversation object can be realized, so that the user can more conveniently and rapidly chat with the second conversation object under the condition of not influencing the first conversation interface.

In some embodiments, if there are a plurality of second session objects sending session content to the local terminal, a plurality of second object identifiers corresponding to the second session objects may be displayed in the graphical user interface of the local terminal at the same time. As an example, the number of the second session objects may be plural; the step S410 may include the following steps:

and f), under the first session interface, responding to a receiving event of a plurality of second session contents sent aiming at a plurality of second session objects, and displaying a message prompt control in the first session interface.

And displaying second object identifications corresponding to the plurality of second session objects in the message prompt control.

In practical application, if a user sends and receives a session message (first session content) to and from a current session object (first session object) under a current session interface (first session interface), and a plurality of session objects (second session objects) send new messages (second session content), identifiers (second object identifiers) of the plurality of session objects can be simultaneously displayed in the current session interface (first session interface) to remind the plurality of session objects of sending the new messages, and the session objects can be selected from a plurality of unread session objects to perform quick skip, so that reminding omission of the session objects (second session objects) corresponding to the new messages is avoided.

Based on step f) above, for the plurality of second session objects, a target second session object from which the session content is to be displayed may be selected. As an example, the step S420 may include the following steps:

and g), responding to the selection operation of the target second object identifier in the plurality of second object identifiers, and displaying the target second conversation content.

The target second object identification corresponds to a target second session object, and the target second session content is sent by the target second session object. In this step, for example, as for the displayed avatar of session object a, avatar of session object B, and avatar of session object C (multiple second object identifiers), if the user clicks the avatar of session object a (target second object identifier), the target second session content sent by session object a is displayed quickly.

In the embodiment of the application, when a plurality of new message conversation objects are received and reminded, the target conversation object can be selected from the plurality of new message conversation objects to rapidly display the conversation content, more conversation objects can correspond to more reminders, the conversation objects can be selected, corresponding conversation details can be conveniently displayed, the skip path is reduced, and the conversation display efficiency is improved.

Based on the step g), even if the conversation content in the conversation area is switched, the unselected second object identifier can still be continuously displayed in the graphical user interface. As an example, the step g) may include the steps of:

and h), responding to the selection operation of the target second object identifier in the plurality of second object identifiers, displaying the target second conversation content, and displaying other second object identifiers in the plurality of second object identifiers except the target second object identifier in the message prompt control.

In practical applications, if the avatar of the session object B and the avatar of the session object C (other second object identifiers) are not selected, after the task of displaying the session content of the session object a (target second object identifier) (i.e., displaying the target second session content) is completed, the avatars of the session object B and the session object C may also be continuously displayed, so as to achieve a reminding effect for new messages of the session object B and the session object C, and to provide options of the session object B and the session object C at any time.

Illustratively, after the conversation content corresponding to the selected conversation object is displayed, the unread new message prompt control still exists on the right side of the graphical user interface in the form of a floating bullet box, and the head portrait of the unread message sending object is displayed in the floating bullet box. For example, if new messages from the session object B and the session object C are received, after the session interface corresponding to the session object B is switched, the new message of the unread session object C is still displayed on the right side of the graphical user interface, so that the effect of reminding at any moment is achieved, and omission of the unread message is avoided.

Based on the step g), the operation mode of the selection operation can be various. As an example, the selecting operation in step g) comprises any one or more of:

the click operation aiming at the target second object identifier, the sliding operation aiming at the target second object identifier and the touch operation duration aiming at the target second object identifier exceed the preset touch duration.

In practical application, the selection process of the target second object identifier can be completed by sliding, clicking, long pressing and the like on the selected target second object identifier. The predetermined touch duration defined by the long button may be 0.3 second, 0.5 second, 1 second, or the like. Furthermore, the sliding operation may further include an operation of dragging the target second object identifier out of the float frame.

Through various different forms of selection operations, the selection of the target second object identifier can be more flexible and convenient, and the session details corresponding to the selection operations can be quickly jumped to.

Based on the step f), if the number of the second object identifiers is large, the second object identifiers can be displayed in different modes, so that the display space of the graphical user interface is saved.

As an example, the message prompt control displays a comprehensive object identifier corresponding to a plurality of second session object sets; the method may further comprise the steps of:

and k), responding to the opening operation aiming at the comprehensive object identification, and displaying second object identifications respectively corresponding to the plurality of second session objects.

The second session objects send a plurality of second session contents, that is, different second session objects respectively send different second session contents.

In practical application, the integrated object identifier may be an icon formed by overlapping a plurality of second object identifiers. For example, when there are unread messages of a plurality of second session objects, only one icon with a multi-head portrait superimposing effect is displayed in the message prompt control, which means that more session object head portraits can be opened and displayed if the icon is clicked.

Through the openable comprehensive object identification, the reminding of a plurality of session objects can be shown, and the interface display space can be saved.

As another example, a first portion of second object identifiers corresponding to a first portion of second session objects in the plurality of second session objects are displayed in the message prompt control; the method may further comprise the steps of:

and step l), responding to the dragging operation aiming at the first part of second object identification, and displaying the second part of second object identification corresponding to the dragging result.

Wherein the dragging operation corresponds to a dragging result. In practical application, when the unread session objects have too many messages and the head portraits of a plurality of session objects exceed the display range which can be accommodated by the message prompt control, the head portraits displayed in the message prompt control can be dragged left and right, so that all second session objects are browsed and a target second session object is selected from the second session objects to perform the next session.

For example, the unread second session object includes a plurality of objects such as the session object B, the session object C, the session object D, the session object E, and … …, but since the interface space is limited, only the avatar of the session object B and the session object C is displayed in the floating box as shown in fig. 8. If the user drags any position in the floating bullet frame (message prompt control), the display positions of the second session objects in the floating bullet frame can be changed along with the dragging, namely, the dragging operation corresponds to the dragging result, and then the more important session objects are selected for fast skipping. Of course, the number of the avatars of the plurality of session objects displayed in the floating bullet box may be more than two, and fig. 8 takes two session object avatars as an example, and the number of the session object identifiers is not limited in practical application.

By means of the dragging operation, various different session objects can be conveniently browsed and selected, and the interface display space can be saved.

As another example, the step f) may include the steps of:

step m), in response to a receiving event of the current second session content sent by the current second session object, displaying a message prompt control containing the current second object identifier in the first session interface; wherein, the current second session object corresponds to the current second object identifier;

and n), in response to a receiving event of the latest second session content sent aiming at the latest second session object, determining the current second object identifier as a historical second object identifier, and switching the historical second object identifier into the latest second object identifier corresponding to the latest second session object in the message prompt control.

For the above step m), the current second session object refers to a sender of the second session content (current second session content) received by the current terminal.

For the above step n), if new second session content (latest second session content) is received after the current second session content is received, the previous sender, i.e. the current second session object, is used as the history second object, and the corresponding identifier is also used as the history second object identifier.

Illustratively, if a new message of the session object C is received after a new message of the session object B is received and the avatar of the session object B is displayed, the avatar of the session object B slides to the boundary of the graphical user interface, i.e. retreats, and then the avatar of the session object C pops up from the boundary, as shown in fig. 9. The conversation content of the conversation object C is the updated conversation content compared with the conversation content of the conversation object B, and only the head portrait of the conversation object C, namely only the head portrait of the latest conversation object, can be displayed in the message prompt control. Of course, a message with an arrow may also be displayed on the message prompt control, indicating that the unread message has messages of other conversation objects (e.g., conversation object B) in addition to the message of conversation object C.

By only displaying the session object identifier corresponding to the latest message, the omission of the latest message can be avoided, the latest message can be timely reminded, and the interface display space can be saved.

As another example, an extensible prompt identifier and a latest second object identifier are displayed in the message prompt control, wherein the extensible prompt identifier is used for indicating that other second object identifiers except the latest second object identifier can be displayed in an extensible form; the method may further comprise the steps of:

and step o), responding to the expansion operation aiming at the expandable prompt mark, and displaying second object marks corresponding to the plurality of second session objects respectively.

Wherein the latest second session object corresponds to the latest second session content of the plurality of second session contents; the extensible prompt mark is used for indicating that other second object marks except the latest second object mark can be displayed in an extensible form.

In practical application, the deployable prompt identifier may be any form of icon such as an arrow, an open gesture, and the like. Illustratively, the unread second session object includes a plurality of session objects such as session object B, session object C, session object D, session object E, … …, but due to limited interface space, only the avatar of one of the session objects (such as the object identifier of the latest second session object) is displayed, for example, as shown in fig. 9, only the avatar of session object C is displayed in the message prompt control, and an arrow-shaped icon (i.e. deployable prompt identifier) is displayed, indicating that the session object of the unread message has at least one other session object besides the displayed session object. The extensible prompt identifier can prompt the user of more unread message session objects and save the display space of the interface.

And then, if the user touches the expandable prompt mark, all other second object marks can be expanded and displayed, such as the marks corresponding to the historical second objects. Illustratively, if the arrow-style icon (extendable prompt tab) is clicked, more undisplayed session objects may be dragged, so that the details interface for these session objects may be entered.

For example, after clicking the arrow-style icon (expandable prompt identifier), as shown in fig. 8, the message prompt control expands to display the avatars of other session objects, such as the avatar of session object B and the avatar of session object C, and may also simultaneously display a retractable prompt identifier, such as an arrow-style icon in the direction opposite to the arrow-style icon in fig. 8.

The extensible prompt mark can prompt a user of more unread message session objects, can realize selective extensible display of the session objects, and can save the display space of an interface.

In some embodiments, if two or more new messages sent by the same session object are unread, the icon of the session object may be highlighted to prompt that none of the new messages sent by the session object are read. As an example, after the step S410, the method may further include the steps of:

and step p), in response to a second session content re-receiving event sent by the second session object, changing the display state of the second object identifier in the message prompt control under the first session interface.

By changing the display state of the second object identifier, the unread new messages sent by the same session object can be more effectively prompted.

Based on the above step p), the manner of changing the display state may include various forms. As an example, the display state in the step p) includes any one or more of: static display, dynamic display, highlight display and amplification display.

For example, after the floating box (message prompt control) of the second object identifier (e.g. session object B) pops up and is displayed on the right side of the graphical user interface, if the terminal receives a new message from the session object B again, the dynamic display state of the floating box may include, but is not limited to: and the effects of swinging, vibrating, flashing, amplifying and the like are used for more efficiently prompting that the unread message sender, namely the conversation object B, sends a new message again.

Fig. 10 provides a schematic diagram of a structure of a display device for conversation contents. The device can be applied to a terminal capable of presenting a graphical user interface, and the graphical user interface is provided through the terminal and comprises a first conversation interface which is used for displaying first conversation content chatting with a first conversation object. As shown in fig. 10, the display apparatus 1000 of conversation content includes:

a first display module 1001, configured to, in response to a receiving event of second session content sent for a second session object in the first session interface, display a message prompt control in the first session interface, where the message prompt control displays a second object identifier corresponding to the second session object;

a second display module 1002, configured to display the second session content in response to a specified operation for the second object identifier.

In some embodiments, the second display module 1002 is specifically configured to:

and responding to a specified operation aiming at the second object identification, switching the first conversation interface to a second conversation interface, and displaying the second conversation content on the second conversation interface.

In some embodiments, the second display module 1002 is further configured to:

displaying the second session content in the first session interface in response to a specified operation identified for the second object.

In some embodiments, the apparatus further comprises:

the third display module is used for responding to the triggering operation aiming at the second conversation content in the first conversation interface and displaying a reply window;

a determining module, configured to determine reply content for the second session content in response to a reply operation in the reply window;

and the sending module is used for sending the reply content to the second session object.

In some embodiments, the number of second session objects is plural; the first display module 1001 is specifically configured to:

displaying a message prompt control in the first session interface in response to a receiving event of a plurality of second session contents sent for a plurality of the second session objects under the first session interface;

and displaying a plurality of second object identifications corresponding to the second session objects in the message prompt control.

In some embodiments, the second display module 1002 is specifically configured to:

in response to a selection operation for a target second object identifier of the plurality of second object identifiers, displaying target second session content;

and the target second object identification corresponds to a target second session object, and the target second session content is sent by the target second session object.

In some embodiments, the second display module 1002 is further configured to:

and responding to the selection operation of a target second object identifier in the plurality of second object identifiers, displaying target second session content, and displaying other second object identifiers in the plurality of second object identifiers except the target second object identifier in the message prompt control.

In some embodiments, the selecting operation comprises any one or more of:

the click operation aiming at the target second object identifier, the sliding operation aiming at the target second object identifier and the touch operation duration aiming at the target second object identifier exceed the preset touch duration.

In some embodiments, a message prompt control displays a corresponding composite object identifier in a plurality of second session object sets; the device also includes:

and the fourth display module is used for responding to the opening operation aiming at the comprehensive object identification and displaying the second object identification corresponding to the plurality of second session objects respectively.

In some embodiments, a first portion of second object identifiers corresponding to a first portion of second session objects in the plurality of second session objects are displayed in the message prompt control; the device also includes:

the fifth display module is used for responding to the dragging operation aiming at the first part of second object identifications and displaying the second part of second object identifications corresponding to the dragging result; wherein the dragging operation corresponds to a dragging result.

In some embodiments, the first display module 1001 is further configured to:

under the first session interface, responding to a receiving event of the current second session content sent aiming at the current second session object, and displaying a message prompt control containing the current second object identification in the first session interface; wherein the current second session object corresponds to the current second object identifier;

under the first session interface, in response to a receiving event of the latest second session content sent aiming at the latest second session object, determining the current second object identifier as a historical second object identifier, and switching the historical second object identifier to the latest second object identifier corresponding to the latest second session object in the message prompt control.

In some embodiments, an extensible prompt identifier and the latest second object identifier are displayed in the message prompt control, wherein the extensible prompt identifier is used for indicating that other second object identifiers except the latest second object identifier can be displayed in an extensible form; the device also includes:

and displaying all the second object identifications in response to the unfolding operation aiming at the unfoldable prompt identifications.

In some embodiments, the apparatus further comprises:

and the changing module is used for responding to a receiving event of second session content sent by the second session object and then displaying a message prompt control in the first session interface, and responding to a receiving event of the second session content sent by the second session object again in the first session interface, and then changing the display state of the second object identifier in the message prompt control.

The display device of the conversation content provided by the embodiment of the application has the same technical characteristics as the display method of the conversation content provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.

Corresponding to the above-mentioned display method of the session content, the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores machine executable instructions, and when the computer executable instructions are called and executed by a processor, the computer executable instructions cause the processor to execute the steps of the above-mentioned display method of the session content.

In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.

For another example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.

The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method for displaying the session content according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.

It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.

Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the scope of the embodiments of the present application. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:构件标签的生成方法、装置、计算机设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类