WO2008049347A1 - A method and device of controlling congestion in a service network - Google Patents

A method and device of controlling congestion in a service network Download PDF

Info

Publication number
WO2008049347A1
WO2008049347A1 PCT/CN2007/070256 CN2007070256W WO2008049347A1 WO 2008049347 A1 WO2008049347 A1 WO 2008049347A1 CN 2007070256 W CN2007070256 W CN 2007070256W WO 2008049347 A1 WO2008049347 A1 WO 2008049347A1
Authority
WO
WIPO (PCT)
Prior art keywords
flow control
ratio
monitoring
link
unit
Prior art date
Application number
PCT/CN2007/070256
Other languages
French (fr)
Chinese (zh)
Inventor
Haopeng Zhu
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008049347A1 publication Critical patent/WO2008049347A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • 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/11Identifying congestion
    • 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
    • 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/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a service network congestion control method and apparatus. Background technique
  • the existing flow control technologies are mostly based on the underlying link congestion, such as the MTP3 (the third level of the message delivery part) layer, and simply use the leaky bucket technology to simply drop the message to alleviate the link congestion.
  • This method of packet loss has strong randomness and arbitrariness. Since the business interaction process between network elements requires a series of message interactions, it is obvious that this random and arbitrary packet loss policy will affect the normal operation of the service. Conducting, even causing business interruptions, network problems and other serious problems. Summary of the invention
  • the embodiment of the invention provides a congestion control method in a communication system, which implements automatic flow control on the congestion of the link and reduces the impact on the service.
  • the embodiment of the invention provides a service network congestion control method, including:
  • the service message sent to the peer device is discarded according to the flow control ratio.
  • the embodiment of the invention further provides a service network congestion control device, including:
  • the congestion monitoring unit is configured to monitor a link congestion condition during a service message exchange between the local device and the peer device.
  • a flow control unit configured to start or close the flow control according to the link congestion condition; the flow control execution unit, the flow control is performed according to the command of the flow control unit, and in the flow control process, according to the flow The first message that discards the traffic sent to the peer device.
  • the present invention uses a transaction processing delay to monitor an HTR (Hard to Reach) of an entity, and initiates a service message exchange between the local device and the peer device.
  • the congestion monitoring timer corresponding to the service performs the link flow control according to the timeout ratio of the congestion monitoring timer corresponding to all the services on the local device, thereby shielding the complex networking mode such as the underlying link switching.
  • the failure ratio is used to characterize the link congestion condition, so that the network device implements automatic flow control according to the congestion condition of the link.
  • the present invention in combination with the business process, can selectively discard the service message according to the business process, thereby minimizing the cost of the business loss.
  • FIG. 2 is a flow chart of discarding a service message according to a link congestion ratio according to an embodiment of the present invention
  • FIG. 3 is a flowchart of an application of the method of the present invention in a MAP location update
  • FIG. 4 is a schematic block diagram of a congestion control apparatus according to a first embodiment of the present invention.
  • FIG. 5 is a block diagram showing the principle of a congestion control apparatus according to a second embodiment of the present invention. detailed description
  • the core of the present invention is to use a transaction processing delay to monitor an entity HTR (Hard to Reach), and monitor the link congestion status during the service message exchange between the local device and the peer device; Or the flow control is disabled.
  • HTR Hard to Reach
  • the flow control process the first or higher message of the service sent to the peer device is discarded.
  • adjust the current flow control ratio of the link in real time and determine the proportion of discarded messages according to the current flow control ratio of the link. The larger the flow control ratio, the discarded message. The bigger the ratio.
  • Step 101 Set the monitoring period.
  • 10 seconds is a period.
  • Each period can be continuous or have a certain interval, for example, 2 seconds.
  • it can be controlled by a monitoring timer.
  • Step 102 Statistics the failure rate of the service during the monitoring period.
  • the invention implements flow control based on the service, and performs timeout monitoring on the interaction of the service message, for example, using a counter to count the received message timeout. After the monitoring period starts, the counter starts counting. As long as the message times out, it indicates that the service has failed. At this time, the counter is incremented by 1. In addition, a counter is set to count the success of the business. This count is incremented by one each time the entire process of business processing is completed. In this way, the failure rate of the service during a monitoring period can be determined based on the statistics of the two counters. For example, calculate the failure rate of the business according to the following formula:
  • the proportion of service failures according to the above formula also reflects the congestion status of the link.
  • the counter for counting the received message timeout starts counting, and the counter is incremented by one each time the congestion monitoring timer expires. In this way, the timeout ratio of the congestion monitoring timer corresponding to all services on the local device in each monitoring period can be accurately calculated.
  • Step 103 Determine whether the proportion of failures counted in the monitoring period exceeds a predetermined flow control threshold. If it has been exceeded, it proceeds to step 104; otherwise, it proceeds to step 105.
  • Step 104 Determine whether flow control has been started. If it has been started, it proceeds to step 106; otherwise, it proceeds to step 107.
  • Step 105 Determine whether the timeout ratio in the monitoring period is lower than a predetermined flow control closing threshold. If yes, go to step 108; otherwise, go to step 106.
  • Step 106 Adjust the flow control ratio according to the failure ratio. Then, return to step 102 to monitor the next cycle.
  • Step 107 Start flow control and set the default flow control ratio. Then, returning to step 102, the next cycle is monitored.
  • a flow control ratio can be set. After the flow control is started, a part of the traffic can be allowed to pass according to the flow control ratio. For example, if the flow control ratio is 50%, the first 10 are discarded in every 20 messages, and the last 10 are normally sent.
  • Step 108 Turn off flow control. Then, returning to step 102, the next cycle is monitored.
  • the start threshold and the close threshold of the flow control can be set according to system simulation or experience values.
  • the first message of the service sent by the local device to the peer device needs to be discarded according to the flow control ratio.
  • the flow control ratio may be determined according to the congestion status of the link, and the proportion of discarded traffic messages may be determined according to the size of the flow control ratio.
  • the larger the flow control ratio the larger the proportion of messages that are discarded.
  • Step 106 in Figure 1 illustrates this situation.
  • different flow control ratios may be set according to the congestion degree and the status of the link. After the flow control is started, the local device needs to be sent to the peer device according to the current flow control ratio of the link. The first message. In this way, after a monitoring cycle, the congestion can be basically relieved and the link can be restored to normal.
  • the timeout ratio counted in two consecutive monitoring periods exceeds the predetermined flow control ratio adjustment threshold. That is to say, it is necessary to monitor the change of the timeout ratio in each monitoring period. If the timeout ratio of the previous monitoring period and the current period exceeds the predetermined flow control ratio adjustment threshold, the flow control ratio is increased;
  • the flow control proportional adjustment threshold can be set based on system simulation or empirical values.
  • all services can have the same priority. That is, after the flow control is started, different service messages to be sent can be discarded according to the flow control ratio. To provide differentiated services to different types of services, you can also classify services and set priorities for each type of service. After the flow control is started, the service messages with lower priority are preferentially discarded. In this way, the quality of service for important services can be guaranteed.
  • FIG. 2 shows a flow of discarding a service message according to a service failure ratio in the embodiment of the present invention, including the following steps:
  • Step 201 The local device exchanges service messages with the peer device.
  • Step 202 Determine whether flow control has been started. If it has been started, it proceeds to step 203; otherwise, it proceeds to step 206.
  • Step 203 Determine whether the message is a service message within a flow control ratio. If yes, go to step 204; otherwise, go to step 206.
  • Step 204 Determine whether the message is the first message of the service. If yes, proceed to step 205; otherwise, proceed to step 206.
  • Step 205 Discard the message and discard the current service.
  • Step 206 Send the message and start the congestion monitoring timer to monitor whether the message is timed out.
  • the flow control ratio may be determined according to the congestion status of the link, and the proportion of discarded traffic messages may be determined according to the size of the flow control ratio. The larger the flow control ratio, the larger the proportion of messages that are discarded.
  • different flow control ratios may be set according to the congestion degree of the link.
  • the first traffic of the local device to be sent to the remote device is discarded according to the current flow control ratio of the link. Message.
  • an initial value of the flow control ratio can be set.
  • the current flow control ratio of the link is adjusted in real time according to the change of the link congestion degree in the continuous monitoring period.
  • the local device determines whether the message to be sent is a message within the flow control ratio according to the current actual flow control ratio of the link, and if yes, discards the message.
  • the greater the proportion of flow control the greater the rate of message drop.
  • MAP Mobile Application Part
  • CAP CAMEL Application Part
  • MSC Mobile Switching Center/Visit Location Register
  • HLR Home Location Register
  • AC Authentication Center
  • SMC Short Message Center
  • This protocol is used for communication between entities, such as location registration/deletion, processing of supplementary services, retrieval and switching of customer parameters during call setup, customer management, operation and maintenance, recovery after location register failure, international mobile client equipment Identification (IMEI) management and authentication, procedures for supporting short message services, etc.
  • entities such as location registration/deletion, processing of supplementary services, retrieval and switching of customer parameters during call setup, customer management, operation and maintenance, recovery after location register failure, international mobile client equipment Identification (IMEI) management and authentication, procedures for supporting short message services, etc.
  • IMEI international mobile client equipment Identification
  • the MSC has two points to interact with the HLR, one is to take an authentication set, and the other is to send a location update request, and the congestion monitoring timing corresponding to the two interaction points needs to be started. To monitor the congestion of the link.
  • FIG. 3 The application flow in the embodiment of the present invention is as shown in FIG. 3:
  • the MS Mobile Terminal
  • the MSC/VLR After receiving the location update request message, the MSC/VLR needs to send an authentication set or location update request message to the HLR. Before sending a message, determine whether flow control is required according to the link congestion status. If the link is not congested, that is, if flow control is not required, execute 3; if flow control is required, go to step 4.
  • the MSC determines whether to discard the message according to the current flow control ratio of the link. If you need to discard, go to step 5; otherwise, go to step 6.
  • the MSC discards the message and responds to the MS with a location update failure message.
  • the MSC sends an authentication set or location update request message to the HLR, and starts a congestion monitoring timer to monitor whether the message times out.
  • the present invention also provides a service network congestion control device.
  • the apparatus includes: a congestion monitoring unit 41, a flow control unit 42, and a flow control execution unit 43. among them,
  • the congestion monitoring unit 41 is configured to monitor link congestion status during the service message interaction between the local device and the peer device.
  • the flow control unit 42 is configured to enable or disable flow control according to link congestion conditions. For example, when the link congestion condition exceeds a certain threshold, flow control is started; when the link congestion status is lower than another threshold, the flow control is closed.
  • a policy unit 44 can also be provided in the device, as shown. The policy unit 44 is configured to set and provide the flow control unit with a flow control policy for starting and/or closing flow control.
  • the flow control execution unit 43 performs flow control on the link according to the command of the flow control unit.
  • the service message can be discarded according to a default flow control ratio, and the first message of the service sent to the peer device is discarded.
  • the congestion monitoring unit 41 includes: a monitoring period control unit 411 and a statistics unit 412.
  • the monitoring period control unit 411 is configured to set a monitoring period and time the monitoring period.
  • the statistics unit 412 collects the timeout condition and the successful situation of the message interaction, and after the monitoring unit counts the monitoring period, the monitoring period is reached. Calculating the failure ratio of the service in the monitoring period according to the timeout condition of the message interaction, and understanding the link congestion status according to the failure ratio.
  • Figure 5 is a block diagram of the apparatus of the second embodiment of the present invention:
  • a flow control ratio setting unit 45 a monitoring unit 46, and a flow control ratio adjustment unit 47 are also provided. among them,
  • the flow control ratio setting unit 45 is connected to the flow control execution unit 43 and sets a flow control ratio for determining the number of the first message of the service to be discarded, so that the flow control execution unit 43 determines the need according to the flow ratio.
  • the first message of the discarded service is connected to the flow control execution unit 43 and sets a flow control ratio for determining the number of the first message of the service to be discarded, so that the flow control execution unit 43 determines the need according to the flow ratio. The first message of the discarded service.
  • the monitoring unit 46 connected to the statistical unit 412 monitors the value of the failure ratio in one of the monitoring periods and the variation in a plurality of consecutive monitoring periods, and the flow control ratio
  • the adjusting unit 47 adjusts the flow control according to the monitoring result of the monitoring unit The current flow control ratio of the link set by the ratio setting unit. If the timeout ratio exceeds the predetermined flow control ratio adjustment threshold for two consecutive monitoring periods, increase the current flow control ratio of the link; The timeout ratio in the monitoring period is lower than the flow control proportional adjustment threshold, thereby reducing the current flow control ratio of the link.
  • other adjustment strategies can also be used to adjust the flow control ratio of the link.
  • the flow control execution unit 43 can determine the proportion of discarded traffic messages according to the size of the flow control ratio.
  • the larger the flow control ratio the larger the proportion of messages that are discarded. Therefore, the flow control efficiency can be improved, and after a monitoring period, the congestion can be basically cancelled, and the link can be restored to normal.
  • the device of the present invention can be applied to any network device that needs service interaction to control message traffic on the link between the network device and other network devices, so as to avoid accidents such as downtime caused by large traffic impacts.
  • the safe operation of the equipment can be applied to any network device that needs service interaction to control message traffic on the link between the network device and other network devices, so as to avoid accidents such as downtime caused by large traffic impacts. The safe operation of the equipment.

Landscapes

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

Abstract

A method of controlling congestion in a service network is disclosed, the method includes: monitoring the congestion status of the link in the process of exchanging service messages between local terminal and remote terminal; starting or closing flow control according to the congestion status of the link; in the process of flow control, discarding the first service message to remote terminal in ratio of flow control. A device of controlling congestion in a service network is also disclosed, the device includes: unit of monitoring congestion, unit of controlling flow, unit of executing flow control. Flow of wireless link congestion can be automatically controlled and the influence to the service can be reduced.

Description

业务网络拥塞控制方法及装置 本申请要求于 2006 年 10 月 25 日提交中国专利局、 申请号为 200610149982.6、 发明名称为"业务网络拥塞控制方法及装置,,的中国专利 申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  Business Network Congestion Control Method and Apparatus The present application claims priority to Chinese Patent Application No. 200610149982.6, entitled "Business Network Congestion Control Method and Apparatus," filed on October 25, 2006, The content is incorporated herein by reference.
本发明涉及通信技术领域, 具体涉及一种业务网络拥塞控制方法及装 置。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a service network congestion control method and apparatus. Background technique
目前, 随着通信及网络技术的发展, 人们对移动信息服务的需求也日 益增长, 移动用户数量的快速增长使得大话务量对网元的冲击越来越不容 忽视。 如在传统节假日、 上班电话使用高峰期, 常会遇到打不通电话的情 形。 很大一部分原因是由于高峰期的话务量超过通信设备系统设计的负荷 能力, 造成通信设备大面积拥塞、 接通率下降, 甚至引发通信设备故障。 由于网络的拥塞和过载会严重影响系统的吞吐量, 于是流控技术成为了研 究的热点。  At present, with the development of communication and network technologies, the demand for mobile information services is also growing. The rapid growth of mobile users has made the impact of large traffic on network elements more and more difficult to ignore. For example, during traditional holidays and peak hours of commuting to work, it is often the case that you can't get through the phone. A large part of the reason is that the traffic volume during the peak period exceeds the load capacity of the communication equipment system design, causing large-scale congestion of the communication equipment, a decrease in the connection rate, and even a failure of the communication equipment. Since the congestion and overload of the network will seriously affect the throughput of the system, the flow control technology has become a research hotspot.
现有的流控技术大多基于底层链路拥塞, 如 MTP3 (消息传递部分第 三级)层, 釆用漏桶等技术简单丟弃消息来达到緩解链路拥塞的目的。 这 种丟包的方式具有很强的随机性和任意性, 由于网元间的业务交互流程需 要一系列的消息交互来完成, 很显然, 这种随机和任意的丟包策略会影响 业务的正常进行, 甚至会造成业务中断, 网络瘫痪等严重问题。 发明内容  The existing flow control technologies are mostly based on the underlying link congestion, such as the MTP3 (the third level of the message delivery part) layer, and simply use the leaky bucket technology to simply drop the message to alleviate the link congestion. This method of packet loss has strong randomness and arbitrariness. Since the business interaction process between network elements requires a series of message interactions, it is obvious that this random and arbitrary packet loss policy will affect the normal operation of the service. Conducting, even causing business interruptions, network problems and other serious problems. Summary of the invention
本发明实施例提供一种通信系统中拥塞控制方法, 对链路的拥塞实现 自动流控, 并降低对业务的影响。  The embodiment of the invention provides a congestion control method in a communication system, which implements automatic flow control on the congestion of the link and reduces the impact on the service.
本发明实施例提供一种业务网络拥塞控制方法, 包括:  The embodiment of the invention provides a service network congestion control method, including:
在本端设备与对端设备进行业务消息交互过程中,监测链路拥塞状况; 根据链路拥塞状况启动或关闭流控;  Monitoring the link congestion status during the service message exchange between the local device and the peer device; and starting or closing the flow control according to the link congestion status;
在流控过程中, 根据流控比例丟弃发送给对端设备的业务消息。 In the flow control process, the service message sent to the peer device is discarded according to the flow control ratio.
本发明实施例还提供一种业务网络拥塞控制装置, 包括: 拥塞监测单元,用于在本端设备与对端设备进行业务消息交互过程中, 监测链路拥塞状况; The embodiment of the invention further provides a service network congestion control device, including: The congestion monitoring unit is configured to monitor a link congestion condition during a service message exchange between the local device and the peer device.
流控控制单元, 用于根据所述链路拥塞状况启动或关闭流控; 流控执行单元, 根据所述流控控制单元的命令对链路进行流控, 并在 流控过程中, 按流控比例丟弃发送给对端设备的业务的第一条消息。  a flow control unit, configured to start or close the flow control according to the link congestion condition; the flow control execution unit, the flow control is performed according to the command of the flow control unit, and in the flow control process, according to the flow The first message that discards the traffic sent to the peer device.
由以上本发明实施例提供的技术方案可以看出, 本发明釆用事务处理 时延来监测某个实体的 HTR ( Hard to Reach ),在本端设备与对端设备进行 业务消息交互时, 启动与该业务对应的拥塞监测定时器, 根据本端设备上 所有业务对应的拥塞监测定时器的超时比例进行链路流量控制, 从而屏蔽 了底层链路转接等复杂的组网方式, 本发明实施例的技术方案中用失败比 例来表征链路拥塞状况, 使网络设备根据链路的拥塞状况实现自动流控。 保证了网络设备在大话务量冲击链路的情况下, 仍能够正常运行, 不至于 发生宕机等事故, 有效地提高了网络的可靠性。 另外, 本发明在丟弃消息 时, 与业务流程相结合, 可以根据业务流程有选择性地丟弃业务消息, 从 而使业务损失代价最小。 附图说明  It can be seen from the technical solution provided by the foregoing embodiments of the present invention that the present invention uses a transaction processing delay to monitor an HTR (Hard to Reach) of an entity, and initiates a service message exchange between the local device and the peer device. The congestion monitoring timer corresponding to the service performs the link flow control according to the timeout ratio of the congestion monitoring timer corresponding to all the services on the local device, thereby shielding the complex networking mode such as the underlying link switching. In the technical solution of the example, the failure ratio is used to characterize the link congestion condition, so that the network device implements automatic flow control according to the congestion condition of the link. It ensures that the network equipment can still operate normally under the condition of large traffic impact link, and there is no accident such as downtime, which effectively improves the reliability of the network. In addition, when the message is discarded, the present invention, in combination with the business process, can selectively discard the service message according to the business process, thereby minimizing the cost of the business loss. DRAWINGS
图 1是本发明的一个优选实施例的实现方法流程图;  1 is a flow chart of an implementation method of a preferred embodiment of the present invention;
图 2是本发明实施例中根据链路拥塞比例丟弃业务消息的流程; 图 3是本发明方法在 MAP位置更新中的应用流程图;  2 is a flow chart of discarding a service message according to a link congestion ratio according to an embodiment of the present invention; FIG. 3 is a flowchart of an application of the method of the present invention in a MAP location update;
图 4是本发明第一实施例的拥塞控制装置原理框图;  4 is a schematic block diagram of a congestion control apparatus according to a first embodiment of the present invention;
图 5是本发明第二实施例的拥塞控制装置原理框图。 具体实施方式  Figure 5 is a block diagram showing the principle of a congestion control apparatus according to a second embodiment of the present invention. detailed description
本发明的核心是釆用事务处理时延来监测某个实体 HTR ( Hard to Reach ), 在本端设备与对端设备进行业务消息交互过程中, 监测链路拥塞 状况; 根据链路拥塞状况启动或关闭流控, 在流控过程中, 丟弃发送给对 端设备的业务的第一条或较靠前的一条消息。为了进一步保证流控的合理、 有效性, 实时调整链路当前的流控比例, 根据链路当前的流控比例按比例 确定丟弃消息的比例, 流控比例越大, 则被丟弃的消息比例越大。  The core of the present invention is to use a transaction processing delay to monitor an entity HTR (Hard to Reach), and monitor the link congestion status during the service message exchange between the local device and the peer device; Or the flow control is disabled. In the flow control process, the first or higher message of the service sent to the peer device is discarded. To further ensure the reasonable and effective flow control, adjust the current flow control ratio of the link in real time, and determine the proportion of discarded messages according to the current flow control ratio of the link. The larger the flow control ratio, the discarded message. The bigger the ratio.
下面结合附图和实施方式对本发明作进一步的详细说明。 参照图 1 , 图 1示出了本发明的一个优选施例的实现方法流程, 包括以 下步骤: The invention will be further described in detail below with reference to the drawings and embodiments. Referring to Figure 1, there is shown a flow chart of an implementation of a preferred embodiment of the present invention, comprising the steps of:
步骤 101 : 设定监控周期。  Step 101: Set the monitoring period.
可以根据实际网络情况灵活设置, 比如 10秒为一个周期, 各周期可以 是连续的, 也可以有一定的间隔, 例如 2秒。 在具体实现时, 可以通过一个 监控定时器来控制。  It can be flexibly set according to the actual network conditions. For example, 10 seconds is a period. Each period can be continuous or have a certain interval, for example, 2 seconds. In the specific implementation, it can be controlled by a monitoring timer.
步骤 102: 统计监控周期内业务的失败比例。  Step 102: Statistics the failure rate of the service during the monitoring period.
本发明基于业务来实现流控,对业务消息的交互进行超时监测, 比如, 利用一个计数器对接收消息超时进行计数。 在监控周期开始后, 计数器开 始计数, 只要有消息超时, 则表明业务失败, 此时, 该计数器加 1。 另外设 置一个计数器对业务成功进行计数。 每完成一次业务处理的全部流程, 则 该计数加 1。这样, 即可根据这两个计数器的统计结果确定一个监控周期内 业务的失败比例。 比如, 按以下公式来计算业务的失败比例:  The invention implements flow control based on the service, and performs timeout monitoring on the interaction of the service message, for example, using a counter to count the received message timeout. After the monitoring period starts, the counter starts counting. As long as the message times out, it indicates that the service has failed. At this time, the counter is incremented by 1. In addition, a counter is set to count the success of the business. This count is incremented by one each time the entire process of business processing is completed. In this way, the failure rate of the service during a monitoring period can be determined based on the statistics of the two counters. For example, calculate the failure rate of the business according to the following formula:
失败比例=超时计数 / (超时计数 +业务成功计数 )  Failure ratio = timeout count / (timeout count + business success count)
由于消息交互的超时情况反映了链路的拥塞状况, 因此, 按照上式统 计出的业务失败比例也反映了链路的拥塞状况。  Since the timeout of message interaction reflects the congestion status of the link, the proportion of service failures according to the above formula also reflects the congestion status of the link.
在监控周期开始后,用于对接收消息超时进行计数的计数器开始计数, 每出现一次拥塞监测定时器超时, 则该计数器加 1。 这样, 就能准确统计出 每个监控周期内本端设备上所有业务对应的拥塞监测定时器的超时比例。  After the start of the monitoring period, the counter for counting the received message timeout starts counting, and the counter is incremented by one each time the congestion monitoring timer expires. In this way, the timeout ratio of the congestion monitoring timer corresponding to all services on the local device in each monitoring period can be accurately calculated.
步骤 103:判断本监控周期内统计的失败比例是否超过了预定的流控启 动门限。 如果已超过, 则进到步骤 104; 否则, 进到步骤 105。  Step 103: Determine whether the proportion of failures counted in the monitoring period exceeds a predetermined flow control threshold. If it has been exceeded, it proceeds to step 104; otherwise, it proceeds to step 105.
步骤 104: 判断是否已启动流控。 如果已启动, 则进到步骤 106; 否则, 进到步骤 107。  Step 104: Determine whether flow control has been started. If it has been started, it proceeds to step 106; otherwise, it proceeds to step 107.
步骤 105:判断本监控周期内统计的超时比例是否低于预定的流控关闭 门限。 如果是, 则进到步骤 108; 否则, 进到步骤 106。  Step 105: Determine whether the timeout ratio in the monitoring period is lower than a predetermined flow control closing threshold. If yes, go to step 108; otherwise, go to step 106.
步骤 106: 根据失败比例调整流控比例。 然后, 返回步骤 102, 对下一 周期进行监测。  Step 106: Adjust the flow control ratio according to the failure ratio. Then, return to step 102 to monitor the next cycle.
步骤 107: 启动流控, 并设定默认的流控比例。 然后, 返回步骤 102, 对下一周期进行监测。 为了实现对业务流量的平滑调整, 可设定一个流控比例, 在启动流控 后, 根据流控比例可以允许一部分流量通过。 比如, 流控比例为 50%, 则 在每 20个消息中丟弃前 10个, 后 10个正常发送。 Step 107: Start flow control and set the default flow control ratio. Then, returning to step 102, the next cycle is monitored. In order to achieve smooth adjustment of service traffic, a flow control ratio can be set. After the flow control is started, a part of the traffic can be allowed to pass according to the flow control ratio. For example, if the flow control ratio is 50%, the first 10 are discarded in every 20 messages, and the last 10 are normally sent.
步骤 108: 关闭流控。 然后, 返回步骤 102, 对下一周期进行监控。 在上述流程中, 流控的启动门限和关闭门限可以根据系统仿真或者经 验值来设定。  Step 108: Turn off flow control. Then, returning to step 102, the next cycle is monitored. In the above process, the start threshold and the close threshold of the flow control can be set according to system simulation or experience values.
在上述步骤 107启动流控后,需要根据流控比例丟弃本端设备发送给对 端设备的业务的第一条消息。 在丟弃业务消息时, 可以釆用一个默认的流 控比例。 也就是说, 只要链路拥塞, 就按该流控比例丟弃本端设备需要发 送给对端设备的业务的第一条消息。 这样, 如果一次流控的调整还不能使 拥塞解除, 到下一个监控周期, 链路仍然拥塞, 根据监测结果, 继续丟弃 需要发送的业务消息。  After the flow control is started in the foregoing step 107, the first message of the service sent by the local device to the peer device needs to be discarded according to the flow control ratio. When discarding a business message, you can use a default flow ratio. That is, as long as the link is congested, the first message of the service that the local device needs to send to the peer device is discarded according to the flow control ratio. In this way, if the adjustment of the flow control does not cancel the congestion, the link is still congested in the next monitoring period. According to the monitoring result, the service message to be sent continues to be discarded.
当然, 为了进一步提高流控效率, 还可以根据链路的拥塞状况确定流 控比例,根据流控比例的大小来决定丟弃业务消息的比例。 流控比例越大, 被丟弃的消息比例越大。 图 1中的步骤 106表明了这种情况。在具体实现时, 可以根据链路的拥塞程度、 状况设定不同的流控比例, 在启动流控后, 根 据链路当前的流控比例丟弃本端设备需要发送给对端设备的业务的第一条 消息。 这样, 经过一个监控周期就可以基本上解除拥塞, 使链路恢复正常。  Of course, in order to further improve the flow control efficiency, the flow control ratio may be determined according to the congestion status of the link, and the proportion of discarded traffic messages may be determined according to the size of the flow control ratio. The larger the flow control ratio, the larger the proportion of messages that are discarded. Step 106 in Figure 1 illustrates this situation. In a specific implementation, different flow control ratios may be set according to the congestion degree and the status of the link. After the flow control is started, the local device needs to be sent to the peer device according to the current flow control ratio of the link. The first message. In this way, after a monitoring cycle, the congestion can be basically relieved and the link can be restored to normal.
比如, 可以按照以下的流控比例调整策略来进行调整:  For example, you can adjust by following the flow control ratio adjustment strategy:
如果连续两个监控周期内统计的超时比例都超过了预定的流控比例调 整门限。 也就是说, 需要监测各监控周期内超时比例的变化情况, 如果上 一个监控周期与本周期内统计的超时比例都超过了预定的流控比例调整门 限, 则增大流控比例;  If the timeout ratio counted in two consecutive monitoring periods exceeds the predetermined flow control ratio adjustment threshold. That is to say, it is necessary to monitor the change of the timeout ratio in each monitoring period. If the timeout ratio of the previous monitoring period and the current period exceeds the predetermined flow control ratio adjustment threshold, the flow control ratio is increased;
如果上一个监控周期内统计的超时比例低于预定的流控匕例调整门 限, 则降低流控比例。  If the timeout ratio counted in the previous monitoring period is lower than the predetermined flow control instance adjustment threshold, the flow control ratio is reduced.
流控比例调整门限可以根据系统仿真或者经验值来设定。  The flow control proportional adjustment threshold can be set based on system simulation or empirical values.
在丟弃业务消息时,可以 4艮设所有业务具有相同的优先级,也就是说, 流控启动后, 可以按流控比例丟弃需要发送的不同业务消息。 为了向不同类型业务提供差别服务, 也可以对业务进行分类, 并设定 对应各类业务的优先级, 当流控启动后, 优先丟弃优先级低的业务消息。 这样, 可以保证重要业务的服务质量。 When a service message is discarded, all services can have the same priority. That is, after the flow control is started, different service messages to be sent can be discarded according to the flow control ratio. To provide differentiated services to different types of services, you can also classify services and set priorities for each type of service. After the flow control is started, the service messages with lower priority are preferentially discarded. In this way, the quality of service for important services can be guaranteed.
图 2示出了本发明实施例中才艮据业务失败比例丟弃业务消息的流程,包 括以下步骤:  FIG. 2 shows a flow of discarding a service message according to a service failure ratio in the embodiment of the present invention, including the following steps:
步骤 201 : 本端设备与对端设备进行业务消息交互。  Step 201: The local device exchanges service messages with the peer device.
步骤 202: 判断是否已启动了流控。 如果已启动, 则进到步骤 203; 否 则, 进到步骤 206。  Step 202: Determine whether flow control has been started. If it has been started, it proceeds to step 203; otherwise, it proceeds to step 206.
步骤 203: 判断此消息是否是流控比例内的业务消息。 如果是, 则进到 步骤 204; 否则, 进到步骤 206。  Step 203: Determine whether the message is a service message within a flow control ratio. If yes, go to step 204; otherwise, go to step 206.
步骤 204: 判断该消息是否为该业务的第一条消息。 如果是, 则进到步 骤 205; 否则, 进到步骤 206。  Step 204: Determine whether the message is the first message of the service. If yes, proceed to step 205; otherwise, proceed to step 206.
步骤 205: 丟弃该消息, 放弃本次业务。  Step 205: Discard the message and discard the current service.
步骤 206: 发送该消息, 同时启动拥塞监测定时器, 以对该消息是否超 时进行监控。  Step 206: Send the message and start the congestion monitoring timer to monitor whether the message is timed out.
为了进一步提高流控效率,还可以根据链路的拥塞状况确定流控比例, 根据流控比例的大小来决定丟弃业务消息的比例。 流控比例越大, 被丟弃 的消息比例越大。  In order to further improve the flow control efficiency, the flow control ratio may be determined according to the congestion status of the link, and the proportion of discarded traffic messages may be determined according to the size of the flow control ratio. The larger the flow control ratio, the larger the proportion of messages that are discarded.
在具体实现时, 可以根据链路的拥塞程度设定不同的流控比例, 在启 动流控后, 根据链路当前的流控比例丟弃本端设备需要发送给对端设备的 业务的第一条消息。 这样, 经过一个监控周期就可以基本上解除拥塞, 使 链路恢复正常。 除此之外, 还可以设置一个流控比例的初始值, 流控启动 后, 根据连续监控周期内链路拥塞程度的变化情况, 实时调整链路当前的 流控比例。 然后, 本端设备根据链路当前实际的流控比例大小来决定需要 发送的消息是否为流控比例内的消息, 如果是, 则丟弃该消息。 当然, 流 控比例越大, 消息丟弃的 ^既率也就越大。  In a specific implementation, different flow control ratios may be set according to the congestion degree of the link. After the flow control is started, the first traffic of the local device to be sent to the remote device is discarded according to the current flow control ratio of the link. Message. In this way, after a monitoring cycle, the congestion can be basically relieved and the link can be restored to normal. In addition, an initial value of the flow control ratio can be set. After the flow control is started, the current flow control ratio of the link is adjusted in real time according to the change of the link congestion degree in the continuous monitoring period. Then, the local device determines whether the message to be sent is a message within the flow control ratio according to the current actual flow control ratio of the link, and if yes, discards the message. Of course, the greater the proportion of flow control, the greater the rate of message drop.
本发明可以应用于任何需要业务消息交互的网络中,比如,在 MAP (移 动应用部分)和 CAP ( CAMEL应用部分)事务处理中。 本技术领域人员知道, MAP是移动通信系统间操作的接口协议, 它包 括以 MSC为中心, 与其它系统实体的信令联系, 例如与另一 MSC/VLR (移 动交换中心 /拜访位置寄存器) 、 HLR (归属位置寄存器) 、 AC (鉴权中 心) 、 SMC (短消息中心) 的连接以及各系统实体彼此间的连接。 该协议 用于各实体之间的通信, 如位置登记 /删除、 补充业务的处理、 呼叫建立期 间客户参数的检索和切换、 客户管理、 操作和维护、 位置寄存器故障后的 恢复、 国际移动客户设备识别 (IMEI ) 的管理和鉴权、 支持短消息业务的 程序等。 在这些业务流程中, 可以利用本发明有效地控制链路的流量, 防 止链路拥塞。 The invention can be applied to any network that requires business message interaction, such as in MAP (Mobile Application Part) and CAP (CAMEL Application Part) transactions. It is known to those skilled in the art that MAP is an interface protocol for operation between mobile communication systems, including signaling communication with other system entities centered on the MSC, for example with another MSC/VLR (Mobile Switching Center/Visit Location Register), HLR (Home Location Register), AC (Authentication Center), SMC (Short Message Center) connections, and the connection of system entities to each other. This protocol is used for communication between entities, such as location registration/deletion, processing of supplementary services, retrieval and switching of customer parameters during call setup, customer management, operation and maintenance, recovery after location register failure, international mobile client equipment Identification (IMEI) management and authentication, procedures for supporting short message services, etc. In these business processes, the present invention can be utilized to effectively control the traffic of the link and prevent link congestion.
例如,在移动终端的位置更新业务中, MSC有两个点需要与 HLR交互, 一个是取鉴权集, 另一个是发送位置更新请求, 在这两个交互点需启动与 其对应的拥塞监测定时器, 以监测链路的拥塞状况。  For example, in the location update service of the mobile terminal, the MSC has two points to interact with the HLR, one is to take an authentication set, and the other is to send a location update request, and the congestion monitoring timing corresponding to the two interaction points needs to be started. To monitor the congestion of the link.
本发明实施例中的应用流程, 如图 3所示:  The application flow in the embodiment of the present invention is as shown in FIG. 3:
1. MS (移动终端) 向 MSC/VLR发送位置更新请求消息。  1. The MS (Mobile Terminal) sends a Location Update Request message to the MSC/VLR.
2. MSC/VLR收到该位置更新请求消息后, 需要向 HLR发送取鉴权集 或位置更新请求消息。 在发送消息前, 先根据链路拥塞状况判断是否需要 流控,如果链路不拥塞,也就是说, 不需要流控, 则执行 3; 如果需要流控, 则执行步骤 4。  2. After receiving the location update request message, the MSC/VLR needs to send an authentication set or location update request message to the HLR. Before sending a message, determine whether flow control is required according to the link congestion status. If the link is not congested, that is, if flow control is not required, execute 3; if flow control is required, go to step 4.
3. 进行正常处理流程, 直接向 HLR发送该消息, 同时启动拥塞监测定 时器, 以对该消息是否超时进行监控。  3. Perform the normal processing flow, send the message directly to the HLR, and start the congestion monitoring timer to monitor whether the message times out.
4. MSC根据链路当前的流控比例判断是否丟弃该消息。 如果需要丟 弃, 则执行步骤 5; 否则, 执行步骤 6。  4. The MSC determines whether to discard the message according to the current flow control ratio of the link. If you need to discard, go to step 5; otherwise, go to step 6.
5. MSC丟弃该消息, 并向 MS回应位置更新失败消息。  5. The MSC discards the message and responds to the MS with a location update failure message.
6. MSC向 HLR发送鉴权集或位置更新请求消息, 同时启动拥塞监测 定时器, 以对该消息是否超时进行监控。  6. The MSC sends an authentication set or location update request message to the HLR, and starts a congestion monitoring timer to monitor whether the message times out.
为了使网络中的各实体能够根据事务处理时延监测某个实体的 HTR ( Hard to Reach ) , 有效地实现对链路流量的控制, 避免网络拥塞。 本发 明还提供了一种业务网络拥塞控制装置。  In order to enable entities in the network to monitor an entity's HTR (Hard to Reach) according to the transaction delay, the link traffic is effectively controlled to avoid network congestion. The present invention also provides a service network congestion control device.
参照图 4 , 图 4示出了本发明第一实施例的装置原理框图: 该装置包括: 拥塞监测单元 41、 流控控制单元 42、 流控执行单元 43。 其中, Referring to Figure 4, there is shown a block diagram of the apparatus of the first embodiment of the present invention: The apparatus includes: a congestion monitoring unit 41, a flow control unit 42, and a flow control execution unit 43. among them,
拥塞监测单元 41 用于在本端设备与对端设备进行业务消息交互过程 中, 监测链路拥塞状况。  The congestion monitoring unit 41 is configured to monitor link congestion status during the service message interaction between the local device and the peer device.
流控控制单元 42用于根据链路拥塞状况启动或关闭流控。 比如, 当链 路拥塞状况超过某一门限值后, 启动流控; 当链路拥塞状况低于另一门限 值后, 关闭流控。 当然, 也可以在该装置中设置一个策略单元 44 , 如图所 示。 策略单元 44用于设定并向所述流控控制单元提供启动和 /或关闭流控 的流控策略。  The flow control unit 42 is configured to enable or disable flow control according to link congestion conditions. For example, when the link congestion condition exceeds a certain threshold, flow control is started; when the link congestion status is lower than another threshold, the flow control is closed. Of course, a policy unit 44 can also be provided in the device, as shown. The policy unit 44 is configured to set and provide the flow control unit with a flow control policy for starting and/or closing flow control.
流控执行单元 43根据流控控制单元的命令对链路进行流控, 比如,可 以按照一个默认的流控比例丟弃业务消息, 而且丟弃发送给对端设备的业 务的第一条消息。  The flow control execution unit 43 performs flow control on the link according to the command of the flow control unit. For example, the service message can be discarded according to a default flow control ratio, and the first message of the service sent to the peer device is discarded.
拥塞监测单元可以有多种实现方式, 比如图中所示, 拥塞监测单元 41 包括: 监控周期控制单元 411和统计单元 412。 其中, 监控周期控制单元 411用于设定监控周期, 并对监控周期进行计时; 统计单元 412统计消息 交互的超时情况和成功的情况, 并在所述监控单元对监控周期的计时到达 监控周期后, 根据所述消息交互的超时情况计算所述监控周期内业务的失 败比例, 根据所述失败比例即可了解链路拥塞状况。  The congestion monitoring unit can be implemented in various ways. For example, as shown in the figure, the congestion monitoring unit 41 includes: a monitoring period control unit 411 and a statistics unit 412. The monitoring period control unit 411 is configured to set a monitoring period and time the monitoring period. The statistics unit 412 collects the timeout condition and the successful situation of the message interaction, and after the monitoring unit counts the monitoring period, the monitoring period is reached. Calculating the failure ratio of the service in the monitoring period according to the timeout condition of the message interaction, and understanding the link congestion status according to the failure ratio.
对链路进行流控的详细过程与前面对本发明方法中的描述类似, 在此 不再赘述。  The detailed process of flow control of the link is similar to that described above in the method of the present invention and will not be described herein.
参照图 5 , 图 5是本发明第二实施例的装置原理框图:  Referring to Figure 5, Figure 5 is a block diagram of the apparatus of the second embodiment of the present invention:
与图 4所示本发明装置第一实施例不同的是,在该实施例中,还设置了 流控比例设定单元 45、 监测单元 46和流控比例调整单元 47。 其中,  Different from the first embodiment of the apparatus of the present invention shown in Fig. 4, in this embodiment, a flow control ratio setting unit 45, a monitoring unit 46, and a flow control ratio adjustment unit 47 are also provided. among them,
流控比例设定单元 45与流控执行单元 43相连, 设定用于确定需要丟弃 的业务的第一条消息个数的流控比例, 以使流控执行单元 43根据该流程比 例确定需要丟弃的业务的第一条消息。  The flow control ratio setting unit 45 is connected to the flow control execution unit 43 and sets a flow control ratio for determining the number of the first message of the service to be discarded, so that the flow control execution unit 43 determines the need according to the flow ratio. The first message of the discarded service.
为了进一步提高流控效率,由与统计单元 412相连的监测单元 46监测所 述失败比例在一个所述监控周期内的数值以及在连续多个所述监控周期内 的变化情况, 并由流控比例调整单元 47根据监测单元的监测结果调整流控 比例设定单元设定的链路当前的流控比例, 如果连续两个监控周期内所述 超时比例都超过预定的流控比例调整门限, 则增大链路当前的流控比例; 如果上一个监控周期内所述超时比例低于所述流控比例调整门限, 则降低 链路当前的流控比例。 当然, 也可以釆用其他调整策略对链路的流控比例 进行调整。 In order to further improve the flow control efficiency, the monitoring unit 46 connected to the statistical unit 412 monitors the value of the failure ratio in one of the monitoring periods and the variation in a plurality of consecutive monitoring periods, and the flow control ratio The adjusting unit 47 adjusts the flow control according to the monitoring result of the monitoring unit The current flow control ratio of the link set by the ratio setting unit. If the timeout ratio exceeds the predetermined flow control ratio adjustment threshold for two consecutive monitoring periods, increase the current flow control ratio of the link; The timeout ratio in the monitoring period is lower than the flow control proportional adjustment threshold, thereby reducing the current flow control ratio of the link. Of course, other adjustment strategies can also be used to adjust the flow control ratio of the link.
这样, 就可以使流控执行单元 43根据流控比例的大小来决定丟弃业务 消息的比例。 流控比例越大, 被丟弃的消息比例越大。 从而可以提高流控 效率, 经过一个监控周期就可以基本上解除拥塞, 使链路恢复正常。  In this way, the flow control execution unit 43 can determine the proportion of discarded traffic messages according to the size of the flow control ratio. The larger the flow control ratio, the larger the proportion of messages that are discarded. Therefore, the flow control efficiency can be improved, and after a monitoring period, the congestion can be basically cancelled, and the link can be restored to normal.
本发明装置可以应用在任何需要业务交互的网络设备上, 以控制该网 络设备与其他网络设备相连的链路上的消息流量, 避免设备在大业务量冲 击的情况下出现宕机等事故, 保证设备的安全运行。  The device of the present invention can be applied to any network device that needs service interaction to control message traffic on the link between the network device and other network devices, so as to avoid accidents such as downtime caused by large traffic impacts. The safe operation of the equipment.
显然, 本领域的技术人员应该明白, 上述的本发明的各单元或各步骤 可以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者 分布在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执 行的程序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来 执行, 或者将它们分别制作成各个集成电路模块, 或者将它们中的多个单 元或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任何特 定的硬件和软件结合。  It will be apparent to those skilled in the art that the various units or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple units or steps are made in a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
虽然通过实施例描绘了本发明, 本领域普通技术人员知道, 本发明有 许多变形和变化而不脱离本发明的精神, 希望所附的权利要求包括这些变 形和变化而不脱离本发明的精神。  While the invention has been described by the embodiments of the present invention, it will be understood that

