[go: up one dir, main page]

CN111092802B - A message interaction method, sending device and receiving device - Google Patents

A message interaction method, sending device and receiving device Download PDF

Info

Publication number
CN111092802B
CN111092802B CN201811235437.8A CN201811235437A CN111092802B CN 111092802 B CN111092802 B CN 111092802B CN 201811235437 A CN201811235437 A CN 201811235437A CN 111092802 B CN111092802 B CN 111092802B
Authority
CN
China
Prior art keywords
message
content
sent
server
sending
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.)
Active
Application number
CN201811235437.8A
Other languages
Chinese (zh)
Other versions
CN111092802A (en
Inventor
刘悦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201811235437.8A priority Critical patent/CN111092802B/en
Publication of CN111092802A publication Critical patent/CN111092802A/en
Application granted granted Critical
Publication of CN111092802B publication Critical patent/CN111092802B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/02User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a message interaction method, sending equipment and receiving equipment, wherein the message interaction method is applied to the sending end and comprises the following steps: obtaining message content; and sending the message content to a receiving end through an independent message. According to the embodiment of the invention, the independent message is used for carrying out the message interaction related to the chat robot, the SIP session and the corresponding MSRP channel are not required to be established, and the chat robot Chatbot platform is connected with the message server in a capacity open interface mode, so that the resource overhead of a network port and the like is favorably reduced, and the network flexibility and the expansibility can be enhanced; in addition, the scheme also realizes the functions of broadcasting and mass messaging of the chat robot, and improves the user experience.

Description

一种消息交互方法、发送设备及接收设备A message interaction method, sending device and receiving device

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种消息交互方法、发送设备及接收设备。The present invention relates to the field of communication technologies, and in particular, to a message interaction method, a sending device and a receiving device.

背景技术Background technique

目前RCS(Rich Communication Suite,融合通信)国际标准中的聊天机器人消息交互方式使用会话模式Session Mode,对于每一个应用与用户之间的交互,需要建立一个SIP(Session Initiation Protocol,会话初始协议)会话以及一个与此会话相关联的MSRP(Message Session Relay Protocol,消息会话传递协议)媒体通道,后续信息交互在MSRP通道中发送,这种交互方式带来如下问题:At present, the chatbot message interaction method in the international standard of RCS (Rich Communication Suite, converged communication) uses the session mode Session Mode. For the interaction between each application and the user, a SIP (Session Initiation Protocol, Session Initiation Protocol) session needs to be established. And an MSRP (Message Session Relay Protocol) media channel associated with this session, and subsequent information interaction is sent in the MSRP channel. This interaction method brings the following problems:

对于运营商网络:无法支持A2P(Application to Person,应用到个人)消息中最常用的广播与多播功能,也不能支持大量用户同时向应用发送消息,用户增多时会给运营商带来巨大的网络建设开销,以及复杂的网络规划与维护问题;应用与用户之间交互的消息路径无法根据网络资源和设备负载情况进行负载均衡,浪费网络资源;会话建立后消息路径固定,不能灵活进行容灾,给用户体验带来不良影响。For the operator network: it cannot support the most commonly used broadcast and multicast functions in A2P (Application to Person) messages, and it cannot support a large number of users sending messages to the application at the same time. Network construction overhead, as well as complex network planning and maintenance issues; message paths for interaction between applications and users cannot be load balanced according to network resources and device load conditions, wasting network resources; message paths are fixed after sessions are established, and disaster recovery cannot be flexibly performed , which will adversely affect the user experience.

对于用户:如同时与多个应用交互,即使没有任何消息收发,在会话超时之前终端也需要一直维护多个会话,占用本地内存,且频繁进行会话保活会造成终端电量和流量消耗巨大。For users: if interacting with multiple applications at the same time, even if there is no message sending and receiving, the terminal needs to maintain multiple sessions until the session times out, occupying local memory, and frequent session keep-alives will cause huge power consumption and traffic consumption of the terminal.

对于聊天机器人Chatbot平台:Chatbot平台要求使用SIP或MSRP与消息服务器对接,造成了功能扩展受SIP或MSRP协议制约,不便于对功能进行扩展和更新;与消息服务器之间的连接方式造成Chatbot平台部署较为复杂。For the chatbot Chatbot platform: The Chatbot platform requires the use of SIP or MSRP to connect with the message server, which causes the function expansion to be restricted by the SIP or MSRP protocol, which is inconvenient to expand and update the function; the connection method with the message server causes the deployment of the Chatbot platform more complicated.

因此,现有国际标准的方案从功能上无法满足A2P消息市场最常见的几种场景的使用需求,对于存在大量用户和网络侧应用的市场,也是不适用的。Therefore, the existing international standard solutions cannot functionally meet the usage requirements of the most common scenarios in the A2P message market, and are also inapplicable to a market with a large number of users and network-side applications.

发明内容SUMMARY OF THE INVENTION

为了解决上述技术问题,本发明提供了一种消息交互方法、发送设备及接收设备,以解决现有技术中的聊天机器人消息交互方式无法满足多种使用场景的问题。In order to solve the above technical problems, the present invention provides a message interaction method, a sending device and a receiving device, so as to solve the problem that the chatbot message interaction method in the prior art cannot meet various usage scenarios.

依据本发明的一个方面,提供了一种消息交互方法,应用于发送端,包括:According to an aspect of the present invention, a message interaction method is provided, applied to a sender, including:

获得消息内容;get the message content;

将所述消息内容通过独立消息发送至接收端。The message content is sent to the receiver through an independent message.

优选的,发送端为聊天机器人Chatbot平台时,将所述消息内容通过独立消息发送至接收端,包括:Preferably, when the sending end is the Chatbot platform, the content of the message is sent to the receiving end through an independent message, including:

将所述消息内容通过能力开放接口发送至消息服务器;sending the message content to the message server through the capability open interface;

通过所述消息服务器,将不需要匿名处理的消息内容通过会话初始协议消息SIPMESSAGE发送至接收端;或者Through the message server, the content of the message that does not require anonymous processing is sent to the receiver through the session initiation protocol message SIPMESSAGE; or

通过所述消息服务器,将需要匿名处理的消息内容通过会话初始协议消息SIPMESSAGE发送至匿名功能处理模块,并将匿名处理后的消息内容通过会话初始协议消息SIPMESSAGE发送至接收端;所述接收端为终端。Through the message server, the message content that needs to be anonymously processed is sent to the anonymous function processing module through the session initiation protocol message SIPMESSAGE, and the anonymously processed message content is sent to the receiving end through the session initiation protocol message SIPMESSAGE; the receiving end is terminal.

优选的,所述消息内容包括接收者列表或接收者指针。Preferably, the message content includes a recipient list or a recipient pointer.

优选的,将所述消息内容通过独立消息发送至接收端,包括:Preferably, the content of the message is sent to the receiver through an independent message, including:

建立发送端与消息服务器之间的会话通道;Establish a session channel between the sender and the message server;

通过所述会话通道,将所述消息内容通过大消息传递模式Large Message Mode发送至接收端。Through the conversation channel, the message content is sent to the receiving end in the Large Message Mode.

优选的,发送端为终端时,将所述消息内容通过独立消息发送至接收端,包括:Preferably, when the sender is a terminal, the content of the message is sent to the receiver through an independent message, including:

将所述消息内容通过会话初始协议消息SIP MESSAGE发送至消息服务器;sending the message content to the message server through the session initiation protocol message SIP MESSAGE;

通过所述消息服务器,将不需要匿名处理的消息内容通过能力开放接口发送至接收端;或者Through the message server, the content of the message that does not require anonymous processing is sent to the receiving end through the capability open interface; or

通过所述消息服务器,将需要匿名处理的消息通过会话初始协议消息SIPMESSAGE发送至匿名功能处理模块,并将匿名处理后的消息内容通过能力开放接口发送至接收端;所述接收端为聊天机器人Chatbot平台。Through the message server, the message that needs to be anonymously processed is sent to the anonymous function processing module through the session initiation protocol message SIPMESSAGE, and the anonymously processed message content is sent to the receiving end through the capability open interface; the receiving end is a chat robot Chatbot platform.

本发明实施例还提供一种消息交互方法,应用于接收端,包括:The embodiment of the present invention also provides a message interaction method, which is applied to the receiving end, including:

接收发送端通过独立消息发送的消息内容。Receives the content of the message sent by the sender through an independent message.

优选的,接收端为终端时,接收发送端通过独立消息发送的消息内容,包括:Preferably, when the receiving end is a terminal, the content of the message sent by the sending end through the independent message includes:

接收发送端通过能力开放接口发送至消息服务器,并通过所述消息服务器以会话初始协议消息SIP MESSAGE发送的消息内容;所述发送端为聊天机器人Chatbot平台。The sending end is sent to the message server through the capability open interface, and the message content sent by the message server with the session initiation protocol message SIP MESSAGE is received; the sending end is a chat robot Chatbot platform.

优选的,接收发送端通过独立消息发送的消息内容,包括:Preferably, the content of the message sent by the receiving and sending end through the independent message includes:

接收发送端通过会话通道发送至消息服务器,并通过所述消息服务器以大消息传递模式Large Message Mode发送的消息内容。Receive the content of the message sent by the sender to the message server through the session channel, and sent by the message server in the Large Message Mode.

优选的,接收端为聊天机器人Chatbot平台时,接收发送端通过独立消息发送的消息内容,包括:Preferably, when the receiving end is a chat robot Chatbot platform, the content of the message sent by the receiving end through the independent message, including:

接收发送端通过会话初始协议消息SIP MESSAGE发送至消息服务器,并通过所述消息服务器利用能力开放接口发送的消息内容;所述发送端为终端。The sending end receives the content of the message sent to the message server through the session initiation protocol message SIP MESSAGE, and uses the capability open interface to send the message content through the message server; the sending end is a terminal.

本发明实施例还提供一种发送设备,包括:An embodiment of the present invention also provides a sending device, including:

第一处理器,用于获得消息内容;a first processor, configured to obtain the message content;

第一收发器,用于将所述消息内容通过独立消息发送至接收端。The first transceiver is used for sending the message content to the receiving end through an independent message.

优选的,所述第一收发器将所述消息内容通过独立消息发送至接收端时,还用于:Preferably, when the first transceiver sends the message content to the receiving end through an independent message, it is also used for:

将所述消息内容通过能力开放接口发送至消息服务器;sending the message content to the message server through the capability open interface;

通过所述消息服务器,将不需要匿名处理的消息内容通过会话初始协议消息SIPMESSAGE发送至接收端;或者Through the message server, the content of the message that does not require anonymous processing is sent to the receiver through the session initiation protocol message SIPMESSAGE; or

通过所述消息服务器,将需要匿名处理的消息内容通过会话初始协议消息SIPMESSAGE发送至匿名功能处理模块,并将匿名处理后的消息内容通过会话初始协议消息SIPMESSAGE发送至接收端;所述接收端为终端。Through the message server, the message content that needs to be anonymously processed is sent to the anonymous function processing module through the session initiation protocol message SIPMESSAGE, and the anonymously processed message content is sent to the receiving end through the session initiation protocol message SIPMESSAGE; the receiving end is terminal.

优选的,所述消息内容包括接收者列表或接收者指针。Preferably, the message content includes a recipient list or a recipient pointer.

优选的,所述第一收发器将所述消息内容通过独立消息发送至接收端时,还用于:Preferably, when the first transceiver sends the message content to the receiving end through an independent message, it is also used for:

建立发送端与消息服务器之间的会话通道;Establish a session channel between the sender and the message server;

通过所述会话通道,将所述消息内容通过大消息传递模式Large Message Mode发送至接收端。Through the conversation channel, the message content is sent to the receiving end in the Large Message Mode.

优选的,所述第一收发器将所述消息内容通过独立消息发送至接收端时,还用于:Preferably, when the first transceiver sends the message content to the receiving end through an independent message, it is also used for:

将所述消息内容通过会话初始协议消息SIP MESSAGE发送至消息服务器;sending the message content to the message server through the session initiation protocol message SIP MESSAGE;

通过所述消息服务器,将不需要匿名处理的消息内容通过能力开放接口发送至接收端;或者Through the message server, the content of the message that does not require anonymous processing is sent to the receiving end through the capability open interface; or

通过所述消息服务器,将需要匿名处理的消息通过会话初始协议消息SIPMESSAGE发送至匿名功能处理模块,并将匿名处理后的消息内容通过能力开放接口发送至接收端;所述接收端为聊天机器人Chatbot平台。Through the message server, the message that needs to be anonymously processed is sent to the anonymous function processing module through the session initiation protocol message SIPMESSAGE, and the anonymously processed message content is sent to the receiving end through the capability open interface; the receiving end is a chat robot Chatbot platform.

本发明实施例还提供一种接收设备,包括第二处理器和第二收发器,所述第二收发器用于:An embodiment of the present invention further provides a receiving device, including a second processor and a second transceiver, where the second transceiver is used for:

接收发送端通过独立消息发送的消息内容。Receives the content of the message sent by the sender through an independent message.

优选的,所述第二收发器接收发送端通过独立消息发送的消息内容时,还用于:Preferably, when the second transceiver receives the message content sent by the sender through the independent message, the second transceiver is further configured to:

接收发送端通过能力开放接口发送至消息服务器,并通过所述消息服务器以会话初始协议消息SIP MESSAGE发送的消息内容;所述发送端为聊天机器人Chatbot平台。The sending end is sent to the message server through the capability open interface, and the message content sent by the message server with the session initiation protocol message SIP MESSAGE is received; the sending end is a chat robot Chatbot platform.

优选的,所述第二收发器接收发送端通过独立消息发送的消息内容时,还用于:Preferably, when the second transceiver receives the message content sent by the sender through the independent message, the second transceiver is further configured to:

接收发送端通过会话通道发送至消息服务器,并通过所述消息服务器以大消息传递模式Large Message Mode发送的消息内容。Receive the content of the message sent by the sender to the message server through the session channel, and sent by the message server in the Large Message Mode.

优选的,所述第二收发器接收发送端通过独立消息发送的消息内容时,还用于:Preferably, when the second transceiver receives the message content sent by the sender through the independent message, the second transceiver is further configured to:

接收发送端通过会话初始协议消息SIP MESSAGE发送至消息服务器,并通过所述消息服务器利用能力开放接口发送的消息内容;所述发送端为终端。The sending end receives the content of the message sent to the message server through the session initiation protocol message SIP MESSAGE, and uses the capability open interface to send the message content through the message server; the sending end is a terminal.

本发明实施例还提供一种发送设备,包括:收发器、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述的应用于发送端的消息交互方法。An embodiment of the present invention further provides a sending device, including: a transceiver, a memory, a processor, and a computer program stored on the memory and executable on the processor, when the processor executes the computer program Implement the message interaction method applied to the sender as described above.

本发明实施例还提供一种接收设备,包括:收发器、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述的应用于接收端的消息交互方法。An embodiment of the present invention further provides a receiving device, including: a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program Implement the message interaction method applied to the receiving end as described above.

本发明实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上述的应用于发送端的消息交互方法中的步骤,或者实现如上述应用于接收端的消息交互方法中的步骤。Embodiments of the present invention further provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the above-mentioned steps in the message interaction method applied to the sender, or implements the above-mentioned steps in the message interaction method applied to the receiver. The steps in the message interaction method of the terminal.

本发明技术方案,使用独立消息进行聊天机器人相关的消息交互,Chatbot平台与消息服务器之间采用能力开放接口的方式替代现有技术中所使用的SIP或MSRP进行连接,能够增强网络灵活性和扩展性;此外,该方案还实现了聊天机器人进行广播和群发消息的功能,提升用户体验。The technical scheme of the present invention uses independent messages to interact with messages related to chatbots, and uses a capability open interface between the Chatbot platform and the message server to replace the SIP or MSRP used in the prior art for connection, which can enhance network flexibility and expansion. In addition, the solution also realizes the functions of chatbots for broadcasting and group messaging to improve user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative labor.

图1表示本发明实施例的消息交互方法流程示意图;1 shows a schematic flowchart of a message interaction method according to an embodiment of the present invention;

图2表示本发明实施例的消息传递平台MaaP架构图;FIG. 2 shows an architecture diagram of a messaging platform MaaP according to an embodiment of the present invention;

图3表示本发明实施例的应用到个人的消息交互方法示意图;3 shows a schematic diagram of a message interaction method applied to an individual according to an embodiment of the present invention;

图4表示本发明实施例的广播或群发消息的流程示意图;FIG. 4 shows a schematic flowchart of a broadcast or group sending of messages according to an embodiment of the present invention;

图5表示本发明实施例的个人到应用的消息交互方法示意图;FIG. 5 shows a schematic diagram of a method for interacting messages from a person to an application according to an embodiment of the present invention;

图6表示本发明实施例的聊天机器人消息传输方式示意图;FIG. 6 shows a schematic diagram of a chatbot message transmission mode according to an embodiment of the present invention;

图7表示本发明实施例的发送设备实施结构示意图之一;FIG. 7 shows one of the schematic diagrams of the implementation structure of the sending device according to the embodiment of the present invention;

图8表示本发明实施例的接收设备实施结构示意图之一;FIG. 8 shows one schematic diagram of the implementation structure of a receiving device according to an embodiment of the present invention;

图9表示本发明实施例的发送设备实施结构示意图之二;FIG. 9 shows the second schematic diagram of the implementation structure of the sending device according to the embodiment of the present invention;

图10表示本发明实施例的接收设备实施结构示意图之二。FIG. 10 shows the second schematic diagram of the implementation structure of a receiving device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present invention will be more thoroughly understood, and will fully convey the scope of the present invention to those skilled in the art.

本发明的实施例提供了一种消息交互方法,应用于发送端,如图1所示,包括:An embodiment of the present invention provides a message interaction method, which is applied to a sender, as shown in FIG. 1 , including:

步骤11、获得消息内容;Step 11, obtain the message content;

该实施例中的发送端可以为聊天机器人Chatbot平台或用户终端,在A2P消息交互过程中,所述发送端为聊天机器人Chatbot平台,聊天机器人Chatbot调用Chatbot平台对外提供的API(Application Programming Interface,应用程序编程接口),将要与终端交互的消息内容发送给Chatbot平台;在P2A(Person to Application,个人到应用)消息交互过程中,所述发送端为用户的终端,终端将与Chatbot交互的消息内容发送给指定Chatbot应用。The sending end in this embodiment may be a chat robot Chatbot platform or a user terminal. In the process of A2P message interaction, the sending end is a chat robot Chatbot platform, and the chat robot Chatbot calls the API (Application Programming Interface, Application Programming Interface) provided by the Chatbot platform. Program programming interface), send the message content to be interacted with the terminal to the Chatbot platform; in the P2A (Person to Application, personal to application) message interaction process, the sending end is the user's terminal, and the terminal will interact with the Chatbot message content Sent to the specified Chatbot application.

步骤12、将所述消息内容通过独立消息发送至接收端。Step 12: Send the message content to the receiver through an independent message.

该实施例中的发送端将消息内容通过独立消息(Standalone Message)方式发送至接收端,实现发送端与接收端的消息交互。具体地,在个人用户与应用之间的消息交互架构中,消息服务器支持独立消息方式,即通过会话初始协议消息SIP MESSAGE方法或者大消息传递模式Large Message Mode承载消息。其中,通过SIP MESSAGE承载消息时,消息交互过程不需要建立会话,且消息内容可以根据需求灵活发送,并具备广播或多播等功能;在部分不支持使用SIP MESSAGE承载消息的网络中,通过Large Message Mode承载消息,需要建立发送端与消息服务器的会话通道,但是所述会话通道传输完消息后会立刻主动释放,避免网络资源浪费以及用户终端的电流和流量的大量消耗。In this embodiment, the sender sends the message content to the receiver in a standalone message (Standalone Message) manner, so as to realize the message interaction between the sender and the receiver. Specifically, in the message interaction architecture between the individual user and the application, the message server supports the independent message mode, that is, the message is carried by the session initiation protocol message SIP MESSAGE method or the Large Message Mode. Among them, when carrying messages through SIP MESSAGE, the message exchange process does not need to establish a session, and the content of the message can be flexibly sent according to requirements, and has functions such as broadcast or multicast; in some networks that do not support the use of SIP MESSAGE to carry messages, through Large Message Mode carries a message, and a conversation channel between the sender and the message server needs to be established, but the conversation channel will be released immediately after the message is transmitted, avoiding waste of network resources and large consumption of current and traffic of the user terminal.

具体地,该实施例的MaaP(Messaging as a Platform,消息传递平台)架构如图2所示,增加了能力开放网关,消息服务器等原有的RCS(Rich Communication Suite,融合通信)网元通过能力开放方式,将自身能力抽象为API,即能力开放接口,供Chatbot平台调用;例如,Chatbot平台通过调用基于HTTP(Hyper Text Transfer Protocol,超文本传输协议)的能力开放接口与消息服务器交互。所述MaaP架构中还包括匿名功能的处理模块、能力发现模块、垃圾消息举报模块、垃圾消息屏蔽模块、IMS(IP Multimedia Subsystem,IP多媒体子系统)以及内容服务器等,利用该架构实现聊天机器人与用户终端的消息交互,可以降低组网难度,功能开发更加灵活;相对于现有RCS标准,不受SIP(Session InitiationProtocol,会话初始协议)和MSRP(The Message Session Relay Protocol,消息会话传递协议)的限制。Specifically, the MaaP (Messaging as a Platform, messaging platform) architecture of this embodiment is shown in FIG. 2 , and the capability to pass the original RCS (Rich Communication Suite, converged communication) network elements such as a capability opening gateway and a message server is added. The open method abstracts its own capabilities into APIs, that is, capability open interfaces, which are called by the Chatbot platform; for example, the Chatbot platform interacts with the message server by calling the HTTP (Hyper Text Transfer Protocol)-based capability open interfaces. The MaaP architecture also includes an anonymous function processing module, a capability discovery module, a spam report module, a spam message shielding module, an IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) and a content server, etc. The message interaction of the user terminal can reduce the difficulty of networking and make the function development more flexible; compared with the existing RCS standard, it is not affected by SIP (Session Initiation Protocol, session initiation protocol) and MSRP (The Message Session Relay Protocol, message session transfer protocol). limit.

具体地,发送端为聊天机器人Chatbot平台时,将所述消息内容通过独立消息发送至接收端,包括:Specifically, when the sending end is a chat robot Chatbot platform, the content of the message is sent to the receiving end through an independent message, including:

将所述消息内容通过能力开放接口发送至消息服务器;sending the message content to the message server through the capability open interface;

通过所述消息服务器,将不需要匿名处理的消息内容通过会话初始协议消息SIPMESSAGE发送至接收端;或者Through the message server, the content of the message that does not require anonymous processing is sent to the receiver through the session initiation protocol message SIPMESSAGE; or

通过所述消息服务器,将需要匿名处理的消息内容通过会话初始协议消息SIPMESSAGE发送至匿名功能处理模块,并将匿名处理后的消息内容通过会话初始协议消息SIPMESSAGE发送至接收端;所述接收端为终端。Through the message server, the message content that needs to be anonymously processed is sent to the anonymous function processing module through the session initiation protocol message SIPMESSAGE, and the anonymously processed message content is sent to the receiving end through the session initiation protocol message SIPMESSAGE; the receiving end is terminal.

例如:如图3所示,在A2P消息交互过程中,发送端为聊天机器人Chatbot平台,Chatbot调用Chatbot平台对外提供的API,将消息内容发送至Chatbot平台,Chatbot平台调用能力开放接口,即消息服务器API,将消息内容发送至消息服务器。消息服务器接收到Chatbot平台发送的消息内容后,判断所述消息内容是否需要匿名处理,如果不需要,则将消息内容通过会话初始协议消息SIP MESSAGE发送至接入模块,再由接入模块发送至终端;如果所述消息内容需要匿名处理,则消息服务器将所述消息内容通过SIP MESSAGE发送至匿名功能处理模块做匿名处理,并将匿名处理后的消息内容通过SIP MESSAGE发送至终端。其中,“HTTP 200OK”和“SIP 200OK”为各模块接收消息后反馈的响应信号。For example: as shown in Figure 3, in the process of A2P message interaction, the sender is the chatbot Chatbot platform, Chatbot calls the API provided by the Chatbot platform to send the message content to the Chatbot platform, and the Chatbot platform calls the capability open interface, that is, the message server API to send the message content to the message server. After the message server receives the message content sent by the Chatbot platform, it determines whether the message content needs to be anonymously processed. If not, it sends the message content to the access module through the session initiation protocol message SIP MESSAGE, and then the access module sends it to the access module. Terminal; if the message content needs to be anonymously processed, the message server sends the message content to the anonymous function processing module through SIP MESSAGE for anonymous processing, and sends the anonymously processed message content to the terminal through SIP MESSAGE. Among them, "HTTP 200OK" and "SIP 200OK" are the response signals fed back after each module receives the message.

值得指出的是,所述消息内容的消息头包括消息的参数内容字段以及消息携带方式字段。It is worth noting that the message header of the message content includes a parameter content field of the message and a message carrying mode field.

该实施例的消息交互过程,发送端将消息内容通过会话初始协议消息SIPMESSAGE发送至接收端,不需要建立SIP会话以及与其相对应的MSRP通道,有利于降低网络IP地址、端口等资源开销,降低网络规划与扩展难度。In the message interaction process of this embodiment, the sender sends the message content to the receiver through the session initiation protocol message SIPMESSAGE, without the need to establish a SIP session and the corresponding MSRP channel, which is beneficial to reduce network IP addresses, ports and other resource overhead, reduce Difficulty in network planning and expansion.

由于SIP MESSAGE方法可以每一条消息单独在网络中传输,因此网络中不需要建立固定的消息传输路径,可方便地根据网络设备的负载等情况进行智能规划,提升用户体验。Because the SIP MESSAGE method can transmit each message independently in the network, there is no need to establish a fixed message transmission path in the network, and intelligent planning can be conveniently carried out according to the load of network equipment, etc., to improve user experience.

优选地,所述消息内容包括接收者列表或接收者指针。Preferably, the message content includes a recipient list or a recipient pointer.

具体地,在A2P消息交互过程中,实现消息群发或广播消息时,可以在所述消息内容的消息体中增加携带接收者列表或指向特定列表的接收者指针,通过这种方式指定多个接收者。Specifically, in the process of A2P message interaction, when implementing mass message sending or broadcasting, a recipient pointer carrying a recipient list or a recipient pointer to a specific list can be added to the message body of the message content, and multiple recipients can be specified in this way. By.

例如,如图4所示,广播或群发A2P消息时:For example, as shown in Figure 4, when broadcasting or mass sending A2P messages:

Chatbot调用Chatbot平台对外提供的API,将消息内容发送给Chatbot平台,所述消息内容中包括接收者列表或接收者指针(本发明实施例的图4中以接收者为A、B和C为例);Chatbot calls the API provided by the Chatbot platform, and sends the message content to the Chatbot platform, where the message content includes a recipient list or a recipient pointer (in FIG. 4 in the embodiment of the present invention, the recipients are A, B, and C as examples. );

Chatbot平台调用能力开放接口,即消息服务器API,将消息内容发送至消息服务器;The Chatbot platform calls the capability open interface, namely the message server API, to send the message content to the message server;

消息服务器接收到Chatbot平台发送的消息内容后,解析所述接收者列表或接收者指针(如图4所示,解析出接收者包括A、B和C),分别根据解析得到的每一个接收者,判断所述消息内容是否需要匿名处理(图4中忽略匿名流程),如果不需要,则将消息内容通过会话初始协议消息SIP MESSAGE发送至接入模块,接入模块再将消息内容发送至全体需要接收的用户终端(即终端A、终端B和终端C);如果所述消息内容需要匿名处理,则消息服务器将所述消息内容通过SIP MESSAGE发送至匿名功能处理模块做匿名处理,并将匿名处理后的消息内容通过SIP MESSAGE发送至接入模块,接入模块再将消息内容发送至全体需要接收的用户终端(即终端A、终端B和终端C)。After the message server receives the message content sent by the Chatbot platform, it parses the recipient list or the recipient pointer (as shown in Figure 4, the parsed recipients include A, B and C). , judge whether the content of the message needs to be processed anonymously (ignore the anonymous process in Figure 4), if not, send the content of the message to the access module through the session initiation protocol message SIP MESSAGE, and the access module sends the content of the message to all The user terminals that need to be received (that is, terminal A, terminal B, and terminal C); if the message content needs to be processed anonymously, the message server sends the message content to the anonymous function processing module through SIP MESSAGE for anonymous processing, and the anonymous processing is performed. The processed message content is sent to the access module through the SIP MESSAGE, and the access module sends the message content to all user terminals that need to be received (ie, terminal A, terminal B, and terminal C).

其中,图4中“HTTP 200OK”和“SIP 200OK”为各模块接收消息后反馈的响应信号。值得指出的是,在广播或群发A2P消息时,所述消息内容可以包括多个需要交互的消息体,从而实现消息的广播或群发。Among them, "HTTP 200OK" and "SIP 200OK" in Fig. 4 are response signals fed back by each module after receiving the message. It is worth noting that when an A2P message is broadcast or sent in a group, the message content may include multiple message bodies that need to be interacted, so as to realize the broadcast or group sending of the message.

具体地,将所述消息内容通过独立消息发送至接收端,包括:Specifically, sending the message content to the receiver through an independent message includes:

建立发送端与消息服务器之间的会话通道;Establish a session channel between the sender and the message server;

RCS业务在大部分运营商网络中均采用TCP(Transmission Control Protocol,传输控制协议)作为底层传输协议,因此SIP MESSAGE方法的大小足够承载聊天机器人消息交互。但可能在部分网络中,例如拥塞程度较高且采用UDP(User Datagram Protocol,用户数据报协议)作为传输层协议的网络,SIP MESSAGE方法的大小可能存在限制,此时仍需要使用同为独立消息的Large Message Mode方法传输聊天机器人消息。使用Large MessageMode传递消息时,需要建立发送端与消息服务器之间的会话通道,会话通道建立的信令流程与RCS标准中现有的使用会话模式Session Mode的方式相同。The RCS service adopts TCP (Transmission Control Protocol, Transmission Control Protocol) as the underlying transmission protocol in most operator networks, so the size of the SIP MESSAGE method is sufficient to carry chatbot message interaction. However, in some networks, such as a network with a high degree of congestion and using UDP (User Datagram Protocol) as the transport layer protocol, the size of the SIP MESSAGE method may be limited. At this time, it is still necessary to use the same independent message. The Large Message Mode method transmits chatbot messages. When using Large MessageMode to transmit a message, a session channel between the sender and the message server needs to be established. The signaling process for establishing the session channel is the same as the existing way of using the session mode Session Mode in the RCS standard.

通过所述会话通道,将所述消息内容通过大消息传递模式Large Message Mode发送至接收端。Through the conversation channel, the message content is sent to the receiving end in the Large Message Mode.

该实施例中,所述消息内容的消息头包括消息的参数内容字段以及消息携带方式字段。此外,所述会话通道传输完消息后会立刻主动释放,不会像Session Mode的会话通道一样需要一直维护至定时器超时,可降低终端流量和电量的开销。In this embodiment, the message header of the message content includes a parameter content field of the message and a message carrying mode field. In addition, the session channel will be actively released immediately after the message is transmitted, and will not need to be maintained until the timer expires like the session channel of Session Mode, which can reduce the overhead of terminal traffic and power.

优选地,发送端为终端时,将所述消息内容通过独立消息发送至接收端,包括:Preferably, when the sender is a terminal, the content of the message is sent to the receiver through an independent message, including:

将所述消息内容通过会话初始协议消息SIP MESSAGE发送至消息服务器;sending the message content to the message server through the session initiation protocol message SIP MESSAGE;

通过所述消息服务器,将不需要匿名处理的消息内容通过能力开放接口发送至接收端;或者Through the message server, the content of the message that does not require anonymous processing is sent to the receiving end through the capability open interface; or

通过所述消息服务器,将需要匿名处理的消息通过会话初始协议消息SIPMESSAGE发送至匿名功能处理模块,并将匿名处理后的消息内容通过能力开放接口发送至接收端;所述接收端为聊天机器人Chatbot平台。Through the message server, the message that needs to be anonymously processed is sent to the anonymous function processing module through the session initiation protocol message SIPMESSAGE, and the anonymously processed message content is sent to the receiving end through the capability open interface; the receiving end is a chat robot Chatbot platform.

如图5所示,在P2A消息交互过程中,发送端为用户终端,接收端为聊天机器人Chatbot平台,终端将与Chatbot交互的内容封装为SIP MESSAGE模式,将消息内容通过SIPMESSAGE发送向指定Chatbot应用,所述消息内容首先发往用户归属的接入模块和消息服务器。As shown in Figure 5, in the process of P2A message interaction, the sender is the user terminal, and the receiver is the Chatbot platform. The terminal encapsulates the content interacting with Chatbot in SIP MESSAGE mode, and sends the message content to the designated Chatbot application through SIPMESSAGE , the message content is first sent to the user's home access module and message server.

消息服务器接收到终端发送的消息内容后,判断所述消息内容是否需要匿名处理,如果不需要,则消息服务器调用Chatbot平台相关的能力开放接口,将消息内容发送至Chatbot平台,Chatbot平台通过API将消息发往Chatbot;如果消息内容需要匿名处理,则消息服务器将所述消息内容通过SIP MESSAGE方法发送给匿名功能处理模块做匿名处理,并将匿名处理后的消息内容通过能力开放接口发送至Chatbot平台,Chatbot平台通过API将消息发往Chatbot。所述消息内容的消息头包括消息的参数内容字段以及消息携带方式字段。After the message server receives the message content sent by the terminal, it determines whether the message content needs to be anonymously processed. If not, the message server calls the related capability open interface of the Chatbot platform to send the message content to the Chatbot platform, and the Chatbot platform sends the information to the Chatbot platform through the API. The message is sent to Chatbot; if the message content needs to be anonymously processed, the message server sends the message content to the anonymous function processing module through the SIP MESSAGE method for anonymous processing, and sends the anonymously processed message content to the Chatbot platform through the capability open interface , Chatbot platform sends messages to Chatbot through API. The message header of the message content includes a parameter content field of the message and a message carrying mode field.

本发明实施例提供的消息交互方法,使用独立消息进行聊天机器人相关的消息交互,正常场景下均使用SIP MESSAGE方法进行聊天机器人交互,个别特殊网络仍保留采用Large Message Mode方式进行聊天机器人交互的可能性,而不主动使用现有标准中的Session Mode;Chatbot平台与消息服务器之间采用能力开放接口的方式替代现有技术中所使用的SIP或MSRP进行连接,不需要建立SIP会话以及与其相对应的MSRP通道,有利于降低网络IP地址、端口等资源开销,降低网络规划与扩展难度;由于SIP MESSAGE方法可每一条消息单独在网络中传输,因此网络中不需要建立固定的消息传递路径,可方便地根据网络设备的负载等情况进行智能规划,提升用户体验,本发明实施例的聊天机器人消息传输方式如图6所示,多条SIP MESSAGE由应用发送至消息服务器,消息服务器再将消息内容发送至多个终端,可以看出每一条SIP MESSAGE均可单独在网络中传输,不需要固定的传输通道,避免多条消息同时传输造成网络拥塞。The message interaction method provided by the embodiment of the present invention uses independent messages for chatbot-related message interaction. In normal scenarios, the SIP MESSAGE method is used for chatbot interaction, and some special networks still retain the possibility of using the Large Message Mode for chatbot interaction. It does not actively use the Session Mode in the existing standard; the Chatbot platform and the message server use a capability open interface to replace the SIP or MSRP used in the existing technology to connect, without the need to establish a SIP session and its corresponding The SIP MESSAGE channel is beneficial to reduce the resource overhead such as network IP addresses and ports, and reduce the difficulty of network planning and expansion; because the SIP MESSAGE method can transmit each message independently in the network, there is no need to establish a fixed message transmission path in the network, and it can be It is convenient to carry out intelligent planning according to the load of network equipment and other conditions to improve user experience. The chatbot message transmission mode of the embodiment of the present invention is shown in Figure 6. Multiple SIP messages are sent by the application to the message server, and the message server then sends the message content. When sent to multiple terminals, it can be seen that each SIP MESSAGE can be transmitted in the network independently, and no fixed transmission channel is required to avoid network congestion caused by simultaneous transmission of multiple messages.

本发明实施例还提供一种消息交互方法,应用于接收端,包括:The embodiment of the present invention also provides a message interaction method, which is applied to the receiving end, including:

接收发送端通过独立消息发送的消息内容。Receives the content of the message sent by the sender through an independent message.

该实施例中,所述接收端可以为用户终端或聊天机器人Chatbot平台,在A2P消息交互过程中,所述接收端为用户终端,发送端为聊天机器人Chatbot平台,在聊天机器人与终端消息交互时,聊天机器人Chatbot调用Chatbot平台对外提供的API,将要与终端交互的消息内容发送给Chatbot平台,Chatbot平台将消息内容通过独立消息发送至接收端,即终端;在P2A消息交互过程中,所述接收端为Chatbot平台,发送端为用户终端,终端将与Chatbot交互的消息内容通过独立消息发送给Chatbot平台。In this embodiment, the receiving end may be a user terminal or a chatbot Chatbot platform. In the process of A2P message interaction, the receiving end is a user terminal, and the sending end is a chatbot Chatbot platform. When the chatbot interacts with the terminal message , the chatbot Chatbot calls the API provided by the Chatbot platform, and sends the message content to be interacted with the terminal to the Chatbot platform, and the Chatbot platform sends the message content to the receiving end, that is, the terminal, through an independent message; in the P2A message interaction process, the receiving end The terminal is the Chatbot platform, the sender is the user terminal, and the terminal sends the content of the message interacting with the Chatbot to the Chatbot platform through an independent message.

该实施例中的发送端将消息内容通过独立消息方式发送至接收端,实现发送端与接收端的消息交互。具体地,在个人用户与应用之间的消息交互架构中,消息服务器支持独立消息方式,即通过会话初始协议消息SIP MESSAGE方法或者大消息传递模式LargeMessage Mode承载消息。其中,通过SIP MESSAGE承载消息时,消息交互过程不需要建立会话,且消息内容可以根据需求灵活发送,并具备广播或多播等功能;在部分不支持使用SIPMESSAGE承载消息的网络中,通过Large Message Mode承载消息,需要建立发送端与消息服务器的会话通道,但是所述会话通道传输完消息后会立刻主动释放,避免网络资源浪费以及用户终端的电流和流量的大量消耗。In this embodiment, the sender sends the message content to the receiver in an independent message manner, so as to realize the message interaction between the sender and the receiver. Specifically, in the message interaction architecture between the individual user and the application, the message server supports the independent message mode, that is, the message is carried by the session initiation protocol message SIP MESSAGE method or the large message delivery mode LargeMessage Mode. Among them, when carrying messages through SIP MESSAGE, the message exchange process does not need to establish a session, and the content of the message can be flexibly sent according to requirements, and has functions such as broadcast or multicast; in some networks that do not support the use of SIP MESSAGE to carry messages, use Large Message In Mode to carry messages, a session channel between the sender and the message server needs to be established, but the session channel will be released immediately after the message is transmitted, to avoid wasting network resources and consuming a large amount of current and traffic of the user terminal.

优选地,接收端为终端时,接收发送端通过独立消息发送的消息内容,包括:Preferably, when the receiver is a terminal, the content of the message sent by the sender through the independent message includes:

接收发送端通过能力开放接口发送至消息服务器,并通过所述消息服务器以会话初始协议消息SIP MESSAGE发送的消息内容;所述发送端为聊天机器人Chatbot平台。The sending end is sent to the message server through the capability open interface, and the message content sent by the message server with the session initiation protocol message SIP MESSAGE is received; the sending end is a chat robot Chatbot platform.

在A2P消息交互过程中,接收端为终端,发送端为Chatbot平台,Chatbot平台调用能力开放接口,将聊天机器人的消息内容发送至消息服务器,消息服务器判断所述消息内容是否需要匿名处理,如果不需要,则将消息内容通过会话初始协议消息SIP MESSAGE发送至终端;如果所述消息内容需要匿名处理,则消息服务器将所述消息内容通过SIP MESSAGE发送至匿名功能处理模块做匿名处理,并将匿名处理后的消息内容通过SIP MESSAGE发送至终端。所述消息内容的消息头包括消息的参数内容字段以及消息携带方式字段。In the process of A2P message interaction, the receiving end is the terminal, and the sending end is the Chatbot platform. The Chatbot platform calls the capability open interface and sends the message content of the chatbot to the message server. The message server determines whether the message content needs to be anonymously processed. If necessary, send the message content to the terminal through the session initiation protocol message SIP MESSAGE; if the message content needs to be processed anonymously, the message server sends the message content to the anonymous function processing module through SIP MESSAGE for anonymous processing, and the anonymous processing The processed message content is sent to the terminal through SIP MESSAGE. The message header of the message content includes a parameter content field of the message and a message carrying mode field.

值得指出的是,在A2P消息交互过程中,实现消息群发或广播消息时,Chatbot平台发送的消息内容包括接收者列表或接收者指针,Chatbot平台调用能力开放接口,将带有接收者列表或接收者指针的消息内容发送至消息服务器,消息服务器解析所述接收者列表或接收者指针,分别根据解析得到的每一个接收者,判断所述消息内容是否需要匿名处理,如果不需要,则将消息内容通过SIP MESSAGE发送至全体需要接收的用户终端,如果所述消息内容需要匿名处理,则消息服务器将所述消息内容通过SIP MESSAGE发送至匿名功能处理模块做匿名处理,并将匿名处理后的消息内容通过SIP MESSAGE发送至全体需要接收的用户终端。在广播或群发A2P消息时,所述消息内容可以包括多个需要交互的消息体,从而实现消息的广播或群发。It is worth pointing out that in the process of A2P message interaction, when implementing mass message sending or broadcasting, the content of the message sent by the Chatbot platform includes the recipient list or the recipient pointer. The message content of the receiver pointer is sent to the message server, and the message server parses the receiver list or receiver pointer, and judges whether the message content needs to be anonymously processed according to each receiver obtained by the analysis. The content is sent to all user terminals that need to be received through SIP MESSAGE. If the content of the message needs to be anonymously processed, the message server sends the content of the message to the anonymous function processing module through SIP MESSAGE for anonymous processing, and the anonymously processed message. The content is sent to all user terminals that need to receive it through SIP MESSAGE. When broadcasting or mass sending an A2P message, the message content may include multiple message bodies that need to be interacted, so as to realize the broadcasting or mass sending of the message.

此外,由于SIP MESSAGE方法可以每一条消息单独在网络中传输,因此网络中不需要建立固定的消息传输路径,可方便地根据网络设备的负载等情况进行智能规划,提升用户体验,发送端与接收端的消息交互通过会话初始协议消息SIP MESSAGE方式,不需要建立SIP会话以及与其相对应的MSRP通道,有利于降低网络IP地址、端口等资源开销,降低网络规划与扩展难度。In addition, because the SIP MESSAGE method can transmit each message independently in the network, there is no need to establish a fixed message transmission path in the network, and it is convenient to carry out intelligent planning according to the load of network equipment, etc., to improve user experience, sender and receiver. The message exchange of the end is through the session initiation protocol message SIP MESSAGE, which does not need to establish a SIP session and the corresponding MSRP channel, which is beneficial to reduce the resource overhead such as network IP addresses and ports, and reduce the difficulty of network planning and expansion.

优选地,接收发送端通过独立消息发送的消息内容,包括:Preferably, the content of the message sent by the sending end through the independent message includes:

接收发送端通过会话通道发送至消息服务器,并通过所述消息服务器以大消息传递模式Large Message Mode发送的消息内容。Receive the content of the message sent by the sender to the message server through the session channel, and sent by the message server in the Large Message Mode.

该实施例中,在部分不支持SIP MESSAGE方法的网络中,需要使用同为独立消息的Large Message Mode传递消息,需要建立发送端与消息服务器之间的会话通道,通过所述会话通道,消息服务器将消息内容发送至接收端。所述消息内容的消息头包括消息的参数内容字段以及消息携带方式字段。此外,所述会话通道传输完消息后会立刻主动释放,不会像Session Mode的会话通道一样需要一直维护至定时器超时,可降低终端流量和电量的开销。In this embodiment, in some networks that do not support the SIP MESSAGE method, it is necessary to use the Large Message Mode, which is also an independent message, to transmit messages, and a session channel between the sender and the message server needs to be established. Send the message content to the receiver. The message header of the message content includes a parameter content field of the message and a message carrying mode field. In addition, the session channel will be actively released immediately after the message is transmitted, and will not need to be maintained until the timer expires like the session channel in Session Mode, which can reduce the overhead of terminal traffic and power.

具体地,接收端为聊天机器人Chatbot平台时,接收发送端通过独立消息发送的消息内容,包括:Specifically, when the receiving end is the Chatbot platform, the content of the message sent by the receiving end through the independent message includes:

接收发送端通过会话初始协议消息SIP MESSAGE发送至消息服务器,并通过所述消息服务器利用能力开放接口发送的消息内容;所述发送端为终端。The sending end receives the content of the message sent to the message server through the session initiation protocol message SIP MESSAGE, and uses the capability open interface to send the message content through the message server; the sending end is a terminal.

该实施例中,在P2A消息交互过程中,接收端为聊天机器人Chatbot平台,发送端为用户终端,终端将与Chatbot交互的内容封装为SIP MESSAGE模式,将消息内容发送向指定Chatbot应用,所述消息内容首先发往用户归属的接入模块和消息服务器,所述消息服务器将需要匿名处理的消息通过会话初始协议消息SIP MESSAGE发送至匿名功能处理模块,并将匿名处理后的消息内容通过能力开放接口发送至Chatbot平台,或者,所述消息服务器将不需要匿名处理的消息内容通过能力开放接口发送至Chatbot平台。In this embodiment, in the P2A message interaction process, the receiving end is the chatbot Chatbot platform, the sending end is the user terminal, the terminal encapsulates the content interacting with the Chatbot into a SIP MESSAGE mode, and sends the message content to the designated Chatbot application, the said The content of the message is first sent to the access module and the message server to which the user belongs, and the message server sends the message that needs to be anonymously processed to the anonymous function processing module through the session initiation protocol message SIP MESSAGE, and the anonymously processed message content is passed through the capability opening. The interface is sent to the Chatbot platform, or the message server sends the message content that does not require anonymous processing to the Chatbot platform through a capability open interface.

通过独立消息进行聊天机器人消息交互,不需要建立SIP会话以及与其相对应的MSRP通道,有利于降低网络端口等资源开销,降低网络规划与扩展难度;还可以实现聊天机器人广播和群发消息的功能,提升用户体验。Chatbot message interaction through independent messages does not require the establishment of a SIP session and its corresponding MSRP channel, which is conducive to reducing resource overhead such as network ports, and reducing the difficulty of network planning and expansion; it can also implement chatbot broadcasting and group messaging. Improve user experience.

本发明实施例还提供一种发送设备,如图7所示,包括:An embodiment of the present invention further provides a sending device, as shown in FIG. 7 , including:

第一处理器71,用于获得消息内容;a first processor 71, configured to obtain message content;

第一收发器72,用于将所述消息内容通过独立消息发送至接收端。The first transceiver 72 is configured to send the message content to the receiving end through an independent message.

优选地,所述第一收发器72将所述消息内容通过独立消息发送至接收端时,还用于:Preferably, when the first transceiver 72 sends the message content to the receiver through an independent message, it is also used for:

将所述消息内容通过能力开放接口发送至消息服务器;sending the message content to the message server through the capability open interface;

通过所述消息服务器,将不需要匿名处理的消息内容通过会话初始协议消息SIPMESSAGE发送至接收端;或者Through the message server, the content of the message that does not require anonymous processing is sent to the receiver through the session initiation protocol message SIPMESSAGE; or

通过所述消息服务器,将需要匿名处理的消息内容通过会话初始协议消息SIPMESSAGE发送至匿名功能处理模块,并将匿名处理后的消息内容通过会话初始协议消息SIPMESSAGE发送至接收端;所述接收端为终端。Through the message server, the message content that needs to be anonymously processed is sent to the anonymous function processing module through the session initiation protocol message SIPMESSAGE, and the anonymously processed message content is sent to the receiving end through the session initiation protocol message SIPMESSAGE; the receiving end is terminal.

优选地,所述消息内容包括接收者列表或接收者指针。Preferably, the message content includes a recipient list or a recipient pointer.

优选地,所述第一收发器72将所述消息内容通过独立消息发送至接收端时,还用于:Preferably, when the first transceiver 72 sends the message content to the receiver through an independent message, it is also used for:

建立发送端与消息服务器之间的会话通道;Establish a session channel between the sender and the message server;

通过所述会话通道,将所述消息内容通过大消息传递模式Large Message Mode发送至接收端。Through the conversation channel, the message content is sent to the receiving end in the Large Message Mode.

优选地,所述第一收发器72将所述消息内容通过独立消息发送至接收端时,还用于:Preferably, when the first transceiver 72 sends the message content to the receiver through an independent message, it is also used for:

将所述消息内容通过会话初始协议消息SIP MESSAGE发送至消息服务器;sending the message content to the message server through the session initiation protocol message SIP MESSAGE;

通过所述消息服务器,将不需要匿名处理的消息内容通过能力开放接口发送至接收端;或者Through the message server, the content of the message that does not require anonymous processing is sent to the receiving end through the capability open interface; or

通过所述消息服务器,将需要匿名处理的消息通过会话初始协议消息SIPMESSAGE发送至匿名功能处理模块,并将匿名处理后的消息内容通过能力开放接口发送至接收端;所述接收端为聊天机器人Chatbot平台。Through the message server, the message that needs to be anonymously processed is sent to the anonymous function processing module through the session initiation protocol message SIPMESSAGE, and the anonymously processed message content is sent to the receiving end through the capability open interface; the receiving end is a chat robot Chatbot platform.

本发明实施例还提供一种接收设备,如图8所示,包括第二处理器81和第二收发器82,所述第二收发器82用于:An embodiment of the present invention further provides a receiving device, as shown in FIG. 8 , including a second processor 81 and a second transceiver 82, where the second transceiver 82 is used for:

接收发送端通过独立消息发送的消息内容。Receives the content of the message sent by the sender through an independent message.

优选地,所述第二收发器82接收发送端通过独立消息发送的消息内容时,还用于:Preferably, when the second transceiver 82 receives the message content sent by the sender through the independent message, it is also used for:

接收发送端通过能力开放接口发送至消息服务器,并通过所述消息服务器以会话初始协议消息SIP MESSAGE发送的消息内容;所述发送端为聊天机器人Chatbot平台。The sending end is sent to the message server through the capability open interface, and the message content sent by the message server with the session initiation protocol message SIP MESSAGE is received; the sending end is a chat robot Chatbot platform.

优选地,所述第二收发器82接收发送端通过独立消息发送的消息内容时,还用于:Preferably, when the second transceiver 82 receives the message content sent by the sender through the independent message, it is also used for:

接收发送端通过会话通道发送至消息服务器,并通过所述消息服务器以大消息传递模式Large Message Mode发送的消息内容。Receive the content of the message sent by the sender to the message server through the session channel, and sent by the message server in the Large Message Mode.

优选地,所述第二收发器82接收发送端通过独立消息发送的消息内容时,还用于:Preferably, when the second transceiver 82 receives the message content sent by the sender through the independent message, it is also used for:

接收发送端通过会话初始协议消息SIP MESSAGE发送至消息服务器,并通过所述消息服务器利用能力开放接口发送的消息内容;所述发送端为终端。The sending end receives the content of the message sent to the message server through the session initiation protocol message SIP MESSAGE, and uses the capability open interface to send the message content through the message server; the sending end is a terminal.

如图9所示,本发明实施例还提供一种发送设备,包括收发器91、存储器92、处理器93及存储在所述存储器92上并可在处理器93上运行的计算机程序;所述处理器93执行所述计算机程序时实现上述的应用于发送端的消息交互方法。As shown in FIG. 9, an embodiment of the present invention further provides a sending device, including a transceiver 91, a memory 92, a processor 93, and a computer program stored on the memory 92 and running on the processor 93; the When the processor 93 executes the computer program, the above-mentioned message interaction method applied to the sender is implemented.

所述收发器91,用于在处理器93的控制下接收和发送数据。The transceiver 91 is used to receive and transmit data under the control of the processor 93 .

其中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器93代表的一个或多个处理器93和存储器92代表的存储器92的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发器91可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。处理器负责管理总线架构和通常的处理,存储器可以存储处理器在执行操作时所使用的数据。The bus architecture may include any number of interconnected buses and bridges, specifically, one or more processors 93 represented by processor 93 and various circuits of memory 92 represented by memory 92 are linked together. The bus architecture may also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be described further herein. The bus interface provides the interface. Transceiver 91 may be a number of elements, including a transmitter and a receiver, providing a means for communicating with various other devices over a transmission medium. The processor is responsible for managing the bus architecture and general processing, and the memory can store data that the processor uses when performing operations.

如图10所示,本发明实施例还提供一种接收设备,包括收发器101、存储器102、处理器103及存储在存储器102上并可在所述处理器103上运行的计算机程序;所述处理器103执行所述计算机程序时实现上述的应用于接收端的消息交互方法。As shown in FIG. 10 , an embodiment of the present invention further provides a receiving device, including a transceiver 101, a memory 102, a processor 103, and a computer program stored in the memory 102 and running on the processor 103; the When the processor 103 executes the computer program, the above-mentioned message interaction method applied to the receiving end is implemented.

所述收发器101,用于在处理器103的控制下接收和发送数据。The transceiver 101 is used to receive and transmit data under the control of the processor 103 .

