CN-112162803-B - Message display method and device and electronic equipment
Abstract
The application discloses a message display method and device and electronic equipment, and belongs to the technical field of communication. The method and the device can solve the problem that the user cannot view important messages in time under the scene that the user sends more chat expressions in the chat interface. The method comprises the steps of receiving N messages, wherein N is a positive integer, displaying first-type message contents in the N messages in a first area, and displaying second-type message contents in the N messages in a second area. The embodiment of the application is applied to the chat scene.
Inventors
- ZHAO WEIZHENG
Assignees
- 维沃移动通信有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20200922
Claims (9)
- 1. A message display method, the method comprising: receiving N messages, wherein N is a positive integer; displaying the first type message content in the N messages in a first area, and displaying the second type message content in the N messages in a second area; wherein the message content categories of the first type message content and the second type message content are different; the first type of message content comprises chat expressions, and the second type of message content is other message content except the chat expressions; The N messages comprise first messages, wherein the first messages comprise first message contents and second message contents, the first message contents belong to the first type of message contents, and the second message contents belong to the second type of message contents; The displaying the first type message content in the N messages in the first area includes: displaying the first message content in a first sub-region in a first region of a first interface; the displaying the second type message content in the N messages in the second area comprises the following steps: Displaying the second message content in a second sub-region in a second region of the first interface; The first interface is divided into a plurality of display areas, each display area corresponds to one message transmission time, and the display area corresponding to the message transmission time of the first message is composed of the first subarea and the second subarea.
- 2. The method of claim 1, wherein the first type of message content comprises a third message content; The displaying the first type message content in the N messages in the first area includes: displaying the third message content and the first identifier on the first area; The first identifier is used for indicating the relative position of the third message content relative to the message content displayed in the second area when the third message content is displayed according to the sequence of message transmission time.
- 3. The method of claim 1, wherein the first type of message content comprises a plurality of fourth message content, and a fifth message content and a sixth message content adjacent to each other, wherein message transmission times corresponding to the plurality of fourth message content are located between message transmission times of the fifth message content and message transmission times of the sixth message content; The displaying the first type message content in the N messages in the first area includes: displaying the first target message content in the first display area and hiding the second target message content; The first target message content comprises a fourth message content, a fifth message content and a sixth message content, wherein the message transmission time of the fourth message content meets a preset threshold value; the second target message content includes fourth message contents other than the first target message content among the plurality of fourth message contents.
- 4. The method of claim 1, wherein after receiving the N messages, the method further comprises: displaying a first interface, wherein the first interface comprises the first area, the second area and a first input area; the method further comprises the steps of, after the first type of message content in the N messages is displayed in the first area and the second type of message content in the N messages is displayed in the second area: Receiving a first input of a user in the first input area; Generating a third message in response to the first input, the third message including at least one sixth message content entered by a user within the first input area; respectively displaying each sixth message content in a corresponding target area according to the message content category of each sixth message content; The target area corresponding to one sixth message content is an area corresponding to the message content category of the one sixth message content in the first area and the second area.
- 5. The method of claim 1, wherein the first region comprises a first sub-input region and the second region comprises a second sub-input region; the method further comprises the steps of, after the first type of message content in the N messages is displayed in the first area and the second type of message content in the N messages is displayed in the second area: Receiving a second input of a user in the target input area; Generating a fourth message in response to the second input, and displaying the fourth message in a target area; The target input area is the first sub-input area, the target area is the first area, or the target input area is the second sub-input area, and the target area is the second area.
- 6. The method of claim 5, wherein after receiving the N messages, the method further comprises: Displaying a first interface; The first interface comprises the first area, the second area and a first input area, wherein the first input area comprises the first sub-input area and the second sub-input area; the first sub-input area is aligned with a content display area in the first area and the second sub-input area is aligned with a content display area in the second area.
- 7. A message display apparatus, the apparatus comprising: The receiving module is used for receiving N messages, wherein N is a positive integer; the display module is used for displaying the first type message content in the N messages in a first area and displaying the second type message content in the N messages in a second area; wherein the message content categories of the first type message content and the second type message content are different; the first type of message content comprises chat expressions, and the second type of message content is other message content except the chat expressions; The N messages comprise first messages, wherein the first messages comprise first message contents and second message contents, the first message contents belong to the first type of message contents, and the second message contents belong to the second type of message contents; The display module is specifically configured to: displaying the first message content in a first sub-region in a first region of a first interface; Displaying the second message content in a second sub-region in a second region of the first interface; The first interface is divided into a plurality of display areas, each display area corresponds to one message transmission time, and the display area corresponding to the message transmission time of the first message is composed of the first subarea and the second subarea.
- 8. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the message display method of any of claims 1-6.
- 9. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the message display method according to any of claims 1-6.
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 Today, where the internet is increasingly popular, chat software has become an indispensable tool for current people to communicate and communicate. In ordinary chat, chat expressions are increasingly used, and can increase the intimacy degree and the interestingness of the chat, and meanwhile, the distance between two chat parties can be shortened. In the related art, when a user uses a "chat" APP to chat with others, the user can communicate with the others by transmitting chat expressions that characterize different emotions. However, when the user sends more chat expressions in the chat interface, the user cannot view the important message in time, and the important message is missed. Disclosure of Invention The embodiment of the application aims to provide a message display method, a message display device and electronic equipment, which can solve the problem that a user cannot quickly view important messages under the scene that the user sends more chat expressions in a chat interface. In order to solve the technical problems, the application is realized as follows: in a first aspect, an embodiment of the present application provides a message display method, where N messages are received, where N is a positive integer, and a first type of message content in the N messages is displayed in a first area, and a second type of message content in the N messages is displayed in a second area. In a second aspect, an embodiment of the present application provides a message display device, where the device includes a receiving module configured to receive N messages, where N is a positive integer, and a display module configured to display a first type of message content in the N messages in a first area and display a second type of message content in the N messages in a second area. In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions implementing the steps of the method as in the first aspect when executed by the processor. In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method as in the first aspect. In a fifth aspect, 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 where the processor is configured to execute a program or instructions to implement a method as in the first aspect. In the embodiment of the application, N messages are received under the condition of displaying the first interface, N is a positive integer, the first type message content in the N messages is displayed in the first area, and the second type message content in the N messages is displayed in the second area. Therefore, the message content (such as chat expressions) of the text content in the partial interference message is filtered by displaying the message content of different message content categories in the first interface in the divided regions, so that the interference of the partial message content to the text content in the message is avoided, the user can view continuous texts, and the user can acquire complete message content. Drawings FIG. 1 is a method flow chart of a message display method provided in an embodiment of the present application; FIG. 2 is a schematic diagram of an interface to which a message display method according to an embodiment of the present application is applied; FIG. 3 is a second schematic diagram of an interface to which a message display method according to an embodiment of the present application is applied; FIG. 4 is a third diagram of an interface to which a message display method according to an embodiment of the present application is applied; FIG. 5 is a diagram illustrating an interface to which a message display method according to an embodiment of the present application is applied; FIG. 6 is a diagram of an interface to which a message display method according to an embodiment of the present application is applied; FIG. 7 is a diagram illustrating an interface to which a message display method according to an embodiment of the present application is applied; Fig. 8 is a schematic structural diagram of a message display device according to an embodiment of the present application; Fig. 9 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application; Fig. 10 is a second schematic diagram of a hardware structure of