WO2010060307A1 - Charging method and device for link-establishment message - Google Patents

Charging method and device for link-establishment message Download PDF

Info

Publication number
WO2010060307A1
WO2010060307A1 PCT/CN2009/072721 CN2009072721W WO2010060307A1 WO 2010060307 A1 WO2010060307 A1 WO 2010060307A1 CN 2009072721 W CN2009072721 W CN 2009072721W WO 2010060307 A1 WO2010060307 A1 WO 2010060307A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
building
charging
packet
rate
Prior art date
Application number
PCT/CN2009/072721
Other languages
French (fr)
Chinese (zh)
Inventor
胡翔
马秋茂
罗武军
屈琴
夏渊
陈小利
尤正刚
朱璎
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2010060307A1 publication Critical patent/WO2010060307A1/en

Links

Classifications

    • 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/1425Charging, metering or billing arrangements for data wireline or wireless communications involving dedicated fields in the data packet for billing purposes
    • 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/1432Metric aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to a method and apparatus for charging a link-building message. Background technique
  • GPRS support node Gashway GPRS Support Node, GGSN
  • FBC Flow-based Content Charging
  • DPI Deep Packet Inspection
  • HTTP Hypertext Transfer Protocol
  • TCP Transmission Control Protocol
  • Get message the most basic service packet flow is the chain-building process consisting of the three-way handshake of the Transmission Control Protocol (TCP) plus carrying the Get message.
  • TCP Transmission Control Protocol
  • the user accesses the Uniform Resource Locator (URL).
  • URL Uniform Resource Locator
  • the DPI parsing message gets the URL, it will determine the rate and control action of the service based on the URL matching the GGSN configuration rules.
  • GGSN Uniform Resource Locator
  • the traffic is measured first but the rate is not determined. That is, only the traffic of the link-building packet is counted before the Get packet, but the accounting is not performed.
  • the billing rate is matched by the real access service after the URL.
  • the embodiment of the present invention provides a charging method for establishing a link packet, which implements flexible charging for the link-building packet.
  • a method for charging a link-building message including:
  • a charging device for establishing a link message comprising:
  • a receiving module configured to receive a link-building message
  • a selection module configured to determine, according to the quintuple information carried in the first packet of the link-building message and the preset setting, the charging information of the link-building packet; when receiving the first link-building packet, according to The pre-configuration determines the billing information of the link-building message;
  • the charging module is configured to charge the link-building message according to the charging information determined by the selecting module.
  • the method provided by the embodiment of the present invention configures different charging information for the link-building packets of different services, and implements flexible charging for different service-building packets.
  • FIG. 1 is a first schematic diagram of a method for charging a link-building packet according to an embodiment of the present invention
  • FIG. 2 is a second schematic diagram of a method for charging a link-building packet according to an embodiment of the present invention
  • FIG. 3 is a first schematic diagram of a charging apparatus for establishing a link packet according to an embodiment of the present invention
  • FIG. 4 is a second schematic diagram of a charging apparatus for establishing a link packet according to an embodiment of the present invention. detailed description
  • an embodiment of the present invention provides a method for charging a link-building packet, including: si, when receiving the first packet of the link-building packet, according to the fifth packet carried in the first packet
  • the tuple information and the preset settings determine the billing information of the link-building message
  • the charging information of the link-building packet includes a charging rate and a charging mode, and the charging mode further includes:
  • the link-building message needs to be associated with the rate of the real service; or the link-building message is independently charged.
  • an operator may select different charging modes according to requirements, and may also configure different link-building packet charging information for different services to implement flexible charging of the link-building packets. It also provides operators with a variety of options.
  • an embodiment of the present invention provides a method for charging a link-building packet.
  • the HTTP protocol is used as an example to configure different link-building packet charging rates for different services on the GGSN, and the GGSN receives After the first link-building packet sent by the mobile station (MS), the billing rate and the billing mode of the link-building packet are determined.
  • the billing method is used in the manner of the link-building packet. To perform billing, such as independent billing, or associated rates to real business, and so on.
  • Step 1 Pre-configure different link-building packet charging rates and charging modes for different services on the GGSN.
  • Configure different billing rates for different services on the GGSN such as: Set the billing rate for the link-building message when the user visits www.sohu.com. X; User visits www.sina. When com builds a chain message, the rate is Y; when the user visits www.google.com, the rate of building a chain message is Z and so on.
  • the GGSN also configures different link-building packet charging methods for different services.
  • the link-building message needs to be associated with the real service, and the real-time method is adopted.
  • Billing When the user visits the stomach. sina.com, the link-building message needs to be associated with the real service, and the billing is performed in a non-real-time manner; when the user visits www.google.com, the link-building message adopts independent billing.
  • the so-called real service refers to the actual access service triggered after the connection is established.
  • the so-called association rate to the real service refers to the rate of the real chain service of the service according to the rate of the real service accessed by the service. fee.
  • a list is constructed on the GGSN, and the billing information corresponding to the link-building packets of the service is stored, and the list is matched with the quintuple information of the different services.
  • the quintuple information is specifically the source IP address and the source port number.
  • the GGSN matches the quintuple information carried in the first link-building packet of the corresponding service by matching the information of the target IP address, the destination port number, and the four-layer protocol type (TCP/UDP). Built-in packet accounting information.
  • Step 2 When receiving the first link-building packet SYN sent by the MS, the GGSN determines the charging rate and the charging mode of the link-building packet;
  • the GGSN matches the quintuple information of the service according to the quintuple information of the service carried in the link-building message SYN when receiving the first link-building message SYN sent by the user.
  • the billing rate and billing method of the text are charged according to the matching billing rate and billing method.
  • the GGSN is an intermediate network element in the process of establishing a connection between the user and the server.
  • the billing rate and billing mode of the chain packet when the real service is triggered, parses the received service stream through DPI and performs charging.
  • the GGSN obtains the source IP address of the www.sohu.com carried by the link-building packet as 192. 168. 8. 1.
  • the source port number is "1000. "
  • the target IP address is 192. 168. 8. 2.
  • the destination port number is "80"
  • the four-layer protocol type (TCP/UDP) is 6/17 (TCP is 6, UDP is 17), etc., based on this information. Find the rate and billing method of the link-building message corresponding to www.sohu.com in the list of GGSN.
  • Step 3 Calculate the link-building packet according to the billing rate and billing method determined by the GGSN, including the following situations:
  • the link-building packet needs to be associated with the rate of the real service, and the billing is performed in real time.
  • the rate of the link-building packet associated with the real service is specifically as follows: According to the rate of the real service accessed by the user after the link is established, the packet of the user when the link is established is charged.
  • the real-time mode is as follows: When receiving the first link-building packet SYN, apply for quotas to the online charging center, and monitor the quota in real time when receiving subsequent link-building packets. When the quota is insufficient, you can reject it. The service accessed by the user, that is, according to the quota, knows that the user's access is terminated immediately when the balance of the user is insufficient.
  • the link-building packet needs to be associated with the rate of the real service, and the billing is performed in real-time mode. Specifically, when the first packet SYN is received, the quota is applied to the online billing center, first according to the application quota and the chain-building. The rate of the message is counted, including:
  • a threshold is set in the center. When the threshold is met, the link-making packet is deducted at the online charging center. A threshold can also be set on the GGSN. When the threshold is reached, the link-building packet is reflected in the generated bill. 2. When the user does not access the real service, the user will charge the link-building packet according to the rate of the link-building message, and generate a bill to perform the actual deduction.
  • the link-building message can be charged according to the rate of the link-building, and a bill is generated.
  • the rate of the link-building packet associated with the real service is specifically as follows: According to the rate of the real service accessed by the user after the link is established, the packet of the user when the link is established is charged.
  • the real-time mode is as follows: Set a threshold on the GGSN. When the threshold is reached, the link-building packet is reflected in the generated bill.
  • the link-building packet needs to be associated with the rate of the real service, and the billing is performed in real time. Specifically, when the threshold is reached before accessing the real service, the rate of the link-building packet is reflected in the generated bill. After the real service, the unbilled link-building message is reflected in the generated bill according to the rate of the real service accessed.
  • E is the charging point where the GGSN receives the link-making message SYN for the first time
  • F is the charging point before the Get message is triggered after completing the three-way handshake protocol SYN-SYN ACK-ACK. .
  • the link-building packet that does not access the real service is charged according to the rate of the link-building packet itself.
  • online quota control is allowed. That is, when the first link-building packet is received, the GGSN applies for quotas to the online charging center according to the rate of the link-building packets, and receives the subsequent chain-building.
  • the quota is monitored in real time. When the quota is insufficient, the service accessed by the user is rejected.
  • the link-building message is also charged according to its own rate.
  • the link-building message for accessing the real service is associated with the rate of the real service, and is charged according to the rate of the real service accessed by the user.
  • the GGSN After the GGSN establishes a connection with the user, when the real service is triggered, the GGSN also obtains the service that the user wants to access according to the DPI of the Get message, such as the user logging in to the stomach.
  • the sohu.com is to browse the webpage or download the song, different
  • the rate of the business is different, such as the rate of browsing the webpage is xl, the rate of downloading the song is x2, etc.
  • the DPI parsing of the Get message the real service accessed by the MS can be obtained, and the service is obtained. The corresponding rate is charged for the link-building message according to the rate of the real service accessed.
  • the segmentation charging may also be adopted.
  • the charging is performed according to the rate of the link-building packet; when the real service is reached and the threshold is reached, there is no charging.
  • the link-building message is charged according to the rate of the real service accessed, including:
  • the threshold can be set in the online charging center
  • the online charging center For a prepaid user, the online charging center sets a time threshold or a traffic threshold for the prepaid user.
  • the online charging center sends the quota to the GGSN, and also sends the set time or traffic threshold to the GGSN.
  • the GGSN reports the traffic or time information of the received link-building packet to the online charging center, and deducts the charge at the online charging center.
  • the threshold can be set on the GGSN
  • the generation of the CDR is completed according to the time threshold set by the GGSN or the traffic threshold. When the threshold is met, it is reflected in the generated CDR.
  • the link-building packet before the accounting control point F reaches the time threshold or the traffic threshold set by the online charging center, or reaches the time threshold or traffic threshold generated by the GGSN, the link-building packet The deduction will be made at the online billing center or generated in the bill. If, at the charging control point F, the time threshold or the traffic threshold set by the online charging center is not reached, or the time threshold or the traffic threshold generated by the GGSN is not reached, the link-building message is not online. The fee center will charge the fee or it will not be generated in the bill.
  • the part of the link-building packet accesses the real service
  • the part of the link-building packet is associated with the real service, such as the charging point H after the Get message is parsed to the URL, and the fee is still not charged in the online charging center. , and no words have been generated
  • the link-building message embodied in the ticket will be associated with the rate of the real service, and the fee will be charged according to the rate of the real service. If the part of the link-building packet does not access the real service, the part of the link-building packet is still charged according to the rate of the link-building message.
  • the link-building packet needs to be associated with the rate of the real service, and the billing is performed in a non-real-time manner, then the link-building packet will not be quota-controlled in the online billing center, nor will it be in the As reflected in the user bill, it will all be associated with the rate of the real service message. If the real service has not been triggered, the link-building message can be charged according to the billing rate of the link-building message and reflected in the final bill. The rate of the link-building message itself can be deducted from the user's link-building message, or deducted at a lower rate.
  • the non-real-time mode is specifically: When receiving the first link-building packet SYN, neither apply for quota control, nor charge at the online billing center, only count traffic, and allow all users to establish with the corresponding server. When accessing the real service, the charging is performed according to the rate of the real service. When the real service is not accessed, the charging is performed according to the rate of the link-building message itself.
  • the billing process includes:
  • the link-building packet between the charging point E and the charging point F is charged according to the rate of the link-building message corresponding to the service.
  • online quota control is not performed, and the online center is not charged; whether it is for prepaid users or postpaid users, it is not reflected in the generated bills, such as setting an identifier inside the link-building message, so that The resulting phone bills will not be reflected in the bill, allowing them to access the real business.
  • the link time of the link-building packet configured in the GGSN expires, or the user ends the call before the real service is triggered, the link-building packet is charged according to the rate of the link-building packet, and is reflected in the user's bill. .
  • the link-building packets that do not access the real service are charged according to the rate of the link-building message, and are reflected in the online billing center deduction and bill.
  • the link-building packet is associated with the real service, and the billing is performed in a non-real-time manner.
  • the link-building packet in the chain-building process is not online billed and is not reflected in the bill, enabling the user to build the chain.
  • the free service can establish a connection smoothly, and the link-building message accessing the real service is charged at the rate of the real service.
  • the link-building message that does not access the real service is calculated by the rate of the link-building message itself. At the same time, different rates are configured for the link-building packets of different services, and flexible control and charging for the link-building packets are realized. 3.
  • the charging process includes: the link-building packet between the charging point E and the charging point F is in accordance with the link-building packet corresponding to the service. Rate and billing mode for billing, and allow online quota control, and will be reflected in the generated bills; billing rate of link-building packets and billing control point H after the Get message is parsed to the URL The rate has nothing to do.
  • the independent charging mode is adopted for the link-building packets, which is implemented in the context of configuring different billing rates for the link-building packets of different services. Therefore, it is also possible to implement different types of link-building packets for different services. Billing, which implements flexible control and billing for link-building packets.
  • the method provided by the embodiment of the present invention is applicable to all protocols that need to establish a connection before accessing real service packets, such as the HTTP protocol; other Real Time Streaming Protocol (RTSP) using TCP, and a file transfer protocol ( Fi le Transfer
  • the network element for receiving the link-building packet and determining the charging rate and charging mode of the link-building packet is not limited to the GGSN, and other similar functions may be used in different protocols or in different scenarios. Yuan to replace.
  • the embodiment of the present invention further provides a charging method for establishing a link message, and the user accesses www.sohu.com through a mobile phone as an example, including:
  • the source IP address is preset to 192. 168. 1, the source port number is "1000”, the destination IP address is 192. 168. 2.
  • the destination port number is "80”, and the four-layer protocol type (TCP/UDP).
  • the rate of the link-building packets corresponding to the service of the 6/17 service is X.
  • the accounting mode is that the link-building packets need to be associated with the real service, and the accounting is performed in real time.
  • Step 1 When receiving the first link-building message SYN sent by the mobile phone, the GGSN obtains the stomach carried by the link-building message.
  • the address of the sohu.com is 192. 168. 8. 1.
  • the source port number is " 1000 "
  • the target IP address is 192. 168. 8. 2.
  • the destination port number is "80”
  • the four-layer protocol type (TCP/UDP) is 6/17.
  • TCP/UDP) is 6/17.
  • TCP/UDP four-layer protocol type
  • the GGSN's link-building message rate and The rate of matching the link-building packet in the billing mode list is X.
  • the billing mode is that the link-building packet needs to be associated with the real service, and the billing is performed in real time.
  • Step 2 Perform charging according to the matched charging rate and charging method, including:
  • the GGSN When the GGSN receives the first link-building message SYN, it applies for a quota to the online charging center. In the subsequent service, as the quota is gradually reduced, when the number of quotas is reduced to support the subsequent access to subsequent services, Interrupt the user's access, at this time, the link-building message is charged according to the rate X;
  • the user actively suspends the access.
  • the link-building message is also charged according to the rate X.
  • the link-building message for accessing the real service is associated with the rate of the real service, and is calculated according to the rate of the real service accessed by the user. Fee.
  • the GGSN performs DPI parsing on the Get message, and parses that the user wants to access the downloaded song service, and the corresponding rate is x2, then the link-building message for the part is according to x2. Rate for billing.
  • a segmented charging method may be adopted, for example, the threshold may be set in the online charging center and the GGSN to satisfy the online charging and billing of the link-building packet. Generated, specifically including:
  • the online charging center sets a time threshold, such as 0. 5S.
  • a time threshold such as 0. 5S.
  • the time threshold is also sent to the GGSN.
  • the GGSN receives the first link-building message and establishes a connection between the user and the server, if the time taken by the process is greater than or equal to 0. 5S, it will be counted at the online billing center according to the rate of the link-building message. If the time is less than 0. 5s, the link will be sent. If the time is less than 0. 5s, then the link will be sent to the real service. All are linked to the rate of the real service, and the billing is performed according to the rate of the real service accessed. For example, if the song is downloaded, the billing is performed according to ⁇ 2;
  • the GGSN sets the time threshold for generating the CDR, such as IS.
  • the time threshold for generating the CDR such as IS.
  • the GGSN receives the first link-building message and establishes a connection between the user and the server, if the time used by the process is greater than or equal to IS, then The CDR is generated.
  • the link-building packet is still generated according to its own rate X of the link-building packet.
  • the link-building packet without billing and bill generation is associated with the real-time packet.
  • billing and bill generation are performed according to the real service accessed; if the time taken by the process is less than IS, it will be associated with the real service, and the billing and bills according to the real service rate such as x2 generate.
  • the charging system of the link-building message includes a charging device 11 and a terminal 12 for establishing a link message.
  • the terminal 12 provided by the embodiment of the present invention is configured to send a link-building message to the charging device 11. .
  • the charging device 12 for establishing a link packet provided by the embodiment of the present invention includes:
  • the receiving module 100 is configured to receive a link-building message
  • the selecting module 200 is configured to determine, according to the quintuple information carried in the first packet and the preset setting, the charging information of the link-building packet, when the first packet of the link-building packet is received, Fee information includes billing rate and billing method;
  • the charging module 300 is configured to charge the link-building message according to the charging information determined by the selecting module 200.
  • the device provided by the embodiment of the present invention can determine the charging information of the link-building packet according to the quintuple information and the preset settings carried in the link-building packet, and can adopt different calculations for different link-building packets. Fee information, flexible billing for link-building messages.
  • the charging system of the link-building message includes a charging device 13 for establishing a link message, a terminal 12, and an online charging center 14.
  • the terminal 12 provided by the embodiment of the present invention is used for the charging device.
  • 13 Sending a link-building message the online charging center 14 is used to charge the real-time mode when the link-building message needs to be associated with the real service rate, and according to the application of the charging device 13, to the charging device 13 Send quotas for link-building packets for quota control.
  • the charging device 13 for establishing a link packet provided by the embodiment of the present invention includes:
  • the receiving module 100 is configured to receive a link-building message
  • the storage module 400 is configured to store charging information of different service link-building packets, including a charging rate and a charging mode, where the charging information of the link-building packet of the service is compared with the quintuple information of the service. Match
  • the selecting module 200 is configured to determine, according to the quintuple information carried in the first packet, the charging rate of the link-building packet from the storage module 400, when receiving the first packet of the link-building packet.
  • Billing method The charging module 300 is configured to charge the link-building packet according to the charging mode and the charging rate determined by the selecting module 200.
  • the selection module 200 determines that the charging mode of the link-building packet needs to be associated with the real service, the link-building packet needs to be associated with the real service.
  • the charging module 300 is configured to perform the charging of the link-building packet that does not access the real service according to the rate of the link-building packet, and the link-building packet that accesses the real service is charged according to the real service. Rate for billing;
  • the link-building packet needs to be associated with the real service rate and used for real-time charging.
  • the charging module 300 is further configured to apply for a quota to the online charging center 14, and collect statistics on the link-building packets according to the application quota and the rate of the link-building message, and find that the user fee is insufficient to pay the link-building message. The user is denied access to the real business.
  • the selecting module 200 determines that the charging mode of the link-building packet is independently charged for the link-building packet
  • the charging module 300 is configured to charge the link-building packet before triggering the real service according to the rate of the link-building packet.
  • the foregoing method includes the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A charging method and a device for link-establishment message are provided by the embodiment of the present invention, wherein the method includes: when receiving a first message of the link-establishment messages, determining the charging information of the link-establishment messages based on the quintuple information carried by the first message and the predetermined setting; and charging the link-establishment messages in accordance with the charging information. With the method provided by the embodiment of the present invention, it is possible to configuring different charging information for the link-establishment messages of different services, so as to charging the link-establishment messages flexibly.

Description

一种建链报文的计费方法和装置 本申请要求 2008年 11月 3日递交的申请号为 200810217247.3、 发明名 称为 "一种建链报文的计费方法和装置" 的中国专利申请的优先权, 其全部 内容通过引用结合在本申请中。 技术领域  Method and device for charging a link-building message The present application claims a Chinese patent application filed on November 3, 2008, with the application number of 200810217247.3, and the invention titled "A billing method and device for building a link message" Priority is hereby incorporated by reference in its entirety. Technical field
本发明涉及移动通讯领域, 尤其涉及一种建链报文的计费方法和装置。 背景技术  The present invention relates to the field of mobile communications, and in particular, to a method and apparatus for charging a link-building message. Background technique
随着第三代移动通讯技术的应用, 分组数据业务的迅猛发展, 在网关 With the application of the third generation mobile communication technology, the rapid development of packet data services, at the gateway
GPRS支持节点 (Gataway GPRS Support Node,GGSN) 实现基于流的内容计 费 (Flowed Based Charging,FBC) 已经成为运营商的普遍需求, 而基于流的 内容计费是以深度报文解析 (Deep Packet Inspection,DPI) 为基础实现的。 GPRS support node (Gashway GPRS Support Node, GGSN) Implementing Flow-based Content Charging (FBC) has become a common demand of operators, while flow-based content charging is deep packet inspection (Deep Packet Inspection). , DPI) based on the implementation.
以超文本传输协议 (Hypertext Transfer Protocol,HTTP) 为例, 其最基 本的业务报文流程就是由传输控制协议 (Transfer Control Protocol/TCP ) 的 三次握手构成的建链过程加上通过 Get报文携带用户访问的统一资源定位器 (Uniform Resource Locator,URL) 构成。 按照 FBC的需求, 在 DPI解析报 文得到 URL之后, 会基于该 URL匹配 GGSN配置的规则, 决定该业务的 费率和控制动作。 但是对于 Get报文之前的建链报文的计费方式有以下几 种:  Taking the Hypertext Transfer Protocol (HTTP) as an example, the most basic service packet flow is the chain-building process consisting of the three-way handshake of the Transmission Control Protocol (TCP) plus carrying the Get message. The user accesses the Uniform Resource Locator (URL). According to the requirements of the FBC, after the DPI parsing message gets the URL, it will determine the rate and control action of the service based on the URL matching the GGSN configuration rules. However, there are several ways to charge the link-building packets before the Get message:
1、 为各种建链报文配置一个全局的计费费率, 按照一个统一的费率对 所有的建链报文进行计费; 并且与通过 Get报文解析到 URL后访问真实业 务所匹配到的计费费率无关。  1. Configure a global billing rate for various link-building packets, and charge all the link-building packets according to a uniform rate; and match the real service by parsing the URL into the URL. The billing rate to the arrival is irrelevant.
2、 对于建链报文的流量采取先统计但不确定费率的方式, 即在 Get报 文之前只统计建链报文的流量, 但不进行计费, 采用后续通过 Get报文解析 到 URL后真实访问业务所匹配到的计费费率来计费。 2. For the traffic of the link-building packet, the traffic is measured first but the rate is not determined. That is, only the traffic of the link-building packet is counted before the Get packet, but the accounting is not performed. The billing rate is matched by the real access service after the URL.
不管是第一种计费方式还是第二种计费方式, 都不能实现对建链报文的 灵活计费。 发明内容  No matter whether it is the first charging mode or the second charging mode, flexible charging of the link-building packets cannot be implemented. Summary of the invention
有鉴于此, 本发明实施例提供了一种建链报文的计费方法, 实现了对建 链报文的灵活计费。  In view of this, the embodiment of the present invention provides a charging method for establishing a link packet, which implements flexible charging for the link-building packet.
一种建链报文的计费方法, 包括:  A method for charging a link-building message, including:
在收到建链报文的第一个报文时, 根据第一个报文携带的五元组信息和 预先的设置确定该建链报文的计费信息;  When receiving the first packet of the link-building packet, determining the charging information of the link-building packet according to the quintuple information carried in the first packet and the preset setting;
按照所述计费信息对该建链报文进行计费。  And charging the link-building packet according to the charging information.
一种建链报文的计费装置, 包括:  A charging device for establishing a link message, comprising:
接收模块, 用于接收建链报文;  a receiving module, configured to receive a link-building message;
选择模块, 用于根据建链报文的第一个报文携带的五元组信息和预先的 设置确定该建链报文的计费信息; 在接收到第一个建链报文时, 按照预先的 配置确定建链报文的计费信息;  a selection module, configured to determine, according to the quintuple information carried in the first packet of the link-building message and the preset setting, the charging information of the link-building packet; when receiving the first link-building packet, according to The pre-configuration determines the billing information of the link-building message;
计费模块, 用于按照所述选择模块确定的计费信息对建链报文进行计 费。  The charging module is configured to charge the link-building message according to the charging information determined by the selecting module.
本发明实施例所提供的方法, 为不同业务的建链报文配置不同的计费信 息, 实现了对不同业务建链报文的灵活计费。 附图说明  The method provided by the embodiment of the present invention configures different charging information for the link-building packets of different services, and implements flexible charging for different service-building packets. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。 图 1为本发明实施例一种建链报文的计费方法的第一示意图; In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor. FIG. 1 is a first schematic diagram of a method for charging a link-building packet according to an embodiment of the present invention;
图 2为本发明实施例一种建链报文的计费方法的第二示意图;  2 is a second schematic diagram of a method for charging a link-building packet according to an embodiment of the present invention;
图 3为本发明实施例一种建链报文的计费装置的第一示意图;  3 is a first schematic diagram of a charging apparatus for establishing a link packet according to an embodiment of the present invention;
图 4为本发明实施例一种建链报文的计费装置的第二示意图。 具体实施方式  FIG. 4 is a second schematic diagram of a charging apparatus for establishing a link packet according to an embodiment of the present invention. detailed description
为使本发明的目的、 技术方案及优点更加清楚明白, 以下参照附图并举 九个实施例, 对本发明进一步详细说明。  In order to make the objects, the technical solutions and the advantages of the present invention more comprehensible, the present invention will be further described in detail below with reference to the accompanying drawings.
参照附图 1, 本发明实施例提供了一种建链报文的计费方法, 包括: si、 在收到建链报文的第一个报文时, 根据第一个报文携带的五元组信 息和预先的设置确定该建链报文的计费信息;  Referring to FIG. 1, an embodiment of the present invention provides a method for charging a link-building packet, including: si, when receiving the first packet of the link-building packet, according to the fifth packet carried in the first packet The tuple information and the preset settings determine the billing information of the link-building message;
S2、 按照所述计费信息对该建链报文进行计费。  S2. Perform charging on the link-building packet according to the charging information.
其中所述建链报文的计费信息包括计费费率和计费方式, 计费方式进一 步包括:  The charging information of the link-building packet includes a charging rate and a charging mode, and the charging mode further includes:
所述建链报文需要关联到真实业务的费率中; 或者所述建链报文独立计 费。  The link-building message needs to be associated with the rate of the real service; or the link-building message is independently charged.
根据本发明实施例所提供的方法, 运营商可以根据需要选择不同的计费 方式, 并且也可以对不同的业务配置不同的建链报文计费信息, 实现对建链 报文的灵活计费, 也为运营商提供了多样化的选择。 参照附图 2, 本发明实施例提供了一种建链报文的计费方法, 以 HTTP 协议为例, 在 GGSN上为不同业务配置不同的建链报文计费费率, 并且 GGSN 在收到移动台 (Mobile Station, MS) 发送的第一个建链报文后, 确定该建 链报文的计费费率和计费方式, 计费方式即为建链报文采用什么样的方式来 进行计费, 如独立计费、 或者关联到真实业务的费率中等等。 步骤一、 预先在 GGSN上为不同业务配置不同的建链报文计费费率和计 费方式; According to the method provided by the embodiment of the present invention, an operator may select different charging modes according to requirements, and may also configure different link-building packet charging information for different services to implement flexible charging of the link-building packets. It also provides operators with a variety of options. Referring to FIG. 2, an embodiment of the present invention provides a method for charging a link-building packet. The HTTP protocol is used as an example to configure different link-building packet charging rates for different services on the GGSN, and the GGSN receives After the first link-building packet sent by the mobile station (MS), the billing rate and the billing mode of the link-building packet are determined. The billing method is used in the manner of the link-building packet. To perform billing, such as independent billing, or associated rates to real business, and so on. Step 1: Pre-configure different link-building packet charging rates and charging modes for different services on the GGSN.
在 GGSN上为不同的业务配置不同的建链报文计费费率, 如: 设定当用 户访问 www. sohu. com时建链报文的计费费率为 X; 用户访问 www. sina. com 时建链报文的费率为 Y; 用户访问 www. google. com 时建链报文的费率为 Z 等等。  Configure different billing rates for different services on the GGSN, such as: Set the billing rate for the link-building message when the user visits www.sohu.com. X; User visits www.sina. When com builds a chain message, the rate is Y; when the user visits www.google.com, the rate of building a chain message is Z and so on.
同样, 在 GGSN上也为不同的业务配置不同的建链报文计费方式, 如设 定用户访问 胃. sohu. com 时, 建链报文需要关联到真实业务中, 并采取实 时的方式进行计费; 用户访问 胃. sina. com 时, 建链报文需要关联到真实 业务中, 采取非实时的方式进行计费; 用户访问 www. google. com 时, 建链 报文采用独立的计费方式等等; 其中所谓的真实业务是指建立连接后触发的 实际访问业务, 所谓关联到真实业务的费率中是指将该业务的建链报文按照 其访问的真实业务的费率进行计费。  Similarly, the GGSN also configures different link-building packet charging methods for different services. For example, when setting the user access to the stomach. sohu.com, the link-building message needs to be associated with the real service, and the real-time method is adopted. Billing; When the user visits the stomach. sina.com, the link-building message needs to be associated with the real service, and the billing is performed in a non-real-time manner; when the user visits www.google.com, the link-building message adopts independent billing. The so-called real service refers to the actual access service triggered after the connection is established. The so-called association rate to the real service refers to the rate of the real chain service of the service according to the rate of the real service accessed by the service. fee.
在 GGSN 上构建一个列表, 存储各种业务的建链报文所对应的计费信 息, 该列表与不同业务的五元组信息向匹配, 该五元组信息具体为源 IP 地 址、 源端口号、 目标 IP地址、 目标端口号、 四层协议类型 (TCP/UDP) 等信 息关联起来, GGSN通过获取对应业务的第一个建链报文所携带的五元组信 息, 在列表中匹配该业务的建链报文计费信息。  A list is constructed on the GGSN, and the billing information corresponding to the link-building packets of the service is stored, and the list is matched with the quintuple information of the different services. The quintuple information is specifically the source IP address and the source port number. The GGSN matches the quintuple information carried in the first link-building packet of the corresponding service by matching the information of the target IP address, the destination port number, and the four-layer protocol type (TCP/UDP). Built-in packet accounting information.
步骤二、 在接收 MS发送的第一个建链报文 SYN时, GGSN确定该建链报 文的计费费率和计费方式;  Step 2: When receiving the first link-building packet SYN sent by the MS, the GGSN determines the charging rate and the charging mode of the link-building packet;
当用户触发真实业务时, GGSN在收到用户发送的第一个建链报文 SYN 时, 按照建链报文 SYN所携带的该业务的五元组信息来匹配该业务所对应的 建链报文的计费费率和计费方式, 按照匹配的计费费率和计费方式进行计 费。  When the user triggers the real service, the GGSN matches the quintuple information of the service according to the quintuple information of the service carried in the link-building message SYN when receiving the first link-building message SYN sent by the user. The billing rate and billing method of the text are charged according to the matching billing rate and billing method.
如用户想要访问 www. sohu. com时, 先要与 www. sohu. com的服务器建立 连接, GGSN 是用户和服务器建立连接过程中的一个中间网元, 用于确定建 链报文的计费费率和计费方式, 在触发真实业务时, 通过 DPI解析所收到的 业务流, 并进行计费。 GGSN在收到 MS发送的第一个建链报文 SYN时, 获取 该建链报文所携带的 www. sohu. com的源 IP地址为 192. 168. 8. 1、 源端口号 为 " 1000 " 、 目标 IP 地址为 192. 168. 8. 2、 目标端口号为 "80 " 、 四层协 议类型 (TCP/UDP) 为 6/17 (TCP为 6, UDP为 17 ) 等信息, 根据这些信息 在 GGSN的列表中查找 www. sohu. com所对应的建链报文的费率和计费方式。 If the user wants to visit www.sohu.com, first establish a connection with the server of www.sohu.com. The GGSN is an intermediate network element in the process of establishing a connection between the user and the server. The billing rate and billing mode of the chain packet, when the real service is triggered, parses the received service stream through DPI and performs charging. When receiving the first link-building message SYN sent by the MS, the GGSN obtains the source IP address of the www.sohu.com carried by the link-building packet as 192. 168. 8. 1. The source port number is "1000. " , the target IP address is 192. 168. 8. 2. The destination port number is "80", the four-layer protocol type (TCP/UDP) is 6/17 (TCP is 6, UDP is 17), etc., based on this information. Find the rate and billing method of the link-building message corresponding to www.sohu.com in the list of GGSN.
步骤三、 按照 GGSN 确定的计费费率和计费方式对该建链报文进行计 费, 包括以下几种情况:  Step 3: Calculate the link-building packet according to the billing rate and billing method determined by the GGSN, including the following situations:
一、 如果匹配结果为: 建链报文需要关联到真实业务的费率中, 并通过 实时方式进行计费。  1. If the matching result is: The link-building packet needs to be associated with the rate of the real service, and the billing is performed in real time.
A、 对于预付费用户来说:  A. For prepaid users:
建链报文关联到真实业务的费率中具体为: 需要根据建链后用户所访问 的真实业务的费率, 对用户建链时的报文进行计费。  The rate of the link-building packet associated with the real service is specifically as follows: According to the rate of the real service accessed by the user after the link is established, the packet of the user when the link is established is charged.
实时方式具体为: 在收到第一个建链报文 SYN时, 向在线计费中心申请 配额, 并在接收后续的建链报文时, 实时监控配额的情况, 当配额不足时, 可以拒绝该用户所访问的业务, 即根据配额获知当用户的余额不足时立刻终 止该用户的访问。  The real-time mode is as follows: When receiving the first link-building packet SYN, apply for quotas to the online charging center, and monitor the quota in real time when receiving subsequent link-building packets. When the quota is insufficient, you can reject it. The service accessed by the user, that is, according to the quota, knows that the user's access is terminated immediately when the balance of the user is insufficient.
建链报文需要关联到真实业务的费率中, 并通过实时方式进行计费, 具 体为: 收到第一个报文 SYN时, 向在线计费中心申请配额, 先根据申请配额 以及建链报文的费率进行统计, 具体包括:  The link-building packet needs to be associated with the rate of the real service, and the billing is performed in real-time mode. Specifically, when the first packet SYN is received, the quota is applied to the online billing center, first according to the application quota and the chain-building. The rate of the message is counted, including:
1、 当用户访问真实业务时, 调整费率, 根据真实业务的费率对建链报 文进行计费, 并产生话单, 对用户进行真实的扣费; 进一步的, 也可以在在 线计费中心设置一个阈值, 当阈值满足时, 建链报文在在线计费中心进行扣 费, 同时也可以在 GGSN上设置一个阈值当阈值到达时, 建链报文在生成的 话单中体现。 2、 当用户并未访问真实业务时, 则根据建链报文的费率对建链报文进 行计费, 并产生话单, 对用户进行真实的扣费。 例如, 用户终止访问, 或者 先根据申请配额以及建链报文的费率进行统计时, 发现用户费用不足支付建 链报文, 则拒绝用户, 由于此时并不知用户需要访问的真实业务, 故可以根 据建链的费率对建链报文进行计费, 并产生话单。 1. When the user accesses the real service, adjust the rate, charge the link-building packet according to the rate of the real service, and generate a bill to perform real deduction for the user; further, online charging is also possible. A threshold is set in the center. When the threshold is met, the link-making packet is deducted at the online charging center. A threshold can also be set on the GGSN. When the threshold is reached, the link-building packet is reflected in the generated bill. 2. When the user does not access the real service, the user will charge the link-building packet according to the rate of the link-building message, and generate a bill to perform the actual deduction. For example, if the user terminates the access, or when the statistics are based on the application quota and the rate of the link-building message, it is found that the user fee is insufficient to pay the link-building message, and the user is rejected. Since the user does not know the real service that the user needs to access, The link-building message can be charged according to the rate of the link-building, and a bill is generated.
B、 对于后付费用户来说:  B. For postpaid users:
建链报文关联到真实业务的费率中具体为: 需要根据建链后用户所访问 的真实业务的费率, 对用户建链时的报文进行计费。  The rate of the link-building packet associated with the real service is specifically as follows: According to the rate of the real service accessed by the user after the link is established, the packet of the user when the link is established is charged.
实时方式具体为: 在 GGSN上设置一个阈值当阈值到达时, 建链报文在 生成的话单中体现。  The real-time mode is as follows: Set a threshold on the GGSN. When the threshold is reached, the link-building packet is reflected in the generated bill.
建链报文需要关联到真实业务的费率中, 并通过实时方式进行计费, 具 体为: 访问真实业务之前到达阈值时, 按照建链报文的费率在生成的话单中 体现, 在访问真实业务之后, 未计费的建链报文按照所访问的真实业务的费 率在生成的话单中体现。  The link-building packet needs to be associated with the rate of the real service, and the billing is performed in real time. Specifically, when the threshold is reached before accessing the real service, the rate of the link-building packet is reflected in the generated bill. After the real service, the unbilled link-building message is reflected in the generated bill according to the rate of the real service accessed.
在图 2中, E为 GGSN第一次收到建链报文 SYN的计费点, 而 F则为完 成三次握手协议 SYN—— SYN ACK—— ACK之后, 触发 Get报文前的计费点。  In FIG. 2, E is the charging point where the GGSN receives the link-making message SYN for the first time, and F is the charging point before the Get message is triggered after completing the three-way handshake protocol SYN-SYN ACK-ACK. .
101、 未访问真实业务的建链报文按照建链报文自身的费率进行计费。 对于预付费用户, 允许进行在线的配额控制, 即 GGSN在收到第一个建 链报文 SYN时, 按照建链报文的费率向在线计费中心申请配额, 并在接收后 续的建链报文时, 实时监控配额的情况, 当配额不足时, 拒绝该用户所访问 的业务。  101. The link-building packet that does not access the real service is charged according to the rate of the link-building packet itself. For prepaid users, online quota control is allowed. That is, when the first link-building packet is received, the GGSN applies for quotas to the online charging center according to the rate of the link-building packets, and receives the subsequent chain-building. When the packet is received, the quota is monitored in real time. When the quota is insufficient, the service accessed by the user is rejected.
或者当用户与服务器建立连接成功之前就中止访问时, 该建链报文也按 照自身的费率进行计费。  Or when the user aborts the access before the user establishes a connection with the server, the link-building message is also charged according to its own rate.
102、 访问真实业务的建链报文会被关联到真实业务的费率中, 按照其 访问的真实业务的费率进行计费。 如: GGSN在与用户建立连接后, 触发真实业务时, GGSN 同样根据 Get 报文 DPI后, 获得用户所要访问的业务, 如用户登录胃. sohu. com后是要 浏览网页还是要下载歌曲, 不同的业务其费率是不同的, 如浏览网页的费率 是 xl、 下载歌曲的费率是 x2等等, 根据对 Get报文的 DPI解析就能获得 MS 所访问的真实业务, 进而获得该业务所对应的费率, 根据所访问真实业务的 费率对建链报文进行计费。 102. The link-building message for accessing the real service is associated with the rate of the real service, and is charged according to the rate of the real service accessed by the user. For example, after the GGSN establishes a connection with the user, when the real service is triggered, the GGSN also obtains the service that the user wants to access according to the DPI of the Get message, such as the user logging in to the stomach. After the sohu.com is to browse the webpage or download the song, different The rate of the business is different, such as the rate of browsing the webpage is xl, the rate of downloading the song is x2, etc. According to the DPI parsing of the Get message, the real service accessed by the MS can be obtained, and the service is obtained. The corresponding rate is charged for the link-building message according to the rate of the real service accessed.
进一步的, 对建链报文也可以采用分段计费, 当访问真实业务之前到达 阈值时, 按照所述建链报文的费率进行计费; 访问真实业务之后到达阈值 时, 没有计费的建链报文按照所访问的真实业务的费率进行计费, 具体包 括:  Further, for the link-building packet, the segmentation charging may also be adopted. When the threshold value is reached before the real service is accessed, the charging is performed according to the rate of the link-building packet; when the real service is reached and the threshold is reached, there is no charging. The link-building message is charged according to the rate of the real service accessed, including:
a、 可以在在线计费中心设置阈值;  a. The threshold can be set in the online charging center;
对于预付费用户, 在线计费中心为预付费用户设置扣费的时间阈值或者 流量阈值, 在线计费中心向 GGSN下发配额的同时, 也将设定的时间或者流 量阈值下发给 GGSN, 当满足阈值时, GGSN上报已接收建链报文的流量或者 时间信息给在线计费中心, 在在线计费中心进行扣费。  For a prepaid user, the online charging center sets a time threshold or a traffic threshold for the prepaid user. The online charging center sends the quota to the GGSN, and also sends the set time or traffic threshold to the GGSN. When the threshold is met, the GGSN reports the traffic or time information of the received link-building packet to the online charging center, and deducts the charge at the online charging center.
b、 可以在 GGSN上设置阈值;  b, the threshold can be set on the GGSN;
无论是预付费用户还是后付费用户, 话单的生成是按照 GGSN设定的时 间阈值或者流量阈值来完成的, 当满足阈值时, 则在生成的话单中体现。  Whether it is a prepaid user or a postpaid user, the generation of the CDR is completed according to the time threshold set by the GGSN or the traffic threshold. When the threshold is met, it is reflected in the generated CDR.
如在计费控制点 F之前的建链报文, 如果达到在线计费中心设定的时间 阈值或者流量阈值, 或者达到 GGSN 设定的话单生成的时间阈值或者流量阈 值, 则该建链报文就会在在线计费中心进行扣费, 或者在话单中生成。 如果 在计费控制点 F, 没有到达在线计费中心设定的时间阈值或者流量阈值, 或 者没有到达 GGSN设定的话单生成的时间阈值或者流量阈值, 则该建链报文 不会在在线计费中心进行扣费, 或者不会在话单中生成。 如果这部分建链报 文访问真实业务, 则将该部分建链报文关联到真实业务中, 如在 Get报文解 析到 URL后的计费点 H, 其中仍未在在线计费中心扣费, 也没有在已生成话 单中体现的建链报文会被关联到真实业务的费率中, 按照该真实业务的费率 进行计费。 如果这部分建链报文没有访问真实业务, 则将该部分建链报文仍 然按照该建链报文的费率进行计费。 If the link-building packet before the accounting control point F reaches the time threshold or the traffic threshold set by the online charging center, or reaches the time threshold or traffic threshold generated by the GGSN, the link-building packet The deduction will be made at the online billing center or generated in the bill. If, at the charging control point F, the time threshold or the traffic threshold set by the online charging center is not reached, or the time threshold or the traffic threshold generated by the GGSN is not reached, the link-building message is not online. The fee center will charge the fee or it will not be generated in the bill. If the part of the link-building packet accesses the real service, the part of the link-building packet is associated with the real service, such as the charging point H after the Get message is parsed to the URL, and the fee is still not charged in the online charging center. , and no words have been generated The link-building message embodied in the ticket will be associated with the rate of the real service, and the fee will be charged according to the rate of the real service. If the part of the link-building packet does not access the real service, the part of the link-building packet is still charged according to the rate of the link-building message.
本方式对不同的业务分别配置不同的建链报文计费费率, 并将建链报文 与其访问的真实业务关联起来, 实现对建链报文的灵活计费; 同时采用实时 的方式进行计费, 对于预付费用户来说, 能实时控制用户的访问, 当用户的 余额不足时立刻终止该用户的访问, 实现了无论用户是否访问真实业务都可 以对用户的建链报文灵活控制和计费。 二、 如果匹配结果为: 建链报文需关联到真实业务的费率中, 并通过非 实时方式进行计费, 则建链报文不会在在线计费中心进行配额控制, 也不会 在用户话单中体现, 会全部关联到真实业务报文的费率中。 如果一直没有触 发过真实业务, 则可以对建链报文按照该建链报文的计费费率进行计费, 并 在最终话单中体现。 其中建链报文自身配置的费率可以对用户的建链报文不 进行扣费处理, 或者以较低的费率进行扣费等。  In this mode, different link-building packet charging rates are configured for different services, and the link-building packets are associated with the real services accessed by them, thereby implementing flexible charging of the link-building packets; Billing, for prepaid users, can control user access in real time, and immediately terminate the user's access when the user's balance is insufficient. This enables flexible control of the user's link-building messages regardless of whether the user accesses the real service or not. Billing. 2. If the matching result is: The link-building packet needs to be associated with the rate of the real service, and the billing is performed in a non-real-time manner, then the link-building packet will not be quota-controlled in the online billing center, nor will it be in the As reflected in the user bill, it will all be associated with the rate of the real service message. If the real service has not been triggered, the link-building message can be charged according to the billing rate of the link-building message and reflected in the final bill. The rate of the link-building message itself can be deducted from the user's link-building message, or deducted at a lower rate.
其中非实时方式具体为: 在收到第一个建链报文 SYN时, 既不申请配额 进行控制, 也不在在线计费中心进行计费, 只统计流量, 允许所有的用户与 相应的服务器建立当访问真实业务时, 按照真实业务的费率进行计费, 未访 问真实业务时, 按照建链报文自身的费率进行计费。  The non-real-time mode is specifically: When receiving the first link-building packet SYN, neither apply for quota control, nor charge at the online billing center, only count traffic, and allow all users to establish with the corresponding server. When accessing the real service, the charging is performed according to the rate of the real service. When the real service is not accessed, the charging is performed according to the rate of the link-building message itself.
则计费过程包括:  The billing process includes:
201. 在计费点 E和计费点 F之间的建链报文均按照该业务所对应的建 链报文的费率进行计费。 同时对于预付费用户不进行在线配额控制, 也不在 在线中心扣费; 不管是对于预付费用户还是后付费用户, 都不在生成的话单 中体现, 如在建链报文的内部设置一个标识, 使其产生的话费不会在话单中 体现, 都允许其访问真实业务。 如果在 GGSN配置的建链报文关联时间超时后, 或者用户在触发真实业 务之前就结束访问, 此时建链报文按照建链报文的费率进行计费, 并在用户 的话单中体现。 201. The link-building packet between the charging point E and the charging point F is charged according to the rate of the link-building message corresponding to the service. At the same time, for prepaid users, online quota control is not performed, and the online center is not charged; whether it is for prepaid users or postpaid users, it is not reflected in the generated bills, such as setting an identifier inside the link-building message, so that The resulting phone bills will not be reflected in the bill, allowing them to access the real business. If the link time of the link-building packet configured in the GGSN expires, or the user ends the call before the real service is triggered, the link-building packet is charged according to the rate of the link-building packet, and is reflected in the user's bill. .
202. 在 Get报文解析到 URL后的计费点 H, 访问真实业务的建链报文 会被关联到真实业务的费率中, 按照该真实业务的费率对建链报文进行计 费。 未访问真实业务的建链报文则按照该建链报文的费率进行计费, 并在在 线计费中心扣费和话单中体现。  The billing point H after the Get message is parsed to the URL, the link-building packet for accessing the real service is associated with the rate of the real service, and the link-building packet is charged according to the rate of the real service. . The link-building packets that do not access the real service are charged according to the rate of the link-building message, and are reflected in the online billing center deduction and bill.
将建链报文关联到真实的业务中, 并采用非实时的方式进行计费, 对建 链过程中的建链报文不进行在线计费也不在话单中体现, 能使用户对建链免 费的业务都能顺利的建立连接, 并将访问真实业务的建链报文采用真实业务 的费率进行计费, 未访问真实业务的建链报文采取建链报文自身的费率进行 计费, 同时对不同的业务的建链报文配置不同的费率, 实现了对建链报文的 灵活控制和计费。 三、 如果匹配结果为: 建链报文进行独立计费, 则计费过程包括, 在计费点 E和计费点 F之间的建链报文均按照该业务对应的建链报文的 费率和计费方式进行计费, 同时允许进行在线的配额控制, 并会在产生的话 单中体现; 建链报文的计费费率与 Get报文解析到 URL后的计费控制点 H的 费率无关。  The link-building packet is associated with the real service, and the billing is performed in a non-real-time manner. The link-building packet in the chain-building process is not online billed and is not reflected in the bill, enabling the user to build the chain. The free service can establish a connection smoothly, and the link-building message accessing the real service is charged at the rate of the real service. The link-building message that does not access the real service is calculated by the rate of the link-building message itself. At the same time, different rates are configured for the link-building packets of different services, and flexible control and charging for the link-building packets are realized. 3. If the matching result is: The link-building packet is independently charged, the charging process includes: the link-building packet between the charging point E and the charging point F is in accordance with the link-building packet corresponding to the service. Rate and billing mode for billing, and allow online quota control, and will be reflected in the generated bills; billing rate of link-building packets and billing control point H after the Get message is parsed to the URL The rate has nothing to do.
对建链报文采用独立的计费方式, 是在对不同业务的建链报文配置不同 的计费费率的背景下进行的, 因此也可以实现对不同业务的建链报文进行不 同的计费, 实现了对建链报文的灵活控制和计费。  The independent charging mode is adopted for the link-building packets, which is implemented in the context of configuring different billing rates for the link-building packets of different services. Therefore, it is also possible to implement different types of link-building packets for different services. Billing, which implements flexible control and billing for link-building packets.
本发明实施例所提供的方法对所有访问真实业务报文之前, 需要建立连 接的协议均适用, 如 HTTP 协议; 其他使用 TCP 方式的实时流协议 (Real Time Streaming Protocol, RTSP ) 、 文件传输协议 ( Fi le Transfer The method provided by the embodiment of the present invention is applicable to all protocols that need to establish a connection before accessing real service packets, such as the HTTP protocol; other Real Time Streaming Protocol (RTSP) using TCP, and a file transfer protocol ( Fi le Transfer
Protocol, FTP ) 等协议类型; 无线应用协议 (Wireless Application Protocol, WAP) 等有连接模式的协议等。 同时, 用于接收建链报文并确定建 链报文的计费费率和计费方式的网元并不局限于 GGSN, 在不同协议或者在 不同的场景下, 可以用其他类似功能的网元来替换。 本发明实施例还提供了一种建链报文的计费方法, 以用户通过手机访问 www. sohu. com为例, 包括: Protocol type such as Protocol, FTP); Wireless Application Protocol (Wireless Application) Protocol, WAP, etc., etc. with a connection mode. At the same time, the network element for receiving the link-building packet and determining the charging rate and charging mode of the link-building packet is not limited to the GGSN, and other similar functions may be used in different protocols or in different scenarios. Yuan to replace. The embodiment of the present invention further provides a charging method for establishing a link message, and the user accesses www.sohu.com through a mobile phone as an example, including:
在 GGSN上预先设置源 IP地址为 192. 168. 1、 源端口号为 " 1000 " 、 目 标 IP地址为 192. 168. 2、 目标端口号为 "80 " 、 四层协议类型 (TCP/UDP) 为 6/17 的业务所对应的建链报文的费率为 X, 计费方式为建链报文需要关 联到真实业务中, 并采取实时的方式进行计费。  The source IP address is preset to 192. 168. 1, the source port number is "1000", the destination IP address is 192. 168. 2. The destination port number is "80", and the four-layer protocol type (TCP/UDP). The rate of the link-building packets corresponding to the service of the 6/17 service is X. The accounting mode is that the link-building packets need to be associated with the real service, and the accounting is performed in real time.
步骤一、 GGSN在收到手机发送的第一个建链报文 SYN 时, 获取该建链 报文所携带的 胃. sohu. com 的地址为 192. 168. 8. 1、 源端口号为 " 1000 " 、 目标 IP 地址为 192. 168. 8. 2、 目标端口号为 "80 " 、 四层协议 类型 (TCP/UDP) 为 6/17, 根据这些信息在 GGSN 的建链报文费率和计费方 式列表中匹配到该建链报文的费率为 X, 计费方式为建链报文需要关联到真 实业务中, 并采取实时的方式进行计费。  Step 1: When receiving the first link-building message SYN sent by the mobile phone, the GGSN obtains the stomach carried by the link-building message. The address of the sohu.com is 192. 168. 8. 1. The source port number is " 1000 " , the target IP address is 192. 168. 8. 2. The destination port number is "80", and the four-layer protocol type (TCP/UDP) is 6/17. Based on this information, the GGSN's link-building message rate and The rate of matching the link-building packet in the billing mode list is X. The billing mode is that the link-building packet needs to be associated with the real service, and the billing is performed in real time.
步骤二、 按照匹配到的计费费率和计费方式进行计费, 具体包括: Step 2: Perform charging according to the matched charging rate and charging method, including:
401. 未访问 www. sohu. com月艮务器的建链 ί艮文, 按照 www. sohu. com的 建链报文的费率 X进行计费。 假设该用户是预付费用户, 则 401. Not visiting www. sohu.com 建 艮 建 建 艮 艮 艮 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Assuming the user is a prepaid user, then
在 GGSN收到第一个建链报文 SYN时, 就向在线计费中心申请配额, 在 后续的业务中, 随着配额的逐渐减少, 当配额数减少到不能支持继续访问后 续业务时, 则中断用户的访问, 此时建链报文按照费率 X进行计费;  When the GGSN receives the first link-building message SYN, it applies for a quota to the online charging center. In the subsequent service, as the quota is gradually reduced, when the number of quotas is reduced to support the subsequent access to subsequent services, Interrupt the user's access, at this time, the link-building message is charged according to the rate X;
或者在与 www. sohu. com服务器建立连接成功之前, 用户就主动中止访 问的, 此时的建链报文也按照费率 X进行计费。  Or, before the connection with the www.sohu.com server is successful, the user actively suspends the access. At this time, the link-building message is also charged according to the rate X.
402. 用户与 www. sohu. com的服务器建立连接后, 访问真实业务的建链 报文就会关联到真实业务的费率中, 按照其访问的真实业务的费率进行计 费。 GGSN在接收到终端发送的 Get报文时, 对 Get报文进行 DPI解析, 解 析到用户要访问的是下载歌曲业务, 则对应的费率是 x2, 则对于该部分建 链报文按照 x2的费率进行计费。 402. After the user establishes a connection with the server of www.sohu.com, the link-building message for accessing the real service is associated with the rate of the real service, and is calculated according to the rate of the real service accessed by the user. Fee. When receiving the Get message sent by the terminal, the GGSN performs DPI parsing on the Get message, and parses that the user wants to access the downloaded song service, and the corresponding rate is x2, then the link-building message for the part is according to x2. Rate for billing.
进一步的, 对于访问真实业务的建链报文, 可以采用分段计费的方式, 如可以在在线计费中心和 GGSN上设定阈值, 来满足对建链报文的在线计费 和话单生成, 具体包括:  Further, for the link-building packet to access the real service, a segmented charging method may be adopted, for example, the threshold may be set in the online charging center and the GGSN to satisfy the online charging and billing of the link-building packet. Generated, specifically including:
a、 在线计费中心设定一个时间阈值, 如 0. 5S , 在线计费中心向 GGSN 下发配额的同时, 也将该时间阈值发送给 GGSN。 当 GGSN从接收到第一个建 链报文到用户与服务器建立连接的过程, 如果该过程所用时间大于等于 0. 5S , 就会在在线计费中心按照建链报文的费率进行一次计费, 没有计费的 建链报文会被关联到真实的业务中, 按照其访问的真实业务的费率进行计 费; 如果该过程所用的时间小于 0. 5s, 则将该建链报文全部关联到真实业 务的费率中去, 按照所访问的真实业务的费率进行计费, 如下载歌曲, 则按 照 χ2进行计费;  a. The online charging center sets a time threshold, such as 0. 5S. When the online charging center sends a quota to the GGSN, the time threshold is also sent to the GGSN. When the GGSN receives the first link-building message and establishes a connection between the user and the server, if the time taken by the process is greater than or equal to 0. 5S, it will be counted at the online billing center according to the rate of the link-building message. If the time is less than 0. 5s, the link will be sent. If the time is less than 0. 5s, then the link will be sent to the real service. All are linked to the rate of the real service, and the billing is performed according to the rate of the real service accessed. For example, if the song is downloaded, the billing is performed according to χ2;
b、 GGSN设定产生话单的时间阈值, 如 IS , 则当 GGSN接收到第一个建 链报文到用户与服务器建立连接的过程, 如果该过程所用的时间大于等于 IS , 则就会在话单中生成, 此时的建链报文仍然按照建链报文自己的费率 X 进行计费和话单生成, 没有进行计费和话单生成的建链报文就会被关联到真 实的业务中, 按照所访问的真实业务进行计费和话单生成; 如果该过程所用 的时间小于 IS , 则就会关联到真实业务中, 按照真实业务的费率如 x2进行 计费和话单生成。  b. The GGSN sets the time threshold for generating the CDR, such as IS. When the GGSN receives the first link-building message and establishes a connection between the user and the server, if the time used by the process is greater than or equal to IS, then The CDR is generated. At this time, the link-building packet is still generated according to its own rate X of the link-building packet. The link-building packet without billing and bill generation is associated with the real-time packet. In the service, billing and bill generation are performed according to the real service accessed; if the time taken by the process is less than IS, it will be associated with the real service, and the billing and bills according to the real service rate such as x2 generate.
本发明实施例对不同业务的建链报文配置不同的计费费率, 并且把建链 报文与其访问的真实业务的费率关联起来, 实现对建链报文的灵活控制和计 费, 也满足了运营商的不同要求。 参照附图 3, 建链报文的计费系统包括建链报文的计费装置 11 和终端 12, 其中, 本发明实施例所提供的终端 12 用于向计费装置 11 发送建链报 文。 In the embodiment of the present invention, different billing rates are configured for the link-building packets of different services, and the link-building packets are associated with the rates of the real-service services that are accessed, thereby implementing flexible control and charging for the link-building packets. It also meets the different requirements of operators. Referring to FIG. 3, the charging system of the link-building message includes a charging device 11 and a terminal 12 for establishing a link message. The terminal 12 provided by the embodiment of the present invention is configured to send a link-building message to the charging device 11. .
本发明实施例所提供的建链报文的计费装置 12, 包括:  The charging device 12 for establishing a link packet provided by the embodiment of the present invention includes:
接收模块 100, 用于接收建链报文;  The receiving module 100 is configured to receive a link-building message;
选择模块 200, 用于在收到建链报文的第一个报文时, 根据第一个报文 携带的五元组信息和预先的设置确定该建链报文的计费信息, 该计费信息包 括计费费率和计费方式;  The selecting module 200 is configured to determine, according to the quintuple information carried in the first packet and the preset setting, the charging information of the link-building packet, when the first packet of the link-building packet is received, Fee information includes billing rate and billing method;
计费模块 300, 用于按照所述选择模块 200确定的计费信息对建链报文 进行计费。  The charging module 300 is configured to charge the link-building message according to the charging information determined by the selecting module 200.
采用本发明实施例所提供的装置, 能根据建链报文所携带的五元组信息 和预先的设置来确定建链报文的计费信息, 可以对不同的建链报文采用不同 的计费信息, 实现对建链报文的灵活计费。  The device provided by the embodiment of the present invention can determine the charging information of the link-building packet according to the quintuple information and the preset settings carried in the link-building packet, and can adopt different calculations for different link-building packets. Fee information, flexible billing for link-building messages.
参照附图 4, 建链报文的计费系统包括建链报文的计费装置 13、 终端 12和在线计费中心 14, 其中, 本发明实施例所提供的终端 12用于向计费装 置 13发送建链报文, 在线计费中心 14用于当建链报文需要关联到真实业务 的费率中, 并采用实时方式进行计费时, 按照计费装置 13 的申请, 向计费 装置 13发送建链报文的配额, 进行配额控制。  Referring to FIG. 4, the charging system of the link-building message includes a charging device 13 for establishing a link message, a terminal 12, and an online charging center 14. The terminal 12 provided by the embodiment of the present invention is used for the charging device. 13 Sending a link-building message, the online charging center 14 is used to charge the real-time mode when the link-building message needs to be associated with the real service rate, and according to the application of the charging device 13, to the charging device 13 Send quotas for link-building packets for quota control.
本发明实施例所提供的建链报文的计费装置 13, 包括:  The charging device 13 for establishing a link packet provided by the embodiment of the present invention includes:
接收模块 100, 用于接收建链报文;  The receiving module 100 is configured to receive a link-building message;
存储模块 400, 用于存储不同业务建链报文的计费信息, 包括计费费率 和计费方式, 所述业务的建链报文的计费信息与所述业务的五元组信息相匹 配;  The storage module 400 is configured to store charging information of different service link-building packets, including a charging rate and a charging mode, where the charging information of the link-building packet of the service is compared with the quintuple information of the service. Match
选择模块 200, 用于在收到建链报文的第一个报文时, 根据第一个报文 携带的五元组信息从存储模块 400 中确定该建链报文的计费费率和计费方 式; 计费模块 300, 用于按照所述选择模块 200确定的计费方式和计费费率 对建链报文进行计费。 The selecting module 200 is configured to determine, according to the quintuple information carried in the first packet, the charging rate of the link-building packet from the storage module 400, when receiving the first packet of the link-building packet. Billing method; The charging module 300 is configured to charge the link-building packet according to the charging mode and the charging rate determined by the selecting module 200.
当所述选择模块 200确定所述建链报文的计费方式为建链报文需要关联 到真实业务中时,  When the selection module 200 determines that the charging mode of the link-building packet needs to be associated with the real service, the link-building packet needs to be associated with the real service.
所述计费模块 300, 用于将未访问真实业务的建链报文按照按照所述建 链报文的费率进行计费, 将访问真实业务的建链报文按照所述真实业务的费 率进行计费;  The charging module 300 is configured to perform the charging of the link-building packet that does not access the real service according to the rate of the link-building packet, and the link-building packet that accesses the real service is charged according to the real service. Rate for billing;
其中建链报文需要关联到真实业务的费率中, 并采用实时方式进行计费 时,  The link-building packet needs to be associated with the real service rate and used for real-time charging.
所述计费模块 300, 还用于向在线计费中心 14 申请配额, 并根据申请 配额以及建链报文的费率对建链报文进行统计时, 发现用户费用不足支付建 链报文, 则拒绝用户访问真实业务。  The charging module 300 is further configured to apply for a quota to the online charging center 14, and collect statistics on the link-building packets according to the application quota and the rate of the link-building message, and find that the user fee is insufficient to pay the link-building message. The user is denied access to the real business.
当所述选择模块 200确定所述建链报文的计费方式为建链报文独立计费 时,  When the selecting module 200 determines that the charging mode of the link-building packet is independently charged for the link-building packet,
所述计费模块 300, 用于将触发真实业务之前的建链报文按照所述建链 报文的费率进行计费。  The charging module 300 is configured to charge the link-building packet before triggering the real service according to the rate of the link-building packet.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: R0M、 RAM , 磁碟或者光盘等各种可以存储程序代码的介 质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing method includes the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离本 发明的实质和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。  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. Thus, it is intended that the present invention cover the modifications and variations of the inventions

