[go: up one dir, main page]

CN101616009A - Data service transmission method and device thereof - Google Patents

Data service transmission method and device thereof Download PDF

Info

Publication number
CN101616009A
CN101616009A CN200810115806A CN200810115806A CN101616009A CN 101616009 A CN101616009 A CN 101616009A CN 200810115806 A CN200810115806 A CN 200810115806A CN 200810115806 A CN200810115806 A CN 200810115806A CN 101616009 A CN101616009 A CN 101616009A
Authority
CN
China
Prior art keywords
user
data
data service
service
boss
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200810115806A
Other languages
Chinese (zh)
Other versions
CN101616009B (en
Inventor
党京
魏彬
王菁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN200810115806XA priority Critical patent/CN101616009B/en
Publication of CN101616009A publication Critical patent/CN101616009A/en
Application granted granted Critical
Publication of CN101616009B publication Critical patent/CN101616009B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了数据业务的传输方法及其设备,用以解决现有GGSN无法对用户请求的数据业务进行传输控制的问题。该方法中,BOSS按照设定时间或者周期筛选移动通信网络中的传输控制用户,设置传输控制用户的可用金额,并根据传输控制用户的可用金额确定该用户请求数据业务相应的可用字节数,而GGSN需根据BOSS指示的可用字节数传输该用户请求的数据业务。本发明技术方案使GGSN可以对用户请求的数据业务进行传输控制,可以将用户的消费额度控制在可用金额之内,避免了用户恶意使用分组域数据业务,降低了用户的欠费风险。

Figure 200810115806

The invention discloses a data service transmission method and its equipment, which are used to solve the problem that the existing GGSN cannot control the transmission of the data service requested by the user. In this method, the BOSS screens the transmission control users in the mobile communication network according to the set time or period, sets the available amount of the transmission control user, and determines the number of available bytes corresponding to the data service requested by the user according to the available amount of the transmission control user, The GGSN needs to transmit the data service requested by the user according to the number of available bytes indicated by the BOSS. The technical scheme of the invention enables the GGSN to control the transmission of the data service requested by the user, and can control the user's consumption amount within the available amount, avoiding the user's malicious use of the packet domain data service and reducing the user's arrears risk.

Figure 200810115806

Description

数据业务的传输方法及其设备 Data service transmission method and device thereof

技术领域 technical field

本发明涉及移动通信技术领域,特别涉及一种数据业务的传输技术。The invention relates to the technical field of mobile communication, in particular to a data service transmission technology.

背景技术 Background technique

现有技术中,移动运营商对于分组域业务的计费方式是:1)由分组域网元SGSN(Serving GSN,服务GPRS支持节点)/GGSN(Gateway GPRS SupportNode,网关GPRS支持节点)在终端用户使用分组域业务时生成计费话单,并传送到BOSS(Business & Operation Support System,业务操作支撑系统),其中,参见图1所示,SGSN和GGSN均产生话单,SGSN产生S-CDR(SGSN-Charging Data Recording,SGSN计费数据记录),GGSN产生G-CDR(GGSN-Charging Data Recording,GGSN计费数据记录),CDR被传送给CG(Charging Gateway,计费网关),再到BOSS进行处理;2)计费话单传送到BOSS后进行批价,更新用户的账户余额和HLR(Home Location Register,归属位置寄存器)签约信息,BOSS根据用户的话单信息对预付费用户账户进行扣减,如果发现预付费用户余额不足时将对用户进行停机处理,对于后付费用户则在月底生成计费账单通过营业渠道向用户征收,如果用户欠费将进行停机处理。In the prior art, the charging method of the mobile operator for the packet domain service is: 1) by the packet domain network element SGSN (Serving GSN, serving GPRS support node)/GGSN (Gateway GPRS SupportNode, gateway GPRS support node) at the end user Generate billing bills when using packet domain services, and send them to BOSS (Business & Operation Support System, business operation support system), wherein, as shown in Figure 1, both SGSN and GGSN generate bills, and SGSN generates S-CDR ( SGSN-Charging Data Recording, SGSN charging data record), GGSN generates G-CDR (GGSN-Charging Data Recording, GGSN charging data record), CDR is sent to CG (Charging Gateway, charging gateway), and then to BOSS Processing; 2) After the billing bill is sent to the BOSS, the price is approved, and the user's account balance and HLR (Home Location Register, Home Location Register) contract information are updated, and the BOSS deducts the prepaid user account according to the bill information of the user, If it is found that the balance of the pre-paid user is insufficient, the user will be shut down. For the post-paid user, a bill will be generated at the end of the month and collected from the user through the business channel. If the user is in arrears, the user will be shut down.

这种计费方式存在的问题是:1)GGSN无法对用户请求的数据业务进行传输控制;2)由于计费话单传送到BOSS并进行批价需要一段时间(大约十几分钟),如果预付费用户在此期间恶意使用分组域数据业务,可能造成用户余额不足以支付所欠费用,存在欠费风险;3)对于后付费用户缺乏必要手段控制欠费风险,只能在收费不成功后才能采取措施。The problems of this billing method are: 1) GGSN cannot carry out transmission control on the data service requested by the user; Fee users maliciously use packet domain data services during this period, which may cause the user balance to be insufficient to pay the owed fees, and there is a risk of arrears; 3) For post-paid users, there is no necessary means to control the risk of arrears, and they can only be paid after unsuccessful charging Take measures.

发明内容 Contents of the invention

本发明实施例提供了数据业务的传输方法及其设备,用以解决现有GGSN无法对用户请求的数据业务进行传输控制的问题。The embodiment of the present invention provides a data service transmission method and its equipment, which are used to solve the problem that the existing GGSN cannot control the transmission of the data service requested by the user.

本发明实施例提出一种数据业务的传输方法,包括:An embodiment of the present invention proposes a data service transmission method, including:

网关GPRS支持节点GGSN接收到用户请求的第一数据业务的第一个数据包后,确定用户为传输控制用户、且第一数据业务为内容计费类业务时,根据计费规则和第一数据业务的业务属性,确定第一数据业务对应的第一计费规则;After receiving the first data packet of the first data service requested by the user, the gateway GPRS support node GGSN determines that the user is a transmission control user and the first data service is a content charging service, according to the charging rules and the first data service The service attribute of the service is to determine the first charging rule corresponding to the first data service;

所述GGSN根据第一计费规则、和计费规则与资费标准的对应关系,确定第一数据业务的第一资费标准,并向BOSS确认是否需要对用户进行传输控制;The GGSN determines the first tariff standard for the first data service according to the first charging rule and the corresponding relationship between the charging rule and the tariff standard, and confirms to the BOSS whether it is necessary to perform transmission control on the user;

当所述GGSN接收到BOSS返回的需要对用户进行传输控制的指示后,向BOSS请求用户在第一资费标准下的可用字节数,并根据所述可用字节数传输第一数据业务的数据。When the GGSN receives the instruction returned by the BOSS to control the user's transmission, it requests the BOSS for the number of available bytes of the user under the first tariff standard, and transmits the data of the first data service according to the available number of bytes .

本发明实施例提出一种网关GPRS支持节点,包括:The embodiment of the present invention proposes a gateway GPRS support node, including:

存储单元,用于存储计费规则、以及所述计费规则与资费标准的对应关系;a storage unit, configured to store charging rules and the corresponding relationship between the charging rules and tariff standards;

接收单元,用于接收用户请求的第一数据业务的数据;a receiving unit, configured to receive data of a first data service requested by a user;

第一确定单元,用于在所述接收单元接收到所述第一数据业务的第一个数据包后,确定所述用户是否为传输控制用户,确定所述第一数据业务是否为内容计费类业务;A first determining unit, configured to determine whether the user is a transmission control user after the receiving unit receives the first data packet of the first data service, and determine whether the first data service is content charging Class business;

第二确定单元,用于在所述第一确定单元确定所述用户为传输控制用户、且所述第一数据业务为内容计费类业务时,根据所述存储单元中的计费规则和第一数据业务的业务属性,确定第一数据业务对应的第一计费规则,并根据第一计费规则、和存储单元中的计费规则与资费标准的对应关系,确定第一数据业务的第一资费标准;The second determining unit is configured to, when the first determining unit determines that the user is a transmission control user and the first data service is a content charging service, according to the charging rule in the storage unit and the first A business attribute of a data service, determine the first charging rule corresponding to the first data service, and determine the first charging rule for the first data service according to the corresponding relationship between the charging rule and the tariff standard in the storage unit. 1. Tariff standard;

确认单元,用于在确定用户为传输控制用户、且第一数据业务为非内容计费类业务时,向BOSS确认是否需要对用户进行传输控制,并接收BOSS返回的是否需要对用户进行传输控制的指示;A confirmation unit, configured to confirm to the BOSS whether the user needs to perform transmission control when it is determined that the user is a transmission control user and the first data service is a non-content charging service, and receive whether the user needs to perform transmission control returned by the BOSS instructions;

传输控制单元,用于当所确认单元接收到BOSS返回的需要对用户进行传输控制的指示后,向BOSS请求用户在第一资费标准下的可用字节数,并根据所述可用字节数传输第一数据业务的数据。The transmission control unit is configured to request the BOSS for the number of available bytes of the user under the first tariff standard after receiving the indication returned by the BOSS that the confirmation unit needs to perform transmission control on the user, and transmit the second rate according to the available number of bytes. Data of a data service.

本发明实施例提出一种数据业务的传输方法,包括:An embodiment of the present invention proposes a data service transmission method, including:

GGSN接收到用户请求的第一数据业务的第一个数据包后,确定用户为传输控制用户、且第一数据业务为非内容计费类业务时,向BOSS确定是否需要对所用户进行传输控制;After receiving the first data packet of the first data service requested by the user, the GGSN determines that the user is a transmission control user and the first data service is a non-content charging service, and then determines to the BOSS whether it is necessary to perform transmission control on all users ;

当所述GGSN接收到BOSS返回的需要对用户进行传输控制的指示后,向BOSS请求用户在非内容计费类业务资费标准下的可用字节数,并根据所述可用字节数传输第一数据业务的数据,其中,所述指示由BOSS根据存储的用户的可用金额信息确定。When the GGSN receives the instruction returned by the BOSS to control the transmission of the user, it requests the BOSS for the number of available bytes of the user under the tariff standard for non-content charging services, and transmits the first The data of the data service, wherein the indication is determined by the BOSS according to the stored user's available amount information.

本发明实施例提出一种网关GPRS支持节点,包括:The embodiment of the present invention proposes a gateway GPRS support node, including:

接收单元,用于接收用户请求的第一数据业务的数据;a receiving unit, configured to receive data of a first data service requested by a user;

确定单元,用于在所述接收单元接收到第一数据业务的第一个数据包后,确定所述用户是否为传输控制用户,确定第一数据业务是否为非内容计费类业务;A determining unit, configured to determine whether the user is a transmission control user after the receiving unit receives the first data packet of the first data service, and determine whether the first data service is a non-content charging service;

确认单元,用于在确定用户为传输控制用户、且第一数据业务为非内容计费类业务时,向BOSS确认是否需要对用户进行传输控制,并接收BOSS返回的是否需要对用户进行传输控制的指示;A confirmation unit, configured to confirm to the BOSS whether the user needs to perform transmission control when it is determined that the user is a transmission control user and the first data service is a non-content charging service, and receive whether the user needs to perform transmission control returned by the BOSS instructions;

传输控制单元,用于当所述确认单元接收到BOSS返回的需要对用户进行传输控制的指示后,向BOSS请求用户在非内容计费类业务资费标准下的可用字节数,并根据所述可用字节数传输第一数据业务的数据。The transmission control unit is configured to request the BOSS for the number of available bytes of the user under the tariff standard for non-content charging services after the confirmation unit receives the instruction returned by the BOSS that the user needs to perform transmission control, and according to the Data of the first data service can be transmitted in the number of available bytes.

本发明实施例提出了数据业务的传输方法及设备,在本发明实施例技术方案中,BOSS按照设定时间或者周期筛选移动通信网络中的传输控制用户,设置传输控制用户的可用金额,并根据传输控制用户的可用金额确定该用户请求数据业务相应的可用字节数,而GGSN根据BOSS指示的可用字节数传输该用户请求的数据业务。本发明实施例技术方案使GGSN可以对用户请求的数据业务进行传输控制,可以将用户的消费额度控制在可用金额之内,避免了用户恶意使用分组域数据业务,降低了用户的欠费风险。The embodiment of the present invention proposes a data service transmission method and equipment. In the technical solution of the embodiment of the present invention, the BOSS screens the transmission control users in the mobile communication network according to the set time or cycle, sets the available amount of the transmission control user, and according to The available amount of the transmission control user determines the number of available bytes corresponding to the data service requested by the user, and the GGSN transmits the data service requested by the user according to the number of available bytes indicated by the BOSS. The technical solution of the embodiment of the present invention enables the GGSN to control the transmission of the data service requested by the user, and can control the user's consumption amount within the available amount, avoiding the user's malicious use of the packet domain data service and reducing the user's arrears risk.

附图说明 Description of drawings

图1为现有计费方式的示意图;FIG. 1 is a schematic diagram of an existing billing method;

图2为本发明实施例中确定第一数据业务的资费标准的方法流程图;FIG. 2 is a flow chart of a method for determining a charging standard for a first data service in an embodiment of the present invention;

图3为本发明实施例中GGSN根据BOSS指示的可用字节数对用户进行传输控制的方法流程图;FIG. 3 is a flow chart of a method for GGSN to perform transmission control on a user according to the number of available bytes indicated by the BOSS in an embodiment of the present invention;

图4为本发明实施例一的方法流程图;Fig. 4 is the flow chart of the method of Embodiment 1 of the present invention;

