[go: up one dir, main page]

CN110890967B - Charging processing method, network element and network system - Google Patents

Charging processing method, network element and network system Download PDF

Info

Publication number
CN110890967B
CN110890967B CN201811055155.XA CN201811055155A CN110890967B CN 110890967 B CN110890967 B CN 110890967B CN 201811055155 A CN201811055155 A CN 201811055155A CN 110890967 B CN110890967 B CN 110890967B
Authority
CN
China
Prior art keywords
rat type
bearer
rat
pgw
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811055155.XA
Other languages
Chinese (zh)
Other versions
CN110890967A (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
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication 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, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201811055155.XA priority Critical patent/CN110890967B/en
Publication of CN110890967A publication Critical patent/CN110890967A/en
Application granted granted Critical
Publication of CN110890967B publication Critical patent/CN110890967B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供一种计费处理方法、网元及网络系统,其中,方法包括:在非独立组网场景下,获取承载所对应基站的IP地址;根据所述IP地址,确定所述承载的无线接入技术RAT类型;向分组数据网络网关PGW发送所述RAT类型,以使所述PGW根据所述RAT类型进行计费。这样,可实现区分RAT类型的流量统计和计费打标。

Figure 201811055155

The present invention provides a charging processing method, a network element and a network system, wherein the method includes: in a non-independent networking scenario, acquiring an IP address of a base station corresponding to a bearer; Access technology RAT type; sending the RAT type to the packet data network gateway PGW, so that the PGW performs charging according to the RAT type. In this way, traffic statistics and charging marking for distinguishing RAT types can be implemented.

Figure 201811055155

Description

一种计费处理方法、网元及网络系统Billing processing method, network element and network system

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种计费处理方法、网元及网络系统。The present invention relates to the field of communication technology, in particular to a billing processing method, a network element and a network system.

背景技术Background technique

5G非独立组网是指长期演进(Long Term Evolution,简称LTE)与5G基于双连接技术进行联合组网的方式,LTE系统中采用双连接时,数据在核心网或者分组数据汇聚协议(Packet Data Convergence Protocol,简称PDCP)层进行分割后,将用户数据流通过多个基站同时传送给用户。而LTE与5G系统联合组网时,核心网和无线网都存在多种选择。核心网采用4G核心网络(Evolved Packet Core,简称EPC),LTE演进型基站(evolved Node B,简称eNB)和5G基站gNB用户面可以直接连接到EPC,控制面则仅经由LTE eNB连接到EPC。用户面可以分别经由LTE eNB、EPC或者gNB进行分流,对应选项Option3/3a/3x:5G non-standalone networking refers to the joint networking of Long Term Evolution (LTE) and 5G based on dual connectivity technology. After the Convergence Protocol (PDCP for short) layer performs segmentation, the user data stream is simultaneously transmitted to the user through multiple base stations. When the LTE and 5G systems are jointly networked, there are multiple options for both the core network and the wireless network. The core network adopts 4G core network (Evolved Packet Core, referred to as EPC), LTE evolved base station (evolved Node B, referred to as eNB) and 5G base station gNB user plane can be directly connected to EPC, and the control plane is only connected to EPC via LTE eNB. The user plane can be offloaded via LTE eNB, EPC or gNB respectively, corresponding to Option3/3a/3x:

1、5G用户面经由LTE eNB连接到EPC时对应Option3;1. When the 5G user plane is connected to the EPC via the LTE eNB, it corresponds to Option3;

2、5G和LTE的用户面都直接连接到EPC时对应Option3a;2. When both the user planes of 5G and LTE are directly connected to the EPC, it corresponds to Option3a;

3、LTE用户面经由5G gNB连接到EPC时对应Option3x。3. When the LTE user plane is connected to the EPC via 5G gNB, it corresponds to Option3x.

3GPP规范中定义:eNB以承载为单位将副RAT(NR)(无线接入技术Radio AccessTechnologies,简称RAT,新空口New Radio,简称NR)的上下行用量上报给移动管理实体(Mobility Management Entity,简称MME),由MME转发给服务网关(Serving GateWay,简称SGW),并进一步转发给PDN网关(PDN GateWay,简称PGW),触发条件可以是S1连接释放、会话删除、切换等流程触发的用量上报,也可以是周期性用量上报。The 3GPP specification defines: eNB reports the uplink and downlink usage of the secondary RAT (NR) (Radio Access Technologies, RAT for short, New Radio for short, NR for short) to the Mobility Management Entity (Mobility Management Entity, short for NR) in units of bearers MME), forwarded by the MME to the Serving Gateway (Serving GateWay, referred to as SGW), and further forwarded to the PDN Gateway (PDN GateWay, referred to as PGW), the trigger condition can be the usage report triggered by processes such as S1 connection release, session deletion, and handover. Periodic usage reporting is also possible.

目前的长期演进(Long Term Evolution,简称LTE)计费架构下:SGW和PGW均可收集计费信息。SGW收集每个用户设备(User Equipment,简称UE)使用的无线网络的相关计费信息,并产生SGW-CDR话单(Call Detail Record,简称CDR,称为呼叫详细记录),PGW收集每个UE使用的外部网络的相关计费信息,并产生PGW-CDR话单,SGW和PGW共同收集使用EPC网络资源的相关计费信息。SGW收集的计费信息可用于运营企业间的计费,PGW收集的计费信息用来对用户进行计费。PGW-CDR为计费依据,PGW为内容计费实施点。Under the current Long Term Evolution (LTE for short) charging architecture: both the SGW and the PGW can collect charging information. The SGW collects the relevant billing information of the wireless network used by each user equipment (User Equipment, referred to as UE), and generates a SGW-CDR bill (Call Detail Record, referred to as CDR, called a call detail record), and the PGW collects each UE The relevant charging information of the external network used, and generate the PGW-CDR bill, and the SGW and PGW jointly collect the relevant charging information of using the EPC network resources. The charging information collected by the SGW can be used for charging among operating enterprises, and the charging information collected by the PGW is used for charging users. PGW-CDR is the charging basis, and PGW is the content charging implementation point.

现有PGW支持统计一段时间内的用户总流量,能够实现按照内容(例如对访问网站A的流量和访问网站B的流量进行区分)计费,但是,当接入技术类型包括4G和5G时,PGW无法将接入类型为5G的流量与其他接入类型的流量区分开,使得PGW无法按照无线接入技术类型进行计费。The existing PGW supports the statistics of the total traffic of users within a period of time, and can realize billing according to the content (for example, distinguishing the traffic visiting website A from the traffic visiting website B). However, when the access technology types include 4G and 5G, The PGW cannot distinguish the traffic of the access type 5G from the traffic of other access types, so that the PGW cannot perform billing according to the radio access technology type.

发明内容Contents of the invention

本发明实施例提供一种计费处理方法、网元及网络系统,以解决现有技术中的PGW无法将接入类型为5G的流量与其他接入类型的流量区分开,使得PGW无法按照无线接入技术类型进行计费的问题。Embodiments of the present invention provide a billing processing method, network element, and network system to solve the problem that the PGW in the prior art cannot distinguish the traffic of the access type 5G from the traffic of other access types, so that the PGW cannot The issue of billing by access technology type.

为解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:

第一方面,本发明实施例提供了一种计费处理方法,应用于服务网关SGW,包括:In the first aspect, the embodiment of the present invention provides a charging processing method, which is applied to the serving gateway SGW, including:

在非独立组网场景下,获取承载所对应基站的IP地址;In a non-independent networking scenario, obtain the IP address of the base station corresponding to the bearer;

根据所述IP地址,确定所述承载的无线接入技术RAT类型;Determine the bearer radio access technology RAT type according to the IP address;

向分组数据网络网关PGW发送所述RAT类型,以使所述PGW根据所述RAT类型进行计费。Sending the RAT type to the packet data network gateway PGW, so that the PGW performs charging according to the RAT type.

第二方面,本发明实施例还提供一种计费处理方法,应用于分组数据网络网关PGW,包括:In the second aspect, the embodiment of the present invention also provides a charging processing method, which is applied to the packet data network gateway PGW, including:

在非独立组网场景下,接收服务网关SGW发送承载的RAT类型,其中,所述SGW根据获取的承载所对应的基站的IP地址,来确定所述承载的RAT类型;In a non-independent networking scenario, receiving the RAT type of the bearer sent by the serving gateway SGW, wherein the SGW determines the RAT type of the bearer according to the acquired IP address of the base station corresponding to the bearer;

根据所述RAT类型,对所述承载进行计费。The bearer is charged according to the RAT type.

第三方面,本发明实施例还提供一种服务网关,包括:In the third aspect, the embodiment of the present invention also provides a service gateway, including:

基站IP地址获取模块,用于在非独立组网场景下,获取承载所对应基站的IP地址;The base station IP address acquisition module is used to obtain the IP address of the base station corresponding to the bearer in the non-independent networking scenario;

RAT类型确定模块,用于根据所述IP地址,确定所述承载的无线接入技术RAT类型;A RAT type determination module, configured to determine the RAT type of the bearer radio access technology according to the IP address;

RAT类型发送模块,用于向分组数据网络网关PGW发送所述RAT类型,以使所述PGW根据所述RAT类型进行计费。A RAT type sending module, configured to send the RAT type to the packet data network gateway PGW, so that the PGW performs charging according to the RAT type.

第四方面,本发明实施例还提供一种分组数据网络网关,包括:In a fourth aspect, the embodiment of the present invention also provides a packet data network gateway, including:

RAT类型接收模块,用于在非独立组网场景下,接收服务网关SGW发送承载的RAT类型,其中,所述SGW根据获取的承载所对应的基站的IP地址,来确定所述承载的RAT类型;The RAT type receiving module is configured to receive the RAT type of the bearer sent by the service gateway SGW in a non-independent networking scenario, wherein the SGW determines the RAT type of the bearer according to the acquired IP address of the base station corresponding to the bearer ;

计费模块,用于根据所述RAT类型,对所述承载进行计费。A charging module, configured to charge the bearer according to the RAT type.

第五方面,本发明实施例还提供一种网络系统,包括上述所述的服务网关和上述所述的分组数据网络网关。In the fifth aspect, the embodiment of the present invention further provides a network system, including the above-mentioned service gateway and the above-mentioned packet data network gateway.

