WO2009026842A1 - A processing method and device of the session initiation protocol push message - Google Patents

A processing method and device of the session initiation protocol push message Download PDF

Info

Publication number
WO2009026842A1
WO2009026842A1 PCT/CN2008/072110 CN2008072110W WO2009026842A1 WO 2009026842 A1 WO2009026842 A1 WO 2009026842A1 CN 2008072110 W CN2008072110 W CN 2008072110W WO 2009026842 A1 WO2009026842 A1 WO 2009026842A1
Authority
WO
WIPO (PCT)
Prior art keywords
push message
sip
sip push
receiving end
destination
Prior art date
Application number
PCT/CN2008/072110
Other languages
French (fr)
Chinese (zh)
Inventor
Jian Yang
Lei Wang
Guoqiao Chen
Shunan Fan
Huiping Zhang
Ting Dong
Zheng Wang
Hao Wang
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2009026842A1 publication Critical patent/WO2009026842A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a SIP (Session Initiation Protocol) PUSH (Pushing) message processing method and apparatus.
  • SIP Session Initiation Protocol
  • PUSH Pushing
  • the PUSH service is a content distribution mechanism that uses the client/server mode of work and requires the server to distribute the required content without the client making a specific request.
  • the PI PUSH Initiator, PUSH initiator
  • the PPG PUSH Proxy Gateway, PUSH Proxy Gateway
  • the SIP PUSH service uses OTA-SIP (SIP-based over-the-air) technology to encapsulate PUSH OTA (Over The Air) content in SIP messages and utilize existing SIP/IP core networks for transmission.
  • SIP PUSH service maintenance costs are small and have high interoperability, which can reuse existing resources.
  • the PUSH sending proxy 11 communicates with the PUSH receiving proxy 12 through the SIP/IP Core network.
  • the PUSH sending proxy 11 is located at the server end (PPG), and the PUSH receiving proxy 12 is located at the receiving end (PUSH receiving end).
  • FIG. 2 is a flow chart of implementing a SIP PUSH service in the prior art, including the following steps:
  • Step S201 PUSH sends a proxy registration PUSH service
  • Step S202 sending an available PUSH application and an OMA-UAProf link including device capabilities
  • Step S203 the SIP/IP Core network forwards the request to the PUSH sending proxy.
  • Step S204 if the OMA-UAProf link is received, the PUSH sends the proxy to the proxy.
  • UAProf link request device capability
  • Step S205 the UAProf server returns the device capability.
  • Step S206 the PUSH receiving proxy subscribes to the content update to be received;
  • Step S207 the SIP/IP Core network forwards the request to the PUSH sending proxy;
  • Step S208 the PUSH sending proxy receives the content sent to the PUSH receiving proxy;
  • Step S209 PUSH sends the proxy Receiving a message, and selecting a PUSH method based on the content determining delivery mechanism and quality of service (if device capabilities are available);
  • Step S210 The PUSH sending proxy sends a request to the receiving end via the SIP/IP Core network.
  • the content in the request may be encoded and converted.
  • Step S211 The SIP/IP Core network forwards the request to the PUSH receiving agent.
  • the PUSH receiving agent will use business addressing to properly pass the content in the request.
  • Step S212 after receiving the request, the PUSH receiving agent sends a report to respond.
  • Step S213 The SIP/IP Core network forwards the response report to the PUSH sending proxy.
  • Step S204 to step S207 and step S212 to step S214 are optional steps, and whether or not to perform the step may be selected according to actual conditions.
  • the terminal address identifier sent by the PPG to the SIP/IP Core needs to be resolved to the actual IP address of the terminal by the SIP/IP Core, and the PUSH receiver can receive the SIP PUSH message.
  • the SIP/IP Core may deliver the SIP PUSH message to a terminal other than the destination PUSH receiver.
  • the message sent by the PI to the PUSH receiving end of the PI belongs to the information with high privacy, if the SIP PUSH message is received by the terminal other than the destination PUSH receiving end, the risk of user privacy leakage may occur.
  • the problem to be solved by the embodiment of the present invention is to provide a processor for processing SIP PUSH messages.
  • the method and device can protect the privacy of the user when the SIP PUSH message is sent incorrectly.
  • the technical solution of the embodiment of the present invention provides a method for processing a SIP PUSH message, including the following steps: receiving a SIP PUSH message; checking whether the correct destination receiving end of the SIP PUSH message is; if not, then losing Discard the SIP PUSH message.
  • the technical solution of the embodiment of the present invention further provides a SIP PUSH receiving end, which includes a correct destination receiving end checking unit and a SIP PUSH message processing unit.
  • the correct destination receiving end checking unit is configured to check whether the received SIP PUSH is received.
  • the technical solution of the embodiment of the present invention further provides a SIP PUSH message sending end, which includes a SIP PUSH message generating unit, configured to generate and send a SIP PUSH message carrying a privacy protection identifier, where the privacy protection identifier is used to identify the SIP.
  • the PUSH receiving end performs a check of the correct destination receiving end of the SIP PUSH message.
  • the embodiment of the invention has the following advantages:
  • the SIP PUSH message is discarded by checking the correct destination receiving end of the SIP PUSH message, and the SIP PUSH message is discarded when the correct destination receiving end of the SIP PUSH message is not received, thereby preventing the SIP PUSH message from being incorrect.
  • FIG. 1 is a schematic diagram of an architecture of a SIP PUSH in the prior art
  • FIG. 3 is a flowchart of processing a SIP PUSH message according to an embodiment of the present invention
  • FIG. 4 is a flowchart of processing another SIP PUSH message according to an embodiment of the present invention
  • FIG. 5 is another SIP PUSH according to an embodiment of the present invention
  • FIG. 6 is a flowchart of processing a SIP PUSH message according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a SIP PUSH receiving end according to an embodiment of the present invention
  • the SIP PUSH receiving end processes the SIP PUSH message as shown in FIG. 3 . Includes the following steps:
  • Step S301 The SIP PUSH receiving end receives the SIP PUSH message forwarded by the SIP/IP Core network.
  • the SIP PUSH message carries the destination identifier, and the destination identifier includes the SIP, the destination address may be a SIP URI (Uniform Resource Identifier) or a mobile station international user directory number MSISDN; the destination terminal may be an IMSI. (International Mobile Subscriber Identity) or Device ID (Identifier).
  • Step S302 The SIP PUSH receiving end determines whether the destination identifier carried in the SIP PUSH message is the same as the identifier of the SIP PUSH receiving end itself; if yes, the SIP PUSH receiving end is the correct destination receiving end of the SIP PUSH message, Step S304; otherwise, the SIP PUSH receiving end is not the correct destination receiving end of the SIP PUSH message, and the process goes to step S303.
  • Step S303 discarding the SIP PUSH message and ending.
  • Step S304 the normal processing flow of the SIP PUSH message is entered, that is, the message is parsed, provided to the upper layer application, or the SIP PUSH message is displayed.
  • the embodiment of the present invention receives the SIP PUSH message to the PUSH in the SIP/IP Core network.
  • the SIP PUSH receiving end processes the SIP PUSH message as shown in FIG. 4, and includes the following steps:
  • Step S401 The SIP PUSH receiving end receives the SIP PUSH message forwarded by the SIP/IP Core network.
  • the SIP PUSH message carries the destination identifier, and the destination identifier includes the SIP, and the destination address can be a SIP URI or an MSISDN.
  • the identifier of the destination terminal can be an IMSI or a device ID.
  • Step S402 The SIP PUSH receiving end determines whether the destination identifier carried in the SIP PUSH message is the same as the identifier of the SIP PUSH receiving end itself. If yes, the SIP PUSH receiving end is the correct destination receiving end of the SIP PUSH message. Step S404; Otherwise, the SIP PUSH receiving end is not the correct destination receiving end of the SIP PUSH message, and the process goes to step S403.
  • Step S403 discarding the SIP PUSH message, returning an error status code to the sending end, and ending.
  • Step S404 the normal processing flow of the SIP PUSH message is entered, that is, the message is parsed, provided to the upper layer application, or the SIP PUSH message is displayed.
  • the SIP PUSH message sending end After the SIP PUSH message sending end receives the error status code returned by the SIP PUSH receiving end, the SIP PUSH message sending end performs data retransmission according to the error status code.
  • the SIP PUSH message sending end may be requested to retransmit the data.
  • the SIP PUSH receiving end processes the SIP PUSH message as shown in FIG. 5 . Includes the following steps:
  • Step S501 the SIP PUSH receiving end receives the SIP forwarded by the SIP/IP Core network.
  • PUSH message The SIP PUSH message carries the destination identifier, where the destination identifier includes the SIP, and the destination address can be a SIP URI or an MSISDN; the identifier of the destination terminal can be an IMSI or a device ID.
  • Step S502 Determine whether to perform a check of the correct destination receiving end of the SIP PUSH message. And determining whether to perform the check of the correct destination receiving end of the SIP PUSH message according to whether the SIP PUSH message carries the privacy protection identifier; if the SIP PUSH message carries the privacy protection identifier, go to step S503; otherwise, go to step S505.
  • Step S503 The SIP PUSH receiving end determines whether the destination identifier carried in the SIP PUSH message is the same as the identifier of the SIP PUSH receiving end itself. If yes, the SIP PUSH receiving end is the correct destination receiving end of the SIP PUSH message. Step S505; otherwise, the SIP PUSH receiving end is not the correct destination receiving end of the SIP PUSH message, and the process goes to step S504.
  • Step S504 discarding the SIP PUSH message and ending.
  • Step S505 Enter a normal processing procedure of the SIP PUSH message, that is, perform message parsing, provide to an upper layer application, or display the SIP PUSH message.
  • the privacy protection identifier may not be carried, and the SIP PUSH message is not discarded, but is normally viewed.
  • the privacy protection identifier is carried.
  • the received terminal is required to discard the message.
  • Step S601 The SIP PUSH receiving end receives the SIP PUSH message forwarded by the SIP/IP Core network.
  • the SIP PUSH message carries the destination identifier, where the destination identifier includes the SIP, and the destination address can be a SIP URI or an MSISDN; the identifier of the destination terminal can be an IMSI or a device ID.
  • Step S602 determining whether to perform a check of the correct destination receiving end of the SIP PUSH message. And determining whether to perform the check of the correct destination receiving end of the SIP PUSH message according to whether the SIP PUSH message carries the privacy protection identifier; if the SIP PUSH message carries the privacy protection identifier, go to step S603; otherwise, go to step S605.
  • Step S603 The SIP PUSH receiving end determines whether the destination identifier carried in the SIP PUSH message is the same as the identifier of the SIP PUSH receiving end itself; if yes, the SIP PUSH receiving end is the correct destination receiving end of the SIP PUSH message, Step S605; Otherwise, the SIP PUSH receiving end is not the correct destination receiving end of the SIP PUSH message, and the process goes to step S604.
  • Step S604 discarding the SIP PUSH message, returning an error status code to the sending end, and ending.
  • Step S605 the normal processing flow of the SIP PUSH message is entered, that is, the message is parsed, provided to the upper layer application, or the SIP PUSH message is displayed.
  • the SIP PUSH message sending end After the SIP PUSH message sending end receives the error status code returned by the SIP PUSH receiving end, the SIP PUSH message sending end performs data retransmission according to the error status code.
  • the SIP PUSH message when the correct destination receiving end of the SIP PUSH message is checked, and not the correct destination receiving end of the SIP PUSH message, the SIP PUSH message is discarded, the privacy of the user is protected, and the SIP PUSH message is prevented from being incorrectly delivered. The resulting leakage of user privacy.
  • the SIP PUSH message sending end may be requested to retransmit the data.
  • the privacy protection identifier may not be carried, and the SIP PUSH message is not discarded, but is normally viewed. For a SIP PUSH message with a high privacy requirement, the privacy protection identifier is carried. When the SIP PUSH message is incorrectly delivered, the received terminal is required to discard the message.
  • a SIP PUSH receiving end structure of the embodiment of the present invention is as shown in FIG. 7, and includes a privacy protection identifier identifying unit 71, a correct destination receiving end checking unit 72, a SIP PUSH message processing unit 73, and an error status code generating unit 74;
  • the correct destination receiving end checking unit 72 is communicably connected to the privacy protection identifier identifying unit 71, the SIP PUSH message processing unit 73, and the error status code generating unit 74, respectively.
  • the privacy protection identifier identifying unit 71 is configured to determine whether to perform the check of the correct destination receiving end of the SIP PUSH message according to the privacy protection identifier carried in the SIP PUSH message; if the determination result is yes, the receiver checking unit 72 performs the SIP. The correct destination of the PUSH message is checked at the receiving end.
  • the correct destination receiving end checking unit 72 is configured to check whether it is the correct destination receiving end of the received SIP PUSH message; and transmits the checking result to the SIP PUSH message processing unit 73 and the error status code generating unit 74.
  • the correct destination receiving end checking unit 72 further includes a message receiving subunit 721 and a destination identification detecting subunit 722, wherein the message receiving subunit 721 is communicatively coupled to the destination identification detecting subunit 722.
  • the message receiving subunit 721 is configured to receive the SIP PUSH message and send the received SIP PUSH message to the destination identity detecting subunit 722.
  • the destination identifier detecting sub-unit 722 is configured to detect whether the destination identifier carried in the SIP PUSH message is the same as the identifier of the SIP PUSH receiving end itself; if yes, the correct destination receiving end of the SIP PUSH message; The correct destination receiver of the SIP PUSH message.
  • the destination identifier includes the destination address (the content in the To field) or the identifier of the destination terminal in the SIP PUSH message.
  • the destination address may be a SIP URI or an MSISDN; the identifier of the destination terminal may be an IMSI or a device ID.
  • the message processing unit 73 is configured to process the SIP PUSH message according to the check result of the correct destination receiving end checking unit 72. If the result of the check is the correct destination receiving end of the SIP PUSH message, the normal processing flow of the SIP PUSH message is entered, The SIP PUSH message is parsed, provided to the upper layer application, or displayed to the SIP PUSH message; if the check result is not the correct destination receiving end of the SIP PUSH message, the SIP PUSH message is discarded.
  • the error status code generating unit 74 is configured to generate and return an error status code to the transmitting end based on the result of the check by the receiving end checking unit 72 for the correct purpose. If the result of the check is the correct destination receiving end of the SIP PUSH message, no operation is performed; if the check result is not the correct destination receiving end of the SIP PUSH message, an error status code is generated and returned to the transmitting end. After the SIP PUSH message sending end receives the error status code returned by the SIP PUSH receiving end, the SIP PUSH message sending end performs data retransmission according to the error status code.
  • a SIP PUSH message transmitting end of the embodiment of the present invention has a structure as shown in FIG. 8, and includes a SIP PUSH message generating unit 81 and an error status code processing unit 82, wherein the SIP PUSH message generating unit 81 is in communication with the error status code processing unit 82. .
  • the SIP PUSH message generating unit 81 is configured to generate and send a SIP PUSH message carrying a privacy protection identifier, where the privacy protection identifier is used to identify that the SIP PUSH receiving end performs the check of the correct destination receiving end of the SIP PUSH message.
  • the error status code processing unit 82 is configured to perform retransmission of data based on the received error status code.
  • the SIP PUSH message sending end may be requested to retransmit the data.
  • the privacy protection identifier may not be carried, and the SIP PUSH message is not discarded, but is normally viewed.
  • the privacy protection identifier is carried.
  • the received terminal is required to discard the message.