Claims

权利要求书 Claim
1. 一种建链报文的计费方法, 其特征在于, 包括:  A charging method for establishing a link packet, which is characterized by comprising:
在收到建链报文的第一个报文时, 根据第一个报文携带的五元组信息和 预先的设置确定该建链报文的计费信息;  When receiving the first packet of the link-building packet, determining the charging information of the link-building packet according to the quintuple information carried in the first packet and the preset setting;
按照所述计费信息对该建链报文进行计费。  And charging the link-building packet according to the charging information.
2. 如权利要求 1 所述的一种建链报文计费方法, 其特征在于, 所述方 法还包括:  2. The method for charging a link-building message according to claim 1, wherein the method further comprises:
预先为不同业务的建链报文设置不同的计费信息, 所述业务的建链报文 的计费信息与所述业务的建链报文的五元组信息相匹配。  Different billing information is set in advance for the link-building packets of different services, and the billing information of the link-building packets of the service matches the quintuple information of the link-building packets of the service.
3. 如权利要求 1或 2任一所述的一种建链报文的计费方法, 其特征在 于, 所述的计费信息包括计费方式和计费费率。  The method for charging a link-building packet according to any one of claims 1 to 2, wherein the billing information comprises a billing method and a billing rate.
4. 如权利要求 3 所述的一种建链报文的计费方法, 其特征在于, 所述 建链报文的计费方式包括:  The method for charging a link-building packet according to claim 3, wherein the charging method of the link-building packet includes:
所述建链报文需要关联到真实业务的费率中; 或者  The link-building message needs to be associated with the rate of the real service; or
所述建链报文独立计费。  The link-building message is independently charged.
5. 如权利要求 4 所述的一种建链报文的计费方法, 其特征在于, 所述 计费方式为建链报文需要关联到真实业务的费率中时, 按照所述计费信息对 该建链报文进行计费的步骤包括:  The method for charging a link-building packet according to claim 4, wherein the charging mode is that when the link-building packet needs to be associated with the rate of the real service, according to the charging The steps for charging the link-building packet include:
如果用户未访问真实业务, 所述建链报文按照所述建链报文的费率进行 计费;  If the user does not access the real service, the link-building packet is charged according to the rate of the link-building packet;
如果用户访问真实业务, 则所述建链报文按照所述真实业务的费率进行 计费。  If the user accesses the real service, the link-building message is charged according to the rate of the real service.
6. 如权利要求 5 所述的一种建链报文的计费方法, 其特征在于, 所述 建链报文的计费方式进一步包括:  The method for charging a link-building packet according to claim 5, wherein the charging method of the link-building packet further comprises:
采用实时的方式进行计费时, 所述方法还包括:  When the charging is performed in a real-time manner, the method further includes:
向在线计费中心申请配额, 并根据申请的配额以及建链报文的费率对建 链报文进行统计, 如果配额不足支付建链报文时, 拒绝用户访问真实业务。Apply for a quota to the online billing center, and build the quota based on the applied quota and the rate of the link-building message. Chain packets are counted. If the quota is insufficient to pay for the link-building message, the user is denied access to the real service.
7. 如权利要求 5或 6所述的一种建链报文的计费方法, 其特征在于, 如果采用实时的方式进行计费时, 则如果用户未访问真实业务, 所述建链报 文按照所述建链报文的费率进行计费; 如果用户访问真实业务, 则所述建链 报文按照所述真实业务的费率进行计费的步骤具体包括: The method for charging a link-building packet according to claim 5 or 6, wherein, if the charging is performed in a real-time manner, if the user does not access the real service, the link-building packet The charging is performed according to the rate of the link-building packet. If the user accesses the real service, the step of performing the charging according to the real service rate includes:
设定一个阈值;  Set a threshold;
如果用户未访问真实业务时, 到达阈值, 阈值前的建链报文按照所述建 链报文的费率进行计费;  If the user does not access the real service and reaches the threshold, the link-building packet before the threshold is charged according to the rate of the link-building packet.
如果用户访问真实业务时, 未达到阈值, 没有计费的建链报文按照所访 问的真实业务的费率进行计费。  If the threshold is not reached when the user accesses the real service, the link-free packet that is not charged is charged according to the rate of the real service that is accessed.
8. 如权利要求 7 所述的一种建链报文的计费方法, 其特征在于, 所述 阈值为时间阈值或者流量阈值。  The method for charging a link-building packet according to claim 7, wherein the threshold is a time threshold or a traffic threshold.
9. 如权利要求 4所述的一种建链报文的计费方法, 其特征在于, 所述 计费方式为建链报文独立计费时, 按照所述计费信息对该建链报文进行计费 的步骤包括:  The method for charging a link-building packet according to claim 4, wherein, when the charging mode is independent charging of the link-building message, the link-building report is performed according to the charging information. The steps for billing include:
触发真实业务之前的建链报文按照所述建链报文的费率进行计费。 The link-building packet before the real service is triggered is charged according to the rate of the link-building packet.
10. 一种建链报文的计费装置, 其特征在于, 包括: A charging device for establishing a link message, comprising:
接收模块, 用于接收建链报文;  a receiving module, configured to receive a link-building message;
选择模块, 用于根据建链报文的第一个报文携带的五元组信息和预先的 设置确定该建链报文的计费信息;  a selection module, configured to determine, according to the quintuple information carried in the first packet of the link-building message and the preset setting, the charging information of the link-building packet;
计费模块, 用于按照所述选择模块确定的计费信息对建链报文进行计 费。  The charging module is configured to charge the link-building message according to the charging information determined by the selecting module.
11. 如权利要求 10 所述的一种建链报文的计费装置, 其特征在于, 还 包括:  The device for charging a link-building message according to claim 10, further comprising:
存储模块, 用于存储不同业务建链报文的计费信息, 所述业务的建链报 文的计费信息与所述业务建链报文的五元组信息相匹配。 The storage module is configured to store charging information of different service link-building packets, where the charging information of the link-building packet of the service matches the quintuple information of the service-established link message.
12. 如权利要求 10或 11任一所述的一种建链报文的计费装置, 其特征 在于, 12. A billing device for establishing a link according to any one of claims 10 or 11, wherein:
当所述选择模块确定所述建链报文的计费方式为建链报文需要关联到真 实业务的费率中时,  When the selecting module determines that the charging mode of the link-building packet is required to be associated with the real service rate,
所述计费模块, 用于将未访问真实业务的建链报文按照所述建链报文的 费率进行计费, 将访问真实业务的建链报文按照所述真实业务的费率进行计 费; 或者  The charging module is configured to perform the charging of the link-building packet that does not access the real service according to the rate of the link-building packet, and perform the link-building packet that accesses the real service according to the real service rate. Billing; or
当所述选择模块确定所述建链报文的计费方式为建链报文独立计费时, 所述计费模块, 用于将触发真实业务之前的建链报文按照所述建链报文 的费率进行计费。  When the selecting module determines that the charging mode of the link-building packet is the independent accounting of the link-building packet, the charging module is configured to: according to the link-building report, the link-building packet before the real service is triggered. The rate of the text is charged.
13. 如权利要求 12所述的一种建链报文的计费装置, 其特征在于, 当所述选择模块确定所述建链报文的计费方式为建链报文需要关联到真 实业务的费率中, 并采用实时方式进行计费时,  The device for charging a link-building message according to claim 12, wherein the selection module determines that the charging mode of the link-building packet is a link-building message that needs to be associated with a real service. In the rate, and when charging in real time,
所述计费模块, 还用于向在线计费中心申请配额, 并根据申请配额以及 建链报文的费率对建链报文进行统计, 发现用户费用不足支付建链报文时, 则拒绝用户访问真实业务。  The charging module is further configured to apply for a quota to the online charging center, and perform statistics on the link-building packet according to the application quota and the rate of the link-building packet, and find that when the user fee is insufficient to pay the link-building packet, the charging is rejected. Users access real business.
PCT/CN2009/072721 2008-11-03 2009-07-10 Charging method and device for link-establishment message WO2010060307A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008102172473A CN101729266B (en) 2008-11-03 2008-11-03 Charging method and device for link building messages
CN200810217247.3 2008-11-03