在本发明实施例中,首先在非独立组网场景下,获取承载所对应基站的IP地址;根据所述IP地址,确定所述承载的无线接入技术RAT类型;向分组数据网络网关PGW发送所述RAT类型,以使所述PGW根据所述RAT类型进行计费。通过上述步骤,SGW可根据基站的IP地址获得承载的RAT类型,并将RAT类型发送给PGW,使得PGW根据RAT类型统计数据流量,从而实现根据RAT类型进行计费的目的。In the embodiment of the present invention, first in the non-independent networking scenario, the IP address of the base station corresponding to the bearer is obtained; according to the IP address, the radio access technology RAT type of the bearer is determined; The RAT type, so that the PGW performs charging according to the RAT type. Through the above steps, the SGW can obtain the bearer RAT type according to the IP address of the base station, and send the RAT type to the PGW, so that the PGW can count the data traffic according to the RAT type, so as to realize the purpose of charging according to the RAT type.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本发明实施例一提供的计费处理方法的流程图之一;FIG. 1 is one of the flowcharts of the billing processing method provided by Embodiment 1 of the present invention;

图2是本发明实施例二提供的计费处理方法的流程图之一;FIG. 2 is one of the flow charts of the billing processing method provided in Embodiment 2 of the present invention;

图3是本发明实施例三提供的服务网关的结构图之一;FIG. 3 is one of the structural diagrams of the service gateway provided by Embodiment 3 of the present invention;

图4是本发明实施例三提供的服务网关的结构图之二;FIG. 4 is the second structural diagram of the service gateway provided by Embodiment 3 of the present invention;

图5是本发明实施例四提供的分组数据网络网关的结构图之一。Fig. 5 is one of the structural diagrams of the packet data network gateway provided by Embodiment 4 of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

实施例一Embodiment one

参见图1,图1是本发明一实施例提供的计费处理方法的流程图之一,如图1所示,本实施例提供的计费处理方法,应用于服务网关SGW,包括以下步骤:Referring to FIG. 1, FIG. 1 is one of the flowcharts of the charging processing method provided by an embodiment of the present invention. As shown in FIG. 1, the charging processing method provided by this embodiment is applied to the serving gateway SGW, and includes the following steps:

步骤101、在非独立组网场景下,获取承载所对应基站的IP地址。Step 101. In a non-independent networking scenario, obtain the IP address of the base station corresponding to the bearer.

在用户附着、切换、用户设备(User Equipment,简称UE)发起的服务请求等场景下SGW会在承载上下文中记录、更新并保存EPS Bearer ID(即EPS承载ID)和S1 eNodeB F-TEID(包含eNB/gNB数据面的IP地址)的对应关系,即在通过承载进行数据传输时,SGW在承载上下文中记录承载的EPS承载ID与发送数据的基站的IP地址。In scenarios such as user attachment, handover, and service requests initiated by user equipment (UE), the SGW will record, update, and save the EPS Bearer ID (that is, the EPS bearer ID) and the S1 eNodeB F-TEID (including The corresponding relationship between the IP address of the eNB/gNB data plane), that is, when the data is transmitted through the bearer, the SGW records the EPS bearer ID of the bearer and the IP address of the base station sending the data in the bearer context.

在本步骤中,需要获取与SGW建立承载的基站的IP地址,即承载所对应的基站的IP地址。In this step, it is necessary to obtain the IP address of the base station that establishes the bearer with the SGW, that is, the IP address of the base station corresponding to the bearer.

步骤102、根据所述IP地址,确定所述承载的无线接入技术RAT类型。Step 102: Determine the RAT type of the bearer according to the IP address.

在根据IP地址确定承载的RAT类型时,SGW可预先获取一目标IP地址列表,若获取的IP地址在IP地址列表中,则说明承载的RAT类型为目标IP地址列表对应的RAT类型。另外,还可以在基站发送的数据报文的GTP包头中添加RAT类型,SGW根据GTP包头和基站的IP地址,确定承载的RAT类型。When determining the bearer RAT type according to the IP address, the SGW may obtain a target IP address list in advance, and if the acquired IP address is in the IP address list, it means that the bearer RAT type is the RAT type corresponding to the target IP address list. In addition, the RAT type can also be added in the GTP header of the data packet sent by the base station, and the SGW determines the carried RAT type according to the GTP header and the IP address of the base station.

步骤103、向分组数据网络网关PGW发送所述RAT类型,以使所述PGW根据所述RAT类型进行计费。Step 103: Send the RAT type to the packet data network gateway PGW, so that the PGW performs charging according to the RAT type.

具体的,在附着流程、UE发起的公用数据网(Public Data Network,简称PDN)连接流程、承载迁移流程中,SGW会向PGW发送修改承载请求(Modify Bearer Request)。在专用承载建立流程中,SGW会向PGW发送创建承载响应(Create bearer response)。Specifically, in the attachment process, the UE-initiated public data network (Public Data Network, PDN) connection process, and the bearer migration process, the SGW will send a modify bearer request (Modify Bearer Request) to the PGW. In the process of establishing a dedicated bearer, the SGW will send a create bearer response (Create bearer response) to the PGW.

3GPP规范中,修改承载请求或者创建承载响应中携带有承载的RAT类型,修改承载请求或者创建承载响应包括RAT类型字段,RAT类型字段用于标识承载的RAT类型,RAT类型字段能够标识的RAT类型在3GPP中已有规定。但是对于新增RAT类型,3GPP规范中的RAT类型字段是无法标识的。基于此,为了对新增RAT类型进行标识,在本步骤中,采用两种方式将承载的新增RAT类型添加至修改承载请求或创建承载响应中。In the 3GPP specification, the RAT type of the bearer is carried in the bearer modification request or the bearer creation response. The bearer modification request or the bearer creation response includes a RAT type field. The RAT type field is used to identify the RAT type of the bearer. The RAT type that the RAT type field can identify It has been stipulated in 3GPP. However, for the newly added RAT type, the RAT type field in the 3GPP specification cannot be identified. Based on this, in order to identify the newly added RAT type, in this step, two methods are used to add the newly added RAT type of the bearer to the bearer modification request or the bearer creation response.

其中,第一种方式为在修改承载请求或者创建承载响应中新增副RAT类型(即Secondary RAT Type)字段,副RAT类型字段至少用于标识承载的新增RAT类型,即副RAT类型字段可以用于标识承载的新增RAT类型(例如5G),例如当副RAT类型字段取值为1,表示承载的RAT类型为5G新增RAT类型为RAT类型字段标识的承载的RAT类型以外的RAT类型。Among them, the first method is to add a new secondary RAT type (ie Secondary RAT Type) field in the bearer modification request or the bearer creation response. The secondary RAT type field is at least used to identify the newly added RAT type of the bearer, that is, the secondary RAT type field can be It is used to identify the newly added RAT type of the bearer (such as 5G). For example, when the value of the secondary RAT type field is 1, it means that the RAT type of the bearer is 5G. The newly added RAT type is a RAT type other than the RAT type identified by the RAT type field .

第二种方式为增加修改承载请求或者创建承载响应中RAT类型的取值范围,使得RAT类型字段还用于标识承载的新增RAT类型,例如新增数值9(大于等于9的值都可以),RAT类型字段取值为9时,标识承载的RAT类型为5G。The second method is to increase the value range of the RAT type in the request to modify the bearer or create the bearer response, so that the RAT type field is also used to identify the newly added RAT type of the bearer, for example, add a value of 9 (a value greater than or equal to 9 is acceptable) , when the value of the RAT type field is 9, it indicates that the RAT type of the bearer is 5G.

PGW在获取到RAT类型后,可获知在承载上传输的数据采用的是何种RAT类型,然后分别根据RAT类型统计数据流量,从而实现根据RAT类型进行计费的目的。After obtaining the RAT type, the PGW can know which RAT type is used for the data transmitted on the bearer, and then count the data traffic according to the RAT type, so as to realize the purpose of charging according to the RAT type.

需要说明的是,本实施例中的计费处理方法优选应用在非独立组网(Non-Standalone,简称NSA)Option3a方案中。It should be noted that, the charging processing method in this embodiment is preferably applied in a Non-Standalone (Non-Standalone, NSA for short) Option3a solution.

本实施例提供的计费处理方法,首先在非独立组网场景下,获取承载所对应基站的IP地址;根据所述IP地址,确定所述承载的无线接入技术RAT类型;向分组数据网络网关PGW发送所述RAT类型,以使所述PGW根据所述RAT类型进行计费。通过上述步骤,SGW可根据基站的IP地址获得承载的RAT类型,并将RAT类型发送给PGW,使得PGW根据RAT类型统计数据流量,从而实现根据RAT类型进行计费的目的。In the billing processing method provided in this embodiment, firstly, in a non-independent networking scenario, the IP address of the base station corresponding to the bearer is obtained; according to the IP address, the radio access technology RAT type of the bearer is determined; The gateway PGW sends the RAT type, so that the PGW performs charging according to the RAT type. Through the above steps, the SGW can obtain the bearer RAT type according to the IP address of the base station, and send the RAT type to the PGW, so that the PGW can count the data traffic according to the RAT type, so as to realize the purpose of charging according to the RAT type.

进一步的,在本发明一个实施例中,步骤102,根据所述IP地址,确定所述承载的无线接入技术RAT类型的步骤,包括:Further, in one embodiment of the present invention, step 102, the step of determining the RAT type of the bearer radio access technology according to the IP address includes:

若所述IP地址在目标IP地址列表内,则确定所述承载的RAT类型为与所述目标IP地址列表对应的RAT类型。If the IP address is in the target IP address list, determine that the RAT type of the bearer is the RAT type corresponding to the target IP address list.

目标IP地址列表可配置在SGW上,也可配置在外置设备上,即所述目标IP地址列表是预配置在所述SGW中的,或者,所述目标IP地址列表是预配置在外置设备中的,所述外置设备与所述SGW建立有通信连接。The target IP address list can be configured on the SGW or on an external device, that is, the target IP address list is pre-configured in the SGW, or the target IP address list is pre-configured in the external device Yes, the external device establishes a communication connection with the SGW.

当SGW需要使用目标IP地址列表时,从本地或者外置设备上获取即可。目标IP地址列表包括采用某种RAT类型进行数据传输的基站的IP地址,例如,当RAT类型为5G时,目标IP地址列表包括采用5G进行数据传输的基站的IP地址。When the SGW needs to use the target IP address list, it can obtain it from a local or external device. The target IP address list includes IP addresses of base stations using a certain RAT type for data transmission, for example, when the RAT type is 5G, the target IP address list includes IP addresses of base stations using 5G for data transmission.