其中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器103代表的一个或多个处理器103和存储器102代表的存储器102的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发器101可以是多个元件,即包括发送机和收发机,提供用于在传输介质上与各种其他装置通信的单元。处理器103负责管理总线架构和通常的处理,存储器102可以存储处理器在执行操作时所使用的数据。The bus architecture may include any number of interconnected buses and bridges, specifically, one or more processors 103 represented by the processor 103 and various circuits of the memory 102 represented by the memory 102 are linked together. The bus architecture may also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be described further herein. The bus interface provides the interface. Transceiver 101 may be a number of elements, ie, including a transmitter and a transceiver, providing a means for communicating with various other devices over a transmission medium. The processor 103 is responsible for managing the bus architecture and general processing, and the memory 102 may store data used by the processor in performing operations.

另外,本发明具体实施例还提供一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如上述应用于发送端的消息交互方法中的步骤,或者实现如上述应用于接收端的消息交互方法中的步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。In addition, a specific embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, wherein, when the program is executed by a processor, the steps in the message interaction method applied to the sender as described above are implemented, or the program as described above is implemented. The above steps in the message interaction method applied to the receiving end can achieve the same technical effect, and are not repeated here to avoid repetition.

在本申请所提供的几个实施例中,应该理解到,所揭露方法和装置,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed method and apparatus may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included individually, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.

上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述收发方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute part of the steps of the transceiving method described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM for short), Random Access Memory (RAM for short), magnetic disk or CD, etc. that can store program codes medium.

以上所述的是本发明的优选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本发明所述的原理前提下还可以作出若干改进和润饰,这些改进和润饰也在本发明的保护范围内。The above are the preferred embodiments of the present invention, and it should be pointed out that for those skilled in the art, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications are also included in the present invention. within the scope of protection of the invention.

Claims (13)

1.一种消息交互方法,应用于发送端,其特征在于,包括:1. a message interaction method, applied to a sending end, is characterized in that, comprising: 获得消息内容;get the message content; 将所述消息内容通过独立消息发送至接收端;sending the message content to the receiver through an independent message; 发送端为聊天机器人Chatbot平台时,将所述消息内容通过独立消息发送至接收端,包括:When the sending end is the Chatbot platform, the content of the message is sent to the receiving end through an independent message, including: 将所述消息内容通过能力开放接口发送至消息服务器;sending the message content to the message server through the capability open interface; 通过所述消息服务器,将不需要匿名处理的消息内容通过会话初始协议消息SIPMESSAGE发送至接收端;或者Through the message server, the content of the message that does not require anonymous processing is sent to the receiver through the session initiation protocol message SIPMESSAGE; or 通过所述消息服务器,将需要匿名处理的消息内容通过会话初始协议消息SIPMESSAGE发送至匿名功能处理模块,并将匿名处理后的消息内容通过会话初始协议消息SIPMESSAGE发送至接收端;所述接收端为终端;Through the message server, the message content that needs to be anonymously processed is sent to the anonymous function processing module through the session initiation protocol message SIPMESSAGE, and the anonymously processed message content is sent to the receiving end through the session initiation protocol message SIPMESSAGE; the receiving end is terminal; 或者,or, 发送端为终端时,将所述消息内容通过独立消息发送至接收端,包括:When the sender is a terminal, the content of the message is sent to the receiver through an independent message, including: 将所述消息内容通过会话初始协议消息SIP MESSAGE发送至消息服务器;sending the message content to the message server through the session initiation protocol message SIP MESSAGE; 通过所述消息服务器,将不需要匿名处理的消息内容通过能力开放接口发送至接收端;或者,通过所述消息服务器,将需要匿名处理的消息通过会话初始协议消息SIPMESSAGE发送至匿名功能处理模块,并将匿名处理后的消息内容通过能力开放接口发送至接收端;所述接收端为聊天机器人Chatbot平台;Through the message server, the content of the message that does not require anonymous processing is sent to the receiving end through the capability open interface; or, through the message server, the message that needs to be anonymously processed is sent to the anonymous function processing module through the session initiation protocol message SIPMESSAGE, and send the anonymously processed message content to the receiving end through the capability open interface; the receiving end is the Chatbot platform; 其中,通过SIP MESSAGE承载消息时,消息交互过程不需要建立会话。Wherein, when the message is carried through the SIP MESSAGE, the message exchange process does not need to establish a session. 2.根据权利要求1所述的消息交互方法,其特征在于,所述消息内容包括接收者列表或接收者指针。2 . The message interaction method according to claim 1 , wherein the message content comprises a recipient list or a recipient pointer. 3 . 3.根据权利要求1所述的消息交互方法,其特征在于,将所述消息内容通过独立消息发送至接收端,包括:3. The message interaction method according to claim 1, characterized in that, sending the message content to the receiver through an independent message, comprising: 建立发送端与消息服务器之间的会话通道;Establish a session channel between the sender and the message server; 通过所述会话通道,将所述消息内容通过大消息传递模式Large Message Mode发送至接收端。Through the conversation channel, the message content is sent to the receiving end in the Large Message Mode. 4.一种消息交互方法,应用于接收端,其特征在于,包括:4. A message interaction method, applied to a receiving end, is characterized in that, comprising: 接收发送端通过独立消息发送的消息内容;Receive the message content sent by the sender through an independent message; 接收端为终端时,接收发送端通过独立消息发送的消息内容,包括:When the receiver is a terminal, the content of the message sent by the sender through the independent message, including: 接收发送端通过能力开放接口发送至消息服务器,并通过所述消息服务器以会话初始协议消息SIP MESSAGE发送的消息内容;所述发送端为聊天机器人Chatbot平台;Receive the content of the message sent by the sending end to the message server through the capability open interface, and send the message content with the session initiation protocol message SIP MESSAGE through the message server; the sending end is a chat robot Chatbot platform; 或者,or, 接收端为聊天机器人Chatbot平台时,接收发送端通过独立消息发送的消息内容,包括:When the receiving end is the Chatbot platform, the content of the message sent by the receiving end through independent messages, including: 接收发送端通过会话初始协议消息SIP MESSAGE发送至消息服务器,并通过所述消息服务器利用能力开放接口发送的消息内容;所述发送端为终端;Receive the content of the message sent by the sending end to the message server through the session initiation protocol message SIP MESSAGE, and use the capability open interface to send through the message server; the sending end is a terminal; 其中,通过SIP MESSAGE承载消息时,消息交互过程不需要建立会话。Wherein, when the message is carried through the SIP MESSAGE, the message exchange process does not need to establish a session. 5.根据权利要求4所述的消息交互方法,其特征在于,接收发送端通过独立消息发送的消息内容,包括:5. The message interaction method according to claim 4, wherein receiving the message content sent by the sending end through an independent message, comprising: 接收发送端通过会话通道发送至消息服务器,并通过所述消息服务器以大消息传递模式Large Message Mode发送的消息内容。Receive the content of the message sent by the sender to the message server through the session channel, and sent by the message server in the Large Message Mode. 6.一种发送设备,其特征在于,包括:6. A sending device, characterized in that, comprising: 第一处理器,用于获得消息内容;a first processor, configured to obtain the message content; 第一收发器,用于将所述消息内容通过独立消息发送至接收端;a first transceiver, configured to send the message content to the receiver through an independent message; 所述第一收发器将所述消息内容通过独立消息发送至接收端时,还用于:When the first transceiver sends the message content to the receiving end through an independent message, it is further used for: 将所述消息内容通过能力开放接口发送至消息服务器;sending the message content to the message server through the capability open interface; 通过所述消息服务器,将不需要匿名处理的消息内容通过会话初始协议消息SIPMESSAGE发送至接收端;或者Through the message server, the content of the message that does not require anonymous processing is sent to the receiver through the session initiation protocol message SIPMESSAGE; or 通过所述消息服务器,将需要匿名处理的消息内容通过会话初始协议消息SIPMESSAGE发送至匿名功能处理模块,并将匿名处理后的消息内容通过会话初始协议消息SIPMESSAGE发送至接收端;所述接收端为终端;Through the message server, the message content that needs to be anonymously processed is sent to the anonymous function processing module through the session initiation protocol message SIPMESSAGE, and the anonymously processed message content is sent to the receiving end through the session initiation protocol message SIPMESSAGE; the receiving end is terminal; 或者,or, 所述第一收发器将所述消息内容通过独立消息发送至接收端时,还用于:When the first transceiver sends the message content to the receiving end through an independent message, it is further used for: 将所述消息内容通过会话初始协议消息SIP MESSAGE发送至消息服务器;通过所述消息服务器,将不需要匿名处理的消息内容通过能力开放接口发送至接收端;或者,通过所述消息服务器,将需要匿名处理的消息通过会话初始协议消息SIP MESSAGE发送至匿名功能处理模块,并将匿名处理后的消息内容通过能力开放接口发送至接收端;所述接收端为聊天机器人Chatbot平台;Send the message content to the message server through the session initiation protocol message SIP MESSAGE; through the message server, send the message content that does not require anonymous processing to the receiving end through the capability open interface; or, through the message server, will need The anonymously processed message is sent to the anonymous function processing module through the session initiation protocol message SIP MESSAGE, and the anonymously processed message content is sent to the receiving end through the capability open interface; the receiving end is a chat robot Chatbot platform; 其中,通过SIP MESSAGE承载消息时,消息交互过程不需要建立会话。Wherein, when the message is carried through the SIP MESSAGE, the message exchange process does not need to establish a session. 7.根据权利要求6所述的发送设备,其特征在于,所述消息内容包括接收者列表或接收者指针。7. The sending device according to claim 6, wherein the message content comprises a recipient list or a recipient pointer. 8.根据权利要求6所述的发送设备,其特征在于,所述第一收发器将所述消息内容通过独立消息发送至接收端时,还用于:8. The sending device according to claim 6, wherein when the first transceiver sends the message content to the receiving end through an independent message, it is further used for: 建立发送端与消息服务器之间的会话通道;Establish a session channel between the sender and the message server; 通过所述会话通道,将所述消息内容通过大消息传递模式Large Message Mode发送至接收端。Through the conversation channel, the message content is sent to the receiving end in the Large Message Mode. 9.一种接收设备,其特征在于,包括第二处理器和第二收发器,所述第二收发器用于:9. A receiving device, comprising a second processor and a second transceiver, wherein the second transceiver is used for: 接收发送端通过独立消息发送的消息内容;Receive the message content sent by the sender through an independent message; 所述第二收发器接收发送端通过独立消息发送的消息内容时,还用于:When the second transceiver receives the message content sent by the sender through the independent message, it is further used for: 接收发送端通过能力开放接口发送至消息服务器,并通过所述消息服务器以会话初始协议消息SIP MESSAGE发送的消息内容;所述发送端为聊天机器人Chatbot平台;Receive the content of the message sent by the sending end to the message server through the capability open interface, and send the message content with the session initiation protocol message SIP MESSAGE through the message server; the sending end is a chat robot Chatbot platform; 或者,or, 所述第二收发器接收发送端通过独立消息发送的消息内容时,还用于:When the second transceiver receives the message content sent by the sender through the independent message, it is further used for: 接收发送端通过会话初始协议消息SIP MESSAGE发送至消息服务器,并通过所述消息服务器利用能力开放接口发送的消息内容;所述发送端为终端;Receive the content of the message sent by the sending end to the message server through the session initiation protocol message SIP MESSAGE, and use the capability open interface to send through the message server; the sending end is a terminal; 其中,通过SIP MESSAGE承载消息时,消息交互过程不需要建立会话。Wherein, when the message is carried through the SIP MESSAGE, the message exchange process does not need to establish a session. 10.根据权利要求9所述的接收设备,其特征在于,所述第二收发器接收发送端通过独立消息发送的消息内容时,还用于:10. The receiving device according to claim 9, wherein, when the second transceiver receives the message content sent by the sending end through the independent message, it is further used for: 接收发送端通过会话通道发送至消息服务器,并通过所述消息服务器以大消息传递模式Large Message Mode发送的消息内容。Receive the content of the message sent by the sender to the message server through the session channel, and sent by the message server in the Large Message Mode. 11.一种发送设备,包括收发器、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;其特征在于,所述处理器执行所述计算机程序时实现如权利要求1-3任一项所述的消息交互方法。11. A transmission device, comprising a transceiver, a memory, a processor, and a computer program stored on the memory and running on the processor; characterized in that, the processor implements the computer program when executing the computer program The message interaction method according to any one of claims 1-3. 12.一种接收设备,包括收发器、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;其特征在于,所述处理器执行所述计算机程序时实现如权利要求4-5任一项所述的消息交互方法。12. A receiving device, comprising a transceiver, a memory, a processor, and a computer program stored on the memory and executable on the processor; characterized in that, the processor implements the computer program when executing the computer program The message interaction method according to any one of claims 4-5. 13.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1至3中任一项所述的消息交互方法或者实现如权利要求4至5中任一项所述的消息交互方法中的步骤。13. A computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the message interaction method according to any one of claims 1 to 3 is realized or the message interaction method according to claim 1 is realized. Steps in the message interaction method described in any one of 4 to 5.
CN201811235437.8A 2018-10-23 2018-10-23 A message interaction method, sending device and receiving device Active CN111092802B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811235437.8A CN111092802B (en) 2018-10-23 2018-10-23 A message interaction method, sending device and receiving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811235437.8A CN111092802B (en) 2018-10-23 2018-10-23 A message interaction method, sending device and receiving device

Publications (2)

Publication Number Publication Date
CN111092802A CN111092802A (en) 2020-05-01
CN111092802B true CN111092802B (en) 2022-09-16

Family

ID=70392537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811235437.8A Active CN111092802B (en) 2018-10-23 2018-10-23 A message interaction method, sending device and receiving device

Country Status (1)

Country Link
CN (1) CN111092802B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970188B (en) * 2020-07-28 2022-09-30 维沃移动通信有限公司 Capability forwarding method and device
CN114329457A (en) * 2020-10-09 2022-04-12 中国移动通信有限公司研究院 Communication method and device
CN113159820A (en) * 2021-02-05 2021-07-23 浙江华坤道威数据科技有限公司 Interactive marketing management method based on 5G message
CN115018088A (en) * 2021-03-05 2022-09-06 中国移动通信集团江苏有限公司 Second-hand mobile phone recycling method and device, electronic equipment and storage medium
CN114979043B (en) * 2021-08-10 2023-08-15 中移互联网有限公司 Group chat service method, server and message platform for rich media
CN115914147B (en) * 2021-08-17 2025-02-18 中国移动通信有限公司研究院 Message forwarding method, Chatbot, message processing network element and terminal
CN113676852A (en) * 2021-08-19 2021-11-19 中国银行股份有限公司 Data processing method, device and system
CN115776472B (en) * 2021-09-06 2025-08-01 中国移动通信有限公司研究院 Chat robot message processing method, device and storage medium
CN114339629B (en) * 2021-12-29 2023-08-22 中国电信股份有限公司 Information sending method, device and electronic equipment

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794722B (en) * 2005-09-19 2010-05-05 华为技术有限公司 Method of transfering off-line message and instant message server
CN1878171B (en) * 2005-12-07 2010-05-12 华为技术有限公司 A method for blocking information notification in a chat room
CN100484105C (en) * 2006-01-12 2009-04-29 华为技术有限公司 Instant message system and message processing method
US8929360B2 (en) * 2006-12-07 2015-01-06 Cisco Technology, Inc. Systems, methods, media, and means for hiding network topology
CN101778056B (en) * 2009-12-25 2013-01-16 北京邮电大学 Processing method and system for meeting history record fusing message business
CN102065099B (en) * 2010-12-28 2013-07-24 北京神州泰岳软件股份有限公司 Signaling and bearing separated communication system
CN103546437A (en) * 2012-07-16 2014-01-29 中兴通讯股份有限公司 Method, UE (user equipment) and AS (application server) for transceiving offline messages in IMS (IP multimedia system)
EP2863603A1 (en) * 2013-10-18 2015-04-22 Alcatel Lucent A method for optimizing the capability discovery of terminals in an IMS network
CN106487644A (en) * 2015-08-28 2017-03-08 中国移动通信集团公司 A kind of communication means and system
WO2017091934A1 (en) * 2015-11-30 2017-06-08 华为技术有限公司 Capability enablement method, system and related device
CN107872345B (en) * 2016-09-28 2021-04-06 中兴通讯股份有限公司 Method and device for realizing capability openness
CN106850399B (en) * 2016-12-30 2022-04-26 深圳市潮流网络技术有限公司 Communication method based on WebRTC technology instant message

Also Published As

Publication number Publication date
CN111092802A (en) 2020-05-01

Similar Documents

Publication Publication Date Title
CN111092802B (en) A message interaction method, sending device and receiving device
CN101272266B (en) Method, device and system for file sharing in audio/video conference
CN104518973B (en) A method of reliable multicast transmission of data based on SDN environment
US8014775B2 (en) Method and system for implementing messaging services and a message application server
US20080091781A1 (en) Group communication
EP2381617A1 (en) A method for calling a conference when hard terminals have been bound to pc clients, a login server thereof, a conference server thereof and a pc client thereof
JP2006074132A (en) Multicast communication method and gateway device
EP2453681A1 (en) System and method for routing session initiation protocol conversation
CN107846379A (en) A kind of video conferencing system middle port multiplexing method and server
CN104253739A (en) Implementing method, system and device of always online services
CN101547214A (en) Method and network side equipment for pushing inside data of enterprise
EP2429256A1 (en) Method for negotiating message session relay protocol connection parameters
CN102348291B (en) Based on session establishing method and the system of dialogue association identification
US8745145B2 (en) Method and system for transmitting large message mode CPM messages
JP2010508686A (en) Distribution reports in communication systems
CN103457746A (en) Meeting data transmission method and device
EP2445302B1 (en) Transmission method and system for converged ip messaging
CN103428208B (en) Distributed SIP redirection server and construction method thereof
US10044774B1 (en) Methods and apparatus for aggregating and distributing presence information
CN109120578B (en) Method and device for realizing link connection processing
CN110943910A (en) WebSocket-based interphone implementation method
WO2010009642A1 (en) Method, system and device for implementing short message among enterprises
CN101510901B (en) Communication method, communication apparatus and system between distributed equipment
CN108337215B (en) A file transmission method and system, device and electronic device
CN104426746A (en) Client message pushing method, client message pushing device and server

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
GR01 Patent grant
GR01 Patent grant