WO2011072613A1 - 一种控制ccg向aaa发送radius消息速率的方法、装置及系统 - Google Patents

一种控制ccg向aaa发送radius消息速率的方法、装置及系统 Download PDF

Info

Publication number
WO2011072613A1
WO2011072613A1 PCT/CN2010/079888 CN2010079888W WO2011072613A1 WO 2011072613 A1 WO2011072613 A1 WO 2011072613A1 CN 2010079888 W CN2010079888 W CN 2010079888W WO 2011072613 A1 WO2011072613 A1 WO 2011072613A1
Authority
WO
WIPO (PCT)
Prior art keywords
radius message
radius
message
current network
rate
Prior art date
Application number
PCT/CN2010/079888
Other languages
English (en)
French (fr)
Inventor
白香君
庞长春
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2011072613A1 publication Critical patent/WO2011072613A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/25Flow control; Congestion control with rate being modified by the source upon detecting a change of network conditions

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, apparatus, and system for controlling a rate of a radius message.
  • the content charging gateway is mainly used to solve the functions of access, service control, and charging support of data services carried by the current mobile communication network, and supports various typical data services such as: hypertext transmission. Protocol (HTTP, Hyper Text Transfer Protocol) service, WAP (Wireless Application Protocol) browsing service, Multimedia Messaging Service (MMS), streaming media service, mail service, file transfer protocol (FTP, File Transfer Protocol ) Business, etc.
  • HTTP Hyper Text Transfer Protocol
  • WAP Wireless Application Protocol
  • MMS Multimedia Messaging Service
  • FTP File Transfer Protocol
  • Business etc.
  • AAA Authentication, Authorization and Accounting
  • Authentication is used to verify whether a user can gain access;
  • Authorization is a service that an authorized user can use;
  • the Radius protocol specifies how user information and billing information are communicated between the CCG and the AAA server, ie the communication rules between the two.
  • the AAA server is responsible for receiving the user's connection request, completing the verification, and returning the configuration information delivered to the user to the CCG. After the user is authorized, the AAA server completes the charging function for the user during its normal online, online, and offline processes. User Information updates when the user goes online, online, or offline will be reported to AAA through the radius message.
  • the existing radius message sending method has at least the following problems:
  • CCG When the number of users is 4, CCG will need to send a large number of radius messages to AAA.
  • CCG does not limit the radius messages sent by users to AAA, and user information is sent to AAA in real time. Therefore, in the case that the network is in a bad condition and the AAA processing capability is poor, the unregulated large number of transmissions of the radius message may cause the link between the CCG and the AAA to be flashed, thereby affecting the normal service of the user;
  • the method of transmitting the radius message in real time wastes bandwidth.
  • the embodiment of the present invention provides a method, a device, and a system for controlling a CCG to send a radius message rate to an AAA, and adjusting a rate at which a CCG sends a radius message to the AAA according to the current network condition, preventing the link from being flashed, and being effective under the normal service conditions of the user. Take advantage of bandwidth.
  • the embodiment of the invention provides a method for controlling a content charging gateway CCG to send a radius message rate to an authentication, authorization, and accounting AAA, including:
  • the radius message is buffered, and the rate of sending the radius message to the AAA is gradually decreased. If the current network condition meets the predetermined standard, the buffered radius message is sent when the current status network meets the predetermined standard. To gradually increase the rate at which the radius message is sent to the AAA.
  • An embodiment of the present invention provides an apparatus for controlling a rate of sending a radius message, including: an acquiring unit, configured to obtain a current network condition;
  • a control unit configured to control, according to the current network condition, a rate of sending a radius message to the authentication, authorization, and accounting AAA, including: if the current network condition is lower than a predetermined criterion, the radius is cached The message is gradually lowered to the rate at which the radius message is sent until the current network condition meets the predetermined standard. If the current network condition meets the predetermined standard, the buffered radius message is sent to ensure that the current state network meets the predetermined standard, thereby gradually increasing the radius message. rate;
  • a buffer unit configured to cache the radius message according to control of the control unit
  • a sending unit configured to send a radius message according to the control of the control unit.
  • An embodiment of the present invention provides a system for controlling a CCG to send a radius message rate to an AAA, where the system includes: a content charging gateway CCG and a verification, authorization, and charging AAA;
  • the CCG is configured to send a radius message to the AAA, including obtaining a current network condition, if the current network condition is lower than a predetermined criterion, buffering the radius message, and gradually lowering the rate of sending the radius message until the current network condition meets a predetermined criterion, if currently If the network condition meets the predetermined standard, the buffered radius message is sent to ensure that the current status network meets the predetermined standard, thereby gradually increasing the rate at which the radius message is sent;
  • the AAA is configured to receive a radius message sent by the CCG, and send a response message of the radius message to the CCG.
  • the CCG of the embodiment of the present invention controls the rate of sending a radius message to the AAA according to the network status, and implements the smooth transmission of the radius message, and the network is lower than the predetermined one.
  • the rate of sending the radius message is reduced by the radius message, which avoids the link flashing caused by the AAA processing.
  • the normal operation of the user service is ensured to the greatest extent, and the network condition becomes better, that is, the content is satisfied.
  • the standard is reserved, the buffered radius message is sent, and the rate at which the radius message is sent is gradually increased to effectively utilize the bandwidth.
  • FIG. 1 is a flow chart of a method for controlling a CCG to send a radius message rate to an AAA according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an apparatus for controlling a CCG to send a radius message rate to an AAA according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for controlling a CCG to send a radius message rate to an AAA according to another embodiment of the present invention
  • FIG. 4 is a schematic diagram of a system structure for controlling a CCG to send a radius message rate to an AAA according to an embodiment of the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. It is understood that the described embodiments are only a part of the embodiments of the present invention, instead of All embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • An embodiment of the present invention provides a method for controlling a CCG to send a radius message rate to an AAA, including the following steps:
  • Step 1 CCG gets the current network status.
  • Step 2 Control the rate at which the radius message is sent to the AAA according to the current network status, including: if the current network condition is lower than the predetermined standard, buffer the radius message, and gradually lower the rate at which the radius message is sent until the current network condition meets the predetermined standard. If the current network condition meets the predetermined standard, the buffered radius message is sent to ensure that the current status network meets the predetermined standard, thereby gradually increasing the rate at which the radius message is sent.
  • the current network status is obtained, and the rate of sending the radius message to the AAA is controlled according to the network status, so that the smooth sending of the radius message is implemented.
  • the radius of the radius message is reduced by buffering the radius message.
  • the network load is effectively balanced, and the link flashing caused by excessive network load is avoided, thereby solving the problem caused by link flashing.
  • the CCG handles the fault and ensures the normal operation of the user service.
  • the network condition becomes better, that is, the network condition meets the predetermined standard, the buffered radius message is sent, and the rate of sending the radius message is gradually increased to effectively utilize the bandwidth.
  • Another embodiment of the present invention provides a method for controlling a CCG to send a radius message rate to an AAA. As shown in FIG. 1, the method includes the following steps:
  • Step 11 CCG obtains the current network status
  • the obtaining the current network status in the embodiment of the present invention includes: acquiring the current network status in real time, and acquiring the current network status at intervals, for example, 1 minute to obtain the current network status.
  • Step 12 Control the rate at which the radius message is sent to the AAA according to the current network status.
  • the controlling the rate of sending the radius message according to the current network condition includes: if the current network condition is lower than the predetermined criterion, buffering the radius message, and gradually lowering the rate of sending the radius message until the current network condition meets a predetermined criterion, if the current network condition If the predetermined standard is met, the buffered radius message is sent to ensure that the current status network meets the predetermined standard, thereby gradually increasing the rate at which the radius message is sent.
  • the embodiment of the present invention determines that the current network condition is lower than a predetermined standard, but is not limited to:
  • the time interval is greater than a prescribed threshold, and the magnitude of the threshold may be determined according to actual conditions. Or a predetermined period, the ratio of the number of response messages of the received radius message to the number of sent radius messages is less than a predetermined threshold, and the size of the threshold may be determined according to actual conditions, so as to ensure that the transmitted radius messages are Can receive a response message. or
  • the packet flow rate in the statistical unit time is greater than the specified threshold value, and the size of the threshold value can be determined according to actual conditions. Or
  • the predetermined standard is met, and is higher than the predetermined standard and equal to the predetermined standard.
  • the specified interval is continuous, and the time interval from the sending of the radius message to the response message of receiving the radius message is less than or equal to a predetermined threshold; or continuously Period, the ratio of the number of response messages of the received radius message to the number of sent radius messages is greater than or equal to a prescribed threshold; or continuously for a specified period, the packet flow rate of the statistical unit time is less than or equal to a prescribed threshold; or does not exist Resend the status of the radius message.
  • the cached message may be cached according to the priority of the radius message, and the priority of the radius message may be determined in advance, for example, according to the radius message type, and the packet priority of the intermediate charging message is specified. Below the packet priority of the start charging message, the packet priority of the start charging message is lower than the packet priority of the ending charging message. In the process of caching radius messages to reduce the rate of sending radius messages, they can be cached in order of priority from low to high.
  • the gradual lowering of the rate of sending the radius message includes: in the case that the current network condition is lower than the predetermined criterion, in order to lower the rate of sending the radius message, the data packet of all the lowest priority intermediate charging messages may be cached first, if The radius message sending rate is such that the current network condition meets the predetermined standard, and the radius message of the other priority is not cached. If the current network condition is still lower than the predetermined standard, the data packet of the start charging message with the higher priority level is continuously cached. Count the current network If the current network condition is lower than the predetermined criterion, the data packet of the partial end charging message is buffered until the radius message sending rate causes the current network condition to meet the predetermined criterion.
  • the cached radius message will need to be sent, that is, the network condition is changed from below the predetermined standard to the predetermined standard, and the cached radius message is sent.
  • the cached radius message can also be sent according to the priority of the radius message, and the cached radius message is sent in descending order of priority, that is, the priority message with higher priority is sent preferentially.
  • the current network status is continuously collected.
  • the sending rate of the priority radius message can be increased, and the buffered lower priority radius message can be sent until At a certain moment, the current network condition can no longer meet the predetermined standard, and then the transmission rate of the buffer radius message is reduced, until the current network condition meets the predetermined standard again, and then the radius message can be sent at the current transmission rate.
  • the current network status is obtained, and the rate of sending the radius message to the AAA is controlled according to the network status, so that the smooth sending of the radius message is implemented.
  • the radius of the radius message is reduced by buffering the radius message.
  • the network load is effectively balanced, and the link flashing caused by excessive network load is avoided, thereby solving the CCG processing failure caused by the link flashing, and also ensuring the normal operation of the user service to the greatest extent;
  • the buffered radius message is sent, and the rate at which the radius message is sent is gradually increased to effectively utilize the bandwidth.
  • the scheme for controlling the transmission of the radius message provided by the embodiment of the present invention is also applicable to controlling the sending rate of other data packets between other devices. For example, when the CCG sends an offline charging bill to the CG, the scheme can also be used to control the sending of the bill. Rate, thus making efficient use of bandwidth.
  • An embodiment of the present invention provides a CCG that controls a rate of sending a radius message. The structure is as shown in FIG. 2.
  • the CCG includes:
  • the obtaining unit 20 is configured to obtain a current network condition; the acquiring unit 20 can obtain the real time when For the pre-network status, the current network status may also be obtained at predetermined intervals, for example, 1 minute interval to obtain the current network status. If the current network condition is acquired at a predetermined time interval, the time of acquisition can be controlled by a timer.
  • the control unit 21 is configured to control a rate of sending a radius message to the AAA according to the current network condition.
  • the controlling the rate of sending the radius message according to the current network condition includes: if the current network condition is lower than the predetermined criterion, buffering the radius message, and gradually lowering the rate of sending the radius message until the current network condition meets a predetermined criterion, if the current network condition If the predetermined standard is met, the buffered radius message is sent to ensure that the current status network meets the predetermined standard, thereby gradually increasing the rate at which the radius message is sent.
  • a buffer unit 22 configured to cache the radius message according to the control of the control unit 21
  • the sending unit 23 is configured to send a radius message according to the control of the control unit 21.
  • the CCG sent by the control radius message may further include:
  • the priority judging unit 24 is configured to judge the priority of the radius message, so that the cache unit 23 caches the radius message according to the order of priority from low to high.
  • the current network status is obtained, and the rate of sending the radius message to the AAA is controlled according to the network status, so that the smooth sending of the radius message is implemented.
  • the radius of the radius message is reduced by buffering the radius message.
  • the network load is effectively balanced, and the link flashing caused by excessive network load is avoided, thereby solving the CCG processing failure caused by the link flashing, and also ensuring the normal operation of the user service to the greatest extent;
  • the buffered radius message is sent, and the rate at which the radius message is sent is gradually increased to effectively utilize the bandwidth.
  • An embodiment of the present invention further provides a system for controlling a CCG to send a radius message rate to an AAA.
  • the system structure is as shown in FIG. 4, and the system includes: CCG40 and AAA41;
  • the CCG 40 is configured to send a radius message to the AAA 41, including obtaining a current network status, where Controlling the rate at which the radius message is sent according to the current network condition.
  • the controlling the rate of sending the radius message according to the current network condition includes: if the current network condition is lower than the predetermined criterion, buffering the radius message, and gradually lowering the rate of sending the radius message until the current network condition meets a predetermined criterion, if the current network condition If the predetermined standard is met, the buffered radius message is sent to ensure that the current status network meets the predetermined standard, and the rate at which the radius message is sent is gradually increased.
  • the structure of the CCG 40 controls the structure of the CCG that transmits the radius message rate and the corresponding text description with reference to FIG. 2 or FIG. 3.
  • the AAA 41 is configured to receive the radius message, and send a response message of the radius message to the CCG 40.
  • the current network status is obtained, and the rate of sending the radius message to the AAA is controlled according to the network status, so that the smooth sending of the radius message is implemented.
  • the radius of the radius message is reduced by buffering the radius message.
  • the network load is effectively balanced, and the link flashing caused by excessive network load is avoided, thereby solving the CCG processing failure caused by the link flashing, and also ensuring the normal operation of the user service to the greatest extent;
  • the buffered radius message is sent, and the rate at which the radius message is sent is gradually increased to effectively utilize the bandwidth.
  • the embodiment of the present invention controls the current network status, and controls the rate at which the radius message is sent to the AAA according to the network status, so that the smooth transmission of the radius message is implemented, and when the network is lower than the predetermined standard, the radius message is cached to reduce the transmission.
  • the rate of the radius message avoids the link flashing caused by the AAA processing, and also ensures the normal operation of the user service.
  • the buffered radius message is sent, and the radius message is gradually increased. The rate thus makes efficient use of bandwidth.
  • Embodiments of the present invention can be used to avoid link flash between AAA and CCG.
  • the AAA communicates with the CCG
  • the CCG maintains the state of the AAA.
  • the link is flashed.
  • the method for controlling the rate of sending the radius message in the embodiment of the present invention effectively balances the network load. Solved the CCG processing failure caused by link flashing, avoiding affecting users' normal Business.

