WO2011127772A1 - 消息请求的路由方法及处理系统 - Google Patents

消息请求的路由方法及处理系统 Download PDF

Info

Publication number
WO2011127772A1
WO2011127772A1 PCT/CN2011/071431 CN2011071431W WO2011127772A1 WO 2011127772 A1 WO2011127772 A1 WO 2011127772A1 CN 2011071431 W CN2011071431 W CN 2011071431W WO 2011127772 A1 WO2011127772 A1 WO 2011127772A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
client
request
instant
specified
Prior art date
Application number
PCT/CN2011/071431
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Priority to US13/641,464 priority Critical patent/US9444777B2/en
Priority to BR112012026472A priority patent/BR112012026472A2/pt
Priority to EP11768384.7A priority patent/EP2560329B1/en
Publication of WO2011127772A1 publication Critical patent/WO2011127772A1/zh

Links

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/48Message addressing, e.g. address format or anonymous messages, aliases
    • 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/21Monitoring or handling of messages
    • H04L51/23Reliability checks, e.g. acknowledgments or fault reporting
    • 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/56Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]
    • 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/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding

Definitions

  • the present invention relates to the field of communications, and in particular to a routing method and a processing system for message requests. Background technique
  • the traditional short message service can provide a short message receipt function, that is, the sender will receive a receipt report after sending the short message, so that the short message has been sent to the receiver.
  • the MMS service receipt also provides a Read Report. After the recipient reads the MMS, a reading report is generated to inform the sender that the MMS has been read.
  • Instant Messages can support similar receipt reports.
  • the instant messaging system differentiates users by assigning different user identities (or, called accounts or addresses) to the user, which the user uses to log in to register and communicate with each other.
  • more and more terminals including mobile phones, personal PCs, etc.
  • a user can have a user ID and log in to register online at multiple different terminals.
  • Converged IP Messaging enables interoperability of multiple messaging services, provides unified messaging services, and provides a consistent and convenient messaging service experience.
  • CPM's business forms include: pager-mode based CPM, session-mode based large message mode CPM (CMS), session-based other CPM session services (CPM Session service) ). Before the user can use these services normally, they need to register to log in to the CPM system, which is commonly referred to as "online” or "reachable" in the CPM system.
  • the CPM Address (CPM Address) is a user identifier used by the CPM system (known as CPM Enabler, CPM Service Engine) to distinguish different users in the system, and can support two kinds of Disposition Notifications, namely, transmission report and reading. report.
  • CPM Enabler CPM Service Engine
  • Disposition Notifications namely, transmission report and reading. report.
  • a user can have multiple CPM addresses and can be registered on multiple terminal devices, that is, "online" at the same time.
  • the CPM system may combine the return receipt report returned by each receiver and then send the report to the instant message sender, thereby solving the problem.
  • the problem of the user being disturbed.
  • the merging method is, for example, for a return receipt report returned by each receiver in the group, the receipt report is first routed to the group server, and the group server performs merging of multiple receipt reports, and then sends the combined receipt report to the original instant. Message sender client.
  • the network side service server will report the receipt after receiving the receipt report of the receiver. Sent to the sender of the original message. In order to prevent users from being disturbed, the receipt report needs to be routed to the relevant group server for consolidation.
  • the prior art cannot determine which online message client to send the receipt report to. The receipt report cannot be processed later, resulting in the receipt report not being sent to the specified client.
  • the initiator CPM client initiates a CPM Session session to the group
  • a user initiates a CPM Session session to the group, and returns a receipt message to the original sender client for the receiver in the group.
  • the receipt message can also be the same as the CPM Message Receipt Report described above.
  • the session inviter is first routed to the CPM control function entity, and then the CPM control function entity merges the receipt message and finally sends it to the original session inviter client. Summary of the invention
  • the present invention first provides a method for routing a message request, the method comprising: using a plurality of clients identified by the same user, wherein when the client sends the first message request, the first message request carries the specified client a globally unique identifier and a routing address of a specified server, where the first message request is routed to the specified server according to the routing address of the specified server, where the specified client is the multiple clients that use the same user identifier one of the;
  • the specified server generates a second message request according to the first message request, and carries the routing address of the specified server and the global unique identifier of the specified client in the second message request, where the second message request is Receiving by the receiving client;
  • the receiving client generates a third message request, and the third message request carries a routing address of the specified server obtained from the second message request and a global unique identifier of the specified client, where the third The message request is routed to the designated server according to the routing address of the specified server;
  • the specified server generates a fourth message request according to the third message request, where the fourth message request carries the global only request of the specified client obtained from the third message request An identifier, the fourth message request is routed to the specified client corresponding to the global unique identifier according to the global unique identifier.
  • the multiple clients that use the same user identifier are instant messaging clients;
  • the server is an instant messaging group logic function processing entity;
  • the first message request is a first instant message sent by the instant message client;
  • the second message request is a second instant message sent by the instant message group logical function processing entity;
  • the third message requests a receipt report corresponding to the second instant message sent by the instant message receiver client;
  • the fourth message requests the receipt report sent by the instant message group logical processing function entity
  • the designated client is one of pre-designated instant messaging clients using the same user identifier, and is configured to receive the receipt report sent by the instant message group logical processing function entity, which is also referred to as a designated receipt report receiver. Client.
  • routing the receipt report of the instant message to the specified return receipt report receiver client includes:
  • Each instant message receiver client in the group obtains the group logical processing function entity routing address and the global unique identifier of the specified return receipt report receiving client from the received second instant message, and sends the receipt
  • the report carries the group logical processing function entity routing address and the global unique identifier of the specified receipt report receiving client, according to the group logic processing functional entity routing address, the receipt report is routed to the group logical processing function entity
  • the group logic processing function entity obtains the global unique identifier of the receiver of the specified return receipt report carried in the receipt report, and carries the global unique identifier in the sent back receipt report, according to the identifier, The receipt report is routed to the specified return receipt recipient client.
  • the globally unique identifier includes: a global routable user agent global resource identifier Identified GRUU.
  • the instant message sender client sends the instant message
  • the instant message carries the global unique identifier of the receiver of the specified receipt report, which is specifically:
  • the GRUU is carried in the SIP: INVITE message header; or the GRUU is carried through the media side message content.
  • the carrying the GRUU in the SIP: MESSAGE message header includes: using a From field of the message header;
  • the carrying the GRUU in the MIME header of the message includes: when the content of the instant message is the universal presentation and the instant message CPIM format, the CPIM header is carried in the From field;
  • the carrying the GRUU in the SIP: INVITE message header includes: Carry in the SIP: From field or the SIP: Contact field;
  • the carrying the GRUU through the media side message content includes: when the content of the instant message message is in the CPIM format, carried in the From field of the CPIM header.
  • the instant message receiver client carries the group logical processing function entity routing address in the receipt message by: requesting the global resource identifier field Request-URI in the receipt report Said group server routing address; or, carried by the message content header field IMDN-Route of the receipt report.
  • the instant message receiver client carries the global unique identifier of the receipt report receiver client in the receipt message by: carrying the request global resource identifier field Request-URI in the receipt report Or, carried by the message content header field IMDN-Route of the receipt report; or by the message content header field CPIM To of the receipt message; or, by the message content header field CPIM of the receipt message From Belt.
  • the group logic processing function entity carries the specified return receipt report receiver global unique identifier in the sent return report by: requesting the global resource identifier field Request-URI in the receipt report Carrying the specified return receipt report receiver global unique identifier.
  • the instant message sender client and the specified receipt report receiver client are CPM clients, and the instant message is a CPM message in the CPM system, that is, a CPM paging message and a big message mode CPM message;
  • the group logical processing function entity is a control function entity of the CPM system.
  • the present invention also provides a processing system for a message request, including: a message requesting sender client, a message requesting receiver client, and a designated server, where
  • the message requesting sender client is configured to send a first message request, and is further configured to carry, in the first message request, a global unique identifier of the specified client and a routing address of the specified server, where the specified client sends the message request.
  • the party client or one of the clients in the same user ID is used with the message request sender client;
  • the requesting server is configured to receive the first message request to generate a second message request, and further configured to: in the second message request, carry a routing address of the specified server and a global unique identifier of the specified client;
  • the message requesting receiver client is configured to receive the second message request, and is further configured to generate a third message request, and further configured to carry, in the third message request, the designation obtained from the second message request
  • the routing address of the server and the globally unique identifier of the specified client The routing address of the server and the globally unique identifier of the specified client;
  • the specified server is further configured to receive the third message request to generate a fourth message request, and further configured to carry, in the fourth message request, the global unique identifier obtained from the third message request.
  • the message requesting sender client and the message requesting receiver client are instant messaging clients;
  • the server is a group logic processing function entity in an instant messaging system; and the first message request is the sender Instant messaging sent by the instant messaging client;
  • the second message requests an instant message sent by the instant message group logical processing function entity;
  • the fourth message requests the receipt report sent by the instant message group logical processing function entity
  • the designated client is a pre-specified other client that uses the same user identity as the sender instant messaging client, that is, a recipient client that specifies a receipt report.
  • sender client and the specified receipt report receiver client are identical to the sender client and the specified receipt report receiver client.
  • the CPM client, the instant message is a CPM message in the CPM system
  • the group logic processing function entity is a control function entity in the CPM system.
  • the existing message request routing service is improved and supplemented.
  • the message that the message request recipient feedbacks cannot be routed to the designated client for receiving by the server;
  • the message fed back by the message requesting receiver is routed to one of the plurality of simultaneous online clients that use the same user identifier, which satisfies the user's needs and improves the user experience.
  • FIG. 1 is a flow chart of sending an instant message and returning a report in an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a message request routing processing system according to an embodiment of the present invention. detailed description
  • different clients belonging to the same user identifier are distinguished by the global unique identifier of the client.
  • the instant message return report The problem that cannot be routed to the specified client provides a specific solution, including:
  • the sender client carries the group server (that is, the group logical processing function entity) routing address in the instant message when sending the instant message.
  • the receipt report reports the global unique identifier of the receiver client.
  • the group server After the instant message is routed to the group server, the group server sends an instant message to each receiver in the group, and carries the group routing address and each instant message.
  • the return receipt report is a globally unique identifier of the receiver.
  • the receiver client replies to the receipt report, the receiver client carries the group server and the receipt report receiver client global unique identifier in the receipt report.
  • FIG. 1 is a flow chart of sending and returning an instant message in an embodiment of the present invention.
  • the sender has n sender clients (also referred to as instant message clients) that use the same user identifier. Simultaneous online (specifically, when the instant messaging server sends the receipt report to the sender client), after one of the sender clients sends the instant message, since the routing address in the message is an instant message group server, The instant message is routed to the group server, and the group server sends an instant message to each receiver in the group. To ensure that the receipt report is still returned to the group server for consolidation, the group server carries the instant message in the sent message. The routing address of the server, after receiving the instant message, the receiving client will reply a receipt report for the instant message, and carry the group server address and back in the receipt report. Report the global unique identifier address of the receiver client.
  • the receiving client when receiving the instant message, obtains the instant message group server routing address carried in the instant message and the global unique identifier of the returning report receiving client, in the sending
  • the return receipt report carries the group server routing address and the global unique identifier
  • the receiving client may carry the above group server address in the receipt report in the following manner:
  • the receiving client passes the request global resource identifier field in the return receipt report.
  • IMDN-Route the header field IMDN-Route of the message content can be reported by the receipt (where IMDN-Route is the field name, and IMDN is the instant message processing report, that is, the delivery report) And reading the report, IMDN—the route refers to the processing report routing field); or,
  • the receiving client may carry the global unique identifier of the receiving report client in the return receipt report in the following manner:
  • the receiving client is carried by the request global resource identifier field (Request-URI) in the receipt report; or by the return receipt report
  • the content header field is carried by the From field; or carried by the CPM To field of the receipt report content header field; or by the receipt report content header field IMDN-Route.
  • the global unique identifier of the sender client may be the global routable user agent global resource identifier (GRUU) of the sender client.
  • GRUU global routable user agent global resource identifier
  • the above two implementations can be used in the CPM system and the IMS-based instant messaging system.
  • the client of the above sender can be a CPM client
  • the instant message can be in the CPM system.
  • the CPM message preferably, may be a paging message or a large message mode CPM message in the CPM system
  • the instant message server may include a Participating Function and a Controlling Function of the CPM system.
  • the instant message group server is obtained by saving the global unique identifier of the specified return receipt report client in the instant messaging system.
  • the globally unique identifier may also be saved by the source participating functional entity to which the sender belongs; or the destination end attributed by the receiver may participate in the functional entity to save the global unique identifier.
  • the message content of the instant message can be regarded as being encoded according to the MIME format; when the instant message is specifically a CPM message, two of the CPM messages can be determined.
  • the content of the CPM paging message and the message mode of the large message mode CPM message are encoded in accordance with the Common Presence and Instant Messaging (CPIM) format.
  • CPIM Common Presence and Instant Messaging
  • the foregoing solution provided by the embodiment of the present invention is also applicable to an instant messaging system based on an IP Multimedia Subsystem (IMS).
  • IMS IP Multimedia Subsystem
  • the SIP/IP core network is an IMS core network
  • the instant messaging server is Instant Messaging Application Service in IMS System
  • the present invention is equally applicable to other SIP-based instant messaging systems.
  • the instant messaging architecture of the present invention is based on a SIP/IP core network architecture.
  • the SIP/IP core The network may be a functional unit integrated with an instant messaging application server, and the present invention is equally applicable to such networking situations. Bright.
  • FIG. 1 is a flowchart of the embodiment. Without loss of generality, it is assumed that Client-B, Client-C, and Client-D are three recipient instant messaging clients in a group. This embodiment mainly includes the following steps:
  • Step 101 The sender client sends an instant message to a group, and the instant message is routed to the group server.
  • the message request carries the unique identity (ID-A1) of A1 and the address (Addr-S) of server S.
  • the instant message carries the indication information of the request for receipt of the report, wherein the receipt report includes but is not limited to at least one of the following reports: transmitting the report, reading the report.
  • the instant message is a large message party that can be SIP message or MSRP based. Transmission.
  • the specific flow of the instant messaging process is omitted in FIG.
  • the instant message may also not carry the indication information of the request receipt type message, and may be determined according to the default setting of the default request or no request for the receipt type message.
  • the routing address carrying the group server and the specified return receipt report receiver global routing unique identifier, and the specified receipt report receiver is the sender of the instant message or other client that uses the same user identifier with the receiver. .
  • the instant messaging server may be a service system composed of one or more functional entities
  • the group server is a functional entity in the instant messaging server, and mainly processes the services related to the group.
  • an entity that implements all instant messaging services on the network side (as opposed to the client) can be considered an instant messaging server.
  • Figure 1 omits other functional entities, and only the group servers directly related to the present invention are labeled.
  • Step 102-Step 104 The group server sends an instant message to the users Client-B, Client-C, and Client-D in the group.
  • the group server carries its own routing address in the sent instant message, and the return receipt report can still be returned to the group server for the combined processing of the receipt report.
  • Steps 105-107 Client-B, Client-C, and Client-D send a receipt to report the error.
  • the instant message receiver carries the address of the group server and the global unique identifier of the recipient of the specified return receipt report, and the return receipt report can still be returned to the group server for the processing of the receipt of the receipt.
  • Step 108 After receiving the receipt report sent by each receiver in the group, the group server performs a merge process, and sends the combined return receipt report to the specified return receipt receiver client.
  • the instant message server may also save the global unique identifier of the receiver of the specified receipt report carried by the instant message, so that the group server can obtain the identifier from the instant message server, and the instant message receiver client does not have to Carry the global unique identifier.
  • the instant message can be transmitted through the MESSAGE mode of the SIP protocol, or by using the SIP protocol for signaling control, and using the MSRP protocol to transmit the content of the instant message.
  • Transmission wherein, in the case that the instant message is transmitted through the MESSAGE mode of the SIP protocol, the content format of the instant message is encoded according to the Multipurpose Internet Mail Extensions (MIME) protocol, and the indication information of the request receipt type message is in the MIME Header carrying;
  • MIME Multipurpose Internet Mail Extensions
  • the indication information of the request receipt type message is in the MIME Header carrying;
  • the content format of the instant message is encoded according to the MIME protocol, and the indication information of the request receipt type message is The MIME header of the MSRP SEND message body is carried.
  • the global unique identifier of the sender client that is carried may be the globally routable user agent global resource identifier (GRUU) of the client, and the instant message content transmitted by the SIP: MESSAGE.
  • the GRUU may be carried in the header of the SIP: MESSAGE message, such as by using the From field or the Contact field of the message header; or by using the MIME header in the message, such as when the content of the instant message is in the CPIM format, The CPIM header From field carries;
  • the GRUU is carried in the SIP: INVITE message header, such as by the SIP: From field or the SIP: Contact field; or
  • the content of the message on the media side, such as the MIME header can be carried in the From field of the CPIM header when the content of the instant message is in the CPIM format.
  • the instant message carries the routing address associated with the group server in the SIP Request-URI, and the preset group address is set to the routing address for the preset group (Pre-defmed Group); Set the group server address to this routing address.
  • the instant message is routed to the group server, and the group server adds its own routing address to the instant message content CPIM header field IMDN-Record-Route in sending an instant message to each recipient in the group.
  • the receiver may carry the group server routing address in the receipt report through the SIP header field Request-URI, and carry the global unique identifier of the receiver report of the receipt report carried by the instant message through the instant message content CPIM header field CPIM-To.
  • the group server After receiving the receipt report sent by each receiver, the group server performs the merge process, and sends the merged return report to the receiver of the return receipt report, specifically, the global unique identifier carried in the CPIM-To is taken out, and the SIP Request is obtained.
  • the -URI field is set to the receipt report receiver globally unique identifier.
  • This embodiment is applicable to the CPM system.
  • the group server in this embodiment is a CPM control function entity.
  • the receipt report of the message is sent by the receiver CPM client of the CPM message, and then routed to the control function entity, which is combined and processed by the control function entity and then sent to the return report receiver CPM client.
  • the terminal mentioned above refers to a physical entity running an instant messaging client.
  • a physical entity can run an instant messaging client. Therefore, sending to a specific terminal is sent to an instant messaging client running on the terminal. .
  • the CPM system control function entity may acquire and save the global unique identifier of the receipt report receiver carried in the instant message, and add the global unique identifier to the reply receipt report to enable the return receipt report. Responding to the specified return receipt report receiving client, but not limited thereto.
  • the CPM participating functional entity may also acquire and save the received return receipt report received in the instant message when receiving the instant message. The global unique identifier of the party.
  • the foregoing system may be applied to a CPM system, where the sender client and the specified return receipt receiver client may be CPM clients, and the instant message server includes at least a participating functional entity and a control function entity in the CPM system,
  • the message is a CPM message in the CPM system, which may specifically be a paging message or a large message mode CPM message in the CPM system.
  • FIG. 2 it is a schematic structural diagram of a message request routing processing system according to an embodiment of the present invention.
  • the message requesting sender client 22 is configured to send a first message request, and is further configured to carry the global unique identifier of the specified client and the routing address of the designated server 24 in the first message request;
  • the designated client is one of a message requesting sender client or a client using the same user identifier as the message requesting sender client;
  • the specifying server 24 is configured to receive the first message request to generate a second message request, and further configured to carry, in the second message request, a routing address of the designated server 24 and a global unique identifier of the specified client;
  • the message requesting receiver client 26 is configured to receive the second message request, and is further configured to generate a third message request, and further configured to carry, in the third message request, the location obtained from the second message request The routing address of the server 24 and the global unique identifier of the specified client;
  • the specifying server 26 is further configured to receive the third message request to generate a fourth message request, and further to carry the global unique identifier obtained from the third message request in the fourth message request.
  • the client A1, the client ⁇ 2, and the client A3 are multiple simultaneous clients that use the same user identifier, and the client ⁇ , the client C, and the client D are the receivers of the message request sent by the sender client. Client.
  • the message request sender client and the message request receiver client are instant message clients;
  • the server is a group logic processing function entity in the instant messaging system;
  • the first message requests an instant message sent by the sender instant messaging client;
  • the second message requests an instant message sent by the instant message group logical processing function entity;
  • the fourth message requests the receipt report sent by the instant message group logic processing function entity.
  • the designated client is a pre-specified other client that uses the same user ID as the sender instant messaging client, that is, the recipient client that specifies the receipt report.
  • the sender client and the specified receipt report receiver client are CPM clients
  • the instant message is a CPM message in the CPM system
  • the group logic processing function entity is a control in the CPM system. Functional entity.
  • the sending solution of the return receipt report provided by the embodiment of the present invention is particularly suitable for the case where multiple clients are online at the same time after sending an instant message in the sending direction of the instant message, thereby solving the problem of the instant message sender.
  • the receipt report cannot be sent to the specified client, which improves the user experience.
  • the group server may also save the global unique identifier of the receipt report receiver carried in the received instant message locally, and the instant message receiver may not add the identifier.
  • the group server adds the unique identifier of the locally saved receipt report receiver client to the receipt report for transmission.
  • the instant message group server When receiving the instant message, acquires and saves the global unique identifier of the sender client carried in the instant message, and the receiver client sends the receipt report according to the existing sending manner, and the instant message group is sent.
  • the group server When receiving the return report returned by each receiver, the group server performs a process of returning the report, and carries the saved global unique identifier of the sender client in the processed report of the receipt (specifically, the request of the report of the return receipt)
  • the URI carries, and the receipt report is finally routed to the sender client corresponding to the global unique identifier.
  • the instant message group server can record the relevant information of the instant message, for example, a message ID (Message ID), etc., so that after receiving the receipt report of the instant message, the message identification number according to the receipt report can be It is determined that the receipt report is a receipt for the above instant message, thereby associating the instant message with its receipt report.
  • a message ID Message ID
  • the specific method is not limited in the embodiment of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明提供了一种消息请求的路由方法及处理系统,本发明根据预先的指定,将消息请求接收方反馈的消息经过服务器路由至指定的使用同一用户标识的多个同时在线的客户端中的一个接收,满足了用户需求,提高了用户体验。

