[go: up one dir, main page]

HK1248929B - Image sending method and device based on instant messaging - Google Patents

Image sending method and device based on instant messaging Download PDF

Info

Publication number
HK1248929B
HK1248929B HK18107748.0A HK18107748A HK1248929B HK 1248929 B HK1248929 B HK 1248929B HK 18107748 A HK18107748 A HK 18107748A HK 1248929 B HK1248929 B HK 1248929B
Authority
HK
Hong Kong
Prior art keywords
communication client
image
emoticon
editing
edited
Prior art date
Application number
HK18107748.0A
Other languages
Chinese (zh)
Other versions
HK1248929A1 (en
Inventor
刘佳音
Original Assignee
创新先进技术有限公司
Filing date
Publication date
Application filed by 创新先进技术有限公司 filed Critical 创新先进技术有限公司
Priority to HK18107748.0A priority Critical patent/HK1248929B/en
Publication of HK1248929A1 publication Critical patent/HK1248929A1/en
Publication of HK1248929B publication Critical patent/HK1248929B/en

Links

Description

一种基于即时通信的图片发送方法和设备A method and device for sending pictures based on instant messaging

技术领域Technical Field

本申请涉及即时通信领域,尤其涉及一种基于即时通信的图片发送方法和设备。The present application relates to the field of instant messaging, and in particular to a method and device for sending pictures based on instant messaging.

背景技术Background Art

随着互联网技术的飞速发展,出现了各种各样的通信软件,例如:QQ、微信、飞鸽等。这些通信软件能够允许至少两个用户在通信软件中使用文本数据、文件数据、语音数据、视频数据等进行通信。通信软件的出现,极大地方便了人们在日常生活中的交流和沟通。With the rapid development of internet technology, a variety of communication software has emerged, such as QQ, WeChat, and Fei Ge. These communication software allow at least two users to communicate using text, file, voice, and video data. The emergence of communication software has greatly facilitated communication in our daily lives.

为了更好地为用户提供服务,通信软件提供了各种各样的表情图片,并允许至少两个用户在通信时可以互相发送表情图片。以用户A向用户B发送表情图片为例,用户A和用户B在使用通信软件进行通信时,通信软件可以在用户A输入聊天信息时,向用户A展示表情图片库,这样,用户A在想要发送表情图片时,可以从展示的表情图片库中选择想要发送的表情图片,并确认发送,此时,通信软件对应的服务器可以将用户A选择的表情图片发送给用户B,实现用户A将表情图片发送给用户B。To better serve users, communication software provides a variety of emoticons and allows at least two users to send emoticons to each other during communication. For example, when user A sends an emoticon to user B, the software can display an emoticon library to user A while user A is typing a chat message. When user A wants to send an emoticon, they can select the one they want from the displayed library and confirm the message. At this point, the server corresponding to the communication software can send the emoticon selected by user A to user B, thus enabling user A to send the emoticon to user B.

然而,在实际应用中,用户在发送表情图片时,用户在从表情图片库中选择想要发送的表情图片后,通信软件只能按照所选表情图片的设定样式进行发送。这样,由于表情图片的发送方式比较单一,导致用户体验较差。However, in actual applications, when a user sends an emoticon, after selecting the emoticon they want to send from the emoticon library, the communication software can only send it in the style set for the selected emoticon. In this way, the user experience is poor due to the relatively simple way of sending emoticons.

发明内容Summary of the Invention

本申请实施例提供一种基于即时通信的图片发送方法和设备,用于解决现有技术中,由于表情图片的发送方式比较单一,导致用户体验较差的问题。The embodiments of the present application provide a method and device for sending pictures based on instant messaging, which are used to solve the problem in the prior art that the user experience is poor due to the relatively simple method of sending emoticon pictures.

本申请实施例提供一种基于即时通信的表情图片发送方法,包括:The present invention provides a method for sending emoticon images based on instant messaging, including:

第一通信客户端接收第二通信客户端发送的表情图片;The first communication client receives the emoticon picture sent by the second communication client;

所述第一通信客户端接收对所述表情图片的编辑指令;The first communication client receives an editing instruction for the emoticon picture;

所述第一通信客户端根据所述编辑指令,在所述第一通信客户端与所述第二通信客户端交互的会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;The first communication client edits the emoticon picture in a conversation window in which the first communication client interacts with the second communication client according to the editing instruction to obtain an edited emoticon picture;

所述第一通信客户端将所述编辑后的表情图片发送给所述第二通信客户端。The first communication client sends the edited emoticon image to the second communication client.

本申请实施例提供一种基于即时通信的表情图片发送设备,包括:The present invention provides an instant messaging-based emoticon image sending device, including:

图片接收单元,接收第二通信客户端发送的表情图片;A picture receiving unit, receiving an emoticon picture sent by the second communication client;

指令接收单元,接收对所述表情图片的编辑指令;An instruction receiving unit receives an editing instruction for the emoticon picture;

编辑单元,根据所述编辑指令,在所述第一通信客户端与所述第二通信客户端交互的会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;an editing unit, which edits the emoticon picture in a conversation window in which the first communication client and the second communication client interact according to the editing instruction to obtain an edited emoticon picture;

发送单元,将所述编辑后的表情图片发送给所述第二通信客户端。The sending unit sends the edited emoticon picture to the second communication client.

本申请实施例提供一种基于即时通信的表情图片发送装置,包括:存储器和处理器,其中:The embodiment of the present application provides an instant messaging-based emoticon picture sending device, comprising: a memory and a processor, wherein:

存储器,用于存放程序;Memory, used to store programs;

处理器,用于执行所述存储器存储的程序,并具体执行:The processor is configured to execute the program stored in the memory and specifically perform:

接收第二通信客户端发送的表情图片;Receiving an emoticon picture sent by a second communication client;

接收对所述表情图片的编辑指令;Receiving an editing instruction for the emoticon picture;

根据所述编辑指令,在第一通信客户端与所述第二通信客户端交互的会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;Editing the emoticon image in a conversation window in which the first communication client interacts with the second communication client according to the editing instruction to obtain an edited emoticon image;

将所述编辑后的表情图片发送给所述第二通信客户端。Send the edited emoticon image to the second communication client.

本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下方法:An embodiment of the present application provides a computer-readable storage medium storing one or more programs. When the one or more programs are executed by an electronic device including multiple application programs, the electronic device performs the following method:

接收第二通信客户端发送的表情图片;Receiving an emoticon picture sent by a second communication client;

接收对所述表情图片的编辑指令;Receiving an editing instruction for the emoticon picture;

根据所述编辑指令,在第一通信客户端与所述第二通信客户端交互的会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;Editing the emoticon image in a conversation window in which the first communication client interacts with the second communication client according to the editing instruction to obtain an edited emoticon image;

将所述编辑后的表情图片发送给所述第二通信客户端。Send the edited emoticon image to the second communication client.

本申请实施例还提供一种基于即时通信的表情图片发送方法,包括:The embodiment of the present application also provides a method for sending emoticon pictures based on instant messaging, including:

第一通信客户端在会话窗口接收第二通信客户端发送的表情图片,所述会话窗口为群组的会话窗口;The first communication client receives an emoticon picture sent by the second communication client in a conversation window, where the conversation window is a conversation window of the group;

所述第一通信客户端接收对所述表情图片的编辑指令;The first communication client receives an editing instruction for the emoticon picture;

所述第一通信客户端根据所述编辑指令,在所述会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;The first communication client edits the emoticon picture in the conversation window according to the editing instruction to obtain an edited emoticon picture;

所述第一通信客户端将所述编辑后的表情图片在所述会话窗口进行发送。The first communication client sends the edited emoticon image in the conversation window.

本申请实施例还提供一种基于即时通信的表情图片发送设备,包括:The embodiment of the present application further provides an instant messaging-based emoticon picture sending device, comprising:

图片接收单元,在会话窗口接收第二通信客户端发送的表情图片,所述会话窗口为群组的会话窗口;A picture receiving unit, receiving an emoticon picture sent by the second communication client in a conversation window, wherein the conversation window is a conversation window of the group;

指令接收单元,接收对所述表情图片的编辑指令;An instruction receiving unit receives an editing instruction for the emoticon picture;

编辑单元,根据所述编辑指令,在所述会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;An editing unit, which edits the emoticon picture in the conversation window according to the editing instruction to obtain an edited emoticon picture;

发送单元,将所述编辑后的表情图片在所述会话窗口进行发送。The sending unit sends the edited emoticon picture in the conversation window.

本申请实施例还提供一种基于即时通信的表情图片发送装置,包括:存储器和处理器,其中:The embodiment of the present application further provides an instant messaging-based emoticon picture sending device, comprising: a memory and a processor, wherein:

存储器,用于存放程序;Memory, used to store programs;

处理器,用于执行所述存储器存储的程序,并具体执行:The processor is configured to execute the program stored in the memory and specifically perform:

在会话窗口接收第二通信客户端发送的表情图片,所述会话窗口为群组的会话窗口;Receiving an emoticon picture sent by a second communication client in a conversation window, wherein the conversation window is a conversation window of a group;

接收对所述表情图片的编辑指令;Receiving an editing instruction for the emoticon picture;

根据所述编辑指令,在所述会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;Editing the emoticon picture in the conversation window according to the editing instruction to obtain an edited emoticon picture;

将所述编辑后的表情图片在所述会话窗口进行发送。The edited emoticon picture is sent in the conversation window.

本申请实施例还一种计算机可读存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下方法:An embodiment of the present application further provides a computer-readable storage medium storing one or more programs. When the one or more programs are executed by an electronic device including a plurality of application programs, the electronic device performs the following method:

在会话窗口接收第二通信客户端发送的表情图片,所述会话窗口为群组的会话窗口;Receiving an emoticon picture sent by a second communication client in a conversation window, wherein the conversation window is a conversation window of a group;

接收对所述表情图片的编辑指令;Receiving an editing instruction for the emoticon picture;

根据所述编辑指令,在所述会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;Editing the emoticon picture in the conversation window according to the editing instruction to obtain an edited emoticon picture;

将所述编辑后的表情图片在所述会话窗口进行发送。The edited emoticon picture is sent in the conversation window.

本申请实施例采用的上述至少一个技术方案能够达到以下有益效果:At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:

本申请实施例提供的技术方案,用户在使用第一通信客户端接收到第二通信客户端发送的表情图片后,如果想要将该表情图片发送给第二通信客户端,可以基于该表情图片向第一通信客户端发送对该表情图片的编辑指令,第一通信客户端在接收到编辑指令后,可以在与第二通信客户端交互的会话窗口中对该表情图片进行编辑,并将编辑后的表情图片发送给其他用户。这样,用户在发送表情图片时,可以基于接收到的表情图片,在会话窗口中对该表情图片进行编辑后发送,由于可以对该表情图片进行编辑后再发送,因此,相较于现有技术而言,可以使得表情图片的发送方式多样化,进而有效提升用户体验。The technical solution provided by the embodiments of the present application allows a user, after using a first communication client to receive an emoticon image sent by a second communication client, to send the emoticon image to the second communication client. The user can then send an edit instruction for the emoticon image to the first communication client based on the emoticon image. Upon receiving the edit instruction, the first communication client can edit the emoticon image in the conversation window interacting with the second communication client and send the edited emoticon image to other users. This allows the user to edit the emoticon image in the conversation window based on the received emoticon image before sending it. This allows the user to edit the emoticon image before sending it, thus diversifying the ways of sending emoticons compared to existing technologies and effectively improving the user experience.

除此之外,由于用户可以基于接收到的表情图片实现该表情图片的发送,无需下载该表情图片,因此,可以简化用户的操作,使得用户在发送表情图片时更加便捷。In addition, since the user can send the emoticon picture based on the received emoticon picture without downloading the emoticon picture, the user's operation can be simplified, making it more convenient for the user to send the emoticon picture.

本申请实施例提供一种基于即时通信的图片发送方法,包括:The present invention provides a method for sending pictures via instant messaging, including:

第一通信客户端确定目标图片;The first communication client determines a target image;

所述第一通信客户端接收对所述目标图片的编辑指令;The first communication client receives an editing instruction for the target image;

所述第一通信客户端根据所述编辑指令在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为所述第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;The first communication client edits the target image in a conversation window according to the editing instruction to obtain an edited image, wherein the conversation window is a conversation window in which the first communication client interacts with another communication client, or a conversation window in which the first communication client interacts with multiple other communication clients;

所述第一通信客户端将所述编辑后的图片在所述会话窗口进行发送。The first communication client sends the edited picture in the conversation window.

本申请实施例提供一种基于即时通信的图片发送设备,包括:The embodiment of the present application provides a device for sending pictures based on instant messaging, including:

确定单元,确定目标图片;Determine the unit and the target image;

接收单元,接收对所述目标图片的编辑指令;A receiving unit, receiving an editing instruction for the target image;

编辑单元,根据所述编辑指令在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;an editing unit, configured to edit the target image in a conversation window according to the editing instruction to obtain an edited image, wherein the conversation window is a conversation window for interaction between the first communication client and another communication client, or a conversation window for interaction between the first communication client and multiple other communication clients;

发送单元,将所述编辑后的图片在所述会话窗口进行发送。The sending unit sends the edited picture in the conversation window.

本申请实施例提供一种基于即时通信的图片发送装置,包括:存储器和处理器,其中:The embodiment of the present application provides a device for sending pictures based on instant messaging, including: a memory and a processor, wherein:

存储器,用于存放程序;Memory, used to store programs;

处理器,用于执行所述存储器存储的程序,并具体执行:The processor is configured to execute the program stored in the memory and specifically perform:

确定目标图片;Determine the target image;

接收对所述目标图片的编辑指令;receiving an editing instruction for the target image;

根据所述编辑指令在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;Editing the target image in a conversation window according to the editing instruction to obtain an edited image, wherein the conversation window is a conversation window in which the first communication client interacts with another communication client, or a conversation window in which the first communication client interacts with multiple other communication clients;

将所述编辑后的图片在所述会话窗口进行发送。The edited picture is sent in the conversation window.

本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下方法:An embodiment of the present application provides a computer-readable storage medium storing one or more programs. When the one or more programs are executed by an electronic device including multiple application programs, the electronic device performs the following method:

确定目标图片;Determine the target image;

接收对所述目标图片的编辑指令;receiving an editing instruction for the target image;

根据所述编辑指令在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;Editing the target image in a conversation window according to the editing instruction to obtain an edited image, wherein the conversation window is a conversation window in which the first communication client interacts with another communication client, or a conversation window in which the first communication client interacts with multiple other communication clients;

将所述编辑后的图片在所述会话窗口进行发送。The edited picture is sent in the conversation window.

本申请实施例还提供一种基于即时通信的图片发送方法,包括:The present application also provides a method for sending pictures based on instant messaging, including:

第一通信客户端确定目标图片;The first communication client determines a target image;

所述第一通信客户端根据使用所述第一通信客户端的用户的属性信息,在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为所述第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;The first communication client edits the target image in a conversation window according to attribute information of a user using the first communication client to obtain an edited image, wherein the conversation window is a conversation window in which the first communication client interacts with another communication client, or a conversation window in which the first communication client interacts with multiple other communication clients;

所述第一通信客户端将所述编辑后的图片在所述会话窗口进行发送。The first communication client sends the edited picture in the conversation window.

本申请实施例还提供一种基于即时通信的图片发送设备,包括:The embodiment of the present application further provides a device for sending pictures based on instant messaging, including:

确定单元,确定目标图片;Determine the unit and the target image;

编辑单元,根据使用第一通信客户端的用户的属性信息,在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为所述第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;an editing unit, configured to edit the target image in a conversation window according to attribute information of a user using the first communication client to obtain an edited image, wherein the conversation window is a conversation window in which the first communication client interacts with another communication client, or a conversation window in which the first communication client interacts with multiple other communication clients;

发送单元,将所述编辑后的图片在所述会话窗口进行发送。The sending unit sends the edited picture in the conversation window.

本申请实施例还提供一种基于即时通信的图片发送装置,包括:存储器和处理器,其中:The embodiment of the present application further provides a device for sending pictures based on instant messaging, comprising: a memory and a processor, wherein:

存储器,用于存放程序;Memory, used to store programs;

处理器,用于执行所述存储器存储的程序,并具体执行:The processor is configured to execute the program stored in the memory and specifically perform:

确定目标图片;Determine the target image;

根据使用第一通信客户端的用户的属性信息,在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为所述第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;Editing the target image in a conversation window according to attribute information of a user using the first communication client to obtain an edited image, wherein the conversation window is a conversation window in which the first communication client interacts with another communication client, or a conversation window in which the first communication client interacts with multiple other communication clients;

将所述编辑后的图片在所述会话窗口进行发送。The edited picture is sent in the conversation window.

本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下方法:An embodiment of the present application further provides a computer-readable storage medium storing one or more programs. When the one or more programs are executed by an electronic device including a plurality of application programs, the electronic device performs the following method:

确定目标图片;Determine the target image;

根据使用第一通信客户端的用户的属性信息,在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为所述第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;Editing the target image in a conversation window according to attribute information of a user using the first communication client to obtain an edited image, wherein the conversation window is a conversation window in which the first communication client interacts with another communication client, or a conversation window in which the first communication client interacts with multiple other communication clients;

将所述编辑后的图片在所述会话窗口进行发送。The edited picture is sent in the conversation window.

本申请实施例提供的技术方案,用户在使用第一通信客户端发送目标图片时,可以向第一通信客户端发送对目标图片的编辑指令,第一通信客户端可以根据编辑指令,在与其他一个通信客户端交互的会话窗口中或与其他多个通信客户端交互的会话窗口中对目标图片进行编辑,在得到编辑后的图片后,可以将编辑后的图片在该会话窗口进行发送。这样,用户在使用本申请实施例提供的图片发送方法发送表情图片时,由于用户可以在会话窗口中对需要发送的表情图片进行编辑,并将编辑后的表情图片发送给其他用户,因此,相较于现有技术而言,可以使得表情图片的发送方式多样化,进而有效提升用户体验。The technical solution provided by the embodiment of the present application allows a user to send an editing instruction for the target image to the first communication client when using the first communication client to send the target image. The first communication client can then edit the target image in accordance with the editing instruction in a conversation window interacting with another communication client or a conversation window interacting with multiple other communication clients. After obtaining the edited image, the edited image can be sent in the conversation window. In this way, when a user uses the picture sending method provided by the embodiment of the present application to send an emoticon image, since the user can edit the emoticon image to be sent in the conversation window and send the edited emoticon image to other users, compared to the existing technology, the sending method of the emoticon image can be diversified, thereby effectively improving the user experience.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

图1为现有技术中发送表情图片的示意图;FIG1 is a schematic diagram of sending emoticon pictures in the prior art;

图2为本申请实施例提供的一种基于即时通信的表情图片发送方法的流程示意图;FIG2 is a flow chart of a method for sending emoticon pictures based on instant messaging provided by an embodiment of the present application;

图3为本申请实施例提供的一种基于即时通信的表情图片发送方法的示意图;FIG3 is a schematic diagram of a method for sending emoticon pictures based on instant messaging provided in an embodiment of the present application;

图4为本申请实施例提供的一种基于即时通信的表情图片发送方法的示意图;FIG4 is a schematic diagram of a method for sending emoticon pictures based on instant messaging provided in an embodiment of the present application;

图5为本申请实施例提供的一种基于即时通信的表情图片发送方法的示意图;FIG5 is a schematic diagram of a method for sending emoticon pictures based on instant messaging provided in an embodiment of the present application;

图6为本申请实施例提供的一种基于即时通信的表情图片发送方法的示意图;FIG6 is a schematic diagram of a method for sending emoticon pictures based on instant messaging provided in an embodiment of the present application;

图7为本申请实施例提供的一种基于即时通信的图片发送方法的流程示意图;FIG7 is a flow chart of a method for sending pictures based on instant messaging provided in an embodiment of the present application;

图8为本申请实施例提供的另一种基于即时通信的图片发送方法的流程示意图;FIG8 is a flow chart of another method for sending pictures based on instant messaging provided in an embodiment of the present application;

图9为本申请实施例提供的又一种基于即时通信的图片发送方法的流程示意图;FIG9 is a flow chart of another method for sending pictures based on instant messaging provided in an embodiment of the present application;

图10为本申请实施例提供的一种电子设备的结构示意图;FIG10 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

图11为本申请实施例提供的一种基于即时通信的表情图片发送设备的结构示意图;FIG11 is a schematic diagram of the structure of an instant messaging-based emoticon picture sending device provided in an embodiment of the present application;

图12为本申请实施例提供的一种基于即时通信的表情图片发送装置的结构示意图;FIG12 is a schematic structural diagram of an instant messaging-based emoticon picture sending device provided in an embodiment of the present application;

图13为本申请实施例提供的一种电子设备的结构示意图;FIG13 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

图14为本申请实施例提供的一种基于即时通信的表情图片发送设备的结构示意图;FIG14 is a schematic diagram of the structure of an instant messaging-based emoticon picture sending device provided in an embodiment of the present application;

图15为本申请实施例提供的一种基于即时通信的表情图片发送装置的结构示意图;FIG15 is a schematic diagram of the structure of an instant messaging-based emoticon picture sending device provided in an embodiment of the present application;

图16为本申请实施例提供的一种电子设备的结构示意图;FIG16 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

图17为本申请实施例提供的一种基于即时通信的图片发送设备的结构示意图;FIG17 is a schematic structural diagram of an instant messaging-based picture sending device provided in an embodiment of the present application;

图18为本申请实施例提供的一种基于即时通信的图片发送装置的结构示意图;FIG18 is a schematic structural diagram of an instant messaging-based picture sending device according to an embodiment of the present application;

图19为本申请实施例提供的一种电子设备的结构示意图;FIG19 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

图20为本申请实施例提供的一种基于即时通信的图片发送设备的结构示意图;FIG20 is a schematic structural diagram of an instant messaging-based picture sending device provided in an embodiment of the present application;

图21为本申请实施例提供的一种基于即时通信的图片发送装置的结构示意图。FIG21 is a schematic structural diagram of an instant messaging-based picture sending device provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

表情图片可以是能够表达用户表情或心情的图片。现有技术中,为了更好地为用户提供服务,通信软件为用户提供了大量的表情图片,并允许用户在使用通信软件与其他用户进行通信时,可以发送通信软件提供的表情图片。具体地,用户在使用通信软件向其他用户发送表情图片时,需要将待发送的表情图片进行下载,并在下载完成后,可以选择想要发送的表情图片,这样,通信软件可以将用户选择的表情图片按照该表情图片的设定样式进行发送。Emoticons can be images that express a user's expression or mood. In the prior art, to better serve users, communication software provides users with a large number of emoticons and allows users to send these emoticons when communicating with other users using the communication software. Specifically, when using the communication software to send emoticons to other users, users need to download the emoticons to be sent. After the download is complete, they can select the emoticons they want to send. The communication software then sends the selected emoticons according to the preset style of the emoticons.

如图1所示,为现有技术中发送表情图片的示意图。在图1中,用户A向用户B发送图片a后,用户B可以将图片a发送给用户A,之后,用户A向用户B发送图片b后,用户B也可以将图片b发送给用户A。其中,如图1所示,用户A以及用户B在发送图片a以及图片b时,均按照图片a以及图片b的设定样式进行发送。Figure 1 shows a schematic diagram of sending emoticon images in the prior art. In Figure 1, after user A sends picture a to user B, user B can then send picture a to user A. Later, after user A sends picture b to user B, user B can also send picture b to user A. As shown in Figure 1, when users A and B send pictures a and b, they both follow the specified styles of pictures a and b.

然而,在实际应用中,对于用户B而言,用户B在发送图片a时,更希望图片a中“狗头”的眼睛观看的方向对应用户A的头像,这样,图片a中的“狗头”所表达的“鄙视”的对象(即用户A)与“狗头”的眼睛看到的方向对应的用户A一致。同理,用户B同样希望发送的图片b中人脸的眼睛观看的方向对应用户A的头像。显然,现有的图片发送方法不能将图片a以及图片b按照上述方式进行发送。However, in practice, when user B sends picture a, they prefer that the direction the eyes of the "dog head" in picture a are looking corresponds to the profile picture of user A. This way, the object of "contempt" expressed by the "dog head" in picture a (i.e., user A) and the direction the eyes of the "dog head" are looking correspond to user A. Similarly, user B also wants the eyes of the face in picture b to be looking in the same direction as the profile picture of user A. Obviously, existing picture sending methods cannot send pictures a and b in this manner.

为了实现将图1中的图片a以及图片b按照上述方式进行发送,本申请实施例提供一种基于即时通信的图片发送方法和设备,该方法包括:第一通信客户端接收第二通信客户端发送的表情图片;所述第一通信客户端接收对所述表情图片的编辑指令;所述第一通信客户端根据所述编辑指令,在所述第一通信客户端与所述第二通信客户端交互的会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;所述第一通信客户端将所述编辑后的表情图片发送给所述第二通信客户端。In order to achieve the sending of picture a and picture b in Figure 1 in the above manner, an embodiment of the present application provides a picture sending method and device based on instant messaging, the method including: a first communication client receives an emoticon picture sent by a second communication client; the first communication client receives an editing instruction for the emoticon picture; the first communication client edits the emoticon picture in a conversation window in which the first communication client and the second communication client interact according to the editing instruction to obtain an edited emoticon picture; the first communication client sends the edited emoticon picture to the second communication client.

这样,用户基于接收到的表情图片,可以对该表情图片进行编辑,并将编辑后的表情图片进行发送,因此,相较于现有技术而言,可以使得表情图片的发送方式多样化,进而有效提升用户体验。In this way, the user can edit the emoticon picture based on the received emoticon picture and send the edited emoticon picture. Therefore, compared with the existing technology, the sending method of emoticon pictures can be diversified, thereby effectively improving the user experience.

下面结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following is a clear and complete description of the technical solution of this application in conjunction with the specific embodiments of this application and the corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.

本申请实施例提供的基于即时通信的图片发送方法可以由具有即时通信功能的通信软件实现。The instant messaging-based picture sending method provided in the embodiment of the present application can be implemented by communication software with instant messaging function.

以下结合附图,详细说明本申请各实施例提供的技术方案。The following describes in detail the technical solutions provided by various embodiments of the present application in conjunction with the accompanying drawings.

实施例1Example 1

图2为本申请实施例提供的一种基于即时通信的表情图片发送方法的流程示意图。所述方法如下所述。本申请实施例的执行主体可以是第一通信客户端。FIG2 is a flow chart of a method for sending emoticons based on instant messaging provided by an embodiment of the present application. The method is described as follows. The execution subject of the embodiment of the present application may be a first communication client.

步骤201:第一通信客户端接收第二通信客户端发送的表情图片。Step 201: A first communication client receives an emoticon picture sent by a second communication client.

在步骤201中,使用所述第一通信客户端的用户与使用所述第二通信客户端的用户在通过通信软件进行通信的过程中,可以互相发送表情图片。In step 201, a user using the first communication client and a user using the second communication client can send emoticons to each other during communication via communication software.

本申请实施例中,在所述第二通信客户端向所述第一通信客户端发送表情图片后,所述第一通信客户端可以接收所述第二通信客户端发送的表情图片,并将该表情图片显示在所述第一通信客户端与所述第二通信客户端交互的会话窗口中。In an embodiment of the present application, after the second communication client sends an emoticon picture to the first communication client, the first communication client can receive the emoticon picture sent by the second communication client and display the emoticon picture in the conversation window of the first communication client and the second communication client.

需要说明的是,本申请实施例中,所述第一通信客户端接收所述第二通信客户端发送的表情图片的应用场景至少可以包含两种:第一种,所述第一通信客户端与所述第二通信客户端进行一对一交互;第二种,所述第一通信客户端与所述第二通信客户端属于同一群组,所述第一通信客户端与所述第二通信客户端在所述群组内进行交互。It should be noted that, in an embodiment of the present application, the application scenarios in which the first communication client receives emoticon pictures sent by the second communication client can include at least two: the first is that the first communication client and the second communication client interact one-to-one; the second is that the first communication client and the second communication client belong to the same group, and the first communication client and the second communication client interact within the group.

若所述第一通信客户端与所述第二通信客户端进行一对一交互,则,所述会话窗口可以是所述第一通信客户端与所述第二通信客户端一对一交互的会话窗口;若所述第一通信客户端与所述第二通信客户端在所述群组内进行交互,则,所述会话窗口可以是所述群组的会话窗口。If the first communication client and the second communication client interact one-to-one, the session window may be a session window for the one-to-one interaction between the first communication client and the second communication client; if the first communication client and the second communication client interact within the group, the session window may be a session window for the group.

步骤202:所述第一通信客户端接收对所述表情图片的编辑指令。Step 202: The first communication client receives an instruction to edit the emoticon image.

在步骤202中,所述第一通信客户端在接收到所述表情图片并显示在所述会话窗口中后,可以接收使用所述第一通信客户端的用户对所述表情图片的编辑指令,以便于所述第一通信客户端对所述表情图片进行编辑。In step 202, after receiving the emoticon picture and displaying it in the conversation window, the first communication client may receive an editing instruction for the emoticon picture from a user using the first communication client, so that the first communication client can edit the emoticon picture.

本申请实施例中,所述编辑指令可以用于对所述表情图片进行编辑,具体地,可以是改变所述表情图片的设定样式的编辑指令。In an embodiment of the present application, the editing instruction may be used to edit the emoticon image. Specifically, it may be an editing instruction for changing a set style of the emoticon image.

具体地,所述第一通信客户端接收对所述表情图片的编辑指令,包括:Specifically, the first communication client receives an instruction to edit the emoticon image, including:

所述第一通信客户端在监测到用户对所述表情图片的设定操作时,在所述会话窗口显示针对所述表情图片进行编辑的编辑选项,所述设定操作包括:单击操作、双击操作或长按操作;When the first communication client detects a user setting operation on the emoticon picture, the first communication client displays an editing option for editing the emoticon picture in the conversation window, where the setting operation includes: a single-click operation, a double-click operation, or a long-press operation;

所述第一通信客户端接收对所述表情图片的编辑指令,所述编辑指令由所述用户对所述编辑选项进行选择得到。The first communication client receives an editing instruction for the emoticon picture, where the editing instruction is obtained by the user selecting the editing option.

也就是说,所述第一通信客户端可以实时监测使用所述第一通信客户端的用户是否对所述表情图片进行单击操作、双击操作或长按操作等设定操作,若监测到该用户对所述表情图片的所述设定操作,则可以将对所述表情图片的编辑选项显示在所述会话窗口中。That is to say, the first communication client can monitor in real time whether the user using the first communication client performs a setting operation such as a single-click operation, a double-click operation, or a long press operation on the emoticon image. If the setting operation of the user on the emoticon image is detected, the editing options for the emoticon image can be displayed in the conversation window.

其中,所述编辑选项可以以浮层的方式显示在所述会话窗口中,也可以以下拉菜单的方式显示在所述会话窗口中,不做具体限定;所述编辑选项中可以包含对所述表情图片进行编辑的选项,例如,该选项可以是对所述表情图片进行反向编辑,可以是对所述表情图片进行模糊编辑,可以是对所述表情图片进行变形编辑,还可以是对所述表情图片进行旋转编辑,等。Among them, the editing options can be displayed in the conversation window in a floating layer manner, or in the conversation window in the form of a drop-down menu, without specific limitation; the editing options can include options for editing the emoticon picture, for example, the option can be to reverse edit the emoticon picture, to blur the emoticon picture, to deform the emoticon picture, to rotate the emoticon picture, etc.

这样,使用所述第一通信客户端的用户在查看到所述编辑选项后,可以根据自己的需要选择其中一个选项。In this way, after viewing the editing options, the user using the first communication client can select one of the options according to his or her needs.

在用户选择所述编辑选项中的选项后,可以视为该用户向所述第一通信客户端发送对所述表情图片的编辑指令,此时,所述第一通信客户端可以接收所述编辑指令。After the user selects an option in the editing options, it can be regarded that the user sends an editing instruction for the emoticon picture to the first communication client. At this time, the first communication client can receive the editing instruction.

步骤203:所述第一通信客户端根据所述编辑指令,在所述第一通信客户端与所述第二通信客户端交互的会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片。Step 203: The first communication client edits the emoticon image in the conversation window where the first communication client interacts with the second communication client according to the editing instruction to obtain an edited emoticon image.

在步骤203中,所述第一通信客户端在接收到所述编辑指令后,可以根据所述编辑指令,在所述会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片。In step 203, after receiving the editing instruction, the first communication client may edit the emoticon picture in the conversation window according to the editing instruction to obtain an edited emoticon picture.

例如,如果所述编辑指令为对所述表情图片的反向编辑指令,那么,所述第一通信客户端可以根据所述编辑指令,对所述表情图片进行反向编辑,并得到编辑后的表情图片,其中,所述编辑后的表情图片与所述表情图片反向。For example, if the editing instruction is a reverse editing instruction for the emoticon picture, then the first communication client can reverse edit the emoticon picture according to the editing instruction and obtain an edited emoticon picture, wherein the edited emoticon picture is the reverse of the emoticon picture.

步骤204:所述第一通信客户端将所述编辑后的表情图片发送给所述第二通信客户端。Step 204: The first communication client sends the edited emoticon image to the second communication client.

在步骤204中,所述第一通信客户端在得到所述编辑后的表情图片后,可以将所述编辑后的表情图片发送给所述第二通信客户端,实现与第二通信客户端之间通过图片进行通信。In step 204, after obtaining the edited emoticon picture, the first communication client may send the edited emoticon picture to the second communication client, thereby realizing communication with the second communication client through pictures.

本申请实施例中,基于上述步骤201中记载的所述会话窗口,若所述会话窗口为所述第一通信客户端与所述第二通信客户端一对一交互的会话窗口,那么,所述第一通信客户端可以仅将所述编辑后的表情图片发送给所述第二通信客户端;若所述会话窗口为所述群组的会话窗口,那么,所述第一通信客户端可以在将所述编辑后的表情图片发送给所述第二通信客户端的同时,也将所述编辑后的表情图片发送给所述群组内的其他通信客户端。In an embodiment of the present application, based on the conversation window recorded in the above step 201, if the conversation window is a conversation window for one-to-one interaction between the first communication client and the second communication client, then the first communication client can only send the edited emoticon picture to the second communication client; if the conversation window is a conversation window of the group, then the first communication client can send the edited emoticon picture to other communication clients in the group at the same time as sending the edited emoticon picture to the second communication client.

需要说明的是,所述第一通信客户端在发送所述编辑后的表情图片时,可以直接将编辑后的表情图片进行发送,无需其他多余操作,例如,所述第一通信客户端在得到反向编辑后的表情图片后,无需用户下载编辑之前的所述表情图片,也无需用户确认发送所述编辑后的表情图片,就可以直接将该反向编辑后的表情图片进行发送,并显示在所述会话窗口中。这样,可以简化用户的操作,较为便捷地将编辑后的表情图片进行发送。It should be noted that when the first communication client sends the edited emoticon image, it can directly send the edited emoticon image without any other unnecessary operations. For example, after obtaining the reverse-edited emoticon image, the first communication client can directly send the reverse-edited emoticon image and display it in the conversation window without the user having to download the pre-edited emoticon image or confirm sending the edited emoticon image. This simplifies the user's operations and allows the edited emoticon image to be sent more conveniently.

在本申请提供的另一实施例中,所述第一通信客户端在得到所述编辑后的表情图片后,可以将所述编辑后的表情图片显示在所述会话窗口中,以便于使用所述第一通信客户端的用户预览所述编辑后的表情图片,并基于预览的所述编辑后的表情图片,确定是否发送所述编辑后的表情图片。In another embodiment provided by the present application, after obtaining the edited emoticon picture, the first communication client can display the edited emoticon picture in the conversation window, so that the user using the first communication client can preview the edited emoticon picture and determine whether to send the edited emoticon picture based on the previewed edited emoticon picture.

这样,如果所述编辑后的表情图片满足用户的需求,则,所述用户可以确定发送所述编辑后的表情图片,此时,所述第一通信客户端可以将所述编辑后的表情图片发送给所述第二通信客户端;如果所述编辑后的表情图片不满足用户的需求,则,所述用户可以确定不发送所述编辑后的表情图片,此时,所述第一通信客户端可以取消将所述编辑后的表情图片发送给所述第二通信客户端。这样,由用户确定是否发送所述编辑后的表情图片,可以进一步增加用户的用户体验。In this way, if the edited emoticon image meets the user's needs, the user can decide to send the edited emoticon image, and the first communication client can send the edited emoticon image to the second communication client. If the edited emoticon image does not meet the user's needs, the user can decide not to send the edited emoticon image, and the first communication client can cancel sending the edited emoticon image to the second communication client. In this way, the user can decide whether to send the edited emoticon image, which can further improve the user's user experience.

除此之外,所述第一通信客户端在将所述编辑后的表情图片显示在所述会话窗口中时,还可以允许使用所述第一通信客户端的用户对所述编辑后的表情图片的属性进行设置,例如,对所述编辑后的表情图片的颜色、大小、编辑程度等进行设置。In addition, when the first communication client displays the edited emoticon picture in the conversation window, it can also allow the user using the first communication client to set the properties of the edited emoticon picture, for example, the color, size, editing degree, etc. of the edited emoticon picture.

在用户对所述编辑后的表情图片的属性进行设置后,用户可以确定是否发送所述设置后的表情图片,所述第一通信客户端可以根据用户的选择确定是否发送所述设置后的表情图片。After the user sets the attributes of the edited emoticon picture, the user can determine whether to send the set emoticon picture, and the first communication client can determine whether to send the set emoticon picture according to the user's selection.

这样,由于用户可以对所述编辑后的表情图片进行设置,以便于所述第一通信客户端可以将设置后的表情图片进行发送,使得表情图片的发送方式更加多样化,进一步提升用户体验。In this way, since the user can set the edited emoticon picture, so that the first communication client can send the set emoticon picture, the sending method of the emoticon picture is more diversified, further improving the user experience.

在实际应用中,可以根据实际情况确定是否允许用户预览所述编辑后的表情图片,本申请实施例不做具体限定。若允许用户预览所述编辑后的表情图片,还可以根据实际情况确定是否允许用户对所述编辑后的表情图片的属性进行设置,本申请实施例也不做具体限定。In actual applications, whether to allow the user to preview the edited emoticon image can be determined based on actual conditions, and this embodiment of the application does not make any specific restrictions. If the user is allowed to preview the edited emoticon image, it can also be determined based on actual conditions whether to allow the user to set the attributes of the edited emoticon image, and this embodiment of the application does not make any specific restrictions.

需要说明的是,在实际应用场景中,所述编辑后的表情图片可以是对接收到的所述表情图片的一种回应,即使用所述第一通信客户端的用户在查看到表情图片后,可以使用所述编辑的后表情图片对使用所述第二通信客户端的用户进行回应。这样,基于本申请实施例提供的技术方案,可以通过表情图片增加用户之间的互动,提高趣味性。It should be noted that in actual application scenarios, the edited emoticon image can be a response to the received emoticon image. That is, after viewing the emoticon image, the user using the first communication client can use the edited emoticon image to respond to the user using the second communication client. In this way, based on the technical solution provided by the embodiment of the application, it is possible to increase interaction between users through emoticons and improve fun.

本申请实施例提供的技术方案,用户在发送表情图片时,可以基于接收到的表情图片,在会话窗口中对表情图片进行编辑后再发送,这样,由于用户可以对该表情图片进行编辑后再发送,因此,相较于现有技术而言,可以使得表情图片的发送方式多样化,进而有效提升用户体验。According to the technical solution provided in the embodiment of the present application, when a user sends an emoticon picture, he can edit the emoticon picture in the conversation window based on the received emoticon picture before sending it. In this way, since the user can edit the emoticon picture before sending it, compared with the existing technology, the sending method of the emoticon picture can be diversified, thereby effectively improving the user experience.

除此之外,由于用户可以基于接收到的表情图片,实现该表情图片的发送,无需下载该表情图片,因此,可以简化用户的操作,使得用户在发送表情图片时更加便捷。In addition, since the user can send the emoticon picture based on the received emoticon picture without downloading the emoticon picture, the user's operation can be simplified, making it more convenient for the user to send the emoticon picture.

实施例2Example 2

图3至图6为本申请实施例提供的一种基于即时通信的表情图片发送方法的示意图。其中,图3至图6中所记载的图片发送方法的示意图,可以通过上述图2所示的实施例所记载的图片发送方法实现。Figures 3 to 6 are schematic diagrams of a method for sending emoticon pictures based on instant messaging provided in an embodiment of the present application. The schematic diagrams of the picture sending method described in Figures 3 to 6 can be implemented by the picture sending method described in the embodiment shown in Figure 2 above.

本申请实施例的应用场景可以是:用户A向用户B发送表情图片,用户B基于接收到的表情图片向用户A发送表情图片。具体地:The application scenario of the embodiment of the present application may be: user A sends an emoticon picture to user B, and user B sends an emoticon picture to user A based on the received emoticon picture. Specifically:

第一步:用户B接收用户A发送的表情图片a。Step 1: User B receives emoticon image a sent by user A.

如图3所示,用户A可以通过通信软件向用户B发送表情图片a,用户B可以通过所使用的通信软件客户端接收表情图片a,并将表情图片a在用户B的会话窗口进行显示。As shown in FIG3 , user A can send emoticon picture a to user B through the communication software. User B can receive emoticon picture a through the communication software client used and display emoticon picture a in the conversation window of user B.

第二步:用户B在想要将表情图片发送给用户A时,可以对接收到的表情图片a进行设定操作。Step 2: When user B wants to send an emoticon picture to user A, he can perform setting operations on the received emoticon picture a.

如图3所示,用户可以长按表情图片a。此时,用户B使用的通信软件客户端可以根据用户B的长按操作,在会话窗口中显示对表情图片a的编辑选项,显示的编辑选项如图4所示。As shown in Figure 3, the user can long press emoticon picture a. At this time, the communication software client used by user B can display editing options for emoticon picture a in the conversation window based on the long press operation of user B. The displayed editing options are shown in Figure 4.

图4中,对表情图片a的编辑选项可以以浮层的方式显示,该编辑选项可以包括:反向、模糊和变形。此时,用户B可以根据自己的需要选择其中一个选项。例如,如果用户B想要发送与图片表情a反向的表情图片,那么,用户B可以选择“反向”的编辑选项。In Figure 4, editing options for emoticon image a are displayed in a floating overlay. These editing options include: Reverse, Blur, and Transform. User B can then select one of these options based on their needs. For example, if User B wants to send an emoticon image that is the reverse of emoticon image a, User B can select the "Reverse" editing option.

第三步:用户B使用的通信软件客户端根据用户B选择的编辑选项,对表情图片a进行编辑,并将编辑后的表情图片发送给用户A使用的通信软件客户端。Step 3: The communication software client used by user B edits the emoticon image a according to the editing option selected by user B, and sends the edited emoticon image to the communication software client used by user A.

用户B在选择对表情图片a进行“反向”编辑后,用户B使用的通信软件客户端可以根据用户B的选择,对表情图片a进行反向编辑,得到表情图片a1,其中,表情图片a1与表情图片a反向。After user B chooses to "reverse" edit emoticon picture a, the communication software client used by user B can reverse edit emoticon picture a according to user B's choice to obtain emoticon picture a1, where emoticon picture a1 is the reverse of emoticon picture a.

用户B使用的通信软件客户端在得到表情图片a1后,可以将表情图片a1直接发送给用户A使用的通信软件客户端,并显示在用户B的会话窗口中,如图5所示。After obtaining the emoticon image a1, the communication software client used by user B can directly send the emoticon image a1 to the communication software client used by user A, and display it in the conversation window of user B, as shown in FIG5 .

考虑到实际应用场景,用户B发送的表情图片a1中“狗头”的眼睛观看到的方向对应用户A的头像,这样,由于表情图片a1中的“狗头”所表达的“鄙视”的对象(即用户A)与“狗头”的眼睛看到的方向对应的用户A一致,因此,可以通过表情图片a1较为形象地表达用户B“鄙视”用户A,以对用户A做出回应。Taking into account the actual application scenario, the direction in which the eyes of the "dog head" in the emoticon picture a1 sent by user B are looking corresponds to the avatar of user A. In this way, since the object of "contempt" expressed by the "dog head" in the emoticon picture a1 (that is, user A) is consistent with the user A corresponding to the direction seen by the eyes of the "dog head", the emoticon picture a1 can more vividly express that user B "disdains" user A in order to respond to user A.

除此之外,若用户B在上述记载的第二步中,选择对表情图片的“模糊”编辑选项,那么,用户使用的通信软件客户端可以根据用户B的选择,对表情图片a进行模糊编辑,得到表情图片a2,其中,表情图片a2是表情图片a的模糊图片(表情图片a2的模糊程度可以是默认的模糊程度)。In addition, if user B selects the "blur" editing option for the emoticon picture in the second step of the above record, then the communication software client used by the user can blur the emoticon picture a according to the selection of user B to obtain emoticon picture a2, where emoticon picture a2 is a blurred picture of emoticon picture a (the blurriness of emoticon picture a2 can be the default blurriness).

用户B使用的通信软件客户端在得到表情图片a2后,可以将表情图片a2直接发送给用户A使用的通信软件客户端,并显示在用户B的会话窗口中,如图6所示。考虑到实际应用场景,用户B可以通过表情图片a2更为有效地提醒用户A放下手机。After receiving emoticon image a2, user B's communication software client can directly send emoticon image a2 to user A's communication software client, and display it in user B's conversation window, as shown in Figure 6. Considering the actual application scenario, user B can use emoticon image a2 to more effectively remind user A to put down the phone.

从上述图3-图6可以看出,用户B在接收到用户A发送的表情图片后,如果想要将接收到的表情图片发送给用户A,那么,用户B可以无需下载该表情图片,就可以实现表情图片的发送,相较于现有技术中用户需要下载表情图片才可以发送而言,可以简化用户B的操作。除此之外,用户B还可以根据自己的需求对表情图片进行编辑,并将编辑后的表情图片发送给用户A,使得表情图片的发送方式可以多样化,有效提升用户B的用户体验。As shown in Figures 3-6 above, after user B receives an emoticon from user A, if they want to send it to user A, user B can do so without downloading the emoticon. This simplifies the process compared to the prior art where users must download the emoticon before sending it. Furthermore, user B can edit the emoticon according to their needs and send the edited emoticon to user A, diversifying the ways to send emoticons and effectively improving user B's user experience.

需要说明的是,在现有技术中,以用户A与用户B使用通信软件进行通信为例,用户A在接收到用户B发送的表情图片后,可以通过长按该表情图片的方式弹出快捷菜单,在弹出的菜单选项中可以选择对该表情图片进行保存、删除、转发等操作。此时,如果用户A想要将该表情图片发送给用户B,那么,可以通过转发的方式进行发送。It should be noted that in the prior art, taking user A and user B communicating using communication software as an example, after receiving an emoticon picture sent by user B, user A can long-press the emoticon picture to pop up a shortcut menu, in which the user can choose to save, delete, forward, etc. In this case, if user A wants to send the emoticon picture to user B, he can send it by forwarding it.

但是,用户A在通过转发的方式将该表情图片发送给用户B时,如果用户A未下载该表情图片,那么,用户A需要下载该表情图片后才能发送给用户B,导致用户A的操作步骤比较繁琐;如果用户A已下载该表情图片,那么用户A在发送该表情图片时只能按照该表情图片的设定样式进行发送,在用户需要以其他样式发送该表情图片时,显然现有技术不能满足用户A的需求,导致用户体验较差。However, when user A sends the emoticon picture to user B by forwarding, if user A has not downloaded the emoticon picture, then user A needs to download the emoticon picture before sending it to user B, which makes the operation steps of user A more cumbersome; if user A has downloaded the emoticon picture, then user A can only send the emoticon picture according to the set style of the emoticon picture. When the user needs to send the emoticon picture in other styles, it is obvious that the existing technology cannot meet the needs of user A, resulting in a poor user experience.

而本申请实施例中,用户A在接收到用户B发送的表情图片时,可以通过长按该表情图片等操作弹出编辑选项,基于编辑选项可以对该表情图片进行编辑,在得到编辑后的表情图片后,可以直接将其发送给用户B,无需其他多余的操作,这样,不仅可以不用下载该表情图片,简化用户的操作,还可以使得该表情图片的发送方式多样化。In an embodiment of the present application, when user A receives an emoticon picture sent by user B, he can long press the emoticon picture to pop up an editing option, and can edit the emoticon picture based on the editing option. After obtaining the edited emoticon picture, he can directly send it to user B without any other unnecessary operations. In this way, not only is there no need to download the emoticon picture, simplifying the user's operation, but also the sending method of the emoticon picture can be diversified.

实施例3Example 3

图7为本申请实施例提供的一种基于即时通信的图片发送方法的流程示意图。所述方法如下所述。本申请实施例的执行主体可以是第一通信客户端。FIG7 is a flow chart of a method for sending pictures based on instant messaging provided by an embodiment of the present application. The method is described as follows. The execution subject of the embodiment of the present application may be a first communication client.

需要说明的是,本申请实施例提供的基于即时通信的图片发送方法与图2和图3至图6所记载的实施例中所述的图片发送方法相比,不同之处在于具体应用场景不同,其中,本申请实施例的应用场景包括图2和图3至图6所记载的实施例的应用场景。It should be noted that the instant messaging-based picture sending method provided in the embodiment of the present application is different from the picture sending method described in the embodiments recorded in Figures 2 and 3 to 6 in that the specific application scenarios are different. Among them, the application scenarios of the embodiments of the present application include the application scenarios of the embodiments recorded in Figures 2 and 3 to 6.

本申请实施例提供的基于即时通信的图片发送方法发送的图片包括但不限于表情图片。本申请实施例可以以发送表情图片为例进行说明。The pictures sent by the instant messaging-based picture sending method provided in the embodiment of the present application include but are not limited to emoticon pictures. The embodiment of the present application can be described by taking the sending of emoticon pictures as an example.

步骤701:第一通信客户端确定目标图片。Step 701: The first communication client determines a target image.

在步骤701中,用户可以使用所述第一通信客户端通过通信软件与其他用户进行通信,在通信的过程中,如果所述用户想要向其他用户发送图片,那么,所述第一通信客户端可以确定目标图片。In step 701, the user may use the first communication client to communicate with other users via communication software. During the communication process, if the user wants to send a picture to other users, the first communication client may determine a target picture.

本申请实施例中,所述第一通信客户端至少可以通过以下三种方法确定所述目标图片时,包括:In the embodiment of the present application, the first communication client may determine the target image by at least the following three methods:

第一种方法:所述第一通信客户端接收所述第二通信客户端发送的图片,并将所述第二通信客户端发送的图片确定为所述目标图片。A first method: the first communication client receives a picture sent by the second communication client, and determines the picture sent by the second communication client as the target picture.

具体地,使用所述第一通信客户端的用户与使用所述第二通信客户端的用户在通过通信软件进行通信的过程中,所述第二通信客户端可以向所述第一通信客户端发送图片,所述第一通信客户端可以接收所述第二通信客户端发送的图片,此时,所述第一通信客户端可以将接收到的所述图片显示在所述第一通信客户端与所述第二通信客户端交互的会话窗口中,并将接收到的所述图片作为所述目标图片。Specifically, during the process of communication between a user using the first communication client and a user using the second communication client through communication software, the second communication client can send a picture to the first communication client, and the first communication client can receive the picture sent by the second communication client. At this time, the first communication client can display the received picture in the conversation window in which the first communication client and the second communication client interact, and use the received picture as the target picture.

第二种方法:所述第一通信客户端确定已发送给所述第二通信客户端的图片,并将所述已发送的图片确定为所述目标图片。A second method: the first communication client determines a picture that has been sent to the second communication client, and determines the sent picture as the target picture.

具体地,使用所述第一通信客户端的用户与使用所述第二通信客户端的用户在通过通信软件进行通信的过程中,所述第一通信客户端可以向所述第二通信客户端发送图片,在发送所述图片并将所述图片显示在所述会话窗口中后,可以将已发送的所述图片作为所述目标图片。Specifically, during the process of communication between a user using the first communication client and a user using the second communication client through communication software, the first communication client can send a picture to the second communication client. After sending the picture and displaying the picture in the conversation window, the sent picture can be used as the target picture.

第三种方法:所述第一通信客户端确定图片库中包含的其中一个图片,并将所述图片确定为所述目标图片。A third method: the first communication client determines one of the pictures contained in a picture library, and determines the picture as the target picture.

具体地,使用所述第一通信客户端的用户与使用所述第二通信客户端的用户在通过通信软件进行通信的过程中,使用所述第一通信客户端的用户在想要发送图片时,所述第一通信客户端可以显示图片库,并将所述图片库中包含的图片作为所述目标图片。Specifically, when a user using the first communication client and a user using the second communication client communicate through communication software, when the user using the first communication client wants to send a picture, the first communication client can display a picture library and use the pictures contained in the picture library as the target pictures.

需要说明的是,针对上述第一种方法,实际应用场景可以是:使用所述第一通信客户端的用户在接收到使用所述第二通信客户端的用户发送的图片后,想要将接收到的图片发送给使用所述第二通信客户端的用户。It should be noted that, for the first method described above, an actual application scenario may be: after receiving a picture sent by a user using the second communication client, the user using the first communication client wants to send the received picture to the user using the second communication client.

针对上述第二种方法,实际应用场景可以是:使用所述第一通信客户端的用户在向使用所述第二通信客户端的用户发送图片后,想要将已发送的图片再次发送给使用所述第二通信客户端的用户。For the second method, an actual application scenario may be: after sending a picture to a user using the second communication client, the user using the first communication client wants to send the sent picture to the user using the second communication client again.

针对上述第三种方法,实际应用场景可以是:使用所述第一通信客户端的用户想要从图片库中选择其中一张图片发送给使用所述第二通信客户端的用户。For the third method described above, an actual application scenario may be: a user using the first communication client wants to select a picture from a picture library and send it to a user using the second communication client.

本申请实施例中,针对上述三种应用场景,所述会话窗口可以是所述第一通信客户端与所述第二通信客户端交互的会话窗口(即所述第一通信客户端与所述第二通信客户端一对一交互),也可以是所述第一通信客户端与所述其二通信客户端以及其他多个通信客户端交互的会话窗口(即所述会话窗口为群组的会话窗口,所述第一通信客户端以及所述第二通信客户端属于所述群组),不做具体限定。In an embodiment of the present application, for the above three application scenarios, the session window can be a session window for interaction between the first communication client and the second communication client (i.e., the first communication client and the second communication client interact one-to-one), or it can be a session window for interaction between the first communication client and the second communication client and multiple other communication clients (i.e., the session window is a session window of a group, and the first communication client and the second communication client belong to the group), without specific limitation.

所述第一通信客户端在确定所述目标图片后,可以执行步骤202。After determining the target image, the first communication client may execute step 202 .

步骤702:所述第一通信客户端接收对所述目标图片的编辑指令。Step 702: The first communication client receives an editing instruction for the target image.

在步骤702中,所述第一通信客户端在确定目标图片后,可以接收使用所述第一通信客户端的用户对所述目标图片的编辑指令,以便于所述第一通信客户端对所述目标图片进行编辑。In step 702, after determining the target picture, the first communication client may receive an editing instruction for the target picture from a user using the first communication client, so that the first communication client can edit the target picture.

在本申请实施例中,所述编辑指令可以用于对所述目标图片进行编辑,具体可以是改变所述目标图片的设定样式的编辑指令,例如,可以是对所述目标图片的镜像编辑指令,也可以是对所述目标图片的模糊编辑指令,还可以是对所述目标图片的变形编辑指令,还可以是对所述目标图片的旋转指令,等,本申请实施例不做具体限制。In an embodiment of the present application, the editing instruction can be used to edit the target image, specifically, it can be an editing instruction to change the set style of the target image, for example, it can be a mirror editing instruction for the target image, it can be a blur editing instruction for the target image, it can be a deformation editing instruction for the target image, it can be a rotation instruction for the target image, etc., and the embodiment of the present application does not impose any specific restrictions.

所述第一通信客户端接收对所述目标图片的编辑指令,可以包括:The first communication client receiving the editing instruction for the target image may include:

所述第一通信客户端监测用户对所述目标图片的操作,所述用户为使用所述第一通信客户端的用户;The first communication client monitors a user's operation on the target image, where the user is a user using the first communication client;

所述第一通信客户端在监测到所述用户对所述目标图片进行设定操作时,在所述会话窗口显示对所述目标图片进行编辑的编辑选项;When the first communication client detects that the user performs a setting operation on the target image, the first communication client displays an editing option for editing the target image in the conversation window;

所述第一通信客户端接收所述用户对所述目标图片的编辑指令,所述编辑指令由所述用户对所述编辑选项进行选择得到。The first communication client receives an editing instruction from the user for the target image, where the editing instruction is obtained by the user selecting the editing option.

也就是说,所述第一通信客户端在确定所述目标图片后,可以实时监测使用所述第一通信客户端的用户是否对所述目标图片进行设定操作,若监测到所述用户对所述图片进行所述设定操作,则所述第一通信客户端可以根据所述设定操作在所述会话窗口中显示对所述目标图片进行编辑的编辑选项。That is, after determining the target image, the first communication client can monitor in real time whether the user using the first communication client performs a setting operation on the target image. If it is monitored that the user performs the setting operation on the image, the first communication client can display an editing option for editing the target image in the conversation window according to the setting operation.

其中,所述设定操作可以是对所述目标图片的单击操作,也可以是对所述目标图片的双击操作,还可以是对所述目标图片进行的长按操作,等。The setting operation may be a single-click operation on the target image, a double-click operation on the target image, a long-press operation on the target image, etc.

所述编辑选项中可以包含对所述目标图片进行编辑的选项,例如,该选项可以是对所述目标图片进行反向编辑,可以是对所述目标图片进行模糊编辑,可以是对所述目标图片进行变形编辑,还可以是对所述目标图片进行旋转编辑,等。The editing options may include options for editing the target image. For example, the option may be to reverse edit the target image, to blur the target image, to deform the target image, to rotate the target image, etc.

所述编辑选项可以以浮层的方式显示在所述会话窗口中,也可以以下拉菜单的方式显示在所述会话窗口中,具体可以显示在所述目标图片的右上方,也可以显示在所述目标图片的右下方,只要便于用户对编辑选项中包含的选项进行选择即可。The editing options can be displayed in the conversation window in a floating layer or in a drop-down menu. Specifically, they can be displayed in the upper right corner of the target image or in the lower right corner of the target image, as long as it is convenient for the user to select the options included in the editing options.

所述第一通信客户端在显示所述编辑选项后,使用所述第一通信客户端的用户可以查看到所述编辑选项,此时,所述用户可以根据自己的实际需求,选择其中一个选项。After the first communication client displays the editing options, the user using the first communication client can view the editing options. At this time, the user can select one of the options according to his or her actual needs.

在用户选择所述编辑选项中的选项后,可以视为该用户向所述第一通信客户端发送对所述目标图片的编辑指令,此时,所述第一通信客户端可以接收到所述编辑指令。After the user selects an option in the editing options, it can be regarded that the user sends an editing instruction for the target image to the first communication client. At this time, the first communication client can receive the editing instruction.

所述第一通信客户端在通过上述记载的方式接收到对所述目标图片的编辑指令后,可以执行步骤703。After receiving the editing instruction for the target image in the manner described above, the first communication client may execute step 703 .

步骤703:所述第一通信客户端根据所述编辑指令在会话窗口中对所述图片进行编辑,得到编辑后的图片。Step 703: The first communication client edits the picture in the conversation window according to the editing instruction to obtain an edited picture.

在步骤703中,所述第一通信客户端在接收到所述编辑指令后,可以根据所述编辑指令,在与所述第二通信客户端的会话窗口中对所述目标图片进行编辑,得到编辑后的图片。In step 703, after receiving the editing instruction, the first communication client may edit the target image in the conversation window with the second communication client according to the editing instruction to obtain an edited image.

步骤704:所述第一通信客户端将所述编辑后的图片在所述会话窗口进行发送。Step 704: The first communication client sends the edited picture in the conversation window.

在步骤704中,所述第一通信客户端在得到所述编辑后的图片后,可以直接将所述编辑后的图片发送给所述第二通信客户端,实现与第二通信客户端之间通过图片进行通信。In step 704, after obtaining the edited picture, the first communication client may directly send the edited picture to the second communication client, thereby realizing communication with the second communication client via the picture.

这样,由于使用所述第一通信客户端的用户在向使用第二通信客户端的用户发送目标图片时,可以对所述目标图片进行编辑,并将编辑后的图片进行发送,这样,可以使得图片的发送方式多样化,能够满足用户发送图片的需求,进而有效提高用户的用户体验。In this way, since the user using the first communication client can edit the target picture and send the edited picture when sending the target picture to the user using the second communication client, this can diversify the way of sending pictures, meet the user's needs for sending pictures, and effectively improve the user experience.

在本申请提供的另一实施例中,所述第一通信客户端在得到所述编辑后的图片之后,并在发送所述编辑后的图片之前,所述方法还包括:In another embodiment provided by the present application, after the first communication client obtains the edited picture and before sending the edited picture, the method further includes:

将所述编辑后的图片进行显示,使得所述用户预览所述编辑后的图片。The edited picture is displayed so that the user can preview the edited picture.

在本申请实施例中,所述第一通信客户端在得到所述编辑后的图片后,可以将所述编辑后的图片在所述第一通信客户端进行显示,这样,使用所述第一通信客户端的用户可以预览得到所述编辑后的图片。In an embodiment of the present application, after obtaining the edited image, the first communication client may display the edited image on the first communication client, so that a user using the first communication client may preview the edited image.

除此之外,所述第一通信客户端在显示所述编辑后的图片时,还可以显示用于用户确认是否发送所述编辑后的图片的按钮,这样,用户可以根据预览结果确定是否发送所述编辑后的图片,并在确定发送所述编辑后的图片后,通过所述按钮向所述第一通信客户端发送确认指令。此时,所述第一通信客户端可以接收所述确认指令,并根据所述确认指令,将所述编辑后的图片发送给所述第二通信客户端。In addition, when displaying the edited image, the first communication client may also display a button for the user to confirm whether to send the edited image. In this way, the user can determine whether to send the edited image based on the preview result, and after determining to send the edited image, send a confirmation instruction to the first communication client via the button. In this case, the first communication client can receive the confirmation instruction and send the edited image to the second communication client according to the confirmation instruction.

这样,由用户确定是否确认发送所述编辑后的图片,可以避免将不满足用户需求的图片进行发送,可以提升用户体验。In this way, the user determines whether to confirm sending the edited picture, which can avoid sending pictures that do not meet the user's needs and improve the user experience.

在本申请提供的又一实施例中,所述第一通信客户端将所述编辑后的图片进行显示时,所述方法还包括:In another embodiment provided by the present application, when the first communication client displays the edited picture, the method further includes:

向所述用户显示设置选项,所述设置选项用于所述用户对所述编辑后的图片的属性进行设置;Displaying setting options to the user, wherein the setting options are used by the user to set properties of the edited image;

接收所述用户发送的设置指令,所述设置指令由所述用户对所述设置选项进行选择得到;receiving a setting instruction sent by the user, wherein the setting instruction is obtained by the user selecting the setting option;

根据所述设置指令在所述会话窗口中对所述编辑后的图片进行设置,得到设置后的图片。The edited picture is set in the conversation window according to the setting instruction to obtain a set picture.

在本申请实施例中,所述第一通信客户端在将所述编辑后的图片进行显示时,还可以显示对所述编辑后的图片的设置选项,其中,所述设置选项中可以包含对所述编辑后的图片的属性进行设置的选项,所述设置选项可以用于对所述编辑后的图片进行颜色、尺寸、编辑程度等的设置。In an embodiment of the present application, when displaying the edited picture, the first communication client may also display setting options for the edited picture, wherein the setting options may include options for setting the properties of the edited picture, and the setting options may be used to set the color, size, degree of editing, etc. of the edited picture.

例如,若所述第一通信客户端接收到的编辑指令是对所述目标图片的模糊操作指令,那么,所述第一通信客户端在得到模糊处理(可以是按照默认的模糊程度进行处理)后的图片后,所述设置选项可以包含模糊程度的选项,所述设置选项可以用于对模糊处理后的图片的模糊程度进行设置。For example, if the editing instruction received by the first communication client is an instruction to blur the target image, then after the first communication client obtains the blurred image (which can be processed according to the default blur level), the setting option may include a blur level option, and the setting option may be used to set the blur level of the blurred image.

除此之外,所述设置选项中还可以包含对模糊处理后的图片的颜色进行设置的选项,这样,用户可以同时对模糊处理后的图片的模糊程度以及颜色进行设置。In addition, the setting options may also include an option for setting the color of the blurred image, so that the user can set the blur level and color of the blurred image at the same time.

所述用户在根据所述设置选项进行选择后,可以视为所述用户向所述第一通信客户端发送对所述编辑后的图片的设置指令,此时,所述第一通信客户端可以接收所述设置指令,并根据所述设置指令对所述编辑后的图片进行设置,得到设置后的图片。After the user makes a selection according to the setting option, it can be regarded that the user sends a setting instruction for the edited picture to the first communication client. At this time, the first communication client can receive the setting instruction and set the edited picture according to the setting instruction to obtain the set picture.

所述第一通信客户端得到所述设置后的图片后,将所述设置后的图片发送给第二通信客户端,包括:After the first communication client obtains the set picture, sending the set picture to the second communication client includes:

所述第一通信客户端接收所述用户发送的确认指令,所述确认指令为所述用户在预览所述编辑后的图片后发送的;The first communication client receives a confirmation instruction sent by the user, where the confirmation instruction is sent by the user after previewing the edited picture;

所述第一通信客户端根据所述确认指令,将所述编辑后的图片在所述会话窗口进行发送。The first communication client sends the edited picture in the conversation window according to the confirmation instruction.

本申请实施例中,所述第一通信客户端在根据所述设置指令对所述编辑后的图片进行设置的过程中,可以将设置得到的图片实时展示给所述用户,使得所述用户可以实时预览设置后的图片,并根据预览的图片确定是否发送给所述第二通信客户端。In an embodiment of the present application, when the first communication client is setting the edited picture according to the setting instruction, the set picture can be displayed to the user in real time, so that the user can preview the set picture in real time and determine whether to send it to the second communication client based on the previewed picture.

所述用户在根据预览结果确定发送给所述第二通信客户端后,可以通过上述记载的按钮向所述第一通信客户端发送确认指令,此时,所述第一通信客户端可以接收所述确认指令,并根据所述确认指令将所述设置后的图片在所述会话窗口进行发送。After the user determines to send the preview result to the second communication client, he can send a confirmation instruction to the first communication client through the button described above. At this time, the first communication client can receive the confirmation instruction and send the set picture in the conversation window according to the confirmation instruction.

具体地,若所述会话窗口是所述第一通信客户端与所述第二通信客户端一对一交互的会话窗口,那么,所述第一通信客户端可以将所述设置后的图片送给所述第二通信客户端;若所述会话窗口是所述第一通信客户端与所述第二通信客户端所在群组的会话窗口,那么,所述第一通信客户端将所述设置后的图片送给所述第二通信客户端的同时,也发送给所述群组中的其他通信客户端。Specifically, if the conversation window is a conversation window for one-to-one interaction between the first communication client and the second communication client, then the first communication client can send the set picture to the second communication client; if the conversation window is a conversation window of the group to which the first communication client and the second communication client belong, then the first communication client sends the set picture to the second communication client while also sending it to other communication clients in the group.

这样,由于用户可以对所述编辑后的表情图片进行设置,使得表情图片的发送方式更加多样化,进一步提升用户体验。In this way, since the user can set the edited emoticon picture, the sending method of the emoticon picture is more diversified, further improving the user experience.

本申请实施例提供的技术方案,用户在发送表情图片时,可以在会话窗口中对需要发送的表情图片进行编辑,并将编辑后的表情图片发送给其他用户,因此,相较于现有技术而言,可以使得表情图片的发送方式多样化,进而有效提升用户体验。According to the technical solution provided in the embodiment of the present application, when a user sends an emoticon picture, he or she can edit the emoticon picture to be sent in the conversation window and send the edited emoticon picture to other users. Therefore, compared with the existing technology, the sending method of emoticon pictures can be diversified, thereby effectively improving the user experience.

实施例4Example 4

图8为本申请实施例提供的另一种基于即时通信的图片发送方法的流程示意图。所述方法如下所述。本申请实施例的执行主体可以是第一通信客户端。本申请实施例提供的图片发送方法发送的图片为表情图片。FIG8 is a flow chart of another method for sending pictures based on instant messaging provided in an embodiment of the present application. The method is described as follows. The execution subject of the embodiment of the present application may be a first communication client. The picture sent by the picture sending method provided in the embodiment of the present application is an emoticon picture.

需要说明的是,本申请实施例的应用场景可以是图7所记载的实施例中,步骤701中第一种方法对应的应用场景,即使用所述第一通信客户端的用户在接收到使用所述第二通信客户端的用户发送的表情图片后,想要将接收到的表情图片发送给使用所述第二通信客户端的用户,以进行回应。It should be noted that the application scenario of the embodiment of the present application can be the application scenario corresponding to the first method in step 701 in the embodiment recorded in Figure 7, that is, after the user using the first communication client receives the emoticon picture sent by the user using the second communication client, he wants to send the received emoticon picture to the user using the second communication client in response.

本申请实施例提供的图片发送方法具体包括以下步骤:The picture sending method provided in the embodiment of the present application specifically includes the following steps:

步骤801:第一通信客户端接收第二通信客户端发送的表情图片。Step 801: A first communication client receives an emoticon picture sent by a second communication client.

所述第一通信客户端在接收到所述表情图片后,可以将所述表情图片显示在会话窗口中,所述会话窗口为所述第一通信客户端与所述第二通信客户端交互的会话窗口。After receiving the emoticon image, the first communication client may display the emoticon image in a conversation window, where the conversation window is a conversation window for interaction between the first communication client and the second communication client.

步骤802:所述第一通信客户端监测用户是否对所述表情图片进行设定操作。Step 802: The first communication client monitors whether the user performs a setting operation on the emoticon picture.

在步骤802中,所述设定操作可以是对所述表情图片的单击操作,也可以是对所述表情图片的双击操作,还可以是对所述表情图片进行的长按操作,等。In step 802, the setting operation may be a single-click operation on the emoticon image, a double-click operation on the emoticon image, a long-press operation on the emoticon image, etc.

若所述第一通信客户端监测到所述用户对所述表情图片的操作为所述设定操作,则可以执行步骤803;若监测到所述用户对所述表情图片的操作不为所述设定操作,则可以循环执行步骤802。If the first communication client detects that the user's operation on the emoticon picture is the setting operation, step 803 may be executed; if the first communication client detects that the user's operation on the emoticon picture is not the setting operation, step 802 may be executed in a loop.

步骤803:所述第一通信客户端在会话窗口中显示对所述表情图片进行编辑的编辑选项。Step 803: The first communication client displays an editing option for editing the emoticon image in the conversation window.

其中,所述编辑选项可以以浮层的方式显示在所述会话窗口中,所述编辑选项中可以包含对所述表情图片进行编辑的选项,例如,该选项可以是对所述表情图片进行反向编辑,可以是对所述表情图片进行模糊编辑,可以是对所述表情图片进行变形编辑,还可以是对所述表情图片进行旋转编辑,等。Among them, the editing options can be displayed in the conversation window in a floating layer manner, and the editing options can include options for editing the emoticon picture. For example, the option can be to reverse edit the emoticon picture, to blur the emoticon picture, to deform the emoticon picture, to rotate the emoticon picture, etc.

步骤804:所述第一通信客户端接收所述用户对所述表情图片的编辑指令。Step 804: The first communication client receives the user's instruction to edit the emoticon picture.

其中,所述编辑指令由所述用户对所述编辑选项进行选择得到。The editing instruction is obtained by the user selecting the editing option.

步骤805:所述第一通信客户端根据所述编辑指令,在所述会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片。Step 805: The first communication client edits the emoticon image in the conversation window according to the editing instruction to obtain an edited emoticon image.

步骤806:所述第一通信客户端显示编辑后的表情图片以及对所述编辑后的表情图片的属性的设置选项。Step 806: The first communication client displays the edited emoticon image and setting options for the attributes of the edited emoticon image.

其中,所述设置选项可以用于所述用户对所述编辑后的表情图片的属性进行设置,所述设置选项中可以包含用于对所述编辑后的表情图片的属性进行设置的选项。The setting options may be used by the user to set properties of the edited emoticon image, and the setting options may include options for setting properties of the edited emoticon image.

步骤807:所述第一通信客户端接收所述用户发送的设置指令。Step 807: The first communication client receives the setting instruction sent by the user.

其中,所述设置指令可以由所述用户对所述设置选项进行选择得到。The setting instruction may be obtained by the user selecting the setting option.

步骤808:所述第一通信客户端根据所述设置指令,在所述会话窗口中对所述编辑后的表情图片进行设置,得到设置后的表情图片。Step 808: The first communication client sets the edited emoticon picture in the conversation window according to the setting instruction to obtain the set emoticon picture.

在步骤808中,所述第一通信客户端在得到设置后的表情图片后,可以将所述设置后的表情图片展示给所述用户,以便于所述用户预览所述设置后的表情图片。In step 808, after obtaining the set emoticon picture, the first communication client may display the set emoticon picture to the user so that the user can preview the set emoticon picture.

步骤809:所述第一通信客户端接收所述用户发送的确认指令。Step 809: The first communication client receives the confirmation instruction sent by the user.

其中,所述确认指令是由所述用户在预览所述设置后的表情图片后发送的。The confirmation instruction is sent by the user after previewing the set emoticon picture.

步骤810:所述第一通信客户端根据所述确认指令,将所述设置后的表情图片发送给所述第二通信客户端。Step 810: The first communication client sends the set emoticon image to the second communication client according to the confirmation instruction.

本申请实施例提供的图片发送方法,使用第一通信客户端的用户在接收到使用第二通信客户端的用户发送的表情图片后,如果想要将接收到的表情图片发送给使用第二通信客户端的用户,那么,使用第一通信客户端的用户可以基于接收到的表情图片对所述表情图片进行编辑,并由第一通信客户端将编辑后的表情图片发送给第二通信客户端。这样,使用第一通信客户端的用户在无需下载表情图片的情况下,就可以将所述表情图片进行发送,并且,通过对该表情图片进行编辑,并将编辑后的表情图片进行发送,可以使得表情图片发送的方式多样化,有效提高用户体验。In the picture sending method provided by an embodiment of the present application, after a user using a first communication client receives an emoticon picture sent by a user using a second communication client, if the user wants to send the received emoticon picture to the user using the second communication client, the user using the first communication client can edit the emoticon picture based on the received emoticon picture, and the first communication client will send the edited emoticon picture to the second communication client. In this way, the user using the first communication client can send the emoticon picture without downloading the emoticon picture. Moreover, by editing the emoticon picture and sending the edited emoticon picture, the methods of sending emoticon pictures can be diversified, effectively improving the user experience.

实施例5Example 5

图9为本申请实施例提供的又一种基于即时通信的图片发送方法的流程示意图。所述方法如下所述。本申请实施例的执行主体可以是第一通信客户端。FIG9 is a flow chart of another method for sending pictures based on instant messaging provided by an embodiment of the present application. The method is described as follows. The execution subject of the embodiment of the present application may be a first communication client.

步骤901:第一通信客户端确定目标图片。Step 901: The first communication client determines a target image.

在步骤901中,用户可以使用所述第一通信客户端通过通信软件与其他用户进行通信,在通信的过程中,如果所述用户想要向其他用户发送图片,那么,所述第一通信客户端可以确定目标图片。In step 901, the user may use the first communication client to communicate with other users via communication software. During the communication process, if the user wants to send a picture to other users, the first communication client may determine a target picture.

本申请实施例中,所述目标图片包括表情图片。所述第一通信客户端可以通过上述图7所示的实施例中步骤701记载的内容确定所述目标图片,这里不再重复描述。In the embodiment of the present application, the target image includes an emoticon image. The first communication client can determine the target image according to the content recorded in step 701 in the embodiment shown in FIG7 , and the description will not be repeated here.

步骤902:所述第一通信客户端根据使用所述第一通信客户端的用户的属性信息,在会话窗口中对所述目标图片进行编辑,得到编辑后的图片。Step 902: The first communication client edits the target image in the conversation window according to the attribute information of the user using the first communication client to obtain an edited image.

其中,所述会话窗口为所述第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口。The session window is a session window in which the first communication client interacts with another communication client, or a session window in which the first communication client interacts with multiple other communication clients.

在步骤902中,所述第一通信客户端在确定所述目标图片后,在发送所述目标图片之前,可以确定使用所述第一通信客户端的用户的属性信息。In step 902, after determining the target image and before sending the target image, the first communication client may determine attribute information of a user using the first communication client.

本申请实施例中,使用所述第一通信客户端的用户的属性信息包括:该用户在所述会话窗口中的位置信息(例如,图5中,用户B的位置信息为:在会话窗口的右侧),该用户与其他用户的聊天内容,该用户的心情(可以通过该用户的聊天内容确定),等。In an embodiment of the present application, the attribute information of the user using the first communication client includes: the location information of the user in the conversation window (for example, in Figure 5, the location information of user B is: on the right side of the conversation window), the chat content between the user and other users, the user's mood (which can be determined by the user's chat content), etc.