Description

一种控制 CCG向 ΑΑΑϋ送 radius消息速率的方法、 装置及系统 本申请要求于 2009年 12月 16日提交中国专利局、 申请号为 200910225472. 6、 发 明名称为 "一种控制 CCG向 AAA发送 radius消息速率的方法、 装置及系统" 的中国专 利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域 本发明涉及通信技术领域, 尤其涉及一种控制 radius消息发送速率的方 法、 装置及系统。
背景技术 内容计费网关( CCG, Content Charging Gateway )主要用于解决目前 移动通讯网络承载的数据业务的接入、 业务控制、 计费支持等功能, 支持 各种典型的数据业务如: 超文本传输协议 ( HTTP , Hyper Text Transfer Protocol )业务、 无线应用协议 ( WAP, Wireless Application Protocol )浏览 类业务、 多媒体消息业务(MMS, Multimedia Messaging Service )、 流媒体 业务、 邮件类业务、 文件传送协议 ( FTP, File Transfer Protocol ) 业务等。
验证、授权和计费 ( AAA, Authentication, Authorization and Accounting ) 提供了一个用来对验证, 授权和计费这三种安全功能进行配置的一致的框 架。
验证 (Authentication), 是用来验证用户是否可以获得访问权; 授权 (Authorization), 是授权用户可以使用哪些服务;
计费 (Accounting), 用于记录用户使用网络资源的情况。
Radius 协议规定了 CCG与 AAA服务器之间如何传递用户信息和计费 信息, 即两者之间的通信规则。 AAA服务器负责接收用户的连接请求, 完 成验证, 并把传递给用户的配置信息返回给 CCG。 用户获得授权后, 在其 正常上线、 在线和下线过程中, AAA服务器完成对用户的计费功能。 用户 正常上线、 在线以及下线时的信息更新, 都将通过 radius消息上报给 AAA。 发明人在实现本发明过程中, 发现现有 radius消息发送方法至少存在如 下问题:
当用户量 4艮大时, CCG将需要发送大量的 radius消息给 AAA。目前, CCG 对用户发送给 AAA的 radius消息不做限制, 用户信息都将实时发送给 AAA。 因此, 在网络状况不好且 AAA处理能力比较差的情况下, radius消息无节制 的大量发送可能会导致 CCG与 AAA之间的链路闪断, 从而影响用户的正常 业务; 而在网络状态好、 用户量比较少时, 这种实时发送 radius消息的方法 又浪费了带宽。 发明内容
本发明实施例提供控制 CCG向 AAA发送 radius消息速率的方法、装置及 系统, 根据当前网络状况调整 CCG向 AAA发送 radius消息的速率, 防止链路 闪断, 并在保证用户正常业务条件下, 有效利用带宽。
本发明实施例是通过以下技术方案实现的:
本发明实施例提供一种控制内容计费网关 CCG向验证、 授权和计费 AAA发送 radius消息速率的方法, 包括:
CCG获得当前网络状况;
若当前网络状况低于预定标准, 则緩存 radius消息, 逐渐调低向 AAA发 送 radius消息的速率, 若当前网络状况满足预定标准, 则在保证当前状况网 络满足预定标准情况下发送緩存的 radius消息, 来逐渐提高向 AAA发送 radius消息的速率。
本发明实施例提供一种控制发送 radius消息速率的装置, 包括: 获取单元, 用于获得当前网络状况;
控制单元, 用于根据所述当前网络状况控制向验证、 授权和计费 AAA 发送 radius消息的速率, 包括: 若当前网络状况低于预定标准, 则緩存 radius 消息, 逐渐调低发送 radius消息的速率直到当前网络状况满足预定标准, 若 当前网络状况满足预定标准, 则在保证当前状况网络满足预定标准情况下 发送緩存的 radius消息, 来逐渐提高发送 radius消息的速率;
緩存单元, 用于根据控制单元的控制緩存所述 radius消息;
发送单元, 用于根据所述控制单元的控制发送 radius消息。
本发明实施例提供一种控制 CCG向 AAA发送 radius消息速率的系统,该 系统包括: 内容计费网关 CCG和验证、 授权和计费 AAA;
所述 CCG, 用于向 AAA发送 radius消息, 包括获得当前网络状况, 若当 前网络状况低于预定标准,则緩存 radius消息,逐渐调低发送 radius消息的速 率直到当前网络状况满足预定标准, 若当前网络状况满足预定标准, 则在 保证当前状况网络满足预定标准情况下发送緩存的 radius消息, 来逐渐提高 发送 radius消息的速率;
所述 AAA, 用于接收所述 CCG发送的 radius消息, 发送所述 radius消息 的响应消息给 CCG。
由上述本发明实施例提供的技术方案可以看出, 本发明实施例 CCG通 过获取当前网络状况, 根据网络状况控制向 AAA发送 radius消息的速率, 实 现了 radius消息的平稳发送, 在网络低于预定标准时, 通过緩存 radius消息, 来降低发送 radius消息的速率, 避免了由于 AAA处理不过来导致的链路闪 断, 同时也最大程度的保证了用户业务的正常进行, 在网络状况变好, 即 满足预定标准时,发送緩存的 radius消息,逐渐提高发送 radius消息的速率从 而有效利用带宽。 因此, 本发明实施例有效均衡了网络负荷, 可以用于避 免 AAA和 CCG之间的链路闪断, 从而解决了由于链路闪断导致的 CCG处理 故障, 避免了影响用户正常业务。 附图说明 图 1为本发明一个实施例控制 CCG向 AAA发送 radius消息速率的方法流 程图;
图 2为本发明一个实施例控制 CCG向 AAA发送 radius消息速率的装置结 构示意图;
图 3为本发明另一个实施例控制 CCG向 AAA发送 radius消息速率的装置 结构示意图;
图 4为本发明一个实施例控制 CCG向 AAA发送 radius消息速率的系统结 构示意图。 具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述, 可以理解的是, 所描述的实施例仅仅是本发明一部 分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技 术人员在没有做出创造性劳动前提下所获得的所有其他实施例, 都属于本 发明保护的范围。
本发明一个实施例提供一种控制 CCG向 AAA发送 radius消息速率的方 法, 包括如下步骤:
步骤 1 : CCG获得当前网络状况。
步骤 2: 根据所述当前网络状况控制向 AAA发送 radius消息的速率, 包 括: 若当前网络状况低于预定标准, 则緩存 radius消息, 逐渐调低发送 radius 消息的速率直到当前网络状况满足预定标准, 若当前网络状况满足预定标 准, 则在保证当前状况网络满足预定标准情况下发送緩存的 radius消息, 来 逐渐提高发送 radius消息的速率。
本发明实施例通过获取当前网络状况, 根据网络状况控制向 AAA发送 radius消息的速率, 实现了 radius消息的平稳发送, 在网络低于预定标准时, 通过緩存 radius消息, 来降低发送 radius消息的速率, 有效均衡了网络负荷, 避免了网络负荷过重导致的链路闪断, 从而解决了由于链路闪断导致的 CCG处理故障, 同时也最大程度的保证了用户业务的正常进行; 在网络状 况变好, 即网络状况满足预定标准时, 发送緩存的 radius消息, 逐渐提高发 送 radius消息的速率从而有效利用带宽。 本发明另一实施例提供一种控制 CCG向 AAA发送 radius消息速率的方 法, 如图 1所示, 包括如下步骤:
步骤 11 : CCG获得当前网络状况;
本发明实施例所述的获取当前网络状况包括:实时获取当前网络状况, 以及间隔预定时间获取当前网络状况, 例如间隔 1分钟来获取当前网络状 况。
本发明实施例所述当前网络状况包括但不限于以下任一种:
1 )从发送 radius消息到接收到 radius消息的响应消息的时间间隔, 即 RTT时长;
2 )接收的 radius消息的响应消息的个数与发送的 radius消息的个数的比 值;
3 )单位时间统计的包流量;
4 )是否存在重发 radius消息的状况。
步骤 12: 根据所述当前网络状况控制向 AAA发送 radius消息的速率。 所述根据所述当前网络状况控制发送 radius消息的速率包括:若当前网 络状况低于预定标准,则緩存 radius消息,逐渐调低发送 radius消息的速率直 到当前网络状况满足预定标准, 若当前网络状况满足预定标准, 则在保证 当前状况网络满足预定标准情况下发送緩存的 radius消息, 来逐渐提高发送 radius消息的速率。
本发明实施例判断所述当前网络状况低于预定标准的情况包括但不限 于:
连续规定个周期, 从发送 radius消息到接收到 radius消息的响应消息的 时间间隔大于规定临界值, 该临界值的大小可根据实际情况确定。 或 连续规定个周期, 接收的 radius消息的响应消息的个数与发送的 radius 消息的个数的比值小于规定临界值, 该临界值的大小可根据实际情况确定, 以尽量保证发送的 radius消息都能接收到响应消息。 或
连续规定个周期, 统计单位时间的包流量大于规定临界值, 该临界值 的大小可根据实际情况确定。 或
存在重发 radius消息的状况。 网络负荷过重时, radius消息会由于 AAA 响应不过来而重发, 加重网络负担, 因此发现存在重发 radius消息时, 即可 以认为是网络状况低于预定标准。
本发明实施例所述满足预定标准包括高于预定标准和等于预定标准, 例如,连续规定个周期,从发送 radius消息到接收到 radius消息的响应消息的 时间间隔小于等于规定临界值; 或连续规定个周期, 接收的 radius消息的响 应消息的个数与发送的 radius消息的个数的比值大于等于规定临界值; 或连 续规定个周期, 统计单位时间的包流量小于等于规定临界值; 或不存在重 发 radius消息的状况。
本发明实施例所述緩存 radius消息例如可以为: 根据 radius消息的优先 级进行緩存,该 radius消息的优先级可以预先确定,例如根据 radius消息类型 来确定, 规定中间计费消息的数据包优先级低于开始计费消息的数据包优 先级, 开始计费消息的数据包优先级低于结束计费消息的数据包优先级。 在緩存 radius消息以降低 radius消息发送速率过程中,可以按照优先级从低到 高的顺序緩存。
所述逐渐调低发送 radius消息的速率包括:在当前网络状况低于预定标 准情况下, 为了调低发送 radius消息的速率可首先緩存所有优先级最低的中 间计费消息的数据包, 如果此时 radius消息发送速率使当前网络状况满足预 定标准, 则不再緩存其他优先级的 radius消息, 若当前网络状况仍低于预定 标准, 则继续緩存优先级高一级的开始计费消息的数据包, 再统计当前网 络状况, 若当前网络状况低于预定标准, 则再緩存部分结束计费消息的数 据包, 直至 radius消息发送速率使当前网络状况满足预定标准。
在当前网络状况满足预定标准情况下, 即如果存在緩存的 radius消息, 将需要发送緩存的 radius消息, 也就是网络状况由低于预定标准已经转为满 足预定标准, 则发送緩存的 radius消息。 发送緩存的 radius消息也可以遵照 radius消息的优先级,按照优先级从高到低的顺序发送緩存的 radius消息,也 就是优先发送优先级较高的 radius消息。发送緩存的 radius消息过程中,不断 统计当前网络状况, 若当前网络状况满足预定标准, 则可以提高该优先级 的 radius消息的发送速率,并可发送緩存的优先级低一级的 radius消息,直到 某一时刻, 当前网络状况不再能满足预定标准, 再降低緩存 radius消息的发 送速率, 直到当前网络状况再次满足预定标准, 之后可以保持当前发送速 率发送 radius消息。
本发明实施例通过获取当前网络状况, 根据网络状况控制向 AAA发送 radius消息的速率, 实现了 radius消息的平稳发送, 在网络低于预定标准时, 通过緩存 radius消息, 来降低发送 radius消息的速率, 有效均衡了网络负荷, 避免了网络负荷过重导致的链路闪断, 从而解决了由于链路闪断导致的 CCG处理故障, 同时也最大程度的保证了用户业务的正常进行; 在网络状 况变好, 即网络状况满足预定标准时, 发送緩存的 radius消息, 逐渐提高发 送 radius消息的速率从而有效利用带宽。
本发明实施例提供的控制 radius消息发送的方案同样适用于控制其他 设备间其他数据包的发送速率, 例如, CCG向 CG发送离线计费话单时, 也 可以采用此方案来控制话单的发送速率, 从而有效利用带宽。 本发明一个实施例提供一种控制发送 radius消息速率的 CCG,其结构如 图 2所示, 该 CCG包括:
获取单元 20, 用于获得当前网络状况; 该获取单元 20可以实时获取当 前网络状况, 也可以间隔预定时间获取当前网络状况, 例如间隔 1分钟来获 取当前网络状况。 若间隔预定时间获取当前网络状况可以通过定时器来控 制获取的时间。
控制单元 21,用于根据所述当前网络状况控制向 AAA发送 radius消息的 速率。
所述根据所述当前网络状况控制发送 radius消息的速率包括:若当前网 络状况低于预定标准,则緩存 radius消息,逐渐调低发送 radius消息的速率直 到当前网络状况满足预定标准, 若当前网络状况满足预定标准, 则在保证 当前状况网络满足预定标准情况下发送緩存的 radius消息, 来逐渐提高发送 radius消息的速率。
緩存单元 22, 用于根据控制单元 21的控制緩存所述 radius消息
发送单元 23, 用于根据所述控制单元 21的控制发送 radius消息。
如图 3所示, 所述控制 radius消息发送的 CCG还可以包括:
优先级评判单元 24, 用于评判 radius消息优先级, 使所述緩存单元 23 根据优先级从低到高的顺序来緩存 radius消息。
本发明实施例通过获取当前网络状况, 根据网络状况控制向 AAA发送 radius消息的速率, 实现了 radius消息的平稳发送, 在网络低于预定标准时, 通过緩存 radius消息, 来降低发送 radius消息的速率, 有效均衡了网络负荷, 避免了网络负荷过重导致的链路闪断, 从而解决了由于链路闪断导致的 CCG处理故障, 同时也最大程度的保证了用户业务的正常进行; 在网络状 况变好, 即网络状况满足预定标准时, 发送緩存的 radius消息, 逐渐提高发 送 radius消息的速率从而有效利用带宽。 本发明一实施例还提供一种控制 CCG向 AAA发送 radius消息速率的系 统, 该系统结构如图 4所述, 该系统包括: CCG40和 AAA41 ;
所述 CCG40, 用于向 AAA41发送 radius消息, 包括获得当前网络状况, 根据所述当前网络状况控制发送 radius消息的速率。 所述根据所述当前网络 状况控制发送 radius消息的速率包括: 若当前网络状况低于预定标准, 则緩 存 radius消息,逐渐调低发送 radius消息的速率直到当前网络状况满足预定标 准, 若当前网络状况满足预定标准, 则在保证当前状况网络满足预定标准 情况下发送緩存的 radius消息,来逐渐提高发送 radius消息的速率。该 CCG40 的结构参考附图 2或图 3控制发送 radius消息速率的 CCG的结构以及对应的 文字说明。
所述 AAA41, 用于接收所述 radius消息, 发送所述 radius消息的响应消 息给所述 CCG40。
本发明实施例通过获取当前网络状况, 根据网络状况控制向 AAA发送 radius消息的速率, 实现了 radius消息的平稳发送, 在网络低于预定标准时, 通过緩存 radius消息, 来降低发送 radius消息的速率, 有效均衡了网络负荷, 避免了网络负荷过重导致的链路闪断, 从而解决了由于链路闪断导致的 CCG处理故障, 同时也最大程度的保证了用户业务的正常进行; 在网络状 况变好, 即网络状况满足预定标准时, 发送緩存的 radius消息, 逐渐提高发 送 radius消息的速率从而有效利用带宽。
综上所述, 本发明实施例通过获取当前网络状况, 根据网络状况控制 向 AAA发送 radius消息的速率, 实现了 radius消息的平稳发送, 在网络低于 预定标准时, 通过緩存 radius消息, 来降低发送 radius消息的速率,避免了由 于 AAA处理不过来导致的链路闪断, 同时也最大程度的保证了用户业务的 正常进行, 在网络状况满足预定标准时, 发送緩存的 radius消息, 逐渐提高 发送 radius消息的速率从而有效利用带宽。
本发明实施例可以用于避免 AAA和 CCG之间的链路闪断。 AAA和 CCG 之间通信时, CCG会维护 AAA的状态, 当网络负荷过重时, 会导致链路闪 断, 而本发明实施例所述控制 radius消息发送速率的方法有效均衡了网络负 荷, 从而解决了由于链路闪断导致的 CCG处理故障, 避免了影响用户正常 业务。
本领域普通技术人员可以理解, 实现上述实施例方法中的全部或部分 步骤是可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一计 算机可读存储介质中, 例如只读存储器(简称 ROM )、 随机存取存储器(简 称 RAM ) 、 磁盘、 光盘等。
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并 不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本 发明的保护范围应该以权利要求的保护范围为准。