Claims

权 利 要 求 Rights request
1、 一种业务网络拥塞控制方法, 其特征在于, 所述方法包括: 在本端设备与对端设备进行业务消息交互过程中,监测链路拥塞状况; 根据链路拥塞状况启动或关闭流控; A service network congestion control method, the method includes: monitoring a link congestion status during a service message exchange between a local device and a peer device; and starting or stopping flow control according to a link congestion condition. ;
在流控过程中, 根据流控比例丟弃发送给对端设备的业务消息。  In the flow control process, the service message sent to the peer device is discarded according to the flow control ratio.
2、根据权利要求 1所述的方法, 其特征在于, 所述监测链路拥塞状况 的步骤包括:  2. The method according to claim 1, wherein the step of monitoring a link congestion condition comprises:
设定监控周期;  Set the monitoring period;
统计所述监控周期内业务的失败比例;  Counting the proportion of failures of the business during the monitoring period;
根据所述失败比例确定链路拥塞状况。  A link congestion condition is determined according to the failure ratio.
3、根据权利要求 1所述的方法, 其特征在于, 所述根据链路拥塞状况 启动或关闭流控的步骤, 包括:  The method according to claim 1, wherein the step of starting or closing the flow control according to the link congestion condition comprises:
在设定的监控周期内, 如果所述失败比例超过预定的流控启动门限, 则启动;克控;  During the set monitoring period, if the failure ratio exceeds a predetermined flow control threshold, it is activated;
在设定的监控周期内, 如果所述失败比例低于预定的流控关闭门限, 则关闭流控。  During the set monitoring period, if the failure ratio is lower than the predetermined flow control closing threshold, the flow control is turned off.
4、根据权利要求 1所述的方法, 其特征在于, 所述丟弃发送给对端设 备的业务消息的步骤, 包括:  The method according to claim 1, wherein the step of discarding the service message sent to the peer device comprises:
根据链路当前的流控比例丟弃发送给对端设备的业务消息。  The service message sent to the peer device is discarded according to the current flow control ratio of the link.
5、根据权利要求 2至 4任一项所述的方法,其特征在于,进一步包括: 根据所述失败比例实时调整链路当前的流控比例。  The method according to any one of claims 2 to 4, further comprising: adjusting a current flow control ratio of the link in real time according to the failure ratio.
6、根据权利要求 5所述的方法, 其特征在于, 所述根据失败比例实时 调整流控比例的步骤, 包括:  The method according to claim 5, wherein the step of adjusting the flow control ratio in real time according to the failure ratio comprises:
如果连续两个监控周期内所述失败比例都超过预定的流控比例调整门 限, 则增大流控比例;  If the failure ratio exceeds a predetermined flow control ratio adjustment threshold in two consecutive monitoring periods, the flow control ratio is increased;
如果上一个监控周期内所述失败比例低于所述流控比例调整门限, 则 降低流控比例。  If the failure ratio in the last monitoring period is lower than the flow control ratio adjustment threshold, the flow control ratio is lowered.
7、根据权利要求 1至 4任一项所述的方法,其特征在于,进一步包括: 对业务进行分类, 并设定对应各类业务的优先级; 当本端设备上有多种业务并存时, 优先丟弃优先级低的业务消息。The method according to any one of claims 1 to 4, further comprising: classifying the service, and setting a priority corresponding to each type of service; When multiple services are coexisting on the local device, the service messages with lower priority are preferentially discarded.
8、 根据权利要求 1至 4任一项所述的方法, 其特征在于, 还包括: 移动终端进行位置更新业务中,在取鉴权集时和 /或发送位置更新请求 时, 启动拥塞监测定时器以监测链路的拥塞状况。 The method according to any one of claims 1 to 4, further comprising: the mobile terminal performing the location update service, starting the congestion monitoring timing when the authentication set is taken and/or the location update request is sent To monitor the congestion of the link.
9、 一种业务网络拥塞控制装置, 其特征在于, 包括:  A service network congestion control device, comprising:
拥塞监测单元,用于在本端设备与对端设备进行业务消息交互过程中, 监测链路拥塞状况;  The congestion monitoring unit is configured to monitor a link congestion condition during a service message exchange between the local device and the peer device.
流控控制单元, 用于根据所述链路拥塞状况启动或关闭流控; 流控执行单元, 根据所述流控控制单元的命令对链路进行流控, 并在 流控过程中, 按流控比例丟弃发送给对端设备的业务的第一条消息。  a flow control unit, configured to start or close the flow control according to the link congestion condition; the flow control execution unit, the flow control is performed according to the command of the flow control unit, and in the flow control process, according to the flow The first message that discards the traffic sent to the peer device.
10、 根据权利要求 9所述的装置, 其特征在于, 所述拥塞监测单元包 括:  10. The apparatus according to claim 9, wherein the congestion monitoring unit comprises:
监控周期控制单元, 用于设定监控周期, 并对监控周期进行计时; 统计单元, 用于统计消息交互的超时情况, 并在所述监控单元对监控 周期的计时到达监控周期后, 根据所述消息交互的超时情况计算所述监控 周期内业务的失败比例, 根据所述失败比例确定链路拥塞状况。  a monitoring period control unit, configured to set a monitoring period, and time the monitoring period; a statistical unit, configured to count the timeout condition of the message interaction, and after the monitoring unit counts the monitoring period to the monitoring period, according to the The timeout condition of the message interaction calculates the failure ratio of the service in the monitoring period, and determines the link congestion status according to the failure ratio.
11、 根据权利要求 9或 10所述的装置, 其特征在于, 还包括: 流控比例设定单元, 设定并向所述流控执行单元提供用于确定需要丟 弃的业务的第一条消息个数的流控比例。  11. The apparatus according to claim 9 or 10, further comprising: a flow control ratio setting unit configured to provide and provide the flow control execution unit with the first item for determining a service to be discarded The flow control ratio of the number of messages.
12、 根据权利要求 9或 10所述的装置, 其特征在于, 还包括: 监测单元, 与所述统计单元相连, 用于监测所述失败比例在一个所述 监控周期内的数值以及在连续多个所述监控周期内的变化情况;  The device according to claim 9 or 10, further comprising: a monitoring unit, connected to the statistical unit, configured to monitor the value of the failure ratio in one of the monitoring periods and continuously Changes in the monitoring period;
流控比例调整单元, 用于根据所述监测单元的监测结果调整流控比例 设定单元设定的链路当前的流控比例;  a flow control ratio adjusting unit, configured to adjust a current flow control ratio of the link set by the flow control ratio setting unit according to the monitoring result of the monitoring unit;
如果连续两个监控周期内所述超时比例都超过预定的流控比例调整门 限, 则所述流控比例调整单元增大链路当前的流控比例;  If the timeout ratio exceeds a predetermined flow control ratio adjustment threshold in two consecutive monitoring periods, the flow control ratio adjustment unit increases the current flow control ratio of the link;
如果上一个监控周期内所述超时比例低于所述流控比例调整门限, 则 所述流控比例调整单元降低链路当前的流控比例。  If the timeout ratio is lower than the flow control ratio adjustment threshold in the previous monitoring period, the flow control ratio adjustment unit reduces the current flow control ratio of the link.
13、 根据权利要求 9或 10所述的装置, 其特征在于, 还包括: 策略单元,用于设定并向所述流控控制单元提供启动和 /或关闭流控的 流控策略。 The device according to claim 9 or 10, further comprising: The policy unit is configured to set and provide the flow control unit with a flow control policy for starting and/or closing the flow control.
PCT/CN2007/070256 2006-10-25 2007-07-09 A method and device of controlling congestion in a service network WO2008049347A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2006101499826A CN101170488B (en) 2006-10-25 2006-10-25 Service network congestion control method and device
CN200610149982.6 2006-10-25

Publications (1)

Publication Number Publication Date
WO2008049347A1 true WO2008049347A1 (en) 2008-05-02

Family

ID=39324138

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070256 WO2008049347A1 (en) 2006-10-25 2007-07-09 A method and device of controlling congestion in a service network

Country Status (2)

Country Link
CN (1) CN101170488B (en)
WO (1) WO2008049347A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301879A (en) * 2021-12-23 2022-04-08 中国电信股份有限公司 Authentication message forwarding method, HDRA equipment and storage medium

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299714A (en) * 2008-05-19 2008-11-05 华为技术有限公司 Flow control method, apparatus and system
CN102006220A (en) * 2009-09-03 2011-04-06 中兴通讯股份有限公司 IP network signaling transmission fault processing method and device
US8125909B2 (en) * 2009-10-22 2012-02-28 Motorola Solutions, Inc. Methods and apparatus for controlling congestion in a communication network
CN102404786B (en) * 2010-09-14 2015-07-01 中国移动通信集团江苏有限公司 Method and device for controlling service jam
CN101984608A (en) * 2010-11-18 2011-03-09 中兴通讯股份有限公司 Method and system for preventing message congestion
CN102571552B (en) * 2010-12-31 2015-04-22 中国移动通信集团公司 Gateway congestion regulation and control method and system, gateway and network element
WO2012167571A1 (en) * 2011-11-25 2012-12-13 华为技术有限公司 Network congestion control method and device
EP2816763B1 (en) * 2012-03-06 2016-12-14 Huawei Technologies Co., Ltd. Congestion control method, device, and system
CN103888993B (en) * 2012-12-19 2018-05-18 中国移动通信集团广东有限公司 Method of adjustment, WAP gateway and the Internet resources monitoring server of congestion window
CN108989235B (en) * 2018-08-28 2022-11-01 新华三技术有限公司 Message forwarding control method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003052556A2 (en) * 2001-12-14 2003-06-26 Chip Engines Single cycle weighted random early detection circuit and method
US6614755B1 (en) * 1997-12-15 2003-09-02 Nec Corporation Method for controlling congestion from a terminal in a frame relay network
CN1825799A (en) * 2005-07-27 2006-08-30 华为技术有限公司 Method for processing pocket service in soft exchange network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6411617B1 (en) * 1998-12-10 2002-06-25 Nokia Telecommunications, Oy System and method for managing data traffic associated with various quality of service principles using a conventional network node switch
EP1195952A1 (en) * 2000-10-09 2002-04-10 Siemens Aktiengesellschaft A method for congestion control within an IP-subnetwork

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6614755B1 (en) * 1997-12-15 2003-09-02 Nec Corporation Method for controlling congestion from a terminal in a frame relay network
WO2003052556A2 (en) * 2001-12-14 2003-06-26 Chip Engines Single cycle weighted random early detection circuit and method
CN1825799A (en) * 2005-07-27 2006-08-30 华为技术有限公司 Method for processing pocket service in soft exchange network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301879A (en) * 2021-12-23 2022-04-08 中国电信股份有限公司 Authentication message forwarding method, HDRA equipment and storage medium

Also Published As

Publication number Publication date
CN101170488A (en) 2008-04-30
CN101170488B (en) 2011-09-14

Similar Documents

Publication Publication Date Title
WO2008049347A1 (en) A method and device of controlling congestion in a service network
US20210105193A1 (en) Resource Management Method and Apparatus
KR101274323B1 (en) Method and system for network congestion management
EP2550823B1 (en) Delayed flow control action in transport network layer wcdma communications
US9066366B2 (en) Method and a system for down link control in a cellular telephony system
Amokrane et al. Congestion control for machine type communications
WO2011069422A1 (en) Congestion control method, operations maintenance center and base station
WO2009138000A1 (en) Method, device and system for controlling network flow
WO2012058985A1 (en) Method and system for terminal to access network
WO2010025674A1 (en) Method and apparatus for monitoring operating status of node in short message service center
WO2012167571A1 (en) Network congestion control method and device
WO2010072088A1 (en) Multimedia message gateway and method for controlling its flow
WO2016033963A1 (en) Policy adjustment trigger, policy adjustment method and device, and policy adjustment system
CN103430602A (en) A method of user equipment indication of traffic-related information to network
WO2013064067A1 (en) Method and system for controlling network congestion
EP3657730B1 (en) Offline charging record threshold control methods, network elements, computer programs and system based on cups protocol
JP2001067292A (en) State informing system for network management system
WO2008049376A1 (en) Processing location update request method, network entity, congestion control method and apparatus
CN103167028A (en) User convergence method capable of saving transmission bandwidth and increasing concurrency
CN101179831A (en) Congestion control system between base station and wireless network controller
WO2012041111A1 (en) Method, system, terminal and network-side equipment for terminal access time control
EP2553971B1 (en) A method of congestion detection in a cellular radio system
WO2011072613A1 (en) Method, device and system for controlling rate of transmitting radius message to aaa by ccg
CN115412468A (en) Method, device, controller and medium for detecting port traffic of network equipment
CN101932003B (en) Method and equipment for processing congestion control

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

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

Country of ref document: EP

Kind code of ref document: A1