[go: up one dir, main page]

CN111865760B - Message display method and device - Google Patents

Message display method and device Download PDF

Info

Publication number
CN111865760B
CN111865760B CN202010607041.2A CN202010607041A CN111865760B CN 111865760 B CN111865760 B CN 111865760B CN 202010607041 A CN202010607041 A CN 202010607041A CN 111865760 B CN111865760 B CN 111865760B
Authority
CN
China
Prior art keywords
target
message
input
displaying
chat
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010607041.2A
Other languages
Chinese (zh)
Other versions
CN111865760A (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 CN202010607041.2A priority Critical patent/CN111865760B/en
Publication of CN111865760A publication Critical patent/CN111865760A/en
Application granted granted Critical
Publication of CN111865760B publication Critical patent/CN111865760B/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 OR CALCULATING; 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
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F3/0488Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • 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/21Monitoring or handling of messages
    • H04L51/212Monitoring or handling of messages using filtering or selective blocking
    • 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)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a message display method and device, belongs to the technical field of communication, and aims to solve the problem that a user needs to spend more time to check similar messages, so that the operation is complex. Wherein the method comprises the following steps: under the condition of displaying a first target message, acquiring a target theme of the first target message; acquiring a second target message matched with the target subject; and displaying the second target message.

Description

消息显示方法及装置Message display method and device

技术领域technical field

本申请属于通信技术领域,具体涉及一种消息显示方法及装置。The present application belongs to the field of communication technologies, and in particular relates to a message display method and device.

背景技术Background technique

目前,随着电子技术的不断发展,电子设备中的软件层出不穷,各软件推送消息、收发消息,从而使得电子备中的信息量也越来越大。At present, with the continuous development of electronic technology, software in electronic devices emerges in an endless stream, each software pushes messages, sends and receives messages, so that the amount of information in electronic devices is also increasing.

其中,以电子设备中的微信、QQ等通信软件为主流,电子设备已成为一种即时通讯工具被人们广泛应用。而随着用户人际交流需求的不断变化,用户的好友消息、群聊消息越来越多。在大量消息中,有些消息中的内容是相似的,用户需一一查看,再分别进行回复或者忽略等处理,导致用户需要花费较多的时间去查看相似消息。Among them, communication software such as WeChat and QQ in electronic devices are the mainstream, and electronic devices have become an instant communication tool and are widely used by people. With the continuous change of users' needs for interpersonal communication, there are more and more friends messages and group chat messages of users. In a large number of messages, the content of some messages is similar, and the user needs to check them one by one, and then reply or ignore them respectively, so that the user needs to spend more time to check similar messages.

因此,在实现本申请过程中,发明人发现现有技术中至少存在如下问题:用户需要花费较多的时间去查看相似消息,导致操作繁琐。Therefore, in the process of realizing the present application, the inventor found that there are at least the following problems in the prior art: users need to spend more time to view similar messages, resulting in cumbersome operations.

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的是提供一种消息显示方法及装置,能够解决用户需要花费较多的时间去查看相似消息,导致操作繁琐的问题。The purpose of the embodiments of the present application is to provide a message display method and device, which can solve the problem that the user needs to spend a lot of time to view similar messages, resulting in cumbersome operations.

为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:

第一方面,本申请实施例提供了一种消息显示方法,该方法包括:在显示第一目标消息的情况下,获取所述第一目标消息的目标主题;获取与所述目标主题匹配的第二目标消息,所述第二目标消息不包括所述第一目标消息;显示所述第二目标消息。In a first aspect, an embodiment of the present application provides a method for displaying a message. The method includes: when a first target message is displayed, acquiring a target topic of the first target message; acquiring a first target topic matching the target topic A second target message, the second target message does not include the first target message; the second target message is displayed.

第二方面,本申请实施例提供了一种消息显示装置,该装置包括:在显示第一目标消息的情况下,获取所述第一目标消息的目标主题;获取与所述目标主题匹配的第二目标消息;显示所述第二目标消息。In a second aspect, an embodiment of the present application provides a message display device, the device includes: in the case of displaying a first target message, acquiring a target topic of the first target message; acquiring a first target topic matching the target topic Second target message; displaying the second target message.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.

第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .

第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.

在本申请实施例中,在显示第一目标消息的情况下,通过获取其目标主题的方式,可在除第一目标消息以外的大量消息中,检索出与目标主题关联的第二目标消息,例如,第二目标消息的主题与目标主题相似或一致;又如,第二目标消息的内容包括目标主题;等等,从而显示检索结果。这样,利用第一目标消息的目标主题,可获取与目标主题匹配的第二目标消息,并集中显示,便于用户查看,简化用户操作,从而解决了用户需要花费较多的时间去查看相似消息,导致操作繁琐的问题。In the embodiment of the present application, when the first target message is displayed, the second target message associated with the target topic can be retrieved from a large number of messages other than the first target message by acquiring its target topic. For example, the subject of the second target message is similar to or consistent with the target subject; in another example, the content of the second target message includes the target subject; and so on, so as to display the retrieval result. In this way, by using the target topic of the first target message, the second target message matching the target topic can be obtained and displayed in a centralized manner, which is convenient for the user to view and simplifies the user operation, thereby solving the problem that the user needs to spend more time to view similar messages. lead to cumbersome operations.

附图说明Description of drawings

图1是本申请实施例的消息显示方法的流程图之一;FIG. 1 is one of the flowcharts of the message display method according to the embodiment of the present application;

图2是本申请实施例的消息显示方法的流程图之二;FIG. 2 is the second flow chart of the message display method according to the embodiment of the present application;

图3是本申请实施例的消息显示方法的显示示意图之一;3 is one of the schematic display diagrams of the message display method according to the embodiment of the present application;

图4是本申请实施例的消息显示方法的显示示意图之二;4 is the second schematic diagram of the display of the message display method according to the embodiment of the present application;

图5是本申请实施例的消息显示方法的流程图之三;FIG. 5 is the third flowchart of the message display method according to the embodiment of the present application;

图6是本申请实施例的消息显示方法的流程图之四;FIG. 6 is the fourth flowchart of the message display method according to the embodiment of the present application;

图7是本申请实施例的消息显示方法的显示示意图之三;FIG. 7 is the third schematic diagram of the display of the message display method according to the embodiment of the present application;

图8是本申请实施例的消息显示方法的显示示意图之四;FIG. 8 is a fourth schematic diagram of a display method of a message display method according to an embodiment of the present application;

图9是本申请实施例的消息显示方法的流程图之五;FIG. 9 is a fifth flowchart of a message display method according to an embodiment of the present application;

图10是本申请实施例的消息显示方法的显示示意图之五;FIG. 10 is a fifth schematic diagram of the display of the message display method according to the embodiment of the present application;

图11是本申请实施例的消息显示方法的显示示意图之六;FIG. 11 is a sixth schematic diagram of a message display method according to an embodiment of the present application;

图12是本申请实施例的消息显示方法的流程图之六;12 is the sixth flowchart of the message display method according to the embodiment of the present application;

图13是本申请实施例的消息显示方法的显示示意图之七;FIG. 13 is a seventh display schematic diagram of a message display method according to an embodiment of the present application;

图14是本申请实施例的消息显示方法的操作示意图;FIG. 14 is an operation schematic diagram of a message display method according to an embodiment of the present application;

图15是本申请实施例的消息显示方法的流程图之七;FIG. 15 is the seventh flowchart of the message display method according to the embodiment of the present application;

图16是本申请实施例的消息显示方法的显示示意图之八;FIG. 16 is the eighth schematic display diagram of the message display method according to the embodiment of the present application;

图17是本申请实施例的消息显示装置的框图;17 is a block diagram of a message display apparatus according to an embodiment of the present application;

图18是本申请实施例的电子设备的硬件结构示意图之一。FIG. 18 is one of the schematic diagrams of the hardware structure of the electronic device according to the embodiment of the present application.

图19是本申请实施例的电子设备的硬件结构示意图之二。FIG. 19 is the second schematic diagram of the hardware structure of the electronic device according to the embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的消息显示方法进行详细地说明。The following describes the message display method provided by the embodiment of the present application in detail through specific embodiments and application scenarios with reference to the accompanying drawings.

图1示出了本申请一个实施例的消息显示方法的流程图,包括:FIG. 1 shows a flowchart of a message display method according to an embodiment of the present application, including:

步骤S1:在显示第一目标消息的情况下,获取第一目标消息的目标主题。Step S1: In the case of displaying the first target message, acquire the target subject of the first target message.

可选地,第一目标消息包括社交类应用程序中的聊天消息、视频类应用程序中的推送消息等等中的至少一种。Optionally, the first target message includes at least one of chat messages in social applications, push messages in video applications, and the like.

该步骤中应用场景如,在接收到第一目标消息的情况下,在显示屏上显示第一目标消息。The application scenario of this step is, for example, when the first target message is received, the first target message is displayed on the display screen.

可选地,目标主题为基于目标消息中的内容,得到的中心思想、关键词、聊天话题等中的至少一种。Optionally, the target topic is at least one of a central idea, a keyword, a chat topic, etc. obtained based on the content in the target message.

在本申请的实施例中,以第一目标消息为聊天消息、对应的目标主题为聊天话题为例,详细说明本申请实施例的实现过程。In the embodiment of the present application, the implementation process of the embodiment of the present application is described in detail by taking the first target message as a chat message and the corresponding target topic as a chat topic as an example.

应用场景如,在接收到聊天消息的情况下,根据聊天消息中的聊天内容,得到聊天话题,如“电影”话题。For example, when a chat message is received, a chat topic, such as a "movie" topic, is obtained according to the chat content in the chat message.

