WO2023071932A1 - Message sending method and electronic device - Google Patents

Message sending method and electronic device Download PDF

Info

Publication number
WO2023071932A1
WO2023071932A1 PCT/CN2022/126666 CN2022126666W WO2023071932A1 WO 2023071932 A1 WO2023071932 A1 WO 2023071932A1 CN 2022126666 W CN2022126666 W CN 2022126666W WO 2023071932 A1 WO2023071932 A1 WO 2023071932A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
message
notification message
target notification
target
Prior art date
Application number
PCT/CN2022/126666
Other languages
French (fr)
Chinese (zh)
Inventor
孔祥瑞
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023071932A1 publication Critical patent/WO2023071932A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Definitions

  • the purpose of the embodiments of the present application is to provide a message sending method and an electronic device, which can solve the problem of cumbersome operations caused by frequent switching between multiple message session windows during a message session.
  • a display module configured to display the first message conversation window
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an 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 .
  • Fig. 1 is a flow chart of the message sending method provided by the embodiment of the present application, as shown in Fig. 1, including the following steps:
  • the message sending device can generate a session ID for each group session.
  • the session IDs are the same, and the message session windows displayed based on the session IDs are the same, and the session IDs are different, and the message session windows displayed based on the session IDs are different.
  • Step 102 When the first target notification message is received and there is a target association relationship between the first target notification message and the target conversation object, send the message based on the goal association relationship, wherein the target conversation object includes the At least one of the M session objects corresponding to the first session ID of the first message session window, and the second session ID corresponding to the first target notification message is different from the first session ID.
  • the first target notification message is not a notification message displayed on the first message session window, that is, if the first target notification message is displayed on the message session window, the first target notification message will be displayed on the window based on the second session ID. displayed on the second message conversation window, but not on the first message conversation window.
  • the session object corresponding to the first session ID includes at least two, one of which is called the local session object, that is, the user logged in at the current message sending device, and the other session
  • the objects may be collectively referred to as peer session objects, and the peer session objects may include one or multiple peer session objects.
  • the local session objects corresponding to all session IDs are the users logged in by the current message sending device, and according to the different session IDs, the group of the session can be different, and correspondingly, the peer session object corresponding to the session ID different.
  • the target association relationship between the first target notification message and the target session object may be determined, and the target session object may include at least one of the M session objects corresponding to the first session identifier, that is, the There are three target association relationships.
  • the first one may be that the first target notification message is only directly related to the local session object corresponding to the first session identifier. For example, the first target notification message is "Do you have time in the afternoon? Let's go play Bar".
  • the second type may be that the first target notification message is indirectly related to the local session object corresponding to the first session identifier, and the first target notification message is directly related to the session object associated with the message content of the first target notification message.
  • the first target notification message may be directly related to the peer session object corresponding to the first session identifier.
  • the first target notification message is "Please ask me if Li Si is free in the afternoon, I want to find him Playing ball", wherein, "Li Si" may be the peer session window corresponding to the first session identifier.
  • the first target notification message is directly related to other conversation objects, for example, the first target notification message is "Please ask me if Zhao Wu is free in the afternoon, I want to play with him".
  • the message sending device may receive the first target notification message and the identifier of the peer session object.
  • the second association operation is to associate the first target notification message with the peer session object, and then the message sending device can automatically edit the first target notification message and forward the edited message to the peer session object.
  • the first target notification message may be received
  • the third association operation with the first message session window is to send messages based on the peer session object corresponding to the second session identifier and the peer session object corresponding to the first session identifier respectively.
  • the target peer session object can be the first peer session object or the second peer session object, the first peer session object is the peer session object corresponding to the second session identifier, and the second peer session object is the first target notification The session object associated with the message content of the message.
  • the second target notification message may be sent to the first peer session object.
  • the step 103 specifically includes:
  • the first target notification message is associated with the third peer session object corresponding to the first session identifier, receiving the first target notification message and the third peer session object a third input of identification;
  • the session object corresponding to the first session identifier may include a third peer session object corresponding to the first session identifier, and the third peer session object corresponding to the first target notification message is the first session identifier
  • the first target notification message may be edited according to a preset format to obtain the third target notification message. For example, add the contact information of the first target notification message such as the nickname of the contact at the front of the message content of the first target notification message. For example, Wang Er sends a message to the current user Zhang San, that is, the first target notification message is: "You help I ask to see if Li Si has time in the afternoon, I want to play with him.” At this time, after the user moves the first target notification message to the avatar of the third peer conversation object "Li Si", it will be based on the preset format based on the first target notification message.
  • the fourth target notification message is the The notification message associated with the session input control corresponding to the first message session window, the fifth target notification message includes the second identification of the first peer session object and the message content of the first target notification message, and the first pair The end session object is the opposite end session object corresponding to the second session identifier;
  • the user can move the first target notification message to the blank area of the first message session window, or move the first target notification message to the middle area of the first message session window or other preset areas, so as to send the first target notification message Associated with the first messaging session window.
  • the message sending device may respond to the fourth input, associate the first target notification message with the first message session window, and obtain the fourth target notification message and the fifth target notification message.
  • the format of the first target notification message is a preset format, and the message content of the first target notification message includes a third identification of the fourth peer session object, receiving a response to the first target notification message
  • the fifth input of the fourth peer session object is different from the first peer session object, and the first peer session object is the peer session object corresponding to the second session identifier;
  • the first sending module 502 is configured to send a message based on the target association relationship when the first target notification message is received and the first target notification message has a target association relationship with the target session object, wherein the The target session object includes at least one of the M session objects corresponding to the first session ID of the first message session window, the second session ID corresponding to the first target notification message is different from the first session ID, and M is An integer greater than 1.
  • the first sending module 502 includes:
  • a second sending unit configured to send the third target notification message to the third peer session object based on the first session identifier.
  • the message when conducting a message conversation based on the first target notification message, the message can be sent based on the target association relationship between the first target notification message and the target conversation object on the basis of displaying the first message session window, so that there is no need to switch to another
  • the message conversation window is used for message conversation, which can simplify the operation of message sending and quickly carry out message conversation.
  • the electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710, etc. part.
  • the embodiment of the present application also provides a readable storage medium, the storage medium may be volatile or nonvolatile, and the readable storage medium stores programs or instructions, and when the programs or instructions are executed by the processor, the
  • the various processes of the above embodiments of the message sending method can achieve the same technical effect, so in order to avoid repetition, details are not repeated here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present application relates to the technical field of terminals, and discloses a message sending method and an electronic device. The method comprises: displaying a first message session window; and when a first target notification message is received and a target association relationship exists between the first target notification message and a target session object, sending a message on the basis of the target association relationship, wherein the target session object comprises at least one of M session objects corresponding to a first session identifier of the first message session window, a second session identifier corresponding to the first target notification message is different from the first session identifier, and M is an integer greater than 1.

Description

消息发送方法和电子设备Message sending method and electronic device
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年10月28日在中国提交的中国专利申请No.202111264671.5的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202111264671.5 filed in China on October 28, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于终端技术领域,具体涉及一种消息发送方法和电子设备。The present application belongs to the technical field of terminals, and specifically relates to a message sending method and electronic equipment.
背景技术Background technique
随着电子技术的高速发展,电子设备得到了广泛的应用。在用户使用电子设备的过程中,社交会话已经成为了工作生活的重要组成部分,在一应用场景中,用户可能会同时与多个会话对象进行会话。With the rapid development of electronic technology, electronic equipment has been widely used. When a user uses an electronic device, social conversation has become an important part of work and life. In an application scenario, a user may have conversations with multiple conversation objects at the same time.
目前,当用户与一个会话对象正在会话时,若电子设备接收到另外一个会话对象的通知消息时,通常是跳转到另外一个消息会话窗口进行消息会话,此时用户需要在多个消息会话窗口之间进行频繁切换,导致操作比较繁琐。At present, when a user is having a conversation with a conversation object, if the electronic device receives a notification message from another conversation object, it usually jumps to another message conversation window for a message conversation. Frequent switching between them makes the operation more cumbersome.
发明内容Contents of the invention
本申请实施例的目的是提供一种消息发送方法和电子设备,能够解决消息会话时若需要在多个消息会话窗口之间进行频繁切换而导致操作比较繁琐的问题。The purpose of the embodiments of the present application is to provide a message sending method and an electronic device, which can solve the problem of cumbersome operations caused by frequent switching between multiple message session windows during a message session.
第一方面,本申请实施例提供了一种消息发送方法,该方法包括:In the first aspect, the embodiment of the present application provides a method for sending a message, the method including:
显示第一消息会话窗口;displaying the first message conversation window;
在接收到第一目标通知消息且所述第一目标通知消息与目标会话对象存在目标关联关系的情况下,基于所述目标关联关系进行消息发送,其中,所述目标会话对象包括所述第一消息会话窗口的第一会话标识对应的M个会话对象中至少一个,所述第一目标通知消息对应的第二会话标识与所述第一会话标识不同,M为大于1的整数。When a first target notification message is received and there is a target association relationship between the first target notification message and the target session object, the message is sent based on the target session object, wherein the target session object includes the first At least one of the M session objects corresponding to the first session ID of the message session window, the second session ID corresponding to the first target notification message is different from the first session ID, and M is an integer greater than 1.
第二方面,本申请实施例提供了一种消息发送装置,该装置包括:In the second aspect, the embodiment of the present application provides a message sending device, which includes:
显示模块,用于显示第一消息会话窗口;A display module, configured to display the first message conversation window;
第一发送模块,用于在接收到第一目标通知消息且所述第一目标通知消息与目标会话对象存在目标关联关系的情况下,基于所述目标关联关系进行消息发送,其中,所述目标会话对象包括所述第一消息会话窗口的第一会话标识对应的M个会话对象中至少一个,所述第一目标通知消息对应的第二会话标识与所述第一会话标识不同,M为大于1的整数。The first sending module is configured to send a message based on the target association relationship when the first target notification message is received and the first target notification message has a target association relationship with the target session object, wherein the target The session object includes at least one of M session objects corresponding to the first session ID of the first message session window, the second session ID corresponding to the first target notification message is different from the first session ID, and M is greater than Integer of 1.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an 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 the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
第六方面,提供了一种计算机程序产品,所述计算机程序产品被存储在非瞬态的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤。In a sixth aspect, a computer program product is provided, the computer program product is stored in a non-transitory storage medium, and the computer program product is executed by at least one processor to implement the method described in the first aspect step.
在本申请实施例中,通过显示第一消息会话窗口;在接收到第一目标通知消息且所述第一目标通知消息与目标会话对象存在目标关联关系的情况下,基于所述目标关联关系进行消息发送,其中,所述目标会话对象包括所述第一消息会话窗口的第一会话标识对应的M个会话对象中至少一个,所述第一目标通知消息对应的第二会话标识与所述第一会话标识不同。如此,在基于第一目标通知消息进行消息会话时,可以在显示第一消息会话窗口的基础上,基于第一目标通知消息与目标会话对象的目标关联关系进行消息发送,从而无需切换至另一个消息会话窗口进行消息会话,进而可以简化消息发送的操 作,快速进行消息会话。In this embodiment of the present application, by displaying the first message conversation window; when the first target notification message is received and the first target notification message has a target association relationship with the target conversation object, the process is performed based on the target association relationship. Sending a message, wherein the target session object includes at least one of the M session objects corresponding to the first session ID of the first message session window, and the second session ID corresponding to the first target notification message is the same as the first session ID of the first message session window. A session ID is different. In this way, when conducting a message conversation based on the first target notification message, the message can be sent based on the target association relationship between the first target notification message and the target conversation object on the basis of displaying the first message session window, so that there is no need to switch to another The message conversation window is used for message conversation, which can simplify the operation of message sending and quickly carry out message conversation.
附图说明Description of drawings
图1是本申请实施例提供的消息发送方法的流程图;FIG. 1 is a flowchart of a message sending method provided in an embodiment of the present application;
图2是消息发送的场景示意图;FIG. 2 is a schematic diagram of a scene of message sending;
图3是第一目标通知消息与会话输入控件的关联示意图;Fig. 3 is a schematic diagram of association between a first target notification message and a session input control;
图4是第一目标通知消息与第三对端会话对象的关联示意图;Fig. 4 is a schematic diagram of the association between the first target notification message and the third peer session object;
图5是本申请实施例提供的消息发送装置的结构图;Fig. 5 is a structural diagram of a message sending device provided by an embodiment of the present application;
图6是本申请实施例提供的电子设备的结构图;FIG. 6 is a structural diagram of an electronic device provided by an embodiment of the present application;
图7为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的消息发送进行详细地说明。The message sending provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
图1是本申请实施例提供的消息发送方法的流程图,如图1所示,包括以下步骤:Fig. 1 is a flow chart of the message sending method provided by the embodiment of the present application, as shown in Fig. 1, including the following steps:
步骤101,显示第一消息会话窗口。 Step 101, displaying a first message conversation window.
该步骤中,第一消息会话窗口可以为显示在消息发送装置上的任一个消息会话窗口,用户可以基于该第一消息会话窗口进行消息会话。In this step, the first message conversation window may be any message conversation window displayed on the message sending device, and the user may conduct a message conversation based on the first message conversation window.
其中,第一消息会话窗口可以对应第一会话标识,第一会话标识可以指的是一个群体会话的标识信息,比如,针对张三和李四的会话,消息发送装置可以生成一个张三和李四会话的标识信息,得到第一会话标识,而第一消息会话窗口可以指的是基于第一会话标识进行窗口显示的一个消息会话窗口,即第一消息会话窗口可以为张三和李四的消息会话窗口。Wherein, the first message session window may correspond to the first session ID, and the first session ID may refer to identification information of a group session. For example, for the session between Zhang San and Li Si, the message sending device may generate a The identification information of four sessions obtains the first session identification, and the first message session window can refer to a message session window based on the first session identification for window display, that is, the first message session window can be Zhang San and Li Si's Message conversation window.
消息发送装置针对每个群体的会话,均可以生成一个会话标识,会话标识相同,基于该会话标识显示的消息会话窗口相同,会话标识不同,基于该会话标识显示的消息会话窗口不相同。The message sending device can generate a session ID for each group session. The session IDs are the same, and the message session windows displayed based on the session IDs are the same, and the session IDs are different, and the message session windows displayed based on the session IDs are different.
比如,针对张三和李四的会话,生成一个会话标识,基于该会话标识显示的消息会话窗口为张三和李四会话的消息会话窗口,针对张三和王二的会话,生成一个会话标识,基于该会话标识显示的消息会话窗口为张三和王二会话的消息会话窗口,针对张三、李四、王二和赵五的会话,生成一个会话标识,基于该会话标识显示的消息会话窗口为张三、李四、王二和赵五会话的消息会话窗口。For example, for the conversation between Zhang San and Li Si, a session identifier is generated, and the message session window displayed based on the session identifier is the message session window of the conversation between Zhang San and Li Si, and for the conversation between Zhang San and Wang Er, a session identifier is generated , the message session window displayed based on the session ID is the message session window of the conversation between Zhang San and Wang Er, and a session ID is generated for the sessions of Zhang San, Li Si, Wang Er and Zhao Wu, and the message session displayed based on the session ID The window is the message conversation window of the conversation between Zhang San, Li Si, Wang Er and Zhao Wu.
可以以全屏方式显示第一消息会话窗口,也可以以小窗口如侧边栏的方式显示第一消息会话窗口,这里不进行具体限定。The first message conversation window may be displayed in a full screen mode, or may be displayed in a small window such as a sidebar, which is not specifically limited here.
步骤102,在接收到第一目标通知消息且所述第一目标通知消息与目标会话对象存在目标关联关系的情况下,基于所述目标关联关系进行消息发送,其中,所述目标会话对象包括所述第一消息会话窗口的第一会话标识对应的M个会话对象中至少一个,所述第一目标通知消息对应的第二会话标识与所述第一会话标识不同。Step 102: When the first target notification message is received and there is a target association relationship between the first target notification message and the target conversation object, send the message based on the goal association relationship, wherein the target conversation object includes the At least one of the M session objects corresponding to the first session ID of the first message session window, and the second session ID corresponding to the first target notification message is different from the first session ID.
其中,M为大于1的整数。Wherein, M is an integer greater than 1.
该步骤中,第一目标通知消息可以为某一群体会话的消息,该群体可以与第一会话标识对应的会话群体不同,比如,第一目标通知消息可以为张三 和王二会话的消息,第一会话标识对应的会话群体可以为张三和李四。也就是说,第一目标通知消息对应的第二会话标识为针对张三和王二会话的标识信息,而第一会话标识为针对张三和李四会话的标识信息,第二会话标识与第一会话标识不同。In this step, the first target notification message can be a message of a certain group conversation, and this group can be different from the conversation group corresponding to the first session identifier. For example, the first target notification message can be a message of a conversation between Zhang San and Wang Er, The conversation group corresponding to the first conversation identifier may be Zhang San and Li Si. That is to say, the second session ID corresponding to the first target notification message is the identification information for the session between Zhang San and Wang Er, and the first session ID is the identification information for the session between Zhang San and Li Si. A session ID is different.
换句话说,第一目标通知消息不是显示在第一消息会话窗口上的通知消息,即若将第一目标通知消息显示在消息会话窗口上,第一目标通知消息会显示在基于第二会话标识显示的第二消息会话窗口上,而不会显示在第一消息会话窗口上。In other words, the first target notification message is not a notification message displayed on the first message session window, that is, if the first target notification message is displayed on the message session window, the first target notification message will be displayed on the window based on the second session ID. displayed on the second message conversation window, but not on the first message conversation window.
比如,当第一消息会话窗口为用户如张三与会话对象如李四进行消息会话的消息会话窗口时,在一场景中,可以接收到另一会话对象如王二在单聊或群聊中发送的第一目标通知消息,在另一场景中,也可以接收到李四在群聊中发送的第一目标通知消息。For example, when the first message conversation window is a message conversation window in which a user such as Zhang San conducts a message conversation with a conversation object such as Li Si, in a scene, another conversation object such as Wang Er in a single chat or a group chat may be received. The sent first target notification message, in another scenario, may also receive the first target notification message sent by Li Si in the group chat.
又比如,当第一消息会话窗口为用户如张三与群组A中的会话对象进行消息会话的消息会话窗口时,在一场景中,可以接收到某一会话对象如王二在单聊中或基于群组B发送的第一目标通知消息,该会话对象可以为群组A中的会话对象,也可以不为群组A中的会话对象,这里不进行具体限定。For another example, when the first message conversation window is a message conversation window in which a user such as Zhang San conducts a message conversation with a conversation object in group A, in a scene, it may be received that a certain conversation object such as Wang Er is in a single chat Or based on the first target notification message sent by group B, the conversation object may or may not be a conversation object in group A, which is not specifically limited here.
在接收到第一目标通知消息的情况下,消息发送装置可以以通知的形式显示在顶端或其他位置,如图2所示,消息发送装置当前显示用户张三与李四进行消息会话的消息会话窗口,此时,收到王二发送的第一目标通知消息,消息发送装置可以将该消息以通知形式显示在顶端。In the case of receiving the first target notification message, the message sending device can be displayed on the top or other positions in the form of a notification, as shown in Figure 2, the message sending device currently displays the message session of the message session between the user Zhang San and Li Si The window, at this moment, receives the first target notification message sent by Wang Er, and the message sending device can display the message on the top in a notification form.
由于会话标识指的是一个群体会话的标识信息,因此,第一会话标识对应的会话对象包括至少两个,其中之一称为本端会话对象,即在当前消息发送装置登录的用户,其他会话对象可以统称为对端会话对象,对端会话对象可以包括一个,也可以包括多个。针对消息发送装置来说,所有会话标识对应的本端会话对象均为当前消息发送装置登录的用户,而根据会话标识的不同,会话的群体可以不同,相应的,会话标识对应的对端会话对象不同。Since the session ID refers to the identification information of a group session, the session object corresponding to the first session ID includes at least two, one of which is called the local session object, that is, the user logged in at the current message sending device, and the other session The objects may be collectively referred to as peer session objects, and the peer session objects may include one or multiple peer session objects. For the message sending device, the local session objects corresponding to all session IDs are the users logged in by the current message sending device, and according to the different session IDs, the group of the session can be different, and correspondingly, the peer session object corresponding to the session ID different.
比如,当第一消息会话窗口为用户与某一会话对象进行消息会话的消息 会话窗口时,该场景可以称之为单聊场景,在该单聊场景下,第一消息会话窗口的第一会话标识对应的对端会话对象即为与用户进行消息会话的该会话对象。又比如,当第一消息会话窗口为某一群组对应的消息会话窗口时,该场景可以称之为群聊场景,在该群聊场景下,第一消息会话窗口的第一会话标识对应的对端会话对象可以包括多个,该群组中除用户之外的其他会话对象均是对端会话对象。For example, when the first message session window is a message session window in which the user has a message session with a certain session object, the scene can be called a single-chat scene. In this single-chat scene, the first session of the first message session window The peer session object corresponding to the identifier is the session object for the message session with the user. For another example, when the first message session window is a message session window corresponding to a certain group, the scene can be called a group chat scene. In this group chat scene, the first message session window corresponding to the first session identifier There may be multiple peer session objects, and all session objects in the group except the user are peer session objects.
在接收到第一目标通知消息的情况下,可以确定第一目标通知消息与目标会话对象的目标关联关系,该目标会话对象可以包括第一会话标识对应的M个会话对象中至少一个,即该目标关联关系可以包括三种,第一种可以为第一目标通知消息仅与第一会话标识对应的本端会话对象直接相关,如第一目标通知消息为“你下午有时间吗?我们去打球吧”。When the first target notification message is received, the target association relationship between the first target notification message and the target session object may be determined, and the target session object may include at least one of the M session objects corresponding to the first session identifier, that is, the There are three target association relationships. The first one may be that the first target notification message is only directly related to the local session object corresponding to the first session identifier. For example, the first target notification message is "Do you have time in the afternoon? Let's go play Bar".
第二种可以为第一目标通知消息与第一会话标识对应的本端会话对象间接相关,且第一目标通知消息与第一目标通知消息的消息内容关联的会话对象直接相关。在一场景中,第一目标通知消息可以与第一会话标识对应的对端会话对象直接相关,如第一目标通知消息为“你帮我问看看李四下午有没有时间,我想找他打球”,其中,“李四”可以为第一会话标识对应的对端会话窗口。在另一场景中,第一目标通知消息与其他会话对象直接相关,如第一目标通知消息为“你帮我问看看赵五下午有没有时间,我想找他打球”。The second type may be that the first target notification message is indirectly related to the local session object corresponding to the first session identifier, and the first target notification message is directly related to the session object associated with the message content of the first target notification message. In one scenario, the first target notification message may be directly related to the peer session object corresponding to the first session identifier. For example, the first target notification message is "Please ask me if Li Si is free in the afternoon, I want to find him Playing ball", wherein, "Li Si" may be the peer session window corresponding to the first session identifier. In another scenario, the first target notification message is directly related to other conversation objects, for example, the first target notification message is "Please ask me if Zhao Wu is free in the afternoon, I want to play with him".
第三种可以为第一目标通知消息与第一会话标识对应的本端会话对象和对端会话对象均直接相关,如第一目标通知消息为“你下午和李四都有时间吗?我想找你们一起打球”。The third type can be that the first target notification message is directly related to the local session object and the peer session object corresponding to the first session identifier. For example, the first target notification message is "Do you have time with Li Si in the afternoon? I think Let's play ball with you."
可以对第一目标通知消息进行内容解析,以确定第一目标通知消息与目标会话对象的目标关联关系,也可以将第一目标通知消息的句式类型与预先存储的预设句式类型进行匹配,以确定第一目标通知消息的句式类型所匹配的预设句式类型与目标会话对象的目标关联关系,从而确定第一目标通知消息与目标会话对象的目标关联关系。The content analysis of the first target notification message can be performed to determine the target association relationship between the first target notification message and the target conversation object, and the sentence type of the first target notification message can also be matched with the pre-stored preset sentence type , to determine the target association relationship between the preset sentence pattern type matched with the sentence pattern type of the first target notification message and the target conversation object, so as to determine the target association relationship between the first target notification message and the target conversation object.
在接收到第一目标通知消息且所述第一目标通知消息与目标会话对象存 在目标关联关系的情况下,可以基于目标关联关系进行消息发送。具体的,用户可以对第一目标通知消息进行该目标关联关系对应的操作,以针对第一目标通知消息进行快捷回复。When the first target notification message is received and there is a target association relationship between the first target notification message and the target session object, the message may be sent based on the target association relationship. Specifically, the user may perform an operation corresponding to the target association relationship on the first target notification message, so as to quickly reply to the first target notification message.
在一可选实施方式中,若第一目标通知消息与本端会话对象直接相关,消息发送装置可以接收对第一目标通知消息与第一消息会话窗口对应的会话输入控件的第一关联操作,以将会话输入控件与目标对端会话对象进行关联,之后用户可以在该会话输入控件进行内容输入,且用户在针对该会话输入控件点击进行消息发送之后,输入的内容会自动发送给该目标对端会话对象。In an optional implementation manner, if the first target notification message is directly related to the local session object, the message sending device may receive a first association operation on the first target notification message and the session input control corresponding to the first message session window, To associate the session input control with the target peer session object, and then the user can input content in the session input control, and after the user clicks on the session input control to send a message, the input content will be automatically sent to the target peer end session object.
其中,会话输入控件可以指的是第一消息会话窗口中的编辑框,该编辑框可以供用户进行消息内容编辑。目标对端会话对象可以为第一对端会话对象或第二对端会话对象,第一对端会话对象为第二会话标识对应的对端会话对象,第二对端会话对象为第一目标通知消息的消息内容关联的会话对象。Wherein, the conversation input control may refer to an edit box in the first message conversation window, and the edit box may be used for the user to edit message content. The target peer session object can be the first peer session object or the second peer session object, the first peer session object is the peer session object corresponding to the second session identifier, and the second peer session object is the first target notification The session object associated with the message content of the message.
在另一可选实施方式中,若第一目标通知消息与第一会话标识对应的对端会话对象直接相关,消息发送装置可以接收对第一目标通知消息与该对端会话对象的标识的第二关联操作,以将第一目标通知消息与该对端会话对象进行关联,之后消息发送装置可以对该第一目标通知消息进行自动编辑,并将编辑得到的消息转发给该对端会话对象。In another optional implementation manner, if the first target notification message is directly related to the peer session object corresponding to the first session identifier, the message sending device may receive the first target notification message and the identifier of the peer session object. The second association operation is to associate the first target notification message with the peer session object, and then the message sending device can automatically edit the first target notification message and forward the edited message to the peer session object.
在又一可选实施方式中,若第一目标通知消息与第一会话标识对应的本端会话对象和第一会话标识对应的对端会话对象均直接相关,则可以接收对第一目标通知消息与第一消息会话窗口的第三关联操作,以分别基于第二会话标识对应的对端会话对象和第一会话标识对应的对端会话对象进行消息发送。In yet another optional implementation manner, if the first target notification message is directly related to both the local session object corresponding to the first session identifier and the peer session object corresponding to the first session identifier, the first target notification message may be received The third association operation with the first message session window is to send messages based on the peer session object corresponding to the second session identifier and the peer session object corresponding to the first session identifier respectively.
本实施例中,通过显示第一消息会话窗口;在接收到第一目标通知消息且所述第一目标通知消息与目标会话对象存在目标关联关系的情况下,基于所述目标关联关系进行消息发送,其中,所述目标会话对象包括所述第一消息会话窗口的第一会话标识对应的M个会话对象中至少一个,所述第一目标通知消息对应的第二会话标识与所述第一会话标识不同。如此,在基于第一 目标通知消息进行消息会话时,可以在显示第一消息会话窗口的基础上,基于第一目标通知消息与目标会话对象的目标关联关系进行消息发送,从而无需切换至另一个消息会话窗口进行消息会话,进而可以简化消息发送的操作,快速进行消息会话。In this embodiment, by displaying the first message conversation window; when the first target notification message is received and the first target notification message has a target association relationship with the target conversation object, the message is sent based on the target association relationship , wherein the target session object includes at least one of the M session objects corresponding to the first session ID of the first message session window, and the second session ID corresponding to the first target notification message is the same as the first session ID The logos are different. In this way, when conducting a message conversation based on the first target notification message, the message can be sent based on the target association relationship between the first target notification message and the target conversation object on the basis of displaying the first message session window, so that there is no need to switch to another The message conversation window is used for message conversation, which can simplify the operation of message sending and quickly carry out message conversation.
可选的,所述步骤103具体包括:Optionally, the step 103 specifically includes:
在所述第一目标通知消息与所述第一会话标识对应的本端会话对象存在关联的情况下,接收对第一目标通知消息和所述第一消息会话窗口对应的会话输入控件的第一输入;In the case that the first target notification message is associated with the local session object corresponding to the first session identifier, receiving the first message for the first target notification message and the session input control corresponding to the first message session window enter;
响应于所述第一输入,将所述会话输入控件与目标对端会话对象进行关联,所述目标对端会话对象为第一对端会话对象或第二对端会话对象,所述第一对端会话对象为所述第二会话标识对应的对端会话对象,所述第二对端会话对象为所述第一目标通知消息的消息内容关联的会话对象;Responsive to the first input, associating the session input control with a target peer session object, the target peer session object being a first peer session object or a second peer session object, the first pair of The terminal session object is the peer session object corresponding to the second session identifier, and the second peer session object is the session object associated with the message content of the first target notification message;
在接收到基于所述会话输入控件对第二目标通知消息的第二输入的情况下,将所述第二目标通知消息发送给所述目标对端会话对象。In case a second input of a second target notification message based on the session input control is received, the second target notification message is sent to the target peer session object.
本实施方式中,第一会话标识对应的会话对象可以包括第一会话标识对应的本端会话对象,所述第一目标通知消息与所述第一会话标识对应的本端会话对象存在关联可以包括两种情况,第一种可以为第一目标通知消息与本端会话对象存在直接相关,如“你下午有时间吗?我们去打球吧”,或者“你下午和李四都有时间吗?我想找你们一起打球”。第二种可以为第一目标通知消息与本端会话对象存在间接相关,如“你帮我问看看李四下午有没有时间,我想找他打球”,或者“你帮我问看看赵五下午有没有时间,我想找他打球”。In this embodiment, the session object corresponding to the first session identifier may include a local session object corresponding to the first session identifier, and the first target notification message associated with the local session object corresponding to the first session identifier may include Two cases, the first one can be that the first target notification message is directly related to the local session object, such as "Do you have time in the afternoon? Let's go play ball", or "Do you have time with Li Si in the afternoon? I I want to play with you guys." The second type can be for the first target to notify that the message is indirectly related to the session object at the local end, such as "Ask me if Li Si is free in the afternoon, I want to play with him", or "Ask me to see if Li Si is available." Do you have time on Friday afternoon? I want to play with him."
在所述第一目标通知消息与本端会话对象存在关联的情况下,可以接收所述第一目标通知消息和所述第一消息会话窗口对应的会话输入控件的第一输入,第一输入用于将第一目标通知消息与第一消息会话窗口对应的会话输入控件进行关联,即上述实施例中提到的第一关联操作。In the case that the first target notification message is associated with the local session object, the first input of the session input control corresponding to the first target notification message and the first message session window may be received, and the first input uses To associate the first target notification message with the conversation input control corresponding to the first message conversation window, that is, the first association operation mentioned in the above embodiment.
其中,会话输入控件可以指的是第一消息会话窗口中的编辑框,该编辑框可以供用户进行消息内容编辑。第一输入可以为语音输入、手势输入、触 控输入或摇动输入等,触控输入可以包括长按输入、滑动输入、点击输入或拖动输入等。以下描述中所述第一输入将以触控输入为例进行说明。Wherein, the conversation input control may refer to an edit box in the first message conversation window, and the edit box may be used for the user to edit message content. The first input can be voice input, gesture input, touch input or shaking input, etc., and the touch input can include long press input, slide input, click input or drag input, etc. The first input described in the following description will be described by taking touch input as an example.
用户可以按住第一目标通知消息,并将其拖动至第一消息会话窗口对应的会话输入控件中。相应的,消息发送装置可以响应于第一输入,将该会话输入控件与目标对端会话对象进行关联。其中,会话输入控件与目标对端会话对象关联可以指的是基于该会话输入控件输入的消息内容是发送给该目标对端会话对象的。The user can press and hold the first target notification message, and drag it to the conversation input control corresponding to the first message conversation window. Correspondingly, the message sending device may, in response to the first input, associate the session input control with the target peer session object. Wherein, the association of the session input control with the target peer session object may mean that the message content input based on the session input control is sent to the target peer session object.
目标对端会话对象可以为第一对端会话对象或第二对端会话对象,第一对端会话对象为第二会话标识对应的对端会话对象,第二对端会话对象为第一目标通知消息的消息内容关联的会话对象。The target peer session object can be the first peer session object or the second peer session object, the first peer session object is the peer session object corresponding to the second session identifier, and the second peer session object is the first target notification The session object associated with the message content of the message.
用户可以在会话输入控件进行信息输入,信息输入完成之后,用户可以基于会话输入控件对第二目标通知消息执行第二输入,即针对会话输入控件的内容执行消息发送操作,会话输入控件的内容即为第二目标通知消息的消息内容。相应的,消息发送装置在接收到基于所述会话输入控件对第二目标通知消息的第二输入的情况下,可以将所述第二目标通知消息发送给目标对端会话对象。其中,第二输入可以为语音输入、手势输入、触控输入或摇动输入等,触控输入可以包括长按输入、滑动输入、点击输入或拖动输入等。第二输入以触控输入为例,在会话输入控件进行信息输入且完成之后,用户可以针对会话输入控件的内容点击确认发送的控件进行消息发送。The user can input information on the session input control. After the information input is completed, the user can perform a second input on the second target notification message based on the session input control, that is, perform a message sending operation on the content of the session input control. The content of the session input control is The message content of the notification message for the second destination. Correspondingly, the message sending device may send the second target notification message to the target peer session object when receiving the second input of the second target notification message based on the session input control. Wherein, the second input can be voice input, gesture input, touch input or shaking input, etc., and the touch input can include long press input, slide input, click input or drag input, etc. The second input takes the touch input as an example. After the session input control completes the information input, the user can click the confirmation send control to send the message according to the content of the session input control.
在一可选实施方式中,若第一目标通知消息与本端会话对象存在直接相关,则可以将所述第二目标通知消息发送给第一对端会话对象。In an optional implementation manner, if the first target notification message is directly related to the local session object, the second target notification message may be sent to the first peer session object.
在另一可选实施方式中,若第一目标通知消息与本端会话对象存在间接相关,且与第一目标通知消息的消息内容关联的会话对象存在直接相关,若消息发送装置中包括有第二对端会话对象对应的联系人,则可以将第二目标通知消息发送给第二对端会话对象,第二对端会话对象为所述第一目标通知消息的消息内容关联的会话对象,如“李四”或“赵五”。在该实施方式中,第二对端会话对象与第一对端会话对象可以相同,也可以不同,这里不进行 具体限定。In another optional implementation manner, if the first target notification message is indirectly related to the local session object, and the session object associated with the message content of the first target notification message is directly related, if the message sending device includes a second The contact person corresponding to the two peer session objects can send the second target notification message to the second peer session object, and the second peer session object is a session object associated with the message content of the first target notification message, such as "Li Si" or "Zhao Wu". In this embodiment, the second peer session object may be the same as or different from the first peer session object, which is not specifically limited here.
另外,如果需要进行内容引用,如用户针对第一目标通知消息执行了消息引用操作,或者,消息发送装置解析到第一目标通知消息包括预设内容如符号“?”,则消息发送装置可以解析第一目标通知消息中的消息内容到会话输入控件中,用户点击发送之后,可以将输入的内容以及引用的内容一起进行发送,如图3所示。In addition, if content reference is required, for example, if the user performs a message reference operation on the first target notification message, or the message sending device parses that the first target notification message includes preset content such as a symbol "?", then the message sending device can parse The message content in the first target notification message is sent to the session input control, and after the user clicks to send, the input content and the quoted content can be sent together, as shown in FIG. 3 .
本实施方式中,通过在所述第一目标通知消息与所述第一会话标识对应的本端会话对象存在关联的情况下,接收对第一目标通知消息和所述第一消息会话窗口对应的会话输入控件的第一输入;响应于所述第一输入,将所述会话输入控件与目标对端会话对象进行关联,所述目标对端会话对象为第一对端会话对象或第二对端会话对象,所述第一对端会话对象为所述第二会话标识对应的对端会话对象,所述第二对端会话对象为所述第一目标通知消息的消息内容关联的会话对象;在接收到基于所述会话输入控件对第二目标通知消息的第二输入的情况下,将所述第二目标通知消息发送给所述目标对端会话对象。如此,可以通过将会话输入控件与目标对端会话对象进行关联,来实现在不将第一消息会话窗口切换至第二消息会话窗口的情况下进行消息会话,从而可以简化消息发送的操作,进而可以快速进行消息会话。In this embodiment, when the first target notification message is associated with the local session object corresponding to the first session identifier, receiving the first target notification message corresponding to the first message session window A first input of a session input control; in response to the first input, associating the session input control with a target peer session object, where the target peer session object is a first peer session object or a second peer session object A session object, where the first peer session object is a peer session object corresponding to the second session identifier, and the second peer session object is a session object associated with the message content of the first target notification message; When a second input of a second target notification message based on the session input control is received, the second target notification message is sent to the target peer session object. In this way, by associating the session input control with the target peer session object, a message session can be carried out without switching the first message session window to the second message session window, thereby simplifying the operation of message sending, and further Messaging conversations can be carried on quickly.
可选的,所述步骤103具体包括:Optionally, the step 103 specifically includes:
在所述第一目标通知消息与所述第一会话标识对应的第三对端会话对象存在关联的情况下,接收对所述第一目标通知消息和所述第三对端会话对象的第一标识的第三输入;If the first target notification message is associated with the third peer session object corresponding to the first session identifier, receiving the first target notification message and the third peer session object a third input of identification;
响应于所述第三输入,将所述第一目标通知消息与所述第三对端会话对象进行关联;获取第三目标通知消息,所述第三目标通知消息的消息内容包括第一对端会话对象的第二标识和所述第一目标通知消息的消息内容,所述第一对端会话对象为所述第二会话标识对应的对端会话对象;In response to the third input, associate the first target notification message with the third peer session object; obtain a third target notification message, the message content of the third target notification message includes the first peer The second identifier of the session object and the message content of the first target notification message, the first peer session object is the peer session object corresponding to the second session identifier;
基于所述第一会话标识将所述第三目标通知消息发送给所述第三对端会话对象。Sending the third target notification message to the third peer session object based on the first session identifier.
本实施方式中,第一会话标识对应的会话对象可以包括第一会话标识对应的第三对端会话对象,所述第一目标通知消息与所述第一会话标识对应的第三对端会话对象存在关联包括两种,第一种可以为第一目标通知消息仅与第三对端会话对象直接相关,如“你帮我问看看李四下午有没有时间,我想找他打球”,第二种可以为第一目标通知消息与第三对端会话对象和本端会话对象均直接相关,如“你下午和李四都有时间吗?我想找你们一起打球”。In this embodiment, the session object corresponding to the first session identifier may include a third peer session object corresponding to the first session identifier, and the third peer session object corresponding to the first target notification message is the first session identifier There are two kinds of associations. The first one can be that the first target notification message is only directly related to the third peer session object, such as "Please help me to see if Li Si is free in the afternoon, I want to play with him", the first The second type can be that the first target notification message is directly related to both the third peer session object and the local session object, such as "do you have time with Li Si in the afternoon? I want to ask you to play together".
在所述第一目标通知消息与第三对端会话对象存在关联的情况下,可以接收对所述第一目标通知消息和所述第三对端会话对象的第一标识的第三输入,第三输入用于将第一目标通知消息与第三对端会话对象关联,即上述实施例中提到的第二关联操作。其中,第三输入可以为语音输入、手势输入、触控输入或摇动输入等,触控输入可以包括长按输入、滑动输入、点击输入或拖动输入等。以下描述中所述第三输入将以触控输入为例进行说明。In the case that the first target notification message is associated with the third peer session object, a third input of the first target notification message and the first identification of the third peer session object may be received. The three inputs are used to associate the first target notification message with the third peer session object, that is, the second association operation mentioned in the above embodiment. Wherein, the third input may be voice input, gesture input, touch input or shaking input, etc., and the touch input may include long press input, slide input, click input or drag input, etc. In the following description, the third input will be described by taking touch input as an example.
用户可以将第一目标通知消息移动到第三对端会话对象的第一标识如头像上,如图4所示,相应的,消息发送装置可以响应于第三输入,将所述第一目标通知消息与所述第三对端会话对象进行关联,并获取第三目标通知消息。The user can move the first target notification message to the first identification of the third peer conversation object, such as the avatar, as shown in FIG. The message is associated with the third peer session object, and a third target notification message is acquired.
其中,第三目标通知消息包括所述第一目标通知消息对应的第一对端会话对象的第二标识和所述第一目标通知消息的消息内容。在一可选实施方式中,第三目标通知消息可以为图片形式的消息,可以针对第一目标通知消息进行消息截图,得到第三目标通知消息,图片截图时可以保留第一目标通知消息的联系信息,以让第三对端会话对象迅速了解第三目标通知消息中的联系人信息,通过消息截图的方式获取第三目标通知消息可以避免当前用户主动对第一目标通知消息的消息内容进行截屏的麻烦,简化消息发送的操作。Wherein, the third target notification message includes the second identifier of the first peer session object corresponding to the first target notification message and the message content of the first target notification message. In an optional embodiment, the third target notification message can be a message in the form of a picture, and a screenshot of the first target notification message can be taken to obtain the third target notification message, and the connection of the first target notification message can be retained when the picture is screenshotted Information, so that the third peer conversation object quickly understands the contact information in the third target notification message, and obtaining the third target notification message through message screenshots can prevent the current user from taking the initiative to screenshot the message content of the first target notification message simplifies the operation of sending messages.
在另一可选实施方式中,可以按照预设格式对第一目标通知消息进行编辑,得到第三目标通知消息。如在第一目标通知消息的消息内容最前面加上第一目标通知消息的联系人信息如联系人昵称,比如,王二给当前用户张三发来消息,即第一目标通知消息为:“你帮我问看看李四下午有没有时间,我 想找他打球”,此时用户将第一目标通知消息移动到第三对端会话对象“李四”的头像上后,按照预设格式基于第一目标通知消息进行编辑得到的第三目标通知消息可以为:“王二:你帮我问看看李四下午有没有时间,我想找他打球”。若后续李四基于第三目标通知消息进行消息回复时,可以直接发送给联系人王二。In another optional implementation manner, the first target notification message may be edited according to a preset format to obtain the third target notification message. For example, add the contact information of the first target notification message such as the nickname of the contact at the front of the message content of the first target notification message. For example, Wang Er sends a message to the current user Zhang San, that is, the first target notification message is: "You help I ask to see if Li Si has time in the afternoon, I want to play with him." At this time, after the user moves the first target notification message to the avatar of the third peer conversation object "Li Si", it will be based on the preset format based on the first target notification message. The third target notification message obtained by editing the first target notification message can be: "Wang Er: Please help me to see if Li Si has time in the afternoon, I want to find him to play." If Li Si then responds to the message based on the third target notification message, it can be sent directly to the contact Wang Er.
之后,可以基于所述第一会话标识将第三目标通知消息发送给第三对端会话对象,第三目标通知消息可以显示在第一消息会话窗口上。Afterwards, a third target notification message may be sent to the third peer session object based on the first session identifier, and the third target notification message may be displayed on the first message session window.
本实施方式中,通过在所述第一目标通知消息与所述第一会话标识对应的第三对端会话对象存在关联的情况下,接收对所述第一目标通知消息和所述第三对端会话对象的第一标识的第三输入;响应于所述第三输入,将所述第一目标通知消息与所述第三对端会话对象进行关联;获取第三目标通知消息,所述第三目标通知消息的消息内容包括第一对端会话对象的第二标识和所述第一目标通知消息的消息内容,所述第一对端会话对象为所述第二会话标识对应的对端会话对象;基于所述第一会话标识将所述第三目标通知消息发送给所述第三对端会话对象。如此,可以通过将第一目标通知消息与第三对端会话对象的第一标识进行关联,来实现在不将第一消息会话窗口切换至第二消息会话窗口的情况下进行消息会话,从而可以简化消息发送的操作,进而可以快速进行消息会话。In this embodiment, when the first target notification message is associated with the third peer session object corresponding to the first session identifier, receiving the first target notification message and the third pair A third input of the first identification of the end session object; in response to the third input, associate the first target notification message with the third peer session object; obtain a third target notification message, the first target notification message The message content of the three-target notification message includes the second identifier of the first peer session object and the message content of the first target notification message, and the first peer session object is the peer session corresponding to the second session identifier an object; sending the third target notification message to the third peer session object based on the first session identifier. In this way, by associating the first target notification message with the first identifier of the third peer session object, the message session can be carried out without switching the first message session window to the second message session window, so that Simplify the operation of sending messages, which in turn enables fast messaging conversations.
可选的,所述步骤103具体包括:Optionally, the step 103 specifically includes:
在所述第一目标通知消息与所述第一会话标识对应的本端会话对象存在关联,且与所述第一会话标识对应的第三对端会话对象存在关联的情况下,接收对所述第一目标通知消息和所述第一消息会话窗口的第四输入;If the first target notification message is associated with the local session object corresponding to the first session identifier and is associated with the third peer session object corresponding to the first session identifier, receiving the a fourth input of the first target notification message and the first message conversation window;
响应于所述第四输入,将所述第一目标通知消息与所述第一消息会话窗口进行关联,获取第四目标通知消息和第五目标通知消息,所述第四目标通知消息为所述第一消息会话窗口对应的会话输入控件关联的通知消息,所述第五目标通知消息包括第一对端会话对象的第二标识和所述第一目标通知消息的消息内容,所述第一对端会话对象为所述第二会话标识对应的对端会话 对象;In response to the fourth input, associating the first target notification message with the first message session window, and acquiring a fourth target notification message and a fifth target notification message, the fourth target notification message is the The notification message associated with the session input control corresponding to the first message session window, the fifth target notification message includes the second identification of the first peer session object and the message content of the first target notification message, and the first pair The end session object is the opposite end session object corresponding to the second session identifier;
将所述第四目标通知消息发送给所述第一对端会话对象,并基于所述第一会话标识将所述第五目标通知消息发送给所述第三对端会话对象。sending the fourth target notification message to the first peer session object, and sending the fifth target notification message to the third peer session object based on the first session identifier.
本实施方式中,所述第一目标通知消息与本端会话对象,且第一目标通知消息与第三对端会话对象存在关联包括两种情况,第一种可以为第一目标通知消息与本端会话对象存在间接相关,且第一目标通知消息与第三对端会话对象存在直接相关,如“你帮我问看看李四下午有没有时间,我想找他打球”,第二种可以为第一目标通知消息与本端会话对象存在直接相关,且第一目标通知消息与第三对端会话对象存在直接相关,如“你下午和李四都有时间吗?我想找你们一起打球”。In this embodiment, the first target notification message is associated with the local session object, and the first target notification message is associated with the third peer session object. There is an indirect relationship between the end session object, and the first target notification message is directly related to the third end session object, such as "Please help me to see if Li Si is free in the afternoon, I want to play with him", the second one can The first target notification message is directly related to the local session object, and the first target notification message is directly related to the third peer session object, such as "Do you have time with Li Si in the afternoon? I want to play with you ".
在所述第一目标通知消息与本端会话对象存在关联,且与第三对端会话对象存在关联的情况下,可以接收对所述第一目标通知消息和所述第一消息会话窗口的第四输入,第四输入用于将第一目标通知消息与第一消息会话窗口关联,即上述实施例中提到的第三关联操作。其中,第四输入可以为语音输入、手势输入、触控输入或摇动输入等,触控输入可以包括长按输入、滑动输入、点击输入或拖动输入等。以下描述中所述第四输入将以触控输入为例进行说明。In the case that the first target notification message is associated with the local session object and is associated with the third peer session object, the first target notification message and the first message session window of the first message may be received. Four inputs, the fourth input is used for associating the first target notification message with the first message conversation window, that is, the third associating operation mentioned in the above embodiment. Wherein, the fourth input can be voice input, gesture input, touch input or shaking input, etc., and the touch input can include long press input, slide input, click input or drag input, etc. The fourth input described in the following description will be described by taking touch input as an example.
用户可以将第一目标通知消息移动到第一消息会话窗口的空白区域,也可以将第一目标通知消息移动到第一消息会话窗口的中间区域或其他预设区域,以将第一目标通知消息与第一消息会话窗口关联。相应的,消息发送装置可以响应于第四输入,将第一目标通知消息与第一消息会话窗口关联,并获取第四目标通知消息和第五目标通知消息。The user can move the first target notification message to the blank area of the first message session window, or move the first target notification message to the middle area of the first message session window or other preset areas, so as to send the first target notification message Associated with the first messaging session window. Correspondingly, the message sending device may respond to the fourth input, associate the first target notification message with the first message session window, and obtain the fourth target notification message and the fifth target notification message.
其中,第四目标通知消息可以为基于所述第一消息会话窗口对应的会话输入控件输入的通知消息,即基于会话输入控件输入的通知消息,如回复消息“我下午有时间,可以一起去打球”,或者回复消息“我已经帮你问了李四看他是否有时间打球,等李四回复”。第五目标通知消息可以包括第一对端会话对象的第二标识和所述第一目标通知消息的消息内容,第五目标通知消息 的消息形式与第三目标通知消息类似,这里不进行赘述。Wherein, the fourth target notification message may be a notification message input based on the session input control corresponding to the first message session window, that is, a notification message input based on the session input control, such as a reply message "I have time in the afternoon, and I can go play together." ", or reply to the message "I have asked Li Si for you to see if he has time to play, and wait for Li Si to reply". The fifth target notification message may include the second identifier of the first peer session object and the message content of the first target notification message, and the message format of the fifth target notification message is similar to that of the third target notification message, and will not be described here.
之后可以将第四目标通知消息发送给第一对端会话对象,或者在点击确认发送的情况下将第四目标通知消息发送给第一对端会话对象,在发送给第一对端会话对象时,可以按照原发送路径将第四目标通知消息发送给第一对端会话对象,原发送路径可以指的是第一目标通知消息的发送路径,比如,王二在单聊场景中给张三发送第一目标通知消息,张三也会单独将第三目标通知消息发送给王二,又比如,王二基于群组A给张三发送第一目标通知消息,张三也会基于群组A将第三目标通知消息发送给王二。同时,可以基于第一会话标识将所述第五目标通知消息发送给所述第三对端会话对象。Afterwards, the fourth target notification message can be sent to the first peer session object, or the fourth target notification message can be sent to the first peer session object when clicking to confirm sending, and when sent to the first peer session object , the fourth target notification message can be sent to the first peer session object according to the original sending path. The original sending path can refer to the sending path of the first target notification message. For example, Wang Er sends Zhang San a For the first target notification message, Zhang San will also send the third target notification message to Wang Er alone. For another example, Wang Er sends the first target notification message to Zhang San based on group A, and Zhang San will also send The third target notification message is sent to Wang Er. At the same time, the fifth target notification message may be sent to the third peer session object based on the first session identifier.
本实施方式中,通过在所述第一目标通知消息与所述第一会话标识对应的本端会话对象存在关联,且与所述第一会话标识对应的第三对端会话对象存在关联的情况下,接收对所述第一目标通知消息和所述第一消息会话窗口的第四输入;响应于所述第四输入,将所述第一目标通知消息与所述第一消息会话窗口进行关联,获取第四目标通知消息和第五目标通知消息,所述第四目标通知消息为所述第一消息会话窗口对应的会话输入控件关联的通知消息,所述第五目标通知消息包括第一对端会话对象的第二标识和所述第一目标通知消息的消息内容,所述第一对端会话对象为所述第二会话标识对应的对端会话对象;将所述第四目标通知消息发送给所述第一对端会话对象,并基于所述第一会话标识将所述第五目标通知消息发送给所述第三对端会话对象。如此,可以通过将第一目标通知消息与第一消息会话窗口进行关联,来实现在不将第一消息会话窗口切换至第二消息会话窗口的情况下进行消息会话,从而可以简化消息发送的操作,进而可以快速进行消息会话。In this embodiment, when the first target notification message is associated with the local session object corresponding to the first session identifier, and the third peer session object corresponding to the first session identifier is associated Next, receiving a fourth input to the first target notification message and the first message session window; in response to the fourth input, associating the first target notification message with the first message session window , acquire a fourth target notification message and a fifth target notification message, the fourth target notification message is a notification message associated with the session input control corresponding to the first message session window, and the fifth target notification message includes the first pair of The second identifier of the end session object and the message content of the first target notification message, the first peer session object is the peer session object corresponding to the second session identifier; the fourth target notification message is sent to the first peer session object, and send the fifth target notification message to the third peer session object based on the first session identifier. In this way, by associating the first target notification message with the first message session window, a message session can be carried out without switching the first message session window to the second message session window, thereby simplifying the operation of message sending , which in turn allows for quick messaging conversations.
可选的,在接收到第一目标通知消息的情况下,所述方法还包括:Optionally, when the first target notification message is received, the method further includes:
在所述第一目标通知消息的格式为预设格式、且所述第一目标通知消息的消息内容包括第四对端会话对象的第三标识的情况下,接收对所述第一目标通知消息的第五输入,所述第四对端会话对象与第一对端会话对象不同,所述第一对端会话对象为所述第二会话标识对应的对端会话对象;When the format of the first target notification message is a preset format, and the message content of the first target notification message includes a third identification of the fourth peer session object, receiving a response to the first target notification message The fifth input of the fourth peer session object is different from the first peer session object, and the first peer session object is the peer session object corresponding to the second session identifier;
响应于所述第五输入,获取第六目标通知消息;Responsive to the fifth input, obtaining a sixth target notification message;
将所述第六目标通知消息发送给所述第四对端会话对象。Send the sixth target notification message to the fourth peer session object.
本实施方式中,在接收到第一目标通知消息之后,可以获取第一目标通知消息的格式,并确定该格式是否为预设格式,如是否包括符号“:”,或者是否为图片形式,当包括符号“:”,且第一目标通知消息的消息内容包括第四对端会话对象的第三标识时,则说明该第一目标通知消息为转发消息,此时,可以接收对所述第一目标通知消息的第五输入。其中,第五输入可以为语音输入、手势输入、触控输入或摇动输入等,触控输入可以包括长按输入、滑动输入、点击输入或拖动输入等。以下描述中所述第五输入将以触控输入为例进行说明。In this embodiment, after receiving the first target notification message, the format of the first target notification message can be obtained, and it can be determined whether the format is a preset format, such as whether it includes the symbol ":", or whether it is in the form of a picture, when When the symbol ":" is included, and the message content of the first target notification message includes the third identifier of the fourth peer session object, it indicates that the first target notification message is a forwarded message. At this time, the first target notification message can be received Fifth input for target notification message. Wherein, the fifth input can be voice input, gesture input, touch input or shaking input, etc., and the touch input can include long press input, slide input, click input or drag input, etc. In the following description, the fifth input will be described by taking touch input as an example.
在一可选实施方式中,用户可以将第一目标通知消息拖动至第一消息会话窗口对应的会话输入控件,相应的,消息发送装置可以响应于第五输入,获取第六目标通知消息,如将基于会话输入控件输入的内容作为第六目标通知消息。之后,可以将第六目标通知消息发送给第四对端会话对象,或者在点击确认发送的情况下将第六目标通知消息发送给第四对端会话对象。其中,发送方式可以不受限定,如可以以单聊方式发送给第四对端会话对象,也可以基于群组发送给第四对端会话对象。In an optional implementation manner, the user may drag the first target notification message to the session input control corresponding to the first message session window, and correspondingly, the message sending device may acquire the sixth target notification message in response to the fifth input, For example, the content input based on the session input control is used as the sixth target notification message. Afterwards, the sixth target notification message may be sent to the fourth peer session object, or the sixth target notification message may be sent to the fourth peer session object in the case of clicking confirm sending. Wherein, the sending method may not be limited, for example, it may be sent to the fourth peer conversation object in a single chat mode, or may be sent to the fourth peer conversation object based on a group.
本实施方式中,通过在所述第一目标通知消息的格式为预设格式、且所述第一目标通知消息的消息内容包括第四对端会话对象的第三标识的情况下,接收对所述第一目标通知消息的第五输入,所述第四对端会话对象与第一对端会话对象不同,所述第一对端会话对象为所述第二会话标识对应的对端会话对象;响应于所述第五输入,获取第六目标通知消息;将所述第六目标通知消息发送给所述第四对端会话对象。如此,可以在不将第一消息会话窗口切换至第二消息会话窗口的情况下进行消息会话,从而可以简化消息发送的操作,进而可以快速进行消息会话。In this embodiment, when the format of the first target notification message is a preset format and the message content of the first target notification message includes the third identification of the fourth peer session object, receiving the The fifth input of the first target notification message, the fourth peer session object is different from the first peer session object, and the first peer session object is the peer session object corresponding to the second session identifier; In response to the fifth input, acquire a sixth target notification message; and send the sixth target notification message to the fourth peer session object. In this way, the message conversation can be carried out without switching the first message conversation window to the second message conversation window, so that the operation of sending the message can be simplified, and further the message conversation can be quickly carried out.
需要说明的是,本申请实施例提供的消息发送方法,执行主体可以为消息发送装置,或者该消息发送装置中的用于执行消息发送方法的控制模块。 本申请实施例中以消息发送装置执行消息发送方法为例,说明本申请实施例提供的消息发送装置。It should be noted that, the message sending method provided in the embodiment of the present application may be executed by a message sending device, or a control module in the message sending device for executing the message sending method. In the embodiment of the present application, the method for sending a message performed by the message sending device is taken as an example to illustrate the message sending device provided in the embodiment of the present application.
参见图5,图5是本申请实施例提供的消息发送装置的结构图,如图5所示,消息发送装置500包括:Referring to FIG. 5, FIG. 5 is a structural diagram of a message sending device provided in an embodiment of the present application. As shown in FIG. 5, the message sending device 500 includes:
显示模块501,用于显示第一消息会话窗口;A display module 501, configured to display a first message conversation window;
第一发送模块502,用于在接收到第一目标通知消息且所述第一目标通知消息与目标会话对象存在目标关联关系的情况下,基于所述目标关联关系进行消息发送,其中,所述目标会话对象包括所述第一消息会话窗口的第一会话标识对应的M个会话对象中至少一个,所述第一目标通知消息对应的第二会话标识与所述第一会话标识不同,M为大于1的整数。The first sending module 502 is configured to send a message based on the target association relationship when the first target notification message is received and the first target notification message has a target association relationship with the target session object, wherein the The target session object includes at least one of the M session objects corresponding to the first session ID of the first message session window, the second session ID corresponding to the first target notification message is different from the first session ID, and M is An integer greater than 1.
可选的,所述第一发送模块502包括:Optionally, the first sending module 502 includes:
第一接收单元,用于在所述第一目标通知消息与所述第一会话标识对应的本端会话对象存在关联的情况下,接收对第一目标通知消息和所述第一消息会话窗口对应的会话输入控件的第一输入;The first receiving unit is configured to receive the first target notification message corresponding to the first message session window when the first target notification message is associated with the local session object corresponding to the first session identifier. The first input of the session input control;
第一关联单元,用于响应于所述第一输入,将所述会话输入控件与目标对端会话对象进行关联,所述目标对端会话对象为第一对端会话对象或第二对端会话对象,所述第一对端会话对象为所述第二会话标识对应的对端会话对象,所述第二对端会话对象为所述第一目标通知消息的消息内容关联的会话对象;A first associating unit, configured to associate the session input control with a target peer session object in response to the first input, where the target peer session object is a first peer session object or a second peer session object object, the first peer session object is a peer session object corresponding to the second session identifier, and the second peer session object is a session object associated with the message content of the first target notification message;
第一发送单元,用于在接收到基于所述会话输入控件对第二目标通知消息的第二输入的情况下,将所述第二目标通知消息发送给所述目标对端会话对象。A first sending unit, configured to send the second target notification message to the target peer session object when a second input of the second target notification message based on the session input control is received.
可选的,所述第一发送模块502包括:Optionally, the first sending module 502 includes:
第二接收单元,用于在所述第一目标通知消息与所述第一会话标识对应的第三对端会话对象存在关联的情况下,接收对所述第一目标通知消息和所述第三对端会话对象的第一标识的第三输入;The second receiving unit is configured to receive the first target notification message and the third peer session object corresponding to the first session identifier when the first target notification message is associated with the third peer session object. A third input of the first identification of the peer session object;
第二关联单元,用于响应于所述第三输入,将所述第一目标通知消息与 所述第三对端会话对象进行关联;A second associating unit, configured to associate the first target notification message with the third peer session object in response to the third input;
第一获取单元,用于获取第三目标通知消息,所述第三目标通知消息的消息内容包括第一对端会话对象的第二标识和所述第一目标通知消息的消息内容,所述第一对端会话对象为所述第二会话标识对应的对端会话对象;The first acquiring unit is configured to acquire a third target notification message, the message content of the third target notification message includes the second identifier of the first peer session object and the message content of the first target notification message, the first target notification message The peer session object is the peer session object corresponding to the second session identifier;
第二发送单元,用于基于所述第一会话标识将所述第三目标通知消息发送给所述第三对端会话对象。A second sending unit, configured to send the third target notification message to the third peer session object based on the first session identifier.
可选的,所述第一发送模块502包括:Optionally, the first sending module 502 includes:
第三接收单元,用于在所述第一目标通知消息与所述第一会话标识对应的本端会话对象存在关联,且与所述第一会话标识对应的第三对端会话对象存在关联的情况下,接收对所述第一目标通知消息和所述第一消息会话窗口的第四输入;The third receiving unit is configured to, when the first target notification message is associated with the local session object corresponding to the first session identifier, and is associated with the third peer session object corresponding to the first session identifier case, receiving a fourth input to the first target notification message and the first message conversation window;
第三关联单元,用于响应于所述第四输入,将所述第一目标通知消息与所述第一消息会话窗口进行关联;a third associating unit, configured to associate the first target notification message with the first message conversation window in response to the fourth input;
第二获取单元,用于获取第四目标通知消息和第五目标通知消息,所述第四目标通知消息为所述第一消息会话窗口对应的会话输入控件关联的通知消息,所述第五目标通知消息包括第一对端会话对象的第二标识和所述第一目标通知消息的消息内容,所述第一对端会话对象为所述第二会话标识对应的对端会话对象;The second acquiring unit is configured to acquire a fourth target notification message and a fifth target notification message, the fourth target notification message is a notification message associated with the session input control corresponding to the first message session window, and the fifth target The notification message includes the second identifier of the first peer session object and the message content of the first target notification message, and the first peer session object is the peer session object corresponding to the second session identifier;
第三发送单元,用于将所述第四目标通知消息发送给所述第一对端会话对象,并基于所述第一会话标识将所述第五目标通知消息发送给所述第三对端会话对象。A third sending unit, configured to send the fourth target notification message to the first peer session object, and send the fifth target notification message to the third peer based on the first session identifier session object.
可选的,所述装置还包括:Optionally, the device also includes:
接收模块,用于在所述第一目标通知消息的格式为预设格式、且所述第一目标通知消息的消息内容包括第四对端会话对象的第三标识的情况下,接收对所述第一目标通知消息的第五输入,所述第四对端会话对象与第一对端会话对象不同,所述第一对端会话对象为所述第二会话标识对应的对端会话对象;A receiving module, configured to receive a response to the first target notification message when the format of the first target notification message is a preset format and the message content of the first target notification message includes a third identifier of the fourth peer session object. The fifth input of the first target notification message, the fourth peer session object is different from the first peer session object, and the first peer session object is the peer session object corresponding to the second session identifier;
获取模块,用于响应于所述第五输入,获取第六目标通知消息;An acquisition module, configured to acquire a sixth target notification message in response to the fifth input;
第二发送模块,用于将所述第六目标通知消息发送给所述第四对端会话对象。The second sending module is configured to send the sixth target notification message to the fourth peer session object.
本实施例中,通过显示模块501显示第一消息会话窗口;通过第一发送模块502在接收到第一目标通知消息且所述第一目标通知消息与目标会话对象存在目标关联关系的情况下,基于所述目标关联关系进行消息发送,其中,所述目标会话对象包括所述第一消息会话窗口的第一会话标识对应的M个会话对象中至少一个,所述第一目标通知消息对应的第二会话标识与所述第一会话标识不同。如此,在基于第一目标通知消息进行消息会话时,可以在显示第一消息会话窗口的基础上,基于第一目标通知消息与目标会话对象的目标关联关系进行消息发送,从而无需切换至另一个消息会话窗口进行消息会话,进而可以简化消息发送的操作,快速进行消息会话。In this embodiment, the first message conversation window is displayed by the display module 501; when the first target notification message is received by the first sending module 502 and there is a target association relationship between the first target notification message and the target conversation object, The message is sent based on the target association relationship, wherein the target session object includes at least one of the M session objects corresponding to the first session identifier of the first message session window, and the first target notification message corresponds to the first session object The second session ID is different from the first session ID. In this way, when conducting a message conversation based on the first target notification message, the message can be sent based on the target association relationship between the first target notification message and the target conversation object on the basis of displaying the first message session window, so that there is no need to switch to another The message conversation window is used for message conversation, which can simplify the operation of message sending and quickly carry out message conversation.
本申请实施例中的消息发送装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The message sending device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的消息发送装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The message sending device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的消息发送装置能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。The message sending device provided in the embodiment of the present application can realize various processes realized in the method embodiment in FIG. 1 , and details are not repeated here to avoid repetition.
可选地,如图6所示,本申请实施例还提供一种电子设备600,包括处理器601,存储器602,存储在存储器602上并可在所述处理器601上运行的 程序或指令,该程序或指令被处理器601执行时实现上述消息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 6 , the embodiment of the present application further provides an electronic device 600, including a processor 601, a memory 602, and programs or instructions stored in the memory 602 and operable on the processor 601, When the program or instruction is executed by the processor 601, the various processes of the above-mentioned message sending method embodiment can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图7为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、以及处理器710等部件。The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710, etc. part.
本领域技术人员可以理解,电子设备700还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 700 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 710 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
其中,显示单元706,用于显示第一消息会话窗口;Wherein, the display unit 706 is configured to display the first message conversation window;
处理器710,用于在接收到第一目标通知消息且所述第一目标通知消息与目标会话对象存在目标关联关系的情况下,基于所述目标关联关系进行消息发送,其中,所述目标会话对象包括所述第一消息会话窗口的第一会话标识对应的M个会话对象中至少一个,所述第一目标通知消息对应的第二会话标识与所述第一会话标识不同,M为大于1的整数。 Processor 710, configured to send a message based on the target association relationship when the first target notification message is received and the first target notification message has a target association relationship with the target session object, wherein the target session object The object includes at least one of M session objects corresponding to the first session ID of the first message session window, the second session ID corresponding to the first target notification message is different from the first session ID, and M is greater than 1 an integer of .
本实施例中,通过显示单元706显示第一消息会话窗口;通过处理器710在接收到第一目标通知消息且所述第一目标通知消息与目标会话对象存在目标关联关系的情况下,基于所述目标关联关系进行消息发送,其中,所述目标会话对象包括所述第一消息会话窗口的第一会话标识对应的M个会话对象中至少一个,所述第一目标通知消息对应的第二会话标识与所述第一会话标识不同。如此,在基于第一目标通知消息进行消息会话时,可以在显示第一消息会话窗口的基础上,基于第一目标通知消息与目标会话对象的目标关联关系进行消息发送,从而无需切换至另一个消息会话窗口进行消息会话,进 而可以简化消息发送的操作,快速进行消息会话。In this embodiment, the first message conversation window is displayed by the display unit 706; when the first target notification message is received by the processor 710 and there is a target association relationship between the first target notification message and the target conversation object, based on the The target association relationship is used to send messages, wherein the target session object includes at least one of the M session objects corresponding to the first session identifier of the first message session window, and the second session object corresponding to the first target notification message The ID is different from the first session ID. In this way, when conducting a message conversation based on the first target notification message, the message can be sent based on the target association relationship between the first target notification message and the target conversation object on the basis of displaying the first message session window, so that there is no need to switch to another The message conversation window is used for message conversation, which can simplify the operation of message sending and quickly carry out message conversation.
可选的,用户输入单元707,用于在所述第一目标通知消息与所述第一会话标识对应的本端会话对象存在关联的情况下,接收对第一目标通知消息和所述第一消息会话窗口对应的会话输入控件的第一输入;Optionally, the user input unit 707 is configured to receive the first target notification message and the first target notification message when the first target notification message is associated with the local session object corresponding to the first session identifier. The first input of the session input control corresponding to the message session window;
处理器710,还用于响应于所述第一输入,将所述会话输入控件与目标对端会话对象进行关联,所述目标对端会话对象为第一对端会话对象或第二对端会话对象,所述第一对端会话对象为所述第二会话标识对应的对端会话对象,所述第二对端会话对象为所述第一目标通知消息的消息内容关联的会话对象;在接收到基于所述会话输入控件对第二目标通知消息的第二输入的情况下,将所述第二目标通知消息发送给所述目标对端会话对象。The processor 710 is further configured to, in response to the first input, associate the session input control with a target peer session object, where the target peer session object is the first peer session object or the second peer session object object, the first peer session object is the peer session object corresponding to the second session identifier, and the second peer session object is the session object associated with the message content of the first target notification message; In case of a second input of a second target notification message based on the session input control, sending the second target notification message to the target peer session object.
可选的,用户输入单元707,还用于在所述第一目标通知消息与所述第一会话标识对应的第三对端会话对象存在关联的情况下,接收对所述第一目标通知消息和所述第三对端会话对象的第一标识的第三输入;Optionally, the user input unit 707 is further configured to receive a notification message for the first target when the first target notification message is associated with a third peer session object corresponding to the first session identifier and a third input of the first identification of the third peer session object;
处理器710,还用于响应于所述第三输入,将所述第一目标通知消息与所述第三对端会话对象进行关联;获取第三目标通知消息,所述第三目标通知消息的消息内容包括第一对端会话对象的第二标识和所述第一目标通知消息的消息内容,所述第一对端会话对象为所述第二会话标识对应的对端会话对象;基于所述第一会话标识将所述第三目标通知消息发送给所述第三对端会话对象。The processor 710 is further configured to, in response to the third input, associate the first target notification message with the third peer session object; acquire a third target notification message, the third target notification message The message content includes the second identifier of the first peer session object and the message content of the first target notification message, and the first peer session object is the peer session object corresponding to the second session identifier; based on the The first session identifier sends the third target notification message to the third peer session object.
可选的,用户输入单元707,还用于在所述第一目标通知消息与所述第一会话标识对应的本端会话对象存在关联,且与所述第一会话标识对应的第三对端会话对象存在关联的情况下,接收对所述第一目标通知消息和所述第一消息会话窗口的第四输入;Optionally, the user input unit 707 is further configured to: when the first target notification message is associated with the local session object corresponding to the first session identifier, and the third peer corresponding to the first session identifier When the conversation object is associated, receiving a fourth input of the first target notification message and the first message conversation window;
处理器710,还用于响应于所述第四输入,将所述第一目标通知消息与所述第一消息会话窗口进行关联,获取第四目标通知消息和第五目标通知消息,所述第四目标通知消息为所述第一消息会话窗口对应的会话输入控件关联的通知消息,所述第五目标通知消息包括第一对端会话对象的第二标识和 所述第一目标通知消息的消息内容,所述第一对端会话对象为所述第二会话标识对应的对端会话对象;将所述第四目标通知消息发送给所述第一对端会话对象,并基于所述第一会话标识将所述第五目标通知消息发送给所述第三对端会话对象。The processor 710 is further configured to, in response to the fourth input, associate the first target notification message with the first message conversation window, acquire a fourth target notification message and a fifth target notification message, and the first target notification message The four-target notification message is a notification message associated with the session input control corresponding to the first message session window, and the fifth target notification message includes the second identification of the first peer session object and the message of the first target notification message content, the first peer session object is the peer session object corresponding to the second session identifier; the fourth target notification message is sent to the first peer session object, and based on the first session Indicates sending the fifth target notification message to the third peer session object.
可选的,用户输入单元707,还用于在所述第一目标通知消息的格式为预设格式、且所述第一目标通知消息的消息内容包括第四对端会话对象的第三标识的情况下,接收对所述第一目标通知消息的第五输入,所述第四对端会话对象与第一对端会话对象不同,所述第一对端会话对象为所述第二会话标识对应的对端会话对象;Optionally, the user input unit 707 is further configured to: when the format of the first target notification message is a preset format and the message content of the first target notification message includes the third identification of the fourth peer session object In the case where the fifth input to the first target notification message is received, the fourth peer session object is different from the first peer session object, and the first peer session object corresponds to the second session identifier The peer session object;
处理器710,还用于响应于所述第五输入,获取第六目标通知消息;将所述第六目标通知消息发送给所述第四对端会话对象。The processor 710 is further configured to, in response to the fifth input, acquire a sixth target notification message; and send the sixth target notification message to the fourth peer session object.
应理解的是,本申请实施例中,输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元706可包括显示面板7061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板7061。用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器709可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。It should be understood that, in the embodiment of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072 . The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts, a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here. Memory 709 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, user interface, application program, etc., and the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710 .
本申请实施例还提供一种可读存储介质,该存储介质可以是易失的或非易失的,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述消息发送方法实施例的各个过程,且能达到相同的技术效果, 为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, the storage medium may be volatile or nonvolatile, and the readable storage medium stores programs or instructions, and when the programs or instructions are executed by the processor, the The various processes of the above embodiments of the message sending method can achieve the same technical effect, so in order to avoid repetition, details are not repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述消息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above message sending method embodiment Each process can achieve the same technical effect, so in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments 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. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁 碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (12)

  1. 一种消息发送方法,包括:A message sending method, comprising:
    显示第一消息会话窗口;displaying the first message conversation window;
    在接收到第一目标通知消息且所述第一目标通知消息与目标会话对象存在目标关联关系的情况下,基于所述目标关联关系进行消息发送,其中,所述目标会话对象包括所述第一消息会话窗口的第一会话标识对应的M个会话对象中至少一个,所述第一目标通知消息对应的第二会话标识与所述第一会话标识不同,M为大于1的整数。When a first target notification message is received and there is a target association relationship between the first target notification message and the target session object, the message is sent based on the target session object, wherein the target session object includes the first At least one of the M session objects corresponding to the first session ID of the message session window, the second session ID corresponding to the first target notification message is different from the first session ID, and M is an integer greater than 1.
  2. 根据权利要求1所述的方法,其中,所述基于所述目标关联关系进行消息发送,包括:The method according to claim 1, wherein said sending a message based on the target association relationship comprises:
    在所述第一目标通知消息与所述第一会话标识对应的本端会话对象存在关联的情况下,接收对所述第一目标通知消息和所述第一消息会话窗口对应的会话输入控件的第一输入;If the first target notification message is associated with the local session object corresponding to the first session identifier, receiving a session input control corresponding to the first target notification message and the first message session window first input;
    响应于所述第一输入,将所述会话输入控件与目标对端会话对象进行关联,所述目标对端会话对象为第一对端会话对象或第二对端会话对象,所述第一对端会话对象为所述第二会话标识对应的对端会话对象,所述第二对端会话对象为所述第一目标通知消息的消息内容关联的会话对象;Responsive to the first input, associating the session input control with a target peer session object, the target peer session object being a first peer session object or a second peer session object, the first pair of The terminal session object is the peer session object corresponding to the second session identifier, and the second peer session object is the session object associated with the message content of the first target notification message;
    在接收到基于所述会话输入控件对第二目标通知消息的第二输入的情况下,将所述第二目标通知消息发送给所述目标对端会话对象。In case a second input of a second target notification message based on the session input control is received, the second target notification message is sent to the target peer session object.
  3. 根据权利要求1所述的方法,其中,所述基于所述目标关联关系进行消息发送,包括:The method according to claim 1, wherein said sending a message based on the target association relationship comprises:
    在所述第一目标通知消息与所述第一会话标识对应的第三对端会话对象存在关联的情况下,接收对所述第一目标通知消息和所述第三对端会话对象的第一标识的第三输入;If the first target notification message is associated with the third peer session object corresponding to the first session identifier, receiving the first target notification message and the third peer session object a third input of identification;
    响应于所述第三输入,将所述第一目标通知消息与所述第三对端会话对象进行关联;获取第三目标通知消息,所述第三目标通知消息的消息内容包 括第一对端会话对象的第二标识和所述第一目标通知消息的消息内容,所述第一对端会话对象为所述第二会话标识对应的对端会话对象;In response to the third input, associate the first target notification message with the third peer session object; obtain a third target notification message, the message content of the third target notification message includes the first peer The second identifier of the session object and the message content of the first target notification message, the first peer session object is the peer session object corresponding to the second session identifier;
    基于所述第一会话标识将所述第三目标通知消息发送给所述第三对端会话对象。Sending the third target notification message to the third peer session object based on the first session identifier.
  4. 根据权利要求1所述的方法,其中,所述基于所述目标关联关系进行消息发送,包括:The method according to claim 1, wherein said sending a message based on the target association relationship comprises:
    在所述第一目标通知消息与所述第一会话标识对应的本端会话对象存在关联,且与所述第一会话标识对应的第三对端会话对象存在关联的情况下,接收对所述第一目标通知消息和所述第一消息会话窗口的第四输入;If the first target notification message is associated with the local session object corresponding to the first session identifier and is associated with the third peer session object corresponding to the first session identifier, receiving the a fourth input of the first target notification message and the first message conversation window;
    响应于所述第四输入,将所述第一目标通知消息与所述第一消息会话窗口进行关联,获取第四目标通知消息和第五目标通知消息,所述第四目标通知消息为所述第一消息会话窗口对应的会话输入控件关联的通知消息,所述第五目标通知消息包括第一对端会话对象的第二标识和所述第一目标通知消息的消息内容,所述第一对端会话对象为所述第二会话标识对应的对端会话对象;In response to the fourth input, associating the first target notification message with the first message session window, and acquiring a fourth target notification message and a fifth target notification message, the fourth target notification message is the The notification message associated with the session input control corresponding to the first message session window, the fifth target notification message includes the second identification of the first peer session object and the message content of the first target notification message, and the first pair The end session object is the opposite end session object corresponding to the second session identifier;
    将所述第四目标通知消息发送给所述第一对端会话对象,并基于所述第一会话标识将所述第五目标通知消息发送给所述第三对端会话对象。sending the fourth target notification message to the first peer session object, and sending the fifth target notification message to the third peer session object based on the first session identifier.
  5. 根据权利要求1所述的方法,其中,在接收到第一目标通知消息的情况下,所述方法还包括:The method according to claim 1, wherein, in the case of receiving the first target notification message, the method further comprises:
    在所述第一目标通知消息的格式为预设格式、且所述第一目标通知消息的消息内容包括第四对端会话对象的第三标识的情况下,接收对所述第一目标通知消息的第五输入,所述第四对端会话对象与第一对端会话对象不同,所述第一对端会话对象为所述第二会话标识对应的对端会话对象;When the format of the first target notification message is a preset format, and the message content of the first target notification message includes a third identification of the fourth peer session object, receiving a response to the first target notification message The fifth input of the fourth peer session object is different from the first peer session object, and the first peer session object is the peer session object corresponding to the second session identifier;
    响应于所述第五输入,获取第六目标通知消息;Responsive to the fifth input, obtaining a sixth target notification message;
    将所述第六目标通知消息发送给所述第四对端会话对象。Send the sixth target notification message to the fourth peer session object.
  6. 一种消息发送装置,包括:A message sending device, comprising:
    显示模块,用于显示第一消息会话窗口;A display module, configured to display the first message conversation window;
    第一发送模块,用于在接收到第一目标通知消息且所述第一目标通知消息与目标会话对象存在目标关联关系的情况下,基于所述目标关联关系进行消息发送,其中,所述目标会话对象包括所述第一消息会话窗口的第一会话标识对应的M个会话对象中至少一个,所述第一目标通知消息对应的第二会话标识与所述第一会话标识不同,M为大于1的整数。The first sending module is configured to send a message based on the target association relationship when the first target notification message is received and the first target notification message has a target association relationship with the target session object, wherein the target The session object includes at least one of M session objects corresponding to the first session ID of the first message session window, the second session ID corresponding to the first target notification message is different from the first session ID, and M is greater than Integer of 1.
  7. 根据权利要求6所述的装置,其中,所述第一发送模块包括:The device according to claim 6, wherein the first sending module comprises:
    第一接收单元,用于在所述第一目标通知消息与所述第一会话标识对应的本端会话对象存在关联的情况下,接收对所述第一目标通知消息和所述第一消息会话窗口对应的会话输入控件的第一输入;A first receiving unit, configured to receive the first target notification message and the first message session when the first target notification message is associated with the local session object corresponding to the first session identifier The first input of the session input control corresponding to the window;
    第一关联单元,用于响应于所述第一输入,将所述会话输入控件与目标对端会话对象进行关联,所述目标对端会话对象为第一对端会话对象或第二对端会话对象,所述第一对端会话对象为所述第二会话标识对应的对端会话对象,所述第二对端会话对象为所述第一目标通知消息的消息内容关联的会话对象;A first associating unit, configured to associate the session input control with a target peer session object in response to the first input, where the target peer session object is a first peer session object or a second peer session object object, the first peer session object is a peer session object corresponding to the second session identifier, and the second peer session object is a session object associated with the message content of the first target notification message;
    第一发送单元,用于在接收到基于所述会话输入控件对第二目标通知消息的第二输入的情况下,将所述第二目标通知消息发送给所述目标对端会话对象。A first sending unit, configured to send the second target notification message to the target peer session object when a second input of the second target notification message based on the session input control is received.
  8. 根据权利要求6所述的装置,其中,所述第一发送模块包括:The device according to claim 6, wherein the first sending module comprises:
    第二接收单元,用于在所述第一目标通知消息与所述第一会话标识对应的第三对端会话对象存在关联的情况下,接收对所述第一目标通知消息和所述第三对端会话对象的第一标识的第三输入;The second receiving unit is configured to receive the first target notification message and the third peer session object corresponding to the first session identifier when the first target notification message is associated with the third peer session object. A third input of the first identification of the peer session object;
    第二关联单元,用于响应于所述第三输入,将所述第一目标通知消息与所述第三对端会话对象进行关联;a second associating unit, configured to, in response to the third input, associate the first target notification message with the third peer session object;
    第一获取单元,用于获取第三目标通知消息,所述第三目标通知消息的消息内容包括第一对端会话对象的第二标识和所述第一目标通知消息的消息内容,所述第一对端会话对象为所述第二会话标识对应的对端会话对象;The first acquiring unit is configured to acquire a third target notification message, the message content of the third target notification message includes the second identifier of the first peer session object and the message content of the first target notification message, the first target notification message The peer session object is the peer session object corresponding to the second session identifier;
    第二发送单元,用于基于所述第一会话标识将所述第三目标通知消息发 送给所述第三对端会话对象。A second sending unit, configured to send the third target notification message to the third peer session object based on the first session identifier.
  9. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5中任一项所述的消息发送方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, when the program or instruction is executed by the processor, claims 1-5 are realized The steps of any one of the message sending methods.
  10. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5中任一项所述的消息发送方法的步骤。A readable storage medium, storing programs or instructions on the readable storage medium, and implementing the steps of the message sending method according to any one of claims 1-5 when the programs or instructions are executed by a processor.
  11. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-5中任一项所述的消息发送方法的步骤。A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the message as described in any one of claims 1-5 The steps of the send method.
  12. 一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-5中任一项所述的消息发送方法的步骤。A computer program product, the computer program product is stored in a non-volatile storage medium, and the computer program product is executed by at least one processor to realize the message sending according to any one of claims 1-5 method steps.
PCT/CN2022/126666 2021-10-28 2022-10-21 Message sending method and electronic device WO2023071932A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111264671.5 2021-10-28
CN202111264671.5A CN114051009B (en) 2021-10-28 2021-10-28 Message sending method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2023071932A1 true WO2023071932A1 (en) 2023-05-04

Family

ID=80206345

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/126666 WO2023071932A1 (en) 2021-10-28 2022-10-21 Message sending method and electronic device

Country Status (2)

Country Link
CN (1) CN114051009B (en)
WO (1) WO2023071932A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114051009B (en) * 2021-10-28 2023-11-10 维沃移动通信有限公司 Message sending method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159714A (en) * 2007-11-30 2008-04-09 腾讯科技(深圳)有限公司 Instant communication method, device and cluster server
CN108008869A (en) * 2016-10-31 2018-05-08 南宁富桂精密工业有限公司 Switch the method and system of different sessions window in single-page
CN109842543A (en) * 2017-11-29 2019-06-04 阿里巴巴集团控股有限公司 The store method and device of instant communicating method and device, instant communication message
CN114051009A (en) * 2021-10-28 2022-02-15 维沃移动通信有限公司 Message sending method and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2339800A1 (en) * 2006-09-29 2011-06-29 Research In Motion Limited IM contact list entry as a game in progress designate
CN101026829A (en) * 2006-12-26 2007-08-29 武汉市迅彩科技有限责任公司 Single-window multi-page multi-person chat system for mobile communication system
CN100553238C (en) * 2007-04-25 2009-10-21 腾讯科技(深圳)有限公司 A kind of associated user display system and method
CN105099891A (en) * 2015-07-24 2015-11-25 阿里巴巴集团控股有限公司 Group message prompt method and device for instant messaging application
CN108400925B (en) * 2017-02-08 2021-04-09 阿里巴巴集团控股有限公司 Instant messaging message reminding method and instant messaging client
CN110138645B (en) * 2019-03-29 2021-06-18 腾讯科技(深圳)有限公司 Session message display method, device, equipment and storage medium
CN109873757A (en) * 2019-03-29 2019-06-11 上海连尚网络科技有限公司 Message display method, electronic equipment and readable medium for multi-conference
CN111800334B (en) * 2020-07-03 2022-04-19 联想(北京)有限公司 Processing method and device and electronic equipment
CN111984115A (en) * 2020-07-31 2020-11-24 维沃移动通信有限公司 Message sending method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159714A (en) * 2007-11-30 2008-04-09 腾讯科技(深圳)有限公司 Instant communication method, device and cluster server
CN108008869A (en) * 2016-10-31 2018-05-08 南宁富桂精密工业有限公司 Switch the method and system of different sessions window in single-page
CN109842543A (en) * 2017-11-29 2019-06-04 阿里巴巴集团控股有限公司 The store method and device of instant communicating method and device, instant communication message
CN114051009A (en) * 2021-10-28 2022-02-15 维沃移动通信有限公司 Message sending method and electronic equipment

Also Published As

Publication number Publication date
CN114051009B (en) 2023-11-10
CN114051009A (en) 2022-02-15

Similar Documents

Publication Publication Date Title
US11044219B2 (en) Message forwarding method and electronic device
WO2023274144A1 (en) Message processing method and apparatus, electronic device, and storage medium
CN111857500B (en) Message display method and device, electronic equipment and storage medium
CN106059894B (en) Message processing method and device
CN105183276A (en) Method and apparatus for realizing game in chat interface, and and terminal device
CN112637039B (en) Information processing method, device and storage medium
WO2023160668A1 (en) Session message transceiving method and apparatus, electronic device and readable storage medium
WO2022247864A1 (en) Message reminding method and apparatus, and electronic device
WO2022135323A1 (en) Image generation method and apparatus, and electronic device
WO2023030130A1 (en) Session processing method and apparatus, and electronic device
WO2022242745A1 (en) Display method, display apparatus, related device, and readable storage medium
WO2022166902A1 (en) Interface display method and apparatus, and electronic device
WO2023131055A1 (en) Message sending method and apparatus, and electronic device
US20230328018A1 (en) Sending method and apparatus, and electronic device
WO2023040845A1 (en) Message transmission method and apparatus, and electronic device
WO2023061343A1 (en) Session creation method and apparatus, and electronic device
WO2023071932A1 (en) Message sending method and electronic device
CN114422461A (en) Message reference method and device
CN113285866A (en) Information sending method and device and electronic equipment
CN112511412A (en) Information sending method and device, electronic equipment and readable storage medium
CN113676395A (en) Information processing method, related device and readable storage medium
WO2023078301A1 (en) Chat information sending method and apparatus
CN112333337B (en) Message checking method, device, equipment and storage medium
WO2023046105A1 (en) Message sending method and apparatus and electronic device
WO2023011483A1 (en) Message sending method and apparatus, and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22885809

Country of ref document: EP

Kind code of ref document: A1