WO2014029307A1 - 计费方法及装置 - Google Patents

计费方法及装置 Download PDF

Info

Publication number
WO2014029307A1
WO2014029307A1 PCT/CN2013/081740 CN2013081740W WO2014029307A1 WO 2014029307 A1 WO2014029307 A1 WO 2014029307A1 CN 2013081740 W CN2013081740 W CN 2013081740W WO 2014029307 A1 WO2014029307 A1 WO 2014029307A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
bng
message
request message
address
Prior art date
Application number
PCT/CN2013/081740
Other languages
English (en)
French (fr)
Inventor
尤建洁
王怀滨
范亮
朱春晖
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to US14/422,468 priority Critical patent/US9408057B2/en
Priority to EP13830340.9A priority patent/EP2890051A4/en
Publication of WO2014029307A1 publication Critical patent/WO2014029307A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1453Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
    • H04L12/1467Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network involving prepayment
    • 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

Definitions

  • the present invention relates to the field of communications, and in particular to a charging method and apparatus.
  • WLAN Wireless Local Area Network
  • 2G second-generation
  • 3G third-generation
  • WLAN access is a supplementary access method for fixed networks. How to effectively control and manage user access through WLAN in real time becomes the key to developing WLAN value-added services. At the same time, this will help operators to optimize their networks.
  • 1 is a schematic diagram of a networking scenario of a WLAN network according to the related art. As shown in FIG.
  • a WLAN network is mainly composed of a user equipment (User Equipment, UE for short) and an access point (AP).
  • the access controller Access Controller, AC for short
  • BNG Broadband Network Gateway
  • AAA Authentication, Authorization, and Accounting
  • the UE is an 802.1X client
  • the AP is a wireless access node provided for the UE to enter the wired network.
  • the AC is used to manage the AP, and the AP is configured to send data, and the AC acts as an 802.1x authenticator.
  • the Remote Authentication Dial In Service (RADIUS) client, BNG is the RADIUS proxy
  • AAA is the RADIUS server.
  • RADIUS Remote Authentication Dial In Service
  • Step S202 The UE sends an EAPoL-Start message to the AC to start 802. IX authentication access.
  • Step S206 The UE replies with an EAP-Identity-Response message to the AC, where the user identifier is included.
  • Step S210 the BNG is sent as an ADIUS Proxy (RADIUS proxy), and the ADIUS-Access-equest is sent to the RADIUS server AAA.
  • the AAA replies to the RADIUS-Access-Response, which includes the EAP Challenge.
  • Step S214, the BNG forwards the RADIUS-Access-Response to the AC.
  • Step S216 the AC unblocks the EAP frame and sends it to the UE, and the UE sends a reply, and the reply message includes
  • the BNG forwards the RADIUS-Access-Request to the AAA.
  • a charging method includes: after receiving a first charging request message sent by an AC, the BNG sends a second charging request message to the AAA; The message is used to trigger the BNG to perform the charging operation. After receiving the first charging termination message sent by the AC, the BNG sends a second charging termination message to the AAA. The first charging termination message is used to trigger. The above BNG stops the charging operation. Before the BNG receives the first charging termination message sent by the AC, the method may further include: the AC receiving the offline notification message sent by the user equipment. After the BNG sends the second charging request message to the AAA, the method may further include: the BNG sending a charging response message to the AC.
  • the method may further include: the BNG performing a charging operation according to the charging policy, and reporting the intermediate charging data to the AAA.
  • the foregoing BNG performing the charging operation according to the foregoing charging policy may include: the BNG receiving the new charging policy sent by the AAA, and performing the charging operation according to the new charging policy.
  • the method may further include: deleting, by the BNG, the charging policy.
  • the NAPT does not exist on the AC, the foregoing first charging request message or the second charging request message carries an Internet Protocol IP address of the user equipment, and/or a user identifier, and/or a media access control MAC address.
  • the first charging request message or the second charging request message carries the public network IP address and port set of the user equipment, and/or the user identifier, and/or The above MAC address.
  • the first charging termination message or the second charging termination message may carry the IP address of the user equipment, and/or the user identifier, and/or the MAC address;
  • the first charging termination message or the second charging termination message may carry the public network IP address and port set of the user equipment, and/or the user identifier, and/or the MAC address.
  • a charging apparatus comprising: a first message processing module, configured to send a second charging request message to an AAA after receiving a first charging request message sent by an AC
  • the first charging request message is used to trigger the BNG to perform the charging operation.
  • the second message processing module is configured to send the second charging to the AAA after receiving the first charging termination message sent by the AC. Terminating the message; wherein, the first charging termination message is used to trigger the BNG to stop charging operation.
  • the foregoing apparatus may further include: an accounting response message sending module, configured to send a charging response message to the AC.
  • the device may further include: a charging module, configured to perform a charging operation according to the charging policy; and a data reporting module, configured to report the intermediate charging data to the AAA.
  • the charging module may include: a charging unit, configured to receive a new charging policy sent by the AAA, and perform a charging operation according to the new charging policy.
  • the foregoing apparatus may further include: a deleting module, configured to delete the charging policy.
  • the foregoing first charging request message or the second charging request message may carry an Internet Protocol IP address of the user equipment, and/or a user identifier, and/or a media access control MAC.
  • the first accounting request message or the second charging request message may carry the public network IP address and port set of the user equipment, and/or the user identifier, and / or the above MAC address.
  • the first charging termination message or the second charging termination message may carry the IP address of the user equipment, and/or the user identifier, and/or the MAC address;
  • the first charging termination message or the second charging termination message may carry the public network IP address and port set of the user equipment, and/or the user identifier, and/or the MAC address.
  • the BNG After the BNG receives the first charging request message sent by the AC, the BNG sends a second charging request message to the AAA, and then the BNG charging operation, after the BNG receives the first charging termination message sent by the AC, The AAA sends a second charging termination message, where the first charging request message is used to trigger the BNG to perform a charging operation; the first charging termination message is used to trigger the BNG to stop charging operation, and the related technology is solved.
  • the functional division of AC and BNG has not been clarified, thereby realizing the clear division of functions of AC and BNG in the charging operation, thereby clarifying the charging operation flow and improving the charging efficiency.
  • FIG. 1 is a schematic diagram of a networking scenario of a WLAN network according to the related art
  • FIG. 2 is a flowchart of UE authentication according to the related art
  • FIG. 3 is a flow of a charging method according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a charging start flow for allocating an IP address by a BNG according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a charging start flow for allocating an IP address by an AC according to an embodiment of the present invention
  • 6 is a flowchart of another charging start flow for allocating an IP address by an AC according to an embodiment of the present invention
  • FIG. 7 is a flowchart of a charging intermediate flow according to an embodiment of the present invention
  • FIG. 8 is a flowchart according to the present invention.
  • FIG. 9 is a block diagram showing a structure of a charging apparatus according to an embodiment of the present invention
  • FIG. 10 is a block diagram showing a first specific structure of a charging apparatus according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a charging method according to an embodiment of the present invention. As shown in FIG. 3, the method includes the following steps (step S302-step S304): Step S302: After receiving the first charging request message sent by the AC, the BNG receives the first charging request message sent by the AC.
  • step S304 the BNG sends the first charging termination message sent by the AC to the AAA.
  • the second charging termination message is used to trigger the BNG to stop the charging operation.
  • the AC is only used as a trigger for charging start and termination.
  • the BNG After receiving the first charging request message sent by the AC, the BNG sends a second charging request message to the AAA, and then the BNG charging operation, the BNG receives the above.
  • the second charging termination message is sent to the AAA, where the first charging request message is used to trigger the BNG to perform a charging operation; the first charging termination message is used to
  • the BNG stop charging operation is triggered to solve the problem that the function division between the AC and the BNG is not clear in the charging operation in the related art, thereby realizing the clear division of the functions of the AC and the BNG in the charging operation, thereby clearing the accounting.
  • the operation process improves the billing efficiency.
  • the AC does not participate in the actual charging data collection and reporting function, and only serves as a trigger for the start and end of the charging, that is, there is no charging policy of the UE on the AC.
  • the process of charging start is as follows: After receiving the first charging request message from the AC, the BNG sends a second charging request message to the AAA, and the BNG starts user charging. Before the BNG receives the first charging termination message sent by the AC, the AC receives the offline notification message sent by the user equipment, and then the AC sends a first charging termination message to the BNG. Preferably, after the BNG sends the second charging request message to the AAA, the BNG returns an accounting response message to the AC.
  • the first charging request message sent by the AC to the BNG carries the IP address of the UE, and/or the user identifier, and/or the MAC address. When the NAPT exists on the AC, the AC sends the message to the BNG.
  • the first charging request message carries the public network IP address and port set of the UE, and/or the user identifier, and/or the MAC address.
  • the BNG After receiving the first charging request message sent by the AC, the BNG generates an accounting request message for the UE, and sends the second charging request message to the AAA.
  • the second charging request message carries the IP address of the UE, and/or the user identifier, and/or the MAC address.
  • the BNG sends the second meter to the AAA.
  • the fee request message carries the public network IP address and port set of the UE, and/or the user identity, and/or the MAC address. After that, the BNG starts to perform the charging operation.
  • the BNG performs the charging operation according to the charging policy, and is responsible for collecting the charging data, and reporting the intermediate charging data to the AAA.
  • the AC may report the intermediate charging data to the BNG.
  • the BNG may choose to ignore the intermediate charging data reported by the AC.
  • the charging policy required for the BNG to perform the accounting operation is delivered by the AAA.
  • the BNG After the AAA sends a new charging policy, the BNG performs policy update and performs charging according to the new charging policy. Based on this, the embodiment provides a preferred implementation manner, that is, the BNG performs the charging operation according to the charging policy, and the BNG receives the new charging policy sent by the AAA, and performs the charging operation according to the new charging policy.
  • the BNG can adopt the latest charging policy to perform the charging operation in time, and optimize the charging process.
  • the BNG deletes the charging policy.
  • the process of ending the charging is as follows: After receiving the EAP offline notification message sent by the user equipment, the AC sends a first charging termination message to the BNG. After receiving the first charging termination message from the AC, the BNG sends a second charging termination message to the AAA, and the first charging termination message sent by the AC is used to trigger the user charging to stop.
  • the first charging termination message sent by the AC to the BNG carries the IP address of the UE, and/or the user identifier, and/or the MAC address.
  • the AC sends the message to the BNG.
  • the first charging termination message carries the public network IP address and port set of the UE, and/or the user identifier, and/or MAC address.
  • the BNG After receiving the first charging termination message sent by the AC, the BNG generates an accounting termination message for the UE, and sends a second charging termination message to the AAA.
  • the second charging termination message is carried.
  • the second accounting termination message sent by the BNG to the AAA carries the public IP address and port set of the UE, and/or User ID, and/or MAC address.
  • FIG. 4 is a flowchart of a charging start process for allocating an IP address by a BNG according to an embodiment of the present invention.
  • the process includes the following steps (step S402-step S410):
  • the BNG supports the DHCP server function and allocates an IPv4 address to the UE.
  • Protocol Dynamic Host Configuration Protocol, DHCP for short
  • the AC determines whether the UE is authenticated according to the MAC address carried in the address request message, and if the UE passes the authentication, forwards the address request message to the BNG; or the AC does not authenticate the UE, and directly requests the address from the UE. The message is forwarded to the BNG.
  • the BNG determines whether the UE is authenticated according to the MAC address carried in the address request message. If the UE passes the authentication, the BNG allocates an IP address to the UE.
  • Step S404 After the address allocation is successful, the AC initiates an accounting request message (Accounting-Request), and sends the message to the BNG, where the IP address of the UE, and/or the user identifier, and/or the MAC address are carried.
  • Step S406 After receiving the charging request message sent by the AC, the BNG generates a new accounting request message (Accounting-Request) for the UE, and sends the message to the AAA. Step S408, the BNG returns an Accounting Response message (Accounting-Response) to the AC. There is no fixed sequence of execution timings of the above steps S406 and S408. Step S410, the AAA returns a charging response message (Accounting-Response) to the BNG. Billing begins.
  • FIG. 5 is a flowchart of a charging start process for allocating an IP address by an AC according to an embodiment of the present invention. As shown in FIG.
  • Step S502 the UE initiates DHCPv4.
  • Address request the AC supports the DHCP Server function, and assigns an IPv4 address to the UE.
  • the AC determines whether the UE is authenticated according to the MAC address carried in the address request message, and if the UE passes the authentication, the AC allocates an IP address to the UE.
  • Step S504 after the address allocation is successful, the AC initiates an accounting request message (Accounting-Request), and sends the message to the BNG, where the charging request message carries the IP address of the UE, and/or the user identifier, and/or the MAC address.
  • Accounting-Request accounting request message
  • Step S506 After receiving the charging request message sent by the AC, the BNG generates a new accounting request message (Accounting-Request) for the UE, and sends the message to the AAA. Step S508, the BNG returns an Accounting Response message (Accounting-Response) to the AC. There is no fixed sequence of execution timings of the above steps S506 and S508. Step S510, the AAA returns a charging response message (Accounting-Response) to the BNG. Billing begins.
  • FIG. 6 is a flowchart of another charging start process for allocating an IP address by an AC according to an embodiment of the present invention. As shown in FIG.
  • Step S602 the UE initiates The DHCPv4 address request, the AC supports the DHCP server function, and allocates the private network IPv4 address to the UE. Specifically, the AC determines whether the UE passes the authentication according to the MAC address carried in the address request message, and if the authentication passes, assigns the private network IP address to the UE. The AC supports the Network Address Port Translation (NAPT) function to convert the private network address assigned to the UE to the corresponding public network address and port set.
  • NAPT Network Address Port Translation
  • Step S604 after the address allocation is successful, the AC initiates an accounting request message (Accounting-Request), which is sent to the BNG, where the charging request message carries the public network address and port set of the UE, and/or the user identifier, and/or MAC address;
  • Step S606 after receiving the charging request message sent by the AC, the BNG generates a new accounting request message (Account-Request) for the UE, and sends the message to the AAA.
  • Step S608 the BNG sends an Accounting Response Response message (Accounting-Response) to the AC.
  • the AAA returns a charging response message (Accounting-Response) to the BNG.
  • FIG. 7 is a flowchart of a charging intermediate process according to an embodiment of the present invention.
  • the BNG reports intermediate charging data to the AAA according to the charging policy, and the AAA replies.
  • the AC does not participate in the actual charging data collection and reporting function, and only serves as the initial triggering factor for the charging, that is, there is no charging policy of the UE on the AC.
  • the AAA delivers a new charging policy, and the BNG performs policy update and performs charging according to the new charging policy.
  • FIG. 8 is a flowchart of a charging termination process according to an embodiment of the present invention. As shown in FIG. 8, the flow includes the following steps (step S802-step S806): Step S802, the UE initiates an EAP_Logoff frame, and notifies the offline.
  • step S804 the AC sends an accounting termination message (Accounting-Stop) to the BNG, where the charging termination message carries the public network address and port set of the UE, and/or the user identifier, and / or MAC address; In the scenario where the AC does not have NAPT, the charging termination message carries the IP address of the UE, and/or the user identifier, and/or the MAC address.
  • Step S806 after receiving the charging termination message (Accounting-Stop) from the AC, the BNG generates a new charging termination message for the UE, and sends the message to the AAA. Billing ends.
  • the embodiment further provides a charging device, which is generally disposed on the BNG side for implementing the above embodiment. FIG.
  • the apparatus includes: a first message processing module 10 and a second message processing module 20.
  • the structure will be described below.
  • the first message processing module 10 is configured to: after receiving the first charging request message sent by the access controller AC, send a second charging request message to the authentication, authorization, and accounting server AAA; The request message is used to trigger the BNG to perform the charging operation.
  • the second message processing module 20 is connected to the first message processing module 10, and configured to send the second meter to the AAA after receiving the first charging termination message sent by the AC. The fee termination message; wherein the first charging termination message is used to trigger the BNG to stop the charging operation.
  • the AC is only used as a triggering factor for the start and end of the charging.
  • the first message processing module 10 sends a second charging request message to the AAA.
  • the second message processing module 20 After receiving the first charging termination message sent by the AC, sending a second charging termination message to the AAA, where the first charging request message is used to trigger the BNG to perform a charging operation;
  • the message is used to trigger the above-mentioned BNG to stop the charging operation, and solves the problem that the function division of the AC and the BNG is not clear in the charging operation in the related art, thereby realizing the clear division of the functions of the AC and the BNG in the charging operation, thereby further clarifying
  • the billing operation process improves billing efficiency.
  • FIG. 10 is a block diagram of a first specific structure of the charging device according to the embodiment of the present invention.
  • the foregoing apparatus further includes: an accounting response message sending module 30, connected to the first message processing module 10, configured to send a charging response message to the AC.
  • FIG. 11 is a block diagram of a second specific structure of a charging apparatus according to an embodiment of the present invention.
  • the apparatus includes: a charging module 40, and a connection, in addition to the modules shown in FIG.
  • the charging response message sending module 30 is configured to perform the charging operation according to the charging policy.
  • the data reporting module 50 is connected to the charging module 40 and configured to report the intermediate charging data to the AAA.
  • the charging operation procedure of the BNG is also described in the foregoing.
  • the embodiment provides a preferred implementation manner.
  • the charging module 40 includes: an accounting unit, configured to receive a new charging policy sent by the AAA, according to The above new charging policy performs a charging operation.
  • the device further includes: a deleting module, configured to delete the charging policy.
  • the foregoing first charging request message or the second charging request message carries an Internet Protocol IP address of the user equipment, and/or a user identifier, and/or a media access control MAC address.
  • the first charging request message or the second charging request message carries the public network IP address and port set of the user equipment, and/or the user identifier, and/or The above MAC address.
  • the first charging termination message or the second charging termination message carries the IP address of the user equipment, and/or the user identifier, and/or the MAC address;
  • the first charging termination message or the second charging termination message carries the public network IP address and port set of the user equipment, and/or the user identifier, and/or the MAC address.
  • the AC does not participate in the substantial charging data collection and reporting function, and only serves as a trigger for charging start and termination.
  • the AC sends a charging request message to the BNG to trigger the BNG to perform the charging operation, and then the BNG starts to perform the charging operation, and the AC sends an accounting termination message to the BNG to trigger the BNG to end the charging operation. . Therefore, the function division of the AC and the BNG is clear in the charging operation, thereby clarifying the charging operation flow and improving the charging efficiency.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • the computing device may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

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

Abstract

本发明公开了一种计费方法及装置。其中,该方法包括:BNG接收AC发送的第一计费请求消息后,向AAA发送第二计费请求消息;其中,上述第一计费请求消息用于触发上述BNG执行计费操作;上述BNG接收到上述AC发送的第一计费终止消息后,向上述AAA发送第二计费终止消息;其中,上述第一计费终止消息用于触发上述BNG停止计费操作。通过本发明,解决了相关技术中的计费操作中,AC与BNG的功能分割尚未明确的问题,从而实现了计费操作中AC与BNG的功能分割明确,进而明确了计费操作流程,提高了计费效率。

Description

计费方法及装置
技术领域 本发明涉及通信领域, 具体而言, 涉及一种计费方法及装置。 背景技术 随着无线局域网 (Wireless Local Area Network, 简称为 WLAN) 接入技术的日益 成熟和普及, 以及用户对高速无线接入的需求, 国内外运营商都在大力发展 WLAN业 务。 WLAN业务作为第二代 (2nd Generation, 简称为 2G)、 第三代 (3rd Generation, 简称为 3G) 的分流手段, 作用越来越重要。 WLAN接入属于固网的补充接入方式, 如何实时有效地掌握和管理用户通过 WLAN的接入情况, 成为开展 WLAN增值业务 的关键。 同时, 这将有助于运营商进行网络优化。 图 1是根据相关技术的 WLAN网络的一种组网场景的示意图,如图 1所示, WLAN 网络主要由用户设备 (User Equipment, 简称为 UE)、 接入节点 (Access Point, 简称 为 AP)、接入控制器(Access Controller,简称为 AC)、宽带网络网关(Broadband Network Gateway, 简称为 BNG) 以及认证、 授权和计费服务器 (Authentication Authorization Accounting, 简称为 AAA) 组成。 在图 1所示的场景下, UE为 802.1X客户端, AP 是为 UE进入有线网络提供的无线接入节点, AC用来管理 AP, 给 AP下发数据配置, 同时 AC充当 802.1x认证器及远程用户拨号认证系统 (Remote Authentication Dial In Service, 简称为 RADIUS)客户端, BNG为 RADIUS代理, AAA为 RADIUS服务器。 在相关技术中, WLAN接入网络与固定网络交互架构下, AC与 BNG进行计费操 作之前, 需要先进行 UE的认证, 下面对基于图 1所示场景的 UE认证流程进行介绍, 图 2是根据相关技术的 UE认证的流程图, UE在固定网络附着并进行接入认证。上述 UE认证的流程包括以下步骤 (步骤 S202-步骤 S226): 步骤 S202, UE向 AC发送一个 EAPoL-Start报文, 开始 802. IX认证接入。 步骤 S204, AC向 UE发送 EAP-Identity-Request报文, 要求 UE上报用户标识。 步骤 S206, UE回复 EAP-Identity-Response报文给 AC, 其中包含用户标识。 步骤 S208, AC将收到的 EAP帧封装到 ADIUS-Access-Request报文中, 发送给 BNG; 同时, AC在 RADIUS-Access-Request报文中添加 UE的 MAC地址。 步骤 S210, BNG 作为 ADIUS Proxy ( RADIUS 代理), 将上述 ADIUS-Access- equest发送给 RADIUS服务器 AAA。 步骤 S212, AAA回复 RADIUS-Access-Response, 其中包含 EAP Challenge。 步骤 S214, BNG将上述 RADIUS-Access-Response转给 AC。 步骤 S216, AC 解封出 EAP 帧发送给 UE, UE 进行回复, 回复的消息中包含
Challenged Password。 步骤 S218, AC将收到的 EAP帧封装到 ADIUS-Access-Request报文中发送, 其 中包含 Challenged Password。 步骤 S220, BNG将 RADIUS-Access-Request转发给 AAA。 步骤 S222, 若认证成功, 贝 lj BBF AAA回复 RADIUS-Access-Accept。 步骤 S224, BNG存储 UE的用户标识及 MAC地址,并将 ADIUS-Access- Accept 转发给 AC。 步骤 S226, AC解封出 EAP帧, 发送 EAP-Success给 UE, UE完成认证。 在相关技术中, WLAN接入网络与固定网络交互架构下, 在进行计费流程时, AC 与 BNG的功能分割尚未明确, 特别是上述图 1所示场景下如何触发计费, 没有较好 的解决方案。 针对相关技术中的计费操作中, AC与 BNG的功能分割尚未明确的问题, 目前尚 未提出有效的解决方案。 发明内容 针对相关技术中的计费操作中, AC与 BNG的功能分割尚未明确的问题, 本发明 提供了一种计费方法及装置, 以至少解决上述问题。 根据本发明的一个方面, 提供了一种计费方法, 该方法包括: BNG接收 AC发送 的第一计费请求消息后, 向 AAA发送第二计费请求消息; 其中, 上述第一计费请求 消息用于触发上述 BNG执行计费操作; 上述 BNG接收到上述 AC发送的第一计费终 止消息后, 向上述 AAA发送第二计费终止消息; 其中, 上述第一计费终止消息用于 触发上述 BNG停止计费操作。 上述 BNG接收到上述 AC发送的上述第一计费终止消息之前,上述方法还可以包 括: 上述 AC接收用户设备发送的下线通知消息。 上述 BNG向上述 AAA发送上述第二计费请求消息之后, 上述方法还可以包括: 上述 BNG向上述 AC发送计费响应消息。 上述 BNG接收到上述 AC发送的上述第一计费终止消息之前,上述方法还可以包 括: 上述 BNG根据计费策略执行计费操作, 并向上述 AAA上报中间计费数据。 上述 BNG根据上述计费策略执行计费操作可以包括: 上述 BNG接收上述 AAA 发送的新的计费策略, 根据上述新的计费策略执行计费操作。 上述 BNG接收到上述 AC发送的第一计费终止消息后,上述方法还可以包括: 上 述 BNG删除上述计费策略。 当上述 AC上不存在 NAPT时, 上述第一计费请求消息或上述第二计费请求消息 中携带有用户设备的互联网协议 IP地址、 和 /或用户标识、 和 /或媒体接入控制 MAC 地址; 当上述 AC上存在上述 NAPT时, 上述第一计费请求消息或上述第二计费请求 消息中携带有上述用户设备的公网 IP地址及端口集、 和 /或上述用户标识、 和 /或上述 MAC地址。 当上述 AC上不存在 NAPT时, 上述第一计费终止消息或上述第二计费终止消息 中可以携带有用户设备的 IP地址、 和 /或用户标识、 和 /或 MAC地址; 当上述 AC上 存在上述 NAPT时, 上述第一计费终止消息或上述第二计费终止消息中可以携带有上 述用户设备的公网 IP地址及端口集、 和 /或上述用户标识、 和 /或上述 MAC地址。 根据本发明的另一方面, 提供了一种计费装置, 该装置包括: 第一消息处理模块, 设置为接收到 AC发送的第一计费请求消息后,向 AAA发送第二计费请求消息;其中, 上述第一计费请求消息用于触发上述 BNG执行计费操作; 第二消息处理模块, 设置 为接收到上述 AC发送的第一计费终止消息后, 向上述 AAA发送第二计费终止消息; 其中, 上述第一计费终止消息用于触发上述 BNG停止计费操作。 上述装置还可以包括: 计费响应消息发送模块, 设置为向上述 AC发送计费响应 消息。 上述装置还可以包括: 计费模块, 设置为根据计费策略执行计费操作; 数据上报 模块, 设置为向上述 AAA上报中间计费数据。 上述计费模块可以包括: 计费单元, 设置为接收上述 AAA发送的新的计费策略, 根据上述新的计费策略执行计费操作。 上述装置还可以包括: 删除模块, 设置为删除上述计费策略。 当上述 AC上不存在 NAPT时, 上述第一计费请求消息或上述第二计费请求消息 中可以携带有用户设备的互联网协议 IP 地址、 和 /或用户标识、 和 /或媒体接入控制 MAC地址; 当上述 AC上存在上述 NAPT时,上述第一计费请求消息或上述第二计费 请求消息中可以携带有上述用户设备的公网 IP地址及端口集、 和 /或上述用户标识、 和 /或上述 MAC地址。 当上述 AC上不存在 NAPT时, 上述第一计费终止消息或上述第二计费终止消息 中可以携带有用户设备的 IP地址、 和 /或用户标识、 和 /或 MAC地址; 当上述 AC上 存在上述 NAPT时, 上述第一计费终止消息或上述第二计费终止消息中可以携带有上 述用户设备的公网 IP地址及端口集、 和 /或上述用户标识、 和 /或上述 MAC地址。 通过本发明, BNG接收 AC发送的第一计费请求消息后, 向 AAA发送第二计费 请求消息, 然后 BNG计费操作, 上述 BNG接收到上述 AC发送的第一计费终止消息 后, 向上述 AAA发送第二计费终止消息; 其中, 上述第一计费请求消息用于触发上 述 BNG执行计费操作; 上述第一计费终止消息用于触发上述 BNG停止计费操作, 解 决了相关技术中的计费操作中, AC与 BNG的功能分割尚未明确的问题, 从而实现了 计费操作中 AC与 BNG的功能分割明确,进而明确了计费操作流程,提高了计费效率。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据相关技术的 WLAN网络的一种组网场景的示意图; 图 2是根据相关技术的 UE认证的流程图; 图 3是根据本发明实施例的计费方法的流程图; 图 4是根据本发明实施例的由 BNG分配 IP地址的计费开始流程的流程图; 图 5是根据本发明实施例的一种由 AC分配 IP地址的计费开始流程的流程图; 图 6是根据本发明实施例的另一种由 AC分配 IP地址的计费开始流程的流程图; 图 7是根据本发明实施例的计费中间流程的流程图; 图 8是根据本发明实施例的计费终止流程的流程图; 图 9是根据本发明实施例的计费装置的结构框图; 图 10是根据本发明实施例的计费装置的第一种具体结构框图; 图 11是根据本发明实施例的计费装置的第二种具体结构框图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 为了明确计费操作流程中 AC和 BNG的功能分工,本发明实施例提供了一种计费 方法及装置, 下面通过实施例进行具体介绍。 图 3是根据本发明实施例的计费方法的流程图, 如图 3所示, 该方法包括以下步 骤 (步骤 S302-步骤 S304): 步骤 S302, BNG接收 AC发送的第一计费请求消息后, 向 AAA发送第二计费请 求消息; 其中, 上述第一计费请求消息用于触发 BNG执行计费操作; 步骤 S304, BNG接收到 AC发送的第一计费终止消息后, 向 AAA发送第二计费 终止消息; 其中, 上述第一计费终止消息用于触发 BNG停止计费操作。 通过上述方法, AC只作为计费开始与终止的触发因素, BNG接收 AC发送的第 一计费请求消息后, 向 AAA发送第二计费请求消息,然后 BNG计费操作, 上述 BNG 接收到上述 AC发送的第一计费终止消息后, 向上述 AAA发送第二计费终止消息;其 中, 上述第一计费请求消息用于触发上述 BNG执行计费操作; 上述第一计费终止消 息用于触发上述 BNG停止计费操作, 解决了相关技术中的计费操作中, AC与 BNG 的功能分割尚未明确的问题, 从而实现了计费操作中 AC与 BNG的功能分割明确,进 而明确了计费操作流程, 提高了计费效率。 在本实施例中, AC 不参与实质的计费数据收集与上报功能, 只作为计费开始与 终止的触发因素, 即 AC上没有 UE的计费策略。 下面分别对计费开始和计费终止的 过程进行介绍。 计费开始的过程具体如下:当 BNG收到来自 AC的第一计费请求消息后,向 AAA 发送第二计费请求消息, BNG开始用户计费。 在 BNG接收到 AC发送的第一计费终 止消息之前, AC接收用户设备发送的下线通知消息, 然后 AC向 BNG发送第一计费 终止消息。优选的, 在 BNG向 AAA发送第二计费请求消息之后, BNG向 AC回复计 费响应消息。 当 AC上不存在 NAPT时, AC向 BNG发送的第一计费请求消息中携带 UE的 IP 地址、和 /或用户标识、和 /或 MAC地址; 当 AC上存在 NAPT时, AC向 BNG发送的 第一计费请求消息中携带 UE的公网 IP地址及端口集、 和 /或用户标识、 和 /或 MAC 地址。 BNG收到 AC发送的第一计费请求消息后, 为 UE生成计费请求消息, 并将第 二计费请求消息发送给 AAA。 当 AC上不存在 NAPT时, 上述第二计费请求消息中携 带 UE的 IP地址、 和 /或用户标识、 禾 Π/或 MAC地址; 当 AC上存在 NAPT时, BNG 发送给 AAA的第二计费请求消息中携带 UE的公网 IP地址及端口集、和 /或用户标识、 和 /或 MAC地址。 在此之后, BNG开始执行计费操作, 具体地, BNG根据计费策略执行计费操作, 负责计费数据的收集, 并向 AAA上报中间计费数据。 在此期间, AC可能会向 BNG 上报中间计费数据,在本实施例中, BNG可以选择忽略 AC上报的中间计费数据。 BNG 执行计费操作所需的计费策略由 AAA下发, 在 AAA下发新的计费策略后, BNG进 行策略更新, 并按照新的计费策略进行计费。 基于此, 本实施例提供了一种优选实施 方式, 即 BNG根据计费策略执行计费操作包括: BNG接收 AAA发送的新的计费策 略, 根据新的计费策略执行计费操作。 这样, BNG可以及时采取最新的计费策略进行 计费操作, 优化了计费流程。 在 BNG接收到 AC发送的第一计费终止消息后, BNG 删除上述计费策略。 计费结束的过程具体如下: AC收到用户设备发送的 EAP下线通知消息后,向 BNG 发送第一计费终止消息。 当 BNG收到来自 AC的第一计费终止消息后, 向 AAA发送 第二计费终止消息, AC发送的第一计费终止消息用于触发停止用户计费。 当 AC上不存在 NAPT时, AC向 BNG发送的第一计费终止消息中携带 UE的 IP 地址、和 /或用户标识、和 /或 MAC地址; 当 AC上存在 NAPT时, AC向 BNG发送的 第一计费终止消息中携带 UE的公网 IP地址及端口集、 和 /或用户标识、 和 /或 MAC 地址。 BNG收到 AC发送的第一计费终止消息后, 为 UE生成计费终止消息, 并将第 二计费终止消息发送给 AAA, 当 AC上不存在 NAPT时, 第二计费终止消息中携带 UE的 IP地址、 和 /或用户标识、 和 /或 MAC地址; 当 AC上存在 NAPT时, BNG发 送给 AAA的第二计费终止消息中携带 UE的公网 IP地址及端口集、 和 /或用户标识、 和 /或 MAC地址。 在计费开始之前, 需要先对用户设备进行认证, 在认证通过后, 再执行后续的计 费操作。 下面分别针对不同的认证过程, 对计费开始流程进行介绍。 图 4是根据本发明实施例的由 BNG分配 IP地址的计费开始流程的流程图, 如图 4所示, 该流程包括以下步骤 (步骤 S402-步骤 S410): 步骤 S402, UE发起动态主机配置协议 (Dynamic Host Configuration Protocol, 简 称为 DHCP) DHCPv4地址请求, AC支持 DHCP Relay功能, 将地址请求消息转发给 BNG, BNG支持 DHCP Server功能, 为 UE分配 IPv4地址。 具体地, AC根据地址请求消息中携带的 MAC地址,判断上述 UE是否通过认证, 若通过认证, 则将该地址请求消息转发给 BNG; 或者, AC不对 UE进行认证, 直接 将来自 UE的地址请求消息转发给 BNG,BNG根据地址请求消息中携带的 MAC地址, 判断该 UE是否通过认证, 若通过认证, 则 BNG给 UE分配 IP地址。 步骤 S404, 地址分配成功后, AC发起计费请求消息 (Accounting-Request), 发 送给 BNG, 其中携带 UE的 IP地址、 和 /或用户标识、 和 /或 MAC地址。 步骤 S406, BNG收到 AC发送的计费请求消息后, 为该 UE生成新的计费请求消 息 ( Accounting-Request ) , 发送给 AAA。 步骤 S408, BNG给 AC回复计费响应消息( Accounting-Response )。上述步骤 S406 与步骤 S408的执行时机没有固定的先后顺序。 步骤 S410, AAA给 BNG回复计费响应消息 ( Accounting-Response )。 计费开始。 图 5是根据本发明实施例的一种由 AC分配 IP地址的计费开始流程的流程图, 如 图 5所示, 该流程包括以下步骤 (步骤 S502-步骤 S510): 步骤 S502, UE发起 DHCPv4地址请求, AC支持 DHCP Server功能, 为 UE分配 IPv4地址。 具体地, AC根据地址请求消息中携带的 MAC地址, 判断该 UE是否通过认证, 若通过认证, 则 AC给 UE分配 IP地址。 步骤 S504, 地址分配成功后, AC发起计费请求消息 (Accounting-Request), 发 送给 BNG, 其中, 计费请求消息中携带 UE的 IP地址, 和 /或用户标识、 和 /或 MAC 地址。 步骤 S506, BNG收到 AC发送的计费请求消息后, 为该 UE生成新的计费请求消 息 ( Accounting-Request ) , 发送给 AAA。 步骤 S508, BNG给 AC回复计费响应消息( Accounting-Response )。上述步骤 S506 与步骤 S508的执行时机没有固定的先后顺序。 步骤 S510, AAA给 BNG回复计费响应消息 ( Accounting-Response )。 计费开始。 图 6是根据本发明实施例的另一种由 AC分配 IP地址的计费开始流程的流程图, 如图 6所示, 该流程包括以下步骤 (步骤 S602-步骤 S610): 步骤 S602, UE发起 DHCPv4地址请求, AC支持 DHCP Server功能, 为 UE分配 私网 IPv4地址。 具体地, AC根据地址请求消息中携带的 MAC地址, 判断该 UE是否通过认证, 若通过认证,则给 UE分配私网 IP地址。 AC支持网络地址端口转换(Network Address Port Translation, 简称为 NAPT) 功能, 将分配给 UE的私网地址转换为对应的公网地 址与端口集 (Port Set)。 步骤 S604, 地址分配成功后, AC发起计费请求消息 (Accounting-Request), 发 送给 BNG, 其中, 计费请求消息中携带 UE的公网地址与端口集、 和 /或用户标识、 和 /或 MAC地址; 步骤 S606, BNG收到 AC发送的计费请求消息后, 为该 UE生成新的计费请求消 息 ( Accounting-Request ) , 发送给 AAA。 步骤 S608, BNG给 AC回复计费响应消息( Accounting-Response )。上述步骤 S606 与步骤 S608的执行时机没有固定的先后顺序。 步骤 S610, AAA给 BNG回复计费响应消息 ( Accounting-Response )。 计费开始。 前面对计费开始流传进行了介绍,在对用户进行认证, 并且 BNG接收到 AC发送 的用于触发 BNG执行计费操作的计费请求消息之后, BNG开始执行计费操作。 下面 对 BNG的计费中间流程进行介绍。 图 7是根据本发明实施例的计费中间流程的流程图, 如图 7所示, BNG根据计费 策略向 AAA上报中间计费数据, AAA进行回复。 其中, AC不参与实质的计费数据 收集与上报功能, 只作为计费初始的触发因素, 即 AC上没有 UE的计费策略。 或者, AAA下发新的计费策略, BNG进行策略更新, 并按新的计费策略进行计费。
BNG执行完计费操作之后, 下面对计费终止流程进行介绍, 在计费终止流程中, AC向 BNG发送计费终止消息, 该计费终止消息用于触发 BNG结束计费操作。 图 8 是根据本发明实施例的计费终止流程的流程图,如图 8所示,该流程包括以下步骤(步 骤 S802-步骤 S806):。 步骤 S802, UE发起 EAP_Logoff帧, 通知下线。 步骤 S804, AC向 BNG发送计费终止消息 (Accounting-Stop), 其中, 在 AC存 在 NAPT的场景下,计费终止消息中携带有 UE的公网地址与端口集、和 /或用户标识、 和 /或 MAC地址; 在 AC不存在 NAPT的场景下, 计费终止消息中携带有 UE的 IP地 址、 和 /或用户标识、 和 /或 MAC地址。 步骤 S806, BNG收到来自 AC的计费终止消息 (Accounting-Stop) 后, 为该 UE 生成新的计费终止消息, 发送给 AAA。 计费结束。 对应于上述计费方法, 本实施例还提供了一种计费装置, 该装置一般设置在 BNG 侧, 用于实现上述实施例。 图 9是根据本发明实施例的计费装置的结构框图, 如图 9 所示, 该装置包括: 第一消息处理模块 10和第二消息处理模块 20。 下面对该结构进 行说明。 第一消息处理模块 10,设置为接收到接入控制器 AC发送的第一计费请求消息后, 向认证、 授权和计费服务器 AAA发送第二计费请求消息; 其中, 上述第一计费请求 消息用于触发 BNG执行计费操作; 第二消息处理模块 20, 连接至第一消息处理模块 10, 设置为接收到上述 AC发送 的第一计费终止消息后, 向上述 AAA发送第二计费终止消息; 其中, 上述第一计费 终止消息用于触发 BNG停止计费操作。 通过上述装置, AC只作为计费开始与终止的触发因素, 第一消息处理模块 10接 收 AC发送的第一计费请求消息后, 向 AAA发送第二计费请求消息;第二消息处理模 块 20接收到上述 AC发送的第一计费终止消息后, 向上述 AAA发送第二计费终止消 息; 其中, 上述第一计费请求消息用于触发上述 BNG执行计费操作; 上述第一计费 终止消息用于触发上述 BNG停止计费操作, 解决了相关技术中的计费操作中, AC与 BNG的功能分割尚未明确的问题, 从而实现了计费操作中 AC与 BNG的功能分割明 确, 进而明确了计费操作流程, 提高了计费效率。 在本实施例中, AC 不参与实质的计费数据收集与上报功能, 只作为计费开始与 终止的触发因素, 即 AC上没有 UE的计费策略。 下面分别对计费开始和计费终止的 过程进行介绍。 前面已经对计费开始和计费终止的过程进行了介绍, 在此不再赘述。 对应于前面 介绍的计费开始和计费终止的过程,本实施例提供了一种优选实施方式, 图 10是根据 本发明实施例的计费装置的第一种具体结构框图, 如图 10所示, 上述装置除了包括图 9中所示的各个模块之外, 还包括: 计费响应消息发送模块 30, 连接至第一消息处理 模块 10, 设置为向上述 AC发送计费响应消息。 图 11是根据本发明实施例的计费装置的第二种具体结构框图, 如图 11所示, 上 述装置除了包括图 10中所示的各个模块之外, 还包括: 计费模块 40, 连接至计费响 应消息发送模块 30, 设置为根据计费策略执行计费操作; 数据上报模块 50, 连接至计 费模块 40, 设置为向上述 AAA上报中间计费数据。 对于 BNG 的计费操作流程, 前面也进行了介绍, 本实施例提供了一种优选实施 方式, 上述计费模块 40包括: 计费单元, 设置为接收上述 AAA发送的新的计费策略, 根据上述新的计费策略执行计费操作。 上述装置还包括: 删除模块, 设置为删除上述 计费策略。 当上述 AC上不存在 NAPT时, 上述第一计费请求消息或上述第二计费请求消息 中携带有用户设备的互联网协议 IP地址、 和 /或用户标识、 和 /或媒体接入控制 MAC 地址; 当上述 AC上存在上述 NAPT时, 上述第一计费请求消息或上述第二计费请求 消息中携带有上述用户设备的公网 IP地址及端口集、 和 /或上述用户标识、 和 /或上述 MAC地址。 当上述 AC上不存在 NAPT时, 上述第一计费终止消息或上述第二计费终止消息 中携带有用户设备的 IP地址、 和 /或用户标识、 和 /或 MAC地址; 当上述 AC上存在 上述 NAPT时, 上述第一计费终止消息或上述第二计费终止消息中携带有上述用户设 备的公网 IP地址及端口集、 和 /或上述用户标识、 和 /或上述 MAC地址。 从以上的描述中可以看出, 在本发明中, AC 不参与实质的计费数据收集与上报 功能, 只作为计费开始与终止的触发因素。 在计费开始时, AC向 BNG发送计费请求 消息, 用以触发 BNG执行计费操作, 然后 BNG开始执行计费操作, AC再向 BNG发 送计费终止消息, 用以触发 BNG结束计费操作。 从而实现了计费操作中 AC与 BNG 的功能分割明确, 进而明确了计费操作流程, 提高了计费效率。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种计费方法, 包括:
宽带网络网关 BNG接收接入控制器 AC发送的第一计费请求消息后,向认 证、 授权和计费服务器 AAA发送第二计费请求消息; 其中, 所述第一计费请 求消息用于触发所述 BNG执行计费操作;
所述 BNG接收到所述 AC发送的第一计费终止消息后, 向所述 AAA发送 第二计费终止消息; 其中, 所述第一计费终止消息用于触发所述 BNG停止计 费操作。
2. 根据权利要求 1所述的方法,其中,所述 BNG接收到所述 AC发送的所述第一 计费终止消息之前, 所述方法还包括:
所述 AC接收用户设备发送的下线通知消息。
3. 根据权利要求 1所述的方法, 其中, 所述 BNG向所述 AAA发送所述第二计费 请求消息之后, 所述方法还包括:
所述 BNG向所述 AC发送计费响应消息。
4. 根据权利要求 1所述的方法,其中,所述 BNG接收到所述 AC发送的所述第一 计费终止消息之前, 所述方法还包括:
所述 BNG根据计费策略执行计费操作,并向所述 AAA上报中间计费数据。
5. 根据权利要求 4所述的方法, 其中, 所述 BNG根据所述计费策略执行计费操 作包括:
所述 BNG接收所述 AAA发送的新的计费策略,根据所述新的计费策略执 行计费操作。
6. 根据权利要求 4所述的方法,其中,所述 BNG接收到所述 AC发送的第一计费 终止消息后, 所述方法还包括:
所述 BNG删除所述计费策略。
7. 根据权利要求 1所述的方法, 其中, 当所述 AC上不存在 NAPT时, 所述第一计费请求消息或所述第二计费请 求消息中携带有用户设备的互联网协议 IP地址、 和 /或用户标识、 和 /或媒体接 入控制 MAC地址;
当所述 AC上存在所述 NAPT时, 所述第一计费请求消息或所述第二计费 请求消息中携带有所述用户设备的公网 IP地址及端口集、和 /或所述用户标识、 和 /或所述 MAC地址。
8. 根据权利要求 1所述的方法, 其中,
当所述 AC上不存在 NAPT时, 所述第一计费终止消息或所述第二计费终 止消息中携带有用户设备的 IP地址、 和 /或用户标识、 和 /或 MAC地址;
当所述 AC上存在所述 NAPT时, 所述第一计费终止消息或所述第二计费 终止消息中携带有所述用户设备的公网 IP地址及端口集、和 /或所述用户标识、 和 /或所述 MAC地址。
9. 一种计费装置, 包括:
第一消息处理模块, 设置为接收到接入控制器 AC发送的第一计费请求消 息后, 向认证、 授权和计费服务器 AAA发送第二计费请求消息; 其中, 所述 第一计费请求消息用于触发 BNG执行计费操作;
第二消息处理模块, 设置为接收到所述 AC发送的第一计费终止消息后, 向所述 AAA发送第二计费终止消息; 其中, 所述第一计费终止消息用于触发 所述 BNG停止计费操作。
10. 根据权利要求 9所述的装置, 其中, 所述装置还包括:
计费响应消息发送模块, 设置为向所述 AC发送计费响应消息。
11. 根据权利要求 9所述的装置, 其中, 所述装置还包括: 计费模块, 设置为根据计费策略执行计费操作;
数据上报模块, 设置为向所述 AAA上报中间计费数据。
12. 根据权利要求 11所述的装置, 其中, 所述计费模块包括:
计费单元, 设置为接收所述 AAA发送的新的计费策略, 根据所述新的计 费策略执行计费操作。
13. 根据权利要求 12所述的装置, 其中, 所述装置还包括: 删除模块, 设置为删除所述计费策略。
14. 根据权利要求 9所述的装置, 其中,
当所述 AC上不存在 NAPT时, 所述第一计费请求消息或所述第二计费请 求消息中携带有用户设备的互联网协议 IP地址、 和 /或用户标识、 和 /或媒体接 入控制 MAC地址;
当所述 AC上存在所述 NAPT时, 所述第一计费请求消息或所述第二计费 请求消息中携带有所述用户设备的公网 IP地址及端口集、和 /或所述用户标识、 和 /或所述 MAC地址。
15. 根据权利要求 9所述的装置, 其中,
当所述 AC上不存在 NAPT时, 所述第一计费终止消息或所述第二计费终 止消息中携带有用户设备的 IP地址、 和 /或用户标识、 和 /或 MAC地址;
当所述 AC上存在所述 NAPT时, 所述第一计费终止消息或所述第二计费 终止消息中携带有所述用户设备的公网 IP地址及端口集、和 /或所述用户标识、 和 /或所述 MAC地址。
PCT/CN2013/081740 2012-08-24 2013-08-19 计费方法及装置 WO2014029307A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US14/422,468 US9408057B2 (en) 2012-08-24 2013-08-19 Accounting method and device
EP13830340.9A EP2890051A4 (en) 2012-08-24 2013-08-19 METHOD AND DEVICE FOR ACCOUNTING

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210305212.1 2012-08-24
CN201210305212.1A CN103634772B (zh) 2012-08-24 2012-08-24 计费方法及装置

