CN113141295B - Message display method and device and electronic equipment - Google Patents

Message display method and device and electronic equipment Download PDF

Info

Publication number
CN113141295B
CN113141295B CN202110321303.3A CN202110321303A CN113141295B CN 113141295 B CN113141295 B CN 113141295B CN 202110321303 A CN202110321303 A CN 202110321303A CN 113141295 B CN113141295 B CN 113141295B
Authority
CN
China
Prior art keywords
message
target
input
messages
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110321303.3A
Other languages
Chinese (zh)
Other versions
CN113141295A (en
Inventor
李万兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202110321303.3A priority Critical patent/CN113141295B/en
Publication of CN113141295A publication Critical patent/CN113141295A/en
Application granted granted Critical
Publication of CN113141295B publication Critical patent/CN113141295B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/38Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/382Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using citations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a message display method, a message display device and electronic equipment, belongs to the technical field of communication, and can solve the problem of low message viewing efficiency. The message display method comprises the following steps: under the condition that the target message is displayed in the target session page, receiving first input of a user to the target message; displaying N messages in response to a first input; the N messages comprise the target message; wherein the N-1 messages include at least one of: the message content comprises a message of the target reference content and a message of which the identification information is matched with the identification information of the target message; the target reference content is: the message content referenced by the target message; the N-1 messages are: the messages except the target message in the N messages; n is a positive integer. The message display method provided by the embodiment of the application can be applied to the process of group chat of the user.

Description

Message display method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a message display method and device and electronic equipment.
Background
Generally, during the group chat of the user through the electronic device, the user can view the discussion content of other users for a certain topic in the group chat interface and discuss the discussion content with other users for the certain topic.
Specifically, the user may search all messages of the group chat interface one by one for each message related to the certain topic, and view the message content of each message to discuss the certain topic with other users.
However, since there may be a case where the number of messages of all messages in the group chat interface is large, the user needs to search each message related to the certain topic one by one in all the messages with large number, and thus, the efficiency of viewing the messages is low.
Disclosure of Invention
The embodiment of the application aims to provide a message display method, a message display device and electronic equipment, and the problem of low message viewing efficiency can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a message display method, where the method includes: under the condition that the target message is displayed in the target session page, receiving first input of a user to the target message; displaying N messages in response to a first input; the N messages comprise the target message; wherein the N-1 messages include at least one of: the message content comprises a message of the target reference content and a message of which the identification information is matched with the identification information of the target message; the target reference content is: the message content referenced by the target message; the N-1 messages are: the messages except the target message in the N messages; n is a positive integer.
In a second aspect, an embodiment of the present application provides a message display apparatus, including: the device comprises a receiving module and a display module. The receiving module is used for receiving a first input of a target message from a user under the condition that the target message is displayed in the target session page. The display module is used for responding to the first input received by the receiving module and displaying the N messages; the N messages comprise the target message. Wherein the N-1 messages comprise at least one of: the message content comprises a message of the target reference content and a message of which the identification information is matched with the identification information of the target message; the target reference content is: the message content referenced by the target message; the N-1 messages are: the messages except the target message in the N messages; n is a positive integer.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, in the case that the target message is displayed in the target conversation page, the electronic device may display N messages according to the first input of the user to the target message, where the N messages include the target message and N-1 messages, where the N-1 messages include a message whose message content includes target reference content (i.e., message content referenced by the target message) and/or a message whose identification information matches identification information of the target message. Because the N-1 messages comprise messages of which the message contents comprise the message contents quoted by the target message and/or messages of which the identification information is matched with the identification information of the target message, namely the N-1 messages comprise each message related to a certain topic, when the number of all messages in the target conversation page is large, the electronic equipment can directly display the target message and the N-1 messages according to the first input of the user, namely the electronic equipment can directly display each message related to the certain topic according to one input of the user without the need of searching each message related to the certain topic one by one in all messages with large number by the user, the efficiency of viewing the messages can be improved.
Drawings
Fig. 1 is a schematic diagram of a message display method provided in an embodiment of the present application;
fig. 2 is an example schematic diagram of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 3 is a second schematic diagram of a message display method according to an embodiment of the present application;
fig. 4 is a second schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 5 is a third schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 6 is a third schematic diagram of a message display method according to an embodiment of the present application;
fig. 7 is a fourth schematic view of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 8 is a fifth schematic view of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
FIG. 9 is a fourth schematic diagram of a message display method according to an embodiment of the present application;
fig. 10 is a sixth schematic view of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a message display device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 13 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, 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 first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application are capable of operation in sequences other than those illustrated or described herein, and that the terms "first," "second," etc. are generally used in a generic sense and do not limit the number of terms, e.g., a first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The message display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings by using specific embodiments and application scenarios thereof.
The message display method provided by the embodiment of the application can be applied to a scene that a user conducts group chat.
Suppose a user wants to discuss with other users in group 1 for topic 1. In the related art, a user may first search all messages in a conversation page of the group 1 for each message related to the topic 1 one by one, and view the message content of each message to discuss with other users about the topic 1. However, since the user needs to search each message related to the topic 1 one by one among all the messages, the efficiency of viewing the messages is low.
However, in the embodiment of the present application, in the case that the message 1 related to the topic 1 is displayed in the conversation page of the group 1, the electronic device may display the message 1 and a plurality of messages according to one input of the user to the message 1, the plurality of messages including at least one of the following: the message content comprises the message content quoted by the message 1 and the message with the identification information matched with the identification information of the message 1, namely, the electronic equipment can display each message related to the topic 1 without the need of searching each message related to the topic 1 in all the messages one by a user, so that the efficiency of viewing the messages can be improved.
Fig. 1 shows a flowchart of a message display method according to an embodiment of the present application. As shown in fig. 1, a message display method provided by an embodiment of the present application may include steps 101 and 102 described below.
Step 101, in the case that the target message is displayed in the target session page, the message display device receives a first input of the target message from the user.
Optionally, in this embodiment of the application, in a case that an interface of a target application is displayed, the message display apparatus may display a target session page of a target group in the interface according to a pressing input (e.g., a clicking input) of a user on an identifier of the target group (e.g., an icon of the target group), where the target session page includes a target message, so that the user may perform a first input on the target message.
Optionally, in this embodiment of the application, the application type of the target application may be any of the following: chat, web page, short video interaction, etc.
Optionally, in this embodiment of the present application, the target message may specifically be: messages sent by message display devices, or messages sent by other message display devices.
It will be appreciated that the target message is: a message relating to a certain topic (e.g., topic 1).
Optionally, in this embodiment of the present application, the target message may include at least one of the following: the target reference content, and the identification information. Wherein the identification information is: when the message display device (or other message display devices) sends the target message, a mark is added to the target message, and the identification information is used for indicating the topic 1 corresponding to the target message.
Further optionally, in this embodiment of the application, the identification information of the target message is: when the message display device (or other message display devices) sends the target message, the identification information added for the target message is based on the identification information of the message corresponding to the target reference content, or the mark added for the target message is based on the input of the user to the input box.
Specifically, in the embodiment of the present application, under the condition that the message corresponding to the target citation content does not include the identification information, the message display device may add a preset identification information to the target message to add the identification information to the target message; in the case where the message corresponding to the target referencing content includes identification information, the message display apparatus may add identification information (i.e., identification information of the message corresponding to the target referencing content) to the target message to add the identification information to the target message.
Specifically, in the embodiment of the present application, in a case that a message corresponding to target cited content does not include cited content, the message corresponding to the target cited content does not include identification information; in the case where the message corresponding to the target reference content includes the reference content, the message corresponding to the target reference content includes identification information added based on the identification information of the message corresponding to the reference content when the message display apparatus transmits the message corresponding to the target reference content.
For example, assuming that the message 1 does not include the reference content, the message 1 does not include the identification information, when the user refers to the message 1 and triggers the message display apparatus to transmit the message 2 referring to the message 1, the message display apparatus may add one preset identification information for referring to the message 2, the one preset identification information indicating the topic corresponding to the message 1 (and the message 2), and when the user refers to the message 2 and triggers the message display apparatus to transmit the message 3 referring to the message 2, the message display apparatus may add the identification information of the message 2 (i.e., the one preset identification information) to the message 3.
It is understood that when the user refers to the message 1 and triggers the message display apparatus to transmit the message 2, the user may be considered to have created a topic (i.e., the topic 1), and thus, the message display apparatus may add identification information indicating the topic 1 to the message 2.
Specifically, in the embodiment of the present application, in a case where the input box input by the user is a certain input box (for example, a second input box in the following embodiment), the message display apparatus may add identification information to the target message.
In an embodiment of the present application, the first input is used to trigger a message display device to display a message.
Optionally, in this embodiment of the application, the first input may specifically be a click input of the target message by the user.
Further optionally, in this embodiment of the application, the first input may specifically be: a user's click input to the display area of the target message, or a user's click input to a first control (e.g., a button) in the display area of the target message. Wherein, the first control is used for displaying the messages related to the topics corresponding to the target messages.
For example, the message display device is taken as a mobile phone for description. As shown in fig. 2, the mobile phone displays a target conversation page (e.g., page 10) of a target group, the page 10 includes a target message (e.g., message 11), the display area of the message 11 further includes a first control (e.g., button 12), and the button 12 is used for displaying a message related to a topic corresponding to the message 11, so that a user can make a first input, e.g., click input, to the button 12.
Step 102, the message display device responds to the first input and displays N messages.
In this embodiment of the present application, the N messages include a target message; the N-1 messages include at least one of: the message content comprises a message of target reference content and a message of which the identification information is matched with the identification information of the target message; the target reference content is: the message content referenced by the target message; the N-1 messages are: the messages except the target message in the N messages; n is a positive integer.
Optionally, in this embodiment of the present application, the message display apparatus may determine N-1 messages according to the target message, and then display the target message and the N-1 messages to display the N messages.
It should be noted that, the above "message including the target reference content in the message content" may be understood as follows: a message referenced by the target message, or a message referencing the same message as the target message.
Further alternatively, in the embodiment of the present application, in the case that the target message includes the target cited content, the message display apparatus may determine N-1 messages matching the target cited content from all the messages of the target group to determine N-1 messages.
Specifically, in the embodiment of the application, the message display device may determine the message including the target citation content from all the messages of the target group to determine N-1 messages matching the target citation content.
In this embodiment of the application, if one message includes the target citation content, the target message may be considered as referring to the one message, that is, the target message is a reply message to the one message, that is, the one message is a message related to topic 1 (that is, a topic related to the target message), and therefore, the message display apparatus may determine the one message from all messages of the target group to determine the message related to topic 1 in all messages.
Further optionally, in this embodiment, in the case that the target message includes the identification information, the message display apparatus may determine, from all messages of the target group, N-1 messages whose identification information matches (e.g., is the same as) the identification information of the target message, so as to determine the N-1 messages.
It will be appreciated that the message display device (or other message display device) may add a tag to each message separately as it is sent, so that the message display device may determine N-1 messages from all messages of the target group whose identification information matches that of the target message.
In the embodiment of the present application, if the identification information of one message matches the identification information of the target message, the one message may be considered as a message related to topic 1 (i.e., a certain topic related to the target message), and therefore, the message display apparatus may determine the one message from all messages of the target group to determine the message related to topic 1 in all messages.
Optionally, in this embodiment of the present application, the message display apparatus may display a target window in a floating manner on the target session page, where the target window includes N messages to display the N messages; alternatively, the message display apparatus may split the display screen of the message display apparatus into at least two split screen regions, and display N messages in one split screen region (e.g., a target split screen region in the following embodiments) of the at least two split screen regions to display the N messages.
In the embodiment of the present application, when a user wants to view each message related to topic 1, the user may perform a first input on a target message in a target conversation page of a target group, so that a message display apparatus may determine N-1 messages (i.e., at least one of a message including target cited content in message content and a message whose identification information matches identification information of the target message) from all messages of the target group, and display the target message and the N-1 messages to display each message related to topic 1, so that the user may directly view each message related to topic 1.
In the message display method provided by the embodiment of the application, in the case that the target message is displayed in the target session page, the message display device may display N messages according to a first input of the user to the target message, where the N messages include the target message and N-1 messages, where the N-1 messages include a message whose message content includes target citation content (i.e., message content referenced by the target message), and/or a message whose identification information matches identification information of the target message. Because the N-1 messages comprise messages of which the message contents comprise the message contents quoted by the target message and/or messages of which the identification information is matched with the identification information of the target message, namely the N-1 messages comprise each message related to a certain topic, when the number of all messages in the target conversation page is large, the message display device can directly display the target message and the N-1 messages according to the first input of the user, namely the message display device can directly display each message related to the certain topic according to one input of the user, and the user does not need to search each message related to the certain topic one by one in all messages with large number, therefore, the efficiency of viewing the messages can be improved.
In the following, it will be exemplified how the message display apparatus displays N messages by dividing the display screen into at least two divided screen regions by the message display apparatus.
Alternatively, in this embodiment of the application, as shown in fig. 3 in combination with fig. 1, the step 102 may be specifically implemented by a step 102a described below.
Step 102a, the message display device responds to the first input, divides the display screen of the message display device into at least two screen division areas, and displays the first session page in a target screen division area of the at least two screen division areas.
In this embodiment, the first session page includes N messages.
Further optionally, in this embodiment of the application, the message display apparatus may split the display screen into a first split screen area and a target split screen area, display the target session page in the first split screen area, and display the first session page in the target split screen area.
Specifically, in the embodiment of the present application, the message display apparatus may display the reply content of the target message and N-1 messages in the first session page, so as to display N messages in the first session page.
It is understood that the target message includes the target reference content and the reply content, and the message display apparatus may display the target reference content and the reply content of the target message in the target conversation page of the first split screen area and display only the reply content of the target message in the first conversation page of the target split screen area, so as to prevent the message display apparatus from repeatedly displaying the content of the target message.
For example, referring to fig. 2, as shown in fig. 4, after the user makes a first input, the mobile phone may split the display screen of the mobile phone into at least two split screen areas (for example, a first split screen area 13 (illustrated by a shaded area in the figure) and a target split screen area 14 (illustrated by a dashed box in the figure)), where the first split screen area 13 includes a page 10, the page 10 includes target reference content and reply content of the message 11, the target split screen area 14 includes a first conversation page (for example, a page 15), and the page 15 includes N messages, that is, reply content of the message 11 and N-1 messages (for example, a message 16).
Further optionally, in this embodiment, after the message display apparatus displays the first session page in the target split-screen area, the user may perform a press input on the message display apparatus (for example, a long press input on the display screen), so that the message display apparatus may cancel the display of the split-screen display and display the target session page in the display screen.
Therefore, the message display device can directly split the display screen into at least two split screen areas and display N messages in one of the at least two split screen areas, so that the situation that the N messages block the messages in the target session page can be avoided, a user can directly view the N messages and the messages in the target session page, and the convenience of viewing the messages can be improved.
In the following, it will be exemplified how the message display apparatus adds identification information to a message according to the input of the user to the input box.
Optionally, in this embodiment of the present application, a second input box is displayed in the first session page. Specifically, after the step 102, the message display method provided in the embodiment of the present application may further include the following steps 201 and 202.
Step 201, the message display device receives a fourth input that the user inputs the content of the first message in the second input box.
Further optionally, in this embodiment of the application, the content of the first message may specifically include at least one of the following: words, numbers, letters, symbols, etc.
Further optionally, in this embodiment of the application, the fourth input may include a first sub-input and a second sub-input. The first sub-input is a press input (for example, a click input) of a user to the second input box, the first sub-input is used for triggering the message display device to display the input method interface, the second sub-input is a press input (for example, a click input) of the user on the input method interface, and the second sub-input is used for inputting the first message content.
Step 202, the message display device responds to the fourth input, generates a second message based on the first message content, adds target identification information to the second message, and sends the second message.
It will be appreciated that the message content of the second message described above comprises the first message content.
In the embodiment of the present application, the target identification information is matched with the identification information of the target message.
Further optionally, in this embodiment of the application, the message display apparatus may determine the target identification information first, then add the target identification information to the second message, and send the second message.
Specifically, in this embodiment of the application, the message display apparatus may first detect any one of the messages in the first session page to obtain the identification information of the any one of the messages, determine the identification information of the any one of the messages as the target identification information, add the target identification information to the second message, and send the second message.
It will be appreciated that the identification information of each of the messages in the first conversation page matches (e.g., is the same) and thus, the message display device may detect either message to determine the target identification information and add the target identification information to the second message. The target identification information indicates topic 1 corresponding to the target message.
Further optionally, in this embodiment of the application, the message display apparatus may send a second message to the server, so that the other message display apparatuses may receive the second message.
Further optionally, in this embodiment, after the message display apparatus sends the second message, the message display apparatus may display the second message in the first split-screen area and the target split-screen area, respectively, so as to display the second message.
Specifically, in this embodiment of the present application, the message display apparatus may display a second message in a target session page in the first split-screen area, generate a first control according to target identification information of the second message, and display the first control in a display area of the second message; and the message display device may directly display a second message in the first session page of the target split screen area to display the second message in the first split screen area and the target split screen area, respectively.
For example, in conjunction with fig. 4, as shown in (a) of fig. 5, a second input box (e.g., input box 17) is displayed in the page 15, so that the user can make a fourth input in the input box 17 to input a first message content (e.g., "message content named" second class three year "); as shown in fig. 5 (B), after the user makes a fourth input, the handset may generate a second message (e.g., message 18) based on the content of the "file name" two shift three years "message, add target identification information to the message 18, and send the message 18, then display the message 18 and the first control (e.g., control 19) in page 10, and display the message 18 directly in page 15.
Further optionally, in this embodiment, in a case that the other message display apparatus receives the second message, the other message display apparatus may display the second message in the target conversation page, and display a first control in a display area of the second message, so that a user of the other message display apparatus may input (for example, click input) the first control, so that the other message display apparatus may split the display screen of the other message display apparatus into at least two split screen areas, and display a first conversation page in the at least two split screen areas, where the first conversation page includes the N messages and the second message.
In the embodiment of the application, when a user wants to discuss with other users for topic 1, the user may directly input, in a second input box displayed in a first session page, message content that the user wants to reply, so that a message display apparatus may generate a second message based on the message content, add identification information matching identification information of a target message to the second message, the identification information being used for indicating topic 1, and transmit the second message, so that users of other message display apparatuses may input the second message, so that other message display apparatuses may display each message related to the topic 1.
Therefore, as the user can input the fourth input of the first message content in the second input box displayed in the first session page, the message display device can add the target identification information matched with the identification information of the target message for the second message corresponding to the first message content, and send the second message, the user can directly input the second message, so that the message display device can directly display each message related to a certain topic (namely, the topic corresponding to the second message), therefore, the efficiency of viewing the message can be improved, and thus, the use experience of the user can be improved.
Of course, the user may also reply to the message in the target conversation page to discuss with other users for a certain topic.
In the related art, a user may input (e.g., click-to-input) for a message to which the user wants to reply so that a message display apparatus may display a "reference" control, and then the user may input (e.g., click-to-input) the "reference" control so that the message display apparatus may reference the message to which the user wants to reply, so that the user may input reply content in an input box to reply to the message to which the user wants to reply to discuss with other users for a certain topic. However, since there may be a case where the user wants to reply to a plurality of messages at the same time, the user needs to repeat the above steps a plurality of times to reply to the plurality of messages, and thus, the operation of the user is cumbersome.
However, in the embodiment of the present application, the user may directly input an input box (for example, a first input box in the following embodiments) in the target conversation page, so that the message display apparatus may display the input box in one page area in the target conversation page and refer to a message at least partially overlapping with the one page area, and thus, the operation of the user may be simplified.
It will be illustrated below how the message display apparatus refers to messages in the page area.
Optionally, in this embodiment, with reference to fig. 1, as shown in fig. 6, before the step 101, the message display method provided in this embodiment may further include the following steps 301 and 302.
Step 301, in the case that M messages and a first input box are displayed in the target conversation page, the message display apparatus receives a second input of the first input box by the user.
In the embodiment of the application, M is a positive integer.
Further optionally, in this embodiment of the application, when the identifier of the "setup" application is displayed in the desktop, the message display apparatus may display a "setup" interface according to a click input of the user to the identifier of the "setup" application, where the "setup" interface includes a "quick reply" function option, so that the message display apparatus may start the "quick reply" function according to the click input of the user to the "quick reply" function option, so that the user may trigger the message display apparatus to display the desktop, and when the identifier of the target application is displayed in the desktop, the message display apparatus may display the interface of the target application according to the click input of the user to the identifier of the target application, and then the message display apparatus may display the target session page of the target group according to the click input of the user to the identifier of the target group in the interface, so that the user may perform a second input on the first input box displayed in the target session page.
Further optionally, in this embodiment of the present application, the second input may include one sub input or multiple sub inputs.
Specifically, in the embodiment of the present application, when the second input includes one sub input, the one sub input may specifically be: and sliding input of the first input box by the user.
Note that the "slide input to the first input box" may be understood as: and inputting a sliding input of the start point in the display area of the first input box by the user on the display screen of the message display device. The input starting point may be understood as: the user's finger touches the location point of the display screen.
Specifically, in this embodiment of the application, in a case that the second input includes a plurality of sub-inputs, the second input may include a third sub-input and a fourth sub-input, where the third sub-input is: sliding input of the first input box by the user, wherein the third sub-input is used for triggering the message display device to display the first input box in the target page area, and the fourth sub-input is as follows: and the fourth sub-input is used for triggering the message display device to adjust the page area corresponding to the M messages.
Step 302, the message display device responds to the second input, displays the first input box in the target page area of the target session page, and determines the message content of the first message in the M messages as the target reference content.
Further optionally, in this embodiment of the application, the target page area may specifically be: the middle region of the target session page.
Further optionally, in this embodiment of the application, in response to the third sub-input, the message display apparatus may first display the first input frame in a floating manner in the target page area, and turn down the transparency of the first input frame to display the first input frame, and then, in response to the fourth sub-input, the message display apparatus may adjust the page areas corresponding to the M messages, so that the page area corresponding to the adjusted first message at least partially overlaps with the target page area, so that the message display apparatus may determine the target citation content from the message content of the first message. It is understood that the message display apparatus may turn the transparency of the first input box down to avoid a situation where the first input box occludes the message.
Further optionally, in this embodiment of the application, the message display apparatus may select the first message first, display the first message in a highlighted manner, and then determine the message content of the first message as the target citation content.
In an embodiment of the present application, the first message is: and in the M messages, the corresponding page area is at least partially overlapped with the target page area.
It should be noted that the "page area corresponding to the message" may be understood as: the page area in which the message is located in the target page area.
Specifically, in this embodiment of the present application, the first message may include one message or multiple messages.
For example, as shown in fig. 7 (a), the handset displays a target conversation page (e.g., page 20) of the target group, where the page 20 includes M messages (e.g., message 21, message 22, message 23, and message 24) and a first input box (e.g., input box 25), so that the user can make a third sub-input, e.g., a slide input to the input box 25; as shown in fig. 7 (B), after the user performs the third sub-input, the mobile phone may display the input box 25 in the target page area (e.g., the area 26), and turn down the transparency of the input box 25, so that the user may perform a fourth sub-input, for example, a slide input (e.g., a single-finger slide-down input) to the page 20; as shown in fig. 7 (C), after the user makes the fourth sub-input, the handset may select the first message (e.g., message 23), display the message 23 in a highlighted manner (illustrated by a shaded area in the figure), and determine the message content of the message 23 as the target reference content.
Specifically, in the embodiment of the present application, in a case that the first message includes a plurality of messages, the fourth sub-input may include a fifth sub-input and at least one sixth sub-input. Wherein, the fifth sub-input may specifically be: the user performs one-finger sliding input on the target session page, the fifth sub-input is used for triggering the message display device to select the message content of one message, and each sixth sub-input specifically may be: and the user performs double-finger sliding input on the target conversation page, and each sixth sub-input is used for triggering the message display device to select the message content of another message.
For example, in conjunction with (a) in fig. 7, as shown in (a) in fig. 8, after the user makes the third sub-input, the mobile phone may display the input box 25 in the target page area (e.g., the area 26), and adjust the transparency of the input box 25 down, so that the user may make a fifth sub-input, such as a slide input (e.g., a single-finger slide-down input) to the page 20; as shown in fig. 8 (B), after the user makes the fifth sub-input, the handset may select the first message (e.g., message 23), and display the message 23 in a highlighted manner (illustrated by the shaded area in the figure), so that the user may make a sixth sub-input, such as a slide input (e.g., a two-finger slide-down input) to the page 20; as shown in fig. 8 (C), after the user makes a sixth sub-input, the handset may select the message 22, display the message 22 in a highlighted manner (illustrated by a shaded area in the figure), and determine the message content of the message 23 and the message content of the message 22 as the target reference content.
Further optionally, in this embodiment, after the message display apparatus determines the message content of the first message as the target citation content, the message display apparatus may copy the message content of the first message into the first input box to refer to the message content (i.e., the target citation content) of the first message.
Therefore, under the condition that the M messages and the first input box are displayed in the target session page, the message display device can determine the message content of the first message in the M messages as the target reference content according to the second input of the user, namely, the message display device can determine the message content of the first message as the target reference content according to one input of the user without inputting for many times by the user, so that the operation of the user in the process of determining the reference content can be simplified, the time consumption is reduced, and the efficiency of the message display device for referencing the content can be improved.
Optionally, in this embodiment, after the step 302, the message display method provided in this embodiment may further include the following steps 303 and 304.
Step 303, the message display device receives a third input that the user inputs the target message content in the first input box.
Further optionally, in this embodiment of the application, the content of the target message may specifically include at least one of the following: words, numbers, letters, symbols, etc.
Further optionally, in this embodiment of the application, the third input may include a seventh sub-input and an eighth sub-input. The seventh sub-input is a press input (e.g., a click input) of the first input box by the user, the seventh sub-input is used for triggering the message display device to display the input method interface, the eighth sub-input is a press input (e.g., a click input) of the user on the input method interface, and the eighth sub-input is used for inputting the first message content.
Step 304, the message display device responds to the third input, generates a target message based on the target message content and the target reference content, adds identification information to the target message, and sends the target message.
It will be appreciated that the message content of the target message includes target message content and target reference content.
Further optionally, in this embodiment of the application, in a case that the first message does not include the identification information, the message display apparatus may add a preset identification information to the target message to add the identification information to the target message; in the case where the first message includes identification information, the message display apparatus may add one identification information (i.e., the identification information of the first message) to the target message to add the identification information to the target message.
Further optionally, in this embodiment of the application, the message display apparatus may send the target message to the server, so that the other message display apparatuses may receive the target message.
Further optionally, in this embodiment, after the message display apparatus sends the target message, the message display apparatus may display the target message in the target session page to display the target message.
Specifically, in this embodiment of the application, the message display apparatus may display the target message in the target session page, generate the first control according to the identification information of the target message, and display the first control in the display area of the target message.
Therefore, as the user can input the third input of the target message content in the first input box displayed in the target session page, the message display device can add the identification information to the target message corresponding to the target message content, and send the target message, the user can directly input the target message, so that the message display device can directly display each message related to a certain topic (namely, the topic corresponding to the target message), therefore, the efficiency of viewing the message can be improved, and thus, the use experience of the user can be improved.
Of course, the user can also trigger the message display device to control some messages in the M messages to be in the folding display state, so that the number of messages displayed in the target conversation page can be reduced.
It will be exemplified how the message display apparatus controls the messages in the M messages to be in the collapsed display state.
Optionally, in this embodiment, with reference to fig. 1, as shown in fig. 9, before step 101, the message display method provided in this embodiment may further include step 401 and step 402 described below.
In step 401, in the case of displaying M messages and a first input box in the target conversation page, the message display apparatus receives a fifth input of inputting a keyword in the first input box.
In the embodiment of the application, M is a positive integer.
Further optionally, in this embodiment of the application, in a case that an identifier of a "setup" application is displayed in the desktop, the message display device may display a "setup" interface according to a click input of the user to the identifier of the "setup" application, where the "setup" interface includes a "filter mode" option, so that the message display device may open the filter mode according to a click input of the user to the "filter mode" option, so that the user may trigger the message display device to display the desktop, and in a case that the identifier of the target application is displayed in the desktop, the message display device may display the interface of the target application according to a click input of the user to the identifier of the target application, and then the message display device may display a target session page of the target group according to a click input of the user to the identifier of the target group in the interface, so that the user may perform a fifth input to the first input box displayed in the target session page.
Further optionally, in this embodiment of the application, the fifth input includes a ninth sub-input, a tenth sub-input, and an eleventh sub-input, where the ninth sub-input specifically may be: the user inputs a keyword in the first input box, the ninth sub-input is used for triggering the message display device to set a preset keyword, and the tenth sub-input specifically may be: the tenth sub-input is used to trigger the message display apparatus to display the first input frame in the first page area, and the eleventh sub-input may specifically be: and sliding input of the target session page by the user, wherein the eleventh sub-input is used for triggering the message display device to adjust the page areas corresponding to the M messages.
Step 402, the message display device responds to the fifth input, displays a first input frame in the first page area of the target session page, and controls the third message to be in a folding display state under the condition that the message content of the third message in the M messages does not comprise keywords.
Further optionally, in this embodiment of the application, the target page area may specifically be: the middle region, or the bottom region, of the target session page.
Further optionally, in this embodiment of the application, in response to the ninth sub-input, the message display apparatus may display a keyword in the first input box, and set the keyword as a preset keyword; then, in response to the tenth sub-input, the message display apparatus may hover to display the first input box in the first page area, and turn down the transparency of the first input box, and display a prompt message for prompting the user to turn on the filtering mode by the message display apparatus; next, in response to the eleventh sub-input, the message display apparatus may adjust page areas corresponding to the M messages such that the page area corresponding to the adjusted third message at least partially overlaps the first page area, so that the message display apparatus may determine whether the message content of the third message includes a preset keyword (i.e., a keyword input by a user).
In an embodiment of the present application, the third message is: and in the M messages, the corresponding page area is at least partially overlapped with the first page area.
For example, as shown in fig. 10 (a), the handset displays a target conversation page (e.g., page 27) of the target group, where the page 27 includes M messages (e.g., message 28, message 29, message 30, and message 31) and a first input box (e.g., input box 32), so that the user can make a ninth sub-input and a tenth sub-input, where the ninth sub-input is: the user enters the entry of a keyword (e.g., a "file" keyword) in the input box 32, and the tenth sub-entry is: a slide input by the user to the input box 32; as shown in fig. 10 (B), after the user makes the ninth sub-input and the tenth sub-input, the cellular phone may display the input box 32 in the first page area (e.g., area 33) and turn down the transparency of the input box 32, and display a prompt message (e.g., a "filter mode" prompt message), so that the user may make the eleventh sub-input, e.g., a slide input to the page 27; as shown in (C) of fig. 10, after the user makes an eleventh sub-input, the handset may determine whether a "file" keyword is included in the third message (i.e., message 31), and in a case where it is determined that the "file" keyword is not included in the message 31, control the message 31 to be in a collapsed display state, i.e., as shown in (D) of fig. 10.
In this embodiment of the application, if the message content of the third message does not include the keyword, it may be considered that the user may not need to view the third message, and therefore, the message display apparatus may control the third message to be in the folding display state.
It should be noted that the above "the message is in the folding display state" can be understood as follows: not displaying the state of the message in the target session page; or, the message is not displayed in the target session page, and a status of a folding flag is displayed. It will be appreciated that the user may enter the one fold indication by clicking on it to bring the message display device into the display state, i.e. the state in which the message is displayed in the target conversation page.
Further optionally, in this embodiment of the application, in a case that the message content of the third message includes a keyword, the message display apparatus may display the third message in an adjacent page area of the first page area.
In this embodiment, if the message content of the third message does not include the keyword, it may be considered that the user may need to view the third message, and therefore, the message display apparatus may display the third message in an adjacent page area to the first page area.
Therefore, under the condition that the M messages and the first input frame are displayed in the target conversation page, the message display device can control the third message to be in the folding display state under the condition that the message content of the third message of which the corresponding page area is at least partially overlapped with the first page area does not comprise the keyword according to the keyword input by the user in the first input frame, namely the message display device can quickly control the message which does not need to be checked by the user to be in the folding display state, and therefore the message hiding efficiency of the message display device can be improved.
Of course, after the message display apparatus controls the third message to be in the folded display state, the user may perform the sliding input again on the target session page, so that the message display apparatus may perform the above step 402 again, which will be described below by way of example.
Optionally, in this embodiment, after the step 402, the message display method provided in this embodiment may further include the following steps 501 and 502.
Step 501, the message display device receives a sixth input of the user in the target session page.
Further optionally, in this embodiment of the application, the sixth input may specifically be: a sliding input, e.g., a slide up input or a slide down input, by the user in the target session page.
Step 502, the message display device responds to the sixth input, adjusts the page area corresponding to the M-1 messages, and controls the fourth message to be in the folding display state under the condition that the message content of the fourth message in the M-1 messages does not include the keyword.
In this embodiment, the M-1 messages are: and M messages except for the third message.
Further optionally, in this embodiment of the application, the message display apparatus may adjust the page area corresponding to the M-1 messages according to the input track of the sixth input.
In an embodiment of the present application, the fourth message is: and in the process of receiving the sixth input, the corresponding page area is at least partially overlapped with the first page area.
It is understood that, since the first page area is relatively fixed, during the process of receiving the sixth input by the message display apparatus (i.e., during the process of adjusting the page area corresponding to the M-1 messages by the message display apparatus), the fourth message of the M-1 messages at least partially overlaps with the first page area, so that the message display apparatus can determine whether the fourth message includes the keyword input by the user in the case that the fourth message at least partially overlaps with the first page area.
Further optionally, in this embodiment of the application, in a case that the message content of the fourth message includes a keyword, the message display apparatus may display the fourth message in an adjacent page area of the first page area.
In this embodiment, if the message content of the fourth message does not include the keyword, it may be considered that the user may need to view the fourth message, and therefore, the message display apparatus may display the fourth message in an adjacent page area of the first page area.
Therefore, the message display device can adjust the page area corresponding to the M-1 messages according to the sixth input of the user, and control that the corresponding page area is at least partially overlapped with the first page area in the process of receiving the sixth input, and the fourth message of which the message content does not include the keyword input by the user is in the folding display state, that is, the message display device can rapidly control the message which does not need to be checked by the user to be in the folding display state, so that the message hiding efficiency of the message display device can be improved.
It should be noted that, in the message display method provided in the embodiment of the present application, the execution main body may be the message display apparatus in the foregoing embodiment, or a control module in the message display apparatus for executing the message display method. In the embodiment of the present application, a message display method executed by a message display apparatus is taken as an example, and the apparatus for the message display method provided in the embodiment of the present application is described.
Fig. 11 shows a schematic diagram of a possible structure of the message display device according to the embodiment of the present application. As shown in fig. 11, the message display device 60 may include: a receiving module 61 and a display module 62.
The receiving module 61 is configured to receive a first input of a target message from a user when the target message is displayed in a target session page. A display module 62, configured to display N messages in response to the first input received by the receiving module 61; the N messages comprise target messages. Wherein the N-1 messages comprise at least one of: the message content comprises a message of target reference content and a message of which the identification information is matched with the identification information of the target message; the target reference content is: the message content referenced by the target message; the N-1 messages are: the messages except the target message in the N messages; n is a positive integer.
In a possible implementation manner, the receiving module 61 is further configured to receive a second input to the first input box by the user in a case that the M messages and the first input box are displayed in the target session page; m is a positive integer. The display module 62 is further configured to display the first input frame in the target page area of the target session page in response to the second input received by the receiving module 61. The message display device 60 provided in the embodiment of the present application may further include: and determining a module. The determining module is used for determining the message content of the first message in the M messages as the target reference content. Wherein, the first message is: and in the M messages, the corresponding page area is at least partially overlapped with the target page area.
In a possible implementation manner, the receiving module 61 is further configured to receive a third input that the user inputs the target message content in the first input box. The message display device 60 provided in the embodiment of the present application may further include: the device comprises a generating module, an adding module and a sending module. Wherein the generating module is configured to generate the target message based on the target message content and the target reference content in response to the third input received by the receiving module 61. And the adding module is used for adding identification information to the target message generated by the generating module. And the sending module is used for sending the target message generated by the generating module.
In a possible implementation manner, the display module 62 is specifically configured to split a display screen of the message display apparatus 60 into at least two split screen areas, and display the first session page in a target split screen area of the at least two split screen areas. Wherein, the first session page comprises N messages.
In a possible implementation manner, a second input box is displayed in the first session page. The receiving module 61 is further configured to receive a fourth input that the user inputs the content of the first message in the second input box. The message display device 60 provided in the embodiment of the present application may further include: the device comprises a generating module, an adding module and a sending module. Wherein the generating module is configured to generate the second message based on the first message content in response to the fourth input received by the receiving module 61. And the adding module is used for adding target identification information to the second message generated by the generating module. And the sending module is used for sending the second message generated by the generating module. Wherein the target identification information matches the identification information of the target message.
In a possible implementation manner, the receiving module 61 is further configured to receive a fifth input of entering a keyword in the first input box in a case that the M messages and the first input box are displayed in the target session page; m is a positive integer. The display module 62 is further configured to display the first input frame in the first page area of the target session page in response to the fifth input received by the receiving module 61. The message display device 60 provided in the embodiment of the present application may further include: and a control module. The control module is used for controlling the third message to be in a folding display state under the condition that the message content of the third message in the M messages does not include keywords. Wherein the third message is: and in the M messages, the corresponding page area is at least partially overlapped with the first page area.
In a possible implementation manner, the receiving module 61 is further configured to receive a sixth input of the user in the target session page. The control module is further configured to adjust a page area corresponding to the M-1 messages, and control a fourth message in the M-1 messages to be in a folding display state when the message content of the fourth message does not include the keyword. Wherein, the M-1 messages are: the messages except the third message in the M messages; the fourth message is: and in the process of receiving the sixth input, the corresponding page area is at least partially overlapped with the first page area.
According to the message display device provided by the embodiment of the application, because the N-1 messages comprise the messages of which the message contents comprise the message contents quoted by the target message and/or the messages of which the identification information is matched with the identification information of the target message, namely the N-1 messages comprise each message related to a certain topic, when the number of all messages in the target conversation page is large, the message display device can directly display the target message and the N-1 messages according to the first input of the user, namely the message display device can directly display each message related to the certain topic according to one input of the user, and the topic does not need the user to search each message related to the certain topic one by one in all messages with large number, so that the message viewing efficiency can be improved.
The message display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present application is not particularly limited.
The message display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The message display device provided in the embodiment of the present application can implement each process implemented in the method embodiments of fig. 1 to fig. 10, and is not described here again to avoid repetition.
Optionally, as shown in fig. 12, an electronic device 70 is further provided in this embodiment of the present application, and includes a processor 72, a memory 71, and a program or an instruction stored in the memory 71 and executable on the processor 72, where the program or the instruction is executed by the processor 72 to implement each process of the foregoing message display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 13 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 13 does not constitute a limitation to the electronic device, and the electronic device may include more or less components than those shown in the drawings, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, the user input unit 107 is used for receiving a first input of the target message from the user when the target message is displayed in the target session page.
A display unit 106 for displaying N messages in response to a first input; the N messages comprise target messages.
Wherein the N-1 messages include at least one of: the message content comprises a message of the target reference content and a message of which the identification information is matched with the identification information of the target message; the target reference content is: the message content referenced by the target message; the N-1 messages are: the messages except the target message in the N messages; n is a positive integer.
According to the electronic device provided by the embodiment of the application, because the N-1 messages comprise the messages of which the message contents comprise the message contents quoted by the target message and/or the messages of which the identification information is matched with the identification information of the target message, namely the N-1 messages comprise each message related to a certain topic, when the number of all the messages in the target conversation page is large, the electronic device can directly display the target message and the N-1 messages according to the first input of the user, namely the electronic device can directly display each message related to the certain topic according to one input of the user, and the user does not need to search each message related to the certain topic one by one in all the messages with large number, so that the message viewing efficiency can be improved.
Optionally, in this embodiment of the application, the user input unit 107 is further configured to receive, when the M messages and the first input box are displayed in the target session page, a second input of the user to the first input box; m is a positive integer.
The display unit 106 is further configured to display the first input frame in the target page area of the target conversation page in response to the second input.
The processor 110 is further configured to determine a message content of a first message of the M messages as a target reference content.
Wherein, the first message is: and in the M messages, the corresponding page area is at least partially overlapped with the target page area.
Therefore, under the condition that the M messages and the first input box are displayed in the target session page, the electronic device can determine the message content of the first message in the M messages as the target reference content according to the second input of the user, namely, the electronic device can determine the message content of the first message as the target reference content according to one input of the user without inputting for many times by the user, so that the operation of the user in the process of determining the reference content can be simplified, the time consumption is reduced, and the efficiency of the electronic device for referencing the content can be improved.
Optionally, in this embodiment of the application, the user input unit 107 is further configured to receive a third input that the user inputs the target message content in the first input box.
The processor 110 is further configured to generate a target message based on the target message content and the target reference content and add identification information to the target message in response to a third input.
And the radio frequency unit 101 is configured to send a target message.
Therefore, as the user can input the third input of the target message content in the first input box displayed in the target session page, the electronic device can add the identification information to the target message corresponding to the target message content, and send the target message, the user can directly input the target message, so that the electronic device can directly display each message related to a certain topic (i.e., the topic corresponding to the target message), the efficiency of viewing the message can be improved, and thus, the use experience of the user can be improved.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to split a display screen of the electronic device into at least two split screen areas, and display the first session page in a target split screen area of the at least two split screen areas.
Wherein, the first session page comprises N messages.
Therefore, the electronic equipment can directly split the display screen into at least two split screen areas and display N messages in one of the at least two split screen areas, so that the situation that the N messages block the messages in the target session page can be avoided, a user can directly view the N messages and the messages in the target session page, and the convenience of viewing the messages can be improved.
Optionally, in this embodiment of the application, a second input box is displayed in the first session page.
The user input unit 107 is further configured to receive a fourth input that the user inputs the first message content in the second input box.
The processor 110 is further configured to generate a second message based on the first message content in response to a fourth input, and add target identification information to the second message.
The radio frequency unit 101 is further configured to send a second message.
Wherein the target identification information matches the identification information of the target message.
Therefore, as the user can input the fourth input of the first message content in the second input box displayed in the first session page, the electronic device can add the target identification information matched with the identification information of the target message for the second message corresponding to the first message content, and send the second message, the user can directly input the second message, so that the electronic device can directly display each message related to a certain topic (namely, the topic corresponding to the second message), therefore, the efficiency of viewing the message can be improved, and thus, the use experience of the user can be improved.
Optionally, in this embodiment of the application, the user input unit 107 is further configured to receive a fifth input of entering a keyword in the first input box in a case that the M messages and the first input box are displayed in the target session page; m is a positive integer.
The display unit 106 is further configured to display a first input frame in a first page area of the target conversation page in response to a fifth input.
The processor 110 is further configured to control a third message of the M messages to be in a collapsed display state if the message content of the third message does not include the keyword.
Wherein the third message is: and in the M messages, the corresponding page area is at least partially overlapped with the first page area.
Therefore, under the condition that the M messages and the first input frame are displayed in the target session page, the electronic device can control the third message to be in the folding display state under the condition that the message content of the third message of which the corresponding page area is at least partially overlapped with the first page area does not include the keyword according to the keyword input by the user in the first input frame, namely the electronic device can quickly control the message which does not need to be checked by the user to be in the folding display state, and therefore the efficiency of hiding the message by the electronic device can be improved.
Optionally, in this embodiment of the application, the user input unit 107 is further configured to receive a sixth input of the user in the target session page.
The processor 110 is further configured to adjust a page area corresponding to the M-1 messages in response to the sixth input, and control a fourth message in the M-1 messages to be in a collapsed display state if a message content of the fourth message does not include a keyword.
Wherein, the M-1 messages are: and the messages except the third message in the M messages.
Therefore, the electronic device can adjust the page area corresponding to the M-1 messages according to the sixth input of the user, and control that the corresponding page area is at least partially overlapped with the first page area in the process of receiving the sixth input, and the fourth message of which the message content does not include the keyword input by the user is in the folding display state, that is, the electronic device can quickly control the message which does not need to be checked by the user to be in the folding display state, so that the message hiding efficiency of the electronic device can be improved.
It should be understood that, in the embodiment of the present application, the input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 processes image data of a still picture or a video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the foregoing message display method embodiment, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing message display method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
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, method, 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, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (9)

1. A method for displaying messages, the method comprising:
under the condition that a target message is displayed in a target session page, receiving a first input of a user to the target message;
displaying N messages in response to the first input; the N messages comprise the target message;
wherein the N-1 messages include at least one of: the message content comprises a message of target reference content and a message of which the identification information is matched with the identification information of the target message;
the target reference content is as follows: the message content referenced by the target message; the N-1 messages are: the messages except the target message in the N messages; n is a positive integer;
before receiving a first input of a user to a target message in the case of displaying the target message in a target session page, the method further includes:
receiving a second input of a user to a first input box under the condition that M messages and the first input box are displayed in the target session page; m is a positive integer;
in response to the second input, displaying the first input box in a target page area of the target conversation page, and determining message content of a first message of the M messages as the target reference content;
wherein the first message is: and in the M messages, the corresponding page area is at least partially overlapped with the target page area.
2. The method of claim 1, wherein after determining the message content of the first message of the M messages as the target reference content, the method further comprises:
receiving a third input of the user for inputting the target message content in the first input box;
in response to the third input, generating the target message based on the target message content and the target reference content, adding identification information to the target message, and sending the target message.
3. The method of claim 1, wherein displaying N messages comprises:
dividing a display screen of electronic equipment into at least two screen division areas, and displaying a first session page in a target screen division area in the at least two screen division areas;
wherein the N messages are included in the first session page.
4. The method of claim 3, wherein a second input box is displayed in the first session page;
after the displaying of the first session page in the target split-screen area of the at least two split-screen areas, the method further comprises:
receiving a fourth input of the user inputting the first message content in the second input box;
in response to the fourth input, generating a second message based on the first message content, adding target identification information to the second message, and sending the second message;
wherein the target identification information matches identification information of the target message.
5. The method of claim 1, wherein before receiving the first input of the target message from the user while the target message is displayed in the target conversation page, the method further comprises:
receiving a fifth input of a keyword input in a first input box under the condition that M messages and the first input box are displayed in the target session page; m is a positive integer;
in response to the fifth input, displaying the first input box in a first page area of the target conversation page, and controlling a third message of the M messages to be in a folded display state if message content of the third message does not include the keyword;
wherein the third message is: and in the M messages, the corresponding page area is at least partially overlapped with the first page area.
6. The method of claim 5, wherein after controlling the third message to be in a collapsed display state, the method further comprises:
receiving a sixth input of the user in the target session page;
responding to the sixth input, adjusting a page area corresponding to M-1 messages, and controlling a fourth message to be in a folding display state under the condition that the message content of the fourth message in the M-1 messages does not comprise the keyword;
wherein the M-1 messages are: among the M messages, messages other than the third message; the fourth message is: a message that a corresponding page area at least partially overlaps with the first page area in the process of receiving the sixth input.
7. A message display apparatus, characterized in that the message display apparatus comprises: the device comprises a receiving module, a display module and a determining module;
the receiving module is used for receiving a first input of a user to a target message under the condition that the target message is displayed in a target session page;
the display module is used for responding to the first input received by the receiving module and displaying N messages; the N messages comprise the target message;
wherein the N-1 messages include at least one of: the message content comprises a message of target reference content and a message of which the identification information is matched with the identification information of the target message;
the target reference content is: the message content referenced by the target message; the N-1 messages are: the messages except the target message in the N messages; n is a positive integer;
the receiving module is further configured to receive a second input of the first input box by the user under the condition that the display module displays the M messages and the first input box in the target session page; m is a positive integer;
the display module is further configured to display the first input frame in a target page area of the target session page in response to the second input received by the receiving module;
the determining module is configured to determine a message content of a first message in the M messages as the target reference content;
wherein the first message is: and in the M messages, the corresponding page area is at least partially overlapped with the target page area.
8. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the message display method as claimed in any one of claims 1 to 6.
9. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the message display method according to any one of claims 1 to 6.
CN202110321303.3A 2021-03-25 2021-03-25 Message display method and device and electronic equipment Active CN113141295B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110321303.3A CN113141295B (en) 2021-03-25 2021-03-25 Message display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110321303.3A CN113141295B (en) 2021-03-25 2021-03-25 Message display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113141295A CN113141295A (en) 2021-07-20
CN113141295B true CN113141295B (en) 2023-04-07

Family

ID=76811695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110321303.3A Active CN113141295B (en) 2021-03-25 2021-03-25 Message display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113141295B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113625921A (en) * 2021-08-27 2021-11-09 Oppo广东移动通信有限公司 Method, device, storage medium and electronic equipment for displaying target message
CN113890861A (en) * 2021-09-26 2022-01-04 北京达佳互联信息技术有限公司 Method, device, equipment and medium for sending instant communication message
CN114422461B (en) * 2022-01-04 2024-07-02 维沃移动通信有限公司 Message quoting method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110038305A (en) * 2019-04-12 2019-07-23 网易(杭州)网络有限公司 Information processing method and device, electronic equipment, storage medium
CN111049663A (en) * 2019-11-29 2020-04-21 维沃移动通信有限公司 Method, electronic device and medium for creating topic group
CN111447324A (en) * 2020-03-23 2020-07-24 维沃移动通信有限公司 Message display method and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130097526A1 (en) * 2011-10-17 2013-04-18 Research In Motion Limited Electronic device and method for reply message composition
CN105407037A (en) * 2015-10-30 2016-03-16 努比亚技术有限公司 Group chat device and method
CN108494572B (en) * 2018-03-19 2021-10-01 北京三快在线科技有限公司 Topic group creation method and device based on group
CN111200503B (en) * 2018-10-31 2022-06-24 阿里巴巴集团控股有限公司 Chat information processing method and device and electronic equipment
CN110597974B (en) * 2019-09-23 2022-05-24 北京达佳互联信息技术有限公司 Instant messaging method and device, computer equipment and terminal equipment
CN110768805B (en) * 2019-09-26 2021-07-20 维沃移动通信有限公司 Group message display method and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110038305A (en) * 2019-04-12 2019-07-23 网易(杭州)网络有限公司 Information processing method and device, electronic equipment, storage medium
CN111049663A (en) * 2019-11-29 2020-04-21 维沃移动通信有限公司 Method, electronic device and medium for creating topic group
CN111447324A (en) * 2020-03-23 2020-07-24 维沃移动通信有限公司 Message display method and electronic equipment

Also Published As

Publication number Publication date
CN113141295A (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN113141295B (en) Message display method and device and electronic equipment
CN111638847B (en) Split screen display method and device and electronic equipment
CN111984115A (en) Message sending method and device and electronic equipment
CN112269508B (en) Display method and device and electronic equipment
CN111984162A (en) Page display method and device and electronic equipment
CN113141293B (en) Message display method and device and electronic equipment
CN112988006B (en) Display method, display device, electronic equipment and storage medium
CN113703624A (en) Screen splitting method and device and electronic equipment
CN112416200A (en) Display method, display device, electronic equipment and readable storage medium
CN112099714B (en) Screenshot method and device, electronic equipment and readable storage medium
CN112702261B (en) Information display method and device and electronic equipment
CN113179205B (en) Image sharing method and device and electronic equipment
CN113504859A (en) Transmission method and device
CN112486444A (en) Screen projection method, device, equipment and readable storage medium
CN112433693A (en) Split screen display method and device and electronic equipment
CN112162803A (en) Message display method and device and electronic equipment
CN112399010B (en) Page display method and device and electronic equipment
CN112948843B (en) Encryption method, encryption device, electronic equipment and medium
CN112558829B (en) Input method display method and device and electronic equipment
CN112995406B (en) Display method and device and electronic equipment
CN113849092A (en) Content sharing method and device and electronic equipment
CN113821288A (en) Information display method and device, electronic equipment and storage medium
CN112286615A (en) Information display method and device of application program
CN112181559A (en) Interface display method and device and electronic equipment
CN112269510B (en) Information processing method and device and electronic equipment

Legal Events

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