Publications (1)

Publication Number Publication Date
WO2010060307A1 true WO2010060307A1 (en) 2010-06-03

Family

ID=42225230

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/072721 WO2010060307A1 (en) 2008-11-03 2009-07-10 Charging method and device for link-establishment message

Country Status (2)

Country Link
CN (2) CN101729266B (en)
WO (1) WO2010060307A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143135B (en) * 2010-08-18 2014-02-19 华为技术有限公司 Strategy acquisition method and device
CN105790960B (en) * 2014-12-24 2019-07-19 中国电信股份有限公司 Method for recognizing flux and system, flow gateway
CN113037657B (en) * 2021-03-23 2022-09-06 北京汇钧科技有限公司 Traffic scheduling method and device, electronic equipment and computer readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000101574A (en) * 1998-09-22 2000-04-07 Nippon Telegr & Teleph Corp <Ntt> Charging method and device in internet
CN1700650A (en) * 2004-05-21 2005-11-23 华为技术有限公司 Charging method according to content service
CN1798040A (en) * 2004-12-22 2006-07-05 华为技术有限公司 Charging method in communication system
CN1859131A (en) * 2005-12-30 2006-11-08 华为技术有限公司 Charging method and device for realizing IP partitioned message content

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7277392B2 (en) * 2002-10-01 2007-10-02 Motorola, Inc. Method and apparatus for managing the usage of data link resources
CN100492975C (en) * 2007-03-28 2009-05-27 华为技术有限公司 Service charging method, system, network access server and protocol resolver
CN100544266C (en) * 2007-09-18 2009-09-23 中兴通讯股份有限公司 A kind of service implementation method of equal user tactics

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000101574A (en) * 1998-09-22 2000-04-07 Nippon Telegr & Teleph Corp <Ntt> Charging method and device in internet
CN1700650A (en) * 2004-05-21 2005-11-23 华为技术有限公司 Charging method according to content service
CN1798040A (en) * 2004-12-22 2006-07-05 华为技术有限公司 Charging method in communication system
CN1859131A (en) * 2005-12-30 2006-11-08 华为技术有限公司 Charging method and device for realizing IP partitioned message content