SGW在承载建立和迁移时,通过信令消息(由移动管理节点功能(MobilityManagement Entity,简称MME)发送给SGW)获取承载对应的S1 eNodeB F-TEID(即发送数据的基站的IP地址),解析该基站的IP是否在预获取的目标IP地址列表中。若在,该承载对应的接入技术类型为目标IP地址列表所对应的RAT类型。When the bearer is established and migrated, the SGW obtains the S1 eNodeB F-TEID corresponding to the bearer (that is, the IP address of the base station sending data) through a signaling message (sent to the SGW by the Mobility Management Entity (MME) function), and resolves Whether the IP of the base station is in the pre-acquired target IP address list. If yes, the access technology type corresponding to the bearer is the RAT type corresponding to the target IP address list.

例如,对于目前使用的4G和5GRAT类型来说,在SGW上配置gNB的目标IP地址列表,SGW在承载建立和迁移时通过信令消息获取承载对应的S1 eNodeB F-TEID,并判断该基站的IP是否在配置的gNB的目标IP地址列表中。如果是,该承载对应的RAT类型为gNB;如果否,该承载对应的RAT类型为eNB。SGW可以仅配置预设范围内的gNB的目标IP地址列表。For example, for the currently used 4G and 5GRAT types, the target IP address list of the gNB is configured on the SGW, and the SGW obtains the S1 eNodeB F-TEID corresponding to the bearer through signaling messages when the bearer is established and migrated, and judges the base station's F-TEID. Whether the IP is in the list of target IP addresses of the configured gNB. If yes, the RAT type corresponding to the bearer is gNB; if not, the RAT type corresponding to the bearer is eNB. The SGW may only configure the target IP address list of the gNB within the preset range.

除了采用上述方式确定承载的RAT类型外,本发明实施例还提供另一种确定承载的RAT类型的方式:在步骤102之前,还包括:In addition to using the above method to determine the RAT type of the bearer, the embodiment of the present invention also provides another way to determine the RAT type of the bearer: before step 102, it also includes:

接收基站发送的数据报文,所述数据报文的通用分组无线服务技术隧道协议GTP包头中包括用于标识RAT类型的标识信息承载;然后SGW根据IP地址与所述标识信息,确定所述承载的RAT类型。Receiving the data message sent by the base station, the general packet radio service technology tunneling protocol GTP header of the data message includes the identification information bearer used to identify the RAT type; then the SGW determines the bearer according to the IP address and the identification information The RAT type.

本实施中,同样以目前使用的4G和5GRAT类型为例进行说明。基站在发送数据报文时,在数据报文的GTP包头中添加新增字段标识,用于标识RAT类型。即在数据报文的GTP包头中增加新增字段标识以标识eNB或者gNB,SGW通过识别该标识获知数据报文由eNB还是gNB路由,eNB路由的数据报文使用的承载所对应的RAT类型为eNB,gNB路由的数据报文使用的承载所对应的RAT类型为gNB。通过新增字段标识以及基站的IP地址关联承载上下文可得到承载对应的RAT类型。In this implementation, the currently used 4G and 5GRAT types are also used as examples for illustration. When sending the data message, the base station adds a newly added field identifier in the GTP header of the data message to identify the RAT type. That is, a new field identifier is added to the GTP packet header of the data message to identify the eNB or gNB, and the SGW knows whether the data message is routed by the eNB or the gNB by identifying the identifier, and the RAT type corresponding to the bearer used by the data message routed by the eNB is The RAT type corresponding to the bearer used by the data packets routed by the eNB and gNB is gNB. The RAT type corresponding to the bearer can be obtained by associating the bearer context with the newly added field identifier and the IP address of the base station.

进一步的,在本发明另一个实施例中,步骤103,向分组数据网络网关PGW发送所述RAT类型的步骤,包括:Further, in another embodiment of the present invention, step 103, the step of sending the RAT type to the packet data network gateway PGW includes:

向所述PGW发送修改承载请求或者创建承载响应,其中,所述修改承载请求或者创建承载响应至少用于指示所述RAT类型。Sending a bearer modification request or a bearer creation response to the PGW, wherein the bearer modification request or bearer creation response is at least used to indicate the RAT type.

当所述承载的RAT类型由4G变为5G,或者所述承载的RAT类型由5G变为4G时,修改所述修改承载请求中所述副RAT类型字段的值,或者修改所述RAT类型字段的值,以标识所述承载当前的RAT类型;When the RAT type of the bearer is changed from 4G to 5G, or the RAT type of the bearer is changed from 5G to 4G, modify the value of the secondary RAT type field in the modify bearer request, or modify the RAT type field to identify the current RAT type of the bearer;

具体的,在3GPP规范中,如果不涉及Secondary RAT用量上报,MME发送的修改承载请求仅发送到SGW,不会转发到PGW,此时PGW的按照RAT类型进行的流量计费会发生误差,因此,在本实施例中,当所述承载的RAT类型由4G变为5G,或者所述承载的RAT类型由5G变为4G时,向第PGW发送修改承载请求,并且在修改承载请求中携带承载当前的RAT类型,以告知PGW当前承载的RAT类型,实现PGW区分4G和5G的流量统计和计费打标。Specifically, in the 3GPP specification, if the secondary RAT usage report is not involved, the bearer modification request sent by the MME is only sent to the SGW, and will not be forwarded to the PGW. At this time, the PGW’s traffic charging according to the RAT type will cause errors. Therefore, , in this embodiment, when the RAT type of the bearer is changed from 4G to 5G, or when the RAT type of the bearer is changed from 5G to 4G, a bearer modification request is sent to the PGW, and the bearer modification request carries the bearer The current RAT type, to inform the PGW of the current RAT type carried by the PGW, and realize the traffic statistics and billing marking of the PGW distinguishing between 4G and 5G.

进一步的,在向所述PGW发送修改承载请求或者创建承载响应的步骤之前,还包括:Further, before the step of sending a bearer modification request or creating a bearer response to the PGW, the method further includes:

根据所述RAT类型,确定所述修改承载请求或者创建承载响应中RAT类型字段的值。Determine the value of the RAT type field in the modify bearer request or create bearer response according to the RAT type.

3GPP规范中,修改承载请求或者创建承载响应中携带有承载的RAT类型,修改承载请求或者创建承载响应包括RAT类型字段,RAT类型字段用于标识承载的RAT类型,RAT类型字段能够标识的RAT类型在3GPP中已有规定。但是对于新增RAT类型,3GPP规范中的RAT类型字段是无法标识的。基于此,为了对新增RAT类型进行标识,在本步骤中,采用两种方式将承载的新增RAT类型添加至修改承载请求或创建承载响应中。In the 3GPP specification, the RAT type of the bearer is carried in the bearer modification request or the bearer creation response. The bearer modification request or the bearer creation response includes a RAT type field. The RAT type field is used to identify the RAT type of the bearer. The RAT type that the RAT type field can identify It has been stipulated in 3GPP. However, for the newly added RAT type, the RAT type field in the 3GPP specification cannot be identified. Based on this, in order to identify the newly added RAT type, in this step, two methods are used to add the newly added RAT type of the bearer to the bearer modification request or the bearer creation response.

其中,第一种方式为在修改承载请求或者创建承载响应中新增副RAT类型(即Secondary RAT Type)字段,副RAT类型字段至少用于标识承载的新增RAT类型,即副RAT类型字段可以用于标识承载的新增RAT类型(例如5G),例如当副RAT类型字段取值为1,表示承载的RAT类型为5G新增RAT类型为RAT类型字段标识的承载的RAT类型以外的RAT类型。Among them, the first method is to add a new secondary RAT type (ie Secondary RAT Type) field in the bearer modification request or the bearer creation response. The secondary RAT type field is at least used to identify the newly added RAT type of the bearer, that is, the secondary RAT type field can be It is used to identify the newly added RAT type of the bearer (such as 5G). For example, when the value of the secondary RAT type field is 1, it means that the RAT type of the bearer is 5G. The newly added RAT type is a RAT type other than the RAT type identified by the RAT type field .

第二种方式为增加修改承载请求或者创建承载响应中RAT类型的取值范围,使得RAT类型字段还用于标识承载的新增RAT类型,例如新增数值9(大于等于9的值都可以),RAT类型字段取值为9时,标识承载的RAT类型为5G。The second method is to increase the value range of the RAT type in the request to modify the bearer or create the bearer response, so that the RAT type field is also used to identify the newly added RAT type of the bearer, for example, add a value of 9 (a value greater than or equal to 9 is acceptable) , when the value of the RAT type field is 9, it indicates that the RAT type of the bearer is 5G.

进一步的,确定所述修改承载请求中RAT类型字段的值,包括:Further, determining the value of the RAT type field in the bearer modification request includes:

当所述承载的RAT类型发生变化时,修改所述修改承载请求中所述RAT类型字段的值。When the RAT type of the bearer changes, modify the value of the RAT type field in the modify bearer request.

例如,当所述承载的RAT类型由4G变为5G,或者所述承载的RAT类型由5G变为4G时,修改所述修改承载请求中所述副RAT类型字段的值,或者修改所述RAT类型字段的值,以标识所述承载当前的RAT类型。For example, when the RAT type of the bearer is changed from 4G to 5G, or when the RAT type of the bearer is changed from 5G to 4G, modify the value of the secondary RAT type field in the modify bearer request, or modify the RAT The value of the type field to identify the current RAT type of the bearer.

进一步的,向所述PGW发送修改承载请求或者创建承载响应的步骤之后,还包括:Further, after the step of sending the modifying bearer request or creating the bearer response to the PGW, it also includes:

当所述承载的RAT类型发生变化时,在所述修改承载请求或者创建承载响应中删除或增加副RAT类型字段,或者修改副RAT类型字段的取值。When the RAT type of the bearer changes, the secondary RAT type field is deleted or added in the bearer modification request or bearer creation response, or the value of the secondary RAT type field is modified.

例如,当所述承载的RAT类型由4G变为5G时,需要增加副RAT类型字段,用副RAT类型字段来标识5G。当所述承载的RAT类型由5G变为4G,此时,用RAT类型字段标识4G即可,可将副RAT类型字段删除,或者修改副RAT类型字段的取值,使副RAT类型字段取值为0,表示承载的RAT类型为4G。For example, when the RAT type of the bearer is changed from 4G to 5G, a secondary RAT type field needs to be added, and the secondary RAT type field is used to identify 5G. When the RAT type of the bearer is changed from 5G to 4G, at this time, the RAT type field can be used to identify 4G, and the secondary RAT type field can be deleted, or the value of the secondary RAT type field can be modified so that the value of the secondary RAT type field is If it is 0, it means that the bearer RAT type is 4G.