Publications (1)

Publication Number Publication Date
WO2014029307A1 true WO2014029307A1 (zh) 2014-02-27

Family

ID=50149434

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/081740 WO2014029307A1 (zh) 2012-08-24 2013-08-19 计费方法及装置

Country Status (4)

Country Link
US (1) US9408057B2 (zh)
EP (1) EP2890051A4 (zh)
CN (1) CN103634772B (zh)
WO (1) WO2014029307A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852135A (zh) * 2005-07-12 2006-10-25 华为技术有限公司 一种保护接入用户安全的方法
CN101282225A (zh) * 2007-04-04 2008-10-08 华为技术有限公司 计费网络、计费方法和网关
US20090209229A1 (en) * 2008-02-16 2009-08-20 Yigang Cai Offline charging for sessions over a 3gpp network and a wlan access network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101437021B (zh) * 2007-11-16 2013-08-07 华为技术有限公司 一种对接入提示信息的处理方法、系统及装置
CN101447887B (zh) * 2007-11-27 2012-06-27 华为技术有限公司 一种通知用户上线的方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852135A (zh) * 2005-07-12 2006-10-25 华为技术有限公司 一种保护接入用户安全的方法
CN101282225A (zh) * 2007-04-04 2008-10-08 华为技术有限公司 计费网络、计费方法和网关
US20090209229A1 (en) * 2008-02-16 2009-08-20 Yigang Cai Offline charging for sessions over a 3gpp network and a wlan access network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2890051A4 *

Also Published As

Publication number Publication date
CN103634772A (zh) 2014-03-12
US9408057B2 (en) 2016-08-02
CN103634772B (zh) 2018-10-23
EP2890051A4 (en) 2016-02-24
US20150223041A1 (en) 2015-08-06
EP2890051A1 (en) 2015-07-01

Similar Documents

Publication Publication Date Title
KR100442594B1 (ko) 무선통신 시스템의 패킷 데이터 서비스 방법 및 장치
JP5351181B2 (ja) 異種ネットワークのためのワンパス認証機構およびシステム
WO2007124694A1 (fr) Procédé, système et dispositif de facturation réseau
US8453211B2 (en) Method of obtaining proxy call session control function address while roaming
EP3226594B1 (en) Method, device and system for obtaining local domain name
TWI428031B (zh) 區域網協存取網路元件與終端設備的認證方法與裝置
WO2012142867A1 (zh) 一种认证通知方法及系统
WO2010091562A1 (zh) 用于固定网络与第三方网络或应用服务器交互的方法及装置
CN103974223B (zh) 无线局域网络与固网交互中实现认证及计费的方法及系统
WO2010118570A1 (zh) 一种WiMAX和WiFi网络融合的系统和装置
CN102742306A (zh) WiFi和WiMAX联网
WO2013071739A1 (zh) 一种Ipv4/Ipv6双栈用户计费方法及装置
WO2011134134A1 (zh) Wifi网络与wimax网络互通的方法、装置及系统
WO2014107969A1 (zh) 无线局域网络与固网交互中分配用户地址的方法及系统
WO2014029307A1 (zh) 计费方法及装置
WO2012152102A1 (zh) 一种用户信息的通知方法及系统
WO2012022212A1 (zh) 用户设备接入方法、装置及系统
US8908871B2 (en) Mobile internet protocol system and method for updating home agent root key
WO2009089773A1 (fr) Procédé et système d'authentification d'accès multi-hôte pour réseau wimax
WO2014121613A1 (zh) 一种位置信息的获取方法及相应装置
WO2013034056A1 (zh) 一种位置信息处理方法和系统
WO2009039710A1 (fr) Système et procédé d'écoute de réseau wimax
WO2009086769A1 (zh) 一种网络服务的协商方法和系统
WO2011088653A1 (zh) 一种分组数据服务节点的分配方法及系统
WO2013123849A1 (zh) 资源接纳控制方法、bng和pdp

Legal Events

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

Ref document number: 13830340

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14422468

Country of ref document: US

Ref document number: 2013830340

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE