WO2010017749A1 - Method and apparatus for negotiating data compression algorithm through cx or sh interface - Google Patents

Method and apparatus for negotiating data compression algorithm through cx or sh interface Download PDF

Info

Publication number
WO2010017749A1
WO2010017749A1 PCT/CN2009/073125 CN2009073125W WO2010017749A1 WO 2010017749 A1 WO2010017749 A1 WO 2010017749A1 CN 2009073125 W CN2009073125 W CN 2009073125W WO 2010017749 A1 WO2010017749 A1 WO 2010017749A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
network element
compression algorithm
providing network
supported
Prior art date
Application number
PCT/CN2009/073125
Other languages
French (fr)
Chinese (zh)
Inventor
马春燕
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2010017749A1 publication Critical patent/WO2010017749A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for negotiating a data compression algorithm through a Cx or Sh interface. Background technique
  • HSS Home Subscriber Server
  • User Data User Data
  • HSS Home Subscriber Server
  • the HSS is a network database that supports user registration and stores user identity, location data, and trigger policy information.
  • the HSS is also responsible for user authentication and authorization control information for network access.
  • the service call control function S-CSCF uses the Cx interface from the HSS.
  • the S-CSCF sends a user registration/deregistration request message to the HSS;
  • SAA The HSS returns a user registration/logout response message to the S-CSCF, carrying the user's subscription data.
  • the user's subscription data is described in XML (extensible Markup Language) format.
  • the amount of data downloaded by Cx is related to the subscription data of the user, and the user data is encoded by XML, the amount of data is large, which causes the transmission to occupy a large amount of bandwidth resources, and the performance of the Cx interface is also affected.
  • the IMS service server AS obtains the user's subscription data flow (UDR/UDA, PUR/PUA) from the HSS using the Sh interface (Diameter protocol bearer) as follows: (I) The process of AS downloading subscription data and/or transparent data (transparent data, ie, HSS does not understand semantic data) from the HSS due to business processing needs
  • UDR The AS initiates a user data read request message to the HSS.
  • UDA The HSS returns a user data read response message to the AS, carrying the user's subscription data and transparent data.
  • the user's subscription data and transparent data are described in XML format.
  • PUR The AS initiates a user data update request message to the HSS, carrying transparent data, and the transparent data is described in an XML format;
  • PUA The HSS returns a user data update response message to the AS.
  • the amount of data downloaded by Sh is related to the subscription data of the user, and is also related to the amount of transparent data stored by the AS in the HSS. Since the amount of data is large by using the XML format encoding, the transmission consumes a large amount of bandwidth resources, Sh Interface performance is also affected. Summary of the invention
  • the technical problem to be solved by the embodiments of the present invention is to provide a method and a device for negotiating a data compression algorithm through a Cx or Sh interface, and the data exchange parties can dynamically negotiate a data compression mechanism to select a smarter and more appropriate process to avoid data configuration.
  • the complexity is to provide a method and a device for negotiating a data compression algorithm through a Cx or Sh interface, and the data exchange parties can dynamically negotiate a data compression mechanism to select a smarter and more appropriate process to avoid data configuration.
  • an embodiment of the present invention provides a method for negotiating a data compression algorithm through a Cx or Sh interface, including:
  • the data providing network element obtains a compression algorithm supported by the data request network element
  • the data providing network element determines whether it supports the compression algorithm, and if so, the negotiation is successful, and the data providing network element uses the compression algorithm to compress the data requested by the data requesting network element.
  • the data provides network elements, including:
  • An obtaining unit configured to acquire a compression algorithm supported by the data request network element;
  • a determining unit configured to determine whether the data providing network element supports the compression algorithm, and if yes, determining that the negotiation is successful;
  • a compression unit configured to compress the data requested by the data requesting network element by using a compression algorithm successfully negotiated.
  • the embodiment of the present invention further provides a system for transmitting data through a Cx or Sh interface, including: a data requesting network element, configured to send a data request to a data providing network element, where the data request carries data supported by the data requesting network element.
  • Compression algorithm
  • a data providing network element configured to obtain a compression algorithm supported by the data requesting network element, and determine whether the data is supported by the network, and if yes, the negotiation succeeds, and the data requested by the network element is requested by the compression algorithm. Compressing; and transmitting data to the data requesting network element.
  • the beneficial effects of the embodiments of the present invention are that the data exchange parties can select smarter and more appropriate processes according to actual conditions through dynamic negotiation, avoiding the complexity of data configuration and making the data interaction mechanism more flexible.
  • the dynamic negotiation method also makes it easy to re-consult the compression algorithm even if one of the data exchange parties changes, or the compressed data changes, thereby improving the applicability of the compression algorithm negotiation.
  • Figure la is a schematic diagram of transmitting user data through a Cx interface in the prior art
  • Figure lb is a schematic diagram of transmitting user data through the Sh interface in the prior art
  • FIG. 2 is a schematic flowchart of a method for negotiating a data compression algorithm according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic flowchart of a specific implementation process of Embodiment 1 of the present invention
  • FIG. 4 is a schematic structural diagram of an apparatus for negotiating a data compression algorithm according to Embodiment 2 of the present invention
  • FIG. 5 is a schematic flowchart of a method for data transmission according to Embodiment 3 of the present invention
  • FIG. 6 is a schematic diagram of a specific implementation process of Embodiment 3 of the present invention. detailed description
  • a first embodiment of the present invention provides a method for negotiating a data compression algorithm through a Cx or Sh interface, including:
  • the data providing network element obtains a compression algorithm supported by the data request network element
  • the data providing network element determines whether it supports the compression algorithm. If yes, the negotiation succeeds.
  • the data providing network element uses the compression algorithm to compress the data requested by the data requesting network element; otherwise, the negotiation fails, and the negotiation is not performed. compression.
  • the data providing network element acquires the data requesting network element to support the compression algorithm, and the data providing network element receives the request message sent by the data requesting network element, where the request message carries the compression algorithm supported by the data requesting network element.
  • the data providing network element and the data requesting network element support the compressed user data and the corresponding compression algorithm by using the compression indication parameter carried in the request message.
  • the data providing network element may also cache a data compression request algorithm supported by the network element with other interaction processes of the data requesting network element. Therefore, when the data provides subsequent compression data of the network element, the compression algorithm supported by the data requesting network element is used to negotiate the compressed data.
  • the data requesting network element is an S-CSCF or an AS
  • the data providing network element is an HSS.
  • the Feature-List-ID parameter of 3GPP TS29.229v8.L0 (separated in the Supported Features parameter) needs to be extended as a compression indication parameter, as shown in the following table:
  • the 2 ⁇ 3 compression indication optionally indicates whether the S-CSCF/HSS supports compressed user data and the corresponding compression algorithm.
  • the Feature-List-ID parameter extension feature bits 2 ⁇ 3 are used as compression indication bits to indicate whether the S-CSCF/HSS supports compressed user data and a corresponding compression algorithm, for example: 00: compression is not supported; 01: gzip Compression; 10: EXI compression; 11: Reserved.
  • the specific compression algorithm can be configured and extended as needed. The above definitions are only examples.
  • the Feature-List-ID parameter of 3GPP TS29.329v8.0.0 needs to be extended.
  • the process of the compression algorithm negotiated through the Cx interface is specifically:
  • the S-CSCF sends a SAR message to the HSS, which is extended by Supported in the message.
  • the Features parameter carries the specific compression algorithm supported by the S-CSCF.
  • the HSS learns the specific compression algorithm supported by the S-CSCF from the compression indication bit, and then determines whether it supports the corresponding compression algorithm. If yes, the compression algorithm carried in the message is used to perform the user data. Compressed, otherwise it is not compressed.
  • the HSS may select a compression algorithm to compress the data in the following manner: (1) Optionally, selecting one of the commonly supported compression algorithms; 2) Selecting based on a certain rule, the rule may be pre-configured, for example, according to a specific application scenario, pre-configuring a priority list of the compression algorithm in the HSS, when
  • the HSS When there are multiple compression algorithms supported by the HSS and the S-CSCF, the HSS will select according to the priority list. As shown in FIG. 3, when the data request unit is an AS, the process of negotiating the compression algorithm through the Sh interface is specifically:
  • the AS sends a UDR message to the HSS, and carries the specific compression algorithm supported by the AS through the extended Supported Features parameter in the message.
  • the message may specifically be a user data read request message.
  • the HSS learns the specific compression algorithm supported by the AS from the compression indication bit, and then determines whether it supports the corresponding compression algorithm. If yes, the compression algorithm carried in the message is used to compress the user data. Otherwise it is not compressed.
  • the HSS may select a compression algorithm to compress the data in the following manner: (1) Optional, that is, select one of the commonly supported compression algorithms; (2) Based on a certain rule, the rule may be pre-configured. For example, according to a specific application scenario, a priority list of the compression algorithm is configured in advance in the HSS. When there are multiple compression algorithms supported by the HSS and the AS, the HSS Select according to the priority list.
  • the HSS can obtain the compression algorithm supported by the S-CSCF/AS by configuring the negotiation result for the subsequent HSS-initiated update process (Cx interface PPR/PPA, Sh interface PNR/PNA). .
  • the data negotiation mode enables the data exchange parties to select a smarter and more appropriate process according to the actual situation, avoids the complexity of data configuration, and makes the data interaction mechanism more flexible.
  • the dynamic negotiation method also makes it easy to re-consider the compression algorithm even if one of the data exchange parties changes, or the compressed data changes, thereby improving the applicability of the compression algorithm negotiation.
  • a second embodiment of the present invention provides a data providing network element, including: an acquiring unit, configured to acquire a compression algorithm supported by a data requesting network element;
  • a determining unit configured to determine whether the data providing network element supports the compression algorithm, and if yes, determining that the negotiation is successful;
  • a compression unit configured to compress data requested by the data request network element by using a compression algorithm that is successfully negotiated.
  • the acquiring unit is specifically configured to obtain, from the request message sent by the received data requesting network element, a compression algorithm supported by the data requesting network element.
  • the device is a home subscription subscriber server HSS.
  • the data requesting network element may be an S-CSCF or an AS
  • the data providing network element may be an HSS.
  • the data negotiation mode enables the data exchange parties to select a smarter and more appropriate process according to the actual situation, avoids the complexity of data configuration, and makes the data interaction mechanism more flexible.
  • the dynamic negotiation method also makes it easy to re-consider the compression algorithm even if one of the data exchange parties changes, or the compressed data changes, thereby improving the applicability of the compression algorithm negotiation.
  • a third embodiment of the present invention provides a method for transmitting data through a Cx or Sh interface, including:
  • the data providing network element obtains a compression algorithm supported by the data request network element
  • the data providing network element determines whether it supports the compression algorithm. If yes, the negotiation is successful, and the data providing network element uses the compression algorithm to input data requested by the data request network element into the data providing network element. Transmitting the compressed data to the data requesting network element.
  • the data providing network element sends a message to the data requesting network element, where the message carries the compression algorithm and the compressed data;
  • the data providing network element sends a message to the data requesting network element, the message carrying data uncompressed indication and uncompressed data.
  • the HSS and the S-CSCF exchange the Cx interface, and the request message carries a compression indication parameter, for example, Feature- List-ID parameter, the Feature-List-ID parameter
  • a compression indication parameter for example, Feature- List-ID parameter, the Feature-List-ID parameter
  • the 2 ⁇ 3 bits of the number of flag bits are extended to a compression indicator bit, and the compression indicator bit is used to indicate whether the data providing network element and the data request network element support compressed user data and a corresponding compression algorithm.
  • the HSS and the AS interact through the Sh interface, and the request message carries a compression indication parameter, such as a Feature-List-ID parameter.
  • a compression indication parameter such as a Feature-List-ID parameter.
  • the 1-2 bits of the Feature-List-ID parameter are extended to a compression indication bit, and the compression indication bit is used to indicate whether the data providing network element and the data request network element support compressed user data and a corresponding compression algorithm.
  • the data requesting network element is an S-CSCF or an AS
  • the data providing network element is an HSS.
  • the process of data transmission through the Cx interface is specifically:
  • the S-CSCF sends a SAR message to the HSS, and carries the specific compression algorithm supported by the S-CSCF through the extended Supported Features parameter in the message.
  • the message may specifically be a user registration/logout request message.
  • the HSS learns the specific compression algorithm supported by the S-CSCF from the compression indication bit, and then determines whether it supports the corresponding compression algorithm. If yes, the compression algorithm carried in the message is used to perform the user data. Compressed, otherwise it is not compressed.
  • step 1-2 the data compression algorithm of the S-CSCF and the HSS has been negotiated. If the negotiation is successful, the HSS returns an SAA message to the S-CSCF, and the used compression algorithm and the compressed user data are carried in the message. If the negotiation fails, the HSS returns an SAA message to the S-CSCF, which carries the data uncompressed indication and the uncompressed data. It can be understood that the compression algorithm or data uncompressed indication carried in the message is embodied in the aforementioned compression indication bit.
  • the process of data transmission through the Sh interface is specifically:
  • the AS sends a UDR message to the HSS, and carries the specific compression algorithm supported by the AS through the extended Supported Features parameter in the message. 2. After receiving the message, the HSS learns the specific compression algorithm supported by the AS from the compression indication bit, and then determines whether it supports the corresponding compression algorithm. If yes, the compression algorithm carried in the message is used to compress the user data. Otherwise it is not compressed.
  • step 1-2 the AS and HSS data compression algorithms have been negotiated. If the negotiation is successful, the HSS returns a UDA message to the AS, and the message carries the used compression algorithm and the compressed user data. If the negotiation fails. Then, the HSS returns a UDA message to the AS, where the message carries the uncompressed data indication and the uncompressed data. It can be understood that the compression algorithm or data uncompressed indication carried in the message is embodied in the foregoing compression indication bit.
  • the data negotiation algorithm dynamically negotiates the data compression algorithm, so that the data exchange partners can select a smarter and more appropriate process according to the actual situation, avoid the complexity of data configuration, and make the data interaction mechanism more flexible.
  • the data is compressed and transmitted by the negotiated compression algorithm, which reduces the occupation of bandwidth resources by the Cx/Sh interface and improves the performance of the interface, especially for storage type network elements that often need to transmit large packets of data.
  • a fourth embodiment of the present invention provides a system for transmitting data through a Cx or Sh interface, including: a data requesting network element, configured to send a data request to a data providing network element, where the data request carries data supported by the data requesting network element. Compression algorithm
  • a data providing network element configured to obtain a compression algorithm supported by the data requesting network element, and determine whether the data is supported by the network, and if yes, the negotiation succeeds, and the data requested by the network element is requested by the compression algorithm. Compressing; and transmitting data to the data requesting network element according to the result of the negotiation.
  • the data providing network element is further configured to: if the negotiation is successful, send a message to the data requesting network element, where the message carries the compression algorithm and the compressed data; if the negotiation fails, the data is sent to the data The requesting network element sends a message carrying the data uncompressed indication and the uncompressed data.
  • the data requesting network element is a serving call control function S-CSCF or a service server AS
  • the data providing network element is a home subscription user server.
  • the data negotiation algorithm dynamically negotiates the data compression algorithm, so that the data exchange parties can select a smarter and more appropriate process according to the actual situation, avoid the complexity of data configuration, and make the data interaction mechanism more flexible.
  • the dynamic negotiation method also makes it possible to re-consider the compression algorithm even if one of the data exchange parties changes or the compressed data changes, thereby improving the applicability of the compression algorithm negotiation.
  • the data providing network element obtains a compression algorithm supported by the data request network element
  • the data providing network element determines whether the supporting algorithm supports the compression algorithm. If yes, the negotiation succeeds, and the data providing network element uses the compression algorithm to compress the data requested by the data requesting network element by using the storage medium mentioned above. It is a read-only memory, a disk or a disc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method and apparatus for negotiating data compression algorithm through Cx or Sh interface is provided by the embodiment of the present invention, which includes that: a data providing network element acquires the compression algorithm supported by a data requiring network element; the data providing network element judges whether said compression algorithm is supported by itself or not, if yes, the negotiation is successful, and the data providing network element adopts said compression algorithm to compress the data required by the data requiring network element. A data providing network element is also provided by the embodiment of the present invention. The embodiment of the present invention enables both sides of exchanging data to select a more intelligent and more appropriate flow according to the practical situation through a dynamic negotiation way, thereby avoids the complexity of the data configuration and makes the data exchanging mechanism more flexible. Compressing the data by the negotiated compression algorithm, can reduce the bandwidth resources occupation of the Cx/Sh interface and improve the interface performance, and it is especially suitable for the storing type network element transmitting large packages of data volume frequently.

Description

通过 Cx或 Sh接口协商数据压缩算法的方法  Method for negotiating data compression algorithm through Cx or Sh interface
本申请要求了 2008年 8月 12日提交的, 申请号为 200810030124.9, 发 明名称为 "通过 Cx或 Sh接口协商数据压缩算法的方法及装置" 的中国申 请优先权, 其全部内容通过引用结合在本申请中。 技术领域  This application claims the priority of the Chinese application filed on August 12, 2008, the application number is 200810030124.9, and the invention is entitled "Method and Apparatus for Negotiating Data Compression Algorithm by Cx or Sh Interface", the entire contents of which are incorporated herein by reference. In the application. Technical field
本发明涉及通信领域, 尤其涉及一种通过 Cx或 Sh接口协商数据压缩 算法的方法及装置。 背景技术  The present invention relates to the field of communications, and in particular, to a method and apparatus for negotiating a data compression algorithm through a Cx or Sh interface. Background technique
IMS (基于 IP多媒体子系统) 中, 用户数据 (User-Data) 及与其相关 联的业务数据集中在归属签约用户服务器 HSS (Home Subscriber Server) 。 HSS是支持用户注册并存放用户身份、 位置数据和触发策略信息的网络数 据库, HSS也负责用户进行网路接入的认证和授权控制信息的管理。  In IMS (IP-based Multimedia Subsystem), User Data (User-Data) and its associated service data are concentrated in the Home Subscriber Server (HSS). The HSS is a network database that supports user registration and stores user identity, location data, and trigger policy information. The HSS is also responsible for user authentication and authorization control information for network access.
请参照图 la所示, 服务呼叫控制功能 S-CSCF从 HSS使用 Cx接口 Referring to Figure la, the service call control function S-CSCF uses the Cx interface from the HSS.
(Diameter协议承载) 获取用户的签约数据流程 (SAR/SAA) 具体如下:(Diameter protocol bearer) Obtain the user's contract data flow (SAR/SAA) as follows:
1、 SAR: S-CSCF向 HSS发送用户注册 /注销请求消息; 1. SAR: The S-CSCF sends a user registration/deregistration request message to the HSS;
2、 SAA: HSS向 S-CSCF返回用户注册 /注销响应消息, 携带用户的签 约数据。 用户的签约数据采用 XML (extensible Markup Language, 可扩展 标记语言) 格式描述。  2. SAA: The HSS returns a user registration/logout response message to the S-CSCF, carrying the user's subscription data. The user's subscription data is described in XML (extensible Markup Language) format.
由于 Cx下载的数据量和用户的签约数据相关, 而用户数据采用 XML 方式编码使数据量较大, 导致传输对带宽资源的占用比较大, Cx接口性能 也受到影响。  Since the amount of data downloaded by Cx is related to the subscription data of the user, and the user data is encoded by XML, the amount of data is large, which causes the transmission to occupy a large amount of bandwidth resources, and the performance of the Cx interface is also affected.
再参照图 lb所示, IMS业务服务器 AS从 HSS使用 Sh接口 (Diameter 协议承载) 获取用户的签约数据流程 (UDR/UDA, PUR/PUA) 具体如下: (一) AS 由于业务处理需要从 HSS下载签约数据和 /或透明数据 (透 明数据即 HSS不理解语意的数据) 的流程 Referring again to FIG. 1b, the IMS service server AS obtains the user's subscription data flow (UDR/UDA, PUR/PUA) from the HSS using the Sh interface (Diameter protocol bearer) as follows: (I) The process of AS downloading subscription data and/or transparent data (transparent data, ie, HSS does not understand semantic data) from the HSS due to business processing needs
1、 UDR: AS向 HSS发起用户数据读取请求消息;  1. UDR: The AS initiates a user data read request message to the HSS.
2、 UDA: HSS 向 AS返回用户数据读取响应消息, 携带用户的签约数 据和透明数据。 用户的签约数据和透明数据采用 XML格式描述。  2. UDA: The HSS returns a user data read response message to the AS, carrying the user's subscription data and transparent data. The user's subscription data and transparent data are described in XML format.
(二) AS 由于业务处理需要在 HSS 中更新 (添力口 /修改 /删除) 透明数 据的流程  (ii) The process of updating (adding/modifying/deleting) transparent data in the HSS due to business processing needs
1、 PUR: AS 向 HSS发起用户数据更新请求消息, 携带透明数据, 透 明数据采用 XML格式描述;  1. PUR: The AS initiates a user data update request message to the HSS, carrying transparent data, and the transparent data is described in an XML format;
2、 PUA: HSS向 AS返回用户数据更新响应消息。  2. PUA: The HSS returns a user data update response message to the AS.
上述流程中, Sh下载的数据量和用户的签约数据相关, 也和 AS存储在 HSS的透明数据量相关, 由于采用 XML格式编码使数据量较大, 导致传输 对带宽资源的占用比较大, Sh接口性能也受到影响。 发明内容  In the above process, the amount of data downloaded by Sh is related to the subscription data of the user, and is also related to the amount of transparent data stored by the AS in the HSS. Since the amount of data is large by using the XML format encoding, the transmission consumes a large amount of bandwidth resources, Sh Interface performance is also affected. Summary of the invention
本发明实施例要解决的技术问题在于, 提供一种通过 Cx或 Sh接口协 商数据压缩算法的方法及装置, 数据交换双方可以动态协商数据压缩机制, 从而选择更智能更恰当的流程, 避免数据配置的复杂性。  The technical problem to be solved by the embodiments of the present invention is to provide a method and a device for negotiating a data compression algorithm through a Cx or Sh interface, and the data exchange parties can dynamically negotiate a data compression mechanism to select a smarter and more appropriate process to avoid data configuration. The complexity.
为解决上述技术问题, 本发明实施例提供一种通过 Cx或 Sh接口协商 数据压缩算法的方法, 包括:  To solve the above technical problem, an embodiment of the present invention provides a method for negotiating a data compression algorithm through a Cx or Sh interface, including:
数据提供网元获取数据请求网元支持的压缩算法;  The data providing network element obtains a compression algorithm supported by the data request network element;
数据提供网元判断自身是否支持所述压缩算法, 如果是, 则协商成功, 所述数据提供网元采用所述压缩算法对所述数据请求网元请求的数据进行压 本发明实施例还提供一种数据提供网元, 包括:  The data providing network element determines whether it supports the compression algorithm, and if so, the negotiation is successful, and the data providing network element uses the compression algorithm to compress the data requested by the data requesting network element. The data provides network elements, including:
获取单元, 用于获取数据请求网元支持的压缩算法; 判断单元, 用于判断数据提供网元是否支持所述压缩算法, 如果是, 则 判断协商成功; An obtaining unit, configured to acquire a compression algorithm supported by the data request network element; a determining unit, configured to determine whether the data providing network element supports the compression algorithm, and if yes, determining that the negotiation is successful;
压缩单元, 用于采用协商成功的压缩算法对所述数据请求网元请求的数 据进行压缩。  And a compression unit, configured to compress the data requested by the data requesting network element by using a compression algorithm successfully negotiated.
本发明实施例还提供一种通过 Cx或 Sh接口传输数据的系统, 包括: 数据请求网元, 用于向数据提供网元发送数据请求, 所述数据请求携带 所述数据请求网元支持的数据压缩算法;  The embodiment of the present invention further provides a system for transmitting data through a Cx or Sh interface, including: a data requesting network element, configured to send a data request to a data providing network element, where the data request carries data supported by the data requesting network element. Compression algorithm
数据提供网元, 用于获取所述数据请求网元支持的压缩算法, 判断自身 是否支持所述压缩算法, 如果是, 则协商成功, 采用所述压缩算法对所述数 据请求网元请求的数据进行压缩; 并将数据传输给所述数据请求网元。  a data providing network element, configured to obtain a compression algorithm supported by the data requesting network element, and determine whether the data is supported by the network, and if yes, the negotiation succeeds, and the data requested by the network element is requested by the compression algorithm. Compressing; and transmitting data to the data requesting network element.
本发明实施例的有益效果在于, 通过动态协商方式使得数据交换双方能 够根据实际情况选择更智能更恰当的流程, 避免数据配置的复杂性, 使数据 交互机制更加灵活。 同时, 动态协商的方式也使得即使数据交换双方中某一 方变更, 或者压缩的数据发生变化, 仍然可以方便的重新进行压缩算法的协 商, 从而提高了压缩算法协商的适用性。 附图说明  The beneficial effects of the embodiments of the present invention are that the data exchange parties can select smarter and more appropriate processes according to actual conditions through dynamic negotiation, avoiding the complexity of data configuration and making the data interaction mechanism more flexible. At the same time, the dynamic negotiation method also makes it easy to re-consult the compression algorithm even if one of the data exchange parties changes, or the compressed data changes, thereby improving the applicability of the compression algorithm negotiation. DRAWINGS
图 la是现有技术中通过 Cx接口传输用户数据的示意图;  Figure la is a schematic diagram of transmitting user data through a Cx interface in the prior art;
图 lb是现有技术中通过 Sh接口传输用户数据的示意图;  Figure lb is a schematic diagram of transmitting user data through the Sh interface in the prior art;
图 2是本发明实施例一协商数据压缩算法的方法的流程示意图; 图 3是本发明实施例一的具体实施流程示意图;  2 is a schematic flowchart of a method for negotiating a data compression algorithm according to Embodiment 1 of the present invention; FIG. 3 is a schematic flowchart of a specific implementation process of Embodiment 1 of the present invention;
图 4是本发明实施例二协商数据压缩算法的装置的结构示意图; 图 5是本发明实施例三数据传输的方法的流程示意图;  4 is a schematic structural diagram of an apparatus for negotiating a data compression algorithm according to Embodiment 2 of the present invention; FIG. 5 is a schematic flowchart of a method for data transmission according to Embodiment 3 of the present invention;
图 6是本发明实施例三的具体实施流程示意图。 具体实施方式 FIG. 6 is a schematic diagram of a specific implementation process of Embodiment 3 of the present invention. detailed description
以下结合附图对本发明实施例进行详细描述。  The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
请参照图 2所示, 本发明实施例一提供一种通过 Cx或 Sh接口协商数 据压缩算法的方法, 包括:  Referring to FIG. 2, a first embodiment of the present invention provides a method for negotiating a data compression algorithm through a Cx or Sh interface, including:
数据提供网元获取数据请求网元支持的压缩算法;  The data providing network element obtains a compression algorithm supported by the data request network element;
数据提供网元判断自身是否支持所述压缩算法, 如果是, 则协商成功, 所述数据提供网元采用所述压缩算法对所述数据请求网元请求的数据进行压 缩; 否则协商失败, 不进行压缩。  The data providing network element determines whether it supports the compression algorithm. If yes, the negotiation succeeds. The data providing network element uses the compression algorithm to compress the data requested by the data requesting network element; otherwise, the negotiation fails, and the negotiation is not performed. compression.
进一步的, 数据提供网元获取数据请求网元支持的压缩算法是指, 数据 提供网元接收数据请求网元发送的请求消息, 所述请求消息中携带所述数据 请求网元支持的压缩算法。 具体实现时, 是通过携带在请求消息中的压缩指 示参数来指示所述数据提供网元与所述数据请求网元是否支持压缩用户数据 和对应的压缩算法的。  Further, the data providing network element acquires the data requesting network element to support the compression algorithm, and the data providing network element receives the request message sent by the data requesting network element, where the request message carries the compression algorithm supported by the data requesting network element. In a specific implementation, the data providing network element and the data requesting network element support the compressed user data and the corresponding compression algorithm by using the compression indication parameter carried in the request message.
本发明的另一个实施例中, 数据提供网元也可以与数据请求网元的其他 交互流程缓存数据请求网元支持的压缩算法。 从而当数据提供网元后续压缩 数据时, 获取数据请求网元支持的压缩算法用于进行压缩数据的协商。  In another embodiment of the present invention, the data providing network element may also cache a data compression request algorithm supported by the network element with other interaction processes of the data requesting network element. Therefore, when the data provides subsequent compression data of the network element, the compression algorithm supported by the data requesting network element is used to negotiate the compressed data.
请同时结合图 3所示, 本实施例中, 数据请求网元为 S-CSCF或 AS, 数据提供网元为 HSS。  As shown in FIG. 3, in this embodiment, the data requesting network element is an S-CSCF or an AS, and the data providing network element is an HSS.
本实施例中, 对于 Cx接口, 需要扩展 3GPP TS29.229v8.L0的 Feature- List-ID参数 (嵌套于 Supported Features参数) , 以作为压缩指示参数, 详 见下表:  In this embodiment, for the Cx interface, the Feature-List-ID parameter of 3GPP TS29.229v8.L0 (separated in the Supported Features parameter) needs to be extended as a compression indication parameter, as shown in the following table:
特征位 特征 必选 /可选 描述  Feature bit Feature Required / Optional Description
0 共享 iFC集 可选 适用于 SAR/SAA和 PPR/PPA (用户注册请求 /响应和用 户更新请求 /响应) 命令对  0 Shared iFC set Optional For SAR/SAA and PPR/PPA (user registration request/response and user update request/response) command pair
1 代号指示 必选 适用于 SAR/SAA和 PPR/PPA命令对  1 Code indication Required For SAR/SAA and PPR/PPA command pairs
2~3 压縮指示 可选 指示 S-CSCF/HSS是否支持压縮用户数据和对应的压縮 算法 具体的, 对 Feature-List-ID参数扩展特征位 2~3, 作为压缩指示位, 指 示 S-CSCF/HSS是否支持压缩用户数据和对应的压缩算法, 例如: 00: 不支 持压缩; 01 : gzip压缩; 10: EXI压缩; 11 : 保留。 具体的压缩算法可以根 据需要进行配置和扩展, 上述定义仅为举例。 The 2~3 compression indication optionally indicates whether the S-CSCF/HSS supports compressed user data and the corresponding compression algorithm. Specifically, the Feature-List-ID parameter extension feature bits 2~3 are used as compression indication bits to indicate whether the S-CSCF/HSS supports compressed user data and a corresponding compression algorithm, for example: 00: compression is not supported; 01: gzip Compression; 10: EXI compression; 11: Reserved. The specific compression algorithm can be configured and extended as needed. The above definitions are only examples.
对于 Sh接口, 需要扩展 3GPP TS29.329v8.0.0的 Feature-List-ID参数 For the Sh interface, the Feature-List-ID parameter of 3GPP TS29.329v8.0.0 needs to be extended.
(嵌套于 Supported Features参数) , 以作为压缩指示参数, 详见下表: (separated in the Supported Features parameter) as a compression indicator parameter, as shown in the following table:
Figure imgf000007_0001
Figure imgf000007_0001
示 AS /HSS是否支持压缩用户数据和对应的压缩算法, 例如: 00: 不支持 压缩; 01 : gzip压缩; 10: EXI压缩; 11 : 保留。 具体的压缩算法可以根据 需要进行配置和扩展, 上述定义仅为举例。 Indicates whether AS /HSS supports compressed user data and corresponding compression algorithms, such as: 00: compression is not supported; 01: gzip compression; 10: EXI compression; 11: reserved. The specific compression algorithm can be configured and extended as needed. The above definitions are only examples.
请参照图 3所示, 当数据请求单元为 S-CSCF时, 通过 Cx接口协商压 缩算法流程具体是:  Referring to FIG. 3, when the data request unit is an S-CSCF, the process of the compression algorithm negotiated through the Cx interface is specifically:
1、 S-CSCF 向 HSS发送 SAR消息, 在消息中通过扩展的 Supported 1. The S-CSCF sends a SAR message to the HSS, which is extended by Supported in the message.
Features参数携带 S-CSCF所支持的具体的压缩算法。 The Features parameter carries the specific compression algorithm supported by the S-CSCF.
2、 HSS收到所述消息后, 从压缩指示位获知 S-CSCF所支持的具体的 压缩算法, 然后判断自身是否支持相应的压缩算法, 如果是则采用消息中携 带的压缩算法对用户数据进行压缩, 否则不压缩。  2. After receiving the message, the HSS learns the specific compression algorithm supported by the S-CSCF from the compression indication bit, and then determines whether it supports the corresponding compression algorithm. If yes, the compression algorithm carried in the message is used to perform the user data. Compressed, otherwise it is not compressed.
当 HSS与 S-CSCF所共同支持的压缩算法有多种时, HSS可以采取以 下方式选择一种压缩算法来压缩数据: (1 ) 任选, 即选择共同支持的压缩 算法中的一种; (2) 基于一定的规则来选择, 所述规则可以预先配置, 例 如根据具体的应用场景, 预先在 HSS 中配置压缩算法的优先级列表, 当 When there are multiple compression algorithms supported by the HSS and the S-CSCF, the HSS may select a compression algorithm to compress the data in the following manner: (1) Optionally, selecting one of the commonly supported compression algorithms; 2) Selecting based on a certain rule, the rule may be pre-configured, for example, according to a specific application scenario, pre-configuring a priority list of the compression algorithm in the HSS, when
HSS与 S-CSCF所共同支持的压缩算法有多种时, HSS会根据优先级列表进 行选择。 再如图 3所示, 当数据请求单元为 AS时, 通过 Sh接口协商压缩算法 流程具体是: When there are multiple compression algorithms supported by the HSS and the S-CSCF, the HSS will select according to the priority list. As shown in FIG. 3, when the data request unit is an AS, the process of negotiating the compression algorithm through the Sh interface is specifically:
1、 AS向 HSS发送 UDR消息, 在消息中通过扩展的 Supported Features 参数携带 AS所支持的具体的压缩算法。 其中, 所述消息具体可以为用户数 据读取请求消息。  1. The AS sends a UDR message to the HSS, and carries the specific compression algorithm supported by the AS through the extended Supported Features parameter in the message. The message may specifically be a user data read request message.
2、 HSS收到所述消息后, 从压缩指示位获知 AS所支持的具体的压缩 算法, 然后判断自身是否支持相应的压缩算法, 如果是则采用消息中携带的 压缩算法对用户数据进行压缩, 否则不压缩。  2. After receiving the message, the HSS learns the specific compression algorithm supported by the AS from the compression indication bit, and then determines whether it supports the corresponding compression algorithm. If yes, the compression algorithm carried in the message is used to compress the user data. Otherwise it is not compressed.
当 HSS与 AS所共同支持的压缩算法有多种时, HSS可以采取以下方 式选择一种压缩算法来压缩数据: (1 ) 任选, 即选择共同支持的压缩算法 中的一种; (2) 基于一定的规则来选择, 所述规则可以预先配置, 例如根 据具体的应用场景, 预先在 HSS中配置压缩算法的优先级列表, 当 HSS与 AS所共同支持的压缩算法有多种时, HSS会根据优先级列表进行选择。  When there are multiple compression algorithms supported by HSS and AS, the HSS may select a compression algorithm to compress the data in the following manner: (1) Optional, that is, select one of the commonly supported compression algorithms; (2) Based on a certain rule, the rule may be pre-configured. For example, according to a specific application scenario, a priority list of the compression algorithm is configured in advance in the HSS. When there are multiple compression algorithms supported by the HSS and the AS, the HSS Select according to the priority list.
此外, HSS可通过配置所述的协商结果, 对于后续 HSS发起的更新流 程 (Cx接口 PPR/PPA, Sh接口 PNR/PNA) , HSS可通过所述配置从而获 取 S-CSCF/AS支持的压缩算法。  In addition, the HSS can obtain the compression algorithm supported by the S-CSCF/AS by configuring the negotiation result for the subsequent HSS-initiated update process (Cx interface PPR/PPA, Sh interface PNR/PNA). .
本实施例通过动态协商方式使得数据交换双方能够根据实际情况选择更 智能更恰当的流程, 避免数据配置的复杂性, 使数据交互机制更加灵活。 同 时, 动态协商的方式也使得即使数据交换双方中某一方变更, 或者压缩的数 据发生变化, 仍然可以方便的重新进行压缩算法的协商, 从而提高了压缩算 法协商的适用性。  In this embodiment, the data negotiation mode enables the data exchange parties to select a smarter and more appropriate process according to the actual situation, avoids the complexity of data configuration, and makes the data interaction mechanism more flexible. At the same time, the dynamic negotiation method also makes it easy to re-consider the compression algorithm even if one of the data exchange parties changes, or the compressed data changes, thereby improving the applicability of the compression algorithm negotiation.
请参照图 4所示, 本发明实施例二提供一种数据提供网元, 包括: 获取单元, 用于获取数据请求网元支持的压缩算法;  Referring to FIG. 4, a second embodiment of the present invention provides a data providing network element, including: an acquiring unit, configured to acquire a compression algorithm supported by a data requesting network element;
判断单元, 用于判断数据提供网元是否支持所述压缩算法, 如果是, 则 判断协商成功; 压缩单元, 用于采用协商成功的压缩算法对所述数据请求网元请求的数 据进行压缩。 a determining unit, configured to determine whether the data providing network element supports the compression algorithm, and if yes, determining that the negotiation is successful; And a compression unit, configured to compress data requested by the data request network element by using a compression algorithm that is successfully negotiated.
进一步的, 所述获取单元具体用于从接收的数据请求网元发送的请求消 息中获取所述数据请求网元支持的压缩算法。  Further, the acquiring unit is specifically configured to obtain, from the request message sent by the received data requesting network element, a compression algorithm supported by the data requesting network element.
进一步的, 所述装置是归属签约用户服务器 HSS。  Further, the device is a home subscription subscriber server HSS.
本实施例中, 数据请求网元可以为 S-CSCF或 AS, 数据提供网元可以 为 HSS。  In this embodiment, the data requesting network element may be an S-CSCF or an AS, and the data providing network element may be an HSS.
本实施例通过动态协商方式使得数据交换双方能够根据实际情况选择更 智能更恰当的流程, 避免数据配置的复杂性, 使数据交互机制更加灵活。 同 时, 动态协商的方式也使得即使数据交换双方中某一方变更, 或者压缩的数 据发生变化, 仍然可以方便的重新进行压缩算法的协商, 从而提高了压缩算 法协商的适用性。  In this embodiment, the data negotiation mode enables the data exchange parties to select a smarter and more appropriate process according to the actual situation, avoids the complexity of data configuration, and makes the data interaction mechanism more flexible. At the same time, the dynamic negotiation method also makes it easy to re-consider the compression algorithm even if one of the data exchange parties changes, or the compressed data changes, thereby improving the applicability of the compression algorithm negotiation.
请参照图 5所示, 本发明实施例三提供一种通过 Cx或 Sh接口传输数 据的方法, 包括:  Referring to FIG. 5, a third embodiment of the present invention provides a method for transmitting data through a Cx or Sh interface, including:
数据提供网元获取数据请求网元支持的压缩算法;  The data providing network element obtains a compression algorithm supported by the data request network element;
所述数据提供网元判断自身是否支持所述压缩算法, 如果是, 则协商成 功, 所述数据提供网元采用所述压缩算法对所述数据请求网元请求的数据进 所述数据提供网元将压缩后的数据传输给所述数据请求网元。  The data providing network element determines whether it supports the compression algorithm. If yes, the negotiation is successful, and the data providing network element uses the compression algorithm to input data requested by the data request network element into the data providing network element. Transmitting the compressed data to the data requesting network element.
进一步的, 所述数据提供网元向所述数据请求网元发送消息, 所述消息 携带所述压缩算法和压缩后的数据;  Further, the data providing network element sends a message to the data requesting network element, where the message carries the compression algorithm and the compressed data;
如果协商失败, 则所述数据提供网元向所述数据请求网元发送消息, 所 述消息携带数据未压缩指示和未压缩的数据。  If the negotiation fails, the data providing network element sends a message to the data requesting network element, the message carrying data uncompressed indication and uncompressed data.
当所述数据提供网元是归属签约用户服务器 HSS , 数据请求网元是服 务呼叫控制功能 S-CSCF时, HSS与 S-CSCF通过 Cx接口交互, 所述请求 消息携带压缩指示参数, 例如 Feature-List-ID参数, 所述 Feature-List-ID参 数特征位的 2~3位被扩展为压缩指示位, 所述压缩指示位用于指示所述数据 提供网元与所述数据请求网元是否支持压缩用户数据和对应的压缩算法。 When the data providing network element is the home subscriber network (HSS) and the data requesting network element is the service call control function S-CSCF, the HSS and the S-CSCF exchange the Cx interface, and the request message carries a compression indication parameter, for example, Feature- List-ID parameter, the Feature-List-ID parameter The 2~3 bits of the number of flag bits are extended to a compression indicator bit, and the compression indicator bit is used to indicate whether the data providing network element and the data request network element support compressed user data and a corresponding compression algorithm.
当所述数据提供网元是归属签约用户服务器 HSS , 数据请求网元是业 务服务器 AS时, HSS与 AS通过 Sh接口交互, 所述请求消息携带压缩指示 参数, 例如 Feature-List-ID参数, 所述 Feature-List-ID参数的 1~2位被扩展 为压缩指示位, 所述压缩指示位用于指示所述数据提供网元与所述数据请求 网元是否支持压缩用户数据和对应的压缩算法。  When the data providing network element is the home subscriber network (HSS) and the data requesting network element is the service server AS, the HSS and the AS interact through the Sh interface, and the request message carries a compression indication parameter, such as a Feature-List-ID parameter. The 1-2 bits of the Feature-List-ID parameter are extended to a compression indication bit, and the compression indication bit is used to indicate whether the data providing network element and the data request network element support compressed user data and a corresponding compression algorithm. .
请同时结合图 6所示, 本实施例中, 数据请求网元为 S-CSCF或 AS, 数据提供网元为 HSS。  As shown in FIG. 6, in this embodiment, the data requesting network element is an S-CSCF or an AS, and the data providing network element is an HSS.
请参照图 6所示, 当数据请求单元为 S-CSCF时, 通过 Cx接口进行数 据传输的流程具体是:  Referring to FIG. 6, when the data request unit is an S-CSCF, the process of data transmission through the Cx interface is specifically:
1、 S-CSCF 向 HSS发送 SAR消息, 在消息中通过扩展的 Supported Features参数携带 S-CSCF所支持的具体的压缩算法。 其中, 所述消息具体 可以为用户注册 /注销请求消息。  1. The S-CSCF sends a SAR message to the HSS, and carries the specific compression algorithm supported by the S-CSCF through the extended Supported Features parameter in the message. The message may specifically be a user registration/logout request message.
2、 HSS收到所述消息后, 从压缩指示位获知 S-CSCF所支持的具体的 压缩算法, 然后判断自身是否支持相应的压缩算法, 如果是则采用消息中携 带的压缩算法对用户数据进行压缩, 否则不压缩。  2. After receiving the message, the HSS learns the specific compression algorithm supported by the S-CSCF from the compression indication bit, and then determines whether it supports the corresponding compression algorithm. If yes, the compression algorithm carried in the message is used to perform the user data. Compressed, otherwise it is not compressed.
3、 经过步骤 1-2, S-CSCF与 HSS的数据压缩算法已协商完毕, 如果协 商成功, 则 HSS向 S-CSCF返回 SAA消息, 在消息中携带使用的压缩算法 和进行压缩后的用户数据; 如果协商失败, 则 HSS向 S-CSCF返回 SAA消 息, 在消息中携带数据未压缩指示和未压缩的数据。 可以理解, 消息中携带 的压缩算法或数据未压缩指示体现在前述压缩指示位。  3. After step 1-2, the data compression algorithm of the S-CSCF and the HSS has been negotiated. If the negotiation is successful, the HSS returns an SAA message to the S-CSCF, and the used compression algorithm and the compressed user data are carried in the message. If the negotiation fails, the HSS returns an SAA message to the S-CSCF, which carries the data uncompressed indication and the uncompressed data. It can be understood that the compression algorithm or data uncompressed indication carried in the message is embodied in the aforementioned compression indication bit.
再如图 6所示, 当数据请求单元为 AS时, 通过 Sh接口进行数据传输 的流程具体是:  As shown in FIG. 6, when the data request unit is an AS, the process of data transmission through the Sh interface is specifically:
1、 AS向 HSS发送 UDR消息, 在消息中通过扩展的 Supported Features 参数携带 AS所支持的具体的压缩算法。 2、 HSS收到所述消息后, 从压缩指示位获知 AS所支持的具体的压缩 算法, 然后判断自身是否支持相应的压缩算法, 如果是则采用消息中携带的 压缩算法对用户数据进行压缩, 否则不压缩。 1. The AS sends a UDR message to the HSS, and carries the specific compression algorithm supported by the AS through the extended Supported Features parameter in the message. 2. After receiving the message, the HSS learns the specific compression algorithm supported by the AS from the compression indication bit, and then determines whether it supports the corresponding compression algorithm. If yes, the compression algorithm carried in the message is used to compress the user data. Otherwise it is not compressed.
3、 经过步骤 1-2, AS与 HSS的数据压缩算法已协商完毕, 如果协商成 功, 则 HSS向 AS返回 UDA消息, 在消息中携带使用的压缩算法和进行压 缩后的用户数据; 如果协商失败, 则 HSS向 AS返回 UDA消息, 在消息中 携带数据未压缩指示和未压缩的数据。 可以理解, 消息中携带的压缩算法或 数据未压缩指示体现在前述压缩指示位。  3. After step 1-2, the AS and HSS data compression algorithms have been negotiated. If the negotiation is successful, the HSS returns a UDA message to the AS, and the message carries the used compression algorithm and the compressed user data. If the negotiation fails. Then, the HSS returns a UDA message to the AS, where the message carries the uncompressed data indication and the uncompressed data. It can be understood that the compression algorithm or data uncompressed indication carried in the message is embodied in the foregoing compression indication bit.
本实施例在数据传输时先通过动态协商数据压缩算法, 使得数据交换双 方能够根据实际情况选择更智能更恰当的流程, 避免数据配置的复杂性, 使 数据交互机制更加灵活。 通过协商的压缩算法对数据进行压缩再进行传输, 减少 Cx/Sh接口对带宽资源的占用并提高接口性能, 特别是对于经常需要传 递大包数据量的存储型的网元。  In this embodiment, the data negotiation algorithm dynamically negotiates the data compression algorithm, so that the data exchange partners can select a smarter and more appropriate process according to the actual situation, avoid the complexity of data configuration, and make the data interaction mechanism more flexible. The data is compressed and transmitted by the negotiated compression algorithm, which reduces the occupation of bandwidth resources by the Cx/Sh interface and improves the performance of the interface, especially for storage type network elements that often need to transmit large packets of data.
本发明实施例四提供一种通过 Cx或 Sh接口传输数据的系统, 包括: 数据请求网元, 用于向数据提供网元发送数据请求, 所述数据请求携带 所述数据请求网元支持的数据压缩算法;  A fourth embodiment of the present invention provides a system for transmitting data through a Cx or Sh interface, including: a data requesting network element, configured to send a data request to a data providing network element, where the data request carries data supported by the data requesting network element. Compression algorithm
数据提供网元, 用于获取所述数据请求网元支持的压缩算法, 判断自身 是否支持所述压缩算法, 如果是, 则协商成功, 采用所述压缩算法对所述数 据请求网元请求的数据进行压缩; 并根据协商的结果, 将数据传输给所述数 据请求网元。  a data providing network element, configured to obtain a compression algorithm supported by the data requesting network element, and determine whether the data is supported by the network, and if yes, the negotiation succeeds, and the data requested by the network element is requested by the compression algorithm. Compressing; and transmitting data to the data requesting network element according to the result of the negotiation.
进一步的, 所述数据提供网元还用于如果协商成功, 则向所述数据请求 网元发送消息, 所述消息携带所述压缩算法和压缩后的数据; 如果协商失 败, 则向所述数据请求网元发送消息, 所述消息携带数据未压缩指示和未压 缩的数据。  Further, the data providing network element is further configured to: if the negotiation is successful, send a message to the data requesting network element, where the message carries the compression algorithm and the compressed data; if the negotiation fails, the data is sent to the data The requesting network element sends a message carrying the data uncompressed indication and the uncompressed data.
进一步的, 所述数据请求网元是服务呼叫控制功能 S-CSCF或业务服务 器 AS, 所述数据提供网元是归属签约用户服务器。 本实施例在数据传输时先通过动态协商数据压缩算法, 使得数据交换双 方能够根据实际情况选择更智能更恰当的流程, 避免数据配置的复杂性, 使 数据交互机制更加灵活。 同时, 动态协商的方式也使得即使数据交换双方中 某一方变更, 或者压缩的数据发生变化, 仍然可以方便的重新进行压缩算法 的协商, 从而提高了压缩算法协商的适用性。 Further, the data requesting network element is a serving call control function S-CSCF or a service server AS, and the data providing network element is a home subscription user server. In this embodiment, the data negotiation algorithm dynamically negotiates the data compression algorithm, so that the data exchange parties can select a smarter and more appropriate process according to the actual situation, avoid the complexity of data configuration, and make the data interaction mechanism more flexible. At the same time, the dynamic negotiation method also makes it possible to re-consider the compression algorithm even if one of the data exchange parties changes or the compressed data changes, thereby improving the applicability of the compression algorithm negotiation.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤 是可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机 可读存储介质中, 该程序在执行时, 包括如下步骤:  A person skilled in the art can understand that all or part of the steps of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium. , including the following steps:
数据提供网元获取数据请求网元支持的压缩算法;  The data providing network element obtains a compression algorithm supported by the data request network element;
数据提供网元判断自身是否支持所述压缩算法, 如果是, 则协商成功, 所述数据提供网元采用所述压缩算法对所述数据请求网元请求的数据进行压 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。  The data providing network element determines whether the supporting algorithm supports the compression algorithm. If yes, the negotiation succeeds, and the data providing network element uses the compression algorithm to compress the data requested by the data requesting network element by using the storage medium mentioned above. It is a read-only memory, a disk or a disc.
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不 局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可 轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明 的保护范围应该以权利要求的保护范围为准。  The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope disclosed by the present invention. Alternatives are intended to be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权利要求书 Claim
1、 一种通过 Cx或 Sh接口协商数据压缩算法的方法, 包括: 1. A method for negotiating a data compression algorithm through a Cx or Sh interface, comprising:
数据提供网元获取数据请求网元支持的压缩算法;  The data providing network element obtains a compression algorithm supported by the data request network element;
数据提供网元判断自身是否支持所述压缩算法, 如果是, 则协商成功, 所述数据提供网元采用所述压缩算法对所述数据请求网元请求的数据进行压  The data providing network element determines whether the data is supported by the network element, and if yes, the negotiation is successful, and the data providing network element uses the compression algorithm to compress the data requested by the data requesting network element.
2、 根据权利要求 1所述的方法, 其特征在于: 所述数据提供网元获取 数据请求网元支持的压缩算法, 具体包括: The method according to claim 1, wherein: the data providing network element obtains a compression algorithm supported by the data requesting network element, and specifically includes:
数据提供网元接收数据请求网元发送的请求消息, 所述请求消息中携带 所述数据请求网元支持的压缩算法。  The data providing network element receives the request message sent by the data requesting network element, where the request message carries the compression algorithm supported by the data requesting network element.
3、 根据权利要求 2所述的方法, 其特征在于: 所述请求消息通过携带 的压缩指示参数来指示所述数据提供网元与所述数据请求网元是否支持压缩 用户数据和对应的压缩算法。  The method according to claim 2, wherein: the request message indicates, by using the carried compression indication parameter, whether the data providing network element and the data requesting network element support compressed user data and a corresponding compression algorithm. .
4、 根据权利要求 3所述的方法, 其特征在于: 所述压缩指示参数是 4. The method according to claim 3, wherein: the compression indication parameter is
Feature-List-ID参数。 Feature-List-ID parameter.
5、 根据权利要求 2所述的方法, 其特征在于:  5. The method of claim 2, wherein:
当所述数据提供网元是归属签约用户服务器 HSS , 数据请求网元是服 务呼叫控制功能 S-CSCF时, HSS与 S-CSCF通过 Cx接口交互。  When the data providing network element is the home subscription subscriber server HSS and the data requesting network element is the service call control function S-CSCF, the HSS and the S-CSCF interact through the Cx interface.
6、 根据权利要求 5所述的方法, 其特征在于, 所述请求消息是用户注 册 /注销请求消息。  6. The method according to claim 5, wherein the request message is a user registration/logout request message.
7、 根据权利要求 2所述的方法, 其特征在于:  7. The method of claim 2, wherein:
当所述数据提供网元是归属签约用户服务器 HSS , 数据请求网元是业 务服务器 AS时, HSS与 AS通过 Sh接口交互。  When the data providing network element is the home subscriber network server HSS and the data requesting network element is the service server AS, the HSS and the AS interact through the Sh interface.
8、 根据权利要求 7所述的方法, 其特征在于, 所述请求消息是用户数 据读取请求消息。 8. The method according to claim 7, wherein the request message is a user data read request message.
9、 根据权利要求 1所述的方法, 其特征在于, 当数据提供网元与数据 请求网元协商所共同支持的压缩算法有多种时, 所述方法还包括, 数据提供 网元采取以下方式中的一种来选择一种压缩算法来压缩数据: The method according to claim 1, wherein when there are multiple compression algorithms supported by the data providing network element and the data requesting network element, the method further includes: the data providing network element adopts the following manner One of them to choose a compression algorithm to compress the data:
选择共同支持的压缩算法中的一种; 或者基于预先配置的规则来选择。  Select one of the commonly supported compression algorithms; or select based on pre-configured rules.
10、 根据权利要求 9所述的方法, 其特征在于, 所述预先配置的规则具 体为根据优先级列表进行选择。 10. The method according to claim 9, wherein the pre-configured rules are specifically selected according to a priority list.
11、 根据权利要求 1所述的方法, 其特征在于, 所述的方法还包括: 所述数据提供网元根据协商的结果, 将数据传输给所述数据请求网元。 The method according to claim 1, wherein the method further comprises: the data providing network element transmitting data to the data requesting network element according to a result of the negotiation.
12、 一种数据提供网元, 其特征在于: 包括: 12. A data providing network element, comprising:
获取单元, 用于获取数据请求网元支持的压缩算法;  An obtaining unit, configured to acquire a compression algorithm supported by the data request network element;
判断单元, 用于判断数据提供网元是否支持所述压缩算法, 如果是, 则 判断协商成功;  a determining unit, configured to determine whether the data providing network element supports the compression algorithm, and if yes, determining that the negotiation is successful;
压缩单元, 用于采用协商成功的压缩算法对所述数据请求网元请求的数 据进行压缩。  And a compression unit, configured to compress the data requested by the data requesting network element by using a compression algorithm successfully negotiated.
13、 根据权利要求 12所述的数据提供网元, 其特征在于: 所述获取单 元具体从接收的数据请求网元发送的请求消息中获取所述数据请求网元支持 的压缩算法。  The data providing network element according to claim 12, wherein: the acquiring unit obtains a compression algorithm supported by the data requesting network element from a request message sent by the received data requesting network element.
14、 根据权利要求 12所述的数据提供网元, 其特征在于: 所述装置是 归属签约用户服务器 HSS。  The data providing network element according to claim 12, wherein: the device is a home subscription subscriber server HSS.
15、 一种通过 Cx或 Sh接口传输数据的系统, 其特征在于, 包括: 数据请求网元, 用于向数据提供网元发送数据请求, 所述数据请求携带 所述数据请求网元支持的数据压缩算法;  A system for transmitting data through a Cx or a Sh interface, the method comprising: a data requesting network element, configured to send a data request to a data providing network element, where the data request carries data supported by the data requesting network element Compression algorithm
数据提供网元, 用于获取所述数据请求网元支持的压缩算法, 判断自身 是否支持所述压缩算法, 如果是, 则协商成功, 采用所述压缩算法对所述数 据请求网元请求的数据进行压缩; 并将数据传输给所述数据请求网元。  a data providing network element, configured to obtain a compression algorithm supported by the data requesting network element, and determine whether the data is supported by the network, and if yes, the negotiation succeeds, and the data requested by the network element is requested by the compression algorithm. Compressing; and transmitting data to the data requesting network element.
16、 根据权利要求 15所述的系统, 其特征在于: 所述数据提供网元还 用于, 如果协商失败, 则向所述数据请求网元发送消息, 所述消息携带数据 未压缩指示和未压缩的数据。 16. The system according to claim 15, wherein: said data providing network element further And, if the negotiation fails, sending a message to the data requesting network element, where the message carries data uncompressed indication and uncompressed data.
17、 根据权利要求 15或 16所述的系统, 其特征在于: 所述数据请求网 元是服务呼叫控制功能 S-CSCF或业务服务器 AS , 所述数据提供网元是归 属签约用户服务器 HSS。  The system according to claim 15 or 16, wherein: the data requesting network element is a serving call control function S-CSCF or a service server AS, and the data providing network element is a home subscriber network (HSS).
PCT/CN2009/073125 2008-08-12 2009-08-06 Method and apparatus for negotiating data compression algorithm through cx or sh interface WO2010017749A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200810030124 CN101355554A (en) 2008-08-12 2008-08-12 Method and apparatus for negotiating data compression algorithm through Cx or Sh interface
CN200810030124.9 2008-08-12

Publications (1)

Publication Number Publication Date
WO2010017749A1 true WO2010017749A1 (en) 2010-02-18

Family

ID=40308147

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/073125 WO2010017749A1 (en) 2008-08-12 2009-08-06 Method and apparatus for negotiating data compression algorithm through cx or sh interface

Country Status (2)

Country Link
CN (1) CN101355554A (en)
WO (1) WO2010017749A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2573999A1 (en) * 2011-09-21 2013-03-27 Hangzhou H3C Technologies Co., Ltd. A transmission method for supporting data compression
WO2021025605A1 (en) * 2019-08-08 2021-02-11 Telefonaktiebolaget Lm Ericsson (Publ) Reducing network traffic

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355554A (en) * 2008-08-12 2009-01-28 华为技术有限公司 Method and apparatus for negotiating data compression algorithm through Cx or Sh interface
CN102752795B (en) * 2011-04-20 2015-09-30 华为终端有限公司 Data communications method and communication service node
CN102447574B (en) 2011-08-18 2014-03-12 杭州华三通信技术有限公司 Method for realizing zero configuration of IRF (intelligent resilient framework) equipment and equipment
CN103945453A (en) * 2013-01-18 2014-07-23 中国普天信息产业股份有限公司 Transmission method based on Diameter protocol
EP3113028B1 (en) * 2014-04-30 2018-10-31 Huawei Technologies Co., Ltd. Method, device, and system for interaction between hard disk drives
CN104113557B (en) * 2014-07-31 2017-12-22 中国联合网络通信集团有限公司 User on-position management method and device based on IMS voice and video business
CN107306444A (en) * 2016-04-25 2017-10-31 中兴通讯股份有限公司 Send the method and device of data
CN117544986A (en) * 2022-08-01 2024-02-09 中兴通讯股份有限公司 Data transmission method, device and system, storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040008650A1 (en) * 2002-07-12 2004-01-15 Khiem Le Wireless communications system having built-in packet data compression and support for enabling non-standard features between network elements
CN101141487A (en) * 2006-09-07 2008-03-12 华为技术有限公司 Method and device for applying common service sign
CN101175300A (en) * 2006-11-03 2008-05-07 华为技术有限公司 Negotiation method and system of compression algorithm under control interface and user interface separated structure
WO2008061940A2 (en) * 2006-11-21 2008-05-29 Nokia Corporation Signal message decompressor
CN101197824A (en) * 2006-12-08 2008-06-11 华为技术有限公司 Method and system for confirming compression algorithm
CN101355554A (en) * 2008-08-12 2009-01-28 华为技术有限公司 Method and apparatus for negotiating data compression algorithm through Cx or Sh interface

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040008650A1 (en) * 2002-07-12 2004-01-15 Khiem Le Wireless communications system having built-in packet data compression and support for enabling non-standard features between network elements
CN101141487A (en) * 2006-09-07 2008-03-12 华为技术有限公司 Method and device for applying common service sign
CN101175300A (en) * 2006-11-03 2008-05-07 华为技术有限公司 Negotiation method and system of compression algorithm under control interface and user interface separated structure
WO2008061940A2 (en) * 2006-11-21 2008-05-29 Nokia Corporation Signal message decompressor
CN101197824A (en) * 2006-12-08 2008-06-11 华为技术有限公司 Method and system for confirming compression algorithm
CN101355554A (en) * 2008-08-12 2009-01-28 华为技术有限公司 Method and apparatus for negotiating data compression algorithm through Cx or Sh interface

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2573999A1 (en) * 2011-09-21 2013-03-27 Hangzhou H3C Technologies Co., Ltd. A transmission method for supporting data compression
WO2021025605A1 (en) * 2019-08-08 2021-02-11 Telefonaktiebolaget Lm Ericsson (Publ) Reducing network traffic