实施例二Embodiment two

参见图2,图2是本发明实施例二提供的计费处理方法的流程图之一,如图2所示,本实施例提供的计费处理方法,应用于分组数据网络网关PGW,包括:Referring to FIG. 2, FIG. 2 is one of the flowcharts of the billing processing method provided in Embodiment 2 of the present invention. As shown in FIG. 2, the billing processing method provided in this embodiment is applied to the packet data network gateway PGW, including:

步骤201,在非独立组网场景下,接收服务网关SGW发送承载的RAT类型,其中,所述SGW根据获取的承载所对应的基站的IP地址,来确定所述承载的RAT类型。Step 201, in a non-independent networking scenario, receiving the RAT type of the bearer sent by the serving gateway SGW, wherein the SGW determines the RAT type of the bearer according to the acquired IP address of the base station corresponding to the bearer.

在附着流程、UE发起的公用数据网(Public Data Network,简称PDN)连接流程、承载迁移流程中,PGW会接收SGW发送的修改承载请求(Modify Bearer Request)。在专用承载建立流程中,PGW会接收SGW发送的创建承载响应(Create bearer response)。During the attach process, the UE-initiated public data network (Public Data Network, PDN) connection process, and the bearer migration process, the PGW will receive a modify bearer request (Modify Bearer Request) sent by the SGW. In the process of establishing a dedicated bearer, the PGW will receive a create bearer response (Create bearer response) sent by the SGW.

3GPP规范中,修改承载请求或者创建承载响应中携带有承载的RAT类型,修改承载请求或者创建承载响应包括RAT类型字段,RAT类型字段用于标识承载的RAT类型,RAT类型字段能够标识的RAT类型在3GPP中已有规定。但是对于新增RAT类型,3GPP规范中的RAT类型字段是无法标识的。基于此,为了对新增RAT类型进行标识,在本步骤中,采用两种方式将承载的新增RAT类型添加至修改承载请求或创建承载响应中。In the 3GPP specification, the RAT type of the bearer is carried in the bearer modification request or the bearer creation response. The bearer modification request or the bearer creation response includes a RAT type field. The RAT type field is used to identify the RAT type of the bearer. The RAT type that the RAT type field can identify It has been stipulated in 3GPP. However, for the newly added RAT type, the RAT type field in the 3GPP specification cannot be identified. Based on this, in order to identify the newly added RAT type, in this step, two methods are used to add the newly added RAT type of the bearer to the bearer modification request or the bearer creation response.

其中,第一种方式为在修改承载请求或者创建承载响应中新增副RAT类型(即Secondary RAT Type)字段,副RAT类型字段至少用于标识承载的新增RAT类型,即副RAT类型字段可以用于标识承载的新增RAT类型(例如5G),例如当副RAT类型字段取值为1,表示承载的RAT类型为5G。新增RAT类型为RAT类型字段标识的承载的RAT类型以外的RAT类型。Among them, the first method is to add a new secondary RAT type (ie Secondary RAT Type) field in the bearer modification request or the bearer creation response. The secondary RAT type field is at least used to identify the newly added RAT type of the bearer, that is, the secondary RAT type field can be It is used to identify the newly added RAT type of the bearer (for example, 5G). For example, when the value of the secondary RAT type field is 1, it indicates that the RAT type of the bearer is 5G. The newly added RAT type is a RAT type other than the bearer RAT type identified by the RAT type field.

第二种方式为增加修改承载请求或者创建承载响应中RAT类型的取值范围,使得RAT类型字段还用于标识承载的新增RAT类型,例如新增数值9(大于等于9的值都可以),RAT类型字段取值为9时,标识承载的RAT类型为5G。The second method is to increase the value range of the RAT type in the request to modify the bearer or create the bearer response, so that the RAT type field is also used to identify the newly added RAT type of the bearer, for example, add a value of 9 (a value greater than or equal to 9 is acceptable) , when the value of the RAT type field is 9, it indicates that the RAT type of the bearer is 5G.

步骤202,根据所述RAT类型,对所述承载进行计费。Step 202, charge the bearer according to the RAT type.

PGW在接收到修改承载请求或者创建承载响应后,从其副RAT类型字段或RAT类型字段中获取到相应的字段取值,并根据字段取值获取到承载的RAT类型。After receiving the bearer modification request or the bearer creation response, the PGW obtains the corresponding field value from its secondary RAT type field or RAT type field, and obtains the RAT type of the bearer according to the field value.

PGW在获取到RAT类型后,根据RAT类型统计数据流量,从而实现根据RAT类型进行计费的目的。After acquiring the RAT type, the PGW collects statistics on the data traffic according to the RAT type, so as to realize the purpose of charging according to the RAT type.

需要说明的是,本实施例中的计费处理方法优选应用在非独立组网(Non-Standalone,简称NSA))Option3a方案中。It should be noted that, the charging processing method in this embodiment is preferably applied in the non-standalone networking (Non-Standalone, NSA for short) Option 3a solution.

本实施例提供的计费处理方法,在非独立组网场景下,接收服务网关SGW发送承载的RAT类型,根据所述RAT类型,对所述承载进行计费。通过上述步骤,PGW可获取承载的RAT类型,实现区分RAT类型的流量统计和计费打标。In the charging processing method provided in this embodiment, in a non-independent networking scenario, the RAT type of the bearer sent by the serving gateway SGW is received, and the bearer is charged according to the RAT type. Through the above steps, the PGW can obtain the RAT type of the bearer, and implement traffic statistics and charging marking for distinguishing RAT types.

在本发明一个实施例中,步骤201,接收服务网关SGW发送承载的RAT类型的步骤,包括:In an embodiment of the present invention, step 201, the step of receiving the RAT type of the bearer sent by the serving gateway SGW includes:

接收所述SGW发送的修改承载请求或者创建承载响应;其中,所述修改承载请求或者创建承载响应至少用于指示所述RAT类型。receiving a bearer modification request or a bearer creation response sent by the SGW; wherein the modification bearer request or the bearer creation response is at least used to indicate the RAT type.

在附着流程、UE发起的公用数据网(Public Data Network,简称PDN)连接流程、承载迁移流程中,PGW会接收SGW发送的修改承载请求。在专用承载建立流程中,PGW会接收SGW发送的创建承载响应。修改承载请求或者创建承载响应包括用于指示所述RAT类型的字段。During the attach process, the UE-initiated public data network (Public Data Network, PDN) connection process, and the bearer migration process, the PGW will receive the bearer modification request sent by the SGW. In the process of establishing a dedicated bearer, the PGW will receive the bearer creation response sent by the SGW. The modify bearer request or create bearer response includes a field indicating the RAT type.

修改承载请求或者创建承载响应中RAT类型字段的值用于指示所述RAT类型,例如4G,修改承载请求或者创建承载响应中的副RAT类型字段用于指示所述RAT类型,例如,5G。The value of the RAT type field in the bearer modification request or the bearer creation response is used to indicate the RAT type, such as 4G, and the secondary RAT type field in the bearer modification request or bearer creation response is used to indicate the RAT type, for example, 5G.

若所述根据所述修改承载请求或者创建承载响应包括所述副RAT类型字段,则根据所述副RAT类型字段或所述RAT类型字段获取RAT类型;若所述根据所述修改承载请求或者创建承载响应不包括所述副RAT类型字段,则根据所述RAT类型字段获取RAT类型。If the response according to the modify bearer request or create bearer includes the secondary RAT type field, obtain the RAT type according to the secondary RAT type field or the RAT type field; if the modify bearer request or create If the bearer response does not include the secondary RAT type field, the RAT type is obtained according to the RAT type field.

当修改承载请求或者创建承载响应包括副RAT类型字段时,此时承载的RAT类型通过副RAT类型字段或RAT类型字段获取,例如,当RAT类型为5G时,可通过副RAT类型字段获知承载的RAT类型;当RAT类型为3G时,可通过RAT类型字段获知承载的RAT类型。When modifying the bearer request or creating the bearer response includes the secondary RAT type field, the RAT type of the bearer is obtained through the secondary RAT type field or the RAT type field. For example, when the RAT type is 5G, the secondary RAT type field can be used. RAT type; when the RAT type is 3G, the RAT type carried can be known through the RAT type field.

当修改承载请求或者创建承载响应不包括副RAT类型字段时,直接根据RAT类型字段获取RAT类型。When modifying the bearer request or creating the bearer response does not include the secondary RAT type field, the RAT type is obtained directly according to the RAT type field.

进一步的,在本发明一个实施例中,步骤201、根据所述RAT类型,对所述承载进行计费的步骤,包括:Further, in one embodiment of the present invention, step 201, the step of charging the bearer according to the RAT type, includes:

当所述RAT类型发生变化时,触发PGW-CDR话单关闭,并在PGW-CDR中记录变化前的RAT类型,以进行离线计费,其中,在PGW-CDR中记录变化前的RAT类型包括:修改PGW-CDR的RAT类型字段的取值,或者删除PGW-CDR中Secondary RAT类型字段,或者在PGW-CDR中增加Secondary RAT类型字段,或者修改PGW-CDR的Secondary RAT类型字段的取值,PGW-CDR的RAT类型字段或Secondary RAT类型字段用于指示变化前的RAT类型。When the RAT type changes, trigger the closing of the PGW-CDR bill, and record the RAT type before the change in the PGW-CDR for offline charging, wherein the RAT type before the change in the PGW-CDR includes : Modify the value of the RAT type field of PGW-CDR, or delete the Secondary RAT type field in PGW-CDR, or add the Secondary RAT type field in PGW-CDR, or modify the value of the Secondary RAT type field of PGW-CDR, The RAT type field or the Secondary RAT type field of the PGW-CDR is used to indicate the RAT type before the change.

若所述修改承载请求或者创建承载响应的RAT类型字段用于标识所述新增RAT类型,则增加PGW-CDR话单的RAT类型字段的取值范围,以标识承载的所述新增RAT类型;若所述修改承载请求或者创建承载响应的RAT类型字段未用于标识所述新增RAT类型,则在PGW-CDR话单中增加副RAT类型字段,以标识承载的所述新增RAT类型。If the RAT type field of the modification bearer request or the bearer creation response is used to identify the newly added RAT type, then increase the value range of the RAT type field of the PGW-CDR bill to identify the newly added RAT type of the bearer ; If the RAT type field of the modification bearer request or the bearer creation response is not used to identify the newly added RAT type, then add a secondary RAT type field in the PGW-CDR bill to identify the newly added RAT type of the bearer .

