WO2009065252A1 - A method and a device for controlling the overload on the network service device - Google Patents
A method and a device for controlling the overload on the network service device Download PDFInfo
- Publication number
- WO2009065252A1 WO2009065252A1 PCT/CN2007/003290 CN2007003290W WO2009065252A1 WO 2009065252 A1 WO2009065252 A1 WO 2009065252A1 CN 2007003290 W CN2007003290 W CN 2007003290W WO 2009065252 A1 WO2009065252 A1 WO 2009065252A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- service
- requested
- information
- network
- type
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
Definitions
- the present invention relates to communication networks, and more particularly to overload control of network service equipment in a communication network. Background technique
- a high call request may occur in the communication network.
- network traffic is significantly higher than the predictable daily peak, and it may exhaust resources such as memory, CPU usage, or network bandwidth of network service devices.
- a service control node based on an application server (a service device) can apply a gap message to the call to inform the monthly service exchange when it is in an overload state. How does the node (SSP) handle this?
- the server uses information such as "called party number”, "calling party number”, "service key” as a key when performing overload control. For example, if the calling party number of an incoming call matches a pre-stored prefix and the pre-stored prefix corresponds to policy A, then policy A will be applied to control of the call (see 3GPP TS 29.078 7.3 for details). 1 ( 2006-06) 1 1.5).
- IETF RFC 3588 defines the Diameter base protocol, based on which a number of diameter related protocols are derived, such as RFC4005 for Diameter network access service applications, IETF RFC4006 for Diameter Credit Control Application (DCCA), for Diameter scalable Authorization protocol application IETF RFC4072 and so on.
- the Diameter base protocol and the diameter related protocol will be collectively referred to as the diameter protocol.
- the 3GPP standards group has widely adopted these IETFs.
- FIG. 1 is a schematic illustration of various applications based on diameter.
- 3GPP has developed various online charging RO interfaces for online charging systems, such as IMS Ro (3GPP TS 32.260), MMS Ro (3 GPP TS 32.270) and WLAN Ro (3 GPP TS 32.252). Wait.
- the diameter protocol has not defined a practical overload control mechanism.
- a large number of call attempts directed to the application server will fail because the application server does not have sufficient resources (such as CPU, memory, etc.).
- overload control is very important for network service devices (e.g., application servers). Accordingly, it is an object of the present invention to provide a method and apparatus for supporting overload control of a network service device, wherein both load information of the network service device, service related information contained in a request from a client, and pre-stored are considered.
- the service control information is used to determine whether the network service device is allowed to provide the requested service to the client.
- the pre-stored service control information includes a plurality of load level information, each of the load level information corresponding to a first type of service, and indicating one or more load levels that the first type of service is allowed .
- a method for overload control of a network service device in a load control device of a communication network includes the following steps: a. acquiring a service related service of the service requested by the client Information; b. according to the load information of the network service device, the service related information of the obtained requested service, and the pre-stored service requested; c. if the network service device is allowed to provide the The requested service controls the network service device to provide the requested service to the client.
- a control apparatus for performing overload control on a network service device in a communication network load control device, comprising: obtaining means for acquiring a service requested by the client The service-related information, the first determining means, configured to determine, according to the load information of the network service device, the service-related information of the acquired requested service, and the pre-stored service control information, whether to allow the network service device to The client provides the requested service; the sub-control device is configured to control the network service device to provide the client with the requested service when the network service device is allowed to provide the requested service to the client Describe the requested service.
- overload control of the network service device can be effectively performed in various network environments including but not limited to the diameter-based protocol.
- a plurality of load level information each of which corresponds to a first type of service, and indicating one or more load levels allowed in the first type of service, different priority services may be performed as needed Different treatments. This is a good fit for the needs of network service providers.
- many protocols such as the diameter protocol can be improved as a result.
- Figure 1 is a schematic diagram of certain diameter-based applications
- FIG. 2 is a schematic diagram of a communication network in which a control device according to the present invention is deployed on an application server for overload control;
- FIG. 3 is a flow chart of a system method for network service device overload control in accordance with a preferred embodiment of the present invention
- FIG. 4 is a schematic diagram of load levels defined in accordance with an embodiment of the present invention
- FIG. 5 is a schematic diagram of a message delivery process based on a diameter protocol between an OCS and an S-CSCF according to an embodiment of the present invention
- FIG. 6 is a schematic diagram of a message delivery process based on a diabetes protocol between an OCS and an S-CSCF according to another embodiment of the present invention
- 7 is a flow chart of a method for overload control of a network service device in a load control device of a communication network in accordance with a preferred embodiment of the present invention
- FIG. 8 is a block diagram of a control device for overload control of a network service device in a load control device of a communication network in accordance with a preferred embodiment of the present invention. detailed description
- a control device 20 for overload control according to the present invention is deployed on an application server 2.
- a control device can also be deployed on a network control device that is separate from the application server 2.
- FIG. 3 is a flow chart of a system method for network service device overload control in accordance with a preferred embodiment of the present invention.
- client 1 requests service from the application server 2 (for example, an application server based on the diameter protocol), generally, Client 1 sends a service request message based on a specific protocol to make the service request.
- application server 2 for example, an application server based on the diameter protocol
- the method proceeds to S2, in which the control device 20 on the application server 2 acquires (extracts) the service-related information of the requested service from the received service request message.
- the acquired service related information includes any one or any of the following items: a calling party, a called party, an application identifier (ID), a service content ID, a time, Date, etc.
- the second type of service has the highest priority, once a service request message is identified as a request for a second type of service (eg, the called party, application ID, or service of the message) The content ID matches the corresponding pre-stored information), and the control device 20 will pass the request to the corresponding application-related device 21 to provide the second type of service to the client.
- a service request message is identified as a request for a second type of service (eg, the called party, application ID, or service of the message)
- the content ID matches the corresponding pre-stored information
- the control device 20 will pass the request to the corresponding application-related device 21 to provide the second type of service to the client.
- an emergency call in China, if the called party is a 1 19 call
- always has the highest priority so when a service request message for an emergency call arrives and is identified based on its particular called party After that, the requested service will be immediately provided to the requester (for example, a client).
- emergency services are only one non-limiting embodiment of a second type of service in accordance with the present invention.
- what kind of service should be directly accepted can be flexibly defined based on a certain policy rule, which can be manually or automatically configured.
- the first type of service tends to have a lower priority than the second type of service.
- the pre-stored service control information may include a mapping table, wherein the services are divided into two categories: a first type of service and a second type of service.
- a requested service has several characteristics, such as a calling party (number), a called party (number), an application ID, a service content ID, and the like.
- a service can be defined as either a first type of service or a second type of service by any one or combination of its characteristics, and one or more features used to define its type will also be used thereafter. Identification of the type of service.
- S3 can be executed as follows:
- mapping table Searching the mapping table with the obtained service related information (one or more characteristics) as a key, and judging the type of the requested service based on the matching.
- Pre-stored service control information can exist in the form of a number of rules (described in more detail below), where each rule consists of one or more features and corresponding control policies.
- each rule in order to support such type identification, there may be one or more rules, each of which corresponds to a second type of service.
- the control policy in the rule corresponding to the second type of service may indicate that the request should be allowed.
- no match is found in the mapping table or rule.
- the request can be banned or treated as a request for a second type of service and is allowed, depending on the configurable principle of judgment.
- the requested service is the second type of service
- the method will proceed to S4, where the application server 2 will provide the requested service to the client.
- the method will go to S4, wherein, according to the load information of the application server 2, the acquired service related information, and the pre-stored service control information It will judge whether or not the application server 2 is allowed to provide the requested first type of service to the client 1.
- S4 (the step of acquiring the load information of the application server 2 for the first type of service) may be triggered by the service request message sent by the client 1 (as shown in FIG. 3), or may be controlled by the control device. 20 Do it on your own.
- Table 1 shows various types of resources used by the application server 2 for load detection in accordance with a preferred embodiment of the present invention.
- the message queue is related to the memory buffer used to store network messages. If the buffer is full, the incoming message may be lost and the server may not be processed.
- the load information of the application server 2 can be obtained by periodically detecting the state of the resources listed in Table 1 and calculating a corresponding load value based on these states.
- the load value can be obtained by weighting each detected item in Table 1 and summing the weighted values.
- the load value (a variable) has a maximum value of 1, and a minimum value of zero.
- the calculated load value will be compared with a plurality of preset load thresholds to determine the load level at which the application server is currently located. Negative according to a specific embodiment of the invention
- the load threshold and its corresponding load level are defined as shown in Figure 4. Where each two consecutive load thresholds define a load level. For example, T_X and T_y define load level 3.
- the pre-stored service control information used in S4 will be detailed in the following. According to a preferred embodiment of the present invention, the pre-stored service control information exists in a preset plurality of rules.
- the service related information obtained from the service request message from client 1 matches the feature portion of a rule, the corresponding control policy in the rule will be applied to the request.
- the following items may be used alone or together to construct a feature part of a rule:
- This parameter indicates that the overload control will be applied to the special credit control service in the diameter credit control request.
- This parameter indicates that the overload control will be applied to the special credit control application in the diameter credit control request.
- - Event timestamp This parameter indicates that the overload control will be applied to events for a certain period of time. For example, selecting a time period from 8:30 am to 9:30 am, and also selecting one or several other items (for example, items corresponding to a mobile game call), occurs between 8:30 am and 9:30 am The mobile game call between will be properly handled by the corresponding control strategy.
- - Service Information This parameter indicates that the overload control will be applied to the request for special service related information in the diameter credit control request, such as PS information for the packet exchange service, IMS information for the IMS service information, and the like.
- the above application ID and service content ID may be simultaneously used as the feature part in the same rule, as in the following example: Rule 1):
- Rule 3 :
- MMS multimedia message service
- Figure 5 shows the message passing process between the OCS and the S-CSCF based on the diameter protocol.
- the S-CSCF Server Call Session Control Function
- CCR dial credit control request
- OCS Online Charging System
- the OCS obtains the service related information of the requested message from the received service request message.
- the OCS determines whether the requested service is the first type service or the second type service. In this example, it is assumed that each second type of service has its particular called party. In other words, it can be judged whether the requested service is of the second type based only on the "called party" information in the service related information. service. Therefore, the OCS can easily discern the requested service type by checking the called party information carried by the request information (e.g., the logical number of the called party).
- OCS will be able to judge based on the pre-obtained OCS load information (which can also be obtained each time a service request message is received from the client, as shown in Figure 3), the acquired service-related information, and the pre-stored service control information. Whether to provide the requested service.
- the OCS After receiving the CCR message from the S-CSCF, the OCS searches for the service-related information obtained from the message as a key in the pre-stored service control information. It is assumed that the load state of the OCS is 4, and the rules in the pre-stored service control information include only the aforementioned rules 1) to 3).
- the OCS will find that the service-related information obtained from the CCR does not match any of the rules 1) to 3).
- the requested service can be regarded as a second type of service according to a predetermined principle.
- the diameter credit control reply (CCA) message will be sent back to the S-CSCF, which is also set in the CCR.
- the RESULT CODE in the CCA is set to DIAMETER_SUCCESS. The call is successfully established on the OCS side.
- the diameter credit control reply (CCA[UPDATE-REQUEST]) is returned to the S-CSCF, which is also set in the CCR.
- RESULT_CODE in CCA is set to DIAMETER_SUCCESS.
- the S-CSCF determines that the client will end the current session, it will send CCR[TERMINATION_REQUEST] to the OCS to credit the usage quota.
- OCS After the service is successfully charged, OCS returns CCR[TERMINATION_REQUEST] to the S-CSCF.
- the RESULT_CODE in the CCA is set to DIAMETER_SUCCESS.
- FIG. 7 is a flow chart of a method for overload control of a network service device in a load control device of a communication network in accordance with a preferred embodiment of the present invention. An aspect of the present invention will be described below with reference to FIGS. 7 and 2.
- the application server 2 receives a service request message from the client 1.
- the application server 2 will determine the type of service requested, as shown in Fig. 7, if the requested service is the second type of service, the method will proceed to S14. In S 14, the application server 2 will control the provision of the requested service to the client.
- the method proceeds to S13, where the application server 2 takes the obtained service related information as a key, and simultaneously considers the load information of the application server 2 (currently Load level), a search is performed in pre-stored service control information (eg, rules 1) to 3)) to determine whether to allow the client 1 to provide the requested first type of service. If the result of S 13 is "allowed", the method will proceed to S14, and then the application server 2 will control the service to be requested to the client 1.
- pre-stored service control information eg, rules 1 to 3
- the illustrated control device 20 includes an acquisition device 200, a first determination device 201, a sub-control device 202, and an acquisition device 203.
- the obtaining device 200 further includes a receiving device 2000 and an extracting device 2001;
- the first determining device 201 further includes a second determining device 2010 and a third determining device 2011.
- the receiving device 2000 receives a service request message from the client 1 and forwards it to the extraction device 2001.
- the service related information in the service request message will be extracted by the extracting means 2001 for use in the identification of the type of service to be performed and further processing that may exist.
- the acquired service related information is supplied to the second judging device 2010, and the second judging device 2010 determines the type of the requested service based on the acquired service related information. If the requested service is the second type of service, the sub-controlling device 202 will control the provision of the requested second type of service to the client based on the determination result obtained by the second determining means 2010.
- the second judging means 2010 will pass the judgment result to the third judging means 201 1 .
- the third determining means 201 1 uses the obtained service related information as a key, and simultaneously considers the load information (current load level) of the application server 2, and performs a search in the pre-stored service control information to determine whether to allow the provision.
- the requested first type of service is the first type of service.
- the third judging means 201 1 If the result obtained by the third judging means 201 1 is "allow", it will pass the result of the judgment to the sub-controller 202, which will control the provision of the requested service to the client.
- control means 20 rejects the request and returns a message indicating that the request is rejected to the client 1 as
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
用于网络服务设备过载控制的方法和装置 技术领域 Method and apparatus for network service equipment overload control
本发明涉及通信网络, 尤其涉及通信网络中网络服务设备的过载 控制。 背景技术 The present invention relates to communication networks, and more particularly to overload control of network service equipment in a communication network. Background technique
当意外事件(诸如洪水、 地震或客户端的恶意行为)发生时, 通 信网络中可能会出现高呼叫请求。 在这一高呼叫请求期间, 网络业务 量明显比可预测的日常峰值要高, 并且它可能耗尽网络服务设备的诸 如内存、 CPU使用量或网络带宽等资源。 When an unexpected event (such as a flood, an earthquake, or a malicious act by a client) occurs, a high call request may occur in the communication network. During this high call request, network traffic is significantly higher than the predictable daily peak, and it may exhaust resources such as memory, CPU usage, or network bandwidth of network service devices.
因而, 通信网络已经认识到, 需要提供过载控制机制以保护系统 免遭过量业务负载的冲击。 Thus, communication networks have recognized that an overload control mechanism needs to be provided to protect the system from the impact of excessive traffic loads.
在传统的智能网络(IN ) 中, 基于应用服务器 (一种服务设备) 的服务控制节点 (SCP ) 在其处于过载状态时, 能够对该呼叫应用间 隙消息 (gapping message ) 以告知月良务交换节点 ( SSP ) 如何处理这 In the traditional intelligent network (IN), a service control node (SCP) based on an application server (a service device) can apply a gap message to the call to inform the monthly service exchange when it is in an overload state. How does the node (SSP) handle this?
^呼叫。 特别的, 服务器在进行过载控制时, 使用诸如"被叫方号码"、 "主 叫方号码"、 "服务密钥 ( Service Key ) "等信息作为关键字。 例如, 如 果一个到来的呼叫的主叫方号码与一个预存的前缀匹配, 而该预存前 缀对应于策略 A, 则策略 A将会被应用于对该呼叫的控制(细节请参 照 3GPP TS 29.078 7.3.3 ( 2006-06)中的 1 1.5 ) 。 ^ Call. Specifically, the server uses information such as "called party number", "calling party number", "service key" as a key when performing overload control. For example, if the calling party number of an incoming call matches a pre-stored prefix and the pre-stored prefix corresponds to policy A, then policy A will be applied to control of the call (see 3GPP TS 29.078 7.3 for details). 1 ( 2006-06) 1 1.5).
随着网络向基于 IP的下一代网络(NGN ) 的发展, 应用服务器 为下一代服务提供了执行环境。 IETF RFC 3588定义了 Diameter基础 协议, 基于此协议衍生出多个 diameter相关协议 , 例如用于 Diameter 网络接入服务应用的 RFC4005、用于 Diameter信用控制应用( DCCA ) 的 IETF RFC4006 , 用于 Diameter 可扩展授权协议应用的 IETF RFC4072等等。 在下文中, Diameter基础协议以及 diameter相关协议 将统称为 diameter协议。 目前, 3GPP标准组已经广泛地将这些 IETF As the network evolves to IP-based Next Generation Networks (NGNs), application servers provide an execution environment for next-generation services. IETF RFC 3588 defines the Diameter base protocol, based on which a number of diameter related protocols are derived, such as RFC4005 for Diameter network access service applications, IETF RFC4006 for Diameter Credit Control Application (DCCA), for Diameter scalable Authorization protocol application IETF RFC4072 and so on. In the following, the Diameter base protocol and the diameter related protocol will be collectively referred to as the diameter protocol. Currently, the 3GPP standards group has widely adopted these IETFs.
确认本 diameter协议应用于各种下一代网络应用。 图 1是基于 diameter的多 种应用的示意图。 例如, 基于 IETF RFC4006 DCCA, 3GPP开发了各 种用于在线收费系统的在线收费 RO接口, 例如 IMS Ro ( 3GPP TS 32.260 ) 、 MMS Ro ( 3 GPP TS 32.270 )和 WLAN Ro ( 3 GPP TS 32.252 ) 等等。 Confirmation The diameter protocol is used in a variety of next-generation network applications. Figure 1 is a schematic illustration of various applications based on diameter. For example, based on IETF RFC4006 DCCA, 3GPP has developed various online charging RO interfaces for online charging systems, such as IMS Ro (3GPP TS 32.260), MMS Ro (3 GPP TS 32.270) and WLAN Ro (3 GPP TS 32.252). Wait.
但是, 到目前为止, diameter协议还没有定义一种实用的过载控 制机制。 因而, 一旦一个应用服务器过载, 大量指向该应用服务器的 呼叫尝试都会因该应用服务器没有足够的资源(例如 CPU、内存等等) 而失效。 However, so far, the diameter protocol has not defined a practical overload control mechanism. Thus, once an application server is overloaded, a large number of call attempts directed to the application server will fail because the application server does not have sufficient resources (such as CPU, memory, etc.).
事实上, 网络运营商可能会倾向于优先支持那些应对诸如紧急呼 叫等某些特别业务的服务, 而不是将所有呼叫统统拒绝。 发明内容 In fact, network operators may prefer to prioritize services that address certain special services, such as emergency calls, rather than rejecting all calls. Summary of the invention
根据前述的现有技术, 可以看出对于网络服务设备(例如应用服 务器)来说, 过载控制是十分重要的。 因此, 本发明的一个目的在于 提供一种方法和装置以支持网络服务设备的过载控制, 其中, 同时考 虑所述网络服务设备的负载信息、 来自客户端的请求中所包含的服务 相关信息以及预存的服务控制信息, 以决定所述网络服务设备是否被 允许向所述客户端提供被请求的服务。 特别地, 所述预存的服务控制 信息包括多个负载级别信息, 每个所述负载级别信息都对应于一种第 一类型服务, 并指示该第一类型服务被允许的一个或多个负载级别。 According to the aforementioned prior art, it can be seen that overload control is very important for network service devices (e.g., application servers). Accordingly, it is an object of the present invention to provide a method and apparatus for supporting overload control of a network service device, wherein both load information of the network service device, service related information contained in a request from a client, and pre-stored are considered. The service control information is used to determine whether the network service device is allowed to provide the requested service to the client. Specifically, the pre-stored service control information includes a plurality of load level information, each of the load level information corresponding to a first type of service, and indicating one or more load levels that the first type of service is allowed .
根据本发明的一个方面, 提供了一种在通信网络的负载控制设备 中用于对网络服务设备进行过载控制的方法, 其中, 包括如下步骤: a.获取该客户端所请求的服务的服务相关信息; b.根据所述网络服务 设备的负载信息、 所获取的被请求服务的服务相关信息以及预存的服 被请求的服务; c.如果允许所述网络服务设备向所述客户端提供所述 被请求的服务, 则控制所述网络服务设备向所述客户端提供所述被请 求的服务。 根据本发明的另一个方面,提供了一种在通信网络负载控制设备 中用于对网络服务设备进行过载控制的控制装置, 其中, 包括: 获取 装置, 用于获取所述客户端所请求的服务的服务相关信息; 第一判断 装置, 用于根据所述网络服务设备的负载信息、 所获取的被请求服务 的服务相关信息以及预存的服务控制信息, 判断是否允许所述网络服 务设备向所述客户端提供所述被请求的服务; 子控制装置, 用于在允 许所述网络服务设备向所述客户端提供所述被请求的服务时, 控制所 述网络服务设备向所述客户端提供所述被请求的服务。 According to an aspect of the present invention, a method for overload control of a network service device in a load control device of a communication network is provided, wherein the method includes the following steps: a. acquiring a service related service of the service requested by the client Information; b. according to the load information of the network service device, the service related information of the obtained requested service, and the pre-stored service requested; c. if the network service device is allowed to provide the The requested service controls the network service device to provide the requested service to the client. According to another aspect of the present invention, there is provided a control apparatus for performing overload control on a network service device in a communication network load control device, comprising: obtaining means for acquiring a service requested by the client The service-related information, the first determining means, configured to determine, according to the load information of the network service device, the service-related information of the acquired requested service, and the pre-stored service control information, whether to allow the network service device to The client provides the requested service; the sub-control device is configured to control the network service device to provide the client with the requested service when the network service device is allowed to provide the requested service to the client Describe the requested service.
采用本发明所提供的技术方案, 可以在包括但不限于基于 diameter协议的各种网络环境中, 有效地进行网络服务设备的过载控 制。 通过使用若干个负载级别信息, 其中每个信息都对应于一种第一 类型服务, 并指示该第一类型服务中被允许的一个或多个负载级别, 可以根据需要对不同优先级的服务进行不同的处理。 这很好地满足了 网络服务提供商的需要。 同时, 诸如 diameter协议等很多协议都可以 由此得到改善。 附图说明 With the technical solution provided by the present invention, overload control of the network service device can be effectively performed in various network environments including but not limited to the diameter-based protocol. By using a plurality of load level information, each of which corresponds to a first type of service, and indicating one or more load levels allowed in the first type of service, different priority services may be performed as needed Different treatments. This is a good fit for the needs of network service providers. At the same time, many protocols such as the diameter protocol can be improved as a result. DRAWINGS
以下将参照附图对本发明进行详述, 其中, 相同的附图标记代表 相同或相似的组件: DETAILED DESCRIPTION OF THE INVENTION The present invention will be described in detail below with reference to the accompanying drawings, wherein the same reference numerals represent the same or similar components:
图 1为某些基于 diameter的应用的示意图; Figure 1 is a schematic diagram of certain diameter-based applications;
图 2为一个通信网络的示意图, 在该通信网络中, 根据本发明的 控制装置被部署在一个应用服务器上用于过载控制; 2 is a schematic diagram of a communication network in which a control device according to the present invention is deployed on an application server for overload control;
图 3为根据本发明的一个优选实施例的用于网络服务设备过载控 制的系统方法流程图; 3 is a flow chart of a system method for network service device overload control in accordance with a preferred embodiment of the present invention;
图 4为根据本发明的一个实施例所定义的负载级别示意图; 图 5 为根据本发明的一个实施例在 OCS 和 S-CSCF 之间基于 diameter协议的消息传递过程示意图; 4 is a schematic diagram of load levels defined in accordance with an embodiment of the present invention; FIG. 5 is a schematic diagram of a message delivery process based on a diameter protocol between an OCS and an S-CSCF according to an embodiment of the present invention;
图 6是根据本发明的另一个实施例在 OCS和 S-CSCF之间基于 diameter协议的消息传递过程示意图; 图 7是根据本发明的一个优选实施例的在通信网络的负载控制设 备中用于对网络服务设备进行过载控制的方法流程图; 6 is a schematic diagram of a message delivery process based on a diabetes protocol between an OCS and an S-CSCF according to another embodiment of the present invention; 7 is a flow chart of a method for overload control of a network service device in a load control device of a communication network in accordance with a preferred embodiment of the present invention;
图 8是根据本发明的一个优选实施例的在通信网络的负载控制设 备中用于对网络服务设备进行过载控制的控制装置框图。 具体实施方式 Figure 8 is a block diagram of a control device for overload control of a network service device in a load control device of a communication network in accordance with a preferred embodiment of the present invention. detailed description
参看图 2, 在所示通信网络中, 一个根据本发明的用于过载控制 的控制装置 20被部署在一个应用服务器 2上。 在其他例子中, 这样 的控制装置也可以部署在一个和应用服务器 2相互独立的网络控制设 备上。 Referring to Fig. 2, in the communication network shown, a control device 20 for overload control according to the present invention is deployed on an application server 2. In other examples, such a control device can also be deployed on a network control device that is separate from the application server 2.
以下将参照图 3与图 2来从系统角度对本发明进行详述。 图 3是 根据本发明的一个优选实施例的用于网络服务设备过载控制的系统 方法流程图。 The present invention will be described in detail from a system perspective with reference to Figs. 3 and 2. 3 is a flow chart of a system method for network service device overload control in accordance with a preferred embodiment of the present invention.
在 S1 中, 客户端 1 (例如一个基于 diameter协议的客户端设备, 为了简明起见将其简称为客户端) 向应用服务器 2 (例如一个基于 diameter协议的应用服务器)请求服务, 一般来说, 该客户端 1基于 某种具体协议来发送服务请求消息以进行所述服务请求。 In S1, client 1 (for example, a client device based on the diameter protocol, referred to simply as a client for the sake of brevity) requests service from the application server 2 (for example, an application server based on the diameter protocol), generally, Client 1 sends a service request message based on a specific protocol to make the service request.
而后, 本方法进入 S2, 其中, 应用服务器 2上的控制装置 20从 接收到的服务请求消息中获取(提取) 被请求服务的服务相关信息。 根据本发明的一个优选实施例, 所获取的服务相关信息包括下述诸项 中的任意一项或任意多项: 主叫方、 被叫方、 应用标识(ID ) 、 服务 内容 ID、 时间、 日期等。 Then, the method proceeds to S2, in which the control device 20 on the application server 2 acquires (extracts) the service-related information of the requested service from the received service request message. According to a preferred embodiment of the present invention, the acquired service related information includes any one or any of the following items: a calling party, a called party, an application identifier (ID), a service content ID, a time, Date, etc.
之后, 基于获取到的服务相关信息, 将在 S3 中判断该被请求的 服务是第一类型服务还是第二类型服务。 在本发明中, 一般来说, 第 二类型服务拥有最高的优先级, 一旦某个服务请求消息被识别为是一 个对第二类型服务的请求 (例如该消息的被叫方、 应用 ID或服务内 容 ID与相应预存信息匹配) , 控制装置 20将把该请求传递给相应的 应用相关装置 21以将所述第二类型服务提供给客户端。 一般来说, 紧急呼叫 (在中国如被叫方为 1 19的呼叫)总有最高 的优先权, 因此, 当用于紧急呼叫的服务请求消息到达, 并根据其特 殊的被叫方被识别出来后, 其所请求的服务将会立即被提供给该请求 者 (如, 一个客户端) 。 Thereafter, based on the acquired service related information, it is determined in S3 whether the requested service is the first type service or the second type service. In the present invention, generally, the second type of service has the highest priority, once a service request message is identified as a request for a second type of service (eg, the called party, application ID, or service of the message) The content ID matches the corresponding pre-stored information), and the control device 20 will pass the request to the corresponding application-related device 21 to provide the second type of service to the client. In general, an emergency call (in China, if the called party is a 1 19 call) always has the highest priority, so when a service request message for an emergency call arrives and is identified based on its particular called party After that, the requested service will be immediately provided to the requester (for example, a client).
本领域技术人员可以理解, 紧急服务只是根据本发明的第二类型 服务的一个非限定性实施例。 在实际应用中, 具体什么样的服务应该 直接被接受可以基于某种策略规则来灵活地定义, 该策略规则是可以 人工或自动配置的。 Those skilled in the art will appreciate that emergency services are only one non-limiting embodiment of a second type of service in accordance with the present invention. In practical applications, what kind of service should be directly accepted can be flexibly defined based on a certain policy rule, which can be manually or automatically configured.
与第二类型服务相比, 第一类型服务往往具有较低的优先级, 一 旦某个服务请求消息被识别为对第一类型服务的请求, 控制装置 20 将会执行一系列检查步骤以决定是否允许该请求。 The first type of service tends to have a lower priority than the second type of service. Once a service request message is identified as a request for the first type of service, the control device 20 performs a series of checking steps to determine whether Allow the request.
为了支持 S3 中的判断过程, 预存的服务控制信息可以包括一张 映射表, 其中, 服务被分为两类: 第一类型服务和第二类型服务。 本 领域技术人员理解,一个被请求的服务拥有若干特征,比如主叫方(号 码) 、 被叫方 (号码) 、 应用 ID、 服务内容 ID等等。 因此, 一个服 务可以按其特征中的任意一项或任意多项的组合被定义为第一类型 服务或第二类型服务, 而用于定义其类型的一项或多项特征也将用于 此后的服务类型的鉴别。 In order to support the judging process in S3, the pre-stored service control information may include a mapping table, wherein the services are divided into two categories: a first type of service and a second type of service. Those skilled in the art understand that a requested service has several characteristics, such as a calling party (number), a called party (number), an application ID, a service content ID, and the like. Thus, a service can be defined as either a first type of service or a second type of service by any one or combination of its characteristics, and one or more features used to define its type will also be used thereafter. Identification of the type of service.
基于这样一个映射表, 可以按以下方式执行 S3: Based on such a mapping table, S3 can be executed as follows:
-将获取到的服务相关信息 (一个或多个特征)作为关键字, 搜 索所述映射表, 根据匹配项判断被请求的服务的类型。 - Searching the mapping table with the obtained service related information (one or more characteristics) as a key, and judging the type of the requested service based on the matching.
另一种情况下, 也可以不用这种映射表。 预存的服务控制信息能 够以若干规则的形式存在(后文将进行详述) , 其中, 每个规则都由 一个或多个特征及相应的控制策略构成。 根据本发明的一个实施例, 为了支持这种类型识别, 可能会存在一条或多条规则, 每条规则都分 别对应一个第二类型服务。 一般来说, 对应第二类型服务的规则中的 控制策略可以指示: 该请求应将被允许。 根据本发明, 如果在映射表或规则中没有找到匹配项。 该请求可 以被禁止, 也可以被视为对第二类型服务的请求并被允许, 这取决于 可配置的判断原则。 In the other case, this mapping table can also be omitted. Pre-stored service control information can exist in the form of a number of rules (described in more detail below), where each rule consists of one or more features and corresponding control policies. According to an embodiment of the present invention, in order to support such type identification, there may be one or more rules, each of which corresponds to a second type of service. In general, the control policy in the rule corresponding to the second type of service may indicate that the request should be allowed. According to the invention, no match is found in the mapping table or rule. The request can be banned or treated as a request for a second type of service and is allowed, depending on the configurable principle of judgment.
如果 S3得到的判断结果为: 被请求的服务为第二类型服务, 则 本方法将转到 S4,, 其中, 应用服务器 2将把被请求的服务提供给所 述客户端。 If the result of the judgment obtained by S3 is: The requested service is the second type of service, the method will proceed to S4, where the application server 2 will provide the requested service to the client.
反之, 如果 S3得到的判断结果为: 被请求的服务属于第一类型 服务, 那么本方法将转到 S4, 其中, 根据应用服务器 2的负载信息、 所获取的服务相关信息以及预存的服务控制信息, 将判断是否允许应 用服务器 2将被请求的第一类型服务提供给客户端 1。 On the other hand, if the judgment result obtained by S3 is: The requested service belongs to the first type service, the method will go to S4, wherein, according to the load information of the application server 2, the acquired service related information, and the pre-stored service control information It will judge whether or not the application server 2 is allowed to provide the requested first type of service to the client 1.
本领域技术人员理解, S4 (为第一类型服务获取应用服务器 2的 负载信息的步骤) 可以由客户端 1发来的服务请求消息触发 (如图 3 所示的情形) , 也可以由控制装置 20 自行地来周期性进行。 表 1 示 出了根据本发明的一个优选例的应用服务器 2用于负载检测的各类资 源。 It is understood by those skilled in the art that S4 (the step of acquiring the load information of the application server 2 for the first type of service) may be triggered by the service request message sent by the client 1 (as shown in FIG. 3), or may be controlled by the control device. 20 Do it on your own. Table 1 shows various types of resources used by the application server 2 for load detection in accordance with a preferred embodiment of the present invention.
表 1 : Table 1 :
应用服务器 2用于负载检测的各类资源 Application Server 2 Various resources for load detection
CPU 内存 带宽 消息队列 磁盘存储器 CPU memory bandwidth message queue disk storage
使用率 使用率 使用率 使用率 Usage rate usage rate usage rate
其中, 消息队列与用于存储网络消息的内存緩冲区有关, 若该緩 冲区已满, 则此后到来的消息可能会丢失而得不到服务器的处理。 The message queue is related to the memory buffer used to store network messages. If the buffer is full, the incoming message may be lost and the server may not be processed.
这里, 在 S4中, 通过周期性检测表 1 中所列资源的状态, 并基 于这些状态计算出一个相应的负载值, 就能得到该应用服务器 2的负 载信息。 一般来说, 该负载值可以通过对表 1 中的每个被检测项进行 加权, 并对加权后的值求和而得到。 这里, 我们假设负载值(一个变 量) 最大值为 1, 最小值为 0。 Here, in S4, the load information of the application server 2 can be obtained by periodically detecting the state of the resources listed in Table 1 and calculating a corresponding load value based on these states. In general, the load value can be obtained by weighting each detected item in Table 1 and summing the weighted values. Here, we assume that the load value (a variable) has a maximum value of 1, and a minimum value of zero.
计算出的负载值将与多个预设的负载阈值进行比较, 以此确定该 应用服务器当前所处的负载级别。根据本发明的一个具体实施例的负 载阈值及其相应的负载级别定义方式如图 4所示。 其中, 每两个连续 的负载阈值定义一个负载级别。 例如, T— X和 T— y定义了负载级别 3。 The calculated load value will be compared with a plurality of preset load thresholds to determine the load level at which the application server is currently located. Negative according to a specific embodiment of the invention The load threshold and its corresponding load level are defined as shown in Figure 4. Where each two consecutive load thresholds define a load level. For example, T_X and T_y define load level 3.
用于 S4 中的预存的服务控制信息将在以下内容中进行详述。 根 据本发明的一个优选实施例, 所述预存的服务控制信息以预设的多个 规则的形式存在。 The pre-stored service control information used in S4 will be detailed in the following. According to a preferred embodiment of the present invention, the pre-stored service control information exists in a preset plurality of rules.
典型地, 一旦由来自客户端 1的服务请求消息中所获取的服务相 关信息与某条规则中的特征部分相匹配, 该规则中相应的控制策略将 被应用于此请求。 在实际应用中, 下面诸项可能被单独或一起用以构 造一个规则中的特征部分: Typically, once the service related information obtained from the service request message from client 1 matches the feature portion of a rule, the corresponding control policy in the rule will be applied to the request. In practical applications, the following items may be used alone or together to construct a feature part of a rule:
-源主机 (Origin-Host): 例 通过设置源主机 ="nas.example.com", 该预存控制策略将会应用于属于" nas.example.com"的主机发起的呼 叫。 - Origin-Host: Example By setting the source host ="nas.example.com", the pre-stored control policy will be applied to the call initiated by the host belonging to "nas.example.com".
-源 i或 (Origin-Realm): 例如通过设置源: ^="example.com", 该预 存控制策略将会应用于属于 "example.com"域的主机发起的呼叫。 - Source i or (Origin-Realm): For example, by setting the source: ^="example.com", the pre-stored control policy will be applied to calls initiated by hosts belonging to the "example.com" domain.
-应用 ID (Application-ID): 该参数表示对应的控制策略将应用于 匹配的应用, 例如: 应用 ID=0用于 Diameter—般消息, 应用 ID=1 用于 NASREQ, 应用 ID=2用于 Mobile-IP, 应用 ID=3用于 Diameter 基账户, 应用 ID=4用于 Diameter信用控制应用。 - Application ID (Application-ID): This parameter indicates that the corresponding control policy will be applied to the matching application, for example: Application ID=0 for Diameter-like messages, Application ID=1 for NASREQ, Application ID=2 for Mobile-IP, Application ID=3 for Diameter base accounts, Application ID=4 for Diameter credit control applications.
-客户端 ID (Subscription-ID):该参数表示过载控制将应用于持该 客户端 ID的终端客户端。 - Client ID (Subscription-ID): This parameter indicates that the overload control will be applied to the terminal client holding the client ID.
-服务标示: 该参数表示过载控制将应用于 diameter信用控制请 求中特别的信用控制服务。 - Service Mark: This parameter indicates that the overload control will be applied to the special credit control service in the diameter credit control request.
-服务内容 ID: 该参数表示过载控制将应用于 diameter信用控制 请求中特别的信用控制应用。 - Service Content ID: This parameter indicates that the overload control will be applied to the special credit control application in the diameter credit control request.
-事件时间戳: 该参数表示过载控制将应用于某个时间段的事件。 例如, 选择时间段从 8: 30 am至 9: 30 am, 同时也适当地选择了一 个或若干其他项 (例如, 对应移动游戏呼叫的项目 ) , 则发生在 8: 30 am至 9: 30 am之间的移动游戏呼叫将由相应的控制策略妥善处 理。 -服务信息:该参数表示过载控制将应用于 diameter信用控制请求 中有特别服务相关信息的请求, 例如用于包交换服务的 PS信息、 用 于 IMS服务信息的 IMS信息等等。 - Event timestamp: This parameter indicates that the overload control will be applied to events for a certain period of time. For example, selecting a time period from 8:30 am to 9:30 am, and also selecting one or several other items (for example, items corresponding to a mobile game call), occurs between 8:30 am and 9:30 am The mobile game call between will be properly handled by the corresponding control strategy. - Service Information: This parameter indicates that the overload control will be applied to the request for special service related information in the diameter credit control request, such as PS information for the packet exchange service, IMS information for the IMS service information, and the like.
根据本发明的一个优选实施例,可以在同一条规则中同时使用上 述应用 ID和服务内容 ID作为特征部分, 如下所例: 规则 1 ) : According to a preferred embodiment of the present invention, the above application ID and service content ID may be simultaneously used as the feature part in the same rule, as in the following example: Rule 1):
IF (应用 ID=4 ) AND (服务内容 ID=32273@3gpp. Ofg ) AND (系 统负载级別 =3 ) IF (application ID=4) AND (service content ID=32273@3gpp. Ofg) AND (system load level = 3)
THEN 禁止服务 THEN prohibits service
END IF END IF
规则 1 )表示, 当应用服务器 2的负载级别为 3 (根据图 4所示, 级别 3为一个轻量的负载级别) 时, 控制装置 20将会阻止信用控制 应用(应用 ID=4 )的多媒体广播服务(服务内容 ID= 32273@3gpp.org )。 规则 2 ) : Rule 1) indicates that when the load level of the application server 2 is 3 (as shown in FIG. 4, level 3 is a lightweight load level), the control device 20 will block the multimedia of the credit control application (application ID=4). Broadcast service (service content ID = 32273@3gpp.org). Rule 2):
IF (MM W=4 ) AND IF (MM W=4 ) AND
( (服务内容 ID=32273 @3gpp.org ) OR ((Service Content ID=32273 @3gpp.org) OR
(服务内容 1D=32272 @5gpp.org ) ) AND (系统负载级别 =4 ) (Service content 1D=32272 @5gpp.org ) ) AND (system load level = 4)
THEN禁止服务 THEN prohibits service
END IF END IF
规则 2 ) 表示, 当应用服务器 2的负载级别为 4 (如图 4所示, 级别 3是一个中量的负载级别) 时, 控制装置 20将会拒绝信用控制 应用(应用 ID=4 )的多媒体广播服务 (服务内容 ID= 32273@3gpp.org ) 和会话服务 (服务内容 ID= 32272@3gpp.org ) 。 规则 3 ) : Rule 2) indicates that when the load level of the application server 2 is 4 (as shown in FIG. 4, level 3 is a medium load level), the control device 20 will reject the multimedia of the credit control application (application ID=4). Broadcast service (service content ID = 32273@3gpp.org) and session service (service content ID = 32272@3gpp.org). Rule 3):
IF (NOT (服务内容 ID=32270 @3gpp.org ) ) AND (系统负载级别 =5; THEN禁止服务 IF (NOT (Service Content ID=32270 @3gpp.org)) AND (System Load Level = 5; THEN prohibits service
END IF END IF
规则 3 )表示, 当应用服务器 2的负载级别为 5 (如图 4所示, 级别 5是一个最高的负载级别) 时, 控制装置 20将会阻止除多媒体 消息服务 (MMS, 服务内容 ID= 32270@3gpp.org )之外的所有应用 服务。 换句话说, 在应用服务器 2的负载级别为 5时, 客户端仅仅允 许发送和接收 MMS。 本领域技术人员可以想到, 使用诸如不等号等简洁的符号, 可以 相当方便地定义这种规则, 如下规则 4 ) 所示: 规则 4 ) : Rule 3) indicates that when the load level of the application server 2 is 5 (as shown in FIG. 4, level 5 is the highest load level), the control device 20 will block the multimedia message service (MMS, service content ID=32270). All application services except @3gpp.org ). In other words, when the application server 2 has a load level of 5, the client only allows the MMS to be sent and received. Those skilled in the art will appreciate that such rules can be defined quite conveniently using concise symbols such as inequality, as shown in the following rule 4): Rule 4):
IF (NOT (服务内容 ID=32270 (^Sgpp.org ) ) AND (系统负载级别 >=4 ) IF (NOT (Service Content ID=32270 (^Sgpp.org)) AND (System Load Level >=4)
THEN禁止服务 THEN prohibits service
END IF END IF
规则 4 )表示, 当应用服务器 2的负载级别大于或等于 4时, 控 制装置 20 将会阻止除多媒体消息服务 ( MMS , 服务内容 ID= 32270@3gpp.org ) 之外的所有应用服务。 换句话说, 在应用服务器 2 的负载级别为 4或 5时, 客户端仅仅允许发送和接收 MMS。 在 S5中,根据在 SI中从服务请求消息里获取到的服务相关信息、 获得的应用服务器 2的负载信息以及预存的服务控制信息, 判断该请 求是否被允许。 如下为几个具体实施例: 例 1 : Rule 4) indicates that when the load level of the application server 2 is greater than or equal to 4, the control device 20 will block all application services except the multimedia message service (MMS, service content ID = 32270@3gpp.org). In other words, when Application Server 2 has a load level of 4 or 5, the client only allows sending and receiving MMS. In S5, it is judged whether or not the request is permitted based on the service-related information acquired from the service request message in the SI, the obtained load information of the application server 2, and the pre-stored service control information. The following are a few specific examples: Example 1:
参照图 5与图 3 , 下面将说明本发明的一个例子。 图 5表示了基 于 diameter协议在 OCS和 S-CSCF之间的消息传递过程。 首先, S-CSCF (服务呼叫会话控制功能)将一个 diameter信用 控制请求(CCR )消息发送给 OCS (在线收费系统, 一个配置有根据 本发明的控制装置的应用服务器) 。 Referring to Figures 5 and 3, an example of the present invention will be described below. Figure 5 shows the message passing process between the OCS and the S-CSCF based on the diameter protocol. First, the S-CSCF (Serving Call Session Control Function) transmits a dial credit control request (CCR) message to the OCS (Online Charging System, an application server configured with the control device according to the present invention).
根据图 3所示流程, OCS从接收到的服务请求消息中获取被请求 的消息的服务相关信息。 一般来说, 获取到的服务相关信息包括但不 限 于 : 主 叫 方 、 被叫 方 、 "应 用 ID=4"和 "服务 内 容 ID=32.270@3gpp.org"„ According to the flow shown in Figure 3, the OCS obtains the service related information of the requested message from the received service request message. In general, the service-related information obtained includes but is not limited to: calling party, called party, "application ID=4" and "service content ID=32.270@3gpp.org"
基于获取的服务相关信息如被叫方, OCS判断该被请求的服务是 第一类型服务还是第二类型服务。 在本例中, 假设每个第二类型服务 都有其特别的被叫方, 换句话说, 可以仅根据服务相关信息中的"被 叫方"信息来判断被请求的服务是否是第二类型服务。 因此, OCS通 过检查请求信息携带的被叫方信息(例如被叫方的逻辑号码)就能很 容易地辨别出被请求的服务类型。 Based on the acquired service related information such as the called party, the OCS determines whether the requested service is the first type service or the second type service. In this example, it is assumed that each second type of service has its particular called party. In other words, it can be judged whether the requested service is of the second type based only on the "called party" information in the service related information. service. Therefore, the OCS can easily discern the requested service type by checking the called party information carried by the request information (e.g., the logical number of the called party).
根据预先获得的 OCS 的负载信息 (也可以在每次从客户端接收 到服务请求消息时获取该信息, 如图 3所示) 、 获取的服务相关信息 和预存的服务控制信息, OCS将能判断是否提供所述被请求的服务。 OCS will be able to judge based on the pre-obtained OCS load information (which can also be obtained each time a service request message is received from the client, as shown in Figure 3), the acquired service-related information, and the pre-stored service control information. Whether to provide the requested service.
假设 OCS的负载级别为 5 , 则基于获取的包括"应用 ID=4"和服 务内容 ID=32.273@3gpp.org的服务相关信息, OCS将发现前述预设 的规则 3 ) 与该信息匹配。 于是, OCS将禁止提供该服务请求消息请 求的月良务。 而后, OCS 将生成一个包括 [INITIAL— REQUEST, RESULT_CODE=DIAMETER_TOO_BUSY] 等的答复消息 CCA, 并将其发送 回 S-CSCF。由于 RESULT— CODE被设置为 DIAMETER— TOO— BUSY, OCS中的该呼叫建立将会失败。 例 2: Assuming that the load level of the OCS is 5, based on the acquired service-related information including "application ID=4" and service content ID=32.273@3gpp.org, the OCS will find that the aforementioned preset rule 3) matches the information. Therefore, the OCS will prohibit the provision of the service request message request. The OCS then generates a reply message CCA including [INITIAL_REQUEST, RESULT_CODE=DIAMETER_TOO_BUSY] and sends it back to the S-CSCF. Since RESULT_CODE is set to DIAMETER_TOO_BUSY, the call setup in OCS will fail. Example 2:
参照图 6与图 3, 下面将说明根据一个优选例的另一个场景: Referring to Figures 6 and 3, another scenario according to a preferred example will be described below:
I. I.
― S-CSCF发送一个 CCR消息: CCR[INITIAL— REQUEST, 应用 ID=4, 服务内容 ID=32.270@3gpp.org, 等等]。 ] -从 S-CSCF接收到所述 CCR消息后, OCS将从该消息中获取到 的服务相关信息作为关键字, 在预存的服务控制信息中进行搜索。 假 设该 OCS的负载状态为 4,并且预存的服务控制信息中的规则仅包括 前述的规则 1 ) 至规则 3 ) 。 ― S-CSCF sends a CCR message: CCR[INITIAL_REQUEST, application ID=4, service content ID=32.270@3gpp.org, etc.]. ] After receiving the CCR message from the S-CSCF, the OCS searches for the service-related information obtained from the message as a key in the pre-stored service control information. It is assumed that the load state of the OCS is 4, and the rules in the pre-stored service control information include only the aforementioned rules 1) to 3).
OCS将发现, 从 CCR中获取到的服务相关信息与规则 1 ) 至规 则 3 ) 中的任一条都不匹配。 在这里, 该被请求的服务可以根据预定 原则被看作是第二类型服务。 OCS will find that the service-related information obtained from the CCR does not match any of the rules 1) to 3). Here, the requested service can be regarded as a second type of service according to a predetermined principle.
-随后该呼叫将被允许, 控制装置 (如图 2所示) 将把该请求传 递给收费机构预留该服务配额。 - The call will then be allowed and the control device (shown in Figure 2) will pass the request to the charging agency to reserve the service quota.
-一旦服务配额在 OCS 中被成功预留, diameter 信用控制答复 ( CCA )消息将会被发回给 S-CSCF,该预留配额也在 CCR中被设定。 CCA中的 RESULT CODE被设为 DIAMETER— SUCCESS。 该呼叫在 OCS端的建立即告成功。 - Once the service quota is successfully reserved in the OCS, the diameter credit control reply (CCA) message will be sent back to the S-CSCF, which is also set in the CCR. The RESULT CODE in the CCA is set to DIAMETER_SUCCESS. The call is successfully established on the OCS side.
II. II.
- 当 该 S-CSCF 用 完其预 留 的 配额后 , 其将会发送 CCR[UPD ATE— REQUEST]给 OCS以申请预留更多配额。 - When the S-CSCF has used its reserved quota, it will send CCR[UPD ATE-REQUEST] to OCS to apply for more quotas.
- 当服务配额成功预留后, 将 diameter 信用控制答复 ( CCA[UPDATE— REQUEST] )返回给 S-CSCF,该预留配额也在 CCR 中被设定。 CCA中 RESULT— CODE被设为 DIAMETER— SUCCESS。 - When the service quota is successfully reserved, the diameter credit control reply (CCA[UPDATE-REQUEST]) is returned to the S-CSCF, which is also set in the CCR. RESULT_CODE in CCA is set to DIAMETER_SUCCESS.
III. III.
-若该 S-CSCF 确定客户端将结束当前会话, 其将会发送 CCR[TERMINATION— REQUEST]给 OCS以记入使用的配额。 - If the S-CSCF determines that the client will end the current session, it will send CCR[TERMINATION_REQUEST] to the OCS to credit the usage quota.
―在服务被成功收费后, OCS将 CCR[TERMINATION_REQUEST] 返 回 给 S-CSCF 。 CCA 中 的 RESULT— CODE 被 设 为 DIAMETER— SUCCESS。 ― After the service is successfully charged, OCS returns CCR[TERMINATION_REQUEST] to the S-CSCF. The RESULT_CODE in the CCA is set to DIAMETER_SUCCESS.
图 7是根据本发明的一个优选实施例的在通信网络的负载控制设 备中用于对网络服务设备进行过载控制的方法流程图。 以下将参照图 7与图 2对本发明的一个方面进行说明。在 S 10中, 应用服务器 2从客户端 1处接收到一条服务请求消息。 7 is a flow chart of a method for overload control of a network service device in a load control device of a communication network in accordance with a preferred embodiment of the present invention. An aspect of the present invention will be described below with reference to FIGS. 7 and 2. In S10, the application server 2 receives a service request message from the client 1.
随后, 在 S1 1 中, 该服务请求消息中的服务相关信息将被提取出 来, 以用于将要进行的服务类型识别以及可能存在的更进一步的处 理。 Subsequently, in S1 1, the service related information in the service request message will be extracted for the service type identification to be performed and further processing that may exist.
在 S12中, 应用服务器 2将对被请求的服务的类型进行确定, 如 图 7 所示, 如果该被请求的服务是第二类型服务, 则该方法将进入 S 14,。 在 S 14,中, 应用服务器 2将控制将该被请求的服务提供给所述 客户端。 In S12, the application server 2 will determine the type of service requested, as shown in Fig. 7, if the requested service is the second type of service, the method will proceed to S14. In S 14, the application server 2 will control the provision of the requested service to the client.
另一方面, 当该被请求的服务为第一类型服务时, 本方法将进入 S13 , 其中, 应用服务器 2将获得的服务相关信息作为关键字, 并同 时考虑该应用服务器 2的负载信息(当前负载级别) , 在预存的服务 控制信息 (如, 上文中所述的规则 1 ) 至 3 ) ) 中进行搜索, 以决定 是否允许为客户端 1提供该被请求的第一类型服务。若 S 13得到的结 果为"允许", 本方法将进入 S14, 继而应用服务器 2将控制将被请求 的服务提供给所述客户端 1。 On the other hand, when the requested service is the first type of service, the method proceeds to S13, where the application server 2 takes the obtained service related information as a key, and simultaneously considers the load information of the application server 2 (currently Load level), a search is performed in pre-stored service control information (eg, rules 1) to 3)) to determine whether to allow the client 1 to provide the requested first type of service. If the result of S 13 is "allowed", the method will proceed to S14, and then the application server 2 will control the service to be requested to the client 1.
若 S 13得到的结果为 "不允许", 服务器 2将会拒绝该请求, 并返 回一条指示该请求被拒绝的消息, 例如 CCA [INITIAL— REQUEST , RESULT_CODE=DIAMETER— TOO— BUSY] , 等。 If the result of S 13 is "not allowed", Server 2 will reject the request and return a message indicating that the request was rejected, such as CCA [INITIAL-REQUEST, RESULT_CODE=DIAMETER-TOO-BUSY], and so on.
以下将参照图 8与图 2对本发明的另一方面进行说明。 图示的控 制装置 20包括获取装置 200、 第一判断装置 201、 子控制装置 202和 获得装置 203。 特别的, 所述获取装置 200进一步包括接收装置 2000 和提取装置 2001 ; 所述第一判断装置 201 进一步包括第二判断装置 2010和第三判断装置 2011。 Another aspect of the present invention will be described below with reference to Figs. 8 and 2. The illustrated control device 20 includes an acquisition device 200, a first determination device 201, a sub-control device 202, and an acquisition device 203. Specifically, the obtaining device 200 further includes a receiving device 2000 and an extracting device 2001; the first determining device 201 further includes a second determining device 2010 and a third determining device 2011.
根据本发明的一个非限定性实施例, 所述接收装置 2000从客户 端 1处接收到一条服务请求消息, 并将其转交给所述提取装置 2001。 According to a non-limiting embodiment of the invention, the receiving device 2000 receives a service request message from the client 1 and forwards it to the extraction device 2001.
随后,该服务请求消息中的服务相关信息将被所述提取装置 2001 提取出来, 以便用于将要进行的服务类型识别以及可能存在的更进一 步的处理。 获取到的服务相关信息被提供给所述第二判断装置 2010,再由所 述第二判断装置 2010来基于所述获取的服务相关信息判断被请求的 服务的类型。 如果该被请求的服务是第二类型服务, 子控制装置 202 将基于第二判断装置 2010所得的判断结果来控制将该被请求的第二 类型服务提供给所述客户端。 Subsequently, the service related information in the service request message will be extracted by the extracting means 2001 for use in the identification of the type of service to be performed and further processing that may exist. The acquired service related information is supplied to the second judging device 2010, and the second judging device 2010 determines the type of the requested service based on the acquired service related information. If the requested service is the second type of service, the sub-controlling device 202 will control the provision of the requested second type of service to the client based on the determination result obtained by the second determining means 2010.
另一方面, 若该被请求的服务为第一类型服务, 所述第二判断装 置 2010将把该判断结果传递给所述第三判断装置 201 1。 而后, 所述 第三判断装置 201 1 将获得的服务相关信息作为关键字, 同时考虑该 应用服务器 2的负载信息(当前负载级别) , 在预存的服务控制信息 中进行搜索, 以判断是否允许提供该被请求的第一类型服务。 On the other hand, if the requested service is the first type of service, the second judging means 2010 will pass the judgment result to the third judging means 201 1 . Then, the third determining means 201 1 uses the obtained service related information as a key, and simultaneously considers the load information (current load level) of the application server 2, and performs a search in the pre-stored service control information to determine whether to allow the provision. The requested first type of service.
若所述第三判断装置 201 1 得到的结果是 "允许", 其会将该判断 结果传递到子控制装置 202, 后者将控制把该被请求的服务提供给所 述客户端。 If the result obtained by the third judging means 201 1 is "allow", it will pass the result of the judgment to the sub-controller 202, which will control the provision of the requested service to the client.
若所述第三判断装置 201 1得到的结果是 "不允许", 控制装置 20 将拒绝该请求, 并向客户端 1返回指示该请求被拒绝的消息如 If the result obtained by the third judging means 201 1 is "not allowed", the control means 20 rejects the request and returns a message indicating that the request is rejected to the client 1 as
CCA[INITIAL— REQUEST, RESULT_CODE=DIAMETER_TOO_BUSY] , 等等。 CCA[INITIAL- REQUEST, RESULT_CODE=DIAMETER_TOO_BUSY] , and so on.
本发明的实施例如上所述。 本领域技术人员理解, 本发明应用并 不局限于前述几个具体实施例, 同时, 本领域技术人员能够在后附的 权利要求书的范围内做出各种修改和变形。 The practice of the invention is as described above. It will be appreciated by those skilled in the art that the present invention is not limited to the foregoing specific embodiments, and various modifications and changes can be made within the scope of the appended claims.
Claims
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2007/003290 WO2009065252A1 (en) | 2007-11-21 | 2007-11-21 | A method and a device for controlling the overload on the network service device |
| CN200780100932.1A CN101816159B (en) | 2007-11-21 | 2007-11-21 | For the method and apparatus of network server device premature beats |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2007/003290 WO2009065252A1 (en) | 2007-11-21 | 2007-11-21 | A method and a device for controlling the overload on the network service device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2009065252A1 true WO2009065252A1 (en) | 2009-05-28 |
Family
ID=40667095
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2007/003290 Ceased WO2009065252A1 (en) | 2007-11-21 | 2007-11-21 | A method and a device for controlling the overload on the network service device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN101816159B (en) |
| WO (1) | WO2009065252A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114501358B (en) * | 2022-01-26 | 2024-11-15 | 上海欣方智能系统有限公司 | Device, system and method for implementing communication billing in communication network |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1410891A (en) * | 2001-09-21 | 2003-04-16 | Lg电子株式会社 | Overload controlling method for use in realtime treating system |
| KR20050048884A (en) * | 2003-11-20 | 2005-05-25 | 엘지전자 주식회사 | System and method for controlling overload by filtering data streaming |
| CN1852301A (en) * | 2005-09-20 | 2006-10-25 | 华为技术有限公司 | Overload coutrol method for next generation network |
| CN1889563A (en) * | 2005-06-30 | 2007-01-03 | 华为技术有限公司 | Load control method based on Diameter protocol |
-
2007
- 2007-11-21 CN CN200780100932.1A patent/CN101816159B/en not_active Expired - Fee Related
- 2007-11-21 WO PCT/CN2007/003290 patent/WO2009065252A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1410891A (en) * | 2001-09-21 | 2003-04-16 | Lg电子株式会社 | Overload controlling method for use in realtime treating system |
| KR20050048884A (en) * | 2003-11-20 | 2005-05-25 | 엘지전자 주식회사 | System and method for controlling overload by filtering data streaming |
| CN1889563A (en) * | 2005-06-30 | 2007-01-03 | 华为技术有限公司 | Load control method based on Diameter protocol |
| CN1852301A (en) * | 2005-09-20 | 2006-10-25 | 华为技术有限公司 | Overload coutrol method for next generation network |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101816159A (en) | 2010-08-25 |
| CN101816159B (en) | 2016-02-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9240946B2 (en) | Message restriction for diameter servers | |
| US9641624B2 (en) | Service provisioning in a communications system | |
| JP5298203B2 (en) | Token-based correlation of control sessions for data session policy and charging control via NAT | |
| EP2522102B1 (en) | Method, system, and computer readable medium for policy charging and rules function (pcrf) node selection | |
| US9641561B2 (en) | Method and system for managing a SIP server | |
| CN103477662B (en) | Method, system and apparatus for dynamically mastered Diameter binding information | |
| US8503300B2 (en) | Efficient messaging over internet protocol | |
| US7953884B2 (en) | Method and apparatus for overload control and audit in a resource control and management system | |
| JP5993954B2 (en) | Diameter session audit | |
| US11582258B2 (en) | Methods, systems, and computer readable media for mitigating denial of service (DoS) attacks at network functions (NFs) | |
| WO2011097911A1 (en) | Method, device and system for selecting policy and charging rules function entity | |
| JP2014513451A (en) | Method, system and computer-readable medium for Diameter routing based on hybrid session | |
| CN101237447B (en) | Policy execution method, system and network element | |
| US11451470B2 (en) | Systems and methods for data service request classification and routing | |
| CN112889029A (en) | Methods, systems, and computer readable media for lock-free communication processing at a network node | |
| CN106657183A (en) | Caching acceleration method and apparatus | |
| CN102833126B (en) | Prioritizing lawful intercept sessions | |
| CN101998515B (en) | The implementation method of control PCRF load balancing and realize system | |
| WO2009065252A1 (en) | A method and a device for controlling the overload on the network service device | |
| WO2010020076A1 (en) | A control charging method and equipment based on application service in a communication network | |
| WO2008092358A1 (en) | A strategy performing method, system and network element | |
| WO2025013018A1 (en) | Method and system for managing a packet data unit session establishment in a network | |
| WO2025013015A1 (en) | System and method for selecting an online charging system (ocs) | |
| WO2017000617A1 (en) | Communication frequency control method and apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| WWE | Wipo information: entry into national phase |
Ref document number: 200780100932.1 Country of ref document: CN |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07845667 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: 07845667 Country of ref document: EP Kind code of ref document: A1 |