Abstract

A processing method of the session initiation protocol PUSH message is provided. The SIP PUSH message is received firstly; whether it is the right destination receiver of the SIP PUSH message is checked secondly; if NO, the SIP PUSH message is discarded. A SIP PUSH receiver and a SIP PUSH message sender are also provided. The present invention protects the privacy of the user by checking the right destination receiver of SIP PUSH message, and discarding the SIP PUSH message if it is not the right destination receiver of SIP PUSH message.

Description

一种会话初始化协议推送消息的处理方法及装置  Method and device for processing session initiation protocol push message
技术领域 Technical field
本发明涉及通信技术领域,特别是涉及一种 SIP( Session Initiation Protocol , 会话初始化协议) PUSH (推送) 消息的处理方法及装置。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a SIP (Session Initiation Protocol) PUSH (Pushing) message processing method and apparatus. Background technique
随着无线通信技术的迅速发展, PUSH 业务得到广泛的应用。 PUSH业务是一种内容分发机制, 釆用客户 /服务器模式的工作方式, 要求服务器在客户端不提出具体请求的前提下就将所需要的内容进 行分发。 在 PUSH的工作框架中, PI ( PUSH Initiator, PUSH发起者) 发送 PUSH内容和传送指令到 PPG ( PUSH Proxy Gateway, PUSH代 理网关), PPG将需要进行 PUSH的内容根据传送指令的要求传送到 PUSH客户端。  With the rapid development of wireless communication technology, the PUSH service has been widely used. The PUSH service is a content distribution mechanism that uses the client/server mode of work and requires the server to distribute the required content without the client making a specific request. In the working framework of the PUSH, the PI (PUSH Initiator, PUSH initiator) sends the PUSH content and transmits the command to the PPG (PUSH Proxy Gateway, PUSH Proxy Gateway), and the PPG transmits the content of the PUSH to the PUSH client according to the requirements of the transfer instruction. end.
SIP PUSH业务釆用 OTA-SIP (基于 SIP的空中下载)技术, 通 过将 PUSH OTA ( Over The Air, 空中下载) 内容封装在 SIP消息中, 利用现有的 SIP/IP核心网络进行传送。 SIP PUSH业务维护的成本较 小, 有较高的互操作性, 可以对现有资源进行重用。  The SIP PUSH service uses OTA-SIP (SIP-based over-the-air) technology to encapsulate PUSH OTA (Over The Air) content in SIP messages and utilize existing SIP/IP core networks for transmission. SIP PUSH service maintenance costs are small and have high interoperability, which can reuse existing resources.
图 1是现有技术的一种 SIP PUSH的体系架构, 包括 PUSH发送 代理 11和 PUSH接收代理 12。 其中, PUSH发送代理 11通过 SIP/IP Core网络与 PUSH接收代理 12进行通信, PUSH发送代理 11位于服 务器端 (PPG ), PUSH接收代理 12位于接收端 (PUSH接收端)。  1 is a SIP PUSH architecture of the prior art, including a PUSH sending proxy 11 and a PUSH receiving proxy 12. The PUSH sending proxy 11 communicates with the PUSH receiving proxy 12 through the SIP/IP Core network. The PUSH sending proxy 11 is located at the server end (PPG), and the PUSH receiving proxy 12 is located at the receiving end (PUSH receiving end).
图 2是现有技术的一种实现 SIP PUSH业务的流程图, 包括以下 步骤:  2 is a flow chart of implementing a SIP PUSH service in the prior art, including the following steps:
步骤 S201 , PUSH发送代理注册 PUSH服务;  Step S201, PUSH sends a proxy registration PUSH service;
步骤 S202 , 发送其可用的 PUSH 应用和包含设备能力的 OMA-UAProf链接;  Step S202, sending an available PUSH application and an OMA-UAProf link including device capabilities;
步骤 S203 , SIP/IP Core网络将请求转发至 PUSH发送代理; 步骤 S204 , 如果收到 OMA-UAProf 链接, PUSH发送代理向 UAProf链接请求设备能力; Step S203, the SIP/IP Core network forwards the request to the PUSH sending proxy. Step S204, if the OMA-UAProf link is received, the PUSH sends the proxy to the proxy. UAProf link request device capability;
步骤 S205, UAProf 服务器返回设备能力;  Step S205, the UAProf server returns the device capability.
步骤 S206 , PUSH接收代理订阅所要接收的内容更新; 步骤 S207 , SIP/IP Core网络将请求转发至 PUSH发送代理; 步骤 S208, PUSH发送代理接收发往 PUSH接收代理的内容; 步骤 S209, PUSH发送代理接收消息, 并且基于内容决定传递机 制和业务质量(如果设备能力可用)选择 PUSH方法;  Step S206, the PUSH receiving proxy subscribes to the content update to be received; Step S207, the SIP/IP Core network forwards the request to the PUSH sending proxy; Step S208, the PUSH sending proxy receives the content sent to the PUSH receiving proxy; Step S209, PUSH sends the proxy Receiving a message, and selecting a PUSH method based on the content determining delivery mechanism and quality of service (if device capabilities are available);
步骤 S210, PUSH发送代理经 SIP/IP Core网络发送请求至接收 端。 为了提高效率, 该请求中的内容可能被编码转换。  Step S210: The PUSH sending proxy sends a request to the receiving end via the SIP/IP Core network. In order to improve efficiency, the content in the request may be encoded and converted.
步骤 S211 , SIP/IP Core网络将请求转发至 PUSH接收代理。 PUSH 接收代理将使用业务寻址以将请求中的内容正确传递。  Step S211: The SIP/IP Core network forwards the request to the PUSH receiving agent. The PUSH receiving agent will use business addressing to properly pass the content in the request.
步骤 S212,接收到请求后, PUSH接收代理发送一个报告以响应 Step S212, after receiving the request, the PUSH receiving agent sends a report to respond.
SIP/IP Core。 SIP/IP Core.
步骤 S213 , SIP/IP Core网络将响应报告转发至 PUSH发送代理。 步骤 S214 , PUSH发送代理对接收的响应进行处理。  Step S213: The SIP/IP Core network forwards the response report to the PUSH sending proxy. Step S214: The PUSH sending proxy processes the received response.
其中, 步骤 S204至步骤 S207、 步骤 S212至步骤 S214为可选步 骤, 可以根据实际情况选择是否进行该步骤。  Step S204 to step S207 and step S212 to step S214 are optional steps, and whether or not to perform the step may be selected according to actual conditions.
在实现本发明的过程中, 发明人发现现有技术至少存在以下问 题:  In carrying out the process of the present invention, the inventors have found that the prior art has at least the following problems:
PPG发往 SIP/IP Core的终端地址标识需要在 SIP/IP Core解析成终 端的实际 IP地址, PUSH接收端才能够接收到 SIP PUSH消息。 但是, 如果出现 IP地址解析错误或地址被篡改等情况时, SIP/IP Core可能将 SIP PUSH消息传递到目的 PUSH接收端之外的终端。 当 PI经 PPG发往 PUSH接收端的消息属于隐私性较高的信息时, 如果该 SIP PUSH消息 被目的 PUSH接收端之外的终端接收,则会产生用户隐私泄漏的风险。 发明内容  The terminal address identifier sent by the PPG to the SIP/IP Core needs to be resolved to the actual IP address of the terminal by the SIP/IP Core, and the PUSH receiver can receive the SIP PUSH message. However, if an IP address resolution error or an address is falsified, the SIP/IP Core may deliver the SIP PUSH message to a terminal other than the destination PUSH receiver. When the message sent by the PI to the PUSH receiving end of the PI belongs to the information with high privacy, if the SIP PUSH message is received by the terminal other than the destination PUSH receiving end, the risk of user privacy leakage may occur. Summary of the invention
本发明实施例要解决的问题是提供一种 SIP PUSH消息的处理方 法及装置,使得 SIP PUSH消息被错误投递时,仍能保护用户的隐私。 为达到上述目的, 本发明实施例的技术方案提供一种 SIP PUSH 消息的处理方法, 包括以下步骤: 接收 SIP PUSH消息; 检查是否为 所述 SIP PUSH 消息的正确目的接收端; 如果否, 则丟弃所述 SIP PUSH消息。 The problem to be solved by the embodiment of the present invention is to provide a processor for processing SIP PUSH messages. The method and device can protect the privacy of the user when the SIP PUSH message is sent incorrectly. To achieve the above objective, the technical solution of the embodiment of the present invention provides a method for processing a SIP PUSH message, including the following steps: receiving a SIP PUSH message; checking whether the correct destination receiving end of the SIP PUSH message is; if not, then losing Discard the SIP PUSH message.
本发明实施例的技术方案还提供了一种 SIP PUSH接收端, 包括 正确目的接收端检查单元和 SIP PUSH消息处理单元; 所述正确目的 接收端检查单元, 用于检查是否为接收到的 SIP PUSH消息的正确目 的接收端; 所述消息处理单元, 用于根据所述正确目的接收端检查单 元的检查结果, 对所述 SIP PUSH消息进行处理。  The technical solution of the embodiment of the present invention further provides a SIP PUSH receiving end, which includes a correct destination receiving end checking unit and a SIP PUSH message processing unit. The correct destination receiving end checking unit is configured to check whether the received SIP PUSH is received. The correct destination receiving end of the message; the message processing unit, configured to process the SIP PUSH message according to the check result of the correct destination receiving end checking unit.
本发明实施例的技术方案还提供了一种 SIP PUSH消息发送端, 包括 SIP PUSH消息生成单元, 用于生成并发送携带隐私性保护标识 的 SIP PUSH消息, 所述隐私性保护标识用于标识 SIP PUSH接收端 进行 SIP PUSH消息的正确目的接收端的检查。  The technical solution of the embodiment of the present invention further provides a SIP PUSH message sending end, which includes a SIP PUSH message generating unit, configured to generate and send a SIP PUSH message carrying a privacy protection identifier, where the privacy protection identifier is used to identify the SIP. The PUSH receiving end performs a check of the correct destination receiving end of the SIP PUSH message.
与现有技术相比, 本发明实施例具有以下优点:  Compared with the prior art, the embodiment of the invention has the following advantages:
本发明实施例通过对 SIP PUSH消息的正确目的接收端的检查, 并在不是 SIP PUSH消息的正确目的接收端时, 丟弃该 SIP PUSH消 息, 保护了用户的隐私, 防止了由于 SIP PUSH消息被错误投递而 造成的用户隐私的泄漏。 附图说明  In the embodiment of the present invention, the SIP PUSH message is discarded by checking the correct destination receiving end of the SIP PUSH message, and the SIP PUSH message is discarded when the correct destination receiving end of the SIP PUSH message is not received, thereby preventing the SIP PUSH message from being incorrect. The leakage of user privacy caused by delivery. DRAWINGS
图 1是现有技术的一种 SIP PUSH的体系架构示意图;  1 is a schematic diagram of an architecture of a SIP PUSH in the prior art;
图 2是现有技术的一种实现 SIP PUSH业务的流程图;  2 is a flow chart of implementing a SIP PUSH service in the prior art;
图 3是本发明实施例的一种 SIP PUSH消息的处理流程图; 图 4是本发明实施例的另一种 SIP PUSH消息的处理流程图; 图 5是本发明实施例的另一种 SIP PUSH消息的处理流程图; 图 6是本发明实施例的另一种 SIP PUSH消息的处理流程图; 图 7是本发明实施例的一种 SIP PUSH接收端的结构示意图; 图 8是本发明实施例的一种 SIP PUSH消息发送端的结构示意 图。 具体实施方式 3 is a flowchart of processing a SIP PUSH message according to an embodiment of the present invention; FIG. 4 is a flowchart of processing another SIP PUSH message according to an embodiment of the present invention; FIG. 5 is another SIP PUSH according to an embodiment of the present invention; FIG. 6 is a flowchart of processing a SIP PUSH message according to an embodiment of the present invention; FIG. 7 is a schematic structural diagram of a SIP PUSH receiving end according to an embodiment of the present invention; A schematic diagram of the structure of a SIP PUSH message sending end Figure. detailed description
下面结合附图和实施例,对本发明的具体实施方式作进一步详细 描述:  The specific embodiments of the present invention are further described in detail below with reference to the accompanying drawings and embodiments.
本发明实施例在 SIP/IP Core网络将 SIP PUSH消息向 PUSH接收 代理转发后, SIP PUSH接收端 (本实施例中为 PUSH接收代理 )对 该 SIP PUSH消息的处理方法流程如图 3所示, 包括以下步骤:  After the SIP PUSH message is forwarded to the PUSH receiving proxy by the SIP/IP Core network, the SIP PUSH receiving end (in this embodiment, the PUSH receiving proxy) processes the SIP PUSH message as shown in FIG. 3 . Includes the following steps:
步骤 S301 , SIP PUSH接收端接收 SIP/IP Core网络转发的 SIP PUSH消息。该 SIP PUSH消息中携带目的标识,该目的标识包括 SIP 中, 该目的地址可以为 SIP URI ( Uniform Resource Identifier, 统一资 源标识符)或移动台国际用户目录号 MSISDN; 该目的终端的标识可 以为 IMSI ( International Mobile Subscriber Identity, 国际移动用户识 别码)或设备 ID ( Identifier, 标识)。  Step S301: The SIP PUSH receiving end receives the SIP PUSH message forwarded by the SIP/IP Core network. The SIP PUSH message carries the destination identifier, and the destination identifier includes the SIP, the destination address may be a SIP URI (Uniform Resource Identifier) or a mobile station international user directory number MSISDN; the destination terminal may be an IMSI. (International Mobile Subscriber Identity) or Device ID (Identifier).
步骤 S302, SIP PUSH接收端判断 SIP PUSH消息中携带的目的 标识是否与该 SIP PUSH接收端本身的标识相同; 如果是, 则该 SIP PUSH接收端为所述 SIP PUSH消息的正确目的接收端,转步骤 S304; 否则该 SIP PUSH接收端不是所述 SIP PUSH消息的正确目的接收端, 转步骤 S303。  Step S302: The SIP PUSH receiving end determines whether the destination identifier carried in the SIP PUSH message is the same as the identifier of the SIP PUSH receiving end itself; if yes, the SIP PUSH receiving end is the correct destination receiving end of the SIP PUSH message, Step S304; otherwise, the SIP PUSH receiving end is not the correct destination receiving end of the SIP PUSH message, and the process goes to step S303.
步骤 S303 , 丟弃该 SIP PUSH消息并结束。  Step S303, discarding the SIP PUSH message and ending.
步骤 S304 , 进入 SIP PUSH消息的正常处理流程, 即进行消息解 析、 提供给上层应用或显示所述 SIP PUSH消息。  Step S304, the normal processing flow of the SIP PUSH message is entered, that is, the message is parsed, provided to the upper layer application, or the SIP PUSH message is displayed.
本实施例通过对 SIP PUSH消息的正确目的接收端的检查, 并在 不是 SIP PUSH消息的正确目的接收端时, 丟弃该 SIP PUSH消息, 保护了用户的隐私, 防止了由于 SIP PUSH消息被错误投递而造成的 用户隐私的泄漏。  In this embodiment, by checking the correct destination receiving end of the SIP PUSH message and discarding the SIP PUSH message when it is not the correct destination receiving end of the SIP PUSH message, the privacy of the user is protected, and the SIP PUSH message is prevented from being incorrectly delivered. And the leakage of user privacy caused.
本发明实施例在 SIP/IP Core网络将 SIP PUSH消息向 PUSH接收 代理转发后, SIP PUSH接收端 (本实施例中为 PUSH接收代理)对 该 SIP PUSH消息的处理方法流程如图 4所示, 包括以下步骤: The embodiment of the present invention receives the SIP PUSH message to the PUSH in the SIP/IP Core network. After the proxy forwarding, the SIP PUSH receiving end (in this embodiment, the PUSH receiving proxy) processes the SIP PUSH message as shown in FIG. 4, and includes the following steps:
步骤 S401 , SIP PUSH接收端接收 SIP/IP Core网络转发的 SIP PUSH消息。该 SIP PUSH消息中携带目的标识,该目的标识包括 SIP 中, 该目的地址可以为 SIP URI或 MSISDN; 该目的终端的标识可以 为 IMSI或设备 ID。  Step S401: The SIP PUSH receiving end receives the SIP PUSH message forwarded by the SIP/IP Core network. The SIP PUSH message carries the destination identifier, and the destination identifier includes the SIP, and the destination address can be a SIP URI or an MSISDN. The identifier of the destination terminal can be an IMSI or a device ID.
步骤 S402 , SIP PUSH接收端判断 SIP PUSH消息中携带的目的 标识是否与该 SIP PUSH接收端本身的标识相同; 如果是, 则该 SIP PUSH接收端为所述 SIP PUSH消息的正确目的接收端,转步骤 S404; 否则该 SIP PUSH接收端不是所述 SIP PUSH消息的正确目的接收端, 转步骤 S403。  Step S402: The SIP PUSH receiving end determines whether the destination identifier carried in the SIP PUSH message is the same as the identifier of the SIP PUSH receiving end itself. If yes, the SIP PUSH receiving end is the correct destination receiving end of the SIP PUSH message. Step S404; Otherwise, the SIP PUSH receiving end is not the correct destination receiving end of the SIP PUSH message, and the process goes to step S403.
步骤 S403 , 丟弃该 SIP PUSH消息, 向发送端返回错误状态码, 并结束。  Step S403, discarding the SIP PUSH message, returning an error status code to the sending end, and ending.
步骤 S404 , 进入 SIP PUSH消息的正常处理流程, 即进行消息解 析、 提供给上层应用或显示所述 SIP PUSH消息。  Step S404, the normal processing flow of the SIP PUSH message is entered, that is, the message is parsed, provided to the upper layer application, or the SIP PUSH message is displayed.
当 SIP PUSH消息发送端接收到该 SIP PUSH接收端返回的错误 状态码后, 该 SIP PUSH消息发送端根据该错误状态码, 进行数据的 重发。  After the SIP PUSH message sending end receives the error status code returned by the SIP PUSH receiving end, the SIP PUSH message sending end performs data retransmission according to the error status code.
本实施例通过对 SIP PUSH消息的正确目的接收端的检查, 并在 不是 SIP PUSH消息的正确目的接收端时, 丟弃该 SIP PUSH消息, 保护了用户的隐私, 防止了由于 SIP PUSH消息被错误投递而造成的 用户隐私的泄漏。  In this embodiment, by checking the correct destination receiving end of the SIP PUSH message and discarding the SIP PUSH message when it is not the correct destination receiving end of the SIP PUSH message, the privacy of the user is protected, and the SIP PUSH message is prevented from being incorrectly delivered. And the leakage of user privacy caused.
并且, 本实施例通过向发送端返回错误状态码, 可以请求 SIP PUSH消息发送端对数据进行重发。  Moreover, in this embodiment, by returning an error status code to the transmitting end, the SIP PUSH message sending end may be requested to retransmit the data.
本发明实施例在 SIP/IP Core网络将 SIP PUSH消息向 PUSH接收 代理转发后, SIP PUSH接收端 (本实施例中为 PUSH接收代理 )对 该 SIP PUSH消息的处理方法流程如图 5所示, 包括以下步骤:  After the SIP PUSH message is forwarded to the PUSH receiving proxy by the SIP/IP Core network, the SIP PUSH receiving end (in this embodiment, the PUSH receiving proxy) processes the SIP PUSH message as shown in FIG. 5 . Includes the following steps:
步骤 S501 , SIP PUSH接收端接收 SIP/IP Core网络转发的 SIP PUSH消息。该 SIP PUSH消息中携带目的标识,该目的标识包括 SIP 中, 该目的地址可以为 SIP URI或 MSISDN; 该目的终端的标识可以 为 IMSI或设备 ID。 Step S501, the SIP PUSH receiving end receives the SIP forwarded by the SIP/IP Core network. PUSH message. The SIP PUSH message carries the destination identifier, where the destination identifier includes the SIP, and the destination address can be a SIP URI or an MSISDN; the identifier of the destination terminal can be an IMSI or a device ID.
步骤 S502,判断是否进行 SIP PUSH消息的正确目的接收端的检 查。 根据 SIP PUSH消息中是否携带隐私性保护标识, 进行是否进行 SIP PUSH消息的正确目的接收端的检查的判断;如果 SIP PUSH消息 中携带隐私性保护标识, 则转步骤 S503; 否则转步骤 S505。  Step S502: Determine whether to perform a check of the correct destination receiving end of the SIP PUSH message. And determining whether to perform the check of the correct destination receiving end of the SIP PUSH message according to whether the SIP PUSH message carries the privacy protection identifier; if the SIP PUSH message carries the privacy protection identifier, go to step S503; otherwise, go to step S505.
步骤 S503 , SIP PUSH接收端判断 SIP PUSH消息中携带的目的 标识是否与该 SIP PUSH接收端本身的标识相同; 如果是, 则该 SIP PUSH接收端为所述 SIP PUSH消息的正确目的接收端,转步骤 S505; 否则该 SIP PUSH接收端不是所述 SIP PUSH消息的正确目的接收端, 转步骤 S504。  Step S503: The SIP PUSH receiving end determines whether the destination identifier carried in the SIP PUSH message is the same as the identifier of the SIP PUSH receiving end itself. If yes, the SIP PUSH receiving end is the correct destination receiving end of the SIP PUSH message. Step S505; otherwise, the SIP PUSH receiving end is not the correct destination receiving end of the SIP PUSH message, and the process goes to step S504.
步骤 S504, 丟弃该 SIP PUSH消息并结束。  Step S504, discarding the SIP PUSH message and ending.
步骤 S505 , 进入 SIP PUSH消息的正常处理流程, 即进行消息解 析、 提供给上层应用或显示所述 SIP PUSH消息。  Step S505: Enter a normal processing procedure of the SIP PUSH message, that is, perform message parsing, provide to an upper layer application, or display the SIP PUSH message.
本实施例通过对 SIP PUSH消息的正确目的接收端的检查, 并在 不是 SIP PUSH消息的正确目的接收端时, 丟弃该 SIP PUSH消息, 保护了用户的隐私, 防止了由于 SIP PUSH消息被错误投递而造成的 用户隐私的泄漏。  In this embodiment, by checking the correct destination receiving end of the SIP PUSH message and discarding the SIP PUSH message when it is not the correct destination receiving end of the SIP PUSH message, the privacy of the user is protected, and the SIP PUSH message is prevented from being incorrectly delivered. And the leakage of user privacy caused.
并且, 本实施例通过判断 SIP PUSH消息中是否携带隐私性保护 标识, 可以选择是否进行 SIP PUSH消息的正确目的接收端的检查。 如对于 PI发送的如广告、 公告类消息, 可以不携带隐私性保护标识, 不用丟弃该 SIP PUSH消息,而正常查看。对于隐私性要求较高的 SIP PUSH消息,携带隐私性保护标识, 当 SIP PUSH消息被错误投递时, 要求接收到的终端丟弃该消息。  Moreover, in this embodiment, by determining whether the SIP PUSH message carries the privacy protection identifier, it is possible to select whether to perform the check of the correct destination receiving end of the SIP PUSH message. For example, for an advertisement or an announcement message sent by the PI, the privacy protection identifier may not be carried, and the SIP PUSH message is not discarded, but is normally viewed. For a SIP PUSH message with a high privacy requirement, the privacy protection identifier is carried. When the SIP PUSH message is incorrectly delivered, the received terminal is required to discard the message.
本发明实施例在 SIP/IP Core网络将 SIP PUSH消息向 PUSH接收 代理转发后, SIP PUSH接收端 (本实施例中为 PUSH接收代理 )对 该 SIP PUSH消息的处理方法流程如图 6所示, 包括以下步骤: 步骤 S601 , SIP PUSH接收端接收 SIP/IP Core网络转发的 SIP PUSH消息。该 SIP PUSH消息中携带目的标识,该目的标识包括 SIP 中, 该目的地址可以为 SIP URI或 MSISDN; 该目的终端的标识可以 为 IMSI或设备 ID。 After the SIP PUSH message is forwarded to the PUSH receiving proxy by the SIP/IP Core network, the SIP PUSH receiving end (in this embodiment, the PUSH receiving proxy) processes the SIP PUSH message as shown in FIG. 6 . Includes the following steps: Step S601: The SIP PUSH receiving end receives the SIP PUSH message forwarded by the SIP/IP Core network. The SIP PUSH message carries the destination identifier, where the destination identifier includes the SIP, and the destination address can be a SIP URI or an MSISDN; the identifier of the destination terminal can be an IMSI or a device ID.
步骤 S602,判断是否进行 SIP PUSH消息的正确目的接收端的检 查。 根据 SIP PUSH消息中是否携带隐私性保护标识, 进行是否进行 SIP PUSH消息的正确目的接收端的检查的判断;如果 SIP PUSH消息 中携带隐私性保护标识, 则转步骤 S603; 否则转步骤 S605。  Step S602, determining whether to perform a check of the correct destination receiving end of the SIP PUSH message. And determining whether to perform the check of the correct destination receiving end of the SIP PUSH message according to whether the SIP PUSH message carries the privacy protection identifier; if the SIP PUSH message carries the privacy protection identifier, go to step S603; otherwise, go to step S605.
步骤 S603 , SIP PUSH接收端判断 SIP PUSH消息中携带的目的 标识是否与该 SIP PUSH接收端本身的标识相同; 如果是, 则该 SIP PUSH接收端为所述 SIP PUSH消息的正确目的接收端,转步骤 S605; 否则该 SIP PUSH接收端不是所述 SIP PUSH消息的正确目的接收端, 转步骤 S604。  Step S603: The SIP PUSH receiving end determines whether the destination identifier carried in the SIP PUSH message is the same as the identifier of the SIP PUSH receiving end itself; if yes, the SIP PUSH receiving end is the correct destination receiving end of the SIP PUSH message, Step S605; Otherwise, the SIP PUSH receiving end is not the correct destination receiving end of the SIP PUSH message, and the process goes to step S604.
步骤 S604, 丟弃该 SIP PUSH消息, 向发送端返回错误状态码, 并结束。  Step S604, discarding the SIP PUSH message, returning an error status code to the sending end, and ending.
步骤 S605 , 进入 SIP PUSH消息的正常处理流程, 即进行消息解 析、 提供给上层应用或显示所述 SIP PUSH消息。  Step S605, the normal processing flow of the SIP PUSH message is entered, that is, the message is parsed, provided to the upper layer application, or the SIP PUSH message is displayed.
当 SIP PUSH消息发送端接收到该 SIP PUSH接收端返回的错误 状态码后, 该 SIP PUSH消息发送端根据该错误状态码, 进行数据的 重发。  After the SIP PUSH message sending end receives the error status code returned by the SIP PUSH receiving end, the SIP PUSH message sending end performs data retransmission according to the error status code.
本实施例通过对 SIP PUSH消息的正确目的接收端的检查, 并不 是 SIP PUSH消息的正确目的接收端时, 丟弃该 SIP PUSH消息, 保 护了用户的隐私, 防止了由于 SIP PUSH消息被错误投递而造成的用 户隐私的泄漏。  In this embodiment, when the correct destination receiving end of the SIP PUSH message is checked, and not the correct destination receiving end of the SIP PUSH message, the SIP PUSH message is discarded, the privacy of the user is protected, and the SIP PUSH message is prevented from being incorrectly delivered. The resulting leakage of user privacy.
并且, 本实施例通过向发送端返回错误状态码, 可以请求 SIP PUSH消息发送端对数据进行重发。  Moreover, in this embodiment, by returning an error status code to the transmitting end, the SIP PUSH message sending end may be requested to retransmit the data.
另外, 本实施例通过判断 SIP PUSH消息中是否携带隐私性保护 标识, 可以选择是否进行 SIP PUSH消息的正确目的接收端的检查。 如对于 PI发送的如广告、 公告类消息, 可以不携带隐私性保护标识, 不用丟弃该 SIP PUSH消息,而正常查看。对于隐私性要求较高的 SIP PUSH消息,携带隐私性保护标识, 当 SIP PUSH消息被错误投递时, 要求接收到的终端丟弃该消息。 In addition, in this embodiment, by determining whether the SIP PUSH message carries the privacy protection identifier, whether to perform the check of the correct destination receiving end of the SIP PUSH message may be selected. For example, for an advertisement or an announcement type message sent by a PI, the privacy protection identifier may not be carried, and the SIP PUSH message is not discarded, but is normally viewed. For a SIP PUSH message with a high privacy requirement, the privacy protection identifier is carried. When the SIP PUSH message is incorrectly delivered, the received terminal is required to discard the message.
本发明实施例的一种 SIP PUSH接收端的结构如图 7所示, 包括 隐私性保护标识识别单元 71、正确目的接收端检查单元 72、SIP PUSH 消息处理单元 73和错误状态码生成单元 74; 其中正确目的接收端检 查单元 72分别与隐私性保护标识识别单元 71、 SIP PUSH消息处理 单元 73和错误状态码生成单元 74通信连接。  A SIP PUSH receiving end structure of the embodiment of the present invention is as shown in FIG. 7, and includes a privacy protection identifier identifying unit 71, a correct destination receiving end checking unit 72, a SIP PUSH message processing unit 73, and an error status code generating unit 74; The correct destination receiving end checking unit 72 is communicably connected to the privacy protection identifier identifying unit 71, the SIP PUSH message processing unit 73, and the error status code generating unit 74, respectively.
隐私性保护标识识别单元 71用于根据 SIP PUSH消息中携带的 隐私性保护标识, 进行是否进行 SIP PUSH消息的正确目的接收端的 检查的判断;如果判断结果为是,则接收方检查单元 72进行 SIP PUSH 消息的正确目的接收端的检查。  The privacy protection identifier identifying unit 71 is configured to determine whether to perform the check of the correct destination receiving end of the SIP PUSH message according to the privacy protection identifier carried in the SIP PUSH message; if the determination result is yes, the receiver checking unit 72 performs the SIP. The correct destination of the PUSH message is checked at the receiving end.
正确目的接收端检查单元 72用于检查是否为接收到的 SIP PUSH 消息的正确目的接收端; 并将检查结果发送到 SIP PUSH消息处理单 元 73和错误状态码生成单元 74。 正确目的接收端检查单元 72进一 步包括消息接收子单元 721和目的标识检测子单元 722, 其中消息接 收子单元 721与目的标识检测子单元 722通信连接。消息接收子单元 721用于接收 SIP PUSH消息,并将接收到的 SIP PUSH消息发送到目 的标识检测子单元 722。 目的标识检测子单元 722用于检测所述 SIP PUSH消息中携带的目的标识是否与 SIP PUSH接收端本身的标识相 同; 如果是, 则为所述 SIP PUSH消息的正确目的接收端; 否则不是 所述 SIP PUSH消息的正确目的接收端。 该目的标识包括 SIP PUSH 消息中的目的地址(To 字段中的内容)或目的终端的标识。 其中, 该目的地址可以为 SIP URI或 MSISDN; 该目的终端的标识可以为 IMSI或设备 ID。  The correct destination receiving end checking unit 72 is configured to check whether it is the correct destination receiving end of the received SIP PUSH message; and transmits the checking result to the SIP PUSH message processing unit 73 and the error status code generating unit 74. The correct destination receiving end checking unit 72 further includes a message receiving subunit 721 and a destination identification detecting subunit 722, wherein the message receiving subunit 721 is communicatively coupled to the destination identification detecting subunit 722. The message receiving subunit 721 is configured to receive the SIP PUSH message and send the received SIP PUSH message to the destination identity detecting subunit 722. The destination identifier detecting sub-unit 722 is configured to detect whether the destination identifier carried in the SIP PUSH message is the same as the identifier of the SIP PUSH receiving end itself; if yes, the correct destination receiving end of the SIP PUSH message; The correct destination receiver of the SIP PUSH message. The destination identifier includes the destination address (the content in the To field) or the identifier of the destination terminal in the SIP PUSH message. The destination address may be a SIP URI or an MSISDN; the identifier of the destination terminal may be an IMSI or a device ID.
消息处理单元 73用于根据正确目的接收端检查单元 72的检查结 果, 对所述 SIP PUSH消息进行处理。 如果检查结果为该 SIP PUSH 消息的正确目的接收端, 则进入 SIP PUSH消息的正常处理流程, 对 该 SIP PUSH 消息进行消息解析、 提供给上层应用或显示所述 SIP PUSH消息;如果检查结果不是该 SIP PUSH消息的正确目的接收端, 则丟弃该 SIP PUSH消息。 The message processing unit 73 is configured to process the SIP PUSH message according to the check result of the correct destination receiving end checking unit 72. If the result of the check is the correct destination receiving end of the SIP PUSH message, the normal processing flow of the SIP PUSH message is entered, The SIP PUSH message is parsed, provided to the upper layer application, or displayed to the SIP PUSH message; if the check result is not the correct destination receiving end of the SIP PUSH message, the SIP PUSH message is discarded.
错误状态码生成单元 74用于根据正确目的接收端检查单元 72的 检查结果, 生成并向发送端返回错误状态码。 如果检查结果为该 SIP PUSH消息的正确目的接收端, 则不进行操作; 如果检查结果不是该 SIP PUSH消息的正确目的接收端, 则生成并向发送端返回错误状态 码。 当 SIP PUSH消息发送端接收到该 SIP PUSH接收端返回的错误 状态码后, 该 SIP PUSH消息发送端根据该错误状态码, 进行数据的 重发。  The error status code generating unit 74 is configured to generate and return an error status code to the transmitting end based on the result of the check by the receiving end checking unit 72 for the correct purpose. If the result of the check is the correct destination receiving end of the SIP PUSH message, no operation is performed; if the check result is not the correct destination receiving end of the SIP PUSH message, an error status code is generated and returned to the transmitting end. After the SIP PUSH message sending end receives the error status code returned by the SIP PUSH receiving end, the SIP PUSH message sending end performs data retransmission according to the error status code.
本发明实施例的一种 SIP PUSH消息发送端的结构如图 8所示, 包括 SIP PUSH消息生成单元 81和错误状态码处理单元 82,其中 SIP PUSH消息生成单元 81与错误状态码处理单元 82通信连接。  A SIP PUSH message transmitting end of the embodiment of the present invention has a structure as shown in FIG. 8, and includes a SIP PUSH message generating unit 81 and an error status code processing unit 82, wherein the SIP PUSH message generating unit 81 is in communication with the error status code processing unit 82. .
SIP PUSH消息生成单元 81用于生成并发送携带隐私性保护标识 的 SIP PUSH消息, 所述隐私性保护标识用于标识 SIP PUSH接收端 进行 SIP PUSH消息的正确目的接收端的检查。 错误状态码处理单元 82用于根据接收到的错误状态码, 进行数据的重发。  The SIP PUSH message generating unit 81 is configured to generate and send a SIP PUSH message carrying a privacy protection identifier, where the privacy protection identifier is used to identify that the SIP PUSH receiving end performs the check of the correct destination receiving end of the SIP PUSH message. The error status code processing unit 82 is configured to perform retransmission of data based on the received error status code.
本实施例通过对 SIP PUSH消息的正确目的接收端的检查, 并在 不是 SIP PUSH消息的正确目的接收端时, 丟弃该 SIP PUSH消息, 保护了用户的隐私, 防止了由于 SIP PUSH消息被错误投递而造成的 用户隐私的泄漏。  In this embodiment, by checking the correct destination receiving end of the SIP PUSH message and discarding the SIP PUSH message when it is not the correct destination receiving end of the SIP PUSH message, the privacy of the user is protected, and the SIP PUSH message is prevented from being incorrectly delivered. And the leakage of user privacy caused.
并且, 本实施例通过向发送端返回错误状态码, 可以请求 SIP PUSH消息发送端对数据进行重发。  Moreover, in this embodiment, by returning an error status code to the transmitting end, the SIP PUSH message sending end may be requested to retransmit the data.
另外, 本实施例通过判断 SIP PUSH消息中是否携带隐私性保护 标识, 可以选择是否进行 SIP PUSH消息的正确目的接收端的检查。 如对于 PI发送的如广告、 公告类消息, 可以不携带隐私性保护标识, 不用丟弃该 SIP PUSH消息,而正常查看。对于隐私性要求较高的 SIP PUSH消息,携带隐私性保护标识, 当 SIP PUSH消息被错误投递时, 要求接收到的终端丟弃该消息。 以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领 域的普通技术人员来说, 在不脱离本发明原理的前提下, 还可以做出 若干改进和润饰, 这些改进和润饰也应视为本发明的保护范围。 In addition, in this embodiment, by determining whether the SIP PUSH message carries the privacy protection identifier, whether to perform the check of the correct destination receiving end of the SIP PUSH message may be selected. For example, for an advertisement or an announcement type message sent by a PI, the privacy protection identifier may not be carried, and the SIP PUSH message is not discarded, but is normally viewed. For a SIP PUSH message with a high privacy requirement, the privacy protection identifier is carried. When the SIP PUSH message is incorrectly delivered, the received terminal is required to discard the message. The above description is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims

权利要求 Rights request
1、 一种会话初始化协议推送消息的处理方法, 其特征在于, 包 括以下步骤: A method for processing a session initiation protocol push message, characterized in that it comprises the following steps:
接收会话初始化协议推送 SIP PUSH消息;  Receiving a session initiation protocol to push a SIP PUSH message;
检查是否为所述 SIP PUSH消息的正确目的接收端; 如果否, 则 丟弃所述 SIP PUSH消息。  Check whether the correct destination receiving end of the SIP PUSH message is; if not, discard the SIP PUSH message.
2、 如权利要求 1所述会话初始化协议推送消息的处理方法, 其 特征在于,如果不是所述 SIP PUSH消息的正确目的接收端,还包括: 向发送端返回错误状态码。  2. The method for processing a session initiation protocol push message according to claim 1, wherein if it is not the correct destination receiving end of the SIP PUSH message, the method further comprises: returning an error status code to the transmitting end.
3、 如权利要求 1所述会话初始化协议推送消息的处理方法, 其 特征在于,在所述接收 SIP PUSH消息之后,还包括: 根据 SIP PUSH 消息中是否携带隐私性保护标识, 进行是否进行 SIP PUSH消息的正 确目的接收端的检查的判断; 如果 SIP PUSH消息中携带隐私性保护 标识, 则进行 SIP PUSH消息的正确目的接收端的检查。  The method for processing a session initiation protocol push message according to claim 1, wherein after receiving the SIP PUSH message, the method further comprises: performing SIP PUSH according to whether the SIP PUSH message carries a privacy protection identifier The judgment of the correct destination of the message is checked; if the SIP PUSH message carries the privacy protection identifier, the correct destination receiver of the SIP PUSH message is checked.
4、 如权利要求 1所述会话初始化协议推送消息的处理方法, 其 特征在于, 所述检查是否为 SIP PUSH消息的正确目的接收端, 具体 包括:  The method for processing a session initiation protocol push message according to claim 1, wherein the checking is a correct destination receiving end of the SIP PUSH message, and specifically includes:
判断本身的标识是否与所述 SIP PUSH消息中携带的目的标识相 同; 如果是, 则为所述 SIP PUSH消息的正确目的接收端; 否则不是 所述 SIP PUSH消息的正确目的接收端。  Determining whether the identity of the SIP PUSH message is the same as the destination identifier carried in the SIP PUSH message; if yes, the correct destination receiving end of the SIP PUSH message; otherwise, it is not the correct destination receiving end of the SIP PUSH message.
5、 如权利要求 4所述会话初始化协议推送消息的处理方法, 其 特征在于, 所述目的标识包括 SIP PUSH消息中的目的地址或目的终 端的标识; 所述目的地址包括会话初始化协议统一资源标识符 SIP URI或移动台国际用户目录号 MSISDN;所述目的终端的标识包括国 际移动用户识别码 IMSI或设备标识。  The method for processing a session initiation protocol push message according to claim 4, wherein the destination identifier includes a destination address in the SIP PUSH message or an identifier of the destination terminal; and the destination address includes a session initialization protocol uniform resource identifier. The SIP URI or the mobile station international subscriber directory number MSISDN; the identity of the destination terminal includes an International Mobile Subscriber Identity (IMSI) or a device identifier.
6、 如权利要求 1所述会话初始化协议推送消息的处理方法, 其 特征在于, 如果是所述 SIP PUSH消息的正确目的接收端, 则进行消 息解析、 提供给上层应用或显示所述 SIP PUSH消息。 The method for processing a session initiation protocol push message according to claim 1, wherein, if it is the correct destination receiving end of the SIP PUSH message, performing message parsing, providing to the upper layer application, or displaying the SIP PUSH message. .
7、 一种 SIP PUSH接收端, 其特征在于, 包括正确目的接收端 检查单元和 SIP PUSH消息处理单元; 7. A SIP PUSH receiving end, comprising: a correct destination receiving end checking unit and a SIP PUSH message processing unit;
所述正确目的接收端检查单元, 用于检查是否为接收到的 SIP PUSH消息的正确目的接收端;  The correct destination receiving end checking unit is configured to check whether it is the correct destination receiving end of the received SIP PUSH message;
所述消息处理单元,用于根据所述正确目的接收端检查单元的检 查结果, 对所述 SIP PUSH消息进行处理。  The message processing unit is configured to process the SIP PUSH message according to the check result of the correct destination receiving end checking unit.
8、 如权利要求 7所述 SIP PUSH接收端, 其特征在于, 所述正 确目的接收端检查单元包括消息接收子单元和目的标识检测子单元; 所述消息接收子单元, 用于接收 SIP PUSH消息, 并将接收到的 SIP PUSH消息发送到所述目的标识检测子单元;  8. The SIP PUSH receiving end according to claim 7, wherein the correct destination receiving end checking unit comprises a message receiving subunit and a destination identifier detecting subunit; and the message receiving subunit is configured to receive a SIP PUSH message. And sending the received SIP PUSH message to the destination identifier detecting subunit;
所述目的标识检测子单元, 用于检测所述 SIP PUSH消息中携带 的目的标识是否与所述 SIP PUSH接收端本身的标识相同。  The destination identifier detecting subunit is configured to detect whether the destination identifier carried in the SIP PUSH message is the same as the identifier of the SIP PUSH receiving end itself.
9、 如权利要求 8所述 SIP PUSH接收端, 其特征在于, 所述目 的标识包括 SIP PUSH消息中的目的地址或目的终端的标识; 所述目 的地址包括会话初始化协议统一资源标识符 SIP URI或移动台国际用 户目录号 MSISDN; 所述目的终端的标识包括国际移动用户识别码 IMSI或设备标识。  The SIP PUSH receiving end according to claim 8, wherein the destination identifier includes a destination address in the SIP PUSH message or an identifier of the destination terminal; and the destination address includes a session initiation protocol uniform resource identifier SIP URI or The mobile station international subscriber directory number MSISDN; the identifier of the destination terminal includes an International Mobile Subscriber Identity (IMSI) or a device identifier.
10、 如权利要求 7所述 SIP PUSH接收端, 其特征在于, 还包括 错误状态码生成单元,用于根据所述正确目的接收端检查单元的检查 结果, 生成并向发送端返回错误状态码。  The SIP PUSH receiving end according to claim 7, further comprising an error status code generating unit, configured to generate and return an error status code to the transmitting end according to the checking result of the correct destination receiving end checking unit.
11、 如权利要求 7所述 SIP PUSH接收端, 其特征在于, 还包括 隐私性保护标识识别单元, 用于根据 SIP PUSH消息中携带的隐私性 保护标识, 进行是否进行 SIP PUSH消息的正确目的接收端的检查的 判断。  The SIP PUSH receiving end according to claim 7, further comprising a privacy protection identifier identifying unit, configured to perform correct destination receiving of the SIP PUSH message according to the privacy protection identifier carried in the SIP PUSH message The judgment of the end of the inspection.
12、 一种 SIP PUSH消息发送端, 其特征在于, 包括 SIP PUSH 消息生成单元, 用于生成并发送携带隐私性保护标识的 SIP PUSH消 息, 所述隐私性保护标识用于标识 SIP PUSH接收端进行 SIP PUSH 消息的正确目的接收端的检查。  12. A SIP PUSH message sending end, comprising: a SIP PUSH message generating unit, configured to generate and send a SIP PUSH message carrying a privacy protection identifier, where the privacy protection identifier is used to identify a SIP PUSH receiving end. The correct destination of the SIP PUSH message is checked at the receiving end.
13、 如权利要求 12所述 SIP PUSH消息发送端, 其特征在于, 还包括错误状态码处理单元, 用于根据接收到的错误状态码, 进行数 据的重发。 13. The SIP PUSH message transmitting end according to claim 12, wherein: An error status code processing unit is further included for performing retransmission of data according to the received error status code.
PCT/CN2008/072110 2007-08-23 2008-08-22 A processing method and device of the session initiation protocol push message WO2009026842A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710147350.0A CN101374267B (en) 2007-08-23 2007-08-23 Method and apparatus for processing session initialization protocol propelling information
CN200710147350.0 2007-08-23