图5为本发明实施例二的方法流程图;Fig. 5 is the method flowchart of the second embodiment of the present invention;

图6为本发明实施例三的方法流程图;FIG. 6 is a flow chart of the method of Embodiment 3 of the present invention;

图7为本发明实施例中一种网关GPRS支持节点的结构示意图;Fig. 7 is a schematic structural diagram of a gateway GPRS support node in an embodiment of the present invention;

图8为本发明实施例中另一种网关GPRS支持节点的结构示意图。FIG. 8 is a schematic structural diagram of another gateway GPRS support node in an embodiment of the present invention.

具体实施方式 Detailed ways

为了解决现有技术中存在的问题,本发明实施例提出了数据业务的传输方法及设备,在本发明实施例技术方案中,BOSS按照设定时间或者周期性筛选移动通信网络中的传输控制用户,设置传输控制用户的可用金额,并根据传输控制用户的可用金额确定该用户请求数据业务相应的可用字节数,而GGSN根据BOSS指示的可用字节数传输该用户请求的数据业务。本发明实施例技术方案使GGSN可以对用户请求的数据业务进行传输控制,可以将用户的消费额度控制在可用金额之内,避免了用户恶意使用分组域数据业务,降低了用户的欠费风险。In order to solve the problems existing in the prior art, the embodiment of the present invention proposes a data service transmission method and equipment. In the technical solution of the embodiment of the present invention, the BOSS screens the transmission control users in the mobile communication network according to the set time or periodically , set the available amount of the transmission control user, and determine the number of available bytes corresponding to the data service requested by the user according to the available amount of the transmission control user, and the GGSN transmits the data service requested by the user according to the available bytes indicated by the BOSS. The technical solution of the embodiment of the present invention enables the GGSN to control the transmission of the data service requested by the user, and can control the user's consumption amount within the available amount, avoiding the user's malicious use of the packet domain data service and reducing the user's arrears risk.

分组域数据业务包括内容计费类业务和非内容计费类业务。其中,由于各种内容计费类业务的资费标准不同,本发明实施例技术方案中,GGSN需要存储计费规则、以及计费规则与资费标准的对应关系,使GGSN能根据用户请求的数据业务的业务属性、计费规则来区分用户请求的数据业务的种类,使GGSN能根据相应资费标准对用户请求的数据业务进行计费。Packet domain data services include content charging services and non-content charging services. Among them, due to the different tariff standards of various content charging services, in the technical solution of the embodiment of the present invention, the GGSN needs to store the charging rules and the corresponding relationship between the charging rules and the charging standards, so that the GGSN can The business attributes and charging rules are used to distinguish the type of data service requested by the user, so that the GGSN can charge the data service requested by the user according to the corresponding tariff standard.

下面对GGSN存储的计费规则、以及计费规则与资费标准的对应关系进行描述:The charging rules stored in the GGSN and the corresponding relationship between the charging rules and the charging standards are described below:

GGSN存储的计费规则包括普通计费规则和缺省计费规则,每个计费规则都对应一个资费标准。其中,每个普通计费规则中包括多个业务属性,当GGSN接收到的数据业务的业务属性与某普通计费规则的业务属性相匹配时,该普通计费规则就是该数据业务对应的计费规则,该普通计费规则对应的资费标准就是该数据业务的资费标准。当GGSN接收到的数据业务的业务属性与任何一个普通计费规则不相匹配时,缺省计费规则就是该数据业务对应的计费规则,缺省计费规则对应的资费标准就是该数据业务的资费标准。另外,对于资费标准相同的多个内容计费类业务,其计费规则所对应的资费标准相同。The charging rules stored in the GGSN include common charging rules and default charging rules, and each charging rule corresponds to a charging standard. Wherein, each common charging rule includes a plurality of service attributes, and when the service attribute of the data service received by the GGSN matches the service attribute of a certain common charging rule, the common charging rule is the corresponding accounting of the data service. The charging standard corresponding to the general charging rule is the charging standard of the data service. When the business attribute of the data service received by the GGSN does not match any common charging rule, the default charging rule is the charging rule corresponding to the data service, and the tariff standard corresponding to the default charging rule is the data service tariff standard. In addition, for multiple content charging services with the same tariff standard, the tariff standards corresponding to the charging rules are the same.

普通计费规则可以包括如下几种业务属性,其中,APN(Access PointName,接入点名称),业务ID,三/四层属性中的目的IP地址和掩码、目的端口范围、TCP/UDP(Transmission Control Protocol/User Datagram Protocol,传输控制协议/用户数据报协议)协议类型是普通计费规则中必须包括的业务属性,另外,普通计费规则中还可以包括七层属性中的七层应用的URL(Uniform Resource Locator,统一资源定位符)和七层应用协议中的特殊字段值:Common billing rules can include the following business attributes, among them, APN (Access Point Name, access point name), business ID, destination IP address and mask, destination port range, TCP/UDP ( Transmission Control Protocol/User Datagram Protocol, Transmission Control Protocol/User Datagram Protocol) protocol type is a business attribute that must be included in the general charging rules. In addition, the general charging rules can also include the seven-layer application in the seven-layer attributes URL (Uniform Resource Locator, Uniform Resource Locator) and special field values in the seven-layer application protocol:

(1)APN:普通计费规则对应的接入点名称。(1) APN: The access point name corresponding to the common billing rule.

(2)业务ID:按照业务区分需要人工配置,与普通计费规则一一对应。(2) Service ID: It needs to be manually configured according to the business classification, and corresponds to the common billing rules one by one.

同一类业务的上下行流量可以配置不同业务ID,业务ID可以记录在话单中表示业务的种类,比如可以在G-CDR的Record Extension域记录业务ID,以区分业务种类,方便计费中心识别。The uplink and downlink traffic of the same type of service can be configured with different service IDs, and the service ID can be recorded in the bill to indicate the type of service. For example, the service ID can be recorded in the Record Extension field of G-CDR to distinguish the service type and facilitate the identification of the billing center. .

业务ID为固定长度是10位的数字,顺序包含四部分内容:The business ID is a fixed-length 10-digit number, which contains four parts in sequence:

全网/本地业务标识:1位数,1表示全网业务,2表示本地业务;Entire network/local service identification: 1 digit, 1 indicates the entire network service, 2 indicates the local service;

业务大类:2位数,区分业务属于WAP(Wireless Aplication Protocol,无线应用协议)、彩信、流媒体还是KJAVA等;Business categories: 2 digits, distinguishing whether the business belongs to WAP (Wireless Aplication Protocol, wireless application protocol), MMS, streaming media or KJAVA, etc.;

接入区域:目前国内为3位数,例如省会长途区号首位去零,不足三位右补零;Access area: At present, there are 3 digits in China. For example, the first digit of the long-distance area code of the provincial capital will be zeroed out, and zeros will be filled on the right if there are less than three digits;

业务编码:4位数,标识大类下需要进一步区分流量的业务。Business code: 4 digits, identifying the business that needs to further distinguish traffic under the category.

(3)三/四层属性:包括目的IP地址和掩码、目的端口范围、协议类型(TCP/UDP),还可以包括源IP地址和掩码、源端口范围。(3) Layer 3/4 attributes: including destination IP address and mask, destination port range, protocol type (TCP/UDP), and may also include source IP address and mask, source port range.