可选地,本实施例中显示的聊天消息可以是未读消息,还可以是已读消息;本实施例中显示的聊天消息可以是接收到的消息,还可以是发送的消息;本实施例中显示的聊天消息可以是预设周期内的消息,如一周之内的消息。Optionally, the chat message displayed in this embodiment may be an unread message or a read message; the chat message displayed in this embodiment may be a received message or a sent message; this embodiment The chat messages displayed in can be messages within a preset period, such as messages within a week.

步骤S2:获取与目标主题匹配的第二目标消息。Step S2: Acquire a second target message matching the target topic.

其中,第二目标消息可以不包括第一目标消息。Wherein, the second target message may not include the first target message.

在该步骤中,根据获取的目标主题,在除第一目标消息以外的大量消息中,检索与目标主题匹配的第二目标消息。In this step, according to the acquired target topic, among a large number of messages other than the first target message, a second target message matching the target topic is retrieved.

可选地,第二目标消息与第一目标消息为同类型应用程序中的消息。Optionally, the second target message and the first target message are messages in the same type of application.

可选地,“匹配”的条件可以是与目标主题相关联。“匹配”的条件包括但不限于:消息主题与目标主题相似或一致、消息内容包含目标主题、消息关键词与目标主题一致或者接近。Optionally, a "match" condition may be associated with a target topic. The conditions for "matching" include, but are not limited to: the message subject is similar or consistent with the target subject, the message content contains the target subject, and the message keyword is consistent or close to the target subject.

示例性地,第二目标消息与第一目标消息均为聊天消息。Exemplarily, both the second target message and the first target message are chat messages.

可选地,本实施例中匹配的聊天消息可以是未读消息,还可以是已读消息;本实施例中显示的聊天消息可以是接收到的消息,还可以是发送的消息;本实施例中显示的聊天消息可以是预设周期内的消息,如一周之内的消息。Optionally, the matched chat message in this embodiment may be an unread message or a read message; the chat message displayed in this embodiment may be a received message or a sent message; this embodiment The chat messages displayed in can be messages within a preset period, such as messages within a week.

应用场景如,本实施例中的消息显示方法应用于电子设备。电子设备当前接收到A好友发来的聊天消息,得到其聊天话题为“电影”,则在最近接收、发送的聊天消息中,查找与“电影”相关的聊天消息,如B好友发来的聊天消息、C群聊中的聊天消息等。Application scenarios For example, the message display method in this embodiment is applied to an electronic device. The electronic device currently receives a chat message from friend A, and finds that the chat topic is "movie", and then searches for chat messages related to "movie" in the recently received and sent chat messages, such as the chat message from friend B. Messages, chat messages in C group chat, etc.

步骤S3:显示第二目标消息。Step S3: Display the second target message.

该步骤用于显示匹配结果。This step is used to display matching results.

基于前述的步骤,匹配结果中的第二目标消息都是关联于目标主题的,因此,在显示第一目标消息的情况下,同步显示第二目标消息,可将与目标主题关联的所有消息进行集中显示。Based on the foregoing steps, the second target messages in the matching results are all related to the target topic. Therefore, in the case of displaying the first target message, the second target message is displayed synchronously, and all messages associated with the target topic can be displayed. Centralized display.

应用场景如,电子设备当前接收到A好友发来的聊天消息,得到其聊天话题为“电影”,经查找匹配后,同步显示与“电影”相关的其它聊天消息,如B好友发来的聊天消息、C群聊中的聊天消息等。For example, the electronic device currently receives a chat message from friend A, and obtains that the chat topic is "movie". After searching and matching, it synchronously displays other chat messages related to "movie", such as the chat message sent by friend B. Messages, chat messages in C group chat, etc.

在本申请实施例中,在显示第一目标消息的情况下,通过获取其目标主题的方式,可在除第一目标消息以外的大量消息中,检索出与目标主题关联的第二目标消息,例如,第二目标消息的主题与目标主题相似或一致;又如,第二目标消息的内容包括目标主题;等等,从而显示检索结果。这样,利用第一目标消息的目标主题,可获取与目标主题匹配的第二目标消息,并集中显示,便于用户查看,简化用户操作,从而解决了用户需要花费较多的时间去查看相似消息,导致操作繁琐的问题。In the embodiment of the present application, when the first target message is displayed, the second target message associated with the target topic can be retrieved from a large number of messages other than the first target message by acquiring its target topic. For example, the subject of the second target message is similar to or consistent with the target subject; in another example, the content of the second target message includes the target subject; and so on, so as to display the retrieval result. In this way, by using the target topic of the first target message, the second target message matching the target topic can be obtained and displayed in a centralized manner, which is convenient for the user to view and simplifies the user operation, thereby solving the problem that the user needs to spend more time to view similar messages. lead to cumbersome operations.

在图1所示实施例的基础上,图2示出了本申请另一个实施例的消息显示方法的流程图,应用于电子设备,电子设备包括第一目标区域和第二目标区域,步骤S3包括:On the basis of the embodiment shown in FIG. 1 , FIG. 2 shows a flowchart of a message display method according to another embodiment of the present application, which is applied to an electronic device. The electronic device includes a first target area and a second target area. Step S3 include:

步骤S31:将第一目标消息在第一目标区域显示,并将第二目标消息在第二目标区域显示。Step S31: Display the first target message in the first target area, and display the second target message in the second target area.

为了区分,可将第一目标消息作为匹配的初始消息,显示于第一目标区域,将第二目标消息作为匹配的结果消息,显示于第二目标区域。In order to distinguish, the first target message may be used as the matching initial message to be displayed in the first target area, and the second target message may be used as the matching result message to be displayed in the second target area.

可选地,本实施例中的消息显示方法可应用于双面屏、折叠屏的电子设备,从而可将第一目标消息显示于一个屏幕,将第二目标消息显示于另一个屏幕。Optionally, the message display method in this embodiment can be applied to an electronic device with a double-sided screen or a folding screen, so that the first target message can be displayed on one screen and the second target message can be displayed on the other screen.

参见图3,示出了电子设备包括的两个屏幕,分别是第一屏幕1和第二屏幕2,这里的第一屏幕1和第二屏幕2之间存在机械连接关系,为了便于解释本实施例,分别单独示出了两个屏幕。Referring to FIG. 3 , two screens included in the electronic device are shown, namely, a first screen 1 and a second screen 2 , where there is a mechanical connection between the first screen 1 and the second screen 2 , for the convenience of explaining this implementation For example, two screens are shown separately.

在使用中,第一屏幕1为主屏幕,为常用屏幕,第二屏幕2为副屏幕,仅在分屏模式下启用。In use, the first screen 1 is the main screen, which is a common screen, and the second screen 2 is a secondary screen, which is only enabled in split-screen mode.

可选地,在本实施例中,在第一屏幕1显示第一目标消息的情况下,用户可选择分屏模式。参见图3,在分屏模式下,第一屏幕1显示第一目标消息,第一目标消息如接收到的聊天消息,包括群聊A的聊天消息、群聊C的聊天消息。进一步地,对群聊A的聊天消息进行话题归类合并,得到话题a;对群聊C的聊天消息进行话题归类合并,得到话题a。第二屏幕2显示基于话题a检索后匹配到的多条第二目标消息,即M应用群聊的聊天消息、N应用群聊的聊天消息。Optionally, in this embodiment, when the first target message is displayed on the first screen 1, the user can select a split-screen mode. Referring to FIG. 3 , in the split-screen mode, the first screen 1 displays a first target message, such as a received chat message, including a chat message of group chat A and a chat message of group chat C. Further, topic classification and merging are performed on the chat messages of group chat A to obtain topic a; and the chat messages of group chat C are subjected to topic classification and merging to obtain topic a. The second screen 2 displays a plurality of second target messages that are retrieved and matched based on the topic a, that is, the chat messages of the M application group chat, and the chat messages of the N application group chat.

可选地,可将得到的话题在消息栏中进行标记,以便于用户参考。Optionally, the obtained topics can be marked in the message column for easy reference by the user.

在更多的场景中,还可在同一显示屏中启用分屏模式,从而在显示屏划分出第一目标区域和第二目标区域,第一目标区域用于显示第一目标消息,第二目标区域用于显示第二目标消息。In more scenarios, the split-screen mode can also be enabled in the same display screen, so as to divide the display screen into a first target area and a second target area, the first target area is used to display the first target message, and the second target area is used to display the first target message. The area is used to display the second target message.

其中,参见图4,若第一屏幕1显示多个第一目标消息,且从多个第一目标消息中,得到多个目标主题,例如,群聊A的聊天话题为话题a,群聊B的聊天话题为话题b,则针对每个目标主题,分别进行匹配,再将匹配结果显示在第二屏幕2上。4 , if multiple first target messages are displayed on the first screen 1, and multiple target topics are obtained from the multiple first target messages, for example, the chat topic of group chat A is topic a, and group chat B is The chat topic is topic b, then for each target topic, matching is performed separately, and the matching result is displayed on the second screen 2 .

在本实施例中,针对电子设备的第一目标区域中显示的消息内容,进行实体、关键词、话题等的提取,得到聊天话题,并在第二目标区域显示基于聊天话题得到的匹配结果。可见,本实施例可自动获取消息中的聊天话题,并基于相同的聊天话题,集中显示对应的聊天消息,从而用户可针对相似话题的聊天消息进行统一管理,如集中查看、集中处理等,从而减少用户重复打开多个应用的聊天窗口的操作次数,进而简化用户操作。In this embodiment, entities, keywords, topics, etc. are extracted for the message content displayed in the first target area of the electronic device to obtain a chat topic, and a matching result based on the chat topic is displayed in the second target area. It can be seen that in this embodiment, chat topics in messages can be automatically acquired, and corresponding chat messages can be displayed in a centralized manner based on the same chat topics, so that users can perform unified management on chat messages of similar topics, such as centralized viewing, centralized processing, etc., thereby Simplify user operations by reducing the number of times users repeatedly open chat windows in multiple apps.

在图2所示实施例的基础上,图5示出了本申请另一个实施例的消息显示方法的流程图,步骤S31包括:On the basis of the embodiment shown in FIG. 2 , FIG. 5 shows a flowchart of a message display method according to another embodiment of the present application. Step S31 includes:

步骤S311:将第一目标消息在第一目标区域显示,并在第二目标区域显示至少一个应用程序的标识,一个应用程序的标识对应一个应用程序。Step S311: Display the first target message in the first target area, and display the identifier of at least one application program in the second target area, and the identifier of one application program corresponds to one application program.

在本实施例中,可将匹配到的第二目标消息进行分类。In this embodiment, the matched second target message may be classified.

可参考地,可根据第二目标消息所属的应用程序进行分类。For reference, classification may be performed according to the application to which the second target message belongs.

步骤S312:接收对至少一个应用程序的标识中的第一应用程序的标识的第一输入。Step S312: Receive a first input of an identifier of a first application among the identifiers of at least one application.

第一输入的实现形式不限于触摸动作、隔空动作等;不限于手势动作、面部动作等;不限于一个动作、多个动作。而且,当第一输入包括多个动作时,多个动作可以是连续的,还可以是间断的。The implementation form of the first input is not limited to a touch action, a space action, etc.; not limited to a gesture action, a facial action, etc.; not limited to one action or multiple actions. Also, when the first input includes a plurality of actions, the plurality of actions may be continuous or discontinuous.

步骤S313:响应于第一输入,显示第一应用程序中包括的第二目标消息,第一应用程序的标识对应第一应用程序。Step S313: In response to the first input, display the second target message included in the first application program, and the identifier of the first application program corresponds to the first application program.

可选地,应用程序的标识为图标、显示栏等。Optionally, the identification of the application is an icon, a display bar, or the like.

应用场景如,基于第一目标消息的目标主题,从多个应用程序中匹配到第二目标消息,从而在第二目标区域显示多个应用程序的图标。用户通过第一输入点击其中的第一应用程序的图标,从而显示匹配结果中包含的第一应用程序中的消息。The application scenario is, for example, based on the target subject of the first target message, the second target message is matched from multiple application programs, so that the icons of the multiple application programs are displayed in the second target area. The user clicks the icon of the first application program through the first input, thereby displaying the message in the first application program included in the matching result.

可选地,针对多个第一目标消息对应多个目标主题的情况,可在第二目标区域显示多个目标主题的标识,从而用户可点击其中的第一目标主题的标识,第二目标区域显示第一目标主题目录下的多个应用程序的标识。进一步地,用户可点击其中的第一应用程序的标识,第二目标区域显示第一应用程序目录下的第二目标消息。Optionally, for a situation where multiple first target messages correspond to multiple target topics, the identifiers of multiple target topics can be displayed in the second target area, so that the user can click on the identifiers of the first target topics, and the second target area Displays the identifiers of multiple applications under the first target theme directory. Further, the user can click on the identifier of the first application, and the second target area displays the second target message under the first application directory.

可选地,针对多个第一目标消息对应多个目标主题的情况,可在第二目标区域显示多个应用程序的标识,同时,每个应用程序的标识中还突出显示其包含的目标主题,从而用户可点击其中的第一应用程序的标识,第二目标区域显示第一应用程序目录下的多个目标话题的标识。进一步地,用户可点击其中的第一目标话题的标识,第二目标区域显示第一目标话题目录下的第二目标消息。Optionally, for a situation where multiple first target messages correspond to multiple target themes, the identifiers of multiple application programs can be displayed in the second target area, and at the same time, the identifiers of each application program also highlight the target themes it contains. , so that the user can click on the identifier of the first application, and the second target area displays the identifiers of multiple target topics under the directory of the first application. Further, the user can click on the logo of the first target topic, and the second target area displays the second target message under the first target topic category.

在本实施例中,对于同一目标主题匹配到的大量消息,可将一个应用程序中的消息整合在一起,从而以应用程序为单位进行显示。In this embodiment, for a large number of messages matched to the same target topic, the messages in one application program can be integrated together, so as to be displayed in units of application programs.

在本实施例中,为了避免匹配到的第二目标消息的数量较多,可针对第二目标消息所属的应用程序进行分类管理。进一步地,针对同时匹配多个目标主题的情况,还可针对不同目标主题的匹配结果进行分类管理。这样,同一应用程序的检索结果集中显示,同一主题的检索结果集中显示,进一步简化用户操作。In this embodiment, in order to avoid a large number of matched second target messages, classification management may be performed on the applications to which the second target messages belong. Further, in the case of matching multiple target themes at the same time, classification management can also be performed for the matching results of different target themes. In this way, the retrieval results of the same application are displayed in a centralized manner, and the retrieval results of the same subject are displayed in a centralized manner, which further simplifies user operations.

在图2所示实施例的基础上,图6示出了本申请另一个实施例的消息显示方法的流程图,步骤S3之后,还包括:On the basis of the embodiment shown in FIG. 2 , FIG. 6 shows a flowchart of a message display method according to another embodiment of the present application. After step S3, the method further includes:

步骤S4:根据目标主题、第一目标消息和第二目标消息中的至少一项,生成第一共享信息。Step S4: Generate first shared information according to at least one of the target topic, the first target message, and the second target message.

在本实施例中,第一共享信息包括多种形式。In this embodiment, the first shared information includes various forms.

该步骤的实现场景包括但不限于以下场景。Implementation scenarios of this step include but are not limited to the following scenarios.

例如,在第一目标区域中,针对用户所选的第一目标消息及其目标主题,自动生成与目标主题相关的聊天记录、书签、相关计算结果等,作为第一共享信息;对于用户所选的第一目标消息中包含的图片、文字等,作为第一共享信息。For example, in the first target area, for the first target message and the target topic selected by the user, chat records, bookmarks, related calculation results, etc. related to the target topic are automatically generated as the first shared information; The pictures, texts, etc. contained in the first target message of the , as the first shared information.

又如,在第二目标区域中,针对用户所选的第二目标消息及其目标主题,自动生成与目标主题相关的聊天记录、书签、相关计算结果等,作为第一共享信息;对于用户所选的第二目标消息中包含的图片、文字等,作为第一共享信息。For another example, in the second target area, for the second target message and the target topic selected by the user, chat records, bookmarks, related calculation results, etc. related to the target topic are automatically generated as the first shared information; The picture, text, etc. included in the selected second target message are used as the first shared information.

又如,参见图7,在双面屏的第一屏幕1中,在当前显示应用1和应用2的情况下,可针对应用1中的第一目标消息和/或其目标主题,自动进行话题合成,作为第一共享信息,还可应用2中的第一目标消息和/或其目标主题,自动进行话题合成,作为第一共享信息。For another example, referring to FIG. 7 , in the first screen 1 of the double-sided screen, under the condition that application 1 and application 2 are currently displayed, a topic can be automatically conducted for the first target message and/or its target topic in application 1 To synthesize, as the first shared information, the first target message and/or its target topic in 2 may also be applied to automatically perform topic synthesis as the first shared information.

又如,参见图7,在双面屏的第二屏幕2中,在当前显示应用3和应用4的情况下,可针对应用3中的第二目标消息和/或其目标主题,自动进行话题合成,作为第一共享信息,还可应用4中的第二目标消息和/或其目标主题,自动进行话题合成,作为第一共享信息。For another example, referring to FIG. 7 , in the second screen 2 of the double-sided screen, under the condition that application 3 and application 4 are currently displayed, a topic can be automatically conducted for the second target message in application 3 and/or its target topic To synthesize, as the first shared information, the second target message and/or its target topic in 4 may also be applied to automatically perform topic synthesis as the first shared information.

在更多的场景中,还可针对第一屏幕1中显示的应用的第一目标消息,以及第二屏幕2中显示的应用的第二目标消息,结合其共同的目标主题,进行话题合成,作为第一共享信息。In more scenarios, topic synthesis can also be performed for the first target message of the application displayed on the first screen 1 and the second target message of the application displayed on the second screen 2 in combination with their common target theme, as the first shared information.

可选地,第一共享信息可根据第一目标消息、目标主题和第二目标消息中至少一项而来,具体可由其中一项而来,可由两两组合而来,还可由三者组合而来。Optionally, the first shared information may be derived from at least one of the first target message, the target topic, and the second target message, and may be derived from one of them, a combination of two or two, or a combination of the three. Come.

具体地,可由设备根据当前显示,自动合成第一共享信息;还可根据用户所选的任意条目标消息,自动合成第一共享信息。Specifically, the device can automatically synthesize the first shared information according to the current display; and can also automatically synthesize the first shared information according to any target message selected by the user.

步骤S5:接收对第一共享信息的第二输入。Step S5: Receive a second input of the first shared information.

第二输入用于实现用户在第一目标区域和第二目标区域之间分享第一共享信息。The second input is used to enable the user to share the first shared information between the first target area and the second target area.

第二输入的实现形式不限于触摸动作、隔空动作等;不限于手势动作、面部动作等;不限于一个动作、多个动作。而且,当第二输入包括多个动作时,多个动作可以是连续的,还可以是间断的。The implementation form of the second input is not limited to touch action, space action, etc.; not limited to gesture action, facial action, etc.; not limited to one action or multiple actions. Also, when the second input includes a plurality of actions, the plurality of actions may be continuous or discontinuous.

步骤S6:响应于第二输入,在第一目标区域和第二目标区域中的至少一个区域显示第一共享信息。Step S6: In response to the second input, display the first shared information in at least one of the first target area and the second target area.

该步骤的实现场景包括但不限于以下场景。Implementation scenarios of this step include but are not limited to the following scenarios.

例如,基于在第一目标区域生成的第一共享信息,用户可通过第二输入,在第一目标区域的多个应用之间分享。For example, based on the first shared information generated in the first target area, the user may share among multiple applications in the first target area through the second input.

又如,基于在第二目标区域生成的第一共享信息,用户可通过第二输入,在第二目标区域的多个应用之间分享。For another example, based on the first shared information generated in the second target area, the user may share among multiple applications in the second target area through the second input.

又如,基于在第一目标区域生成的第一共享信息,用户可通过第二输入,分享至第二目标区域,具体至第二目标区域的某一应用。For another example, based on the first shared information generated in the first target area, the user can share to the second target area through the second input, specifically to an application in the second target area.

又如,基于在第二目标区域生成的第一共享信息,户可通过第二输入,分享至第一目标区域,具体至第一目标区域的某一应用。For another example, based on the first shared information generated in the second target area, the user can share to the first target area through the second input, specifically to an application in the first target area.

应用于双面屏时,具体的分享方式可参见图8所示。When applied to a double-sided screen, the specific sharing method can be seen in Figure 8.

参见图7和图8,可参考的实现过程为:用户选择分屏模式后,创建独立的第一屏幕系统(将第一屏幕作为主屏)和第二屏幕系统(将第二屏幕作为副屏),在系统底层创建数据交互通道,包含发送和接收两个模块。若用户想要将第一屏幕1的第一共享信息分享到第二屏幕2的应用聊天窗口、添加至备忘录中等,则通过第二输入触发跨屏操作,第二输入如长按文字或图片,从而触发系统添加跨屏操作选项,跨屏操作选项如复制到第二屏幕2、分享到第二屏幕2的QQ应用等。进一步地,第一屏幕系统收集当前跨屏操作信息进行协议封装,传递给第二屏幕系统,第二屏幕系统根据协议对接收到的信息进行解析处理,调用相关的应用进行处理,如价格文字粘贴至剪贴板,图片分享给QQ等,从而完成数据跨屏传输合成并响应用户操作的过程。Referring to FIG. 7 and FIG. 8 , the implementation process for reference is: after the user selects the split-screen mode, create an independent first screen system (use the first screen as the main screen) and a second screen system (use the second screen as the secondary screen) , create a data exchange channel at the bottom of the system, including two modules of sending and receiving. If the user wants to share the first shared information of the first screen 1 to the application chat window of the second screen 2, add it to a memo, etc., the cross-screen operation is triggered through a second input, such as long-pressing a text or image, Thus, the system is triggered to add cross-screen operation options, such as copying to the second screen 2, sharing to the QQ application of the second screen 2, and the like. Further, the first screen system collects the current cross-screen operation information, encapsulates the protocol, and transmits it to the second screen system. The second screen system parses and processes the received information according to the protocol, and calls related applications for processing, such as price text pasting. To the clipboard, pictures are shared to QQ, etc., so as to complete the process of data cross-screen transmission and synthesis and respond to user operations.

在本实施例中,提供了一种聊天消息的合成以及共享的模式。首先,本实施例可自动检测第一目标区域中聊天窗口中的聊天话题,并结合第二目标区域,创建聊天话题共享界面,共享界面包括基于该聊天话题的多个应用聊天窗口,用户可自行选择加入共享界面中的聊天窗口进行查看、聊天等。在此过程中,用户可根据不同聊天窗口间话题的相似性进行聊天消息的共享,即快速将一个聊天窗口中的消息内容快速分享至另一个聊天窗口中,从而在集中显示相似消息的基础上,实现消息共享,提高沟通效率,减少用户在多个应用聊天窗口重复操作的次数,简化用户操作。In this embodiment, a mode of combining and sharing chat messages is provided. First, this embodiment can automatically detect the chat topic in the chat window in the first target area, and create a chat topic sharing interface in combination with the second target area. The sharing interface includes multiple application chat windows based on the chat topic. Choose to join the chat window in the sharing interface to view, chat, and more. In this process, users can share chat messages according to the similarity of topics between different chat windows, that is, quickly share the content of messages in one chat window to another chat window, so that on the basis of centralized display of similar messages , to achieve message sharing, improve communication efficiency, reduce the number of repeated operations by users in multiple application chat windows, and simplify user operations.

特别地,以上实施例适用于双面屏的电子设备。针对用户切换至分屏模式的情况下,在左右两屏的系统底层创建数据交互通道,封装出接口供应用调用,应用集成后通过用户一键式操作达到快速分享的目的。达到了以下效果:以自动代替手动操作,减少重复操作数;以聊天话题代替聊天内容,聊天话题更加直观易读;用户可自行加入感兴趣的话题共享界面进行畅谈;结合不同聊天窗口中的相似话题的特性进行消息共享,提高沟通效率。可见,分屏模式下多应用的使用场景,保留了分屏模式的独立性,又新增了跨屏数据的共享合成便捷操作,提升了用户体验。In particular, the above embodiments are applicable to electronic devices with double-sided screens. When the user switches to the split-screen mode, a data interaction channel is created at the bottom layer of the system on the left and right screens, and the outbound interface is encapsulated for application calls. After the application is integrated, the user can quickly share with one-click operation. The following effects have been achieved: replacing manual operations with automation, reducing the number of repeated operations; replacing chat content with chat topics, which makes chat topics more intuitive and easy to read; users can add topics of interest to share the interface for chatting; combine similarities in different chat windows The characteristics of the topic carry out message sharing and improve communication efficiency. It can be seen that the use of multiple applications in the split-screen mode retains the independence of the split-screen mode, and adds a convenient operation of sharing and synthesizing cross-screen data, which improves the user experience.

在图1所示实施例的基础上,图9示出了本申请另一个实施例的消息显示方法的流程图,步骤S1包括:On the basis of the embodiment shown in FIG. 1 , FIG. 9 shows a flowchart of a message display method according to another embodiment of the present application. Step S1 includes:

步骤S110:在显示多个目标对象的目标消息的情况下,分别对应获取多个目标对象的目标消息的目标主题。Step S110 : in the case of displaying the target messages of multiple target objects, acquire the target topics of the target messages of the multiple target objects correspondingly respectively.

对应地,步骤S110之后,还包括:Correspondingly, after step S110, it also includes:

步骤S7:在多个目标对象的目标消息的目标主题的相似度达到第一阈值的情况下,创建与目标主题相关联的目标共享空间。Step S7: When the similarity of the target topics of the target messages of the multiple target objects reaches the first threshold, create a target shared space associated with the target topics.

本实施例的应用场景如,显示屏显示一个应用中的多个目标对象的目标消息。For example, in an application scenario of this embodiment, the display screen displays target messages of multiple target objects in an application.

可选地,目标对象为聊天对象。具体包括聊天群、聊天好友等。Optionally, the target object is a chat object. Including chat groups, chat friends and so on.

对应地,目标消息为聊天消息,目标主题为聊天话题,目标共享空间为与话题相关的共享空间。Correspondingly, the target message is a chat message, the target topic is a chat topic, and the target shared space is a shared space related to the topic.

在本实施例中,分别对每个聊天对象的聊天消息进行归纳总结,以分别获取每个聊天对象的聊天话题,再将聊天话题接近的聊天对象归到一起,创建与话题相关的共享空间,从而提供一种多人聊天的共享模式。In this embodiment, the chat messages of each chat object are summed up respectively, so as to obtain the chat topic of each chat object respectively, and then the chat objects with close chat topics are grouped together to create a shared space related to the topic, Thus, a sharing mode of multi-person chat is provided.

参见图10,应用场景如,对于“微信”应用,在显示多个聊天对象的情况下,分别获取每个聊天对象的聊天话题。Referring to FIG. 10 , for example, for the "WeChat" application, in the case of displaying multiple chat objects, the chat topic of each chat object is obtained separately.

在实现过程中,通过文本聚类的方法得到各个聊天窗口的话题,判断不同聊天窗口之间话题的相似性,若有相似话题,则智能归类相似话题的聊天对象。例如,由图10所示,群A、群C、好友D的聊天内容相似,系统自动将其归为一类话题a,并向用户展示相关话题。进一步地,参见图11,针对话题a,创建话题a的共享空间,其中,参与者包括:群A、群C和好友D。In the implementation process, the topics of each chat window are obtained by the method of text clustering, and the similarity of topics between different chat windows is judged. If there are similar topics, the chat objects of the similar topics are intelligently classified. For example, as shown in FIG. 10 , the chat contents of group A, group C, and friend D are similar, and the system automatically classifies them as a type of topic a, and displays related topics to the user. Further, referring to FIG. 11 , for topic a, a shared space of topic a is created, wherein the participants include: group A, group C, and friend D.

在该步骤中,第一阈值可自定义。第一阈值越大,话题分类越精细。In this step, the first threshold can be customized. The larger the first threshold, the finer the topic classification.

在现有技术中,用户以主题为基准,手动创建共享空间,然后由主动邀请群友、好友等进入空间,而随着主题的增多,用户重复操作频繁,效率低;同时,未被邀请的其他用户只能被邀请而不能主动加入共享,虽在一定程度上避免了一些消息对其他用户的打扰,但同时其他用户也失去了查看共享内容的机会,用户体验差。相比于现有技术,在本实施例中,在多个聊天对象中,可针对各个聊天对象的聊天消息,分别得到各个聊天对象的聊天话题,再针对聊天话题相似的聊天对象,创建一个话题共享空间,用户可选择性地加入共享空间。一方面,自动创建共享空间,避免用户手动创建,节省用户手动操作;另一方面,各用户选择性地加入共享空间,使得各个用户具备查看共享内容的机会,同时避免了一些消息对其他用户的打扰。In the prior art, users manually create a shared space based on the theme, and then actively invite group friends, friends, etc. to enter the space. However, with the increase of themes, users repeat operations frequently, which is inefficient. Other users can only be invited and cannot actively join the sharing. Although the interruption of some messages to other users is avoided to a certain extent, other users also lose the opportunity to view the shared content, and the user experience is poor. Compared with the prior art, in this embodiment, among multiple chat objects, the chat topic of each chat object can be obtained for the chat messages of each chat object, and then a topic can be created for the chat objects with similar chat topics. Shared space, users can optionally join the shared space. On the one hand, the shared space is automatically created to avoid manual creation by users, saving users manual operations; on the other hand, each user selectively joins the shared space, so that each user has the opportunity to view the shared content, while avoiding some messages to other users. disturb.

在图9所示实施例的基础上,图12示出了本申请另一个实施例的消息显示方法的流程图,步骤S7之后,还包括:On the basis of the embodiment shown in FIG. 9 , FIG. 12 shows a flowchart of a message display method according to another embodiment of the present application. After step S7, the method further includes:

步骤S8:接收对目标共享空间的第三输入。Step S8: Receive a third input to the target shared space.

第三输入用于用户主动加入目标共享空间。The third input is for the user to actively join the target shared space.

第三输入的实现形式不限于触摸动作、隔空动作等;不限于手势动作、面部动作等;不限于一个动作、多个动作。而且,当第三输入包括多个动作时,多个动作可以是连续的,还可以是间断的。The implementation form of the third input is not limited to touch action, space action, etc.; not limited to gesture action, facial action, etc.; not limited to one action or multiple actions. Also, when the third input includes a plurality of actions, the plurality of actions may be continuous or discontinuous.

该步骤的实现场景包括但不限于以下场景。Implementation scenarios of this step include but are not limited to the following scenarios.

例如,共享空间创建成功后,对用户发出邀请,用户可主动加入。For example, after a shared space is successfully created, an invitation is issued to users, and users can join actively.

又如,已加入共享空间的用户,可将话题分享至聊天群、好友等聊天对象,以邀请群友、好友等加入,从而用户可通过话题分享主动加入。For another example, a user who has joined the shared space can share the topic with chat objects such as chat groups and friends to invite group friends and friends to join, so that the user can actively join through topic sharing.

又如,已加入共享空间的用户,可直接从通讯录中邀请好友加入,从而用户可通过接受邀请主动加入。For another example, a user who has joined the shared space can directly invite friends to join from the address book, so that the user can actively join by accepting the invitation.

参见图13,示例性地,当任意用户加入共享空间后,可在中“群A”中分享话题a,从而群A的群成员可点击话题a直接加入共享空间。Referring to FIG. 13 , for example, after any user joins the shared space, he or she can share topic a in "group A", so that group members of group A can click on topic a to join the shared space directly.

可选地,对于加入共享空间的用户,可形成用户名单,用户名单可用于邀请用户时所用。Optionally, for users who join the shared space, a user list can be formed, and the user list can be used when inviting users.

可选地,针对加入共享空间的各个用户,可采用不同颜色进行标记,以区分好友和群友。Optionally, each user who joins the shared space may be marked with different colors to distinguish friends and group friends.

步骤S9:响应于第三输入,显示多个目标对象的标识,一个目标对象的标识对应一个目标对象。Step S9: In response to the third input, the identifiers of a plurality of target objects are displayed, and the identifier of one target object corresponds to one target object.

例如,用户长按话题框,加入共享空间后,展示共享空间的目标对象的标识。For example, after the user long presses on the topic box and joins the shared space, the identifier of the target object in the shared space is displayed.

目标对象的标识包括目标对象的名称,如群名称、好友名称等;目标对象的标识包括目标对象的头像,如群头像、好友头像等。The identifier of the target object includes the name of the target object, such as group name, friend name, etc.; the identifier of the target object includes the avatar of the target object, such as group avatar, friend avatar, and the like.

步骤S10:接收对多个目标对象的标识中的第一目标对象的标识的第四输入。Step S10: Receive a fourth input of the identification of the first target object among the identifications of the plurality of target objects.

第四输入用于查看第一目标对象的目标消息。The fourth input is for viewing the target message of the first target object.

第四输入的实现形式不限于触摸动作、隔空动作等;不限于手势动作、面部动作等;不限于一个动作、多个动作。而且,当第四输入包括多个动作时,多个动作可以是连续的,还可以是间断的。The implementation form of the fourth input is not limited to touch action, space action, etc.; not limited to gesture action, facial action, etc.; not limited to one action or multiple actions. Also, when the fourth input includes a plurality of actions, the plurality of actions may be continuous or discontinuous.

步骤S11:响应于第四输入,显示第一目标对象的目标消息,第一目标对象的标识对应第一目标对象。Step S11 : In response to the fourth input, display a target message of the first target object, and the identifier of the first target object corresponds to the first target object.

用户点击对应的聊天对象的标识,可展示该对象的聊天消息。The user clicks on the identifier of the corresponding chat object to display the chat message of the object.

例如,参见图14,假设用户想查看群A的聊天消息,点击界面上方群A的标识,显示群A的聊天窗口,其中包括群A的聊天消息记录。For example, referring to FIG. 14 , suppose the user wants to view the chat messages of group A, and clicks the logo of group A at the top of the interface to display the chat window of group A, which includes the chat message record of group A.

其中,用户在共享空间发送信息时,针对目标对象为聊天群的情况,为一对多的模式;针对目标对象为好友的情况,为一对一的模式。另外,用户还可针对共享空间中的多个聊天对象,实现一对多的消息发送模式,以简化用户操作。Wherein, when the user sends information in the shared space, it is a one-to-many mode when the target object is a chat group; and when the target object is a friend, it is a one-to-one mode. In addition, the user can also implement a one-to-many message sending mode for multiple chat objects in the shared space to simplify user operations.

参见图14,在共享空间界面中,各个组成对象的标识还包括对应的未读消息数量。Referring to FIG. 14 , in the shared space interface, the identifier of each constituent object also includes the corresponding number of unread messages.

另外,用户加入感兴趣的话题共享空间后,还可展示用户名单等。In addition, after the user joins the topic sharing space of interest, the user list can also be displayed.

需要解释的是,组成共享空间的多个目标对象,即各个聊天群、单独好友等;而参与共享话题的用户,即其中的群成员、好友等。It should be explained that the multiple target objects that make up the shared space, that is, each chat group, individual friends, etc.; and the users who participate in the shared topic, that is, the group members, friends, and so on.

在本实施例中,对多个聊天对象的聊天消息分别进行话题归类处理,之后针对相同话题的多个聊天对象,创建话题共享空间,用户可根据自己的喜好决定是否加入对应共享空间。当用户加入共享空间后,可在共享空间界面集中查看各个聊天对象的聊天消息,减少大量分散的群消息、好友聊天消息等给用户带来的困扰;进一步地,用户可针对同一话题集中回复,从而提高用户回复消息的效率,提升用户体验。In this embodiment, topic classification processing is performed on chat messages of multiple chat objects, and then a topic sharing space is created for multiple chat objects of the same topic. Users can decide whether to join the corresponding shared space according to their own preferences. After users join the shared space, they can view the chat messages of each chat object in the shared space interface, reducing the trouble caused by a large number of scattered group messages and friend chat messages. Thereby, the efficiency of the user replying to the message is improved, and the user experience is improved.

在图9所示实施例的基础上,图15示出了本申请另一个实施例的消息显示方法的流程图,步骤S7之后,还包括:On the basis of the embodiment shown in FIG. 9 , FIG. 15 shows a flowchart of a message display method according to another embodiment of the present application. After step S7, the method further includes:

步骤S12:根据目标主题和多个目标对象的目标消息中的至少一项,生成第二共享信息。Step S12: Generate second shared information according to at least one of the target topic and target messages of multiple target objects.

在本实施例中,第二共享信息可以是用户所选的目标对象结合相关的聊天话题,自动合成的聊天记录;还可以是用户所选的目标对象的聊天消息中的图片、聊天消息中的文字,等等。In this embodiment, the second shared information may be a chat record automatically synthesized by the target object selected by the user in combination with a related chat topic; it may also be a picture in the chat message of the target object selected by the user, or an image in the chat message of the target object selected by the user. text, etc.

其中,在显示任一目标对象的聊天消息的情况下,可根据聊天消息和/或聊天话题,自动合成第二共享信息。Wherein, when the chat message of any target object is displayed, the second shared information can be automatically synthesized according to the chat message and/or the chat topic.

可选地,第二共享信息可以由目标主题而来,可以由任一目标对象的目标消息而来,可以由多个目标对象的目标消息组合而来,可以由目标主题结合任意目标对象的目标消息而来。Optionally, the second shared information can come from the target topic, can come from the target message of any target object, can be composed of target messages of multiple target objects, and can be combined with the target topic of any target object. news comes.

可选地,第二共享信息可基于用户所选的目标对象自动生成,第二共享信息可基于当前显示的目标对象自动生成。Optionally, the second shared information may be automatically generated based on the target object selected by the user, and the second shared information may be automatically generated based on the currently displayed target object.

步骤S13:接收对第二共享信息的第五输入。Step S13: Receive a fifth input of the second shared information.

步骤S14:响应于第五输入,在多个目标对象的目标界面显示第二共享信息。Step S14: In response to the fifth input, display the second shared information on the target interfaces of the plurality of target objects.