Claims

权利要求
1、 一种控制内容计费网关 CCG向验证、 授权和计费 AAA发送 radius消 息速率的方法, 其特征在于, 包括:
CCG获得当前网络状况;
若当前网络状况低于预定标准, 则緩存 radius消息, 逐渐调低向 AAA 发送 radius消息的速率, 若当前网络状况满足预定标准, 则在保证当前状况 网络满足预定标准情况下发送緩存的 radius消息, 来逐渐提高向 AAA发送 radius消息的速率。
2、 如权利要求 1所述的方法, 其特征在于, 所述緩存 radius消息包括: 根据 radius消息的优先级从低到高的顺序緩存 radius消息。
3、 如权利要求 1所述的方法, 其特征在于, 所述发送緩存的 radius消息 包括:
根据 radius消息的优先级从高到低的顺序发送緩存的 radius消息。
4、 如权利要求 1所述的方法, 其特征在于, 所述获取当前网络状况包 括:
实时获取当前网络状况; 或间隔预定时间获取当前网络状况。
5、 如权利要求 1至 4中任一项所述的方法, 其特征在于, 所述当前网络 状况包括:
从发送 radius消息到接收到 radius消息的响应消息的时间间隔; 或 接收的 radius消息的响应消息的个数与发送的 radius消息的个数的比 值; 或
单位时间统计的包流量; 或
是否存在重发 radius消息的状况。
6、 如权利要求 5所述的方法, 其特征在于, 所述当前网络状况低于预 定标准包括:
连续规定个周期, 从发送 radius消息到接收到 radius消息的响应消息的 时间间隔大于规定临界值; 或
连续规定个周期, 接收的 radius消息的响应消息的个数与发送的 radius 消息的个数的比值小于规定临界值; 或
连续规定个周期, 统计单位时间的 radius消息流量大于规定临界值; 或 存在重发 radius消息的状况。
7、 一种控制发送 radius消息速率的装置, 其特征在于, 包括: 获取单元, 用于获得当前网络状况;
控制单元, 用于根据所述当前网络状况控制向验证、 授权和计费 AAA 发送 radius消息的速率, 包括: 若当前网络状况低于预定标准, 则緩存 radius 消息, 逐渐调低发送 radius消息的速率直到当前网络状况满足预定标准, 若 当前网络状况满足预定标准, 则在保证当前状况网络满足预定标准情况下 发送緩存的 radius消息, 来逐渐提高发送 radius消息的速率;
緩存单元, 用于根据控制单元的控制緩存所述 radius消息;
发送单元, 用于根据所述控制单元的控制发送 radius消息。
8、 如权利要求 7所述的装置, 其特征在于, 还包括:
优先级评判单元, 用于评判 radius消息优先级, 使所述緩存单元根据所 述优先级从低到高的顺序来緩存 radius消息。
9、 如权利要求 7或 8所述的装置, 其特征在于, 所述装置为内容计费网 关 CCG。
10、 一种控制 CCG向 AAA发送 radius消息速率的系统, 其特征在于, 该系统包括: 内容计费网关 CCG和验证、 授权和计费 AAA;
所述 CCG, 用于向 AAA发送 radius消息, 包括获得当前网络状况, 若 当前网络状况低于预定标准,则緩存 radius消息,逐渐调低发送 radius消息的 速率直到当前网络状况满足预定标准, 若当前网络状况满足预定标准, 则 在保证当前状况网络满足预定标准情况下发送緩存的 radius消息, 来逐渐提 高发送 radius消息的速率; 所述 AAA, 用于接收所述 CCG发送的 radius消息, 发送所述 radius消息 的响应消息给 CCG。
11、 如权利要求 10所述的系统, 其特征在于, 所述 CCG根据 radius消息 的优先级从低到高的顺序緩存 radius消息。
PCT/CN2010/079888 2009-12-16 2010-12-16 一种控制ccg向aaa发送radius消息速率的方法、装置及系统 WO2011072613A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910225472A CN101764743A (zh) 2009-12-16 2009-12-16 一种控制CCG向AAA发送radius消息速率的方法、装置及系统
CN200910225472.6 2009-12-16

Publications (1)

Publication Number Publication Date
WO2011072613A1 true WO2011072613A1 (zh) 2011-06-23

Family

ID=42495736

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/079888 WO2011072613A1 (zh) 2009-12-16 2010-12-16 一种控制ccg向aaa发送radius消息速率的方法、装置及系统

Country Status (2)

Country Link
CN (1) CN101764743A (zh)
WO (1) WO2011072613A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2869493A4 (en) * 2012-06-29 2015-07-01 Huawei Tech Co Ltd GATEWAY METHOD AND DEVICE FOR PROCESSING INVOICING INFORMATION

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764743A (zh) * 2009-12-16 2010-06-30 华为技术有限公司 一种控制CCG向AAA发送radius消息速率的方法、装置及系统
CN101754463B (zh) * 2010-01-08 2014-11-05 中兴通讯股份有限公司 一种传输信道质量信息的系统、终端及方法
CN105790961A (zh) * 2012-06-29 2016-07-20 华为技术有限公司 计费信息处理方法和网关设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1756252A (zh) * 2004-09-30 2006-04-05 中兴通讯股份有限公司 一种无线局域网多速率自适应传输的方法
CN1848810A (zh) * 2006-05-15 2006-10-18 武汉虹旭信息技术有限责任公司 一种流媒体发送速率控制方法
CN1983907A (zh) * 2005-12-13 2007-06-20 中兴通讯股份有限公司 一种流媒体发送速率的控制方法
CN101764743A (zh) * 2009-12-16 2010-06-30 华为技术有限公司 一种控制CCG向AAA发送radius消息速率的方法、装置及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1756252A (zh) * 2004-09-30 2006-04-05 中兴通讯股份有限公司 一种无线局域网多速率自适应传输的方法
CN1983907A (zh) * 2005-12-13 2007-06-20 中兴通讯股份有限公司 一种流媒体发送速率的控制方法
CN1848810A (zh) * 2006-05-15 2006-10-18 武汉虹旭信息技术有限责任公司 一种流媒体发送速率控制方法
CN101764743A (zh) * 2009-12-16 2010-06-30 华为技术有限公司 一种控制CCG向AAA发送radius消息速率的方法、装置及系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2869493A4 (en) * 2012-06-29 2015-07-01 Huawei Tech Co Ltd GATEWAY METHOD AND DEVICE FOR PROCESSING INVOICING INFORMATION
JP2015523022A (ja) * 2012-06-29 2015-08-06 華為技術有限公司Huawei Technologies Co.,Ltd. 課金情報処理方法及びゲートウェイデバイス
US9692912B2 (en) 2012-06-29 2017-06-27 Huawei Technologies Co., Ltd. Charging information processing method and gateway device