Also Published As

Publication number Publication date
CN101355554A (en) 2009-01-28

Similar Documents

Publication Publication Date Title
WO2010017749A1 (en) Method and apparatus for negotiating data compression algorithm through cx or sh interface
KR101430442B1 (en) Method for updating session using network-based management of capability of terminal
US7796592B2 (en) Optimizing static dictionary usage for signal, hypertext transfer protocol and bytecode compression in a wireless network
US8868788B2 (en) Optimizing static dictionary usage for signal compression and for hypertext transfer protocol compression in a wireless network
DK2044747T3 (en) Technique for providing access to a media resource connected to a network detected devices
US7890101B2 (en) Call controlling apparatus, call controlling method, and computer program
US8209432B2 (en) Method and arrangement for communicating multimedia content
US20150365415A1 (en) Method, system and apparatus for handling terminal capabilities
JP5091569B2 (en) Communication control apparatus, system and method for each service
US20140149534A1 (en) Methods and arrangements for caching static information for packet data applications in wireless communication systems
KR20080043266A (en) System and method for providing a converged messaging service
WO2007068209A1 (en) A method, system and device for transmitting ims instant messages
EP3289787A1 (en) Changing ims supplementary service data in an ims network
WO2015192559A1 (en) Ims, and method and apparatus for provisioning service in ims
WO2009113947A1 (en) Using a hash value as a pointer to an application class in a communications device
CN1984140B (en) Method for discussing Internet protocol multi-medium sub-system service ability
TW200935845A (en) Session initiation protocol message payload compression
US8051129B2 (en) Arrangement and method for reducing required memory usage between communication servers
CN101001145A (en) Authentication method for support terminal roaming of non-IP multimedia service subsystem
WO2010022603A1 (en) A method, a system and an apparatus for attaching to the peer to peer network and obtaining iptv contents
EP1726139B1 (en) Compression scheme negotiation
US20140235235A1 (en) Methods, Systems, and Computer Readable Media for Optimization of Bearer Resources for IMS Roaming
KR20060081556A (en) Method for processing session initiation protocol, and system for providing internet protocol multimedia service based on the same
WO2012083772A1 (en) System and method for integrating iptv and video monitoring based on ims

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

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

Country of ref document: EP

Kind code of ref document: A1