第五输入用于用户在多个目标对象之间分享第二共享信息。The fifth input is for the user to share the second shared information among the multiple target objects.

第五输入的实现形式不限于触摸动作、隔空动作等;不限于手势动作、面部动作等;不限于一个动作、多个动作。而且,当第五输入包括多个动作时,多个动作可以是连续的,还可以是间断的。The implementation form of the fifth input is not limited to touch action, space action, etc.; not limited to gesture action, facial action, etc.; not limited to one action or multiple actions. Also, when the fifth input includes a plurality of actions, the plurality of actions may be continuous or discontinuous.

该步骤的实现场景包括但不限于以下场景。Implementation scenarios of this step include but are not limited to the following scenarios.

例如,参见图16,参与共享空间的用户为:群A和群C的共有群员a,群员a发起消息共享,群员a选择将群A的聊天消息“可”分享到群C。其中,聊天消息“可”为群员a自己发送的消息内容。For example, referring to FIG. 16 , the users participating in the shared space are: group member a shared by group A and group C, group member a initiates message sharing, and group member a chooses to share the chat message of group A to group C. Among them, the chat message "can" is the content of the message sent by the group member a.

又如,参见图16,参与共享空间的用户为:群A和群C的共有群员a,群员a发起消息共享,询问被共享消息的群A中,参与该话题的其他群员是否同意共享个人消息。若同意共享,则当前话题的聊天消息被分享到群C;若不同意共享,则仅将群员a的消息内容分享到群C,以保障用户隐私。For another example, referring to FIG. 16 , the users participating in the shared space are: a shared group member a of group A and group C, group member a initiates message sharing, and asks whether other group members participating in the topic agree in group A where the message is being shared. Share personal messages. If sharing is agreed, the chat message of the current topic is shared to group C; if sharing is not agreed, only the message content of group member a is shared to group C to protect user privacy.

其中,参见图16,本实施例包括实时共享和非实时共享两种模式。实时共享模式,即群A的聊天消息更新后,直接在群C更新;非实时共享模式,即群A的聊天消息由用户手动分享至群C。16 , this embodiment includes two modes of real-time sharing and non-real-time sharing. Real-time sharing mode, that is, after the chat messages of group A are updated, they are directly updated in group C; non-real-time sharing mode, that is, the chat messages of group A are manually shared to group C by the user.

可选地,共享模式还可分为单向共享模式和双向共享模式。Optionally, the sharing mode can also be divided into a one-way sharing mode and a two-way sharing mode.

单向共享模式,即一个聊天对象的聊天消息显示于另一个聊天对象的聊天界面中;双向共享模式,即多个聊天对象中的聊天消息在各自的聊天界面中同步显示。One-way sharing mode, that is, chat messages of one chat object are displayed on the chat interface of another chat object; two-way sharing mode, that is, chat messages of multiple chat objects are displayed synchronously in their respective chat interfaces.

进一步地,对于实时共享模式,在检测到聊天话题变化时,自动结束共享;对于非实时共享模式,可由用户控制结束共享。Further, for the real-time sharing mode, when a change in the chat topic is detected, the sharing is automatically ended; for the non-real-time sharing mode, the user can control the end of the sharing.

可见,在本实施例的话题共享空间中,利用群间、好友间话题的相似性进行消息共享显示,有效提高沟通效率。It can be seen that, in the topic sharing space of this embodiment, the similarity of topics between groups and friends is used to share and display messages, which effectively improves communication efficiency.

进一步地,在共享空间中实时检测各个聊天对象的聊天话题。若任一聊天对象的聊天话题发生改变,则系统自动更新共享空间的参与者和组成对象。例如,若群A从话题a变为话题b,则自动将群A移出该话题a的共享空间,以提高用户查看消息来源的效率。Further, chat topics of each chat object are detected in real time in the shared space. If the chat topic of any chat object changes, the system automatically updates the participants and constituent objects of the shared space. For example, if group A changes from topic a to topic b, group A is automatically moved out of the shared space of topic a, so as to improve the efficiency of the user in viewing news sources.

可选地,当共享空间的参与者数量少于预设值,如预设值为2时,则自动退出共享空间模式,以减少额外的开销。Optionally, when the number of participants in the shared space is less than the preset value, for example, when the preset value is 2, the shared space mode is automatically exited to reduce extra overhead.

可选地,结束共享空间后,以及任何目标对象的聊天话题发生改变,可自动上传话题聊天消息,对相似话题聊天消息进行归纳整理,最终形成并更新相关话题的话题库,以方便用户再次查看。Optionally, after the shared space is ended, and the chat topic of any target object changes, topic chat messages can be automatically uploaded, similar topics chat messages can be summarized, and finally a topic library of related topics is formed and updated, so that users can view it again.

在本实施例中,在创建的共享空间中,用户可根据不同聊天对象的话题相似性,进行聊天消息的共享显示,提高沟通效率;最后对话题消息进行归并整理,得到最终话题库,方便用户再次查看。可见,本实施例在集中显示相似聊天消息的基础上,实现了同应用数据共享。In this embodiment, in the created shared space, users can share and display chat messages according to the topic similarity of different chat objects to improve communication efficiency; finally, the topic messages are merged and sorted to obtain the final topic database, which is convenient for users Check again. It can be seen that, on the basis of centrally displaying similar chat messages, this embodiment realizes the sharing of data with the same application.

综上,本申请的实施例可针对跨屏、跨应用的场景,创建共享界面、共享空间,采用数据合成共享的模式,以满足用户对相似消息的集中查看和处理。无需用户进行挨个查看,就可以帮助用户对跨群消息,及跨应用消息进行归类管理,快速阅览自己感兴趣的消息,满足多数用户需求。另外,还可适用于多种场合,例如,用户乘车时,可将地图软件中与司机的聊天记录,同步分享到社交软件的家庭聊天群中,以实现一种安全播报模式。To sum up, the embodiments of the present application can create a shared interface and a shared space for cross-screen and cross-application scenarios, and adopt a data synthesis and sharing mode to satisfy users' centralized viewing and processing of similar messages. It can help users to categorize and manage cross-group messages and cross-application messages without users needing to view them one by one, and quickly view the messages of interest to them, meeting the needs of most users. In addition, it can also be applied to various occasions. For example, when the user is in a car, the chat record with the driver in the map software can be synchronously shared to the family chat group of the social software, so as to realize a safe broadcasting mode.

需要说明的是,本申请实施例提供的消息显示方法,执行主体可以为消息显示装置,或者该消息显示装置中的用于执行消息显示方法的控制模块。本申请实施例中以消息显示装置执行消息显示方法为例,说明本申请实施例提供的消息显示方法的装置。It should be noted that, in the message display method provided by the embodiments of the present application, the execution subject may be a message display device, or a control module in the message display device for executing the message display method. In the embodiment of the present application, the device for the message display method provided by the embodiment of the present application is described by taking the message display device executing the message display method as an example.

图17示出了本申请另一个实施例的消息显示装置的框图,包括:FIG. 17 shows a block diagram of a message display apparatus according to another embodiment of the present application, including:

第一获取模块10,用于在显示第一目标消息的情况下,获取第一目标消息的目标主题;a first obtaining module 10, configured to obtain the target subject of the first target message when the first target message is displayed;

第二获取模块20,用于获取与目标主题匹配的第二目标消息;The second obtaining module 20 is used for obtaining the second target message matching the target theme;

显示模块30,用于显示第二目标消息。The display module 30 is used for displaying the second target message.

在本申请实施例中,在显示第一目标消息的情况下,通过获取其目标主题的方式,可在除第一目标消息以外的大量消息中,检索出与目标主题关联的第二目标消息,例如,第二目标消息的主题与目标主题相似或一致;又如,第二目标消息的内容包括目标主题;等等,从而显示检索结果。这样,利用第一目标消息的目标主题,可获取与目标主题匹配的第二目标消息,并集中显示,便于用户查看,简化用户操作,从而解决了用户需要花费较多的时间去查看相似消息,导致操作繁琐的问题。In the embodiment of the present application, when the first target message is displayed, the second target message associated with the target topic can be retrieved from a large number of messages other than the first target message by acquiring its target topic. For example, the subject of the second target message is similar to or consistent with the target subject; in another example, the content of the second target message includes the target subject; and so on, so as to display the retrieval result. In this way, by using the target topic of the first target message, the second target message matching the target topic can be obtained and displayed in a centralized manner, which is convenient for the user to view and simplifies the user operation, thereby solving the problem that the user needs to spend more time to view similar messages. lead to cumbersome operations.

可选地,消息显示装置包括第一目标区域和第二目标区域,显示模块30,包括:Optionally, the message display device includes a first target area and a second target area, and the display module 30 includes:

分区显示单元,用于将第一目标消息在第一目标区域显示,并将第二目标消息在第二目标区域显示。The partition display unit is used for displaying the first target message in the first target area and displaying the second target message in the second target area.

可选地,分区显示单元,包括:Optionally, a partition display unit, including:

应用标识显示子单元,用于在第二目标区域显示至少一个应用程序的标识,一个应用程序的标识对应一个应用程序;an application identification display subunit, configured to display the identification of at least one application program in the second target area, and the identification of one application program corresponds to one application program;

第一输入接收子单元,用于接收对至少一个应用程序的标识中的第一应用程序的标识的第一输入;a first input receiving subunit, configured to receive a first input of the identification of the first application among the identifications of the at least one application;

第一输入响应子单元,用于响应于第一输入,显示第一应用程序中包括的第二目标消息,第一应用程序的标识对应第一应用程序。The first input response subunit is configured to display the second target message included in the first application program in response to the first input, and the identifier of the first application program corresponds to the first application program.

可选地,还包括:Optionally, also include:

