CN111092802A - Message interaction method, sending equipment and receiving equipment - Google Patents

Message interaction method, sending equipment and receiving equipment Download PDF

Info

Publication number
CN111092802A
CN111092802A CN201811235437.8A CN201811235437A CN111092802A CN 111092802 A CN111092802 A CN 111092802A CN 201811235437 A CN201811235437 A CN 201811235437A CN 111092802 A CN111092802 A CN 111092802A
Authority
CN
China
Prior art keywords
message
sending
content
receiving
message content
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.)
Granted
Application number
CN201811235437.8A
Other languages
Chinese (zh)
Other versions
CN111092802B (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
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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, China Mobile Communications Ltd Research Institute 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 a 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

Message interaction method, sending equipment and receiving equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a message interaction method, a sending device, and a receiving device.
Background
At present, a chat robot Message interaction Mode in the RCS (Rich Communication Suite, converged Communication) international standard uses a Session Mode, for interaction between each application and a user, an SIP (Session Initiation Protocol) Session and an MSRP (Message Session Relay Protocol) media channel associated with the Session need to be established, and subsequent information interaction is sent in the MSRP channel, which brings the following problems:
for the operator network: the most common broadcast and multicast functions in the A2P (Application to Person) message cannot be supported, and a large number of users cannot be supported to send messages to the Application at the same time, so that huge network construction cost and complicated network planning and maintenance problems are brought to operators when the number of users increases; the interactive message path between the application and the user can not carry out load balancing according to the network resources and the equipment load condition, thereby wasting the network resources; after the session is established, the message path is fixed, and disaster tolerance cannot be flexibly performed, so that adverse effects are brought to user experience.
For the user: if the terminal interacts with multiple applications at the same time, even if no message is sent or received, the terminal needs to maintain multiple sessions before the session is overtime, a local memory is occupied, and frequent session keep-alive causes huge consumption of power and flow of the terminal.
For chat robot Chatbot platform: the Chatbot platform requires to use SIP or MSRP to be in butt joint with the message server, so that the function expansion is restricted by SIP or MSRP protocol, and the function is inconvenient to expand and update; the Chatbot platform is complicated to deploy due to the connection mode with the message server.
Therefore, the existing international standard solution cannot meet the use requirements of A2P message market in most common scenarios, and is not applicable to the market with a large number of users and network side applications.
Disclosure of Invention
In order to solve the technical problems, the invention provides a message interaction method, sending equipment and receiving equipment, so as to solve the problem that the message interaction mode of the chat robot in the prior art cannot meet various use scenes.
According to an aspect of the present invention, there is provided a message interaction method applied to a sending end, including:
obtaining message content;
and sending the message content to a receiving end through an independent message.
Preferably, when the sending end is a Chatbot platform, the sending end sends the message content to the receiving end through an independent message, including:
sending the message content to a message server through a capability open interface;
sending the message content which does not need anonymous processing to a receiving end through a Session Initiation Protocol (SIP) message by the message server; or
Sending the message content needing anonymous processing to an anonymous function processing module through a Session Initiation Protocol Message (SIPMSAGE) through the message server, and sending the message content after anonymous processing to a receiving end through the SIP MESSAGE; the receiving end is a terminal.
Preferably, the message content comprises a recipient list or a recipient pointer.
Preferably, the sending the message content to the receiving end through an independent message includes:
establishing a session channel between a sending end and a message server;
and sending the Message content to a receiving end through a Large Message passing Mode (Large Message Mode) through the session channel.
Preferably, when the sending end is a terminal, the message content is sent to the receiving end through an independent message, including:
sending the message content to a message server via a session initiation protocol message SIP MESSAGE;
sending the message content which does not need anonymous processing to a receiving end through the message server through a capability open interface; or
Sending the message to be processed anonymously to an anonymous function processing module through a Session Initiation Protocol (SIP) message by the message server, and sending the message content after anonymous processing to a receiving end through a capability open interface; the receiving end is a Chatbot platform.
The embodiment of the invention also provides a message interaction method, which is applied to a receiving end and comprises the following steps:
and receiving the message content sent by the sending end through the independent message.
Preferably, when the receiving end is a terminal, the receiving end receives the message content sent by the sending end through the independent message, including:
receiving message content sent by a sender to a message server through a capability open interface and sent as a session initiation protocol message SIP MESSAGE through the message server; the sending terminal is a Chatbot platform.
Preferably, the receiving of the message content sent by the sender through the independent message includes:
and receiving the Message content sent by the sending end to the Message server through the session channel and sent by the Message server in a Large Message passing Mode.
Preferably, when the receiving end is a chat robot Chatbot platform, the receiving end receives the message content sent by the sending end through the independent message, and the receiving end includes:
receiving message content sent by a sender to a message server through a session initiation protocol message SIP MESSAGE and sent by the message server through a capability open interface; the sending end is a terminal.
An embodiment of the present invention further provides a sending device, including:
a first processor for obtaining message content;
and the first transceiver is used for transmitting the message content to a receiving end through an independent message.
Preferably, when the first transceiver transmits the message content to the receiving end through an independent message, the first transceiver is further configured to:
sending the message content to a message server through a capability open interface;
sending the message content which does not need anonymous processing to a receiving end through a Session Initiation Protocol (SIP) message by the message server; or
Sending the message content needing anonymous processing to an anonymous function processing module through a Session Initiation Protocol Message (SIPMSAGE) through the message server, and sending the message content after anonymous processing to a receiving end through the SIP MESSAGE; the receiving end is a terminal.
Preferably, the message content comprises a recipient list or a recipient pointer.
Preferably, when the first transceiver transmits the message content to the receiving end through an independent message, the first transceiver is further configured to:
establishing a session channel between a sending end and a message server;
and sending the Message content to a receiving end through a Large Message passing Mode (Large Message Mode) through the session channel.
Preferably, when the first transceiver transmits the message content to the receiving end through an independent message, the first transceiver is further configured to:
sending the message content to a message server via a session initiation protocol message SIP MESSAGE;
sending the message content which does not need anonymous processing to a receiving end through the message server through a capability open interface; or
Sending the message to be processed anonymously to an anonymous function processing module through a Session Initiation Protocol (SIP) message by the message server, and sending the message content after anonymous processing to a receiving end through a capability open interface; the receiving end is a 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 configured to:
and receiving the message content sent by the sending end through the 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:
receiving message content sent by a sender to a message server through a capability open interface and sent as a session initiation protocol message SIP MESSAGE through the message server; the sending terminal is a 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:
and receiving the Message content sent by the sending end to the Message server through the session channel and sent by the Message server in a Large Message passing 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:
receiving message content sent by a sender to a message server through a session initiation protocol message SIP MESSAGE and sent by the message server through a capability open interface; 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, the processor implementing the message interaction method applied to a transmitting end as described above when executing the computer program.
An embodiment of the present invention further provides a receiving device, including: a transceiver, a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the message interaction method applied to a receiving end as described above when executing the computer program.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the message interaction method applied to the sending end as described above, or implements the steps in the message interaction method applied to the receiving end as described above.
According to the technical scheme, independent messages are used for carrying out message interaction related to the chat robot, and the Chatbot platform and the message server are connected by adopting a capacity open interface mode instead of an SIP or MSRP (session initiation protocol) used in the prior art, so that the flexibility and the expansibility of a network 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.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a flow chart of a message interaction method according to an embodiment of the present invention;
FIG. 2 shows a Messaging platform MaaP architecture diagram of an embodiment of the present invention;
FIG. 3 is a diagram illustrating a message interaction method applied to an individual according to an embodiment of the present invention;
fig. 4 is a flow chart illustrating a broadcast or mass messaging message according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a method of personal-to-application message interaction in accordance with an embodiment of the present invention;
FIG. 6 is a diagram illustrating a message transmission method of a chat robot according to an embodiment of the invention;
fig. 7 is a schematic diagram of an implementation structure of a sending device according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an implementation structure of a receiving device according to an embodiment of the present invention;
fig. 9 is a second schematic diagram of an implementation structure of a transmitting apparatus according to an embodiment of the present invention;
fig. 10 is a second schematic diagram of an implementation structure of a receiving apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
An embodiment of the present invention provides a message interaction method, applied to a sending end, as shown in fig. 1, including:
step 11, obtaining message content;
the sending end in this embodiment can be a Chatbot platform or a user terminal, and in the message interaction process of A2P, the sending end is the Chatbot platform, and the Chatbot invokes an API (Application Programming Interface) provided externally by the Chatbot platform, and sends the message content to be interacted with the terminal to the Chatbot platform; in the process of P2A (Person to Application) message interaction, the sender is the user's terminal, and the terminal sends the message content interacting with Chatbot to the specified Chatbot Application.
And step 12, sending the message content to a receiving end through an independent message.
In this embodiment, the sending end sends the Message content to the receiving end in an independent Message (standby Message) manner, so as to implement Message interaction between the sending end and the receiving end. Specifically, in the Message interaction architecture between the individual user and the application, the Message server supports an independent Message Mode, that is, a Message is carried by a session initiation protocol Message SIP MESSAGE method or a Large messaging Mode Large Message Mode. When the SIP MESSAGE is used for bearing the message, the session does not need to be established in the message interaction process, and the message content can be flexibly sent according to the requirement, and has the functions of broadcasting or multicasting and the like; in some networks that do not support using SIP MESSAGE to carry messages, a session channel between a sending end and a Message server needs to be established through a Large Message Mode carrying Message, but the session channel is actively released immediately after the Message is transmitted, so as to avoid the waste of network resources and the Large consumption of current and flow of a user terminal.
Specifically, the MaaP (Messaging as a Platform, Messaging Platform) architecture of this embodiment is shown in fig. 2, and an original RCS (Rich Communication Suite, converged Communication) network element such as a capability open gateway and a message server is added to abstract its own capability into an API, i.e., a capability open interface, for the Chatbot Platform to call, in a capability open manner; the Chatbot platform interacts with the message server by invoking a capability open interface based on HTTP (Hyper Text Transfer Protocol). The MaaP architecture also comprises a processing module with an anonymous function, a capability discovery module, a junk message reporting module, a junk message shielding module, an IMS (IP Multimedia Subsystem), a content server and the like, and the architecture is utilized to realize message interaction between the chat robot and the user terminal, so that networking difficulty can be reduced, and function development is more flexible; compared with The existing RCS standard, The method is not limited by SIP (Session Initiation Protocol) and MSRP (The Message Session Relay Protocol).
Specifically, when the sending end is a chat robot Chatbot platform, the sending end sends the message content to the receiving end through an independent message, including:
sending the message content to a message server through a capability open interface;
sending the message content which does not need anonymous processing to a receiving end through a Session Initiation Protocol (SIP) message by the message server; or
Sending the message content needing anonymous processing to an anonymous function processing module through a Session Initiation Protocol Message (SIPMSAGE) through the message server, and sending the message content after anonymous processing to a receiving end through the SIP MESSAGE; the receiving end is a terminal.
As shown in fig. 3, in the message interaction process of A2P, the sending end is a Chatbot platform, Chatbot calls an API provided by the Chatbot platform to send the message content to the Chatbot platform, and the Chatbot platform calls a capability open interface, i.e., a message server API, to send the message content to the message server. After receiving the message content sent by the Chatbot platform, the message server judges whether the message content needs anonymous processing, if not, the message content is sent to the access module through the session initial protocol message SIP MESSAGE, and then the message content is sent to the terminal by the access module; if the message content needs anonymous processing, the message server sends the message content to an anonymous function processing module through SIP MESSAGE for anonymous processing, and sends the message content after anonymous processing to the terminal through SIP MESSAGE. The "HTTP 200 OK" and the "SIP 200 OK" are response signals fed back by the modules after receiving the message.
It is worth pointing out that the message header of the message content includes a parameter content field and a message carrying mode field of the message.
In the message interaction process of the embodiment, the sending end sends the message content to the receiving end through the SIP message without establishing the SIP session and the MSRP channel corresponding to the SIP session, which is beneficial to reducing the resource overhead of network IP addresses, ports and the like and reducing the difficulty of network planning and expansion.
Because each message can be transmitted in the network independently by the SIP MESSAGE method, a fixed message transmission path does not need to be established in the network, intelligent planning can be conveniently performed according to the conditions of the load of network equipment and the like, and the user experience is improved.
Preferably, the message content comprises a recipient list or a recipient pointer.
Specifically, in the A2P message interaction process, when implementing message mass-sending or broadcast message, a recipient pointer carrying a recipient list or pointing to a specific list may be added in the message body of the message content, so as to specify multiple recipients.
As shown in fig. 4, when broadcasting or mass-sending A2P message:
chatbot calls an API externally provided by the Chatbot platform, and sends message content to the Chatbot platform, wherein the message content includes a recipient list or a recipient pointer (in fig. 4 of the embodiment of the present invention, recipients are A, B and C as an example);
the Chatbot platform calls a capability opening interface, namely an API (application program interface), and sends the message content to the message server;
after receiving the message content sent by the Chatbot platform, the message server parses the recipient list or recipient pointer (as shown in fig. 4, the recipients including A, B and C are parsed), and determines whether the message content needs anonymous processing (ignoring anonymous flow in fig. 4) according to each recipient obtained by parsing, if not, the message content is sent to the access module through the session initiation protocol message SIP MESSAGE, and the access module sends the message content to all user terminals (namely, the terminal a, the terminal B and the terminal C) which need to receive; if the message content needs anonymous processing, the message server sends the message content to an anonymous function processing module through SIP MESSAGE for anonymous processing, sends the message content after anonymous processing to an access module through SIP MESSAGE, and the access module sends the message content to all user terminals (namely a terminal A, a terminal B and a terminal C) needing to be received.
In fig. 4, "HTTP 200 OK" and "SIP 200 OK" are response signals fed back by the modules after receiving the message. It is worth pointing out that, when broadcasting or mass-sending the A2P message, the message content may include a plurality of message bodies that need interaction, thereby realizing the broadcasting or mass-sending of the message.
Specifically, the sending the message content to the receiving end through the independent message includes:
establishing a session channel between a sending end and a message server;
in most operator networks, the RCS service uses TCP (Transmission Control Protocol) as a bottom layer transport Protocol, so that the size of the SIP MESSAGE method is enough to carry chat robot message interaction. However, in some networks, such as networks with higher congestion level and using UDP (User Datagram Protocol) as the transport layer Protocol, the size of the SIP MESSAGE method may be limited, and at this time, it is still necessary to transmit the chat robot Message using the Large Message Mode method which is also a separate Message. When the Large message Mode is used for transmitting the message, a Session channel between the sending end and the message server needs to be established, and the signaling flow established by the Session channel is the same as the existing Mode of using the Session Mode in the RCS standard.
And sending the Message content to a receiving end through a Large Message passing Mode (Large Message Mode) through the session channel.
In this embodiment, the message header of the message content includes a parameter content field and a message carrying mode field of the message. In addition, the Session channel can be actively released immediately after the message is transmitted, and the Session channel does not need to be maintained until the timer is overtime like the Session channel of the Session Mode, so that the expenses of terminal flow and electric quantity can be reduced.
Preferably, when the sending end is a terminal, the sending end sends the message content to the receiving end through an independent message, including:
sending the message content to a message server via a session initiation protocol message SIP MESSAGE;
sending the message content which does not need anonymous processing to a receiving end through the message server through a capability open interface; or
Sending the message to be processed anonymously to an anonymous function processing module through a Session Initiation Protocol (SIP) message by the message server, and sending the message content after anonymous processing to a receiving end through a capability open interface; the receiving end is a Chatbot platform.
As shown in fig. 5, in the P2A message interaction process, the sending end is a user terminal, the receiving end is a chat robot Chatbot platform, the terminal encapsulates the content interacting with Chatbot into SIP MESSAGE mode, sends the message content to the designated Chatbot application through sip message, and the message content is first sent to the access module and the message server to which the user belongs.
After receiving the message content sent by the terminal, the message server judges whether the message content needs anonymous processing, if not, the message server calls a capacity open interface related to a Chatbot platform to send the message content to the Chatbot platform, and the Chatbot platform sends the message to the Chatbot through an API; if the message content needs anonymous processing, the message server sends the message content to an anonymous function processing module for anonymous processing by an SIP MESSAGE method, and sends the message content after anonymous processing to a Chatbot platform through a capability open interface, and the Chatbot platform sends the message to the Chatbot through an API. The message header of the message content comprises a parameter content field and a message carrying mode field of the message.
According to the Message interaction method provided by the embodiment of the invention, independent messages are used for carrying out the Message interaction related to the chat robot, the SIP MESSAGE method is used for carrying out the chat robot interaction in a normal scene, and the possibility that the individual special network still adopts a Large Message Mode for carrying out the chat robot interaction is reserved, but the Session Mode in the existing standard is not actively used; the Chatbot platform and the message server are connected by adopting a capacity open interface instead of an SIP or MSRP (session initiation protocol) used in the prior art, an SIP session and an MSRP channel corresponding to the SIP session are not required to be established, so that the resource overhead of network IP (Internet protocol) addresses, ports and the like is favorably reduced, and the difficulty of network planning and expansion is reduced; because the SIP MESSAGE method can transmit each message in the network alone, so it is not necessary to establish a fixed message transmission path in the network, and it can be convenient to perform intelligent planning according to the load of the network device, and improve the user experience, the message transmission mode of the chat robot in the embodiment of the invention is as shown in fig. 6, a plurality of messages SIP MESSAGE are sent to the message server by the application, and the message server sends the message content to a plurality of terminals, so it can be seen that each SIP MESSAGE can transmit in the network alone, and a fixed transmission channel is not necessary, thereby avoiding network congestion caused by the simultaneous transmission of a plurality of messages.
The embodiment of the invention also provides a message interaction method, which is applied to a receiving end and comprises the following steps:
and receiving the message content sent by the sending end through the independent message.
In this embodiment, the receiving end can be a user terminal or a chat robot Chatbot platform, in the process of A2P message interaction, the receiving end is a user terminal, the sending end is a chat robot Chatbot platform, when the chat robot interacts with a terminal message, the chat robot Chatbot calls an API provided outside the Chatbot platform, and sends the message content to be interacted with the terminal to the Chatbot platform, which sends the message content to the receiving end, i.e. the terminal, through an independent message; in the process of P2A message interaction, the receiving end is a Chatbot platform, the sending end is a user terminal, and the terminal sends the message content interacting with Chatbot to the Chatbot platform through an independent message.
In this embodiment, the sending end sends the message content to the receiving end in an independent message manner, so as to realize message interaction between the sending end and the receiving end. Specifically, in the message interaction architecture between the individual user and the application, the message server supports an independent message Mode, namely, a message is carried through a session initiation protocol message SIP MESSAGE method or a large messaging Mode. When the SIP MESSAGE is used for bearing the message, the session does not need to be established in the message interaction process, and the message content can be flexibly sent according to the requirement, and has the functions of broadcasting or multicasting and the like; in part of networks which do not support the use of SIP Message to carry messages, a session channel between a sending end and a Message server needs to be established through a Large Message Mode carrying Message, but the session channel is actively released immediately after the Message is transmitted, so that the waste of network resources and the Large consumption of current and flow of a user terminal are avoided.
Preferably, when the receiving end is a terminal, the receiving end receives the message content sent by the sending end through the independent message, and the receiving end includes:
receiving message content sent by a sender to a message server through a capability open interface and sent as a session initiation protocol message SIP MESSAGE through the message server; the sending terminal is a Chatbot platform.
In the A2P message interaction process, the receiving end is a terminal, the sending end is a Chatbot platform, the Chatbot platform calls a capacity open interface, the message content of the chat robot is sent to a message server, the message server judges whether the message content needs anonymous processing, if not, the message content is sent to the terminal through a session initial protocol message SIP MESSAGE; if the message content needs anonymous processing, the message server sends the message content to an anonymous function processing module through SIP MESSAGE for anonymous processing, and sends the message content after anonymous processing to the terminal through SIP MESSAGE. The message header of the message content comprises a parameter content field and a message carrying mode field of the message.
It is worth noting that, in the A2P message interaction process, when implementing mass messaging or broadcast messages, the message content sent by the Chatbot platform comprises a receiver list or a receiver pointer, the Chatbot platform calls a capability open interface to send the message content with the receiver list or the receiver pointer to a message server, the message server analyzes the receiver list or the receiver pointer and judges whether the message content needs anonymous processing according to each receiver obtained by analysis, if not, the message content is sent SIP MESSAGE to all of the user terminals that need to be received, if the message content needs anonymous processing, the message server sends the message content to an anonymous function processing module through SIP MESSAGE for anonymous processing, and sends the anonymized message content to all the user terminals that need to be received through SIP MESSAGE. When broadcasting or mass-sending A2P messages, the message content may include multiple message bodies that need to be interacted with, thereby enabling the broadcasting or mass-sending of the messages.
In addition, because the SIP MESSAGE method can transmit each message in the network independently, so it is not necessary to establish a fixed message transmission path in the network, it can conveniently perform intelligent planning according to the load of the network device, and it improves the user experience, the message interaction between the sending end and the receiving end is through the session initiation protocol message SIP MESSAGE mode, it is not necessary to establish the SIP session and the MSRP channel corresponding to the SIP session, it is beneficial to reduce the resource overhead of the network IP address, port, and the like, and it reduces the difficulty of network planning and expansion.
Preferably, the receiving of the message content sent by the sender through the independent message includes:
and receiving the Message content sent by the sending end to the Message server through the session channel and sent by the Message server in a Large Message passing Mode.
In this embodiment, in a network that does not support the SIP MESSAGE method, it is necessary to use the Large Message Mode that is also an independent Message to transfer the Message, and it is necessary to establish a session channel between the sending end and the Message server, and the Message server sends the Message content to the receiving end through the session channel. The message header of the message content comprises a parameter content field and a message carrying mode field of the message. In addition, the Session channel can be actively released immediately after the message is transmitted, and the Session channel does not need to be maintained until the timer is overtime like the Session channel of the Session Mode, so that the expenses of terminal flow and electric quantity can be reduced.
Specifically, when the receiving end is a chat robot Chatbot platform, the receiving end receives the message content sent by the sending end through the independent message, including:
receiving message content sent by a sender to a message server through a session initiation protocol message SIP MESSAGE and sent by the message server through a capability open interface; the sending end is a terminal.
In the embodiment, in the process of P2A message interaction, the receiving end is a Chatbot platform, the sending end is a user terminal, the terminal encapsulates the content interacted with Chatbot into SIP MESSAGE mode, sends the message content to a designated Chatbot application, the message content is first sent to an access module and a message server to which the user belongs, the message server sends the message needing anonymous processing to an anonymous function processing module through a session initial protocol message SIP MESSAGE, and sends the message content after anonymous processing to the Chatbot platform through a capability open interface, or the message server sends the message content without anonymous processing to the Chatbot platform through the capability open interface.
The chat robot message interaction is carried out through the independent message, the SIP session and the corresponding MSRP channel do not need to be established, the resource overhead of a network port and the like is favorably reduced, and the network planning and expansion difficulty is reduced; the functions of chat robot broadcasting and mass messaging can be realized, and the user experience is improved.
An embodiment of the present invention further provides a sending apparatus, as shown in fig. 7, including:
a first processor 71 for obtaining message content;
a first transceiver 72 for transmitting the message content to a receiving end via a separate message.
Preferably, when the first transceiver 72 transmits the message content to the receiving end via a separate message, it is further configured to:
sending the message content to a message server through a capability open interface;
sending the message content which does not need anonymous processing to a receiving end through a Session Initiation Protocol (SIP) message by the message server; or
Sending the message content needing anonymous processing to an anonymous function processing module through a Session Initiation Protocol Message (SIPMSAGE) through the message server, and sending the message content after anonymous processing to a receiving end through the SIP MESSAGE; the receiving end is a terminal.
Preferably, the message content comprises a recipient list or a recipient pointer.
Preferably, when the first transceiver 72 transmits the message content to the receiving end via a separate message, it is further configured to:
establishing a session channel between a sending end and a message server;
and sending the Message content to a receiving end through a Large Message passing Mode (Large Message Mode) through the session channel.
Preferably, when the first transceiver 72 transmits the message content to the receiving end via a separate message, it is further configured to:
sending the message content to a message server via a session initiation protocol message SIP MESSAGE;
sending the message content which does not need anonymous processing to a receiving end through the message server through a capability open interface; or
Sending the message to be processed anonymously to an anonymous function processing module through a Session Initiation Protocol (SIP) message by the message server, and sending the message content after anonymous processing to a receiving end through a capability open interface; the receiving end is a Chatbot platform.
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 configured to:
and receiving the message content sent by the sending end through the independent message.
Preferably, when the second transceiver 82 receives the message content sent by the sender through the independent message, it is further configured to:
receiving message content sent by a sender to a message server through a capability open interface and sent as a session initiation protocol message SIP MESSAGE through the message server; the sending terminal is a Chatbot platform.
Preferably, when the second transceiver 82 receives the message content sent by the sender through the independent message, it is further configured to:
and receiving the Message content sent by the sending end to the Message server through the session channel and sent by the Message server in a Large Message passing Mode.
Preferably, when the second transceiver 82 receives the message content sent by the sender through the independent message, it is further configured to:
receiving message content sent by a sender to a message server through a session initiation protocol message SIP MESSAGE and sent by the message server through a capability open interface; the sending end is a terminal.
As shown in fig. 9, an embodiment of the present invention further provides a transmitting device, which includes a transceiver 91, a memory 92, a processor 93, and a computer program stored on the memory 92 and executable on the processor 93; the processor 93 implements the above-mentioned message interaction method applied to the transmitting end when executing the computer program.
The transceiver 91 is used for receiving and transmitting data under the control of the processor 93.
The bus architecture may include any number of interconnected buses and bridges, among which are linked together by one or more processors 93, represented by processor 93, and various circuits of memory 92, represented by memory 92. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 91 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. The processor is responsible for managing the bus architecture and the usual processing, and the memory may store data used by the processor in performing operations.
As shown in fig. 10, an embodiment of the present invention further provides a receiving device, which includes a transceiver 101, a memory 102, a processor 103, and a computer program stored on the memory 102 and executable on the processor 103; the processor 103 implements the above-mentioned message interaction method applied to the receiving end when executing the computer program.
The transceiver 101 is used for receiving and transmitting data under the control of the processor 103.
The bus architecture may include, among other things, any number of interconnected buses and bridges, with one or more processors 103, represented by processor 103, and various circuits of memory 102, represented by memory 102, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 101 may be a number of elements, including a transmitter and a transceiver, providing a means for communicating with various other apparatus 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 computer-readable storage medium is provided in a specific embodiment of the present invention, where a computer program is stored thereon, where the computer program, when being executed by a processor, implements the steps in the message interaction method applied to the sending end or implements the steps in the message interaction method applied to the receiving end, and can achieve the same technical effects, and in order to avoid repetition, the detailed description is omitted here.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the transceiving method according to various embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims (21)

1. A message interaction method is applied to a sending end and is characterized by comprising the following steps:
obtaining message content;
and sending the message content to a receiving end through an independent message.
2. The message interaction method of claim 1, wherein when the sending end is a chat robot Chatbot platform, the sending end sends the message content to the receiving end through an independent message, comprising:
sending the message content to a message server through a capability open interface;
sending the message content which does not need anonymous processing to a receiving end through a Session Initiation Protocol (SIP) message by the message server; or
Sending the message content needing anonymous processing to an anonymous function processing module through a Session Initiation Protocol Message (SIPMSAGE) through the message server, and sending the message content after anonymous processing to a receiving end through the SIP MESSAGE; the receiving end is a terminal.
3. The message interaction method of claim 2, wherein the message content comprises a recipient list or a recipient pointer.
4. The message interaction method of claim 1, wherein the sending the message content to a receiving end through a separate message comprises:
establishing a session channel between a sending end and a message server;
and sending the Message content to a receiving end through a Large Message passing Mode (Large Message Mode) through the session channel.
5. The message interaction method according to claim 1, wherein when the sending end is a terminal, the message content is sent to the receiving end through an independent message, comprising:
sending the message content to a message server via a session initiation protocol message SIP MESSAGE;
sending the message content which does not need anonymous processing to a receiving end through the message server through a capability open interface; or
Sending the message to be processed anonymously to an anonymous function processing module through a session initial protocol message SIP MESSAGE by the message server, and sending the message content after anonymous processing to a receiving end through a capability open interface; the receiving end is a Chatbot platform.
6. A message interaction method is applied to a receiving end and is characterized by comprising the following steps:
and receiving the message content sent by the sending end through the independent message.
7. The message interaction method of claim 6, wherein when the receiving end is a terminal, the receiving end receives the message content sent by the sending end through the independent message, comprising:
receiving message content sent by a sender to a message server through a capability open interface and sent as a session initiation protocol message SIP MESSAGE through the message server; the sending terminal is a Chatbot platform.
8. The message interaction method of claim 6, wherein the receiving of the message content sent by the sender through the independent message comprises:
and receiving the Message content sent by the sending end to the Message server through the session channel and sent by the Message server in a Large Message passing Mode.
9. The message interaction method of claim 6, wherein when the receiving end is a chat robot Chatbot platform, the receiving end receives the message content sent by the sending end through an independent message, and the method comprises:
receiving message content sent by a sender to a message server through a session initiation protocol message SIP MESSAGE and sent by the message server through a capability open interface; the sending end is a terminal.
10. A transmitting device, comprising:
a first processor for obtaining message content;
and the first transceiver is used for transmitting the message content to a receiving end through an independent message.
11. The sending device of claim 10, wherein the first transceiver, when sending the message content to a receiving end via a separate message, is further configured to:
sending the message content to a message server through a capability open interface;
sending the message content which does not need anonymous processing to a receiving end through a Session Initiation Protocol (SIP) message by the message server; or
Sending the message content needing anonymous processing to an anonymous function processing module through a Session Initiation Protocol Message (SIPMSAGE) through the message server, and sending the message content after anonymous processing to a receiving end through the SIP MESSAGE; the receiving end is a terminal.
12. The sending device of claim 11, wherein the message content comprises a recipient list or a recipient pointer.
13. The sending device of claim 10, wherein the first transceiver, when sending the message content to a receiving end via a separate message, is further configured to:
establishing a session channel between a sending end and a message server;
and sending the Message content to a receiving end through a Large Message passing Mode (Large Message Mode) through the session channel.
14. The sending device of claim 10, wherein the first transceiver, when sending the message content to a receiving end via a separate message, is further configured to:
sending the message content to a message server via a session initiation protocol message SIP MESSAGE;
sending the message content which does not need anonymous processing to a receiving end through the message server through a capability open interface; or
Sending the message to be processed anonymously to an anonymous function processing module through a session initial protocol message SIP MESSAGE by the message server, and sending the message content after anonymous processing to a receiving end through a capability open interface; the receiving end is a Chatbot platform.
15. A receiving device comprising a second processor and a second transceiver, the second transceiver being configured to:
and receiving the message content sent by the sending end through the independent message.
16. The receiving device of claim 15, wherein the second transceiver, when receiving the message content sent by the sender through the independent message, is further configured to:
receiving message content sent by a sender to a message server through a capability open interface and sent as a session initiation protocol message SIP MESSAGE through the message server; the sending terminal is a Chatbot platform.
17. The receiving device of claim 15, wherein the second transceiver, when receiving the message content sent by the sender through the independent message, is further configured to:
and receiving the Message content sent by the sending end to the Message server through the session channel and sent by the Message server in a Large Message passing Mode.
18. The receiving device of claim 15, wherein the second transceiver, when receiving the message content sent by the sender through the independent message, is further configured to:
receiving message content sent by a sender to a message server through a session initiation protocol message SIP MESSAGE and sent by the message server through a capability open interface; the sending end is a terminal.
19. A transmitting 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, when executing the computer program, implements the message interaction method according to any of claims 1-5.
20. 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, when executing the computer program, implements the message interaction method according to any of claims 6-9.
21. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the message interaction method as claimed in one of claims 1 to 5 or the steps of the message interaction method as claimed in one of claims 6 to 9.
CN201811235437.8A 2018-10-23 2018-10-23 Message interaction method, sending equipment and receiving equipment Active CN111092802B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN111092802A true CN111092802A (en) 2020-05-01
CN111092802B 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 Message interaction method, sending equipment and receiving equipment

Country Status (1)

Country Link
CN (1) CN111092802B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970188A (en) * 2020-07-28 2020-11-20 维沃移动通信有限公司 Capability forwarding method and device
CN113159820A (en) * 2021-02-05 2021-07-23 浙江华坤道威数据科技有限公司 Interactive marketing management method based on 5G message
CN113676852A (en) * 2021-08-19 2021-11-19 中国银行股份有限公司 Data processing method, device and system
CN114339629A (en) * 2021-12-29 2022-04-12 中国电信股份有限公司 Information sending method, device thereof and electronic equipment
CN114979043A (en) * 2021-08-10 2022-08-30 中移互联网有限公司 Rich media group chat service method, server and message-as-a-platform

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794722A (en) * 2005-09-19 2006-06-28 华为技术有限公司 Method of transfering off-line message
CN1863174A (en) * 2006-01-12 2006-11-15 华为技术有限公司 Instant message system and message processing method
CN1878171A (en) * 2005-12-07 2006-12-13 华为技术有限公司 Method for blocking information notice in chat room
WO2008070822A2 (en) * 2006-12-07 2008-06-12 Starent Networks Corporation Systems, methods, media, and means for hiding network topology
CN101778056A (en) * 2009-12-25 2010-07-14 北京邮电大学 Processing method and system for meeting history record fusing message business and
CN102065099A (en) * 2010-12-28 2011-05-18 北京神州泰岳软件股份有限公司 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
CN106850399A (en) * 2016-12-30 2017-06-13 深圳市潮流网络技术有限公司 A kind of communication means based on WebRTC technology instant messages
WO2018059150A1 (en) * 2016-09-28 2018-04-05 中兴通讯股份有限公司 Open capability implementation method and apparatus
US20180270780A1 (en) * 2015-11-30 2018-09-20 Huawei Technologies Co., Ltd. Capability Exposure Implementation Method And System, And Related Device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794722A (en) * 2005-09-19 2006-06-28 华为技术有限公司 Method of transfering off-line message
CN1878171A (en) * 2005-12-07 2006-12-13 华为技术有限公司 Method for blocking information notice in chat room
CN1863174A (en) * 2006-01-12 2006-11-15 华为技术有限公司 Instant message system and message processing method
WO2008070822A2 (en) * 2006-12-07 2008-06-12 Starent Networks Corporation Systems, methods, media, and means for hiding network topology
CN101778056A (en) * 2009-12-25 2010-07-14 北京邮电大学 Processing method and system for meeting history record fusing message business and
CN102065099A (en) * 2010-12-28 2011-05-18 北京神州泰岳软件股份有限公司 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
US20180270780A1 (en) * 2015-11-30 2018-09-20 Huawei Technologies Co., Ltd. Capability Exposure Implementation Method And System, And Related Device
WO2018059150A1 (en) * 2016-09-28 2018-04-05 中兴通讯股份有限公司 Open capability implementation method and apparatus
CN106850399A (en) * 2016-12-30 2017-06-13 深圳市潮流网络技术有限公司 A kind of communication means based on WebRTC technology instant messages

Non-Patent Citations (8)

* Cited by examiner, † Cited by third party
Title
JARI KELLOKOSKI; ERNO TUKIA; EERO WALLENIUS; TIMO HÄMÄLÄINEN; JY: "Call and messaging performance comparison between IMS and SIP networks", 《IEEE》 *
曾凡俊等: "基于SIP的即时消息在Android平台的实现", 《信息系统工程》 *
朱晓洁: "IMS业务能力开放模式及应用探讨", 《移动通信》 *
朱海楠等: "基于MSRP的离线消息服务系统的研究与设计", 《计算机系统应用》 *
胡悦,吕光旭,符刚: "浅谈MaaP商业模式下的RCS发展形势", 《邮电设计技术》 *
董昊,黄小兵: "融合通信技术与标准进展研究", 《电信技术》 *
董昊: "聊天机器人信息推送机制研究", 《中国新通信》 *
邱芸: "IMS互联网化能力开放的研究与应用", 《信息通信》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970188A (en) * 2020-07-28 2020-11-20 维沃移动通信有限公司 Capability forwarding method and device
CN113159820A (en) * 2021-02-05 2021-07-23 浙江华坤道威数据科技有限公司 Interactive marketing management method based on 5G message
CN114979043A (en) * 2021-08-10 2022-08-30 中移互联网有限公司 Rich media group chat service method, server and message-as-a-platform
CN114979043B (en) * 2021-08-10 2023-08-15 中移互联网有限公司 Group chat service method, server and message platform for rich media
CN113676852A (en) * 2021-08-19 2021-11-19 中国银行股份有限公司 Data processing method, device and system
CN114339629A (en) * 2021-12-29 2022-04-12 中国电信股份有限公司 Information sending method, device thereof and electronic equipment
CN114339629B (en) * 2021-12-29 2023-08-22 中国电信股份有限公司 Information sending method, device and electronic equipment

Also Published As

Publication number Publication date
CN111092802B (en) 2022-09-16

Similar Documents

Publication Publication Date Title
CN111092802B (en) Message interaction method, sending equipment and receiving equipment
US8291022B2 (en) Method and device for messaging
CN100401724C (en) Method and device for transfer immediate news
KR100989656B1 (en) Group communication in communication system
US8014775B2 (en) Method and system for implementing messaging services and a message application server
CN102664899B (en) A kind of method for processing business, Apparatus and system
CN101964785A (en) Method, terminal and system for transmitting file between SIP (Session Initiation Protocol) terminals in NAT (Network Address Translation) network
CN105656847A (en) SIP (Session Initiation Protocol)/MQTT (Message Queuing Telemetry Transport) protocol conversion gateway system and control method thereof for mobile device
US20080091781A1 (en) Group communication
EP2560329B1 (en) Method and processing system for routing a message request
EP3235189B1 (en) Negotiation of message chunk size for message session relay protocol session
Ciubotaru et al. Advanced Network Programming–Principles and Techniques: Network Application Programming with Java
CN110875914A (en) Method and device for transmitting messages based on shared session link
CN101223746A (en) Page-mode messaging
EP3515032B1 (en) Port multiplexing method and server in video conference system and computer storage medium
US11716363B2 (en) Messaging resource function
EP2429256A1 (en) Method for negotiating message session relay protocol connection parameters
CN109120578B (en) Method and device for realizing link connection processing
US11671487B1 (en) Port prediction for peer-to-peer communications
EP2445302B1 (en) Transmission method and system for converged ip messaging
CN110912800B (en) Method and device for forwarding group chat messages
CN113490155A (en) Communication method, device, medium and electronic equipment for multicast broadcast service
US9112870B1 (en) Processing device having session component with integrated support for message queuing protocol
EP2640029A1 (en) System and method for transmitting multipage multimedia messages, session initiation protocol terminal and multimedia message proxy server
CN108337215B (en) File transmission method, system and device and electronic equipment

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