所述第一通信客户端在确定该用户的属性信息后,可以根据所述属性信息,自动在所述会话窗口中对所述目标图片进行编辑,并得到编辑后的图片。这样,可以无需该用户触发对所述目标图片的编辑操作,就可以得到编辑后的图片。After determining the attribute information of the user, the first communication client can automatically edit the target image in the conversation window according to the attribute information and obtain the edited image. In this way, the edited image can be obtained without the user triggering an editing operation on the target image.

以图5为例,用户B对应所述第一通信客户端,所述第一通信客户端在确定目标图片为图片a后,在将图片a发送给用户A之前,可以根据用户B的位置信息(即在会话窗口的右侧),自动对图片a进行编辑,得到编辑后的图片a1中“狗头”的眼睛由朝向右侧变为朝向左侧,满足用户B想要通过图片a1表达的“鄙视”用户A的心情。这样,可以无需用户B触发对图片a的编辑操作,就可以自动根据用户B的位置信息编辑得到图片a1,不仅可以使得图片发送的方式多样化,而且有效简化了用户B的操作。Taking Figure 5 as an example, user B corresponds to the first communication client. After determining that the target image is picture a, the first communication client can automatically edit picture a based on user B's location information (i.e., on the right side of the conversation window) before sending picture a to user A. The resulting edited image a1 changes the eyes of the "dog head" from facing right to facing left, satisfying user B's desired expression of "contempt" for user A through picture a1. This automatically edits picture a1 based on user B's location information without user B triggering an edit operation on picture a. This not only diversifies the ways of sending pictures but also effectively simplifies user B's operation.

