Movatterモバイル変換


[0]ホーム

URL:


CN111638837A - Message processing method and electronic equipment - Google Patents

Message processing method and electronic equipment
Download PDF

Info

Publication number
CN111638837A
CN111638837ACN202010404253.0ACN202010404253ACN111638837ACN 111638837 ACN111638837 ACN 111638837ACN 202010404253 ACN202010404253 ACN 202010404253ACN 111638837 ACN111638837 ACN 111638837A
Authority
CN
China
Prior art keywords
input
picture
target
interface
user
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.)
Granted
Application number
CN202010404253.0A
Other languages
Chinese (zh)
Other versions
CN111638837B (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 LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN202010404253.0ApriorityCriticalpatent/CN111638837B/en
Publication of CN111638837ApublicationCriticalpatent/CN111638837A/en
Application grantedgrantedCritical
Publication of CN111638837BpublicationCriticalpatent/CN111638837B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例公开了一种消息处理方法及电子设备,涉及通信技术领域,可以解决电子设备显示社交类应用程序接收到的消息的方式的灵活性较差的问题。该方法包括:在至少一个屏中的第一屏显示目标会话界面的情况下,接收用户的第一输入,目标会话界面中包括N条消息记录,第一输入为用户对N条消息记录中的M条消息记录的输入,N为大于1的整数,M为大于1且小于或等于N的整数;响应于第一输入,从目标会话界面中删除M条消息记录,并在目标会话界面中的第一区域显示M个目标标识,每个目标标识分别用于指示一条消息记录,第一区域为M条消息记录中的一条消息记录对应的区域。本发明实施例应用于对接收到的文字消息和/或图片消息处理的过程。

Figure 202010404253

Embodiments of the present invention disclose a message processing method and an electronic device, which relate to the field of communication technologies and can solve the problem of poor flexibility in the manner in which the electronic device displays messages received by social applications. The method includes: when a target conversation interface is displayed on a first screen of at least one screen, receiving a first input from a user, the target conversation interface includes N message records, and the first input is a user's input to the N message records. The input of M message records, N is an integer greater than 1, and M is an integer greater than 1 and less than or equal to N; in response to the first input, delete the M message records from the target session interface, and in the target session interface The first area displays M target identifiers, each target identifier is used to respectively indicate a message record, and the first area is an area corresponding to one message record in the M message records. The embodiments of the present invention are applied to the process of processing received text messages and/or picture messages.

Figure 202010404253

Description

Translated fromChinese
一种消息处理方法及电子设备A message processing method and electronic device

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种消息处理方法及电子设备。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a message processing method and electronic device.

背景技术Background technique

通常,用户可以使用电子设备中的社交类应用程序进行数据传输,以实现用户之间的信息交流。具体的,用户可以通过电子设备(称为发送方设备)中的社交类应用程序,向其他电子设备(称为接收方设备)发送文字内容、图片内容、链接内容等,以使得其他用户可以通过接收方设备中的社交类应用程序查看这些内容。Generally, users can use social applications in electronic devices for data transmission, so as to realize information exchange between users. Specifically, a user can send text content, picture content, link content, etc. to other electronic devices (referred to as a recipient device) through a social application program in an electronic device (referred to as a sender device), so that other users can These are viewed by social apps in the recipient's device.

然而,当发送方设备连续发送多条消息时,接收方设备可以在社交类应用程序的聊天界面依次显示这些消息;若用户需求在接收方设备上查看该多条消息中的某些消息的内容,则用户需要逐一从该多条消息中查找需求查看的消息,以查看这些消息的内容,因此电子设备显示社交类应用程序接收到的多条消息的方式的灵活性较差。However, when the sender device continuously sends multiple messages, the receiver device can display these messages in sequence on the chat interface of the social application; if the user needs to view the content of some of the multiple messages on the receiver device , the user needs to find the messages that need to be viewed from the multiple messages one by one to view the content of these messages, so the electronic device has less flexibility in displaying the multiple messages received by the social application.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种消息处理方法及电子设备,可以解决电子设备显示社交类应用程序接收到的多条消息的方式的灵活性较差的问题。Embodiments of the present invention provide a message processing method and an electronic device, which can solve the problem of poor flexibility in the manner in which the electronic device displays multiple messages received by a social application program.

为了解决上述技术问题,本发明实施例采用如下技术方案:In order to solve the above technical problems, the embodiment of the present invention adopts the following technical solutions:

本发明实施例的第一方面,提供一种消息处理方法,应用与电子设备,该电子设备包括至少一个屏,该消息处理方法包括:在至少一个屏中的第一屏显示目标会话界面的情况下,接收用户的第一输入,该目标会话界面中包括N条消息记录,该第一输入为用户对N条消息记录中的M条消息记录的输入,N为大于1的整数,M为大于1且小于或等于N的整数;响应于第一输入,从目标会话界面中删除M条消息记录,并在目标会话界面中的第一区域显示M个目标标识,每个目标标识分别用于指示一条消息记录,该第一区域为M条消息记录中的一条消息记录对应的区域。A first aspect of the embodiments of the present invention provides a message processing method, applied to an electronic device, the electronic device includes at least one screen, and the message processing method includes: displaying a target conversation interface on a first screen of the at least one screen Next, receive the user's first input, the target session interface includes N message records, the first input is the user's input to M message records in the N message records, N is an integer greater than 1, and M is greater than 1 1 and an integer less than or equal to N; in response to the first input, delete M message records from the target conversation interface, and display M target identifiers in the first area of the target conversation interface, each target identifier is used to indicate For a message record, the first area is an area corresponding to one message record in the M message records.

本发明实施例的第二方面,提供一种电子设备,该电子设备包括至少一个屏,该电子设备包括:接收模块、删除模块和显示模块。其中,接收模块,用于在至少一个屏中的第一屏显示目标会话界面的情况下,接收用户的第一输入,该目标会话界面中包括N条消息记录,该第一输入为用户对N条消息记录中的M条消息记录的输入,N为大于1的整数,M为大于1且小于或等于N的整数。删除模块,用于响应于接收模块接收的第一输入,从目标会话界面中删除M条消息记录。显示模块,用于在目标会话界面中的第一区域显示M个目标标识,每个目标标识分别用于指示一条消息记录,该第一区域为M条消息记录中的一条消息记录对应的区域。In a second aspect of the embodiments of the present invention, an electronic device is provided, the electronic device includes at least one screen, and the electronic device includes: a receiving module, a deleting module, and a display module. Wherein, the receiving module is configured to receive the first input of the user when the target conversation interface is displayed on the first screen of the at least one screen, the target conversation interface includes N message records, and the first input is the user's response to N messages. The input of M message records in the message records, N is an integer greater than 1, and M is an integer greater than 1 and less than or equal to N. The deletion module is configured to delete the M message records from the target session interface in response to the first input received by the receiving module. The display module is used for displaying M target identifiers in the first area of the target conversation interface, each target identifier is used to indicate a message record, and the first area is an area corresponding to one message record in the M message records.

本发明实施例的第三方面,提供一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,该计算机程序被处理器执行时实现如第一方面所述的消息处理方法的步骤。In a third aspect of the embodiments of the present invention, an electronic device is provided, the electronic device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, the computer program being executed by the processor to achieve the The steps of the message processing method described in one aspect.

本发明实施例的第四方面,提供一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面所述的消息处理方法的步骤。In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the message processing method according to the first aspect are implemented .

在本发明实施例中,在显示包括N条消息记录的目标会话界面的情况下,电子设备可以根据用户对N条消息记录中的M条消息记录的第一输入,从目标会话界面中删除该M条消息记录,并在目标会话界面中的第一区域显示该M条消息记录的M个目标标识。由于用户可以对会话界面中的部分消息记录或全部消息记录进行第一输入,以使得电子设备可以将这些消息记录更新显示为多个标识,以电子设备可以对这些消息记录进行折叠,以灵活地在一个区域通过标识的形式显示这些消息记录,即减少了目标会话界面中的消息记录的条数,从而用户在需求查看某条消息记录对应的消息内容时,无需逐一查看每条消息记录对应的消息内容,而是基于该目标会话界面中的这些标识,快速地查看某条消息记录对应的消息内容,因此通过本方案,提高了电子设备显示接收到的消息的方式的灵活性。In this embodiment of the present invention, when a target session interface including N message records is displayed, the electronic device may delete the target session interface from the target session interface according to the user's first input to M message records in the N message records. M messages are recorded, and M target identifiers of the M message records are displayed in the first area of the target conversation interface. Since the user can make the first input to some or all of the message records in the conversation interface, the electronic device can update and display these message records as multiple identifiers, so that the electronic device can fold these message records to flexibly Displaying these message records in the form of identifiers in one area reduces the number of message records in the target session interface, so that when users need to view the message content corresponding to a message record, they do not need to view the corresponding message records of each message record one by one. Instead, based on these identifiers in the target session interface, the corresponding message content of a message record can be quickly viewed. Therefore, this solution improves the flexibility of the way the electronic device displays the received message.

附图说明Description of drawings

图1为本发明实施例提供的一种安卓操作系统的架构示意图;1 is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the present invention;

图2为本发明实施例提供的一种消息处理方法的示意图之一;2 is one of schematic diagrams of a message processing method provided by an embodiment of the present invention;

图3为本发明实施例提供的一种手机的界面的实例示意图之一;3 is one of schematic diagrams of an example of an interface of a mobile phone provided by an embodiment of the present invention;

图4为本发明实施例提供的一种手机的界面的实例示意图之二;4 is the second schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present invention;

图5为本发明实施例提供的一种手机的界面的实例示意图之三;5 is a third example schematic diagram of an interface of a mobile phone provided by an embodiment of the present invention;

图6为本发明实施例提供的一种手机的界面的实例示意图之四;FIG. 6 is a fourth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present invention;

图7为本发明实施例提供的一种消息处理方法的示意图之二;7 is the second schematic diagram of a message processing method provided by an embodiment of the present invention;

图8为本发明实施例提供的一种手机的界面的实例示意图之五;FIG. 8 is a fifth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present invention;

图9为本发明实施例提供的一种手机的界面的实例示意图之六;9 is a sixth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present invention;

图10为本发明实施例提供的一种消息处理方法的示意图之三;10 is a third schematic diagram of a message processing method provided by an embodiment of the present invention;

图11为本发明实施例提供的一种手机的界面的实例示意图之七;11 is a seventh schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;

图12为本发明实施例提供的一种手机的界面的实例示意图之八;12 is an eighth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present invention;

图13为本发明实施例提供的一种手机的界面的实例示意图之九;13 is a ninth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present invention;

图14为本发明实施例提供的一种手机的界面的实例示意图之十;FIG. 14 is a tenth schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;

图15为本发明实施例提供的一种手机的界面的实例示意图之十一;FIG. 15 is an eleventh schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present invention;

图16为本发明实施例提供的一种手机的界面的实例示意图之十二;FIG. 16 is a twelfth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present invention;

图17为本发明实施例提供的一种消息处理方法的示意图之四;17 is a fourth schematic diagram of a message processing method provided by an embodiment of the present invention;

图18为本发明实施例提供的一种手机的界面的实例示意图之十三;18 is a thirteenth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present invention;

图19为本发明实施例提供的一种手机的界面的实例示意图之十四;19 is a fourteenth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present invention;

图20为本发明实施例提供的一种手机的界面的实例示意图之十五;FIG. 20 is a fifteenth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present invention;

图21为本发明实施例提供的一种电子设备的结构示意图;21 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;

图22为本发明实施例提供的一种电子设备的硬件示意图。FIG. 22 is a schematic diagram of hardware of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

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

本发明实施例的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一图片和第二图片等是用于区别不同的图片,而不是用于描述图片的特定顺序。The terms "first" and "second" in the description and claims of the embodiments of the present invention are used to distinguish different objects, rather than to describe a specific order of the objects. For example, the first picture and the second picture, etc. are used to distinguish different pictures, not to describe a specific order of the pictures.

在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或两个以上。例如,多个元件是指两个元件或两个以上元件。“多条”的含义是指两条或两条以上。例如,多条文字消息记录是指两条文字消息记录或两条以上文字消息记录。In the description of the embodiments of the present invention, unless otherwise specified, the meaning of "plurality" refers to two or more. For example, a plurality of elements refers to two or more elements. "Multiple" means two or more. For example, the multiple text message records refer to two text message records or more than two text message records.

本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,显示面板和/或背光,可以表示:单独存在显示面板,同时存在显示面板和背光,单独存在背光这三种情况。本文中符号“/”表示关联对象是或者的关系,例如输入/输出表示输入或者输出。The term "and/or" in this document is an association relationship describing associated objects, indicating that there can be three kinds of relationships, for example, display panel and/or backlight, which can mean: the display panel exists alone, the display panel and the backlight exist simultaneously, There are three cases of backlight alone. The symbol "/" in this document indicates that the associated object is an OR relationship, for example, input/output indicates input or output.

在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as an example, illustration or illustration. Any embodiments or designs described as "exemplary" or "such as" in the embodiments of the present invention should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.

本发明实施例提供一种消息处理方法及电子设备,由于用户可以对会话界面中的部分消息记录或全部消息记录进行第一输入,以使得电子设备可以将这些消息记录更新显示为多个标识,以电子设备可以对这些消息记录进行折叠,以灵活地在一个区域通过标识的形式显示这些消息记录,即减少了目标会话界面中的消息记录的条数,从而用户在需求查看某条消息记录对应的消息内容时,无需逐一查看每条消息记录对应的消息内容,而是基于该目标会话界面中的这些标识,快速地查看某条消息记录对应的消息内容,因此通过本方案,提高了电子设备显示接收到的消息的方式的灵活性。Embodiments of the present invention provide a message processing method and electronic device. Since a user can perform a first input on some or all of the message records in the conversation interface, the electronic device can update and display these message records as multiple identifiers, These message records can be folded by electronic devices to flexibly display these message records in the form of logos in one area, that is, the number of message records in the target session interface is reduced, so that users can view the corresponding message records on demand. When there is no need to check the message content corresponding to each message record one by one, but based on these identifiers in the target session interface, the message content corresponding to a certain message record can be quickly checked. Therefore, through this solution, the electronic equipment is improved. Flexibility in how received messages are displayed.

本发明实施例提供的消息处理方法及电子设备,可以应用于电子设备对接收到的文字消息和/或图片消息处理的过程。The message processing method and electronic device provided by the embodiments of the present invention can be applied to the process of processing the received text message and/or picture message by the electronic device.

本发明实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be an electronic 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 embodiment of the present invention.

下面以安卓操作系统为例,介绍一下本发明实施例提供的消息处理方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment to which the message processing method provided by the embodiment of the present invention is applied.

如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1 , it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In FIG. 1, the architecture of the Android operating system includes four layers, namely: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).

其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。The application layer includes various applications (including system applications and third-party applications) in the Android operating system.

应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application, and developers can develop some applications based on the application framework layer under the condition of complying with the development principles of the framework of the application.

系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.

内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.

以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的消息处理方法的软件程序,从而使得该消息处理方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的消息处理方法。Taking the Android operating system as an example, in this embodiment of the present invention, a developer can develop a software program for implementing the message processing method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG. The processing method may run based on the Android operating system as shown in FIG. 1 . That is, the processor or the electronic device can implement the message processing method provided by the embodiment of the present invention by running the software program in the Android operating system.

本发明实施例中的电子设备可以为移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。The electronic device in the embodiment of the present invention 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). assistant, PDA), etc., the non-mobile electronic device may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present invention.

下面结合附图,通过具体的实施例及其应用场景对本发明实施例提供的一种消息处理方法及电子设备进行详细地说明。In the following, a message processing method and an electronic device provided by the embodiments of the present invention will be described in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.