Also Published As

Publication number Publication date
CN103052048B (en) 2016-03-02
CN101729266B (en) 2013-01-02
CN101729266A (en) 2010-06-09
CN103052048A (en) 2013-04-17

Similar Documents

Publication Publication Date Title
US11647085B2 (en) Service redirection from a policy and charging control architecture
KR100972891B1 (en) Method and system for accounting, accounting client and accounting processing unit
US9641346B2 (en) Method and apparatus for performing charging control to application-layer data
JP4965752B1 (en) Controlling communication sessions
US20120195196A1 (en) SYSTEM AND METHOD FOR QoS CONTROL OF IP FLOWS IN MOBILE NETWORKS
RU2483358C2 (en) Service charging method and system, network access server and protocol information analysing device
WO2005043811A1 (en) Collection apparatus of data service billing information and billing method
JP2008544342A (en) Services in communication systems
WO2009046678A1 (en) Method and device for obtaining the capability of policy and charging enforcement function
WO2005109758A1 (en) A processing method for perfect charging on line based on the service data stream
WO2008154840A1 (en) Method, system and entity for implementing policy control
RU2010133991A (en) POLICY MANAGEMENT AND TARIFICATION RULES (RCC) BASED ON THE MOBILITY PROTOCOL
CN102893640A (en) Methods, systems, and computer readable media for communicating policy information between a policy charging and rules function and a service node
WO2006015548A1 (en) A processing method based on charging trigger event and re-authorisation event of packet data flow
WO2009018759A1 (en) Control device, execution device, method and system of generating filter rule
CN101369917B (en) Method, system and apparatus for expanding policy and charging control rules
WO2014172858A1 (en) Method for charging for application, and charging device and system
CN106332034A (en) Third-party application charging method and apparatus, and application function equipment
JP2002152259A (en) Communication terminal and charging processing unit
WO2013091410A1 (en) Network access method, system and device
WO2014063629A1 (en) Charge control method, device and system for roaming user data service
WO2012088995A1 (en) Service control method and device
WO2010060307A1 (en) Charging method and device for link-establishment message
WO2016011831A1 (en) Charging method and device, access device, and service quality control method and device
WO2010066157A1 (en) Charging method, charging device, charging gateway and charging system

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09828568

Country of ref document: EP

Kind code of ref document: A1