步骤903:所述第一通信客户端将所述编辑后的图片在所述会话窗口进行发送。Step 903: The first communication client sends the edited picture in the conversation window.

在步骤903中,所述第一通信客户端在得到所述编辑后的图片后,可以将所述编辑后的图片在所述会话窗口进行发送。In step 903, after obtaining the edited picture, the first communication client may send the edited picture in the conversation window.

在本申请提供的另一实施例中,所述第一通信客户端在将所述编辑后的图片发送之前,还可以将所述编辑后的图片展示给使用所述第一通信客户端的用户,使得该用户预览所述编辑后的图片。此外,在该用户预览所述编辑后的图片后,所述第一通信客户端还可以允许该用户对所述编辑后的图片的属性信息进行设置,具体方法可以与上述图7所示的实施例步骤704中记载的方法相同,这里不再重复描述。In another embodiment provided herein, before sending the edited image, the first communication client may also display the edited image to a user using the first communication client, allowing the user to preview the edited image. Furthermore, after the user previews the edited image, the first communication client may also allow the user to set attribute information for the edited image. The specific method may be the same as that described in step 704 of the embodiment shown in FIG. 7 above, and will not be repeated here.

本申请实施例提供的技术方案,所述第一通信客户端确定目标图片后,在将所述目标图片发送之前,可以自动根据使用所述第一通信客户端的用户的属性信息对所述目标图片进行编辑,并将编辑后的图片发送。这样,由于所述第一通信客户端可以自动根据用户的属性信息对目标图片进行编辑后再发送,因此,可以使得目标图片的发送方式多样化,有效提升用户体验。此外,由于可以无需用户对目标图片触发编辑操作,就可以自动根据用户的属性信息对目标图片进行编辑,因此,可以有效简化用户的操作。The technical solution provided by the embodiment of the present application allows the first communication client to automatically edit the target image based on the attribute information of the user using the first communication client before sending it, after determining the target image. This allows the first communication client to automatically edit the target image based on the user's attribute information before sending it, thus diversifying the methods for sending the target image and effectively improving the user experience. Furthermore, since the target image can be automatically edited based on the user's attribute information without the user having to trigger an edit operation on the target image, user operations can be effectively simplified.