Also Published As

Publication number Publication date
CN101764743A (zh) 2010-06-30

Similar Documents

Publication Publication Date Title
CN100469043C (zh) 控制数据位的传输的装置和方法
CN1754335B (zh) 分组数据通信系统中的流量控制
EP3461168B1 (en) Congestion control
CN102724564B (zh) 确定移动视频体验质量和视频代码转换的影响
TWI359588B (en) Non-signalled terminal blocking
US11751192B2 (en) Tethering policy for cellular networks
EP1677480B1 (en) Method for setting and releasing a packet data protocol context of mobile communication terminal
CN102148662B (zh) 一种数据发送速率的调整方法及装置
WO2013053304A1 (zh) 一种实现tcp传输的方法及装置
US20190140782A1 (en) System and method for increasing network efficiency using dynamic repeat requests adjustment
WO2011015155A1 (zh) 带宽管理方法、演进基站、服务网关和通信系统
WO2014173225A1 (zh) 用户面拥塞处理方法、装置及服务网关
WO2005117395A1 (fr) Procede de traitement des donnees de l'interface utilisateur
KR20130091051A (ko) 이동 통신 시스템에서 셀 캐패시티를 기반으로 트래픽 전송률을 제어하는 방법 및 장치
CN103200622A (zh) 一种通信处理方法、装置及网关设备
WO2013091410A1 (zh) 网络接入方法、系统及设备
WO2011072613A1 (zh) 一种控制ccg向aaa发送radius消息速率的方法、装置及系统
WO2011116602A1 (zh) 控制mtc设备接入及实现数据收发的方法和系统
WO2013042639A1 (ja) コンテンツ配信システム、キャッシュサーバおよびコンテンツ配信方法
WO2013159617A1 (zh) 一种网络拥塞的处理方法、系统和控制网元
WO2012167546A1 (zh) 业务分发控制方法和设备
CN104137507B (zh) 反馈丢包的消息处理方法及装置
EP2656653B1 (en) Flexible parameter cache for machine type connections
WO2014176987A1 (zh) 策略控制方法及网元
JP5533270B2 (ja) ゲートウェイ装置およびゲートウェイ装置におけるパケットバッファ管理方法

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

Country of ref document: EP

Kind code of ref document: A1

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

Ref document number: 10837050

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

Country of ref document: EP

Kind code of ref document: A1