第一生成模块,用于根据目标主题、第一目标消息和第二目标消息中的至少一项,生成第一共享信息;a first generating module, configured to generate the first shared information according to at least one of the target topic, the first target message and the second target message;

第二输入接收模块,用于接收对第一共享信息的第二输入;a second input receiving module, configured to receive a second input to the first shared information;

第二输入响应模块,用于响应于第二输入,在第一目标区域和第二目标区域中的至少一个区域显示第一共享信息。The second input response module is configured to display the first shared information in at least one of the first target area and the second target area in response to the second input.

可选地,第一获取模块10,包括:Optionally, the first obtaining module 10 includes:

多对象主题获取单元,用于在显示多个目标对象的目标消息的情况下,分别对应获取多个目标对象的目标消息的目标主题;a multi-object topic acquisition unit, configured to acquire the target topics of the target messages of the plurality of target objects correspondingly when the target messages of the plurality of target objects are displayed;

消息显示装置,还包括:A message display device, further comprising:

创建模块,用于在多个目标对象的目标消息的目标主题的相似度达到第一阈值的情况下,创建与目标主题相关联的目标共享空间。A creating module is configured to create a target shared space associated with the target topic when the similarity of target topics of target messages of multiple target objects reaches a first threshold.

可选地,还包括:Optionally, also include:

第三输入接收模块,用于接收对目标共享空间的第三输入;The third input receiving module is used for receiving the third input to the target shared space;

第三输入响应模块,用于响应于第三输入,显示多个目标对象的标识,一个目标对象的标识对应一个目标对象;The third input response module is used for displaying the identifiers of multiple target objects in response to the third input, and the identifier of one target object corresponds to one target object;

第四输入接收模块,用于接收对多个目标对象的标识中的第一目标对象的标识的第四输入;a fourth input receiving module, configured to receive a fourth input to the identification of the first target object among the identifications of the plurality of target objects;

第四输入响应模块,用于响应于第四输入,显示第一目标对象的目标消息,第一目标对象的标识对应第一目标对象。The fourth input response module is configured to display the target message of the first target object in response to the fourth input, and the identifier of the first target object corresponds to the first target object.

可选地,还包括:Optionally, also include:

第二生成模块,用于根据目标主题和多个目标对象的目标消息中的至少一项,生成第二共享信息;a second generating module, configured to generate second shared information according to at least one of the target topic and target messages of multiple target objects;

第五输入接收模块,用于接收对第二共享信息的第五输入;a fifth input receiving module, configured to receive a fifth input to the second shared information;

第五输入响应模块,用于响应于第五输入,在多个目标对象的目标界面显示第二共享信息。The fifth input response module is configured to display the second shared information on the target interface of the plurality of target objects in response to the fifth input.

本申请实施例中的消息显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(NetworkAttached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The message display device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). , PDA), etc., the non-mobile electronic device may be a server, a network attached storage (NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. The embodiments of the present application There is no specific limitation.

本申请实施例中的消息显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The message display device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

本申请实施例提供的消息显示装置能够实现图1至图16的方法实施例实现的各个过程,为避免重复,这里不再赘述。The message display device provided by the embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 16 , and to avoid repetition, details are not repeated here.

可选的,如图18所示,本申请实施例还提供一种电子设备100,包括处理器101,存储器102,存储在存储器102上并可在所述处理器101上运行的程序或指令,该程序或指令被处理器101执行时实现上述消息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 18 , an embodiment of the present application further provides an electronic device 100, including a processor 101, a memory 102, and a program or instruction stored in the memory 102 and executable on the processor 101, When the program or instruction is executed by the processor 101, each process of the above-mentioned embodiment of the message display method can be realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.

需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.

图19为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 19 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.

本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图19中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power functions. consumption management and other functions. The structure of the electronic device shown in FIG. 19 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .

其中,处理器1010,用于在显示第一目标消息的情况下,获取第一目标消息的目标主题;获取与目标主题匹配的第二目标消息;Wherein, the processor 1010 is configured to acquire the target topic of the first target message under the condition of displaying the first target message; acquire the second target message matching the target topic;

显示单元1006,用于显示第二目标消息。The display unit 1006 is configured to display the second target message.

在本申请实施例中,在显示第一目标消息的情况下,通过获取其目标主题的方式,可在除第一目标消息以外的大量消息中,检索出与目标主题关联的第二目标消息,例如,第二目标消息的主题与目标主题相似或一致;又如,第二目标消息的内容包括目标主题;等等,从而显示检索结果。这样,利用第一目标消息的目标主题,可获取与目标主题匹配的第二目标消息,并集中显示,便于用户查看,简化用户操作,从而解决了用户需要花费较多的时间去查看相似消息,导致操作繁琐的问题。In the embodiment of the present application, when the first target message is displayed, the second target message associated with the target topic can be retrieved from a large number of messages other than the first target message by acquiring its target topic. For example, the subject of the second target message is similar to or consistent with the target subject; in another example, the content of the second target message includes the target subject; and so on, so as to display the retrieval result. In this way, by using the target topic of the first target message, the second target message matching the target topic can be obtained and displayed in a centralized manner, which is convenient for the user to view and simplifies the user operation, thereby solving the problem that the user needs to spend more time to view similar messages. lead to cumbersome operations.

可选的,电子设备包括第一目标区域和第二目标区域;Optionally, the electronic device includes a first target area and a second target area;

显示单元1006,还用于将所述第一目标消息在所述第一目标区域显示,并将所述第二目标消息在所述第二目标区域显示。The display unit 1006 is further configured to display the first target message in the first target area, and display the second target message in the second target area.

可选的,显示单元1006,还用于在所述第二目标区域显示至少一个应用程序的标识,所述一个应用程序的标识对应一个应用程序;Optionally, the display unit 1006 is further configured to display the identifier of at least one application program in the second target area, and the identifier of the one application program corresponds to an application program;

用户输入单元1007,用于接收对所述至少一个应用程序的标识中的第一应用程序的标识的第一输入;a user input unit 1007, configured to receive a first input of an identifier of a first application among the identifiers of the at least one application;

显示单元1006,还用于响应于所述第一输入,显示所述第一应用程序中包括的第二目标消息,所述第一应用程序的标识对应所述第一应用程序。The display unit 1006 is further configured to, in response to the first input, display a second target message included in the first application, where the identifier of the first application corresponds to the first application.

可选的,处理器1010,还用于根据所述目标主题、所述第一目标消息和所述第二目标消息中的至少一项,生成第一共享信息;Optionally, the processor 1010 is further configured to generate first shared information according to at least one of the target topic, the first target message and the second target message;

用户输入单元1007,还用于接收对所述第一共享信息的第二输入;a user input unit 1007, further configured to receive a second input of the first shared information;

显示单元1006,还用于响应于所述第二输入,在所述第一目标区域和所述第二目标区域中的至少一个区域显示所述第一共享信息。The display unit 1006 is further configured to display the first shared information in at least one of the first target area and the second target area in response to the second input.

可选的,处理器1010,还用于在显示多个目标对象的目标消息的情况下,分别对应获取多个所述目标对象的目标消息的目标主题;在多个所述目标对象的目标消息的目标主题的相似度达到第一阈值的情况下,创建与所述目标主题相关联的目标共享空间。Optionally, the processor 1010 is further configured to, in the case of displaying the target messages of a plurality of target objects, correspondingly acquire target topics of the target messages of the plurality of target objects; When the similarity of the target topics reaches the first threshold, a target shared space associated with the target topics is created.

可选的,用户输入单元1007,还用于接收对所述目标共享空间的第三输入;Optionally, the user input unit 1007 is further configured to receive a third input to the target shared space;

显示单元1006,还用于响应于所述第三输入,显示多个所述目标对象的标识,一个所述目标对象的标识对应一个目标对象;The display unit 1006 is further configured to display a plurality of identifiers of the target objects in response to the third input, and one identifier of the target object corresponds to one target object;

用户输入单元1007,还用于接收对多个所述目标对象的标识中的第一目标对象的标识的第四输入;The user input unit 1007 is further configured to receive a fourth input of the identification of the first target object among the identifications of the plurality of target objects;

显示单元1006,还用于响应于所述第四输入,显示所述第一目标对象的目标消息,所述第一目标对象的标识对应所述第一目标对象。The display unit 1006 is further configured to, in response to the fourth input, display a target message of the first target object, where the identifier of the first target object corresponds to the first target object.

可选的,处理器1010,还用于根据所述目标主题和多个所述目标对象的目标消息中的至少一项,生成第二共享信息;Optionally, the processor 1010 is further configured to generate second shared information according to at least one of the target topic and multiple target messages of the target objects;

用户输入单元1007,还用于接收对所述第二共享信息的第五输入;a user input unit 1007, further configured to receive a fifth input of the second shared information;

显示单元1006,还用于响应于所述第五输入,在多个所述目标对象的目标界面显示所述第二共享信息。The display unit 1006 is further configured to display the second shared information on target interfaces of the plurality of target objects in response to the fifth input.

综上,本申请的实施例可针对跨屏、跨应用的场景,创建共享界面、共享空间,采用数据合成共享的模式,以满足用户对相似消息的集中查看和处理。无需用户进行挨个查看,就可以帮助用户对跨群消息,及跨应用消息进行归类管理,快速阅览自己感兴趣的消息,满足多数用户需求。另外,还可适用于多种场合,例如,用户乘车时,可将地图软件中与司机的聊天记录,同步分享到社交软件的家庭聊天群中,以实现一种安全播报模式。In summary, the embodiments of the present application can create a shared interface and a shared space for cross-screen and cross-application scenarios, and adopt a data synthesis and sharing mode to satisfy users' centralized viewing and processing of similar messages. It can help users to categorize and manage cross-group messages and cross-application messages without requiring users to view them one by one, and quickly view the messages they are interested in, which meets the needs of most users. In addition, it can also be applied to various occasions. For example, when the user is in a car, the chat record with the driver in the map software can be synchronously shared to the family chat group of the social software, so as to realize a safe broadcasting mode.

应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(GraphicsProcessing Unit,GPU)1041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。It should be understood that, in this embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 10042. camera) to process the image data of still pictures or videos. The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072 . The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here. Memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and application programs, and the like, and the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1010.

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述消息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the message display method can be achieved, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述消息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An 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 run a program or an instruction to implement the above message display method embodiments Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (12)

1. A message display method is applied to electronic equipment and is characterized by comprising the following steps:
under the condition of displaying a first target message, acquiring a target theme of the first target message;
acquiring a second target message matched with the target subject;
displaying the second target message;
the obtaining of the target subject of the first target message under the condition of displaying the first target message comprises:
under the condition of displaying target messages of a plurality of target objects, respectively and correspondingly acquiring target subjects of the target messages of the plurality of target objects;
in the case that the first target message is displayed, after the target subject of the first target message is acquired, the method further includes:
and in the case that the similarity of the target subject of the target message of the target objects reaches a first threshold value, creating a target shared space associated with the target subject.
2. The method of claim 1, wherein the electronic device comprises a first target area and a second target area, and wherein displaying the second target message comprises:
and displaying the first target message in the first target area, and displaying the second target message in the second target area.
3. The method of claim 2, wherein displaying the second targeted message in the second targeted area comprises:
displaying an identifier of at least one application program in the second target area, wherein the identifier of one application program corresponds to one application program;
receiving a first input to an identification of a first application of the identifications of the at least one application;
and responding to the first input, and displaying a second target message included in the first application program, wherein the identification of the first application program corresponds to the first application program.
4. The method of claim 2, wherein after displaying the first targeted message in the first targeted area and the second targeted message in the second targeted area, further comprising:
generating first shared information according to at least one of the target subject, the first target message and the second target message;
receiving a second input to the first shared information;
displaying the first shared information in at least one of the first target area and the second target area in response to the second input.
5. The method according to claim 1, wherein, after creating the target shared space associated with the target subject in a case that the similarity of the target subject of the target message of the plurality of target objects reaches a first threshold, further comprising:
receiving a third input to the target shared space;
displaying a plurality of identifications of the target objects in response to the third input, one identification of one target object corresponding to one target object;
receiving a fourth input to the identification of a first target object of the plurality of identifications of target objects;
in response to the fourth input, displaying a target message for the first target object, the identity of the first target object corresponding to the first target object.
6. The method according to claim 1, wherein after creating the target shared space associated with the target subject if the similarity of the target subject of the target messages of the plurality of target objects reaches a first threshold, further comprising:
generating second shared information according to at least one item of the target subject and target messages of a plurality of target objects;
receiving a fifth input to the second shared information;
in response to the fifth input, displaying the second shared information on a target interface of a plurality of the target objects.
7. A message display apparatus, comprising:
the first acquisition module is used for acquiring a target theme of a first target message under the condition of displaying the first target message;
the second acquisition module is used for acquiring a second target message matched with the target theme;
the display module is used for displaying the second target message;
the first obtaining module includes:
the multi-object theme acquisition unit is used for respectively and correspondingly acquiring the target themes of the target messages of the target objects under the condition that the target messages of the target objects are displayed;
the device, still include:
the creating module is used for creating a target shared space associated with the target subject under the condition that the similarity of the target subject of the target message of the target objects reaches a first threshold value.
8. The apparatus of claim 7, wherein the apparatus comprises a first target area and a second target area, and wherein the display module comprises:
and the partition display unit is used for displaying the first target message in the first target area and displaying the second target message in the second target area.
9. The apparatus of claim 8, wherein the partitioned display unit comprises:
an application identifier display subunit, configured to display an identifier of at least one application program in the second target area, where the identifier of the application program corresponds to the application program;
a first input receiving subunit, configured to receive a first input to an identifier of a first application program of the identifiers of the at least one application program;
and the first input response subunit is used for responding to the first input and displaying a second target message included in the first application program, wherein the identifier of the first application program corresponds to the first application program.
10. The apparatus of claim 8, further comprising:
a first generating module, configured to generate first shared information according to at least one of the target topic, the first target message, and the second target message;
a second input receiving module, configured to receive a second input to the first shared information;
a second input response module, configured to display the first shared information in at least one of the first target area and the second target area in response to the second input.
11. The apparatus of claim 7, further comprising:
a third input receiving module, configured to receive a third input to the target shared space;
a third input response module, configured to display, in response to the third input, identifiers of a plurality of the target objects, where an identifier of one of the target objects corresponds to one of the target objects;
a fourth input receiving module for receiving a fourth input of an identification of a first target object of the plurality of identifications of target objects;
and the fourth input response module is used for responding to the fourth input and displaying a target message of the first target object, wherein the identification of the first target object corresponds to the first target object.
12. The apparatus of claim 7, further comprising:
a second generating module, configured to generate second shared information according to at least one of the target subject and a target message of the target objects;
a fifth input receiving module, configured to receive a fifth input to the second shared information;
a fifth input response module, configured to display the second shared information on a target interface of the plurality of target objects in response to the fifth input.
CN202010607041.2A 2020-06-29 2020-06-29 Message display method and device Active CN111865760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010607041.2A CN111865760B (en) 2020-06-29 2020-06-29 Message display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010607041.2A CN111865760B (en) 2020-06-29 2020-06-29 Message display method and device

Publications (2)

Publication Number Publication Date
CN111865760A CN111865760A (en) 2020-10-30
CN111865760B true CN111865760B (en) 2022-05-03

Family

ID=72988124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010607041.2A Active CN111865760B (en) 2020-06-29 2020-06-29 Message display method and device

Country Status (1)

Country Link
CN (1) CN111865760B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112702261B (en) * 2020-12-30 2023-05-26 维沃移动通信有限公司 Information display method and device and electronic equipment
CN112929254B (en) * 2021-01-21 2023-06-20 维沃移动通信(杭州)有限公司 Message processing method and device and electronic equipment
CN113259221B (en) * 2021-04-01 2022-09-02 维沃移动通信(杭州)有限公司 Message display method and device and electronic equipment
CN115314456B (en) * 2021-04-20 2023-11-28 北京字跳网络技术有限公司 Interaction method and device and electronic equipment
CN114564271A (en) * 2022-03-03 2022-05-31 维沃移动通信有限公司 Chat window information input method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10382373B1 (en) * 2016-06-30 2019-08-13 Snap Inc. Automated image processing and content curation
CN110138645A (en) * 2019-03-29 2019-08-16 腾讯科技(深圳)有限公司 Display methods, device, equipment and the storage medium of conversation message
CN110391966A (en) * 2018-04-20 2019-10-29 北京搜狗科技发展有限公司 A kind of message treatment method, device and the device for Message Processing
CN110768805A (en) * 2019-09-26 2020-02-07 维沃移动通信有限公司 Group message display method and electronic device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8666984B2 (en) * 2011-03-18 2014-03-04 Microsoft Corporation Unsupervised message clustering
US10574613B2 (en) * 2017-04-04 2020-02-25 International Business Machines Corporation Context-based personalized summarization of missed messages
CN110677267B (en) * 2019-10-09 2021-11-23 上海连尚网络科技有限公司 Information processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10382373B1 (en) * 2016-06-30 2019-08-13 Snap Inc. Automated image processing and content curation
CN110391966A (en) * 2018-04-20 2019-10-29 北京搜狗科技发展有限公司 A kind of message treatment method, device and the device for Message Processing
CN110138645A (en) * 2019-03-29 2019-08-16 腾讯科技(深圳)有限公司 Display methods, device, equipment and the storage medium of conversation message
CN110768805A (en) * 2019-09-26 2020-02-07 维沃移动通信有限公司 Group message display method and electronic device

Also Published As

Publication number Publication date
CN111865760A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN111865760B (en) Message display method and device
CN112583700A (en) Group creation method, device, equipment and storage medium
WO2022161431A1 (en) Display method, apparatus, and electronic device
US11683356B2 (en) Intelligently identifying and promoting a meeting participant in an online meeting
WO2022089568A1 (en) File sharing method and apparatus, and electronic device
CN111698144A (en) Communication method, device and equipment, and group creation method, device and equipment
CN112788178B (en) Message display method and device
US12047342B2 (en) Information processing method and apparatus, terminal, and storage medium
WO2022156674A1 (en) Chat content processing method and apparatus, and electronic device
CN112291414B (en) Message display method and device and electronic equipment
CN112787907A (en) Display method and device and electronic equipment
CN107786432A (en) Information displaying method, device, computer installation and calculating readable storage medium storing program for executing
CN112306325A (en) Interaction control method and device
WO2024067636A1 (en) Content presentation method and apparatus, and device and storage medium
CN113961828B (en) Message display method and device
JP2020021479A (en) Method and terminal for providing function for managing vip messages
WO2022063045A1 (en) Message display method and apparatus, and electronic device
CN112866092A (en) Group chat creating method and group chat creating device
CN112035026B (en) Information display method and device, electronic equipment and storage medium
CN113872849A (en) Message interaction method and device and electronic equipment
CN113835594A (en) Interaction method and device, electronic equipment and readable storage medium
CN112084151A (en) File processing method and device and electronic equipment
CN117055782A (en) Method, device, equipment and storage medium for displaying session list
CN113852540B (en) Information transmission method, information transmission device and electronic equipment
CN116301520A (en) Session management method, device and electronic device

Legal Events

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