实施例6Example 6

图10为本申请实施例提供的一种电子设备的结构示意图。如图10所示,在硬件层面,该电子设备包括处理器、内部总线、网络接口、内存以及非易失性存储器,当然还可能包括其他业务所需要的硬件。处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,在逻辑层面上形成基于即时通信的表情图片发送设备。当然,除了软件实现方式之外,本申请并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。Figure 10 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. As shown in Figure 10, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and of course may also include hardware required for other services. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming an instant messaging-based emoticon picture sending device at the logical level. Of course, in addition to software implementation methods, this application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

图11为本申请实施例提供的一种基于即时通信的表情图片发送设备的结构示意图。所述图片发送设备包括:图片接收单元1101、指令接收单元1102、编辑单元1103以及发送单元1104,其中:Figure 11 is a schematic diagram of the structure of an instant messaging-based emoticon picture sending device provided in an embodiment of the present application. The picture sending device includes: a picture receiving unit 1101, an instruction receiving unit 1102, an editing unit 1103, and a sending unit 1104, wherein:

图片接收单元1101,接收第二通信客户端发送的表情图片;The picture receiving unit 1101 receives the emoticon picture sent by the second communication client;

指令接收单元1102,接收对所述表情图片的编辑指令;The instruction receiving unit 1102 receives an instruction to edit the emoticon picture;

编辑单元1103,根据所述编辑指令,在所述第一通信客户端与所述第二通信客户端交互的会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;The editing unit 1103 edits the emoticon picture in the conversation window of the first communication client and the second communication client according to the editing instruction to obtain an edited emoticon picture;

发送单元1104,将所述编辑后的表情图片发送给所述第二通信客户端。The sending unit 1104 sends the edited emoticon image to the second communication client.

所述指令接收单元1102,接收对所述表情图片的编辑指令,包括:The instruction receiving unit 1102 receives an instruction to edit the emoticon image, including:

在监测到用户对所述表情图片的设定操作时,在所述会话窗口显示针对所述表情图片进行编辑的编辑选项,所述设定操作包括:单击操作、双击操作或长按操作;接收对所述表情图片的编辑指令,所述编辑指令由所述用户对所述编辑选项进行选择得到。When a user's setting operation on the emoticon picture is monitored, editing options for editing the emoticon picture are displayed in the conversation window, and the setting operation includes: a single-click operation, a double-click operation or a long press operation; and an editing instruction for the emoticon picture is received, and the editing instruction is obtained by the user selecting the editing option.

所述编辑选项以浮层或下拉菜单的方式显示在所述会话窗口中,所述编辑选项包括:反向、模糊、变形以及旋转中的至少一个。The editing options are displayed in the conversation window in a floating layer or drop-down menu format, and the editing options include at least one of reverse, blur, deformation, and rotation.