Publications (1)

Publication Number Publication Date
WO2009026842A1 true WO2009026842A1 (en) 2009-03-05

Family

ID=40386704

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072110 WO2009026842A1 (en) 2007-08-23 2008-08-22 A processing method and device of the session initiation protocol push message

Country Status (2)

Country Link
CN (1) CN101374267B (en)
WO (1) WO2009026842A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200229A (en) * 2013-02-28 2013-07-10 北京百度网讯科技有限公司 Processing method of pushed information, equipment, browser and browser plug-in
CN104767746B (en) * 2015-03-26 2018-05-01 上海大唐移动通信设备有限公司 PUSH message method of reseptance, information push method, client and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10133884A1 (en) * 2001-07-12 2003-01-30 Materna Gmbh Information & Com Executing cashless card transaction carries out admissibility test on card identification and engages in protocol with dealer station and mobile telephone
US20040203581A1 (en) * 2002-10-07 2004-10-14 Msafe Ltd. Method system and device for monitoring data pushed to a wireless communication device
CN1870601A (en) * 2005-05-27 2006-11-29 佛山市顺德区顺达电脑厂有限公司 Information-pull receiving method and portable electronic device with information filtering function
CN1889562A (en) * 2005-06-28 2007-01-03 华为技术有限公司 Method for identifying equipment for receiving initial session protocol request information

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7765316B1 (en) * 2000-10-10 2010-07-27 Intel Corporation Scheduling the uploading of information from a client to a server
CN1859723A (en) * 2005-05-02 2006-11-08 北京三星通信技术研究有限公司 Method for supporting merged circuit domain call and IMS conversation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10133884A1 (en) * 2001-07-12 2003-01-30 Materna Gmbh Information & Com Executing cashless card transaction carries out admissibility test on card identification and engages in protocol with dealer station and mobile telephone
US20040203581A1 (en) * 2002-10-07 2004-10-14 Msafe Ltd. Method system and device for monitoring data pushed to a wireless communication device
CN1870601A (en) * 2005-05-27 2006-11-29 佛山市顺德区顺达电脑厂有限公司 Information-pull receiving method and portable electronic device with information filtering function
CN1889562A (en) * 2005-06-28 2007-01-03 华为技术有限公司 Method for identifying equipment for receiving initial session protocol request information

Also Published As

Publication number Publication date
CN101374267B (en) 2011-04-20
CN101374267A (en) 2009-02-25

Similar Documents

Publication Publication Date Title
KR101106926B1 (en) Submit report handling in smsip
US8170590B2 (en) Method, system and apparatus for forking transmission of short message service
JP5650748B2 (en) Method for providing interworking service between Converged IP Messaging (CPM) and Short Message Service (SMS) and Internet Protocol Short Message Gateway (IP-SM-GW)
CA2568599A1 (en) Reporting terminal capabilities for supporting short message service
JP2012253783A (en) Method and system for managing message threads in converged ip messaging service
JP2008507861A5 (en)
US10868780B2 (en) Method of notifying a sender of an inability to deliver a message to an unreachable terminal
EP1677551B1 (en) System, apparatus and method for enhancing mobile communication terminal Push-To-Talk (PTT) service
US20070184868A1 (en) Apparatus, and associated method, for notifying, delivering, and deleting media bursts communicated in a push-to-talk over cellular communication system
EP2227044A1 (en) Method, network element equipment and network system for instant message delivery status notification
EP2224652B1 (en) Method, system, server and terminal for canceling a push message
US8656001B2 (en) Communication system, application server and communication method for server cooperation
US7680887B2 (en) Method and device for messaging
JP4940335B2 (en) Telephone exchange apparatus, telephone terminal, and control method used in telephone system
US20130097331A1 (en) Submit Report Handling In SMSIP
US20100306349A1 (en) Method and System for Configuring Service on Terminal
US8644153B2 (en) Infrastructure for mediation device to mediation device communication
CN101584202A (en) User plane location services over session initiation protocol
WO2009026842A1 (en) A processing method and device of the session initiation protocol push message
JP4541333B2 (en) Terminal device, system, method, and program
WO2007033552A1 (en) A method for processing the message in the multimedia message service and a system thereof
EP2445262A1 (en) System and method for routing instant messages
KR100604723B1 (en) Method and system for acknowledgement of receipt and reading of multimedia data using a data burst message
KR20120056987A (en) Method for call setup based on fmc communication and call connection infra
WO2007053999A1 (en) A method and system for realizing short message function of sip terminal

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08784101

Country of ref document: EP

Kind code of ref document: A1