(4)七层属性:包括七层应用的URL、七层应用协议中的特殊字段值(现阶段要求支持x-online-host字段值);根据计费规则,GGSN要能够分析与某个URL连接有关的所有数据,且普通计费规则中URL应支持前置、中置、后置通配符和同时指定多个通配符,如www.isp.com/*,*.isp.com,*.mp3,www.*.com,www.isp.*,*.isp.*等。并且应能将七层应用协议中的特殊字段值(现阶段要求支持x-online-host字段的IP地址)作为普通计费规则的业务属性。(4) Layer-7 attributes: including the URL of the layer-7 application and the special field value in the layer-7 application protocol (the x-online-host field value is required at this stage); according to the charging rules, the GGSN must be able to analyze the URL associated with a certain URL All data related to the connection, and the URL in the general billing rules should support pre, middle, post wildcards and specify multiple wildcards at the same time, such as www.isp.com/*, *.isp.com, *.mp3, www.*.com, www.isp.*, *.isp.*, etc. And it should be able to use the special field value in the seven-layer application protocol (at this stage, it is required to support the IP address of the x-online-host field) as the business attribute of the general charging rule.

在进行七层URL的匹配时对于通配符按以下规定处理:Wildcards are handled according to the following regulations when matching seven-level URLs:

“*”如用于URL的起始部分(“/”以前),只代表字符串且不包含“.”,如“*.monternet.com”可以用于匹配“news.monternet.com”;If "*" is used at the beginning of the URL (before "/"), it only represents a string and does not contain ".", such as "*.monternet.com" can be used to match "news.monternet.com";

“*”如用于URL的路径部分(“/”以后),可代表任何字符,包括“/”,如“www.monternet.com/*”可以用于匹配任何以www.monternet.com/开头的URL;"*" is used for the path part of the URL (after "/"), it can represent any character, including "/", such as "www.monternet.com/*" can be used to match anything starting with www.monternet.com/ the URL;

“*”如用于代表文件名或文件格式,如“*.mp3或news.*”,一般会加URL作为限定,如www.monternet.com/*.mp3可以用于匹配任何以www.monternet.com开头的URL下的mp3格式的文件;If "*" is used to represent a file name or file format, such as "*.mp3 or news.*", URL is usually added as a limit, such as www.monternet.com/*.mp3 can be used to match any www.monternet Files in mp3 format under the URL starting with .com;

(5)匹配优先级:决定普通计费规则的匹配顺序,可以人为设置。(5) Matching priority: determine the matching order of common charging rules, which can be set manually.

在为普通计费规则设置匹配优先级时,应当遵循以下原则:当两个普通计费规则之间是互包含关系时,子集普通计费规则的匹配优先级应当高于另一个普通计费规则。比如:URL为www.sina.com/*的第一普通计费规则包含URL为www.sina.com/sports/*的第二普通计费规则,则第二普通计费规则的匹配优先级应当高于第一普通计费规则。该原则同样适用于没有人为设置匹配优先级的普通计费规则,对于没有人为设置匹配优先级的普通计费规则,其匹配顺序如图3流程所述。When setting the matching priority for a general charging rule, the following principle should be followed: when two general charging rules are mutually inclusive, the matching priority of the subset general charging rule should be higher than that of the other general charging rule rule. For example, if the first common charging rule whose URL is www.sina.com/* contains the second common charging rule whose URL is www.sina.com/sports/*, the matching priority of the second common charging rule should be higher than the first common charging rule. This principle is also applicable to ordinary charging rules without artificially set matching priorities. For ordinary charging rules without artificially set matching priorities, the matching sequence is as shown in the flow chart in Figure 3.

当GGSN解析得到内容计费类业务的业务属性之后,按照普通计费规则的匹配优先级,从匹配优先级最高的普通计费规则开始匹配,依次类推,确定与内容计费类业务的业务属性最相匹配的普通计费规则为该内容计费类业务对应的计费规则。After the GGSN analyzes and obtains the business attributes of the content-based charging services, according to the matching priority of the common charging rules, start matching with the common charging rules with the highest matching priority, and so on, to determine the business attributes of the content-based charging services The most matching general charging rule is the charging rule corresponding to the content charging service.

另外,为了存储方便,可以为每个计费规则、每个资费标准分别设置代码,此时,存储计费规则和资费标准对应关系的方式可以为:存储资费标准代码与资费标准的对应关系,存储计费规则代码与计费规则的对应关系,存储计费规则代码和资费标准代码的对应关系。In addition, for the convenience of storage, codes can be set separately for each billing rule and each tariff standard. At this time, the way to store the corresponding relationship between the billing rule and the tariff standard can be: store the corresponding relationship between the tariff standard code and the tariff standard, The corresponding relationship between charging rule codes and charging rules is stored, and the corresponding relationship between charging rule codes and tariff standard codes is stored.

其中,GGSN存储的包括三层至七层属性的普通计费规则数应当不少于1000个,其中包括七层属性的普通计费规则数不少于400个;GGSN可以存储用于内容计费的APN个数应当不少于200个。Among them, the number of general charging rules stored by the GGSN including attributes of layers 3 to 7 shall not be less than 1,000, and the number of ordinary charging rules including attributes of layers 7 shall not be less than 400; GGSN can store The number of APNs should be no less than 200.

本发明实施例提供的数据业务的传输方法包括以下几个部分:The transmission method of the data service provided by the embodiment of the present invention includes the following parts:

一、BOSS按照设定时间或者周期性确定用户是否为传输控制用户。1. The BOSS determines whether the user is a transmission control user according to the set time or periodically.

BOSS按照设定时间或者周期性(通常以一天为单位)检查预付费用户账户信息和后付费用户信用信息,当预付费用户账户余额低于设定额度、或者后付费用户的信用低于设定信用时,BOSS将此类用户确定为传输控制用户,并在BOSS域中存储此类用户各自的可用金额信息(可设置虚拟账户来存储),并对HLR中此类用户各自的签约信息进行标记(通常可对ChargingCharacteristics字段进行设置),以标明该用户为传输控制用户。BOSS checks prepaid user account information and postpaid user credit information according to the set time or periodically (usually in one day). When crediting, BOSS will determine such users as transmission control users, and store the respective available amount information of such users in the BOSS domain (virtual accounts can be set to store), and mark the respective contract information of such users in HLR (Generally, the ChargingCharacteristics field can be set) to indicate that the user is a transmission control user.

其中,用户可用金额的确定方法包括:预付费用户账户的余额为该用户的可用金额;将后付费用户的信用按照一定比例换算为金额为该用户的可用金额,比如:系统规定后付费用户的一个信用换算5人民币,若某后付费用户的信用为10,则该用户的可用金额为5*10=50人民币。Among them, the method for determining the user’s available amount includes: the balance of the prepaid user’s account is the user’s available amount; the credit of the postpaid user is converted into an amount according to a certain percentage, which is the user’s available amount, for example: the system stipulates that the postpaid user’s One credit is converted into RMB 5, if the credit of a postpaid user is 10, then the available amount of the user is 5*10=50 RMB.

二、在GGSN接收到用户请求的第一数据业务的第一个数据包后,当用户是传输控制用户时,如果第一数据业务是内容计费类业务,则根据计费规则和第一数据业务的业务属性,确定第一数据业务对应的第一计费规则,以及根据第一计费规则、和存储的计费规则与资费标准的对应关系,确定第一数据业务的第一资费标准;如果第一数据业务是非内容计费类业务,则确定第一数据业务的资费标准,参阅图2所示,该方法进一步包括如下步骤:2. After the GGSN receives the first data packet of the first data service requested by the user, when the user is a transmission control user, if the first data service is a content charging service, then according to the charging rules and the first data service The service attribute of the service, determining the first charging rule corresponding to the first data service, and determining the first charging standard of the first data service according to the first charging rule and the corresponding relationship between the stored charging rule and the charging standard; If the first data service is a non-content charging class service, then determine the charging standard of the first data service, as shown in Figure 2, the method further includes the following steps:

S201、当用户附着到分组域网络时,HLR将用户的签约信息提供给SGSN。S201. When the user attaches to the packet domain network, the HLR provides the subscription information of the user to the SGSN.

S202、当用户发起激活请求时,SGSN将ChargingCharacteristics字段通过Creat PDP context Request消息传递给GGSN。S202. When the user initiates an activation request, the SGSN transmits the ChargingCharacteristics field to the GGSN through the Create PDP context Request message.

S203、当用户发起数据业务请求后,当GGSN接收到用户请求的第一数据业务的第一个数据包时,GGSN检查ChargingCharacteristics字段,当确定用户是传输控制用户时,执行S204;当确定用户不是传输控制用户时,执行正常的数据转发功能,不再执行后续步骤。S203. After the user initiates a data service request, when the GGSN receives the first data packet of the first data service requested by the user, the GGSN checks the ChargingCharacteristics field, and when it is determined that the user is a transmission control user, execute S204; when it is determined that the user is not When transferring the control user, perform the normal data forwarding function, and do not perform subsequent steps.

S204、当用户是传输控制用户,GGSN确定第一数据业务是内容计费类业务还是非内容计费类业务,如果是内容计费类业务,则执行S205;如果是非内容计费类业务,则执行S206。S204. When the user is a transmission control user, the GGSN determines whether the first data service is a content charging service or a non-content charging service. If it is a content charging service, perform S205; if it is a non-content charging service, then Execute S206.

通常,GGSN可以根据第一个数据包的APN信息确定第一数据业务是内容计费类业务还是非内容计费类业务。Usually, the GGSN can determine whether the first data service is a content charging service or a non-content charging service according to the APN information of the first data packet.

S205、当第一数据业务是非内容计费类业务时,GGSN确定第一数据业务的资费标准为非内容计费类业务的资费标准。S205. When the first data service is a non-content charging service, the GGSN determines that the charging standard of the first data service is the charging standard of a non-content charging service.

S206、当第一数据业务是内容计费类业务时,根据计费规则和第一数据业务的业务属性,确定第一数据业务对应的第一计费规则,并根据第一计费规则、和存储的计费规则与资费标准的对应关系,确定第一数据业务的第一资费标准。S206. When the first data service is a content charging service, determine the first charging rule corresponding to the first data service according to the charging rule and the service attribute of the first data service, and determine the first charging rule corresponding to the first data service according to the first charging rule, and The stored correspondence between charging rules and charging standards determines the first charging standard for the first data service.

本发明实施例要求GGSN能够对接收到的数据包(GTP协议之上)进行不同协议层次(从三层到七层)的业务解析,得到业务属性。比如GGSN应支持对数据包进行以下层次的业务解析:The embodiment of the present invention requires the GGSN to perform business analysis on different protocol layers (from layer 3 to layer 7) to the received data packets (above the GTP protocol) to obtain service attributes. For example, the GGSN should support the following levels of service analysis for data packets:

(1)承载层:基于PDP(Packet Data Protocol,分组数据协议)上下文或APN,APN指计费规则中包括的APN;(1) Bearer layer: based on PDP (Packet Data Protocol, packet data protocol) context or APN, APN refers to the APN included in the charging rules;

(2)IP协议的第三层:基于源IP地址、源IP地址掩码、目的IP地址和目的IP地址掩码;(2) The third layer of IP protocol: based on source IP address, source IP address mask, destination IP address and destination IP address mask;

(3)IP协议的第四层:基于协议类型(如TCP/UDP等)、源端口号、目的端口号;在第四层协议中,应能支持控制面与承载面分离(承载平面由控制平面动态分配)的协议类型,如FTP(File Transfer Protocol,文件传送协议)(passive mode)等;(3) The fourth layer of the IP protocol: based on the protocol type (such as TCP/UDP, etc.), source port number, and destination port number; in the fourth layer protocol, it should be able to support the separation of the control plane and the bearer plane (the bearer plane is controlled by the Plane dynamic allocation) protocol type, such as FTP (File Transfer Protocol, file transfer protocol) (passive mode), etc.;

(4)IP协议的应用层:第七层,基于应用的URL、特殊字段信息(如x-online-host字段)等,上述URL以及x-online-host字段的支持需要同时考虑WAP1.x和WAP2.0协议。(4) Application layer of IP protocol: the seventh layer, based on application URL, special field information (such as x-online-host field), etc., the support of the above URL and x-online-host field needs to consider WAP1.x and WAP2.0 agreement.

当第一数据业务是内容计费类业务、且内容计费规则中没有人为设置的匹配优先级,则GGSN根据第一数据业务的业务属性为第一数据业务匹配计费规则和资费标准的流程如下所述:When the first data service is a content charging service and there is no artificially set matching priority in the content charging rules, the GGSN matches the charging rules and tariff standards for the first data service according to the service attributes of the first data service As described below:

A、GGSN分析数据包的三/四层属性,获得数据的目的IP地址和端口号等信息。A. The GGSN analyzes the third/fourth layer attributes of the data packet, and obtains information such as the destination IP address and port number of the data.

B、在包含三/四层属性的普通计费规则中进行匹配;B. Match in common charging rules that include Layer 3/4 attributes;

如果获得与数据包三/四层属性最相匹配的一个普通计费规则,且该普通计费规则不包含七层属性,则执行G。If a general charging rule that best matches the layer 3/4 attributes of the data packet is obtained, and the general charging rule does not include the layer 7 attributes, then execute G.

如果获得与数据包三/四层属性最相匹配的普通计费规则X,但普通计费规则X包含七层属性,则执行C。If the common charging rule X that best matches the layer 3/4 attributes of the data packet is obtained, but the common charging rule X contains layer 7 attributes, then execute C.

如果数据包三/四层属性与任何一个普通计费规则都无法匹配,则执行F。If the Layer 3/4 attributes of the data packet cannot match any common charging rule, execute F.

C、GGSN分析数据包七层属性,获得数据包的七层URL属性。C. The GGSN analyzes the seven-layer attribute of the data packet, and obtains the seven-layer URL attribute of the data packet.

D、在三/四层属性与普通计费规则X的三/四层属性相同的、且包含七层属性的第一类普通计费规则中进行匹配;D. Matching is performed in the first type of common charging rule whose third/fourth layer attribute is the same as the third/fourth layer attribute of the ordinary charging rule X and includes seven layer attributes;

如果获得与数据包七层属性最相匹配的一个普通计费规则,则执行G。If a common charging rule that best matches the seven-layer attribute of the data packet is obtained, then execute G.

如果数据包七层属性与第一类普通计费规则中的任何一个普通计费规则都无法匹配,则执行E。If the layer-7 attribute of the data packet cannot match any common charging rule in the first type of common charging rules, then execute E.

E、如果数据包七层属性与第一类普通计费规则中的任何一个普通计费规则都无法匹配,则在仅包含三/四层属性的第二类普通计费规则中进行匹配;E. If the seven-layer attribute of the data packet cannot match any one of the first-class general charging rules, then match it in the second-class general charging rule that only includes three/four-layer attributes;

如果获得与数据包三/四层属性最相匹配的一个普通计费规则,则执行G;If a common charging rule that best matches the layer 3/4 attributes of the data packet is obtained, execute G;

如果数据包三/四层属性与第二类普通计费规则中的任何一个普通计费规则都无法匹配,则执行F。If the layer 3/4 attributes of the data packet cannot match any common charging rule in the second type of common charging rules, then execute F.

F、缺省计费规则就是第一数据业务对应的计费规则,缺省计费规则对应的资费标准就是第一数据业务的资费标准。F. The default charging rule is the charging rule corresponding to the first data service, and the charging standard corresponding to the default charging rule is the charging standard of the first data service.

G、获得的最相匹配的普通计费规则就是第一数据业务对应的计费规则,该最相匹配的普通计费规则对应的资费标准就是第一数据业务的资费标准。G. The obtained most matching general charging rule is the charging rule corresponding to the first data service, and the charging standard corresponding to the most matching general charging rule is the charging standard of the first data service.

其中,在进行计费规则的匹配时应遵循以下原则:当两个普通计费规则之间是互包含关系时,子集普通计费规则的匹配优先级应当高于另一个普通计费规则。Wherein, the following principle should be followed when matching the charging rules: when two general charging rules are mutually inclusive, the matching priority of the subset general charging rule should be higher than that of the other general charging rule.

本发明实施例中,GGSN支持的数据业务应包括:HTTP(Hypertext TransferProtocol,超文本传送协议)业务、WAP浏览类业务、MMS业务、流媒体业务、邮件类业务、FTP业务等。因此GGSN应具备对HTTP、WAP1.x、WAP2.0、RTSP(Real Time Streaming Protocol,实时流协议)、RTP(Real TransmissionProtocol,实时传输协议)和RTCP(Realtime Transmission Control Protocol,实时传输控制协议)FTP、POP3/SMTP(Post Office Protocol-Version 3/Simple MailTransfer Protocol,邮局协议的第3个版本/简单邮件传输协议)等的协议分析能力。In the embodiment of the present invention, the data services supported by the GGSN should include: HTTP (Hypertext Transfer Protocol, hypertext transfer protocol) services, WAP browsing services, MMS services, streaming media services, mail services, FTP services, etc. Therefore, GGSN should have support for HTTP, WAP1. , POP3/SMTP (Post Office Protocol-Version 3/Simple MailTransfer Protocol, the third version of the Post Office Protocol/Simple Mail Transfer Protocol) and other protocol analysis capabilities.

另外,当普通计费规则中包括人为设置的匹配优先级时,GGSN应该按照普通计费规则的匹配优先级为第一数据业务匹配计费规则和资费标准。In addition, when the common charging rule includes an artificially set matching priority, the GGSN should match the charging rule and the charging standard for the first data service according to the matching priority of the common charging rule.

三、GGSN向BOSS发起请求以确定是否需要对用户进行传输控制,并将第一数据业务的资费标准(简称为第一资费标准)发送给BOSS。3. The GGSN initiates a request to the BOSS to determine whether transmission control needs to be performed on the user, and sends the charging standard of the first data service (abbreviated as the first charging standard) to the BOSS.

其中,GGSN向BOSS发起的请求可以是鉴权请求,也可以是其它形式的请求。之所以GGSN需要向BOSS发起请求,是由于HLR上用户签约信息的更新可能并不及时,当GGSN根据ChargingCharacteristics字段确定用户属于传输控制用户之后,向BOSS进行请求,来进一步确定是否需要对用户进行传输控制,可以避免对非传输控制用户进行传输控制,避免影响对用户的服务质量。Wherein, the request initiated by the GGSN to the BOSS may be an authentication request or other forms of requests. The reason why GGSN needs to initiate a request to BOSS is that the update of user subscription information on HLR may not be timely. After GGSN determines that the user belongs to the transmission control user according to the ChargingCharacteristics field, it will request BOSS to further determine whether the user needs to be transmitted. Control can avoid transmission control for non-transmission control users and avoid affecting the quality of service for users.

四、当用户虚拟账户中用户的可用金额不等于0时,BOSS确定需要对用户进行传输控制,BOSS根据第一资费标准和用户的可用金额,确定用户在第一资费标准下的初始可用字节数,确定用户剩余的可用金额,并向GGSN指示需要对用户进行传输控制,向GGSN通知上述初始可用字节数。4. When the user's available amount in the user's virtual account is not equal to 0, BOSS determines that it is necessary to carry out transmission control on the user, and BOSS determines the user's initial available bytes under the first tariff standard according to the first tariff standard and the user's available amount Determine the remaining available amount of the user, and indicate to the GGSN that transmission control needs to be performed on the user, and notify the GGSN of the above-mentioned initial available bytes.

当用户虚拟账户中用户的可用金额等于0时,BOSS向GGSN指示中断第一数据业务。When the user's available amount in the user's virtual account is equal to 0, the BOSS instructs the GGSN to interrupt the first data service.

当用户没有对应的虚拟账户时,BOSS确定不需要对用户进行传输控制,向GGSN指示执行正常的数据转发功能,进行正常的计费。When the user does not have a corresponding virtual account, the BOSS determines that there is no need to perform transmission control on the user, and instructs the GGSN to execute the normal data forwarding function and perform normal charging.

五、GGSN根据BOSS指示的可用字节数对用户进行传输控制,参阅图3所示,包括如下步骤:5. The GGSN performs transmission control on the user according to the number of available bytes indicated by the BOSS, as shown in Figure 3, including the following steps:

S301、GGSN传输大小为初始可用字节数的数据A,如果数据A传输完后还有未传输的第一数据业务数据,则GGSN向BOSS请求用户在第一资费标准下的第二可用字节数;S301. The GGSN transmits data A whose size is the initial number of available bytes. If there is still untransmitted first data service data after data A is transmitted, the GGSN requests the second available bytes of the user under the first tariff standard from the BOSS. number;

S302、BOSS根据用户剩余的可用金额和第一资费标准,确定用户在第一资费标准下的第二可用字节数并指示给GGSN,并确定用户剩余的可用金额;S302. The BOSS determines the second available bytes of the user under the first tariff standard according to the remaining available amount of the user and the first tariff standard, and indicates to the GGSN, and determines the remaining available amount of the user;

S303、GGSN传输大小为第二可用字节数的数据B,如果数据B传输完后还有未传输的第一数据业务数据,则GGSN向BOSS请求用户在第一资费标准下的第三可用字节数,依次类推,直到第一数据业务数据全部传输完;S303. The GGSN transmits the data B whose size is the second number of available bytes. If there is still untransmitted first data service data after the data B is transmitted, the GGSN requests the BOSS for the third available bytes of the user under the first tariff standard. The number of sections, and so on, until all the data of the first data service is transmitted;

其中,在S301~S303 GGSN传输第一数据业务数据的过程中,如果第一数据业务数据未全部传输完、但用户的可用金额已被全部用完,则BOSS指示GGSN中断第一数据业务;如果第一数据业务数据全部传输完、但还存在剩余的可用字节数,则执行后续第六部分所述的用户可用金额回补过程。Wherein, in the process of S301~S303 GGSN transmits the first data service data, if the first data service data is not completely transmitted, but the user's available money is all used up, then the BOSS instructs the GGSN to interrupt the first data service; if If all the data of the first data service has been transmitted, but there are still available bytes remaining, then the process of making up the user’s available amount as described in the sixth part will be executed.

由上可见,用户在第一资费标准下的可用字节数是由BOSS分多次指示给GGSN的,而不是一次性地将用户的可用金额全部用于第一数据业务,这样可以避免一次性地将用户的可用金额全部地用于第一数据业务,而当用户请求其它数据业务时,无法再为其它数据业务分配可用字节数,造成无法执行其它数据业务。It can be seen from the above that the number of bytes available to the user under the first tariff standard is indicated by the BOSS to the GGSN multiple times, instead of using all the available amount of the user for the first data service at one time, so as to avoid one-time The user's available amount is fully used for the first data service, and when the user requests other data services, the available bytes cannot be allocated for other data services, resulting in the inability to execute other data services.

另外,在S301~S303中,当第一数据业务是内容计费类业务时,需要将传输的第一数据业务的数据流量计入对应的计费规则所对应的流量中;当第一数据业务是非内容计费类业务时,按照通常统计流量的方法统计第一数据业务的流量。在传输第一数据业务数据的过程中,GGSN可以根据第一资费标准产生中间话单。中间话单可以是部分话单,部分话单的产生条件可以基于时长或流量,即当数据传输达到一定的时长或流量阈值时关闭话单,产生部分话单,主要目的是避免话单产生周期太长。In addition, in S301-S303, when the first data service is a content charging service, the data traffic of the transmitted first data service needs to be included in the traffic corresponding to the corresponding charging rule; when the first data service If it is a non-content charging service, the traffic of the first data service is counted according to the usual method of counting traffic. During the process of transmitting the first data service data, the GGSN can generate an intermediate bill according to the first charging standard. The intermediate bills can be partial bills, and the generation conditions of some bills can be based on duration or traffic, that is, when the data transmission reaches a certain duration or traffic threshold, the bills will be closed and partial bills will be generated. The main purpose is to avoid the cycle of bill generation too long.

六、当PDP去活后,进行用户可用金额的回补。6. When the PDP is deactivated, the user's available amount will be replenished.

当PDP去活后,如果第一数据业务数据全部传输完、但用户在第一资费标准下的可用字节数还有剩余,则GGSN将剩余的可用字节数通知给BOSS,请求BOSS将剩余的可用字节数换算为金额补回到用户剩余的可用金额中;BOSS接收到请求后,将剩余的可用字节数换算为金额补回到用户剩余的可用金额中。After the PDP is deactivated, if all the data of the first data service has been transmitted but the user still has the remaining available bytes under the first tariff standard, the GGSN will notify the BOSS of the remaining available bytes and request the BOSS to transfer the remaining The number of available bytes is converted into money and added back to the user's remaining available money; after receiving the request, BOSS converts the remaining available bytes into money and makes it back to the user's remaining available money.

七、在GGSN传输第一数据业务数据的过程中,可能还要传输其它多种数据业务的数据,此时,对于资费标准不是第一资费标准的第二数据业务,其传输控制方法与对第一数据业务进行传输控制的方法相同。7. During the process of transmitting the data of the first data service, the GGSN may also transmit data of other multiple data services. The transmission control method of a data service is the same.

而对于资费标准是第一资费标准的其它一种或多种数据业务,则可以与第一数据业务共用用户在第一资费标准下的可用字节数,当第一数据业务和其它数据业务中任何一种数据业务的数据未传输完时,再次向BOSS请求用户在第一资费标准下的可用字节数。其中,当GGSN同时传输的上述多种数据业务都是非内容计费类业务时,GGSN按照通常统计流量的方法统计上述多种数据业务的流量;当GGSN同时传输的上述多种数据业务都是内容计费类业务时,GGSN应将传输的各数据业务流量分别计入相应计费规则对应的流量中,并分别根据第一资费标准产生各数据业务的中间话单。And for other one or more data services whose tariff standard is the first tariff standard, the number of available bytes of the user under the first tariff standard can be shared with the first data service, when the first data service and other data services When the data of any data service has not been transmitted, the BOSS is requested again for the number of available bytes of the user under the first charging standard. Among them, when the above-mentioned multiple data services transmitted by the GGSN at the same time are all non-content charging services, the GGSN counts the traffic of the above-mentioned multiple data services according to the usual method of counting traffic; when the above-mentioned multiple data services transmitted by the GGSN at the same time are content For billing services, the GGSN shall count the transmitted traffic of each data service into the traffic corresponding to the corresponding billing rule, and generate intermediate bills for each data service according to the first charging standard.

比如:如果GGSN需要同时传输第一数据业务数据和第三数据业务数据,第一数据业务和第三数据业务的资费标准都是第一资费标准,则当用户在第一资费标准下的可用字节数为M时,则GGSN确定可以传输的第一数据业务数据大小为m字节、可以传输的第三数据业务数据大小为M-m字节,然后,GGSN传输大小为m字节的第一数据业务数据,传输大小为M-m字节的第三数据业务数据,当第一数据业务、第三数据业务中任何一个数据业务的数据未传输完时,再次向BOSS请求用户在第一资费标准下的可用字节数,依次类推;For example: if the GGSN needs to transmit the first data service data and the third data service data at the same time, and the tariff standards of the first data service and the third data service are both the first tariff standard, then when the user’s available characters under the first tariff standard When the number of nodes is M, the GGSN determines that the size of the first data service that can be transmitted is m bytes, and the size of the third data service that can be transmitted is M-m bytes, and then the GGSN transmits the first data with a size of m bytes Service data, the third data service data whose size is M-m bytes is transmitted. When the data of any one of the first data service and the third data service has not been transmitted, the BOSS is requested again to the user under the first tariff standard Available bytes, and so on;

如果GGSN在传输完第一数据业务数据之后再传输第三数据业务数据,第一数据业务和第三数据业务的资费标准都是第一资费标准,则当用户在第一资费标准下的可用字节数为M,传输完第一数据业务数据之后可用字节数还剩下n字节,则GGSN可以传输的第二数据业务数据大小为n字节,当第二数据业务数据未传输完时,再次向BOSS请求用户在第一资费标准下的可用字节数,依次类推。If the GGSN transmits the third data service data after transmitting the first data service data, and the charging standards of the first data service and the third data service are both the first charging standard, then when the users can use the available characters under the first charging standard The number of sections is M, and there are n bytes left in the number of available bytes after the first data service data is transmitted, then the size of the second data service data that can be transmitted by the GGSN is n bytes, when the second data service data has not been transmitted , and request the BOSS again for the number of available bytes of the user under the first tariff standard, and so on.

可见,资费标准相同的数据业务共用用户在该资费标准下的可用字节数,可以避免GGSN频繁地向BOSS请求可用字节数,节省网络资源。It can be seen that the data services with the same tariff standard share the user's available bytes under the tariff standard, which can prevent the GGSN from frequently requesting the available bytes from the BOSS and save network resources.

下面以具体实施例说明本发明实施例的技术方案:The technical scheme of the embodiment of the present invention is illustrated below with specific examples:

实施例一Embodiment one

参阅图4所示,对于APN为非内容计费类的数据业务请求,本发明实施例一采用如下流程进行数据业务的传输控制,其中,在执行以下流程的过程中,BOSS会定时筛选传输控制用户,在BOSS中设置此类用户的虚拟账户以存储用户的可用金额,并对HLR中此类用户各自的签约信息中的ChargingCharacteristics字段进行设置,以标明该用户为传输控制用户。Referring to Fig. 4, for the data service request whose APN is non-content billing, Embodiment 1 of the present invention adopts the following process to carry out the transmission control of the data service, wherein, during the process of executing the following process, the BOSS will regularly screen the transmission control For users, set the virtual account of such users in BOSS to store the user's available amount, and set the ChargingCharacteristics field in the respective subscription information of such users in HLR to indicate that the user is a transmission control user.

S401、当用户附着到分组域网络时,HLR将用户的签约信息提供给SGSN。S401. When the user attaches to the packet domain network, the HLR provides the subscription information of the user to the SGSN.

S402、当用户发起激活请求时,SGSN将用户的ChargingCharacteristics字段通过Creat PDP context Request消息传递给GGSN。S402. When the user initiates an activation request, the SGSN transmits the user's ChargingCharacteristics field to the GGSN through the Create PDP context Request message.

S403、当用户发起数据业务请求后,GGSN接收到第一数据业务的第一个数据包时,先缓存该数据包,确定第一数据业务是非内容计费类业务。S403. After the user initiates a data service request, when the GGSN receives the first data packet of the first data service, it buffers the data packet first, and determines that the first data service is a non-content charging service.

S404、GGSN检查ChargingCharacteristics字段以确定用户是否为传输控制用户,如果是,则执行S405;否则,进行正常的数据转发功能,进行正常的计费,不再执行后续步骤。S404. The GGSN checks the ChargingCharacteristics field to determine whether the user is a transmission control user, and if so, executes S405; otherwise, performs normal data forwarding function and normal charging, and does not perform subsequent steps.

S405、当用户是传输控制用户时,GGSN确定第一数据业务的第一资费标准为非内容计费类业务的资费标准。S405. When the user is a transmission control user, the GGSN determines that the first charging standard of the first data service is the charging standard of a non-content charging service.

S406、GGSN向BOSS发起鉴权请求,以确定是否需要对用户进行传输控制。S406. The GGSN initiates an authentication request to the BOSS to determine whether transmission control needs to be performed on the user.

S407、BOSS据用户虚拟账户信息确定是否需要对用户进行传输控制;S407. The BOSS determines whether transmission control needs to be performed on the user according to the user's virtual account information;

当用户虚拟账户中用户的可用金额不等于0时,BOSS确定需要对用户进行传输控制,执行S408;When the user's available amount in the user's virtual account is not equal to 0, the BOSS determines that transmission control needs to be performed on the user, and executes S408;

当用户虚拟账户中用户的可用金额等于0时,BOSS向GGSN指示中断业务,GGSN中断业务,不再执行后续步骤。When the user's available amount in the user's virtual account is equal to 0, the BOSS instructs the GGSN to suspend the service, and the GGSN suspends the service and does not perform subsequent steps.

当用户没有对应的虚拟账户时,BOSS确定不需要对用户进行传输控制,向GGSN指示执行正常的数据转发功能,进行正常的计费,不再执行后续步骤。When the user does not have a corresponding virtual account, the BOSS determines that there is no need to perform transmission control on the user, and instructs the GGSN to perform the normal data forwarding function and normal charging, and does not perform subsequent steps.

S408、BOSS向GGSN返回响应,响应包括:需要对用户进行传输控制的指示信息、和初始可用字节数信息,并确定用户剩余的可用金额。S408. The BOSS returns a response to the GGSN. The response includes: instruction information requiring transmission control for the user, information on the number of initial available bytes, and determines the remaining available amount of the user.

S409、GGSN传输大小为初始可用字节数的数据C,如果数据C传输完后还有未传输的第一数据业务数据,则GGSN向BOSS请求第二可用字节数;S409. The GGSN transmits data C whose size is the initial number of available bytes. If there is still untransmitted first data service data after the data C is transmitted, the GGSN requests the second number of available bytes from the BOSS;

S410、BOSS根据用户剩余的可用金额和第一资费标准,确定第二可用字节数并指示给GGSN,并确定用户剩余的可用金额;S410. The BOSS determines the second number of available bytes according to the user's remaining available amount and the first tariff standard, and indicates to the GGSN, and determines the user's remaining available amount;

S411、GGSN传输大小为第二可用字节数的数据D,如果数据D传输完后还有未传输的第一数据业务数据,则GGSN向BOSS请求第三可用字节数,依次类推,直到传输完第一数据业务数据,执行S412;S411. The GGSN transmits the data D whose size is the second available number of bytes. If there is still untransmitted first data service data after the data D is transmitted, the GGSN requests the BOSS for the third available number of bytes, and so on until the transmission After completing the first data service data, execute S412;

其中,在S409~S411中,即GGSN传输第一数据业务数据的过程中,如果第一数据业务数据未全部传输完、但用户的可用金额已被全部用完,则中断第一数据业务。Wherein, in S409-S411, that is, during the transmission of the first data service data by the GGSN, if the first data service data has not been completely transmitted but the available amount of the user has been used up, the first data service is interrupted.

另外,GGSN在传输第一数据业务数据的过程中,应该统计传输的第一数据业务的数据流量,并相应地产生中间话单,中间话单中标明是第一数据业务的话单,中间话单可以是部分话单。In addition, in the process of transmitting the data of the first data service, the GGSN should count the data flow of the first data service transmitted, and generate an intermediate bill correspondingly. The intermediate bill indicates that it is the bill of the first data service, and the intermediate bill It can be a partial bill.

S412、传输完第一数据业务数据后,判断是否存在剩余的可用字节数,如果是,则执行S413;否则执行S415。S412. After the first data service data is transmitted, judge whether there are remaining available bytes, and if yes, execute S413; otherwise, execute S415.

S413、当PDP去活后,GGSN将剩余的可用字节数通知给BOSS,请求BOSS将剩余的可用字节数换算为金额补回到用户剩余的可用金额中。S413. After the PDP is deactivated, the GGSN notifies the BOSS of the remaining available bytes, and requests the BOSS to convert the remaining available bytes into money and add it back to the user's remaining available money.

S414、BOSS将剩余的可用字节数换算为金额补回到用户剩余的可用金额中。S414. The BOSS converts the remaining number of available bytes into money and adds it back to the remaining available money of the user.

S415、BOSS根据GGSN产生的中间话单生成最终话单。S415. The BOSS generates a final bill according to the intermediate bill generated by the GGSN.

GGSN在传输第一数据业务过程中,如果还有其它非内容计费类业务请求,则其它非内容计费类业务数据可以与第一数据业务共用BOSS返回的可用字节数。其它非内容计费类业务对应话单的产生方法与第一数据业务话单的产生方法相同。When the GGSN transmits the first data service, if there are other non-content charging service requests, the other non-content charging service data can share the available bytes returned by the BOSS with the first data service. The method for generating the bills corresponding to other non-content charging services is the same as the method for generating the bills for the first data service.

本发明实施例一利用本发明实施例技术方案,使GGSN可以对用户请求的数据业务进行传输控制,可以将用户的消费额度控制在可用金额之内,避免了用户恶意使用分组域数据业务,降低了用户的欠费风险。Embodiment 1 of the present invention Utilizes the technical solution of the embodiment of the present invention to enable the GGSN to control the transmission of data services requested by users, and to control the user's consumption quota within the available amount, avoiding malicious use of packet domain data services by users, reducing The user's arrears risk.

实施例二Embodiment two

参阅图5所示,对于APN为内容计费类的数据业务请求,以没有人为设置匹配优先级的计费规则为例,本发明实施例二采用如下流程进行数据业务控制,其中,在执行以下流程的过程中,BOSS会定时筛选传输控制用户,在BOSS中设置此类用户的虚拟账户以存储用户的可用金额,并对HLR中此类用户各自的签约信息中的ChargingCharacteristics字段进行设置,以标明该用户为传输控制用户。Referring to Fig. 5, for a data service request whose APN is a content charging class, taking the charging rule without artificial setting of matching priority as an example, Embodiment 2 of the present invention adopts the following process for data service control, wherein the following is executed: During the process, BOSS will regularly screen transmission control users, set up virtual accounts of such users in BOSS to store the user's available amount, and set the ChargingCharacteristics field in the respective contract information of such users in HLR to indicate This user is the Transport Control user.

S501、当用户附着到分组域网络时,HLR将用户的签约信息提供给SGSN。S501. When the user attaches to the packet domain network, the HLR provides the subscription information of the user to the SGSN.

S502、当用户发起激活请求时,SGSN将ChargingCharacteristics字段通过Creat PDP context Request消息传递给GGSN。S502. When the user initiates an activation request, the SGSN transmits the ChargingCharacteristics field to the GGSN through the Create PDP context Request message.

S503、当用户发起数据业务请求后,GGSN接收到第一数据业务的第一个数据包时,先缓存该数据包,确定第一数据业务是内容计费类业务。S503. After the user initiates a data service request, when the GGSN receives the first data packet of the first data service, first buffers the data packet, and determines that the first data service is a content charging service.

S504、GGSN检查ChargingCharacteristics字段以确定用户是否为传输控制用户,如果是,则执行S505;否则,进行正常的数据转发功能,进行正常的计费,不再执行后续步骤。S504. The GGSN checks the ChargingCharacteristics field to determine whether the user is a transmission control user, and if so, executes S505; otherwise, performs normal data forwarding function and normal charging, and does not perform subsequent steps.

S505、当用户是传输控制用户时,采用A~G所述的方法,GGSN根据第一数据业务的业务属性为第一数据业务匹配计费规则和资费标准,得到第一数据业务对应的第一计费规则和第一资费标准。S505. When the user is a transmission control user, using the methods described in A to G, the GGSN matches the charging rule and tariff standard for the first data service according to the service attribute of the first data service, and obtains the first data service corresponding to the first data service. Charging rules and the first tariff standard.

S506、GGSN向BOSS发起鉴权请求以确定是否需要对用户进行传输控制,并将第一资费标准发送给BOSS。S506. The GGSN initiates an authentication request to the BOSS to determine whether transmission control needs to be performed on the user, and sends the first charging standard to the BOSS.

S507、BOSS根据用户虚拟账户信息确定是否需要对用户进行传输控制;S507. The BOSS determines whether transmission control needs to be performed on the user according to the user virtual account information;

当用户虚拟账户中用户的可用金额不等于0时,BOSS确定需要对用户进行传输控制,执行S508;When the user's available amount in the user's virtual account is not equal to 0, the BOSS determines that transmission control needs to be performed on the user, and executes S508;

当用户虚拟账户中用户的可用金额等于0时,BOSS向GGSN指示用户的可用金额等于0、或者向GGSN指示中断业务,GGSN中断业务,不再执行后续步骤。When the user's available amount in the user's virtual account is equal to 0, the BOSS indicates to the GGSN that the user's available amount is equal to 0, or instructs the GGSN to interrupt the service, and the GGSN interrupts the service and does not perform subsequent steps.

当用户没有对应的虚拟账户时,BOSS确定不需要对用户进行传输控制,向GGSN指示执行正常的数据转发功能,进行正常的计费,不再执行后续步骤。When the user does not have a corresponding virtual account, the BOSS determines that there is no need to perform transmission control on the user, and instructs the GGSN to perform the normal data forwarding function and normal charging, and does not perform subsequent steps.

S508、BOSS向GGSN返回响应,响应包括:需要对用户进行传输控制的指示信息、和用户在第一资费标准下的初始可用字节数信息,并确定用户剩余的可用金额。S508. The BOSS returns a response to the GGSN. The response includes: instruction information requiring transmission control for the user, information on the initial available bytes of the user under the first charging standard, and determines the remaining available amount of the user.

S509、GGSN传输大小为初始可用字节数的数据E,如果数据E传输完后还有未传输的第一数据业务数据,则GGSN向BOSS请求用户在第一资费标准下的第二可用字节数;S509. The GGSN transmits the data E whose size is the initial number of available bytes. If there is still untransmitted first data service data after the data E is transmitted, the GGSN requests the second available bytes of the user under the first tariff standard from the BOSS. number;

S510、BOSS根据用户剩余的可用金额和第一资费标准,确定用户在第一资费标准下的第二可用字节数并指示给GGSN,并确定用户剩余的可用金额;S510. According to the user's remaining available amount and the first tariff standard, the BOSS determines the user's second available byte number under the first tariff standard and indicates it to the GGSN, and determines the user's remaining available amount;

S511、GGSN传输大小为第二可用字节数的数据F,如果数据F传输完后还有未传输的第一数据业务数据,则GGSN向BOSS请求用户在第一资费标准下的第三可用字节数,依次类推,直到传输完第一数据业务数据,执行S512;S511. The GGSN transmits the data F whose size is the second number of available bytes. If there is still untransmitted first data service data after the data F is transmitted, the GGSN requests the BOSS for the third available bytes of the user under the first tariff standard. Section number, and so on, until the first data service data is transmitted, execute S512;

其中,在S509~S511中,即GGSN传输第一数据业务数据的过程中,如果第一数据业务数据未全部传输完、但用户的可用金额已被全部用完,则中断第一数据业务。Wherein, in S509-S511, that is, during the transmission of the first data service data by the GGSN, if the first data service data has not been completely transmitted but the available amount of the user has been used up, the first data service is interrupted.

另外,GGSN在传输第一数据业务数据的过程中,应该统计第一数据业务的数据流量,计入第一计费规则对应的流量中,并相应地产生中间话单,中间话单中可以记录第一计费规则中的业务ID以标明是第一数据业务的话单,中间话单可以是部分话单。In addition, in the process of transmitting the data of the first data service, the GGSN should count the data traffic of the first data service, count it into the traffic corresponding to the first charging rule, and generate an intermediate bill accordingly, which can record The service ID in the first charging rule is used to indicate the bill of the first data service, and the intermediate bill may be a partial bill.

S512、传输完第一数据业务数据后,判断是否用户在第一资费标准下的可用字节数有剩余,如果是,则执行S513;否则执行S515。S512. After the first data service data is transmitted, it is judged whether the user has remaining bytes available under the first tariff standard, and if so, execute S513; otherwise, execute S515.

S513、当PDP去活后,GGSN将剩余的可用字节数通知给BOSS,请求BOSS将剩余的可用字节数换算为金额补回到用户剩余的可用金额中。S513. After the PDP is deactivated, the GGSN notifies the BOSS of the remaining available bytes, and requests the BOSS to convert the remaining available bytes into money and add it back to the user's remaining available money.

S514、BOSS将剩余的可用字节数换算为金额补回到用户剩余的可用金额中。S514. The BOSS converts the remaining number of available bytes into money and adds it back to the remaining available money of the user.

S515、BOSS根据GGSN产生的中间话单生成最终话单。S515. The BOSS generates a final bill according to the intermediate bill generated by the GGSN.

另外,在GGSN传输第一数据业务数据的过程中,可能还要传输其它多种数据业务的数据,此时,对于资费标准不是第一资费标准的第二数据业务,需要如前述S513~S515所述方法来进行第二数据业务的传输控制。而对于资费标准是第一资费标准的其它一种或多种数据业务,则可以与第一数据业务共用用户在第一资费标准下的可用字节数,当第一数据业务和上述其它数据业务中任何一种数据业务的数据未传输完时,再次向BOSS请求用户在第一资费标准下的可用字节数,其中,GGSN应将统计的各数据业务流量分别计入相应计费规则对应的流量中,并分别根据第一资费标准产生各数据业务的中间话单。In addition, in the process of transmitting the first data service data, the GGSN may also transmit data of other multiple data services. At this time, for the second data service whose tariff standard is not the first tariff standard, it needs to The above method is used to control the transmission of the second data service. For other one or more data services whose tariff standard is the first tariff standard, the number of available bytes of the user under the first tariff standard can be shared with the first data service. When the first data service and the above-mentioned other data services When the data of any one of the data services in the data service has not been transmitted, the BOSS is requested again for the number of available bytes of the user under the first tariff standard, wherein, the GGSN shall include the statistics of each data service flow into the corresponding charging rule traffic, and generate intermediate bills for each data service according to the first tariff standard.

本发明实施例二利用本发明实施例技术方案,使GGSN可以对用户请求的数据业务进行传输控制,可以将用户的消费额度控制在可用金额之内,避免了用户恶意使用分组域数据业务,降低了用户的欠费风险。Embodiment 2 of the present invention uses the technical solution of the embodiment of the present invention to enable the GGSN to control the transmission of data services requested by users, and to control the user's consumption quota within the available amount, avoiding malicious use of packet domain data services by users, reducing The user's arrears risk.

实施例三Embodiment Three

GGSN内容计费类业务按业务特点可以分成三类,本实施例三主要说明针对第一类业务的传输控制方法:GGSN content billing services can be divided into three categories according to service characteristics, and the third embodiment mainly illustrates the transmission control method for the first category of services:

第一类业务:从协议上能够区分控制面与数据面,控制面的端口固定,数据面的会话(IP或端口)由控制面协商确定的业务,比如:在线流媒体业务;The first type of service: the control plane and the data plane can be distinguished from the protocol, the port of the control plane is fixed, and the session (IP or port) of the data plane is negotiated and determined by the control plane, such as: online streaming service;

第二类业务:端口不动态变化、业务需基于URL识别的业务,比如:HTTP业务、WAP业务、MMS业务、下载类业务(流媒体下载、KJAVA下载)等;The second type of service: the port does not change dynamically, and the service needs to be identified based on the URL, such as: HTTP service, WAP service, MMS service, download service (streaming media download, KJAVA download), etc.;

第三类业务:Server端端口固定、可通过三/四层解析进行内容计费的业务,比如:POP3/SMTP业务、在线KJAVA应用业务等。The third type of service: the service with a fixed port on the server side and content billing through layer 3/4 analysis, such as: POP3/SMTP service, online KJAVA application service, etc.

其中,第二类业务和第三类业务的传输控制方法与实施例二描述的方法一样,需要说明的是,对于第一类业务和第二类业务,GGSN可以将用户发起数据业务请求之前,用户与业务服务器之间的信令连接包(如TCP握手消息等)的流量计入相应数据业务对应的计费规则流量中;如果由于特殊原因仅有信令连接包而无数据业务请求消息出现,则可以将这部分信令连接包的流量归入专门的计费规则对应的流量中、或者归入缺省计费规则对应的流量中。Wherein, the transmission control method of the second type of service and the third type of service is the same as the method described in the second embodiment. It should be noted that, for the first type of service and the second type of service, the GGSN can send the The flow of signaling connection packets (such as TCP handshake messages, etc.) between the user and the service server is included in the charging rule flow corresponding to the corresponding data service; if there are only signaling connection packets and no data service request messages appear due to special reasons , then the traffic of this part of the signaling connection packet can be classified into the traffic corresponding to the special charging rule, or into the traffic corresponding to the default charging rule.

参阅图6所示,本发明实施例三针对第一类业务的传输控制流程如下所述:Referring to Figure 6, the transmission control process for the first type of service in Embodiment 3 of the present invention is as follows:

S601~S604、用户发起用户激活上线,GGSN、WAPGW(Wireless ApplicationProtocol GateWay,无线应用协议网关)记录用户信息。并且,当用户附着到分组域网络时,HLR将用户的签约信息提供给SGSN;当用户发起激活请求时,SGSN将ChargingCharacteristics字段通过Creat PDP context Request消息传递给GGSN。S601-S604, the user initiates user activation to go online, GGSN and WAPGW (Wireless Application Protocol GateWay, wireless application protocol gateway) record user information. And, when the user attaches to the packet domain network, the HLR provides the subscription information of the user to the SGSN; when the user initiates an activation request, the SGSN passes the ChargingCharacteristics field to the GGSN through the Create PDP context Request message.

S605、用户同业务服务器建立连接。S605. The user establishes a connection with the service server.

S606、用户发起数据业务请求,通过GGSN同业务服务器传输控制面的交互消息。S606. The user initiates a data service request, and transmits a control plane interaction message with the service server through the GGSN.

S607、GGSN接收到控制面的交互消息之后,GGSN检查ChargingCharacteristics字段确定用户为传输控制用户时,确定与控制面交互消息的业务属性相匹配的第一计费规则,根据第一计费规则确定该数据业务的第一资费标准。S607. After the GGSN receives the interaction message of the control plane, the GGSN checks the ChargingCharacteristics field to determine that the user is a transmission control user, determines the first charging rule that matches the service attribute of the control plane interaction message, and determines the charging rule according to the first charging rule. The first tariff standard for data services.

S608、GGSN根据控制面交互消息确定实际传输业务数据的数据面,生成包括数据面业务属性的第二计费规则,用来匹配该数据业务。S608. The GGSN determines the data plane that actually transmits service data according to the control plane interaction message, and generates a second charging rule including the service attributes of the data plane to match the data service.

S609、用户和业务服务器之间利用GGSN通过数据面传输业务数据,在传输数据时按照与前述S506~S511相同的方式进行,并且GGSN将控制面交互消息流量和数据面传输的数据流量计入第二计费规则对应的流量中,并根据第一资费标准产生中间话单。S609, the user and the service server use the GGSN to transmit service data through the data plane, and the data transmission is performed in the same manner as the aforementioned S506-S511, and the GGSN counts the flow of interactive messages on the control plane and the data flow transmitted on the data plane into the first In the traffic corresponding to the second charging rule, an intermediate bill is generated according to the first charging standard.

S610、GGSN将产生的中间话单发送到CG,CG把预处理中间话单后形成的话单发送到BOSS。S610. The GGSN sends the generated intermediate bill to the CG, and the CG sends the bill formed after preprocessing the intermediate bill to the BOSS.

S611、当PDP去活后,BOSS根据CG发送的话单产生最终话单。S611. After the PDP is deactivated, the BOSS generates a final bill according to the bill sent by the CG.

本发明实施例三利用本发明实施例技术方案,使GGSN可以对用户请求的数据业务进行传输控制,可以将用户的消费额度控制在可用金额之内,避免了用户恶意使用分组域数据业务,降低了用户的欠费风险。Embodiment 3 of the present invention uses the technical solution of the embodiment of the present invention to enable the GGSN to control the transmission of data services requested by users, and to control the user's consumption quota within the available amount, avoiding malicious use of packet domain data services by users, reducing The user's arrears risk.

参阅图7所示,本发明实施例提出一种网关GPRS支持节点,包括:Referring to Fig. 7, the embodiment of the present invention proposes a gateway GPRS support node, including:

存储单元701,用于存储计费规则、以及计费规则与资费标准的对应关系;a storage unit 701, configured to store charging rules and the correspondence between charging rules and tariff standards;

接收单元702,用于接收用户请求的第一数据业务的数据;a receiving unit 702, configured to receive the data of the first data service requested by the user;

第一确定单元703,用于在接收单元702接收到第一数据业务的第一个数据包后,确定用户是否为传输控制用户,确定第一数据业务是否为内容计费类业务;The first determining unit 703 is configured to determine whether the user is a transmission control user after the receiving unit 702 receives the first data packet of the first data service, and determine whether the first data service is a content charging service;

第二确定单元704,用于在第一确定单元703确定用户为传输控制用户、且第一数据业务为内容计费类业务时,根据存储单元701中的计费规则和第一数据业务的业务属性,确定第一数据业务对应的第一计费规则,并根据第一计费规则、和存储单元701中的计费规则与资费标准的对应关系,确定第一数据业务的第一资费标准;The second determining unit 704 is configured to, when the first determining unit 703 determines that the user is a transmission control user and the first data service is a content charging service, according to the charging rule in the storage unit 701 and the service of the first data service attribute, determining the first charging rule corresponding to the first data service, and determining the first charging standard for the first data service according to the first charging rule and the corresponding relationship between the charging rule and the charging standard in the storage unit 701;

确认单元711,用于在确定用户为传输控制用户、且第一数据业务为非内容计费类业务时,向BOSS确认是否需要对用户进行传输控制,并接收BOSS返回的是否需要对用户进行传输控制的指示;The confirming unit 711 is configured to confirm to the BOSS whether the user needs to perform transmission control when it is determined that the user is a transmission control user and the first data service is a non-content charging service, and receive the return from the BOSS whether the user needs to perform transmission control instructions;

传输控制单元705,用于当确认单元711接收到BOSS返回的需要对用户进行传输控制的指示后,向BOSS请求用户在第一资费标准下的可用字节数,并根据可用字节数传输第一数据业务的数据。The transmission control unit 705 is configured to request the BOSS for the number of available bytes of the user under the first tariff standard after the confirmation unit 711 receives the instruction returned by the BOSS that the user needs to perform transmission control, and transmit the second rate according to the number of available bytes. Data of a data service.

参阅图7所示,上述网关GPRS支持节点,还包括:Referring to shown in Figure 7, the above-mentioned gateway GPRS support node also includes:

流量统计单元706,用于将传输的第一数据业务的数据流量计入第一计费规则对应的流量中;A traffic statistics unit 706, configured to count the data traffic of the transmitted first data service into the traffic corresponding to the first charging rule;

话单产生单元707,用于根据第一计费规则对应的流量和第一资费标准,生成第一数据业务的中间话单。The bill generating unit 707 is configured to generate an intermediate bill for the first data service according to the traffic corresponding to the first charging rule and the first charging standard.

其中,传输控制单元705,还用于在传输第一数据业务数据的同时传输用户请求的至少一个其它数据业务的数据,并且在其它数据业务的资费标准为第一资费标准时,控制第一数据业务和其它数据业务共用用户在第一资费标准下的可用字节数进行传输。Wherein, the transmission control unit 705 is further configured to transmit the data of at least one other data service requested by the user while transmitting the data of the first data service, and control the first data service when the tariff standard of the other data service is the first tariff standard. Share the available bytes of the user under the first tariff standard with other data services for transmission.

参阅图7所示,上述网关GPRS支持节点,还包括:Referring to shown in Figure 7, the above-mentioned gateway GPRS support node also includes:

余额处理单元708,用于传输完上述数据业务的数据后,如果用户在第一资费标准下的可用字节数有剩余,则当分组数据协议PDP去活后,将剩余的可用字节数通知给BOSS,请求BOSS将剩余的可用字节数换算为金额补回到用户的可用金额中。The balance processing unit 708 is configured to notify the user of the remaining available bytes after the packet data protocol PDP is deactivated if the user has remaining available bytes under the first tariff standard after transmitting the data of the above-mentioned data services To the BOSS, requesting the BOSS to convert the remaining available bytes into an amount and add it back to the user's available amount.

参阅图7所示,上述网关GPRS支持节点,还包括:第三确定单元709和生成单元710,其中:Referring to Fig. 7, the above-mentioned gateway GPRS support node also includes: a third determining unit 709 and a generating unit 710, wherein:

接收单元702,还用于接收用户请求的第二数据业务的控制面交互消息,其中,第二数据业务为从协议上能够区分控制面与数据面,控制面的端口固定,数据面的会话由控制面协商确定的业务;The receiving unit 702 is also configured to receive a control plane interaction message of a second data service requested by a user, wherein the second data service is capable of distinguishing the control plane and the data plane from the protocol, the port of the control plane is fixed, and the session of the data plane is controlled by Services negotiated and determined on the control plane;

第三确定单元709,用于根据控制面交互消息确定实际传输第二数据业务数据的数据面;The third determining unit 709 is configured to determine the data plane that actually transmits the second data service data according to the control plane interaction message;

生成单元710,用于生成包括数据面业务属性的计费规则;A generating unit 710, configured to generate charging rules including data plane service attributes;

第二确定单元704,还用于确定数据面业务属性的计费规则为第二数据业务对应的第二计费规则,确定与控制面交互消息的业务属性相匹配的计费规则所对应的资费标准,为第二数据业务的第二资费标准;The second determining unit 704 is further configured to determine that the charging rule of the data plane service attribute is the second charging rule corresponding to the second data service, and determine the tariff corresponding to the charging rule matching the service attribute of the control plane interaction message standard, which is the second charging standard for the second data service;

传输控制单元705,还用于向BOSS请求用户在第二资费标准下的可用字节数,并根据用户在第二资费标准下的可用字节数传输第二数据业务的数据。The transmission control unit 705 is further configured to request the BOSS for the available bytes of the user under the second tariff standard, and transmit the data of the second data service according to the available bytes of the user under the second tariff standard.

其中,流量统计单元706,还用于将控制面交互消息的流量和数据面传输的数据流量,计入第二计费规则对应的流量中;Wherein, the traffic statistics unit 706 is further configured to include the traffic of the control plane interaction message and the data traffic transmitted by the data plane into the traffic corresponding to the second charging rule;

话单产生单元707,还用于根据第二计费规则对应的流量和第二资费标准,生成第二数据业务的中间话单。The bill generating unit 707 is further configured to generate an intermediate bill for the second data service according to the traffic corresponding to the second charging rule and the second charging standard.

参阅图8所示,本发明实施例还提出了另外一种网关GPRS支持节点,包括:Referring to Fig. 8, the embodiment of the present invention also proposes another gateway GPRS support node, including:

接收单元801,用于接收用户请求的第一数据业务的数据;a receiving unit 801, configured to receive data of a first data service requested by a user;

确定单元802,用于在接收单元801接收到第一数据业务的第一个数据包后,确定用户是否为传输控制用户,确定第一数据业务是否为非内容计费类业务;The determining unit 802 is configured to determine whether the user is a transmission control user after the receiving unit 801 receives the first data packet of the first data service, and determine whether the first data service is a non-content charging service;

确认单元803,用于在确定用户为传输控制用户、且第一数据业务为非内容计费类业务时,向BOSS确认是否需要对用户进行传输控制,并接收BOSS返回的是否需要对用户进行传输控制的指示;A confirming unit 803, configured to confirm to the BOSS whether transmission control is required for the user when it is determined that the user is a transmission control user and the first data service is a non-content charging service, and receive a response from the BOSS as to whether transmission control is required for the user control instructions;

传输控制单元804,用于当确认单元803接收到BOSS返回的需要对用户进行传输控制的指示后,向BOSS请求用户在非内容计费类业务资费标准下的可用字节数,并根据可用字节数传输第一数据业务的数据。The transmission control unit 804 is configured to request the BOSS for the number of available bytes of the user under the tariff standard for non-content charging services after the confirmation unit 803 receives the instruction returned by the BOSS that the user needs to perform transmission control, and according to the available bytes The number of nodes transmits data of the first data service.

其中,传输控制单元804,还用于当在传输第一数据业务数据的同时传输用户请求的至少一个其它数据业务的数据、并且其它数据业务都是非内容计费类业务时,控制第一数据业务和其它数据业务共用BOSS返回的可用字节数进行传输。Wherein, the transmission control unit 804 is further configured to control the first data service when the data of at least one other data service requested by the user is transmitted at the same time as the first data service data, and the other data services are all non-content charging services. Share the available bytes returned by BOSS with other data services for transmission.

参阅图8所示,上述网关GPRS支持节点还包括:Referring to shown in Figure 8, the above-mentioned gateway GPRS support node also includes:

余额处理单元805,用于传输完上述数据业务的数据后如果有剩余的可用字节数,则当PDP去活后,将剩余的可用字节数通知给BOSS,请求BOSS将剩余的可用字节数换算为金额补回到用户的可用金额中。The balance processing unit 805 is configured to notify the BOSS of the remaining available bytes after the PDP is deactivated, and request the BOSS to transfer the remaining available bytes The amount is converted into the amount and added back to the user's available amount.

本发明实施例提出了数据业务的传输方法及设备,在本发明实施例技术方案中,BOSS按照设定时间或者周期筛选移动通信网络中的传输控制用户,设置传输控制用户的可用金额,并根据传输控制用户的可用金额确定该用户数据业务相应的可用字节数,而GGSN需根据BOSS指示的可用字节数传输该用户请求的数据业务。本发明实施例技术方案使GGSN可以对用户请求的数据业务进行传输控制,可以将用户的消费额度控制在可用金额之内,避免了用户恶意使用分组域数据业务,降低了用户的欠费风险。The embodiment of the present invention proposes a data service transmission method and equipment. In the technical solution of the embodiment of the present invention, the BOSS screens the transmission control users in the mobile communication network according to the set time or cycle, sets the available amount of the transmission control user, and according to The available amount of the transmission control user determines the corresponding number of available bytes for the user's data service, and the GGSN needs to transmit the data service requested by the user according to the available number of bytes indicated by the BOSS. The technical solution of the embodiment of the present invention enables the GGSN to control the transmission of the data service requested by the user, and can control the user's consumption amount within the available amount, avoiding the user's malicious use of the packet domain data service and reducing the user's arrears risk.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (28)

1、一种数据业务的传输方法,其特征在于,包括:1. A data service transmission method, characterized in that, comprising: 网关GPRS支持节点GGSN接收到用户请求的第一数据业务的第一个数据包后,确定用户为传输控制用户、且第一数据业务为内容计费类业务时,根据计费规则和第一数据业务的业务属性,确定第一数据业务对应的第一计费规则;After receiving the first data packet of the first data service requested by the user, the gateway GPRS support node GGSN determines that the user is a transmission control user and the first data service is a content charging service, according to the charging rules and the first data service The service attribute of the service is to determine the first charging rule corresponding to the first data service; 所述GGSN根据第一计费规则、和计费规则与资费标准的对应关系,确定第一数据业务的第一资费标准,并向业务操作支撑系统BOSS确认是否需要对用户进行传输控制;The GGSN determines the first tariff standard for the first data service according to the first charging rule and the corresponding relationship between the charging rule and the tariff standard, and confirms to the business operation support system BOSS whether it is necessary to perform transmission control on the user; 当所述GGSN接收到BOSS返回的需要对用户进行传输控制的指示后,向BOSS请求用户在第一资费标准下的可用字节数,并根据所述可用字节数传输第一数据业务的数据。When the GGSN receives the instruction returned by the BOSS to control the user's transmission, it requests the BOSS for the number of available bytes of the user under the first tariff standard, and transmits the data of the first data service according to the available number of bytes . 2、如权利要求1所述的方法,其特征在于,所述方法还包括:2. The method of claim 1, further comprising: 所述GGSN将第一数据业务的数据流量计入第一计费规则对应的流量中,并根据第一计费规则对应的流量和第一资费标准,生成第一数据业务的中间话单。The GGSN counts the data traffic of the first data service into the traffic corresponding to the first charging rule, and generates an intermediate bill for the first data service according to the traffic corresponding to the first charging rule and the first charging standard. 3、如权利要求1所述的方法,其特征在于,所述BOSS根据用户的可用金额信息,确定是否需要对用户进行传输控制并返回相应指示。3. The method according to claim 1, wherein the BOSS determines whether transmission control needs to be performed on the user according to the user's available amount information and returns a corresponding instruction. 4、如权利要求1所述的方法,其特征在于,所述GGSN根据服务GPRS支持节点SGSN在用户发起激活请求时发送的用户的ChargingCharacteristics字段,确定用户是否为传输控制用户,其中,所述字段包括标明用户是否为传输控制用户的标记。4. The method according to claim 1, wherein the GGSN determines whether the user is a transmission control user according to the ChargingCharacteristics field of the user sent by the serving GPRS support node SGSN when the user initiates an activation request, wherein the field Include flag indicating whether the user is a Transport Control user. 5、如权利要求4所述的方法,其特征在于,用户的ChargingCharacteristics字段由归属位置寄存器HLR在用户附着到分组域网络时发送给SGSN,其中,所述字段中的所述标记由BOSS按照设定时间或者周期根据用户的账户信息或者信用信息设定。5. The method according to claim 4, wherein the ChargingCharacteristics field of the user is sent to the SGSN by the home location register (HLR) when the user attaches to the packet domain network, wherein the mark in the field is set by the BOSS The fixed time or period is set according to the user's account information or credit information. 6、如权利要求1所述的方法,其特征在于,所述计费规则包括普通计费规则和缺省计费规则,其中,所述普通计费规则包括接入点名称APN、业务ID、以及三/四层属性中的目的IP地址和掩码、目的端口范围、TCP/UDP协议类型。6. The method according to claim 1, wherein the charging rules include common charging rules and default charging rules, wherein the common charging rules include access point name (APN), service ID, And the destination IP address and mask, destination port range, and TCP/UDP protocol type in the Layer 3/4 attributes. 7、如权利要求6所述的方法,其特征在于,根据计费规则和第一数据业务的业务属性,确定第一计费规则,进一步包括:7. The method according to claim 6, wherein determining the first charging rule according to the charging rule and the service attribute of the first data service further comprises: 根据所述数据包确定第一数据业务的业务属性;determining the service attribute of the first data service according to the data packet; 当第一数据业务的业务属性与一普通计费规则相匹配时,确定该普通计费规则为第一计费规则,当第一数据业务的业务属性与任一普通计费规则中的业务属性不相匹配时,确定缺省计费规则为第一计费规则。When the service attribute of the first data service matches a general charging rule, determine that the general charging rule is the first charging rule, and when the service attribute of the first data service matches the service attribute in any general charging rule If they do not match, determine the default charging rule as the first charging rule. 8、如权利要求7所述的方法,其特征在于,当所述普通计费规则还包括匹配优先级时,按照普通计费规则中的匹配优先级确定第一计费规则。8. The method according to claim 7, wherein when the common charging rule further includes a matching priority, the first charging rule is determined according to the matching priority in the common charging rule. 9、如权利要求1所述的方法,其特征在于,所述根据用户在第一资费标准下的可用字节数传输第一数据业务的数据,进一步包括:9. The method according to claim 1, wherein the transmitting the data of the first data service according to the available bytes of the user under the first tariff standard further comprises: 所述GGSN将第一资费标准发送给BOSS,向BOSS请求用户在第一资费标准下的可用字节数,根据BOSS返回的可用字节数传输第一数据业务的数据,并当第一数据业务数据未传输完时,再次向BOSS请求可用字节数,其中,所述可用字节数由BOSS根据用户的可用金额信息和第一资费标准确定。The GGSN sends the first tariff standard to the BOSS, requests the BOSS for the available bytes of the user under the first tariff standard, and transmits the data of the first data service according to the available bytes returned by the BOSS, and when the first data service When the data transmission is not finished, the BOSS is requested again for the number of available bytes, wherein the number of available bytes is determined by the BOSS according to the user's available amount information and the first charging standard. 10、如权利要求9所述的方法,其特征在于,当在传输第一数据业务数据的同时传输用户请求的至少一个其它数据业务的数据、并且其它数据业务的资费标准为第一资费标准时,第一数据业务和所述其它数据业务共用用户在第一资费标准下的可用字节数。10. The method according to claim 9, characterized in that when the data of at least one other data service requested by the user is transmitted while transmitting the data of the first data service, and the tariff standard of the other data service is the first tariff standard, The first data service and the other data services share the number of bytes available to the user under the first tariff standard. 11、如权利要求9或10所述的方法,其特征在于,传输完所述数据业务的数据后,如果用户在第一资费标准下的可用字节数有剩余,则当分组数据协议PDP去活后,将剩余的可用字节数通知给BOSS,请求BOSS将剩余的可用字节数换算为金额补回到用户的可用金额中。11. The method according to claim 9 or 10, characterized in that, after transmitting the data of the data service, if the number of available bytes of the user under the first tariff standard is left, when the packet data protocol PDP goes to After the activity, notify the BOSS of the remaining available bytes, and request the BOSS to convert the remaining available bytes into money and add it back to the user's available money. 12、如权利要求1所述的方法,其特征在于,所述方法还包括:12. The method of claim 1, further comprising: 所述GGSN接收到用户请求的第二数据业务的控制面交互消息时,根据控制面交互消息确定实际传输第二数据业务数据的数据面,其中,所述第二数据业务为从协议上能够区分控制面与数据面,控制面的端口固定,数据面的IP或端口由控制面协商确定的业务;When the GGSN receives the control plane interaction message of the second data service requested by the user, it determines the data plane that actually transmits the second data service data according to the control plane interaction message, wherein the second data service is distinguishable from the protocol Control plane and data plane, the port of the control plane is fixed, and the IP or port of the data plane is negotiated and determined by the control plane; 生成包括所述数据面业务属性的计费规则并作为第二数据业务对应的第二计费规则;确定与所述控制面交互消息的业务属性相匹配的计费规则所对应的资费标准,为第二数据业务的第二资费标准;generating a charging rule including the service attribute of the data plane as a second charging rule corresponding to the second data service; determining a charging standard corresponding to the charging rule matching the service attribute of the control plane interaction message, as a second tariff standard for the second data service; 向BOSS请求用户在第二资费标准下的可用字节数,并根据用户在第二资费标准下的可用字节数传输第二数据业务的数据。Request the BOSS for the available bytes of the user under the second tariff standard, and transmit the data of the second data service according to the available bytes of the user under the second tariff standard. 13、如权利要求12所述的方法,其特征在于,所述方法还包括:将控制面交互消息的流量和数据面传输的数据流量,计入第二计费规则对应的流量中,并根据第二计费规则对应的流量和第二资费标准,生成第二数据业务的中间话单。13. The method according to claim 12, further comprising: counting the flow of interactive messages on the control plane and the data flow transmitted on the data plane into the flow corresponding to the second charging rule, and according to The traffic corresponding to the second charging rule and the second charging standard are used to generate an intermediate bill for the second data service. 14、一种网关GPRS支持节点,其特征在于,包括:14. A gateway GPRS support node, characterized in that it comprises: 存储单元,用于存储计费规则、以及所述计费规则与资费标准的对应关系;a storage unit, configured to store charging rules and the corresponding relationship between the charging rules and tariff standards; 接收单元,用于接收用户请求的第一数据业务的数据;a receiving unit, configured to receive data of a first data service requested by a user; 第一确定单元,用于在所述接收单元接收到所述第一数据业务的第一个数据包后,确定所述用户是否为传输控制用户,确定所述第一数据业务是否为内容计费类业务;A first determining unit, configured to determine whether the user is a transmission control user after the receiving unit receives the first data packet of the first data service, and determine whether the first data service is content charging Class business; 第二确定单元,用于在所述第一确定单元确定所述用户为传输控制用户、且所述第一数据业务为内容计费类业务时,根据所述存储单元中的计费规则和第一数据业务的业务属性,确定第一数据业务对应的第一计费规则,并根据第一计费规则、和存储单元中的计费规则与资费标准的对应关系,确定第一数据业务的第一资费标准;The second determining unit is configured to, when the first determining unit determines that the user is a transmission control user and the first data service is a content charging service, according to the charging rule in the storage unit and the first A business attribute of a data service, determine the first charging rule corresponding to the first data service, and determine the first charging rule for the first data service according to the corresponding relationship between the charging rule and the tariff standard in the storage unit. 1. Tariff standard; 确认单元,用于在确定用户为传输控制用户、且第一数据业务为非内容计费类业务时,向BOSS确认是否需要对用户进行传输控制,并接收BOSS返回的是否需要对用户进行传输控制的指示;A confirmation unit, configured to confirm to the BOSS whether the user needs to perform transmission control when it is determined that the user is a transmission control user and the first data service is a non-content charging service, and receive whether the user needs to perform transmission control returned by the BOSS instructions; 传输控制单元,用于当所确认单元接收到BOSS返回的需要对用户进行传输控制的指示后,向BOSS请求用户在第一资费标准下的可用字节数,并根据所述可用字节数传输第一数据业务的数据。The transmission control unit is configured to request the BOSS for the number of available bytes of the user under the first tariff standard after receiving the indication returned by the BOSS that the confirmation unit needs to perform transmission control on the user, and transmit the second rate according to the available number of bytes. Data of a data service. 15、如权利要求14所述的网关GPRS支持节点,其特征在于,还包括:15. The gateway GPRS support node according to claim 14, further comprising: 流量统计单元,用于将传输的第一数据业务的数据流量计入第一计费规则对应的流量中;A traffic statistics unit, configured to count the data traffic of the transmitted first data service into the traffic corresponding to the first charging rule; 话单产生单元,用于根据第一计费规则对应的流量和第一资费标准,生成第一数据业务的中间话单。The bill generating unit is configured to generate an intermediate bill for the first data service according to the traffic corresponding to the first charging rule and the first charging standard. 16、如权利要求15所述的网关GPRS支持节点,其特征在于,所述传输控制单元,还用于在传输第一数据业务数据的同时传输用户请求的至少一个其它数据业务的数据,并且在所述其它数据业务的资费标准为第一资费标准时,控制第一数据业务和所述其它数据业务共用用户在第一资费标准下的可用字节数进行传输。16. The gateway GPRS support node according to claim 15, wherein the transmission control unit is further configured to transmit the data of at least one other data service requested by the user while transmitting the first data service data, and When the tariff standard of the other data service is the first tariff standard, control the first data service and the other data service to share the available bytes of the user under the first tariff standard for transmission. 17、如权利要求14-16任一所述的网关GPRS支持节点,其特征在于,还包括:17. The gateway GPRS support node according to any one of claims 14-16, further comprising: 余额处理单元,用于传输完所述数据业务的数据后,如果用户在第一资费标准下的可用字节数有剩余,则当分组数据协议PDP去活后,将剩余的可用字节数通知给BOSS,请求BOSS将剩余的可用字节数换算为金额补回到用户的可用金额中。The balance processing unit is used to notify the user of the remaining available bytes after the packet data protocol PDP is deactivated if the user has remaining available bytes under the first tariff standard after transmitting the data of the data service To the BOSS, requesting the BOSS to convert the remaining available bytes into an amount and add it back to the user's available amount. 18、如权利要求17所述的网关GPRS支持节点,其特征在于,还包括第三确定单元和生成单元,其中:18. The gateway GPRS support node according to claim 17, further comprising a third determining unit and a generating unit, wherein: 所述接收单元,还用于接收用户请求的第二数据业务的控制面交互消息,其中,所述第二数据业务为从协议上能够区分控制面与数据面,控制面的端口固定,数据面的会话由控制面协商确定的业务;The receiving unit is further configured to receive a control plane interaction message of a second data service requested by a user, wherein the second data service is capable of distinguishing the control plane and the data plane from the protocol, the port of the control plane is fixed, and the port of the data plane is fixed. The business of the session is negotiated and determined by the control plane; 所述第三确定单元,用于根据控制面交互消息确定实际传输第二数据业务数据的数据面;The third determining unit is configured to determine the data plane that actually transmits the second data service data according to the control plane interaction message; 所述生成单元,用于生成包括所述数据面业务属性的计费规则;The generating unit is configured to generate a charging rule including the service attribute of the data plane; 所述第二确定单元,还用于确定数据面业务属性的计费规则为第二数据业务对应的第二计费规则,确定与所述控制面交互消息的业务属性相匹配的计费规则所对应的资费标准,为第二数据业务的第二资费标准;The second determining unit is further configured to determine that the charging rule of the data plane service attribute is the second charging rule corresponding to the second data service, and determine the charging rule that matches the service attribute of the control plane interaction message. The corresponding tariff standard is the second tariff standard of the second data service; 所述传输控制单元,还用于向BOSS请求用户在第二资费标准下的可用字节数,并根据用户在第二资费标准下的可用字节数传输第二数据业务的数据。The transmission control unit is further configured to request the BOSS for the available bytes of the user under the second tariff standard, and transmit the data of the second data service according to the available bytes of the user under the second tariff standard. 19、如权利要求18所述的网关GPRS支持节点,其特征在于,19. The gateway GPRS support node according to claim 18, characterized in that, 所述流量统计单元,还用于将控制面交互消息的流量和所述数据面传输的数据流量,计入第二计费规则对应的流量中;The traffic statistics unit is further configured to include the traffic of control plane interaction messages and the data traffic transmitted by the data plane into the traffic corresponding to the second charging rule; 所述话单产生单元,还用于根据第二计费规则对应的流量和第二资费标准,生成第二数据业务的中间话单。The bill generation unit is further configured to generate an intermediate bill for the second data service according to the traffic corresponding to the second charging rule and the second tariff standard. 20、一种数据业务的传输方法,其特征在于,包括:20. A data service transmission method, comprising: GGSN接收到用户请求的第一数据业务的第一个数据包后,确定用户为传输控制用户、且第一数据业务为非内容计费类业务时,向BOSS确定是否需要对所用户进行传输控制;After receiving the first data packet of the first data service requested by the user, the GGSN determines that the user is a transmission control user and the first data service is a non-content charging service, and then determines to the BOSS whether it is necessary to perform transmission control on all users ; 当所述GGSN接收到BOSS返回的需要对用户进行传输控制的指示后,向BOSS请求用户在非内容计费类业务资费标准下的可用字节数,并根据所述可用字节数传输第一数据业务的数据,其中,所述指示由BOSS根据存储的用户的可用金额信息确定。When the GGSN receives the instruction returned by the BOSS to control the transmission of the user, it requests the BOSS for the number of available bytes of the user under the tariff standard for non-content charging services, and transmits the first The data of the data service, wherein the indication is determined by the BOSS according to the stored user's available amount information. 21、如权利要求20所述的方法,其特征在于,所述GGSN根据服务GPRS支持节点SGSN在用户发起激活请求时发送的用户的ChargingCharacteristics字段,确定用户是否为传输控制用户,其中,所述字段包括标明用户是否为传输控制用户的标记。21. The method according to claim 20, wherein the GGSN determines whether the user is a transmission control user according to the ChargingCharacteristics field of the user sent by the serving GPRS support node SGSN when the user initiates an activation request, wherein the field Include flag indicating whether the user is a Transport Control user. 22、如权利要求21所述的方法,其特征在于,所述用户的ChargingCharacteristics字段由归属位置寄存器HLR在用户附着到分组域网络时发送给SGSN,其中,所述字段中的所述标记由BOSS按照设定时间或者周期根据用户的账户信息或者信用信息设定。22. The method according to claim 21, wherein the ChargingCharacteristics field of the user is sent to the SGSN by the Home Location Register (HLR) when the user attaches to the packet domain network, wherein the flag in the field is sent by the BOSS Set according to the set time or period according to the user's account information or credit information. 23、如权利要求20所述的方法,其特征在于,根据用户在非内容计费类业务资费标准下的可用字节数传输第一数据业务的数据,进一步包括:23. The method according to claim 20, characterized in that transmitting the data of the first data service according to the number of available bytes of the user under the tariff standard for non-content charging services, further comprising: 所述GGSN向BOSS请求用户在非内容计费类业务资费标准下的可用字节数,根据BOSS返回的可用字节数传输第一数据业务的数据,并当第一数据业务数据未传输完时,再次向BOSS请求可用字节数,其中,所述可用字节数由BOSS根据用户的可用金额信息和非内容计费类业务的资费标准确定。The GGSN requests the BOSS for the number of available bytes of the user under the tariff standard for non-content charging services, transmits the data of the first data service according to the number of available bytes returned by the BOSS, and when the first data service data has not been transmitted , requesting the number of available bytes from the BOSS again, wherein the number of available bytes is determined by the BOSS according to the user's available amount information and the charging standard for non-content charging services. 24、如权利要求23所述的方法,其特征在于,当在传输第一数据业务数据的同时传输用户请求的至少一个其它数据业务的数据、并且所述其它数据业务都是非内容计费类业务时,第一数据业务和其它数据业务共用BOSS返回的可用字节数。24. The method according to claim 23, characterized in that when transmitting the data of the first data service, the data of at least one other data service requested by the user is transmitted at the same time, and the other data services are all non-content charging services , the first data service and other data services share the number of available bytes returned by the BOSS. 25、如权利要求20或24所述的方法,其特征在于,传输完所述数据业务的数据后,如果有剩余的可用字节数,则当PDP去活后,将所述剩余的可用字节数通知给BOSS,请求BOSS将剩余的可用字节数换算为金额补回到用户的可用金额中。25. The method according to claim 20 or 24, characterized in that, after transmitting the data of the data service, if there are remaining available bytes, after the PDP is deactivated, the remaining available bytes The section number is notified to the BOSS, and the BOSS is requested to convert the remaining available bytes into an amount and add it back to the user's available amount. 26、一种网关GPRS支持节点,其特征在于,包括:26. A gateway GPRS support node, characterized in that it comprises: 接收单元,用于接收用户请求的第一数据业务的数据;a receiving unit, configured to receive data of a first data service requested by a user; 确定单元,用于在所述接收单元接收到第一数据业务的第一个数据包后,确定所述用户是否为传输控制用户,确定第一数据业务是否为非内容计费类业务;A determining unit, configured to determine whether the user is a transmission control user after the receiving unit receives the first data packet of the first data service, and determine whether the first data service is a non-content charging service; 确认单元,用于在确定用户为传输控制用户、且第一数据业务为非内容计费类业务时,向BOSS确认是否需要对用户进行传输控制,并接收BOSS返回的是否需要对用户进行传输控制的指示;A confirmation unit, configured to confirm to the BOSS whether the user needs to perform transmission control when it is determined that the user is a transmission control user and the first data service is a non-content charging service, and receive whether the user needs to perform transmission control returned by the BOSS instructions; 传输控制单元,用于当所述确认单元接收到BOSS返回的需要对用户进行传输控制的指示后,向BOSS请求用户在非内容计费类业务资费标准下的可用字节数,并根据所述可用字节数传输第一数据业务的数据。The transmission control unit is configured to request the BOSS for the number of available bytes of the user under the tariff standard for non-content charging services after the confirmation unit receives the instruction returned by the BOSS that the user needs to perform transmission control, and according to the Data of the first data service can be transmitted in the number of available bytes. 27、如权利要求26所述的网关GPRS支持节点,其特征在于,所述传输控制单元,还用于当在传输第一数据业务数据的同时传输用户请求的至少一个其它数据业务的数据、并且所述其它数据业务都是非内容计费类业务时,控制第一数据业务和其它数据业务共用BOSS返回的可用字节数进行传输。27. The gateway GPRS support node according to claim 26, wherein the transmission control unit is further configured to transmit data of at least one other data service requested by the user while transmitting the first data service data, and When the other data services are non-content charging services, control the first data service and other data services to share the available bytes returned by the BOSS for transmission. 28、如权利要求26或27所述的网关GPRS支持节点,其特征在于,还包括:28. The gateway GPRS support node according to claim 26 or 27, further comprising: 余额处理单元,用于传输完所述数据业务的数据后如果有剩余的可用字节数,则当PDP去活后,将剩余的可用字节数通知给BOSS,请求BOSS将剩余的可用字节数换算为金额补回到用户的可用金额中。The balance processing unit is used to notify the BOSS of the remaining available bytes after the PDP is deactivated if there are remaining available bytes after the data of the data service is transmitted, and requests the BOSS to transfer the remaining available bytes The amount is converted into the amount and added back to the user's available amount.
CN200810115806XA 2008-06-27 2008-06-27 Data service transmission method and device thereof Active CN101616009B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810115806XA CN101616009B (en) 2008-06-27 2008-06-27 Data service transmission method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810115806XA CN101616009B (en) 2008-06-27 2008-06-27 Data service transmission method and device thereof

Publications (2)

Publication Number Publication Date
CN101616009A true CN101616009A (en) 2009-12-30
CN101616009B CN101616009B (en) 2011-07-06

Family

ID=41495438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810115806XA Active CN101616009B (en) 2008-06-27 2008-06-27 Data service transmission method and device thereof

Country Status (1)

Country Link
CN (1) CN101616009B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065367A (en) * 2010-12-30 2011-05-18 华为技术有限公司 Service control method and device
CN105391561A (en) * 2015-11-27 2016-03-09 小米科技有限责任公司 Method and apparatus for processing network arrears
CN107026848A (en) * 2017-02-13 2017-08-08 阿里巴巴集团控股有限公司 Business authorization method and device
CN107277882A (en) * 2016-04-07 2017-10-20 中国移动通信有限公司研究院 A kind of data routing method, device and base station
CN108432261A (en) * 2016-01-08 2018-08-21 高通股份有限公司 Determine that the media for media transmission transmit event location
CN109831752A (en) * 2019-04-03 2019-05-31 深圳联想懂的通信有限公司 A kind of communication flow rate control method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100481768C (en) * 2006-07-18 2009-04-22 江苏移动通信有限责任公司 Method for controlling defaulting risk of mobile user
CN101136758A (en) * 2007-07-20 2008-03-05 南京联创科技股份有限公司 Application method for online accounting system in owing risk control system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065367A (en) * 2010-12-30 2011-05-18 华为技术有限公司 Service control method and device
WO2012088995A1 (en) * 2010-12-30 2012-07-05 华为技术有限公司 Service control method and device
CN102065367B (en) * 2010-12-30 2013-08-07 华为技术有限公司 Service control method and device
CN105391561A (en) * 2015-11-27 2016-03-09 小米科技有限责任公司 Method and apparatus for processing network arrears
CN108432261A (en) * 2016-01-08 2018-08-21 高通股份有限公司 Determine that the media for media transmission transmit event location
CN107277882A (en) * 2016-04-07 2017-10-20 中国移动通信有限公司研究院 A kind of data routing method, device and base station
CN107026848A (en) * 2017-02-13 2017-08-08 阿里巴巴集团控股有限公司 Business authorization method and device
CN109831752A (en) * 2019-04-03 2019-05-31 深圳联想懂的通信有限公司 A kind of communication flow rate control method and system
CN109831752B (en) * 2019-04-03 2021-04-16 深圳联想懂的通信有限公司 Communication flow control method and system

Also Published As

Publication number Publication date
CN101616009B (en) 2011-07-06

Similar Documents

Publication Publication Date Title
CN101296092B (en) User service data charging method, system and equipment
CN102017670B (en) Charging in LTE/EPC communication networks
CN102823292B (en) For generating and provide the new PCC/QOS method of rule based on application request message
CN102984768B (en) Method and the device of online user's bandwidth under charging regulation are shared in a kind of real-time adjustment
US11671803B2 (en) Functions and method for handling a credit pool of service units
CN103843374B (en) Integrated policy and billing control based on SY
CN101431423B (en) Reduction method and apparatus for user service flow accounting
JP5681212B2 (en) Node for improved credit validation
CN102047700A (en) Online Charging Architecture in LTE/EPC Communication Network
CN101232385B (en) System and method for charging for microwave to switch in global intercommunication system
CN102209309B (en) Flow charging method, device and system
CN101616009A (en) Data service transmission method and device thereof
CN104168553B (en) A kind of service message is sent and charging method and device
CN101212319A (en) Method and system for counting traffic in mobile communication
CN112702180B (en) Policy control method, device and system
CN100493025C (en) Method for realizing routing via business attribute or according to business charging type
CN100426724C (en) Charging method according to content service
CN101729265B (en) Method, device and system for charging in evolved packet system (EPS)
CN101729266B (en) A billing method and device for link establishment messages
CN101547133A (en) Method and device for controlling policy
CN101309153A (en) Multi-service flow service processing method, access service network gateway and billing server
KR101146287B1 (en) Real-Time Data Charging Method and System for WCDMA-WiBro DBDM Service
WO2008089681A1 (en) Method and system for charging in communication system
CN101483706B (en) Control method and system for prepayment service, fee management element, service providing element
CN101227300B (en) Postpaid rate switching method and access service network gateway

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant