WO2019128682A1 - Convergent messaging system and message processing method - Google Patents

Convergent messaging system and message processing method Download PDF

Info

Publication number
WO2019128682A1
WO2019128682A1 PCT/CN2018/119994 CN2018119994W WO2019128682A1 WO 2019128682 A1 WO2019128682 A1 WO 2019128682A1 CN 2018119994 W CN2018119994 W CN 2018119994W WO 2019128682 A1 WO2019128682 A1 WO 2019128682A1
Authority
WO
WIPO (PCT)
Prior art keywords
protocol
message
client
protocol message
user
Prior art date
Application number
PCT/CN2018/119994
Other languages
French (fr)
Chinese (zh)
Inventor
邵俊
李毅
黄小兵
孙立波
杨金舟
曹懿军
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2019128682A1 publication Critical patent/WO2019128682A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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/06Message adaptation to terminal or network requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Definitions

  • the present application relates to, but is not limited to, communication technologies, for example, to a converged message system and a message processing method.
  • Internet manufacturers develop and design client applications (Applications, APPs) and servers themselves, using a proprietary communication protocol model, using the network of carrier communication as a conduit, so that all instant messaging and VoIP functions are in the vendor's own client. achieve.
  • client applications Applications, APPs
  • APPs Applications, APPs
  • servers themselves, using a proprietary communication protocol model, using the network of carrier communication as a conduit, so that all instant messaging and VoIP functions are in the vendor's own client. achieve.
  • the instant messaging services of Internet manufacturers have been designed as "shake" architectures, and different manufacturers' instant messaging services have built different architecture protocols and platforms.
  • the functions of instant messaging services of different manufacturers are becoming more and more serious.
  • client messages of different manufacturers adopt private protocols that are not open, they are not interoperable at all, resulting in a large number of client types and protocols in the instant messaging service, thereby affecting the user experience.
  • the embodiment of the present invention provides a converged message system and a message processing method, which implement multi-end multi-protocol adaptation, thereby improving user experience.
  • the embodiment of the present application provides a converged message system, including: an access platform and a service platform;
  • the access platform is connected to the service platform;
  • the access platform is configured to receive a first protocol message from a sending client that uses the first protocol access;
  • the service platform is configured to convert the first protocol message into a second protocol message supported by the receiving client that is accessed by using the second protocol;
  • the access platform is further configured to send the second protocol message to the receiving client.
  • the embodiment of the present application provides a message processing method, including:
  • the embodiment of the present application further provides a computer readable medium storing a message processing program, and the message processing program is implemented by a processor to implement the message processing method.
  • FIG. 1 is a schematic diagram of a converged message system according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of a converged message system provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of an OTT protocol according to an embodiment of the present application.
  • FIG. 5 is a flowchart of an example of sending and receiving small messages by different clients according to an embodiment of the present application
  • FIG. 6 is a flowchart of another example of sending and receiving small messages by different clients according to an embodiment of the present application.
  • FIG. 7 is a flowchart of an example of sending and receiving large messages by different clients according to an embodiment of the present application.
  • FIG. 8 is a flowchart of another example of sending and receiving large messages by different clients according to an embodiment of the present application.
  • FIG. 9 is a flowchart of a message processing method according to an embodiment of the present application.
  • the embodiment of the present application provides a fusion message system and a message processing method, such as a mobile phone, a set top box, a tablet computer (PAD), a television (Television, TV), and a computer (Personal Computer, PC).
  • a message processing method such as a mobile phone, a set top box, a tablet computer (PAD), a television (Television, TV), and a computer (Personal Computer, PC).
  • Multiple protocols can be used for simultaneous access, which realizes the conversion transmission between different protocol messages, thereby promoting the development of the Internet mobile instant communication service, which can greatly improve the user satisfaction and improve the user's service experience.
  • FIG. 1 is a schematic diagram of a converged message system according to an embodiment of the present application.
  • the fused message system provided by this embodiment may be deployed on a server cluster.
  • this application does not limit this.
  • the fused message system provided by the embodiment of the present application includes: an access platform 11 and a service platform 12; wherein the access platform 11 is connected to the service platform 12.
  • the access platform 11 is configured to receive the first protocol message from the sending client 10a that accesses the first protocol; the service platform 12 is configured to convert the first protocol message into a receiving client accessed by using the second protocol. The second protocol message supported by the terminal; the access platform 11 is further configured to send a second protocol message to the receiving client 10b.
  • a client may include a converged communication (RCS) terminal supporting standard instant messaging protocols and OTT protocols.
  • RCS converged communication
  • the service platform 12 may include: a protocol support module and a service module; the protocol support module is connected to the service module; wherein the service module is configured to determine the first protocol message according to the first protocol message and the stored end registration information. The protocol conversion indication information, and sends the protocol conversion indication information to the protocol support module; the protocol support module is configured to perform protocol conversion on the first protocol message according to the protocol conversion indication information, and send the converted second protocol message to Access platform 11.
  • the service module may be further configured to update the registration information according to the registration information received from the one or more clients and the stored conflict rule table; wherein the end registration information includes at least: one or more The user's online status and registration type of the client, the registration type can indicate the access protocol supported by the client; the conflict rule table records the registration types that can coexist on the same client.
  • the end registration information may include: a user identifier, a user online status, device information (eg, device identification, device capability information, etc.), version information, and registration type.
  • the registration type may include: Native, RCS APP, PC client, and Web client, wherein the Native mode and the RCS APP mode indicate that the RCS standard protocol is used for access, and the PC client and the Web client may indicate that the OTT protocol is adopted. Access.
  • the protocol support module is adapted to provide translation between any two of the following: Session Initiation Protocol (SIP), Message Session Relay Protocol (MSRP), Hypertext Transfer Protocol (HTTP), Extensible Markup Language The XML Configuration Access Protocol (XCAP) protocol, the Aspect-Oriented Programming (AOP), and the Over The Top (OTT) protocol.
  • SIP Session Initiation Protocol
  • MSRP Message Session Relay Protocol
  • HTTP Hypertext Transfer Protocol
  • XCAP Extensible Markup Language
  • AOP Aspect-Oriented Programming
  • OTT Over The Top
  • a Protocol Data Unit (PDU) of the OTT protocol may include: a message header field, one or more custom message fields; wherein any custom message field includes a message header portion and a message Body part.
  • the transmitted OTT Protocol Data Unit (PDU) includes a commonly used Multimedia (MM) message header field and a customized message field.
  • the commonly used message header field may include a primary called address (From, To), a message unique identifier (MsgId), a message type (Content-Type), and a terminal type, and each type of message may be used.
  • Custom message domains can embody information specific to multiple message types.
  • Each custom message field can include a message header portion and a message body portion.
  • the background image identifier may be carried in the message header part of the first custom message domain (part 1), and the message body part carries the picture content; and may be in the second custom message domain ( The message header part of part 2) carries the direction position coordinate identifier, and the message body part carries the line information pointed by the direction.
  • the OTT protocol is based on binary coding, which has high coding efficiency, good security, and small protocol stack, so the occupied bandwidth is small, and the resource consumption of the client system is low.
  • the service platform 12 may further include: a unified message queue module, a connection service module, and the unified message queue module configured to store the first protocol message received by the service module.
  • the second protocol message if the size of the first protocol message is less than a preset value (for example, 8K), the second protocol message carries the message content of the first protocol message; if the size of the first protocol message is greater than or equal to the preset The value, the second protocol message carries the storage address of the first protocol message.
  • a preset value for example, 8K
  • the service module may be further configured to determine a size of the first protocol message; if the size of the first protocol message is less than a preset value, determining that the protocol conversion indication information includes a message content of the first protocol message; If the size of the first protocol message is greater than or equal to the preset value, it is determined that the protocol conversion indication information includes a storage address of the first protocol message.
  • the protocol conversion indication information may further include: sending the device information of the client, the adopted access protocol, the device information of the receiving client, and the adopted access protocol.
  • the protocol support module may be further configured to perform protocol conversion on the first protocol message and send the converted second protocol message to the service module.
  • the service module may be further configured to: when determining that the size of the first protocol message is greater than or equal to a preset value, establishing a media transmission channel between the client and the receiving client 10b, and transmitting the second protocol message through the media transmission channel.
  • the first protocol message may be an OTT protocol message
  • the second protocol message may be a SIP protocol message.
  • the first protocol message may be an OTT protocol message
  • the second protocol message may be a converged communication standard protocol message, such as a SIP protocol message; or the first protocol message may be a converged communication standard protocol message
  • the second protocol message can be an OTT protocol message.
  • the fused message system provided in this example includes: a unified access platform (corresponding to the foregoing access platform) and a service platform; wherein the service platform includes: a protocol support module, a service module, and a unified message queue module.
  • the client may include a Rich Communication Suite (RCS) terminal supporting a standard instant messaging protocol and an OTT (Over The Top) protocol.
  • RCS Rich Communication Suite
  • OTT Over The Top
  • the RCS user can access the network and use the service through a variety of terminals.
  • the RCS service has the following two terminal forms: RCS standard protocol access (for example, Native terminal, (Application, APP) client) and OTT protocol access (for example, computer (Personal Computer, PC) client, web (web) client, etc.).
  • the Native mode refers to RCS as a factory-prepared preset function of any terminal, and has been specifically modified at the level of chip and operating system;
  • APP mode refers to the existing terminal by installing an application (such as , mobile phone, set-top box, tablet (Portable Android Device (PAD)) with RCS function.
  • an application such as , mobile phone, set-top box, tablet (Portable Android Device (PAD)
  • the unified access platform is responsible for receiving messages from different sending clients, forwarding messages to different receiving clients, and controlling the access protocol of different protocols.
  • the unified access platform accesses the client supporting the RCS standard protocol through the Session Border Controller (SBC) and the SIP proxy (Siproxy), through the Http proxy (Proxy) and the link distribution gateway ( Link Aggregation Group (LAG) accesses clients that support the OTT protocol.
  • SBC Session Border Controller
  • Siproxy SIP proxy
  • Http proxy Proxy
  • LAG Link Aggregation Group
  • the protocol support module can be responsible for the adaptation of multiple protocols, such as Session Initiation Protocol (SIP), Message Session Relay Protocol (MSRP), Hypertext Transfer Protocol (Hyper Text). Transfer Protocol, HTTP), XCAP protocol, OTT protocol, and Access Management Protocol (AOP), etc., and provide conversion between different protocols.
  • the protocol support module may include a plurality of protocol adaptation units and a management interface machine, each protocol adaptation unit being configured to adapt a protocol, and the management interface machine provides conversion between different protocols.
  • the service module is responsible for providing maintenance of the access type and registration status of the client and various service capabilities, such as business processing logic including instant messaging, calls, pictures, and files.
  • the service module may include a plurality of node service modules, and the client may connect to the corresponding node service module according to the home location where the client is located.
  • the business module stores end registration information and a conflict rules table.
  • the service module stores a registration status table (corresponding to the above-mentioned end registration information) of the registered terminal, which may include a user identifier (eg, a user's mobile phone number), a user online status, version information, a device identifier, and Access type, etc.
  • the conflict rule table can record which registration types (for example, types of access applications) on the same terminal can coexist, and which registration types need to be kicked each other.
  • the conflict rules table can be configured according to business needs.
  • N/A (Not applicable) means not applicable; the type marked with "x" in the table cannot coexist on the same terminal, that is, the PC on the same terminal (for example, a computer).
  • the client and the web client cannot be registered at the same time.
  • Multiple RCS APP clients cannot be registered at the same terminal.
  • Multiple PC clients cannot be registered at the same terminal, and multiple web clients cannot be registered at the same time.
  • the service platform processes the initial registration request of the terminal.
  • the service platform queries whether the registration type of the terminal conflicts with the registered type of the terminal. If there is no conflict, the terminal is allowed to register. Type; if there is a conflict, the type of the new request is registered, and the registration status of the conflicting type is released; after the terminal registration processing is completed, the service platform updates the registration status table of the terminal.
  • the unified access platform needs to perform the offline processing of the client with the same user identifier.
  • the OTT terminal registers for access, and the service module can record the OTT terminal identifier.
  • the Unified Message Queuing module is responsible for the distribution and dumping of messages.
  • the unified message queue module can include a message queue module corresponding to the user identification and the device identification. A message transmitted by a user using a device is placed in its corresponding message queue module.
  • the management interface of the protocol support module can convert the message sent by the unified message queue module into a protocol message that the client can support according to the registration information stored in the service module. Send to the intended user.
  • the embodiment provides a converged message system that supports multi-end multi-protocol access, simplifies a complex multi-type message system architecture, and combines the characteristics of multiple services to implement conversion and transmission between different protocols, which facilitates user operations and improves The user experience.
  • FIG. 4 is a flowchart of multi-client registration according to an embodiment of the present application.
  • RCS client A can support the SIP standard protocol
  • OTT client B can support the OTT protocol.
  • the process of this embodiment includes: step S101 to step S122.
  • step S101 the RCS client A initiates active registration to the unified access platform.
  • step S102 the unified access platform forwards the SIP registration message to the protocol support module of the service platform, and the protocol support module parses the SIP registration message.
  • step S103 the protocol support module of the service platform forwards the SIP registration message to the service module; after receiving the SIP registration message, the service module records the online state and registration type of the user of the RCS client A; wherein the registration type can be used to indicate the RCS The access protocol adopted by client A.
  • step S104 the service module invokes a registration subscription interface of the unified message queue module.
  • step S105 to step S108 the unified message queue module returns a registration processing result to the service module, and the service module returns a success response message (200OK) to the RCS client A through the protocol support module and the unified access platform; the RCS client A completes the registration. .
  • step S109 the OTT client B initiates active registration to the unified access platform.
  • step S110 the unified access platform forwards the OTT registration message to the protocol support module of the service platform.
  • step S111 the protocol support module converts the OTT registration message into an internal standard registration message and notifies the service module.
  • step S112 the service module invokes a registration subscription interface of the unified message queue module.
  • step S113 to step S116 the unified message queue module returns a registration processing result to the service module, and the service module returns a success response message (200OK) to the RCS client B through the protocol support module and the unified access platform; the RCS client B completes the registration. .
  • the message queue module corresponding to the client B knows that the user of the client B is online; since there is a communication record between the client A and the client B or is about to communicate, the client The message queue module corresponding to B needs to know the online status of the user of the client A, so as to notify the client A and the client B of the online status of the user of the peer end through the unified message queue module.
  • step S117 the message queue module corresponding to the client B queries the service module for the online state of the user of the client A.
  • step S118 the service module returns the client A online to the message queue module corresponding to the client B.
  • step S119 to step S122 the unified message queue module pushes the registration notification to the node service module to which the client A belongs, and the node service module to which the client A belongs pushes the registration notification to the unified access platform through the protocol support module, and then The unified access platform finally pushes the registration notification to the client A; that is, the client A receives the registration notification of the client B.
  • the message queue module corresponding to the client A queries the service module for the online status of the client B. After the service module returns the client B online, the unified message queue module pushes the registration notification to the node to which the client B belongs. The service module is then pushed by the node service module to which the client B belongs to the unified access platform through the protocol support module, and then the unified access platform pushes the registration notification to the client B, that is, the client B receives the client A. Registration notice.
  • the small message is defined as a message with a message size less than 8K
  • the large message is defined as a message with a message size greater than or equal to 8K.
  • this application is not limited thereto.
  • FIG. 5 is a flowchart of an example of sending and receiving small messages by different clients according to an embodiment of the present application.
  • the calling RCS user accesses using the standard SIP protocol
  • the called user uses OTT registration access.
  • the flow of this embodiment includes: step S201 to step S215.
  • step S201 the user A (the present example is the calling user) client sends a standard SIP MESSAGE message (corresponding to the first protocol message described above).
  • step S202 the unified access platform receives the standard SIP MESSAGE message and forwards it to the protocol support module of the service platform protocol adaptation.
  • step S203 the protocol support module invokes the internal message to send a standard SIP MESSAGE message to the node service module to which the user A belongs.
  • step S204 after the node service module to which the user A belongs performs business logic processing on the standard SIP MESSAGE message (for example, verifying user legality and the like), the message queue module corresponding to the user A client is written.
  • the standard SIP MESSAGE message for example, verifying user legality and the like
  • step S205 to step S207 the node service module to which the user A belongs returns a successful service response message (202Accepted) to the user A client.
  • step S208 after the node service module to which the user A belongs ends processing of the user A, the write operation of the message queue module of the user B (the present example is the called user) is started; that is, the standard SIP MESSAGE message is written to the user B client.
  • the corresponding message queue module is started after the node service module to which the user A belongs ends processing of the user A.
  • step S209 the message queue module corresponding to the user B client notifies the node service module to which the user B belongs that there is new message delivery.
  • the node service module to which the user B belongs sends a service request (SIP MESSAGE message) to the protocol support module of the service platform protocol adaptation according to the user registration status and the registration type.
  • the service request may carry the protocol conversion indication information.
  • the protocol conversion indication information includes device information (such as an identifier) of the user A client, a protocol type, device information of the user B client, and a protocol type.
  • the protocol support module converts the SIP MESSAGE message of the original calling party (the user A client) into an OTT protocol message (Notify message); the protocol support module group is delivered as a message protocol packet acceptable to the user B client.
  • the converted OTT protocol message (corresponding to the second protocol message described above) to the unified access platform.
  • step S212 the unified access platform successfully delivers the OTT protocol message to the user B client, and the OTT client used by the user B receives the service presentation.
  • step S213 to step S215 the user B client returns a success response message (200 OK) to the service module through the unified access platform and the protocol support module.
  • FIG. 6 is a flowchart of another example of sending and receiving small messages by different clients according to an embodiment of the present application.
  • the calling user uses OTT registration access
  • the called RCS user uses standard SIP access.
  • the flow of this embodiment includes: step S301 to step S315.
  • step S301 the user A (the present example is the calling user) client transmits an OTT protocol message (POST message) (corresponding to the first protocol message described above).
  • POST message OTT protocol message
  • step S302 the unified access platform receives the OTT protocol message and forwards it to the protocol support module of the service platform protocol adaptation.
  • step S303 the protocol support module converts the OTT protocol message into a standard SIP MESSAGE message, and sends the message to the node service module to which the user A belongs.
  • step S304 the node service module to which the user A belongs performs business logic processing on the received message, and then writes the received message to the message queue module corresponding to the user A client.
  • step S305 to step S307 the node service module to which the user A belongs returns a successful service response message (202Accepted) to the user A client.
  • step S308 after the node service module to which the user A belongs ends the processing on the user A, the write operation of the message queue module corresponding to the user B is started.
  • step S309 the message queue module of the user B notifies the node service module to which the user B belongs that there is a new message delivery.
  • the node service module to which the user B belongs sends a service request (SIP MESSAGE message) to the protocol adaptation protocol support module according to the user registration status and the registration type.
  • the service request may carry the protocol conversion indication information, for example,
  • the protocol conversion indication information includes device information of the user B client, a protocol type, device information of the user A client, and a protocol type.
  • step S311 the protocol support module converts the original caller's OTT protocol message into a standard SIP MESSAGE message; the protocol support module group delivers the converted SIP MESSAGE message to the user's B client acceptable message protocol packet (corresponding to The above second protocol message) to the unified access platform.
  • step S312 the unified access platform finally delivers the SIP MESSAGE message to the client of user B, and the RCS client used by user B receives the service presentation.
  • step S313 to step S315 the user B client returns a success response message (200 OK) to the service module through the unified access platform and the protocol support module.
  • FIG. 7 is a flowchart of an example of different clients transmitting and receiving large messages according to an embodiment of the present application.
  • the calling RCS user accesses using the standard SIP protocol, and the called user uses OTT registration access.
  • the flow of this embodiment includes steps S401 to S427.
  • step S401 to step S403 the user A (the present example is the calling user) client sends the standard SIP INVITE signaling; the unified access platform forwards the protocol support module to the service platform protocol adaptation; the protocol support module sets the SIP INVITE The signaling is sent to the node service module to which the user A belongs.
  • step S404 to step S406 the node service module to which the user A belongs receives the SIP INVITE signaling return success response message (200OK) to the protocol support module; the protocol support module returns the success response message to the user A client through the unified access platform. end.
  • step S407 to step S408 the user A client establishes a media transmission channel (MRSP channel) according to the SIP INVITE signaling negotiation, and sends a message (corresponding to the first protocol message described above) to the user A by using the established media transmission channel.
  • MRSP channel media transmission channel
  • Node business module the user A client establishes a media transmission channel (MRSP channel) according to the SIP INVITE signaling negotiation, and sends a message (corresponding to the first protocol message described above) to the user A by using the established media transmission channel.
  • step S409 the node service module to which the user A belongs stores the received message.
  • step S410 the node service module to which the user A belongs returns a success response message (MRSP 200 OK) to the user A client.
  • MRSP 200 OK success response message
  • step S411 after the node service module to which the user A belongs performs the service logic processing on the received message, the received message is written into the message queue module corresponding to the client A client; the node service module to which the user A belongs ends to the user A client. After the processing of the terminal, the write operation of the message queue module of user B is started.
  • step S412 the message queue module corresponding to the user B notifies the node service module to which the user B belongs that there is new message delivery.
  • the node service module to which the user B belongs determines the size of the message transmitted by the calling party. If the message size is less than 8K, the SIP MESSAGE message is sent according to the user registration status and the registration type.
  • the protocol support module of the protocol adaptation, the SIP MESSAGE message may carry the protocol conversion indication information, and the protocol conversion indication information may include, for example, the message content, the device information of the user B client, the protocol type, the device information of the user A client, and the protocol type.
  • the protocol support module converts the SIP MESSAGE message sent by the node service module to which the user B belongs to an OTT protocol message (Notify message) (corresponding to the second protocol message described above); the protocol support module is grouped into the user B.
  • the message protocol package acceptable to the client is delivered to the unified access platform.
  • step S416 the unified access platform finally delivers the OTT protocol message to the client of user B, and the content of the message received by the OTT client used by user B is directly presented.
  • step S417 to step S419 the user B client returns a success response message (200 OK) to the service module through the unified access platform and the protocol support module.
  • the node service module to which the user B belongs determines that the message transmitted by the caller is greater than 8K, and then sends a SIP MESSAGE message to the protocol support module according to the user registration status and the registration type, where
  • the SIP MESSAGE message may carry protocol conversion indication information.
  • the protocol conversion indication information may include, for example, a URL address of the service module storing the message content, device information of the user B client, a protocol type, device information of the user A client, and a protocol type.
  • the protocol support module converts the SIP MESSAGE message sent by the node service module to which the user B belongs to an OTT protocol message (corresponding to the second protocol message described above); the protocol support module group is accepted as the user B client.
  • the message protocol package is sent to the unified access platform.
  • step S423 the unified access platform finally delivers the OTT protocol message to the client of user B.
  • step S427 the user B client obtains the message content according to the received URL address, and presents it on the OTT client used by the user B.
  • step S413 to step S419 are selected to be performed according to the determination result of the message size, or step S420 to step S427 are selected and executed.
  • FIG. 8 is a flowchart of another example of sending and receiving large messages by different clients according to an embodiment of the present application.
  • the calling user uses the OTT registration access
  • the called RCS user accesses using the standard SIP protocol.
  • the flow of this embodiment includes steps S501 to S528.
  • step S501 to step S504 the user A (the present example is the calling user) client determines the size of the message transmitted by the calling party; if the message size is less than 8K, the user A client sends an OTT protocol message;
  • the service platform protocol adapts the protocol support module; the protocol support module converts the OTT protocol message into a SIP INVITE request and transmits the message to the service module; the service module stores the received message.
  • the user A client determines that the message size of the calling transmission is greater than 8K, and the user A client sends an HTTP XCAP protocol message; and the unified access platform forwards to the service platform protocol adaptation.
  • the protocol support module converts the internal support message into an internal message PUT message and sends it to the service module; the service module stores the received message and returns a storage address to the user A client; the user A client sends an OTT protocol message, which carries the message The storage address of the content; the protocol support module that is forwarded to the service platform protocol through the unified access platform; the protocol support module converts the OTT protocol message into a SIP INVITE request and transmits the message to the service module.
  • step S501 to step S504 are selected according to the determination result of the message size, or step S505 to step S511 are selected and executed.
  • step S512 the node service module to which the user A belongs performs the service logic processing on the received message, writes the received message to the message queue module corresponding to the user A, and returns a successful service response to the user A client; After the node service module finishes processing the user A, the write operation of the message queue module of the user B is started.
  • step S513 the message queue module of the user B notifies the node service module to which the user B belongs that there is a new message delivery.
  • the node service module to which the user B belongs determines the size of the message transmitted by the calling party. If the message size is less than 8K, the SIP INVITE signaling is sent to the protocol adaptation according to the user registration status and the registration type.
  • the protocol support module carries the protocol conversion indication information, and the protocol conversion indication information may include, for example, the message content, the device information of the user B client, the protocol type, the device information of the user A client, and the protocol type.
  • step S516 to step S517 the protocol support module delivers a SIP INVITE message through the unified access platform.
  • step S518 to step S520 after receiving the message, the user B client returns a success response message (200OK) to the unified access platform; the unified access platform returns the success response message to the node service to which the user B belongs through the protocol support module. Module.
  • step S521 to step S525 if the node service module to which the user B belongs determines that the message size of the caller transmission is greater than 8K, the SIP INVITE signaling request is sent to the protocol support module; the protocol support module is unified.
  • the access platform delivers the SIP INVITE signaling, and carries the media channel transmission identifier that needs to be established through negotiation; the node service module to which the user B belongs establishes a media transmission channel (MSRP channel) according to the SIP session signaling and the user B client negotiation, and sends The content of the message is sent to the client of user B.
  • MSRP channel media transmission channel
  • User B receives the content of the message sent through the MSRP channel, and the RCS client used by user B receives the service presentation.
  • step S514 to step S520 are selected to be performed according to the determination result of the message size, or steps S521 to S528 are selected to be performed.
  • the fused message system provided by the embodiment simplifies the complex multi-type message system architecture, combines the characteristics of multiple services, facilitates user operations, and improves the user experience.
  • the fused message system provided in this embodiment adopts a message bus architecture, and has a simple structure and convenient deployment.
  • the protocol layer is adapted to the unified access of different types of terminals, and the distributed message is sent to the user through the distribution scheduling of the unified message queue module.
  • the converged message system adopts a combination of a standard protocol architecture and an OTT protocol architecture.
  • the interface between the client and the network message platform can adopt a unified abstract OTT interface protocol, and the client and the converged message system can smoothly transition according to requirements.
  • FIG. 9 is a flowchart of a message processing method according to an embodiment of the present application.
  • the message processing method provided in this embodiment may be performed by the above-described converged message system. As shown in FIG. 9, the message processing method provided in this embodiment includes: Step S901 to Step S903.
  • step S901 a first protocol message is received from a sending client that uses the first protocol access.
  • step S902 the first protocol message is converted into a second protocol message supported by the receiving client accessed by the second protocol.
  • step S903 a second protocol message is sent to the receiving client.
  • step S902 may include: determining protocol conversion indication information of the first protocol message according to the first protocol message and the stored end registration information; and performing protocol on the first protocol message according to the protocol conversion indication information Convert to get the second protocol message.
  • the message processing method of this embodiment may further include: updating registration information according to the registration information received from the one or more clients and the stored conflict rule table; wherein the terminal registration information includes: The online status of the user of one or more clients and the type of registration.
  • the registration type can indicate the access protocol supported by the client; the conflict rule table records the types of registrations that can coexist on the same client.
  • step S902 may include: if the size of the first protocol message is less than a preset value, performing protocol conversion on the first protocol message to obtain a second protocol that carries the message content of the first protocol message. If the size of the first protocol message is greater than or equal to the preset value, perform protocol conversion on the first protocol message to obtain a second protocol message that carries the storage address of the first protocol message.
  • the message processing method of the embodiment may further include: performing protocol conversion on the first protocol message to obtain a second protocol message; if the size of the first protocol message is greater than or equal to a preset The value establishes a media transmission channel between the receiving client and the receiving client, and transmits the second protocol message through the media transmission channel.
  • the first protocol message may be an OTT protocol message
  • the second protocol message may be a converged communication standard protocol message, such as a SIP protocol message
  • the first protocol message may be a converged communication standard protocol message
  • the second The protocol message can be an OTT protocol message.
  • the embodiment of the present application further provides a computer readable medium storing a message processing program, which is implemented by a processor to implement the message processing method as described above.
  • computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
  • Computer storage media include, but are not limited to, Random Access Memory (RAM), Read-Only Memory (ROM), and Electrically Erasable Programmable Read Only Memory (EEPROM). , flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical disc storage, magnetic box, magnetic tape, disk storage or other magnetic storage A device, or any other medium that can be used to store desired information and that can be accessed by a computer.
  • communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .

Abstract

Disclosed are a convergent messaging system and a message processing method. The convergent messaging system comprises: an access platform and a service platform; the access platform is connected to the service platform; the access platform is configured to receive a first protocol message from a sending client accessed using a first protocol; the service platform is configured to convert the first protocol message into a second protocol message supported by a receiving client accessed by using a second protocol; the access platform is further configured to send the second protocol message to the receiving client.

Description

融合消息系统及消息处理方法Fusion message system and message processing method
本申请要求在2017年12月26日提交中国专利局、申请号为201711435379.9的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. PCT Application No.
技术领域Technical field
本申请涉及但不限于通信技术,例如涉及一种融合消息系统及消息处理方法。The present application relates to, but is not limited to, communication technologies, for example, to a converged message system and a message processing method.
背景技术Background technique
随着全球移动业务的快速发展,包括短信、多媒体消息、移动电子邮件以及移动即时通信等即时消息类业务作为移动话音之外的重要业务,已经获得广泛应用。但是伴随着即时消息类业务的发展,一些问题也随之显现。With the rapid development of the global mobile service, instant messaging services, such as SMS, multimedia messaging, mobile email, and mobile instant messaging, have become widely used as important services beyond mobile voice. But with the development of instant messaging services, some problems have also emerged.
互联网厂家自己研发设计客户端应用程序(Application,APP)和服务器,采用私有的通信协议模式,利用运营商通信的网络作为管道,这样所有的即时消息及网络电话等功能都在厂家自己的客户端实现。目前互联网厂家的即时消息类业务都被设计成了“竖井”式体系架构,不同厂家的即时消息类业务构建了不同的架构协议和平台。不同厂家的即时消息类业务的功能相互重合越来越严重。然而,由于不同厂家的客户端消息采用不开放的私有协议,因此根本无法互通,导致即时消息类业务的客户端类型众多,协议繁多,从而影响了用户的体验。Internet manufacturers develop and design client applications (Applications, APPs) and servers themselves, using a proprietary communication protocol model, using the network of carrier communication as a conduit, so that all instant messaging and VoIP functions are in the vendor's own client. achieve. At present, the instant messaging services of Internet manufacturers have been designed as "shake" architectures, and different manufacturers' instant messaging services have built different architecture protocols and platforms. The functions of instant messaging services of different manufacturers are becoming more and more serious. However, since the client messages of different manufacturers adopt private protocols that are not open, they are not interoperable at all, resulting in a large number of client types and protocols in the instant messaging service, thereby affecting the user experience.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本申请实施例提供一种融合消息系统及消息处理方法,实现多端多协议适配,从而提升用户体验。The embodiment of the present invention provides a converged message system and a message processing method, which implement multi-end multi-protocol adaptation, thereby improving user experience.
本申请实施例提供一种融合消息系统,包括:接入平台以及业务平台;The embodiment of the present application provides a converged message system, including: an access platform and a service platform;
其中,所述接入平台连接所述业务平台;The access platform is connected to the service platform;
所述接入平台配置为从采用第一协议接入的发送客户端接收第一协议消息;The access platform is configured to receive a first protocol message from a sending client that uses the first protocol access;
所述业务平台配置为将所述第一协议消息转换为采用第二协议接入的接收 客户端支持的第二协议消息;The service platform is configured to convert the first protocol message into a second protocol message supported by the receiving client that is accessed by using the second protocol;
所述接入平台还配置为向所述接收客户端发送所述第二协议消息。The access platform is further configured to send the second protocol message to the receiving client.
本申请实施例提供一种消息处理方法,包括:The embodiment of the present application provides a message processing method, including:
从采用第一协议接入的发送客户端接收第一协议消息;Receiving a first protocol message from a sending client that accesses by using the first protocol;
将所述第一协议消息转换为采用第二协议接入的接收客户端支持的第二协议消息;Converting the first protocol message into a second protocol message supported by the receiving client accessed by using the second protocol;
向所述接收客户端发送所述第二协议消息。Sending the second protocol message to the receiving client.
本申请实施例还提供一种计算机可读介质,存储有消息处理程序,所述消息处理程序被处理器执行时实现上述消息处理方法。The embodiment of the present application further provides a computer readable medium storing a message processing program, and the message processing program is implemented by a processor to implement the message processing method.
附图概述BRIEF abstract
图1为本申请实施例提供的融合消息系统的示意图;FIG. 1 is a schematic diagram of a converged message system according to an embodiment of the present application;
图2为本申请实施例提供的融合消息系统的示例图;2 is a schematic diagram of a converged message system provided by an embodiment of the present application;
图3为本申请实施例的OTT协议的结构示意图;3 is a schematic structural diagram of an OTT protocol according to an embodiment of the present application;
图4为本申请实施例的多客户端注册流程图;4 is a flow chart of multi-client registration according to an embodiment of the present application;
图5为本申请实施例的不同客户端收发小消息的示例流程图;FIG. 5 is a flowchart of an example of sending and receiving small messages by different clients according to an embodiment of the present application;
图6为本申请实施例的不同客户端收发小消息的另一示例流程图;FIG. 6 is a flowchart of another example of sending and receiving small messages by different clients according to an embodiment of the present application;
图7为本申请实施例的不同客户端收发大消息的示例流程图;FIG. 7 is a flowchart of an example of sending and receiving large messages by different clients according to an embodiment of the present application;
图8为本申请实施例的不同客户端收发大消息的另一示例流程图;FIG. 8 is a flowchart of another example of sending and receiving large messages by different clients according to an embodiment of the present application;
图9为本申请实施例提供的消息处理方法的流程图。FIG. 9 is a flowchart of a message processing method according to an embodiment of the present application.
具体实施方式Detailed ways
以下结合附图对本申请实施例进行详细说明,应当理解,以下所说明的实施例仅用于说明和解释本申请,并不用于限定本申请。The embodiments of the present application are described in detail below with reference to the accompanying drawings.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions. Also, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
本申请实施例提供一种融合消息系统及消息处理方法,手机、机顶盒、平板电脑(Portable Android Device,PAD)、电视机(Television、TV)、以及电脑(Personal Computer,PC)等多种客户端可以采用多种协议同时接入,实现了不同协议消息之间的转换传输,从而促进互联网移动即时通信业务的开展,可 以大幅提高用户的使用满意度,改善用户的业务体验。The embodiment of the present application provides a fusion message system and a message processing method, such as a mobile phone, a set top box, a tablet computer (PAD), a television (Television, TV), and a computer (Personal Computer, PC). Multiple protocols can be used for simultaneous access, which realizes the conversion transmission between different protocol messages, thereby promoting the development of the Internet mobile instant communication service, which can greatly improve the user satisfaction and improve the user's service experience.
图1为本申请实施例提供的融合消息系统的示意图。本实施例提供的融合消息系统可以部署在服务器集群上,然而,本申请对此并不限定。FIG. 1 is a schematic diagram of a converged message system according to an embodiment of the present application. The fused message system provided by this embodiment may be deployed on a server cluster. However, this application does not limit this.
如图1所示,本申请实施例提供的融合消息系统,包括:接入平台11以及业务平台12;其中,接入平台11连接业务平台12。As shown in FIG. 1 , the fused message system provided by the embodiment of the present application includes: an access platform 11 and a service platform 12; wherein the access platform 11 is connected to the service platform 12.
本实施例中,接入平台11配置为从采用第一协议接入的发送客户端10a接收第一协议消息;业务平台12配置为将第一协议消息转换为采用第二协议接入的接收客户端支持的第二协议消息;接入平台11还配置为向接收客户端10b发送第二协议消息。In this embodiment, the access platform 11 is configured to receive the first protocol message from the sending client 10a that accesses the first protocol; the service platform 12 is configured to convert the first protocol message into a receiving client accessed by using the second protocol. The second protocol message supported by the terminal; the access platform 11 is further configured to send a second protocol message to the receiving client 10b.
在示例性实施方式中,客户端(比如,发送客户端10a、接收客户端10b)可以包括支持标准即时通信协议和OTT协议的融合通信(RCS)终端。然而,本申请对此并不限定。In an exemplary embodiment, a client (eg, sending client 10a, receiving client 10b) may include a converged communication (RCS) terminal supporting standard instant messaging protocols and OTT protocols. However, this application is not limited thereto.
在示例性实施方式中,业务平台12可以包括:协议支撑模块以及业务模块;协议支撑模块连接业务模块;其中,业务模块配置为根据第一协议消息以及存储的端注册信息,确定第一协议消息的协议转换指示信息,并发送协议转换指示信息给协议支撑模块;协议支撑模块配置为根据协议转换指示信息,对所述第一协议消息进行协议转换,并将转换得到的第二协议消息发送给接入平台11。In an exemplary embodiment, the service platform 12 may include: a protocol support module and a service module; the protocol support module is connected to the service module; wherein the service module is configured to determine the first protocol message according to the first protocol message and the stored end registration information. The protocol conversion indication information, and sends the protocol conversion indication information to the protocol support module; the protocol support module is configured to perform protocol conversion on the first protocol message according to the protocol conversion indication information, and send the converted second protocol message to Access platform 11.
在示例性实施方式中,业务模块还可以配置为根据从一个或多个客户端接收到的注册信息以及存储的冲突规则表,更新端注册信息;其中,端注册信息至少包括:一个或多个客户端的用户在线状态以及注册类型,注册类型能够指示客户端所支持的接入协议;冲突规则表记录同一客户端上能够共存的注册类型。In an exemplary embodiment, the service module may be further configured to update the registration information according to the registration information received from the one or more clients and the stored conflict rule table; wherein the end registration information includes at least: one or more The user's online status and registration type of the client, the registration type can indicate the access protocol supported by the client; the conflict rule table records the registration types that can coexist on the same client.
示例性地,端注册信息可以包括:用户标识、用户在线状态、设备信息(比如,设备标识、设备能力信息等)、版本信息、注册类型。其中,注册类型可以包括:Native、RCS APP、PC客户端、以及Web客户端等,其中,Native方式和RCS APP方式指示采用RCS标准协议接入,PC客户端和Web客户端可以指示采用OTT协议接入。Exemplarily, the end registration information may include: a user identifier, a user online status, device information (eg, device identification, device capability information, etc.), version information, and registration type. The registration type may include: Native, RCS APP, PC client, and Web client, wherein the Native mode and the RCS APP mode indicate that the RCS standard protocol is used for access, and the PC client and the Web client may indicate that the OTT protocol is adopted. Access.
在示例性实施方式中,协议支撑模块适于提供以下任两种协议间的转换:会话初始协议(SIP)、消息会话中继协议(MSRP)、超文本传输协议(HTTP)、可扩展标记语言配置访问(XML Configuration Access Protocol,XCAP)协议、接入管理协议(Aspect-Oriented Programming,AOP)、基于互联网提供服务(Over  The Top,OTT)协议。In an exemplary embodiment, the protocol support module is adapted to provide translation between any two of the following: Session Initiation Protocol (SIP), Message Session Relay Protocol (MSRP), Hypertext Transfer Protocol (HTTP), Extensible Markup Language The XML Configuration Access Protocol (XCAP) protocol, the Aspect-Oriented Programming (AOP), and the Over The Top (OTT) protocol.
在示例性实施方式中,OTT协议的协议数据单元(Protocol Data Unit,PDU)可以包括:消息头域、一个或多个自定义消息域;其中,任一自定义消息域包括消息头部分以及消息体部分。如图3所示,被传输的OTT协议数据单元(PDU)内包括常用的多媒体(Multimedia,MM)消息头域以及自定义的消息域。其中,常用的消息头域可以包括主被叫地址(From、To)、消息唯一标识(MsgId)、消息类型(Content-Type)、以及终端类型等,每种消息都可以使用。自定义消息域可以体现多种消息类型专用的信息。每个自定义消息域可以包括消息头部分和消息体部分。比如,客户端需要传输一个白板消息勾画方向,则可以在第一自定义消息域(part 1)的消息头部分携带背景图片标识,消息体部分携带图片内容;可以在第二自定义消息域(part 2)的消息头部分携带方向位置坐标标识,消息体部分携带方向指向的线条信息。本示例中,OTT协议基于二进制编码,编码效率较高,安全性较好,协议栈较小,因此占用带宽小,客户端系统资源占用低。In an exemplary embodiment, a Protocol Data Unit (PDU) of the OTT protocol may include: a message header field, one or more custom message fields; wherein any custom message field includes a message header portion and a message Body part. As shown in FIG. 3, the transmitted OTT Protocol Data Unit (PDU) includes a commonly used Multimedia (MM) message header field and a customized message field. The commonly used message header field may include a primary called address (From, To), a message unique identifier (MsgId), a message type (Content-Type), and a terminal type, and each type of message may be used. Custom message domains can embody information specific to multiple message types. Each custom message field can include a message header portion and a message body portion. For example, if the client needs to transmit a whiteboard message delineation direction, the background image identifier may be carried in the message header part of the first custom message domain (part 1), and the message body part carries the picture content; and may be in the second custom message domain ( The message header part of part 2) carries the direction position coordinate identifier, and the message body part carries the line information pointed by the direction. In this example, the OTT protocol is based on binary coding, which has high coding efficiency, good security, and small protocol stack, so the occupied bandwidth is small, and the resource consumption of the client system is low.
在示例性实施方式中,业务平台12还可以包括:统一消息队列模块,连接业务模块,统一消息队列模块配置为存储业务模块接收到的第一协议消息。In an exemplary embodiment, the service platform 12 may further include: a unified message queue module, a connection service module, and the unified message queue module configured to store the first protocol message received by the service module.
在示例性实施方式中,若第一协议消息的大小小于预设值(比如,8K),则第二协议消息携带第一协议消息的消息内容;若第一协议消息的大小大于或等于预设值,则第二协议消息携带第一协议消息的存储地址。In an exemplary embodiment, if the size of the first protocol message is less than a preset value (for example, 8K), the second protocol message carries the message content of the first protocol message; if the size of the first protocol message is greater than or equal to the preset The value, the second protocol message carries the storage address of the first protocol message.
在本示例性实施方式中,业务模块还可以配置为判断第一协议消息的大小;若第一协议消息的大小小于预设值,则确定协议转换指示信息包括第一协议消息的消息内容;若第一协议消息的大小大于或等于预设值,则确定协议转换指示信息包括第一协议消息的存储地址。在一实施例中,协议转换指示信息还可以包括:发送客户端的设备信息以及采用的接入协议、接收客户端的设备信息以及采用的接入协议。协议支撑模块根据协议转换指示信息进行处理时,可以得到携带第一协议消息的消息内容的第二协议消息,或者,携带第一协议消息的存储地址的第二协议消息。In this exemplary embodiment, the service module may be further configured to determine a size of the first protocol message; if the size of the first protocol message is less than a preset value, determining that the protocol conversion indication information includes a message content of the first protocol message; If the size of the first protocol message is greater than or equal to the preset value, it is determined that the protocol conversion indication information includes a storage address of the first protocol message. In an embodiment, the protocol conversion indication information may further include: sending the device information of the client, the adopted access protocol, the device information of the receiving client, and the adopted access protocol. When the protocol support module performs the processing according to the protocol conversion indication information, the second protocol message carrying the message content of the first protocol message or the second protocol message carrying the storage address of the first protocol message may be obtained.
在示例性实施方式中,协议支撑模块还可以配置为对第一协议消息进行协议转换,并将转换得到的第二协议消息发送给业务模块。In an exemplary embodiment, the protocol support module may be further configured to perform protocol conversion on the first protocol message and send the converted second protocol message to the service module.
业务模块,还可以配置为在判断出第一协议消息的大小大于或等于预设值时,建立与接收客户端10b之间的媒体传输通道,通过媒体传输通道传输第二 协议消息。其中,第一协议消息可以为OTT协议消息,第二协议消息可以为SIP协议消息。The service module may be further configured to: when determining that the size of the first protocol message is greater than or equal to a preset value, establishing a media transmission channel between the client and the receiving client 10b, and transmitting the second protocol message through the media transmission channel. The first protocol message may be an OTT protocol message, and the second protocol message may be a SIP protocol message.
在示例性实施方式中,第一协议消息可以为OTT协议消息,第二协议消息可以为融合通信标准协议消息,比如,SIP协议消息;或者,第一协议消息可以为融合通信标准协议消息,第二协议消息可以为OTT协议消息。In an exemplary embodiment, the first protocol message may be an OTT protocol message, and the second protocol message may be a converged communication standard protocol message, such as a SIP protocol message; or the first protocol message may be a converged communication standard protocol message, The second protocol message can be an OTT protocol message.
下面参照图2说明本实施例提供的融合消息系统的一个示例。如图2所示,本示例提供的融合消息系统包括:统一接入平台(对应于上述的接入平台)以及业务平台;其中,业务平台包括:协议支撑模块、业务模块以及统一消息队列模块。An example of the fused message system provided by this embodiment will be described below with reference to FIG. As shown in FIG. 2, the fused message system provided in this example includes: a unified access platform (corresponding to the foregoing access platform) and a service platform; wherein the service platform includes: a protocol support module, a service module, and a unified message queue module.
本示例中,多客户端可以采用不同协议同时接入融合消息系统。其中,客户端可以包括支持标准即时通信协议和OTT(Over The Top)协议的融合通信(Rich Communication Suite,RCS)终端。在一实施例中,RCS用户可以通过多种终端接入网络并使用业务。根据终端上RCS服务的提供方式不同,RCS业务存在以下两种终端形态:RCS标准协议接入(比如,原生(Native)终端、(Application,APP)客户端)和OTT协议接入(比如,电脑(Personal Computer,PC)客户端、网页(Web)客户端等)。其中,Native方式是指RCS作为任何一款终端的出厂必备预置功能,并在芯片、操作系统等层面进行了针对性修改;APP方式是指通过安装应用程序的方式让已有终端(比如,手机、机顶盒、平板电脑(Portable Android Device,PAD))具备RCS功能。In this example, multiple clients can access the converged messaging system simultaneously using different protocols. The client may include a Rich Communication Suite (RCS) terminal supporting a standard instant messaging protocol and an OTT (Over The Top) protocol. In an embodiment, the RCS user can access the network and use the service through a variety of terminals. According to different ways of providing RCS services on the terminal, the RCS service has the following two terminal forms: RCS standard protocol access (for example, Native terminal, (Application, APP) client) and OTT protocol access (for example, computer (Personal Computer, PC) client, web (web) client, etc.). Among them, the Native mode refers to RCS as a factory-prepared preset function of any terminal, and has been specifically modified at the level of chip and operating system; APP mode refers to the existing terminal by installing an application (such as , mobile phone, set-top box, tablet (Portable Android Device (PAD)) with RCS function.
本示例中,统一接入平台负责从不同的发送客户端接收消息,向不同的接收客户端转发消息,以及不同协议接入分发策略的控制。如图2所示,统一接入平台通过会话边界控制器(Session Border Controller,SBC)以及SIP代理(Siproxy)接入支持RCS标准协议的客户端,通过Http代理(Proxy)以及链路分发网关(Link Aggregation Group,LAG)接入支持OTT协议的客户端。In this example, the unified access platform is responsible for receiving messages from different sending clients, forwarding messages to different receiving clients, and controlling the access protocol of different protocols. As shown in Figure 2, the unified access platform accesses the client supporting the RCS standard protocol through the Session Border Controller (SBC) and the SIP proxy (Siproxy), through the Http proxy (Proxy) and the link distribution gateway ( Link Aggregation Group (LAG) accesses clients that support the OTT protocol.
本示例中,协议支撑模块可以负责多种协议的适配,比如,会话初始协议(Session Initiation Protocol,SIP)、消息会话中继协议(Message Session Relay Protocol,MSRP)、超文本传输协议(Hyper Text Transfer Protocol,HTTP)、XCAP协议、OTT协议、以及接入管理协议(AOP)等,并提供不同协议之间的转换。在一实施例中,协议支撑模块可以包括多个协议适配单元以及管理接口机,每个协议适配单元设置为适配一种协议,管理接口机提供不同协议之间的转换。In this example, the protocol support module can be responsible for the adaptation of multiple protocols, such as Session Initiation Protocol (SIP), Message Session Relay Protocol (MSRP), Hypertext Transfer Protocol (Hyper Text). Transfer Protocol, HTTP), XCAP protocol, OTT protocol, and Access Management Protocol (AOP), etc., and provide conversion between different protocols. In an embodiment, the protocol support module may include a plurality of protocol adaptation units and a management interface machine, each protocol adaptation unit being configured to adapt a protocol, and the management interface machine provides conversion between different protocols.
本示例中,业务模块负责提供客户端的接入类型和注册状态的维护以及多种业务能力,比如,包括即时消息、通话、图片、以及文件等业务处理逻辑。示例性地,业务模块可以包括多个节点业务模块,客户端可以根据所在的归属地连接到对应的节点业务模块。In this example, the service module is responsible for providing maintenance of the access type and registration status of the client and various service capabilities, such as business processing logic including instant messaging, calls, pictures, and files. Exemplarily, the service module may include a plurality of node service modules, and the client may connect to the corresponding node service module according to the home location where the client is located.
本示例中,业务模块存储有端注册信息以及冲突规则表。在一实施例中,业务模块存储注册的终端的注册状态表(对应上述的端注册信息),其中可以包括用户标识(比如,用户的手机号码)、用户在线状态、版本信息、设备标识、以及接入类型等。冲突规则表可以记录同一终端上哪些注册类型(比如,接入应用的类型)可以共存,哪些注册类型需要互踢。冲突规则表可以根据业务需求进行配置。例如,在表1所示的冲突规则表中,N/A(Not applicable)表示不适用;表格内标有“×”的类型在同一终端上不能共存,即同一终端(比如,电脑)上PC客户端与Web客户端不能同时注册,同一终端上不能同时注册多个RCS APP客户端,同一终端上不能同时注册多个PC客户端,也不能同时注册多个Web客户端。In this example, the business module stores end registration information and a conflict rules table. In an embodiment, the service module stores a registration status table (corresponding to the above-mentioned end registration information) of the registered terminal, which may include a user identifier (eg, a user's mobile phone number), a user online status, version information, a device identifier, and Access type, etc. The conflict rule table can record which registration types (for example, types of access applications) on the same terminal can coexist, and which registration types need to be kicked each other. The conflict rules table can be configured according to business needs. For example, in the conflict rule table shown in Table 1, N/A (Not applicable) means not applicable; the type marked with "x" in the table cannot coexist on the same terminal, that is, the PC on the same terminal (for example, a computer). The client and the web client cannot be registered at the same time. Multiple RCS APP clients cannot be registered at the same terminal. Multiple PC clients cannot be registered at the same terminal, and multiple web clients cannot be registered at the same time.
表1Table 1
Figure PCTCN2018119994-appb-000001
Figure PCTCN2018119994-appb-000001
Figure PCTCN2018119994-appb-000002
Figure PCTCN2018119994-appb-000002
在本示例中,业务平台处理终端的初始注册请求,当有终端注册时,业务平台查询该终端的注册类型与该终端的已注册类型是否存在冲突,若不存在冲突,则允许此终端注册此类型;若存在冲突,则注册新请求的类型,并将存在冲突的类型的注册状态解除;终端注册处理完成后,业务平台更新终端的注册状态表。In this example, the service platform processes the initial registration request of the terminal. When the terminal registers, the service platform queries whether the registration type of the terminal conflicts with the registered type of the terminal. If there is no conflict, the terminal is allowed to register. Type; if there is a conflict, the type of the new request is registered, and the registration status of the conflicting type is released; after the terminal registration processing is completed, the service platform updates the registration status table of the terminal.
本示例中,由于同种类型的APP的用户标识唯一,当用户换了手机或PAD重装时,再次发起注册请求时,统一接入平台需要将相同用户标识的客户端进行下线处理。OTT终端注册接入,业务模块可以记录OTT终端标识。In this example, because the user ID of the same type of APP is unique, when the user changes the mobile phone or the PAD is reloaded, when the registration request is initiated again, the unified access platform needs to perform the offline processing of the client with the same user identifier. The OTT terminal registers for access, and the service module can record the OTT terminal identifier.
本示例中,统一消息队列模块负责消息的分发与转储。统一消息队列模块可以包括与用户标识和设备标识对应的消息队列模块。即将某个用户采用某个设备传输的消息放入与其对应的消息队列模块内。In this example, the Unified Message Queuing module is responsible for the distribution and dumping of messages. The unified message queue module can include a message queue module corresponding to the user identification and the device identification. A message transmitted by a user using a device is placed in its corresponding message queue module.
本示例中,当客户端采用不同协议接入后,协议支撑模块的管理接口机可以根据业务模块存储的端注册信息,将统一消息队列模块下发的消息转换成客户端可以支持的协议消息下发给目的用户。In this example, after the client accesses the protocol, the management interface of the protocol support module can convert the message sent by the unified message queue module into a protocol message that the client can support according to the registration information stored in the service module. Send to the intended user.
本实施例提供一种支持多端多协议接入的融合消息系统,简化了复杂的多类消息系统架构,融合多种业务的特点,实现不同协议之间的转换传输,方便了用户操作,而且提升了用户体验。The embodiment provides a converged message system that supports multi-end multi-protocol access, simplifies a complex multi-type message system architecture, and combines the characteristics of multiple services to implement conversion and transmission between different protocols, which facilitates user operations and improves The user experience.
下面通过多个示例对本申请实施例提供的方案进行详细说明。需要说明的是,下面的多个示例基于图2所示的融合消息系统进行说明。The solutions provided by the embodiments of the present application are described in detail below through various examples. It should be noted that the following multiple examples are described based on the fused message system shown in FIG. 2.
图4为本申请实施例的多客户端注册流程图。在本示例中,RCS客户端A可以支持SIP标准协议,OTT客户端B可以支持OTT协议。FIG. 4 is a flowchart of multi-client registration according to an embodiment of the present application. In this example, RCS client A can support the SIP standard protocol, and OTT client B can support the OTT protocol.
如图4所示,本实施例的流程包括:步骤S101至步骤S122。As shown in FIG. 4, the process of this embodiment includes: step S101 to step S122.
在步骤S101中,RCS客户端A向统一接入平台发起主动注册。In step S101, the RCS client A initiates active registration to the unified access platform.
在步骤S102中,统一接入平台将SIP注册消息转发到业务平台的协议支撑模块,协议支撑模块解析SIP注册消息。In step S102, the unified access platform forwards the SIP registration message to the protocol support module of the service platform, and the protocol support module parses the SIP registration message.
在步骤S103中,业务平台的协议支撑模块向业务模块转发SIP注册消息;业务模块接收到SIP注册消息后,记录RCS客户端A的用户在线状态及注册类型;其中,注册类型可以用于指示RCS客户端A所采用的接入协议。In step S103, the protocol support module of the service platform forwards the SIP registration message to the service module; after receiving the SIP registration message, the service module records the online state and registration type of the user of the RCS client A; wherein the registration type can be used to indicate the RCS The access protocol adopted by client A.
在步骤S104中,业务模块调用统一消息队列模块的注册订阅接口。In step S104, the service module invokes a registration subscription interface of the unified message queue module.
在步骤S105至步骤S108中,统一消息队列模块向业务模块返回注册处理结果,业务模块通过协议支撑模块以及统一接入平台向RCS客户端A返回成功响应消息(200OK);RCS客户端A完成注册。In step S105 to step S108, the unified message queue module returns a registration processing result to the service module, and the service module returns a success response message (200OK) to the RCS client A through the protocol support module and the unified access platform; the RCS client A completes the registration. .
在步骤S109中,OTT客户端B向统一接入平台发起主动注册。In step S109, the OTT client B initiates active registration to the unified access platform.
在步骤S110中,统一接入平台将OTT注册消息转发到业务平台的协议支撑模块。In step S110, the unified access platform forwards the OTT registration message to the protocol support module of the service platform.
在步骤S111中,协议支撑模块将OTT注册消息转换为内部标准注册消息,并通知到业务模块。In step S111, the protocol support module converts the OTT registration message into an internal standard registration message and notifies the service module.
在步骤S112中,业务模块调用统一消息队列模块的注册订阅接口。In step S112, the service module invokes a registration subscription interface of the unified message queue module.
在步骤S113至步骤S116中,统一消息队列模块向业务模块返回注册处理结果,业务模块通过协议支撑模块以及统一接入平台向RCS客户端B返回成功响应消息(200OK);RCS客户端B完成注册。In step S113 to step S116, the unified message queue module returns a registration processing result to the service module, and the service module returns a success response message (200OK) to the RCS client B through the protocol support module and the unified access platform; the RCS client B completes the registration. .
本示例中,客户端B完成注册之后,客户端B对应的消息队列模块获知客户端B的用户在线;由于客户端A与客户端B之间存在过通信记录或者即将进行通信,因此,客户端B对应的消息队列模块需要获知客户端A的用户在线状态,以便于通过统一消息队列模块向客户端A和客户端B通知各自对端的用户在线状态。In this example, after the client B completes the registration, the message queue module corresponding to the client B knows that the user of the client B is online; since there is a communication record between the client A and the client B or is about to communicate, the client The message queue module corresponding to B needs to know the online status of the user of the client A, so as to notify the client A and the client B of the online status of the user of the peer end through the unified message queue module.
在步骤S117中,客户端B对应的消息队列模块向业务模块查询客户端A的用户在线状态。In step S117, the message queue module corresponding to the client B queries the service module for the online state of the user of the client A.
在步骤S118中,业务模块向客户端B对应的消息队列模块返回客户端A在线。In step S118, the service module returns the client A online to the message queue module corresponding to the client B.
在步骤S119至步骤S122中,统一消息队列模块将注册通知推送至客户端A所属的节点业务模块,由客户端A所属的节点业务模块通过协议支撑模块推送注册通知到统一接入平台,再由统一接入平台最终推送注册通知到客户端A;即客户端A收到客户端B的注册通知。In step S119 to step S122, the unified message queue module pushes the registration notification to the node service module to which the client A belongs, and the node service module to which the client A belongs pushes the registration notification to the unified access platform through the protocol support module, and then The unified access platform finally pushes the registration notification to the client A; that is, the client A receives the registration notification of the client B.
同样地,客户端A对应的消息队列模块会向业务模块查询客户端B的用户在线状态,在业务模块返回客户端B在线后,统一消息队列模块会将注册通知推送给客户端B所属的节点业务模块,然后由客户端B所属的节点业务模块通过协议支撑模块推送注册通知到统一接入平台,再由统一接入平台推送注册通知到客户端B,即客户端B收到客户端A的注册通知。Similarly, the message queue module corresponding to the client A queries the service module for the online status of the client B. After the service module returns the client B online, the unified message queue module pushes the registration notification to the node to which the client B belongs. The service module is then pushed by the node service module to which the client B belongs to the unified access platform through the protocol support module, and then the unified access platform pushes the registration notification to the client B, that is, the client B receives the client A. Registration notice.
下面参照图5至图8,说明客户端注册完成后,融合消息系统在不同场景下的收发消息流程。需要说明的是,在下面的示例中,小消息定义为消息大小小于8K的消息,大消息定义为消息大小大于或等于8K的消息。然而,本申请对此并不限定。Referring to FIG. 5 to FIG. 8 , the flow of sending and receiving messages of the converged message system in different scenarios after the client registration is completed will be described. It should be noted that in the following example, the small message is defined as a message with a message size less than 8K, and the large message is defined as a message with a message size greater than or equal to 8K. However, this application is not limited thereto.
图5为本申请实施例的不同客户端收发小消息的示例流程图。本示例中,主叫RCS用户采用标准SIP协议接入,被叫用户采用OTT注册接入。FIG. 5 is a flowchart of an example of sending and receiving small messages by different clients according to an embodiment of the present application. In this example, the calling RCS user accesses using the standard SIP protocol, and the called user uses OTT registration access.
如图5所示,本实施例的流程包括:步骤S201至步骤S215。As shown in FIG. 5, the flow of this embodiment includes: step S201 to step S215.
在步骤S201中,用户A(本示例为主叫用户)客户端发送标准SIP MESSAGE消息(对应于上述的第一协议消息)。In step S201, the user A (the present example is the calling user) client sends a standard SIP MESSAGE message (corresponding to the first protocol message described above).
在步骤S202中,统一接入平台收到标准SIP MESSAGE消息,转发到业务平台协议适配的协议支撑模块。In step S202, the unified access platform receives the standard SIP MESSAGE message and forwards it to the protocol support module of the service platform protocol adaptation.
在步骤S203中,协议支撑模块调用内部消息发送标准SIP MESSAGE消息到用户A归属的节点业务模块。In step S203, the protocol support module invokes the internal message to send a standard SIP MESSAGE message to the node service module to which the user A belongs.
在步骤S204中,用户A归属的节点业务模块对标准SIP MESSAGE消息进行业务逻辑处理(比如,验证用户合法性等操作)后,写入用户A客户端对应的消息队列模块。In step S204, after the node service module to which the user A belongs performs business logic processing on the standard SIP MESSAGE message (for example, verifying user legality and the like), the message queue module corresponding to the user A client is written.
在步骤S205至步骤S207中,用户A归属的节点业务模块向用户A客户端返回成功业务响应消息(202Accepted)。In step S205 to step S207, the node service module to which the user A belongs returns a successful service response message (202Accepted) to the user A client.
在步骤S208中,用户A归属的节点业务模块结束对用户A的处理后,启动用户B(本示例为被叫用户)的消息队列模块的写入操作;即将标准SIP MESSAGE消息写入用户B客户端对应的消息队列模块。In step S208, after the node service module to which the user A belongs ends processing of the user A, the write operation of the message queue module of the user B (the present example is the called user) is started; that is, the standard SIP MESSAGE message is written to the user B client. The corresponding message queue module.
在步骤S209中,用户B客户端对应的消息队列模块向用户B归属的节点业务模块通知有新消息送达。In step S209, the message queue module corresponding to the user B client notifies the node service module to which the user B belongs that there is new message delivery.
在步骤S210中,用户B归属的节点业务模块根据用户注册状态及注册类型,下发业务请求(SIP MESSAGE消息)到业务平台协议适配的协议支撑模块。其中,业务请求可以携带协议转换指示信息,比如,协议转换指示信息包括用户A客户端的设备信息(比如,标识)以及协议类型、用户B客户端的设备信息以及协议类型。In step S210, the node service module to which the user B belongs sends a service request (SIP MESSAGE message) to the protocol support module of the service platform protocol adaptation according to the user registration status and the registration type. The service request may carry the protocol conversion indication information. For example, the protocol conversion indication information includes device information (such as an identifier) of the user A client, a protocol type, device information of the user B client, and a protocol type.
在步骤S211中,协议支撑模块将原主叫(用户A客户端)的SIP MESSAGE消息转换成OTT协议消息(Notify消息);协议支撑模块组包成用户B客户端可接受的消息协议包下发转化后的OTT协议消息(对应于上述的第二协议消息) 到统一接入平台。In step S211, the protocol support module converts the SIP MESSAGE message of the original calling party (the user A client) into an OTT protocol message (Notify message); the protocol support module group is delivered as a message protocol packet acceptable to the user B client. The converted OTT protocol message (corresponding to the second protocol message described above) to the unified access platform.
在步骤S212中,统一接入平台将OTT协议消息成功下发至用户B客户端上,用户B使用的OTT客户端上收到业务呈现。In step S212, the unified access platform successfully delivers the OTT protocol message to the user B client, and the OTT client used by the user B receives the service presentation.
在步骤S213至步骤S215中,用户B客户端通过统一接入平台和协议支撑模块向业务模块返回成功响应消息(200OK)。In step S213 to step S215, the user B client returns a success response message (200 OK) to the service module through the unified access platform and the protocol support module.
图6为本申请实施例的不同客户端收发小消息的另一示例流程图。本示例中,主叫用户采用OTT注册接入,被叫RCS用户采用标准SIP接入。FIG. 6 is a flowchart of another example of sending and receiving small messages by different clients according to an embodiment of the present application. In this example, the calling user uses OTT registration access, and the called RCS user uses standard SIP access.
如图6所示,本实施例的流程包括:步骤S301至步骤S315。As shown in FIG. 6, the flow of this embodiment includes: step S301 to step S315.
在步骤S301中,用户A(本示例为主叫用户)客户端发送OTT协议消息(POST消息)(对应于上述的第一协议消息)。In step S301, the user A (the present example is the calling user) client transmits an OTT protocol message (POST message) (corresponding to the first protocol message described above).
在步骤S302中,统一接入平台收到OTT协议消息,转发到业务平台协议适配的协议支撑模块。In step S302, the unified access platform receives the OTT protocol message and forwards it to the protocol support module of the service platform protocol adaptation.
在步骤S303中,协议支撑模块将OTT协议消息转换为标准SIP MESSAGE消息,发送到用户A归属的节点业务模块。In step S303, the protocol support module converts the OTT protocol message into a standard SIP MESSAGE message, and sends the message to the node service module to which the user A belongs.
在步骤S304中,用户A归属的节点业务模块对接收的消息进行业务逻辑处理后,将接收的消息写入用户A客户端对应的消息队列模块。In step S304, the node service module to which the user A belongs performs business logic processing on the received message, and then writes the received message to the message queue module corresponding to the user A client.
在步骤S305至步骤S307中,用户A归属的节点业务模块向用户A客户端返回成功业务响应消息(202Accepted)。In step S305 to step S307, the node service module to which the user A belongs returns a successful service response message (202Accepted) to the user A client.
在步骤S308中,用户A归属的节点业务模块结束对用户A的处理后,启动用户B对应的消息队列模块的写入操作。In step S308, after the node service module to which the user A belongs ends the processing on the user A, the write operation of the message queue module corresponding to the user B is started.
在步骤S309中,用户B的消息队列模块向用户B归属的节点业务模块通知有新消息送达。In step S309, the message queue module of the user B notifies the node service module to which the user B belongs that there is a new message delivery.
在步骤S310中,用户B归属的节点业务模块根据用户注册状态及注册类型,下发业务请求(SIP MESSAGE消息)到协议适配的协议支撑模块;其中,业务请求可以携带协议转换指示信息,比如,协议转换指示信息包括用户B客户端的设备信息以及协议类型、用户A客户端的设备信息以及协议类型。In step S310, the node service module to which the user B belongs sends a service request (SIP MESSAGE message) to the protocol adaptation protocol support module according to the user registration status and the registration type. The service request may carry the protocol conversion indication information, for example, The protocol conversion indication information includes device information of the user B client, a protocol type, device information of the user A client, and a protocol type.
在步骤S311中,协议支撑模块将原主叫的OTT协议消息转换成标准SIP MESSAGE消息;协议支撑模块组包成用户B客户端可接受的消息协议包下发转换后的SIP MESSAGE消息(对应于上述的第二协议消息)到统一接入平台。In step S311, the protocol support module converts the original caller's OTT protocol message into a standard SIP MESSAGE message; the protocol support module group delivers the converted SIP MESSAGE message to the user's B client acceptable message protocol packet (corresponding to The above second protocol message) to the unified access platform.
在步骤S312中,统一接入平台最终将SIP MESSAGE消息成功下发至用户B的客户端上,用户B使用的RCS客户端上收到业务呈现。In step S312, the unified access platform finally delivers the SIP MESSAGE message to the client of user B, and the RCS client used by user B receives the service presentation.
在步骤S313至步骤S315中,用户B客户端通过统一接入平台和协议支撑模块向业务模块返回成功响应消息(200OK)。In step S313 to step S315, the user B client returns a success response message (200 OK) to the service module through the unified access platform and the protocol support module.
图7为本申请实施例的不同客户端收发大消息的示例流程图。本示例中,主叫RCS用户采用标准SIP协议接入,被叫用户采用OTT注册接入。FIG. 7 is a flowchart of an example of different clients transmitting and receiving large messages according to an embodiment of the present application. In this example, the calling RCS user accesses using the standard SIP protocol, and the called user uses OTT registration access.
如图7所示,本实施例的流程包括:步骤S401至步骤S427。As shown in FIG. 7, the flow of this embodiment includes steps S401 to S427.
在步骤S401至步骤S403中,用户A(本示例为主叫用户)客户端发送标准SIP INVITE信令;通过统一接入平台转发到业务平台协议适配的协议支撑模块;协议支撑模块将SIP INVITE信令发送到用户A归属的节点业务模块。In step S401 to step S403, the user A (the present example is the calling user) client sends the standard SIP INVITE signaling; the unified access platform forwards the protocol support module to the service platform protocol adaptation; the protocol support module sets the SIP INVITE The signaling is sent to the node service module to which the user A belongs.
在步骤S404至步骤S406中,用户A归属的节点业务模块收到SIP INVITE信令返回成功响应消息(200OK)到协议支撑模块;协议支撑模块将成功响应消息通过统一接入平台返回给用户A客户端。In step S404 to step S406, the node service module to which the user A belongs receives the SIP INVITE signaling return success response message (200OK) to the protocol support module; the protocol support module returns the success response message to the user A client through the unified access platform. end.
在步骤S407至步骤S408中,用户A客户端根据SIP INVITE信令协商建立媒体传输通道(MRSP通道),并通过建立的媒体传输通道发送消息(对应于上述的第一协议消息)到用户A归属的节点业务模块。In step S407 to step S408, the user A client establishes a media transmission channel (MRSP channel) according to the SIP INVITE signaling negotiation, and sends a message (corresponding to the first protocol message described above) to the user A by using the established media transmission channel. Node business module.
在步骤S409中,用户A归属的节点业务模块存储接收到的消息。In step S409, the node service module to which the user A belongs stores the received message.
在步骤S410中,用户A归属的节点业务模块返回成功响应消息(MRSP 200OK)给用户A客户端。In step S410, the node service module to which the user A belongs returns a success response message (MRSP 200 OK) to the user A client.
在步骤S411中,用户A归属的节点业务模块对接收的消息进行业务逻辑处理后,将接收的消息写入用户A客户端对应的消息队列模块;用户A归属的节点业务模块结束对用户A客户端的处理后,启动用户B的消息队列模块的写入操作。In step S411, after the node service module to which the user A belongs performs the service logic processing on the received message, the received message is written into the message queue module corresponding to the client A client; the node service module to which the user A belongs ends to the user A client. After the processing of the terminal, the write operation of the message queue module of user B is started.
在步骤S412中,用户B对应的消息队列模块向用户B归属的节点业务模块通知有新消息送达。In step S412, the message queue module corresponding to the user B notifies the node service module to which the user B belongs that there is new message delivery.
在一实施例中,在步骤S413至步骤S414中,用户B归属的节点业务模块判断主叫传输的消息大小,若消息大小小于8K,则根据用户注册状态及注册类型,下发SIP MESSAGE消息到协议适配的协议支撑模块,SIP MESSAGE消息可以携带协议转换指示信息,协议转换指示信息比如可以包括消息内容、用户B客户端的设备信息以及协议类型、用户A客户端的设备信息以及协议类型。In an embodiment, in step S413 to step S414, the node service module to which the user B belongs determines the size of the message transmitted by the calling party. If the message size is less than 8K, the SIP MESSAGE message is sent according to the user registration status and the registration type. The protocol support module of the protocol adaptation, the SIP MESSAGE message may carry the protocol conversion indication information, and the protocol conversion indication information may include, for example, the message content, the device information of the user B client, the protocol type, the device information of the user A client, and the protocol type.
在步骤S415中,协议支撑模块将用户B归属的节点业务模块下发的SIP MESSAGE消息转换成OTT协议消息(Notify消息)(对应于上述的第二协议消息);协议支撑模块组包成用户B客户端可接受的消息协议包下发到统一接 入平台。In step S415, the protocol support module converts the SIP MESSAGE message sent by the node service module to which the user B belongs to an OTT protocol message (Notify message) (corresponding to the second protocol message described above); the protocol support module is grouped into the user B. The message protocol package acceptable to the client is delivered to the unified access platform.
在步骤S416中,统一接入平台最终将OTT协议消息成功下发至用户B的客户端上,用户B使用的OTT客户端上收到消息内容直接呈现。In step S416, the unified access platform finally delivers the OTT protocol message to the client of user B, and the content of the message received by the OTT client used by user B is directly presented.
在步骤S417至步骤S419中,用户B客户端通过统一接入平台和协议支撑模块向业务模块返回成功响应消息(200OK)。In step S417 to step S419, the user B client returns a success response message (200 OK) to the service module through the unified access platform and the protocol support module.
在一实施例中,在步骤S420至步骤S421中,用户B归属的节点业务模块判断主叫传输的消息大于8K,则根据用户注册状态及注册类型,下发SIP MESSAGE消息到协议支撑模块,其中,SIP MESSAGE消息可以携带协议转换指示信息;协议转换指示信息比如可以包括业务模块存储消息内容的URL地址、用户B客户端的设备信息以及协议类型、用户A客户端的设备信息以及协议类型。In an embodiment, in step S420 to step S421, the node service module to which the user B belongs determines that the message transmitted by the caller is greater than 8K, and then sends a SIP MESSAGE message to the protocol support module according to the user registration status and the registration type, where The SIP MESSAGE message may carry protocol conversion indication information. The protocol conversion indication information may include, for example, a URL address of the service module storing the message content, device information of the user B client, a protocol type, device information of the user A client, and a protocol type.
在步骤S422中,协议支撑模块将用户B归属的节点业务模块下发的SIP MESSAGE消息转换成OTT协议消息(对应于上述的第二协议消息);协议支撑模块组包成用户B客户端可接受的消息协议包下发到统一接入平台。In step S422, the protocol support module converts the SIP MESSAGE message sent by the node service module to which the user B belongs to an OTT protocol message (corresponding to the second protocol message described above); the protocol support module group is accepted as the user B client. The message protocol package is sent to the unified access platform.
在步骤S423中,统一接入平台最终将OTT协议消息成功下发至用户B的客户端上。In step S423, the unified access platform finally delivers the OTT protocol message to the client of user B.
在步骤S424至步骤S426中,用户B客户端通过统一接入平台和协议支撑模块向业务模块返回成功响应消息(200OK)。In step S424 to step S426, the user B client returns a success response message (200 OK) to the service module through the unified access platform and the protocol support module.
在步骤S427中,用户B客户端根据收到的URL地址,获取消息内容,并在用户B使用的OTT客户端上呈现。In step S427, the user B client obtains the message content according to the received URL address, and presents it on the OTT client used by the user B.
需要说明的是,在本示例中,根据消息大小的判定结果选择执行步骤S413至步骤S419,或者选择执行步骤S420至步骤S427。It should be noted that, in the present example, step S413 to step S419 are selected to be performed according to the determination result of the message size, or step S420 to step S427 are selected and executed.
图8为本申请实施例的不同客户端收发大消息的另一示例流程图。本示例中,主叫用户采用OTT注册接入,被叫RCS用户采用标准SIP协议接入。FIG. 8 is a flowchart of another example of sending and receiving large messages by different clients according to an embodiment of the present application. In this example, the calling user uses the OTT registration access, and the called RCS user accesses using the standard SIP protocol.
如图8所示,本实施例的流程包括:步骤S501至步骤S528。As shown in FIG. 8, the flow of this embodiment includes steps S501 to S528.
在步骤S501至步骤S504中,用户A(本示例为主叫用户)客户端判断主叫传输的消息大小;若消息大小小于8K,用户A客户端发送OTT协议消息;通过统一接入平台转发到业务平台协议适配的协议支撑模块;协议支撑模块将OTT协议消息转换为SIP INVITE请求传输到业务模块;业务模块存储接收到的消息。In step S501 to step S504, the user A (the present example is the calling user) client determines the size of the message transmitted by the calling party; if the message size is less than 8K, the user A client sends an OTT protocol message; The service platform protocol adapts the protocol support module; the protocol support module converts the OTT protocol message into a SIP INVITE request and transmits the message to the service module; the service module stores the received message.
在一实施例中,在步骤S505至步骤S511中,用户A客户端判定主叫传输 的消息大小大于8K,用户A客户端发送HTTP XCAP协议消息;通过统一接入平台转发到业务平台协议适配的协议支撑模块;协议支撑模块转换成内部消息PUT消息,发送到业务模块;业务模块存储接收到的消息,并向用户A客户端返回存储地址;用户A客户端发送OTT协议消息,其中携带消息内容的存储地址;通过统一接入平台转发到业务平台协议适配的协议支撑模块;协议支撑模块将OTT协议消息转换为SIP INVITE请求传输到业务模块。In an embodiment, in step S505 to step S511, the user A client determines that the message size of the calling transmission is greater than 8K, and the user A client sends an HTTP XCAP protocol message; and the unified access platform forwards to the service platform protocol adaptation. The protocol support module converts the internal support message into an internal message PUT message and sends it to the service module; the service module stores the received message and returns a storage address to the user A client; the user A client sends an OTT protocol message, which carries the message The storage address of the content; the protocol support module that is forwarded to the service platform protocol through the unified access platform; the protocol support module converts the OTT protocol message into a SIP INVITE request and transmits the message to the service module.
需要说明的是,本示例中,根据消息大小的判定结果选择执行步骤S501至步骤S504,或者选择执行步骤S505至步骤S511。It should be noted that, in this example, step S501 to step S504 are selected according to the determination result of the message size, or step S505 to step S511 are selected and executed.
在步骤S512中,用户A归属的节点业务模块对接收的消息进行业务逻辑处理后,将接收的消息写入用户A对应的消息队列模块,并向用户A客户端返回成功业务响应;用户A归属的节点业务模块结束对用户A的处理后,启动用户B的消息队列模块的写入操作。In step S512, the node service module to which the user A belongs performs the service logic processing on the received message, writes the received message to the message queue module corresponding to the user A, and returns a successful service response to the user A client; After the node service module finishes processing the user A, the write operation of the message queue module of the user B is started.
在步骤S513中,用户B的消息队列模块向用户B归属的节点业务模块通知有新消息送达。In step S513, the message queue module of the user B notifies the node service module to which the user B belongs that there is a new message delivery.
在步骤S514至步骤S515中,用户B归属的节点业务模块,判断主叫传输的消息大小,若消息大小小于8K,则根据用户注册状态及注册类型,下发SIP INVITE信令到协议适配的协议支撑模块,其中携带协议转换指示信息,协议转换指示信息比如可以包括消息内容、用户B客户端的设备信息以及协议类型、用户A客户端的设备信息以及协议类型。In step S514 to step S515, the node service module to which the user B belongs determines the size of the message transmitted by the calling party. If the message size is less than 8K, the SIP INVITE signaling is sent to the protocol adaptation according to the user registration status and the registration type. The protocol support module carries the protocol conversion indication information, and the protocol conversion indication information may include, for example, the message content, the device information of the user B client, the protocol type, the device information of the user A client, and the protocol type.
在步骤S516至步骤S517中,协议支撑模块通过统一接入平台下发SIP INVITE消息。In step S516 to step S517, the protocol support module delivers a SIP INVITE message through the unified access platform.
在步骤S518至步骤S520中,用户B客户端接收到消息后,返回成功响应消息(200OK)到统一接入平台;统一接入平台将成功响应消息通过协议支撑模块返回给用户B归属的节点业务模块。In step S518 to step S520, after receiving the message, the user B client returns a success response message (200OK) to the unified access platform; the unified access platform returns the success response message to the node service to which the user B belongs through the protocol support module. Module.
在一实施例中,在步骤S521至步骤S525中,若用户B归属的节点业务模块判定出主叫传输的消息大小大于8K,则下发SIPINVITE信令请求到协议支撑模块;协议支撑模块通过统一接入平台将SIP INVITE信令下发,其中携带需要协商建立的媒体通道传输标识;用户B归属的节点业务模块根据SIP会话信令和用户B客户端协商建立媒体传输通道(MSRP通道),发送消息内容到用户B的客户端;用户B收到通过MSRP通道发送的消息内容,用户B使用的RCS客户端上收到业务呈现。In an embodiment, in step S521 to step S525, if the node service module to which the user B belongs determines that the message size of the caller transmission is greater than 8K, the SIP INVITE signaling request is sent to the protocol support module; the protocol support module is unified. The access platform delivers the SIP INVITE signaling, and carries the media channel transmission identifier that needs to be established through negotiation; the node service module to which the user B belongs establishes a media transmission channel (MSRP channel) according to the SIP session signaling and the user B client negotiation, and sends The content of the message is sent to the client of user B. User B receives the content of the message sent through the MSRP channel, and the RCS client used by user B receives the service presentation.
在步骤S526至步骤S528中,用户B客户端返回成功响应消息(200OK)到统一接入平台,统一接入平台将成功响应消息通过协议支撑模块返回给用户B归属的节点业务模块。In step S526 to step S528, the user B client returns a success response message (200 OK) to the unified access platform, and the unified access platform returns the success response message to the node service module to which the user B belongs through the protocol support module.
需要说明的是,在本示例中,根据消息大小的判定结果选择执行步骤S514至步骤S520,或者选择执行步骤S521至步骤S528。It should be noted that, in the present example, step S514 to step S520 are selected to be performed according to the determination result of the message size, or steps S521 to S528 are selected to be performed.
综上所述,本实施例提供的融合消息系统,简化了复杂的多类消息系统架构,融合多种业务的特点,方便用户操作,提升了用户体验。本实施例提供的融合消息系统采用消息总线架构,架构简单、部署方便;而且,通过协议层适配不同类型端的统一接入,并经过统一消息队列模块的分发调度,将融合消息发送到用户的不同端上。示例性地,融合消息系统采用标准协议架构和OTT协议架构相结合,客户端和网络消息平台的接口,可采用统一的抽象OTT接口协议,客户端和融合消息系统根据需求可以平滑过渡。In summary, the fused message system provided by the embodiment simplifies the complex multi-type message system architecture, combines the characteristics of multiple services, facilitates user operations, and improves the user experience. The fused message system provided in this embodiment adopts a message bus architecture, and has a simple structure and convenient deployment. Moreover, the protocol layer is adapted to the unified access of different types of terminals, and the distributed message is sent to the user through the distribution scheduling of the unified message queue module. On different ends. Exemplarily, the converged message system adopts a combination of a standard protocol architecture and an OTT protocol architecture. The interface between the client and the network message platform can adopt a unified abstract OTT interface protocol, and the client and the converged message system can smoothly transition according to requirements.
图9为本申请实施例提供的消息处理方法的流程图。本实施例提供的消息处理方法可以由上述融合消息系统执行。如图9所示,本实施例提供的消息处理方法,包括:步骤S901至步骤S903。FIG. 9 is a flowchart of a message processing method according to an embodiment of the present application. The message processing method provided in this embodiment may be performed by the above-described converged message system. As shown in FIG. 9, the message processing method provided in this embodiment includes: Step S901 to Step S903.
在步骤S901中,从采用第一协议接入的发送客户端接收第一协议消息。In step S901, a first protocol message is received from a sending client that uses the first protocol access.
在步骤S902中,将第一协议消息转换为采用第二协议接入的接收客户端支持的第二协议消息。In step S902, the first protocol message is converted into a second protocol message supported by the receiving client accessed by the second protocol.
在步骤S903中,向接收客户端发送第二协议消息。In step S903, a second protocol message is sent to the receiving client.
在示例性实施方式中,步骤S902可以包括:根据第一协议消息以及存储的端注册信息,确定第一协议消息的协议转换指示信息;根据协议转换指示信息,对所述第一协议消息进行协议转换,以得到第二协议消息。In an exemplary embodiment, step S902 may include: determining protocol conversion indication information of the first protocol message according to the first protocol message and the stored end registration information; and performing protocol on the first protocol message according to the protocol conversion indication information Convert to get the second protocol message.
在示例性实施方式中,本实施例的消息处理方法还可以包括:根据从一个或多个客户端接收到的注册信息以及存储的冲突规则表,更新端注册信息;其中,端注册信息包括:一个或多个客户端的用户在线状态以及注册类型,注册类型能够指示客户端所支持的接入协议;冲突规则表记录同一客户端上能够共存的注册类型。In an exemplary embodiment, the message processing method of this embodiment may further include: updating registration information according to the registration information received from the one or more clients and the stored conflict rule table; wherein the terminal registration information includes: The online status of the user of one or more clients and the type of registration. The registration type can indicate the access protocol supported by the client; the conflict rule table records the types of registrations that can coexist on the same client.
在示例性实施方式中,步骤S902可以包括:若第一协议消息的大小小于预设值,则对所述第一协议消息进行协议转换,以得到携带第一协议消息的消息内容的第二协议消息;若第一协议消息的大小大于或等于预设值,则对所述第一协议消息进行协议转换,以得到携带第一协议消息的存储地址的第二协议消 息。In an exemplary embodiment, step S902 may include: if the size of the first protocol message is less than a preset value, performing protocol conversion on the first protocol message to obtain a second protocol that carries the message content of the first protocol message. If the size of the first protocol message is greater than or equal to the preset value, perform protocol conversion on the first protocol message to obtain a second protocol message that carries the storage address of the first protocol message.
在示例性实施方式中,步骤在S901之后,本实施例的消息处理方法还可以包括:对第一协议消息进行协议转换,得到第二协议消息;若第一协议消息的大小大于或等于预设值,则建立与接收客户端之间的媒体传输通道,通过媒体传输通道传输第二协议消息。In an exemplary embodiment, after the step S901, the message processing method of the embodiment may further include: performing protocol conversion on the first protocol message to obtain a second protocol message; if the size of the first protocol message is greater than or equal to a preset The value establishes a media transmission channel between the receiving client and the receiving client, and transmits the second protocol message through the media transmission channel.
在示例性实施方式中,第一协议消息可以为OTT协议消息,第二协议消息可以为融合通信标准协议消息,比如SIP协议消息;或者,第一协议消息可以为融合通信标准协议消息,第二协议消息可以为OTT协议消息。In an exemplary embodiment, the first protocol message may be an OTT protocol message, and the second protocol message may be a converged communication standard protocol message, such as a SIP protocol message; or the first protocol message may be a converged communication standard protocol message, and the second The protocol message can be an OTT protocol message.
关于本实施例提供的消息处理方法的相关说明可以参照上述系统实施例的描述,故于此不再赘述。For a description of the message processing method provided in this embodiment, reference may be made to the description of the foregoing system embodiment, and thus no further details are provided herein.
此外,本申请实施例还提供一种计算机可读介质,存储有消息处理程序,该消息处理程序被处理器执行时实现如上所述的消息处理方法。In addition, the embodiment of the present application further provides a computer readable medium storing a message processing program, which is implemented by a processor to implement the message processing method as described above.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块或单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块或单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、电可擦除可编程只读存储器(Electrically Erasable Programmable Read Only Memory,EEPROM)、闪存或其他存储器技术、只读光盘(Compact Disc Read-Only Memory,CD-ROM)、数字多功能盘(Digital Versatile Disc,DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and functional blocks or units of the methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules or units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical The components work together. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer readable medium, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media. Computer storage media include, but are not limited to, Random Access Memory (RAM), Read-Only Memory (ROM), and Electrically Erasable Programmable Read Only Memory (EEPROM). , flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical disc storage, magnetic box, magnetic tape, disk storage or other magnetic storage A device, or any other medium that can be used to store desired information and that can be accessed by a computer. Moreover, it is well known to those skilled in the art that communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .

Claims (15)

  1. 一种融合消息系统,包括:A converged messaging system that includes:
    接入平台以及业务平台;Access platform and service platform;
    其中,所述接入平台连接所述业务平台;The access platform is connected to the service platform;
    所述接入平台配置为从采用第一协议接入的发送客户端接收第一协议消息;The access platform is configured to receive a first protocol message from a sending client that uses the first protocol access;
    所述业务平台配置为将所述第一协议消息转换为采用第二协议接入的接收客户端支持的第二协议消息;The service platform is configured to convert the first protocol message into a second protocol message supported by the receiving client that is accessed by using the second protocol;
    所述接入平台还配置为向所述接收客户端发送所述第二协议消息。The access platform is further configured to send the second protocol message to the receiving client.
  2. 根据权利要求1所述的系统,其中,所述业务平台包括:协议支撑模块以及业务模块;所述协议支撑模块连接所述业务模块;The system of claim 1, wherein the service platform comprises: a protocol support module and a service module; and the protocol support module is connected to the service module;
    其中,所述业务模块配置为根据所述第一协议消息以及存储的端注册信息,确定所述第一协议消息的协议转换指示信息,并发送所述协议转换指示信息给所述协议支撑模块;The service module is configured to determine protocol conversion indication information of the first protocol message according to the first protocol message and the stored end registration information, and send the protocol conversion indication information to the protocol support module;
    所述协议支撑模块配置为根据所述协议转换指示信息,对所述第一协议消息进行协议转换,并将转换得到的第二协议消息发送给所述接入平台。The protocol support module is configured to perform protocol conversion on the first protocol message according to the protocol conversion indication information, and send the converted second protocol message to the access platform.
  3. 根据权利要求2所述的系统,其中,所述业务模块,还配置为根据从至少一个客户端接收到的注册信息以及存储的冲突规则表,更新所述端注册信息;The system according to claim 2, wherein the service module is further configured to update the end registration information according to the registration information received from the at least one client and the stored conflict rule table;
    其中,所述端注册信息包括:所述至少一个客户端的用户在线状态以及注册类型,所述注册类型能够指示所述客户端所支持的接入协议;所述冲突规则表记录同一客户端上能够共存的注册类型。The end registration information includes: a user online status of the at least one client and a registration type, the registration type can indicate an access protocol supported by the client; and the conflict rule table records that the same client can Coexistence registration type.
  4. 根据权利要求2所述的系统,其中,所述协议支撑模块适于提供以下任两种协议间的转换:会话初始协议、消息会话中继协议、超文本传输协议、可扩展标记语言配置访问XCAP协议、接入管理协议AOP、基于互联网提供服务OTT协议。The system of claim 2, wherein the protocol support module is adapted to provide a transition between any two of the following: a Session Initiation Protocol, a Message Session Relay Protocol, a Hypertext Transfer Protocol, an Extensible Markup Language Configuration Access XCAP Protocol, access management protocol AOP, Internet-based service OTT protocol.
  5. 根据权利要求4所述的系统,其中,所述OTT协议的协议数据单元包括:消息头域、至少一个自定义消息域;其中,所述至少一个自定义消息域中的任一自定义消息域包括消息头部分以及消息体部分。The system of claim 4, wherein the protocol data unit of the OTT protocol comprises: a message header field, at least one custom message domain; wherein any custom message domain in the at least one custom message domain Including the message header part and the message body part.
  6. 根据权利要求2所述的系统,其中,所述业务平台还包括:统一消息队列模块,连接所述业务模块,所述统一消息队列模块配置为存储所述业务模块接收到的所述第一协议消息。The system of claim 2, wherein the service platform further comprises: a unified message queue module, connected to the service module, the unified message queue module configured to store the first protocol received by the service module Message.
  7. 根据权利要求1所述的系统,其中,若所述第一协议消息的大小小于预设值,则所述第二协议消息携带所述第一协议消息的消息内容;若所述第一协 议消息的大小大于或等于所述预设值,则所述第二协议消息携带所述第一协议消息的存储地址。The system according to claim 1, wherein if the size of the first protocol message is less than a preset value, the second protocol message carries message content of the first protocol message; if the first protocol message The second protocol message carries the storage address of the first protocol message.
  8. 根据权利要求2所述的系统,其中,所述协议支撑模块还配置为对所述第一协议消息进行协议转换,并将转换得到的第二协议消息发送给所述业务模块;The system according to claim 2, wherein the protocol support module is further configured to perform protocol conversion on the first protocol message, and send the converted second protocol message to the service module;
    所述业务模块,还配置为在判断出所述第一协议消息的大小大于或等于预设值时,建立与所述接收客户端之间的媒体传输通道,通过所述媒体传输通道传输所述第二协议消息。The service module is further configured to: when determining that the size of the first protocol message is greater than or equal to a preset value, establishing a media transmission channel with the receiving client, and transmitting, by using the media transmission channel, the media transmission channel Second protocol message.
  9. 一种消息处理方法,包括:A message processing method includes:
    从采用第一协议接入的发送客户端接收第一协议消息;Receiving a first protocol message from a sending client that accesses by using the first protocol;
    将所述第一协议消息转换为采用第二协议接入的接收客户端支持的第二协议消息;Converting the first protocol message into a second protocol message supported by the receiving client accessed by using the second protocol;
    向所述接收客户端发送所述第二协议消息。Sending the second protocol message to the receiving client.
  10. 根据权利要求9所述的方法,其中,所述将所述第一协议消息转换为采用第二协议接入的接收客户端支持的第二协议消息,包括:The method of claim 9, wherein the converting the first protocol message to the second protocol message supported by the receiving client accessed by the second protocol comprises:
    根据所述第一协议消息以及存储的端注册信息,确定所述第一协议消息的协议转换指示信息;Determining, according to the first protocol message and the stored end registration information, protocol conversion indication information of the first protocol message;
    根据所述协议转换指示信息,对所述第一协议消息进行协议转换以得到第二协议消息。And performing protocol conversion on the first protocol message according to the protocol conversion indication information to obtain a second protocol message.
  11. 根据权利要求10所述的方法,还包括:The method of claim 10 further comprising:
    根据从至少一个客户端接收到的注册信息以及存储的冲突规则表,更新所述端注册信息;Updating the end registration information according to the registration information received from the at least one client and the stored conflict rule table;
    其中,所述端注册信息包括:所述至少一个客户端的用户在线状态以及注册类型,所述注册类型能够指示所述客户端所支持的接入协议;所述冲突规则表记录同一客户端上能够共存的注册类型。The end registration information includes: a user online status of the at least one client and a registration type, the registration type can indicate an access protocol supported by the client; and the conflict rule table records that the same client can Coexistence registration type.
  12. 根据权利要求9所述的方法,其中,所述将所述第一协议消息转换为采用第二协议接入的接收客户端支持的第二协议消息,包括:The method of claim 9, wherein the converting the first protocol message to the second protocol message supported by the receiving client accessed by the second protocol comprises:
    基于确定所述第一协议消息的大小小于预设值,对所述第一协议消息进行协议转换,以得到携带所述第一协议消息的消息内容的第二协议消息;And performing protocol conversion on the first protocol message to obtain a second protocol message that carries the message content of the first protocol message, according to determining that the size of the first protocol message is smaller than a preset value;
    基于确定所述第一协议消息的大小大于或等于所述预设值,对所述第一协议消息进行协议转换,以得到携带所述第一协议消息的存储地址的第二协议消 息。And determining, according to determining that the size of the first protocol message is greater than or equal to the preset value, performing protocol conversion on the first protocol message to obtain a second protocol message carrying a storage address of the first protocol message.
  13. 根据权利要求9所述的方法,所述从采用第一协议接入的发送客户端接收第一协议消息之后,所述方法还包括:The method according to claim 9, after the receiving the first protocol message from the sending client that is accessed by using the first protocol, the method further includes:
    对所述第一协议消息进行协议转换,以得到第二协议消息;Performing protocol conversion on the first protocol message to obtain a second protocol message;
    基于确定所述第一协议消息的大小大于或等于预设值,建立与所述接收客户端之间的媒体传输通道,通过所述媒体传输通道传输所述第二协议消息。And determining, according to determining that the size of the first protocol message is greater than or equal to a preset value, a media transmission channel with the receiving client, and transmitting, by using the media transmission channel, the second protocol message.
  14. 根据权利要求9至13中任一项所述的方法,其中,所述第一协议消息为OTT协议消息,且所述第二协议消息为融合通信标准协议消息;或者,所述第一协议消息为融合通信标准协议消息,且所述第二协议消息为OTT协议消息。The method according to any one of claims 9 to 13, wherein the first protocol message is an OTT protocol message, and the second protocol message is a converged communication standard protocol message; or the first protocol message To fuse the communication standard protocol message, and the second protocol message is an OTT protocol message.
  15. 一种计算机可读介质,存储有消息处理程序,所述消息处理程序被处理器执行时实现如权利要求9至14中任一项所述的消息处理方法。A computer readable medium storing a message processing program, the message processing program being executed by a processor to implement the message processing method according to any one of claims 9 to 14.
PCT/CN2018/119994 2017-12-26 2018-12-10 Convergent messaging system and message processing method WO2019128682A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711435379.9A CN108156069A (en) 2017-12-26 2017-12-26 A kind of integration message system and message treatment method
CN201711435379.9 2017-12-26

Publications (1)

Publication Number Publication Date
WO2019128682A1 true WO2019128682A1 (en) 2019-07-04

Family

ID=62462921

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/119994 WO2019128682A1 (en) 2017-12-26 2018-12-10 Convergent messaging system and message processing method

Country Status (2)

Country Link
CN (1) CN108156069A (en)
WO (1) WO2019128682A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157537A (en) * 2021-12-08 2022-03-08 东风悦享科技有限公司 System and method for realizing multi-source heterogeneous data access by general equipment gateway
CN114449013A (en) * 2021-12-29 2022-05-06 深圳市巨鼎医疗股份有限公司 Mutual compatible hospital framework of internet hospital
CN114866604A (en) * 2022-04-29 2022-08-05 北京国都互联科技有限公司 Method and system for multi-type mobile message service fusion control
CN115150364A (en) * 2022-06-29 2022-10-04 北京飞讯数码科技有限公司 Service request processing system and method supporting multi-communication protocol concurrent communication
CN115314509A (en) * 2022-07-27 2022-11-08 上海浦东发展银行股份有限公司 Synchronization method, device, equipment and storage medium of application registration information

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156069A (en) * 2017-12-26 2018-06-12 中兴通讯股份有限公司 A kind of integration message system and message treatment method
CN110875914B (en) * 2018-09-03 2022-06-07 中国移动通信有限公司研究院 Method and device for transmitting messages based on shared session link
CN109274583B (en) * 2018-09-25 2021-04-06 中兴通讯股份有限公司 Converged communication system and interaction method thereof
CN109150290B (en) * 2018-10-23 2020-09-15 中国科学院信息工程研究所 Satellite lightweight data transmission protection method and ground safety service system
CN111385277A (en) * 2018-12-29 2020-07-07 中兴通讯股份有限公司 File transmission method between RCS systems and RCS intercommunication gateway
CN112532712B (en) * 2020-11-24 2023-03-28 青岛海尔科技有限公司 Protocol transmission method and device, storage medium, and electronic device
CN113259231B (en) * 2021-05-12 2022-03-15 中移(上海)信息通信科技有限公司 Gateway equipment, information transmission method and device
US11743218B2 (en) 2021-12-21 2023-08-29 LeapXpert Limited Message capture in a multi channel communication environment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794705A (en) * 2005-07-18 2006-06-28 华为技术有限公司 Method and system of instant message user to use other immediate news system
US20060195613A1 (en) * 2005-02-25 2006-08-31 Kabushiki Kaisha Toshiba Protocol conversion apparatus, communication apparatus, method and program
CN101212719A (en) * 2006-12-31 2008-07-02 华为技术有限公司 Method and system for implementing converged message service in radio communication network
CN101552721A (en) * 2008-04-03 2009-10-07 中兴通讯股份有限公司 Convergence service system and service implementation method thereof
CN102143444A (en) * 2010-09-02 2011-08-03 华为技术有限公司 Method, relevant equipment and system for pushing service delivery platform message
CN108156069A (en) * 2017-12-26 2018-06-12 中兴通讯股份有限公司 A kind of integration message system and message treatment method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060195613A1 (en) * 2005-02-25 2006-08-31 Kabushiki Kaisha Toshiba Protocol conversion apparatus, communication apparatus, method and program
CN1794705A (en) * 2005-07-18 2006-06-28 华为技术有限公司 Method and system of instant message user to use other immediate news system
CN101212719A (en) * 2006-12-31 2008-07-02 华为技术有限公司 Method and system for implementing converged message service in radio communication network
CN101552721A (en) * 2008-04-03 2009-10-07 中兴通讯股份有限公司 Convergence service system and service implementation method thereof
CN102143444A (en) * 2010-09-02 2011-08-03 华为技术有限公司 Method, relevant equipment and system for pushing service delivery platform message
CN108156069A (en) * 2017-12-26 2018-06-12 中兴通讯股份有限公司 A kind of integration message system and message treatment method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157537A (en) * 2021-12-08 2022-03-08 东风悦享科技有限公司 System and method for realizing multi-source heterogeneous data access by general equipment gateway
CN114449013A (en) * 2021-12-29 2022-05-06 深圳市巨鼎医疗股份有限公司 Mutual compatible hospital framework of internet hospital
CN114866604A (en) * 2022-04-29 2022-08-05 北京国都互联科技有限公司 Method and system for multi-type mobile message service fusion control
CN114866604B (en) * 2022-04-29 2023-12-29 北京国都互联科技有限公司 Method and system for fusion control of multi-type mobile message service
CN115150364A (en) * 2022-06-29 2022-10-04 北京飞讯数码科技有限公司 Service request processing system and method supporting multi-communication protocol concurrent communication
CN115314509A (en) * 2022-07-27 2022-11-08 上海浦东发展银行股份有限公司 Synchronization method, device, equipment and storage medium of application registration information

Also Published As

Publication number Publication date
CN108156069A (en) 2018-06-12

Similar Documents

Publication Publication Date Title
WO2019128682A1 (en) Convergent messaging system and message processing method
US11489961B2 (en) System and method for determining and communicating presence information
US9282192B2 (en) Notification of communication events
US9871930B2 (en) Call invites
US20120173610A1 (en) Message Push Notification Client Improvements For Multi-User Devices
US9065788B2 (en) Method, device and system for voice communication
US20150022619A1 (en) System and method for sharing multimedia content using a television receiver during a voice call
CN106210049B (en) Cluster communication method and system based on message queue
WO2016165584A1 (en) Communication method and device between terminal
CN108293082B (en) Method for supporting voice call in communication terminal and terminal thereof
JP2016517664A (en) System and method for distributing multimedia information to mobile devices
US11102319B2 (en) Method, system and server for stream-pushing
US10412123B2 (en) Session initiation for multimedia services
US9992343B2 (en) Text translation of an audio recording during recording capture
WO2016045214A1 (en) Decision method and device, terminal and computer storage medium
EP2974159B1 (en) Method, device and system for voice communication
US9419847B2 (en) Notification of communication events
US9503485B1 (en) Connecting communicating devices in a multi-server communication system
WO2018033015A1 (en) Method and device for communicating between terminals in multiple systems
TWI357748B (en) System and method for correlating messages within
US20150031341A1 (en) Method for responding to push notification based communication request
WO2016177222A1 (en) Missed call reminding method and device
KR101378254B1 (en) Method and System for Adaptive Messaging
US11540209B2 (en) Method for determining a set of encoding formats in order to establish a communication
WO2009054661A1 (en) Procedure for managing data synchronization under multiple devices environment

Legal Events

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

Ref document number: 18896193

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.11.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18896193

Country of ref document: EP

Kind code of ref document: A1