具体的,3GPP规范中,PGW-CDR话单包括RAT类型字段,用于标识承载的RAT类型,PGW-CDR话单的RAT类型字段能够标识的RAT类型在3GPP中已有规定。但是对于新增RAT类型,3GPP规范中的PGW-CDR话单的RAT类型字段是无法标识的。Specifically, in the 3GPP specification, the PGW-CDR bill includes a RAT type field, which is used to identify the bearer RAT type, and the RAT type that can be identified by the RAT type field of the PGW-CDR bill has been specified in 3GPP. However, for the newly added RAT type, the RAT type field of the PGW-CDR bill in the 3GPP specification cannot be identified.

当修改承载请求或者创建承载响应的RAT类型字段用于标识新增RAT类型时,相应的,增加PGW-CDR话单的RAT类型字段的取值范围,以标识承载的所述新增RAT类型。此时,PGW根据RAT类型字段获取到的该字段的取值,并将该取值填写到PGW-CDR话单的RAT类型字段中,使得PGW-CDR话单的RAT类型字段标识的RAT类型与修改承载请求(或者创建承载响应)的RAT类型字段标识的RAT类型一致。When the RAT type field of the bearer modification request or the bearer creation response is used to identify the new RAT type, correspondingly, the value range of the RAT type field of the PGW-CDR bill is increased to identify the new RAT type of the bearer. At this point, the PGW obtains the value of the field according to the RAT type field, and fills the value into the RAT type field of the PGW-CDR bill, so that the RAT type identified in the RAT type field of the PGW-CDR bill is the same as The RAT type identified in the RAT type field of the bearer modification request (or bearer creation response) is consistent.

当所述修改承载请求或者创建承载响应的RAT类型字段未用于标识所述新增RAT类型,说明修改承载请求或者创建承载响应采用增加字段的方式来标识新增RAT类型,相应的,则在PGW-CDR话单中增加副RAT类型字段,以标识承载的新增RAT类型。此时,PGW根据副RAT类型字段获取到该字段的取值,并将该取值填写到PGW-CDR话单的副RAT类型字段中,使得PGW-CDR话单的副RAT类型字段标识的RAT类型与修改承载请求(或者创建承载响应)的副RAT类型字段标识的RAT类型一致。When the RAT type field of the bearer modification request or the bearer creation response is not used to identify the new RAT type, it means that the bearer modification request or the bearer creation response adopts an additional field to identify the new RAT type, and correspondingly, in The secondary RAT type field is added in the PGW-CDR bill to identify the newly added RAT type carried. At this time, the PGW obtains the value of this field according to the secondary RAT type field, and fills the value into the secondary RAT type field of the PGW-CDR bill, so that the RAT identified in the secondary RAT type field of the PGW-CDR bill The type is consistent with the RAT type identified in the secondary RAT type field of the bearer modification request (or bearer creation response).

需要说明的是,PGW需支持当承载从第一种RAT类型(例如4G)迁移到第二种RAT类型(例如5G),或者从第二种RAT类型迁移到第一种RAT类型时,触发部分话单关闭,触发条件为RAT类型改变。It should be noted that when the bearer is migrated from the first RAT type (such as 4G) to the second RAT type (such as 5G), or from the second RAT type to the first RAT type, the trigger part The CDR is closed, and the trigger condition is that the RAT type changes.

本实施例中的计费处理方法,在PGW-CDR话单中包括承载的RAT类型,可实现区分RAT类型的离线流量统计和计费打标。In the billing processing method in this embodiment, the PGW-CDR bill includes the bearer RAT type, which can realize offline traffic statistics and billing marking for distinguishing RAT types.

进一步的,在本发明一个实施例中,步骤201、根据所述RAT类型,对所述承载进行计费的步骤,还包括:Further, in one embodiment of the present invention, step 201, the step of charging the bearer according to the RAT type, further includes:

当所述RAT类型发生变化时,更新信用控制请求更新消息CCR-U中的RAT类型,并将更新后的CCR-U消息发送给业务运营支撑系统BOSS,以进行在线计费,更新CCR-U消息中的RAT类型包括修改CCR-U消息中3GPP-RAT-Type AVP的取值,或者删除CCR-U消息中的3GPP-Secondary-RAT-Type AVP,或者在CCR-U消息中增加3GPP-Secondary-RAT-Type AVP,或者修改CCR-U消息中3GPP-Secondary-RAT-Type AVP的取值,其中,CCR-U消息中的3GPP-RAT-Type字段或3GPP-Secondary-RAT-Type AVP用于指示变化后的RAT类型。When the RAT type changes, update the RAT type in the credit control request update message CCR-U, and send the updated CCR-U message to the business operation support system BOSS to perform online charging and update the CCR-U The RAT type in the message includes modifying the value of 3GPP-RAT-Type AVP in the CCR-U message, or deleting the 3GPP-Secondary-RAT-Type AVP in the CCR-U message, or adding 3GPP-Secondary in the CCR-U message -RAT-Type AVP, or modify the value of 3GPP-Secondary-RAT-Type AVP in the CCR-U message, where the 3GPP-RAT-Type field or 3GPP-Secondary-RAT-Type AVP in the CCR-U message is used for Indicates the changed RAT type.

具体的,当所述RAT类型发生变化时,例如,当所述承载的RAT类型由4G变为5G时,需要增加副RAT类型字段,用副RAT类型字段来标识5G。当所述承载的RAT类型由5G变为4G,此时,用RAT类型字段标识4G即可,可将副RAT类型字段删除,或者修改副RAT类型字段的取值,使副RAT类型字段取值为0,表示承载的RAT类型为4G。Specifically, when the RAT type changes, for example, when the bearer RAT type changes from 4G to 5G, a secondary RAT type field needs to be added, and the secondary RAT type field is used to identify 5G. When the RAT type of the bearer is changed from 5G to 4G, at this time, the RAT type field can be used to identify 4G, and the secondary RAT type field can be deleted, or the value of the secondary RAT type field can be modified so that the value of the secondary RAT type field is If it is 0, it means that the bearer RAT type is 4G.

对于变化后的RAT类型为新增RAT类型,采用如下两种方式来处理CCR-U消息。For the changed RAT type is a newly added RAT type, the following two methods are used to process the CCR-U message.

当修改承载请求或者创建承载响应的RAT类型字段用于标识新增RAT类型时,相应的,增加CCR-U中PS-Information AVP中的3GPP-RAT-Type字段的取值,以标识承载的所述新增RAT类型。此时,PGW根据PGW-CDR话单的RAT类型字段获取到该字段的取值,并将该取值填写到CCR-U消息中PS-Information AVP中的3GPP-RAT-Type字段中,以告知BOSS当前承载的RAT类型,实现根据RAT类型进行计费。When modifying the bearer request or creating the bearer response RAT type field is used to identify the newly added RAT type, correspondingly, increase the value of the 3GPP-RAT-Type field in the PS-Information AVP in the CCR-U to identify the bearer The new RAT type mentioned above. At this time, the PGW obtains the value of this field according to the RAT type field of the PGW-CDR bill, and fills the value into the 3GPP-RAT-Type field in the PS-Information AVP in the CCR-U message to inform The RAT type currently borne by the BOSS implements charging based on the RAT type.

当所述修改承载请求或者创建承载响应的RAT类型字段未用于标识所述新增RAT类型,说明修改承载请求或者创建承载响应采用增加字段的方式来标识新增RAT类型,相应的,则在CCR-U消息中增加3GPP-Secondary-RAT-Type AVP字段,以标识承载的新增RAT类型。此时,PGW根据PGW-CDR话单的RAT类型字段获取到该字段的取值,并将该取值填写到CCR-U消息中增加的新标识字段(即3GPP-Secondary-RAT-Type AVP)中,使得PGW-CDR话单的新标识字段标识的RAT类型与修改承载请求(或者创建承载响应)的副RAT类型字段标识的RAT类型一致。When the RAT type field of the bearer modification request or the bearer creation response is not used to identify the new RAT type, it means that the bearer modification request or the bearer creation response adopts an additional field to identify the new RAT type, and correspondingly, in A 3GPP-Secondary-RAT-Type AVP field is added to the CCR-U message to identify the newly added RAT type carried. At this time, the PGW obtains the value of the field according to the RAT type field of the PGW-CDR bill, and fills the value into the new identification field added in the CCR-U message (ie 3GPP-Secondary-RAT-Type AVP) , make the RAT type identified by the new identification field of the PGW-CDR bill consistent with the RAT type identified by the secondary RAT type field of the modify bearer request (or create bearer response).

需要说明的是,PGW需支持当承载从第一种RAT类型(例如4G)迁移到第二种RAT类型(例如5G),或者从第二种RAT类型迁移到第一种RAT类型时,触发部分话单关闭,触发条件为RAT类型改变,同时PGW需支持给BOSS发送CCR-U消息以申请新的配额。It should be noted that when the bearer is migrated from the first RAT type (such as 4G) to the second RAT type (such as 5G), or from the second RAT type to the first RAT type, the trigger part When the CDR is closed, the trigger condition is that the RAT type changes, and at the same time, the PGW needs to support sending a CCR-U message to the BOSS to apply for a new quota.

本实施例中的计费处理方法,在发送给BOSS的CCR-U消息中包括承载的RAT类型,可实现区分RAT类型的在线流量统计和计费打标,由于PGW实时统计承载的流量,并将该流量体现在PGW-CDR话单和CCR-U消息中,因此,本实施例中的计费处理方法还能实现流量的实时上报。The billing processing method in this embodiment includes the RAT type of the bearer in the CCR-U message sent to the BOSS, which can realize online traffic statistics and billing marking for distinguishing RAT types. Since the PGW counts the traffic carried by the PGW in real time, and The flow is reflected in the PGW-CDR bill and the CCR-U message. Therefore, the charging processing method in this embodiment can also realize real-time reporting of the flow.

实施例三Embodiment Three

本实施例中的服务网关为与实施例一对应的装置实施例。The service gateway in this embodiment is a device embodiment corresponding to Embodiment 1.

参见图3,图3是本发明实施例三提供的服务网关的结构图之一,如图3所示,本实施例提供的服务网关300,包括:Referring to FIG. 3, FIG. 3 is one of the structural diagrams of the service gateway provided by Embodiment 3 of the present invention. As shown in FIG. 3, the service gateway 300 provided by this embodiment includes:

基站IP地址获取模块301,用于在非独立组网场景下,获取承载所对应基站的IP地址;A base station IP address acquisition module 301, configured to acquire the IP address of the base station corresponding to the bearer in a non-independent networking scenario;

RAT类型确定模块302,用于根据所述IP地址,确定所述承载的无线接入技术RAT类型;The RAT type determination module 302 is configured to determine the RAT type of the bearer radio access technology according to the IP address;

RAT类型发送模块303,用于向分组数据网络网关PGW发送所述RAT类型,以使所述PGW根据所述RAT类型进行计费。The RAT type sending module 303 is configured to send the RAT type to the packet data network gateway PGW, so that the PGW performs charging according to the RAT type.

本实施例提供的服务网关300,首先在非独立组网场景下,获取承载所对应基站的IP地址;根据所述IP地址,确定所述承载的无线接入技术RAT类型;向分组数据网络网关PGW发送所述RAT类型,以使所述PGW根据所述RAT类型进行计费。通过上述步骤,SGW可根据基站的IP地址获得承载的RAT类型,并将RAT类型发送给PGW,使得PGW根据RAT类型统计数据流量,从而实现根据RAT类型进行计费的目的。The service gateway 300 provided in this embodiment first acquires the IP address of the base station corresponding to the bearer in a non-independent networking scenario; determines the RAT type of the bearer according to the IP address; The PGW sends the RAT type, so that the PGW performs charging according to the RAT type. Through the above steps, the SGW can obtain the bearer RAT type according to the IP address of the base station, and send the RAT type to the PGW, so that the PGW can count the data traffic according to the RAT type, so as to realize the purpose of charging according to the RAT type.

进一步的,RAT类型确定模块302用于:若所述IP地址在目标IP地址列表内,则确定所述承载的RAT类型为与所述目标IP地址列表对应的RAT类型。Further, the RAT type determining module 302 is configured to: if the IP address is in the target IP address list, determine that the RAT type of the bearer is the RAT type corresponding to the target IP address list.

进一步的,所述目标IP地址列表是预配置在所述SGW中的,或者,所述目标IP地址列表是预配置在外置设备中的,所述外置设备与所述SGW建立有通信连接。Further, the target IP address list is pre-configured in the SGW, or the target IP address list is pre-configured in an external device, and the external device establishes a communication connection with the SGW.

进一步的,上述服务网关300还包括:报文接收模块,用于接收基站发送的数据报文,所述数据报文的通用分组无线服务技术隧道协议GTP包头中包括用于标识RAT类型的标识信息承载;Further, the above service gateway 300 also includes: a message receiving module, configured to receive a data message sent by the base station, the general packet radio service technology tunneling protocol GTP header of the data message includes identification information for identifying the RAT type carrying;

RAT类型确定模块302,用于根据所述IP地址与所述标识信息,确定所述承载的RAT类型。The RAT type determination module 302 is configured to determine the RAT type of the bearer according to the IP address and the identification information.

进一步的,RAT类型发送模块303,用于向所述PGW发送修改承载请求或者创建承载响应,其中,所述修改承载请求或者创建承载响应至少用于指示所述RAT类型。Further, the RAT type sending module 303 is configured to send a bearer modification request or a bearer creation response to the PGW, wherein the bearer modification request or bearer creation response is at least used to indicate the RAT type.

进一步的,如图4所示,上述服务网关300还包括发送消息确定模块304,用于根据所述RAT类型,确定所述修改承载请求或者创建承载响应中RAT类型字段的值。Further, as shown in FIG. 4 , the service gateway 300 further includes a sending message determining module 304, configured to determine the value of the RAT type field in the bearer modification request or bearer creation response according to the RAT type.

进一步的,所述发送消息确定模块304,用于当所述承载的RAT类型发生变化时,修改所述修改承载请求中所述RAT类型字段的值。Further, the sending message determining module 304 is configured to modify the value of the RAT type field in the modify bearer request when the RAT type of the bearer changes.

进一步的,如图4所示,上述服务网关300还包括:Further, as shown in FIG. 4, the service gateway 300 also includes:

修改模块305,用于当所述承载的RAT类型发生变化时,在所述修改承载请求或者创建承载响应中删除或增加副RAT类型字段,或者修改副RAT类型字段的取值。The modifying module 305 is configured to delete or add a secondary RAT type field in the modify bearer request or create bearer response, or modify the value of the secondary RAT type field when the RAT type of the bearer changes.

由于本实施例中的服务网关300为与实施例一对应的装置实施例,能够实现实施例一中的各个步骤,为避免重复,这里不再赘述。Since the service gateway 300 in this embodiment is a device embodiment corresponding to the first embodiment, and can implement each step in the first embodiment, in order to avoid repetition, details are not repeated here.

实施例四Embodiment Four

本实施例中的分组数据网络网关为与实施例二对应的装置实施例。The packet data network gateway in this embodiment is a device embodiment corresponding to the second embodiment.

参见图5,图5是本发明实施例四提供的分组数据网络网关的结构图之一,如图5所示,本实施例提供的分组数据网络网关400,包括:Referring to FIG. 5, FIG. 5 is one of the structural diagrams of the packet data network gateway provided in Embodiment 4 of the present invention. As shown in FIG. 5, the packet data network gateway 400 provided in this embodiment includes:

RAT类型接收模块401,用于在非独立组网场景下,接收服务网关SGW发送承载的RAT类型,其中,所述SGW根据获取的承载所对应的基站的IP地址,来确定所述承载的RAT类型;The RAT type receiving module 401 is configured to receive the RAT type of the bearer sent by the service gateway SGW in a non-independent networking scenario, wherein the SGW determines the RAT of the bearer according to the acquired IP address of the base station corresponding to the bearer type;

计费模块402,用于根据所述RAT类型,对所述承载进行计费。The charging module 402 is configured to charge the bearer according to the RAT type.

本实施例提供的分组数据网络网关400,在非独立组网场景下,接收服务网关SGW发送承载的RAT类型,根据所述RAT类型,对所述承载进行计费。通过上述步骤,PGW可获取承载的RAT类型,实现区分RAT类型的流量统计和计费打标。The packet data network gateway 400 provided in this embodiment receives the RAT type of the bearer sent by the serving gateway SGW in a non-independent networking scenario, and charges the bearer according to the RAT type. Through the above steps, the PGW can obtain the RAT type of the bearer, and implement traffic statistics and charging marking for distinguishing RAT types.

进一步的,所述RAT类型接收模块401用于:Further, the RAT type receiving module 401 is used for:

接收所述SGW发送的修改承载请求或者创建承载响应;其中,所述修改承载请求或者创建承载响应至少用于指示所述RAT类型。receiving a bearer modification request or a bearer creation response sent by the SGW; wherein the modification bearer request or the bearer creation response is at least used to indicate the RAT type.

进一步的,所述修改承载请求或者创建承载响应中RAT类型字段的值用于指示所述RAT类型。Further, the value of the RAT type field in the modify bearer request or create bearer response is used to indicate the RAT type.

进一步的,所述修改承载请求或者创建承载响应中的副RAT类型字段用于指示所述RAT类型。Further, the secondary RAT type field in the bearer modification request or bearer creation response is used to indicate the RAT type.

进一步的,所述计费模块402,用于当所述RAT类型发生变化时,触发PGW-CDR话单关闭,并在PGW-CDR中记录变化前的RAT类型,以进行离线计费,其中,在PGW-CDR中记录变化前的RAT类型包括:修改PGW-CDR的RAT类型字段的取值,或者删除PGW-CDR中Secondary RAT类型字段,或者在PGW-CDR中增加Secondary RAT类型字段,或者修改PGW-CDR的SecondaryRAT类型字段的取值,PGW-CDR的RAT类型字段或Secondary RAT类型字段用于指示变化前的RAT类型。Further, the charging module 402 is configured to trigger the closing of the PGW-CDR bill when the RAT type changes, and record the RAT type before the change in the PGW-CDR for offline charging, wherein, Recording the RAT type before the change in PGW-CDR includes: modifying the value of the RAT type field of PGW-CDR, or deleting the Secondary RAT type field in PGW-CDR, or adding a Secondary RAT type field in PGW-CDR, or modifying The value of the SecondaryRAT type field of PGW-CDR, the RAT type field of PGW-CDR or the Secondary RAT type field is used to indicate the RAT type before the change.

进一步的,所述计费模块402,还用于:Further, the billing module 402 is also used for:

当所述RAT类型发生变化时,更新信用控制请求更新消息CCR-U中的RAT类型,并将更新后的CCR-U消息发送给业务运营支撑系统BOSS,以进行在线计费,更新CCR-U消息中的RAT类型包括修改CCR-U消息中3GPP-RAT-Type AVP的取值,或者删除CCR-U消息中的3GPP-Secondary-RAT-Type AVP,或者在CCR-U消息中增加3GPP-Secondary-RAT-Type AVP,或者修改CCR-U消息中3GPP-Secondary-RAT-Type AVP的取值,其中,CCR-U消息中的3GPP-RAT-Type字段或3GPP-Secondary-RAT-Type AVP用于指示变化后的RAT类型。When the RAT type changes, update the RAT type in the credit control request update message CCR-U, and send the updated CCR-U message to the business operation support system BOSS to perform online charging and update the CCR-U The RAT type in the message includes modifying the value of 3GPP-RAT-Type AVP in the CCR-U message, or deleting the 3GPP-Secondary-RAT-Type AVP in the CCR-U message, or adding 3GPP-Secondary in the CCR-U message -RAT-Type AVP, or modify the value of 3GPP-Secondary-RAT-Type AVP in the CCR-U message, where the 3GPP-RAT-Type field or 3GPP-Secondary-RAT-Type AVP in the CCR-U message is used for Indicates the changed RAT type.

由于本实施例中的分组数据网络网关400为与实施例二对应的装置实施例,能够实现实施例二中的各个步骤,为避免重复,这里不再赘述。Since the packet data network gateway 400 in this embodiment is a device embodiment corresponding to the second embodiment, and can implement each step in the second embodiment, in order to avoid repetition, details are not repeated here.

进一步的,在本发明还提供一种网络系统,包括实施例三中的服务网关300和实施例四中的分组数据网络网关400。Further, the present invention also provides a network system, including the service gateway 300 in the third embodiment and the packet data network gateway 400 in the fourth embodiment.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述计费处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned billing processing method embodiment is realized, and the same Technical effects, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.

Claims (21)

1.一种计费处理方法,应用于服务网关SGW,其特征在于,包括:1. A billing processing method applied to a serving gateway SGW, characterized in that it comprises: 在非独立组网场景下,获取承载所对应基站的IP地址;In a non-independent networking scenario, obtain the IP address of the base station corresponding to the bearer; 根据所述IP地址,确定所述承载的无线接入技术RAT类型;Determine the bearer radio access technology RAT type according to the IP address; 向分组数据网络网关PGW发送所述RAT类型,以使所述PGW根据所述RAT类型进行计费,包括:向所述PGW发送修改承载请求或者创建承载响应,其中,所述修改承载请求或者创建承载响应至少用于指示所述RAT类型;Sending the RAT type to the packet data network gateway PGW, so that the PGW performs charging according to the RAT type, includes: sending a modify bearer request or create a bearer response to the PGW, wherein the modify bearer request or create The bearer response is at least used to indicate the RAT type; 当所述承载的RAT类型发生变化时,在所述修改承载请求或者创建承载响应中删除或增加副RAT类型字段,或者修改副RAT类型字段的取值。When the RAT type of the bearer changes, the secondary RAT type field is deleted or added in the bearer modification request or bearer creation response, or the value of the secondary RAT type field is modified. 2.根据权利要求1所述的方法,其特征在于,根据所述IP地址,确定所述承载的无线接入技术RAT类型的步骤,包括:2. The method according to claim 1, wherein, according to the IP address, the step of determining the RAT type of the bearer comprises: 若所述IP地址在目标IP地址列表内,则确定所述承载的RAT类型为与所述目标IP地址列表对应的RAT类型。If the IP address is in the target IP address list, determine that the RAT type of the bearer is the RAT type corresponding to the target IP address list. 3.根据权利要求2所述的方法,其特征在于,所述目标IP地址列表是预配置在所述SGW中的,或者,所述目标IP地址列表是预配置在外置设备中的,所述外置设备与所述SGW建立有通信连接。3. The method according to claim 2, wherein the target IP address list is pre-configured in the SGW, or the target IP address list is pre-configured in an external device, the The external device establishes a communication connection with the SGW. 4.根据权利要求1所述的方法,其特征在于,根据所述IP地址,确定所述承载的无线接入技术RAT类型的步骤之前,还包括:4. The method according to claim 1, characterized in that, before the step of determining the bearer radio access technology RAT type according to the IP address, further comprising: 接收基站发送的数据报文,所述数据报文的通用分组无线服务技术隧道协议GTP包头中包括用于标识RAT类型的标识信息承载;Receiving the data message sent by the base station, the General Packet Radio Service Technology Tunneling Protocol GTP header of the data message includes an identification information bearer for identifying the RAT type; 根据所述IP地址,确定所述承载的无线接入技术RAT类型的步骤,包括:According to the IP address, the step of determining the RAT type of the bearer includes: 根据所述IP地址与所述标识信息,确定所述承载的RAT类型。Determine the RAT type of the bearer according to the IP address and the identification information. 5.根据权利要求1所述的方法,其特征在于,在根据所述IP地址,确定所述承载的RAT类型之后,向所述PGW发送修改承载请求或者创建承载响应的步骤之前,还包括:5. The method according to claim 1, wherein after the RAT type of the bearer is determined according to the IP address, before the step of sending a bearer modification request or creating a bearer response to the PGW, further comprising: 根据所述RAT类型,确定所述修改承载请求或者创建承载响应中RAT类型字段的值。Determine the value of the RAT type field in the modify bearer request or create bearer response according to the RAT type. 6.根据权利要求5所述的方法,其特征在于,根据所述RAT类型,确定所述修改承载请求中RAT类型字段的值,包括:6. The method according to claim 5, wherein, according to the RAT type, determining the value of the RAT type field in the modification bearer request comprises: 当所述承载的RAT类型发生变化时,修改所述修改承载请求中所述RAT类型字段的值。When the RAT type of the bearer changes, modify the value of the RAT type field in the modify bearer request. 7.一种计费处理方法,应用于分组数据网络网关PGW,其特征在于,包括:7. A billing processing method applied to a packet data network gateway PGW, characterized in that, comprising: 在非独立组网场景下,接收服务网关SGW发送的承载的无线接入技术RAT类型,其中,所述SGW根据获取的承载所对应的基站的IP地址,来确定所述承载的RAT类型;包括:接收所述SGW发送的修改承载请求或者创建承载响应;其中,所述修改承载请求或者创建承载响应至少用于指示所述RAT类型;所述修改承载请求或者创建承载响应中的副RAT类型字段用于指示所述RAT类型;In a non-independent networking scenario, receiving the RAT type of the bearer sent by the serving gateway SGW, wherein the SGW determines the RAT type of the bearer according to the acquired IP address of the base station corresponding to the bearer; including : receiving the modify bearer request or create bearer response sent by the SGW; wherein, the modify bearer request or create bearer response is at least used to indicate the RAT type; the secondary RAT type field in the modify bearer request or create bearer response Used to indicate the RAT type; 根据所述RAT类型,对所述承载进行计费。The bearer is charged according to the RAT type. 8.根据权利要求7所述的方法,其特征在于,所述修改承载请求或者创建承载响应中RAT类型字段的值用于指示所述RAT类型。8. The method according to claim 7, wherein the value of the RAT type field in the modify bearer request or create bearer response is used to indicate the RAT type. 9.根据权利要求7至8任一项所述的方法,其特征在于,根据所述RAT类型,对所述承载进行计费的步骤,包括:9. The method according to any one of claims 7 to 8, wherein the step of charging the bearer according to the RAT type comprises: 当所述RAT类型发生变化时,触发PGW-CDR话单关闭,并在PGW-CDR中记录变化前的RAT类型,以进行离线计费;When the RAT type changes, the PGW-CDR bill is triggered to close, and the RAT type before the change is recorded in the PGW-CDR for offline charging; 其中,在PGW-CDR中记录变化前的RAT类型包括更新PGW-CDR中的RAT类型包括:修改PGW-CDR的RAT类型字段的取值,或者删除PGW-CDR中Secondary RAT类型字段,或者在PGW-CDR中增加Secondary RAT类型字段,或者修改PGW-CDR的Secondary RAT类型字段的取值,PGW-CDR的RAT类型字段或Secondary RAT类型字段用于指示变化前的RAT类型。Wherein, recording the RAT type before the change in the PGW-CDR includes updating the RAT type in the PGW-CDR includes: modifying the value of the RAT type field of the PGW-CDR, or deleting the Secondary RAT type field in the PGW-CDR, or in the PGW -Increase the Secondary RAT type field in the CDR, or modify the value of the Secondary RAT type field of the PGW-CDR, and the RAT type field or the Secondary RAT type field of the PGW-CDR is used to indicate the RAT type before the change. 10.根据权利要求7至8任一项所述的方法,其特征在于,根据所述RAT类型,对所述承载进行计费的步骤,还包括:10. The method according to any one of claims 7 to 8, wherein the step of charging the bearer according to the RAT type further comprises: 当所述RAT类型发生变化时,更新信用控制请求更新消息CCR-U中的RAT类型,并将更新后的CCR-U消息发送给业务运营支撑系统BOSS,以进行在线计费,更新CCR-U消息中的RAT类型包括修改CCR-U消息中3GPP-RAT-Type AVP的取值,或者删除CCR-U消息中的3GPP-Secondary-RAT-Type AVP,或者在CCR-U消息中增加3GPP-Secondary-RAT-Type AVP,或者修改CCR-U消息中3GPP-Secondary-RAT-Type AVP的取值,其中,CCR-U消息中的3GPP-RAT-Type字段或3GPP-Secondary-RAT-Type AVP用于指示变化后的RAT类型。When the RAT type changes, update the RAT type in the credit control request update message CCR-U, and send the updated CCR-U message to the business operation support system BOSS to perform online charging and update the CCR-U The RAT type in the message includes modifying the value of 3GPP-RAT-Type AVP in the CCR-U message, or deleting the 3GPP-Secondary-RAT-Type AVP in the CCR-U message, or adding 3GPP-Secondary in the CCR-U message -RAT-Type AVP, or modify the value of 3GPP-Secondary-RAT-Type AVP in the CCR-U message, where the 3GPP-RAT-Type field or 3GPP-Secondary-RAT-Type AVP in the CCR-U message is used for Indicates the changed RAT type. 11.一种服务网关,其特征在于,包括:11. A service gateway, characterized in that it comprises: 基站IP地址获取模块,用于在非独立组网场景下,获取承载所对应基站的IP地址;The base station IP address acquisition module is used to obtain the IP address of the base station corresponding to the bearer in the non-independent networking scenario; RAT类型确定模块,用于根据所述IP地址,确定所述承载的无线接入技术RAT类型;A RAT type determination module, configured to determine the RAT type of the bearer radio access technology according to the IP address; RAT类型发送模块,用于向分组数据网络网关PGW发送所述RAT类型,以使所述PGW根据所述RAT类型进行计费;A RAT type sending module, configured to send the RAT type to the packet data network gateway PGW, so that the PGW performs charging according to the RAT type; RAT类型发送模块,用于向所述PGW发送修改承载请求或者创建承载响应,其中,所述修改承载请求或者创建承载响应至少用于指示所述RAT类型;A RAT type sending module, configured to send a modify bearer request or create a bearer response to the PGW, wherein the modify bearer request or create a bearer response is at least used to indicate the RAT type; 修改模块,用于当所述承载的RAT类型发生变化时,在所述修改承载请求或者创建承载响应中删除或增加副RAT类型字段,或者修改副RAT类型字段的取值。A modifying module, configured to delete or add a secondary RAT type field in the modify bearer request or create bearer response, or modify the value of the secondary RAT type field when the RAT type of the bearer changes. 12.根据权利要求11所述的服务网关,其特征在于,RAT类型确定模块用于:12. The serving gateway according to claim 11, wherein the RAT type determining module is used for: 若所述IP地址在目标IP地址列表内,则确定所述承载的RAT类型为与所述目标IP地址列表对应的RAT类型。If the IP address is in the target IP address list, determine that the RAT type of the bearer is the RAT type corresponding to the target IP address list. 13.根据权利要求12所述的服务网关,其特征在于,所述目标IP地址列表是预配置在所述SGW中的,或者,所述目标IP地址列表是预配置在外置设备中的,所述外置设备与所述SGW建立有通信连接。13. The serving gateway according to claim 12, wherein the target IP address list is pre-configured in the SGW, or the target IP address list is pre-configured in an external device, so The external device establishes a communication connection with the SGW. 14.根据权利要求11所述的服务网关,其特征在于,还包括:14. The service gateway according to claim 11, further comprising: 报文接收模块,用于接收基站发送的数据报文,所述数据报文的通用分组无线服务技术隧道协议GTP包头中包括用于标识RAT类型的标识信息承载;The message receiving module is used to receive the data message sent by the base station, and the General Packet Radio Service Technology Tunneling Protocol GTP header of the data message includes an identification information bearer for identifying the RAT type; RAT类型确定模块,用于根据所述IP地址与所述标识信息,确定所述承载的RAT类型。The RAT type determination module is configured to determine the RAT type of the bearer according to the IP address and the identification information. 15.根据权利要求11所述的服务网关,其特征在于,还包括发送消息确定模块,用于根据所述RAT类型,确定所述修改承载请求或者创建承载响应中RAT类型字段的值。15. The serving gateway according to claim 11, further comprising a sending message determining module, configured to determine the value of the RAT type field in the modify bearer request or create bearer response according to the RAT type. 16.根据权利要求15所述的服务网关,其特征在于,所述发送消息确定模块,用于:16. The service gateway according to claim 15, wherein the sending message determining module is configured to: 当所述承载的RAT类型发生变化时,修改所述修改承载请求中所述RAT类型字段的值。When the RAT type of the bearer changes, modify the value of the RAT type field in the modify bearer request. 17.一种分组数据网络网关,其特征在于,包括:17. A packet data network gateway, characterized in that, comprising: RAT类型接收模块,用于在非独立组网场景下,接收服务网关SGW发送承载的无线接入技术RAT类型,其中,所述SGW根据获取的承载所对应的基站的IP地址,来确定所述承载的RAT类型;The RAT type receiving module is configured to receive the radio access technology RAT type of the bearer sent by the serving gateway SGW in a non-independent networking scenario, wherein the SGW determines the IP address of the base station corresponding to the acquired bearer. The type of RAT carried; 计费模块,用于根据所述RAT类型,对所述承载进行计费;A charging module, configured to charge the bearer according to the RAT type; 所述RAT类型接收模块用于:接收所述SGW发送的修改承载请求或者创建承载响应;其中,所述修改承载请求或者创建承载响应至少用于指示所述RAT类型;所述修改承载请求或者创建承载响应中的副RAT类型字段用于指示所述RAT类型。The RAT type receiving module is configured to: receive a modify bearer request or create a bearer response sent by the SGW; wherein the modify bearer request or create a bearer response is at least used to indicate the RAT type; the modify bearer request or create The secondary RAT type field in the bearer response is used to indicate the RAT type. 18.根据权利要求17所述的分组数据网络网关,其特征在于,所述修改承载请求或者创建承载响应中RAT类型字段的值用于指示所述RAT类型。18. The packet data network gateway according to claim 17, wherein the value of the RAT type field in the modify bearer request or create bearer response is used to indicate the RAT type. 19.根据权利要求17至18任一项所述的分组数据网络网关,其特征在于,所述计费模块,用于当所述RAT类型发生变化时,触发PGW-CDR话单关闭,并在PGW-CDR中记录变化前的RAT类型,以进行离线计费;19. The packet data network gateway according to any one of claims 17 to 18, wherein the billing module is configured to trigger the closing of the PGW-CDR bill when the RAT type changes, and Record the RAT type before the change in PGW-CDR for offline charging; 其中,在PGW-CDR中记录变化前的RAT类型包括:修改PGW-CDR的RAT类型字段的取值,或者删除PGW-CDR中Secondary RAT类型字段,或者在PGW-CDR中增加Secondary RAT类型字段,或者修改PGW-CDR的Secondary RAT类型字段的取值,PGW-CDR的RAT类型字段或Secondary RAT类型字段用于指示变化前的RAT类型。Wherein, recording the RAT type before the change in the PGW-CDR includes: modifying the value of the RAT type field of the PGW-CDR, or deleting the Secondary RAT type field in the PGW-CDR, or adding the Secondary RAT type field in the PGW-CDR, Or modify the value of the Secondary RAT type field of the PGW-CDR, where the RAT type field or the Secondary RAT type field of the PGW-CDR is used to indicate the RAT type before the change. 20.根据权利要求17至18任一项所述的分组数据网络网关,其特征在于,所述计费模块,还用于:20. The packet data network gateway according to any one of claims 17 to 18, wherein the billing module is also used for: 当所述RAT类型发生变化时,更新信用控制请求更新消息CCR-U中的RAT类型,并将更新后的CCR-U消息发送给业务运营支撑系统BOSS,以进行在线计费,更新CCR-U消息中的RAT类型包括修改CCR-U消息中3GPP-RAT-Type AVP的取值,或者删除CCR-U消息中的3GPP-Secondary-RAT-Type AVP,或者在CCR-U消息中增加3GPP-Secondary-RAT-Type AVP,或者修改CCR-U消息中3GPP-Secondary-RAT-Type AVP的取值,其中,CCR-U消息中的3GPP-RAT-Type字段或3GPP-Secondary-RAT-Type字段用于指示变化后的RAT类型。When the RAT type changes, update the RAT type in the credit control request update message CCR-U, and send the updated CCR-U message to the business operation support system BOSS to perform online charging and update the CCR-U The RAT type in the message includes modifying the value of 3GPP-RAT-Type AVP in the CCR-U message, or deleting the 3GPP-Secondary-RAT-Type AVP in the CCR-U message, or adding 3GPP-Secondary in the CCR-U message -RAT-Type AVP, or modify the value of 3GPP-Secondary-RAT-Type AVP in the CCR-U message, where the 3GPP-RAT-Type field or 3GPP-Secondary-RAT-Type field in the CCR-U message is used for Indicates the changed RAT type. 21.一种网络系统,其特征在于,包括如权利要求11-16任一项所述的服务网关和如权利要求17-20任一项所述的分组数据网络网关。21. A network system, characterized by comprising the service gateway according to any one of claims 11-16 and the packet data network gateway according to any one of claims 17-20.
CN201811055155.XA 2018-09-11 2018-09-11 Charging processing method, network element and network system Active CN110890967B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811055155.XA CN110890967B (en) 2018-09-11 2018-09-11 Charging processing method, network element and network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811055155.XA CN110890967B (en) 2018-09-11 2018-09-11 Charging processing method, network element and network system

Publications (2)

Publication Number Publication Date
CN110890967A CN110890967A (en) 2020-03-17
CN110890967B true CN110890967B (en) 2022-11-08

Family

ID=69745435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811055155.XA Active CN110890967B (en) 2018-09-11 2018-09-11 Charging processing method, network element and network system

Country Status (1)

Country Link
CN (1) CN110890967B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747420B (en) 2020-05-29 2023-02-03 中国电信股份有限公司 Data transmission method, network equipment and system in multi-connection network
CN113747496B (en) * 2020-05-29 2024-02-09 中国电信股份有限公司 Handover method, network device and system in multi-connection network
CN112492536B (en) * 2020-12-16 2022-02-15 中国联合网络通信集团有限公司 Communication control method, device and server

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127652B (en) * 2006-08-17 2011-04-27 华为技术有限公司 A method, device and system for determining an anchor point for a user terminal to access an external network
CN101541056B (en) * 2008-03-19 2011-03-09 大唐移动通信设备有限公司 Method and device for inter-operating among systems with different GTP editions
CN101841797B (en) * 2009-03-21 2014-11-05 中兴通讯股份有限公司 Charging method and system for terminal access through multiple access networks and reporting method
CN102036325B (en) * 2009-09-28 2013-06-05 华为终端有限公司 Method and equipment for establishing or modifying local IP (Internet Protocol) access bearer
CN102387606B (en) * 2010-09-02 2015-10-21 中兴通讯股份有限公司 A kind of realization carries the method and system processed
CN102761958B (en) * 2011-04-28 2017-09-22 中兴通讯股份有限公司 A kind of load bearing management method and system for supporting multiple access
CN103338487B (en) * 2013-06-03 2016-06-01 大唐移动通信设备有限公司 A kind of different intersystem reselection or switching handling method and equipment
ES2869298T3 (en) * 2015-09-14 2021-10-25 Nec Corp Method for a base station to add a second base station and a corresponding base station
CN108260098B (en) * 2016-12-29 2020-10-16 中国移动通信有限公司研究院 Target wireless hotspot traffic charging method, traffic charging system and related devices

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"C4-175135 CR1845 Secondary RAT related data usage reporting v2".《3GPP tsg_ct\WG4_protocollars_ex-CN4》.2017, *
S2-175380 "Secondary RAT related data volume reporting";Ericsson等;《3GPP tsg_sa\WG2_Arch》;20170815;全文 *

Also Published As

Publication number Publication date
CN110890967A (en) 2020-03-17

Similar Documents

Publication Publication Date Title
KR101519547B1 (en) Method and apparatus for updating location information of user equipment
CN112040496B (en) Data processing method and device
EP3621337A1 (en) Methods and apparatuses for indication of data traffic carried over unlicensed spectrum
KR102109522B1 (en) Method and apparatus for processing charging in a wireless communication system and method and apparatus for providing a policy service thereof
JP5189107B2 (en) Mechanism for uniquely identifying and unifying packet bearer context user sets in mobile communication networks
CN109792788A (en) Method and apparatus for data transmission involving tunneling in a wireless communication network
EP2846600A2 (en) M2M communication method and system thereof
US8867471B2 (en) Method, device, and system for reporting radio access network element information
CN114828204B (en) Communication method and device
US20200162855A1 (en) Multicast data transmission method, related device, and communications system
CN111277720B (en) Billing method, device and system
EP3484203A1 (en) Service data transmitting method and equipment
US11412564B2 (en) Method and apparatus for providing next generation network service in heterogeneous network environment
CN110890967B (en) Charging processing method, network element and network system
CN103428731A (en) Method and system for routing optimization, and service gateway
CN111586602A (en) Method and device for policy management
US20150237495A1 (en) Method and system for differentiating between subscribers
US20180227235A1 (en) Policy determining method and apparatus
JP2020025351A (en) Core network entity, policy function, and methods thereof
CN110582062B (en) Method and device for sending a message
WO2019136925A1 (en) Data transmission method and apparatus, and computer storage medium
CN107926066A (en) The transmission method and device of a kind of Business Stream
KR102244539B1 (en) Method and apparatus for acquiring location information of user equipment based on radio unit
CN102232311B (en) Method, device and system for realizing home base station service quality control
CN101848451B (en) Access processing method, core management network element and network system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant