CN107612817A - Message method and device - Google Patents
Message method and device Download PDFInfo
- Publication number
- CN107612817A CN107612817A CN201710943580.1A CN201710943580A CN107612817A CN 107612817 A CN107612817 A CN 107612817A CN 201710943580 A CN201710943580 A CN 201710943580A CN 107612817 A CN107612817 A CN 107612817A
- Authority
- CN
- China
- Prior art keywords
- user
- message
- chat request
- targeted customer
- request information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
本公开是关于一种消息发送方法及装置。该方法包括:接收第一用户针对目标用户发送的替代聊天请求信息,向目标用户发送该替代聊天请求信息,在接收到目标用户针对该替代聊天请求信息返回的确认信息的情况下,在目标用户与第二用户之间建立消息交互通道,在接收到目标用户通过该消息交互通道针对第二用户发送的第一消息的情况下,将第一消息的发送方变更为第一用户,得到变更后的第一消息,向第二用户发送变更后的第一消息。本公开的消息发送方法及装置,即时通讯应用的好友之间能够替代聊天,减少用户因为临时有事而造成聊天中断的情况,提高用户的使用体验。
The present disclosure relates to a message sending method and device. The method includes: receiving the substitute chat request information sent by the first user for the target user, sending the substitute chat request information to the target user, and receiving the confirmation information returned by the target user for the substitute chat request information, in the target user Establish a message interaction channel with the second user, and change the sender of the first message to the first user when receiving the first message sent by the target user to the second user through the message interaction channel, and obtain the changed , and send the changed first message to the second user. The message sending method and device of the present disclosure can replace chatting between friends in an instant messaging application, reduce chatting interruptions caused by users temporarily having something to do, and improve user experience.
Description
技术领域technical field
本公开涉及即时通讯应用技术领域,尤其涉及一种消息发送方法及装置。The present disclosure relates to the technical field of instant messaging applications, in particular to a message sending method and device.
背景技术Background technique
即时通讯应用(Instant Messaging,IM)是一种可以让使用者在网络上建立某种私人聊天的实时通讯服务。相关技术中,若使用者想通过账号A与账号A内的好友B聊天,则使用者只能够先登录账号A,然后再通过账号A与好友B进行单独聊天或者群聊。An instant messaging application (Instant Messaging, IM) is a real-time communication service that allows users to establish some kind of private chat on the Internet. In related technologies, if a user wants to chat with a friend B in the account A through the account A, the user can only log in the account A first, and then chat individually or in a group with the friend B through the account A.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供一种消息发送方法及装置。In order to overcome the problems existing in related technologies, the present disclosure provides a message sending method and device.
根据本公开实施例的第一方面,提供一种消息发送方法,包括:According to a first aspect of an embodiment of the present disclosure, a method for sending a message is provided, including:
接收第一用户针对目标用户发送的替代聊天请求信息,所述替代聊天请求信息包括作为发送方的所述第一用户的标识信息和作为接收方的第二用户的标识信息;receiving the substitute chat request information sent by the first user for the target user, the substitute chat request information including the identification information of the first user as the sender and the identification information of the second user as the receiver;
向所述目标用户发送所述替代聊天请求信息;sending the substitute chat request information to the target user;
在接收到所述目标用户针对所述替代聊天请求信息返回的确认信息的情况下,在所述目标用户与所述第二用户之间建立消息交互通道;Establishing a message interaction channel between the target user and the second user in the case of receiving confirmation information returned by the target user regarding the replacement chat request information;
在接收到所述目标用户通过所述消息交互通道针对所述第二用户发送的第一消息的情况下,将所述第一消息的发送方变更为所述第一用户,得到变更后的第一消息;In the case of receiving the first message sent by the target user for the second user through the message interaction channel, changing the sender of the first message to the first user, and obtaining the changed first message a message;
向所述第二用户发送所述变更后的第一消息;sending the changed first message to the second user;
其中,所述第一用户、所述第二用户和所述目标用户不为同一用户。Wherein, the first user, the second user and the target user are not the same user.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
在接收到所述目标用户针对所述替代聊天请求信息返回的确认信息的情况下,向所述目标用户发送第一指示信息,所述第一指示信息用于指示在所述目标用户的相关界面显示用于所述目标用户与所述第二用户进行消息交互的界面。In the case of receiving the confirmation information returned by the target user for the replacement chat request information, sending first indication information to the target user, the first indication information is used to indicate the relevant interface of the target user and displaying an interface for message interaction between the target user and the second user.
在一种可能的实现方式中,向所述目标用户发送所述替代聊天请求信息,包括:In a possible implementation manner, sending the substitute chat request information to the target user includes:
在判定所述目标用户与所述第一用户具有好友关系的情况下,向所述目标用户发送所述替代聊天请求信息。If it is determined that the target user has a friend relationship with the first user, sending the substitute chat request information to the target user.
在一种可能的实现方式中,在接收所述第一用户针对所述目标用户发送的所述替代聊天请求信息之前,所述方法还包括:In a possible implementation manner, before receiving the substitute chat request information sent by the first user for the target user, the method further includes:
向所述第一用户发送第二指示信息,所述第二指示信息用于指示在所述第一用户的相关界面显示用于触发生成所述替代聊天请求信息的操作控件。Sending second instruction information to the first user, where the second instruction information is used to instruct to display an operation control for triggering generation of the replacement chat request information on a relevant interface of the first user.
根据本公开实施例的第二方面,提供一种消息发送方法,包括:According to a second aspect of an embodiment of the present disclosure, a method for sending a message is provided, including:
获取作为发送方的第一用户的标识信息和作为接收方的第二用户的标识信息;Acquiring the identification information of the first user as the sender and the identification information of the second user as the receiver;
根据所述第一用户的标识信息和所述第二用户的标识信息,生成替代聊天请求信息;generating alternative chat request information according to the identification information of the first user and the identification information of the second user;
向服务器发送所述第一用户针对目标用户发送的替代聊天请求。Sending the substitute chat request sent by the first user for the target user to the server.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
在所述第一用户的相关界面显示用于触发生成所述替代聊天请求信息的操作控件。An operation control for triggering generation of the replacement chat request information is displayed on the relevant interface of the first user.
根据本公开实施例的第三方面,提供一种消息发送装置,包括:According to a third aspect of the embodiments of the present disclosure, there is provided a message sending device, including:
替代聊天请求信息接收模块,用于接收第一用户针对目标用户发送的替代聊天请求信息,所述替代聊天请求信息包括作为发送方的所述第一用户的标识信息和作为接收方的第二用户的标识信息;The alternative chat request information receiving module is used to receive the alternative chat request information sent by the first user for the target user, and the alternative chat request information includes the identification information of the first user as the sender and the second user as the receiver identification information;
替代聊天请求信息发送模块,用于向所述目标用户发送所述替代聊天请求信息;an alternative chat request information sending module, configured to send the alternative chat request information to the target user;
消息交互通道建立模块,用于在接收到所述目标用户针对所述替代聊天请求信息返回的确认信息的情况下,在所述目标用户与所述第二用户之间建立消息交互通道;A message interaction channel establishment module, configured to establish a message interaction channel between the target user and the second user when receiving confirmation information returned by the target user for the alternative chat request information;
发送方变更模块,用于在接收到所述目标用户通过所述消息交互通道针对所述第二用户发送的第一消息的情况下,将所述第一消息的发送方变更为所述第一用户,得到变更后的第一消息;a sender changing module, configured to change the sender of the first message to the first User, get the first message after the change;
变更消息发送模块,用于向所述第二用户发送所述变更后的第一消息;A change message sending module, configured to send the changed first message to the second user;
其中,所述第一用户、所述第二用户和所述目标用户不为同一用户。Wherein, the first user, the second user and the target user are not the same user.
在一种可能的实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:
第一指示信息发送模块,用于在接收到所述目标用户针对所述替代聊天请求信息返回的确认信息的情况下,向所述目标用户发送第一指示信息,所述第一指示信息用于指示在所述目标用户的相关界面显示用于所述目标用户与所述第二用户进行消息交互的界面。A first indication information sending module, configured to send first indication information to the target user in the case of receiving confirmation information returned by the target user for the alternative chat request information, the first indication information being used for Instructing to display an interface for message interaction between the target user and the second user on the relevant interface of the target user.
在一种可能的实现方式中,所述替代聊天请求信息发送模块用于:In a possible implementation manner, the replacement chat request information sending module is used for:
在判定所述目标用户与所述第一用户具有好友关系的情况下,向所述目标用户发送所述替代聊天请求信息。If it is determined that the target user has a friend relationship with the first user, sending the substitute chat request information to the target user.
在一种可能的实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:
第二指示信息发送模块,用于向所述第一用户发送第二指示信息,所述第二指示信息用于指示在所述第一用户的相关界面显示用于触发生成所述替代聊天请求信息的操作控件。A second indication information sending module, configured to send second indication information to the first user, the second indication information being used to indicate that information displayed on a relevant interface of the first user is used to trigger generation of the alternative chat request information operating controls.
根据本公开实施例的第四方面,提供一种消息发送装置,包括:According to a fourth aspect of the embodiments of the present disclosure, there is provided a message sending device, including:
获取模块,用于获取作为发送方的第一用户的标识信息和作为接收方的第二用户的标识信息;An acquisition module, configured to acquire the identification information of the first user as the sender and the identification information of the second user as the receiver;
生成模块,用于根据所述第一用户的标识信息和所述第二用户的标识信息,生成替代聊天请求信息;A generating module, configured to generate alternative chat request information according to the identification information of the first user and the identification information of the second user;
发送模块,用于向服务器发送所述第一用户针对目标用户发送的替代聊天请求。A sending module, configured to send the substitute chat request sent by the first user to the target user to the server.
在一种可能的实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:
显示模块,用于在所述第一用户的相关界面显示用于触发生成所述替代聊天请求信息的操作控件。A display module, configured to display an operation control for triggering generation of the alternative chat request information on a relevant interface of the first user.
根据本公开实施例的第五方面,提供一种消息发送装置,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为执行上述的方法。According to a fifth aspect of the embodiments of the present disclosure, there is provided a message sending device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the above method.
根据本公开实施例的第六方面,提供一种非易失性计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述的方法。According to a sixth aspect of the embodiments of the present disclosure, there is provided a non-volatile computer-readable storage medium, on which computer program instructions are stored, and the above-mentioned method is implemented when the computer program instructions are executed by a processor.
本公开的实施例提供的技术方案可以包括以下有益效果:本公开的消息发送方法及装置,接收第一用户针对目标用户发送的替代聊天请求信息,向目标用户发送该替代聊天请求信息,在接收到目标用户针对该替代聊天请求信息返回的确认信息的情况下,在目标用户与第二用户之间建立消息交互通道,在接收到目标用户通过该消息交互通道针对第二用户发送的第一消息的情况下,将第一消息的发送方变更为第一用户,得到变更后的第一消息,向第二用户发送变更后的第一消息,由此即时通讯应用的好友之间能够替代聊天,减少用户因为临时有事而造成聊天中断的情况,提高用户的使用体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: the message sending method and device of the present disclosure receive the substitute chat request information sent by the first user for the target user, send the substitute chat request information to the target user, and receive In the case of confirmation information returned by the target user for the alternative chat request information, a message interaction channel is established between the target user and the second user, and after receiving the first message sent by the target user through the message interaction channel for the second user In the case of , change the sender of the first message to the first user, obtain the changed first message, and send the changed first message to the second user, so that friends in the instant messaging application can replace chatting, Reduce chat interruption caused by users due to temporary incidents, and improve user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种消息发送方法的流程图。Fig. 1 is a flow chart showing a method for sending a message according to an exemplary embodiment.
图2是根据一示例性实施例示出的一种消息发送方法的流程图。Fig. 2 is a flow chart showing a method for sending a message according to an exemplary embodiment.
图3是根据一示例性实施例示出的一种消息发送装置的框图。Fig. 3 is a block diagram of a device for sending a message according to an exemplary embodiment.
图4是根据一示例性实施例示出的一种消息发送装置的一示意性的框图。Fig. 4 is a schematic block diagram of a device for sending a message according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种消息发送装置的框图。Fig. 5 is a block diagram of a device for sending a message according to an exemplary embodiment.
图6是根据一示例性实施例示出的一种消息发送装置的一示意性的框图。Fig. 6 is a schematic block diagram of a device for sending a message according to an exemplary embodiment.
图7是根据一示例性实施例示出的一种用于消息发送的装置800的框图。Fig. 7 is a block diagram of an apparatus 800 for sending a message according to an exemplary embodiment.
图8是根据一示例性实施例示出的一种用于消息发送的装置1900的框图。Fig. 8 is a block diagram of an apparatus 1900 for sending a message according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
图1是根据一示例性实施例示出的一种消息发送方法的流程图。该方法用于服务器中,本公开对此不做限制。如图1所示,该方法可以包括步骤S11和步骤S15。Fig. 1 is a flow chart showing a method for sending a message according to an exemplary embodiment. This method is used in the server, which is not limited in the present disclosure. As shown in Fig. 1, the method may include step S11 and step S15.
在步骤S11中,接收第一用户针对目标用户发送的替代聊天请求信息,替代聊天请求信息包括作为发送方的第一用户的标识信息和作为接收方的第二用户的标识信息。In step S11, receiving the substitute chat request information sent by the first user for the target user, the substitute chat request information includes the identification information of the first user as the sender and the identification information of the second user as the receiver.
其中,第一用户、第二用户和目标用户不为同一用户。目标用户可以为第一用户选取的用于替代第一用户与第二用户聊天的用户。例如,第一用户可以从好友列表中选取目标用户。再例如,第一用户可以从所在群组中选取目标用户。本公开不限制目标用户的选取方式,能够接收来自于第一用户的替代聊天请求信息的用户均可以作为目标用户。Wherein, the first user, the second user and the target user are not the same user. The target user may be a user selected by the first user for chatting with the second user instead of the first user. For example, the first user may select a target user from a friend list. For another example, the first user may select a target user from the group he belongs to. The present disclosure does not limit the selection method of the target user, and any user who can receive the alternative chat request information from the first user can be used as the target user.
其中,替代聊天请求信息可以指请求替代聊天的信息。例如,用户A向用户C发送替代聊天请求信息,请求用户C替代用户A与用户B聊天。替代聊天请求信息包括作为发送方的用户A的标识信息和作为接收方的用户B的标识信息。用户A为步骤S11中的第一用户,用户B为步骤S11中的第二用户,用户C为步骤S11中的目标用户。Wherein, the alternative chat request information may refer to information requesting an alternative chat. For example, user A sends a substitute chat request message to user C, requesting user C to chat with user B instead of user A. The substitute chat request information includes identification information of user A as a sender and identification information of user B as a receiver. User A is the first user in step S11, user B is the second user in step S11, and user C is the target user in step S11.
在一种可能的实现方式中,第一用户的标识信息可以为第一用户的账号,第二用户的标识信息可以为第二用户的账号。In a possible implementation manner, the identification information of the first user may be an account of the first user, and the identification information of the second user may be an account of the second user.
需要说明的是,尽管以用户的账号作为示例介绍了用户的标识信息如上,但本领域技术人员能够理解,本公开不限于此。本领域技术人员可以根据实际应用场景灵活设定用户的标识信息,用户的标识信息只要能够唯一标识用户即可。例如,用户的标识信息可以为用户的手机号或邮箱号等。It should be noted that although the user's account is used as an example to describe the identification information of the user, those skilled in the art can understand that the present disclosure is not limited thereto. Those skilled in the art can flexibly set user identification information according to actual application scenarios, as long as the user identification information can uniquely identify the user. For example, the user's identification information may be the user's mobile phone number or mailbox number.
在一种可能的实现方式中,在接收第一用户针对目标用户发送的替代聊天请求信息之前,该方法还包括:向第一用户发送第二指示信息,第二指示信息用于指示在第一用户的相关界面显示用于触发生成替代聊天请求信息的操作控件。In a possible implementation manner, before receiving the substitute chat request information sent by the first user for the target user, the method further includes: sending second indication information to the first user, the second indication information being used to indicate The relevant interface for the user displays operational controls for triggering the generation of an alternate chat request message.
在步骤S12中,向目标用户发送替代聊天请求信息。In step S12, a substitute chat request message is sent to the target user.
在一种可能的实现方式中,向目标用户发送替代聊天请求信息(步骤S22)可以包括:在判定目标用户与第一用户具有好友关系的情况下,向目标用户发送替代聊天请求信息。由此能够保障替代聊天的安全性。In a possible implementation manner, sending the substitute chat request information to the target user (step S22 ) may include: sending the substitute chat request information to the target user when it is determined that the target user has a friendship relationship with the first user. The security of the substitute chat can thus be guaranteed.
在步骤S13中,在接收到目标用户针对替代聊天请求信息返回的确认信息的情况下,在目标用户与第二用户之间建立消息交互通道。In step S13, in the case of receiving the confirmation information returned by the target user regarding the replacement chat request information, a message interaction channel is established between the target user and the second user.
其中,确认信息可以指接受替代聊天请求的信息。例如,用户A向用户C发送替代聊天请求信息,请求用户C替代用户A与用户B聊天。在用户C接受替代聊天请求信息的情况下,用户C向服务器发送确认信息,服务器根据确认信息在用户C与用户B之间建立消息交互通道。用户C可以通过消息交互通道向用户B发送消息。消息可以为文字消息、语音消息、图片消息或视频消息等,本公开对此不作限制。Wherein, the confirmation information may refer to information for accepting a substitute chat request. For example, user A sends a substitute chat request message to user C, requesting user C to chat with user B instead of user A. In the case that user C accepts the alternative chat request information, user C sends confirmation information to the server, and the server establishes a message interaction channel between user C and user B according to the confirmation information. User C can send messages to user B through the message exchange channel. The message may be a text message, a voice message, a picture message, or a video message, etc., which is not limited in the present disclosure.
在步骤S14中,在接收到目标用户通过消息交互通道针对第二用户发送的第一消息的情况下,将第一消息的发送方变更为第一用户,得到变更后的第一消息。In step S14, when the first message sent by the target user to the second user through the message exchange channel is received, the sender of the first message is changed to the first user to obtain the changed first message.
在步骤S15中,向第二用户发送变更后的第一消息。In step S15, the changed first message is sent to the second user.
作为本实施例的一个示例,在用户A与用户B通过即时通讯应用聊天的过程中,用户A因为临时有事需要离开,用户A从好友列表中选择用户C以替代自己与用户B聊天。用户A向用户C发送替代聊天请求信息,请求用户C替代用户A与用户B聊天。替代聊天请求信息包括作为发送方的用户A的标识信息和作为接收方的用户B的标识信息。在用户C接受替代聊天请求信息的情况下,用户C向服务器发送确认信息,服务器根据确认信息在用户C与用户B之间建立消息交互通道。若服务器接收到用户C通过消息交互通道向用户B发送的第一消息,则服务器将第一消息的发送方由用户C变更为用户A。用户B接收到的第一消息虽然来自于用户C,但用户B看到的第一消息的发送方为用户A,实现用户C替代用户A与用户B聊天。As an example of this embodiment, in the process of chatting between user A and user B through an instant messaging application, user A needs to leave due to temporary errands, and user A selects user C from the friend list to chat with user B instead. User A sends a substitute chat request message to user C, requesting user C to chat with user B instead of user A. The substitute chat request information includes identification information of user A as a sender and identification information of user B as a receiver. In the case that user C accepts the alternative chat request information, user C sends confirmation information to the server, and the server establishes a message interaction channel between user C and user B according to the confirmation information. If the server receives the first message sent by user C to user B through the message exchange channel, the server changes the sender of the first message from user C to user A. Although the first message received by user B comes from user C, the sender of the first message seen by user B is user A, so that user C replaces user A to chat with user B.
需要说明的是,本领域技术人员能够理解,在用户C替代用户A与用户B聊天之后,用户C可以具有用户A全部的消息发送权限,也可以仅具有用户A部分的消息发送权限。例如,仅允许用户C替代用户A向用户B发送文字消息或图片消息等,而限制用户C替代用户A向用户B发送红包或进行转账等,由此在实现替代聊天的情况下,保障各个用户账号的安全性。It should be noted that those skilled in the art can understand that after user C replaces user A and chats with user B, user C may have all of user A's message sending authority, or may only have user A's partial message sending authority. For example, only user C is allowed to replace user A to send text messages or picture messages to user B, while restricting user C to replace user A to send red envelopes or transfer money to user B, so as to ensure that each user Account security.
本公开的消息发送方法,即时通讯应用的好友之间能够替代聊天,减少用户因为临时有事而造成聊天中断的情况,提高用户的使用体验。此外,本公开的消息发送方法能够用于各种类型的即时通讯应用,本公开对此不作限制。The message sending method of the present disclosure can replace the chatting between friends of the instant messaging application, reduce the interruption of the chatting caused by temporary errands of the users, and improve the user experience. In addition, the message sending method of the present disclosure can be used in various types of instant messaging applications, which is not limited by the present disclosure.
在一种可能的实现方式中,在接收到目标用户针对替代聊天请求信息返回的确认信息的情况下,向目标用户发送第一指示信息,第一指示信息用于指示在目标用户的相关界面显示用于目标用户与第二用户进行消息交互的界面。In a possible implementation manner, when the confirmation information returned by the target user for the replacement chat request information is received, the first indication information is sent to the target user, and the first indication information is used to indicate that the information displayed on the relevant interface of the target user An interface for message interaction between the target user and the second user.
作为本实施例的一个示例,用户A向用户C发送替代聊天请求信息,请求用户C替代用户A与用户B聊天。在用户C接受替代聊天请求信息的情况下,用户C向服务器发送确认信息,服务器根据确认信息向用户C发送第一指示信息,第一指示信息用于指示在用户C的相关界面显示用于用户C与用户B进行消息交互的界面。由此用户C的相关界面可以显示用于用户C与用户B进行消息交互的界面。用户C可以通过界面向用户B发送消息。若服务器接收到用户C通过界面向用户B发送的第一消息,则服务器将第一消息的发送方由用户C变更为用户A。用户B接收到的第一消息虽然来自于用户C,但用户B看到的第一消息的发送方为用户A,实现用户C替代用户A与用户B聊天。As an example of this embodiment, user A sends a substitute chat request message to user C, requesting user C to chat with user B instead of user A. In the case that user C accepts the alternative chat request information, user C sends confirmation information to the server, and the server sends first indication information to user C according to the confirmation information, and the first indication information is used to indicate that the relevant interface of user C is displayed for the user The interface for message interaction between C and user B. In this way, the relevant interface of user C may display an interface for user C to interact with user B through message interaction. User C can send messages to user B through the interface. If the server receives the first message sent by user C to user B through the interface, the server changes the sender of the first message from user C to user A. Although the first message received by user B comes from user C, the sender of the first message seen by user B is user A, so that user C replaces user A to chat with user B.
在一种可能的实现方式中,目标用户和第二用户不为好友关系。根据来自于服务器的第一指示信息,目标用户的相关界面可以显示用于目标用户与第二用户进行消息交互的第一界面。其中,第一界面为临时界面,通过第一界面发送的第一消息,服务器将第一消息的发送方由目标用户变更为第一用户。在目标用户或第一用户终止替代聊天之后,或在目标用户或第一用户退出登录之后,第一界面即消失。In a possible implementation manner, the target user and the second user are not friends. According to the first indication information from the server, the relevant interface of the target user may display a first interface for message interaction between the target user and the second user. Wherein, the first interface is a temporary interface, and through the first message sent by the first interface, the server changes the sender of the first message from the target user to the first user. After the target user or the first user terminates the alternative chat, or after the target user or the first user logs out, the first interface disappears.
在一种可能的实现方式中,目标用户和第二用户为好友关系。根据来自于服务器的第一指示信息,目标用户的相关界面可以显示用于目标用户与第二用户进行消息交互的第一界面。此外,目标用户的相关界面还可以显示用于目标用户与第二用户进行消息交互的第二界面。其中,第一界面为临时界面,通过第一界面发送的第一消息,服务器将第一消息的发送方由目标用户变更为第一用户。第二界面为非临时界面,通过第二界面发送的第二消息,第二消息的发送方为目标用户。In a possible implementation manner, the target user and the second user are friends. According to the first indication information from the server, the relevant interface of the target user may display a first interface for message interaction between the target user and the second user. In addition, the relevant interface of the target user may also display a second interface for message interaction between the target user and the second user. Wherein, the first interface is a temporary interface, and through the first message sent by the first interface, the server changes the sender of the first message from the target user to the first user. The second interface is a non-temporary interface. For the second message sent through the second interface, the sender of the second message is the target user.
图2是根据一示例性实施例示出的一种消息发送方法的流程图。该方法用于智能手机、平板电脑或者PC(Personal Computer,个人计算机)等终端设备中,本公开对此不做限制。如图2所示,该方法可以包括步骤S21至步骤S23。Fig. 2 is a flow chart showing a method for sending a message according to an exemplary embodiment. This method is used in terminal devices such as smart phones, tablet computers, or PCs (Personal Computers, personal computers), which is not limited in the present disclosure. As shown in Fig. 2, the method may include step S21 to step S23.
在步骤S21中,获取作为发送方的第一用户的标识信息和作为接收方的第二用户的标识信息。In step S21, the identification information of the first user as the sender and the identification information of the second user as the receiver are acquired.
在步骤S22中,根据第一用户的标识信息和第二用户的标识信息,生成替代聊天请求信息。In step S22, substitute chat request information is generated according to the identification information of the first user and the identification information of the second user.
在步骤S23中,向服务器发送第一用户针对目标用户发送的替代聊天请求。In step S23, send the substitute chat request sent by the first user to the target user to the server.
在一种可能的实现方式中,该方法还包括:在第一用户的相关界面显示用于触发生成替代聊天请求信息的操作控件。In a possible implementation manner, the method further includes: displaying, on a relevant interface of the first user, an operation control for triggering generation of alternative chat request information.
本公开的消息发送方法,即时通讯应用的好友之间能够替代聊天,减少用户因为临时有事而造成聊天中断的情况,提高用户的使用体验。此外,本公开的消息发送方法能够用于各种类型的即时通讯应用,本公开对此不作限制。The message sending method of the present disclosure can replace the chatting between friends of the instant messaging application, reduce the interruption of the chatting caused by temporary errands of the users, and improve the user experience. In addition, the message sending method of the present disclosure can be used in various types of instant messaging applications, which is not limited by the present disclosure.
图3是根据一示例性实施例示出的一种消息发送装置的框图。该装置用于服务器中,本公开对此不做限制。参照图3,该装置包括:替代聊天请求信息接收模块31,用于接收第一用户针对目标用户发送的替代聊天请求信息,所述替代聊天请求信息包括作为发送方的所述第一用户的标识信息和作为接收方的第二用户的标识信息;替代聊天请求信息发送模块32,用于向所述目标用户发送所述替代聊天请求信息;消息交互通道建立模块33,用于在接收到所述目标用户针对所述替代聊天请求信息返回的确认信息的情况下,在所述目标用户与所述第二用户之间建立消息交互通道;发送方变更模块34,用于在接收到所述目标用户通过所述消息交互通道针对所述第二用户发送的第一消息的情况下,将所述第一消息的发送方变更为所述第一用户,得到变更后的第一消息;变更消息发送模块35,用于向所述第二用户发送所述变更后的第一消息;其中,所述第一用户、所述第二用户和所述目标用户不为同一用户。Fig. 3 is a block diagram of a device for sending a message according to an exemplary embodiment. The device is used in a server, which is not limited in the present disclosure. Referring to FIG. 3 , the device includes: an alternative chat request information receiving module 31, configured to receive an alternative chat request information sent by a first user for a target user, the alternative chat request information including the identity of the first user as the sender information and the identification information of the second user as the receiving party; a replacement chat request information sending module 32, which is used to send the replacement chat request information to the target user; a message interaction channel establishment module 33, which is used for receiving the described chat request information. In the case of the confirmation information returned by the target user for the replacement chat request information, a message interaction channel is established between the target user and the second user; the sender change module 34 is configured to In the case of the first message sent by the second user through the message interaction channel, change the sender of the first message to the first user to obtain a changed first message; change the message sending module 35. It is configured to send the changed first message to the second user; wherein, the first user, the second user, and the target user are not the same user.
图4是根据一示例性实施例示出的一种消息发送装置的一示意性的框图。参照图4:Fig. 4 is a schematic block diagram of a device for sending a message according to an exemplary embodiment. Referring to Figure 4:
在一种可能的实现方式中,所述装置还包括:第一指示信息发送模块36,用于在接收到所述目标用户针对所述替代聊天请求信息返回的确认信息的情况下,向所述目标用户发送第一指示信息,所述第一指示信息用于指示在所述目标用户的相关界面显示用于所述目标用户与所述第二用户进行消息交互的界面。In a possible implementation manner, the device further includes: a first indication information sending module 36, configured to send a message to the The target user sends first indication information, where the first indication information is used to instruct to display an interface for message interaction between the target user and the second user on a relevant interface of the target user.
在一种可能的实现方式中,所述替代聊天请求信息发送模块32用于:在判定所述目标用户与所述第一用户具有好友关系的情况下,向所述目标用户发送所述替代聊天请求信息。In a possible implementation manner, the substitute chat request information sending module 32 is configured to: when it is determined that the target user has a friend relationship with the first user, send the substitute chat request information to the target user request information.
在一种可能的实现方式中,所述装置还包括:第二指示信息发送模块30,用于向所述第一用户发送第二指示信息,所述第二指示信息用于指示在所述第一用户的相关界面显示用于触发生成所述替代聊天请求信息的操作控件。In a possible implementation manner, the device further includes: a second indication information sending module 30, configured to send second indication information to the first user, where the second indication information is used to indicate that the A user's relevant interface displays operation controls for triggering generation of the alternative chat request information.
图5是根据一示例性实施例示出的一种消息发送装置的框图。参照图5,该装置包括:获取模块51,用于获取作为发送方的第一用户的标识信息和作为接收方的第二用户的标识信息;生成模块52,用于根据所述第一用户的标识信息和所述第二用户的标识信息,生成替代聊天请求信息;发送模块53,用于向服务器发送所述第一用户针对目标用户发送的替代聊天请求。Fig. 5 is a block diagram of a device for sending a message according to an exemplary embodiment. Referring to FIG. 5 , the device includes: an acquisition module 51, configured to acquire identification information of a first user as a sender and identification information of a second user as a receiver; a generation module 52, configured to The identification information and the identification information of the second user generate substitute chat request information; the sending module 53 is configured to send the substitute chat request sent by the first user for the target user to the server.
图6是根据一示例性实施例示出的一种消息发送装置的一示意性的框图。参照图6:Fig. 6 is a schematic block diagram of a device for sending a message according to an exemplary embodiment. Referring to Figure 6:
在一种可能的实现方式中,所述装置还包括:显示模块50,用于在所述第一用户的相关界面显示用于触发生成所述替代聊天请求信息的操作控件。In a possible implementation manner, the device further includes: a display module 50, configured to display an operation control for triggering generation of the alternative chat request information on a relevant interface of the first user.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
本公开的消息发送装置,即时通讯应用的好友之间能够替代聊天,减少用户因为临时有事而造成聊天中断的情况,提高用户的使用体验。此外,本公开的消息发送方法能够用于各种类型的即时通讯应用,本公开对此不作限制。The message sending device of the present disclosure can replace chatting between friends of an instant messaging application, reduce chatting interruption caused by users due to temporary errands, and improve user experience. In addition, the message sending method of the present disclosure can be used in various types of instant messaging applications, which is not limited by the present disclosure.
图7是根据一示例性实施例示出的一种用于消息发送的装置800的框图。例如,装置800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 7 is a block diagram of an apparatus 800 for sending a message according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图7,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。7, device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816 .
处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operations of the device 800, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802 .
存储器804被配置为存储各种类型的数据以支持在装置800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 804 is configured to store various types of data to support operations at the device 800 . Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件806为装置800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。The power supply component 806 provides power to the various components of the device 800 . Power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 800 .
多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当装置800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (MIC) configured to receive external audio signals when the device 800 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 804 or sent via communication component 816 . In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到装置800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of device 800 . For example, the sensor component 814 can detect the open/closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor component 814 can also detect a change in the position of the device 800 or a component of the device 800 , the presence or absence of user contact with the device 800 , the device 800 orientation or acceleration/deceleration and the temperature change of the device 800 . Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 816 is configured to facilitate wired or wireless communication between the apparatus 800 and other devices. The device 800 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 800 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 804 including instructions, which can be executed by the processor 820 of the device 800 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
图8是根据一示例性实施例示出的一种用于消息发送的装置1900的框图。例如,装置1900可以被提供为一服务器。参照图8,装置1900包括处理组件1922,其进一步包括一个或多个处理器,以及由存储器1932所代表的存储器资源,用于存储可由处理组件1922的执行的指令,例如应用程序。存储器1932中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1922被配置为执行指令,以执行上述方法。Fig. 8 is a block diagram of an apparatus 1900 for sending a message according to an exemplary embodiment. For example, apparatus 1900 may be provided as a server. Referring to FIG. 8 , apparatus 1900 includes processing component 1922 , which further includes one or more processors, and a memory resource represented by memory 1932 for storing instructions executable by processing component 1922 , such as application programs. The application programs stored in memory 1932 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
装置1900还可以包括一个电源组件1926被配置为执行装置1900的电源管理,一个有线或无线网络接口1950被配置为将装置1900连接到网络,和一个输入输出(I/O)接口1958。装置1900可以操作基于存储在存储器1932的操作系统,例如Windows ServerTM,MacOS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。Device 1900 may also include a power component 1926 configured to perform power management of device 1900 , a wired or wireless network interface 1950 configured to connect device 1900 to a network, and an input-output (I/O) interface 1958 . The apparatus 1900 can operate based on an operating system stored in the memory 1932, such as Windows Server™, MacOS X™, Unix™, Linux™, FreeBSD™ or the like.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (14)
- A kind of 1. message method, it is characterised in that including:Receive the first user and be directed to the replacement chat request information that targeted customer sends, the replacement chat request information includes making The identification information of identification information for first user of sender and the second user as recipient;The replacement chat request information is sent to the targeted customer;In the case where receiving the confirmation that the targeted customer returns for the replacement chat request information, described Message interacting channel is established between targeted customer and the second user;The targeted customer is being received by the message interacting channel for the first message of second user transmission In the case of, the sender of the first message is changed to first user, the first message after being changed;The first message after the change is sent to the second user;Wherein, first user, the second user and the targeted customer are not same user.
- 2. message method according to claim 1, it is characterised in that methods described also includes:In the case where receiving the confirmation that the targeted customer returns for the replacement chat request information, to described Targeted customer sends the first configured information, and first configured information is used to indicate that the related interfaces in the targeted customer are shown The interface of interacting message is carried out for the targeted customer and the second user.
- 3. message method according to claim 1, it is characterised in that send the replacement to the targeted customer and chat Its solicited message, including:In the case where judging that the targeted customer and first user have friend relation, institute is sent to the targeted customer State and substitute chat request information.
- 4. message method according to claim 1, it is characterised in that be directed to the mesh receiving first user Before marking the replacement chat request information that user sends, methods described also includes:The second configured information is sent to first user, second configured information is used to indicate the phase in first user Interface display is closed to be used to trigger the generation operational controls for substituting chat request information.
- A kind of 5. message method, it is characterised in that including:Obtain the identification information of the first user as sender and the identification information of the second user as recipient;According to the identification information of first user and the identification information of the second user, generation substitutes chat request information;Replacement chat request of first user for targeted customer's transmission is sent to server.
- 6. message method according to claim 5, it is characterised in that methods described also includes:Shown in the related interfaces of first user for triggering the generation operational controls for substituting chat request information.
- A kind of 7. message dispensing device, it is characterised in that including:Chat request information receiving module is substituted, the replacement chat request letter sent for receiving the first user for targeted customer Breath, it is described substitute chat request information include the identification information of first user as sender and as recipient the The identification information of two users;Chat request information sending module is substituted, for sending the replacement chat request information to the targeted customer;Message interacting channel establishes module, for receiving the targeted customer for the replacement chat request information return Confirmation in the case of, establish message interacting channel between the targeted customer and the second user;Sender changes module, for receiving the targeted customer by the message interacting channel for the described second use In the case of the first message that family is sent, the sender of the first message is changed to first user, after obtaining change First message;Message transmission module is changed, for sending the first message after the change to the second user;Wherein, first user, the second user and the targeted customer are not same user.
- 8. message dispensing device according to claim 7, it is characterised in that described device also includes:First configured information sending module, for receiving the targeted customer for the replacement chat request information return Confirmation in the case of, to the targeted customer send the first configured information, first configured information be used for indicate exist The related interfaces of the targeted customer show the interface that interacting message is carried out for the targeted customer and the second user.
- 9. message dispensing device according to claim 7, it is characterised in that the replacement chat request information sending module For:In the case where judging that the targeted customer and first user have friend relation, institute is sent to the targeted customer State and substitute chat request information.
- 10. message dispensing device according to claim 7, it is characterised in that described device also includes:Second configured information sending module, for sending the second configured information, second configured information to first user For indicating that the related interfaces in first user are shown for triggering the generation operation control for substituting chat request information Part.
- A kind of 11. message dispensing device, it is characterised in that including:Acquisition module, the mark for second user of the acquisition as the identification information of the first user of sender and as recipient Know information;Generation module, for the identification information and the identification information of the second user according to first user, generation substitutes Chat request information;Sending module, for sending replacement chat request of first user for targeted customer's transmission to server.
- 12. message dispensing device according to claim 11, it is characterised in that described device also includes:Display module, for being shown in the related interfaces of first user for triggering the generation replacement chat request information Operational controls.
- A kind of 13. message dispensing device, it is characterised in that including:Processor;For storing the memory of processor-executable instruction;Wherein, the processor is configured as the method described in any one in perform claim requirement 1 to 6.
- 14. a kind of non-volatile computer readable storage medium storing program for executing, is stored thereon with computer program instructions, it is characterised in that institute State and method in claim 1 to 6 described in any one is realized when computer program instructions are executed by processor.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710943580.1A CN107612817A (en) | 2017-10-11 | 2017-10-11 | Message method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710943580.1A CN107612817A (en) | 2017-10-11 | 2017-10-11 | Message method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107612817A true CN107612817A (en) | 2018-01-19 |
Family
ID=61068595
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710943580.1A Pending CN107612817A (en) | 2017-10-11 | 2017-10-11 | Message method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107612817A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109995644A (en) * | 2019-04-25 | 2019-07-09 | 北京口袋时尚科技有限公司 | A kind of method and device for transmitting message |
| CN111338541A (en) * | 2020-02-12 | 2020-06-26 | 网易(杭州)网络有限公司 | Interface display method and device in game, electronic equipment and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101035096A (en) * | 2007-04-19 | 2007-09-12 | 深圳市融合视讯科技有限公司 | Network information forwarding method |
| CN101106739A (en) * | 2006-07-12 | 2008-01-16 | 中国移动通信集团公司 | Method for forwarding IM message in IM service |
| US20080276315A1 (en) * | 2007-05-04 | 2008-11-06 | Gary Stephen Shuster | Anti-phishing filter |
| CN102571622A (en) * | 2010-12-25 | 2012-07-11 | 上海量明科技发展有限公司 | Method, device and system for realizing entrust communication |
| CN104935498A (en) * | 2015-05-13 | 2015-09-23 | 深圳市中幼国际教育科技有限公司 | Point-to-point instant message processing method and system |
-
2017
- 2017-10-11 CN CN201710943580.1A patent/CN107612817A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101106739A (en) * | 2006-07-12 | 2008-01-16 | 中国移动通信集团公司 | Method for forwarding IM message in IM service |
| CN101035096A (en) * | 2007-04-19 | 2007-09-12 | 深圳市融合视讯科技有限公司 | Network information forwarding method |
| US20080276315A1 (en) * | 2007-05-04 | 2008-11-06 | Gary Stephen Shuster | Anti-phishing filter |
| CN102571622A (en) * | 2010-12-25 | 2012-07-11 | 上海量明科技发展有限公司 | Method, device and system for realizing entrust communication |
| CN104935498A (en) * | 2015-05-13 | 2015-09-23 | 深圳市中幼国际教育科技有限公司 | Point-to-point instant message processing method and system |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109995644A (en) * | 2019-04-25 | 2019-07-09 | 北京口袋时尚科技有限公司 | A kind of method and device for transmitting message |
| CN111338541A (en) * | 2020-02-12 | 2020-06-26 | 网易(杭州)网络有限公司 | Interface display method and device in game, electronic equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104506410B (en) | The method and apparatus of instant messaging | |
| CN106488251B (en) | Method and device for connecting microphones in live broadcast, anchor client and user client | |
| CN106327164A (en) | Method for sending electronic red packet and device thereof | |
| CN108173744B (en) | Information processing method and device | |
| CN109521918B (en) | Information sharing method and device, electronic equipment and storage medium | |
| CN107425991A (en) | Method and device for establishing group and method and device for message forwarding | |
| CN106067111A (en) | Message processing method and device | |
| CN105892810A (en) | Message display method and device | |
| CN108011990B (en) | Contact management method and device | |
| CN106130873A (en) | Information processing method and device | |
| CN108668023A (en) | Communication information processing method and device | |
| CN104363166B (en) | Instant communicating method, device and intelligent terminal | |
| CN106572003A (en) | User information recommendation method and device | |
| CN105843894A (en) | Information recommending method and device | |
| WO2020038171A1 (en) | Method and apparatus for recalling image file, control method and apparatus for recalling image file, and mobile terminal | |
| CN107612817A (en) | Message method and device | |
| CN109040651A (en) | The method and device of video communication | |
| CN106878654A (en) | Method and device for video communication | |
| CN106506808A (en) | Method and device for prompting communication messages | |
| CN106648392A (en) | Data pasting method and apparatus | |
| CN106789557A (en) | The reminding method and equipment of dynamic message | |
| CN107846481B (en) | Account management method and device | |
| CN110224991A (en) | Depending on the networked terminals means of communication and device | |
| CN106385430B (en) | The management method and device of communication message | |
| CN108075965A (en) | Message treatment method and device, electronic equipment and computer readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180119 |
|
| RJ01 | Rejection of invention patent application after publication |