Description

消息请求的路由方法及处理系统 技术领域
本发明涉及通信领域, 具体而言, 涉及一种消息请求的路由方法及处 理系统。 背景技术
传统的短消息业务能够提供短信回执功能, 即, 发送方发送短消息后 会接收到一条回执报告, 从而获知该短消息已经被发送至接收方。 彩信业 务的回执除了提供传输报告 ( Delivery Report ) 夕卜, 还提供阅读报告 ( Read Report ), 即接收方阅读该条彩信后, 产生一条阅读报告以便告知发送方该 条彩信已被阅读。
即时消息业务( Instant Message )可以支持类似的回执报告。 即时消息 系统通过给用户分配不同的用户标识 (或者, 称为帐户或地址) 来区分用 户, 用户使用这个用户标识进行登录注册以及相互通信。 为了提高用户体 验, 越来越多的终端(包括手机、 个人 PC等 )支持一个用户标识同时登录 多个终端的功能。 以即时消息业务为例, 一个用户可以拥有一个用户标识, 并同时多个不同的终端上登录注册在线。
当即时消息用户向群组(包括预设群组和临时群组)发送即时消息时, 对于群组中的每个即时消息接收方, 都会返回回执报告, 而对于发送方来 说, 如果发送一条即时消息会接收到多条回执报告则显得有些烦扰。
对于 IP电话或视频会议 (邀请一个群组参加会议),会议受邀方也需要 向会议发起方返回回执消息(不一定是回执报告的形式), 即需要将回执信 息按照先返回群组服务器再返回给会议发起方客户端这样的路径返回。 融合即时消息( CPM , Converged IP Messaging )能够实现多种消息业 务的互通,提供统一消息业务以及完善一致并且方便的消息业务体验。 CPM 的业务形式包括: 基于寻呼模式 (pager-mode ) 的 CPM、 基于会话模式 ( session-mode )的大消息模式 CPM ( Large Message Mode CPM Message )、 基于 session的其他 CPM会话业务( CPM Session业务)。 在用户正常使用 这些业务前,需要注册登录到 CPM系统,即通常所说的 "上线",或称 CPM 系统内可达 ( Available )„
CPM地址( CPM Address )是 CPM系统(可称为 CPM Enabler,即 CPM 业务引擎) 中用来区分系统中不同用户的用户标识, 且可以支持两种回执 报告(Disposition Notification ), 即传输报告和阅读报告。 为提高用户体验, 在 CPM系统中, 一个用户可以拥有多个 CPM地址, 并且可以在多个终端 设备上注册, 即同时 "在线"。
在相关现有技术中, 提出了用户向群组发送即时消息时, 如果用户指 明需要回执报告,那么 CPM系统可以将每个接收方返回的回执报告合并后 再发送给即时消息发送方, 从而解决了用户被打扰的问题。 合并方法比如, 对于群组中的每个接收方返回的回执报告, 回执报告先路由至群组服务器, 由群组服务器进行对多个回执报告合并, 再将合并的回执报告发送给原来 的即时消息发送方客户端。
在以上的即时消息系统及 CPM系统中,如果一个用户向群组发送了消 息且该用户为该条消息申请了回执, 那么, 网络侧业务服务器在接收到接 收方的回执报告后, 将回执报告发送给原消息的发送方。 为了防止用户被 打扰, 回执报告需要路由到相关群组服务器进行合并处理, 然而, 若原发 送方有多个消息客户端同时在线, 现有技术无法确定具体向哪个在线消息 客户端发送该回执报告, 无法对该回执报告进行后续的处理, 导致回执报 告无法发送给指定的客户端。
类似地, 对于 CPM系统中的 CPM Session的业务, 在 CPM Session的 发起方 CPM客户端向群组发起一个 CPM Session会话时, 在需要接收方向 原来发起方 CPM客户端返回回执消息时, 也面临以上问题。 具体地, 一个 用户向群组发起一个 CPM Session会话, 对于群组内的接收方, 向原来的 发送方客户端返回一个回执消息, 那么, 这个回执消息也可以像上面介绍 的 CPM Message回执报告一样先由各个会话受邀请方路由至 CPM控制功 能实体, 再由 CPM控制功能实体对回执消息合并处理后, 最后发送给原来 的会话邀请方客户端。 发明内容
本发明的目的在于提供一种消息请求的路由方法及处理系统, 以解决 上述问题。
本发明首先提供了一种消息请求的路由方法, 所述方法包括: 使用同一用户标识的多个客户端, 其中一个客户端发送第一消息请求 时, 在该第一消息请求中携带指定客户端的全局唯一标识和一指定服务器 的路由地址, 所述第一消息请求根据所述指定服务器的路由地址路由至所 述指定服务器, 其中所述指定客户端为所述使用同一用户标识的多个客户 端中的一个;
所述指定服务器根据所述第一消息请求产生第二消息请求, 在所述第 二消息请求中携带所述指定服务器的路由地址和所述指定客户端的全局唯 一标识, 所述第二消息请求由接收方客户端接收;
所述接收方客户端产生第三消息请求, 在所述第三消息请求中携带从 所述第二消息请求中获取的所述指定服务器的路由地址和指定客户端的全 局唯一标识, 所述第三消息请求根据所述指定服务器的路由地址路由至所 述指定服务器;
所述指定服务器根据所述第三消息请求, 产生第四消息请求, 所述第 四消息请求中携带从所述第三消息请求中获取的所述指定客户端的全局唯 一标识, 所述第四消息请求根据所述全局唯一标识路由至所述全局唯一标 识对应的指定客户端。
进一步地, 所述使用同一用户标识的多个客户端, 为即时消息客户端; 所述服务器为即时消息群组逻辑功能处理实体;
所述第一消息请求为所述即时消息客户端发送的第一即时消息; 所述第二消息请求为所述即时消息群组逻辑功能处理实体发送的第二 即时消息;
所述第三消息请求为即时消息接收方客户端发送的与所述第二即时消 息对应的回执报告;
所述第四消息请求为即时消息群组逻辑处理功能实体发送的所述回执 报告;
所述指定客户端为预先指定的使用同一用户标识的即时消息客户端中 的一个, 用于接收所述即时消息群组逻辑处理功能实体发送的所述回执报 告, 也称为指定回执报告接收方客户端。
进一步地, 对于向群组发送的即时消息, 将所述即时消息的回执报告 路由至所述指定回执报告接收方客户端包括:
群组中各个即时消息接收方客户端从接收到的所述第二即时消息中获 取所述群组逻辑处理功能实体路由地址和所述指定回执报告接收方客户端 的全局唯一标识, 在发送的回执报告中携带所述群组逻辑处理功能实体路 由地址和所述指定回执报告接收方客户端的全局唯一标识, 根据所述群组 逻辑处理功能实体路由地址, 回执报告被路由至群组逻辑处理功能实体; 所述群组逻辑处理功能实体获取所述回执报告中携带的指定回执报告 接收方客户端的全局唯一标识, 在发送的合并处理后的回执报告中携带该 全局唯一标识, 根据该标识, 所述回执报告被路由至所述指定的回执报告 接收方客户端。
进一步地, 所述全局唯一标识包括: 全局可路由用户代理全球资源标 识符 GRUU。
进一步地, 即时消息发送方客户端在发送即时消息时, 在该即时消息 中携带指定回执报告接收方客户端的全局唯一标识, 具体为:
对于通过 SIP : MESSAGE 传送的即时消息内容的情况, 在 SIP : MESSAGE 消息头部携带 GRUU , 或者通过消息内的 MIME 头部携带 GRUU;
对于通过 SIP协议进行信令控制而釆用 MSRP传送即时消息内容的情 况, 在 SIP: INVITE消息头部携带 GRUU; 或者通过媒体面消息内容携带 GRUU。
进一步地, 所述在 SIP: MESSAGE消息头部携带 GRUU包括: 釆用 消息头部的 From字段;
所述通过消息内的 MIME头部携带 GRUU包括: 在即时消息消息内容 为通用呈现和即时消息 CPIM格式时, 釆用 CPIM头部 From字段携带; 所述在 SIP: INVITE消息头部携带 GRUU包括: 在 SIP: From字段或 者 SIP: Contact字段携带;
所述通过媒体面消息内容携带 GRUU 包括: 在即时消息消息内容为 CPIM格式时 , 在 CPIM头部 From字段携带。
进一步地, 即时消息接收方客户端通过以下方式在所述回执 ^艮告中携 带所述群组逻辑处理功能实体路由地址: 通过所述回执报告中的请求全球 资源标识符字段 Request-URI携带所述群组服务器路由地址; 或,通过所述 回执报告的消息内容头部字段 IMDN-Route中携带。
进一步地, 即时消息接收方客户端通过以下方式在所述回执 ^艮告中携 带所述回执报告接收方客户端的全局唯一标识: 通过所述回执报告中的请 求全球资源标识符字段 Request-URI携带; 或,通过所述回执报告的消息内 容头部字段 IMDN-Route携带; 或,通过所述回执消息的消息内容头部字段 CPIM To携带; 或, 通过所述回执消息的消息内容头部字段 CPIM From携 带。
进一步地, 所述群组逻辑处理功能实体通过以下方式在发送的所述回 执报告中携带所述指定回执报告接收方全局唯一标识: 通过所述回执报告 中的请求全球资源标识符字段 Request-URI携带所述指定回执报告接收方 全局唯一标识。
进一步地, 所述即时消息发送方客户端和所述指定回执报告接收方客 户端为 CPM客户端 , 所述即时消息为 CPM系统中的 CPM消息 , 即 CPM 寻呼消息和大消息模式 CPM消息; 所述群组逻辑处理功能实体为 CPM系 统的控制功能实体。
本发明还提供了一种消息请求的处理系统, 包括: 消息请求发送方客 户端、 消息请求接收方客户端和指定服务器, 其中,
消息请求发送方客户端用于发送第一消息请求, 还用于在该第一消息 请求中携带指定客户端的全局唯一标识和指定服务器的路由地址; 其中, 所述指定客户端为与消息请求发送方客户端或者与所述消息请求发送方客 户端使用同一用户标识中的客户端中的一个;
指定服务器用于接收所述第一消息请求产生第二消息请求, 还用于在 所述第二消息请求中携带所述指定服务器的路由地址和所述指定客户端的 全局唯一标识;
消息请求接收方客户端用于接收所述第二消息请求, 还用于产生第三 消息请求, 还用于在所述第三消息请求中携带从所述第二消息请求中获取 的所述指定服务器的路由地址和指定客户端的全局唯一标识;
所述指定服务器还用于接收所述第三消息请求产生第四消息请求, 还 用于在第四消息请求中携带从所述第三消息请求中获取的全局唯一标识。
进一步地, 所述消息请求发送方客户端和消息请求接收方客户端为即 时消息客户端; 所述服务器为即时消息系统中群组逻辑处理功能实体; 所述第一消息请求为所述发送方即时消息客户端发送的即时消息; 所述第二消息请求为所述即时消息群组逻辑处理功能实体发送的即时 消息;
所述第三消息请求为即时消息接收方客户端发送所述第二即时消息对 应的回执艮告;
所述第四消息请求为即时消息群组逻辑处理功能实体发送的所述回执 报告;
所述指定客户端为预先指定的使用与所述发送方即时消息客户端相同 用户标识的其它客户端, 也即指定回执报告的接收方客户端。
进一步地, 所述发送方客户端和所述指定回执报告接收方客户端为
CPM客户端, 所述即时消息为 CPM系统中的 CPM消息, 所述群组逻辑处 理功能实体为 CPM系统中的控制功能实体。
釆用本发明, 对现有的消息请求路由业务进行了改进和补充。 相比较 而言, 现有技术中, 对于消息请求发送方使用同一用户标识的多个客户端 同时在线时, 无法通过服务器将消息请求接收方反馈的消息路由至指定的 客户端接收; 而本发明, 根据预先的指定, 将消息请求接收方反馈的消息 经过服务器路由至指定的使用同一用户标识的多个同时在线的客户端中的 一个接收, 满足了用户需求, 提高了用户体验。 附图说明
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一 部分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发 明的不当限定。 在附图中:
图 1为本发明实施例中即时消息的发送及回执报告的发送流程图; 图 2是本发明实施例的消息请求路由处理系统的结构示意图。 具体实施方式
下文以即时消息为实施例, 参考附图来详细说明本发明。 需要说明的 是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组 合。
在本发明实施例中, 通过客户端的全局唯一标识来区分属于同一个用 户标识的不同的客户端。
本发明实施例针对即时消息的发送方向群组发送即时消息后, 发送方 有多个客户端同时在线 (即有多个客户端使用同一个用户标识同时在线) 的情况下, 即时消息的回执报告无法路由到给指定的客户端的问题, 提供 了具体的解决方案, 具体包括: 发送方客户端在发送即时消息时, 在该即 时消息中携带群组服务器 (即群组逻辑处理功能实体)路由地址和回执报 告接收方客户端的全局唯一标识, 即时消息路由至群组服务器之后, 群组 服务器向群组中的每个接收方均发送即时消息, 在每个即时消息中均携带 群组路由地址和回执报告接收方的全局唯一标识, 接收方客户端在回复回 执报告时, 在回执报告中携带群组服务器和回执报告接收方客户端全局唯 一标识。
图 1 为本发明实施例中即时消息的发送及回执 告的发送流程图, 在 图 1 中, 发送方有 n个使用同一个用户标识的发送方客户端 (也可以称为 即时消息客户端) 同时在线 (具体是指在即时消息服务器将回执报告发送 给发送方客户端之时), 在其中一个发送方客户端发送即时消息后, 由于该 消息中的路由地址为即时消息群组服务器, 该即时消息路由到群组服务器 中, 群组服务器再针对群组中的每个接收方发送即时消息, 为保证回执报 告仍然返回到群组服务器进行合并处理, 群组服务器在发送的即时消息中 携带本服务器的路由地址, 接收方客户端在接收到即时消息之后, 将针对 该即时消息回复一个回执报告, 并在回执报告中携带群组服务器地址和回 执报告接收方客户端的全局唯一标识地址。
在实际应用中, 在这种实施方案中接收方客户端在接收到即时消息时, 获取该即时消息中携带的即时消息群组服务器路由地址和回执报告接收方 客户端的全局唯一标识, 在发送的回执报告中携带该群组服务器路由地址 和全局唯一标识;
接收方客户端可以按照以下方式在回执报告中携带上述群组服务器地 址: 接收方客户端通过回执报告中的请求全球资源标识符字段
( Request-URI )携带上述群组服务器地址; 或者, 也可以通过回执报告消 息内容的头字段 IMDN-Route (其中, IMDN-Route是字段名, IMDN是即 时消息处理报告,也就是指送达报告和阅读报告, IMDN— Route指处理报告 路由字段)携带; 或者,
接收方客户端可以按照以下方式在回执报告中携带上述回执报告接收 方客户端的全局唯一标识: 接收方客户端通过回执报告中的请求全球资源 标识符字段 ( Request-URI )携带; 或者通过回执报告的内容头字段 From 字段携带; 或者通过回执报告内容头字段 CPM To字段携带; 或者通过回执 报告内容头字段 IMDN-Route携带。
在上述实施方案中, 发送方客户端的全局唯一标识可以为该发送方客 户端的全局可路由用户代理全球资源标识符( GRUU )。
在具体实施过程中,上述两种实施方案均可用于 CPM系统和基于 IMS 的即时消息系统中, 在 CPM系统中, 上述发送方的客户端可以为 CPM客 户端, 即时消息可以为 CPM系统中的 CPM消息, 优选地, 可以为 CPM系 统中的寻呼消息或大消息模式 CPM消息,而即时消息服务器可以包括 CPM 系统的参与功能实体 ( Participating Function )和控制功能实体 (Controlling Function)。
在 CPM系统中, 釆用上述实施方案时, 即时消息群组服务器是通过把 指定回执报告接收方客户端的全局唯一标识保存在即时消息系统中获得 的, 则该全局唯一标识也可以为发送方归属的源端参与功能实体来保存; 或者, 由接收方归属的目的端参与功能实体来保存该全局唯一标识。
本发明实施例所提及的即时消息, 对于一般的即时消息业务来说, 即 时消息的消息内容可以看作是按照 MIME格式编码的; 当即时消息具体为 CPM消息时, 可以确定 CPM消息的两种方式, 即 CPM寻呼消息和大消息 模式 CPM消息的消息内容,该两种方式的即时消息消息内容是按照通用呈 现和即时消息 ( CPIM, Common Presence and Instant Messaging )格式来进 行编码的。
并且,本发明实施例提供的上述方案同样适用于基于多媒体子系统( IP Multimedia Subsystem,简称为 IMS )的即时消息系统,在 IMS系统中, SIP/IP 核心网为 IMS核心网, 即时消息服务器为 IMS系统中的即时消息应用服务 另外, 本发明同样适用于其他基于 SIP协议的即时消息系统, 本发明 即时消息架构为基于 SIP/IP核心网的架构, 在某些网络环境下, SIP/IP核 心网可以是与即时消息应用服务器集成在一起的功能单元, 本发明同样适 用于这种组网情况。 明。
图 1为本实施例的流程图,不失一般性,假定 Client-B、 Client-C、 Client-D 为群组中三个接收方即时消息客户端。 本实施例主要包括以下步骤:
步骤 101 ,发送方客户端向一个群组发送即时消息, 即时消息路由至群 组服务器。 在消息请求中携带有 A1的唯一身份标识(ID-A1 ) 以及服务器 S的地址(Addr-S )。 其中, 该即时消息中携带有请求回执 4艮告的指示信息, 其中, 回执报告包括但不限于以下报告中的至少之一: 传输报告、 阅读报 告。
该即时消息是可以通过 SIP Message方式或基于 MSRP协议的大消息方 式传输。 图 1中省略了即时消息的发送过程具体流程。 在具体实施过程中, 即时消息也可以不携带请求回执类消息的指示信息, 此时可以根据事先设 定默认为请求或不请求回执类消息来确定。 在该即时消息中, 携带群组服 务器的路由地址和指定的回执报告接收方全局路由唯一标识, 指定的回执 报告接收方为即时消息的发送方或者与该接收方使用同一用户标识的其他 客户端。
在具体应用中, 即时消息服务器可以为由一个或多个功能实体组成的 业务系统, 群组服务器为即时消息服务器中的一个功能实体, 主要处理和 群组相关的业务。 一般情况, 可以将网络侧 (相对于客户端来说) 实现全 部即时消息业务功能的实体看作是即时消息服务器。 图 1 省略了其他功能 实体, 只标注了和本发明直接相关的群组服务器。
步骤 102-步骤 104, 群组服务器向群组中的用户 Client-B、 Client-C、 Client-D发送即时消息。
群组服务器在发送的即时消息中, 携带本身的路由地址, 用于回执报 告仍然能够返回到群组服务器, 进行回执报告的合并处理。
步骤 105-步骤 107, Client-B、 Client-C、 Client-D发送回执才艮告。 即时消息接收方在发送的回执报告中, 携带群组服务器的地址和指定 的回执报告接收方全局唯一标识, 用于回执报告仍然能够返回到群组服务 器, 进行回执 "^告的合并处理。
步骤 108, 群组服务器接收到群组内的各个接收方发来的回执报告后, 进行合并处理, 并将合并后的回执报告发送给指定回执报告接收方客户端。
在上述步骤中, 即时消息服务器也可以把即时消息携带的指定回执报 告接收方的全局唯一标识进行保存, 从而群组服务器可以从即时消息服务 器中获得该标识, 而即时消息接收方客户端则不必携带该全局唯一标识。
本发明的实施例中, 即时消息可以通过 SIP协议的 MESSAGE方式 , 或釆用 SIP协议进行信令控制且釆用 MSRP协议传送即时消息内容的方式 传输, 其中, 在即时消息通过 SIP协议的 MESSAGE方式传输的情况下, 即时消息的内容格式按照多功能因特网邮件扩充服务( MIME , Multipurpose Internet Mail Extensions )协议编码, 请求回执类消息的指示信息在 MIME 头部携带; 在即时消息通过釆用 SIP协议进行信令控制且釆用 MSRP协议 传送即时消息内容的方式传输的情况下, 即时消息的内容格式按照 MIME 协议编码, 请求回执类消息的指示信息在 MSRP SEND消息体的 MIME头 部携带。
上述步骤 101 中, 携带的发送方客户端的全局唯一标识可以为该客户 端的全局可路由用户代理全球资源标识符( GRUU, Globally Routable User Agent Universal Resource Identifier ), 对于通过 SIP: MESSAGE传送的即 时消息内容的情况, 可以在 SIP: MESSAGE消息头部携带 GRUU, 如釆用 消息头部的 From字段或者 Contact字段携带; 或者通过消息内的 MIME头 部携带, 如即时消息内容为 CPIM格式时, 可以釆用 CPIM头部 From字段 携带; 对于通过 SIP协议进行信令控制而釆用 MSRP传送即时消息内容的 情况, 在 SIP: INVITE消息头部携带 GRUU, 如通过 SIP: From字段或者 SIP: Contact字段携带; 或者通过媒体面消息内容, 如 MIME头部携带, 在即时消息内容为 CPIM格式时, 可以釆用 CPIM头部 From字段携带。
步骤 101中, 即时消息通过在 SIP Request-URI携带群组服务器相关的 路由地址, 对于预设群组( Pre-defmed Group ) , 将预设群组地址设置为该 路由地址; 对于临时群组, 将群组服务器地址设置为该路由地址。 根据该 地址, 即时消息路由至群组服务器, 群组服务器在向群组中的每个接收方 发送即时消息中, 将自己路由地址添加在即时消息内容 CPIM 头部字段 IMDN-Record-Route中。
接收方可以通过 SIP头部字段 Request-URI在回执报告中携带群组服务 器路由地址, 并且将即时消息携带的回执报告接收方客户端的全局唯一标 识通过即时消息内容 CPIM头部字段 CPIM-To携带。 群组服务器接收到各个接收方发送的回执报告后, 进行合并处理, 并 将合并后的回执报告发送给回执报告的接收方, 具体是将 CPIM-To中携带 的全局唯一标识取出, 将 SIP Request-URI字段设置为回执报告接收方全局 唯一标识。
本实施例适用于 CPM系统, 本实施例中的群组服务器为 CPM控制功 能实体。
在 CPM系统中 ,消息的回执报告由 CPM消息的接收方 CPM客户端发 出后, 路由至控制功能实体, 由控制功能实体合并处理后再发送给回执报 告接收方 CPM客户端。
上述提到的终端是指运行即时消息客户端的物理实体, 一般情况, 一 个物理实体上可以运行一个即时消息客户端, 所以, 发送给特定终端也就 是发送给运行在该终端上的即时消息客户端。
需要说明的是,在上述实施例中可以由 CPM系统控制功能实体获取并 保存即时消息中携带的回执报告接收方的全局唯一标识, 并在回复回执报 告中添加该全局唯一标识, 以使回执报告回复至指定回执报告接收方客户 端, 但并不限于此, 在本发明实施例中, 也可以由 CPM参与功能实体在接 收到即时消息时, 获取并保存该即时消息中的携带的回执报告接收方的全 局唯一标识。
在具体应用中, 上述系统可以应用于 CPM系统, 上述发送方客户端和 指定回执报告接收方客户端可以为 CPM客户端, 即时消息服务器至少包括 CPM 系统中的参与功能实体和控制功能实体, 即时消息为 CPM 系统中的 CPM消息, 具体可以为 CPM系统中的寻呼消息或大消息模式 CPM消息。
根据本发明实施例, 还提供了另一种回执报告的处理系统, 如图 2所 示, 为本发明实施例的消息请求路由处理系统的结构示意图。
消息请求发送方客户端 22, 用于发送第一消息请求, 还用于在该第一 消息请求中携带指定客户端的全局唯一标识和指定服务器 24的路由地址; 其中, 所述指定客户端为消息请求发送方客户端或者与所述消息请求发送 方客户端使用同一用户标识的客户端中的一个;
指定服务器 24, 用于接收所述第一消息请求产生第二消息请求, 还用 于在所述第二消息请求中携带所述指定服务器 24的路由地址和所述指定客 户端的全局唯一标识;
消息请求接收方客户端 26, 用于接收所述第二消息请求, 还用于产生 第三消息请求, 还用于在所述第三消息请求中携带从所述第二消息请求中 获取的所述服务器 24的路由地址和指定客户端的全局唯一标识;
指定服务器 26还用于接收所述第三消息请求产生第四消息请求, 还用 于在第四消息请求中携带从所述第三消息请求中获取的全局唯一标识。
其中, 客户端 Al、 客户端 Α2、 客户端 A3为使用同一用户标识的多个 同时在线的客户端, 客户端 Β、 客户端 C、 客户端 D为发送方客户端发送 的消息请求的接收方客户端。
本发明提供的一系统实施例中, 消息请求发送方客户端和消息请求接 收方客户端为即时消息客户端; 服务器为即时消息系统中群组逻辑处理功 能实体;
第一消息请求为所述发送方即时消息客户端发送的即时消息; 第二消息请求为所述即时消息群组逻辑处理功能实体发送的即时消 息;
第三消息请求为即时消息接收方客户端发送所述第二即时消息对应的 回执报告;
第四消息请求为即时消息群组逻辑处理功能实体发送的所述回执报 告.
指定客户端为预先指定的使用与所述发送方即时消息客户端相同用户 标识的其它客户端, 也即指定回执报告的接收方客户端。 本发明提供的另一系统实施例中, 发送方客户端和指定回执报告接收 方客户端为 CPM客户端, 即时消息为 CPM系统中的 CPM消息 ,群组逻辑 处理功能实体为 CPM系统中的控制功能实体。
综上所述, 本发明实施例提供的回执报告的发送方案尤其适用于在即 时消息的发送方向群组发送即时消息后, 具备多个客户端同时在线的情况, 从而解决了在即时消息发送方有多个客户端同时在线的情况下, 回执报告 无法发送给指定的客户端的问题, 提高了用户体验。
值得说明的是, 在本发明提出的方法中, 群组服务器也可以将接收到 的即时消息中携带的回执报告接收方全局唯一标识保存在本地, 而即时消 息接收方则可以不把该标识添加在回执报告中, 当群组服务器需要向即时 消息发送方返回回执报告时, 群组服务器再把本地保存的回执报告接收方 客户端的唯一标识添加在回执报告中发送出去。
即时消息群组服务器在接收到即时消息时, 获取并保存该即时消息中 携带的发送方客户端的全局唯一标识, 接收方客户端在发送回执报告时, 按照现有的发送方式发送, 即时消息群组服务器在接收到各个接收方返回 的回执报告时, 进行回执报告合并处理, 将保存的上述发送方客户端的全 局唯一标识携带在该处理后的回执报告中 (具体也可以通过回执报告的 Request-URI携带)发送, 该回执报告最终路由至该全局唯一标识对应的发 送方客户端。
在具体应用中, 即时消息群组服务器可以通过记录即时消息的相关信 息, 例如, 消息识别号(Message ID )等, 以便在接收到该即时消息的回执 报告后, 可以根据回执报告的消息识别号确定该回执报告是针对上述即时 消息的回执, 从而将即时消息与其回执报告关联。 目前现有技术中已提供 多种确定即时消息与回执报告对应关系的方法, 具体釆用什么样的方法在 本发明实施例中不作限定。
显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤 可以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者 分布在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执 行的程序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来 执行, 并且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的 步骤, 或者将它们分别制作成各个集成电路模块, 或者将它们中的多个模 块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任何特 定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于 本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明 的保护范围之内。

