技术领域Technical Field
本申请属于通信技术领域,具体涉及一种信息发送方法和信息发送装置。The present application belongs to the field of communication technology, and specifically relates to an information sending method and an information sending device.
背景技术Background Art
日常生活中,用户在终端设备上使用社交应用与其他用户聊天已成为重要的交流方式。In daily life, users use social applications on terminal devices to chat with other users, which has become an important way of communication.
当聊天对象拥有多个聊天账号时,用户难以确定该向哪个账号发送信息才能联系到聊天对象;相关技术中,用户通常会向聊天对象在近期内使用频繁的账号发送信息,然后等待聊天对象回复,或者依次向每个聊天账号发送信息,这样既浪费时间,也难以快速、准确地联系到聊天对象,导致用户体验差。When a chat partner has multiple chat accounts, it is difficult for the user to determine which account to send a message to in order to contact the chat partner; in related technologies, users usually send messages to the account that the chat partner has used frequently in the recent period, and then wait for the chat partner to reply, or send messages to each chat account in turn, which not only wastes time, but also makes it difficult to quickly and accurately contact the chat partner, resulting in a poor user experience.
发明内容Summary of the invention
本申请实施例的目的是提供一种信息发送方法和信息发送装置,能够解决用户难以和拥有多个聊天账号的聊天对象快速、准确地取得联系的问题。The purpose of the embodiments of the present application is to provide an information sending method and an information sending device, which can solve the problem that it is difficult for a user to quickly and accurately contact a chat partner who has multiple chat accounts.
第一方面,本申请实施例提供了一种信息发送方法,该方法包括:In a first aspect, an embodiment of the present application provides a method for sending information, the method comprising:
接收用户在与所述用户建立关联关系的多个联系人中的任一联系人的第一界面的第一输入;Receiving a first input from a user on a first interface of any one of a plurality of contacts with which the user has established an association;
响应于所述第一输入,向所述多个联系人发送第一信息;In response to the first input, sending a first message to the plurality of contacts;
在接收到第一联系人回复的第二信息的情况下,接收用户在所述第一界面的第二输入,所述第一联系人为所述多个联系人中的任一联系人;In a case where a second message replied by a first contact is received, receiving a second input of the user on the first interface, where the first contact is any one of the multiple contacts;
响应于所述第二输入,向所述第一联系人发送第三信息,且停止向所述多个联系人中除所述第一联系人之外的其他联系人发送所述第三信息。In response to the second input, third information is sent to the first contact, and sending the third information to other contacts among the multiple contacts except the first contact is stopped.
第二方面,本申请实施例提供了一种信息发送装置,该装置包括:In a second aspect, an embodiment of the present application provides an information sending device, the device comprising:
第一接收模块,用于接收用户在与所述用户建立关联关系的多个联系人中的任一联系人的第一界面的第一输入;A first receiving module, configured to receive a first input from a user on a first interface of any one of a plurality of contacts with which the user has established an association;
第一处理模块,用于响应所述第一输入,向所述多个联系人发送第一信息;A first processing module, configured to send a first message to the plurality of contacts in response to the first input;
第二接收模块,用于在接收到第一联系人回复的第二信息的情况下,接收用户在所述第一界面的第二输入,所述第一联系人为所述多个联系人中的任一联系人;A second receiving module is used to receive a second input of the user on the first interface when receiving a second message replied by the first contact, where the first contact is any one of the multiple contacts;
第二处理模块,用于响应所述第二输入,向所述第一联系人发送第三信息,且停止向所述多个联系人中除所述第一联系人之外的其他联系人发送所述第三信息。The second processing module is configured to send third information to the first contact in response to the second input, and stop sending the third information to other contacts among the multiple contacts except the first contact.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
在本申请实施例中,通过向建立关联关系的多个联系人同时发送第一信息并接收多个联系人中的一个联系人发送第二信息,确定第一联系人,然后仅向该第一联系人发送第三信息,而不再向除第一联系人外的其他联系人发送第三信息,这样能够从多个联系人中快速确定需要聊天的对象,提升了用户的聊天体验。In an embodiment of the present application, by simultaneously sending a first message to multiple contacts with established associations and receiving a second message from one of the multiple contacts, the first contact is determined, and then the third message is sent only to the first contact, and the third message is no longer sent to other contacts except the first contact. In this way, the object to be chatted with can be quickly determined from multiple contacts, thereby improving the user's chat experience.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例提供的信息发送方法的流程示意图;FIG1 is a schematic diagram of a flow chart of an information sending method provided in an embodiment of the present application;
图2是本申请实施例提供的信息发送方法的交互示意图;FIG2 is an interactive schematic diagram of an information sending method provided in an embodiment of the present application;
图3是本申请实施例提供的信息发送的界面示意图之一;FIG3 is one of the interface schematic diagrams of information sending provided in an embodiment of the present application;
图4是本申请实施例提供的信息发送的界面示意图之二;FIG4 is a second schematic diagram of an interface for sending information provided in an embodiment of the present application;
图5是本申请实施例提供的信息发送的界面示意图之三;FIG5 is a third schematic diagram of an interface for sending information provided in an embodiment of the present application;
图6是本申请实施例提供的信息发送的界面示意图之四;FIG6 is a fourth schematic diagram of an interface for sending information provided in an embodiment of the present application;
图7是本申请实施例提供的信息发送的界面示意图之五;FIG7 is a fifth schematic diagram of an interface for sending information provided in an embodiment of the present application;
图8是本申请实施例提供的信息发送的界面示意图之六;FIG8 is a sixth schematic diagram of an interface for sending information provided in an embodiment of the present application;
图9是本申请实施例提供的信息发送装置的结构示意图;FIG9 is a schematic diagram of the structure of an information sending device provided in an embodiment of the present application;
图10是本申请实施例提供的电子设备的结构示意图;FIG10 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
图11是本申请实施例提供的电子设备的硬件示意图。FIG. 11 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
具体实施方式DETAILED DESCRIPTION
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally indicates that the objects associated with each other are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的信息发送方法和信息发送装置进行详细地说明。The information sending method and information sending device provided in the embodiments of the present application are described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
其中,信息发送方法可应用于终端,具体可由,终端中的硬件或软件执行。The information sending method may be applied to a terminal, and may be specifically executed by hardware or software in the terminal.
该终端包括但不限于具有触摸敏感表面(例如,触摸屏显示器和/或触摸板)的移动电话或平板电脑等其它便携式通信设备。还应当理解的是,在某些实施例中,该终端可以不是便携式通信设备,而是具有触摸敏感表面(例如,触摸屏显示器和/或触摸板)的台式计算机。The terminal includes but is not limited to other portable communication devices such as mobile phones or tablet computers with touch-sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the terminal may not be a portable communication device, but a desktop computer with a touch-sensitive surface (e.g., touch screen displays and/or touch pads).
以下各个实施例中,描述了包括显示器和触摸敏感表面的终端。然而,应当理解的是,终端可以包括诸如物理键盘、鼠标和控制杆的一个或多个其它物理用户接口设备。In the following various embodiments, a terminal including a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, a mouse and a joystick.
可以理解的是,终端在正常工作时,用户可以打开目标社交应用(application,APP)的聊天界面。It is understandable that when the terminal is working normally, the user can open the chat interface of the target social application (application, APP).
其中,目标社交应用可以是具有即时通信功能的APP,例如即时通讯APP。目标社交应用可以支持单对单聊天,也可以支持多人群聊;目标社交应用可以是同类型的应用,聊天用户在该类应用上打开各自的聊天界面进行聊天,目标社交应用也可以是不同类型但支持信息互通的应用,聊天用户在各自社交应用的聊天界面打开信息互通界面进行聊天,此处不做限制。The target social application may be an APP with an instant messaging function, such as an instant messaging APP. The target social application may support one-on-one chat or multi-person group chat; the target social application may be an application of the same type, and the chat users open their respective chat interfaces on the application to chat; the target social application may also be an application of a different type but supporting information exchange, and the chat users open the information exchange interface on the chat interface of their respective social applications to chat, and there is no restriction here.
聊天界面按照联系人区分,在双人聊天的场景下,第一联系人可以为拥有多个账户的同一联系人,在群聊场景下,第一联系人可以为多个联系人形成的群组,其中多个联系人可以是同一联系人的不同账户,也可以是不同联系人。The chat interface is divided according to contacts. In a two-person chat scenario, the first contact can be the same contact with multiple accounts. In a group chat scenario, the first contact can be a group formed by multiple contacts, where the multiple contacts can be different accounts of the same contact or different contacts.
本申请实施例的信息发送方法可以应用于单对单聊天场景下,在该场景下,上述第一联系人可以是某一个联系人,聊天界面为用户与第一联系人的双人聊天界面,该实施例的信息发送方法用于实现对单个联系人的信息分享。The information sending method of the embodiment of the present application can be applied to a one-to-one chat scenario. In this scenario, the above-mentioned first contact can be a certain contact, and the chat interface is a two-person chat interface between the user and the first contact. The information sending method of this embodiment is used to realize information sharing with a single contact.
本申请实施例的信息发送方法还可以应用于群聊场景下,在该场景下,上述第一联系人可以包括多个联系人,聊天界面为用户与多个联系人的群聊界面,该实施例的信息发送方法用于实现对多个联系人的信息分享。The information sending method of the embodiment of the present application can also be applied to a group chat scenario. In this scenario, the above-mentioned first contact may include multiple contacts, and the chat interface is a group chat interface between the user and multiple contacts. The information sending method of this embodiment is used to realize information sharing with multiple contacts.
如图3-图8所示,聊天界面可以包括聊天显示区域和信息编辑框,聊天显示区域用于显示聊天记录和联系人标识等,或者聊天显示区域用于显示聊天记录和群聊标识等。As shown in Figures 3-8, the chat interface may include a chat display area and an information editing box, the chat display area is used to display chat records and contact identification, etc., or the chat display area is used to display chat records and group chat identification, etc.
聊天记录可以包括文本信息、图片信息、视频信息、音频信息和文档信息等。联系人标识包括但不限于联系人头像和联系人昵称等。群聊标识包括但不限于群聊名称、用于对群聊天界面进行标识的图形符号和该聊天群内各个联系人的联系人头像等。Chat records may include text information, picture information, video information, audio information, and document information, etc. Contact identification includes, but is not limited to, contact avatars and contact nicknames, etc. Group chat identification includes, but is not limited to, group chat names, graphic symbols used to identify group chat interfaces, and contact avatars of each contact in the chat group, etc.
需要说明的是,终端可以将聊天记录按照时间先后顺序显示于聊天显示区域。It should be noted that the terminal can display the chat records in the chat display area in chronological order.
信息编辑框用于供用户输入聊天信息。信息编辑框可以支持用户输入文本、图片、视频、语音和文档等聊天信息。当用户在信息编辑框内输入聊天信息并触发信息编辑框中的发送选项后,终端将用户在信息编辑框内输入的聊天信息显示在聊天显示区域,以供其他联系人及用户自己查看。The message editing box is used for users to enter chat information. The message editing box can support users to enter chat information such as text, pictures, videos, voice and documents. When the user enters the chat information in the message editing box and triggers the send option in the message editing box, the terminal displays the chat information entered by the user in the message editing box in the chat display area for other contacts and the user to view.
本申请实施例提供的信息发送方法,该信息发送方法的执行主体可以为电子设备或者电子设备中能够实现该信息发送方法的功能模块或功能实体,本申请实施例提及的电子设备包括但不限于手机、平板电脑、电脑和可穿戴设备等,下面以电子设备作为执行主体为例对本申请实施例提供的信息发送方法进行说明。The information sending method provided in the embodiment of the present application may be executed by an electronic device or a functional module or functional entity in the electronic device that can implement the information sending method. The electronic devices mentioned in the embodiment of the present application include but are not limited to mobile phones, tablet computers, computers, and wearable devices. The information sending method provided in the embodiment of the present application is described below using an electronic device as an example of the execution subject.
如图1所示,该信息发送方法包括:步骤110、步骤120、步骤130和步骤140。As shown in FIG. 1 , the information sending method includes: step 110 , step 120 , step 130 and step 140 .
步骤110、接收用户在与用户建立关联关系的多个联系人中的任一联系人的第一界面的第一输入。Step 110: Receive a first input from a user on a first interface of any one of a plurality of contacts with which the user has established an association.
在该步骤中,接收用户在第一界面的第一输入,该第一界面为多个联系人中的一个联系人对应的界面,多个联系人建立了关联关系。In this step, a first input of a user on a first interface is received. The first interface is an interface corresponding to one of a plurality of contacts, and an association relationship is established between the plurality of contacts.
在该步骤中,第一界面是指用户向相关联的多个联系人中的目标联系人发送信息的界面,该界面上可以显示目标联系人的用户标识,也可以同时显示除目标联系人的其他联系人的用户标识,其中,用户标识可以是用户的名称、头像或联系方式等,在图3所示的实施例中,用户标识包括“张三”和“张思睿”。In this step, the first interface refers to an interface for a user to send information to a target contact among multiple associated contacts. The interface may display the user ID of the target contact, and may also display the user IDs of other contacts except the target contact at the same time, wherein the user ID may be the user's name, avatar or contact information, etc. In the embodiment shown in FIG. 3 , the user IDs include "Zhang San" and "Zhang Sirui".
在该步骤中,第一界面可以是聊天交互界面,该聊天交互界面可以是用户在聊天应用上打开用于与聊天对象发送信息的界面,发送的信息可以是文字、语音、图片或视频等非指令类信息,第一界面也可以是视频通话界面,还可以是语音通话界面。In this step, the first interface can be a chat interaction interface, which can be an interface opened by the user on the chat application to send information to the chat object. The information sent can be non-command information such as text, voice, picture or video. The first interface can also be a video call interface or a voice call interface.
在该步骤中,相关联的多个联系人可以是拥有多个不同账户的同一用户,也可以是不同的用户。In this step, the associated multiple contacts may be the same user with multiple different accounts, or may be different users.
下面,对相关联的多个联系人分别为同一用户和不同用户时的应用场景进行说明:The following describes the application scenarios when the associated multiple contacts are the same user and different users:
相关联的多个联系人可以是拥有多个账户的同一用户,例如,当用户需要在社交应用上与张三取得联系,且张三在用户的好友列表上有三个不同的账号时,用户可以将这三个账号同时关联得到关联后的聊天交互界面,并通过该聊天界面向张三的各账号发送信息,这样,张三在其任一账号上看到该信息并回复后,用户可以通过与张三回复信息时使用的账号与张三聊天。The associated multiple contacts can be the same user with multiple accounts. For example, when a user needs to contact Zhang San on a social application, and Zhang San has three different accounts on the user's friend list, the user can associate these three accounts at the same time to obtain an associated chat interaction interface, and send messages to Zhang San's various accounts through the chat interface. In this way, after Zhang San sees the message and replies on any of his accounts, the user can chat with Zhang San through the account used by Zhang San when replying to the message.
相关联的多个联系人也可以是多个不同的用户,例如,在一次山路探险中,用户需要与张三或李四取得联系,用户可以在社交应用上将张三的社交账号和李四的社交账号进行关联,用户再通过关联后的聊天交互界面向张三和李四同时发送消息,当张三或李四中的任一人回复消息时,用户就可以联系上回复消息的联系对象。The associated multiple contacts can also be multiple different users. For example, during a mountain adventure, the user needs to contact Zhang San or Li Si. The user can associate Zhang San's social account with Li Si's social account on the social application, and then send messages to Zhang San and Li Si at the same time through the associated chat interaction interface. When either Zhang San or Li Si replies to the message, the user can contact the contact person who replied to the message.
需要说明的是,多个联系人建立关联关系可以是将用户的联系人列表中的多个联系人进行关联,点击目标联系人的用户标识后,可以得到与目标联系人对应的关联界面,其中,该关联界面上可以显示目标联系人的用户标识,也可以显示除目标联系人的其他联系人的用户标识。It should be noted that establishing an association relationship between multiple contacts can be achieved by associating multiple contacts in the user's contact list. After clicking the user ID of the target contact, an association interface corresponding to the target contact can be obtained, wherein the association interface can display the user ID of the target contact, and can also display the user IDs of other contacts except the target contact.
在该步骤中,关联的方式可以是当用户向该关联界面内目标联系人发送第一信息时,自动向除目标联系人的其他联系人发送第一信息;也可以是当用户在目标时长内接收到第一联系人发送的第二信息后,用户仅向第一联系人发送的第三信息,而不向除第一联系人的其他联系人发送第三信息;其中,第一联系人为发送第二信息的联系人,第一联系人可以和目标联系人相同,也可以和目标联系人不同;目标时长的范围可以根据用户需求自定义设置,例如,将用户联系人列表上的联系人a和联系人b进行关联后,点击联系人a的头像,打开联系人a对应的关联界面,目标时长设置为1h,用户在关联界面向联系人a发送第一信息时,自动向联系人b发送第一信息,用户在0.5h后接收到联系人b发送的第二信息时,用户再仅向联系人b发送第三消息,此时,第三消息不会被自动发送至联系人a。In this step, the association method can be that when the user sends the first message to the target contact in the association interface, the first message is automatically sent to other contacts except the target contact; or when the user receives the second message sent by the first contact within the target time, the user only sends the third message to the first contact, and does not send the third message to other contacts except the first contact; wherein the first contact is the contact who sends the second message, and the first contact can be the same as the target contact or different from the target contact; the range of the target time can be customized according to user needs. For example, after associating contact a and contact b on the user's contact list, click on the avatar of contact a to open the association interface corresponding to contact a, and the target time is set to 1h. When the user sends the first message to contact a in the association interface, the first message is automatically sent to contact b. When the user receives the second message sent by contact b after 0.5h, the user only sends the third message to contact b. At this time, the third message will not be automatically sent to contact a.
需要说明的是,建立关联关系的方式可以是自动关联,例如,当多个联系人是同一用户的不同账户时,可以通过这些账户的共同特征来进行自动关联;其中,共同特征可以是该用户的姓名或者联系方式(电子邮箱、电话号码等);建立关联关系的方式也可以是手动关联,例如,通过手动选择将待关联的联系人,手动选择的联系人可以是不同的用户,也可以是同一用户的多个账户。It should be noted that the way to establish the association relationship can be automatic association. For example, when multiple contacts are different accounts of the same user, they can be automatically associated through the common characteristics of these accounts; wherein the common characteristics may be the name or contact information (email address, phone number, etc.) of the user; the way to establish the association relationship may also be manual association, for example, by manually selecting the contacts to be associated, and the manually selected contacts may be different users or multiple accounts of the same user.
在该步骤中,第一输入用于向建立关联关系的多个联系人发送第一信息。In this step, the first input is used to send first information to multiple contacts with established association relationships.
其中,第一输入可以为如下至少一种方式:The first input may be in at least one of the following ways:
其一,第一输入可以为触控输入,包括但不限于点击输入、滑动输入和按压输入等。First, the first input may be a touch input, including but not limited to a click input, a slide input, and a press input.
在该实施方式中,接收用户的第一输入,可以为接收用户在显示屏的触控操作。In this implementation, receiving the first input from the user may be receiving a touch operation of the user on the display screen.
为了降低用户误操作率,可以将显示屏的作用区域限定在特定的区域内,比如显示屏的空白区域。In order to reduce the user's error rate, the active area of the display screen can be limited to a specific area, such as a blank area of the display screen.
在该实施例中,用户在第一聊天交互界面上手写“找你有事”,可以在第一聊天交互界面的聊天区显示“找你有事”。In this embodiment, the user writes "I have something to talk to you about" on the first chat interaction interface, and "I have something to talk to you about" can be displayed in the chat area of the first chat interaction interface.
其二,该输入可以为实体按键输入。Secondly, the input may be a physical key input.
在该实施方式中,终端的机身上设有拼写汉字的实体按键,接收用户的第一输入,可以为接收用户按压对应的实体按键的操作;该输入还可以为同时按压多个实体案件的组合操作。In this embodiment, the terminal body is provided with physical keys for spelling Chinese characters, and receiving the user's first input can be an operation of receiving the user pressing the corresponding physical key; the input can also be a combined operation of pressing multiple physical keys at the same time.
其三,该输入可以为语音输入。Third, the input may be voice input.
该实施方式中,在打开第一聊天交互界面后,可以在接收到语音为“找你有事”后,在第一聊天交互界面的聊天区显示“找你有事”。In this implementation, after the first chat interaction interface is opened, after receiving a voice message "I have something to talk to you about", "I have something to talk to you about" can be displayed in the chat area of the first chat interaction interface.
当然,在其他实施例中,该输入也可以为其他形式,包括但不限于字符输入等,具体可根据实际需要决定,本实施例对此不作限定。Of course, in other embodiments, the input may also be in other forms, including but not limited to character input, etc., which can be determined according to actual needs and is not limited in this embodiment.
在一些实施例中,第一输入可以是单个输入,也可以是多个输入形式的组合输入。In some embodiments, the first input may be a single input or a combination of multiple inputs.
在一些实施例中,接收用户在第一界面的第一输入之前,接收用户在社交应用的联系人列表显示界面的输入,该社交应用对应的终端响应该输入,在社交应用的显示界面上显示相关联的多个联系人中的一个联系人的第一界面。In some embodiments, before receiving the user's first input on the first interface, the user's input on the contact list display interface of the social application is received, and the terminal corresponding to the social application responds to the input and displays the first interface of one of the associated multiple contacts on the display interface of the social application.
其中,该输入可以是触控输入、实体按键及其组合输入、语音输入和其他类型的输入,具体参考上述第一输入的形式,本实施例不再赘述。The input may be touch input, physical key input and combination input, voice input and other types of input. Please refer to the above-mentioned first input form for details, which will not be described in detail in this embodiment.
在该实施例中,对联系人a和联系人b进行关联,点击用户联系人列表显示界面上联系人a的名称后,打开联系人a对应的聊天交互界面。In this embodiment, contact a and contact b are associated, and after clicking the name of contact a on the user contact list display interface, the chat interaction interface corresponding to contact a is opened.
步骤120、响应于第一输入,向多个联系人发送第一信息。Step 120: In response to the first input, send the first message to multiple contacts.
在该步骤中,多个联系人可以是拥有多个不同账户的同一用户,也可以是不同的用户,其应用场景与步骤110中多个联系人分别为多个不同账户的同一用户和不同的用户的应用场景相同,本实施例不再赘述;第一信息可以是文字、语音、图片或视频等非指令类信息。In this step, the multiple contacts can be the same user with multiple different accounts, or different users. The application scenario is the same as the application scenario in which the multiple contacts are the same user with multiple different accounts and different users in step 110, and will not be repeated in this embodiment; the first information can be non-instruction information such as text, voice, picture or video.
在该步骤中,接收用户在目标联系人的第一界面上的第一输入后,得到第一信息,该目标联系人为建立关联关系的多个联系人中的一个,用户将第一信息发送至目标联系人时,除目标联系人外的其他联系人也接收到第一信息。In this step, after receiving the first input of the user on the first interface of the target contact, the first information is obtained. The target contact is one of the multiple contacts with established associations. When the user sends the first information to the target contact, other contacts except the target contact also receive the first information.
需要说明的是,多个联系人建立关联关系可以是将用户的联系人列表中的多个联系人设置在一个自定义群组内,该自定义群组可以设置为用户向群组内任一联系人发送第一信息时,自动向群组内其他联系人发送第一信息。It should be noted that establishing an association relationship between multiple contacts may be to set multiple contacts in the user's contact list in a custom group. The custom group may be configured so that when the user sends a first message to any contact in the group, the first message is automatically sent to other contacts in the group.
在该实施例中,接收用户的第一输入,终端响应该输入,将第一信息发送至建立关联关系的各联系人。In this embodiment, a first input from a user is received, and the terminal responds to the input by sending the first information to each contact with whom an association relationship is established.
在图3所示的实施例中,“张三”和“张思睿”为建立关联关系的联系人,在得到“张三”对应第一聊天交互界面310后,通过在信息编辑框311编辑文字为“在吗?周末去逛街呀”并发送至“张三”后,同时自动发送给“张思睿”,在聊天显示区域312显示该文字信息,此时,“张三”和“张思睿”均能接收到“在吗?周末去逛街呀”的信息。In the embodiment shown in FIG3 , "Zhang San" and "Zhang Sirui" are contacts with an established association relationship. After obtaining the first chat interaction interface 310 corresponding to "Zhang San", by editing the text in the information editing box 311 as "Are you there? Let's go shopping on the weekend" and sending it to "Zhang San", it is automatically sent to "Zhang Sirui" at the same time, and the text information is displayed in the chat display area 312. At this time, both "Zhang San" and "Zhang Sirui" can receive the message "Are you there? Let's go shopping on the weekend".
在一些实施例中,建立关联关系的多个联系人可以是同一终端对应的用户,例如,对终端上的社交应用创建分身,然后分别在社交应用及其分身应用上登录各用户账号;也可以是不同终端对应的用户,例如,在两个不同终端上的同一社交应用上登录各用户账号。In some embodiments, multiple contacts that establish an associated relationship can be users corresponding to the same terminal, for example, creating an avatar for a social application on the terminal, and then logging in to each user account on the social application and its avatar application respectively; they can also be users corresponding to different terminals, for example, logging in to each user account on the same social application on two different terminals.
在该实施例中,“张三”和“张思睿”为同一联系人的两个社交账户,当这两个账户分别在同一终端设备的社交应用及其应用分身上登录时,接收用户发送的第一信息,当“张三”或“张思睿”正在使用社交应用时,可以直接对第一信息进行回复;当“张三”和“张思睿”均没有使用社交应用时,且当“张三”或“张思睿”开通了信息提示功能,用户可以向与用户聊天频率高的“张三”发送关于第一信息的未读信息提醒;当“张三”和“张思睿”均没有使用社交应用时,且只有“张思睿”开通了信息提示功能,用户向“张思睿”发送未读信息提醒;当“张三”和“张思睿”均没有使用社交应用时,且当“张三”或“张思睿”均未开通信息提示功能,则用户可任意选择向“张三”或“张思睿”发送未读信息提醒。In this embodiment, "Zhang San" and "Zhang Sirui" are two social accounts of the same contact. When the two accounts are logged in to the social application and its application clone of the same terminal device respectively, the first message sent by the user is received. When "Zhang San" or "Zhang Sirui" is using the social application, the first message can be directly replied to; when "Zhang San" and "Zhang Sirui" are not using the social application, and when "Zhang San" or "Zhang Sirui" has activated the message reminder function, the user can send an unread message reminder about the first message to "Zhang San" who chats with the user frequently; when "Zhang San" and "Zhang Sirui" are not using the social application, and only "Zhang Sirui" has activated the message reminder function, the user sends an unread message reminder to "Zhang Sirui"; when "Zhang San" and "Zhang Sirui" are not using the social application, and when "Zhang San" or "Zhang Sirui" has not activated the message reminder function, the user can arbitrarily choose to send an unread message reminder to "Zhang San" or "Zhang Sirui".
在一些实施例中,表示同一用户的“张三”和“张思睿”分别在不同的终端设备的社交应用登录时,接收用户发送的第一信息,“张三”和“张思睿”均接收到第一信息,用户可以根据联系人是否开通信息提示功能决定向对应联系人发送未读信息提醒。In some embodiments, when "Zhang San" and "Zhang Sirui" representing the same user log in to social applications on different terminal devices respectively, they receive the first message sent by the user. Both "Zhang San" and "Zhang Sirui" receive the first message, and the user can decide to send unread message reminders to the corresponding contacts based on whether the contact has activated the message reminder function.
在一些实施例中,第一联系人接收第一信息后,接收第一联系人在第二界面的输入。In some embodiments, after the first contact receives the first message, an input of the first contact on the second interface is received.
在该实施例中,第一联系人为建立关联关系的多个联系人中的一个,第二界面可以是第一联系人向发送第一信息的用户发送信息的界面。In this embodiment, the first contact is one of the multiple contacts with which an association relationship is established, and the second interface may be an interface for the first contact to send a message to the user who sent the first message.
在该实施例中,第二界面可以是聊天交互界面,该聊天交互界面可以是用户在聊天应用上打开用于与聊天对象发送信息的界面,第二界面也可以是视频通话界面或语音通话界面。In this embodiment, the second interface may be a chat interaction interface, which may be an interface opened by a user on a chat application for sending messages to a chat partner. The second interface may also be a video call interface or a voice call interface.
在该实施例中,第一联系人在第二界面的输入用于在第二界面发送第二信息,第二信息可以是文字、语音、图片或视频等非指令类信息。In this embodiment, the input of the first contact on the second interface is used to send the second information on the second interface. The second information may be non-instruction information such as text, voice, picture or video.
其中,该输入可以是触控输入、实体按键及其组合输入、语音输入和其他类型的输入,具体参考上述第一输入的形式,本实施例不再赘述。The input may be touch input, physical key input and combination input, voice input and other types of input. Please refer to the above-mentioned first input form for details, which will not be described in detail in this embodiment.
在图2所示的实施例中,建立关联关系的多个联系人包括第一联系人和第二联系人,当第一联系人和第二联系人接收到用户发送的第一信息后,接收第一联系人在第二界面的输入,第二界面对应的终端响应该输入,得到第二信息。In the embodiment shown in FIG. 2 , the multiple contacts that establish an associated relationship include a first contact and a second contact. When the first contact and the second contact receive the first information sent by the user, the first contact's input on the second interface is received, and the terminal corresponding to the second interface responds to the input to obtain the second information.
在该实施例中,用户名为“张思睿”的联系人接收第一信息后打开第二聊天交互界面,并在第二聊天交互界面输入“好的呀”的回复信息后并发送,在聊天显示区域显示“好的呀”。In this embodiment, after receiving the first message, the contact with the user name "Zhang Sirui" opens the second chat interaction interface, enters a reply message of "OK" in the second chat interaction interface and sends it, and "OK" is displayed in the chat display area.
在一些实施例中,第一输入可以是单个输入,也可以是多个输入形式的组合输入。In some embodiments, the first input may be a single input or a combination of multiple inputs.
在一些实施例中,该终端响应第二界面的输入,向用户发送第二信息。In some embodiments, the terminal sends second information to the user in response to input of the second interface.
在该实施例中,当该输入是多个输入形式的组合输入时,以该输入是触控输入为例,进行说明。In this embodiment, when the input is a combination input of multiple input forms, the input is described by taking the touch input as an example.
在该实施例中,接收第一联系人的输入,第一信息弹窗界面响应该输入,显示第二界面。In this embodiment, an input from the first contact is received, and the first information pop-up window interface responds to the input and displays the second interface.
在该实施例中,第一信息弹窗界面可以是接收用户发送第一信息时在第一联系人的终端显示界面上弹出的窗口界面;第一联系人可以通过该弹窗界面跳转到第二界面,也可以在该弹窗界面聊天区域直接回复信息。In this embodiment, the first message pop-up interface can be a window interface that pops up on the terminal display interface of the first contact when the receiving user sends the first message; the first contact can jump to the second interface through the pop-up interface, or directly reply to the message in the chat area of the pop-up interface.
在该实施例中,点击第一联系人的终端显示界面弹出的第一信息弹窗界面,显示第二界面。In this embodiment, the second interface is displayed by clicking on the first information pop-up window interface that pops up on the terminal display interface of the first contact.
在该实施例中,在得到第二界面之后,接收第一联系人的输入,该终端响应该输入,在第二界面的聊天区域显示第二信息。In this embodiment, after obtaining the second interface, an input from the first contact is received, and the terminal responds to the input by displaying the second information in the chat area of the second interface.
在图4所示的实施例中,用户名为“张思睿”的联系人接收第一信息后打开第二聊天交互界面410,并在第二聊天交互界面410的信息编辑框411编辑文字“好的呀”并发送后,在聊天显示区域412显示“好的呀”。In the embodiment shown in FIG. 4 , after receiving the first message, the contact with the user name “Zhang Sirui” opens the second chat interaction interface 410 , and after editing and sending the text “OK” in the message editing box 411 of the second chat interaction interface 410 , “OK” is displayed in the chat display area 412 .
当然,第一联系人在第二界面的输入也可以是多种形式的输入的混合组合,比如触控输入结合实体按键输入,其中,触控输入和实体按键输入如上述第一输入的形式,本实施例不再赘述。Of course, the input of the first contact in the second interface can also be a mixed combination of multiple forms of input, such as touch input combined with physical button input, wherein the touch input and physical button input are in the form of the first input described above, and will not be repeated in this embodiment.
步骤130、在接收到第一联系人回复的第二信息的情况下,接收用户在第一界面的第二输入,第一联系人为多个联系人中的任一联系人。Step 130: When receiving the second message replied by the first contact, receiving the second input of the user on the first interface, the first contact is any one of the multiple contacts.
在该步骤中,第二信息可以是文字、语音、图片或视频等非指令类信息;第一界面是指用户向与用户建立关联关系的多个联系人发送信息的界面,该界面可以是聊天交互界面,也可以是语音通话界面或视频通话界面等;多个联系人可以是拥有多个不同账户的同一用户,也可以是不同的用户,其应用场景与步骤110中多个联系人分别为多个不同账户的同一用户和不同的用户的应用场景相同,本实施例不再赘述。In this step, the second information may be non-command information such as text, voice, picture or video; the first interface refers to an interface for a user to send information to multiple contacts with whom the user has established an association, and the interface may be a chat interaction interface, or a voice call interface, or a video call interface, etc.; the multiple contacts may be the same user with multiple different accounts, or different users, and the application scenario is the same as the application scenario in which the multiple contacts are the same user with multiple different accounts and different users, respectively, and will not be repeated in this embodiment.
需要说明的是,第一联系人是指回复用户第一信息的联系人,第一联系人可以是多个联系人中的任意一个。It should be noted that the first contact refers to the contact who replies to the user's first message, and the first contact can be any one of multiple contacts.
在该步骤中,第二输入用于向第一联系人发送第三信息,第三信息可以是文字、语音、图片或视频等非指令类信息非指令类信息。In this step, the second input is used to send a third message to the first contact. The third message may be non-instruction information such as text, voice, picture or video.
其中,第二输入可以是触控输入、实体按键及其组合输入、语音输入和其他类型的输入,具体参考上述第一输入的形式,本实施例不再赘述。Among them, the second input can be touch input, physical button and its combination input, voice input and other types of input. Please refer to the form of the first input mentioned above for details, and this embodiment will not be repeated.
在该实施例中,用户在第一聊天交互界面上输入“OK”,可以在第一聊天交互界面的聊天区显示“OK”,此时,用户名为“张思睿”的联系人在对应的聊天交互界面上可以看到用户回复的“OK”。In this embodiment, the user enters "OK" on the first chat interaction interface, and "OK" can be displayed in the chat area of the first chat interaction interface. At this time, the contact with the user name "Zhang Sirui" can see the user's reply "OK" on the corresponding chat interaction interface.
当然,在一些实施例中,当确定第一联系人后,第一界面可以是用户向建立关联关系的多个联系人发送信息的界面,此时,用户可以向多个联系人发送信息;第一界面也可以是用户向第一联系人发送信息的界面,用户通过该界面仅向第一联系人发送信息。Of course, in some embodiments, after the first contact is determined, the first interface can be an interface for the user to send information to multiple contacts with established associations. At this time, the user can send information to multiple contacts; the first interface can also be an interface for the user to send information to the first contact. The user only sends information to the first contact through this interface.
在一些实施例中,第一输入可以是单个输入,也可以是多个输入形式的组合输入。In some embodiments, the first input may be a single input or a combination of multiple inputs.
步骤140、响应于第二输入,向第一联系人发送第三信息,且停止向多个联系人中除第一联系人之外的其他联系人发送第三信息。Step 140: In response to the second input, send the third information to the first contact, and stop sending the third information to other contacts among the multiple contacts except the first contact.
在该步骤中,多个联系人可以是拥有多个不同账户的同一用户,也可以是不同的用户,其应用场景与步骤110中多个联系人分别为多个不同账户的同一用户和不同的用户的应用场景相同,本实施例不再赘述;第一联系人是指回复用户第一信息的联系人,第一联系人可以是相关联的多个联系人中的任意一个。In this step, the multiple contacts can be the same user with multiple different accounts, or different users. The application scenario is the same as the application scenario in which the multiple contacts are the same user with multiple different accounts and different users in step 110, and will not be repeated in this embodiment; the first contact refers to the contact who replies to the user's first message, and the first contact can be any one of the multiple associated contacts.
需要说明的是,多个联系人建立关联关系可以是将用户的联系人列表中的多个联系人进行关联,点击目标联系人的用户标识后,可以得到与目标联系人对应的关联界面,其中,该关联界面上可以显示目标联系人的用户标识,也可以显示除目标联系人的其他联系人的用户标识;用户标识可以是用户的名称、头像或联系方式等。It should be noted that establishing an association relationship between multiple contacts can be achieved by associating multiple contacts in the user's contact list. After clicking the user ID of the target contact, an association interface corresponding to the target contact can be obtained, wherein the association interface can display the user ID of the target contact, and can also display the user IDs of other contacts except the target contact; the user ID can be the user's name, avatar or contact information, etc.
在该步骤中,关联的方式可以是当用户向该关联界面内目标联系人发送第一信息时,自动向除目标联系人的其他联系人发送第一信息;也可以是当用户在目标时长内接收到第一联系人发送的第二信息后,用户仅向第一联系人发送的第三信息,而不向除第一联系人的其他联系人发送第三信息。In this step, the association method can be that when the user sends the first message to the target contact in the association interface, the first message is automatically sent to other contacts except the target contact; or when the user receives the second message sent by the first contact within the target time period, the user only sends the third message to the first contact, and does not send the third message to other contacts except the first contact.
其中,第一联系人为发送第二信息的联系人,第一联系人可以和目标联系人相同,也可以和目标联系人不同;目标时长的范围可以根据用户需求自定义设置;其中,第一信息、第二信息和第三信息均可以是文字、语音、图片或视频等非指令类信息非指令类信息。Among them, the first contact is the contact who sends the second message. The first contact can be the same as the target contact or different from the target contact; the range of the target time can be customized according to user needs; among them, the first message, the second message and the third message can all be non-instruction information such as text, voice, picture or video.
需要说明的是,由于第一联系人回应了第一信息并向用户发送第二信息,用户再次发送第三信息时,第三信息仅向第一联系人发送,而不向除第一联系人的其他联系人发送。It should be noted that, since the first contact responded to the first message and sent the second message to the user, when the user sends the third message again, the third message is only sent to the first contact, and not to other contacts except the first contact.
在该实施例中,接收用户的第二输入,第一界面对应的终端响应第二输入,将第三信息仅发送至第一联系人。In this embodiment, the second input of the user is received, and the terminal corresponding to the first interface responds to the second input and sends the third information only to the first contact.
在图5所示的实施例中,用户接收“张思睿”发送的第二信息后,打开“张思睿”对应的第一聊天交互界面310,并在第一聊天交互界面310的信息编辑框311编辑文字“OK”后发送给“张思睿”,不再向“张三”发送该消息,在聊天显示区域312显示“OK”,此时,“张思睿”能够收到该信息,而与“张思睿”建立关联关系的“张三”不会收到该信息。In the embodiment shown in Figure 5, after the user receives the second message sent by "Zhang Sirui", he opens the first chat interaction interface 310 corresponding to "Zhang Sirui", edits the text "OK" in the information editing box 311 of the first chat interaction interface 310 and sends it to "Zhang Sirui", and no longer sends the message to "Zhang San", and "OK" is displayed in the chat display area 312. At this time, "Zhang Sirui" can receive the message, while "Zhang San" who has established an associated relationship with "Zhang Sirui" will not receive the message.
根据本申请实施例提供的信息发送方法,通过向建立关联关系的多个联系人同时发送第一信息并接收多个联系人中的一个联系人发送第二信息,确定第一联系人,然后仅向该第一联系人发送第三信息,而不再向除第一联系人外的其他联系人发送第三信息,这样能够从多个联系人中快速确定需要聊天的对象,提升了用户的聊天体验。According to the information sending method provided in the embodiment of the present application, by simultaneously sending a first message to multiple contacts with established associations and receiving a second message from one of the multiple contacts, the first contact is determined, and then the third message is sent only to the first contact, and the third message is no longer sent to other contacts except the first contact. In this way, the object to be chatted with can be quickly determined from multiple contacts, thereby improving the user's chat experience.
在一些实施例中,接收用户在第一界面的第二输入之后,方法还包括:响应于第二输入,向多个联系人中除第一联系人之外的其他联系人发送第四信息;其中,第四信息用于指示删除第一信息。In some embodiments, after receiving a second input from the user on the first interface, the method further includes: in response to the second input, sending fourth information to other contacts among the multiple contacts except the first contact; wherein the fourth information is used to indicate deletion of the first information.
在该实施例中,第四信息可以是一种指令类信息,例如,第四信息可以是提示多个联系人中除第一联系人之外的其他联系人撤回第一信息的请求或指令;第四信息也可以是一种匹配信息,该匹配信息包括匹配时间和匹配内容,当用户将匹配信息发送至除第一联系人之外的其他联系人后,可以根据匹配时间和匹配内容删除其他联系人接收到的与匹配信息相同时间和内容的第一信息。In this embodiment, the fourth information may be an instruction-type information. For example, the fourth information may be a request or instruction prompting other contacts among multiple contacts except the first contact to withdraw the first information. The fourth information may also be a matching information, which includes the matching time and the matching content. When the user sends the matching information to other contacts except the first contact, the first information received by other contacts with the same time and content as the matching information can be deleted according to the matching time and the matching content.
在该实施例中,用户在接收到“张思睿”发送的“好的呀”的内容后,在第一聊天交互界面上通过点击“张三”的用户名称,将第一聊天交互界面切换至“张三”对应的聊天交互界面,并长按“在吗?周末去逛街呀”的内容,终端自动向“张三”发送撤回“在吗?周末去逛街呀”的系统指令。In this embodiment, after the user receives the content of "OK" sent by "Zhang Sirui", the user clicks on the user name of "Zhang San" on the first chat interaction interface to switch the first chat interaction interface to the chat interaction interface corresponding to "Zhang San", and long presses the content of "Are you there? Let's go shopping on the weekend". The terminal automatically sends a system instruction to "Zhang San" to withdraw the message "Are you there? Let's go shopping on the weekend".
在一些实施例中,除第一联系人之外的其他联系人接收到第四信息后,其他联系人的聊天交互界面对应的终端响应第四信息,在其他联系人对应的聊天交互界面上删除第一信息。In some embodiments, after other contacts except the first contact receive the fourth information, the terminals corresponding to the chat interaction interfaces of the other contacts respond to the fourth information and delete the first information on the chat interaction interfaces corresponding to the other contacts.
在该实施例中,其他联系人接收第四信息并在其聊天交互界面上删除第一信息可以是自动完成的,例如,当除第一联系人之外的其他联系人接收到第四信息后,不用打开包含该第四信息的聊天交互界面,系统自动可以根据第四信息的匹配内容和时间删除其他联系人的聊天交互界面中的第一信息。In this embodiment, other contacts receiving the fourth message and deleting the first message on their chat interaction interface can be done automatically. For example, when other contacts except the first contact receive the fourth message, there is no need to open the chat interaction interface containing the fourth message. The system can automatically delete the first information in the chat interaction interface of other contacts based on the matching content and time of the fourth message.
当然,在其他实施例中,其他联系人接收第四信息并在其聊天交互界面上删除第一信息也可以是手动完成的,例如,其他联系人接收到第四信息后,在该聊天交互界面上找到第一信息并手动撤回;又或者其他联系人接收的第四信息后,在其聊天交互界面上自动弹出待撤回信息的列表,然后手动选择撤回第一信息。Of course, in other embodiments, other contacts may receive the fourth message and delete the first message on their chat interaction interface manually. For example, after other contacts receive the fourth message, they find the first message on the chat interaction interface and manually withdraw it. Or, after other contacts receive the fourth message, a list of information to be withdrawn automatically pops up on their chat interaction interface, and then they manually choose to withdraw the first message.
在一些实施例中,当用户发送向多个联系人发送的第一信息为语音或视频信息时,用户可以与多个联系人同时发起语音或视频呼叫请求,在第一联系人回应语音或视频呼叫请求后,用户再向除第一联系人之外的其他联系人发送第四信息,以中断用户向其他联系人发起的语音或视频呼叫请求。In some embodiments, when the first message sent by a user to multiple contacts is a voice or video message, the user can initiate a voice or video call request with multiple contacts at the same time. After the first contact responds to the voice or video call request, the user sends a fourth message to other contacts except the first contact to interrupt the voice or video call request initiated by the user to other contacts.
根据本申请实施例提供的信息发送方法,通过向除第一联系人之外的其他联系人发送撤回第一信息的指令,撤回其他联系人接收到的第一信息,减少了其他联系人接收到无需处理的信息时带来的干扰。According to the information sending method provided in the embodiment of the present application, by sending an instruction to withdraw the first information to other contacts except the first contact, the first information received by other contacts is withdrawn, thereby reducing the interference caused by other contacts receiving information that does not need to be processed.
在一些实施例中,当第一联系人切换为第二联系人后,接收第二联系人的输入,响应于该输入,向用户发送第四信息。In some embodiments, after the first contact is switched to the second contact, an input of the second contact is received, and in response to the input, fourth information is sent to the user.
在该实施例中,第二联系人为多个联系人中除第一联系人之外的任一与用户进行收发信息的联系人,第四信息是由第二联系人在其对应的界面上输入的信息,第四消息可以是文字、语音、图片或视频等非指令类信息。In this embodiment, the second contact is any contact among the multiple contacts except the first contact with whom the user sends and receives messages. The fourth information is information input by the second contact on its corresponding interface. The fourth message can be non-command information such as text, voice, picture or video.
在该实施例中,接收第二联系人的输入,该界面对应的终端响应该输入,向用户发送第四信息,并在第一界面上显示第四信息。In this embodiment, an input from the second contact is received, and the terminal corresponding to the interface responds to the input, sends fourth information to the user, and displays the fourth information on the first interface.
其中,该输入可以是触控输入、实体按键及其组合输入、语音输入和其他类型的输入,具体参考上述第一输入的形式,本实施例不再赘述。The input may be touch input, physical key input and combination input, voice input and other types of input. Please refer to the above-mentioned first input form for details, which will not be described in detail in this embodiment.
在该实施例中,第二联系人“张三”在其对应的聊天交互界面输入“周末什么时候见面?”并发送给用户后,在用户的第一聊天交互界面显示“周末什么时候见面?”In this embodiment, after the second contact "Zhang San" inputs "When do we meet this weekend?" in the corresponding chat interaction interface and sends it to the user, the user's first chat interaction interface displays "When do we meet this weekend?"
在一些实施例中,向第一联系人发送第三信息之后,方法还包括:在接收到第二联系人发送的第四信息的情况下,接收用户在第一界面的第三输入;响应于第三输入,向第二联系人发送第五信息,且停止向多个联系人中除第二联系人之外的其他联系人发送第五信息。In some embodiments, after sending the third message to the first contact, the method also includes: upon receiving the fourth message sent by the second contact, receiving the third input of the user on the first interface; in response to the third input, sending the fifth message to the second contact, and stopping sending the fifth message to other contacts among the multiple contacts except the second contact.
在该实施例中,第二联系人为多个联系人中除第一联系人之外的任一与用户聊天的联系人,第四信息是由第二联系人在其对应的界面上输入的信息,第四信息可以是文字、语音、图片或视频等非指令类信息。In this embodiment, the second contact is any contact among the multiple contacts except the first contact who chats with the user, and the fourth information is information input by the second contact on its corresponding interface. The fourth information can be non-command information such as text, voice, picture or video.
在该实施例中,当用户接收到非第一联系人发送的信息时,用户的目标联系人由第一联系人切换为第二联系人,目标联系人是与用户聊天的联系人,目标联系人为建立关联关系的多个联系人中的任一联系人。In this embodiment, when the user receives a message sent by a non-first contact, the user's target contact is switched from the first contact to the second contact, the target contact is the contact with whom the user chats, and the target contact is any contact among the multiple contacts with which an associated relationship is established.
在该实施例中,第五信息可以是文字、语音、图片或视频等非指令类信息。In this embodiment, the fifth information may be non-command information such as text, voice, picture or video.
在该实施例中,接收用户的第三输入,终端响应第三输入,显示第五信息。In this embodiment, a third input from the user is received, and the terminal displays fifth information in response to the third input.
其中,第五信息可以是触控输入、实体按键及其组合输入、语音输入和其他类型的输入,具体参考上述第一输入的形式,本实施例不再赘述。Among them, the fifth information can be touch input, physical button and combination input, voice input and other types of input. Please refer to the above-mentioned first input form for details, and this embodiment will not be repeated.
在图6所示的实施例中,用户接收“张三”在其聊天界面发送的“周末什么时候见面?”后,用户打开与“张三”对应的第一聊天交互界面310,并在第一聊天交互界面310的信息编辑框311编辑文字“周末下午2点”后发送至“张三”对应的聊天交互界面,在聊天显示区域312显示“周末下午2点”,不再将该信息发送至“张思睿”,此时,“张三”能够收到该信息,而与“张三”建立关联关系的“张思睿”不再收到该信息。In the embodiment shown in Figure 6, after the user receives the message "When do we meet on the weekend?" sent by "Zhang San" in his chat interface, the user opens the first chat interaction interface 310 corresponding to "Zhang San", edits the text "2pm on the weekend" in the information editing box 311 of the first chat interaction interface 310, and sends it to the chat interaction interface corresponding to "Zhang San", and displays "2pm on the weekend" in the chat display area 312, and no longer sends the message to "Zhang Sirui". At this time, "Zhang San" can receive the message, but "Zhang Sirui" who has established an associated relationship with "Zhang San" no longer receives the message.
在一些实施例中,第三输入可以是单个输入,也可以是多个输入形式的组合输入,还可以是多种形式的输入的混合组合,比如触控输入结合实体按键输入,其中,触控输入和实体按键输入如上述第一输入的形式,本实施例不再赘述。In some embodiments, the third input can be a single input, a combination of multiple input forms, or a mixed combination of multiple forms of input, such as touch input combined with physical button input, where the touch input and physical button input are in the form of the first input mentioned above, and will not be repeated in this embodiment.
根据本申请实施例提供的信息发送方法,通过接收第四信息确定用户的目标联系人改变为第二联系人,此时,仅向第二联系人发送聊天信息,而不再向其他联系人发送,减少了用户发送信息到除第二联系人的其他联系人时带来的干扰。According to the information sending method provided in the embodiment of the present application, by receiving the fourth information, it is determined that the user's target contact is changed to the second contact. At this time, the chat message is only sent to the second contact, and no longer sent to other contacts, thereby reducing the interference caused by the user sending information to other contacts except the second contact.
在一些实施例中,向第一联系人发送第三信息之后,方法还包括:在接收到第二联系人发送的第四信息的情况下,向第二联系人发送第六信息;其中,第六信息用于提示第二联系人迁移与用户的目标聊天记录。In some embodiments, after sending the third message to the first contact, the method further includes: upon receiving the fourth message sent by the second contact, sending the sixth message to the second contact; wherein the sixth message is used to prompt the second contact to migrate the target chat record with the user.
需要说明的是,第二联系人为多个联系人中除第一联系人之外的任一与用户进行收发信息的联系人;第四信息是由第二联系人在其对应的界面上输入的信息。It should be noted that the second contact is any contact among the multiple contacts except the first contact who sends and receives messages with the user; the fourth information is information input by the second contact on its corresponding interface.
在该实施例中,第六信息可以是一种指令类信息,例如,第六信息可以是将目标聊天信息迁移到第二联系人并在其对应的聊天交互界面上显示的请求;目标聊天信息可以是用户与第一联系人的所有历史聊天信息,也可以是用户与第一联系人的部分历史聊天信息,用户可以在所有历史聊天信息中自定义选择需要发送给第二联系人的聊天信息。In this embodiment, the sixth information may be an instruction-type information. For example, the sixth information may be a request to migrate the target chat information to the second contact and display it on the corresponding chat interaction interface. The target chat information may be all historical chat information between the user and the first contact, or part of the historical chat information between the user and the first contact. The user may customize the chat information to be sent to the second contact from all historical chat information.
在该实施例中,第二联系人处的终端设备接收到第六消息后,可以在该终端设备对应的界面上显示历史数据迁移的提示框,用户可以点击该提示框上“是”或“否”对应的控件,自行选择是否迁移历史数据到第二联系人的聊天界面上。In this embodiment, after the terminal device at the second contact receives the sixth message, a prompt box for historical data migration can be displayed on the interface corresponding to the terminal device. The user can click the control corresponding to "Yes" or "No" on the prompt box to choose whether to migrate the historical data to the chat interface of the second contact.
在一些实施例中,第六消息也可以是直接将用户与第一联系人的目标聊天信息迁移到第二联系人对应界面的指令。In some embodiments, the sixth message may also be an instruction to directly migrate the target chat information between the user and the first contact to the corresponding interface of the second contact.
在该实施例中,用户接收用户“张三”发送的“周末什么时候见面?”后,在第一聊天交互界面上选择待迁移的聊天数据,再点击迁移控件并选择迁移用户为“张三”,此时,终端自动向“张三”发送迁移聊天数据的系统指令,当“张三”接收该指令后,可在“张三”的聊天交互界面上显示迁移的聊天数据。In this embodiment, after the user receives the message "When do we meet this weekend?" sent by user "Zhang San", the user selects the chat data to be migrated on the first chat interaction interface, then clicks the migration control and selects the migration user as "Zhang San". At this time, the terminal automatically sends a system instruction to migrate the chat data to "Zhang San". When "Zhang San" receives the instruction, the migrated chat data can be displayed on the chat interaction interface of "Zhang San".
当然,在其他实施例中,用户接收用户“张三”发送的“周末什么时候见面?”后,也可以在第一聊天交互界面上直接将待迁移的聊天数据以逐条发送或者合并发送的方式发送给“张三”。Of course, in other embodiments, after the user receives the message "When do we meet this weekend?" sent by user "Zhang San", the user can also directly send the chat data to be migrated to "Zhang San" on the first chat interaction interface in a way of sending them one by one or in a combined manner.
根据本申请实施例提供的信息发送方法,通过向第二联系人发送第六信息,可以将用户与第一联系人的历史聊天记录迁移到第二联系人,并在第二联系人的聊天交互界面上显示,有助于将用户与第一联系人和第二联系人的聊天过程无缝衔接,并且第二联系人无需登录第一联系人的账户即可查看第一联系人与用户的历史聊天记录,提升了第二联系人的聊天体验。According to the information sending method provided in the embodiment of the present application, by sending the sixth message to the second contact, the historical chat records between the user and the first contact can be migrated to the second contact and displayed on the chat interaction interface of the second contact, which helps to seamlessly connect the chat process between the user and the first contact and the second contact, and the second contact can view the historical chat records between the first contact and the user without logging into the first contact's account, thereby improving the chat experience of the second contact.
在一些实施例中,接收用户在与用户建立关联关系的多个联系人中的任一联系人的第一界面的第一输入之前,方法还包括:接收用户在联系人列表显示界面的输入;响应于该输入,在多个联系人中的每个联系人的用户标识上增加目标标识,目标标识用于指示多个联系人的关联关系;第一界面显示有多个联系人的用户标识。In some embodiments, before receiving a first input from a user on a first interface of any one of multiple contacts with which the user has established an association relationship, the method also includes: receiving an input from the user on a contact list display interface; in response to the input, adding a target identifier to the user identifier of each of the multiple contacts, the target identifier being used to indicate the association relationship between the multiple contacts; and displaying the user identifiers of the multiple contacts on the first interface.
在该实施例中,建立关联关系的多个联系人可以是拥有多个不同账户的同一用户,也可以是不同的用户,其应用场景与步骤110中多个联系人分别为多个不同账户的同一用户和不同的用户的应用场景相同,本实施例不再赘述。In this embodiment, the multiple contacts that establish an association relationship can be the same user with multiple different accounts, or different users. The application scenario is the same as the application scenario in step 110 where the multiple contacts are the same user with multiple different accounts or different users, and will not be repeated in this embodiment.
需要说明的是,多个联系人建立关联关系可以是将用户的联系人列表中的多个联系人进行关联,点击目标联系人的用户标识后,可以得到与目标联系人对应的关联界面,其中,该关联界面上可以显示目标联系人的用户标识,也可以显示除目标联系人的其他联系人的用户标识,用户标识可以是用户的名称、头像或联系方式等。It should be noted that establishing an association relationship between multiple contacts can be achieved by associating multiple contacts in the user's contact list. After clicking the user ID of the target contact, an association interface corresponding to the target contact can be obtained, wherein the association interface can display the user ID of the target contact, and can also display the user IDs of other contacts except the target contact. The user ID can be the user's name, avatar or contact information, etc.
在该步骤中,关联的方式可以是当用户向该关联界面内目标联系人发送第一信息时,自动向除目标联系人的其他联系人发送第一信息;也可以是当用户在目标时长内接收到第一联系人发送的第二信息后,用户仅向第一联系人发送的第三信息,而不向除第一联系人的其他联系人发送第三信息;其中,第一联系人为发送第二信息的联系人,第一联系人可以和目标联系人相同,也可以和目标联系人不同;目标时长的范围可以根据用户需求自定义设置。In this step, the association method can be that when the user sends the first message to the target contact in the association interface, the first message is automatically sent to other contacts except the target contact; or when the user receives the second message sent by the first contact within the target time period, the user only sends the third message to the first contact, and does not send the third message to other contacts except the first contact; wherein the first contact is the contact who sends the second message, and the first contact can be the same as the target contact or different from the target contact; the range of the target time period can be customized according to user needs.
需要说明的是,建立关联关系的方式可以是自动关联,例如,当多个联系人是同一用户的不同账户时,可以通过这些账户的共同特征来进行自动关联;其中,共同特征可以是该用户的姓名或者联系方式(电子邮箱、电话号码等);建立关联关系的方式也可以是手动关联,例如,通过手动选择将待关联的联系人,手动选择的联系人可以是不同的用户,也可以是同一用户的多个账户。It should be noted that the way to establish the association relationship can be automatic association. For example, when multiple contacts are different accounts of the same user, they can be automatically associated through the common characteristics of these accounts; wherein the common characteristics may be the name or contact information (email address, phone number, etc.) of the user; the way to establish the association relationship may also be manual association, for example, by manually selecting the contacts to be associated, and the manually selected contacts may be different users or multiple accounts of the same user.
在该实施实例中,用户标识可以是用户名称、用户头像或用户联系方式等;目标标识可以是数字、图形或符号,当目标标识相同时,可以表示目标标识对应的用户相同,而当目标标识不同时,可以表示目标标识对应的用户不同。In this implementation example, the user identifier can be a user name, user avatar or user contact information, etc.; the target identifier can be a number, a graphic or a symbol. When the target identifiers are the same, it can indicate that the users corresponding to the target identifiers are the same, and when the target identifiers are different, it can indicate that the users corresponding to the target identifiers are different.
在该实施例中,接收用户在联系人列表显示界面的输入,可以是在每个联系人的用户标识上增加目标标识。In this embodiment, receiving the user input on the contact list display interface may be to add a target identifier to the user identifier of each contact.
以该输入为触控输入为例,进行说明。The input is a touch input as an example for description.
在图7所示的实施例中,在联系人列表显示界面710上长按“张思睿”的头像显示区域711(对应头像A)后,在头像显示区域711右上角出现文本编辑框,并在文本编辑框输入数字3,同理,在联系人列表显示界面710上长按“张三”的头像显示区域712(对应头像B)后,在头像显示区域712右上角出现文本编辑框,在文本编辑框输入数字3;此时,数字3为“张思睿”和“张三”的目标标识,且“张思睿”和“张三”可以表示为同一用户。In the embodiment shown in FIG. 7 , after long pressing the avatar display area 711 (corresponding to avatar A) of “Zhang Sirui” on the contact list display interface 710, a text editing box appears in the upper right corner of the avatar display area 711, and the number 3 is entered in the text editing box. Similarly, after long pressing the avatar display area 712 (corresponding to avatar B) of “Zhang San” on the contact list display interface 710, a text editing box appears in the upper right corner of the avatar display area 712, and the number 3 is entered in the text editing box; at this time, the number 3 is the target identifier of “Zhang Sirui” and “Zhang San”, and “Zhang Sirui” and “Zhang San” can be represented as the same user.
在一些实施例中,接收用户在联系人列表显示界面的输入,可以是将多个联系人的用户标识设置在同一分栏内,用于表示同一分栏内的多个联系人为同一用户。In some embodiments, receiving the user input in the contact list display interface may be to set the user identifiers of multiple contacts in the same column to indicate that the multiple contacts in the same column are the same user.
在该实施例中,在图8所示的实施例中,在联系人列表显示界面710上将“张三”的用户名称添加在“张思睿”的用户名称下,这样,点击“张思睿”名称下的“张三”,可以跳转到“张三”对应的聊天交互界面,同理,在联系人列表显示界面710上将“张思睿”的用户名称添加在“张三”的用户名称下,点击“张三”名称下的“张思睿”,可以跳转到“张思睿”对应的聊天交互界面,而“李四”的用户名称下方没有其他用户名称,可以表示“李四”对应的联系人只有一个账号。In this embodiment, in the embodiment shown in Figure 8, the user name of "Zhang San" is added under the user name of "Zhang Sirui" on the contact list display interface 710. In this way, clicking "Zhang San" under the name of "Zhang Sirui" can jump to the chat interaction interface corresponding to "Zhang San". Similarly, the user name of "Zhang Sirui" is added under the user name of "Zhang San" on the contact list display interface 710, and clicking "Zhang Sirui" under the name of "Zhang San" can jump to the chat interaction interface corresponding to "Zhang Sirui". There are no other user names under the user name of "Li Si", which can indicate that the contact corresponding to "Li Si" has only one account.
根据本申请实施例提供的信息发送方法,通过在联系人列表显示界面的每个联系人的用户标识上设置目标标识,既可以知晓各联系人是否存在关联账户,又可以通快速切入关联账户对应的聊天交互界面,提升了用户的聊天体验。According to the information sending method provided in the embodiment of the present application, by setting the target identifier on the user identifier of each contact in the contact list display interface, it is possible to know whether each contact has an associated account, and to quickly enter the chat interaction interface corresponding to the associated account, thereby improving the user's chat experience.
本申请实施例提供的信息发送方法,执行主体可以为信息发送装置。本申请实施例中以信息发送装置执行信息发送方法为例,说明本申请实施例提供的信息发送装置。The information sending method provided in the embodiment of the present application can be executed by an information sending device. In the embodiment of the present application, the information sending device provided in the embodiment of the present application is described by taking the information sending method executed by the information sending device as an example.
本申请实施例还提供一种信息发送装置。The embodiment of the present application also provides an information sending device.
如图9所示,该信息发送装置包括:第一接收模块910、第一处理模块920、第二接收模块930和第二接收模块940。As shown in FIG. 9 , the information sending device includes: a first receiving module 910 , a first processing module 920 , a second receiving module 930 and a second receiving module 940 .
第一接收模块910,用于接收用户在与用户建立关联关系的多个联系人中的任一联系人的第一界面的第一输入;A first receiving module 910 is used to receive a first input from a user on a first interface of any one of a plurality of contacts with which the user has established an association;
第一处理模块920,用于响应第一输入,向多个联系人发送第一信息;A first processing module 920, configured to send a first message to a plurality of contacts in response to a first input;
第二接收模块930,用于在接收到第一联系人回复的第二信息的情况下,接收用户在第一界面的第二输入,第一联系人为多个联系人中的任一联系人;The second receiving module 930 is used to receive a second input from the user on the first interface when receiving a second message replied by the first contact, where the first contact is any one of the multiple contacts;
第二处理模块940,用于响应第二输入,向第一联系人发送第三信息,且停止向多个联系人中除第一联系人之外的其他联系人发送第三信息。The second processing module 940 is configured to respond to the second input, send the third information to the first contact, and stop sending the third information to other contacts among the multiple contacts except the first contact.
根据本申请实施例提供的信息发送装置,通过向建立关联关系的多个联系人同时发送第一信息并接收多个联系人中的一个联系人发送第二信息,确定第一联系人,然后仅向该第一联系人发送第三信息,而不再向除第一联系人外的其他联系人发送第三信息,这样能够从多个联系人中快速确定需要聊天的对象,提升了用户的聊天体验。According to the information sending device provided in the embodiment of the present application, the first contact is determined by simultaneously sending the first message to multiple contacts with established associations and receiving the second message sent by one of the multiple contacts, and then the third message is sent only to the first contact, and the third message is no longer sent to other contacts except the first contact. In this way, the object to be chatted with can be quickly determined from multiple contacts, thereby improving the user's chat experience.
在一些实施例中,该装置还包括:In some embodiments, the apparatus further comprises:
第三处理模块,用于接收用户在第一界面的第二输入之后,响应第二输入,向多个联系人中除第一联系人之外的其他联系人发送第四信息;其中,第四信息用于指示删除第一信息。The third processing module is used for receiving the second input of the user on the first interface, and in response to the second input, sending fourth information to other contacts among the multiple contacts except the first contact; wherein the fourth information is used to indicate deletion of the first information.
根据本申请实施例提供的信息发送装置,通过向除第一联系人之外的其他联系人发送撤回第一信息的指令,撤回其他联系人接收到的第一信息,减少了其他联系人接收到无需处理的信息时带来的干扰。According to the information sending device provided in the embodiment of the present application, by sending an instruction to withdraw the first information to other contacts except the first contact, the first information received by other contacts is withdrawn, thereby reducing the interference caused by other contacts receiving information that does not need to be processed.
在一些实施例中,该装置还包括:In some embodiments, the apparatus further comprises:
第三接收模块,用于向第一联系人发送第三信息之后,在接收到第二联系人发送的第四信息的情况下,接收用户在第一界面的第三输入;A third receiving module, configured to receive a third input of the user on the first interface after sending the third message to the first contact and receiving the fourth message sent by the second contact;
第四处理模块,用于响应第三输入,向第二联系人发送第五信息,且停止向多个联系人中除第二联系人之外的其他联系人发送第五信息。The fourth processing module is configured to respond to the third input, send the fifth information to the second contact, and stop sending the fifth information to other contacts among the multiple contacts except the second contact.
根据本申请实施例提供的信息发送装置,通过接收第四信息确定用户的目标联系人改变为第二联系人,此时,仅向第二联系人发送聊天信息,而不再向其他联系人发送,减少了用户发送信息到除第二联系人的其他联系人时带来的干扰。According to the information sending device provided in the embodiment of the present application, by receiving the fourth information, it is determined that the user's target contact is changed to the second contact. At this time, the chat message is only sent to the second contact, and is no longer sent to other contacts, thereby reducing the interference caused by the user sending information to other contacts except the second contact.
在一些实施例中,该装置还包括:In some embodiments, the apparatus further comprises:
第一发送模块,用于向第一联系人发送第三信息之后,在接收到第二联系人发送的第四信息的情况下,向第二联系人发送第六信息;其中,第六信息用于提示第二联系人迁移与用户的目标聊天记录。The first sending module is used to send sixth information to the second contact after sending the third information to the first contact and receiving the fourth information sent by the second contact; wherein the sixth information is used to prompt the second contact to migrate the target chat record with the user.
根据本申请实施例提供的信息发送装置,通过向第二联系人发送第五信息,可以将用户与第一联系人的历史聊天记录迁移到第二联系人,并在第二联系人的聊天交互界面上显示,有助于将用户与第一联系人和第二联系人的聊天过程无缝衔接,并且第二联系人无需登录第一联系人的账户即可查看第一联系人与用户的历史聊天记录,提升了第二联系人的聊天体验。According to the information sending device provided in the embodiment of the present application, by sending the fifth message to the second contact, the historical chat records between the user and the first contact can be migrated to the second contact and displayed on the chat interaction interface of the second contact, which helps to seamlessly connect the chat process between the user and the first contact and the second contact, and the second contact can view the historical chat records between the first contact and the user without logging into the first contact's account, thereby improving the chat experience of the second contact.
在一些实施例中,该装置还包括:In some embodiments, the apparatus further comprises:
第四接收模块,用于接收用户在与用户建立关联关系的多个联系人中的任一联系人的第一界面的第一输入之前,接收用户在联系人列表显示界面的输入;A fourth receiving module, configured to receive an input from a user on a contact list display interface before receiving a first input from a user on a first interface of any contact among a plurality of contacts with which an association relationship is established;
第五处理模块,用于响应该输入,在多个联系人中的每个联系人的用户标识上增加目标标识,目标标识用于指示多个联系人的关联关系;第一界面显示有多个联系人的用户标识。The fifth processing module is used to respond to the input and add a target identifier to the user identifier of each contact in the multiple contacts, where the target identifier is used to indicate the association relationship between the multiple contacts; the first interface displays the user identifiers of the multiple contacts.
根据本申请实施例提供的信息发送装置,通过在联系人列表显示界面的每个联系人的用户标识上设置目标标识,既可以知晓各联系人是否存在关联账户,又可以通快速切入关联账户对应的聊天交互界面,提升了用户的聊天体验。According to the information sending device provided in the embodiment of the present application, by setting a target identifier on the user identifier of each contact in the contact list display interface, it is possible to know whether each contact has an associated account, and to quickly enter the chat interaction interface corresponding to the associated account, thereby improving the user's chat experience.
本申请实施例中的信息发送装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtualreality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personalcomputer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personalcomputer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The information sending device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
本申请实施例中的信息发送装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为IOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The information sending device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
本申请实施例提供的信息发送装置能够实现图1至图8的方法实施例实现的各个过程,为避免重复,这里不再赘述。The information sending device provided in the embodiment of the present application can implement each process implemented by the method embodiments of Figures 1 to 8. To avoid repetition, they will not be described here.
可选地,如图10所示,本申请实施例还提供一种电子设备1000,包括处理器1001,存储器1002,存储在存储器1002上并可在所述处理器1001上运行的程序或指令,该程序或指令被处理器1001执行时实现上述信息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 10, an embodiment of the present application also provides an electronic device 1000, including a processor 1001, a memory 1002, and a program or instruction stored in the memory 1002 and executable on the processor 1001. When the program or instruction is executed by the processor 1001, each process of the above-mentioned information sending method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
图11为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 11 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1100包括但不限于:射频单元1101、网络模块1102、音频输出单元1103、输入单元1104、传感器1105、显示单元1106、用户输入单元1107、接口单元1108、存储器1109以及处理器1110等部件。The electronic device 1100 includes but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109 and a processor 1110 and other components.
本领域技术人员可以理解,电子设备1100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art will appreciate that the electronic device 1100 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1110 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. The electronic device structure shown in FIG11 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange components differently, which will not be described in detail here.
其中,用户输入单元1107,用于接收用户在与用户建立关联关系的多个联系人中的任一联系人的第一界面的第一输入;The user input unit 1107 is used to receive a first input from a user on a first interface of any one of a plurality of contacts with which the user has established an association relationship;
处理器1110,用于响应第一输入,向多个联系人发送第一信息;Processor 1110, configured to send a first message to a plurality of contacts in response to a first input;
用户输入单元1107,还用于在接收到第一联系人发送的第二信息的情况下,接收用户在第一界面的第二输入,第一联系人为多个联系人中的任一联系人;The user input unit 1107 is further used to receive a second input from the user on the first interface when receiving a second message sent by a first contact, where the first contact is any one of the multiple contacts;
处理器1110,还用于响应第二输入,向第一联系人发送第三信息,且停止向多个联系人中除第一联系人之外的其他联系人发送第三信息。The processor 1110 is further configured to, in response to the second input, send the third information to the first contact, and stop sending the third information to other contacts among the multiple contacts except the first contact.
根据本申请实施例提供的电子设备,通过向建立关联关系的多个联系人同时发送第一信息并接收多个联系人中的一个联系人发送第二信息,确定第一联系人,然后仅向该第一联系人发送第三信息,而不再向除第一联系人外的其他联系人发送第三信息,这样能够从多个联系人中快速确定需要聊天的对象,提升了用户的聊天体验。According to the electronic device provided by the embodiment of the present application, the first contact is determined by simultaneously sending the first message to multiple contacts with established association relationships and receiving the second message sent by one of the multiple contacts, and then the third message is sent only to the first contact, and the third message is no longer sent to other contacts except the first contact. In this way, the object to be chatted with can be quickly determined from multiple contacts, thereby improving the user's chat experience.
可选地,处理器1110,还用于接收用户在第一界面的第二输入之后,响应于第二输入,向多个联系人中除第一联系人之外的其他联系人发送第四信息;其中,第四信息用于指示删除第一信息。Optionally, the processor 1110 is further configured to, after receiving a second input from the user on the first interface, send fourth information to other contacts among the multiple contacts except the first contact in response to the second input; wherein the fourth information is used to indicate deletion of the first information.
根据本申请实施例提供的电子设备,通过向除第一联系人之外的其他联系人发送撤回第一信息的指令,撤回其他联系人接收到的第一信息,减少了其他联系人接收到无需处理的信息时带来的干扰。According to the electronic device provided in the embodiment of the present application, by sending an instruction to withdraw the first information to other contacts except the first contact, the first information received by other contacts is withdrawn, thereby reducing the interference caused by other contacts receiving information that does not need to be processed.
可选地,用户输入单元1107,还用于向第一联系人发送第三信息之后,在接收到第二联系人发送的第四信息的情况下,接收用户在第一界面的第三输入;Optionally, the user input unit 1107 is further configured to receive a third input of the user on the first interface after sending the third information to the first contact and receiving the fourth information sent by the second contact;
处理器1110,还用于响应第三输入,向第二联系人发送第五信息,且停止向多个联系人中除第二联系人之外的其他联系人发送第五信息。The processor 1110 is further configured to, in response to the third input, send the fifth information to the second contact, and stop sending the fifth information to other contacts among the multiple contacts except the second contact.
根据本申请实施例提供的电子设备,通过接收第四信息确定用户的目标联系人改变为第二联系人,此时,仅向第二联系人发送聊天信息,而不再向其他联系人发送,减少了用户发送信息到除第二联系人的其他联系人时带来的干扰。According to the electronic device provided in the embodiment of the present application, by receiving the fourth information, it is determined that the user's target contact is changed to the second contact. At this time, the chat message is only sent to the second contact, and no longer sent to other contacts, thereby reducing the interference caused by the user sending information to other contacts except the second contact.
可选地,处理器1110,还用于向第一联系人发送第三信息之后,在接收到第二联系人发送的第四信息的情况下,向第二联系人发送第六信息;其中,第六信息用于指示第二联系人迁移与用户的目标聊天记录。Optionally, the processor 1110 is further used to send sixth information to the second contact after sending the third information to the first contact and upon receiving the fourth information sent by the second contact; wherein the sixth information is used to instruct the second contact to migrate the target chat record with the user.
根据本申请实施例提供的电子设备,通过向第二联系人发送第六信息,可以将用户与第一联系人的历史聊天记录迁移到第二联系人,并在第二联系人的聊天交互界面上显示,有助于将用户与第一联系人和第二联系人的聊天过程无缝衔接,并且第二联系人无需登录第一联系人的账户即可查看第一联系人与用户的历史聊天记录,提升了第二联系人的聊天体验。According to the electronic device provided in the embodiment of the present application, by sending the sixth information to the second contact, the historical chat records between the user and the first contact can be migrated to the second contact and displayed on the chat interaction interface of the second contact, which helps to seamlessly connect the chat process between the user and the first contact and the second contact, and the second contact can view the historical chat records between the first contact and the user without logging into the account of the first contact, thereby improving the chat experience of the second contact.
可选地,用户输入单元1107,还用于接收用户在与用户建立关联关系的多个联系人中的任一联系人的第一界面的第一输入之前,接收用户在联系人列表显示界面的输入;Optionally, the user input unit 1107 is further configured to receive an input from the user on the contact list display interface before receiving a first input from the user on the first interface of any contact among multiple contacts with which the user has established an association relationship;
处理器1110,还用于响应该输入,在多个联系人中的每个联系人的用户标识上增加目标标识,目标标识用于表示多个联系人的关联关系;第一界面显示有多个联系人的用户标识,The processor 1110 is further configured to respond to the input by adding a target identifier to the user identifier of each of the multiple contacts, where the target identifier is used to indicate the association relationship between the multiple contacts; the first interface displays the user identifiers of the multiple contacts,
根据本申请实施例提供的电子设备,通过在联系人列表显示界面将每个联系人的用户标识设置目标标识,既可以知晓各联系人是否存在关联账户,又可以通快速切入关联账户对应的聊天交互界面,提升了用户的聊天体验。According to the electronic device provided in the embodiment of the present application, by setting the target identifier for the user identifier of each contact in the contact list display interface, it is possible to know whether each contact has an associated account, and to quickly enter the chat interaction interface corresponding to the associated account, thereby improving the user's chat experience.
应理解的是,本申请实施例中,输入单元1104可以包括图形处理器(GraphicsProcessing Unit,GPU)11041和麦克风11042,图形处理器11041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1106可包括显示面板11061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板11061。用户输入单元1107包括触控面板11071以及其他输入设备11072中的至少一种。触控面板11071,也称为触摸屏。触控面板11071可包括触摸检测装置和触摸控制器两个部分。其他输入设备11072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 1104 may include a graphics processor (Graphics Processing Unit, GPU) 11041 and a microphone 11042, and the graphics processor 11041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1107 includes a touch panel 11071 and at least one of other input devices 11072. The touch panel 11071 is also called a touch screen. The touch panel 11071 may include two parts: a touch detection device and a touch controller. Other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
存储器1109可用于存储软件程序以及各种数据。存储器1109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1109可以包括易失性存储器或非易失性存储器,或者,存储器1109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1109包括但不限于这些和任意其它适合类型的存储器。The memory 1109 can be used to store software programs and various data. The memory 1109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1109 may include a volatile memory or a non-volatile memory, or the memory 1109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
处理器1110可包括一个或多个处理单元;可选地,处理器1110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1110中。The processor 1110 may include one or more processing units; optionally, the processor 1110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1110.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述信息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned information sending method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述信息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned information sending method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be noted that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210564942.7ACN114979060B (en) | 2022-05-23 | 2022-05-23 | Information transmission method and information transmission device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210564942.7ACN114979060B (en) | 2022-05-23 | 2022-05-23 | Information transmission method and information transmission device |
| Publication Number | Publication Date |
|---|---|
| CN114979060A CN114979060A (en) | 2022-08-30 |
| CN114979060Btrue CN114979060B (en) | 2024-08-23 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210564942.7AActiveCN114979060B (en) | 2022-05-23 | 2022-05-23 | Information transmission method and information transmission device |
| Country | Link |
|---|---|
| CN (1) | CN114979060B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105389734A (en)* | 2015-10-27 | 2016-03-09 | 沈文策 | Page interactive method and system about social circle |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101217517B (en)* | 2008-01-07 | 2010-12-15 | 腾讯科技(深圳)有限公司 | A method and system to realize one-to-many chatting in the instant communication |
| CN101719880B (en)* | 2009-11-13 | 2012-04-11 | 东南大学 | A multi-protocol multi-account instant message fusion system and its working method |
| CN102368750A (en)* | 2011-09-30 | 2012-03-07 | 上海量明科技发展有限公司 | Display method and system of multi-account login interface |
| CN103236968B (en)* | 2013-05-16 | 2016-12-28 | 百度在线网络技术(北京)有限公司 | The conversation managing method of pocket transmission news, device and system |
| CN104967557B (en)* | 2015-05-28 | 2017-03-01 | 腾讯科技(深圳)有限公司 | Communication message transmission method and device |
| CN105429856A (en)* | 2015-12-01 | 2016-03-23 | 小米科技有限责任公司 | Instant communication method, instant communication device, terminal and server |
| CN112073289B (en)* | 2019-06-10 | 2022-12-02 | 腾讯科技(深圳)有限公司 | Instant messaging control method and device |
| CN113518028A (en)* | 2021-05-13 | 2021-10-19 | 华世界数字科技(深圳)有限公司 | Group chat method and device based on distinguishing group owner and group member |
| CN113992613A (en)* | 2021-10-01 | 2022-01-28 | 潘香宇 | Multi-user staggered chat method and chat platform |
| CN114518923A (en)* | 2022-01-04 | 2022-05-20 | 维沃移动通信有限公司 | Message sending method and device and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105389734A (en)* | 2015-10-27 | 2016-03-09 | 沈文策 | Page interactive method and system about social circle |
| Publication number | Publication date |
|---|---|
| CN114979060A (en) | 2022-08-30 |
| Publication | Publication Date | Title |
|---|---|---|
| CN111857500B (en) | Message display method and device, electronic equipment and storage medium | |
| US11972205B2 (en) | Method, apparatus and storage medium for loading message into target position in target document | |
| CN114500432B (en) | Conversation message sending and receiving method and device, electronic device, and readable storage medium | |
| CN102640114B (en) | Method for directly manipulating incoming interactions in an instant communication client application | |
| CN114726662B (en) | Group chat session management method, device, electronic device and readable storage medium | |
| CN112711366A (en) | Image generation method and device and electronic equipment | |
| CN115361354B (en) | Message processing method, device, electronic equipment and readable storage medium | |
| WO2024051522A1 (en) | Message sending method and apparatus, and electronic device and storage medium | |
| WO2023131290A1 (en) | Information interaction methods and apparatuses, electronic device and medium | |
| WO2023125157A1 (en) | Message sending method and apparatus, and electronic device and medium | |
| WO2023040845A1 (en) | Message transmission method and apparatus, and electronic device | |
| WO2025082433A1 (en) | Identifier display method and apparatus, electronic device, and readable storage medium | |
| CN114979060B (en) | Information transmission method and information transmission device | |
| CN117896341A (en) | Message display method, device, electronic equipment and readable storage medium | |
| CN115412634B (en) | Message display method and device | |
| CN117055782A (en) | Method, device, equipment and storage medium for displaying session list | |
| WO2024093815A1 (en) | Data sharing method and apparatus, electronic device, and medium | |
| CN113098757B (en) | Red packet transmitting method, red packet receiving method, red packet transmitting device and red packet receiving device | |
| CN116016756A (en) | Information processing method, apparatus, electronic device, and readable storage medium | |
| CN115378897B (en) | Temporary session establishment method, device, electronic device and readable storage medium | |
| CN115580591A (en) | A user invitation method, device, electronic device and storage medium | |
| CN114706638B (en) | Interface display method and device, electronic equipment and medium | |
| CN114285814B (en) | Chat parameter setting method, device, electronic device and storage medium | |
| CN117278511A (en) | Message processing method, device, electronic equipment and storage medium | |
| CN117149020A (en) | Information management methods, devices, equipment and media |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |