WO2015003297A1 - Processing method and device for data service - Google Patents

Processing method and device for data service Download PDF

Info

Publication number
WO2015003297A1
WO2015003297A1 PCT/CN2013/078993 CN2013078993W WO2015003297A1 WO 2015003297 A1 WO2015003297 A1 WO 2015003297A1 CN 2013078993 W CN2013078993 W CN 2013078993W WO 2015003297 A1 WO2015003297 A1 WO 2015003297A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
downlink data
identifier
network node
base station
Prior art date
Application number
PCT/CN2013/078993
Other languages
French (fr)
Chinese (zh)
Inventor
席国宝
陈阳
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2013/078993 priority Critical patent/WO2015003297A1/en
Priority to CN201380001098.6A priority patent/CN103650547B/en
Publication of WO2015003297A1 publication Critical patent/WO2015003297A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/60Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on actual use of network resources
    • 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/1485Tariff-related aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/026Capturing of monitoring data using flow identification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/028Capturing of monitoring data by filtering

Definitions

  • the present invention relates to mobile communication technologies, and in particular, to a data service processing method and device.
  • GSM Global System for Mobi le Communications
  • UMTS Universal Mobi Le Telecommunications System
  • TD-SCDMA Time Division-Synchronous Code Division Multiple Access
  • LTE Long Term Evolution
  • 3GPP 3rd Generation Partnership Project
  • IP Internet Protocol
  • the IP packets sent by the user ie, the uplink IP packets
  • the IP packets sent by the user are used in a specific manner in the wireless access network and the core network, such as the General Packet Radio Service (GPRS) tunneling protocol (GPRS) protocol (GTP) user.
  • GPRS General Packet Radio Service
  • GTP-U The face (GTP-U) protocol, encapsulated as a payload, also encapsulates the IP packet into a GTP-U packet for transmission.
  • the data gateway of the mobile network may be a packet data network gateway (PGW) or a gateway GPRS support node (gateway GRPS support node), and the data gateway is decapsulated to the original IP of the user.
  • the message mode is sent to an external data network, such as the Internet (the Internet packet sent by the external data network to the user (ie, the downlink IP packet), first arrives at the data gateway of the mobile network, and the data gateway loads the IP packet of the external data network.
  • Encapsulation, and then the encapsulated IP packet arrives at the base station device after being transmitted by the core network, and the base station device sends the IP packet to the user equipment in the wireless air interface.
  • the data service interaction between the user and the external data network is realized.
  • related devices of the core network will generate CDRs to record
  • the accumulated value of the user's upstream and downstream IP packet sizes is passed as a charging record, and the user is charged for the mobile network data service fee.
  • the billing of data services is not fine enough.
  • an embodiment of the present invention provides a method and a device for processing a data service, so as to implement fine-grained charging for data services.
  • the embodiment of the present invention provides a data service processing method, including: receiving, by a network node, downlink data sent by a data gateway and an identifier of a service to which the downlink data belongs; and the network node forwarding the downlink data by using the base station device And the user equipment obtains, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, based on the identifier of the service.
  • the network node obtains, according to the identifier of the service, traffic information of the downlink data that is successfully forwarded by the service, including
  • the network node obtains, according to the forwarding result of the network node, the traffic information of the downlink data that is successfully forwarded by the network node corresponding to the service, according to the identifier of the service, where the service corresponds to the service
  • the traffic information of the downlink data that is successfully forwarded by the network node is used as the traffic information of the downlink data that is successfully forwarded by the service.
  • the network node obtains, according to the identifier of the service, traffic information of the downlink data that is successfully forwarded by the service, including The network node obtains the traffic information of the downlink data successfully forwarded by the service, according to the forwarding result of the network node and the result of the forwarding failure of the base station device, based on the identifier of the service.
  • the method further includes: the network node sending an identifier of the service to the base station device; And receiving, by the base station device, a result of the forwarding failure of the base station device, where the result of the forwarding failure of the base station device includes: the flow rate information of the downlink data that the base station device fails to forward and the identifier of the service; And obtaining, according to the forwarding result of the network node and the forwarding failure of the base station, the traffic information of the downlink data that is successfully forwarded by the service, according to the identifier of the service, includes:
  • the network node obtains, according to the forwarding result of the network node, the traffic information of the downlink data successfully forwarded by the network node corresponding to the service, according to the identifier of the service; the network node corresponds to the service according to the service.
  • the network node forwards the traffic information of the successfully downlink data and the traffic information of the downlink data that the base station device forwards, and obtains the traffic information of the downlink data that is successfully forwarded by the service based on the identifier of the service.
  • the network node obtains, according to the identifier of the service, the traffic information of the downlink data that is successfully forwarded by the service, including The network node obtains the traffic information of the downlink data that is successfully forwarded by the service, according to the identifier of the service, according to the result of the successful forwarding of the base station device.
  • the method further includes: the network node sending an identifier of the service to the base station device; Receiving, by the base station device, a result of successful forwarding of the base station device, the result of the successful forwarding of the base station device includes: the flow rate information of the downlink data that the base station device forwards successfully and the identifier of the service; And obtaining, according to the result of the forwarding success of the base station device, the traffic information of the downlink data that is successfully forwarded by the service, according to the identifier of the service, including: And the network node obtains the traffic information of the downlink data that is successfully forwarded according to the service, according to the traffic information of the downlink data that is successfully forwarded by the base station device.
  • the network node in combination with the third or fifth possible implementation of the first aspect, in combination with the third or fifth possible implementation of the first aspect,
  • the identifier of the service is encapsulated in a tunnel message and sent to the base station device, where the tunnel packet includes the downlink data.
  • an embodiment of the present invention provides a data service processing method, including: receiving, by a data gateway, downlink data;
  • the data gateway sends the downlink data and the identifier of the service to the downstream network node, so that the downstream network node forwards the downlink data to the user equipment, and obtains the identifier based on the identifier of the service according to the forwarding result.
  • the traffic information of the downlink data that is successfully forwarded corresponding to the service.
  • the data gateway sends the downlink data and the service identifier to the downstream network node, where: the data gateway encapsulates the downlink data and the identifier of the service in a tunnel packet, and sends the downlink data and The identifier of the service is to the downstream network node.
  • the embodiment of the present invention provides a data service processing method, including: receiving, by a base station device, downlink data sent by an upstream network node and an identifier of a service to which the downlink data belongs;
  • the base station device sends the forwarding result of the base station device to the upstream network node, so that the upstream network node obtains the forwarding success corresponding to the service based on the forwarding result of the base station device Flow information of downlink data;
  • the forwarding result of the base station device includes one of the identifier of the service and one of the following traffic information: the base station device forwards the traffic information of the successfully downlink data and the traffic information of the downlink data that the base station device fails to forward.
  • the embodiment of the present invention provides a network node device, including: a receiving unit, configured to receive downlink data sent by a data gateway and an identifier of a service to which the downlink data belongs; and a sending unit, configured to forward, by using, the base station device The downlink data received by the receiving unit is sent to the user equipment.
  • the traffic obtaining unit is configured to obtain, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, according to the identifier of the service received by the receiving unit.
  • the traffic acquiring unit is configured to obtain, according to the forwarding result of the network node, a service corresponding to the service according to the identifier of the service.
  • the network node locally forwards the traffic information of the downlink data that is successfully forwarded, and the traffic information of the downlink data that is successfully forwarded by the network node corresponding to the service is used as the traffic information of the downlink data that is successfully forwarded by the service.
  • the traffic acquiring unit is specifically configured to use, according to a local forwarding result of the network node, and a result of forwarding failure of the base station device,
  • the identifier of the service obtains the traffic information of the downlink data successfully forwarded by the service.
  • the sending unit is further configured to send the identifier of the service to the base station device;
  • the receiving unit is further configured to receive a result of the forwarding failure of the base station device sent by the base station device, where the base station device fails to forward The result includes that the base station device forwards the traffic information of the failed downlink data and the identifier of the service;
  • the traffic acquiring unit is specifically configured to: obtain, according to the local forwarding result of the network node, based on the identifier of the service And the traffic information of the downlink data that is successfully forwarded by the network node corresponding to the service; the traffic information of the downlink data successfully forwarded by the network node corresponding to the service, and the forwarding failure of the base station device received by the receiving unit Downstream data flow information, base And obtaining, by the identifier of the service, traffic information of the downlink data that is successfully forwarded by the service.
  • the traffic acquiring unit is specifically configured to obtain, according to a result of the forwarding success of the base station device, the service corresponding to the service The flow information of the downlink data that is successfully forwarded.
  • the traffic acquiring unit is specifically configured to obtain, according to a result of the forwarding success of the base station device, the service corresponding to the service The flow information of the downlink data that is successfully forwarded.
  • the sending unit is further configured to send the identifier of the service to the base station device, where the receiving unit is further configured to receive a result of successful forwarding of the base station device sent by the base station device, where the base station device successfully forwards
  • the result includes the traffic information of the downlink data that the base station device forwards successfully and the identifier of the service.
  • the traffic acquiring unit is specifically configured to: according to the traffic information of the downlink data that is successfully forwarded by the base station device received by the receiving unit, And obtaining, according to the identifier of the service, traffic information of the downlink data that is successfully forwarded by the service.
  • the identifier of the service sent by the sending unit is encapsulated in a tunnel message and sent to The tunnel message of the base station device includes the downlink data.
  • an embodiment of the present invention provides a data gateway, including: a receiving unit, configured to receive downlink data; a service identifier acquiring unit, configured to acquire an identifier of a service to which the downlink data is received by the receiving unit; And transmitting, by the receiving unit, the downlink data and the identifier of the service acquired by the service identifier acquiring unit to the downstream network node, so that the downstream network node forwards the downlink data to the user equipment, and according to forwarding As a result, based on the identifier of the service, the traffic information of the downlink data successfully forwarded by the service is obtained.
  • the sending unit is specifically configured to encapsulate the downlink data and the identifier of the service in a tunnel In the track message, the downlink data and the identifier of the service are sent to the downstream network node.
  • an embodiment of the present invention provides a base station device, including: a receiving unit, configured to receive downlink data sent by an upstream network node and an identifier of a service to which the downlink data belongs; and send, by the sending unit, the receiving unit to receive The downlink data is sent to the user equipment; the sending unit is further configured to send the forwarding result of the base station device to the upstream network node, so that the upstream network node is based on the forwarding result according to the base station device, based on the service
  • the identifier of the downlink data that is forwarded successfully corresponding to the service, where the forwarding result of the base station device includes the identifier of the service and one of the following traffic information: the base station device forwards the traffic of the successfully downlink data.
  • the information and the base station device forward the traffic information of the failed downlink data.
  • the seventh aspect of the present invention provides a data service processing system, including the network node according to any one of the above, and the data gateway of any of the foregoing.
  • the eighth aspect of the present invention provides a data service processing system, including the network node according to any one of the above, and the base station device of any of the foregoing.
  • the method and the device for processing the data service provided by the foregoing embodiment receive the identifier of the service to which the downlink data sent by the data gateway belongs, and obtain the data packet successfully forwarded in the downlink data corresponding to the service according to the forwarding result and the service-based identifier.
  • the traffic information is such that the network node can obtain the traffic forwarding information of each service, so that each service can be charged according to the forwarding situation of different nodes, that is, the fine charging of the data service is realized.
  • the network node may send the traffic information of the failed data and the identifier of the data to the network node, to Informing the network node that the traffic corresponding to the service fails to be forwarded.
  • the base station device may send the traffic information and the identifier of the data that is successfully forwarded to the network node, to notify the network node of the data that is successfully forwarded to the user equipment. Traffic information.
  • FIG. 1 is a flowchart of a method for processing a data service according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for processing a data service according to an embodiment of the present invention
  • FIG. 3 is a data service according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a data service traffic recording method according to another embodiment of the present invention
  • FIG. 5 is a schematic diagram of a data service traffic recording method according to another embodiment of the present invention
  • FIG. 7 is a schematic diagram of a service charging network element device according to another embodiment of the present invention
  • FIG. 8 is a schematic diagram of a downstream network node device according to another embodiment of the present invention
  • FIG. 9 is a schematic diagram of a downstream network node device according to another embodiment of the present invention
  • FIG. 10 is a schematic diagram of a data service processing system according to another embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for processing a data service according to an embodiment of the present invention.
  • the method shown in this embodiment is the processing flow of the downstream network node device of the data gateway, and the downstream network node device may be an SGSN, an SGW, or the like.
  • the processing procedure includes: Step 11: The network node receives the downlink data sent by the data gateway, and the ID of the service to which the downlink data belongs.
  • the network node is a downstream network node device of the data gateway.
  • the downstream network node device of the data gateway receives the first GTP-U packet sent by the data gateway.
  • the payload of the first GTP-U packet is an IP packet
  • the header of the first GTP-U packet contains an identifier of a service of the IP packet.
  • the network node parses the received first GTP-U packet, and obtains the identifier of the service of the IP packet and the IP packet. If the SGW parses the first GTP-U packet, the identifier of the service of the payload IP packet of the first GTP-U packet is obtained.
  • the identification of the service of the data gateway, the first GTP-U packet, and the IP packet is shown in the description in the embodiment shown in FIG.
  • Step 12 The network node forwards the downlink data received in step 11 to the user equipment by using the base station device.
  • the network node may encapsulate the parsed IP packet into a second GTP-U packet, and then send the second GTP-U packet to the downstream network node.
  • the second GTP-U package can be a traditional GTP-U package
  • the SGW forwards the IP packet to the eNodeB, and the IP packet needs to be encapsulated into a GTP-U packet, and the GTP-U packet may not include the identifier of the service of the IP packet.
  • the network node can re-encapsulate the parsed IP packet into a GTP-U packet, and then send the GTP-U packet to the downstream network node.
  • the SGSN sends a GTP-U packet to the RNC.
  • the network node can encapsulate the parsed IP packet into a BSSGP packet, and then send the BSSGP packet to the downstream network node.
  • the SGSN encapsulates the parsed IP packet into a BSSGP packet and sends the BSSGP packet to the BSC/PCU.
  • Step 13 The network node obtains, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, based on the identifier of the service. For example, the network node generates the identifier of the service of the IP packet into the bill only when the IP packet is successfully forwarded. That is, when an IP packet is discarded or the IP packet is discarded, the forwarding traffic of the service to which the IP packet belongs in the CDR does not include the traffic of the IP packet, and only when the IP is successfully forwarded, the IP packet The forwarding traffic of the belonging service will contain the traffic of the IP packet.
  • the generation of the bill can be based on time or based on forwarding traffic. For example, when the downstream network node device of the data gateway forwards for more than one hour, the downstream network node device generates a bill, or is a downstream network node device of the data gateway. When the forwarding traffic exceeds 100 Mbytes, the downstream network node device generates a bill. After the identifier of the service of the IP packet is generated in the CDR, the traffic information of each service is added to the CDR according to the traditional CDR, so that the forwarding traffic of each service can be accurately reduced and the finer billing can be realized. , can also make billing more accurate.
  • the network node obtains the traffic information of the downlink data that is successfully forwarded according to the service, and may include: the network node locally forwarding the result according to the network node. And obtaining, according to the identifier of the service, traffic information of the downlink data that is successfully forwarded by the network node corresponding to the service, where the traffic information of the downlink data that is successfully forwarded by the network node corresponding to the service is used as the The traffic information of the downlink data that is successfully forwarded by the service.
  • the network node obtains the traffic information of the downlink data that is successfully forwarded according to the service, and may include: the network node locally forwarding the result according to the network node. As a result of the failure of the forwarding of the base station device, based on the identifier of the service, the traffic information of the downlink data successfully forwarded by the service is obtained.
  • processing method of the data service may further include: the network node sending the identifier of the service to the base station device, where the network node carries the downlink data in the same packet when forwarding the line data.
  • the identity of the business to which it belongs may further include: the network node sending the identifier of the service to the base station device, where the network node carries the downlink data in the same packet when forwarding the line data. The identity of the business to which it belongs;
  • the network node receives, by the network node, a result of the forwarding failure of the base station device sent by the base station device, where the result of the forwarding failure of the base station device includes: the flow rate information of the downlink data that the base station device fails to forward and the identifier of the service;
  • the network node obtains, according to the forwarding result of the network node and the forwarding failure of the base station device, the traffic information of the downlink data that is successfully forwarded by the service, according to the identifier of the service, Includes:
  • the network node obtains, according to the forwarding result of the network node, the traffic information of the downlink data successfully forwarded by the network node corresponding to the service, according to the identifier of the service; the network node corresponds to the service according to the service
  • the network node forwards the traffic information of the successfully downlink data and the traffic information of the downlink data that the base station device forwards, and obtains the traffic information of the downlink data that is successfully forwarded by the service based on the identifier of the service. If the base station device does not successfully forward the downlink data, the radio access bearer (RAB) allocates a response message, and the RAB allocation response message carries the traffic information of the unsuccessfully forwarded IP packet and the identifier of the service to which it belongs.
  • RAB radio access bearer
  • the RAB Assignment Response message belongs to a message in the RAB allocation process.
  • the RAB allocation process is used to establish or release a wireless data transmission connection, including:
  • the SGSN sends an RAB allocation request to the RNC, and the RNC returns a RAB allocation response message to the SGSN after establishing or releasing the wireless data transmission connection.
  • the RNC carries the downlink traffic information that is not successfully sent in the RAB allocation response message sent to the SGSN, so as to implement a more accurate traffic calculation. fee.
  • the extended RAB allocation response message is shown in the following table:
  • the traffic of the downlink data service type 2 that is not successfully transmitted is such that the network node can deduct from the identifier of the recorded service that the base station device has not successfully forwarded
  • the traffic of the data stream can further improve the accuracy of the downlink data forwarding traffic and improve the accuracy of the charging.
  • the network node obtains, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, based on the identifier of the service, and may include: the network node successfully forwarding according to the base station device As a result, based on the identifier of the service, the traffic information of the downlink data successfully forwarded by the service is obtained.
  • the method for processing the data service may further include: the network node sending the identifier of the service to the base station device; and the network node receiving the base station device sent by the base station device
  • the result of the successful forwarding of the base station device includes: the flow rate information of the downlink data successfully transmitted by the base station device and the identifier of the service; and the network node according to the successful forwarding result of the base station device, And obtaining, according to the identifier of the service, the traffic information of the downlink data that is successfully forwarded by the service, including:
  • the network node obtains the traffic information of the downlink data that is successfully forwarded according to the service, according to the traffic information of the downlink data that is successfully forwarded by the base station device.
  • the method for processing the data service provided by the embodiment receives the identifier of the service to which the downlink data is sent by the data gateway, and obtains the traffic information of the downlink data successfully forwarded by the service according to the forwarding result of the downlink data and the identifier of the received service. Can meet more refined billing needs.
  • the downstream network node of the data gateway can obtain the traffic forwarding information of each service, so that more accurate charging can be performed for each service according to the forwarding situation of different network nodes.
  • the identifier of the service of the IP packet is generated into the CDR, so that the traffic forwarding information of each service can be recorded in the generated CDR, and the forwarding traffic is implemented. Accurate deduction to achieve accurate billing purposes.
  • FIG. 2 is a flowchart of a method for processing a data service according to an embodiment of the present invention.
  • the method shown in this embodiment is the processing flow of the data gateway, and the data gateway may be a GGSN, a PGW, etc., and the processing flow includes:
  • Step 21 The data gateway receives downlink data.
  • the PGW receives a message encapsulated with an IP packet from the Internet (Internet).
  • the packet of the IP packet may be the downlink data sent by the external server.
  • Step 22: The data gateway acquires an identifier of a service to which the downlink data belongs.
  • the data gateway obtains the identifier of the service to which the downlink data belongs by using the deep packet inspection (DPI) technology, and may also obtain the identifier of the service to which the downlink data belongs from other network elements having the DPI function.
  • DPI deep packet inspection
  • Step 23 The data gateway sends the downlink data and the identifier of the service to the downstream network node, so that the downstream network node forwards the downlink data to the user equipment, and obtains, according to the forwarding result, the identifier based on the service.
  • the traffic information of the downlink data that is successfully forwarded by the service.
  • the data gateway may send the downlink data and the identifier of the service to the downstream network node by encapsulating the downlink data and the identifier of the service in a tunnel message.
  • the data gateway may encapsulate the IP packet received in the foregoing step 21 into a first GTP-U packet, where the header of the first GTP-U packet contains the identifier of the service of the IP packet.
  • the payload in the first GTP-U packet is an IP packet
  • the first GTP-U packet may be extended on the basis of the traditional GTP-U packet, and the identifier of the service carrying the IP packet is added in the extension field.
  • the identifier of the service of the IP packet contains at least the service type and traffic information of the IP packet.
  • the data gateway sends the encapsulated first GTP-U packet to the downstream network node device.
  • the downstream network node device may be an SGSN, an SGW, or the like.
  • the data gateway sends the downlink data from the external network and the identifier of the service to which the downlink data belongs to the downstream network node device, so that the downstream network node device can obtain the service to which the downlink data belongs.
  • the identification of the downstream network node device of the data gateway can also obtain the traffic forwarding information of the specific service, thereby obtaining the traffic information of the downlink data based on the service, enabling more refined charging and realizing each service forwarding. Accurate deduction of traffic for more accurate billing purposes.
  • the processing procedure includes: Step 31: The base station device receives the upstream network node.
  • the base station device receives the first GTP-U packet sent by the downstream network node device of the data gateway, where the payload of the first GTP-U packet is an IP packet, and the header of the first GTP-U packet includes the IP packet.
  • the identity of the business The identifiers of the downstream network node device, the first GTP-U packet, and the service of the data gateway are shown in the description in the embodiment shown in FIG.
  • the identifier of the service of the IP packet is used to identify the service corresponding to the IP packet.
  • Step 32 The base station device forwards the downlink data to the user equipment.
  • the base station device receives the first GTP-U packet, parses the first GTP-U packet, obtains the identifier of the IP packet and the service of the IP packet, and then sends the IP packet to the user equipment through the air interface protocol.
  • the RNC parses the first GTP-U packet, obtains the identifier of the service of the payload of the first GTP-U packet, and sends the IP packet to the user equipment by using an air interface protocol.
  • Step 33 The base station device sends a forwarding result of the base station device to the upstream network node, so that the upstream network node obtains the service corresponding according to the forwarding result of the base station device according to the identifier of the service.
  • the forwarding information of the downlink data is successfully forwarded;
  • the forwarding result of the base station device includes one of the identifier of the service and one of the following traffic information: the traffic information of the downlink data that the base station device forwards successfully and the forwarding failure of the base station device Traffic information for downstream data.
  • the base station device when the forwarding is successful, sends an RAB allocation response message to the upstream node, where the RAB allocation response message carries the traffic information of the successfully forwarded downlink data and the identifier of the service to which the successfully forwarded downlink data belongs, thereby
  • the upstream node forwards the traffic information of the succeeding downlink data at the base station device, so that the upstream node acquires the traffic information of the downlink data successfully forwarded by the service.
  • the base station device if the forwarding fails, sends an RAB allocation response message to the downstream network node device of the data gateway, where the RAB allocation response message carries the identifier of the service of the unsuccessfully forwarded IP packet.
  • the RNC when the RAB (Radio Link) between the SGSN and the RNC is released, the RNC sends an RAB Assignment Response message to the SGSN, where the RAB Assignment Response message carries the traffic information of the unsuccessfully forwarded IP packet and the identifier of the service to which it belongs, for example,
  • the extension field in the RAB allocation response message adds the traffic information of the IP packet that is not successfully forwarded and the identifier of the service to which the service belongs. If the RNC successfully forwards all the IP packets, the value of the extended field is 0. Among them, RAB distribution The message should be as detailed in the description of the embodiment shown in FIG.
  • the RAB allocation response message carries the traffic information of all the IP packets that are not successfully forwarded by the RNC and the identifier of the service to which it belongs, generally by IP packet.
  • Service type to record traffic that was not successfully forwarded such as:
  • the traffic of the IP packet will also be included in the traffic of the corresponding service. If the service type of the IP packet is RG1, then the traffic of the IP packet is included in the X megabyte.
  • the base station device receives the downlink data and the identifier of the service to which the downlink data belongs, and the unsuccessfully forwarded downlink data carried in the RAB allocation response message sent to the upstream network node device. The traffic information of the failed data packet enables the downstream network node device of the data gateway to accurately reduce the traffic of the service that has not been successfully forwarded, thereby realizing accurate charging of the service.
  • FIG. 4 is a schematic diagram of a data service traffic recording method according to another embodiment of the present invention.
  • the embodiment is similar to the foregoing embodiment, except that the application scenario of the embodiment is an LTE network, and a service data list (list@fServiceData) field is added to the SGW bill to fill the traffic information of each service.
  • list@fServiceData service data list
  • the SGW and the PGW are respectively network elements for forwarding user IP packets in the core network.
  • the user IP packet is encapsulated by the GTP-U protocol, that is, the IP packet is encapsulated into a GTP-U packet, and the header of the GTP-U packet needs to be extended, such as a Rate Group (RG) field, to be used.
  • the identity of the delivery service that is, the identity of the service that adds the GTP-U packet payload IP packet in the RG field.
  • the process of transmitting IP packets includes:
  • Step 41 After receiving the downlink IP packet of the user, the PGW obtains the identifier of the service of the downlink IP packet, and encapsulates the downlink IP packet into a GTP-U packet. For example, after receiving the downlink IP packet, the PGW determines the characteristics of the IP packet, such as the protocol/port number (such as TCP port 80 for HTTP application), the service characteristics of the IP packet content (such as the HTTP domain name), etc.
  • the service identifier of the service type can also obtain the service identifier of the packet through the deep packet parsing technology.
  • the identifier of the service of an IP packet can be used to identify the service type, traffic, etc. of the IP packet.
  • the information in this embodiment of the present invention is not limited thereto.
  • an RG field is added, and the RG field is filled with the identity of the service.
  • the PGW forwards the GTP-U packet to the downstream network node device SGW according to a conventional procedure.
  • the PGW generates a bill based on the forwarding result. For example, as long as the traffic forwarded by the PGW reaches a certain amount, for example, 4 Mbytes, the PGW can generate an intermediate CDR to record the forwarded traffic, avoiding the user's long-term use of the service without generating bills, and avoiding huge traffic. The risk of CDRs.
  • the CDRs generated by the PGW include not only the total uplink and downlink traffic of the user, but also the uplink and downlink traffic of each service of the user. For example, the following order is generated:
  • the upstream traffic is 4 Mbytes, and the downstream traffic is 6 Mbytes.
  • the upstream traffic generated by the RG2 service is 1 Mbyte, and the downstream traffic is 3 Mbytes.
  • the upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 5 Mbytes. Section.
  • Step 42 After receiving the GTP-U packet (that is, the first GTP-U packet), the SGW parses the identifier of the service of the IP packet and the GTP-U header. If the SGW forwards the IP packet to the eNodeB, it encapsulates the IP packet as a GTP-U packet and sends it to the eNodeB. The SGW may not send the identity of the service to the eNodeB. When the SGW sends an IP packet to the eNB, the identifier of the service of the GTP-U packet header may be removed, that is, the SGW may encapsulate the IP packet to be sent to the eNodeB by using the normal GTP-U packet of the 3GPP standard.
  • the SGW can also send the identifier of the service to the eNodeB, so that the eNodeB reports the result of forwarding it to the user equipment.
  • An exemplary header of the GTP-U packet that can be sent to the eNodeB includes the identity of the service to which the IP packet of the payload belongs.
  • the SGW can generate an intermediate CDR to record the forwarded traffic, so as to avoid the user from using the service for a long time without generating a CDR.
  • a certain amount for example, 4 Mbytes
  • the SGW generates the total uplink and downlink traffic generated by the user and the uplink and downlink flows generated by the user services, regardless of whether the GGW-U packet is successfully sent to the eNodeB.
  • the amount of traffic information is recorded in the extended listOfServiceData field.
  • the uplink and downlink traffic generated by each user of the user is obtained according to the GTP-U packet forwarding result and the service identifier of the GTP-U packet header.
  • the SGW records the identity of the service of the IP packet of the user in the system, and finally records in the listOfServiceData field of the SGW CDR bill extension that the SGW successfully forwards the service corresponding to the user.
  • Traffic such as:
  • the upstream traffic generated by the user RG1 service is 4 Mbytes, the downstream traffic is 6 Mbytes, the upstream traffic generated by the RG2 service is 1 Mbyte, and the downstream traffic is 3 Mbytes.
  • the upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 5 Mbytes.
  • the uplink and downlink traffic of the user and the uplink and downlink traffic of each service are consistent with the uplink and downlink traffic of the user in the PGW bill and the uplink and downlink traffic of each service.
  • the SGW fails to discard the GTP-U packet or forwards the GTP-U packet
  • the CDR generated by the SGW still contains the traffic information of each service actually forwarded. For example, the resulting bill is as follows:
  • the upstream traffic generated by the user RG1 service is 4M bytes, the downstream traffic is 6M bytes, and the RG2 service has been generated.
  • the upstream traffic is 1 Mbyte, and the downstream traffic is 2 Mbytes.
  • the upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 4 Mbytes.
  • FIG. 5 is a schematic diagram of a data service traffic recording method according to another embodiment of the present invention.
  • Ben The embodiment is similar to the foregoing embodiment, except that the application scenario of the embodiment is a UMTS network, and a service data list (l istOfServiceData) field is added to the CDR of the SGSN, which is used to fill traffic information of each service, and is extended.
  • l istOfServiceData service data list
  • the Radio Access Bearer is a RAB assignment response message.
  • the SGSN and the GGSN are respectively used by the core network to forward user IP packets.
  • the user IP packet is encapsulated by the GTP-U protocol, that is, the IP packet is encapsulated into a GTP-U packet, and the header of the GTP-U packet needs to be extended, for example, the RG field is added to transmit the service identifier.
  • the traffic statistics process for data service charging includes:
  • Step 51 The GGSN receives the downlink IP packet, and after analyzing the downlink IP packet by using the DPI technology, obtains the identifier of the service of the downlink IP packet. After that, the GGSN encapsulates the IP packet into a GTP-U packet, and the GTP-U packet includes the identifier of the service, and then the GTP-U packet can be forwarded to the first downstream network node device SGSN according to a conventional process. For details of the service analysis, see the description of step 41 above.
  • the GGSN when the GGSN encapsulates the downlink IP packet into a GTP-U packet, the RG field is added to the GTP-U packet header, and the RG field is filled with the identifier of the obtained downlink IP packet service.
  • the GGSN After the GGSN completes the forwarding of the GTP-U packet, as long as the GGSN forwards a certain amount of traffic, for example, 4 Mbytes, the GGSN can generate an intermediate CDR to record the forwarded traffic, so as to prevent the user from using the service for a long time without generating In the case of bills, the risk of avoiding huge flow bills.
  • the GGSN generates a bill, such as:
  • the upstream traffic is 4 Mbytes, the downstream traffic is 6 Mbytes, the upstream traffic generated by the RG2 service is 1 Mbyte, and the downstream traffic is 3 Mbytes.
  • the upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 5 Mbytes. Section.
  • Step 52 After receiving the GTP-U packet, the SGSN parses the identifier of the service of the IP packet in the payload from the header of the GTP-U packet, and encapsulates the IP packet into a GTP-U packet, and then forwards the packet to the RNC.
  • the IP packet is also transmitted between the SGSN and the RNC through GTP-U, and the head of the GTP-U packet is still The identity of the service that contains the IP packet.
  • the SGSN When the SGSN forwards a certain amount of traffic, for example, 4 Mbytes, the SGSN can generate an intermediate CDR to record the forwarded traffic. This prevents users from using the service for a long time without generating bills, and avoids huge traffic bills. risks of.
  • the SGSN If the IP packet is successfully forwarded to the RNC, the SGSN records the service identifier of the IP packet of the user in the system, and finally records the traffic successfully forwarded by the SGSN to each service of the SGSN in the listOfServiceData field of the CDR CDR bill extension. , Such as:
  • the upstream traffic generated by the user RG1 service is 4M bytes, and the downstream traffic is 6M bytes.
  • the RG2 service has been generated.
  • the upstream traffic is 1 Mbyte, and the downstream traffic is 3 Mbytes.
  • the upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 5 Mbytes.
  • the uplink and downlink traffic of the user and the uplink and downlink traffic of each service are consistent with the uplink and downlink traffic of the user in the GGSN CDR and the uplink and downlink traffic of each service. After that, go to step 53.
  • the CDRs generated by the SGSN still contain the traffic information of each service actually forwarded. For example, the resulting bill is as follows:
  • the upstream traffic is 4 Mbytes
  • the downstream traffic is 6 Mbytes
  • the upstream traffic generated by the RG2 service is 1 Mbyte
  • the downstream traffic is 2 Mbytes.
  • the upstream traffic generated by the RG3 service is 3 Mbytes
  • the downstream traffic is 4 Mbytes. Section.
  • the traffic generated by the SGSN can be obtained from the CDRs generated by the SGSN.
  • the downstream traffic of the RG2 service and the downstream traffic of the RG3 service are respectively lost by 1 Mbyte.
  • the billing of each service it is refined Billing.
  • the traffic can be accurately reduced, the charging error is avoided, and the accuracy of the charging is improved.
  • Step 53 After receiving the GTP-U packet, the RNC parses the GTP-U header to obtain the identifier of the service of the IP packet.
  • the RNC sends an RAB Assignment Response message to the SGSN.
  • the RAB allocation response message carries the traffic information of the unsuccessfully forwarded IP packet and the identifier of the service to be forwarded, for example, an extension field in the RAB allocation response message, and adds the traffic information of the unsuccessfully forwarded IP packet and the service to which the service belongs in the extended field.
  • the RNC system records the service identifier and traffic information of the IP packet of the user according to the identifier of the parsed service.
  • the value of the extended field in the RAB allocation response message is 0.
  • the RNC fails to forward the IP packet in the GTP-U packet, if the RNC fails to drop or forward, the RNC adds the traffic of the IP packet in the GTP-U packet in the extension field of the RAB allocation response message. Information and the identity of the business to which it belongs.
  • the RAB allocation response message adds the traffic information of the IP packets that are not successfully forwarded by the RNC before the RAB release between the SGSN and the RNC, and the identifier of the service to which the service belongs.
  • the traffic that is not successfully forwarded is recorded according to the service type of the IP packet, for example, :
  • the RNC informs the SGSN of the traffic information of the IP packet that is not successfully sent to the terminal and the identity advertisement RAB assignment response message of the service to be used for correct deduction of the forwarding traffic of the SGSN side.
  • the SGSN After receiving the RAB allocation response message returned by the RNC, the SGSN adds the traffic information of the unsuccessfully forwarded IP packet and the identity of the service to the generated CDR, and the SGSN deducts the corresponding traffic and service traffic to generate an end CDR.
  • FIG. 6 is a schematic diagram of a data service traffic recording method according to another embodiment of the present invention. This embodiment is similar to the foregoing embodiment, except that the application scenario of the embodiment is a GSM network, and a service data list (l istOfServiceData) field is added to the CDR of the SGSN, which is used to fill in Charge traffic information for each business.
  • the application scenario of the embodiment is a GSM network
  • a service data list (l istOfServiceData) field is added to the CDR of the SGSN, which is used to fill in Charge traffic information for each business.
  • the SGSN and the GGSN are the network elements used by the core network to forward user IP packets.
  • the user IP packet is encapsulated by the GTP-U protocol, that is, the IP packet is encapsulated into a GTP-U packet, and the header of the GTP-U packet needs to be extended, for example, an RG field is added to transmit the service identifier.
  • the following is an example of the process of transmitting the IP packet.
  • the process of collecting the traffic of the data packet includes: Step 61: After receiving the downlink IP packet of the user, the GGSN obtains the identifier of the service of the downlink IP packet by using the DPI.
  • the downlink IP packet is encapsulated into a GTP-U packet.
  • the GGSN forwards the GTP-U packet to the downstream network node device SGSN according to a conventional procedure.
  • the identifier of the service of the IP packet contains at least information such as the service type and traffic of the IP packet.
  • an RG field is added, and the RG field is filled with the identity of the service.
  • the GGSN generates a bill based on the forwarding result. For example, as long as the GGSN forwards a certain amount of traffic, for example, 4 Mbytes, the GGSN can generate an intermediate CDR to record the forwarded traffic. This prevents users from using the service for a long time without generating bills, and avoids huge traffic. The risk of CDRs.
  • the CDRs generated by the GGSN contain not only the total uplink and downlink traffic of the user but also the uplink and downlink traffic of each service. For example, the following order is generated:
  • the upstream traffic is 4 Mbytes, the downstream traffic is 6 Mbytes, the upstream traffic generated by the RG2 service is 1 Mbyte, and the downstream traffic is 3 Mbytes.
  • the upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 5 Mbytes. Section.
  • Step 62 After receiving the GTP-U packet, the SGSN parses the IP packet and the identifier of the service of the IP packet, and because the SGSN and the BSC/PCU encapsulate the user IP packet by using the BSSGP manner, the SGSN will The parsed IP packet is encapsulated into a BSSGP packet and forwarded to the base station device.
  • the SGSN does not need to send the identifier of the service to the BSC/PCU, that is, the identifier of the service that does not carry the IP packet in the BSSGP packet, because the BSC/PCU does not generate the CDR and does not notify the core network of the traffic that is not successfully sent. .
  • the SGSN may also send an identifier of the service to the BSC/PCU, so that the BSC/PCU reports the forwarding result.
  • the SGSN can generate an intermediate CDR to record the forwarded traffic. This prevents users from using the service for a long time without generating bills, and avoids huge traffic bills. risks of.
  • the CDRs generated by the SGSN include the total uplink and downlink traffic generated by the user and the uplink and downlink traffic generated by the services of the user.
  • the traffic information is recorded in the extended listOfServiceData field.
  • the uplink and downlink traffic generated by each user of the user is obtained according to the GTP-U packet forwarding result and the service identifier of the GTP-U packet header.
  • the SGSN If the BSSGP packet is successfully forwarded, the SGSN records the service identifier of the IP packet in the BSSGP packet in the system, and finally records the traffic successfully forwarded by the SGSN to the service of the user in the istOfServiceData field of the CDR CDR CDR extension, such as :
  • the upstream traffic generated by the user RG1 service is 4 Mbytes, the downstream traffic is 6 Mbytes, the upstream traffic generated by the RG2 service is 1 Mbyte, and the downstream traffic is 3 Mbytes.
  • the upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 5 Mbytes.
  • the uplink and downlink traffic of the user and the uplink and downlink traffic of each service are consistent with the uplink and downlink traffic of the user in the GGSN CDR and the uplink and downlink traffic of each service.
  • the CDRs generated by the SGSN still contain traffic information of each service. For example, the resulting bill is as follows:
  • the upstream traffic is 4 Mbytes, the downstream traffic is 6 Mbytes, the upstream traffic generated by the RG2 service is 1 Mbyte, and the downstream traffic is 2 Mbytes.
  • the upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 4 Mbytes. Section.
  • the traffic generated by the SGSN can be obtained from the CDRs generated by the SGSN. For example, compared with the CDRs generated by the GGSN, the downstream traffic of the RG2 service and the downstream traffic of the RG3 service are respectively lost by 1 Mbyte, thereby accurately The forwarding traffic is reduced, and the charging error is avoided.
  • the SGSN finally extends the listOfServiceData field in the SGSN SCDR bill according to the identifier of the solution service recorded in the RG field of the GTP-U header, and records the traffic of the SGSN to the user and the corresponding successfully forwarded traffic. Service-based billing meets the need for more granular billing. At the same time, the correct deduction of the service billing traffic in the case of core network element packet loss is achieved, and the accuracy of billing is improved.
  • FIG. 7 is a schematic diagram of a network node device according to another embodiment of the present invention.
  • the network node device provided in this embodiment is used to implement the method shown in FIG. 1, and may be an SGSN, an SGW, or the like, and includes: a receiving unit 71, a sending unit 72, and a traffic acquiring unit 73.
  • the receiving unit 71 is configured to receive downlink data sent by the data gateway and an identifier of the service to which the downlink data belongs;
  • the sending unit 72 is configured to forward the downlink data received by the receiving unit 71 to the user equipment by using the base station device;
  • the traffic obtaining unit 73 is configured to obtain, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, based on the identifier of the service received by the receiving unit 71.
  • the forwarding result may be a local forwarding result of the network node, or may be a forwarding result of the base station device, or a forwarding result local to the network node and a forwarding result of the base station device.
  • the traffic obtaining unit 73 may be configured to obtain, according to the forwarding result of the network node, the traffic information of the downlink data successfully forwarded by the network node corresponding to the service, according to the identifier of the service, where The number of downlinks successfully forwarded by the network node corresponding to the service The traffic information is used as the traffic information of the downlink data successfully forwarded by the service.
  • the traffic obtaining unit 73 may be specifically configured to obtain downlink data successfully forwarded by the service according to the forwarding result of the network node and the result of the forwarding failure of the base station device, based on the identifier of the service. Traffic information.
  • the sending unit 72 is further configured to send an identifier of the service to the base station device
  • the receiving unit 71 is further configured to receive a result of the forwarding failure of the base station device sent by the base station device, where the base station
  • the result of the forwarding failure of the device includes the traffic information of the downlink data that the base station device forwards failed and the identifier of the service
  • the traffic obtaining unit 73 is configured to obtain, according to the forwarding result of the network node, the traffic information of the downlink data successfully forwarded by the network node corresponding to the service, according to the identifier of the service; Corresponding the traffic information of the downlink data that is successfully forwarded by the network node, and the traffic information of the downlink data that the base station device fails to forward, which is received by the receiving unit, and obtains the forwarding success corresponding to the service based on the identifier of the service. Traffic information for downstream data.
  • the traffic obtaining unit 73 may include: a first traffic acquiring sub-unit, configured to obtain, according to the forwarding result of the network node, a service corresponding to the service according to the identifier of the service Transmitting, by the network node, traffic information of successful downlink data locally;
  • a second traffic acquisition sub-unit configured to: according to the traffic information of the downlink data that is successfully forwarded by the network node corresponding to the service that is obtained by the first traffic acquisition sub-unit, and the forwarding failure of the base station device that is received by the receiving unit
  • the traffic information of the downlink data is obtained, according to the identifier of the service, the traffic information of the downlink data that is successfully forwarded by the service is obtained.
  • the traffic obtaining unit 73 may be configured to obtain, according to the result of the forwarding success of the base station device, the traffic information of the downlink data that is successfully forwarded by the service, according to the identifier of the service.
  • the sending unit 72 is further configured to send an identifier of the service to the base station device;
  • the receiving unit 71 is further configured to receive the rotation of the base station device sent by the base station device As a result of the successful transmission, the result of the successful forwarding of the base station device includes the traffic information of the downlink data that the base station device forwards successfully and the identifier of the service;
  • the traffic obtaining unit 73 may be configured to obtain, according to the identifier of the service, the traffic of the downlink data that is successfully forwarded according to the service, according to the traffic information of the downlink data that is successfully forwarded by the base station device. information.
  • the identifier of the service sent by the sending unit 72 may be encapsulated in a tunnel message and sent to the base station device, where the tunnel message includes the downlink data.
  • the downstream network node device provided by the embodiment receives the downlink data sent by the data gateway and the identifier of the service to which the downlink data belongs, and obtains the downlink data corresponding to the service according to the forwarding result of the downlink data and the identifier of the received service.
  • the traffic information of successful data packets can implement service-based charging, enabling more refined charging.
  • the data gateway and its downstream network nodes can obtain the traffic forwarding information of each service, so that the service-based CDRs generated by each node can be compared, the service-based traffic information can be reduced, and more accurate charging can be obtained based on each service. result. For example, if the downstream network node device of the data gateway successfully forwards the IP packet, the identifier of the service of the IP packet is generated into the CDR, so that the traffic forwarding information of each service can be recorded in the generated CDR, and the forwarding traffic is realized. Accurate deduction to achieve accurate billing purposes.
  • FIG. 8 is a schematic diagram of a data gateway according to another embodiment of the present invention.
  • the data gateway provided in this embodiment may be a PGW, a GGSN, or the like, and is used to implement the method shown in FIG. 2, and includes: a receiving unit 81, a service identifier acquiring unit 82, and a sending unit 83.
  • the receiving unit 81 is configured to receive downlink data
  • the service identifier acquiring unit 82 is configured to acquire an identifier of the service to which the downlink data is received by the receiving unit.
  • the sending unit 83 is configured to send the downlink data received by the receiving unit 81 and the identifier of the service to which the downlink data belongs to the downstream network node, so that the downstream network node forwards the downlink data to the user equipment, and according to the forwarding As a result, based on the identifier of the service, the traffic information of the downlink data that is successfully forwarded by the service is obtained.
  • the sending unit 83 may be specifically configured to use the data packet and the downlink data
  • the identifier of the service is encapsulated in a tunnel message, and the downlink data and the identifier of the service are sent to the downstream network node.
  • the data gateway provided in this embodiment sends the downlink data and the identifier of the service to which the downlink data belongs to the downstream network node device by using the sending unit, so that the downstream network node device can obtain the identifier of the service to which the downlink data belongs, so that the downstream of the data gateway
  • the network node device can also obtain the traffic forwarding information of the specific service, and can implement the fine-grained charging based on the service. In addition, by comparing with the forwarded traffic information recorded on the data gateway, the forwarding traffic can be reduced and accurate. Billing is more accurate.
  • FIG. 9 is a schematic diagram of a base station device according to another embodiment of the present invention.
  • the base station device provided in this embodiment may be a BSC, an eNodeB, a PCU, an RNC, etc., for implementing the method shown in FIG. 3, and includes: a receiving unit 91 and a sending unit 92.
  • the receiving unit 91 is configured to receive downlink data sent by the upstream network node and an identifier of the service to which the downlink data belongs, where the upstream network node is a downstream network node of the data gateway.
  • the sending unit 92 is configured to forward the downlink data received by the receiving unit 91 to the user equipment, and the sending unit 92 is further configured to send the forwarding result of the base station device to the upstream network node, so that the upstream network And the node obtains, according to the forwarding result of the base station device, traffic information of the downlink data that is successfully forwarded according to the service, where the forwarding result of the base station device includes the identifier of the service and the following traffic information.
  • the base station device forwards the traffic information of the successfully downlink data and the traffic information of the downlink data that the base station device forwards the failure.
  • the base station device receives the downlink data and the identifier of the service to which the downlink data belongs, and sends the forwarding result to the upstream network node by using the sending unit, so that the upstream network node device of the base station device can learn the success of each service.
  • the traffic information of the data forwarded to the user equipment thereby enabling fine-grained charging.
  • the traffic information of the successfully forwarded data corresponding to each service can be correctly verified in the CDRs generated by the upstream network node, so that accurate charging of the service can be realized.
  • FIG. 10 is a schematic diagram of a data processing system according to another embodiment of the present invention.
  • the system shown in this embodiment may be used to implement the method shown in FIG. 4 to FIG. 6.
  • the system may be Including data gateway 101, network node device 102;
  • the system can include network node device 102 and base station device 103;
  • the system can include data gateway 101, network node device 102, and base station device 103.
  • the data gateway 101 can be the device shown in FIG. 8, and the network node device 102 is any one of the embodiments shown in FIG. 7.
  • the base station device 103 can be the device given in the embodiment shown in FIG.
  • the packet sent by the data gateway 101 to the network node device 102 such as the identifier of the service carrying the IP packet in the GTP-U packet
  • the packet sent by the network node device 102 to the base station device 103 such as the GTP-U packet.
  • the base station device 103 when the packet sent by the network node device 102 to the base station device 103 carries the identifier of the service of the IP packet, the base station device 103 also returns the identifier of the service of the IP packet that is not successfully forwarded to the network node device 102, such as The identifier of the service of the unsuccessfully forwarded IP packet is sent through the RAB allocation response message.
  • the network node device 102 records the actual forwarding traffic of each service according to the identity of the service of the unsuccessfully forwarded IP packet sent by the base station device 103.
  • the embodiment of the present invention further provides a computer program product comprising a computer readable medium, the readable medium comprising a first set of program code for performing the steps of the method of Figure 1 above:
  • the network node receives the downlink data sent by the data gateway and the identifier of the service to which the downlink data belongs;
  • the network node obtains, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, based on the identifier of the service.
  • the network node obtains, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, based on the identifier of the service, and includes:
  • the network node obtains, according to the forwarding result of the network node, the traffic information of the downlink data that is successfully forwarded by the network node corresponding to the service, according to the identifier of the service, where the service corresponds to the network
  • the node directly forwards the traffic information of the downlink data successfully as the location
  • the traffic information of the downlink data that is successfully forwarded corresponding to the service Further, the network node obtains, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, based on the identifier of the service, and includes:
  • the network node obtains the traffic information of the downlink data successfully forwarded by the service, according to the forwarding result of the network node and the result of the forwarding failure of the base station device, based on the identifier of the service.
  • the method further includes: the network node sending an identifier of the service to the base station device;
  • a result of the forwarding failure of the base station device sent by the base station device includes: the flow rate information of the downlink data that the base station device fails to forward and the identifier of the service;
  • the network node obtains, according to the forwarding result of the network node and the forwarding result of the base station, the traffic information of the downlink data that is successfully forwarded by the service, according to the identifier of the service, including:
  • the network node obtains, according to the forwarding result of the network node, the traffic information of the downlink data successfully forwarded by the network node corresponding to the service, according to the identifier of the service; the network node corresponds to the service according to the service.
  • the network node forwards the traffic information of the successfully downlink data and the traffic information of the downlink data that the base station device forwards, and obtains the traffic information of the downlink data that is successfully forwarded by the service based on the identifier of the service.
  • the network node obtains, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, based on the identifier of the service, and includes:
  • the network node obtains the traffic information of the downlink data that is successfully forwarded by the service, according to the result of the forwarding of the base station device, based on the identifier of the service.
  • the network node sends the identifier of the service to the base station device; the network node receives a result of successful forwarding of the base station device sent by the base station device, and the result of successful forwarding of the base station device includes the base station The device forwards successful downlink data. Traffic information and the identity of the service;
  • the network node obtains, according to the result of the successful forwarding of the base station device, the network node, according to the identifier of the service, the traffic information of the downlink data that is successfully forwarded by the service, including:
  • the network node obtains the traffic information of the downlink data that is successfully forwarded according to the service, according to the traffic information of the downlink data that is successfully forwarded by the base station device.
  • the identifier of the service is encapsulated in a tunnel message and sent to the base station device, and the tunnel message includes the downlink data.
  • an embodiment of the present invention further provides another computer program product, the computer program product comprising a computer readable medium, the readable medium comprising a second set of program code, for performing the steps in the method shown in FIG. 2:
  • the data gateway receives downlink data;
  • the data gateway sends the downlink data and the identifier of the service to the downstream network node, so that the downstream network node forwards the downlink data to the user equipment, and obtains the identifier based on the identifier of the service according to the forwarding result.
  • the traffic information of the downlink data that is successfully forwarded corresponding to the service.
  • the data gateway sends the downlink data and the service identifier to the downstream network node, where the data gateway encapsulates the downlink data and the identifier of the service in a tunnel packet, and sends the downlink Data and an identification of the service to the downstream network node.
  • an embodiment of the present invention further provides another computer program product, the computer program product comprising a computer readable medium, the readable medium comprising a second set of program code, for performing the steps in the method shown in FIG. 3:
  • the base station device receives, by the base station device, downlink data sent by the upstream network node and an identifier of the service to which the downlink data belongs;
  • the base station device forwards the downlink data to the user equipment;
  • the base station device sends a forwarding result of the base station device to the upstream network node, so that the upstream network node is based on the forwarding result of the base station device, based on the The identifier of the service is obtained, and the traffic information of the downlink data that is successfully forwarded by the service is obtained, where the forwarding result of the base station device includes one of the identifier of the service and one of the following traffic information: the downlink data that the base station device forwards successfully The traffic information and the flow information of the downlink data that the base station device forwards the failure.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the above-described method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as ⁇ , RAM, disk or optical disk.

Abstract

The present invention relates to a processing method and device for a data service. The processing method comprises: a network node receives downlink data sent by a data gateway and an identifier of a service to which the downlink data belongs; the network node forwards the downlink data to a user equipment through a base station device; and the network node obtains traffic information about downlink data which is forwarded successfully and corresponds to the service according to a forwarding result and based on the identifier of the service. By way of receiving an identifier of a service to which the downlink data sent by a data gateway belongs, and according to a forwarding result of the downlink data and based on the identifier of the service, traffic information about a data packet which is forwarded successfully in downlink data which corresponds to the service is obtained, and in this way, the network node can obtain traffic forwarding information about each service so as to be able to perform refined accounting on each service according to the forwarding situations of different nodes.

Description

数据业务的处理方法及设备 技术领域  Data service processing method and device
本发明涉及移动通信技术, 尤其涉及一种数据业务的处理方法及设备。  The present invention relates to mobile communication technologies, and in particular, to a data service processing method and device.
背景技术 Background technique
全球移动通信系统 (Global System for Mobi le Communications , GSM) /通用移动通讯系统 (Universal Mobi le Telecommunications System, UMTS ) (包括时分同步石马分多址 ( Time Division-Synchronous Code Division Multiple Access , TD-SCDMA) ) /长期演进 (Long Term Evolution, LTE) 等 第三代合作伙伴计划 ( 3rd Generation Partnership Project , 3GPP ) 无线 移动网络数据业务是由无线接入网络和分组核心网络共同实现的。 用户接入 无线接入网络和分组核心网络后, 建立数据业务通道, 就可以进行数据业务。  Global System for Mobi le Communications (GSM) / Universal Mobi Le Telecommunications System (UMTS) (including Time Division-Synchronous Code Division Multiple Access (TD-SCDMA) ) ) / Long Term Evolution (LTE) and other 3rd Generation Partnership Project (3GPP) wireless mobile network data services are implemented by the wireless access network and the packet core network. After the user accesses the wireless access network and the packet core network, a data service channel is established, and data services can be performed.
目前, 用户的数据业务中的信息均以因特网协议 (Internet Protocol , IP) 包的形式进行传输。 用户发出的 IP包 (即上行 IP包) 在无线接入网络 和核心网络中都被以特定方式, 如通用无线分组业务(General Packet Radio Service, GPRS )隧道协议 (GPRS tunnel ing protocol , GTP)用户面 (GTP— U) 协议, 封装为载荷, 也即将 IP包封装为 GTP— U包, 进行传输。 被封装的 IP 包通过移动网络的数据网关后, 例如可以是分组数据网网关 (packet data network gateway, PGW) 或者网关 GPRS 支撑节点 ( gateway GRPS support node ) , 数据网关解除封装, 以用户原始的 IP报文方式发送到外部数据网络, 比如因特网 (Internet s 外部数据网络发给用户的 IP包 (即下行 IP包), 首先到达移动网络的数据网关, 由数据网关将外部数据网络的 IP包进行载荷 封装, 然后封装后的 IP包在核心网络经过传输后到达基站设备, 由基站设备 将该 IP包在无线空口发送给用户设备。至此, 实现了用户和外部数据网络的 数据业务交互。 其中, 在传输 IP包的过程中, 核心网络的相关设备会产生话单, 以记录 传递的用户上、 下行 IP包大小的累积值, 作为收费记录, 向用户收取移动网 络数据业务费用。 但是, 在当前的计费系统中, 对数据业务计费不够精细。 Currently, information in the user's data service is transmitted in the form of an Internet Protocol (IP) packet. The IP packets sent by the user (ie, the uplink IP packets) are used in a specific manner in the wireless access network and the core network, such as the General Packet Radio Service (GPRS) tunneling protocol (GPRS) protocol (GTP) user. The face (GTP-U) protocol, encapsulated as a payload, also encapsulates the IP packet into a GTP-U packet for transmission. After the encapsulated IP packet passes through the data gateway of the mobile network, for example, it may be a packet data network gateway (PGW) or a gateway GPRS support node (gateway GRPS support node), and the data gateway is decapsulated to the original IP of the user. The message mode is sent to an external data network, such as the Internet (the Internet packet sent by the external data network to the user (ie, the downlink IP packet), first arrives at the data gateway of the mobile network, and the data gateway loads the IP packet of the external data network. Encapsulation, and then the encapsulated IP packet arrives at the base station device after being transmitted by the core network, and the base station device sends the IP packet to the user equipment in the wireless air interface. Thus, the data service interaction between the user and the external data network is realized. In the process of transmitting IP packets, related devices of the core network will generate CDRs to record The accumulated value of the user's upstream and downstream IP packet sizes is passed as a charging record, and the user is charged for the mobile network data service fee. However, in the current billing system, the billing of data services is not fine enough.
发明内容 有鉴于此, 本发明实施例提供一种数据业务的处理方法及设备, 以实现 对数据业务的精细化计费。 第一方面, 本发明实施例提供一种数据业务的处理方法, 包括: 网络节点接收数据网关发送的下行数据以及所述下行数据所属业务的标 识; 所述网络节点通过基站设备转发所述下行数据至用户设备; 所述网络节点根据转发结果, 基于所述业务的标识, 获得所述业务对应 的转发成功的下行数据的流量信息。 结合第一方面, 在第一方面的第一种可能实现的方式中, 所述网络节点根据转发结果, 基于所述业务的标识, 获得所述业务对应 的转发成功的下行数据的流量信息, 包括: 所述网络节点根据所述网络节点本地的转发结果,基于所述业务的标识, 获得所述业务对应的所述网络节点本地转发成功的下行数据的流量信息, 其 中所述业务对应的所述网络节点本地转发成功的下行数据的流量信息作为所 述业务对应的转发成功的下行数据的流量信息。 结合第一方面, 在第一方面的第二种可能实现的方式中, 所述网络节点根据转发结果, 基于所述业务的标识, 获得所述业务对应 的转发成功的下行数据的流量信息, 包括: 所述网络节点根据所述网络节点本地的转发结果和所述基站设备的转发 失败的结果, 基于所述业务的标识, 获得所述业务对应的转发成功的下行数 据的流量信息。 结合第一方面的第二种可能实现的方式, 在第一方面的第三种可能实现 的方式中, 还包括: 所述网络节点发送所述业务的标识至所述基站设备; 所述网络节点接收所述基站设备发送的所述基站设备的转发失败的结 果, 所述基站设备的转发失败的结果包括所述基站设备转发失败的下行数据 的流量信息和所述业务的标识; 所述网络节点根据所述网络节点本地的转发结果和所述基站设备的转发 失败的结果, 基于所述业务的标识, 获得所述业务对应的转发成功的下行数 据的流量信息, 包括: SUMMARY OF THE INVENTION In view of this, an embodiment of the present invention provides a method and a device for processing a data service, so as to implement fine-grained charging for data services. In a first aspect, the embodiment of the present invention provides a data service processing method, including: receiving, by a network node, downlink data sent by a data gateway and an identifier of a service to which the downlink data belongs; and the network node forwarding the downlink data by using the base station device And the user equipment obtains, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, based on the identifier of the service. With reference to the first aspect, in a first possible implementation manner of the first aspect, the network node, according to the forwarding result, obtains, according to the identifier of the service, traffic information of the downlink data that is successfully forwarded by the service, including The network node obtains, according to the forwarding result of the network node, the traffic information of the downlink data that is successfully forwarded by the network node corresponding to the service, according to the identifier of the service, where the service corresponds to the service The traffic information of the downlink data that is successfully forwarded by the network node is used as the traffic information of the downlink data that is successfully forwarded by the service. With reference to the first aspect, in a second possible implementation manner of the first aspect, the network node, according to the forwarding result, obtains, according to the identifier of the service, traffic information of the downlink data that is successfully forwarded by the service, including The network node obtains the traffic information of the downlink data successfully forwarded by the service, according to the forwarding result of the network node and the result of the forwarding failure of the base station device, based on the identifier of the service. With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the method further includes: the network node sending an identifier of the service to the base station device; And receiving, by the base station device, a result of the forwarding failure of the base station device, where the result of the forwarding failure of the base station device includes: the flow rate information of the downlink data that the base station device fails to forward and the identifier of the service; And obtaining, according to the forwarding result of the network node and the forwarding failure of the base station, the traffic information of the downlink data that is successfully forwarded by the service, according to the identifier of the service, includes:
所述网络节点根据所述网络节点本地的转发结果,基于所述业务的标识, 获得所述业务对应的所述网络节点本地转发成功的下行数据的流量信息; 所述网络节点根据所述业务对应的所述网络节点本地转发成功的下行数 据的流量信息、 所述基站设备转发失败的下行数据的流量信息, 基于所述业 务的标识, 获得所述业务对应的转发成功的下行数据的流量信息。 结合第一方面, 在第一方面的第四种可能实现的方式中, 所述网络节点根据转发结果, 基于所述业务的标识, 获得所述业务对应 的转发成功的下行数据的流量信息, 包括: 所述网络节点根据所述基站设备的转发成功的结果, 基于所述业务的标 识, 获得所述业务对应的转发成功的下行数据的流量信息。 结合第一方面的第四种可能实现的方式, 在第一方面的第五种可能实现 的方式中, 还包括: 所述网络节点发送所述业务的标识至所述基站设备; 所述网络节点接收所述基站设备发送的所述基站设备的转发成功的结 果, 所述基站设备的转发成功的结果包括所述基站设备转发成功的下行数据 的流量信息和所述业务的标识; 所述网络节点根据所述基站设备的转发成功的结果, 基于所述业务的标 识, 获得所述业务对应的转发成功的下行数据的流量信息, 包括: 所述网络节点根据所述基站设备转发成功的下行数据的流量信息, 基于 所述业务的标识, 获得所述业务对应的转发成功的下行数据的流量信息。 结合第一方面的第三或第五种可能实现的方式, 在第一方面的第六种可 能实现的方式中, The network node obtains, according to the forwarding result of the network node, the traffic information of the downlink data successfully forwarded by the network node corresponding to the service, according to the identifier of the service; the network node corresponds to the service according to the service The network node forwards the traffic information of the successfully downlink data and the traffic information of the downlink data that the base station device forwards, and obtains the traffic information of the downlink data that is successfully forwarded by the service based on the identifier of the service. With reference to the first aspect, in a fourth possible implementation manner of the first aspect, the network node, according to the forwarding result, obtains, according to the identifier of the service, the traffic information of the downlink data that is successfully forwarded by the service, including The network node obtains the traffic information of the downlink data that is successfully forwarded by the service, according to the identifier of the service, according to the result of the successful forwarding of the base station device. With reference to the fourth possible implementation of the first aspect, in a fifth possible implementation manner of the first aspect, the method further includes: the network node sending an identifier of the service to the base station device; Receiving, by the base station device, a result of successful forwarding of the base station device, the result of the successful forwarding of the base station device includes: the flow rate information of the downlink data that the base station device forwards successfully and the identifier of the service; And obtaining, according to the result of the forwarding success of the base station device, the traffic information of the downlink data that is successfully forwarded by the service, according to the identifier of the service, including: And the network node obtains the traffic information of the downlink data that is successfully forwarded according to the service, according to the traffic information of the downlink data that is successfully forwarded by the base station device. In a sixth possible implementation manner of the first aspect, in combination with the third or fifth possible implementation of the first aspect,
所述业务的标识是封装在隧道报文中发送至所述基站设备的, 所述隧道 报文包括所述下行数据  The identifier of the service is encapsulated in a tunnel message and sent to the base station device, where the tunnel packet includes the downlink data.
第二方面, 本发明实施例提供一种数据业务的处理方法, 包括: 数据网关接收下行数据;  In a second aspect, an embodiment of the present invention provides a data service processing method, including: receiving, by a data gateway, downlink data;
所述数据网关获取所述下行数据所属业务的标识;  Obtaining, by the data gateway, an identifier of a service to which the downlink data belongs;
所述数据网关发送所述下行数据和所述业务的标识至下游网络节点, 以 使所述下游网络节点转发所述下行数据至用户设备, 并根据转发结果, 基于 所述业务的标识, 获得所述业务对应的转发成功的下行数据的流量信息。  The data gateway sends the downlink data and the identifier of the service to the downstream network node, so that the downstream network node forwards the downlink data to the user equipment, and obtains the identifier based on the identifier of the service according to the forwarding result. The traffic information of the downlink data that is successfully forwarded corresponding to the service.
结合第二方面, 在第二方面的第一种可能实现的方式中,  In conjunction with the second aspect, in a first possible implementation of the second aspect,
所述数据网关发送所述下行数据和所述业务标识至下游网络节点,包括: 所述数据网关通过将所述下行数据和所述业务的标识封装在隧道报文 中, 发送所述下行数据和所述业务的标识至所述下游网络节点。 第三方面, 本发明实施例提供一种数据业务的处理方法, 包括: 基站设备接收上游网络节点发送的下行数据以及所述下行数据所属业务 的标识;  And the data gateway sends the downlink data and the service identifier to the downstream network node, where: the data gateway encapsulates the downlink data and the identifier of the service in a tunnel packet, and sends the downlink data and The identifier of the service is to the downstream network node. In a third aspect, the embodiment of the present invention provides a data service processing method, including: receiving, by a base station device, downlink data sent by an upstream network node and an identifier of a service to which the downlink data belongs;
所述基站设备转发所述下行数据至用户设备;  Transmitting, by the base station device, the downlink data to a user equipment;
所述基站设备发送所述基站设备的转发结果至所述上游网络节点, 以使 所述上游网络节点根据所述基站设备的转发结果, 基于所述业务的标识, 获 得所述业务对应的转发成功的下行数据的流量信息;  The base station device sends the forwarding result of the base station device to the upstream network node, so that the upstream network node obtains the forwarding success corresponding to the service based on the forwarding result of the base station device Flow information of downlink data;
其中所述基站设备的转发结果包括所述业务的标识和以下流量信息之 一: 所述基站设备转发成功的下行数据的流量信息和所述基站设备转发失败 的下行数据的流量信息。 第四方面, 本发明实施例提供一种网络节点设备, 包括: 接收单元, 用于接收数据网关发送的下行数据以及所述下行数据所属业 务的标识; 发送单元, 用于通过基站设备转发所述接收单元接收的下行数据至用户 设备; 流量获取单元, 用于根据转发结果, 基于所述接收单元接收的所述业务 的标识, 获得所述业务对应的转发成功的下行数据的流量信息。 结合第四方面, 在第四方面的第一种可能实现的方式中, 所述流量获取单元具体用于根据所述网络节点本地的转发结果, 基于所 述业务的标识, 获得所述业务对应的所述网络节点本地转发成功的下行数据 的流量信息, 其中所述业务对应的所述网络节点本地转发成功的下行数据的 流量信息作为所述业务对应的转发成功的下行数据的流量信息。 结合第四方面, 在第四方面的第二种可能实现的方式中, 所述流量获取单元具体用于根据所述网络节点本地的转发结果和所述基 站设备的转发失败的结果, 基于所述业务的标识, 获得所述业务对应的转发 成功的下行数据的流量信息。 结合第四方面的第二种可能实现的方式, 在第四方面的第三种可能实现 的方式中, The forwarding result of the base station device includes one of the identifier of the service and one of the following traffic information: the base station device forwards the traffic information of the successfully downlink data and the traffic information of the downlink data that the base station device fails to forward. In a fourth aspect, the embodiment of the present invention provides a network node device, including: a receiving unit, configured to receive downlink data sent by a data gateway and an identifier of a service to which the downlink data belongs; and a sending unit, configured to forward, by using, the base station device The downlink data received by the receiving unit is sent to the user equipment. The traffic obtaining unit is configured to obtain, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, according to the identifier of the service received by the receiving unit. With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the traffic acquiring unit is configured to obtain, according to the forwarding result of the network node, a service corresponding to the service according to the identifier of the service The network node locally forwards the traffic information of the downlink data that is successfully forwarded, and the traffic information of the downlink data that is successfully forwarded by the network node corresponding to the service is used as the traffic information of the downlink data that is successfully forwarded by the service. With reference to the fourth aspect, in a second possible implementation manner of the fourth aspect, the traffic acquiring unit is specifically configured to use, according to a local forwarding result of the network node, and a result of forwarding failure of the base station device, The identifier of the service obtains the traffic information of the downlink data successfully forwarded by the service. In conjunction with the second possible implementation of the fourth aspect, in a third possible implementation of the fourth aspect,
所述发送单元还用于发送所述业务的标识至所述基站设备; 所述接收单元还用于接收所述基站设备发送的所述基站设备的转发失败 的结果, 所述基站设备的转发失败的结果包括所述基站设备转发失败的下行 数据的流量信息和所述业务的标识; 所述流量获取单元具体用于: 根据所述网络节点本地的转发结果, 基于所述业务的标识, 获得所述业 务对应的所述网络节点本地转发成功的下行数据的流量信息; 根据所述业务对应的所述网络节点本地转发成功的下行数据的流量信 息、 所述接收单元接收的所述基站设备转发失败的下行数据的流量信息, 基 于所述业务的标识, 获得所述业务对应的转发成功的下行数据的流量信息。 结合第四方面, 在第四方面的第四种可能实现的方式中, 所述流量获取单元具体用于根据所述基站设备的转发成功的结果, 基于 所述业务的标识, 获得所述业务对应的转发成功的下行数据的流量信息。 结合第四方面的第四种可能实现的方式, 在第四方面的第五种可能实现 的方式中, The sending unit is further configured to send the identifier of the service to the base station device; the receiving unit is further configured to receive a result of the forwarding failure of the base station device sent by the base station device, where the base station device fails to forward The result includes that the base station device forwards the traffic information of the failed downlink data and the identifier of the service; the traffic acquiring unit is specifically configured to: obtain, according to the local forwarding result of the network node, based on the identifier of the service And the traffic information of the downlink data that is successfully forwarded by the network node corresponding to the service; the traffic information of the downlink data successfully forwarded by the network node corresponding to the service, and the forwarding failure of the base station device received by the receiving unit Downstream data flow information, base And obtaining, by the identifier of the service, traffic information of the downlink data that is successfully forwarded by the service. With reference to the fourth aspect, in a fourth possible implementation manner of the fourth aspect, the traffic acquiring unit is specifically configured to obtain, according to a result of the forwarding success of the base station device, the service corresponding to the service The flow information of the downlink data that is successfully forwarded. In conjunction with the fourth possible implementation of the fourth aspect, in a fifth possible implementation of the fourth aspect,
所述发送单元还用于发送所述业务的标识至所述基站设备; 所述接收单元还用于接收所述基站设备发送的所述基站设备的转发成功 的结果, 所述基站设备的转发成功的结果包括所述基站设备转发成功的下行 数据的流量信息和所述业务的标识; 所述流量获取单元具体用于根据所述接收单元接收的所述基站设备转发 成功的下行数据的流量信息, 基于所述业务的标识, 获得所述业务对应的转 发成功的下行数据的流量信息。 结合第四方面的第三或第五种可能实现的方式, 在第四方面的第六种可 能实现的方式中, 所述发送单元发送的所述业务的标识是封装在隧道报文中发送至所述基 站设备的, 所述隧道报文包括所述下行数据。 第五方面, 本发明实施例提供一种数据网关, 包括: 接收单元, 用于接收下行数据; 业务标识获取单元, 用于获取所述接收单元接收的所述下行数据所属业 务的标识; 发送单元, 用于发送所述接收单元接收的下行数据和所述业务标识获取 单元获取的所述业务的标识至下游网络节点, 以使所述下游网络节点转发所 述下行数据至用户设备, 并根据转发结果, 基于所述业务的标识, 获得所述 业务对应的转发成功的下行数据的流量信息。 结合第五方面, 在第五方面的第一种可能实现的方式中, 所述发送单元具体用于通过将所述下行数据和所述业务的标识封装在隧 道报文中, 发送所述下行数据和所述业务的标识至所述下游网络节点。 第六方面, 本发明实施例提供一种基站设备, 包括: 接收单元, 用于接收上游网络节点发送的下行数据以及所述下行数据所 属业务的标识; 发送单元, 用于转发所述接收单元接收的下行数据至用户设备; 所述发送单元, 还用于发送所述基站设备的转发结果至所述上游网络节 点, 以使所述上游网络节点根据所述基站设备的转发结果, 基于所述业务的 标识, 获得所述业务对应的转发成功的下行数据的流量信息; 其中所述基站 设备的转发结果包括所述业务的标识和以下流量信息之一: 所述基站设备转 发成功的下行数据的流量信息和所述基站设备转发失败的下行数据的流量信 息。 第七方面, 本发明实施例提供一种数据业务的处理系统, 包括如上任一 所述的网络节点和如上任一所述的数据网关。 第八方面, 本发明实施例提供一种数据业务的处理系统, 包括如上任一 所述的网络节点和如上任一所述的基站设备。 上述实施例提供的数据业务的处理方法及设备, 通过接收数据网关发送 的下行数据所属的业务的标识, 并根据转发结果, 基于业务的标识, 获得业 务对应的下行数据中转发成功的数据包的流量信息, 这样, 网络节点能够获 得各业务的流量转发信息, 从而能够根据不同节点的转发情况, 对各业务进 行计费, 即实现了对数据业务的精细化计费。 为了实现计费精度的提高, 网 络节点将业务的标识发送至基站设备后, 当基站设备转发数据至用户设备失 败时, 可以将转发失败的数据的流量信息和数据的标识发送至网络节点, 以 告知网络节点该业务对应的转发失败的流量; 同样的, 基站设备也可以将转 发成功的数据的流量信息和数据的标识发送至网络节点, 以告知网络节点业 务对应的成功转发至用户设备的数据的流量信息。 The sending unit is further configured to send the identifier of the service to the base station device, where the receiving unit is further configured to receive a result of successful forwarding of the base station device sent by the base station device, where the base station device successfully forwards The result includes the traffic information of the downlink data that the base station device forwards successfully and the identifier of the service. The traffic acquiring unit is specifically configured to: according to the traffic information of the downlink data that is successfully forwarded by the base station device received by the receiving unit, And obtaining, according to the identifier of the service, traffic information of the downlink data that is successfully forwarded by the service. With reference to the third or fifth possible implementation manner of the fourth aspect, in a sixth possible implementation manner of the foregoing aspect, the identifier of the service sent by the sending unit is encapsulated in a tunnel message and sent to The tunnel message of the base station device includes the downlink data. According to a fifth aspect, an embodiment of the present invention provides a data gateway, including: a receiving unit, configured to receive downlink data; a service identifier acquiring unit, configured to acquire an identifier of a service to which the downlink data is received by the receiving unit; And transmitting, by the receiving unit, the downlink data and the identifier of the service acquired by the service identifier acquiring unit to the downstream network node, so that the downstream network node forwards the downlink data to the user equipment, and according to forwarding As a result, based on the identifier of the service, the traffic information of the downlink data successfully forwarded by the service is obtained. With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, the sending unit is specifically configured to encapsulate the downlink data and the identifier of the service in a tunnel In the track message, the downlink data and the identifier of the service are sent to the downstream network node. According to a sixth aspect, an embodiment of the present invention provides a base station device, including: a receiving unit, configured to receive downlink data sent by an upstream network node and an identifier of a service to which the downlink data belongs; and send, by the sending unit, the receiving unit to receive The downlink data is sent to the user equipment; the sending unit is further configured to send the forwarding result of the base station device to the upstream network node, so that the upstream network node is based on the forwarding result according to the base station device, based on the service The identifier of the downlink data that is forwarded successfully corresponding to the service, where the forwarding result of the base station device includes the identifier of the service and one of the following traffic information: the base station device forwards the traffic of the successfully downlink data. The information and the base station device forward the traffic information of the failed downlink data. The seventh aspect of the present invention provides a data service processing system, including the network node according to any one of the above, and the data gateway of any of the foregoing. The eighth aspect of the present invention provides a data service processing system, including the network node according to any one of the above, and the base station device of any of the foregoing. The method and the device for processing the data service provided by the foregoing embodiment receive the identifier of the service to which the downlink data sent by the data gateway belongs, and obtain the data packet successfully forwarded in the downlink data corresponding to the service according to the forwarding result and the service-based identifier. The traffic information is such that the network node can obtain the traffic forwarding information of each service, so that each service can be charged according to the forwarding situation of different nodes, that is, the fine charging of the data service is realized. In order to improve the charging accuracy, after the network node sends the identifier of the service to the base station device, when the base station device fails to forward the data to the user equipment, the network node may send the traffic information of the failed data and the identifier of the data to the network node, to Informing the network node that the traffic corresponding to the service fails to be forwarded. Similarly, the base station device may send the traffic information and the identifier of the data that is successfully forwarded to the network node, to notify the network node of the data that is successfully forwarded to the user equipment. Traffic information.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中 所需要使用的附图作简要介绍, 显而易见地, 下面描述中的附图仅仅是本发 明的一些实施例, 对于本领域的普通技术人员来讲, 在不付出创造性劳动性 的前提下, 还可以根据这些附图获得其他的附图。 图 1为本发明一个实施例提供的数据业务的处理方法的流程图; 图 2为本发明一个实施例提供的数据业务的处理方法的流程图; 图 3为本发明一个实施例提供的数据业务的处理方法的流程图; 图 4为本发明另一个实施例提供的数据业务流量记录方法的示意图; 图 5为本发明另一个实施例提供的数据业务流量记录方法的示意图; 图 6为本发明另一个实施例提供的数据业务流量记录方法的示意图; 图 7为本发明另一实施例提供的业务计费网元设备的示意图; 图 8为本发明另一实施例提供的下游网络节点设备的示意图; 图 9为本发明另一实施例提供的下游网络节点设备的示意图; 图 10为本发明另一实施例提供的数据业务的处理系统的示意图。 In order to more clearly illustrate the technical solution in the embodiment of the present invention, the following will describe the embodiment. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings are briefly described, and the drawings in the following description are only a few embodiments of the present invention, and those skilled in the art can also Other figures are obtained from these figures. 1 is a flowchart of a method for processing a data service according to an embodiment of the present invention; FIG. 2 is a flowchart of a method for processing a data service according to an embodiment of the present invention; FIG. 3 is a data service according to an embodiment of the present invention; FIG. 4 is a schematic diagram of a data service traffic recording method according to another embodiment of the present invention; FIG. 5 is a schematic diagram of a data service traffic recording method according to another embodiment of the present invention; FIG. 7 is a schematic diagram of a service charging network element device according to another embodiment of the present invention; FIG. 8 is a schematic diagram of a downstream network node device according to another embodiment of the present invention; FIG. 9 is a schematic diagram of a downstream network node device according to another embodiment of the present invention; FIG. 10 is a schematic diagram of a data service processing system according to another embodiment of the present invention.
具体实施方式 为了使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本 发明作进一步地详细描述, 显然, 所描述的实施例仅仅是本发明一部份实施 例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在 没有做出创造性劳动前提下所获得的所有其它实施例, 都属于本发明保护的 范围。 图 1为本发明一个实施例提供的数据业务的处理方法的流程图。 本实施 例所示的方法为数据网关的下游网络节点设备的处理流程, 该下游网络节点 设备可以是 SGSN、 SGW等, 处理流程包括: 步骤 11、 网络节点接收数据网关发送的下行数据以及所述下行数据所属 业务的标识。 其中, 网络节点为数据网关的下游网络节点设备。 例如,数据网关的下游网络节点设备接收数据网关发送的第一 GTP— U包, 该第一 GTP— U包的载荷为 IP包, 该第一 GTP— U包的头部包含有 IP包的业务 的标识。 网络节点解析接收的第一 GTP— U包, 得到 IP包及 IP包的业务的标 识。如 SGW解析第一 GTP— U包, 得到该第一 GTP— U包的载荷 IP包的业务的标 识。 The present invention will be further described in detail with reference to the accompanying drawings, in which FIG. An embodiment. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention. FIG. 1 is a flowchart of a method for processing a data service according to an embodiment of the present invention. The method shown in this embodiment is the processing flow of the downstream network node device of the data gateway, and the downstream network node device may be an SGSN, an SGW, or the like. The processing procedure includes: Step 11: The network node receives the downlink data sent by the data gateway, and the ID of the service to which the downlink data belongs. The network node is a downstream network node device of the data gateway. For example, the downstream network node device of the data gateway receives the first GTP-U packet sent by the data gateway. The payload of the first GTP-U packet is an IP packet, and the header of the first GTP-U packet contains an identifier of a service of the IP packet. The network node parses the received first GTP-U packet, and obtains the identifier of the service of the IP packet and the IP packet. If the SGW parses the first GTP-U packet, the identifier of the service of the payload IP packet of the first GTP-U packet is obtained.
其中, 数据网关、第一 GTP— U包及 IP包的业务的标识详见图 2所示实施 例中的说明。  The identification of the service of the data gateway, the first GTP-U packet, and the IP packet is shown in the description in the embodiment shown in FIG.
步骤 12、 网络节点通过基站设备转发步骤 11接收的下行数据至用户设 备。  Step 12: The network node forwards the downlink data received in step 11 to the user equipment by using the base station device.
对于 LTE网络, 网络节点可将解析得到的 IP包封装为第二 GTP— U包, 然 后将第二 GTP— U包发送到下游网络节点。其中,第二 GTP— U包可为传统的 GTP— U 包;  For the LTE network, the network node may encapsulate the parsed IP packet into a second GTP-U packet, and then send the second GTP-U packet to the downstream network node. Wherein, the second GTP-U package can be a traditional GTP-U package;
例如, SGW将 IP包转发给 eNodeB,需要将 IP包封装为 GTP— U包,该 GTP— U 包可以不包含 IP包的业务的标识。  For example, the SGW forwards the IP packet to the eNodeB, and the IP packet needs to be encapsulated into a GTP-U packet, and the GTP-U packet may not include the identifier of the service of the IP packet.
对于 UMTS网络, 网络节点可将解析得到的 IP包再次封装为 GTP— U包, 然后将 GTP— U包发送给下游网络节点。 例如, SGSN将 GTP— U包发送给 RNC。 对于 GSM网, 网络节点可将解析得到的 IP包封装为 BSSGP包, 然后将 BSSGP包发送到下游网络节点。 例如, SGSN将解析得到的 IP包封装为 BSSGP 包, 并将 BSSGP包发送给 BSC/PCU。 步骤 13、 网络节点根据转发结果, 基于所述业务的标识, 获得业务对应 的转发成功的下行数据的流量信息。 例如, 网络节点仅在 IP包成功转发的情况下, 将该 IP包的业务的标识 生成到话单中。 也就是说, 当丢弃某一 IP包或转发该 IP包失败时, 话单中 该 IP包所属业务的转发流量不会包含该 IP包的流量,只有当该 IP被成功转 发时, 该 IP包所属业务的转发流量才会包含该 IP包的流量。  For the UMTS network, the network node can re-encapsulate the parsed IP packet into a GTP-U packet, and then send the GTP-U packet to the downstream network node. For example, the SGSN sends a GTP-U packet to the RNC. For the GSM network, the network node can encapsulate the parsed IP packet into a BSSGP packet, and then send the BSSGP packet to the downstream network node. For example, the SGSN encapsulates the parsed IP packet into a BSSGP packet and sends the BSSGP packet to the BSC/PCU. Step 13: The network node obtains, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, based on the identifier of the service. For example, the network node generates the identifier of the service of the IP packet into the bill only when the IP packet is successfully forwarded. That is, when an IP packet is discarded or the IP packet is discarded, the forwarding traffic of the service to which the IP packet belongs in the CDR does not include the traffic of the IP packet, and only when the IP is successfully forwarded, the IP packet The forwarding traffic of the belonging service will contain the traffic of the IP packet.
其中, 话单的生成可基于时间, 也可基于转发流量, 如当数据网关的下 游网络节点设备转发时间超过 1小时时, 该下游网络节点设备生成话单, 或 当数据网关的下游网络节点设备转发流量超过 100M字节时,该下游网络节点 设备生成话单。 将该 IP包的业务的标识生成到话单中后,话单中便在传统的话单的基础 上增加了各业务的流量信息, 从而能够准确核减各业务的转发流量, 实现更 精细化计费, 也可以使计费更精确。 示例性的, 所述网络节点根据转发结果, 基于所述业务的标识, 获得所 述业务对应的转发成功的下行数据的流量信息, 可包括: 所述网络节点根据所述网络节点本地的转发结果,基于所述业务的标识, 获得所述业务对应的所述网络节点本地转发成功的下行数据的流量信息, 其 中所述业务对应的所述网络节点本地转发成功的下行数据的流量信息作为所 述业务对应的转发成功的下行数据的流量信息。 示例性的, 所述网络节点根据转发结果, 基于所述业务的标识, 获得所 述业务对应的转发成功的下行数据的流量信息, 可包括: 所述网络节点根据所述网络节点本地的转发结果和所述基站设备的转发 失败的结果, 基于所述业务的标识, 获得所述业务对应的转发成功的下行数 据的流量信息。 The generation of the bill can be based on time or based on forwarding traffic. For example, when the downstream network node device of the data gateway forwards for more than one hour, the downstream network node device generates a bill, or is a downstream network node device of the data gateway. When the forwarding traffic exceeds 100 Mbytes, the downstream network node device generates a bill. After the identifier of the service of the IP packet is generated in the CDR, the traffic information of each service is added to the CDR according to the traditional CDR, so that the forwarding traffic of each service can be accurately reduced and the finer billing can be realized. , can also make billing more accurate. For example, the network node, according to the forwarding result, obtains the traffic information of the downlink data that is successfully forwarded according to the service, and may include: the network node locally forwarding the result according to the network node. And obtaining, according to the identifier of the service, traffic information of the downlink data that is successfully forwarded by the network node corresponding to the service, where the traffic information of the downlink data that is successfully forwarded by the network node corresponding to the service is used as the The traffic information of the downlink data that is successfully forwarded by the service. For example, the network node, according to the forwarding result, obtains the traffic information of the downlink data that is successfully forwarded according to the service, and may include: the network node locally forwarding the result according to the network node. As a result of the failure of the forwarding of the base station device, based on the identifier of the service, the traffic information of the downlink data successfully forwarded by the service is obtained.
进一步, 本发明实施例提供的数据业务的处理方法还可包括: 所述网络节点发送所述业务的标识至所述基站设备, 如网络节点转发一 下行数据时在同一个包中携带该下行数据所属的业务的标识;  Further, the processing method of the data service provided by the embodiment of the present invention may further include: the network node sending the identifier of the service to the base station device, where the network node carries the downlink data in the same packet when forwarding the line data. The identity of the business to which it belongs;
所述网络节点接收所述基站设备发送的所述基站设备的转发失败的结 果, 所述基站设备的转发失败的结果包括所述基站设备转发失败的下行数据 的流量信息和所述业务的标识; 相应的, 所述网络节点根据所述网络节点本地的转发结果和所述基站设 备的转发失败的结果, 基于所述业务的标识, 获得所述业务对应的转发成功 的下行数据的流量信息, 可包括:  Receiving, by the network node, a result of the forwarding failure of the base station device sent by the base station device, where the result of the forwarding failure of the base station device includes: the flow rate information of the downlink data that the base station device fails to forward and the identifier of the service; Correspondingly, the network node obtains, according to the forwarding result of the network node and the forwarding failure of the base station device, the traffic information of the downlink data that is successfully forwarded by the service, according to the identifier of the service, Includes:
所述网络节点根据所述网络节点本地的转发结果,基于所述业务的标识, 获得所述业务对应的所述网络节点本地转发成功的下行数据的流量信息; 所述网络节点根据所述业务对应的所述网络节点本地转发成功的下行数 据的流量信息、 所述基站设备转发失败的下行数据的流量信息, 基于所述业 务的标识, 获得所述业务对应的转发成功的下行数据的流量信息。 如若基站设备未成功转发下行数据则返回无线接入承载 (Radio Access Bearer , RAB ) 分配响应消息, 该 RAB 分配响应消息中携带有未成功转发的 IP包的流量信息及其所属的业务的标识。 RAB分配响应消息属于 RAB分配流 程中的消息。 RAB 分配流程用于建立或释放无线数据传输连接, 包括: SGSN 发送 RAB分配请求给 RNC, RNC在建立或释放无线数据传输连接后, 向 SGSN 返回 RAB分配响应消息。 本发明实施例通过扩展 RAB分配响应消息, 在 RAB 分配流程释放无线数据传输连接时, RNC在发送给 SGSN的 RAB分配响应消 息中携带未成功发送的下行流量信息, 以实现更为精准的业务计费。 扩展后 的 RAB分配响应消息如下表所示: The network node obtains, according to the forwarding result of the network node, the traffic information of the downlink data successfully forwarded by the network node corresponding to the service, according to the identifier of the service; the network node corresponds to the service according to the service The network node forwards the traffic information of the successfully downlink data and the traffic information of the downlink data that the base station device forwards, and obtains the traffic information of the downlink data that is successfully forwarded by the service based on the identifier of the service. If the base station device does not successfully forward the downlink data, the radio access bearer (RAB) allocates a response message, and the RAB allocation response message carries the traffic information of the unsuccessfully forwarded IP packet and the identifier of the service to which it belongs. The RAB Assignment Response message belongs to a message in the RAB allocation process. The RAB allocation process is used to establish or release a wireless data transmission connection, including: The SGSN sends an RAB allocation request to the RNC, and the RNC returns a RAB allocation response message to the SGSN after establishing or releasing the wireless data transmission connection. In the embodiment of the present invention, when the RAB allocation process releases the wireless data transmission connection, the RNC carries the downlink traffic information that is not successfully sent in the RAB allocation response message sent to the SGSN, so as to implement a more accurate traffic calculation. fee. The extended RAB allocation response message is shown in the following table:
IE/Group Name Presence Range IE/Group Name Presence Range
必选 /可选 取值范围 信元 /组名  Required / Optional Value Range Cell / Group Name
M (必选)  M (required)
Message Type  Message Type
消息类型 Message type
0 (可选)  0 (optional)
RABs Released List  RABs Released List
释放的无线接入承载列表 Released radio access bearer list
>RABs Released Item IEs 1 to  >RABs Released Item IEs 1 to
释放的无线接入承载项信元 <maxnoofRABs>  Released radio access bearer cell <maxnoofRABs>
〈最大的无线接入承载 数〉  <Maximum number of radio access bearers>
M  M
»RAB ID  »RAB ID
无线接入承载 标识  Radio access bearer
0  0
»DL Data Volumes  »DL Data Volumes
下行数据流量  Downstream data traffic
»>Data Volume List 1 to 数据流量列表 <maxnoofVol>  »>Data Volume List 1 to Data Flow List <maxnoofVol>
〈最大的流量列表数量 <Maximum number of traffic lists
> >
M  M
>>>>Unsuccessfully Transmitted DL Data  >>>>Unsuccessfully Transmitted DL Data
Volume  Volume
未成功发送的下行数据流量  Downstream data traffic that was not successfully sent
0  0
>>>>Data Volume Reference  >>>>Data Volume Reference
数据流量参考  Data flow reference
0  0
»DL GTP-PDU Sequence Number  »DL GTP-PDU Sequence Number
下行 GPRS隧道协议分组数据单元序列号  Downlink GPRS tunneling protocol packet data unit serial number
0  0
»UL GTP-PDU Sequence Number  »UL GTP-PDU Sequence Number
上行 GPRS隧道协议分组数据单元序列号  Uplink GPRS tunneling protocol packet data unit serial number
»>Service Data Volume List 1 to 业务数据流量列表 <maxnoofVol>  »>Service Data Volume List 1 to Business Data Flow List <maxnoofVol>
〈最大的流量列表数量 >  <Maximum number of traffic lists>
0  0
>>>>Unsuccessfully Transmitted service  >>>>Unsuccessfully Transmitted service
DL Data servicel  DL Data servicel
未成功发送的下行数据业务类型 1  Downstream data service type that was not successfully sent 1
0  0
>>>>Unsuccessfully Transmitted service  >>>>Unsuccessfully Transmitted service
DL Data servicel Volume  DL Data servicel Volume
未成功发送的下行数据业务类型 1的流量  Traffic of downlink data service type 1 that was not successfully sent
0  0
>>>>Unsuccessfully Transmitted service  >>>>Unsuccessfully Transmitted service
DL Data service2  DL Data service2
未成功发送的下行数据业务类型 2  Downstream data service type that was not successfully sent 2
0  0
>>>>Unsuccessfully Transmitted service  >>>>Unsuccessfully Transmitted service
DL Data service2 Volume  DL Data service2 Volume
未成功发送的下行数据业务类型 2的流量 这样, 网络节点可以从记录业务的标识中扣除基站设备未成功转发的下 行数据的流量, 从而可以进一步提高下行数据转发流量的准确性, 提高计费 的准确性。 示例性的, 所述网络节点根据转发结果, 基于所述业务的标识, 获得所 述业务对应的转发成功的下行数据的流量信息, 可包括: 所述网络节点根据所述基站设备的转发成功的结果, 基于所述业务的标 识, 获得所述业务对应的转发成功的下行数据的流量信息。 The traffic of the downlink data service type 2 that is not successfully transmitted is such that the network node can deduct from the identifier of the recorded service that the base station device has not successfully forwarded The traffic of the data stream can further improve the accuracy of the downlink data forwarding traffic and improve the accuracy of the charging. For example, the network node obtains, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, based on the identifier of the service, and may include: the network node successfully forwarding according to the base station device As a result, based on the identifier of the service, the traffic information of the downlink data successfully forwarded by the service is obtained.
相应的, 本发明实施例提供的数据业务的处理方法, 还可包括: 所述网络节点发送所述业务的标识至所述基站设备; 所述网络节点接收所述基站设备发送的所述基站设备的转发成功的结 果, 所述基站设备的转发成功的结果包括所述基站设备转发成功的下行数据 的流量信息和所述业务的标识; 所述网络节点根据所述基站设备的转发成功的结果, 基于所述业务的标 识, 获得所述业务对应的转发成功的下行数据的流量信息, 包括:  Correspondingly, the method for processing the data service provided by the embodiment of the present invention may further include: the network node sending the identifier of the service to the base station device; and the network node receiving the base station device sent by the base station device As a result of the successful forwarding, the result of the successful forwarding of the base station device includes: the flow rate information of the downlink data successfully transmitted by the base station device and the identifier of the service; and the network node according to the successful forwarding result of the base station device, And obtaining, according to the identifier of the service, the traffic information of the downlink data that is successfully forwarded by the service, including:
所述网络节点根据所述基站设备转发成功的下行数据的流量信息, 基于 所述业务的标识, 获得所述业务对应的转发成功的下行数据的流量信息。 本实施例提供的数据业务的处理方法通过接收数据网关发送的下行数据 所属的业务的标识, 并根据下行数据的转发结果及接收的业务的标识, 获得 业务对应的转发成功的下行数据的流量信息,能够满足更精细化的计费需求。 同时, 数据网关的下游网络节点能够获得各业务的流量转发信息, 从而能够 根据不同网络节点的转发情况, 对各业务进行更准确计费。 如数据网关的下 游网络节点设备在成功转发该 IP包的情况下, 将该 IP包的业务的标识生成 到话单中, 从而能够在生成的话单中记录各业务的流量转发信息, 实现转发 流量的准确核减, 达到准确计费的目的。  And the network node obtains the traffic information of the downlink data that is successfully forwarded according to the service, according to the traffic information of the downlink data that is successfully forwarded by the base station device. The method for processing the data service provided by the embodiment receives the identifier of the service to which the downlink data is sent by the data gateway, and obtains the traffic information of the downlink data successfully forwarded by the service according to the forwarding result of the downlink data and the identifier of the received service. Can meet more refined billing needs. At the same time, the downstream network node of the data gateway can obtain the traffic forwarding information of each service, so that more accurate charging can be performed for each service according to the forwarding situation of different network nodes. If the downstream network node device of the data gateway successfully forwards the IP packet, the identifier of the service of the IP packet is generated into the CDR, so that the traffic forwarding information of each service can be recorded in the generated CDR, and the forwarding traffic is implemented. Accurate deduction to achieve accurate billing purposes.
图 2为本发明一个实施例提供的数据业务的处理方法的流程图。 本实施 例所示的方法为数据网关的处理流程, 数据网关可以是 GGSN、 PGW等, 处理 流程包括:  FIG. 2 is a flowchart of a method for processing a data service according to an embodiment of the present invention. The method shown in this embodiment is the processing flow of the data gateway, and the data gateway may be a GGSN, a PGW, etc., and the processing flow includes:
步骤 21、数据网关接收下行数据。例如 PGW接收来自因特网(Internet ) 的封装有 IP包的报文。 该 IP包的报文可以是外部服务器发送的下行数据的 报文等。 步骤 22、 所述数据网关获取所述下行数据所属业务的标识。 如数据网关 利用深度报文检测(deep packet inspection, DPI)技术获得所述下行数据所 属业务的标识, 也可以从其他具有 DPI功能的网元上获取该下行数据所属业 务的标识。 Step 21: The data gateway receives downlink data. For example, the PGW receives a message encapsulated with an IP packet from the Internet (Internet). The packet of the IP packet may be the downlink data sent by the external server. Messages, etc. Step 22: The data gateway acquires an identifier of a service to which the downlink data belongs. For example, the data gateway obtains the identifier of the service to which the downlink data belongs by using the deep packet inspection (DPI) technology, and may also obtain the identifier of the service to which the downlink data belongs from other network elements having the DPI function.
步骤 23、数据网关发送所述下行数据和所述业务的标识至下游网络节点, 以使所述下游网络节点转发所述下行数据至用户设备, 并根据转发结果, 基 于所述业务的标识, 获得所述业务对应的转发成功的所述下行数据的流量信 息。 例如, 数据网关可通过将所述下行数据和所述业务的标识封装在隧道报 文中, 发送所述下行数据和所述业务的标识至所述下游网络节点。 如数据网关可将上述步骤 21中接收的 IP包封装为第一 GTP— U包, 该第 一 GTP— U包的头部包含该 IP包的业务的标识。其中, 第一 GTP— U包中的载荷 是 IP包, 第一 GTP— U包可在传统的 GTP— U包的基础上扩展字段, 在扩展字段 中添加载荷 IP包的业务的标识。 IP包的业务的标识至少包含 IP包的业务类 型和流量信息。  Step 23: The data gateway sends the downlink data and the identifier of the service to the downstream network node, so that the downstream network node forwards the downlink data to the user equipment, and obtains, according to the forwarding result, the identifier based on the service. The traffic information of the downlink data that is successfully forwarded by the service. For example, the data gateway may send the downlink data and the identifier of the service to the downstream network node by encapsulating the downlink data and the identifier of the service in a tunnel message. For example, the data gateway may encapsulate the IP packet received in the foregoing step 21 into a first GTP-U packet, where the header of the first GTP-U packet contains the identifier of the service of the IP packet. The payload in the first GTP-U packet is an IP packet, and the first GTP-U packet may be extended on the basis of the traditional GTP-U packet, and the identifier of the service carrying the IP packet is added in the extension field. The identifier of the service of the IP packet contains at least the service type and traffic information of the IP packet.
然后, 数据网关向下游网络节点设备发送封装得到的第一 GTP—U包。 其 中, 下游网络节点设备可以是 SGSN、 SGW等。 本实施例提供的数据业务的处理方法中, 数据网关通过将来自外网的下 行数据及该下行数据所属的业务的标识发送到下游网络节点设备, 使得下游 网络节点设备能够得到下行数据所属的业务的标识, 使得数据网关的下游网 络节点设备也能够获知具体的业务的流量转发信息, 从而能够获得基于业务 的下行数据的流量信息, 能实现更精细化的计费, 同时能够实现每个业务转 发流量的准确核减, 达到更精确计费的目的。 图 3为本发明一个实施例提供的数据业务的处理方法的流程图。 本实施 例所示的方法为上述第一下游网元的下游网络节点设备 (即基站设备) 的处 理流程, 基站设备可以是 eNodeB、 RNC等, 处理流程包括: 步骤 31、 基站设备接收上游网络节点发送的下行数据以及所述下行数据 所属业务的标识。 例如,基站设备接收数据网关的下游网络节点设备发送的第一 GTP— U包, 该第一 GTP— U包的载荷为 IP包, 该第一 GTP— U包的头部包含有该 IP包的业 务的标识。 其中, 数据网关的下游网络节点设备、 第一 GTP— U包及业务的标 识详见图 1所示实施例中的说明。 Then, the data gateway sends the encapsulated first GTP-U packet to the downstream network node device. The downstream network node device may be an SGSN, an SGW, or the like. In the data service processing method provided by the embodiment, the data gateway sends the downlink data from the external network and the identifier of the service to which the downlink data belongs to the downstream network node device, so that the downstream network node device can obtain the service to which the downlink data belongs. The identification of the downstream network node device of the data gateway can also obtain the traffic forwarding information of the specific service, thereby obtaining the traffic information of the downlink data based on the service, enabling more refined charging and realizing each service forwarding. Accurate deduction of traffic for more accurate billing purposes. FIG. 3 is a flowchart of a method for processing a data service according to an embodiment of the present invention. The method shown in this embodiment is the processing flow of the downstream network node device (ie, the base station device) of the first downstream network element, and the base station device may be an eNodeB, an RNC, and the like. The processing procedure includes: Step 31: The base station device receives the upstream network node. The downlink data sent and the identifier of the service to which the downlink data belongs. For example, the base station device receives the first GTP-U packet sent by the downstream network node device of the data gateway, where the payload of the first GTP-U packet is an IP packet, and the header of the first GTP-U packet includes the IP packet. The identity of the business. The identifiers of the downstream network node device, the first GTP-U packet, and the service of the data gateway are shown in the description in the embodiment shown in FIG.
IP包的业务的标识用于标识 IP包所对应的业务。 The identifier of the service of the IP packet is used to identify the service corresponding to the IP packet.
步骤 32、 所述基站设备转发所述下行数据至用户设备。 例如, 基站设备接收到第一 GTP— U包, 对该第一 GTP— U包进行解析, 得 到 IP包及该 IP包的业务的标识,之后将 IP包通过空口协议发送至用户设备。 例如 RNC解析第一 GTP— U包,得到该第一 GTP— U包的载荷 IP包的业务的标识, 利用空口协议将该 IP包发送至用户设备。 步骤 33、 所述基站设备发送所述基站设备的转发结果至所述上游网络节 点, 以使所述上游网络节点根据所述基站设备的转发结果, 基于所述业务的 标识, 获得所述业务对应的转发成功的下行数据的流量信息; 其中所述基站设备的转发结果包括所述业务的标识和以下流量信息之 一: 所述基站设备转发成功的下行数据的流量信息和所述基站设备转发失败 的下行数据的流量信息。  Step 32: The base station device forwards the downlink data to the user equipment. For example, the base station device receives the first GTP-U packet, parses the first GTP-U packet, obtains the identifier of the IP packet and the service of the IP packet, and then sends the IP packet to the user equipment through the air interface protocol. For example, the RNC parses the first GTP-U packet, obtains the identifier of the service of the payload of the first GTP-U packet, and sends the IP packet to the user equipment by using an air interface protocol. Step 33: The base station device sends a forwarding result of the base station device to the upstream network node, so that the upstream network node obtains the service corresponding according to the forwarding result of the base station device according to the identifier of the service. The forwarding information of the downlink data is successfully forwarded; the forwarding result of the base station device includes one of the identifier of the service and one of the following traffic information: the traffic information of the downlink data that the base station device forwards successfully and the forwarding failure of the base station device Traffic information for downstream data.
例如, 基站设备在转发成功的情况下, 向上游节点发送 RAB分配响应消 息, 该 RAB分配响应消息中携带有成功转发的下行数据的流量信息和该成功 转发的下行数据所属业务的标识, 从而告知上游节点该业务在基站设备处转 发成功的下行数据的流量信息, 以便上游节点获取该业务对应的转发成功的 下行数据的流量信息。 又例如, 基站设备在转发失败的情况下, 向数据网关的下游网络节点设 备发送 RAB分配响应消息,该 RAB分配响应消息中携带有未成功转发的 IP包 的业务的标识。 例如, SGSN和 RNC之间的 RAB (无线链路) 释放时, RNC向 SGSN发送 RAB分配响应消息, 该 RAB分配响应消息中携带未成功转发的 IP 包的流量信息及所属业务的标识, 例如在 RAB分配响应消息中扩展字段, 在 扩展的字段中添加未成功转发的 IP包的流量信息及所属业务的标识, 如果 RNC成功转发了所有 IP包, 那么该扩展的字段的值为 0。 其中, RAB分配响 应消息详见图 1所示实施例中的说明。 For example, when the forwarding is successful, the base station device sends an RAB allocation response message to the upstream node, where the RAB allocation response message carries the traffic information of the successfully forwarded downlink data and the identifier of the service to which the successfully forwarded downlink data belongs, thereby The upstream node forwards the traffic information of the succeeding downlink data at the base station device, so that the upstream node acquires the traffic information of the downlink data successfully forwarded by the service. For example, if the forwarding fails, the base station device sends an RAB allocation response message to the downstream network node device of the data gateway, where the RAB allocation response message carries the identifier of the service of the unsuccessfully forwarded IP packet. For example, when the RAB (Radio Link) between the SGSN and the RNC is released, the RNC sends an RAB Assignment Response message to the SGSN, where the RAB Assignment Response message carries the traffic information of the unsuccessfully forwarded IP packet and the identifier of the service to which it belongs, for example, The extension field in the RAB allocation response message adds the traffic information of the IP packet that is not successfully forwarded and the identifier of the service to which the service belongs. If the RNC successfully forwards all the IP packets, the value of the extended field is 0. Among them, RAB distribution The message should be as detailed in the description of the embodiment shown in FIG.
如果 SGSN和 RNC之间的 RAB释放之前, RNC有未成功转发的 IP包, 那 么 RAB分配响应消息将携带所有未被 RNC成功转发的 IP包的流量信息及所属 业务的标识, 一般按 IP包的业务类型来记录未成功转发的流量, 如:
Figure imgf000018_0001
If the RNC has an IP packet that has not been successfully forwarded before the RAB between the SGSN and the RNC is released, the RAB allocation response message carries the traffic information of all the IP packets that are not successfully forwarded by the RNC and the identifier of the service to which it belongs, generally by IP packet. Service type to record traffic that was not successfully forwarded, such as:
Figure imgf000018_0001
当基站设备接收的第一 GTP— U包中的 IP包未被成功转发时, 该 IP包的 流量也将包含在上述对应的业务的流量中。 如 IP包的业务类型为 RG1 , 那么 X兆字节中就包含了该 IP包的流量。 本实施例提供的数据业务的处理方法中, 基站设备通过接收下行数据以 及所述下行数据所属业务的标识, 并在向上游网络节点设备发送的 RAB分配 响应消息中携带的未成功转发的下行数据中失败的数据包的流量信息, 使得 数据网关的下游网络节点设备能够准确核减未成功转发的业务的流量, 实现 了业务的准确计费。  When the IP packet in the first GTP-U packet received by the base station device is not successfully forwarded, the traffic of the IP packet will also be included in the traffic of the corresponding service. If the service type of the IP packet is RG1, then the traffic of the IP packet is included in the X megabyte. In the data service processing method provided by the embodiment, the base station device receives the downlink data and the identifier of the service to which the downlink data belongs, and the unsuccessfully forwarded downlink data carried in the RAB allocation response message sent to the upstream network node device The traffic information of the failed data packet enables the downstream network node device of the data gateway to accurately reduce the traffic of the service that has not been successfully forwarded, thereby realizing accurate charging of the service.
图 4为本发明另一个实施例提供的数据业务流量记录方法的示意图。 本 实施例与上述实施例类似, 不同之处在于, 本实施例的应用场景为 LTE网络, 在 SGW的话单中增加了业务数据列表(l istOfServiceData)字段, 用来填充 各业务的流量信息。  FIG. 4 is a schematic diagram of a data service traffic recording method according to another embodiment of the present invention. The embodiment is similar to the foregoing embodiment, except that the application scenario of the embodiment is an LTE network, and a service data list (list@fServiceData) field is added to the SGW bill to fill the traffic information of each service.
LTE网络中, SGW和 PGW分别是核心网中用于转发用户 IP包的网元。 核 心网中, 用户 IP包通过 GTP— U协议封装, 即将 IP包封装为 GTP— U包, 需要 扩展 GTP— U包的头部, 如增加费率组 (Rating Group, RG) 字段, 以用来传 递业务的标识, 也就是说在 RG字段添加 GTP— U包载荷 IP包的业务的标识。 以下行 IP包的传递过程为例, 用于数据业务计费的流量统计过程包括:  In an LTE network, the SGW and the PGW are respectively network elements for forwarding user IP packets in the core network. In the core network, the user IP packet is encapsulated by the GTP-U protocol, that is, the IP packet is encapsulated into a GTP-U packet, and the header of the GTP-U packet needs to be extended, such as a Rate Group (RG) field, to be used. The identity of the delivery service, that is, the identity of the service that adds the GTP-U packet payload IP packet in the RG field. The following is an example of the process of transmitting IP packets: The process of collecting traffic statistics for data services includes:
步骤 41、 PGW接收到某一用户的下行 IP包后, 业务解析得到该下行 IP 包的业务的标识, 将该下行 IP包封装为 GTP— U包。 例如 PGW接收到下行 IP 包后, 通过 IP报文的特征, 比如协议 /端口号 (比如 TCP协议 80端口代表 HTTP应用), IP包内容的业务特征(比如 HTTP的域名)等来判断用户所使用 的业务类型等业务的标识, 也可以通过深度报文解析技术来获取该报文的业 务的标识。 一 IP包的业务的标识可以用来标识该 IP包的业务类型、 流量等 信息, 本发明实施例对此不作限制。 Step 41: After receiving the downlink IP packet of the user, the PGW obtains the identifier of the service of the downlink IP packet, and encapsulates the downlink IP packet into a GTP-U packet. For example, after receiving the downlink IP packet, the PGW determines the characteristics of the IP packet, such as the protocol/port number (such as TCP port 80 for HTTP application), the service characteristics of the IP packet content (such as the HTTP domain name), etc. The service identifier of the service type can also obtain the service identifier of the packet through the deep packet parsing technology. The identifier of the service of an IP packet can be used to identify the service type, traffic, etc. of the IP packet. The information in this embodiment of the present invention is not limited thereto.
在封装此 IP包的 GTP— U的头部, 增加有 RG字段, 该 RG字段填充了业务 的标识。 PGW按照传统的流程向下游网络节点设备 SGW转发该 GTP— U包。  In the header of the GTP-U encapsulating this IP packet, an RG field is added, and the RG field is filled with the identity of the service. The PGW forwards the GTP-U packet to the downstream network node device SGW according to a conventional procedure.
PGW根据转发结果产生话单。 例如, 只要 PGW转发的流量达到一定数量, 比如 4M字节, 那么 PGW就可以生成一张中间话单, 记录转发的流量, 避免用 户长时间使用业务而不产生话单的情况, 也避免巨额流量话单的风险。  The PGW generates a bill based on the forwarding result. For example, as long as the traffic forwarded by the PGW reaches a certain amount, for example, 4 Mbytes, the PGW can generate an intermediate CDR to record the forwarded traffic, avoiding the user's long-term use of the service without generating bills, and avoiding huge traffic. The risk of CDRs.
PGW产生的话单不仅包含该用户总的上下行流量, 还包含该用户各业务 的上下行流量。 例如, 产生如下话单:  The CDRs generated by the PGW include not only the total uplink and downlink traffic of the user, but also the uplink and downlink traffic of each service of the user. For example, the following order is generated:
•listOfTrafficVolumes (Uplink=8MByte, Downlink=14MByte)〃该用户 已产生的总的上行流量为 8M字节, 下行流量为 14M字节;  • listOfTrafficVolumes (Uplink=8MByte, Downlink=14MByte) 总 The total upstream traffic generated by the user is 8 Mbytes, and the downstream traffic is 14 Mbytes;
•l istOfServiceData=RGl (HTTP) upl ink=4MByte, downlink=6MByte; RG 2 (Video) uplink=lMByte, downlink=3Mbyte ; RG3 (IM) uplink=3MByte, do wnlink=5Mbyte〃该用户 RG1业务已产生的上行流量为 4M字节, 下行流量为 6M字节; RG2业务已产生的上行流量为 1M字节, 下行流量为 3M字节; RG3 业务已产生的上行流量为 3M字节, 下行流量为 5M字节。 步骤 42、 SGW收到该 GTP— U包 (即上述第一 GTP— U包) 后, 解析得到 IP 包及 GTP— U头部的业务的标识。 如果 SGW转发 IP包给 eNodeB, 则将 IP包封 装为 GTP— U包, 发送给 eNodeB。 SGW可以不将业务的标识发送给 eNodeB。 在 SGW发送 IP包给 eNB时, 可去除 GTP— U包头部的业务的标识, 也就是说 SGW可使用 3GPP标准的普通 GTP— U包封装要发送给 eNodeB的 IP包。 SGW也 可以将业务的标识发送给 eNodeB, 以使 eNodeB上报其转发至用户设备的结 果。 示例性的可以在发送给 eNodeB的 GTP— U包的头部包括作为载荷的 IP包 所属业务的标识。  • l istOfServiceData=RGl (HTTP) upl ink=4MByte, downlink=6MByte; RG 2 (Video) uplink=lMByte, downlink=3Mbyte; RG3 (IM) uplink=3MByte, do wnlink=5Mbyte〃The user RG1 service has been generated The upstream traffic is 4 Mbytes, and the downstream traffic is 6 Mbytes. The upstream traffic generated by the RG2 service is 1 Mbyte, and the downstream traffic is 3 Mbytes. The upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 5 Mbytes. Section. Step 42: After receiving the GTP-U packet (that is, the first GTP-U packet), the SGW parses the identifier of the service of the IP packet and the GTP-U header. If the SGW forwards the IP packet to the eNodeB, it encapsulates the IP packet as a GTP-U packet and sends it to the eNodeB. The SGW may not send the identity of the service to the eNodeB. When the SGW sends an IP packet to the eNB, the identifier of the service of the GTP-U packet header may be removed, that is, the SGW may encapsulate the IP packet to be sent to the eNodeB by using the normal GTP-U packet of the 3GPP standard. The SGW can also send the identifier of the service to the eNodeB, so that the eNodeB reports the result of forwarding it to the user equipment. An exemplary header of the GTP-U packet that can be sent to the eNodeB includes the identity of the service to which the IP packet of the payload belongs.
示例性的, 只要 SGW转发的流量达到一定数量, 比如 4M字节, 那么 SGW 就可以生成一张中间话单, 记录转发的流量, 以避免用户长时间使用业务而 不产生话单的情况, 避免巨额流量话单的风险。  For example, as long as the traffic forwarded by the SGW reaches a certain amount, for example, 4 Mbytes, the SGW can generate an intermediate CDR to record the forwarded traffic, so as to avoid the user from using the service for a long time without generating a CDR. The risk of huge flow bills.
示例性的, SGW无论转发该 GTP— U包至 eNodeB成功与否, 产生的话单都 会包含该用户已产生的总的上下行流量以及该用户各业务已产生的上下行流 量, 这些流量信息记录在扩展的 listOfServiceData字段中。 其中, 该用户 各业务已产生的上下行流量根据 GTP— U包转发结果及 GTP— U包头部的业务的 标识得到。 Exemplarily, the SGW generates the total uplink and downlink traffic generated by the user and the uplink and downlink flows generated by the user services, regardless of whether the GGW-U packet is successfully sent to the eNodeB. The amount of traffic information is recorded in the extended listOfServiceData field. The uplink and downlink traffic generated by each user of the user is obtained according to the GTP-U packet forwarding result and the service identifier of the GTP-U packet header.
示例性的, 若 IP包成功转发, SGW在系统内记录该用户的该 IP包的业 务的标识, 最终在 SGW CDR话单扩展的 listOfServiceData字段中, 记录 SGW 对该用户的各业务对应成功转发的流量, 如:  For example, if the IP packet is successfully forwarded, the SGW records the identity of the service of the IP packet of the user in the system, and finally records in the listOfServiceData field of the SGW CDR bill extension that the SGW successfully forwards the service corresponding to the user. Traffic, such as:
•l istOfTrafficVolumes (Upl ink=8MByte, Downlink=14MByte) 〃该用 户已产生的总的上行流量为 8M字节, 下行流量为 14M字节;  • l istOfTrafficVolumes (Upl ink=8MByte, Downlink=14MByte) 总 The total upstream traffic generated by this user is 8 Mbytes, and the downstream traffic is 14 Mbytes;
• listOfServiceData=RGl (HTTP) upl ink=4MByte, downlink=6MByte; RG2 (Video) uplink=lMByte, downlink=3Mbyte ; RG3 (IM) uplink=3MByte, downlink=5Mbyte〃该用户 RG1业务已产生的上行流量为 4M字节, 下行流量 为 6M字节, RG2业务已产生的上行流量为 1M字节, 下行流量为 3M字节, RG3 业务已产生的上行流量为 3M字节, 下行流量为 5M字节。  • listOfServiceData=RGl (HTTP) upl ink=4MByte, downlink=6MByte; RG2 (Video) uplink=lMByte, downlink=3Mbyte; RG3 (IM) uplink=3MByte, downlink=5Mbyte〃 The upstream traffic generated by the user RG1 service is 4 Mbytes, the downstream traffic is 6 Mbytes, the upstream traffic generated by the RG2 service is 1 Mbyte, and the downstream traffic is 3 Mbytes. The upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 5 Mbytes.
SGW话单中, 用户上下行流量、 各业务的上下行流量与 PGW话单中的用 户上下行流量、 各业务的上下行流量相符。 In the SGW CDR, the uplink and downlink traffic of the user and the uplink and downlink traffic of each service are consistent with the uplink and downlink traffic of the user in the PGW bill and the uplink and downlink traffic of each service.
如果 SGW因故障丢弃该 GTP— U包或转发该 GTP— U包失败, 则 SGW生成的 话单仍然包含有实际转发的各业务的流量信息。 例如, 产生的话单如下: If the SGW fails to discard the GTP-U packet or forwards the GTP-U packet, the CDR generated by the SGW still contains the traffic information of each service actually forwarded. For example, the resulting bill is as follows:
• listOfTrafficVolumes (Uplink=8MByte, Downl ink=12MByte) 〃该用户 已产生的总的上行流量为 8M字节, 下行流量为 12M字节; • listOfTrafficVolumes (Uplink=8MByte, Downl ink=12MByte) 总 The total upstream traffic generated by the user is 8 Mbytes, and the downstream traffic is 12 Mbytes;
•l istOfServiceData=RGl (HTTP) upl ink=4MByte, downl ink=6MByte; RG •l istOfServiceData=RGl (HTTP) upl ink=4MByte, downl ink=6MByte; RG
2 (Video) uplink=lMByte, downlink=2Mbyte ; RG3 (IM) uplink=3MByte, do wnlink=4Mbyte〃该用户 RG1业务已产生的上行流量为 4M字节, 下行流量为 6M字节, RG2业务已产生的上行流量为 1M字节, 下行流量为 2M字节, RG3 业务已产生的上行流量为 3M字节, 下行流量为 4M字节。 2 (Video) uplink=lMByte, downlink=2Mbyte; RG3 (IM) uplink=3MByte, do wnlink=4Mbyte〃 The upstream traffic generated by the user RG1 service is 4M bytes, the downstream traffic is 6M bytes, and the RG2 service has been generated. The upstream traffic is 1 Mbyte, and the downstream traffic is 2 Mbytes. The upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 4 Mbytes.
从 SGW产生的话单中可以得到各业务已产生的流量, 例如, 与上述 PGW 产生的话单相比较, 可知 SGW在 RG2业务的下行流量、 RG3业务的下行流量 分别丢失了 1M字节, 从而可以准确核减流量, 避免了计费误差。 图 5为本发明另一个实施例提供的数据业务流量记录方法的示意图。 本 实施例与上述实施例类似,不同之处在于,本实施例的应用场景为 UMTS网络, 在 SGSN的话单中增加了业务数据列表 (l istOfServiceData) 字段, 用来填 充各业务的流量信息, 并扩展了无线接入承载 (Radio Access Bearer, RAB) 分酉己口向应 (RAB assignment response) 消息。 UMTS网络中, SGSN和 GGSN分别是核心网用来转发用户 IP报文的网元。 核心网中, 用户 IP包通过 GTP— U协议封装, 即将 IP包封装为 GTP— U包, 需 要扩展 GTP— U包的头部, 如增加 RG字段, 以传递业务的标识。 具以下行 IP 包的传递过程为例, 用于数据业务计费的流量统计过程包括: The traffic generated by each service can be obtained from the CDRs generated by the SGW. For example, compared with the CDRs generated by the PGW, the downlink traffic of the RG2 service and the downlink traffic of the RG3 service are respectively lost by 1 Mbyte, so that the traffic can be accurately obtained. The nuclear flow is reduced, and the billing error is avoided. FIG. 5 is a schematic diagram of a data service traffic recording method according to another embodiment of the present invention. Ben The embodiment is similar to the foregoing embodiment, except that the application scenario of the embodiment is a UMTS network, and a service data list (l istOfServiceData) field is added to the CDR of the SGSN, which is used to fill traffic information of each service, and is extended. The Radio Access Bearer (RAB) is a RAB assignment response message. In the UMTS network, the SGSN and the GGSN are respectively used by the core network to forward user IP packets. In the core network, the user IP packet is encapsulated by the GTP-U protocol, that is, the IP packet is encapsulated into a GTP-U packet, and the header of the GTP-U packet needs to be extended, for example, the RG field is added to transmit the service identifier. As an example of the following process of delivering IP packets, the traffic statistics process for data service charging includes:
步骤 51、 GGSN接收下行 IP包, 通过 DPI技术解析该下行 IP包后, 得到 该下行 IP包的业务的标识。 之后, GGSN将 IP包封装为 GTP— U包, GTP— U包 中包括该业务的标识, 之后可照传统的流程将该 GTP— U包转发到第一下游网 络节点设备 SGSN。 其中, 业务解析详见上述步骤 41的说明。 示例性的, GGSN将该下行 IP包封装为 GTP—U包时, 在 GTP— U包的头部 增加 RG字段, 并在该 RG字段中填充上述得到的该下行 IP包的业务的标识。 GGSN完成 GTP— U包的转发后, 只要 GGSN转发的流量达到一定数量, 比 如 4M字节, 那么 GGSN就可以生成一张中间话单, 记录转发的流量, 这样避 免用户长时间使用业务而不产生话单的情况, 避免巨额流量话单的风险。  Step 51: The GGSN receives the downlink IP packet, and after analyzing the downlink IP packet by using the DPI technology, obtains the identifier of the service of the downlink IP packet. After that, the GGSN encapsulates the IP packet into a GTP-U packet, and the GTP-U packet includes the identifier of the service, and then the GTP-U packet can be forwarded to the first downstream network node device SGSN according to a conventional process. For details of the service analysis, see the description of step 41 above. For example, when the GGSN encapsulates the downlink IP packet into a GTP-U packet, the RG field is added to the GTP-U packet header, and the RG field is filled with the identifier of the obtained downlink IP packet service. After the GGSN completes the forwarding of the GTP-U packet, as long as the GGSN forwards a certain amount of traffic, for example, 4 Mbytes, the GGSN can generate an intermediate CDR to record the forwarded traffic, so as to prevent the user from using the service for a long time without generating In the case of bills, the risk of avoiding huge flow bills.
GGSN生成话单, 如:  The GGSN generates a bill, such as:
•list0fTrafficVolumes (Uplink=8MByte, Downl ink=14MByte) 〃该用户 已产生的总的上行流量为 8M字节, 下行流量为 14M字节; • list0fTrafficVolumes (Uplink=8MByte, Downl ink=14MByte) 总 The total upstream traffic generated by the user is 8 Mbytes, and the downstream traffic is 14 Mbytes;
•l istOfServiceData=RGl (HTTP) upl ink=4MByte, downlink=6MByte; RG 2 (Video) uplink=lMByte, downlink=3Mbyte ; RG3 (IM) uplink=3MByte, do wnlink=5Mbyte〃该用户 RGl业务已产生的上行流量为 4M字节, 下行流量为 6M字节, RG2业务已产生的上行流量为 1M字节, 下行流量为 3M字节, RG3 业务已产生的上行流量为 3M字节, 下行流量为 5M字节。 步骤 52、 SGSN接收到 GTP— U包后, 从 GTP— U包的头部解析得到载荷中 IP包的业务的标识, 并将 IP包封装为 GTP— U包后, 转发到基站设备 RNC。 • l istOfServiceData=RGl (HTTP) upl ink=4MByte, downlink=6MByte; RG 2 (Video) uplink=lMByte, downlink=3Mbyte; RG3 (IM) uplink=3MByte, do wnlink=5Mbyte〃The user RGl service has been generated The upstream traffic is 4 Mbytes, the downstream traffic is 6 Mbytes, the upstream traffic generated by the RG2 service is 1 Mbyte, and the downstream traffic is 3 Mbytes. The upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 5 Mbytes. Section. Step 52: After receiving the GTP-U packet, the SGSN parses the identifier of the service of the IP packet in the payload from the header of the GTP-U packet, and encapsulates the IP packet into a GTP-U packet, and then forwards the packet to the RNC.
SGSN和 RNC之间同样通过 GTP— U来传递 IP包, 且 GTP— U包的头部仍然 包含 IP包的业务的标识。 The IP packet is also transmitted between the SGSN and the RNC through GTP-U, and the head of the GTP-U packet is still The identity of the service that contains the IP packet.
当 SGSN转发的流量达到一定数量, 比如 4M字节时, SGSN就可以生成一 张中间话单, 记录转发的流量, 这样避免用户长时间使用业务而不产生话单 的情况, 避免巨额流量话单的风险。  When the SGSN forwards a certain amount of traffic, for example, 4 Mbytes, the SGSN can generate an intermediate CDR to record the forwarded traffic. This prevents users from using the service for a long time without generating bills, and avoids huge traffic bills. risks of.
当若 IP包成功转发至 RNC, SGSN在系统内记录该用户的该 IP包的业务 的标识, 最终在 SGSN CDR话单扩展的 listOfServiceData字段中, 记录 SGSN 对该用户的各业务对应成功转发的流量, 如:  If the IP packet is successfully forwarded to the RNC, the SGSN records the service identifier of the IP packet of the user in the system, and finally records the traffic successfully forwarded by the SGSN to each service of the SGSN in the listOfServiceData field of the CDR CDR bill extension. , Such as:
•l istOfTrafficVolumes (Upl ink=8MByte, Downlink=14MByte) 〃该用 户已产生的总的上行流量为 8M字节, 下行流量为 14M字节;  • l istOfTrafficVolumes (Upl ink=8MByte, Downlink=14MByte) 总 The total upstream traffic generated by this user is 8 Mbytes, and the downstream traffic is 14 Mbytes;
· listOfServiceData=RGl (HTTP) upl ink=4MByte, downlink=6MByte; · listOfServiceData=RGl (HTTP) upl ink=4MByte, downlink=6MByte;
RG2 (Video) uplink=lMByte, downlink=3Mbyte ; RG3 (IM) uplink=3MByte, downlink=5Mbyte〃该用户 RGl业务已产生的上行流量为 4M字节, 下行流量 为 6M字节, RG2业务已产生的上行流量为 1M字节, 下行流量为 3M字节, RG3 业务已产生的上行流量为 3M字节, 下行流量为 5M字节。 RG2 (Video) uplink=lMByte, downlink=3Mbyte; RG3 (IM) uplink=3MByte, downlink=5Mbyte〃 The upstream traffic generated by the user RG1 service is 4M bytes, and the downstream traffic is 6M bytes. The RG2 service has been generated. The upstream traffic is 1 Mbyte, and the downstream traffic is 3 Mbytes. The upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 5 Mbytes.
SGSN话单中, 用户上下行流量、 各业务的上下行流量与 GGSN话单中的 用户上下行流量、 各业务的上下行流量一致。 之后, 执行步骤 53。  In the SGSN CDR, the uplink and downlink traffic of the user and the uplink and downlink traffic of each service are consistent with the uplink and downlink traffic of the user in the GGSN CDR and the uplink and downlink traffic of each service. After that, go to step 53.
如果 SGSN因故障丢弃该 GTP— U包或转发该 GTP— U包失败, 则 SGSN生成 的话单仍然包含有实际转发的各业务的流量信息。 例如, 产生的话单如下: If the SGSN fails to discard the GTP-U packet or forwards the GTP-U packet, the CDRs generated by the SGSN still contain the traffic information of each service actually forwarded. For example, the resulting bill is as follows:
• listOfTrafficVolumes (Uplink=8MByte, Downl ink=12MByte) 〃该用户 已产生的总的上行流量为 8M字节, 下行流量为 12M字节; • listOfTrafficVolumes (Uplink=8MByte, Downl ink=12MByte) 总 The total upstream traffic generated by the user is 8 Mbytes, and the downstream traffic is 12 Mbytes;
•l istOfServiceData=RGl (HTTP) upl ink=4MByte, downlink=6MByte; RG 2 (Video) uplink=lMByte, downlink=2Mbyte ; RG3 (IM) uplink=3MByte, do wnlink=4Mbyte〃该用户 RGl业务已产生的上行流量为 4M字节, 下行流量为 6M字节, RG2业务已产生的上行流量为 1M字节, 下行流量为 2M字节, RG3 业务已产生的上行流量为 3M字节, 下行流量为 4M字节。 从 SGSN产生的话单中可以得到各业务已产生的流量,例如,与上述 GGSN 产生的话单相比较, 可知 SGSN在 RG2业务的下行流量、 RG3业务的下行流量 分别丢失了 1M字节, 从而可以实现对于各个业务的计费, 即实现了精细化的 计费。 另外, 根据 SGSN和 GGSN之间的话单比较可以准确核减流量, 避免了 计费误差, 提高了计费的准确性。 • l istOfServiceData=RGl (HTTP) upl ink=4MByte, downlink=6MByte; RG 2 (Video) uplink=lMByte, downlink=2Mbyte; RG3 (IM) uplink=3MByte, do wnlink=4Mbyte〃The user RGl service has been generated The upstream traffic is 4 Mbytes, the downstream traffic is 6 Mbytes, the upstream traffic generated by the RG2 service is 1 Mbyte, and the downstream traffic is 2 Mbytes. The upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 4 Mbytes. Section. The traffic generated by the SGSN can be obtained from the CDRs generated by the SGSN. For example, compared with the CDRs generated by the GGSN, the downstream traffic of the RG2 service and the downstream traffic of the RG3 service are respectively lost by 1 Mbyte. For the billing of each service, it is refined Billing. In addition, according to the CDR between the SGSN and the GGSN, the traffic can be accurately reduced, the charging error is avoided, and the accuracy of the charging is improved.
步骤 53、 RNC收到 GTP— U包后, 从 GTP— U头部解析得到 IP包的业务的标 识。 SGSN和 RNC之间的 RAB (无线链路) 释放时, RNC向 SGSN发送 RAB分配 响应消息。该 RAB分配响应消息中携带未成功转发的 IP包的流量信息及所属 业务的标识, 例如在 RAB分配响应消息中扩展字段, 在扩展的字段中添加未 成功转发的 IP包的流量信息及所属业务的标识。  Step 53: After receiving the GTP-U packet, the RNC parses the GTP-U header to obtain the identifier of the service of the IP packet. When the RAB (Radio Link) between the SGSN and the RNC is released, the RNC sends an RAB Assignment Response message to the SGSN. The RAB allocation response message carries the traffic information of the unsuccessfully forwarded IP packet and the identifier of the service to be forwarded, for example, an extension field in the RAB allocation response message, and adds the traffic information of the unsuccessfully forwarded IP packet and the service to which the service belongs in the extended field. Logo.
示例性的, 当 RNC成功转发上述 GTP— U包中的 IP包后, 根据解析得到的 业务的标识在 RNC系统内记录该用户的该 IP包的业务的标识及流量信息。当 RNC将所有收到的 GTP— U包中的 IP包都成功转发时, 该 RAB分配响应消息中 扩展字段的值为 0。 示例性的, 当 RNC未成功转发上述 GTP— U包中的 IP包, 如 RNC丢弃或转 发失败时, RNC在该 RAB分配响应消息中扩展字段中添加上述 GTP— U包中的 IP包的流量信息及所属业务的标识。  Exemplarily, after the RNC successfully forwards the IP packet in the GTP-U packet, the RNC system records the service identifier and traffic information of the IP packet of the user according to the identifier of the parsed service. When the RNC successfully forwards all the IP packets in the received GTP-U packet, the value of the extended field in the RAB allocation response message is 0. Exemplarily, when the RNC fails to forward the IP packet in the GTP-U packet, if the RNC fails to drop or forward, the RNC adds the traffic of the IP packet in the GTP-U packet in the extension field of the RAB allocation response message. Information and the identity of the business to which it belongs.
例如, RAB分配响应消息添加了 SGSN和 RNC之间的 RAB释放之前 RNC所 有未成功转发的 IP包的流量信息及所属业务的标识, 一般按 IP包的业务类 型来记录未成功转发的流量, 如:  For example, the RAB allocation response message adds the traffic information of the IP packets that are not successfully forwarded by the RNC before the RAB release between the SGSN and the RNC, and the identifier of the service to which the service belongs. Generally, the traffic that is not successfully forwarded is recorded according to the service type of the IP packet, for example, :
业务 RG1 X兆字节, 业务 RG2 Y兆字节。  Service RG1 X megabytes, service RG2 Y megabytes.
RNC将未成功发送给终端的 IP包的流量信息及所属业务的标识通告 RAB 分配响应消息告知 SGSN, 以用于 SGSN侧转发流量的正确核减。 The RNC informs the SGSN of the traffic information of the IP packet that is not successfully sent to the terminal and the identity advertisement RAB assignment response message of the service to be used for correct deduction of the forwarding traffic of the SGSN side.
SGSN收到 RNC返回的 RAB分配响应消息后, 将未成功转发的 IP包的流 量信息及所属业务的标识添加到生成的话单中, SGSN扣除相应流量及业务流 量, 生成结束话单。 After receiving the RAB allocation response message returned by the RNC, the SGSN adds the traffic information of the unsuccessfully forwarded IP packet and the identity of the service to the generated CDR, and the SGSN deducts the corresponding traffic and service traffic to generate an end CDR.
核减转发流量时, 由于 SGSN保存有 SGSN转发的所有下行流量, 因此减 去 RAB分配响应消息中的未成功发送的流量, 得到成功发送的流量。 图 6为本发明另一个实施例提供的数据业务流量记录方法的示意图。 本 实施例与上述实施例类似, 不同之处在于, 本实施例的应用场景为 GSM网络, 在 SGSN的话单中增加了业务数据列表 (l istOfServiceData) 字段, 用来填 充各业务的流量信息。 When the forwarding traffic is decremented, the SGSN saves all the downlink traffic forwarded by the SGSN, so the unsuccessfully sent traffic in the RAB allocation response message is subtracted, and the successfully sent traffic is obtained. FIG. 6 is a schematic diagram of a data service traffic recording method according to another embodiment of the present invention. This embodiment is similar to the foregoing embodiment, except that the application scenario of the embodiment is a GSM network, and a service data list (l istOfServiceData) field is added to the CDR of the SGSN, which is used to fill in Charge traffic information for each business.
GSM网络中, SGSN和 GGSN分别是核心网用来转发用户 IP报文的网元。 核心网中, 用户 IP包通过 GTP— U协议封装, 即将 IP包封装为 GTP— U包, 需 要扩展 GTP— U包的头部, 如增加 RG字段, 以传递业务的标识。 以下行 IP包的传递过程为例, 用于数据业务计费的流量统计过程包括: 步骤 61、 GGSN接收到某一用户的下行 IP包后, 通过 DPI解析得到该下 行 IP包的业务的标识, 将该下行 IP包封装为 GTP— U包。 并且, GGSN按照传 统的流程向下游网络节点设备 SGSN转发该 GTP—U包。其中, 业务解析详见上 述步骤 41的说明, IP包的业务的标识至少包含该 IP包的业务类型和流量等 信息。  In the GSM network, the SGSN and the GGSN are the network elements used by the core network to forward user IP packets. In the core network, the user IP packet is encapsulated by the GTP-U protocol, that is, the IP packet is encapsulated into a GTP-U packet, and the header of the GTP-U packet needs to be extended, for example, an RG field is added to transmit the service identifier. The following is an example of the process of transmitting the IP packet. The process of collecting the traffic of the data packet includes: Step 61: After receiving the downlink IP packet of the user, the GGSN obtains the identifier of the service of the downlink IP packet by using the DPI. The downlink IP packet is encapsulated into a GTP-U packet. Moreover, the GGSN forwards the GTP-U packet to the downstream network node device SGSN according to a conventional procedure. For details, refer to the description in step 41 above. The identifier of the service of the IP packet contains at least information such as the service type and traffic of the IP packet.
在封装此 IP包的 GTP— U的头部, 增加有 RG字段, 该 RG字段填充了业务 的标识。  In the header of the GTP-U encapsulating this IP packet, an RG field is added, and the RG field is filled with the identity of the service.
GGSN根据转发结果产生话单。 例如, 只要 GGSN转发的流量达到一定数 量, 比如 4M字节, 那么 GGSN就可以生成一张中间话单, 记录转发的流量, 这样避免用户长时间使用业务而不产生话单的情况, 避免巨额流量话单的风 险。  The GGSN generates a bill based on the forwarding result. For example, as long as the GGSN forwards a certain amount of traffic, for example, 4 Mbytes, the GGSN can generate an intermediate CDR to record the forwarded traffic. This prevents users from using the service for a long time without generating bills, and avoids huge traffic. The risk of CDRs.
GGSN产生的话单不仅包含用户总的上下行流量, 还包含各业务的上下行 流量。 例如, 产生如下话单:  The CDRs generated by the GGSN contain not only the total uplink and downlink traffic of the user but also the uplink and downlink traffic of each service. For example, the following order is generated:
•listOfTrafficVolumes (Uplink=8MByte, Downlink=14MByte)〃该用户 已产生的总的上行流量为 8M字节, 下行流量为 14M字节;  • listOfTrafficVolumes (Uplink=8MByte, Downlink=14MByte) 总 The total upstream traffic generated by the user is 8 Mbytes, and the downstream traffic is 14 Mbytes;
•l istOfServiceData=RGl (HTTP) upl ink=4MByte, downlink=6MByte; RG 2 (Video) uplink=lMByte, downlink=3Mbyte ; RG3 (IM) uplink=3MByte, do wnlink=5Mbyte〃该用户 RGl业务已产生的上行流量为 4M字节, 下行流量为 6M字节, RG2业务已产生的上行流量为 1M字节, 下行流量为 3M字节, RG3 业务已产生的上行流量为 3M字节, 下行流量为 5M字节。 步骤 62、 SGSN收到该 GTP— U包后, 解析得到 IP包, 以及该 IP包的业务 的标识, 并且, 由于 SGSN和 BSC/PCU之间采用 BSSGP方式封装传递用户 IP 包, 因此, SGSN将解析得到的该 IP 包封装为 BSSGP 包, 转发给基站设备
Figure imgf000025_0001
• l istOfServiceData=RGl (HTTP) upl ink=4MByte, downlink=6MByte; RG 2 (Video) uplink=lMByte, downlink=3Mbyte; RG3 (IM) uplink=3MByte, do wnlink=5Mbyte〃The user RGl service has been generated The upstream traffic is 4 Mbytes, the downstream traffic is 6 Mbytes, the upstream traffic generated by the RG2 service is 1 Mbyte, and the downstream traffic is 3 Mbytes. The upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 5 Mbytes. Section. Step 62: After receiving the GTP-U packet, the SGSN parses the IP packet and the identifier of the service of the IP packet, and because the SGSN and the BSC/PCU encapsulate the user IP packet by using the BSSGP manner, the SGSN will The parsed IP packet is encapsulated into a BSSGP packet and forwarded to the base station device.
Figure imgf000025_0001
示例性的, 由于 BSC/PCU既不产生话单, 也不向核心网通知未成功发送 的流量, 所以 SGSN无需向 BSC/PCU发送业务的标识, 即 BSSGP包中可不携带 IP包的业务的标识。  For example, the SGSN does not need to send the identifier of the service to the BSC/PCU, that is, the identifier of the service that does not carry the IP packet in the BSSGP packet, because the BSC/PCU does not generate the CDR and does not notify the core network of the traffic that is not successfully sent. .
示例性的, SGSN也可以向 BSC/PCU发送业务的标识, 以使 BSC/PCU上报 其转发结果。  Exemplarily, the SGSN may also send an identifier of the service to the BSC/PCU, so that the BSC/PCU reports the forwarding result.
只要 SGSN转发的流量达到一定数量, 比如 4M字节, 那么 SGSN就可以生 成一张中间话单, 记录转发的流量, 这样避免用户长时间使用业务而不产生 话单的情况, 避免巨额流量话单的风险。  As long as the SGSN forwards a certain amount of traffic, for example, 4 Mbytes, the SGSN can generate an intermediate CDR to record the forwarded traffic. This prevents users from using the service for a long time without generating bills, and avoids huge traffic bills. risks of.
SGSN产生的话单包含该用户已产生的总的上下行流量以及该用户各业务 已产生的上下行流量, 这些流量信息记录在扩展的 listOfServiceData字段 中。其中,该用户各业务已产生的上下行流量根据 GTP— U包转发结果及 GTP— U 包头部的业务的标识得到。  The CDRs generated by the SGSN include the total uplink and downlink traffic generated by the user and the uplink and downlink traffic generated by the services of the user. The traffic information is recorded in the extended listOfServiceData field. The uplink and downlink traffic generated by each user of the user is obtained according to the GTP-U packet forwarding result and the service identifier of the GTP-U packet header.
若 BSSGP包成功转发, SGSN在系统内记录该 BSSGP包中 IP包的业务的 标识, 最终在 SGSN CDR话单扩展的 l istOfServiceData字段中, 记录 SGSN 对该用户的各业务对应成功转发的流量, 如:  If the BSSGP packet is successfully forwarded, the SGSN records the service identifier of the IP packet in the BSSGP packet in the system, and finally records the traffic successfully forwarded by the SGSN to the service of the user in the istOfServiceData field of the CDR CDR CDR extension, such as :
•l istOfTrafficVolumes (Upl ink=8MByte, Downlink=14MByte) 〃该用 户已产生的总的上行流量为 8M字节, 下行流量为 14M字节;  • l istOfTrafficVolumes (Upl ink=8MByte, Downlink=14MByte) 总 The total upstream traffic generated by this user is 8 Mbytes, and the downstream traffic is 14 Mbytes;
• listOfServiceData=RGl (HTTP) upl ink=4MByte, downlink=6MByte; RG2 (Video) uplink=lMByte, downlink=3Mbyte ; RG3 (IM) uplink=3MByte, downlink=5Mbyte〃该用户 RGl业务已产生的上行流量为 4M字节, 下行流量 为 6M字节, RG2业务已产生的上行流量为 1M字节, 下行流量为 3M字节, RG3 业务已产生的上行流量为 3M字节, 下行流量为 5M字节。  • listOfServiceData=RGl (HTTP) upl ink=4MByte, downlink=6MByte; RG2 (Video) uplink=lMByte, downlink=3Mbyte; RG3 (IM) uplink=3MByte, downlink=5Mbyte〃 The upstream traffic generated by the user RG1 service is 4 Mbytes, the downstream traffic is 6 Mbytes, the upstream traffic generated by the RG2 service is 1 Mbyte, and the downstream traffic is 3 Mbytes. The upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 5 Mbytes.
SGSN话单中, 用户上下行流量、 各业务的上下行流量与 GGSN话单中的 用户上下行流量、 各业务的上下行流量一致。  In the SGSN CDR, the uplink and downlink traffic of the user and the uplink and downlink traffic of each service are consistent with the uplink and downlink traffic of the user in the GGSN CDR and the uplink and downlink traffic of each service.
如果 SGSN因故障丢弃该 GTP— U包或转发该 GTP— U包失败, 则 SGSN生成 的话单仍然包含有各业务的流量信息。 例如, 产生的话单如下:  If the SGSN fails to discard the GTP-U packet or forwards the GTP-U packet, the CDRs generated by the SGSN still contain traffic information of each service. For example, the resulting bill is as follows:
•l istOfTrafficVolumes (Upl ink=8MByte, Downlink=12MByte) 〃该用 户已产生的总的上行流量为 8M字节, 下行流量为 12M字节; • l istOfTrafficVolumes (Upl ink=8MByte, Downlink=12MByte) The total upstream traffic generated by the user is 8 Mbytes, and the downstream traffic is 12 Mbytes;
•l istOfServiceData=RGl (HTTP) upl ink=4MByte, downlink=6MByte; RG 2 (Video) uplink=lMByte, downlink=2Mbyte ; RG3 (IM) uplink=3MByte, do wnlink=4Mbyte〃该用户 RGl业务已产生的上行流量为 4M字节, 下行流量为 6M字节, RG2业务已产生的上行流量为 1M字节, 下行流量为 2M字节, RG3 业务已产生的上行流量为 3M字节, 下行流量为 4M字节。  • l istOfServiceData=RGl (HTTP) upl ink=4MByte, downlink=6MByte; RG 2 (Video) uplink=lMByte, downlink=2Mbyte; RG3 (IM) uplink=3MByte, do wnlink=4Mbyte〃The user RGl service has been generated The upstream traffic is 4 Mbytes, the downstream traffic is 6 Mbytes, the upstream traffic generated by the RG2 service is 1 Mbyte, and the downstream traffic is 2 Mbytes. The upstream traffic generated by the RG3 service is 3 Mbytes, and the downstream traffic is 4 Mbytes. Section.
从 SGSN产生的话单中可以得到各业务已产生的流量,例如,与上述 GGSN 产生的话单相比较, 可知 SGSN在 RG2业务的下行流量、 RG3业务的下行流量 分别丢失了 1M字节, 从而准确地核减了转发流量, 避免了计费误差。 本实施例中, SGSN根据 GTP— U头部的 RG字段记录的解业务的标识, 最 终在 SGSN SCDR话单中扩展 listOfServiceData字段, 记录 SGSN对该用户的 各业务和对应成功转发的流量, 实现了基于业务的计费, 满足了更精细化计 费的需求。 同时也实现了核心网元丢包情况下业务计费流量的正确核减, 提 高了计费的准确度。  The traffic generated by the SGSN can be obtained from the CDRs generated by the SGSN. For example, compared with the CDRs generated by the GGSN, the downstream traffic of the RG2 service and the downstream traffic of the RG3 service are respectively lost by 1 Mbyte, thereby accurately The forwarding traffic is reduced, and the charging error is avoided. In this embodiment, the SGSN finally extends the listOfServiceData field in the SGSN SCDR bill according to the identifier of the solution service recorded in the RG field of the GTP-U header, and records the traffic of the SGSN to the user and the corresponding successfully forwarded traffic. Service-based billing meets the need for more granular billing. At the same time, the correct deduction of the service billing traffic in the case of core network element packet loss is achieved, and the accuracy of billing is improved.
图 7为本发明另一实施例提供的网络节点设备的示意图。 本实施例提供 的网络节点设备用于实现图 1所示的方法, 可为 SGSN、 SGW等, 包括: 接收 单元 71、 发送单元 72和流量获取单元 73。 接收单元 71, 用于接收数据网关发送的下行数据以及所述下行数据所属 业务的标识;  FIG. 7 is a schematic diagram of a network node device according to another embodiment of the present invention. The network node device provided in this embodiment is used to implement the method shown in FIG. 1, and may be an SGSN, an SGW, or the like, and includes: a receiving unit 71, a sending unit 72, and a traffic acquiring unit 73. The receiving unit 71 is configured to receive downlink data sent by the data gateway and an identifier of the service to which the downlink data belongs;
发送单元 72, 用于通过基站设备转发所述接收单元 71接收的下行数据 至用户设备;  The sending unit 72 is configured to forward the downlink data received by the receiving unit 71 to the user equipment by using the base station device;
流量获取单元 73, 用于根据转发结果, 基于所述接收单元 71接收的所 述业务的标识, 获得所述业务对应的转发成功的所述下行数据的流量信息。 示例性的, 转发结果可以是网络节点本地的转发结果、 也可以是基站设备的 转发结果, 或者是网络节点本地的转发结果和基站设备的转发结果。  The traffic obtaining unit 73 is configured to obtain, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, based on the identifier of the service received by the receiving unit 71. For example, the forwarding result may be a local forwarding result of the network node, or may be a forwarding result of the base station device, or a forwarding result local to the network node and a forwarding result of the base station device.
所述流量获取单元 73可具体用于根据所述网络节点本地的转发结果,基 于所述业务的标识, 获得所述业务对应的所述网络节点本地转发成功的下行 数据的流量信息, 其中所述业务对应的所述网络节点本地转发成功的下行数 据的流量信息作为所述业务对应的转发成功的下行数据的流量信息。 The traffic obtaining unit 73 may be configured to obtain, according to the forwarding result of the network node, the traffic information of the downlink data successfully forwarded by the network node corresponding to the service, according to the identifier of the service, where The number of downlinks successfully forwarded by the network node corresponding to the service The traffic information is used as the traffic information of the downlink data successfully forwarded by the service.
或者,所述流量获取单元 73可具体用于根据所述网络节点本地的转发结 果和所述基站设备的转发失败的结果, 基于所述业务的标识, 获得所述业务 对应的转发成功的下行数据的流量信息。  Alternatively, the traffic obtaining unit 73 may be specifically configured to obtain downlink data successfully forwarded by the service according to the forwarding result of the network node and the result of the forwarding failure of the base station device, based on the identifier of the service. Traffic information.
进一步, 所述发送单元 72还用于发送所述业务的标识至所述基站设备; 所述接收单元 71 还用于接收所述基站设备发送的所述基站设备的转发 失败的结果, 所述基站设备的转发失败的结果包括所述基站设备转发失败的 下行数据的流量信息和所述业务的标识;  Further, the sending unit 72 is further configured to send an identifier of the service to the base station device, where the receiving unit 71 is further configured to receive a result of the forwarding failure of the base station device sent by the base station device, where the base station The result of the forwarding failure of the device includes the traffic information of the downlink data that the base station device forwards failed and the identifier of the service;
所述流量获取单元 73具体用于根据所述网络节点本地的转发结果,基于 所述业务的标识, 获得所述业务对应的所述网络节点本地转发成功的下行数 据的流量信息; 根据所述业务对应的所述网络节点本地转发成功的下行数据 的流量信息、 所述接收单元接收的所述基站设备转发失败的下行数据的流量 信息, 基于所述业务的标识, 获得所述业务对应的转发成功的下行数据的流 量信息。  The traffic obtaining unit 73 is configured to obtain, according to the forwarding result of the network node, the traffic information of the downlink data successfully forwarded by the network node corresponding to the service, according to the identifier of the service; Corresponding the traffic information of the downlink data that is successfully forwarded by the network node, and the traffic information of the downlink data that the base station device fails to forward, which is received by the receiving unit, and obtains the forwarding success corresponding to the service based on the identifier of the service. Traffic information for downstream data.
作为一种可选的实现方式, 所述流量获取单元 73可包括: 第一流量获取子单元, 用于根据所述网络节点本地的转发结果, 基于所 述业务的标识, 获得所述业务对应的所述网络节点本地转发成功的下行数据 的流量信息;  As an optional implementation manner, the traffic obtaining unit 73 may include: a first traffic acquiring sub-unit, configured to obtain, according to the forwarding result of the network node, a service corresponding to the service according to the identifier of the service Transmitting, by the network node, traffic information of successful downlink data locally;
第二流量获取子单元, 用于根据第一流量获取子单元获得的所述业务对 应的所述网络节点本地转发成功的下行数据的流量信息、 所述接收单元接收 的所述基站设备转发失败的下行数据的流量信息, 基于所述业务的标识, 获 得所述业务对应的转发成功的下行数据的流量信息。  a second traffic acquisition sub-unit, configured to: according to the traffic information of the downlink data that is successfully forwarded by the network node corresponding to the service that is obtained by the first traffic acquisition sub-unit, and the forwarding failure of the base station device that is received by the receiving unit The traffic information of the downlink data is obtained, according to the identifier of the service, the traffic information of the downlink data that is successfully forwarded by the service is obtained.
或者,所述流量获取单元 73可具体用于根据所述基站设备的转发成功的 结果, 基于所述业务的标识, 获得所述业务对应的转发成功的下行数据的流 量信息。  Alternatively, the traffic obtaining unit 73 may be configured to obtain, according to the result of the forwarding success of the base station device, the traffic information of the downlink data that is successfully forwarded by the service, according to the identifier of the service.
进一步, 所述发送单元 72 还可用于发送所述业务的标识至所述基站设 备;  Further, the sending unit 72 is further configured to send an identifier of the service to the base station device;
所述接收单元 71 还可用于接收所述基站设备发送的所述基站设备的转 发成功的结果, 所述基站设备的转发成功的结果包括所述基站设备转发成功 的下行数据的流量信息和所述业务的标识; The receiving unit 71 is further configured to receive the rotation of the base station device sent by the base station device As a result of the successful transmission, the result of the successful forwarding of the base station device includes the traffic information of the downlink data that the base station device forwards successfully and the identifier of the service;
所述流量获取单元 73 可具体用于根据所述接收单元接收的所述基站设 备转发成功的下行数据的流量信息, 基于所述业务的标识, 获得所述业务对 应的转发成功的下行数据的流量信息。  The traffic obtaining unit 73 may be configured to obtain, according to the identifier of the service, the traffic of the downlink data that is successfully forwarded according to the service, according to the traffic information of the downlink data that is successfully forwarded by the base station device. information.
示例性的,所述发送单元 72发送的所述业务的标识可以是封装在隧道报 文中发送至所述基站设备的, 所述隧道报文包括所述下行数据。 本实施例提供的下游网络节点设备通过接收单元接收数据网关发送的下 行数据及下行数据所属的业务的标识, 并根据下行数据的转发结果及接收的 业务的标识, 获得业务对应的下行数据中转发成功的数据包的流量信息, 可 以实现基于业务的计费, 能够实现更精细化的计费。 另外, 数据网关及其下 游网络节点均能够获得各业务的流量转发信息, 从而能够比较各个节点生成 的基于业务的话单, 实现基于业务的流量信息的核减, 能够基于各个业务获 得更精确的计费结果。例如数据网关的下游网络节点设备在成功转发该 IP包 的情况下, 将该 IP包的业务的标识生成到话单中, 从而能够在生成的话单中 记录各业务的流量转发信息, 实现转发流量的准确核减, 达到准确计费的目 的。  For example, the identifier of the service sent by the sending unit 72 may be encapsulated in a tunnel message and sent to the base station device, where the tunnel message includes the downlink data. The downstream network node device provided by the embodiment receives the downlink data sent by the data gateway and the identifier of the service to which the downlink data belongs, and obtains the downlink data corresponding to the service according to the forwarding result of the downlink data and the identifier of the received service. The traffic information of successful data packets can implement service-based charging, enabling more refined charging. In addition, the data gateway and its downstream network nodes can obtain the traffic forwarding information of each service, so that the service-based CDRs generated by each node can be compared, the service-based traffic information can be reduced, and more accurate charging can be obtained based on each service. result. For example, if the downstream network node device of the data gateway successfully forwards the IP packet, the identifier of the service of the IP packet is generated into the CDR, so that the traffic forwarding information of each service can be recorded in the generated CDR, and the forwarding traffic is realized. Accurate deduction to achieve accurate billing purposes.
图 8为本发明另一实施例提供的数据网关的示意图。 本实施例提供的数 据网关可为 PGW、 GGSN等, 用于实现图 2所示的方法, 包括: 接收单元 81、 业务标识获取单元 82和发送单元 83。 接收单元 81, 用于接收下行数据; 业务标识获取单元 82, 用于获取所述接收单元接收的所述下行数据所属 业务的标识;  FIG. 8 is a schematic diagram of a data gateway according to another embodiment of the present invention. The data gateway provided in this embodiment may be a PGW, a GGSN, or the like, and is used to implement the method shown in FIG. 2, and includes: a receiving unit 81, a service identifier acquiring unit 82, and a sending unit 83. The receiving unit 81 is configured to receive downlink data, and the service identifier acquiring unit 82 is configured to acquire an identifier of the service to which the downlink data is received by the receiving unit.
发送单元 83, 用于发送所述接收单元 81接收的下行数据和所述下行数 据所属的业务的标识至下游网络节点, 以使所述下游网络节点转发所述下行 数据至用户设备, 并根据转发结果, 基于所述业务的标识, 获得所述业务对 应的转发成功的所述下行数据的流量信息。  The sending unit 83 is configured to send the downlink data received by the receiving unit 81 and the identifier of the service to which the downlink data belongs to the downstream network node, so that the downstream network node forwards the downlink data to the user equipment, and according to the forwarding As a result, based on the identifier of the service, the traffic information of the downlink data that is successfully forwarded by the service is obtained.
进一步,所述发送单元 83可具体用于通过将所述下行数据的数据包和所 述业务的标识封装在隧道报文中, 发送所述下行数据和所述业务的标识至所 述下游网络节点。 本实施例提供的数据网关, 通过发送单元将下行数据及该下行数据所属 的业务的标识发送到下游网络节点设备, 使得下游网络节点设备能够得到下 行数据所属的业务的标识, 使得数据网关的下游网络节点设备也能够获知具 体的业务的流量转发信息, 可以实现基于业务的精细化的计费, 另外通过与 数据网关上记录的转发的流量信息进行比对, 可以实现转发流量的核减, 使 准确计费更加精确。 Further, the sending unit 83 may be specifically configured to use the data packet and the downlink data The identifier of the service is encapsulated in a tunnel message, and the downlink data and the identifier of the service are sent to the downstream network node. The data gateway provided in this embodiment sends the downlink data and the identifier of the service to which the downlink data belongs to the downstream network node device by using the sending unit, so that the downstream network node device can obtain the identifier of the service to which the downlink data belongs, so that the downstream of the data gateway The network node device can also obtain the traffic forwarding information of the specific service, and can implement the fine-grained charging based on the service. In addition, by comparing with the forwarded traffic information recorded on the data gateway, the forwarding traffic can be reduced and accurate. Billing is more accurate.
图 9为本发明另一实施例提供的基站设备的示意图。 本实施例提供的基 站设备可为 BSC、 eNodeB, PCU、 RNC等, 用于实现图 3所示的方法, 包括: 接收单元 91和发送单元 92。 接收单元 91, 用于接收上游网络节点发送的下行数据以及所述下行数据 所属业务的标识; 其中, 上游网络节点为数据网关的下游网络节点。  FIG. 9 is a schematic diagram of a base station device according to another embodiment of the present invention. The base station device provided in this embodiment may be a BSC, an eNodeB, a PCU, an RNC, etc., for implementing the method shown in FIG. 3, and includes: a receiving unit 91 and a sending unit 92. The receiving unit 91 is configured to receive downlink data sent by the upstream network node and an identifier of the service to which the downlink data belongs, where the upstream network node is a downstream network node of the data gateway.
发送单元 92, 用于转发所述接收单元 91接收的下行数据至用户设备; 所述发送单元 92, 还用于发送所述基站设备的转发结果至所述上游网络 节点, 以使所述上游网络节点根据所述基站设备的转发结果, 基于所述业务 的标识, 获得所述业务对应的转发成功的下行数据的流量信息; 其中所述基 站设备的转发结果包括所述业务的标识和以下流量信息之一: 所述基站设备 转发成功的下行数据的流量信息和所述基站设备转发失败的下行数据的流量 信息。 本实施例提供的基站设备通过接收单元接收下行数据及该下行数据所属 的业务的标识, 并通过发送单元向上游网络节点发送转发结果, 使得基站设 备的上游网络节点设备能够获知各个业务对应的成功转发至用户设备的数据 的流量信息, 进而可以实现精细化的计费。 另外也可以使得上游网络节点生 成的话单中正确核减各个业务对应的转发成功的数据的流量信息, 能够实现 业务的准确计费。  The sending unit 92 is configured to forward the downlink data received by the receiving unit 91 to the user equipment, and the sending unit 92 is further configured to send the forwarding result of the base station device to the upstream network node, so that the upstream network And the node obtains, according to the forwarding result of the base station device, traffic information of the downlink data that is successfully forwarded according to the service, where the forwarding result of the base station device includes the identifier of the service and the following traffic information. The base station device forwards the traffic information of the successfully downlink data and the traffic information of the downlink data that the base station device forwards the failure. The base station device provided by the embodiment receives the downlink data and the identifier of the service to which the downlink data belongs, and sends the forwarding result to the upstream network node by using the sending unit, so that the upstream network node device of the base station device can learn the success of each service. The traffic information of the data forwarded to the user equipment, thereby enabling fine-grained charging. In addition, the traffic information of the successfully forwarded data corresponding to each service can be correctly verified in the CDRs generated by the upstream network node, so that accurate charging of the service can be realized.
图 10为本发明另一实施例提供的数据业务的处理系统的示意图,本实施 例所示的系统, 可用于实现图 4〜图 6中所示的方法, 示例性的, 该系统可以 包括数据网关 101、 网络节点设备 102; 示例性的, 该系统可以包括网络节点 设备 102和基站设备 103; 示例性的, 该系统可以包括数据网关 101, 网络节 点设备 102和基站设备 103。 其中, 数据网关 101可为图 8所示的设备, 网 络节点设备 102为图 7所示实施例中的任意一种设备, 基站设备 103可为图 9所示实施例中给出的设备。 FIG. 10 is a schematic diagram of a data processing system according to another embodiment of the present invention. The system shown in this embodiment may be used to implement the method shown in FIG. 4 to FIG. 6. For example, the system may be Including data gateway 101, network node device 102; Illustratively, the system can include network node device 102 and base station device 103; Illustratively, the system can include data gateway 101, network node device 102, and base station device 103. The data gateway 101 can be the device shown in FIG. 8, and the network node device 102 is any one of the embodiments shown in FIG. 7. The base station device 103 can be the device given in the embodiment shown in FIG.
示例性的, 数据网关 101向网络节点设备 102发送的报文如 GTP— U包中 携带有 IP包的业务的标识,网络节点设备 102向基站设备 103发送的报文如 GTP— U包中可携带也可不携带 IP包的业务的标识。  Exemplarily, the packet sent by the data gateway 101 to the network node device 102, such as the identifier of the service carrying the IP packet in the GTP-U packet, and the packet sent by the network node device 102 to the base station device 103, such as the GTP-U packet. An identifier that carries a service that does not carry an IP packet.
示例性的,当网络节点设备 102向基站设备 103发送的报文中携带 IP包 的业务的标识时, 基站设备 103还要向网络节点设备 102返回未成功转发的 IP包的业务的标识, 如通过上述 RAB分配响应消息发送未成功转发的 IP包 的业务的标识。 网络节点设备 102根据基站设备 103发送的未成功转发的 IP 包的业务的标识记录各业务实际的转发流量。  Exemplarily, when the packet sent by the network node device 102 to the base station device 103 carries the identifier of the service of the IP packet, the base station device 103 also returns the identifier of the service of the IP packet that is not successfully forwarded to the network node device 102, such as The identifier of the service of the unsuccessfully forwarded IP packet is sent through the RAB allocation response message. The network node device 102 records the actual forwarding traffic of each service according to the identity of the service of the unsuccessfully forwarded IP packet sent by the base station device 103.
该系统的工作机制和包含的设备的详细说明请参考图 4-图 6所示的实施 例, 在此不作赘述。 本发明实施例还给出一种计算机程序产品, 该计算机程序产品包括计算 机可读介质, 该可读介质包括第一组程序代码, 用于执行上述图 1所示方法 中的步骤:  Refer to the embodiment shown in Figure 4-6 for a detailed description of the working mechanism of the system and the included devices, and details are not described herein. The embodiment of the present invention further provides a computer program product comprising a computer readable medium, the readable medium comprising a first set of program code for performing the steps of the method of Figure 1 above:
网络节点接收数据网关发送的下行数据以及所述下行数据所属业务的标 识;  The network node receives the downlink data sent by the data gateway and the identifier of the service to which the downlink data belongs;
所述网络节点通过基站设备转发所述下行数据至用户设备;  Transmitting, by the base station device, the downlink data to the user equipment by using the base station device;
所述网络节点根据转发结果, 基于所述业务的标识, 获得所述业务对应 的转发成功的下行数据的流量信息。  The network node obtains, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, based on the identifier of the service.
进一步, 所述网络节点根据转发结果, 基于所述业务的标识, 获得所述 业务对应的转发成功的下行数据的流量信息, 包括:  Further, the network node obtains, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, based on the identifier of the service, and includes:
所述网络节点根据所述网络节点本地的转发结果,基于所述业务的标识, 获得所述业务对应的所述网络节点本地转发成功的下行数据的流量信息, 其 中所述业务对应的所述网络节点本地转发成功的下行数据的流量信息作为所 述业务对应的转发成功的下行数据的流量信息。 进一步, 所述网络节点根据转发结果, 基于所述业务的标识, 获得所述 业务对应的转发成功的下行数据的流量信息, 包括: And the network node obtains, according to the forwarding result of the network node, the traffic information of the downlink data that is successfully forwarded by the network node corresponding to the service, according to the identifier of the service, where the service corresponds to the network The node directly forwards the traffic information of the downlink data successfully as the location The traffic information of the downlink data that is successfully forwarded corresponding to the service. Further, the network node obtains, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, based on the identifier of the service, and includes:
所述网络节点根据所述网络节点本地的转发结果和所述基站设备的转发 失败的结果, 基于所述业务的标识, 获得所述业务对应的转发成功的下行数 据的流量信息。  And the network node obtains the traffic information of the downlink data successfully forwarded by the service, according to the forwarding result of the network node and the result of the forwarding failure of the base station device, based on the identifier of the service.
进一步, 还包括: 所述网络节点发送所述业务的标识至所述基站设备;  Further, the method further includes: the network node sending an identifier of the service to the base station device;
所述网络节点接收所述基站设备发送的所述基站设备的转发失败的结 果, 所述基站设备的转发失败的结果包括所述基站设备转发失败的下行数据 的流量信息和所述业务的标识;  Receiving, by the network node, a result of the forwarding failure of the base station device sent by the base station device, where the result of the forwarding failure of the base station device includes: the flow rate information of the downlink data that the base station device fails to forward and the identifier of the service;
所述网络节点根据所述网络节点本地的转发结果和所述基站设备的转发 结果, 基于所述业务的标识, 获得所述业务对应的转发成功的下行数据的流 量信息, 包括:  And the network node obtains, according to the forwarding result of the network node and the forwarding result of the base station, the traffic information of the downlink data that is successfully forwarded by the service, according to the identifier of the service, including:
所述网络节点根据所述网络节点本地的转发结果,基于所述业务的标识, 获得所述业务对应的所述网络节点本地转发成功的下行数据的流量信息; 所述网络节点根据所述业务对应的所述网络节点本地转发成功的下行数 据的流量信息、 所述基站设备转发失败的下行数据的流量信息, 基于所述业 务的标识, 获得所述业务对应的转发成功的下行数据的流量信息。  The network node obtains, according to the forwarding result of the network node, the traffic information of the downlink data successfully forwarded by the network node corresponding to the service, according to the identifier of the service; the network node corresponds to the service according to the service The network node forwards the traffic information of the successfully downlink data and the traffic information of the downlink data that the base station device forwards, and obtains the traffic information of the downlink data that is successfully forwarded by the service based on the identifier of the service.
进一步, 所述网络节点根据转发结果, 基于所述业务的标识, 获得所述 业务对应的转发成功的下行数据的流量信息, 包括:  Further, the network node obtains, according to the forwarding result, the traffic information of the downlink data that is successfully forwarded by the service, based on the identifier of the service, and includes:
所述网络节点根据所述基站设备的转发成功的结果, 基于所述业务的标 识, 获得所述业务对应的转发成功的下行数据的流量信息。  And the network node obtains the traffic information of the downlink data that is successfully forwarded by the service, according to the result of the forwarding of the base station device, based on the identifier of the service.
进一步, 还包括:  Further, it also includes:
所述网络节点发送所述业务的标识至所述基站设备; 所述网络节点接收所述基站设备发送的所述基站设备的转发成功的结 果, 所述基站设备的转发成功的结果包括所述基站设备转发成功的下行数据 的流量信息和所述业务的标识; The network node sends the identifier of the service to the base station device; the network node receives a result of successful forwarding of the base station device sent by the base station device, and the result of successful forwarding of the base station device includes the base station The device forwards successful downlink data. Traffic information and the identity of the service;
所述网络节点根据所述基站设备的转发成功的结果, 基于所述业务的标 识, 获得所述业务对应的转发成功的下行数据的流量信息, 包括:  And obtaining, according to the result of the successful forwarding of the base station device, the network node, according to the identifier of the service, the traffic information of the downlink data that is successfully forwarded by the service, including:
所述网络节点根据所述基站设备转发成功的下行数据的流量信息, 基于 所述业务的标识, 获得所述业务对应的转发成功的下行数据的流量信息。  And the network node obtains the traffic information of the downlink data that is successfully forwarded according to the service, according to the traffic information of the downlink data that is successfully forwarded by the base station device.
进一步, 所述业务的标识是封装在隧道报文中发送至所述基站设备的, 所述隧道报文包括所述下行数据。  Further, the identifier of the service is encapsulated in a tunnel message and sent to the base station device, and the tunnel message includes the downlink data.
具体的说明可以参考如图 1、 图 4-图 6所示的实施例, 在此不作赘述。 另外, 本发明实施例还给出另一种计算机程序产品, 该计算机程序产品 包括计算机可读介质, 该可读介质包括第二组程序代码, 用于执行上述图 2 所示方法中的步骤: 数据网关接收下行数据;  For specific description, reference may be made to the embodiments shown in FIG. 1 and FIG. 4 to FIG. 6, which are not described herein. In addition, an embodiment of the present invention further provides another computer program product, the computer program product comprising a computer readable medium, the readable medium comprising a second set of program code, for performing the steps in the method shown in FIG. 2: The data gateway receives downlink data;
所述数据网关获取所述下行数据所属业务的标识;  Obtaining, by the data gateway, an identifier of a service to which the downlink data belongs;
所述数据网关发送所述下行数据和所述业务的标识至下游网络节点, 以 使所述下游网络节点转发所述下行数据至用户设备, 并根据转发结果, 基于 所述业务的标识, 获得所述业务对应的转发成功的下行数据的流量信息。  The data gateway sends the downlink data and the identifier of the service to the downstream network node, so that the downstream network node forwards the downlink data to the user equipment, and obtains the identifier based on the identifier of the service according to the forwarding result. The traffic information of the downlink data that is successfully forwarded corresponding to the service.
进一步, 所述数据网关发送所述下行数据和所述业务标识至下游网络节点,包括: 所述数据网关通过将所述下行数据和所述业务的标识封装在隧道报文 中, 发送所述下行数据和所述业务的标识至所述下游网络节点。  Further, the data gateway sends the downlink data and the service identifier to the downstream network node, where the data gateway encapsulates the downlink data and the identifier of the service in a tunnel packet, and sends the downlink Data and an identification of the service to the downstream network node.
具体的说明可以参考如图 2、 图 4-图 6所示的实施例, 在此不作赘述。 另外, 本发明实施例还给出另一种计算机程序产品, 该计算机程序产品 包括计算机可读介质, 该可读介质包括第二组程序代码, 用于执行上述图 3 所示方法中的步骤:  For specific description, reference may be made to the embodiments shown in FIG. 2, FIG. 4 to FIG. 6, and details are not described herein. In addition, an embodiment of the present invention further provides another computer program product, the computer program product comprising a computer readable medium, the readable medium comprising a second set of program code, for performing the steps in the method shown in FIG. 3:
基站设备接收上游网络节点发送的下行数据以及所述下行数据所属业务 的标识; 所述基站设备转发所述下行数据至用户设备; 所述基站设备发送所述基站设备的转发结果至所述上游网络节点, 以使 所述上游网络节点根据所述基站设备的转发结果, 基于所述业务的标识, 获 得所述业务对应的转发成功的下行数据的流量信息; 其中所述基站设备的转发结果包括所述业务的标识和以下流量信息之 一: 所述基站设备转发成功的下行数据的流量信息和所述基站设备转发失败 的下行数据的流量信息。 Receiving, by the base station device, downlink data sent by the upstream network node and an identifier of the service to which the downlink data belongs; The base station device forwards the downlink data to the user equipment; the base station device sends a forwarding result of the base station device to the upstream network node, so that the upstream network node is based on the forwarding result of the base station device, based on the The identifier of the service is obtained, and the traffic information of the downlink data that is successfully forwarded by the service is obtained, where the forwarding result of the base station device includes one of the identifier of the service and one of the following traffic information: the downlink data that the base station device forwards successfully The traffic information and the flow information of the downlink data that the base station device forwards the failure.
具体的说明可以参考如图 3-图 6所示的实施例, 在此不作赘述。 本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成。 前述的程序可以存储于一计算机可 读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的步骤; 而 前述的存储介质包括: 匪、 RAM, 磁碟或者光盘等各种可以存储程序代码的 介质。  For specific description, reference may be made to the embodiments shown in FIG. 3 to FIG. 6 , and details are not described herein. One of ordinary skill in the art will appreciate that all or a portion of the steps to implement the various method embodiments described above can be accomplished by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the above-described method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as 匪, RAM, disk or optical disk.
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。  Finally, it should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting thereof; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims

权利 要 求 Rights request
1、 一种数据业务的处理方法, 其特征在于, 包括: 网络节点接收数据网关发送的下行数据以及所述下行数据所属业务的标 识; 所述网络节点通过基站设备转发所述下行数据至用户设备; 所述网络节点根据转发结果, 基于所述业务的标识, 获得所述业务对应 的转发成功的下行数据的流量信息。 1. A method for processing data services, characterized by comprising: a network node receiving downlink data sent by a data gateway and an identification of the service to which the downlink data belongs; and the network node forwarding the downlink data to user equipment through a base station device. ; The network node obtains the traffic information of the successfully forwarded downlink data corresponding to the service based on the forwarding result and based on the identifier of the service.
2、如权利要求 1所述的方法,其特征在于,所述网络节点根据转发结果, 基于所述业务的标识,获得所述业务对应的转发成功的下行数据的流量信息, 包括: 2. The method of claim 1, wherein the network node obtains the traffic information of the successfully forwarded downlink data corresponding to the service based on the forwarding result and the identifier of the service, including:
所述网络节点根据所述网络节点本地的转发结果,基于所述业务的标识, 获得所述业务对应的所述网络节点本地转发成功的下行数据的流量信息, 其 中所述业务对应的所述网络节点本地转发成功的下行数据的流量信息作为所 述业务对应的转发成功的下行数据的流量信息。 The network node obtains the traffic information of the downlink data that is successfully forwarded locally by the network node corresponding to the service based on the identity of the service based on the local forwarding result of the network node, wherein the network node corresponding to the service The traffic information of the downlink data successfully forwarded locally by the node is used as the traffic information of the successfully forwarded downlink data corresponding to the service.
3、如权利要求 1所述的方法,其特征在于,所述网络节点根据转发结果, 基于所述业务的标识,获得所述业务对应的转发成功的下行数据的流量信息, 包括: 所述网络节点根据所述网络节点本地的转发结果和所述基站设备的转发 失败的结果, 基于所述业务的标识, 获得所述业务对应的转发成功的下行数 据的流量信息。 3. The method of claim 1, wherein the network node obtains the traffic information of the successfully forwarded downlink data corresponding to the service based on the forwarding result and the identifier of the service, including: the network The node obtains the traffic information of the successfully forwarded downlink data corresponding to the service based on the local forwarding result of the network node and the forwarding failure result of the base station device and based on the identifier of the service.
4、 如权利要求 3所述的方法, 其特征在于, 还包括: 所述网络节点发送所述业务的标识至所述基站设备; 所述网络节点接收所述基站设备发送的所述基站设备的转发失败的结 果, 所述基站设备的转发失败的结果包括所述基站设备转发失败的下行数据 的流量信息和所述业务的标识; 所述网络节点根据所述网络节点本地的转发结果和所述基站设备的转发 失败的结果, 基于所述业务的标识, 获得所述业务对应的转发成功的下行数 据的流量信息, 包括: 4. The method of claim 3, further comprising: the network node sending the identifier of the service to the base station device; the network node receiving the identifier of the base station device sent by the base station device. The result of the forwarding failure, the result of the forwarding failure of the base station device includes the traffic information of the downlink data that the base station device failed to forward and the identifier of the service; the network node determines the forwarding result based on the local forwarding result of the network node and the Forwarding of base station equipment As a result of the failure, based on the identifier of the service, the traffic information of the successfully forwarded downlink data corresponding to the service is obtained, including:
所述网络节点根据所述网络节点本地的转发结果,基于所述业务的标识, 获得所述业务对应的所述网络节点本地转发成功的下行数据的流量信息; 所述网络节点根据所述业务对应的所述网络节点本地转发成功的下行数 据的流量信息、 所述基站设备转发失败的下行数据的流量信息, 基于所述业 务的标识, 获得所述业务对应的转发成功的下行数据的流量信息。 The network node obtains the traffic information of the downlink data that is successfully forwarded locally by the network node corresponding to the service based on the identity of the service based on the local forwarding result of the network node; The traffic information of the downlink data that is successfully forwarded locally by the network node, the traffic information of the downlink data that fails to be forwarded by the base station device, and based on the identifier of the service, the traffic information of the successfully forwarded downlink data corresponding to the service is obtained.
5、如权利要求 1所述的方法,其特征在于,所述网络节点根据转发结果, 基于所述业务的标识,获得所述业务对应的转发成功的下行数据的流量信息, 包括: 5. The method of claim 1, wherein the network node obtains the traffic information of the successfully forwarded downlink data corresponding to the service based on the forwarding result and the identifier of the service, including:
所述网络节点根据所述基站设备的转发成功的结果, 基于所述业务的标 识, 获得所述业务对应的转发成功的下行数据的流量信息。 The network node obtains the traffic information of the successfully forwarded downlink data corresponding to the service based on the successful forwarding result of the base station device and based on the identifier of the service.
6、 如权利要求 5所述的方法, 其特征在于, 还包括: 所述网络节点发送所述业务的标识至所述基站设备; 6. The method of claim 5, further comprising: the network node sending the identifier of the service to the base station device;
所述网络节点接收所述基站设备发送的所述基站设备的转发成功的结 果, 所述基站设备的转发成功的结果包括所述基站设备转发成功的下行数据 的流量信息和所述业务的标识; The network node receives the result of the successful forwarding of the base station device sent by the base station device, and the result of the successful forwarding of the base station device includes the traffic information of the downlink data successfully forwarded by the base station device and the identifier of the service;
所述网络节点根据所述基站设备的转发成功的结果, 基于所述业务的标 识, 获得所述业务对应的转发成功的下行数据的流量信息, 包括: The network node obtains the traffic information of the successfully forwarded downlink data corresponding to the service based on the successful forwarding result of the base station device and based on the identifier of the service, including:
所述网络节点根据所述基站设备转发成功的下行数据的流量信息, 基于 所述业务的标识, 获得所述业务对应的转发成功的下行数据的流量信息。 The network node obtains the traffic information of the successfully forwarded downlink data corresponding to the service based on the traffic information of the successfully forwarded downlink data by the base station device and based on the identifier of the service.
7、 如权利要求 4或 6所述的方法, 其特征在于, 所述业务的标识是封装 在隧道报文中发送至所述基站设备的, 所述隧道报文包括所述下行数据。 7. The method according to claim 4 or 6, characterized in that the identifier of the service is encapsulated in a tunnel message and sent to the base station device, and the tunnel message includes the downlink data.
8、 一种数据业务的处理方法, 其特征在于, 包括: 数据网关接收下行数据; 8. A data service processing method, characterized by including: a data gateway receiving downlink data;
所述数据网关获取所述下行数据所属业务的标识; The data gateway obtains the identifier of the service to which the downlink data belongs;
所述数据网关发送所述下行数据和所述业务的标识至下游网络节点, 以 使所述下游网络节点转发所述下行数据至用户设备, 并根据转发结果, 基于 所述业务的标识, 获得所述业务对应的转发成功的下行数据的流量信息。 The data gateway sends the downlink data and the identifier of the service to a downstream network node to The downstream network node is caused to forward the downlink data to the user equipment, and according to the forwarding result, based on the identifier of the service, the traffic information of the successfully forwarded downlink data corresponding to the service is obtained.
9、 如权利要求 8所述的处理方法, 其特征在于, 所述数据网关发送所述 下行数据和所述业务标识至下游网络节点, 包括: 9. The processing method of claim 8, wherein the data gateway sends the downlink data and the service identifier to downstream network nodes, including:
所述数据网关通过将所述下行数据和所述业务的标识封装在隧道报文 中, 发送所述下行数据和所述业务的标识至所述下游网络节点。 The data gateway encapsulates the downlink data and the identifier of the service in a tunnel message, and sends the downlink data and the identifier of the service to the downstream network node.
10、 一种数据业务的处理方法, 其特征在于, 包括: 基站设备接收上游网络节点发送的下行数据以及所述下行数据所属业务 的标识; 10. A method for processing data services, characterized by comprising: the base station device receiving downlink data sent by an upstream network node and an identifier of the service to which the downlink data belongs;
所述基站设备转发所述下行数据至用户设备; The base station equipment forwards the downlink data to the user equipment;
所述基站设备发送所述基站设备的转发结果至所述上游网络节点, 以使 所述上游网络节点根据所述基站设备的转发结果, 基于所述业务的标识, 获 得所述业务对应的转发成功的下行数据的流量信息; The base station device sends the forwarding result of the base station device to the upstream network node, so that the upstream network node obtains the forwarding success corresponding to the service based on the forwarding result of the base station device and based on the identifier of the service. Traffic information of downlink data;
其中所述基站设备的转发结果包括所述业务的标识和以下流量信息之 一: 所述基站设备转发成功的下行数据的流量信息和所述基站设备转发失败 的下行数据的流量信息。 The forwarding result of the base station device includes the identifier of the service and one of the following traffic information: the traffic information of downlink data successfully forwarded by the base station device and the traffic information of downlink data failed to be forwarded by the base station device.
11、 一种网络节点设备, 其特征在于, 包括: 接收单元, 用于接收数据网关发送的下行数据以及所述下行数据所属业 务的标识; 11. A network node device, characterized in that it includes: a receiving unit, configured to receive downlink data sent by the data gateway and the identification of the business to which the downlink data belongs;
发送单元, 用于通过基站设备转发所述接收单元接收的下行数据至用户 设备; A sending unit, configured to forward the downlink data received by the receiving unit to the user equipment through the base station equipment;
流量获取单元, 用于根据转发结果, 基于所述接收单元接收的所述业务 的标识, 获得所述业务对应的转发成功的下行数据的流量信息。 The traffic acquisition unit is configured to obtain, according to the forwarding result, the traffic information of the successfully forwarded downlink data corresponding to the service based on the identification of the service received by the receiving unit.
12、 如权利要求 11所述的设备, 其特征在于, 所述流量获取单元具体用 于根据所述网络节点本地的转发结果, 基于所述业务的标识, 获得所述业务 对应的所述网络节点本地转发成功的下行数据的流量信息, 其中所述业务对 应的所述网络节点本地转发成功的下行数据的流量信息作为所述业务对应的 转发成功的下行数据的流量信息。 12. The device according to claim 11, wherein the traffic acquisition unit is specifically configured to obtain the network node corresponding to the service based on the local forwarding result of the network node and based on the identifier of the service. Traffic information of downlink data that is successfully forwarded locally, where the traffic information of downlink data that is successfully forwarded locally by the network node corresponding to the service is used as the traffic information corresponding to the service. Traffic information of successfully forwarded downlink data.
13、 如权利要求 11所述的设备, 其特征在于, 所述流量获取单元具体用 于根据所述网络节点本地的转发结果和所述基站设备的转发失败的结果, 基 于所述业务的标识, 获得所述业务对应的转发成功的下行数据的流量信息。 13. The device according to claim 11, wherein the traffic acquisition unit is specifically configured to, based on the local forwarding result of the network node and the forwarding failure result of the base station device, based on the identifier of the service, Obtain the traffic information of successfully forwarded downlink data corresponding to the service.
14、 如权利要求 13所述的设备, 其特征在于, 所述发送单元还用于发送所述业务的标识至所述基站设备; 所述接收单元还用于接收所述基站设备发送的所述基站设备的转发失败 的结果, 所述基站设备的转发失败的结果包括所述基站设备转发失败的下行 数据的流量信息和所述业务的标识; 14. The device according to claim 13, wherein the sending unit is further configured to send the identifier of the service to the base station device; the receiving unit is further configured to receive the message sent by the base station device. The result of the forwarding failure of the base station device. The result of the forwarding failure of the base station device includes the traffic information of the downlink data that the base station device failed to forward and the identifier of the service;
所述流量获取单元具体用于: 根据所述网络节点本地的转发结果, 基于所述业务的标识, 获得所述业 务对应的所述网络节点本地转发成功的下行数据的流量信息; The traffic acquisition unit is specifically configured to: according to the local forwarding result of the network node, based on the identifier of the service, obtain the traffic information of the downlink data that is successfully forwarded locally by the network node corresponding to the service;
根据所述业务对应的所述网络节点本地转发成功的下行数据的流量信 息、 所述接收单元接收的所述基站设备转发失败的下行数据的流量信息, 基 于所述业务的标识, 获得所述业务对应的转发成功的下行数据的流量信息。 According to the traffic information of downlink data that is successfully forwarded locally by the network node corresponding to the service and the traffic information of downlink data that fails to be forwarded by the base station device received by the receiving unit, the service is obtained based on the identifier of the service. Corresponding traffic information of successfully forwarded downlink data.
15、 如权利要求 11所述的设备, 其特征在于, 所述流量获取单元具体用 于根据所述基站设备的转发成功的结果, 基于所述业务的标识, 获得所述业 务对应的转发成功的下行数据的流量信息。 15. The device according to claim 11, wherein the traffic acquisition unit is specifically configured to obtain, based on the successful forwarding result of the base station device, the successful forwarding result corresponding to the service based on the identifier of the service. Traffic information of downlink data.
16、 如权利要求 15所述的设备, 其特征在于, 所述发送单元还用于发送所述业务的标识至所述基站设备; 所述接收单元还用于接收所述基站设备发送的所述基站设备的转发成功 的结果, 所述基站设备的转发成功的结果包括所述基站设备转发成功的下行 数据的流量信息和所述业务的标识; 16. The device according to claim 15, wherein the sending unit is further configured to send an identifier of the service to the base station device; the receiving unit is further configured to receive the message sent by the base station device. The result of the successful forwarding of the base station device, the result of the successful forwarding of the base station device includes the traffic information of the downlink data successfully forwarded by the base station device and the identifier of the service;
所述流量获取单元具体用于根据所述接收单元接收的所述基站设备转发 成功的下行数据的流量信息, 基于所述业务的标识, 获得所述业务对应的转 发成功的下行数据的流量信息。 The traffic acquisition unit is specifically configured to obtain the traffic information of the successfully forwarded downlink data corresponding to the service based on the traffic information of the successfully forwarded downlink data received by the base station device based on the identifier of the service.
17、 如权利要求 14或 16所述的设备, 其特征在于, 所述发送单元发送 的所述业务的标识是封装在隧道报文中发送至所述基站设备的, 所述隧道报 文包括所述下行数据。 17. The device according to claim 14 or 16, characterized in that the sending unit sends The identifier of the service is encapsulated in a tunnel message and sent to the base station device, and the tunnel message includes the downlink data.
18、 一种数据网关, 其特征在于, 包括: 接收单元, 用于接收下行数据; 18. A data gateway, characterized in that it includes: a receiving unit, used to receive downlink data;
业务标识获取单元, 用于获取所述接收单元接收的所述下行数据所属业 务的标识; A service identifier acquisition unit, configured to acquire the identifier of the service to which the downlink data received by the receiving unit belongs;
发送单元, 用于发送所述接收单元接收的下行数据和所述业务标识获取 单元获取的所述业务的标识至下游网络节点, 以使所述下游网络节点转发所 述下行数据至用户设备, 并根据转发结果, 基于所述业务的标识, 获得所述 业务对应的转发成功的下行数据的流量信息。 A sending unit, configured to send the downlink data received by the receiving unit and the service identifier obtained by the service identifier acquisition unit to a downstream network node, so that the downstream network node forwards the downlink data to the user equipment, and According to the forwarding result and based on the identifier of the service, the traffic information of the successfully forwarded downlink data corresponding to the service is obtained.
19、 如权利要求 18所述的数据网关, 其特征在于, 所述发送单元具体用 于通过将所述下行数据和所述业务的标识封装在隧道报文中, 发送所述下行 数据和所述业务的标识至所述下游网络节点。 19. The data gateway according to claim 18, wherein the sending unit is specifically configured to send the downlink data and the identifier of the service by encapsulating the downlink data and the identifier of the service in a tunnel message. The identification of the service is sent to the downstream network node.
20、 一种基站设备, 其特征在于, 包括: 接收单元, 用于接收上游网络节点发送的下行数据以及所述下行数据所 属业务的标识; 20. A base station device, characterized in that it includes: a receiving unit, configured to receive downlink data sent by an upstream network node and an identifier of the service to which the downlink data belongs;
发送单元, 用于转发所述接收单元接收的下行数据至用户设备; 所述发送单元, 还用于发送所述基站设备的转发结果至所述上游网络节 点, 以使所述上游网络节点根据所述基站设备的转发结果, 基于所述业务的 标识, 获得所述业务对应的转发成功的下行数据的流量信息; 其中所述基站 设备的转发结果包括所述业务的标识和以下流量信息之一: 所述基站设备转 发成功的下行数据的流量信息和所述基站设备转发失败的下行数据的流量信 息业务的标识。 The sending unit is configured to forward the downlink data received by the receiving unit to the user equipment; the sending unit is also configured to send the forwarding result of the base station device to the upstream network node, so that the upstream network node can The forwarding result of the base station device is based on the identifier of the service, and the traffic information of the successfully forwarded downlink data corresponding to the service is obtained; wherein the forwarding result of the base station device includes the identifier of the service and one of the following traffic information: The traffic information of the downlink data successfully forwarded by the base station device and the identity of the traffic information service of the downlink data failed to be forwarded by the base station device.
21、 一种数据业务的处理系统, 其特征在于, 包括: 21. A data service processing system, characterized by including:
如权利要求 11-17任一所述的网络节点和如权利要求 18或 19所述的数 据网关。 The network node as claimed in any one of claims 11-17 and the data gateway as claimed in claim 18 or 19.
22、 一种数据业务的处理系统, 其特征在于, 包括: 如权利要求 11-17任一所述的网络节点和如权利要求 20所述的基站设 备。 22. A data service processing system, characterized by including: The network node according to any one of claims 11 to 17 and the base station equipment according to claim 20.
PCT/CN2013/078993 2013-07-08 2013-07-08 Processing method and device for data service WO2015003297A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2013/078993 WO2015003297A1 (en) 2013-07-08 2013-07-08 Processing method and device for data service
CN201380001098.6A CN103650547B (en) 2013-07-08 2013-07-08 The processing method and equipment of data service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/078993 WO2015003297A1 (en) 2013-07-08 2013-07-08 Processing method and device for data service

Publications (1)

Publication Number Publication Date
WO2015003297A1 true WO2015003297A1 (en) 2015-01-15

Family

ID=50253435

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/078993 WO2015003297A1 (en) 2013-07-08 2013-07-08 Processing method and device for data service

Country Status (2)

Country Link
CN (1) CN103650547B (en)
WO (1) WO2015003297A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634970B (en) * 2014-11-06 2019-06-11 中国移动通信集团公司 A kind of flow is examined and made cuts method, equipment and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6512761B1 (en) * 1999-02-02 2003-01-28 3Com Corporation System for adjusting billing for real-time media transmissions based on delay
US7869430B2 (en) * 2000-11-13 2011-01-11 Sunao Takatori Communication terminal device and billing device
CN101998342A (en) * 2009-08-11 2011-03-30 中兴通讯股份有限公司 Gateway, system and method for counting flow in process of resource application

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1490960A (en) * 2002-10-14 2004-04-21 北京三星通信技术研究有限公司 Flow based charge calculating method for single user in multimedia broadcasting and group broadcasting business
CN100474812C (en) * 2006-03-30 2009-04-01 华为技术有限公司 Compensation method for drop-out flow of service sort charging in communication network and system thereof
CN101582808A (en) * 2009-06-10 2009-11-18 中兴通讯股份有限公司南京分公司 Method, terminal and system for P2P up-down flow statistical management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6512761B1 (en) * 1999-02-02 2003-01-28 3Com Corporation System for adjusting billing for real-time media transmissions based on delay
US7869430B2 (en) * 2000-11-13 2011-01-11 Sunao Takatori Communication terminal device and billing device
CN101998342A (en) * 2009-08-11 2011-03-30 中兴通讯股份有限公司 Gateway, system and method for counting flow in process of resource application

Also Published As

Publication number Publication date
CN103650547B (en) 2018-02-02
CN103650547A (en) 2014-03-19

Similar Documents

Publication Publication Date Title
US9621444B2 (en) Method and device for handling dropped data packets
US10084925B2 (en) Method and apparatus for processing charging in wireless communication system and method and apparatus for providing policy service using the same
EP3783987A1 (en) Information transmission method and device
CN109792788A (en) The method and apparatus that data for being related to tunnel within a wireless communication network are transmitted
JP5269980B2 (en) Billing in LTE / EPC communication networks
RU2582580C2 (en) Method, apparatus and system for controlling quality of service
US8867471B2 (en) Method, device, and system for reporting radio access network element information
US7844250B2 (en) Differentiated charging in packet data networks
EP2959633A1 (en) Charging architecture for a converged gateway
CN104301881B (en) A kind of charge mode and device
WO2019095726A1 (en) Convergent charging method and device
JP2011512057A (en) Subheader for dummy padding in the MAC protocol data unit
US7702311B2 (en) Method for extending content aware accounting to a serving GPRS node
US20180343347A1 (en) Charging Method and Apparatus, and System
WO2013178113A1 (en) Method and device for charging local traffic on wireless side
WO2011023061A1 (en) Method and system for obtaining ip traffic offload charging information
US20070195801A1 (en) Context-based processing of data flows
CN110890967B (en) Charging processing method, network element and network system
WO2010066157A1 (en) Charging method, charging device, charging gateway and charging system
WO2015003297A1 (en) Processing method and device for data service
US9980172B2 (en) MTC-IWF entity, SCS entity, PCRF entity, and communication method
US9094852B2 (en) Implementation of packet data service in a mobile communication network
EP3057356A1 (en) Capability negotiation method, system and apparatus
CN102572932B (en) Method and system for achieving domestic base station network source differentiated management and control
KR102063311B1 (en) Billing System on Wireless Network

Legal Events

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

Ref document number: 13889117

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13889117

Country of ref document: EP

Kind code of ref document: A1