图12为本申请实施例提供的一种基于即时通信的表情图片发送装置的结构示意图。装置1200可包括:通道接口1201和处理器1202,可选地,包括存储器1203。FIG12 is a schematic diagram of the structure of an instant messaging-based emoticon picture sending device provided in an embodiment of the present application. The device 1200 may include: a channel interface 1201 and a processor 1202 , and optionally, a memory 1203 .

通道接口1201、处理器1202和存储器1203可以通过总线1204系统相互连接。总线1204可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(ExtendedIndustry Standard Architecture,扩展工业标准结构)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图12中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。The channel interface 1201, processor 1202, and memory 1203 can be interconnected via a bus 1204 system. Bus 1204 can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus. These buses can be classified as address buses, data buses, control buses, and the like. For ease of illustration, FIG12 shows only one bidirectional arrow, but this does not imply that there is only one bus or only one type of bus.

可选地,包括存储器1203,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器1203可以包括只读存储器和随机存取存储器,并向处理器1202提供指令和数据。存储器1203可能包含高速随机存取存储器(Random-AccessMemory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器。Optionally, a memory 1203 is included for storing programs. Specifically, the program may include program code, which includes computer operating instructions. The memory 1203 may include read-only memory and random access memory, and provides instructions and data to the processor 1202. The memory 1203 may include high-speed random access memory (RAM) and may also include non-volatile memory (non-volatile memory), such as at least one disk storage.

处理器1202,用于执行以下操作,可选地,执行存储器1203所存放的程序,并具体用于执行以下操作:The processor 1202 is configured to perform the following operations, optionally executing a program stored in the memory 1203, and specifically to perform the following operations:

接收第二通信客户端发送的表情图片;Receiving an emoticon picture sent by a second communication client;

接收对所述表情图片的编辑指令;Receiving an editing instruction for the emoticon picture;

根据所述编辑指令,在第一通信客户端与所述第二通信客户端交互的会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;Editing the emoticon image in a conversation window in which the first communication client interacts with the second communication client according to the editing instruction to obtain an edited emoticon image;

将所述编辑后的表情图片发送给所述第二通信客户端。Send the edited emoticon image to the second communication client.

上述如本申请图2、图3-图6、图10-11所示实施例揭示的基于即时通信的表情图片发送设备或管理者(Master)节点执行的方法可以应用于处理器1202中,或者由处理器1202实现。处理器1202可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1202中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1202可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital SignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1203,处理器1202读取存储器1203中的信息,结合其硬件完成上述方法的步骤。The methods performed by the instant messaging-based emoticon picture sending device or the manager (Master) node disclosed in the embodiments shown in Figures 2, 3-6, and 10-11 of this application can be applied to the processor 1202 or implemented by the processor 1202. The processor 1202 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by the hardware integrated logic circuit in the processor 1202 or by software instructions. The above processor 1202 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in conjunction with the embodiments of this application can be directly implemented as being executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in memory 1203, and processor 1202 reads the information in memory 1203 and, in conjunction with its hardware, completes the steps of the above method.

基于即时通信的表情图片发送装置1200还可执行图2的方法,并实现管理者节点执行的方法。The instant messaging-based emoticon picture sending device 1200 can also execute the method of FIG. 2 and implement the method executed by the manager node.

本申请实施例还提出了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序包括指令,该指令当被包括多个应用程序的便携式电子设备执行时,能够使该便携式电子设备执行图2所记载的方法。An embodiment of the present application also proposes a computer-readable storage medium, which stores one or more programs, and the one or more programs include instructions. When the instructions are executed by a portable electronic device including multiple applications, the portable electronic device can execute the method described in Figure 2.

实施例7Example 7

图13为本申请实施例提供的一种电子设备的结构示意图。FIG13 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.

本申请实施例所记载的电子设备的结构图可以与图10所示的电子设备的结构图相同,这里不再重复描述。The structural diagram of the electronic device described in the embodiment of the present application may be the same as the structural diagram of the electronic device shown in FIG10 , and will not be described again here.

图14为本申请实施例提供的一种基于即时通信的表情图片发送设备的结构示意图。所述图片发送设备包括:图片接收单元1401、指令接收单元1402、编辑单元1403以及发送单元1404,其中:FIG14 is a schematic diagram of the structure of an instant messaging-based emoticon picture sending device provided in an embodiment of the present application. The picture sending device includes: a picture receiving unit 1401, an instruction receiving unit 1402, an editing unit 1403, and a sending unit 1404, wherein:

图片接收单元1401,在会话窗口接收第二通信客户端发送的表情图片,所述会话窗口为群组的会话窗口;The picture receiving unit 1401 receives an emoticon picture sent by the second communication client in a conversation window, where the conversation window is a conversation window of the group;

指令接收单元1402,接收对所述表情图片的编辑指令;The instruction receiving unit 1402 receives an instruction to edit the emoticon picture;

编辑单元1403,根据所述编辑指令,在所述会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;An editing unit 1403 edits the emoticon image in the conversation window according to the editing instruction to obtain an edited emoticon image;

发送单元1404,将所述编辑后的表情图片在所述会话窗口进行发送。The sending unit 1404 sends the edited emoticon image in the conversation window.

图15为本申请实施例提供的一种基于即时通信的表情图片发送装置的结构示意图。装置1500可包括:通道接口1501和处理器1502,可选地,包括存储器1503。FIG15 is a schematic diagram of the structure of an instant messaging-based emoticon picture sending device provided in an embodiment of the present application. The device 1500 may include: a channel interface 1501 and a processor 1502 , and optionally, a memory 1503 .

通道接口1501、处理器1502和存储器1503可以通过总线1504系统相互连接。总线1504可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(ExtendedIndustry Standard Architecture,扩展工业标准结构)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图15中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。Channel interface 1501, processor 1502, and memory 1503 can be interconnected via a bus 1504 system. Bus 1504 can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus. These buses can be classified as address buses, data buses, control buses, and the like. For ease of illustration, FIG15 shows only one bidirectional arrow, but this does not imply that there is only one bus or only one type of bus.

可选地,包括存储器1503,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器1503可以包括只读存储器和随机存取存储器,并向处理器1502提供指令和数据。存储器1503可能包含高速随机存取存储器(Random-AccessMemory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器。Optionally, a memory 1503 is included for storing programs. Specifically, the program may include program code, which includes computer operating instructions. The memory 1503 may include read-only memory and random access memory, and provides instructions and data to the processor 1502. The memory 1503 may include high-speed random access memory (RAM) and may also include non-volatile memory (non-volatile memory), such as at least one disk storage.

处理器1502,用于执行以下操作,可选地,执行存储器1503所存放的程序,并具体用于执行以下操作:The processor 1502 is configured to perform the following operations, optionally executing a program stored in the memory 1503, and specifically to perform the following operations:

在会话窗口接收第二通信客户端发送的表情图片,所述会话窗口为群组的会话窗口;Receiving an emoticon picture sent by a second communication client in a conversation window, wherein the conversation window is a conversation window of a group;

接收对所述表情图片的编辑指令;Receiving an editing instruction for the emoticon picture;

根据所述编辑指令,在所述会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;Editing the emoticon picture in the conversation window according to the editing instruction to obtain an edited emoticon picture;

将所述编辑后的表情图片在所述会话窗口进行发送。The edited emoticon picture is sent in the conversation window.

上述如本申请图2、图3-图6、图13-14所示实施例揭示的基于即时通信的表情图片发送设备或管理者(Master)节点执行的方法可以应用于处理器1502中,或者由处理器1502实现。处理器1502可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1502中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1502可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital SignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1503,处理器1502读取存储器1503中的信息,结合其硬件完成上述方法的步骤。The methods performed by the instant messaging-based emoticon picture sending device or the manager (Master) node disclosed in the embodiments shown in Figures 2, 3-6, and 13-14 of this application can be applied to the processor 1502 or implemented by the processor 1502. The processor 1502 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by the hardware integrated logic circuit in the processor 1502 or by software instructions. The above processor 1502 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of this application can be directly implemented as being executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in memory 1503, and processor 1502 reads the information in memory 1503 and, in conjunction with its hardware, completes the steps of the above method.

基于即时通信的表情图片发送装置1500还可执行图2的方法,并实现管理者节点执行的方法。The instant messaging-based emoticon picture sending device 1500 can also execute the method of FIG. 2 and implement the method executed by the manager node.

本申请实施例还提出了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序包括指令,该指令当被包括多个应用程序的便携式电子设备执行时,能够使该便携式电子设备执行图2所记载的方法。An embodiment of the present application also proposes a computer-readable storage medium, which stores one or more programs, and the one or more programs include instructions. When the instructions are executed by a portable electronic device including multiple applications, the portable electronic device can execute the method described in Figure 2.

实施例8Example 8

图16为本申请实施例提供的一种电子设备的结构示意图。FIG16 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.

本申请实施例提供的电子设备在逻辑层面上形成基于即时通信的图片发送设备,其他结构与图10所示的电子设备相同,这里不再重复描述。The electronic device provided in the embodiment of the present application forms a picture sending device based on instant messaging at the logical level. Other structures are the same as the electronic device shown in Figure 10 and will not be repeated here.

图17为本申请实施例提供的一种基于即时通信的图片发送设备的结构示意图。所述图片发送设备包括:确定单元1701、接收单元1702、编辑单元1703以及发送单元1704,其中:FIG17 is a schematic diagram of the structure of an instant messaging-based picture sending device provided in an embodiment of the present application. The picture sending device includes: a determination unit 1701, a receiving unit 1702, an editing unit 1703, and a sending unit 1704, wherein:

确定单元1701,确定目标图片;Determining unit 1701, determining a target image;

接收单元1702,接收对所述目标图片的编辑指令;The receiving unit 1702 receives an editing instruction for the target image;

编辑单元1703,根据所述编辑指令在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为所述第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;An editing unit 1703 edits the target image in a conversation window according to the editing instruction to obtain an edited image, wherein the conversation window is a conversation window for interaction between the first communication client and another communication client, or a conversation window for interaction between the first communication client and multiple other communication clients;

发送单元1704,将所述编辑后的图片在所述会话窗口进行发送。The sending unit 1704 sends the edited picture in the conversation window.

所述确定单元1701确定目标图片,包括:The determining unit 1701 determines the target image, including:

接收所述第二通信客户端发送的图片,并将所述第二通信客户端发送的图片确定为所述目标图片;或,receiving the picture sent by the second communication client, and determining the picture sent by the second communication client as the target picture; or,

确定已发送给所述第二通信客户端的图片,并将所述已发送的图片确定为所述目标图片;或,Determine a picture that has been sent to the second communication client, and determine the sent picture as the target picture; or,

确定图片库中包含的图片,并将所述图片确定为所述目标图片。Determine a picture contained in a picture library, and determine the picture as the target picture.

所述接收单元1702接收对所述目标图片的编辑指令,包括:The receiving unit 1702 receives an editing instruction for the target image, including:

监测用户对所述目标图片的操作,所述用户为使用所述第一通信客户端的用户;在监测到所述用户对所述目标图片进行设定操作时,在所述会话窗口显示对所述目标图片进行编辑的编辑选项;接收所述用户对所述目标图片的编辑指令,所述编辑指令由所述用户对所述编辑选项进行选择得到。Monitor the user's operation on the target image, where the user is a user using the first communication client; when it is monitored that the user performs a setting operation on the target image, display an editing option for editing the target image in the conversation window; receive the user's editing instruction for the target image, where the editing instruction is obtained by the user selecting the editing option.

本申请实施例中,所述接收单元1702监测到的所述设定操作包括:单击操作、双击操作或长按操作。In the embodiment of the present application, the setting operation monitored by the receiving unit 1702 includes: a single-click operation, a double-click operation, or a long-press operation.

所述编辑选项以浮层或下拉菜单的方式显示在所述会话窗口中,所述编辑选项包括:反向、模糊、变形以及旋转中的至少一个。The editing options are displayed in the conversation window in a floating layer or drop-down menu format, and the editing options include at least one of reverse, blur, deformation, and rotation.

在本申请提供的另一实施例中,所述图片发送设备还包括:预览单元1705,其中:In another embodiment provided by the present application, the picture sending device further includes: a preview unit 1705, wherein:

所述预览单元1705,在所述编辑单元1703得到编辑后的图片之后,并在所述发送单元1704发送所述编辑后的图片之前,将所述编辑后的图片进行显示,使得所述用户预览所述编辑后的图片。The preview unit 1705 displays the edited picture after the editing unit 1703 obtains the edited picture and before the sending unit 1704 sends the edited picture, so that the user can preview the edited picture.

在本申请提供的又一实施例中,所述预览单元1705将所述编辑后的图片进行显示,包括:In another embodiment provided by the present application, the preview unit 1705 displays the edited image, including:

向所述用户显示设置选项,所述设置选项用于所述用户对所述编辑后的图片的属性进行设置;接收所述用户发送的设置指令,所述设置指令由所述用户对所述设置选项进行选择得到;根据所述设置指令在所述会话窗口中对所述编辑后的图片进行设置,得到设置后的图片。Displaying setting options to the user, wherein the setting options are used by the user to set attributes of the edited picture; receiving a setting instruction sent by the user, wherein the setting instruction is obtained by the user selecting the setting options; and setting the edited picture in the conversation window according to the setting instruction to obtain a set picture.

所述发送单元1704将所述编辑后的图片在所述会话窗口进行发送,包括:The sending unit 1704 sends the edited picture in the conversation window, including:

接收所述用户发送的确认指令,所述确认指令为所述用户在预览所述编辑后的图片后发送的;根据所述确认指令,将所述编辑后的图片在所述会话窗口进行发送。A confirmation instruction is received from the user, where the confirmation instruction is sent by the user after previewing the edited picture; and according to the confirmation instruction, the edited picture is sent in the conversation window.

图18为本申请实施例提供的一种基于即时通信的图片发送装置的结构示意图。装置1800可包括:通道接口1801和处理器1802,可选地,包括存储器1803。FIG18 is a schematic diagram of the structure of an instant messaging-based picture sending device provided in an embodiment of the present application. The device 1800 may include: a channel interface 1801 and a processor 1802 , and optionally, a memory 1803 .

通道接口1801、处理器1802和存储器1803可以通过总线1804系统相互连接。总线1804可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(ExtendedIndustry Standard Architecture,扩展工业标准结构)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图18中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。Channel interface 1801, processor 1802, and memory 1803 can be interconnected via a bus 1804 system. Bus 1804 can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, among others. These buses can be categorized as address buses, data buses, and control buses. For ease of illustration, FIG18 uses only one bidirectional arrow, but this does not imply that there is only one bus or only one type of bus.

可选地,包括存储器1803,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器1803可以包括只读存储器和随机存取存储器,并向处理器1802提供指令和数据。存储器1803可能包含高速随机存取存储器(Random-AccessMemory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器。Optionally, a memory 1803 is included for storing programs. Specifically, the program may include program code, which includes computer operating instructions. The memory 1803 may include read-only memory and random access memory, and provides instructions and data to the processor 1802. The memory 1803 may include high-speed random access memory (RAM) and may also include non-volatile memory (non-volatile memory), such as at least one disk storage.

处理器1802,用于执行以下操作,可选地,执行存储器1803所存放的程序,并具体用于执行以下操作:The processor 1802 is configured to perform the following operations, optionally executing a program stored in the memory 1803, and specifically to perform the following operations:

确定目标图片;Determine the target image;

接收对所述目标图片的编辑指令;receiving an editing instruction for the target image;

根据所述编辑指令在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;Editing the target image in a conversation window according to the editing instruction to obtain an edited image, wherein the conversation window is a conversation window in which the first communication client interacts with another communication client, or a conversation window in which the first communication client interacts with multiple other communication clients;

将所述编辑后的图片在所述会话窗口进行发送。The edited picture is sent in the conversation window.

上述如本申请图7和图16-17所示实施例揭示的基于即时通信的图片发送设备或管理者(Master)节点执行的方法可以应用于处理器1802中,或者由处理器1802实现。处理器1802可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1802中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1802可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1803,处理器1802读取存储器1803中的信息,结合其硬件完成上述方法的步骤。The method performed by the instant messaging-based picture sending device or the manager (Master) node disclosed in the embodiments shown in Figures 7 and 16-17 of the present application can be applied to the processor 1802 or implemented by the processor 1802. The processor 1802 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by the hardware integrated logic circuit in the processor 1802 or by instructions in the form of software. The above processor 1802 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The various methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of this application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in memory 1803, and processor 1802 reads the information in memory 1803 and, in conjunction with its hardware, completes the steps of the above method.

基于即时通信的图片发送装置1800还可执行图7的方法,并实现管理者节点执行的方法。The instant messaging-based picture sending device 1800 can also execute the method of FIG. 7 and implement the method executed by the manager node.

本申请实施例还提出了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序包括指令,该指令当被包括多个应用程序的便携式电子设备执行时,能够使该便携式电子设备执行图7所记载的方法。An embodiment of the present application also proposes a computer-readable storage medium, which stores one or more programs, and the one or more programs include instructions. When the instructions are executed by a portable electronic device including multiple applications, the portable electronic device can execute the method described in Figure 7.

实施例9Example 9

图19为本申请实施例提供的一种电子设备的结构示意图。FIG19 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.

本申请实施例提供的电子设备在逻辑层面上形成基于即时通信的图片发送设备,其他结构与图10所示的电子设备相同,这里不再重复描述。The electronic device provided in the embodiment of the present application forms a picture sending device based on instant messaging at the logical level. Other structures are the same as the electronic device shown in Figure 10 and will not be repeated here.

图20为本申请实施例提供的一种基于即时通信的图片发送设备的结构示意图。所述图片发送设备包括:确定单元2001、编辑单元2002以及发送单元2003,其中:FIG20 is a schematic diagram of the structure of an instant messaging-based picture sending device provided in an embodiment of the present application. The picture sending device includes: a determination unit 2001, an editing unit 2002, and a sending unit 2003, wherein:

确定单元2001,确定目标图片;Determining unit 2001, determining a target image;

接收单元2002,根据使用第一通信客户端的用户的属性信息,在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为所述第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;The receiving unit 2002 edits the target image in a conversation window according to attribute information of a user using a first communication client to obtain an edited image, wherein the conversation window is a conversation window in which the first communication client interacts with another communication client, or a conversation window in which the first communication client interacts with multiple other communication clients;

发送单元2003,将所述编辑后的图片在所述会话窗口进行发送。The sending unit 2003 sends the edited picture in the conversation window.

图21为本申请实施例提供的一种基于即时通信的图片发送装置的结构示意图。装置2100可包括:通道接口2101和处理器2102,可选地,包括存储器2103。FIG21 is a schematic diagram of the structure of an instant messaging-based picture sending device provided in an embodiment of the present application. The device 2100 may include: a channel interface 2101 and a processor 2102 , and optionally, a memory 2103 .

通道接口2101、处理器2102和存储器2103可以通过总线2104系统相互连接。总线2104可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(ExtendedIndustry Standard Architecture,扩展工业标准结构)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图21中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。The channel interface 2101, processor 2102, and memory 2103 can be interconnected via a bus 2104 system. Bus 2104 can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus. These buses can be classified as address buses, data buses, control buses, and the like. For ease of illustration, FIG21 uses only one bidirectional arrow, but this does not imply that there is only one bus or only one type of bus.

可选地,包括存储器2103,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器2103可以包括只读存储器和随机存取存储器,并向处理器2102提供指令和数据。存储器2103可能包含高速随机存取存储器(Random-AccessMemory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器。Optionally, a memory 2103 is included for storing programs. Specifically, the program may include program code, which includes computer operating instructions. The memory 2103 may include read-only memory and random access memory, and provides instructions and data to the processor 2102. The memory 2103 may include high-speed random access memory (RAM) and may also include non-volatile memory (non-volatile memory), such as at least one disk storage.

处理器2102,用于执行以下操作,可选地,执行存储器2103所存放的程序,并具体用于执行以下操作:The processor 2102 is configured to perform the following operations, optionally executing a program stored in the memory 2103, and specifically to perform the following operations:

确定目标图片;Determine the target image;

根据使用第一通信客户端的用户的属性信息,在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为所述第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;Editing the target image in a conversation window according to attribute information of a user using the first communication client to obtain an edited image, wherein the conversation window is a conversation window in which the first communication client interacts with another communication client, or a conversation window in which the first communication client interacts with multiple other communication clients;

将所述编辑后的图片在所述会话窗口进行发送。The edited picture is sent in the conversation window.

上述如本申请图9和图19-20所示实施例揭示的基于即时通信的图片发送设备或管理者(Master)节点执行的方法可以应用于处理器2102中,或者由处理器2102实现。处理器2102可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器2102中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器2102可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器2103,处理器2102读取存储器2103中的信息,结合其硬件完成上述方法的步骤。The method performed by the instant messaging-based picture sending device or the manager (Master) node disclosed in the embodiments shown in Figures 9 and 19-20 of the present application can be applied to the processor 2102 or implemented by the processor 2102. The processor 2102 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by the hardware integrated logic circuit in the processor 2102 or by instructions in the form of software. The above-mentioned processor 2102 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The various methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of this application can be directly implemented as being executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in memory 2103, and processor 2102 reads the information in memory 2103 and, in conjunction with its hardware, completes the steps of the above method.

基于即时通信的图片发送装置2100还可执行图9的方法,并实现管理者节点执行的方法。The instant messaging-based picture sending device 2100 can also execute the method of FIG9 and implement the method executed by the manager node.

本申请实施例还提出了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序包括指令,该指令当被包括多个应用程序的便携式电子设备执行时,能够使该便携式电子设备执行图9所记载的方法。An embodiment of the present application also proposes a computer-readable storage medium, which stores one or more programs, and the one or more programs include instructions. When the instructions are executed by a portable electronic device including multiple applications, the portable electronic device can execute the method described in Figure 9.

上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable GateArray,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware DescriptionLanguage)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(RubyHardware Description Language)等,目前最普遍使用的是VHDL(Very-High-SpeedIntegrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, technological improvements could be clearly distinguished as either hardware improvements (for example, improvements to circuit structures like diodes, transistors, and switches) or software improvements (improvements to process flows). However, with the advancement of technology, many process flow improvements today can now be considered direct improvements to hardware circuit structures. Designers almost always create the corresponding hardware circuit structure by programming the improved process flow into the hardware circuit. Therefore, it cannot be said that a process flow improvement cannot be implemented using hardware modules. For example, a programmable logic device (PLD), such as a field programmable gate array (FPGA), is an integrated circuit whose logical function is determined by user programming. Designers can "integrate" a digital system on a PLD through their own programming, without having to hire a chip manufacturer to design and manufacture a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly done using "logic compiler" software. This is similar to the software compiler used when developing programs. Before compilation, the original code must also be written in a specific programming language, called a hardware description language (HDL). There is not just one HDL, but many, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art will also understand that by simply programming the method flow in one of these hardware description languages and then programming it into an integrated circuit, a hardware circuit that implements the logic method flow can be easily obtained.

控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller can be implemented in any suitable manner. For example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also know that in addition to implementing the controller in a purely computer-readable program code format, the controller can be implemented in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, such a controller can be considered a hardware component, and the devices included therein for implementing various functions can also be considered as structures within the hardware component. Or even, the devices for implementing various functions can be considered as both software modules that implement the method and structures within the hardware component.

上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, the above devices are described as being divided into various units according to their functions. Of course, when implementing this application, the functions of each unit can be implemented in the same or multiple software and/or hardware.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to the flow chart and/or block diagram of the method, device (system), and computer program product according to the embodiment of the present application. It should be understood that each flow process and/or box in the flow chart and/or block diagram and the combination of the flow process and/or box in the flow chart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processing machine or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one flow chart flow or multiple flows and/or one box or multiple boxes of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and/or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communications network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.

以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.

Claims (25)

1.一种基于即时通信的表情图片发送方法,包括:1. A method for sending emoticons based on instant messaging, comprising: 第一通信客户端接收第二通信客户端发送的表情图片;The first communication client receives emoticon images sent by the second communication client; 所述第一通信客户端接收对所述表情图片的编辑指令,所述编辑指令由用户对与所述第二通信客户端的会话窗口所显示的针对所述表情图片进行编辑的编辑选项进行选择得到;The first communication client receives an editing instruction for the emoticon image, which is obtained by the user selecting editing options for editing the emoticon image displayed in the conversation window with the second communication client; 所述第一通信客户端根据所述编辑指令,在所述第一通信客户端与所述第二通信客户端交互的会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;The first communication client edits the emoticon image in the conversation window between the first communication client and the second communication client according to the editing instruction, and obtains the edited emoticon image; 所述第一通信客户端将所述编辑后的表情图片发送给所述第二通信客户端。The first communication client sends the edited emoticon image to the second communication client. 2.如权利要求1所述的表情图片发送方法,所述第一通信客户端接收对所述表情图片的编辑指令,包括:2. The method for sending emoticons as described in claim 1, wherein the first communication client receives editing instructions for the emoticon image, including: 所述第一通信客户端在监测到用户对所述表情图片的设定操作时,在所述会话窗口显示针对所述表情图片进行编辑的编辑选项,所述设定操作包括:单击操作、双击操作或长按操作;When the first communication client detects a user's setting operation on the emoticon image, it displays editing options for editing the emoticon image in the conversation window. The setting operation includes: single-click operation, double-click operation, or long-press operation. 所述第一通信客户端接收对所述表情图片的编辑指令,所述编辑指令由所述用户对所述编辑选项进行选择得到。The first communication client receives an editing instruction for the emoticon image, the editing instruction being obtained by the user selecting the editing options. 3.如权利要求2所述的表情图片发送方法,3. The method for sending emoticons as described in claim 2, 所述编辑选项以浮层或下拉菜单的方式显示在所述会话窗口中,所述编辑选项包括:反向、模糊、变形以及旋转中的至少一个。The editing options are displayed in the session window as a floating layer or a drop-down menu, and the editing options include at least one of: reverse, blur, deform, and rotate. 4.一种基于即时通信的表情图片的发送方法,包括:4. A method for sending emoticons based on instant messaging, comprising: 第一通信客户端在会话窗口接收第二通信客户端发送的表情图片,所述会话窗口为群组的会话窗口;The first communication client receives emoticon images sent by the second communication client in a chat window, where the chat window is a group chat window; 所述第一通信客户端接收对所述表情图片的编辑指令,所述编辑指令由用户对与所述第二通信客户端的会话窗口所显示的针对所述表情图片进行编辑的编辑选项进行选择得到;The first communication client receives an editing instruction for the emoticon image, which is obtained by the user selecting editing options for editing the emoticon image displayed in the conversation window with the second communication client; 所述第一通信客户端根据所述编辑指令,在所述会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;The first communication client edits the emoticon image in the conversation window according to the editing command to obtain the edited emoticon image; 所述第一通信客户端将所述编辑后的表情图片在所述会话窗口进行发送。The first communication client sends the edited emoticon image in the chat window. 5.一种基于即时通信的图片发送方法,包括:5. A method for sending images based on instant messaging, comprising: 第一通信客户端确定目标图片;The first communication client identifies the target image; 所述第一通信客户端接收对所述目标图片的编辑指令,所述编辑指令由用户对与第二通信客户端的会话窗口所显示的针对所述目标图片进行编辑的编辑选项进行选择得到;The first communication client receives an editing instruction for the target image, which is obtained by the user selecting editing options for editing the target image displayed in the session window with the second communication client; 所述第一通信客户端根据所述编辑指令在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为所述第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;The first communication client edits the target image in the session window according to the editing instructions to obtain the edited image. The session window is a session window in which the first communication client interacts with another communication client, or a session window in which the first communication client interacts with multiple other communication clients. 所述第一通信客户端将所述编辑后的图片在所述会话窗口进行发送。The first communication client sends the edited image in the session window. 6.如权利要求5所述的图片发送方法,第一通信客户端确定目标图片,包括:6. The image sending method as described in claim 5, wherein the first communication client determines the target image, including: 所述第一通信客户端接收第二通信客户端发送的图片,并将所述第二通信客户端发送的图片确定为所述目标图片;或,The first communication client receives an image sent by the second communication client and identifies the image sent by the second communication client as the target image; or, 所述第一通信客户端确定已发送给所述第二通信客户端的图片,并将所述已发送的图片确定为所述目标图片;或,The first communication client determines that the image has been sent to the second communication client, and identifies the sent image as the target image; or, 所述第一通信客户端确定图片库中包含的图片,并将所述图片确定为所述目标图片。The first communication client determines the images contained in the image library and identifies those images as the target images. 7.如权利要求6所述的图片发送方法,所述第一通信客户端接收对所述目标图片的编辑指令,包括:7. The image sending method as described in claim 6, wherein the first communication client receives editing instructions for the target image, including: 所述第一通信客户端监测用户对所述目标图片的操作,所述用户为使用所述第一通信客户端的用户;The first communication client monitors the user's operations on the target image, where the user is a user using the first communication client; 所述第一通信客户端在监测到所述用户对所述目标图片进行设定操作时,在所述会话窗口显示对所述目标图片进行编辑的编辑选项;When the first communication client detects that the user has performed a setting operation on the target image, it displays editing options for editing the target image in the session window; 所述第一通信客户端接收所述用户对所述目标图片的编辑指令,所述编辑指令由所述用户对所述编辑选项进行选择得到。The first communication client receives the user's editing instructions for the target image, the editing instructions being obtained by the user selecting the editing options. 8.如权利要求7所述的图片发送方法,8. The image sending method as described in claim 7, 所述设定操作包括:单击操作、双击操作或长按操作。The settings include: single-click operation, double-click operation, or long-press operation. 9.如权利要求7所述的图片发送方法,9. The image sending method as described in claim 7, 所述编辑选项以浮层或下拉菜单的方式显示在所述会话窗口中,所述编辑选项包括:反向、模糊、变形以及旋转中的至少一个。The editing options are displayed in the session window as a floating layer or a drop-down menu, and the editing options include at least one of: reverse, blur, deform, and rotate. 10.如权利要求5至9任一项所述的图片发送方法,所述第一通信客户端在得到编辑后的图片之后,并在发送所述编辑后的图片之前,所述方法还包括:10. The image sending method according to any one of claims 5 to 9, wherein after the first communication client receives the edited image but before sending the edited image, the method further comprises: 将所述编辑后的图片进行显示,使得使用所述第一通信客户端的用户预览所述编辑后的图片。The edited image is displayed so that the user using the first communication client can preview the edited image. 11.如权利要求10所述的图片发送方法,所述第一通信客户端将所述编辑后的图片进行显示时,所述方法还包括:11. The image sending method as described in claim 10, wherein when the first communication client displays the edited image, the method further includes: 向所述用户显示设置选项,所述设置选项用于所述用户对所述编辑后的图片的属性进行设置;Display settings options to the user, which are used by the user to set the attributes of the edited image; 接收所述用户发送的设置指令,所述设置指令由所述用户对所述设置选项进行选择得到;Receive a setting instruction sent by the user, wherein the setting instruction is obtained by the user selecting the setting option; 根据所述设置指令在所述会话窗口中对所述编辑后的图片进行设置,得到设置后的图片。The edited image is configured according to the configuration instructions in the session window to obtain the configured image. 12.如权利要求11所述的图片发送方法,所述第一通信客户端将所述编辑后的图片在所述会话窗口进行发送,包括:12. The image sending method as described in claim 11, wherein the first communication client sends the edited image in the session window, comprising: 所述第一通信客户端接收所述用户发送的确认指令,所述确认指令为所述用户在预览所述编辑后的图片后发送的;The first communication client receives a confirmation instruction sent by the user after the user previews the edited image; 所述第一通信客户端根据所述确认指令,将所述编辑后的图片在所述会话窗口进行发送。The first communication client sends the edited image in the session window according to the confirmation instruction. 13.一种基于即时通信的图片发送方法,包括:13. A method for sending pictures based on instant messaging, comprising: 第一通信客户端确定目标图片;The first communication client identifies the target image; 所述第一通信客户端根据使用所述第一通信客户端的用户的属性信息,在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为所述第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;The first communication client edits the target image in a session window based on the attribute information of the user using the first communication client, and obtains the edited image. The session window is a session window in which the first communication client interacts with another communication client, or a session window in which the first communication client interacts with multiple other communication clients. 所述第一通信客户端将所述编辑后的图片在所述会话窗口进行发送。The first communication client sends the edited image in the session window. 14.一种基于即时通信的表情图片发送设备,包括:14. A device for sending emoticons based on instant messaging, comprising: 图片接收单元,接收第二通信客户端发送的表情图片;The image receiving unit receives emoticon images sent by the second communication client; 指令接收单元,接收对所述表情图片的编辑指令所述编辑指令由用户对与所述第二通信客户端的会话窗口所显示的针对所述表情图片进行编辑的编辑选项进行选择得到;The instruction receiving unit receives an editing instruction for the emoticon image. The editing instruction is obtained by the user selecting editing options for editing the emoticon image displayed in the session window with the second communication client. 编辑单元,根据所述编辑指令,在第一通信客户端与所述第二通信客户端交互的会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;The editing unit edits the emoticon image in the conversation window between the first communication client and the second communication client according to the editing instructions, and obtains the edited emoticon image; 发送单元,将所述编辑后的表情图片发送给所述第二通信客户端。The sending unit sends the edited emoticon image to the second communication client. 15.一种基于即时通信的表情图片发送装置,包括:存储器和处理器,其中:15. An emoticon image sending device based on instant messaging, comprising: a memory and a processor, wherein: 存储器,用于存放程序;Memory, used to store programs; 处理器,用于执行所述存储器存储的程序,并具体执行:The processor is used to execute the program stored in the memory, and specifically perform the following: 接收第二通信客户端发送的表情图片;Receive emoticons sent by the second communication client; 接收对所述表情图片的编辑指令,所述编辑指令由用户对与所述第二通信客户端的会话窗口所显示的针对所述表情图片进行编辑的编辑选项进行选择得到;The system receives an editing instruction for the emoticon image, which is obtained by the user selecting editing options for editing the emoticon image displayed in the session window with the second communication client. 根据所述编辑指令,在第一通信客户端与所述第二通信客户端交互的会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;According to the editing instructions, the emoticon image is edited in the conversation window between the first communication client and the second communication client to obtain the edited emoticon image; 将所述编辑后的表情图片发送给所述第二通信客户端。The edited emoticon image is sent to the second communication client. 16.一种计算机可读存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下方法:16. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including multiple applications, cause the electronic device to perform the following method: 接收第二通信客户端发送的表情图片;Receive emoticons sent by the second communication client; 接收对所述表情图片的编辑指令,所述编辑指令由用户对与所述第二通信客户端的会话窗口所显示的针对所述表情图片进行编辑的编辑选项进行选择得到;The system receives an editing instruction for the emoticon image, which is obtained by the user selecting editing options for editing the emoticon image displayed in the session window with the second communication client. 根据所述编辑指令,在第一通信客户端与所述第二通信客户端交互的会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;According to the editing instructions, the emoticon image is edited in the conversation window between the first communication client and the second communication client to obtain the edited emoticon image; 将所述编辑后的表情图片发送给所述第二通信客户端。The edited emoticon image is sent to the second communication client. 17.一种基于即时通信的表情图片发送设备,包括:17. A device for sending emoticons based on instant messaging, comprising: 图片接收单元,在会话窗口接收第二通信客户端发送的表情图片,所述会话窗口为群组的会话窗口;The image receiving unit receives emoticon images sent by the second communication client in a session window, wherein the session window is a group session window; 指令接收单元,接收对所述表情图片的编辑指令,所述编辑指令由用户对与所述第二通信客户端的会话窗口所显示的针对所述表情图片进行编辑的编辑选项进行选择得到;The instruction receiving unit receives an editing instruction for the emoticon image, wherein the editing instruction is obtained by the user selecting editing options for editing the emoticon image displayed in the session window with the second communication client; 编辑单元,根据所述编辑指令,在所述会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;The editing unit edits the emoticon image in the conversation window according to the editing instructions to obtain the edited emoticon image; 发送单元,将所述编辑后的表情图片在所述会话窗口进行发送。The sending unit sends the edited emoticon image to the chat window. 18.一种基于即时通信的表情图片发送装置,包括:存储器和处理器,其中:18. An emoticon image sending device based on instant messaging, comprising: a memory and a processor, wherein: 存储器,用于存放程序;Memory, used to store programs; 处理器,用于执行所述存储器存储的程序,并具体执行:The processor is used to execute the program stored in the memory, and specifically perform the following: 在会话窗口接收第二通信客户端发送的表情图片,所述会话窗口为群组的会话窗口;The conversation window receives emoticon images sent by the second communication client; the conversation window is a group conversation window. 接收对所述表情图片的编辑指令,所述编辑指令由用户对与所述第二通信客户端的会话窗口所显示的针对所述表情图片进行编辑的编辑选项进行选择得到;The system receives an editing instruction for the emoticon image, which is obtained by the user selecting editing options for editing the emoticon image displayed in the conversation window with the second communication client; 根据所述编辑指令,在所述会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;According to the editing instructions, the emoticon image is edited in the chat window to obtain the edited emoticon image; 将所述编辑后的表情图片在所述会话窗口进行发送。Send the edited emoticon image in the chat window. 19.一种计算机可读存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下方法:19. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including multiple application programs, cause the electronic device to perform the following method: 在会话窗口接收第二通信客户端发送的表情图片,所述会话窗口为群组的会话窗口;The conversation window receives emoticon images sent by the second communication client; the conversation window is a group conversation window. 接收对所述表情图片的编辑指令,所述编辑指令由用户对与所述第二通信客户端的会话窗口所显示的针对所述表情图片进行编辑的编辑选项进行选择得到;The system receives an editing instruction for the emoticon image, which is obtained by the user selecting editing options for editing the emoticon image displayed in the session window with the second communication client. 根据所述编辑指令,在所述会话窗口中对所述表情图片进行编辑,得到编辑后的表情图片;According to the editing instructions, the emoticon image is edited in the chat window to obtain the edited emoticon image; 将所述编辑后的表情图片在所述会话窗口进行发送。Send the edited emoticon image in the chat window. 20.一种基于即时通信的图片发送设备,包括:20. A picture sending device based on instant messaging, comprising: 确定单元,确定目标图片;Define the unit and the target image; 接收单元,接收对所述目标图片的编辑指令,所述编辑指令由用户对与第二通信客户端的会话窗口所显示的针对所述目标图片进行编辑的编辑选项进行选择得到;The receiving unit receives editing instructions for the target image, wherein the editing instructions are obtained by the user selecting editing options for editing the target image displayed in the session window of the second communication client; 编辑单元,根据所述编辑指令在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;The editing unit edits the target image in the session window according to the editing instructions to obtain the edited image. The session window is a session window in which the first communication client interacts with another communication client, or a session window in which the first communication client interacts with multiple other communication clients. 发送单元,将所述编辑后的图片在所述会话窗口进行发送。The sending unit sends the edited image to the session window. 21.一种基于即时通信的图片发送装置,包括:存储器和处理器,其中:21. A picture sending device based on instant messaging, comprising: a memory and a processor, wherein: 存储器,用于存放程序;Memory, used to store programs; 处理器,用于执行所述存储器存储的程序,并具体执行:The processor is used to execute the program stored in the memory, and specifically perform the following: 确定目标图片;Identify the target image; 接收对所述目标图片的编辑指令,所述编辑指令由用户对与第二通信客户端的会话窗口所显示的针对所述目标图片进行编辑的编辑选项进行选择得到;The system receives editing instructions for the target image, which are obtained by the user selecting editing options for editing the target image displayed in the session window of the second communication client. 根据所述编辑指令在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;The target image is edited in the session window according to the editing instructions to obtain the edited image. The session window is a session window in which the first communication client interacts with another communication client, or a session window in which the first communication client interacts with multiple other communication clients. 将所述编辑后的图片在所述会话窗口进行发送。Send the edited image in the chat window. 22.一种计算机可读存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下方法:22. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including a plurality of applications, cause the electronic device to perform the following method: 确定目标图片;Identify the target image; 接收对所述目标图片的编辑指令,所述编辑指令由用户对与第二通信客户端的会话窗口所显示的针对所述目标图片进行编辑的编辑选项进行选择得到;The system receives editing instructions for the target image, which are obtained by the user selecting editing options for editing the target image displayed in the session window of the second communication client. 根据所述编辑指令在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;The target image is edited in the session window according to the editing instructions to obtain the edited image. The session window is a session window in which the first communication client interacts with another communication client, or a session window in which the first communication client interacts with multiple other communication clients. 将所述编辑后的图片在所述会话窗口进行发送。Send the edited image in the chat window. 23.一种基于即时通信的图片发送设备,包括:23. A picture sending device based on instant messaging, comprising: 确定单元,确定目标图片;Define the unit and the target image; 编辑单元,根据使用第一通信客户端的用户的属性信息,在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为所述第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;The editing unit edits the target image in a session window based on the attribute information of the user using the first communication client to obtain the edited image. The session window is either a session window in which the first communication client interacts with another communication client, or a session window in which the first communication client interacts with multiple other communication clients. 发送单元,将所述编辑后的图片在所述会话窗口进行发送。The sending unit sends the edited image to the session window. 24.一种基于即时通信的图片发送装置,包括:存储器和处理器,其中:24. A picture sending device based on instant messaging, comprising: a memory and a processor, wherein: 存储器,用于存放程序;Memory, used to store programs; 处理器,用于执行所述存储器存储的程序,并具体执行:The processor is used to execute the program stored in the memory, and specifically perform the following: 确定目标图片;Identify the target image; 根据使用第一通信客户端的用户的属性信息,在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为所述第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;Based on the attribute information of the user using the first communication client, the target image is edited in the session window to obtain the edited image. The session window is either a session window in which the first communication client interacts with another communication client, or a session window in which the first communication client interacts with multiple other communication clients. 将所述编辑后的图片在所述会话窗口进行发送。Send the edited image in the chat window. 25.一种计算机可读存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下方法:25. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including a plurality of applications, cause the electronic device to perform the following method: 确定目标图片;Identify the target image; 根据使用第一通信客户端的用户的属性信息,在会话窗口中对所述目标图片进行编辑,得到编辑后的图片,所述会话窗口为所述第一通信客户端与其他一个通信客户端交互的会话窗口,或所述第一通信客户端与其他多个通信客户端交互的会话窗口;Based on the attribute information of the user using the first communication client, the target image is edited in the session window to obtain the edited image. The session window is either a session window in which the first communication client interacts with another communication client, or a session window in which the first communication client interacts with multiple other communication clients. 将所述编辑后的图片在所述会话窗口进行发送。Send the edited image in the chat window.
HK18107748.0A 2018-06-14 Image sending method and device based on instant messaging HK1248929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
HK18107748.0A HK1248929B (en) 2018-06-14 Image sending method and device based on instant messaging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
HK18107748.0A HK1248929B (en) 2018-06-14 Image sending method and device based on instant messaging

Publications (2)

Publication Number Publication Date
HK1248929A1 HK1248929A1 (en) 2018-10-19
HK1248929B true HK1248929B (en) 2021-03-26

Family

ID=

Similar Documents

Publication Publication Date Title
TWI677215B (en) Image transmission method and device based on instant communication
CN109782976B (en) File processing method, device, terminal and storage medium
US10761680B2 (en) Display method of scenario emoticon using instant message service and user device therefor
CN106716954B (en) Real-time sharing method, system and computer readable memory during phone call
US12183370B2 (en) Video generation method and apparatus, device, and storage medium
CN110069620A (en) Comment information methods of exhibiting, device, electronic equipment and medium
CN111597000A (en) Small window management method and terminal
WO2017120894A1 (en) Display method and terminal
US20190004676A1 (en) Method and device for switching input modes
CN106105174B (en) Automatic camera selection
CN113810760A (en) Method, electronic device and computer-readable storage medium for controlling screen projection
CN103905909A (en) Video preview display method and terminal device
JP2025501700A (en) Video generation method, device, electronic device, and storage medium
JP7680561B2 (en) Inter-process information processing method, controller, terminal, and storage medium
CN114911442B (en) Screen projection method, device, terminal, equipment, computer medium and program product
CN106528735A (en) Method and device for controlling browser to play media resources
TW201541993A (en) Playback of interconnected videos
JP2025522655A (en) Method, apparatus, device, and storage medium for video recommendation - Patents.com
CN112866085B (en) Resource transmission method and device
WO2022194070A1 (en) Video processing method for application, and electronic device
CN112640404A (en) Bendable mobile terminal and information notification method thereof
HK1248929B (en) Image sending method and device based on instant messaging
CN116931800B (en) Page control method, device, electronic equipment and storage medium
WO2025002071A1 (en) Interaction method and related apparatus
HK1248929A1 (en) Image sending method and device based on instant messaging