Claims

权利要求书
1、 一种消息请求的路由方法, 其特征在于, 所述方法包括: 使用同一用户标识的多个客户端, 其中一个客户端发送第一消息请求 时, 在该第一消息请求中携带指定客户端的全局唯一标识和一指定服务器 的路由地址, 所述第一消息请求根据所述指定服务器的路由地址路由至所 述指定服务器, 其中所述指定客户端为所述使用同一用户标识的多个客户 端中的一个;
所述指定服务器根据所述第一消息请求产生第二消息请求, 在所述第 二消息请求中携带所述指定服务器的路由地址和所述指定客户端的全局唯 一标识, 所述第二消息请求由接收方客户端接收;
所述接收方客户端产生第三消息请求, 在所述第三消息请求中携带从 所述第二消息请求中获取的所述指定服务器的路由地址和指定客户端的全 局唯一标识, 所述第三消息请求根据所述指定服务器的路由地址路由至所 述指定服务器;
所述指定服务器根据所述第三消息请求, 产生第四消息请求, 所述第 四消息请求中携带从所述第三消息请求中获取的所述指定客户端的全局唯 一标识, 所述第四消息请求根据所述全局唯一标识路由至所述全局唯一标 识对应的指定客户端。
2、 根据权利要求 1所述的路由方法, 其特征在于,
所述使用同一用户标识的多个客户端, 为即时消息客户端; 所述服务 器为即时消息群组逻辑功能处理实体;
所述第一消息请求为所述即时消息客户端发送的第一即时消息; 所述第二消息请求为所述即时消息群组逻辑功能处理实体发送的第二 即时消息; 所述第三消息请求为即时消息接收方客户端发送的与所述第二即时消 息对应的回执报告;
所述第四消息请求为即时消息群组逻辑处理功能实体发送的所述回执 报告;
所述指定客户端为预先指定的使用同一用户标识的即时消息客户端中 的一个, 用于接收所述即时消息群组逻辑处理功能实体发送的所述回执报 告, 也称为指定回执报告接收方客户端。
3、 根据权利要求 2所述的方法, 其特征在于, 对于向群组发送的即时 消息, 将所述即时消息的回执报告路由至所述指定回执报告接收方客户端 包括:
群组中各个即时消息接收方客户端从接收到的所述第二即时消息中获 取所述群组逻辑处理功能实体路由地址和所述指定回执报告接收方客户端 的全局唯一标识, 在发送的回执报告中携带所述群组逻辑处理功能实体路 由地址和所述指定回执报告接收方客户端的全局唯一标识, 根据所述群组 逻辑处理功能实体路由地址, 回执报告被路由至群组逻辑处理功能实体; 所述群组逻辑处理功能实体获取所述回执报告中携带的指定回执报告 接收方客户端的全局唯一标识, 在发送的合并处理后的回执报告中携带该 全局唯一标识, 根据该标识, 所述回执报告被路由至所述指定回执报告接 收方客户端。
4、 根据权利要求 2至 3中任一项所述的方法, 其特征在于, 所述全局 唯一标识包括: 全局可路由用户代理全球资源标识符 GRUU。
5、 根据权利要求 4所述的方法, 其特征在于, 即时消息发送方客户端 在发送即时消息时, 在该即时消息中携带指定回执报告接收方客户端的全 局唯一标识, 具体为:
对于通过 SIP : MESSAGE 传送的即时消息内容的情况, 在 SIP : MESSAGE 消息头部携带 GRUU , 或者通过消息内的 MIME 头部携带 GRUU;
对于通过 SIP协议进行信令控制而釆用 MSRP传送即时消息内容的情 况, 在 SIP: INVITE消息头部携带 GRUU; 或者通过媒体面消息内容携带 GRUU。
6、 根据权利要求 5所述的方法, 其特征在于,
所述在 SIP: MESSAGE消息头部携带 GRUU包括: 釆用消息头部的 From字段;
所述通过消息内的 MIME头部携带 GRUU包括: 在即时消息消息内容 为通用呈现和即时消息 CPIM格式时, 釆用 CPIM头部 From字段携带; 所述在 SIP: INVITE消息头部携带 GRUU包括: 在 SIP: From字段或 者 SIP: Contact字段携带;
所述通过媒体面消息内容携带 GRUU 包括: 在即时消息消息内容为 CPIM格式时 , 在 CPIM头部 From字段携带。
7、 根据权利要求 3所述的方法, 其特征在于, 所述即时消息接收方客 户端通过以下方式在所述回执报告中, 携带所述群组逻辑处理功能实体路 由地址:通过所述回执报告中的请求全球资源标识符字段 Request-URI携带 所述群组服务器路由地址; 或, 通过所述回执报告的消息内容头部字段 IMDN-Route中携带。
8、 根据权利要求 3所述的方法, 其特征在于, 所述即时消息接收方客 户端通过以下方式在所述回执报告中, 携带所述回执报告接收方客户端的 全局唯一标识: 通过所述回执报告中的请求全球资源标识符字段 Request-URI携带;或,通过所述回执报告的消息内容头部字段 IMDN-Route 携带; 或, 通过所述回执消息的消息内容头部字段 CPIM To携带; 或, 通 过所述回执消息的消息内容头部字段 CPIM From携带。
9、 根据权利要求 3所述的方法, 其特征在于, 所述群组逻辑处理功能 实体通过以下方式在发送的所述回执报告中携带所述指定回执报告接收方 全局唯一标识: 通过所述回执报告中的请求全球资源标识符字段
Request-URI携带所述指定回执报告接收方全局唯一标识。
10、 根据权利要求 2 中所述的方法, 其特征在于, 所述即时消息发送 方客户端和所述指定回执报告接收方客户端为 CPM客户端,所述即时消息 为 CPM系统中的 CPM消息 , 即 CPM寻呼消息和大消息模式 CPM消息; 所述群组逻辑处理功能实体为 CPM系统的控制功能实体。
11、 一种消息请求的处理系统, 其特征在于, 包括: 消息请求发送方 客户端、 消息请求接收方客户端和服务器, 其中,
消息请求发送方客户端用于发送第一消息请求, 还用于在该第一消息 请求中携带指定客户端的全局唯一标识和指定服务器的路由地址;
服务器用于接收所述第一消息请求产生第二消息请求, 还用于在所述 第二消息请求中携带所述指定服务器的路由地址和所述指定客户端的全局 唯一标识;
消息请求接收方客户端用于接收所述第二消息请求, 还用于产生第三 消息请求, 还用于在所述第三消息请求中携带从所述第二消息请求中获取 的所述指定服务器的路由地址和指定客户端的全局唯一标识;
服务器还用于接收所述第三消息请求产生第四消息请求, 还用于在第 四消息请求中携带从所述第三消息请求中获取的全局唯一标识。
12、 根据权利要求 11所述的系统, 其特征在于,
所述消息请求发送方客户端和消息请求接收方客户端为即时消息客户 端; 所述服务器为即时消息系统中群组逻辑处理功能实体;
所述第一消息请求为所述发送方即时消息客户端发送的即时消息; 所述第二消息请求为所述即时消息群组逻辑处理功能实体发送的即时 消息;
所述第三消息请求为即时消息接收方客户端发送所述第二即时消息对 应的回执艮告; 所述第四消息请求为即时消息群组逻辑处理功能实体发送的所述回执 报告;
所述指定客户端为预先指定的使用与所述发送方即时消息客户端相同 用户标识的其它客户端, 也即指定回执报告的接收方客户端;
所述用户标识为本发明所述方法对应的系统中, 用以区分不同用户的 地址或者帐号。
13、 根据权利要求 12所述的系统, 其特征在于, 所述发送方客户端和 所述指定回执报告接收方客户端为 CPM客户端, 所述即时消息为 CPM系 统中的 CPM消息, 所述群组逻辑处理功能实体为 CPM系统中的控制功能 实体。
PCT/CN2011/071431 2010-04-16 2011-03-01 消息请求的路由方法及处理系统 WO2011127772A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US13/641,464 US9444777B2 (en) 2010-04-16 2011-03-01 Method and processing system for routing a message request
BR112012026472A BR112012026472A2 (pt) 2010-04-16 2011-03-01 método para rotear um pedido de mensagem e sistema para processar um pedido de mensagem
EP11768384.7A EP2560329B1 (en) 2010-04-16 2011-03-01 Method and processing system for routing a message request

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010153289.2 2010-04-16
CN201010153289.2A CN102223293B (zh) 2010-04-16 2010-04-16 消息请求的路由方法及处理系统