本发明实施例中,用户(例如用户A)在通过电子设备的社交类应用程序与其他用户(例如用户B)进行聊天时,当用户A的电子设备(例如设备A)通过社交类应用程序接收到用户B的电子设备(例如设备B)连续发送的多条消息时,设备A可以按照接收到每条消息的时间,在社交类应用程序的会话界面(即用户A与用户B的聊天界面)依次显示这些消息。In this embodiment of the present invention, when a user (for example, user A) chats with other users (for example, user B) through a social networking application When multiple messages are continuously sent to user B's electronic device (such as device B), device A can, according to the time when each message is received, in the conversation interface of the social application (that is, the chat interface between user A and user B) These messages are displayed in sequence.

由于设备A的显示屏有限,会话界面的当前页面不能显示该多条消息中的所有消息,此时用户A无需按照传统方式逐一查看每条消息的内容,而是按照本方案,先对该多条消息中的某些消息(用户A当前无需查看内容的消息)进行输入,以使得设备A可以对这些消息进行折叠动作,即以标识(缩略图)的形式更新显示这些消息(每条消息分别对应一个标识),以将这些标识放置在一个位置显示,即设备A在该会话界面显示部分消息和这些标识,从而用户可以基于该部分消息和这些标识,对某个标识进行输入,以使得电子设备显示该标识指示的消息,以查看该消息的内容,因此本方案中,电子设备显示社交类应用程序接收到的消息的方式的灵活性较好。Due to the limited display screen of device A, the current page of the conversation interface cannot display all the messages in the multiple messages. At this time, user A does not need to view the content of each message one by one according to the traditional method. Some messages (messages that user A does not need to view the content of currently) in the messages are input, so that device A can perform a folding action on these messages, that is, update and display these messages in the form of identifiers (thumbnails) (each message separately (corresponding to a logo), to place these logos in a position for display, that is, the device A displays some messages and these logos in the conversation interface, so that the user can input a certain logo based on the part of the messages and these logos, so that the electronic The device displays the message indicated by the identifier to view the content of the message. Therefore, in this solution, the electronic device has better flexibility in displaying the message received by the social application program.

一种实现方式中,若设备A为单屏电子设备,在用户对某个标识进行输入之后,电子设备可以将会话界面更新为一个界面,以在该界面显示该标识指示的消息。In an implementation manner, if the device A is a single-screen electronic device, after the user inputs a certain identifier, the electronic device can update the conversation interface to an interface to display the message indicated by the identifier on the interface.

另一种实现方式中,若设备A为折叠屏电子设备或多屏电子设备,在用户对某个标识进行输入之后,电子设备可以在与显示会话界面的屏不同的一个屏显示该标识指示的消息。In another implementation manner, if the device A is a foldable-screen electronic device or a multi-screen electronic device, after the user inputs a certain identifier, the electronic device can display the information indicated by the identifier on a screen different from the screen on which the conversation interface is displayed. information.

需要说明的是,本发明实施例中的电子设备可以包括至少一个屏,下面实施例中仅以电子设备包括一个屏或两个屏(例如第一屏和第二屏)为例,对本发明实施例提供的消息处理方法进行示例性的说明,对于具体实施方式,本发明实施例仅仅是示意性的,而不是限制性的,本发明并不局限于下述的具体实施方式,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。It should be noted that the electronic device in this embodiment of the present invention may include at least one screen. In the following embodiments, the electronic device includes one screen or two screens (for example, a first screen and a second screen) as an example to implement the present invention. The message processing method provided by the example is used for illustrative description. For the specific implementation, the embodiments of the present invention are only illustrative, rather than restrictive, and the present invention is not limited to the following specific implementation. Under the inspiration of the present invention, the skilled person can make many forms without departing from the spirit of the present invention and the scope protected by the claims, which all belong to the protection of the present invention.

可选的,本发明实施例中,电子设备可以为可折叠电子设备。其中,可折叠电子设备为能够按照用户需求通过折叠和/或展开方式改变显示屏尺寸及数量的可折叠电子设备。具体的,可折叠电子设备可以是由多个电子设备通过铰接的方式组成的可折叠电子设备,也可以是包含可折叠显示屏的可折叠电子设备,本发明实施例对此不作限定。Optionally, in this embodiment of the present invention, the electronic device may be a foldable electronic device. The foldable electronic device is a foldable electronic device that can change the size and number of display screens by folding and/or unfolding according to user requirements. Specifically, the foldable electronic device may be a foldable electronic device composed of multiple electronic devices in a hinged manner, or may be a foldable electronic device including a foldable display screen, which is not limited in this embodiment of the present invention.

一般的,可折叠电子设备的屏幕状态包括两种,分别为展开状态和折叠状态。其中,当可折叠电子设备中所有相邻的两个显示屏之间的夹角大于或等于第一预设阈值(如,相邻的两个显示屏的夹角大于150°),则认为该可折叠电子设备的屏幕状态为展开状态;当可折叠电子设备中任意相邻的两个显示屏之间的夹角小于第一预设阈值(如,相邻的两个显示屏的夹角小于150°),则认为该可折叠电子设备的屏幕状态为折叠状态。即,电子设备可以通过判断可折叠电子设备中的相邻两个显示屏之间的夹角与第一预设阈值的关系,来确定电子设备的屏幕状态。当可折叠电子设备的屏幕状态为折叠状态的情况下,该折叠状态还包括以下两个状态,即折叠显示状态和折叠待机状态。Generally, there are two screen states of a foldable electronic device, namely, an unfolded state and a folded state. Wherein, when the included angle between all two adjacent display screens in the foldable electronic device is greater than or equal to the first preset threshold (for example, the included angle between two adjacent display screens is greater than 150°), it is considered that the The screen state of the foldable electronic device is the unfolded state; when the angle between any two adjacent display screens in the foldable electronic device is less than the first preset threshold (for example, the angle between the two adjacent display screens is less than 150°), the screen state of the foldable electronic device is considered to be the folded state. That is, the electronic device can determine the screen state of the electronic device by judging the relationship between the angle between two adjacent display screens in the foldable electronic device and the first preset threshold. When the screen state of the foldable electronic device is the folded state, the folded state further includes the following two states, namely, the folded display state and the folded standby state.

其中,折叠状态下可折叠电子设备的任意相邻的两个显示屏之间的夹角大于或等于预设折叠显示角度(如,相邻的两个显示屏的夹角大于30°),则认为该可折叠电子设备的屏幕状态为折叠显示状态,此时,该可折叠电子设备处于显示状态;折叠状态下可折叠电子设备的任意相邻的两个显示屏之间的夹角小于预设折叠待机角度(如,相邻的两个显示屏的夹角小于30°),则认为该可折叠电子设备的屏幕状态为折叠待机状态,此时,该可折叠显示屏处于待机状态。Wherein, if the angle between any two adjacent display screens of the foldable electronic device in the folded state is greater than or equal to the preset folding display angle (for example, the angle between the two adjacent display screens is greater than 30°), then It is considered that the screen state of the foldable electronic device is the folded display state, and at this time, the foldable electronic device is in the display state; in the folded state, the angle between any two adjacent display screens of the foldable electronic device is smaller than the preset The folding standby angle (for example, the angle between two adjacent display screens is less than 30°), the screen state of the foldable electronic device is considered to be the folding standby state, and at this time, the foldable display screen is in the standby state.

示例性的,上述可折叠显示屏为能够按照用户需求通过折叠和/或展开方式改变显示屏尺寸及数量的显示屏,即上述的可折叠显示屏包括至少两个显示屏。示例性的,上述的可折叠显示屏可以为柔性屏幕或由多个显示屏组成的组合的可折叠屏幕。其中,上述的柔性屏幕为屏幕可弯折、可折叠的屏幕。Exemplarily, the above-mentioned foldable display screen is a display screen that can be folded and/or unfolded to change the size and quantity of the display screen according to user requirements, that is, the above-mentioned foldable display screen includes at least two display screens. Exemplarily, the above-mentioned foldable display screen may be a flexible screen or a combined foldable screen composed of multiple display screens. Wherein, the above-mentioned flexible screen is a screen with a bendable and foldable screen.

可选的,本发明实施例中,在电子设备包括两个屏的情况下,电子设备可以为不可折叠电子设备,且这两个屏可以为背向设置,即电子设备可以包括正面主屏和背面副屏。Optionally, in this embodiment of the present invention, in the case where the electronic device includes two screens, the electronic device may be a non-foldable electronic device, and the two screens may be set backwards, that is, the electronic device may include a front main screen and a back surface. Secondary screen.

本发明实施例提供的一种消息处理方法,图2示出了本发明实施例提供的一种消息处理方法的流程图,该方法可以应用于具有如图1所示的安卓操作系统的电子设备。如图2所示,本发明实施例提供的消息处理方法可以包括下述的步骤201和步骤202。A message processing method provided by an embodiment of the present invention, FIG. 2 shows a flowchart of a message processing method provided by an embodiment of the present invention, and the method can be applied to an electronic device having an Android operating system as shown in FIG. 1 . . As shown in FIG. 2 , the message processing method provided by the embodiment of the present invention may include the followingsteps 201 and 202 .

步骤201、在至少一个屏中的第一屏显示目标会话界面的情况下,电子设备接收用户的第一输入。Step 201: In the case that the target conversation interface is displayed on the first screen of the at least one screen, the electronic device receives the first input of the user.

本发明实施例中,电子设备包括至少一个屏。上述目标会话界面中包括N条消息记录,上述第一输入为用户对N条消息记录中的M条消息记录的输入,N为大于1的整数,M为大于1且小于或等于N的整数。In this embodiment of the present invention, the electronic device includes at least one screen. The target session interface includes N message records, the first input is the user's input to M message records in the N message records, N is an integer greater than 1, and M is an integer greater than 1 and less than or equal to N.

可选的,本发明实施例中,上述目标会话界面可以为具有聊天功能的应用程序(例如社交类应用程序)的会话界面(聊天界面)。Optionally, in this embodiment of the present invention, the above-mentioned target conversation interface may be a conversation interface (chat interface) of an application program with a chat function (eg, a social application program).

可选的,本发明实施例中,上述N条消息记录包括以下至少一项:至少一条文字消息记录和至少一条图片消息记录。Optionally, in this embodiment of the present invention, the above N message records include at least one of the following: at least one text message record and at least one picture message record.

需要说明的是,上述N条消息记录用于指示电子设备接收到的其他电子设备发送的N条消息;消息记录可以理解为消息的显示形式,消息记录可以包括以下至少一项:消息的发送方标识(例如头像)和消息的内容等。文字消息记录并非指的是狭义上的文字消息,可以指示文字消息、符号消息、链接消息和/或字母消息等,具体的可以根据实际使用需求确定,本发明实施例不作限制。图片消息记录并非指的是狭义上的图片消息,可以指示图片消息(例如表情图片)或视频消息等。It should be noted that the above N message records are used to indicate the N messages received by the electronic device and sent by other electronic devices; the message records can be understood as the display form of the messages, and the message records can include at least one of the following: the sender of the message Identity (such as avatar) and the content of the message, etc. The text message record does not refer to a text message in a narrow sense, and may indicate a text message, a symbolic message, a link message, and/or an alphabetic message, etc., which can be determined according to actual usage requirements, and is not limited in this embodiment of the present invention. The picture message record does not refer to a picture message in a narrow sense, and may indicate a picture message (such as an emoticon picture) or a video message.

可选的,本发明实施例中,上述第一输入为用户对至少一条文字消息记录中的M条文字消息记录的输入,或者为用户对至少一条图片消息记录中的M条图片消息记录的输入。Optionally, in this embodiment of the present invention, the above-mentioned first input is the user's input to M text message records in at least one text message record, or the user's input to M picture message records in at least one picture message record. .

在一种方式中,在上述N条消息记录包括至少一条文字消息记录和至少一条图片消息记录的情况下,用户可以对M条文字消息记录或者M条图片消息记录进行第一输入,以使得电子设备可以更新目标会话界面中的消息记录(例如以预设方式(显示标识方式)显示该M条文字消息记录或M条图片消息记录)。In one way, when the above N message records include at least one text message record and at least one picture message record, the user can perform a first input on the M text message records or the M picture message records, so that the electronic The device may update the message record in the target conversation interface (for example, display the M text message records or the M picture message records in a preset manner (display identification manner)).

可选的,本发明实施例中,上述第一输入可以为用户对M条消息记录的选择输入。具体可以为用户对N条消息记录中的一条消息记录的长按输入,以及对M条消息记录的选择输入。Optionally, in this embodiment of the present invention, the above-mentioned first input may be a user's selection input of M message records. Specifically, it may be a user's long-press input on one message record among the N message records, and a selection input on M message records.

可选的,本发明实施例中,上述第一输入具体可以包括第一子输入和第二子输入,该第一子输入可以为用户对M条消息记录(即M条文字消息记录或M条图片消息记录)的选择输入,以触发电子设备显示第三控件,该第三控件用于电子设备将以预设方式显示用户选择的消息记录,该第二子输入可以为用户对该第三控件的输入,以使得电子设备以预设方式显示该M条消息记录。Optionally, in this embodiment of the present invention, the above-mentioned first input may specifically include a first sub-input and a second sub-input, and the first sub-input may be a user's record of M messages (that is, M text message records or M messages). Picture message record) selection input to trigger the electronic device to display a third control, the third control is used for the electronic device to display the message record selected by the user in a preset manner, and the second sub-input can be the third control by the user. , so that the electronic device displays the M message records in a preset manner.

可选的,本发明实施例中,用户也可以预先设置预设时长的消息(即目标会话界面对应的联系人(发送方)在预设时长内发送的消息)的显示方式为以预设方式显示预设时长的消息,即电子设备可以以预设方式显示预设时长内接收到的消息对应的消息记录。例如,用户可以预先设置将目标会话界面对应的联系人在预设时长内发送的图片消息记录,自动折叠至最近图片消息记录(即这些图片消息记录中接收时间最晚的一条图片消息记录)的位置,并在该位置显示这些图片消息记录的标识(例如缩略图)。Optionally, in this embodiment of the present invention, the user may also preset the display mode of messages with a preset duration (that is, messages sent by the contact (sender) corresponding to the target conversation interface within the preset duration) as a preset mode. Displaying a message with a preset duration, that is, the electronic device may display a message record corresponding to a message received within the preset duration in a preset manner. For example, the user can preset a picture message record sent by a contact corresponding to the target conversation interface within a preset duration, and automatically fold it to the most recent picture message record (that is, the picture message record with the latest reception time among these picture message records). location and display the identification (eg thumbnail) of these picture message records at that location.

步骤202、电子设备响应于第一输入,从目标会话界面中删除M条消息记录,并在目标会话界面中的第一区域显示M个目标标识。Step 202: The electronic device deletes the M message records from the target conversation interface in response to the first input, and displays the M target identifiers in the first area of the target conversation interface.

本发明实施例中,上述M个目标标识中的每个目标标识分别用于指示一条消息记录,上述第一区域为M条消息记录中的一条消息记录对应的区域。In the embodiment of the present invention, each target identifier in the M target identifiers is used to respectively indicate a message record, and the first area is an area corresponding to one message record in the M message records.

可以理解,电子设备可以将目标会话界面中的M条消息记录更新为M个目标标识,以在第一区域显示该M个目标标识,M个目标标识与第一输入对应,即若第一输入为用户对M条文字消息记录的输入,则M个目标标识为M条文字消息记录对应的标识,若第一输入为用户对M条图片消息记录的输入,则M个目标标识为M条图片消息记录对应的标识。需要说明的是,目标标识可以为消息记录对应的消息内容的缩略图或者名称等。It can be understood that the electronic device can update the M message records in the target session interface to M target identifiers, so as to display the M target identifiers in the first area, and the M target identifiers correspond to the first input, that is, if the first input For the input of the user to the M text message records, then the M target identifiers are the corresponding identifiers of the M text message records, if the first input is the user's input to the M text message records, then the M target identifiers are M pictures The identifier corresponding to the message record. It should be noted that the target identifier may be a thumbnail image or a name of the message content corresponding to the message record.

可选的,本发明实施例中,上述第一区域可以为M条消息记录中消息发送时间最晚的一条消息记录的显示区域;或者,上述第一区域可以为M条消息记录中消息发送时间最早的一条消息记录的显示区域;或者,上述第一区域可以为M条消息记录中消息内容最多的一条消息记录的显示区域等。Optionally, in this embodiment of the present invention, the above-mentioned first area may be a display area of a message record with the latest message sending time among the M message records; or, the above-mentioned first area may be the message sending time in the M message records. The display area of the earliest message record; or, the above-mentioned first area may be the display area of the message record with the most message content among the M message records, or the like.

可选的,本发明实施例中,若电子设备为单屏电子设备,电子设备可以基于用户的第一输入,将用户所选的图片消息记录折叠到最近的(即接收时间最晚的)图片消息记录的位置,并显示这些图片消息记录的缩略图,以使得夹杂在图片消息记录之间的文字消息记录更容易查看。若电子设备为双屏电子设备或折叠屏电子设备,电子设备的一个屏显示会话界面(聊天界面),另一个显示任意界面(例如桌面),电子设备可以基于用户的第一输入,将用户所选的图片消息记录折叠到最近图片消息记录的位置,并显示这些图片消息记录的缩略图。Optionally, in this embodiment of the present invention, if the electronic device is a single-screen electronic device, the electronic device may, based on the user's first input, fold the picture message record selected by the user to the most recent (that is, the latest received) picture. The location of the message records, and the thumbnails of these picture message records are displayed to make the text message records interspersed between the picture message records easier to view. If the electronic device is a dual-screen electronic device or a folding-screen electronic device, one screen of the electronic device displays a conversation interface (chat interface), and the other displays an arbitrary interface (such as a desktop). The selected picture message record is collapsed to the position of the most recent picture message record, and the thumbnails of these picture message records are displayed.

示例性的,以电子设备为手机为例进行说明,如图3中的(A)所示,手机显示目标会话界面10,该目标会话界面10中包括多条文字消息记录和多条图片消息记录(手机的屏的尺寸有限,目标会话界面10的当前页面中并不能显示全部文字消息记录和全部图片消息记录,图中仅以两个文字消息记录(例如消息记录11和消息记录12)和三个图片消息记录(例如消息记录13至消息记录15)示意);在用户对该多条图片消息记录中的部分图片消息记录(例如消息记录11和消息记录12前后位置的一些图片消息记录)进行第一输入之后,如图3中的(B)所示,手机可以将目标会话界面10中的该多条图片消息记录更新为多个目标标识16,以在第一区域(例如接收消息的时间最晚的图片消息记录对应的区域)显示该多个目标标识16。Illustratively, taking the electronic device as a mobile phone as an example, as shown in (A) in FIG. 3 , the mobile phone displays atarget conversation interface 10, and thetarget conversation interface 10 includes a plurality of text message records and a plurality of picture message records. (The size of the screen of the mobile phone is limited, and the current page of thetarget conversation interface 10 cannot display all text message records and all picture message records. In the figure, only two text message records (for example,message record 11 and message record 12) and three several picture message records (for example,message record 13 to message record 15); when the user performs some picture message records (for example, some picture message records before and aftermessage record 11 and message record 12) in the plurality of picture message records After the first input, as shown in (B) in FIG. 3 , the mobile phone can update the plurality of picture message records in thetarget conversation interface 10 to a plurality oftarget identifiers 16, so that in the first area (for example, the time when the message is received) The area corresponding to the latest picture message record) displays the plurality oftarget identifiers 16 .

又示例性的,如图4中的(A)所示,手机包括两个屏(第一屏和第二屏),该第一屏显示目标会话界面10,该目标会话界面10中包括多条文字消息记录和多条图片消息记录(图中仅以两条文字消息记录(例如消息记录11和消息记录12)和三个图片消息记录(例如消息记录13至消息记录15)示意),第二屏显示桌面17,该桌面17中包括多个应用图标;在用户对该多条图片消息记录进行第一输入之后,如图4中的(B)所示,手机可以将目标会话界面10中的该多条图片消息记录更新为多个目标标识16,以在第一区域显示该多个目标标识16,并且保持第二屏中的显示内容不变。In another example, as shown in (A) of FIG. 4 , the mobile phone includes two screens (a first screen and a second screen), and the first screen displays atarget conversation interface 10, and thetarget conversation interface 10 includes a plurality of Text message records and multiple picture message records (only two text message records (such asmessage record 11 and message record 12) and three picture message records (such asmessage record 13 to message record 15) are shown in the figure), the second The screen displays adesktop 17, and thedesktop 17 includes a plurality of application icons; after the user performs the first input on the plurality of picture message records, as shown in (B) in FIG. The multiple picture message records are updated tomultiple target identifiers 16, so as to display themultiple target identifiers 16 in the first area, and keep the displayed content in the second screen unchanged.

可选的,本发明实施例中,用户在对M条图片消息记录进行第一输入,以使得电子设备显示M个目标标识之后,用户还可以继续对目标会话界面中的至少一条文字消息记录进行输入,以使得电子设备可以在第三区域显示至少一条文字消息记录对应的标识,该第三区域为该至少一条文字消息记录中的一条文字消息记录对应的区域。Optionally, in this embodiment of the present invention, after the user performs the first input on M pieces of picture message records, so that the electronic device displays M pieces of target identifiers, the user can also continue to perform at least one text message record in the target conversation interface. input, so that the electronic device can display an identifier corresponding to at least one text message record in a third area, where the third area is an area corresponding to one text message record in the at least one text message record.

示例性的,结合图3中的(B),如图5所示,在用户对目标会话界面10中的多条文字消息记录进行输入之后,手机可以将目标会话界面10中的该多条文字消息记录更新为多个标识18(该多个标识中每个标识分别用于指示一条文字消息记录),以在第三区域(例如接收消息的时间最早的文字消息记录对应的区域)显示该多个标识18。Exemplarily, with reference to (B) in FIG. 3 , as shown in FIG. 5 , after the user inputs a plurality of text message records in thetarget conversation interface 10 , the mobile phone can record the plurality of text messages in thetarget conversation interface 10 . The message record is updated to a plurality of marks 18 (each mark of the plurality of marks is respectively used to indicate a text message record), so as to display the plurality of marks in the third area (for example, the area corresponding to the text message record with the earliest time of receiving the message).logo 18.

示例性的,结合图4中的(B),如图6所示,在用户对目标会话界面10中的多条文字消息记录进行输入之后,手机可以将目标会话界面10中的该多条文字消息记录更新为多个标识18(该多个标识中每个标识分别用于指示一条文字消息记录),以在第三区域显示该多个标识18,并且保持第二屏中的显示内容不变。Exemplarily, with reference to (B) in FIG. 4 , as shown in FIG. 6 , after the user inputs a plurality of text message records in thetarget conversation interface 10 , the mobile phone can record the plurality of text messages in thetarget conversation interface 10 . The message record is updated to a plurality of marks 18 (each mark in the plurality of marks is respectively used to indicate a text message record), so as to display the plurality ofmarks 18 in the third area, and keep the display content in the second screen unchanged .

可选的,本发明实施例中,用户在对M条文字消息记录进行第一输入,以使得电子设备显示M个目标标识之后,用户还可以继续对目标会话界面中的至少一条图片消息记录进行输入,以使得电子设备可以在第四区域显示至少一条图片消息记录对应的标识,该第四区域为该至少一条图片消息记录中的一条图片消息记录对应的区域。Optionally, in this embodiment of the present invention, after the user performs the first input on M text message records, so that the electronic device displays M target identifiers, the user may continue to perform at least one picture message record in the target conversation interface. input, so that the electronic device can display an identifier corresponding to at least one picture message record in a fourth area, where the fourth area is an area corresponding to one picture message record in the at least one picture message record.

本发明实施例提供一种消息处理方法,在显示包括N条消息记录的目标会话界面的情况下,电子设备可以根据用户对N条消息记录中的M条消息记录的第一输入,从目标会话界面中删除该M条消息记录,并在目标会话界面中的第一区域显示该M条消息记录的M个目标标识。由于用户可以对会话界面中的部分消息记录或全部消息记录进行第一输入,以使得电子设备可以将这些消息记录更新显示为多个标识,以电子设备可以对这些消息记录进行折叠,以灵活地在一个区域通过标识的形式显示这些消息记录,即减少了目标会话界面中的消息记录的条数,从而用户在需求查看某条消息记录对应的消息内容时,无需逐一查看每条消息记录对应的消息内容,而是基于该目标会话界面中的这些标识,快速地查看某条消息记录对应的消息内容,因此通过本方案,提高了电子设备显示接收到的消息的方式的灵活性。An embodiment of the present invention provides a message processing method. In the case where a target session interface including N message records is displayed, the electronic device may, according to the user's first input to M message records in the N message records, start the target session from the target session. The M message records are deleted in the interface, and the M target identifiers of the M message records are displayed in the first area of the target conversation interface. Since the user can make the first input to some or all of the message records in the conversation interface, the electronic device can update and display these message records as multiple identifiers, so that the electronic device can fold these message records to flexibly Displaying these message records in the form of identifiers in one area reduces the number of message records in the target session interface, so that when users need to view the message content corresponding to a message record, they do not need to view the corresponding message records of each message record one by one. Instead, based on these identifiers in the target session interface, the corresponding message content of a message record can be quickly viewed. Therefore, this solution improves the flexibility of the way the electronic device displays the received message.

可选的,在本发明实施例的一种实现方式中,上述第一输入为用户对M条图片消息记录的输入。结合图2,如图7所示,在上述步骤202之后,本发明实施例提供的消息处理方法还包括下述的步骤301和步骤302。Optionally, in an implementation manner of the embodiment of the present invention, the above-mentioned first input is an input of the M pieces of picture message records by the user. With reference to FIG. 2 , as shown in FIG. 7 , after the foregoingstep 202 , the message processing method provided by the embodiment of the present invention further includes the followingsteps 301 and 302 .

步骤301、电子设备接收用户对至少一条文字消息记录中的第一文字消息记录的第二输入。Step 301: The electronic device receives a second input from a user to a first text message record in at least one text message record.

本发明实施例中,当用户需求查看某条文字消息记录对应的图片内容时,用户可以对该文字消息记录进行第二输入(例如长按输入),以使得电子设备可以显示该文字消息记录对应的图片。In this embodiment of the present invention, when the user needs to view the picture content corresponding to a text message record, the user can perform a second input (for example, a long-press input) for the text message record, so that the electronic device can display the corresponding text message record corresponding to the text message record. picture of.

需要说明的是,上述文字消息记录对应的图片可以理解为:文字消息记录的前面位置的一个预设数量的图片消息记录对应的图片,或者,文字消息记录的后面位置的一个预设数量的图片消息记录对应的图片,文字消息记录的前面位置的一个预设数量和后面位置的一个预设数量的图片消息记录对应的图片。It should be noted that the picture corresponding to the above-mentioned text message record can be understood as: a picture corresponding to a preset number of picture message records in the front position of the text message record, or a preset number of pictures in the back position of the text message record. The message record corresponds to a picture, and a preset number of pictures in the front position of the text message record and a preset number of pictures in the back position of the text message record correspond to pictures.

步骤302、电子设备响应于第二输入,将目标会话界面更新为第一界面,或者在至少一个屏中的第二屏显示K张图片。Step 302: The electronic device updates the target conversation interface to the first interface in response to the second input, or displays K pictures on the second screen of the at least one screen.

本发明实施例中,上述第一界面中包括K张图片,上述K张图片为K条图片消息记录对应的图片,该K条图片消息记录为M条图片消息记录中与第一文字消息记录对应的图片消息记录,K条图片消息记录中的一条图片消息记录对应K张图片中的一张图片,K为小于M的正整数。In the embodiment of the present invention, the above-mentioned first interface includes K pictures, the above-mentioned K pictures are pictures corresponding to K pieces of picture message records, and the K pieces of picture message records are the pictures corresponding to the first text message records in the M pieces of picture message records Picture message records, one picture message record in the K pieces of picture message records corresponds to one picture in the K pieces of pictures, and K is a positive integer less than M.

本发明实施例中,电子设备在接收到第二输入之后,可以获取与第一文字消息记录对应的图片消息记录,然后显示该图片消息记录对应的图片。In this embodiment of the present invention, after receiving the second input, the electronic device may acquire a picture message record corresponding to the first text message record, and then display a picture corresponding to the picture message record.

可选的,本发明实施例中,电子设备可以以预设尺寸显示K张图片中的每张图片,并且在K大于1的情况下,电子设备可以先显示K张图片中的预设数量(可以为电子设备默认的或用户预先设置的)的部分图片,并以分割线形式将该部分图片隔开显示,然后用户可以针对K张图片进行滑动输入(例如在第一界面或第二屏中对滚动条进行上滑输入(或下滑输入)),以使得电子设备可以依次显示其他的图片(即K张图片中除预设数量的部分图片之外的图片),直至显示下一条文字消息记录。Optionally, in this embodiment of the present invention, the electronic device may display each of the K pictures in a preset size, and when K is greater than 1, the electronic device may first display a preset number ( Part of the picture that can be the default of the electronic device or preset by the user), and display the part of the picture in the form of a dividing line, and then the user can perform sliding input for the K pictures (for example, in the first interface or the second screen. Slide up input (or slide down input) on the scroll bar, so that the electronic device can display other pictures in sequence (that is, pictures other than the preset number of pictures in the K pictures), until the next text message record is displayed .

示例性的,结合图3中的(B),如图8所示,在用户对目标会话界面10中的一条文字消息记录进行第二输入之后,手机可以显示第一界面19,以在该第一界面19中显示该文字消息记录对应的图片(例如图片A和图片B),并且手机以分割线(图8中以加粗线条示意)将该图片A和图片B隔开显示。Exemplarily, with reference to (B) in FIG. 3 , as shown in FIG. 8 , after the user makes a second input to a text message record in thetarget conversation interface 10, the mobile phone can display thefirst interface 19 to display thefirst interface 19 in thefirst An interface 19 displays pictures corresponding to the text message record (eg, picture A and picture B), and the mobile phone displays the picture A and picture B separated by a dividing line (indicated by a bold line in FIG. 8 ).

又示例性的,结合图4中的(B),如图9所示,在用户对目标会话界面10中的一条文字消息记录进行第二输入之后,手机可以在第二屏中显示该文字消息记录对应的图片(例如图片A和图片B),并保持目标会话界面10中的显示内容不变。In another example, with reference to (B) in FIG. 4 , as shown in FIG. 9 , after the user makes a second input to a text message record in thetarget conversation interface 10 , the mobile phone can display the text message on the second screen. Corresponding pictures (for example, picture A and picture B) are recorded, and the displayed content in thetarget conversation interface 10 is kept unchanged.

本发明实施例中,当用户查阅到某条文字消息记录时,若用户需求查看该文字消息记录对应的图片内容,则用户可以对该文字消息记录进行第二输入,以使得电子设备可以快速地在第一屏或第二屏显示该文字消息记录对应的图片。In this embodiment of the present invention, when a user consults a text message record, if the user needs to view the picture content corresponding to the text message record, the user can perform a second input on the text message record, so that the electronic device can quickly The picture corresponding to the text message record is displayed on the first screen or the second screen.

可选的,在本发明实施例的另一种实现方式中,上述第一输入为用户对M条图片消息记录的输入。结合图2,如图10所示,在上述步骤202之后,本发明实施例提供的消息处理方法还包括下述的步骤401和步骤402。Optionally, in another implementation manner of the embodiment of the present invention, the above-mentioned first input is an input of the M pieces of picture message records by the user. With reference to FIG. 2 , as shown in FIG. 10 , after the foregoingstep 202 , the message processing method provided by the embodiment of the present invention further includes the followingsteps 401 and 402 .

步骤401、电子设备接收用户对M个目标标识的第三输入。Step 401: The electronic device receives a third input of the M target identifiers by the user.

本发明实施例中,用户可以对M个目标标识进行第三输入(例如点击输入),以使得电子设备显示该M个目标标识对应的M张图片,从而用户可以查看该M张图片的图片内容。In this embodiment of the present invention, the user can perform a third input (eg, click input) on the M target identifiers, so that the electronic device displays M pictures corresponding to the M target identifiers, so that the user can view the picture content of the M pictures .

步骤402、电子设备响应于第三输入,将目标会话界面更新为第二界面,或者在至少一个屏中的第二屏显示M张图片。Step 402: The electronic device updates the target conversation interface to the second interface in response to the third input, or displays M pictures on the second screen of the at least one screen.

本发明实施例中,上述第二界面中包括M张图片,上述M张图片为M条图片消息记录对应的图片,M条图片消息记录中的一条图片消息记录对应M张图片中的一张图片。In the embodiment of the present invention, the above-mentioned second interface includes M pictures, the above-mentioned M pictures are pictures corresponding to M pieces of picture message records, and one picture message record in the M pieces of picture message records corresponds to one picture in the M pieces of pictures .

需要说明的是,电子设备在接收到第三输入之后,可以在第二屏显示M张图片,并保持第一屏中的目标会话界面中的显示内容不变,即用户可以通过电子设备继续在目标会话界面中进行消息的发送或接收,以实现在不影响目标会话界面中的显示内容的情况下,也可以同时查看M张图片。It should be noted that after receiving the third input, the electronic device can display M pictures on the second screen, and keep the display content in the target session interface on the first screen unchanged, that is, the user can continue to use the electronic device to The message is sent or received in the target conversation interface, so that M pictures can be viewed at the same time without affecting the displayed content in the target conversation interface.

可选的,本发明实施例中,电子设备可以以预设尺寸显示M张图片中的每张图片,并且电子设备可以先显示M张图片中的预设数量(可以为电子设备默认的或用户预先设置的)的部分图片,并以分割线形式将该部分图片隔开显示,然后用户可以针对M张图片进行滑动输入(例如在第二界面或第二屏中对滚动条进行上滑输入(或下滑输入)),以使得电子设备可以依次显示其他的图片(即M张图片中除预设数量的部分图片之外的图片),直至显示下一条文字消息记录。Optionally, in this embodiment of the present invention, the electronic device may display each of the M pictures in a preset size, and the electronic device may first display a preset number of the M pictures (which may be the default of the electronic device or the user pre-set) part of the picture, and display the part of the picture in the form of a dividing line, and then the user can perform sliding input for M pictures (for example, sliding up the scroll bar in the second interface or the second screen input ( or swipe down to enter)), so that the electronic device can display other pictures in sequence (ie, pictures other than the preset number of pictures in the M pictures), until the next text message record is displayed.

示例性的,结合图3中的(B)或图5,如图11所示,在用户对目标会话界面10中的多个目标标识16进行第三输入之后,手机可以显示第二界面20,该第二界面20中包括多个目标标识16对应的多张图片(例如图片A至图片F)。Exemplarily, with reference to (B) in FIG. 3 or FIG. 5 , as shown in FIG. 11 , after the user performs a third input on the plurality oftarget identifiers 16 in thetarget conversation interface 10, the mobile phone can display thesecond interface 20, Thesecond interface 20 includes a plurality of pictures (eg, pictures A to F) corresponding to the plurality oftarget identifiers 16 .

又示例性的,结合4中的(B),如图12所示,在用户对目标会话界面10中的多个目标标识16进行第三输入之后,手机可以在第二屏显示多个目标标识16对应的多张图片(例如图片A至图片F),并保持第一屏中的目标会话界面10中的显示内容不变。In another example, in combination with (B) in 4, as shown in FIG. 12 , after the user makes a third input to themultiple target identifiers 16 in thetarget conversation interface 10, the mobile phone can display the multiple target identifiers on thesecond screen 16 corresponding to multiple pictures (for example, pictures A to F), and keep the display content in thetarget conversation interface 10 in the first screen unchanged.

本发明实施例中,在目标会话界面显示M个目标标识的情况下,若用户需求查看该M个目标标识对应的图片内容,则用户可以对M个目标标识进行第三输入,以使得电子设备可以快速地显示该M个目标标识对应的M张图片。In the embodiment of the present invention, when the target conversation interface displays M target identifiers, if the user needs to view the picture content corresponding to the M target identifiers, the user can perform a third input on the M target identifiers, so that the electronic device M pictures corresponding to the M target identifiers can be quickly displayed.

可选的,本发明实施例中,在上述步骤402之后,本发明实施例提供的消息处理方法还包括下述的步骤403至步骤406。Optionally, in this embodiment of the present invention, after the foregoingstep 402, the message processing method provided in this embodiment of the present invention further includes the following steps 403 to 406.

步骤403、电子设备接收用户对M张图片中的第一图片的第四输入。Step 403: The electronic device receives a fourth input from the user to the first picture in the M pictures.

本发明实施例中,当用户需求查看M张图片中的某张图片对应的文字内容或定位到该图片消息记录对应的初始显示位置时,用户可以对该张图片进行第四输入(例如长按输入),以使得电子设备可以显示该张图片对应的文字消息记录。In this embodiment of the present invention, when the user needs to view the text content corresponding to a certain picture among the M pictures or locate the initial display position corresponding to the picture message record, the user can perform a fourth input (for example, long press input), so that the electronic device can display the text message record corresponding to the picture.

需要说明的是,上述图片对应的文字消息记录可以理解为:图片对应的图片消息记录的前面位置的一个预设数量的文字消息记录,或者,图片对应的图片消息记录的后面位置的一个预设数量的文字消息记录,图片对应的图片消息记录的前面位置的一个预设数量和后面位置的一个预设数量的文字消息记录。It should be noted that the text message records corresponding to the above pictures can be understood as: a preset number of text message records in the front position of the picture message records corresponding to the pictures, or a preset number of text message records in the back position of the picture message records corresponding to the pictures A number of text message records, a preset number of text message records at the front position and a preset number of text message records at the back position of the picture message record corresponding to the picture.

步骤404、电子设备响应于第四输入,显示第一控件和第二控件。Step 404: The electronic device displays the first control and the second control in response to the fourth input.

本发明实施例中,上述第一控件用于显示图片对应的文字消息记录,上述第二控件用于定位到图片在目标会话界面中的初始显示位置。In the embodiment of the present invention, the above-mentioned first control is used to display the text message record corresponding to the picture, and the above-mentioned second control is used to locate the initial display position of the picture in the target conversation interface.

需要说明的是,定位到图片在目标会话界面中的初始显示位置可以理解为:跳转至目标会话界面中初始显示图片的页面,即快速显示目标会话界面,以向用户提示图片的初始显示位置。It should be noted that locating the initial display position of the picture in the target session interface can be understood as: jumping to the page where the picture is initially displayed in the target session interface, that is, quickly displaying the target session interface to prompt the user of the initial display position of the picture .

可选的,本发明实施例中,电子设备可以在第二界面上显示第一控件和第二控件,或者可以在显示有M张图片的第二屏中显示第一控件和第二控件。Optionally, in this embodiment of the present invention, the electronic device may display the first control and the second control on the second interface, or may display the first control and the second control on the second screen on which M pictures are displayed.

步骤405、电子设备接收用户对目标控件的第五输入。Step 405: The electronic device receives a fifth input from the user on the target control.

本发明实施例中,上述目标控件为第一控件或第二控件。In the embodiment of the present invention, the above-mentioned target control is a first control or a second control.

步骤406、电子设备响应于第五输入,执行第一操作。Step 406, the electronic device performs the first operation in response to the fifth input.

本发明实施例中,上述第一操作为以下任一项:在第二区域显示目标文字消息记录;定位到第一图片在目标会话界面中的初始显示位置,并在目标会话界面中以预设方式标记初始显示位置。In the embodiment of the present invention, the above-mentioned first operation is any one of the following: displaying the target text message record in the second area; way to mark the initial display position.

本发明实施例中,上述目标文字消息记录为至少一条文字消息记录中与第一图片对应的文字消息记录,上述第二区域为M张图片中除第一图片之外的任意图片对应的显示区域。In this embodiment of the present invention, the target text message record is a text message record corresponding to the first picture in at least one text message record, and the second area is a display area corresponding to any picture in the M pictures except the first picture .

可选的,本发明实施例中,若第五输入为用户对第一控件的输入,则电子设备在接收到第五输入之后,可以获取与第一图片对应的文字消息记录,然后显示该文字消息记录;或者,若第五输入为用户对第二控件的输入,则电子设备在接收到第五输入之后,可以获取第一图片在目标会话界面中的初始显示位置,并直接跳转/定位至该初始显示位置,即返回至目标会话界面,并定位到第一图片的初始显示位置。Optionally, in this embodiment of the present invention, if the fifth input is the user's input to the first control, after receiving the fifth input, the electronic device may acquire a text message record corresponding to the first picture, and then display the text. message record; or, if the fifth input is the user's input to the second control, after receiving the fifth input, the electronic device can obtain the initial display position of the first picture in the target session interface, and directly jump/locate To the initial display position, that is, return to the target session interface, and locate the initial display position of the first picture.

可选的,本发明实施例中,电子设备可以通过显示边框(例如红色边框)的方式,以向用户提示第一图片的初始显示位置;并且,电子设备也可以将目标会话界面中的其他图片消息记录以其他方式(例如黑色边框方式)显示,以向用户提示这些图片消息记录的初始显示位置。Optionally, in this embodiment of the present invention, the electronic device may prompt the user of the initial display position of the first picture by displaying a frame (for example, a red frame); and the electronic device may also display other pictures in the target session interface. The message records are displayed in other manners (eg, a black border manner) to prompt the user of the initial display position of these picture message records.

可选的,本发明实施例中,上述第二区域可以为第二界面中除显示第一图片之外的任意图片对应的显示区域;或者,上述第二区域可以为第二屏中除显示第一图片之外的任意图片对应的显示区域。Optionally, in this embodiment of the present invention, the above-mentioned second area may be a display area corresponding to any picture in the second interface except the first picture is displayed; The display area corresponding to any picture other than a picture.

可选的,本发明实施例中,电子设备可以在第一图片的相邻图片上显示(例如以悬浮窗口形式显示)目标文字消息记录,若目标文字消息记录包括至少一条文字消息记录,则电子设备可以先显示该至少一条文字消息记录中的预设数量的部分文字消息记录,并以分割线形式将该至少一条文字消息记录隔开显示,然后用户可以针对该至少一条文字消息记录进行滑动输入(例如在第二区域中对滚动条进行上滑输入(或下滑输入)),以使得电子设备可以依次显示其他文字消息记录(即至少一条文字消息记录中除预设数量的部分文字消息记录之外的文字消息记录),直至显示下一条图片消息记录。Optionally, in this embodiment of the present invention, the electronic device may display (for example, in the form of a floating window) the target text message record on an adjacent picture of the first picture. If the target text message record includes at least one text message record, the electronic The device can firstly display a preset number of partial text message records in the at least one text message record, and display the at least one text message record in the form of a dividing line, and then the user can perform sliding input for the at least one text message record. (For example, sliding up (or sliding down) the scroll bar in the second area), so that the electronic device can sequentially display other text message records (that is, at least one text message record except for a preset number of partial text message records) outside the text message record) until the next picture message record is displayed.

示例性的,结合图11,如图13中的(A)所示,在用户对第二界面20中的一张图片(例如图片A)进行第四输入之后,手机可以在第二界面20上显示第一控件21(“显示对应文字”控件)和第二控件22(“定位到聊天位置”控件);在用户对第一控件21进行第五输入之后,如图13中的(B)所示,手机可以在第二界面21中的一张图片(例如图片B)上显示图片A对应的文字消息记录(例如消息记录23和消息记录24),并以分割线形式将消息记录23和消息记录24隔开显示;或者,在用户对第二控件22进行第五输入之后,如图13中的(C)所示,手机可以定位到图片A在目标会话界面10中的初始显示位置,并在目标会话界面10中以预设方式(图中以黑色实线框示意)标记初始显示位置,并以其他方式(图中以黑色虚线框示意)标记其他图片消息记录。Exemplarily, with reference to FIG. 11 , as shown in (A) of FIG. 13 , after the user performs a fourth input on a picture (eg, picture A) in thesecond interface 20 , the mobile phone can be displayed on thesecond interface 20 . Display the first control 21 ("Display Corresponding Text" control) and the second control 22 ("Locate to the chat location" control); after the user makes the fifth input to thefirst control 21, as shown in (B) in Figure 13 As shown, the mobile phone can display the text message records (such as the message record 23 and the message record 24) corresponding to the picture A on a picture (such as the picture B) in thesecond interface 21, and display the message record 23 and the message record 24 in the form of a dividing line. The records 24 are displayed separately; or, after the user makes a fifth input to thesecond control 22, as shown in (C) in FIG. 13, the mobile phone can locate the initial display position of the picture A in thetarget session interface 10, and In thetarget conversation interface 10, the initial display position is marked in a preset manner (indicated by a black solid line frame in the figure), and other picture message records are marked in other ways (indicated by a black dotted line frame in the figure).

本发明实施例中,在显示M张图片的情况下,若用户需求查看该M张图片中的某张图片对应的文字消息内容或定位到某张图片对应的初始显示位置,则用户可以对该张图片进行输入,以使得电子设备可以快速地显示该张图片对应文字消息记录或直接定位到该张图片对应的初始显示位置。In the embodiment of the present invention, in the case of displaying M pictures, if the user needs to view the content of the text message corresponding to a certain picture in the M pictures or locate the initial display position corresponding to a certain picture, the user can A picture is input, so that the electronic device can quickly display the text message record corresponding to the picture or directly locate the initial display position corresponding to the picture.

可选的,本发明实施例中,在上述步骤402之后,本发明实施例提供的消息处理方法还包括下述的步骤407和步骤410。Optionally, in this embodiment of the present invention, after the foregoingstep 402, the message processing method provided in this embodiment of the present invention further includes the following steps 407 and 410.

步骤407、电子设备接收用户对M张图片中的第二图片的第六输入。Step 407: The electronic device receives a sixth input from the user on the second picture in the M pictures.

可选的,本发明实施例中,上述第六输入可以为用户对第二图片的长按输入,以触发电子设备显示编辑控件。Optionally, in this embodiment of the present invention, the sixth input may be a user's long-press input on the second picture, so as to trigger the electronic device to display an editing control.

步骤408、电子设备响应于第六输入,显示至少一个编辑控件。Step 408: The electronic device displays at least one editing control in response to the sixth input.

本发明实施例中,上述至少一个编辑控件中的每个编辑控件分别对应一种编辑处理方式。In the embodiment of the present invention, each edit control in the above at least one edit control corresponds to an edit processing mode respectively.

可选的,本发明实施例中,上述至少一个编辑控件可以包括以下至少一项:保存控件、删除控件、图片编辑控件(例如对应图片缩放方式、图片裁剪方式、图片美化(例如图片调色、图片添加滤镜等)方式等)、转发控件和移出控件(用于将图片从当前显示的界面(例如第二界面或显示有M张图片的第二屏)中移除,但并不删除该图片对应的图片消息记录)等。Optionally, in this embodiment of the present invention, the above-mentioned at least one editing control may include at least one of the following: a save control, a delete control, and a picture editing control (for example, a corresponding picture scaling method, a picture cropping method, and a picture beautification method (such as picture color matching, Add filters to pictures, etc.), forward control and remove control (used to remove the picture from the currently displayed interface (such as the second interface or the second screen displaying M pictures), but do not delete the The picture message record corresponding to the picture) and so on.

可选的,本发明实施例中,电子设备可以在第二界面显示至少一个编辑控件,或者可以在显示有M张图片的第二屏中显示至少一个编辑控件。Optionally, in this embodiment of the present invention, the electronic device may display at least one editing control on the second interface, or may display at least one editing control on the second screen on which M pictures are displayed.

示例性的,结合图11,如图14所示,在用户对第二界面20中的一张图片(例如图片C)进行第六输入之后,手机可以在第二界面20上显示至少一个编辑控件25(例如“保存”控件、“删除”控件、“编辑”控件、“转发”控件、“移出”控件等),用户可以对该至少一个编辑控件25中的任意编辑控件进行选择输入,以使得手机可以采用与该编辑控件对应的编辑处理方式,对图片C进行编辑处理。Exemplarily, with reference to FIG. 11 , as shown in FIG. 14 , after the user performs a sixth input on a picture (eg, picture C) in thesecond interface 20 , the mobile phone can display at least one editing control on thesecond interface 20 . 25 (for example, a "save" control, a "delete" control, an "edit" control, a "forward" control, a "move out" control, etc.), the user can select and input any edit control in the at least oneedit control 25, so that The mobile phone can edit the picture C by adopting the editing processing method corresponding to the editing control.

需要说明的是,本发明实施例中的第二图片可以为一张图片或多张图片,具体的可以根据实际使用需求确定,本发明实施例不作限制。即本发明实施例支持多张图片一键批量添加相同的处理效果,从而提高图片的处理效率。It should be noted that, the second picture in the embodiment of the present invention may be one picture or multiple pictures, which may be determined according to actual usage requirements, and is not limited in the embodiment of the present invention. That is, the embodiment of the present invention supports batch adding the same processing effect to multiple pictures with one key, thereby improving the processing efficiency of pictures.

步骤409、电子设备接收用户对至少一个编辑控件中的目标编辑控件的第七输入。Step 409: The electronic device receives a seventh input from the user to a target edit control in the at least one edit control.

步骤410、电子设备响应于第六输入,采用与目标编辑控件对应的编辑处理方式,对第二图片进行编辑处理。Step 410: In response to the sixth input, the electronic device performs editing processing on the second picture by using an editing processing method corresponding to the target editing control.

本发明实施例中,在显示M张图片的情况下,若用户需求查看对M张图片中的某些图片进行编辑操作,则用户可以对这些图片进行输入,以使得电子设备可以对这些图片进行编辑处理。In the embodiment of the present invention, in the case of displaying M pictures, if the user needs to view and edit some pictures in the M pictures, the user can input these pictures, so that the electronic device can edit these pictures. Edit processing.

可选的,本发明实施例中,在上述步骤402之后,本发明实施例提供的消息处理方法还包括下述的步骤411和步骤412。Optionally, in this embodiment of the present invention, after the foregoingstep 402, the message processing method provided in this embodiment of the present invention further includes the following steps 411 and 412.

步骤411、电子设备接收用户对M张图片中的第三图片的第八输入。Step 411: The electronic device receives an eighth input from the user on the third picture in the M pictures.

可选的,本发明实施例中,上述第八输入具体可以为用户对第三图片的拖动输入,此时被拖动的图片会缩小并跟随用户手指移动,且M张图片中除第三图片之外的其他图片会被隐藏,以使得电子设备显示分享列表界面(该分享列表界面包括至少一个接收方标识)。Optionally, in this embodiment of the present invention, the above-mentioned eighth input may specifically be a dragging input of the third picture by the user. At this time, the dragged picture will be shrunk and move with the user's finger, and the third picture will be removed from the M pictures. Pictures other than pictures will be hidden, so that the electronic device displays a sharing list interface (the sharing list interface includes at least one recipient identifier).

步骤412、电子设备响应于第八输入,显示至少一个接收方标识,并向目标接收方发送第三图片。Step 412: The electronic device displays at least one recipient identifier in response to the eighth input, and sends a third picture to the target recipient.

本发明实施例中,上述目标接收方为至少一个接收方标识中与第八输入对应的接收方标识指示的接收方。In this embodiment of the present invention, the above-mentioned target recipient is a recipient indicated by a recipient identifier corresponding to the eighth input in at least one recipient identifier.

可选的,本发明实施例中,若电子设备为单屏电子设备,则电子设备在接收到第八输入之后,可以将第二界面更新为分享列表界面,以在该分享列表界面显示至少一个接收方标识;或者,若电子设备为多屏电子设备,则电子设备在接收到第八输入之后,可以将第一屏显示的目标会话界面更新为分享列表界面,以在该分享列表界面显示至少一个接收方标识。Optionally, in this embodiment of the present invention, if the electronic device is a single-screen electronic device, after receiving the eighth input, the electronic device may update the second interface to a sharing list interface, so as to display at least one interface on the sharing list interface. Recipient identifier; or, if the electronic device is a multi-screen electronic device, after receiving the eighth input, the electronic device can update the target session interface displayed on the first screen to a sharing list interface, so as to display on the sharing list interface at least A recipient ID.

需要说明的是,上述目标接收方可以理解为:用户的第八输入的结束位置对应的接收方标识指示的接收方,即在用户拖动第三图片过程中,电子设备可以显示至少一个接收方标识,并且用户手指并未离开电子设备的屏(保持拖动第三图片),用户可以继续拖动第三图片至某个接收方标识的位置处,然后用户手指离开电子设备的屏,此时该某个接收方标识指示的接收方即为目标接收方。接收方可以理解为:可以接收电子设备发送的信息(例如图片)的其他电子设备。本发明实施例中的第三图片可以为一张图片或多张图片,即用户可以选择任意数量的图片进行发送,具体的可以根据实际使用需求确定,本发明实施例不作限制。即本发明实施例支持多张图片一键分享的效果,从而提高图片的分享效率。It should be noted that the above-mentioned target recipient can be understood as: the recipient indicated by the recipient identifier corresponding to the end position of the eighth input by the user, that is, during the process of dragging the third picture by the user, the electronic device can display at least one recipient logo, and the user's finger does not leave the screen of the electronic device (keep dragging the third picture), the user can continue to drag the third picture to the position of a certain recipient's logo, and then the user's finger leaves the screen of the electronic device, at this time The receiver indicated by the certain receiver identifier is the target receiver. The receiver can be understood as another electronic device that can receive information (such as pictures) sent by the electronic device. The third picture in the embodiment of the present invention may be one picture or multiple pictures, that is, the user may select any number of pictures to send, and the specific one may be determined according to actual usage requirements, which is not limited in the embodiment of the present invention. That is, the embodiment of the present invention supports the effect of one-click sharing of multiple pictures, thereby improving the sharing efficiency of pictures.

可选的,本发明实施例中,接收方标识具体可以为:接收方名称、接收方头像或接收方昵称等。Optionally, in this embodiment of the present invention, the identifier of the recipient may specifically be: the name of the recipient, the avatar of the recipient, or the nickname of the recipient.

示例性的,结合图11,如图15所示,在用户对第二界面20中的一张图片(例如图片B)进行第八输入之后,手机可以将第二界面20更新为分享列表界面26,该分享列表界面26包括至少一个接收方标识(例如朋友A至朋友M),用户可以将图片B拖动到一个接收方标识(例如朋友F)的位置处,以使得手机可以将该图片B发送至朋友F的电子设备中,以实现对图片B的分享。Exemplarily, with reference to FIG. 11 , as shown in FIG. 15 , after the user performs the eighth input on a picture (eg, picture B) in thesecond interface 20 , the mobile phone can update thesecond interface 20 to thesharing list interface 26 . , thesharing list interface 26 includes at least one receiver identifier (eg friend A to friend M), and the user can drag the picture B to the position of a receiver identifier (eg friend F), so that the mobile phone can use the picture B Send it to the electronic device of friend F to realize the sharing of picture B.

又示例性的,结合图12,如图16所示,在用户对第二屏显示的多张图片中的一张图片(例如图片B)进行第八输入之后,手机可以将第一屏中的目标会话界面10更新为分享列表界面26,该分享列表界面26包括至少一个接收方标识(例如朋友A至朋友M),用户可以将图片B拖动到一个接收方标识(例如朋友F)的位置处,以使得手机可以将该图片B发送至朋友F的电子设备中,以实现对图片B的分享。In another example, with reference to FIG. 12 and as shown in FIG. 16 , after the user performs the eighth input on one of the pictures (for example, picture B) displayed on the second screen, the mobile phone may Thetarget conversation interface 10 is updated to ashare list interface 26, theshare list interface 26 includes at least one recipient identifier (eg friend A to friend M), and the user can drag the picture B to the position of a recipient identifier (eg friend F) so that the mobile phone can send the picture B to the electronic device of the friend F, so as to realize the sharing of the picture B.

本发明实施例中,在显示M张图片的情况下,若用户需求将该M张图片中的某张图片分享给其他用户,则用户可以对该张图片进行输入,以使得电子设备可以快速地将该张图片发送至其他电子设备,从而实现了一键将图片分享给其他用户。In the embodiment of the present invention, in the case of displaying M pictures, if the user needs to share a certain picture in the M pictures to other users, the user can input the picture, so that the electronic device can quickly Send the picture to other electronic devices to share the picture with other users with one click.

可选的,在本发明实施例的又一种实现方式中,上述第一输入为用户对至少一条文字消息记录中的M条文字消息记录的输入。结合图2,如图17所示,在上述步骤202之后,本发明实施例提供的消息处理方法还包括下述的步骤501和步骤502。Optionally, in another implementation manner of the embodiment of the present invention, the above-mentioned first input is an input by the user to M text message records in the at least one text message record. With reference to FIG. 2 , as shown in FIG. 17 , after the foregoingstep 202 , the message processing method provided by the embodiment of the present invention further includes the followingsteps 501 and 502 .

步骤501、电子设备接收用户对M个目标标识的第九输入。Step 501: The electronic device receives a ninth input of the M target identifiers by the user.

本发明实施例中,用户可以对M个目标标识进行第九输入(例如点击输入),以使得电子设备显示该M个目标标识对应的M条文字消息记录,从而用户可以查看该M条文字消息记录对应的文字内容。In this embodiment of the present invention, the user may perform ninth input (eg, click input) on the M target identifiers, so that the electronic device displays M text message records corresponding to the M target identifiers, so that the user can view the M text messages Record the corresponding text content.

步骤502、电子设备响应于第九输入,将目标会话界面更新为第三界面,或者在至少一个屏中的第二屏显示M条文字消息记录。Step 502: The electronic device updates the target conversation interface to a third interface in response to the ninth input, or displays M text message records on the second screen of the at least one screen.

本发明实施例中,上述第三界面中包括M条文字消息记录。In the embodiment of the present invention, the above-mentioned third interface includes M text message records.

需要说明的是,电子设备在接收到第九输入之后,可以在第二屏显示M条文字消息记录,并保持第一屏中的目标会话界面中的显示内容不变,即用户可以通过电子设备继续在目标会话界面中进行消息的发送或接收,以实现在不影响目标会话界面中的显示内容的情况下,也可以同时查看M条文字消息记录。It should be noted that after receiving the ninth input, the electronic device can display M text message records on the second screen, and keep the display content in the target conversation interface on the first screen unchanged, that is, the user can use the electronic device to display the M text message records. Continue to send or receive messages in the target conversation interface, so that M text message records can be viewed at the same time without affecting the displayed content in the target conversation interface.

可选的,本发明实施例中,电子设备可以先显示M条文字消息记录中的预设数量(可以为电子设备默认的或用户预先设置的)的部分文字消息记录,并以分割线形式将该部分文字消息记录隔开显示,然后用户可以针对M条文字消息记录进行滑动输入(例如在第三界面或第二屏中对滚动条进行上滑输入(或下滑输入)),以使得电子设备可以依次显示其他的文字消息记录(即M条文字消息记录中除预设数量的部分文字消息记录之外的文字消息记录),直至显示下一条图片消息记录。Optionally, in this embodiment of the present invention, the electronic device may first display a preset number of text message records in the M text message records (which may be the default of the electronic device or preset by the user), and divide the text message records in the form of dividing lines. The part of the text message records are displayed separately, and then the user can perform sliding input for the M text message records (for example, sliding up the scroll bar (or sliding input) on the third interface or the second screen), so that the electronic device Other text message records (ie, text message records other than a preset number of text message records in the M text message records) can be displayed in sequence until the next picture message record is displayed.

示例性的,结合图5,如图18所示,在用户对目标会话界面10中的多个标识18进行第九输入之后,手机可以显示第三界面27,该第三界面27中包括多个标识18对应的多条文字消息记录(即M条文字消息记录)。Exemplarily, with reference to FIG. 5 , as shown in FIG. 18 , after the user makes a ninth input to themultiple identifiers 18 in thetarget conversation interface 10 , the mobile phone may display athird interface 27 , which includesmultiple identifiers 18 . A plurality of text message records corresponding to the identifier 18 (ie, M text message records).

又示例性的,结合图6,如图19所示,在用户对目标会话界面10中的多个标识18进行第九输入之后,手机可以在第二屏显示M条文字消息记录,并且保持第一屏中目标会话界面10中的显示内容不变。In another example, with reference to FIG. 6 , as shown in FIG. 19 , after the user makes a ninth input to the plurality ofidentifiers 18 in thetarget conversation interface 10, the mobile phone can display M text message records on the second screen, and keep the No. The displayed content in thetarget conversation interface 10 in one screen remains unchanged.

可选的,本发明实施例中,用户可以通过在电子设备的屏上进行双指放大或缩小的输入,来控制第三界面或第二屏显示的文字消息记录的条数。Optionally, in this embodiment of the present invention, the user may control the number of text message records displayed on the third interface or the second screen by performing two-finger zoom-in or zoom-out input on the screen of the electronic device.

本发明实施例中,在目标会话界面显示M个目标标识的情况下,若用户需求查看该M个目标标识对应的文字内容,则用户可以对M个目标标识进行第九输入,以使得电子设备可以快速地显示该M个目标标识对应的M条文字消息记录。In the embodiment of the present invention, when the target conversation interface displays M target identifiers, if the user needs to view the text content corresponding to the M target identifiers, the user can perform a ninth input on the M target identifiers, so that the electronic device M text message records corresponding to the M target identifiers can be quickly displayed.

可选的,本发明实施例中,在上述步骤502之后,本发明实施例提供的消息处理方法还包括下述的步骤503和步骤504。Optionally, in this embodiment of the present invention, after theabove step 502, the message processing method provided by the embodiment of the present invention further includes the following steps 503 and 504.

步骤503、电子设备接收用户对M条文字消息记录中的第二文字消息记录的第十输入。Step 503: The electronic device receives a tenth input from the user to the second text message record in the M text message records.

可选的,本发明实施例中,上述第十输入具体可以为用户对第三界面显示的M条文字消息记录中的第二文字消息记录的拖动输入,或者为用户对第二屏显示的M条文字消息记录中的第二文字消息记录的拖动输入;此时被拖动的文字消息记录会缩小并跟随用户手指移动,且M条文字消息记录中除第二文字消息记录之外的其他文字消息记录会被隐藏,以使得电子设备显示分享列表界面(该分享列表界面包括至少一个接收方标识)。Optionally, in this embodiment of the present invention, the above tenth input may specifically be the user's drag input to the second text message record among the M text message records displayed on the third interface, or the user's input on the second screen displayed. Drag input of the second text message record in the M text message records; at this time, the dragged text message record will shrink and move with the user's finger, and the M text message records except the second text message record Other text message records will be hidden, so that the electronic device displays a share list interface (the share list interface includes at least one recipient identifier).

步骤504、电子设备响应于第十输入,显示至少一个接收方标识,并向目标接收方发送第二文字消息记录对应的文字内容。Step 504: In response to the tenth input, the electronic device displays at least one recipient identifier, and sends a second text message to the target recipient to record the corresponding text content.

本发明实施例中,上述步骤504中的目标接收方为至少一个接收方标识中与第十输入对应的接收方标识指示的接收方。In this embodiment of the present invention, the target recipient in the foregoing step 504 is the recipient indicated by the recipient identifier corresponding to the tenth input in the at least one recipient identifier.

可选的,本发明实施例中,若电子设备为单屏电子设备,则电子设备在接收到第十输入之后,可以将第三界面更新为分享列表界面,以在该分享列表界面显示至少一个接收方标识;或者,若电子设备为多屏电子设备,则电子设备在接收到第十输入之后,可以将第一屏显示的目标会话界面更新为分享列表界面,以在该分享列表界面显示至少一个接收方标识。Optionally, in this embodiment of the present invention, if the electronic device is a single-screen electronic device, after receiving the tenth input, the electronic device may update the third interface to a sharing list interface, so as to display at least one interface on the sharing list interface. Recipient identifier; or, if the electronic device is a multi-screen electronic device, after receiving the tenth input, the electronic device can update the target session interface displayed on the first screen to a sharing list interface, so as to display on the sharing list interface at least A recipient ID.

需要说明的是,上述目标接收方可以理解为:用户的第十输入的结束位置对应的接收方标识指示的接收方,即在用户拖动第二文字消息记录过程中,电子设备可以显示至少一个接收方标识,并且用户手指并未离开电子设备的屏(保持拖动第二文字消息记录),用户可以继续拖动第二文字消息记录至某个接收方标识的位置处,然后用户手指离开电子设备的屏,此时该某个接收方标识指示的接收方即为目标接收方。本发明实施例中的第二文字消息记录可以为一条文字消息记录或至少一条文字消息记录,即用户可以选择任意数量的文字消息记录进行文字内容的发送,具体的可以根据实际使用需求确定,本发明实施例不作限制。即本发明实施例支持至少一条文字消息记录对应的文字内容一键分享的效果,从而提高文字内容的分享效率。It should be noted that the above-mentioned target recipient can be understood as: the recipient indicated by the recipient identifier corresponding to the end position of the tenth input of the user, that is, during the process of dragging the second text message by the user, the electronic device can display at least one Recipient identification, and the user's finger does not leave the screen of the electronic device (keep dragging the second text message record), the user can continue to drag the second text message record to the position of a certain recipient identification, and then the user's finger leaves the electronic device. The screen of the device, at this time, the receiver indicated by the receiver identifier is the target receiver. The second text message record in this embodiment of the present invention may be one text message record or at least one text message record, that is, the user can select any number of text message records to send text content, and the specific information can be determined according to actual use requirements. The embodiments of the invention are not limited. That is, the embodiment of the present invention supports the effect of one-click sharing of the text content corresponding to at least one text message record, thereby improving the sharing efficiency of the text content.

示例性的,结合图19,如图20所示,在用户对第二屏显示的多条文字消息记录中的一条文字消息记录(例如文字消息记录28)进行第十输入之后,手机可以将第一屏中的目标会话界面10更新为分享列表界面26,该分享列表界面26包括至少一个接收方标识(例如朋友A至朋友M),用户可以将文字消息记录28拖动到一个接收方标识(例如朋友F)的位置处,以使得手机可以将该文字消息记录28对应的文字内容发送至朋友F的电子设备中,以实现对文字消息记录28对应的文字内容的分享。Exemplarily, with reference to FIG. 19 , as shown in FIG. 20 , after the user performs the tenth input on a text message record (for example, the text message record 28 ) among the plurality of text message records displayed on the second screen, the mobile phone can enter the first text message record. Thetarget conversation interface 10 in one screen is updated to ashare list interface 26, theshare list interface 26 includes at least one recipient identifier (eg friend A to friend M), and the user can drag thetext message record 28 to a recipient identifier ( For example, at the location of friend F), so that the mobile phone can send the text content corresponding to thetext message record 28 to the electronic device of friend F, so as to realize the sharing of the text content corresponding to thetext message record 28 .

本发明实施例中,在显示M条文字消息记录的情况下,若用户需求将该M条文字消息记录中的某些文字消息记录对应的文字内容分享给其他用户,则用户可以对这些文字消息记录进行输入,以使得电子设备可以快速地将这些文字消息记录对应的文字内容发送至其他电子设备,从而实现了一键将文字内容分享给其他用户。In the embodiment of the present invention, in the case of displaying M text message records, if the user needs to share the text content corresponding to some text message records in the M text message records to other users, the user can share these text messages with other users. The record is input, so that the electronic device can quickly send the text content corresponding to these text message records to other electronic devices, thereby realizing one-click sharing of the text content to other users.

可选的,本发明实施例中,在用户完成对图片或文字内容的查看或处理操作之后,可以触发电子设备选择返回目标会话界面(即聊天界面),并使得电子设备恢复图片或文字内容的初始显示方式。并且,在电子设备为多屏电子设备的情况下,可以返回至第二屏初始显示的界面。Optionally, in this embodiment of the present invention, after the user completes the viewing or processing operation on the picture or text content, the electronic device can be triggered to select and return to the target conversation interface (ie, the chat interface), and the electronic device can be made to restore the picture or text content. Initial display mode. In addition, in the case that the electronic device is a multi-screen electronic device, it is possible to return to the interface initially displayed on the second screen.

需要说明的是,本发明实施例中,上述附图7、附图10和附图17均是结合附图2进行示例说明的,其并不对本发明实施例形成任何限定。可以理解,实际实现时,附图7、附图10和附图17还可以结合其它任意可以结合的附图实现。It should be noted that, in the embodiment of the present invention, the above-mentioned FIG. 7 , FIG. 10 , and FIG. 17 are all illustrated in conjunction with FIG. 2 , which do not form any limitation to the embodiment of the present invention. It can be understood that, in actual implementation, FIG. 7 , FIG. 10 , and FIG. 17 can also be implemented in combination with any other accompanying drawings.

图21示出了本发明实施例中涉及的电子设备的一种可能的结构示意图。如图21所示,电子设备80可以包括:接收模块81、删除模块82和显示模块83。FIG. 21 shows a possible schematic structural diagram of the electronic device involved in the embodiment of the present invention. As shown in FIG. 21 , theelectronic device 80 may include: a receivingmodule 81 , a deletingmodule 82 and adisplay module 83 .

其中,接收模块81,用于在电子设备的至少一个屏中的第一屏显示目标会话界面的情况下,接收用户的第一输入,该目标会话界面中包括N条消息记录,该第一输入为用户对N条消息记录中的M条消息记录的输入,N为大于1的整数,M为大于1且小于或等于N的整数。删除模块82,用于响应于接收模块81接收的第一输入,从目标会话界面中删除M条消息记录。显示模块83,用于在目标会话界面中的第一区域显示M个目标标识,每个目标标识分别用于指示一条消息记录,该第一区域为M条消息记录中的一条消息记录对应的区域。Wherein, the receivingmodule 81 is configured to receive the user's first input when the target conversation interface is displayed on the first screen of at least one screen of the electronic device, the target conversation interface includes N message records, and the first input is the user's input to M message records among the N message records, where N is an integer greater than 1, and M is an integer greater than 1 and less than or equal to N. Thedeletion module 82 is configured to delete the M message records from the target conversation interface in response to the first input received by the receivingmodule 81 . Thedisplay module 83 is used to display M target identifiers in the first area in the target conversation interface, and each target identifier is used to indicate a message record respectively, and the first area is the area corresponding to a message record in the M message records .

在一种可能的实现方式中,上述N条消息记录包括以下至少一项:至少一条文字消息记录和至少一条图片消息记录;上述第一输入为用户对至少一条文字消息记录中的M条文字消息记录的输入,或者为用户对至少一条图片消息记录中的M条图片消息记录的输入。In a possible implementation manner, the above-mentioned N message records include at least one of the following: at least one text message record and at least one picture message record; the above-mentioned first input is the user's input to M text messages in the at least one text message record The input of the record, or the user's input to the M pieces of picture message records in the at least one picture message record.

在一种可能的实现方式中,上述第一输入为用户对M条图片消息记录的输入。上述接收模块81,还用于在显示模块83在目标会话界面中的第一区域显示M个目标标识之后,接收用户对至少一条文字消息记录中的第一文字消息记录的第二输入。上述显示模块83,还用于响应于接收模块81接收的第二输入,将目标会话界面更新为第一界面,或者在至少一个屏中的第二屏显示K张图片,该第一界面中包括K张图片。其中,上述K张图片为K条图片消息记录对应的图片,K条图片消息记录为M条图片消息记录中与第一文字消息记录对应的图片消息记录,一条图片消息记录对应一张图片,K为小于M的正整数。In a possible implementation manner, the above-mentioned first input is the user's input on M pieces of picture message records. Theabove receiving module 81 is further configured to receive a second input from the user to the first text message record in the at least one text message record after thedisplay module 83 displays the M target identifiers in the first area of the target conversation interface. The above-mentioneddisplay module 83 is further configured to update the target session interface to the first interface in response to the second input received by the receivingmodule 81, or display K pictures on the second screen of at least one screen, and the first interface includes K pictures. The above K pictures are pictures corresponding to K picture message records, K picture message records are picture message records corresponding to the first text message record in the M picture message records, one picture message record corresponds to one picture, and K is A positive integer less than M.

在一种可能的实现方式中,上述第一输入为用户对M条图片消息记录的输入。上述接收模块81,还用于在显示模块83在目标会话界面中的第一区域显示M个目标标识之后,接收用户对M个目标标识的第三输入。上述显示模块83,还用于响应于接收模块81接收的第三输入,将目标会话界面更新为第二界面,或者在至少一个屏中的第二屏显示M张图片,该第二界面中包括M张图片。其中,上述M张图片为M条图片消息记录对应的图片,一条图片消息记录对应一张图片。In a possible implementation manner, the above-mentioned first input is the user's input on M pieces of picture message records. Theabove receiving module 81 is further configured to receive a third input of the M target identifiers by the user after thedisplay module 83 displays the M target identifiers in the first area of the target conversation interface. The above-mentioneddisplay module 83 is further configured to update the target session interface to a second interface in response to the third input received by the receivingmodule 81, or display M pictures on the second screen in at least one screen, and the second interface includes M pictures. The above M pictures are pictures corresponding to M picture message records, and one picture message record corresponds to one picture.

在一种可能的实现方式中,上述接收模块81,还用于在显示模块83将目标会话界面更新为第二界面,或者在至少一个屏中的第二屏显示M张图片之后,接收用户对M张图片中的第一图片的第四输入。上述显示模块83,还用于响应于接收模块81接收的第四输入,显示第一控件和第二控件,该第一控件用于显示图片对应的文字消息记录,该第二控件用于定位到图片在目标会话界面中的初始显示位置。上述接收模块81,还用于接收用户对目标控件的第五输入,该目标控件为第一控件或第二控件。上述显示模块83,还用于响应于接收模块81接收的第五输入,执行第一操作,该第一操作为以下任一项:在第二区域显示目标文字消息记录;定位到第一图片在目标会话界面中的初始显示位置,并在目标会话界面中以预设方式标记初始显示位置。其中,目标文字消息记录为至少一条文字消息记录中与第一图片对应的文字消息记录,第二区域为M张图片中除第一图片之外的任意图片对应的显示区域。In a possible implementation manner, the above-mentionedreceiving module 81 is further configured to, after thedisplay module 83 updates the target conversation interface to the second interface, or after the second screen in the at least one screen displays M pictures, receive user feedback The fourth input of the first picture among the M pictures. The above-mentioneddisplay module 83 is also used to display a first control and a second control in response to the fourth input received by the receivingmodule 81, the first control is used to display the text message record corresponding to the picture, and the second control is used to locate the The initial display position of the image in the target session interface. Theabove receiving module 81 is further configured to receive a fifth input from the user to the target control, where the target control is the first control or the second control. The above-mentioneddisplay module 83 is further configured to perform a first operation in response to the fifth input received by the receivingmodule 81, and the first operation is any one of the following: display the target text message record in the second area; locate the first picture in the The initial display position in the target session interface, and the initial display position is marked in the target session interface in a preset manner. The target text message record is a text message record corresponding to the first picture in at least one text message record, and the second area is a display area corresponding to any picture in the M pictures except the first picture.

在一种可能的实现方式中,上述接收模块81,还用于在显示模块83将目标会话界面更新为第二界面,或者在至少一个屏中的第二屏显示M张图片之后,接收用户对M张图片中的第二图片的第六输入。上述显示模块83,还用于响应于接收模块81接收的第六输入,显示至少一个编辑控上述件,每个编辑控件分别对应一种编辑处理方式。接收模块81,还用于接收用户对至少一个编辑控件中的目标编辑控件的第七输入。本发明实施例提供的电子设备80还包括:处理模块。其中,处理模块,用于响应于接收模块81接收的第七输入,采用与目标编辑控件对应的编辑处理方式,对第二图片进行编辑处理。In a possible implementation manner, the above-mentionedreceiving module 81 is further configured to, after thedisplay module 83 updates the target conversation interface to the second interface, or after the second screen in the at least one screen displays M pictures, receive user feedback The sixth input of the second picture of the M pictures. The above-mentioneddisplay module 83 is further configured to display at least one editing control component in response to the sixth input received by the receivingmodule 81 , and each editing control corresponds to an editing processing mode. The receivingmodule 81 is further configured to receive a seventh input from the user to the target editing control in the at least one editing control. Theelectronic device 80 provided by the embodiment of the present invention further includes: a processing module. The processing module is configured to, in response to the seventh input received by the receivingmodule 81, use an editing processing manner corresponding to the target editing control to perform editing processing on the second picture.

在一种可能的实现方式中,上述接收模块81,还用于在显示模块83将目标会话界面更新为第二界面,或者在至少一个屏中的第二屏显示M张图片之后,接收用户对M张图片中的第三图片的第八输入。上述显示模块83,还用于响应于接收模块81接收的第八输入,显示至少一个接收方标识。本发明实施例提供的电子设备80还包括:发送模块。其中,发送模块,用于向目标接收方发送第三图片,该目标接收方为至少一个接收方标识中与第八输入对应的接收方标识指示的接收方。In a possible implementation manner, the above-mentionedreceiving module 81 is further configured to, after thedisplay module 83 updates the target conversation interface to the second interface, or after the second screen in the at least one screen displays M pictures, receive user feedback The eighth input of the third picture among the M pictures. The above-mentioneddisplay module 83 is further configured to display at least one recipient identifier in response to the eighth input received by the receivingmodule 81 . Theelectronic device 80 provided by the embodiment of the present invention further includes: a sending module. The sending module is configured to send the third picture to the target receiver, where the target receiver is the receiver indicated by the receiver identification corresponding to the eighth input in the at least one receiver identification.

在一种可能的实现方式中,上述第一输入为用户对至少一条文字消息记录中的M条文字消息记录的输入。上述接收模块81,还用于在显示模块83在目标会话界面中的第一区域显示M个目标标识之后,接收用户对M个目标标识的第九输入。上述显示模块83,还用于响应于接收模块81接收的第九输入,将目标会话界面更新为第三界面,或者在至少一个屏中的第二屏显示M条文字消息记录,该第三界面中包括M条文字消息记录。In a possible implementation manner, the above-mentioned first input is the user's input to M text message records in the at least one text message record. Theabove receiving module 81 is further configured to receive the ninth input of the M target identifiers by the user after thedisplay module 83 displays the M target identifiers in the first area of the target conversation interface. The above-mentioneddisplay module 83 is also used to update the target conversation interface to a third interface in response to the ninth input received by the receivingmodule 81, or display M text message records on the second screen in at least one screen, and the third interface Including M text message records.

本发明实施例提供的电子设备能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,详细描述这里不再赘述。The electronic device provided in the embodiments of the present invention can implement the various processes implemented by the electronic device in the foregoing method embodiments. To avoid repetition, the detailed description is not repeated here.

本发明实施例提供一种电子设备,由于用户可以对会话界面中的部分消息记录或全部消息记录进行第一输入,以使得电子设备可以将这些消息记录更新显示为多个标识,以电子设备可以对这些消息记录进行折叠,以灵活地在一个区域通过标识的形式显示这些消息记录,即减少了目标会话界面中的消息记录的条数,从而用户在需求查看某条消息记录对应的消息内容时,无需逐一查看每条消息记录对应的消息内容,而是基于该目标会话界面中的这些标识,快速地查看某条消息记录对应的消息内容,因此通过本方案,提高了电子设备显示接收到的消息的方式的灵活性。An embodiment of the present invention provides an electronic device. Since the user can perform a first input on some or all of the message records in the conversation interface, the electronic device can update and display these message records as multiple identifiers, so that the electronic device can Folding these message records to flexibly display these message records in the form of logos in one area, that is, reducing the number of message records in the target session interface, so that when users need to view the message content corresponding to a message record , without checking the message content corresponding to each message record one by one, but based on these identifiers in the target session interface, the message content corresponding to a certain message record can be quickly checked. Therefore, this solution improves the display of the received message by the electronic device. Flexibility in the way the message is delivered.

图22为实现本发明各个实施例的一种电子设备的硬件示意图,该电子设备包括至少一个屏。如图22所示,电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。FIG. 22 is a schematic diagram of hardware of an electronic device for implementing various embodiments of the present invention, and the electronic device includes at least one screen. As shown in FIG. 22 , theelectronic device 100 includes but is not limited to: aradio frequency unit 101, anetwork module 102, anaudio output unit 103, aninput unit 104, asensor 105, adisplay unit 106, auser input unit 107, aninterface unit 108, amemory 109, Theprocessor 110, thepower supply 111 and other components.

需要说明的是,本领域技术人员可以理解,图22中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图22所示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。It should be noted that those skilled in the art can understand that the structure of the electronic device shown in FIG. 22 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than those shown in FIG. some components, or a different arrangement of components. In this embodiment of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.

其中,用户输入单元107,用于在至少一个屏中的第一屏显示目标会话界面的情况下,接收用户的第一输入,该目标会话界面中包括N条消息记录,该第一输入为用户对N条消息记录中的M条消息记录的输入,N为大于1的整数,M为大于1且小于或等于N的整数。Wherein, theuser input unit 107 is configured to receive the first input of the user when the target conversation interface is displayed on the first screen in the at least one screen, the target conversation interface includes N message records, and the first input is the user's first input. For the input of M message records among the N message records, N is an integer greater than 1, and M is an integer greater than 1 and less than or equal to N.

处理器110,用于响应于第一输入,从目标会话界面中删除M条消息记录。Theprocessor 110 is configured to delete the M message records from the target conversation interface in response to the first input.

显示单元106,用于在目标会话界面中的第一区域显示M个目标标识,每个目标标识分别用于指示一条消息记录,该第一区域为M条消息记录中的一条消息记录对应的区域。Thedisplay unit 106 is used to display M target identifiers in the first area in the target session interface, each target identifier is used to indicate a message record, and the first area is the area corresponding to a message record in the M message records .

本发明实施例提供一种电子设备,由于用户可以对会话界面中的部分消息记录或全部消息记录进行第一输入,以使得电子设备可以将这些消息记录更新显示为多个标识,以电子设备可以对这些消息记录进行折叠,以灵活地在一个区域通过标识的形式显示这些消息记录,即减少了目标会话界面中的消息记录的条数,从而用户在需求查看某条消息记录对应的消息内容时,无需逐一查看每条消息记录对应的消息内容,而是基于该目标会话界面中的这些标识,快速地查看某条消息记录对应的消息内容,因此通过本方案,提高了电子设备显示接收到的消息的方式的灵活性。An embodiment of the present invention provides an electronic device. Since the user can perform a first input on some or all of the message records in the conversation interface, the electronic device can update and display these message records as multiple identifiers, so that the electronic device can Folding these message records to flexibly display these message records in the form of logos in one area, that is, reducing the number of message records in the target session interface, so that when users need to view the message content corresponding to a message record , without checking the message content corresponding to each message record one by one, but based on these identifiers in the target session interface, the message content corresponding to a certain message record can be quickly checked. Therefore, this solution improves the display of the received message by the electronic device. Flexibility in the way the message is delivered.

应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, theradio frequency unit 101 may be used for receiving and sending signals in the process of sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by theprocessor 110; The uplink data is sent to the base station. Generally, theradio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, theradio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.

电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides the user with wireless broadband Internet access through thenetwork module 102, such as helping the user to send and receive emails, browse web pages, access streaming media, and the like.

音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。Theaudio output unit 103 may convert audio data received by theradio frequency unit 101 or thenetwork module 102 or stored in thememory 109 into audio signals and output as sound. Also, theaudio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (eg, call signal reception sound, message reception sound, etc.). Theaudio output unit 103 includes a speaker, a buzzer, a receiver, and the like.

输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(graphics processing unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。Theinput unit 104 is used to receive audio or video signals. Theinput unit 104 may include a graphics processor (graphics processing unit, GPU) 1041 and amicrophone 1042. Thegraphics processor 1041 captures images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on thedisplay unit 106 . The image frames processed by thegraphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via theradio frequency unit 101 or thenetwork module 102 . Themicrophone 1042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via theradio frequency unit 101 for output in the case of a telephone call mode.

电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。Theelectronic device 100 also includes at least onesensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of thedisplay panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off thedisplay panel 1061 and thedisplay panel 1061 when theelectronic device 100 is moved to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; thesensor 105 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.

显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板1061。Thedisplay unit 106 is used to display information input by the user or information provided to the user. Thedisplay unit 106 may include adisplay panel 1061, and thedisplay panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。Theuser input unit 107 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, theuser input unit 107 includes atouch panel 1071 andother input devices 1072 . Thetouch panel 1071, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or attachment on or near the touch panel 1071). operate). Thetouch panel 1071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To theprocessor 110, the command sent by theprocessor 110 is received and executed. In addition, thetouch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to thetouch panel 1071 , theuser input unit 107 may also includeother input devices 1072 . Specifically,other input devices 1072 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 described herein again.

进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图22中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, thetouch panel 1071 can be covered on thedisplay panel 1061. When thetouch panel 1071 detects a touch operation on or near it, it transmits it to theprocessor 110 to determine the type of the touch event, and then theprocessor 110 determines the type of the touch event according to the touch The type of event provides corresponding visual output ondisplay panel 1061 . Although in FIG. 22, thetouch panel 1071 and thedisplay panel 1061 are used as two independent components to realize the input and output functions of the electronic device, in some embodiments, thetouch panel 1071 and thedisplay panel 1061 may be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.

接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。Theinterface unit 108 is an interface for connecting an external device to theelectronic device 100 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. Theinterface unit 108 may be used to receive input (eg, data information, power, etc.) from external devices and transmit the received input to one or more elements within theelectronic device 100 or may be used between theelectronic device 100 and external Transfer data between devices.

存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Thememory 109 may be used to store software programs as well as various data. Thememory 109 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally,memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

处理器110是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器110可包括一个或多个处理单元;可选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。Theprocessor 110 is the control center of the electronic device, using various interfaces and lines to connect various parts of the entire electronic device, by running or executing the software programs and/or modules stored in thememory 109, and calling the data stored in thememory 109. , perform various functions of electronic equipment and process data, so as to monitor electronic equipment as a whole. Theprocessor 110 may include one or more processing units; optionally, theprocessor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The modulation processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into theprocessor 110 .

电子设备100还可以包括给各个部件供电的电源111(比如电池),可选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。Theelectronic device 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Optionally, thepower supply 111 may be logically connected to theprocessor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system management and other functions.

另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, theelectronic device 100 includes some functional modules not shown, which will not be repeated here.

可选的,本发明实施例还提供一种电子设备,包括如图22所示的处理器110,存储器109,存储在存储器109上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention further provides an electronic device, including aprocessor 110 as shown in FIG. 22 , amemory 109 , a computer program stored in thememory 109 and executable on theprocessor 110 , the computer When the program is executed by theprocessor 110, each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, each process of the foregoing method embodiment can be achieved, and the same technical effect can be achieved, In order to avoid repetition, details are not repeated here. Wherein, the computer-readable storage medium, such as read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk, etc.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。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.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如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 solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.

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

Claims (14)

Translated fromChinese
1.一种消息处理方法,应用于电子设备,所述电子设备包括至少一个屏,其特征在于,所述方法包括:1. A message processing method, applied to an electronic device, the electronic device comprising at least one screen, wherein the method comprises:在所述至少一个屏中的第一屏显示目标会话界面的情况下,接收用户的第一输入,所述目标会话界面中包括N条消息记录,所述第一输入为用户对所述N条消息记录中的M条消息记录的输入,N为大于1的整数,M为大于1且小于或等于N的整数;In the case where the target conversation interface is displayed on the first screen of the at least one screen, a first input from the user is received, the target conversation interface includes N message records, and the first input is the user's response to the N message records. The input of M message records in the message record, N is an integer greater than 1, and M is an integer greater than 1 and less than or equal to N;响应于所述第一输入,从所述目标会话界面中删除所述M条消息记录,并在所述目标会话界面中的第一区域显示M个目标标识,每个目标标识分别用于指示一条消息记录,所述第一区域为所述M条消息记录中的一条消息记录对应的区域。In response to the first input, delete the M message records from the target conversation interface, and display M target identifiers in the first area of the target conversation interface, and each target identifier is used to indicate a A message record, where the first area is an area corresponding to one message record in the M message records.2.根据权利要求1所述的方法,其特征在于,所述N条消息记录包括以下至少一项:至少一条文字消息记录和至少一条图片消息记录;2. The method according to claim 1, wherein the N pieces of message records comprise at least one of the following: at least one text message record and at least one picture message record;所述第一输入为用户对所述至少一条文字消息记录中的M条文字消息记录的输入,或者为用户对所述至少一条图片消息记录中的M条图片消息记录的输入。The first input is the user's input to M text message records in the at least one text message record, or the user's input to M picture message records in the at least one picture message record.3.根据权利要求2所述的方法,其特征在于,所述第一输入为用户对所述M条图片消息记录的输入;3. The method according to claim 2, wherein the first input is the input of the user to the M picture message records;所述在所述目标会话界面中的第一区域显示M个目标标识之后,所述方法还包括:After the M target identifiers are displayed in the first area of the target conversation interface, the method further includes:接收用户对所述至少一条文字消息记录中的第一文字消息记录的第二输入;receiving a second input from the user to the first text message record in the at least one text message record;响应于所述第二输入,将所述目标会话界面更新为第一界面,或者在所述至少一个屏中的第二屏显示K张图片,所述第一界面中包括K张图片;In response to the second input, updating the target conversation interface to a first interface, or displaying K pictures on a second screen of the at least one screen, where the first interface includes K pictures;其中,所述K张图片为K条图片消息记录对应的图片,所述K条图片消息记录为所述M条图片消息记录中与所述第一文字消息记录对应的图片消息记录,一条图片消息记录对应一张图片,K为小于M的正整数。The K pictures are pictures corresponding to K picture message records, and the K picture message records are picture message records corresponding to the first text message record in the M picture message records, and one picture message record Corresponding to a picture, K is a positive integer less than M.4.根据权利要求2所述的方法,其特征在于,所述第一输入为用户对所述M条图片消息记录的输入;4. The method according to claim 2, wherein the first input is the input of the user to the M picture message records;所述在所述目标会话界面中的第一区域显示M个目标标识之后,所述方法还包括:After the M target identifiers are displayed in the first area of the target conversation interface, the method further includes:接收用户对所述M个目标标识的第三输入;receiving a third input from the user to the M target identifiers;响应于所述第三输入,将所述目标会话界面更新为第二界面,或者在所述至少一个屏中的第二屏显示M张图片,所述第二界面中包括M张图片;In response to the third input, updating the target conversation interface to a second interface, or displaying M pictures on the second screen in the at least one screen, and the second interface includes M pictures;其中,所述M张图片为所述M条图片消息记录对应的图片,一条图片消息记录对应一张图片。The M pictures are pictures corresponding to the M picture message records, and one picture message record corresponds to one picture.5.根据权利要求4所述的方法,其特征在于,所述将所述目标会话界面更新为第二界面,或者在所述至少一个屏中的第二屏显示M张图片之后,所述方法还包括:5. The method according to claim 4, characterized in that, after the target session interface is updated to a second interface, or after M pictures are displayed on the second screen in the at least one screen, the method Also includes:接收用户对所述M张图片中的第一图片的第四输入;receiving a fourth input from the user to the first picture in the M pictures;响应于所述第四输入,显示第一控件和第二控件,所述第一控件用于显示图片对应的文字消息记录,所述第二控件用于定位到图片在所述目标会话界面中的初始显示位置;In response to the fourth input, a first control and a second control are displayed, the first control is used to display the text message record corresponding to the picture, and the second control is used to locate the picture in the target conversation interface. initial display position;接收用户对目标控件的第五输入,所述目标控件为所述第一控件或第二控件;receiving a fifth input from a user to a target control, where the target control is the first control or the second control;响应于所述第五输入,执行第一操作,所述第一操作为以下任一项:在第二区域显示目标文字消息记录;定位到所述第一图片在所述目标会话界面中的初始显示位置,并在所述目标会话界面中以预设方式标记所述初始显示位置;In response to the fifth input, a first operation is performed, and the first operation is any one of the following: displaying the target text message record in the second area; locating the initial position of the first picture in the target conversation interface Displaying a position, and marking the initial display position in a preset manner in the target session interface;其中,所述目标文字消息记录为所述至少一条文字消息记录中与所述第一图片对应的文字消息记录,所述第二区域为所述M张图片中除所述第一图片之外的任意图片对应的显示区域。The target text message record is the text message record corresponding to the first picture in the at least one text message record, and the second area is the M pictures other than the first picture. The display area corresponding to any picture.6.根据权利要求4或5所述的方法,其特征在于,所述将所述目标会话界面更新为第二界面,或者在所述至少一个屏中的第二屏显示M张图片之后,所述方法还包括:6. The method according to claim 4 or 5, wherein the updating the target session interface to the second interface, or after the second screen in the at least one screen displays M pictures, the The method also includes:接收用户对所述M张图片中的第二图片的第六输入;receiving the sixth input from the user to the second picture in the M pictures;响应于所述第六输入,显示至少一个编辑控件,每个编辑控件分别对应一种编辑处理方式;In response to the sixth input, at least one editing control is displayed, and each editing control corresponds to an editing processing mode;接收用户对所述至少一个编辑控件中的目标编辑控件的第七输入;receiving a seventh input from the user to a target edit control in the at least one edit control;响应于所述第七输入,采用与所述目标编辑控件对应的编辑处理方式,对所述第二图片进行编辑处理。In response to the seventh input, an editing processing manner corresponding to the target editing control is used to perform editing processing on the second picture.7.根据权利要求4或5所述的方法,其特征在于,所述将所述目标会话界面更新为第二界面,或者在所述至少一个屏中的第二屏显示M张图片之后,所述方法还包括:7. The method according to claim 4 or 5, wherein the updating the target session interface to the second interface, or after the second screen in the at least one screen displays M pictures, the The method also includes:接收用户对所述M张图片中的第三图片的第八输入;Receive the eighth input of the user to the third picture in the M pictures;响应于所述第八输入,显示至少一个接收方标识,并向目标接收方发送所述第三图片,所述目标接收方为所述至少一个接收方标识中与所述第八输入对应的接收方标识指示的接收方。In response to the eighth input, displaying at least one receiver identification, and sending the third picture to a target receiver, where the target receiver is the receiver corresponding to the eighth input in the at least one receiver identification The recipient indicated by the party ID.8.一种电子设备,所述电子设备包括至少一个屏,其特征在于,所述电子设备包括:接收模块、删除模块和显示模块;8. An electronic device comprising at least one screen, wherein the electronic device comprises: a receiving module, a deleting module and a display module;所述接收模块,用于在所述至少一个屏中的第一屏显示目标会话界面的情况下,接收用户的第一输入,所述目标会话界面中包括N条消息记录,所述第一输入为用户对所述N条消息记录中的M条消息记录的输入,N为大于1的整数,M为大于1且小于或等于N的整数;The receiving module is configured to receive a user's first input when the first screen in the at least one screen displays a target conversation interface, the target conversation interface includes N message records, and the first input is the user's input to M message records in the N message records, N is an integer greater than 1, and M is an integer greater than 1 and less than or equal to N;所述删除模块,用于响应于所述接收模块接收的所述第一输入,从所述目标会话界面中删除所述M条消息记录;the deletion module, configured to delete the M message records from the target conversation interface in response to the first input received by the receiving module;所述显示模块,用于在所述目标会话界面中的第一区域显示M个目标标识,每个目标标识分别用于指示一条消息记录,所述第一区域为所述M条消息记录中的一条消息记录对应的区域。The display module is used to display M target identifiers in the first area in the target conversation interface, and each target identifier is used to indicate a message record, and the first area is the M target identifiers in the M message records. A message records the corresponding area.9.根据权利要求8所述的电子设备,其特征在于,所述N条消息记录包括以下至少一项:至少一条文字消息记录和至少一条图片消息记录;9. The electronic device according to claim 8, wherein the N pieces of message records comprise at least one of the following: at least one text message record and at least one picture message record;所述第一输入为用户对所述至少一条文字消息记录中的M条文字消息记录的输入,或者为用户对所述至少一条图片消息记录中的M条图片消息记录的输入。The first input is the user's input to M text message records in the at least one text message record, or the user's input to M picture message records in the at least one picture message record.10.根据权利要求9所述的电子设备,其特征在于,所述第一输入为用户对所述M条图片消息记录的输入;10. The electronic device according to claim 9, wherein the first input is an input of the M pieces of picture message records by a user;所述接收模块,还用于在所述显示模块在所述目标会话界面中的第一区域显示M个目标标识之后,接收用户对所述至少一条文字消息记录中的第一文字消息记录的第二输入;The receiving module is further configured to, after the display module displays the M target identifiers in the first area of the target conversation interface, receive a second message from the user for the first text message record in the at least one text message record. enter;所述显示模块,还用于响应于所述接收模块接收的所述第二输入,将所述目标会话界面更新为第一界面,或者在所述至少一个屏中的第二屏显示K张图片,所述第一界面中包括K张图片;The display module is further configured to update the target conversation interface to the first interface in response to the second input received by the receiving module, or display K pictures on the second screen of the at least one screen , the first interface includes K pictures;其中,所述K张图片为K条图片消息记录对应的图片,所述K条图片消息记录为所述M条图片消息记录中与所述第一文字消息记录对应的图片消息记录,一条图片消息记录对应一张图片,K为小于M的正整数。The K pictures are pictures corresponding to K picture message records, and the K picture message records are picture message records corresponding to the first text message record in the M picture message records, and one picture message record Corresponding to a picture, K is a positive integer less than M.11.根据权利要求9所述的电子设备,其特征在于,所述第一输入为用户对所述M条图片消息记录的输入;11. The electronic device according to claim 9, wherein the first input is an input of the M pieces of picture message records by a user;所述接收模块,还用于在所述显示模块在所述目标会话界面中的第一区域显示M个目标标识之后,接收用户对所述M个目标标识的第三输入;The receiving module is further configured to receive the third input of the M target identifiers by the user after the display module displays the M target identifiers in the first area in the target conversation interface;所述显示模块,还用于响应于所述接收模块接收的所述第三输入,将所述目标会话界面更新为第二界面,或者在所述至少一个屏中的第二屏显示M张图片,所述第二界面中包括M张图片;The display module is further configured to update the target conversation interface to a second interface in response to the third input received by the receiving module, or display M pictures on the second screen of the at least one screen , the second interface includes M pictures;其中,所述M张图片为所述M条图片消息记录对应的图片,一条图片消息记录对应一张图片。The M pictures are pictures corresponding to the M picture message records, and one picture message record corresponds to one picture.12.根据权利要求11所述的电子设备,其特征在于,所述接收模块,还用于在所述显示模块将所述目标会话界面更新为第二界面,或者在所述至少一个屏中的第二屏显示M张图片之后,接收用户对所述M张图片中的第一图片的第四输入;12 . The electronic device according to claim 11 , wherein the receiving module is further configured to update the target session interface to a second interface in the display module, or update the interface in the at least one screen. 13 . After displaying M pictures on the second screen, receive the fourth input from the user to the first picture in the M pictures;所述显示模块,还用于响应于所述接收模块接收的所述第四输入,显示第一控件和第二控件,所述第一控件用于显示图片对应的文字消息记录,所述第二控件用于定位到图片在所述目标会话界面中的初始显示位置;The display module is further configured to display a first control and a second control in response to the fourth input received by the receiving module, the first control is used to display the text message record corresponding to the picture, the second control The control is used to locate the initial display position of the picture in the target session interface;所述接收模块,还用于接收用户对目标控件的第五输入,所述目标控件为所述第一控件或第二控件;The receiving module is further configured to receive a fifth input from a user to a target control, where the target control is the first control or the second control;所述显示模块,还用于响应于所述接收模块接收的所述第五输入,执行第一操作,所述第一操作为以下任一项:在第二区域显示目标文字消息记录;定位到所述第一图片在所述目标会话界面中的初始显示位置,并在所述目标会话界面中以预设方式标记所述初始显示位置;The display module is further configured to perform a first operation in response to the fifth input received by the receiving module, where the first operation is any one of the following: displaying the target text message record in the second area; the initial display position of the first picture in the target session interface, and the initial display position is marked in the target session interface in a preset manner;其中,所述目标文字消息记录为所述至少一条文字消息记录中与所述第一图片对应的文字消息记录,所述第二区域为所述M张图片中除所述第一图片之外的任意图片对应的显示区域。The target text message record is the text message record corresponding to the first picture in the at least one text message record, and the second area is the M pictures other than the first picture. The display area corresponding to any picture.13.根据权利要求11或12所述的电子设备,其特征在于,所述接收模块,还用于在所述显示模块将所述目标会话界面更新为第二界面,或者在所述至少一个屏中的第二屏显示M张图片之后,接收用户对所述M张图片中的第二图片的第六输入;13. The electronic device according to claim 11 or 12, wherein the receiving module is further configured to update the target session interface to a second interface in the display module, or to update the at least one screen in the display module. After the second screen in the M pictures is displayed, the sixth input of the user to the second picture in the M pictures is received;所述显示模块,还用于响应于所述接收模块接收的所述第六输入,显示至少一个编辑控件,每个编辑控件分别对应一种编辑处理方式;The display module is further configured to display at least one editing control in response to the sixth input received by the receiving module, and each editing control corresponds to an editing processing mode;所述接收模块,还用于接收用户对所述至少一个编辑控件中的目标编辑控件的第七输入;The receiving module is further configured to receive a seventh input from the user to the target edit control in the at least one edit control;所述电子设备还包括:处理模块;The electronic device further includes: a processing module;所述处理模块,用于响应于所述接收模块接收的所述第七输入,采用与所述目标编辑控件对应的编辑处理方式,对所述第二图片进行编辑处理。The processing module is configured to, in response to the seventh input received by the receiving module, use an editing processing manner corresponding to the target editing control to perform editing processing on the second picture.14.根据权利要求11或12所述的电子设备,其特征在于,所述接收模块,还用于在所述显示模块将所述目标会话界面更新为第二界面,或者在所述至少一个屏中的第二屏显示M张图片之后,接收用户对所述M张图片中的第三图片的第八输入;14 . The electronic device according to claim 11 or 12 , wherein the receiving module is further configured to update the target session interface to a second interface in the display module, or to update the at least one screen in the at least one screen. 15 . After the second screen in the M pictures is displayed, the user's eighth input to the third picture in the M pictures is received;所述显示模块,还用于响应于所述接收模块接收的所述第八输入,显示至少一个接收方标识;The display module is further configured to display at least one receiver identifier in response to the eighth input received by the receiving module;所述电子设备还包括:发送模块;The electronic device further includes: a sending module;所述发送模块,用于向目标接收方发送所述第三图片,所述目标接收方为所述至少一个接收方标识中与所述第八输入对应的接收方标识指示的接收方。The sending module is configured to send the third picture to a target recipient, where the target recipient is the recipient indicated by the recipient identifier corresponding to the eighth input in the at least one recipient identifier.
CN202010404253.0A2020-05-132020-05-13 A message processing method and electronic deviceActiveCN111638837B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010404253.0ACN111638837B (en)2020-05-132020-05-13 A message processing method and electronic device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010404253.0ACN111638837B (en)2020-05-132020-05-13 A message processing method and electronic device

Publications (2)

Publication NumberPublication Date
CN111638837Atrue CN111638837A (en)2020-09-08
CN111638837B CN111638837B (en)2022-03-11

Family

ID=72330073

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010404253.0AActiveCN111638837B (en)2020-05-132020-05-13 A message processing method and electronic device

Country Status (1)

CountryLink
CN (1)CN111638837B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112286412A (en)*2020-10-222021-01-29维沃移动通信(杭州)有限公司Notification message management method and device
CN112383666A (en)*2020-11-092021-02-19维沃移动通信有限公司Content sending method and device and electronic equipment
CN113900571A (en)*2021-10-142022-01-07北京淇瑀信息科技有限公司Information display method and device and electronic equipment
CN115002056A (en)*2022-05-262022-09-02维沃移动通信有限公司Message processing method and device, electronic equipment and readable storage medium
WO2022213987A1 (en)*2021-04-082022-10-13维沃移动通信有限公司Information processing method and apparatus, and electronic device and readable storage medium
WO2023143379A1 (en)*2022-01-262023-08-03维沃移动通信有限公司Information exchange method and apparatus based on scroll screen, and electronic device
WO2024193642A1 (en)*2023-03-232024-09-26华为技术有限公司Data sharing method and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103473004A (en)*2013-09-292013-12-25小米科技有限责任公司 A method, device and terminal equipment for displaying messages
CN104380240A (en)*2012-06-202015-02-25三星电子株式会社Information display apparatus and method of user device
WO2017172234A1 (en)*2016-04-012017-10-05Intel CorporationTechnologies for managing immutable data on a data storage device
CN108182100A (en)*2017-12-222018-06-19维沃移动通信有限公司A kind of message display method and mobile terminal
CN109714247A (en)*2018-11-132019-05-03北京达佳互联信息技术有限公司Group chat information processing method, device, electronic equipment and storage medium
CN109873757A (en)*2019-03-292019-06-11上海连尚网络科技有限公司Message display method, electronic equipment and readable medium for multi-conference
CN110262715A (en)*2019-06-042019-09-20腾讯科技(深圳)有限公司Information processing method and device, computer readable storage medium and electronic equipment
WO2020063319A1 (en)*2018-09-272020-04-02腾讯科技(深圳)有限公司Dynamic emoticon-generating method, computer-readable storage medium and computer device
CN110971510A (en)*2019-11-292020-04-07维沃移动通信有限公司 A message processing method and electronic device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104380240A (en)*2012-06-202015-02-25三星电子株式会社Information display apparatus and method of user device
CN103473004A (en)*2013-09-292013-12-25小米科技有限责任公司 A method, device and terminal equipment for displaying messages
WO2017172234A1 (en)*2016-04-012017-10-05Intel CorporationTechnologies for managing immutable data on a data storage device
CN108182100A (en)*2017-12-222018-06-19维沃移动通信有限公司A kind of message display method and mobile terminal
WO2020063319A1 (en)*2018-09-272020-04-02腾讯科技(深圳)有限公司Dynamic emoticon-generating method, computer-readable storage medium and computer device
CN109714247A (en)*2018-11-132019-05-03北京达佳互联信息技术有限公司Group chat information processing method, device, electronic equipment and storage medium
CN109873757A (en)*2019-03-292019-06-11上海连尚网络科技有限公司Message display method, electronic equipment and readable medium for multi-conference
CN110262715A (en)*2019-06-042019-09-20腾讯科技(深圳)有限公司Information processing method and device, computer readable storage medium and electronic equipment
CN110971510A (en)*2019-11-292020-04-07维沃移动通信有限公司 A message processing method and electronic device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112286412A (en)*2020-10-222021-01-29维沃移动通信(杭州)有限公司Notification message management method and device
CN112383666A (en)*2020-11-092021-02-19维沃移动通信有限公司Content sending method and device and electronic equipment
CN112383666B (en)*2020-11-092022-05-17维沃移动通信有限公司Content sending method and device and electronic equipment
WO2022213987A1 (en)*2021-04-082022-10-13维沃移动通信有限公司Information processing method and apparatus, and electronic device and readable storage medium
CN113900571A (en)*2021-10-142022-01-07北京淇瑀信息科技有限公司Information display method and device and electronic equipment
CN113900571B (en)*2021-10-142023-11-14北京淇瑀信息科技有限公司Information display method and device and electronic equipment
WO2023143379A1 (en)*2022-01-262023-08-03维沃移动通信有限公司Information exchange method and apparatus based on scroll screen, and electronic device
CN115002056A (en)*2022-05-262022-09-02维沃移动通信有限公司Message processing method and device, electronic equipment and readable storage medium
CN115002056B (en)*2022-05-262024-05-17维沃移动通信有限公司 Message processing method, device, electronic device and readable storage medium
WO2024193642A1 (en)*2023-03-232024-09-26华为技术有限公司Data sharing method and electronic device

Also Published As

Publication numberPublication date
CN111638837B (en)2022-03-11

Similar Documents

PublicationPublication DateTitle
CN111459367B (en) A display method and electronic device
CN111638837B (en) A message processing method and electronic device
CN108563378B (en)Message management method and terminal
CN110851051A (en)Object sharing method and electronic equipment
CN109343755B (en)File processing method and terminal equipment
WO2021115278A1 (en)Group management method and electronic device
CN110891144A (en) An image display method and electronic device
CN110196667B (en)Notification message processing method and terminal
WO2020220872A1 (en)Unread message management method and terminal device
CN110888707A (en)Message sending method and electronic equipment
CN109871164B (en)Message sending method and terminal equipment
WO2020151460A1 (en)Object processing method and terminal device
CN109002243A (en)A kind of image parameter adjusting method and terminal device
CN109828731B (en) A search method and terminal device
CN109739407B (en)Information processing method and terminal equipment
CN110865745A (en)Screen capturing method and terminal equipment
CN110049185A (en)Image processing method and terminal device
CN112217713B (en)Method and device for displaying message
CN108228902B (en) A file display method and mobile terminal
CN111383175A (en)Picture acquisition method and electronic equipment
CN109976629A (en)Image display method, terminal and mobile terminal
CN111399715A (en) Interface display method and electronic device
CN110768804A (en) A group creation method and terminal device
CN110209332A (en)A kind of information processing method and terminal device
WO2020135091A1 (en)File processing method and terminal device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp