[go: up one dir, main page]

WO2007051424A1 - A method for monitoring the minus flow and a charging system - Google Patents

A method for monitoring the minus flow and a charging system Download PDF

Info

Publication number
WO2007051424A1
WO2007051424A1 PCT/CN2006/002960 CN2006002960W WO2007051424A1 WO 2007051424 A1 WO2007051424 A1 WO 2007051424A1 CN 2006002960 W CN2006002960 W CN 2006002960W WO 2007051424 A1 WO2007051424 A1 WO 2007051424A1
Authority
WO
WIPO (PCT)
Prior art keywords
negative
negative traffic
aaa
traffic information
user
Prior art date
Application number
PCT/CN2006/002960
Other languages
French (fr)
Chinese (zh)
Inventor
Jiaxing Xiao
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.
Priority to CN2006800126836A priority Critical patent/CN101160814B/en
Publication of WO2007051424A1 publication Critical patent/WO2007051424A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0892Network architectures or network communication protocols for network security for authentication of entities by using authentication-authorization-accounting [AAA] servers or protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/062Pre-authentication

Definitions

  • the present invention relates to the field of communications, and in particular, to a method for monitoring negative traffic and a charging system. Background technique
  • WiMAX Worldwide Interoperability for Microwave Access
  • MSS/SS client
  • ASN access service network
  • CSN service network
  • the ASN includes a base station (BS) and an access service network gateway (ASN GW); the connection service network (CSN) includes a logical entity such as a prepaid server (PPS), an authentication, authorization, and accounting server (AAA Server). Logical entities are connected through interfaces R1 through R6. The specific locations of each interface are shown in Figure 1.
  • the charging framework in the WiMAX network is shown in Figure 2.
  • the main network elements are MSS/SS, AAA Proxy/Client, Visited AAA Server, and Home AAA Server. , Prepaid Server (PPS), Hot-lining Device (HLD), Hot-lining Application (HLA), etc.
  • PPS Prepaid Server
  • HLD Hot-lining Device
  • HLA Hot-lining Application
  • the AAA client and the AAA proxy refer to a combination of the control plane and the bearer service layer.
  • the control layer faces the negative traffic information and can carry the service level module from the internal interface. Obtain.
  • the part of the control plane is separated from the part of the bearer service plane, that is, if there is a specific control plane entity and a specific bearer layer entity, the entity at the control plane acquires from the bearer layer entity through the interface between them. Negative traffic information.
  • the MSS/SS is a fixed or mobile user terminal, which mainly acts as a user in charging; the AAA client collects all charging information and sends it to the AAA proxy; the AAA proxy is an optional intermediate device, mainly After the received accounting information is processed, an accounting packet is generated and forwarded to the remote end.
  • AAA server; the visited AAA server is a local AAA server, which is a functional entity for transmitting accounting messages during roaming; the home AAA server is an AAA server where the user originally registered or the user's original attribution, and the user has signed the contract.
  • Information and is responsible for billing users; PPS mainly deals with online charging of prepaid users, stores the user's bills, and performs real-time deductions for users after the user goes online; HLD and HLA entities are implemented in billing.
  • Hot-lining The entity of the hot line (Hot-lining).
  • the main idea of Hot-lining is to provide a WiMAX operation that effectively solves problems for users who do not have access to packet data services. Since the user has no right to use the data packet service after the user has a problem, for example, if the prepaid user balance is insufficient, the wireless operator will notify the user that the user is already in the hotlining state. If the problem is successfully resolved, the user's data packet service is returned to the normal state.
  • the HLD is an execution device, which is used to notify the user that the device is in the hot-lining state.
  • the HLA performs some processing on the application layer, that is, provides information for notifying the user, and can provide services such as online recharge by the user.
  • the negative traffic in the billing is in the communication network based on the flow meter, the network side is abnormal due to the abnormal situation of the user, such as the user's terminal equipment crashes, or shuts down, or restarts or switches to a new network, etc., there is no complete transmission.
  • the negative traffic is an abnormal traffic, that is, in the process of transmitting data to the user in the network, the client has an abnormality, and the network side does not completely transmit the data required by the user to the user; Due to the existence of caching technology, some data stored in the cache area has passed the core network and has been charged, but not sent to the user, which causes the user's bill to exceed this part of the cost.
  • the invention provides a method for monitoring negative traffic and a charging system to solve the existing WiMA network Negative traffic cannot be handled separately in the charging of the network, and there is a problem that the charging is inaccurate.
  • a method of monitoring negative traffic includes the following steps:
  • a functional entity that monitors negative traffic in a WiMAX system generates negative traffic information
  • the accounting server acquires the negative traffic information from the charging message.
  • a negative flow detecting device includes:
  • a module for reporting the negative traffic information is
  • a billing client/agent device including:
  • a module for reporting a charging message containing the user usage data record
  • a billing server comprising:
  • a module for performing charging processing on the negative traffic information is
  • a WiMAX billing system including:
  • a billing server for obtaining and processing the negative traffic information from the charging message.
  • the AAA server can separately handle the negative traffic.
  • the method is simple, flexible and effective.
  • 1 is a schematic structural diagram of an existing WiMAX network
  • FIG. 2 is a schematic structural diagram of a charging system in an existing WiMAX network
  • FIG. 3 is a flowchart of processing negative traffic in a normal case according to Embodiment 1 of the present invention
  • FIG. 4 and FIG. 5 are flowcharts showing negative traffic flow in a case of processing handover according to Embodiment 1 of the present invention
  • FIG. 6 is a flowchart of Embodiment 1 of the present invention
  • FIG. 7 is a flowchart of a negative traffic flow in the case of processing handover according to Embodiment 2 of the present invention
  • FIG. 9 is a schematic structural diagram of a charging client according to an embodiment of the present invention; ;
  • FIG. 10 is a schematic structural diagram of a charging proxy according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of an AAA server according to an embodiment of the present invention. detailed description
  • the charging client (accounting client) and the charging proxy (accounting proxy) in the present invention are a comprehensive entity including related functional modules of the control plane and the bearer service layer, and the functional modules of the control plane can be accessed through the internal interface.
  • the function module carrying the service level acquires negative traffic information. If the functional module part of the control plane is separated from the functional module part of the bearer service level, that is, if there is a specific control plane entity and a specific bearer layer entity, its control plane entity Negative traffic information is obtained from entities at the bearer level through interfaces between each other.
  • the charging proxy (accounting proxy) sends a downlink data packet to the charging client (accounting client) through the interface of the access service network, and any accounting agent transmits the downlink data packet to the user terminal. Unsent packets cause incorrect billing, and the billing agent (accounting proxy) cannot rebate these charges. At this point, negative traffic is generated. This scenario is called a negative traffic problem that occurs under normal conditions.
  • any data buffered in the accounting client releases the air interface data link and sends the buffered data to another charging proxy (accounting proxy) or billing in the event of interface switching.
  • the client (accounting for the client)
  • it may cause repeated charging, because the data will be charged again at the charging processing point, and a negative traffic problem occurs.
  • This scenario is called the negative traffic problem in the user switching process.
  • the system will re-process the data that is not sent to the user and then send it to the user, but only the user's data is second.
  • Sub-billing which is essentially a problem of negative traffic, is only for the initial, unsent data anomalies.
  • the negative traffic information is generated and reported to the functional entity that monitors the negative traffic, such as the AAA client.
  • the billing server such as the AAA server, obtains the negative traffic bill after the negative traffic information is obtained by the billing server for the operator to handle flexibly.
  • the bill can be directly rebate or proportionally rebate.
  • VSA attribute a device specification attribute
  • RADIUS Remote Authentication Dial In User Service
  • the specific attribute parameters are as follows: VSA Type Maximum Format Field Access-Access Accounting Accounting Accounting Payload Request Accept Start Stop nterim-Upd Length ate (in octets)
  • ASN Unsent Downlink Volume is the name of the added attribute value. It is used to identify the size of the data that is not sent to the user.
  • the type is "26" in the RADIUS protocol.
  • the value of the word attribute is the first in a subclass.
  • One parameter is "XI”, the parameter has 32 bits, which is 4 bytes long, and its value is a decimal integer whose maximum value is 4294967296; this attribute belongs to the "ASNJJnsent_Downlink_Volume” field; "0” means This message is unlikely to appear.
  • "0-1” means it may or may not appear in this message,” means that it must appear in this message.
  • the device specification attribute appears in the intermediate charging message and the stop charging message. And it is optional in the middle or stop billing request message.
  • the following describes the accounting client as the AAA client, the accounting proxy as the AAA proxy, and the accounting server as the AAA server.
  • the functional entity that monitors the negative traffic is an AAA client, and the AAA client is on the base station BS that accesses the service network ASN.
  • an AAA proxy exists on the ASN GW as an example for description.
  • AAA Proxy In order to avoid incorrect charging on the AAA Proxy (AAA Proxy), the AAA Proxy notifies the AAA client based on the radio access bearer (AAA Client) to record the negative traffic value, and the AAA Client (AAA Client) outputs the AAA Proxy to the AAA Proxy.
  • the negative traffic report (AAA Proxy) will occur when the radio access bearer is released.
  • the AAA Proxy (AAA Proxy) should not send such data traffic messages to the AAA Client (AAA Client) under any circumstances. If so, the performance of the AAA Proxy (AAA Proxy) and AAA Client (AAA Client) will be generated. Negative flow The volume message is only sent by the AAA client to the AAA proxy).
  • AAA proxy When the AAA proxy (AAA Proxy) receives the negative traffic report released by the AAA client based on the radio access bearer, it writes the size of the negative traffic to the user usage data record UDR (UDR). And send it to the AAA server (AAA Server) through the charging message.
  • the AAA server (AAA Server) should generate a separate negative traffic bill for the user after receiving the negative traffic message sent from the AAA proxy (AAAProxy), so that it can be provided to the operator for processing.
  • AAA proxy (AAA Proxy) reports the negative traffic information to the AAA server (AAA).
  • AAA proxy sends the traffic information to the AAA server. Server ), then the AAA server will generate a separate negative traffic bill for the user.
  • the processing flow is shown in Figure 3:
  • Step 300 The user goes online through the normal authentication process.
  • Step 301 Send a data flow from the core network to an AAA proxy (AAA Proxy) on the base station.
  • Step 302 Send a data packet from the AAA proxy (AAA Proxy) to the AAA client (AAA Client) on the base station.
  • Step 303 The AAA proxy (AAA Proxy) sends a RADIUS real-time update charging request message including the process charging information to the AAA server (AAA Server X).
  • Step 304 After processing the charging information, the AAA server (AAA Server) sends a RADIUS accounting response to the AAA proxy (AAA Proxy).
  • Step 305 For some reasons, such as the user's terminal device crashes, or shuts down, or restarts or switches to a new network, the AAA client (AAA Client) finds that the data sent by the user is not received, and the negative occurs at this time. Traffic message (ASN Unsent Downlink Volume message J, and includes the size of the negative traffic.
  • Step 306 The AAA client writes the negative traffic information into the user usage data record (UDR), and sends a message (ASN Unsent Downlink Volume message) containing the negative traffic information to the AAA proxy (AAA). Proxy), and notify it of negative The traffic flow has been triggered.
  • UDR user usage data record
  • AAA AAA proxy
  • Step 307 The AAA Proxy (AAA Proxy) forwards the intermediate or stop charging request message including the user data record (UDR) to the AAA server (AAA Server).
  • AAA Proxy AAA Proxy
  • Step 308 After receiving the RADIUS intermediate or end accounting packet with the negative traffic information, the AAA server records the data as a separate accounting bill for the operator to flexibly process.
  • the negative traffic problem generated in the user switching process can be caused by R6 interface movement or R3/R interface movement.
  • Step 400 The user goes online through the normal authentication process.
  • Step 401 The R6 interface moves due to the movement of the user terminal, and the switching process of the R6 interface movement is triggered.
  • the handover process of the R6 interface mobile if there is no data sent to the user in the buffer area of the original AAA client (AAA Client), the user has disconnected the original wireless access bearer layer, resulting in A negative traffic is generated, and a corresponding negative traffic message (ASN Unsent Downlink Volume message) is generated on the original AAA client (AAA Client).
  • Step 402 The original AAA client sends an ASN Unsent Downlink Volume message to the AAA proxy (AAA Proxy) to notify that the negative traffic flow has been triggered.
  • AAA Proxy AAA proxy
  • Step 403 The serving AAA proxy (AAA Proxy) writes the negative traffic information into the user usage data record (UDR), and sends an intermediate or stop charging request message including the user usage data record (UDR) to the AAA server (AAA Server). ).
  • AAA server After receiving the RADIUS intermediate (real-time) or ending accounting packet with negative traffic information, the AAA server (AAA Server) records it as a separate accounting bill for the operator to handle flexibly.
  • Step 404 The AAA server returns an accounting response message to the AAA proxy.
  • whether or not there is an AAA proxy does not affect the specific implementation. That is, when there is no AAA proxy, the AAA client reports the user data record (UDR) to the AAA server.
  • UDR user data record
  • Step 500 The user goes online through the normal authentication process.
  • Step 501 The R3/R4 interface moves due to the movement of the mobile user terminal, triggering a handover process of the R3/R4 interface movement.
  • the user equipment has disconnected the original radio access bearer in the case that the original AAA client (AAA Client) buffer area still has data that is not sent to the user equipment.
  • the connection of the layers leads to the generation of negative flow.
  • a negative traffic message (ASN Unsent Downlink Volume message) is generated on the original AAA client (AAA Client).
  • Step 502 The original AAA client sends an ASN Unsent Downlink Volume message to the serving AAA proxy (AAA Proxy) to notify that the negative traffic flow has been triggered.
  • AAA Proxy serving AAA proxy
  • Step 503 The serving AAA proxy (AAA Proxy) writes the negative traffic information into the user usage data record (UDR), and sends a charging message including the user usage data record (UDR) to the AAA server (AAA Server).
  • AAA server After receiving the RADIUS intermediate or end accounting packet with negative traffic information, the AAA server (AAA Server) records it as a separate accounting bill for the operator to handle flexibly.
  • Step 504 The AAA server returns an accounting response message to the serving AAA proxy.
  • the charging system of the WiMAX network in this embodiment is as shown in FIG. 2, and includes: an AAA client, an AAA proxy (not shown), and an AAA server, where:
  • the AAA client is configured to generate a negative traffic message and report it to the AAA proxy when it detects that the packet that has been charged is not completely sent to the user, or detects that the data packet has been repeatedly charged.
  • the AAA proxy is configured to: when receiving the negative traffic message, write the negative traffic information to the user usage data record and upload the message to the AAA server by using an intermediate or stop charging request message.
  • the AAA server is configured to obtain and process a negative traffic message from an intermediate or stop charging request message.
  • the functional entity that monitors the negative traffic is used as the negative traffic detection reporting point in the base station of the ASN, and the AAA client is used as an example on the gateway GW of the ASN.
  • the authentication, authorization and accounting client/proxy In order to avoid unreasonable accounting on the authentication, authorization and accounting client/proxy (AAA Client/Proxy), the authentication, authorization and accounting client/proxy (AAA Client/Proxy) will always inform based on wireless access.
  • the negative traffic detection reporting point of the bearer records the negative traffic value of a user.
  • the negative traffic report reported by the negative traffic detection report to the authentication, authorization, and accounting client/proxy occurs only when the radio access bearer is released.
  • the authentication, authorization, and accounting client/proxy (AAA Client/Proxy) should not send such data traffic messages to the negative traffic detection reporting point under any circumstances, but can send a negative traffic reporting message.
  • AAA Client/Proxy When the authentication, authorization, and accounting client/proxy (AAA Client/Proxy) receives a negative traffic report from the negative traffic detection reporting point based on the radio access bearer release, it writes the negative traffic size to the user usage data record ( UDR) is sent to the authentication, authorization, and accounting server (AAA Server).
  • the authentication, authorization, and accounting server (AAA Server) should generate a separate negative traffic bill for the user after receiving a negative traffic message from the authentication, authorization, and accounting client/proxy (AAA Client/Proxy). In order to provide it to the operator to handle it.
  • the authentication, authorization, and accounting client/proxy For the negative traffic triggered by the radio access bearer after the mobile user terminal is receiving the user data, the authentication, authorization, and accounting client/proxy (AAA Client/Proxy) will report the negative traffic information reported by the negative traffic detection reporting point.
  • the authentication, authorization, and accounting server (AAA Server) is sent, and then the accounting server (AAA Server) generates a separate negative traffic bill for the user.
  • the negative traffic processing flow in this scenario is shown in Figure 6:
  • the authentication, authorization, and accounting client/proxy sends a data packet to the negative traffic detection reporting point in the base station.
  • the authentication, authorization, and accounting client/proxy sends a RADIUS real-time update charging request message including the flow rate information to the authentication, authorization, and accounting server.
  • the authentication, authorization, and accounting server sends a RADIUS accounting response to the authentication, authorization, and accounting client/proxy (AAA Client/Proxy).
  • the negative traffic detection reporting point determines the transmitted data through the user terminal without feedback success response message. After the user does not receive it, it generates a negative traffic message (ASN Unsent Downlink Volume message) and includes the size of the negative traffic.
  • the negative traffic detection reporting point sends an ASN Unsent Downlink Volume message to the authentication, authorization, and accounting client/proxy (AAA Client/Proxy), and notifies that the negative traffic flow has been triggered.
  • the authentication, authorization, and accounting client/proxy (AAA Client/Proxy) writes negative traffic into the user usage data record (UDR) and sends a message containing the user usage data record (UDR) to the authentication, authorization, and accounting. Fee server (AAA Server).
  • the authentication, authorization, and accounting server After receiving the RADIUS real-time or end-accounting message with negative traffic information, the authentication, authorization, and accounting server (AAA Server) records it as a separate accounting bill for the operator to handle flexibly.
  • the negative traffic flow is triggered when the negative traffic detection reporting point is transmitting data to the user through the radio access bearer layer, and the negative traffic detection reporting point is switched, which is negative for the R6 interface mobile situation.
  • the flow processing process is shown in Figure 7:
  • the user goes online through the complete normal process. 701.
  • the movement of the R6 interface is triggered by the movement of the mobile user terminal, and the switching process of the R6 interface movement is triggered.
  • the process of the R6 interface mobile switching process when there is data in the buffer area on the service negative traffic detection reporting point that has not been sent to the user, the user has disconnected the original wireless access bearer layer. , resulting in the generation of negative traffic.
  • a negative traffic message (ASN Unsent Downlink Volume message) is generated at the service negative traffic detection reporting point.
  • the service negative traffic detection reporting point sends the generated ASN Unsent Downlink Volume message to the authentication, authorization, and accounting client/agent (AAA Client Proxy) to notify that the negative traffic process has been triggered.
  • AAA Client Proxy authentication, authorization, and accounting client/agent
  • the authentication, authorization, and accounting client/proxy (AAA Client/Proxy) writes negative traffic to the user usage data record (UDR) and sends a message containing the user usage data record (UDR) to the authentication, authorization, and accounting.
  • Fee server (AAA Server).
  • the authentication, authorization, and accounting server (AAA Server) records it as a separate accounting bill for the operator to be flexible. Processing, then responding to the Service Authentication, Authorization, and Accounting Client/Proxy (AAA Client/Proxy) intermediate or terminating the charging response message.
  • the negative traffic flow is triggered when the negative traffic detection reporting point is transmitting data to the user through the radio access bearer layer for authentication, authorization, and accounting client/proxy (AAA Client/Proxy) switching. of.
  • the negative traffic processing flow for the R3 interface movement is as shown in Figure 8:
  • the movement of the R3 R4 interface is triggered by the movement of the mobile user terminal, and the switching process of the R3 interface movement is triggered.
  • the process of the R6 interface mobile switching process when there is data in the buffer area on the service negative traffic detection reporting point that has not been sent to the user, the user has disconnected the original wireless access bearer layer. , resulting in the generation of negative traffic.
  • a negative traffic message is generated on the service negative traffic detection reporting point (ASN Unsent Downlink Volume message ⁇ 802.
  • the service negative traffic detection reporting point sends the generated ASN Unsent Downlink Volume message to the service authentication, authorization, and accounting client/proxy (AAA Client/Proxy) to notify that the negative traffic flow has been triggered.
  • the service authentication, authorization, and accounting client/proxy (AAA Client/Proxy) writes the negative traffic to the user in the usage data record (UDR), and sends a charging message containing the negative traffic information to the authentication, authorization, and accounting.
  • Fee server (AAA Server).
  • AAA the authentication, authorization, and accounting server
  • AAA Server After receiving the RADIUS intermediate charging message or the ending charging message with negative traffic information, the AAA, the authentication, authorization, and accounting server (AAA Server) records it as a separate accounting bill for the operator to be flexible. Processing, 'Subsequently responding to service authentication, authorization and accounting client/proxy (AAA Client/Proxy) intermediate or terminating charging response messages.
  • the implementation of the present invention is not limited thereto.
  • the general model is implemented in a WiMAX network with a special functional entity.
  • the downlink data is transmitted to the user equipment through the functional entity.
  • the user equipment After receiving the acknowledgement message, the user equipment receives the acknowledgement message within the specified time.
  • Mode accounting if the confirmation message is not received within the specified time, it indicates that negative traffic is generated. At this time, the corresponding negative traffic information is generated on the functional entity, and then the negative traffic information is written into the user to use the data record.
  • the fee message is reported to the AAA server for processing.
  • the functional entity may also actively check whether the data is sent or not, and if it is not sent, generate corresponding negative traffic information.
  • the functional entity can use both methods to monitor negative traffic. The processing of the negative traffic information is the same as the above, and will not be described again.
  • a negative flow detecting device of the present invention includes: a data receiving and forwarding module 900, a negative flow detecting module 901, and a negative flow information reporting module 902.
  • the data receiving and forwarding module 900 receives the data sent to the user, and forwards the data to the user.
  • the negative traffic detecting module 901 detects that the charged data packet is not completely sent to the user, or detects that the data packet has been repeatedly counted. Time-consuming, generating negative traffic information and saving; negative traffic information reporting module 902 will save the negative traffic information Its gjij AAA agent.
  • a charging client/proxy device in the present invention includes: a receiving module 1000, a parsing module 1010, a charging message generating module 1020, and a sending module 1030.
  • the receiving module 1000 receives the data sent by the network side to the user, and receives the message containing the negative traffic information reported by the negative traffic detecting device (such as the foregoing AAA client); the parsing module 1010 is configured to parse the negative traffic information in the message;
  • the charging information generating module 1020 writes the negative traffic information into the user usage data record to generate a charging message; the sending module 1030 forwards the user data to the traffic detecting device, and reports to the AAA server the data record including the user usage data. Billing message.
  • a charging server device (such as the foregoing AAA server) in this embodiment includes: a receiving module 1100, a negative traffic information parsing module 1110, and a negative traffic processing module 1120.
  • the receiving module 1100 receives the charging message including the negative traffic information; the negative traffic processing module 1120 parses the charging message, and extracts the negative traffic information therefrom; the negative traffic processing module 1120 performs the charging processing on the negative traffic information, such as The negative flow information generates a separate negative flow bill, or the fee corresponding to the negative flow is deducted from the billing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method for monitoring the minus flow includes that the function entity for monitoring the minus flow in WiMAX system generates the minus flow information including the total flow; the said minus flow information is wrote into the usage data record of the user, and is reported to the AAA server by the charging information; the AAA server acquires the said minus flow information from the charging information. Also, there are a minus flow detecting device and a WiMAX charging system.

Description

监控负流量的方法及计费系统  Method for monitoring negative traffic and billing system
技术领域 Technical field
本发明涉及通信领域, 尤其涉及监控负流量的方法及计费系统。 背景技术  The present invention relates to the field of communications, and in particular, to a method for monitoring negative traffic and a charging system. Background technique
全 5求 ·|鼓波系统的互操作性 ( Worldwide Interoperability for Microwave Access, WiMAX )的网络结构如图 1所示, 其主要由客户端(MSS/SS )、 接 入业务网 (ASN )和连接业务网 (CSN )三个部分组成。  The network structure of Worldwide Interoperability for Microwave Access (WiMAX) is shown in Figure 1. It is mainly composed of client (MSS/SS), access service network (ASN) and connection. The service network (CSN) consists of three parts.
ASN包括基站 ( BS )和接入业务网网关( ASN GW ); 连接业务网( CSN ) 包括预付费服务器(PPS ), 认证、 授权和计费服务器(AAA Server )等逻辑 实体。 逻辑实体之间通过接口 R1到 R6来连接, 各个接口具体的位置如图 1 中所示。  The ASN includes a base station (BS) and an access service network gateway (ASN GW); the connection service network (CSN) includes a logical entity such as a prepaid server (PPS), an authentication, authorization, and accounting server (AAA Server). Logical entities are connected through interfaces R1 through R6. The specific locations of each interface are shown in Figure 1.
WiMAX网络中的计费框架如图 2所示, 主要网元有 MSS/SS、 AAA代 理 /客户端( Proxy/Client )、 拜访地 AAA服务器( Visited AAA Server )、 归属 AAA服务器( Home AAA Server )、 预付费服务器( Prepaid Server, PPS ), 热 线设备( Hot-lining Device, HLD ), 热线应用 ( Hot-lining Application, HLA ) 等。  The charging framework in the WiMAX network is shown in Figure 2. The main network elements are MSS/SS, AAA Proxy/Client, Visited AAA Server, and Home AAA Server. , Prepaid Server (PPS), Hot-lining Device (HLD), Hot-lining Application (HLA), etc.
AAA客户端( AAA Client )和 AAA代理( AAA Proxy )在本文中是指能 够实现控制层面和承载业务层面的一个综合体, 其控制层面对负流量信息可 以通过内部接口从其承载业务层面的模块获取。 另外, 如果将控制层面的部 分和承载业务层面的部分分开, 即有专门的控制层面的实体和专门的承载层 面的实体的情况下, 其控制层面的实体通过其间的接口从承载层面的实体获 取负流量信息。  In this paper, the AAA client and the AAA proxy (AAA Proxy) refer to a combination of the control plane and the bearer service layer. The control layer faces the negative traffic information and can carry the service level module from the internal interface. Obtain. In addition, if the part of the control plane is separated from the part of the bearer service plane, that is, if there is a specific control plane entity and a specific bearer layer entity, the entity at the control plane acquires from the bearer layer entity through the interface between them. Negative traffic information.
MSS/SS是固定或移动的用户终端,主要在计费中充当用户的角色; AAA 客户端对所有的计费信息进行收集后发送给 AAA代理; AAA代理是一个可 选的中间设备, 主要将收到的计费信息处理后生成计费报文, 并转发给远端 的 AAA服务器; 拜访地 AAA服务器是本地的 AAA服务器, 作为漫游时传 送计费报文的功能实体; 归属 AAA服务器是用户原来初始注册或是用户原归 属地的 AAA服务器, 其上有用户的签约信息, 并负责对用户计费; PPS主要 处理预付费用户的在线计费, 存储有用户的账单, 在用户上线后对用户进行 实时扣费操作; HLD和 HLA两个实体是在计费中实现热线 (Hot-lining ) 的 实体。 Hot-lining的主要思想是为那些无权接入分组数据业务的用户提供有效 解决问题的一个 WiMAX操作。 由于在用户出问题后, 其就没有权利再使用 数据分组业务, 比如在预付费用户余额不足的情况下, 此时无线操作者将通 知用户已经处于热线(Hotlining )状态。 如果问题成功解决, 就将用户的数据 分组业务返回到普通状态。 其中, HLD 是执行设备, 用于通知用户处于 Hot-lining状态。另夕卜, HLA做一些应用层上的处理, 即提供通知用户的信息, 并且可以提供用户在线充值等业务。 The MSS/SS is a fixed or mobile user terminal, which mainly acts as a user in charging; the AAA client collects all charging information and sends it to the AAA proxy; the AAA proxy is an optional intermediate device, mainly After the received accounting information is processed, an accounting packet is generated and forwarded to the remote end. AAA server; the visited AAA server is a local AAA server, which is a functional entity for transmitting accounting messages during roaming; the home AAA server is an AAA server where the user originally registered or the user's original attribution, and the user has signed the contract. Information, and is responsible for billing users; PPS mainly deals with online charging of prepaid users, stores the user's bills, and performs real-time deductions for users after the user goes online; HLD and HLA entities are implemented in billing. The entity of the hot line (Hot-lining). The main idea of Hot-lining is to provide a WiMAX operation that effectively solves problems for users who do not have access to packet data services. Since the user has no right to use the data packet service after the user has a problem, for example, if the prepaid user balance is insufficient, the wireless operator will notify the user that the user is already in the hotlining state. If the problem is successfully resolved, the user's data packet service is returned to the normal state. The HLD is an execution device, which is used to notify the user that the device is in the hot-lining state. In addition, the HLA performs some processing on the application layer, that is, provides information for notifying the user, and can provide services such as online recharge by the user.
计费中的负流量是在基于流量计费的通信网絡中, 网络侧由于用户的异 常情况, 如用户的终端设备死机, 或者关机, 或重新启动或者切换到新的网 络等, 没有完整的发送给用户并且网络侧已经对其计费的原来整个数据包产 生的流量。 从这个解释可以看出负流量是一种异常情况下的流量, 即在网络 传送数据给用户的过程中, 客户端出现了异常而导致网絡侧没有将用户需要 的数据完全的发送给用户; 另外, 由于有緩存技术的存在, 在緩存区保存的 某些数据已经过核心网并且计过费, 而没有发送给用户, 这样就导致了用户 的账单多出了这部分费用。  The negative traffic in the billing is in the communication network based on the flow meter, the network side is abnormal due to the abnormal situation of the user, such as the user's terminal equipment crashes, or shuts down, or restarts or switches to a new network, etc., there is no complete transmission. The traffic generated by the user and the original entire packet that the network side has billed for. From this explanation, it can be seen that the negative traffic is an abnormal traffic, that is, in the process of transmitting data to the user in the network, the client has an abnormality, and the network side does not completely transmit the data required by the user to the user; Due to the existence of caching technology, some data stored in the cache area has passed the core network and has been charged, but not sent to the user, which causes the user's bill to exceed this part of the cost.
在 WiMAX 网络的标准流量计费中, 还没有提供单独处理负流量的技术 方案, 而只由用户负担负流量产生的计费费用, 因而, 不可避免的会对用户 产生多计费和重复计费的情况, 如何处理负流量是业务急需解决的问题。 发明内容  In the standard flow metering fee of the WiMAX network, there is no technical solution for separately handling the negative traffic, and only the user bears the charging fee generated by the negative traffic, thus inevitably generating multi-billing and repeated charging for the user. In the case of how to deal with negative traffic, it is an urgent problem for the business. Summary of the invention
本发明提供一种监控负流量的方法及计费系统, 以解决现有 WiMA 网 络的计费中不能单独处理负流量而存在计费不准确的问题。 The invention provides a method for monitoring negative traffic and a charging system to solve the existing WiMA network Negative traffic cannot be handled separately in the charging of the network, and there is a problem that the charging is inaccurate.
本发明提供以下技术方案:  The invention provides the following technical solutions:
一种监控负流量的方法, 包括如下步骤:  A method of monitoring negative traffic includes the following steps:
WiMAX系统中监控负流量的功能实体产生负流量信息;  A functional entity that monitors negative traffic in a WiMAX system generates negative traffic information;
将所述负流量信息写入用户使用数据记录 (Usage Data Record ), 并通过 计费消息上报到计费服务器; 以及  Transmitting the negative traffic information into a usage data record (Usage Data Record), and reporting the charging message to the charging server;
所述计费服务器从计费消息中获取所述负流量信息。  The accounting server acquires the negative traffic information from the charging message.
一种负流量检测装置, 包括:  A negative flow detecting device includes:
用于接收数据并将该数据转发给用户的模块;  a module for receiving data and forwarding the data to a user;
用于在检测到已计费的数据包未完整的发给用户, 或者检测到已对数据 包重复计费时, 产生负流量信息的模块;  Means for generating negative traffic information when it is detected that the billed data packet is not completely sent to the user, or when it is detected that the data packet has been repeatedly billed;
用于上报所述负流量信息的模块。  A module for reporting the negative traffic information.
一种计费客户端 /代理装置, 包括:  A billing client/agent device, including:
用于接收包含负流量信息的消息的模块;  a module for receiving a message containing negative traffic information;
用于解析所述负流量信息的模块;  a module for parsing the negative flow information;
用于将解析后的负流量信息写入用户使用数据记录, 生成计费消息的模 块;  Means for writing the parsed negative traffic information into the user usage data record to generate a charging message;
用于将上报包含所述用户使用数据记录的计费消息的模块。  A module for reporting a charging message containing the user usage data record.
一种计费服务器, 包括:  A billing server, comprising:
用于接收包含负流量信息的计费消息的模块;  a module for receiving a charging message containing negative traffic information;
用于解析所述计费消息并从中提取负流量信息中的模块;  a module for parsing the charging message and extracting negative traffic information therefrom;
用于对所述负流量信息进行计费处理的模块。  A module for performing charging processing on the negative traffic information.
一种 WiMAX计费系统, 包括:  A WiMAX billing system, including:
用于在检测到已计费的数据包未完整的发给用户, 或者检测到已对数据 包重复计费时, 产生负流量信息并上报的功能实体; ' 用于从计费消息中获取并处理所述负流量信息的计费服务器。 a functional entity for generating negative traffic information and reporting when it detects that the packet that has been charged is not completely sent to the user, or detects that the data packet has been repeatedly charged; A billing server for obtaining and processing the negative traffic information from the charging message.
本发明有益效果如下:  The beneficial effects of the present invention are as follows:
1、 在保持原有网络计费架构稳定的情况下, 仅在 RADIUS ( Remote Authentication Dial In User Service )消息中增加一个属性来标明负流量的情况, 使用 AAA服务器可以对负流量进行单独处理, 因而该方法实现简单、 灵活、 有效。  1. When the original network charging architecture is stable, only one attribute is added to the RADIUS (Remote Authentication Dial In User Service) message to indicate the negative traffic. The AAA server can separately handle the negative traffic. The method is simple, flexible and effective.
2、 满足可将负流量从用户账单上扣回的需求, 保证了计费的准确和合理 性, 从而增加了用户的对网络运营商的信任感。 附图说明  2. Meet the requirement that the negative traffic can be deducted from the user's bill, which ensures the accuracy and rationality of the billing, thus increasing the user's trust in the network operator. DRAWINGS
图 1为现有 WiMAX网络结构示意图;  1 is a schematic structural diagram of an existing WiMAX network;
图 2为现有 WiMAX网络中计费系统的结构示意;  2 is a schematic structural diagram of a charging system in an existing WiMAX network;
图 3为本发明实施例一中处理普通情况下发生负流量的流程图; 图 4、 图 5为本发明实施例一中处理切换情况下发生负流量的流程图; 图 6为本发明实施例二中处理普通情况下发生负流量的流程图; 图 7、 图 8为本发明实施例二中处理切换情况下发生负流量的 程图; 图 9为本发明实施例中计费客户端的结构示意图;  FIG. 3 is a flowchart of processing negative traffic in a normal case according to Embodiment 1 of the present invention; FIG. 4 and FIG. 5 are flowcharts showing negative traffic flow in a case of processing handover according to Embodiment 1 of the present invention; FIG. 6 is a flowchart of Embodiment 1 of the present invention; FIG. 7 is a flowchart of a negative traffic flow in the case of processing handover according to Embodiment 2 of the present invention; FIG. 9 is a schematic structural diagram of a charging client according to an embodiment of the present invention; ;
图 10为本发明实施例中计费代理的结构示意图;  FIG. 10 is a schematic structural diagram of a charging proxy according to an embodiment of the present invention;
图 11为本发明实施例中 AAA服务器的结构示意图。 具体实施方式  FIG. 11 is a schematic structural diagram of an AAA server according to an embodiment of the present invention. detailed description
本发明中的计费客户端(计费 Client )和计费代理 (计费 Proxy )为包括 了控制层面和承载业务层面的相关功能模块的一个综合实体, 控制层面的功 能模块可以通过内部接口从其承载业务层面的功能模块获取负流量信息。 如 果将控制层面的功能模块部分和承载业务层面的功能模块部分分离, 即有专 门的控制层面的实体和专门的承载层面的实体的情况下, 其控制层面的实体 通过相互间的接口从承载层面的实体获取负流量信息。 The charging client (accounting client) and the charging proxy (accounting proxy) in the present invention are a comprehensive entity including related functional modules of the control plane and the bearer service layer, and the functional modules of the control plane can be accessed through the internal interface. The function module carrying the service level acquires negative traffic information. If the functional module part of the control plane is separated from the functional module part of the bearer service level, that is, if there is a specific control plane entity and a specific bearer layer entity, its control plane entity Negative traffic information is obtained from entities at the bearer level through interfaces between each other.
在 WiMAX网络的计费部分, 计费代理(计费 Proxy )通过接入业务网的. 接口向计费客户端(计费 Client )发送下行数据包, 任何在计费客户端传送 给用户终端的未传完的数据包造成了错误的计费,计费代理(计费 Proxy )均 不能回扣这些费用, 此时就产生了负流量的问题。 这种场景称为普通情况下 发生的负流量问题。  In the charging part of the WiMAX network, the charging proxy (accounting proxy) sends a downlink data packet to the charging client (accounting client) through the interface of the access service network, and any accounting agent transmits the downlink data packet to the user terminal. Unsent packets cause incorrect billing, and the billing agent (accounting proxy) cannot rebate these charges. At this point, negative traffic is generated. This scenario is called a negative traffic problem that occurs under normal conditions.
另外, 任何缓存在计费客户端(计费 Client ) 的数据在发生接口切换情 况下, 将空口数据链路释放并将其緩存的数据发送给另外一个计费代理(计 费 Proxy )或计费客户端(计费 Client )时, 可能会造成重复计费, 因为在计 费处理点上会再次对该数据进行计费处理, 此时就产生了负流量的问题。 这 种场景称为在用户切换流程中的负流量问题, 与前一种场景不同的是系统会 将没有发给用户的数据进行重新处理后再发给用户, 只是对用户的数据进行 了第二次计费, 其本质上还是属于负流量的问题, 只是针对开始的、 没有发 完的数据异常情况而言。  In addition, any data buffered in the accounting client (accounting client) releases the air interface data link and sends the buffered data to another charging proxy (accounting proxy) or billing in the event of interface switching. When the client (accounting for the client), it may cause repeated charging, because the data will be charged again at the charging processing point, and a negative traffic problem occurs. This scenario is called the negative traffic problem in the user switching process. Unlike the previous scenario, the system will re-process the data that is not sent to the user and then send it to the user, but only the user's data is second. Sub-billing, which is essentially a problem of negative traffic, is only for the initial, unsent data anomalies.
针对现有 WiMA 网络中按照流量计费存在的负流量问题, 即从网络侧 发送给用户的数据由于用户的终端设备死机, 或者关机, 或因重新启动或者 切换到新的网络等原因造成用户与现有网络断开了连接, 使用户没有收到完 整的、 已经网络计过费的数据包的问题, 本发明中由监控负流量的功能实体, 如 AAA客户端, 产生负流量信息并上报到计费服务器, 如 AAA服务器, 计 费服务器获取该负流量信息后生成单独的负流量账单供运营商灵活处理, 当 然 , 也可以直接回扣或按比例回扣费用。  Aiming at the negative traffic problem in the existing WiMA network according to the flow rate, that is, the data sent from the network side to the user is caused by the user's terminal device crashing, or shutting down, or restarting or switching to a new network. The existing network disconnects the connection, so that the user does not receive the complete data packet that has been charged by the network. In the present invention, the negative traffic information is generated and reported to the functional entity that monitors the negative traffic, such as the AAA client. The billing server, such as the AAA server, obtains the negative traffic bill after the negative traffic information is obtained by the billing server for the operator to handle flexibly. Of course, the bill can be directly rebate or proportionally rebate.
为了携带负流量信息, 可在 RADIUS ( Remote Authentication Dial In User Service )协议中加入一个设备规格属性(VSA属性), 具体的属性参数如下表 所示: VSA Type Maximum Format Field Access- Access Accounting Accounting Accounting Payload Request Accept Start Stop nterim-Upd Length ate (in octets) To carry negative traffic information, you can add a device specification attribute (VSA attribute) to the RADIUS (Remote Authentication Dial In User Service) protocol. The specific attribute parameters are as follows: VSA Type Maximum Format Field Access-Access Accounting Accounting Accounting Payload Request Accept Start Stop nterim-Upd Length ate (in octets)
ASN 26/x1 4 integer ASN— 0 0 0 0-1 0-1 ASN 26/x1 4 integer ASN— 0 0 0 0-1 0-1
Unsent Unsent一 Unsent Unsent one
Downlink Downlink  Downlink Downlink
Volume —Volume 表中: "ASN Unsent Downlink Volume" 为增加的属性值名, 用来标识未 发送给用户的数据大小, 类型为 RADIUS协议中的 "26", 字属性值为某个子 类中的第一个参数即 "XI" , 参数有 32位, 即 4字节长, 其表示的值是十进 制 整 数 , 其 最 大 值 为 4294967296 ; 此 属 性 属 于 "ASNJJnsent— Downlink— Volume" 域; "0" 表示在这个消息中不可能出现, "0-1" 表示在这个消息中可能出现也可能不出现, " 表示在这个消息中必 定出现。 该设备规格属性在中间计费消息和停止计费消息中出现, 并且在中 间或停止计费请求消息中是可选项。  Volume - Volume: In the table, "ASN Unsent Downlink Volume" is the name of the added attribute value. It is used to identify the size of the data that is not sent to the user. The type is "26" in the RADIUS protocol. The value of the word attribute is the first in a subclass. One parameter is "XI", the parameter has 32 bits, which is 4 bytes long, and its value is a decimal integer whose maximum value is 4294967296; this attribute belongs to the "ASNJJnsent_Downlink_Volume" field; "0" means This message is unlikely to appear. "0-1" means it may or may not appear in this message," means that it must appear in this message. The device specification attribute appears in the intermediate charging message and the stop charging message. And it is optional in the middle or stop billing request message.
以下以计费客户端为 AAA客户端, 计费代理为 AAA代理, 计费服务器 为 AAA服务器为例进行说明。  The following describes the accounting client as the AAA client, the accounting proxy as the AAA proxy, and the accounting server as the AAA server.
实施例一  Embodiment 1
本实施例以监控负流量的功能实体为 AAA客户端, 该 AAA客户端在接 入业务网 ASN的基站 BS上, 另外, ASN GW上存在一个 AAA代理 ( AAA PROXY )为例进行说明。  In this embodiment, the functional entity that monitors the negative traffic is an AAA client, and the AAA client is on the base station BS that accesses the service network ASN. In addition, an AAA proxy (AAA PROXY) exists on the ASN GW as an example for description.
为了避免在 AAA代理( AAA Proxy )上错误计费 , AAA代理( AAA Proxy ) 通知基于无线接入承载的 AAA客户端( AAA Client )记录负流量值, AAA客 户端(AAA Client )输出给 AAA代理(AAA Proxy )的负流量报告将发生在 无线接入承载被释放的时候。 AAA代理(AAA Proxy )在任何情况下都不该 发送这种数据流量消息给 AAA客户端 ( AAA Client ), 若这样的话会对 AAA 代理(AAA Proxy )和 AAA客户端(AAA Client )的性能产生影响 (即负流 量消息只由 AAA客户端发送给 AAA代理)。 当 AAA代理 ( AAA Proxy ) 收 到来自 AAA客户端 (AAA Client )基于无线接入承载释放的负流量报告后, 其会将负流量的大小写入用户使用数据记录 UDR( Usage Data Record, UDR ), 并通过计费消息发给 AAA服务器( AAA Server )。 AAA服务器( AAA Server ) 在收到从 AAA代理(AAAProxy )发送过来的负流量消息后应该会生成用户 的单独的负流量账单, 以便提供给运营商自行处理。 In order to avoid incorrect charging on the AAA Proxy (AAA Proxy), the AAA Proxy notifies the AAA client based on the radio access bearer (AAA Client) to record the negative traffic value, and the AAA Client (AAA Client) outputs the AAA Proxy to the AAA Proxy. The negative traffic report (AAA Proxy) will occur when the radio access bearer is released. The AAA Proxy (AAA Proxy) should not send such data traffic messages to the AAA Client (AAA Client) under any circumstances. If so, the performance of the AAA Proxy (AAA Proxy) and AAA Client (AAA Client) will be generated. Negative flow The volume message is only sent by the AAA client to the AAA proxy). When the AAA proxy (AAA Proxy) receives the negative traffic report released by the AAA client based on the radio access bearer, it writes the size of the negative traffic to the user usage data record UDR (UDR). And send it to the AAA server (AAA Server) through the charging message. The AAA server (AAA Server) should generate a separate negative traffic bill for the user after receiving the negative traffic message sent from the AAA proxy (AAAProxy), so that it can be provided to the operator for processing.
对于普通情况下发生的负流量的处理流程, 是由用户设备正在接收用户 数据的过程中释放无线接入承载后触发的, 此时 AAA代理 ( AAA Proxy )将 负流量信息上报给 AAA服务器( AAA Server ), 随后 AAA服务器会生成用户 的单独的负流量账单。 其处理流程如图 3所示:  The AAA proxy (AAA Proxy) reports the negative traffic information to the AAA server (AAA). The AAA proxy sends the traffic information to the AAA server. Server ), then the AAA server will generate a separate negative traffic bill for the user. The processing flow is shown in Figure 3:
步驟 300、 用户通过正常的认证流程上线。  Step 300: The user goes online through the normal authentication process.
步骤 301、 从核心网向基站上的 AAA代理(AAA Proxy )发送数据流。 步骤 302、从 AAA代理( AAA Proxy )发送数据包给基站上的 AAA客户 端 (AAA Client )。  Step 301: Send a data flow from the core network to an AAA proxy (AAA Proxy) on the base station. Step 302: Send a data packet from the AAA proxy (AAA Proxy) to the AAA client (AAA Client) on the base station.
步骤 303、 AAA代理( AAA Proxy )发送包括基于流程计费信息的 RADIUS 实时更新计费请求消息给 AAA服务器( AAA Server X  Step 303: The AAA proxy (AAA Proxy) sends a RADIUS real-time update charging request message including the process charging information to the AAA server (AAA Server X).
步骤 304、 AAA服务器( AAA Server )处理计费信息后,发送一个 RADIUS 计费响应给 AAA代理 ( AAA Proxy )。  Step 304: After processing the charging information, the AAA server (AAA Server) sends a RADIUS accounting response to the AAA proxy (AAA Proxy).
步驟 305、 由于某些原因, 如用户的终端设备死机, 或者关机, 或重新启 动或者切换到新的网络等, AAA客户端 (AAA Client )发现发送出去的数据 用户没有收到,此时产生负流量消息( ASN Unsent Downlink Volume message J, 并且其中包括负流量的大小。  Step 305: For some reasons, such as the user's terminal device crashes, or shuts down, or restarts or switches to a new network, the AAA client (AAA Client) finds that the data sent by the user is not received, and the negative occurs at this time. Traffic message (ASN Unsent Downlink Volume message J, and includes the size of the negative traffic.
步驟 306、 AAA客户端 (AAA Client )将负流量信息写入用户使用数据 记录(UDR)中, 并且发送包含负流量信息的用户使用数据记录的消息(ASN Unsent Downlink Volume message )给 AAA代理 ( AAA Proxy ), 并通知其负 流量流程已经触发。 Step 306: The AAA client writes the negative traffic information into the user usage data record (UDR), and sends a message (ASN Unsent Downlink Volume message) containing the negative traffic information to the AAA proxy (AAA). Proxy), and notify it of negative The traffic flow has been triggered.
步 307、 AAA代理(AAA Proxy )将包含用户使用数据记录(UDR ) 的中间或停止计费请求消息转发给 AAA服务器( AAA Server )。  Step 307: The AAA Proxy (AAA Proxy) forwards the intermediate or stop charging request message including the user data record (UDR) to the AAA server (AAA Server).
步骤 308、 AAA服务器(AAA Server )收到带有负流量信息的 RADIUS 中间或结束计费报文之后, 将其记录成单独的计费账单以供运营商灵活处理。  Step 308: After receiving the RADIUS intermediate or end accounting packet with the negative traffic information, the AAA server records the data as a separate accounting bill for the operator to flexibly process.
对于用户切换流程中产生的负流量问题,可以是 R6接口移动或 R3/R 接 口移动所造成。  The negative traffic problem generated in the user switching process can be caused by R6 interface movement or R3/R interface movement.
对于 R6接口移动的情况, 负流量的流程是由 AAA客户端 ( AAA Client ) 正在通过无线接入承载层给用户设备发送数据时, AAA客户端(AAA Client ) 进行切换时所触发的。在 R6接口移动情况下对负流量的处理过程如图 4所示: 步骤 400、 用户通过正常的认证流程上线。  For the R6 interface to move, the negative traffic flow is triggered by the AAA client when the AAA client is transmitting data to the user equipment through the radio access bearer layer. The process of processing negative traffic on the R6 interface is as shown in Figure 4: Step 400: The user goes online through the normal authentication process.
步驟 401、 由于用户终端的移动使得 R6接口移动, 触发了 R6接口移动 的切换流程。 在 R6接口移动的切换流程中, 在原 AAA客户端(AAA Client ) 的緩存区还有没有发送给用户的数据的情况下, 用户就已^断开了原有无线 接入承载层的连接, 导致了负流量的产生, 在原 AAA客户端(AAA Client ) 上就生成了相应的负流量消息( ASN Unsent Downlink Volume message )。  Step 401: The R6 interface moves due to the movement of the user terminal, and the switching process of the R6 interface movement is triggered. In the handover process of the R6 interface mobile, if there is no data sent to the user in the buffer area of the original AAA client (AAA Client), the user has disconnected the original wireless access bearer layer, resulting in A negative traffic is generated, and a corresponding negative traffic message (ASN Unsent Downlink Volume message) is generated on the original AAA client (AAA Client).
步驟 402、原 AAA客户端( AAA Client )将生成的负流量消息( ASN Unsent Downlink Volume message )发送给 AAA代理( AAA Proxy ),通知其负流量流 程已经触发。  Step 402: The original AAA client sends an ASN Unsent Downlink Volume message to the AAA proxy (AAA Proxy) to notify that the negative traffic flow has been triggered.
步骤 403、 服务的 AAA代理(AAA Proxy )将负流量信息写入用户使用 数据记录(UDR ) 中, 并且发送包含用户使用数据记录(UDR )的中间或停 止计费请求消息给 AAA服务器(AAA Server )。  Step 403: The serving AAA proxy (AAA Proxy) writes the negative traffic information into the user usage data record (UDR), and sends an intermediate or stop charging request message including the user usage data record (UDR) to the AAA server (AAA Server). ).
AAA服务器( AAA Server )收到带有负流量信息的 RADIUS中间(实时) 或结束计费报文后, 将其记录成单独的计费账单以供运营商灵活处理。  After receiving the RADIUS intermediate (real-time) or ending accounting packet with negative traffic information, the AAA server (AAA Server) records it as a separate accounting bill for the operator to handle flexibly.
步骤 404、 AAA服务器向 AAA代理返回计费响应消息。 在上述流程中, 是否存在 AAA代理并不影响具体实现, 即没有 AAA代 理时, 由 AAA客户端将用户使用数据记录( UDR ) 上报到 AAA服务器。 Step 404: The AAA server returns an accounting response message to the AAA proxy. In the above process, whether or not there is an AAA proxy does not affect the specific implementation. That is, when there is no AAA proxy, the AAA client reports the user data record (UDR) to the AAA server.
对于 R3/R4移动的情况, 负流量的流程是由 AAA客户端 (AAA Client ) 正在通过无线接入承载层给用户发送数据时, 由于 AAA代理 ( AAA Proxy ) 切换所触发的。在 R3/R4接口移动情况下对负流量流的处理过程如图 5所示: 步驟 500、 用户通过正常的认证流程上线。  In the case of R3/R4 mobility, the flow of negative traffic is triggered by the AAA proxy (AAA Proxy) switch when the AAA client (AAA Client) is sending data to the user through the radio access bearer layer. The processing of the negative traffic flow in the case of the R3/R4 interface movement is as shown in FIG. 5: Step 500: The user goes online through the normal authentication process.
步骤 501、 由于移动用户终端的移动使得 R3/R4接口移动, 触发了 R3/R4 接口移动的切换流程。 在 R3/R4接口移动的切换流程的过程中,在原 AAA客 户端( AAA Client )缓存区还存在有未发送给用户设备的数据情况下, 用户设 备就已经断开了原有的无线接入承载层的连接, 导致了负流量的产生。 在原 AAA客户端 (AAA Client )上就生成了负流量消息 (ASN Unsent Downlink Volume message )。  Step 501: The R3/R4 interface moves due to the movement of the mobile user terminal, triggering a handover process of the R3/R4 interface movement. In the process of the R3/R4 interface mobility switching process, the user equipment has disconnected the original radio access bearer in the case that the original AAA client (AAA Client) buffer area still has data that is not sent to the user equipment. The connection of the layers leads to the generation of negative flow. A negative traffic message (ASN Unsent Downlink Volume message) is generated on the original AAA client (AAA Client).
步骤 502、原 AAA客户端( AAA Client )将生成的负流量消息( ASN Unsent Downlink Volume message )发送给服务的 AAA代理( AAA Proxy ), 通知其负 流量流程已经被触发。  Step 502: The original AAA client sends an ASN Unsent Downlink Volume message to the serving AAA proxy (AAA Proxy) to notify that the negative traffic flow has been triggered.
步驟 503、 服务的 AAA代理( AAA Proxy )将负流量信息写入用户使用 数据记录(UDR ) 中, 并且发送包含用户使用数据记录(UDR ) 的计费消息 给 AAA服务器 (AAA Server )。  Step 503: The serving AAA proxy (AAA Proxy) writes the negative traffic information into the user usage data record (UDR), and sends a charging message including the user usage data record (UDR) to the AAA server (AAA Server).
AAA服务器( AAA Server )收到带有负流量信息的 RADIUS中间或结束 计费报文之后, 就会将其记录成单独的计费账单以供运营商灵活处理。  After receiving the RADIUS intermediate or end accounting packet with negative traffic information, the AAA server (AAA Server) records it as a separate accounting bill for the operator to handle flexibly.
步骤 504、 AAA服务器向服务的 AAA代理返回计费响应消息。  Step 504: The AAA server returns an accounting response message to the serving AAA proxy.
相应的, 本实施例中 WiMAX网络的计费系统如图 2所示, 包括: AAA 客户端、 AAA代理 (图中未示出)和 AAA服务器, 其中:  Correspondingly, the charging system of the WiMAX network in this embodiment is as shown in FIG. 2, and includes: an AAA client, an AAA proxy (not shown), and an AAA server, where:
AAA客户端, 用于在检测到已计费的数据包未完整的发给用户, 或者检 测到已对数据包重复计费时, 产生负流量消息并上报到 AAA代理。 AAA代理, 用于在接收到所述负流量消息时, 将负流量信息写入用户使 用数据记录并通过中间或停止计费请求消息上拫到 AAA服务器。 The AAA client is configured to generate a negative traffic message and report it to the AAA proxy when it detects that the packet that has been charged is not completely sent to the user, or detects that the data packet has been repeatedly charged. The AAA proxy is configured to: when receiving the negative traffic message, write the negative traffic information to the user usage data record and upload the message to the AAA server by using an intermediate or stop charging request message.
AAA服务器, 用于从中间或停止计费请求消息中获取并处理负流量信。 实施例二  The AAA server is configured to obtain and process a negative traffic message from an intermediate or stop charging request message. Embodiment 2
本实施例中, 以监控负流量的功能实体在 ASN的基站中作为负流量检测 上报点, AAA客户端在 ASN的网关 GW上为例进行说明。  In this embodiment, the functional entity that monitors the negative traffic is used as the negative traffic detection reporting point in the base station of the ASN, and the AAA client is used as an example on the gateway GW of the ASN.
为了避免在认证、授权和计费客户端 /代理( AAA Client/Proxy )上不合理 计费, 认证、授权和计费客户端 /代理(AAA Client/Proxy )将会总是通知基于 无线接入承载的负流量检测上报点记录某个用户的负流量值。 负流量检测上 报点上报给认证、授权和计费客户端 /代理(AAA Client/Proxy )的负流量报告 仅发生在无线接入承载被释放的时候。 认证、 授权和计费客户端 /代理(AAA Client/Proxy )在任何情况下都不该发送这种数据流量消息给负流量检测上报 点,而可以发送触发负流量上报消息。当认证、授权和计费客户端 /代理(AAA Client/Proxy )收到来自负流量检测上报点基于无线接入承载释放的负流量报 告后, 其会将负流量的大小写入用户使用数据记录(UDR )发给认证、 授权 和计费服务器( AAA Server )。 认证、 授权和计费服务器( AAA Server )在收 到从认证、授权和计费客户端 /代理( AAA Client/Proxy )发送过来的负流量消 息后应该会生成用户的单独的负流量帐单, 以便提供给运营商自行处理。  In order to avoid unreasonable accounting on the authentication, authorization and accounting client/proxy (AAA Client/Proxy), the authentication, authorization and accounting client/proxy (AAA Client/Proxy) will always inform based on wireless access. The negative traffic detection reporting point of the bearer records the negative traffic value of a user. The negative traffic report reported by the negative traffic detection report to the authentication, authorization, and accounting client/proxy (AAA Client/Proxy) occurs only when the radio access bearer is released. The authentication, authorization, and accounting client/proxy (AAA Client/Proxy) should not send such data traffic messages to the negative traffic detection reporting point under any circumstances, but can send a negative traffic reporting message. When the authentication, authorization, and accounting client/proxy (AAA Client/Proxy) receives a negative traffic report from the negative traffic detection reporting point based on the radio access bearer release, it writes the negative traffic size to the user usage data record ( UDR) is sent to the authentication, authorization, and accounting server (AAA Server). The authentication, authorization, and accounting server (AAA Server) should generate a separate negative traffic bill for the user after receiving a negative traffic message from the authentication, authorization, and accounting client/proxy (AAA Client/Proxy). In order to provide it to the operator to handle it.
对于移动用户终端正在接收用户数据的过程中无线接入承载释放后触发 的负流量, 认证、授权和计费客户端 /代理(AAA Client/Proxy )会将负流量检 测上报点上报的负流量信息发给认证、 授权和计费服务器(AAA Server ), 随 后计费服务器(AAA Server )会生成用户的单独的负流量帐单。 这种场景中 负流量处理流程如图 6所示:  For the negative traffic triggered by the radio access bearer after the mobile user terminal is receiving the user data, the authentication, authorization, and accounting client/proxy (AAA Client/Proxy) will report the negative traffic information reported by the negative traffic detection reporting point. The authentication, authorization, and accounting server (AAA Server) is sent, and then the accounting server (AAA Server) generates a separate negative traffic bill for the user. The negative traffic processing flow in this scenario is shown in Figure 6:
600、 用户通过完整正常的认证流程上线。  600, the user goes online through the complete normal authentication process.
601、 从核心网向网关 GW 中的认证、 授权和计费客户端 /代理(AAA Client/Proxy )发送数据。 601. Authentication, authorization, and accounting client/proxy from the core network to the gateway GW (AAA) Client/Proxy) sends data.
602、 认证、 授权和计费客户端 /代理( AAA Client/Proxy )发送数据包给 基站中的负流量检测上报点。  602. The authentication, authorization, and accounting client/proxy (AAA Client/Proxy) sends a data packet to the negative traffic detection reporting point in the base station.
603、 认证、 授权和计费客户端 /代理 ( AAA Client/Proxy )发送包括基于 流量计费信息的 RADIUS实时更新计费请求消息给认证、 授权和计费服务器 603. The authentication, authorization, and accounting client/proxy (AAA Client/Proxy) sends a RADIUS real-time update charging request message including the flow rate information to the authentication, authorization, and accounting server.
( AAA Server )。 (AAA Server).
604、 认证、 授权和计费服务器(AAA Server )处理了计费信息后, 发送 一个 RADIUS计费响应给认证、授权和计费客户端 /代理( AAA Client/Proxy )。  604. After processing the charging information, the authentication, authorization, and accounting server (AAA Server) sends a RADIUS accounting response to the authentication, authorization, and accounting client/proxy (AAA Client/Proxy).
605、 由于某些原因, 如用户的终端设备死机, 或者关机, 还可能重新启 动或者切换到新的网络等, 负流量检测上报点通过用户终端没有反馈成功响 应消息等方法判断发现发送出去的数据用户没有收到以后, 其就产生负流量 消息( ASN Unsent Downlink Volume message ) , 并且其中包括负流量的大小。  605. For some reasons, such as the user's terminal device crashes, or shuts down, it may restart or switch to a new network. The negative traffic detection reporting point determines the transmitted data through the user terminal without feedback success response message. After the user does not receive it, it generates a negative traffic message (ASN Unsent Downlink Volume message) and includes the size of the negative traffic.
606、 负流量检测上报点发送负流量消息( ASN Unsent Downlink Volume message )给认证、 授权和计费客户端 /代理( AAA Client/Proxy ), 并通知其负 流量流程已经触发。  606. The negative traffic detection reporting point sends an ASN Unsent Downlink Volume message to the authentication, authorization, and accounting client/proxy (AAA Client/Proxy), and notifies that the negative traffic flow has been triggered.
607、 认证、 授权和计费客户端 /代理( AAA Client/Proxy )将负流量写入 用户使用数据记录( UDR ) 中, 并且发送包含用户使用数据记录( UDR )的 消息给认证、 授权和计费服务器(AAA Server )。  607. The authentication, authorization, and accounting client/proxy (AAA Client/Proxy) writes negative traffic into the user usage data record (UDR) and sends a message containing the user usage data record (UDR) to the authentication, authorization, and accounting. Fee server (AAA Server).
608、 认证、 授权和计费服务器(AAA Server )收到带有负流量信息的 RADIUS 实时或结束计费报文之后, 就会将其记录成单独的计费帐单以供运 营商灵活处理。  608. After receiving the RADIUS real-time or end-accounting message with negative traffic information, the authentication, authorization, and accounting server (AAA Server) records it as a separate accounting bill for the operator to handle flexibly.
对于 R6接口移动情况, 负流量的流程是由负流量检测上报点正在通过无 线接入承载层给用户发送数据中, 负流量检测上报点进行切换的时候触发的, 对于 R6接口移动情况下的负流量处理流程如图 7所示:  For the R6 interface mobile situation, the negative traffic flow is triggered when the negative traffic detection reporting point is transmitting data to the user through the radio access bearer layer, and the negative traffic detection reporting point is switched, which is negative for the R6 interface mobile situation. The flow processing process is shown in Figure 7:
700、 用户通过完整正常的 正流程上线。 701、由于移动用户终端的移动使得 R6接口的移动,触发了 R6接口移动 的切换流程。 在 R6接口移动的切换流程的过程中, 在服务负流量检测上报点 上的緩存区里面还有没有发送给用户的数据情况下, 用户就已经断开了原有 的无线接入承载层的连接, 导致了负流量的产生。 在服务负流量检测上报点 上就生成了负流量消息 ( ASN Unsent Downlink Volume message )。 700, the user goes online through the complete normal process. 701. The movement of the R6 interface is triggered by the movement of the mobile user terminal, and the switching process of the R6 interface movement is triggered. In the process of the R6 interface mobile switching process, when there is data in the buffer area on the service negative traffic detection reporting point that has not been sent to the user, the user has disconnected the original wireless access bearer layer. , resulting in the generation of negative traffic. A negative traffic message (ASN Unsent Downlink Volume message) is generated at the service negative traffic detection reporting point.
702、服务负流量检测上报点将生成的负流量消息( ASN Unsent Downlink Volume message )发送给认证、 授权和计费客户端 /代理( AAA Client Proxy ), 通知其负流量流程已经被触发了。  702. The service negative traffic detection reporting point sends the generated ASN Unsent Downlink Volume message to the authentication, authorization, and accounting client/agent (AAA Client Proxy) to notify that the negative traffic process has been triggered.
703、 认证、 授权和计费客户端 /代理( AAA Client/Proxy )将负流量写入 用户使用数据记录(UDR ) 中, 并且发送包含用户使用数据记录(UDR ) 的 消息给认证、 授权和计费服务器(AAA Server )。  703. The authentication, authorization, and accounting client/proxy (AAA Client/Proxy) writes negative traffic to the user usage data record (UDR) and sends a message containing the user usage data record (UDR) to the authentication, authorization, and accounting. Fee server (AAA Server).
704、 认证、 授权和计费服务器(AAA Server ) 收到带有负流量信息的 RADIUS 中间计费消息或结束计费消息之后, 就会将其记录成单独的计费帐 单以供运营商灵活处理, 随后响应服务认证、 授权和计费客户端 /代理(AAA Client/Proxy ) 中间或终止计费响应消息。  704. After receiving the RADIUS intermediate charging message or the ending charging message with negative traffic information, the authentication, authorization, and accounting server (AAA Server) records it as a separate accounting bill for the operator to be flexible. Processing, then responding to the Service Authentication, Authorization, and Accounting Client/Proxy (AAA Client/Proxy) intermediate or terminating the charging response message.
对于 R3移动的情况, 负流量的流程是由负流量检测上报点正在通过无线 接入承载层给用户发送数据中进行认证、 授权和计费客户端 /代理 (AAA Client/Proxy )切换的时候触发的。对于 R3接口移动情况下的负流量处理流程 如图 8所示:  In the case of R3 mobility, the negative traffic flow is triggered when the negative traffic detection reporting point is transmitting data to the user through the radio access bearer layer for authentication, authorization, and accounting client/proxy (AAA Client/Proxy) switching. of. The negative traffic processing flow for the R3 interface movement is as shown in Figure 8:
800、 用户通过完整正常的认证流程上线。  800, the user goes online through the complete normal authentication process.
801、 由于移动用户终端的移动使得 R3 R4接口的移动, 触发了 R3接口 移动的切换流程。在 R6接口移动的切换流程的过程中, 在服务负流量检测上 报点上的缓存区里面还有没有发送给用户的数据情况下, 用户就已经断开了 原有的无线接入承载层的连接, 导致了负流量的产生。 在服务负流量检测上 报点上就生成了负流量消息( ASN Unsent Downlink Volume message λ 802、服务负流量检测上报点将生成的负流量消息( ASN Unsent Downlink Volume message ) 发送给服务认证、 授权和计费客户端 /代理 ( AAA Client/Proxy ), 通知其负流量流程已经被触发。 801. The movement of the R3 R4 interface is triggered by the movement of the mobile user terminal, and the switching process of the R3 interface movement is triggered. In the process of the R6 interface mobile switching process, when there is data in the buffer area on the service negative traffic detection reporting point that has not been sent to the user, the user has disconnected the original wireless access bearer layer. , resulting in the generation of negative traffic. A negative traffic message is generated on the service negative traffic detection reporting point (ASN Unsent Downlink Volume message λ 802. The service negative traffic detection reporting point sends the generated ASN Unsent Downlink Volume message to the service authentication, authorization, and accounting client/proxy (AAA Client/Proxy) to notify that the negative traffic flow has been triggered.
803、 服务认证、 授权和计费客户端 /代理( AAA Client/Proxy )将负流量 写入用户是使用数据记录(UDR ) 中, 并且发送包含负流量信息的计费消息 给认证、 授权和计费服务器(AAA Server )。  803. The service authentication, authorization, and accounting client/proxy (AAA Client/Proxy) writes the negative traffic to the user in the usage data record (UDR), and sends a charging message containing the negative traffic information to the authentication, authorization, and accounting. Fee server (AAA Server).
804、 认证、 授权和计费服务器 (AAA Server ) 收到带有负流量信息的 RADIUS 中间计费消息或结束计费消息之后, 就会将其记录成单独的计费帐 单以供运营商灵活处理, '随后响应服务认证、 授权和计费客户端 /代理(AAA Client/Proxy ) 中间或终止计费响应消息。  804. After receiving the RADIUS intermediate charging message or the ending charging message with negative traffic information, the AAA, the authentication, authorization, and accounting server (AAA Server) records it as a separate accounting bill for the operator to be flexible. Processing, 'Subsequently responding to service authentication, authorization and accounting client/proxy (AAA Client/Proxy) intermediate or terminating charging response messages.
虽然上述以在实施例 1中基站上的 AAA客户端或实施例 2中基站上的负 流量检测上报点产生负流量信息为例进行说明, 但本发明的实现并不限于此。 其通用的模型是在 WiMAX 网络中用专门的功能实体来实现, 下行数据经该 功能实体传送给用户设备, 用户设备收到后反馈确认消息, 若在规定时间内 收到确认消息则按现有方式计费, 若在规定时间内未收到确认消息, 则说明 产生了负流量, 此时该功能实体上产生相应的负流量信息, 然后将该负流量 信息写入用户使用数据记录后通过计费消息上报到 AAA服务器进行处理。另 外, 也可由所述功能实体主动检查数据是否发送完, 如果未发送完则产生相 应的负流量信息。 当然, 所述功能实体可同时使用这两种方式监控负流量。 对负流量信息的其处理过程与上述同理, 不再赘述。  Although the above description is made by taking the negative traffic information generated by the AAA client on the base station in Embodiment 1 or the negative traffic detection reporting point on the base station in Embodiment 2 as an example, the implementation of the present invention is not limited thereto. The general model is implemented in a WiMAX network with a special functional entity. The downlink data is transmitted to the user equipment through the functional entity. After receiving the acknowledgement message, the user equipment receives the acknowledgement message within the specified time. Mode accounting, if the confirmation message is not received within the specified time, it indicates that negative traffic is generated. At this time, the corresponding negative traffic information is generated on the functional entity, and then the negative traffic information is written into the user to use the data record. The fee message is reported to the AAA server for processing. In addition, the functional entity may also actively check whether the data is sent or not, and if it is not sent, generate corresponding negative traffic information. Of course, the functional entity can use both methods to monitor negative traffic. The processing of the negative traffic information is the same as the above, and will not be described again.
参阅图 9所示, 本发明中的一种负流量检测装置包括: 数据接收转发模 块 900、 负流量检测模块 901和负流量信息上报模块 902。 数据接收转发模块 900接收发送给用户的数据, 并将该数据转发给用户; 负流量检测模块 901在 检测到已计费的数据包未完整的发给用户, 或者检测到已对数据包重复计费 时, 生成负流量信息并保存; 负流量信息上报模块 902将保存的负流量信息 其上 gjij AAA代理。 As shown in FIG. 9, a negative flow detecting device of the present invention includes: a data receiving and forwarding module 900, a negative flow detecting module 901, and a negative flow information reporting module 902. The data receiving and forwarding module 900 receives the data sent to the user, and forwards the data to the user. The negative traffic detecting module 901 detects that the charged data packet is not completely sent to the user, or detects that the data packet has been repeatedly counted. Time-consuming, generating negative traffic information and saving; negative traffic information reporting module 902 will save the negative traffic information Its gjij AAA agent.
参阅图 10 所述, 本发明中的一种计费客户端 /代理装置包括: 接收模块 1000、 解析模块 1010、 计费消息生成模块 1020和发送模块 1030。 接收模块 1000接收网络侧发送给用户的数据, 以及接收负流量检测装置 (如前述的 AAA客户端)上报的包含负流量信息的消息; 解析模块 1010用于解析所述 消息中的负流量信息; 计费信息生成模块 1020将所述负流量信息写入用户使 用数据记录, 生成计费消息; 发送模块 1030将用户的数据转发给流量检测装 置, 以及向 AAA服务器上报包含所述用户使用数据记录的计费消息。  Referring to FIG. 10, a charging client/proxy device in the present invention includes: a receiving module 1000, a parsing module 1010, a charging message generating module 1020, and a sending module 1030. The receiving module 1000 receives the data sent by the network side to the user, and receives the message containing the negative traffic information reported by the negative traffic detecting device (such as the foregoing AAA client); the parsing module 1010 is configured to parse the negative traffic information in the message; The charging information generating module 1020 writes the negative traffic information into the user usage data record to generate a charging message; the sending module 1030 forwards the user data to the traffic detecting device, and reports to the AAA server the data record including the user usage data. Billing message.
参阅图 11所示, 本实施例中的一种计费服务器装置 (如前述的 AAA服 务器)包括:接收模块 1100、负流量信息解析模块 1110和负流量处理模块 1120。 接收模块 1100接收包含负流量信息的计费消息; 负流量处理模块 1120解析 所述计费消息, 并从中提取负流量信息; 负流量处理模块 1120对负流量信息 进行计费处理, 如才艮据负流量信息生成单独的负流量账单, 或者从计费中扣 除负流量对应的费用。  Referring to FIG. 11, a charging server device (such as the foregoing AAA server) in this embodiment includes: a receiving module 1100, a negative traffic information parsing module 1110, and a negative traffic processing module 1120. The receiving module 1100 receives the charging message including the negative traffic information; the negative traffic processing module 1120 parses the charging message, and extracts the negative traffic information therefrom; the negative traffic processing module 1120 performs the charging processing on the negative traffic information, such as The negative flow information generates a separate negative flow bill, or the fee corresponding to the negative flow is deducted from the billing.
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离本 发明的精神和范围。 这样, 倘若对本发明的这些修改和变型属于本发明权利 要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。  It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Therefore, it is intended that the present invention cover the modifications and variations of the invention as claimed.

Claims

权利要求 Rights request
1、 一种监控负流量的方法, 其特征在于, 包括如下步驟:  A method for monitoring negative traffic, characterized in that it comprises the following steps:
WiMAX系统中监控负流量的功能实体产生负流量信息;  A functional entity that monitors negative traffic in a WiMAX system generates negative traffic information;
将所述负流量信息写入用户使用数据记录, 并通过计费消息上报到计费 服务器; 以及  Transmitting the negative traffic information into the user usage data record, and reporting the charging message to the charging server;
所述计费服务器从计费消息中获取所述负流量信息。  The accounting server acquires the negative traffic information from the charging message.
2、 如权利要求 1所述的方法, 其特征在于, 所述负流量信息至少包含负 流量的大小。  2. The method of claim 1 wherein the negative flow information comprises at least a magnitude of negative flow.
3、 如权利要求 1所述的方法, 其特征在于, 所述功能实体检测到已计费 的数据包未完整的发给用户, 或者检测到已对数据包重复计费时, 产生负流 量信息。  3. The method according to claim 1, wherein the function entity detects that the charged data packet is not completely sent to the user, or detects that the data packet has been repeatedly charged, generating negative traffic information. .
4、 如权利要求 1所述的方法, 其特征在于, 所述功能实体在参考点 3或 参考点 6切换过程中, 检测到存在数据包重复计费时产生负流量信息。  The method according to claim 1, wherein the functional entity generates negative traffic information when there is a duplicate packet charging in the reference point 3 or reference point 6 handover process.
5、 如权利要求 1至 4任一项所述的方法, 其特征在于, 所述监控负流量 的功能实体设置在接入业务网的基站内。  The method according to any one of claims 1 to 4, characterized in that the functional entity monitoring the negative traffic is set in the base station of the access service network.
6、 如权利要求 5所述的方法, 其特征在于, 所述功能实体为认证、 授权 和计费 AAA客户端。  6. The method of claim 5, wherein the functional entity is an authentication, authorization, and accounting AAA client.
7、 如权利要求 6所述的方法, 其特征在于, 所述 AAA客户端在发现无 线接入承载被释放时向 AAA代理上报负流量消息。  The method of claim 6, wherein the AAA client reports a negative traffic message to the AAA proxy when the discovery of the wireless access bearer is released.
8、 如权利要求 5所述的方法, 其特征在于, 所述监控负流量的功能实体 将负流量信息上报到网关中的 AAA客户端 /代理,由 AAA客户端 /代理将负流 量信息写入用户使用数据记录, 并上报到计费服务器。  8. The method according to claim 5, wherein the functional entity monitoring the negative traffic reports the negative traffic information to the AAA client/proxy in the gateway, and the AAA client/proxy writes the negative traffic information. The user uses the data record and reports it to the billing server.
9、 如权利要求 1所迷的方法, 其特征在于, 计费服务器根据所述负流量 信息生成单独的负流量账单。  9. The method of claim 1 wherein the billing server generates a separate negative flow bill based on the negative flow information.
10、 如权利要求 1所述的方法, 其特征在于, 在 RADIUS协议中通过增 加设备规格属性携带负流量信息。 10. The method of claim 1 wherein: increasing in the RADIUS protocol The device specification attribute carries negative traffic information.
11、 如权利要求 10所述的方法, 其特征在于, 所述设备规格属性包括: 设备规格性属性名、 类型、 最大负荷长度、 格式和 /或域, 并且所述设备规格 属性仅在中间计费消息和停止计费消息中做为可选项出现。  The method according to claim 10, wherein the device specification attribute comprises: a device specification attribute name, a type, a maximum load length, a format, and/or a domain, and the device specification attribute is only in the middle meter. The fee message and the stop billing message appear as optional items.
12、 一种负流量检测装置, 其特征在于, 包括:  12. A negative flow detecting device, comprising:
用于接收数据并将该数据转发给用户的模块;  a module for receiving data and forwarding the data to a user;
用于在检测到巳计费的数据包未完整的发给用户, 或者检测到已对数据 包重复计费时, 产生负流量信息的模块;  Means for generating negative traffic information when the data packet for detecting the 巳 billing is not completely sent to the user, or when it is detected that the data packet has been repeatedly billed;
用于上报所述负流量信息的模块。  A module for reporting the negative traffic information.
13、 一种计费客户端 /代理装置, 其特征在于, 包括:  13. A billing client/proxy device, comprising:
用于接收包含负流量信息的消息的模块;  a module for receiving a message containing negative traffic information;
用于解析所述负流量信息的模块;  a module for parsing the negative flow information;
用于将解析后的负流量信息写入用户使用数据记录, 生成计费消.息的模 块;  Means for writing the parsed negative traffic information into the user usage data record to generate a charging cancellation message;
用于将上报包含所述用户使用数据记录的计费消息的模块。  A module for reporting a charging message containing the user usage data record.
14、 一种计费服务器, 其特征在于, 包括:  14. A billing server, comprising:
用于接收包舍负流量信息的计费消息的模块;  a module for receiving a charging message for packet negative traffic information;
用于解析所述计费消息并从中提取负流量信息中的模块;  a module for parsing the charging message and extracting negative traffic information therefrom;
用于对所述负流量信息进行计费处理的模块。  A module for performing charging processing on the negative traffic information.
15、 一种 WiMAX计费系统, 其特征在于, 包括:  15. A WiMAX billing system, comprising:
用于在检测到已计费的数据包未完整的发给用户, 或者检测到已对数据 包重复计费时, 产生负流量信息并上报的功能实体;  A functional entity for generating negative traffic information and reporting when it is detected that the billed data packet is not completely sent to the user, or when it is detected that the data packet has been repeatedly charged;
用于从计费消息中获取并处理所述负流量信息的计费服务器。  A billing server for obtaining and processing the negative traffic information from the charging message.
16、 如权利要求 15所述的 WiMAX计费系统, 其特征在于, 所述功能实 体为专门用于监控负流量的独立实体, 发送给用户设备的数据通过该实体转 发。 The WiMAX charging system according to claim 15, wherein the functional entity is an independent entity dedicated to monitoring negative traffic, and data sent to the user equipment is transferred by the entity. hair.
17、 如权利要求 15所述的 WiMAX计费系统, 其特征在于, 所述功能实 体为设置在基站中的 AAA客户端; 所述 AAA客户端在检测到已计费的数据 包未完整的发给用户, 或者检测到已对数据包重复计费时, 产生负流量信息。  The WiMAX charging system according to claim 15, wherein the function entity is an AAA client set in the base station; and the AAA client detects that the billed data packet is not completely sent. Negative traffic information is generated to the user, or when it is detected that the data packet has been repeatedly charged.
18、如权利要求 17所述的 WiMAX计费系统,其特征在于,通过在 RADIUS 协议中增加设备规格属性携带所述负流量信息。  The WiMAX charging system according to claim 17, wherein the negative traffic information is carried by adding a device specification attribute in a RADIUS protocol.
19、 如权利要求 15至 18任一项所述的 WiMAX计费系统, 其特征在于, 所述计费服务器根据负流量信息生成单独的负流量账单。  19. The WiMAX billing system according to any one of claims 15 to 18, wherein the billing server generates a separate negative flow bill based on the negative flow information.
PCT/CN2006/002960 2005-11-03 2006-11-03 A method for monitoring the minus flow and a charging system WO2007051424A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006800126836A CN101160814B (en) 2005-11-03 2006-11-03 Method for monitoring the minus flow and a charging system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNB200510115439XA CN100488102C (en) 2005-11-03 2005-11-03 Method for monitoring negative flux in WiMAX system, and charging system
CN200510115439.X 2005-11-03

Publications (1)

Publication Number Publication Date
WO2007051424A1 true WO2007051424A1 (en) 2007-05-10

Family

ID=38005452

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/002960 WO2007051424A1 (en) 2005-11-03 2006-11-03 A method for monitoring the minus flow and a charging system

Country Status (2)

Country Link
CN (2) CN100488102C (en)
WO (1) WO2007051424A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995524A (en) * 2019-10-28 2020-04-10 北京三快在线科技有限公司 Flow data monitoring method and device, electronic equipment and computer readable medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567792B (en) * 2008-04-25 2012-05-23 华为技术有限公司 Method and equipment for charging service of universal service interface
CN101577624B (en) * 2008-05-06 2012-07-04 华为技术有限公司 Charging method, capability obtaining method, communication system and relevant equipment
CN101938731B (en) * 2009-07-03 2014-11-05 中兴通讯股份有限公司 Reporting method and device for user terminal position information in WiMAX (Worldwide Interoperability for Microwave Access) offline charging

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1373586A (en) * 2001-03-01 2002-10-09 深圳市中兴通讯股份有限公司 Universal internetwork charge method
US20040064405A1 (en) * 2002-09-30 2004-04-01 First Data Corporation Methods and systems for processing partial payments using debit cards
US20040192253A1 (en) * 2003-03-28 2004-09-30 Motoharu Usumi Content delivery system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6934751B2 (en) * 2002-11-29 2005-08-23 Motorola, Inc. Method and device for providing more accurate subscriber device billing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1373586A (en) * 2001-03-01 2002-10-09 深圳市中兴通讯股份有限公司 Universal internetwork charge method
US20040064405A1 (en) * 2002-09-30 2004-04-01 First Data Corporation Methods and systems for processing partial payments using debit cards
US20040192253A1 (en) * 2003-03-28 2004-09-30 Motoharu Usumi Content delivery system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995524A (en) * 2019-10-28 2020-04-10 北京三快在线科技有限公司 Flow data monitoring method and device, electronic equipment and computer readable medium

Also Published As

Publication number Publication date
CN101160814B (en) 2011-01-19
CN1960263A (en) 2007-05-09
CN100488102C (en) 2009-05-13
CN101160814A (en) 2008-04-09

Similar Documents

Publication Publication Date Title
US8630615B2 (en) Method and apparatus for reliable transmission of charging detail records
JP2006508609A (en) Method and device for more accurate subscriber unit billing
WO2017219972A1 (en) Network element management method, device and system, control plane function entity, and storage medium
US10924900B2 (en) Charging method and apparatus, and system
JP3895729B2 (en) COMMUNICATION CONTROL METHOD, RELAY DEVICE, AND ACCOUNT MANAGEMENT DEVICE
WO2009021462A1 (en) Method and device for ip-can session establishment
WO2007082446A1 (en) A method and system for offline charging
WO2007051424A1 (en) A method for monitoring the minus flow and a charging system
CN101583152B (en) Method, device and system for information transmission
WO2007048348A1 (en) Method and system for realizing advertisement service charging
WO2010066157A1 (en) Charging method, charging device, charging gateway and charging system
WO2007137482A1 (en) Charging method, system and device in interoperability network of global microwave system
WO2020001410A1 (en) Data reporting method and apparatus
KR100427699B1 (en) Processing method of packet data in imt-2000 system
WO2012106881A1 (en) Charging method, network access device and core network device
WO2012083599A1 (en) Method, gateway and system for arrearages control
CN102307338B (en) Information transferring method and device
CN102439902B (en) Charging method, apparatus and network system for local routing bussiness
WO2020063970A1 (en) Service control method, network device, and storage medium
WO2018153193A1 (en) Charging method and apparatus
WO2011000317A1 (en) Method and device for reporting positional information of user terminal for offline accounting in wimax
JP3741925B2 (en) Billing apparatus, message service system, mobile communication system, and billing method
CN100563294C (en) A kind of in wireless access system the method and system of notifying prepayment user charging
JP3994817B2 (en) Mobile packet communication system, packet data amount notification method and program thereof
WO2019242578A1 (en) Method for performing computation with respect to performance data, and related device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 200680012683.6

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06805161

Country of ref document: EP

Kind code of ref document: A1