Publications (1)

Publication Number Publication Date
WO2011127772A1 true WO2011127772A1 (zh) 2011-10-20

Family

ID=44779726

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/071431 WO2011127772A1 (zh) 2010-04-16 2011-03-01 消息请求的路由方法及处理系统

Country Status (5)

Country Link
US (1) US9444777B2 (zh)
EP (1) EP2560329B1 (zh)
CN (1) CN102223293B (zh)
BR (1) BR112012026472A2 (zh)
WO (1) WO2011127772A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108075904A (zh) * 2016-11-16 2018-05-25 中兴通讯股份有限公司 群消息的传输方法和系统

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297444A (zh) * 2012-02-23 2013-09-11 王正伟 身份解析方法和装置
CN103297321A (zh) * 2012-02-23 2013-09-11 王正伟 通信方法和系统
US20140141821A1 (en) * 2012-11-16 2014-05-22 Infinite Convergence Solutions, Inc. Method and Devices to Convey Session Participant List to a Store and Forward Group Chat Recipient
US9231894B1 (en) * 2013-08-14 2016-01-05 Infinite Convergence Solutions, Inc. Method and devices for instant message client swap
CN107534838B (zh) * 2015-05-07 2019-11-29 华为技术有限公司 一种业务处理方法及用户设备
US10153993B2 (en) * 2016-07-18 2018-12-11 T-Mobile Usa, Inc. RCS origination forking
US10237212B2 (en) 2016-07-18 2019-03-19 T-Mobile Usa, Inc. RCS origination forking

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355797A (zh) * 2007-07-25 2009-01-28 华为技术有限公司 获得用户终端设备信息的方法和通信业务功能实体
CN101557352A (zh) * 2008-04-11 2009-10-14 中兴通讯股份有限公司 一种实现群组消息业务的方法和系统
CN101668251A (zh) * 2008-09-05 2010-03-10 中兴通讯股份有限公司 一种基于融合业务系统实现群组消息业务的方法

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6035404A (en) * 1997-09-09 2000-03-07 International Business Machines Corporation Concurrent user access control in stateless network computing service system
DE60301145T2 (de) * 2002-05-06 2006-04-20 Telefonaktiebolaget Lm Ericsson (Publ) Mehrbenutzermultimedianachrichtendiensten
US7461151B2 (en) * 2003-11-13 2008-12-02 International Business Machines Corporation System and method enabling future messaging directives based on past participation via a history monitor
KR100824043B1 (ko) * 2005-04-08 2008-04-21 삼성전자주식회사 이동 통신 단말의 인스턴트 메시지 전송 방법 및 시스템
US7529683B2 (en) * 2005-06-29 2009-05-05 Microsoft Corporation Principals and methods for balancing the timeliness of communications and information delivery with the expected cost of interruption via deferral policies
US20080147804A1 (en) * 2006-12-19 2008-06-19 Wesley Jerome Gyure Response requested message management system
WO2009104860A1 (en) * 2008-02-22 2009-08-27 Lg Electronics Inc. Terminal and method for storing and retrieving messages in a converged ip messaging service
KR101457217B1 (ko) * 2008-05-02 2014-10-31 삼성전자주식회사 멀티클라이언트 간 세션 이동을 위한 시스템 및 방법
KR101524313B1 (ko) * 2008-12-11 2015-05-29 삼성전자주식회사 통합 메시징 서비스에서 인스턴트 메시징 처리 통지 요청과 응답 방법 및 그 시스템

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355797A (zh) * 2007-07-25 2009-01-28 华为技术有限公司 获得用户终端设备信息的方法和通信业务功能实体
CN101557352A (zh) * 2008-04-11 2009-10-14 中兴通讯股份有限公司 一种实现群组消息业务的方法和系统
CN101668251A (zh) * 2008-09-05 2010-03-10 中兴通讯股份有限公司 一种基于融合业务系统实现群组消息业务的方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2560329A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108075904A (zh) * 2016-11-16 2018-05-25 中兴通讯股份有限公司 群消息的传输方法和系统

Also Published As

Publication number Publication date
BR112012026472A2 (pt) 2016-08-16
US20130036183A1 (en) 2013-02-07
EP2560329A4 (en) 2014-04-02
US9444777B2 (en) 2016-09-13
EP2560329A1 (en) 2013-02-20
EP2560329B1 (en) 2016-04-27
CN102223293A (zh) 2011-10-19
CN102223293B (zh) 2015-09-16

Similar Documents

Publication Publication Date Title
WO2011127772A1 (zh) 消息请求的路由方法及处理系统
EP1635521B1 (en) Reducing storage requirement for route information
US9204264B2 (en) Exchange of messages and sessions
CN101170523B (zh) 文件传输系统、方法以及文件中转决策服务器
EP2342883B1 (en) File transfer in conference services
JP2009512931A (ja) オフラインインスタントメッセージのリトリーブ
CN102130845B (zh) 回执报告的发送方法及处理系统
KR101581674B1 (ko) 통합메시징 서비스 시스템에서 사용자의 요청에 따라 컨버세이션을 저장하기 위한 방법 및 그 시스템
US20080250149A1 (en) Methods And System For Providing Concurrent Access To A Resource In A Communication Session
WO2007009369A1 (fr) Méthode et système grâce auxquels un utilisateur de messagerie instantanée peut utiliser un chat room d’un système de messagerie instantanée auquel l’utilisateur n’appartient pas
KR20100133882A (ko) CPM 세션에서 이산 미디어 타입(discrete media type)의 메시지 전달 순서를 지키는 방법 및 장치
WO2012013033A1 (zh) 请求消息的处理方法和系统
CN102123133A (zh) 不同消息业务平台互通时传送消息回执的方法和消息系统
CN101355533B (zh) 一种通信互连方法和设备
US7643473B2 (en) Instant messaging with audio connection formation
CN101374254A (zh) 通信系统中传送报告的方法及设备
WO2012155652A1 (zh) 跨社交网络的通信方法、网元及系统
US9596577B1 (en) Relaying mobile communications
US8738716B2 (en) System and method for routing instant messages
WO2009036689A1 (fr) Procédé d'association de message, terminal d'utilisateur et serveur
KR20100060355A (ko) 통신 시스템에서 그룹 메시징 세션 생성 방법 및 그 시스템
WO2008080334A1 (fr) Agent d'utilisateur dos à dos et procédé de transmission d'informations associé
CN102291823A (zh) 通信系统中传送报告的方法及设备
KR20070051655A (ko) Sip 기반 서비스에서의 pt 서버와 다중 pt데이터베이스 서버 간 연동 방법 및 그 연동을 위한 단말기
WO2008049349A1 (fr) Système de messagerie universelle et procédé d'interaction avec le terminal de messagerie spéciale

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: 11768384

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 13641464

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2011768384

Country of ref document: EP

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112012026472

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112012026472

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20121016