WO2017156670A1 - 一种计费测量的方法、装置及系统 - Google Patents

一种计费测量的方法、装置及系统 Download PDF

Info

Publication number
WO2017156670A1
WO2017156670A1 PCT/CN2016/076229 CN2016076229W WO2017156670A1 WO 2017156670 A1 WO2017156670 A1 WO 2017156670A1 CN 2016076229 W CN2016076229 W CN 2016076229W WO 2017156670 A1 WO2017156670 A1 WO 2017156670A1
Authority
WO
WIPO (PCT)
Prior art keywords
parameter
charging
network element
plane network
measurement
Prior art date
Application number
PCT/CN2016/076229
Other languages
English (en)
French (fr)
Inventor
倪慧
李永翠
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201680067700.XA priority Critical patent/CN108352994B/zh
Priority to EP16893835.5A priority patent/EP3407539A4/en
Priority to PCT/CN2016/076229 priority patent/WO2017156670A1/zh
Publication of WO2017156670A1 publication Critical patent/WO2017156670A1/zh
Priority to US16/110,962 priority patent/US10536585B2/en

Links

Images

Classifications

    • 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/65Off-line charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • H04L12/1407Policy-and-charging control [PCC] architecture
    • 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/62Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on trigger specification
    • 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/66Policy and charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, device and system for charging measurement.
  • the logical network element service gateway (English: serving gateway, abbreviation: S-GW) and packet data network gateway (English: packet data network gateway, abbreviation :P-GW) is usually deployed in a unified gateway to form a unified gateway (English: unified gateway, abbreviation: UGW).
  • the UGW is further divided into UGW-C (hereinafter referred to as a control plane gateway) and UGW-U (hereinafter referred to as a forwarding plane gateway) in accordance with the idea of separation of control and forwarding.
  • gateways such as UGW in the EPC network can usually provide the charging trigger function in the charging architecture ( English: charging trigger function, abbreviation: CTF), so according to the idea of separation of control and forwarding, the CTF can be split, and some functions of the CTF are placed on the control plane gateway, and the rest of the functions of the CTF are placed on the forwarding plane gateway. .
  • CTF charging trigger function
  • the forwarding plane gateway needs to implement the offline charging function and the online charging function respectively.
  • the control plane gateway can send the offline charging parameter and the online charging parameter to the forwarding plane gateway, and the forwarding plane gateway performs the accounting statistics and the charging result reporting according to the offline and online statistics and reporting methods.
  • the forwarding plane gateway needs to implement the offline charging function and the online charging function respectively, the offline charging function and the online charging function cannot be unified on the forwarding plane gateway, thereby causing the forwarding plane gateway and
  • the implementation of the control interface with the control plane gateway is complex.
  • An embodiment of the present invention provides a method, an apparatus, and a system for charging measurement, which can enable an offline charging function and an online charging function to be unified on a forwarding plane network element, thereby reducing a forwarding plane network element and a network element thereof and a control plane.
  • the implementation complexity of the control interface between the two can enable an offline charging function and an online charging function to be unified on a forwarding plane network element, thereby reducing a forwarding plane network element and a network element thereof and a control plane.
  • the control plane network element obtains the service flow charging parameter, where the service flow charging parameter is an online charging parameter or an offline charging parameter; the control plane network element determines the charging measurement parameter according to the service flow charging parameter, wherein, according to the online The charging measurement parameter determined by the charging parameter and the charging measurement parameter determined according to the offline charging parameter are charging measurement parameters in the same charging measurement parameter set; the control plane network element sends the first message to the forwarding plane network element, The first message carries the charging measurement parameter set and the service flow identifier, and the first message is used to trigger the forwarding plane network element to perform charging measurement on the service flow indicated by the service flow identifier according to the charging measurement parameter set.
  • the control plane network element can obtain the service flow charging parameter according to the obtained (ie, online charging parameter or offline charging). Parameter), determining a corresponding charging measurement parameter, and the charging measurement parameter determined according to the online charging parameter and the charging measurement parameter determined according to the offline charging parameter are charging measurement parameters in the same charging measurement parameter set
  • the control plane network element may determine the same type of charging measurement parameter according to the online charging parameter or the offline charging parameter, and send the charging measurement parameter set including the charging measurement parameter to the forwarding plane network element for charging.
  • the offline charging function (the charging function corresponding to the offline charging method) and the online charging function (the charging function corresponding to the online charging method) can be unified on the forwarding plane network element, thereby reducing the forwarding plane network element.
  • the implementation complexity of the control interface between it and the control plane network element can be unified on the forwarding plane network element, thereby reducing the forwarding plane network element.
  • control plane network element may map the service flow charging parameter obtained by the control plane to a corresponding charging measurement parameter item in the preset charging measurement parameter set (for example, the first charging measurement parameter.
  • the parameter item obtains the above-mentioned charging measurement parameter (for example, including the mapped first charging measurement parameter item, that is, the second charging measurement parameter item).
  • control plane network element sends the first to the forwarding plane network element.
  • the method of billing measurement also includes:
  • the control plane network element receives the second message sent by the forwarding plane network element, where the second message carries the first charging measurement result parameter and the trigger forwarding plane network element sent by the forwarding plane network element to perform the charging measurement on the service flow.
  • the first reason value parameter of the second message is the first reason value parameter of the second message.
  • the method for charging measurement further includes:
  • the control plane network element generates a third message according to the first charging measurement result parameter and the first cause value parameter, where the third message carries the second charging measurement result parameter, the control plane charging parameter, and the second reason value parameter;
  • the control plane network element sends the third message to the charging system.
  • the forwarding plane network element may send the result of the charging measurement to the control plane network element, so that The control plane network element learns the result of the charging measurement, and the control plane network element can send the result of the charging measurement to the corresponding charging system, so that the charging system performs charging according to the result of the charging measurement.
  • This enables billing of service flows, including offline charging and online charging.
  • the billing system can generate a bill corresponding to the service flow according to the result of the billing measurement sent by the control plane network element.
  • the charging system is an online charging system, the charging system can perform online charging quota management on the service flow according to the result of the charging measurement sent by the control plane network element.
  • the service flow charging parameter is an offline charging parameter
  • the control plane network element obtains the service flow charging parameters, including:
  • the control plane network element obtains the traffic flow charging feature; the control plane network element obtains the offline charging parameter according to the traffic flow charging feature.
  • the service flow charging parameter is an online charging parameter
  • the control plane network element obtains the service flow charging parameters, including:
  • the control plane network element receives the quota delivery message sent by the online charging system, and the quota delivery message carries the online charging parameter; the control plane network element sends the message according to the quota, Take online charging parameters.
  • the offline charging parameter and the online charging parameter are respectively obtained by using the foregoing two optional methods.
  • an embodiment of the present invention provides a method for charging measurement, including:
  • the forwarding plane network element sends a message to the control plane network element, where the message carries the first charging measurement result parameter after the forwarding plane network element performs the charging measurement on the service flow, and the first cause value of the trigger forwarding plane network element sending the message. parameter.
  • the message is the second message in the first aspect above.
  • the forwarding plane network element sends a second message to the control plane network element when the condition of the foregoing first cause value parameter is met, so that the forwarding plane network element needs to send the second message.
  • the working efficiency of the forwarding plane network element can be improved, and the resources of the forwarding plane network element can be saved.
  • an embodiment of the present invention provides a control plane network element, including:
  • An obtaining unit configured to obtain a service flow charging parameter, where the service flow charging parameter is an online charging parameter or an offline charging parameter, and the determining unit is configured to determine a charging measurement parameter according to the service flow charging parameter acquired by the obtaining unit
  • the charging measurement parameter determined according to the online charging parameter and the charging measurement parameter determined according to the offline charging parameter are charging measurement parameters in the same charging measurement parameter set; and the sending unit is configured to forward the network
  • the first message is sent by the first message, where the first message carries the charging measurement parameter set and the service flow identifier determined by the determining unit, where the first message is used to trigger the forwarding plane network element to indicate the service flow identifier according to the charging measurement parameter set.
  • the traffic flow is measured by the billing.
  • the control plane network element provided by the embodiment of the present invention whether in the online charging mode or the offline charging mode, the control plane network element can be based on the obtained service flow charging parameter (ie, online charging parameter or offline charging). Parameter), determining a corresponding charging measurement parameter, and the charging measurement parameter determined according to the online charging parameter and the charging measurement parameter determined according to the offline charging parameter are charging measurement parameters in the same charging measurement parameter set
  • the control plane network element may determine the same type of charging measurement parameter according to the online charging parameter or the offline charging parameter, and send the charging measurement parameter set including the charging measurement parameter to the forwarding plane network element for calculation.
  • Fee measurement so it enables offline billing
  • the accounting function corresponding to the offline charging mode and the online charging function (the charging function corresponding to the online charging mode) are unified on the forwarding plane network element, thereby reducing the forwarding plane network element and its control with the device.
  • the implementation complexity of the interface is unified on the forwarding plane network element, thereby reducing the forwarding plane network element and its control with the device.
  • control plane network element further includes a receiving unit
  • a receiving unit configured to receive a second message sent by the forwarding plane network element, where the second message carries the first charging measurement result parameter and the trigger forwarding plane network element after the forwarding plane network element performs charging measurement on the service flow The first cause value parameter of the second message.
  • the determining unit is further configured to generate a third message, where the third message carries the second charging measurement result parameter, the control plane, according to the first charging measurement result parameter and the first cause value parameter received by the receiving unit a charging parameter and a second cause value parameter; the sending unit is further configured to send the third message generated by the determining unit to the charging system.
  • the service flow charging parameter is an offline charging parameter
  • the obtaining unit is specifically configured to obtain a charging feature of the service flow, and obtain an offline charging parameter according to the charging feature of the service flow.
  • the service flow charging parameter is an online charging parameter
  • the obtaining unit is configured to receive a quota sending message sent by the online charging system, where the quota sending message carries an online charging parameter, and the online charging parameter is obtained according to the quota issuing message.
  • an embodiment of the present invention provides a forwarding plane network element, including:
  • the sending unit is configured to send a message to the control plane network element, where the message carries the first charging measurement result parameter after the forwarding plane network element performs the charging measurement on the service flow, and the first reason that the trigger forwarding plane network element sends the message Value parameter.
  • the message is the second message described above.
  • the forwarding plane network element provided by the embodiment of the present invention, when the network element of the forwarding plane meets the condition indicated by the first cause value parameter, sends a second message to the control plane network element, so that the forwarding plane network element needs to send the second When the message is sent, this can improve the forwarding.
  • the working efficiency of the surface network element saves the resources of the forwarding plane network element.
  • the charging system is an offline charging system
  • the third message is an charging bill request message
  • the charging measurement parameter when the service flow charging parameter is an offline charging parameter, includes a time limit parameter, an uplink/downstream traffic limiting parameter, and a rate change time parameter. At least one of them.
  • the offline charging parameter includes at least one of a time limit, an uplink/downstream traffic limit, and a rate change time.
  • the value of the time limit parameter is the time limit or the time limit threshold
  • the value of the uplink/downstream traffic limit parameter is the uplink/downstream traffic limit or the traffic limit threshold
  • the value of the rate change time parameter is the foregoing fee.
  • the rate changes time or rate changes the time threshold.
  • the charging measurement parameter further includes at least one of a report threshold parameter, an effective time parameter, an idle time parameter, a report indication parameter, and an update indication parameter.
  • the value of the report threshold parameter is 0, the value of the valid time parameter is a valid time threshold, and the value of the idle time parameter is an idle time threshold, and the value of the report indication parameter and the update indication parameter is a preset effective value. value.
  • the service flow charging parameter is an offline charging parameter
  • the corresponding charging measurement parameter may be determined by using the offline charging parameter.
  • the offline charging parameter is mapped to a preset charging measurement parameter to obtain a mapped charging measurement parameter, that is, a charging measurement parameter determined according to the service flow charging parameter.
  • the charging system is an online charging system
  • the third message is a quota request message, where the third message is It also carries quota request parameters.
  • the charging measurement parameter when the service flow charging parameter is an online charging parameter, includes a time limiting parameter and an uplink/downstream traffic. At least one of a limit parameter, a rate change time parameter, a report threshold parameter, a valid time parameter, and an idle time parameter.
  • the online charging parameter includes at least one of a time quota, an uplink/downstream traffic quota, a rate change time, a quota threshold, a quota validity, and a quota holding time.
  • the value of the time limit parameter is the time quota or the time limit threshold
  • the value of the uplink/downstream traffic limit parameter is the uplink/downstream traffic quota or the traffic limit threshold
  • the value of the rate change time parameter is the foregoing fee.
  • the value of the report threshold parameter is the quota threshold or the report threshold threshold
  • the value of the valid time parameter is the quota effective or valid time threshold
  • the value of the idle time parameter is the quota hold. Time or idle time threshold.
  • the charging measurement parameter further includes at least one of a report indication parameter and an update indication parameter.
  • the report indicates that the value of the parameter is a preset valid value, and the value of the update indication parameter is a preset invalid value.
  • the charging measurement parameter when the service flow charging parameter is an online charging parameter, includes an uplink/downstream traffic limiting parameter, a rate change time parameter, a reporting threshold parameter, At least one of a valid time parameter, an idle time parameter, and a time limit parameter.
  • the online charging parameter includes at least one of an uplink/downstream traffic quota, a rate change time, a quota threshold, a quota validity, and a quota retention time, and a quota consumption. Time attribute value pair.
  • the value of the uplink/downlink traffic limiting parameter is the uplink/downlink traffic quota or the traffic limiting threshold
  • the value of the rate change time parameter is the foregoing rate change time or rate change time threshold
  • the report threshold parameter is
  • the value of the time limit parameter is the value of the quota limit or 0, and the value of the valid time parameter is the quota effective or effective time threshold.
  • the value of the idle time parameter is the quota holding time or the idle time threshold, and the value of the time limit parameter is the quota consumption time. Attribute value pair.
  • the charging measurement parameter further includes The report indicates at least one of a parameter and an update indication parameter.
  • the report indicates that the value of the parameter is a preset invalid value, and the value of the update indication parameter is a preset valid value.
  • the service flow charging parameter is an online charging parameter
  • the corresponding charging measurement parameter may be determined by using the online charging parameter.
  • the online charging parameter is mapped to a preset charging measurement parameter to obtain a mapped charging measurement parameter, that is, a charging measurement parameter determined according to the service flow charging parameter.
  • the control plane network element can determine, according to the foregoing implementation manner, that the same type of charging measurement parameter is determined according to the offline charging parameter and the online charging parameter, that is, according to the offline charging parameter.
  • the charging measurement parameter and the charging measurement parameter determined according to the online charging parameter are charging measurement parameters in the same charging measurement parameter set, so the control plane network element will include the charging measurement parameter of the determined charging measurement parameter.
  • the collection is sent to the forwarding plane network element for charging measurement, which enables the offline charging function and the online charging function to be unified on the forwarding plane network element, thereby reducing the complexity of implementing the forwarding plane network element and the control interface between the device and the device. degree.
  • the first cause value parameter is an arrival time limit threshold remaining amount, an arrival flow limit threshold remaining amount, an arrival rate switching time threshold, or indication information, where the indication information is used.
  • the message in the second message/the second aspect is sent to the forwarding plane network element.
  • the second cause value parameter when the first cause value parameter is the arrival time limit threshold remaining amount, the second cause value parameter is also the arrival time limit threshold remaining amount.
  • the first cause value parameter is the remaining amount reaching the flow limit threshold
  • the second cause value parameter is also the remaining amount reaching the flow limit threshold.
  • the first cause value parameter is the arrival rate switching time threshold
  • the second cause value parameter is also the arrival rate switching time threshold.
  • the first cause value parameter is indication information
  • the second cause value parameter is a quality of service change, a radio access technology change, a configuration change, a diameter trust control application re-authorization request, or a service termination.
  • the control plane network element satisfies the foregoing second cause value parameter indication.
  • the condition is that the third message is sent to the charging system, so that the control plane network element sends the third message when the third message needs to be sent, so that the working efficiency of the control plane network element can be improved, and the resources of the control plane network element are saved.
  • the first charging measurement result parameter may include at least one of a duration of the service flow measured by the forwarding plane network element and a traffic consumed by the service flow.
  • the second charging measurement result parameter may include at least one of a duration of the service flow measured by the forwarding plane network element and a traffic consumed by the service flow.
  • the traffic consumed by the service flow may include at least one of an uplink traffic consumed by the service flow and a downlink traffic consumed by the service flow.
  • an embodiment of the present invention provides a control plane network element, including at least one processor, an interface circuit, a memory, and a system bus.
  • the memory is configured to store a computer execution instruction, and the at least one processor, the interface circuit, and the memory are connected to each other through a system bus.
  • the at least one processor executes the memory storage computer execution instruction to enable the control plane network element to execute.
  • an embodiment of the present invention provides a computer readable storage medium, where one or more programs are stored, and one or more programs include instructions, when at least one processor of the control plane network element executes In the case of the instruction, the control plane network element performs the method of charging measurement according to any one of the above aspects and the various alternatives of the first aspect.
  • a seventh aspect of the present invention provides a system chip including at least one processor, an input/output interface, a memory, and a bus.
  • the memory is configured to store a computer execution instruction, and the at least one processor, the memory, and the input/output interface are connected by a bus.
  • the at least one processor executes a computer-executed instruction of the memory storage, so that the system chip executes the first aspect and A method of charging measurement as described in any of the various alternatives of the first aspect.
  • the eighth aspect of the present invention provides a forwarding plane network element, including at least one Processor, interface circuit, memory, and system bus;
  • the memory is configured to store computer execution instructions, and the at least one processor, the interface circuit, and the memory are connected to each other through a system bus.
  • the at least one processor executes the memory storage computer execution instruction to enable the forwarding plane network element to execute.
  • an embodiment of the present invention provides a computer readable storage medium, where one or more programs are stored, and one or more programs include instructions, when at least one processor of a forwarding plane network element executes In the instruction, the forwarding plane network element performs the charging measurement method according to any one of the foregoing second aspect and the second aspect of the second aspect.
  • a tenth aspect of the present invention provides a system chip including at least one processor, an input/output interface, a memory, and a bus;
  • the memory is configured to store computer execution instructions, and the at least one processor, the memory, and the input/output interface are connected by a bus.
  • the at least one processor executes a computer-executed instruction of the memory storage, so that the system chip performs the second aspect and A method of charging measurement as described in any of the various alternatives of the second aspect.
  • the embodiment of the present invention provides a system for charging measurement, comprising the control plane network element according to any one of the foregoing third aspect and the third aspect, And the forwarding plane network element according to any one of the foregoing fourth aspect and the fourth aspect, or the eighth aspect.
  • the system for charging measurement provided by the embodiment of the present invention, whether in the online charging mode or the offline charging mode, the control plane network element can obtain the service flow charging parameter according to the obtained (ie, online charging parameter or offline charging). Parameter), determining a corresponding charging measurement parameter, and the charging measurement parameter determined according to the online charging parameter and the charging measurement parameter determined according to the offline charging parameter are charging measurement parameters in the same charging measurement parameter set
  • the control plane network element may determine the same type of charging measurement parameter according to the online charging parameter or the offline charging parameter, and send the charging measurement parameter set including the charging measurement parameter to the forwarding plane network element for charging.
  • the network function of the forwarding plane is unified in the forwarding plane network element and the online charging function (the charging function corresponding to the online charging mode) is unified, thereby reducing the forwarding plane network element and its relationship with the device.
  • the implementation complexity of the control interface is unified in the forwarding plane network element and the online charging function (the charging function corresponding to the online charging mode) is unified, thereby reducing the forwarding plane network element and its relationship with the device.
  • FIG. 1 is a schematic structural diagram of a system for charging measurement according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram 1 of a method for charging measurement according to an embodiment of the present invention.
  • FIG. 3 is a second schematic diagram of a method for charging measurement according to an embodiment of the present disclosure
  • FIG. 4 is a third schematic diagram of a method for charging measurement according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram 1 of a control plane network element according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram 2 of a control plane network element according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a forwarding plane network element according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of hardware of a control plane network element according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of hardware of a forwarding plane network element according to an embodiment of the present invention.
  • A/B can be understood as A or B.
  • first”, “second” and “third” and the like in the description and claims of the present invention are used to distinguish different objects, and are not intended to describe a particular order of the objects.
  • first message, the second message, the third message, and the like are used to distinguish different messages, rather than to describe the feature order of the messages.
  • the words “exemplary” or “such as” are used to mean an example, illustration, or illustration. Any embodiment or design described herein as “exemplary” or “for example” should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of the words “exemplary” or “such as” is intended to present a concept in a particular manner.
  • “corresponding (relevant) and “corresponding” can sometimes be mixed. It should be noted that the meaning to be expressed is consistent when the distinction is not emphasized.
  • reporting mentioned in the following embodiments of the present invention can be understood as the meaning of "sending".
  • A reports a message to B, which can be understood as A sends a message to B, or A sends a message to B. Messages, etc.
  • FIG. 1 is a schematic structural diagram of a system for charging measurement according to an embodiment of the present invention.
  • the terminal 1 and the base station 2 maintain a wireless connection, and the base station 2 is respectively connected to the control plane network element 3 and the forwarding plane network element 4, and the control plane network element 3 and the forwarding plane network element 4, and the offline charging system respectively.
  • 5 is connected to the online charging system 6, and the forwarding plane network element 4 is connected to a packet data network (English: packet data network, abbreviated: PDN).
  • PDN packet data network
  • a terminal refers to a network terminal device, including but not limited to a mobile terminal (such as a mobile phone), a network access terminal device, and an Internet of Things terminal device.
  • a base station is a device that provides wireless access to a terminal, including but not limited to an evolved base station (English: eNodeB), a wireless access point (English: WiFi AP), and a base station using the 5th generation mobile communication technology (English: 5G BS) ) and the global microwave interconnection access base station (English: WiMAX BS).
  • eNodeB evolved base station
  • WiFi AP wireless access point
  • 5G BS 5th generation mobile communication technology
  • WiMAX BS the global microwave interconnection access base station
  • the control plane network element refers to a network element in the network with mobility management, session management, forwarding path management, or accounting policy management functions; for example, mobility management entity (English: mobility management entity, abbreviation: MME), control plane gateway ( English: UGW-C), policy and charging rules function (English: policy and charging rules function, abbreviated: PCRF) or after the integration of the Internet and software defined network (English: software defined network, abbreviation: SDN) controller All or part of the functional units of the formed mobile gateway controller.
  • mobility management entity English: mobility management entity, abbreviation: MME
  • control plane gateway English: UGW-C
  • policy and charging rules function English: policy and charging rules function, abbreviated: PCRF
  • PCRF policy and charging rules function
  • SDN software defined network
  • the control plane network element is mainly responsible for delivering the charging measurement parameters to the forwarding plane network element, receiving the charging measurement result parameters sent by the forwarding plane network element, parsing the control signaling, and recording.
  • the charging status information matches the parameters of the charging measurement result reported by the forwarding plane network element, the generation of the bill, the consolidation of the bill, and the charging control.
  • the control plane network element may include a CTF control unit (English: CTF-C), a charging data function (English: charging data function, abbreviated: CDF), or a combination of the two.
  • the forwarding plane network element refers to the network element that performs the data forwarding action, and can be a packet data network gateway (English: packet data network gateway, abbreviation: P-GW), and a service gateway (English: serving gateway, abbreviation: S- GW), P-GW/S-GW forwarding plane (which may be referred to as a forwarding plane gateway, such as UGW-U), a physical forwarding device such as a router, a switch, an SDN switch, or a virtual forwarding device.
  • P-GW packet data network gateway
  • S-GW serving gateway
  • P-GW/S-GW forwarding plane which may be referred to as a forwarding plane gateway, such as UGW-U
  • a physical forwarding device such as a router, a switch, an SDN switch, or a virtual forwarding device.
  • the forwarding plane network element mainly measures the usage of the network resource by the service flow, such as based on the duration (English: time), the traffic (English: volume), or the service specific unit (English: Service specific unit, abbreviation: SSU).
  • the forwarding plane network element may include a CTF subscriber unit (English: CTF-U).
  • control plane network element may be a control plane network element, or may be a control plane network element entity composed of a set of control plane network elements, and the control plane network element may be a physical control device or a virtual control device, and the present invention No specific limitation.
  • the control plane network element can obtain the service flow charging parameter.
  • the charging measurement parameter is determined according to the service flow charging parameter, and then the control plane network element sends the charging measurement parameter set including the determined charging measurement parameter to the forwarding plane network element, and the forwarding plane network element performs the charging measurement according to the charging.
  • the parameter set performs charging measurement on the service flow transmitted by the terminal.
  • the method for charging measurement provided by the embodiment of the present invention whether it is an online charging method or an offline charging mode, the control plane network element can obtain the service flow charging parameter according to the obtained (ie, online charging parameter or offline charging).
  • the control plane network element may determine the same type of charging measurement parameter according to the online charging parameter or the offline charging parameter, and send the charging measurement parameter set including the charging measurement parameter to the forwarding plane network element for charging. Measured, so that the offline charging function (the charging function corresponding to the offline charging method) and the online charging function (the charging function corresponding to the online charging method) can be unified on the forwarding plane network element, thereby reducing the forwarding plane network element. And the implementation complexity of the control interface between it and the control plane network element.
  • the embodiment of the present invention provides a method for charging measurement, which may include:
  • the control plane network element obtains a service flow charging parameter.
  • the service flow charging parameter in the embodiment of the present invention may be an online charging parameter or an offline charging parameter.
  • the service flow charging parameter is an online charging parameter; when the charging mode is the offline charging mode, the service flow charging parameter is an offline charging parameter.
  • the control plane network element determines the charging measurement parameter according to the service flow charging parameter.
  • the charging measurement parameter determined according to the online charging parameter and the charging measurement parameter determined according to the offline charging parameter are charging measurement parameters in the same charging measurement parameter set.
  • a charging measurement parameter may be preset in the control plane network element.
  • the set of billing measurement parameters includes at least one billing measurement parameter, and each billing measurement parameter may also be referred to as a billing measurement parameter item.
  • control plane network element may map the obtained service flow charging parameter to the corresponding charging measurement parameter item in the preset charging measurement parameter set to obtain the foregoing charging measurement parameter.
  • each charging measurement in the preset charging measurement parameter set may be used.
  • the parameter item is called the first charging measurement parameter item (ie, the pre-mapping or unassigned charging measurement parameter item), and each charging measurement parameter item (ie, mapping) in the charging measurement parameter determined according to the service flow charging parameter.
  • the post- or assigned valued charging measurement parameter item is referred to as a second charging measurement parameter item. That is, the preset charging measurement parameter set includes at least one first charging measurement parameter item; and the charging measurement parameter includes at least one second charging measurement parameter item.
  • the corresponding first charging measurement parameter item and the second charging measurement parameter item have the same parameter name.
  • the control plane network element may map the service flow charging parameter to the charging measurement, whether the service flow charging parameter is an online charging parameter or an offline charging parameter.
  • Corresponding first charging measurement parameter items in the parameter set obtain corresponding second charging measurement parameter items, and the second charging measurement parameter items are charging measurement parameters determined according to the service flow charging parameter.
  • the control plane network element can map the online charging parameter and the offline charging parameter to the corresponding first charging measurement parameter in the charging measurement parameter set, so the control plane network element maps the online charging parameter mapping.
  • the measurement parameters and the charging measurement parameters mapped by the offline charging parameters are all charging measurement parameters in the charging measurement parameter set.
  • control plane network element maps the charging measurement parameters (including at least one second charging measurement parameter item) mapped by the online charging parameter and the charging measurement parameter (including at least one second charging) after mapping the offline charging parameter.
  • the measurement parameter items are all corresponding to some/some of the first charging measurement parameter items in the set of charging measurement parameters.
  • the control plane network element may map the online charging parameter to a corresponding first meter in the preset charging measurement parameter set.
  • the fee measurement parameter item after the control plane network element obtains the offline charging parameter, the control plane network element can still map the offline charging parameter to the corresponding first charging measurement parameter item in the charging measurement parameter set.
  • the control plane network element can map the online charging parameter or the offline charging parameter to the first charging measurement parameter item having the same type to obtain the second charging measurement parameter item having the same type, that is, the control plane network.
  • the charging measurement parameter determined according to the online charging parameter and the charging measurement parameter determined according to the offline charging parameter are charging measurement parameters in the same charging measurement parameter set, so that the control plane network element will include the determined meter.
  • the charging measurement parameter set of the fee measurement parameter is sent to the forwarding plane network element for charging measurement, so that the forwarding plane network element can not identify the offline charging mode or the online charging mode, that is, the forwarding plane network element can be based on the received meter.
  • the fee measurement parameter set (the same type of the charging measurement parameter set corresponding to the offline charging mode and the charging measurement parameter set in the charging measurement parameter set corresponding to the online charging mode) directly performs charging measurement, so that offline can be guaranteed
  • the accounting function and the online charging function are unified on the forwarding plane network element, thereby reducing the forwarding plane network element and its control plane network element. Control interface implementation complexity.
  • control plane network element when the control plane network element determines the charging measurement parameter according to the service flow charging parameter, it may also refer to the subscription data of the terminal and the location information of the terminal.
  • the control plane network element may map the service flow charging parameter preset for the gold card user to the corresponding first in the charging measurement parameter set.
  • the billing measurement parameter item obtains a corresponding second billing measurement parameter item.
  • the corresponding second charging measurement parameter item may be determined according to the service flow charging parameter obtained by the control plane network element.
  • the control plane network element learns that the terminal is in the A location according to the location information of the terminal, then the control The interface network element may map the service flow charging parameter preset for the terminal of the A to the corresponding first charging measurement parameter item in the charging measurement parameter set to obtain a corresponding second charging measurement parameter item.
  • the corresponding second charging measurement parameter item may be determined according to the service flow charging parameter obtained by the control plane network element.
  • control plane network element sends the first message to the forwarding plane network element.
  • the first message carries the charging measurement parameter set and the service flow identifier, and the first message is used to trigger the forwarding plane network element to perform charging measurement on the service flow indicated by the service flow identifier according to the charging measurement parameter set.
  • the traffic flow identity can be used to indicate a particular traffic flow.
  • the charging measurement parameter determined by the control plane network element according to the online charging parameter in S102 and the charging measurement parameter determined according to the offline charging parameter are in the same charging measurement parameter set.
  • the charging measurement parameter is included in the charging measurement parameter set sent by the control plane network element to the forwarding plane network element in S103, and the charging measurement parameter determined in S102 is included.
  • the service flow refers to a group of packets (or service packets) based on the characteristics of the packet header domain, such as a protocol with the same source network interconnection (English: Internet protocol, abbreviation: IP) A packet with a destination IP address; or a packet with the same IP quintuple; or a packet with a specific header field rule.
  • IP Internet protocol
  • the service flow identifier refers to the identifier of the packet header field of the service flow, such as the source IP address, destination IP address, IP quintuple or specific header domain identifier of the packet.
  • the forwarding plane network element receives the first message sent by the control plane network element.
  • the forwarding plane network element performs charging measurement on the service flow indicated by the service flow identifier according to the charging measurement parameter set and the service flow identifier carried in the first message.
  • the service flow indicated by the service flow identifier may be an uplink service flow of the terminal or a downlink service flow of the terminal.
  • the uplink service flow of the terminal refers to the service flow transmitted by the terminal to the base station; the downlink service flow of the terminal refers to the service flow transmitted by the base station to the terminal.
  • the forwarding plane network element can identify the service flow forwarded according to the service flow identifier carried in the first message, and the forwarding plane network element identifies the service indicated by the service flow identifier. After the flow, the forwarding plane network element may perform charging measurement on the service flow according to the set of charging measurement parameters carried in the first message.
  • the specific process of the traffic measurement performed by the forwarding plane network element on the service flow is similar to the specific process of the traffic measurement by the forwarding plane network element in the prior art. For details, refer to the prior art that the forwarding plane network element performs the service flow.
  • the specific process of the charging measurement is not detailed in the embodiment of the present invention.
  • the control plane network element can obtain the service flow charging parameter according to the obtained (ie, online charging parameter or offline charging). Parameter), determining a corresponding charging measurement parameter, wherein the charging measurement parameter determined according to the online charging parameter and the charging measurement parameter determined according to the offline charging parameter are charging measurement parameters in the same charging measurement parameter set, That is, the control plane network element may determine the same type of charging measurement parameter according to the online charging parameter or the offline charging parameter, and send the charging measurement parameter set including the charging measurement parameter to the forwarding plane network element for charging measurement.
  • the control plane network element may determine the same type of charging measurement parameter according to the online charging parameter or the offline charging parameter, and send the charging measurement parameter set including the charging measurement parameter to the forwarding plane network element for charging measurement.
  • the forwarding plane network element can be used to identify the offline charging mode or the online charging mode, that is, the forwarding plane network element can be based on the received charging measurement parameter set (the charging measurement parameter set corresponding to the offline charging mode and The type of the charging measurement parameter in the charging measurement parameter set corresponding to the online charging mode is the same), and the charging measurement is directly performed, so that To ensure that the offline charging function and the online charging function are unified on the forwarding plane network element, the implementation complexity of the forwarding interface network element and the control interface between the network element and the control plane network element can be reduced.
  • the method for charging measurement provided by the embodiment of the present invention may further include:
  • the forwarding plane network element generates a second message.
  • the second message carries the first charging measurement result parameter after the forwarding plane network element performs the charging measurement on the service flow, and the first cause value parameter that triggers the forwarding plane network element to send the second message.
  • the first charging measurement result parameter may include at least one of a duration of the service flow measured by the forwarding plane network element and a traffic consumed by the service flow.
  • the traffic consumed by the service flow may include at least one of an uplink traffic consumed by the service flow and a downlink traffic consumed by the service flow.
  • the foregoing first cause value parameter may be an arrival time limit threshold remaining amount, an arrival flow limit threshold remaining amount, an arrival rate switching time threshold value, or indication information, etc., wherein the indication information is used to indicate that the forwarding plane network element sends Second message.
  • the forwarding plane network element may generate a second message according to the value of the report indication parameter in the charging measurement parameter sent by the control plane network element. Specifically, when the value of the report indication parameter is a valid value, the forwarding plane network element generates a second message; when the report indicates that the value of the parameter is an invalid value, the forwarding plane network element does not need to generate the second message.
  • the report indication parameters and their values will be described in detail when the charging measurement parameters are introduced in the following embodiments, and details are not described herein again.
  • the forwarding plane network element sends a second message to the control plane network element.
  • the control plane network element receives the second message sent by the forwarding plane network element.
  • the second message is used by the forwarding plane network element to send, to the control plane network element, the charging measurement result parameter of the forwarding plane network element to perform the charging measurement on the service flow, that is, the foregoing first charging measurement result parameter,
  • the foregoing second message may also be referred to as a charging measurement result report message.
  • the forwarding plane network element may generate the first according to the report indication parameter in the charging measurement parameter.
  • the second message is sent to the control plane network element, where the second message carries the first charging measurement result parameter after the forwarding plane network element performs the charging measurement on the service flow, so that the control plane network element can be
  • the first charging measurement result parameter is converted and sent to a corresponding charging system (online charging system or offline charging system), and then the charging system performs charging according to the corresponding charging measurement result parameter.
  • the method for charging measurement provided by the embodiment of the present invention may further include:
  • the control plane network element generates a third message according to the first charging measurement result parameter and the first cause value parameter carried in the second message.
  • the third message carries the second charging measurement result parameter, the control plane charging parameter, and the second reason value parameter.
  • the first cause value parameter and the second cause value parameter may be the same or different, and the specific first cause value parameter and the second cause value parameter may be Any combination of the following:
  • the second cause value parameter is also the arrival time limit threshold remaining amount.
  • the second cause value parameter is also the remaining amount reaching the flow limit threshold.
  • the second cause value parameter is also the arrival rate switching time threshold.
  • the second cause value parameter is a service quality change, a radio access technology change, a configuration change, a diameter trust control application re-authorization request, or a service termination.
  • the control plane network element may first send the charging measurement result to the forwarding plane network element.
  • the report request message is used to request the forwarding plane network element to report the charging measurement result parameter, that is, the foregoing first charging measurement result parameter, to the control plane network element after performing charging measurement on the service flow.
  • the trigger condition for the control plane network element to send the charging measurement result report request message to the forwarding plane network element corresponds to the second cause value parameter in (4) above. That is, when the service quality is changed, the radio access technology is changed, the configuration is changed, the diameter trust control application re-authorization request, or the service is terminated, the control plane network element may request the forwarding plane network element to report the billing after the billing measurement is performed on the service flow.
  • the measurement result parameter that is, the first charging measurement result parameter described above.
  • the foregoing second charging measurement result parameter may include at least one of a duration of the service flow measured by the forwarding plane network element and a traffic consumed by the service flow.
  • the traffic consumed by the service flow may include at least one of an uplink traffic consumed by the service flow and a downlink traffic consumed by the service flow.
  • the first charging measurement result parameter and the second charging measurement result parameter may be the same or different.
  • the second charging measurement result parameter is also the duration of the service flow; if the first charging measurement result parameter is the traffic consumed by the traffic flow measured by the forwarding plane network element The second charging measurement result parameter is also the traffic consumed by the service flow; if the first charging measurement result parameter is the duration of the service flow measured by the forwarding plane network element and the traffic consumed by the service flow, the second charging The measurement result parameter is at least one of a duration of the traffic flow and a traffic consumed by the traffic flow.
  • control plane charging parameter may be obtained by the control plane network element according to the context of the user.
  • the control plane charging parameter may include a quality of service (Quality of Service, QoS) associated with the service flow, a service flow identifier, an IP address of the forwarding plane network element, and an international mobile subscriber identity of the forwarding plane network element ( English: at least one of international mobile subscriber identification number, abbreviation: IMSI).
  • QoS Quality of Service
  • IMSI international mobile subscriber identity
  • the control plane network element sends a third message to the charging system.
  • the charging system receives a third message sent by the control plane network element.
  • the charging system may perform the service flow according to the second charging measurement result parameter, the control plane charging parameter, and the second cause value parameter carried in the third message. Billing.
  • the offline charging system may generate a correspondence with the service flow according to the second charging measurement parameter, the control plane charging parameter, and the second reason value parameter carried in the third message.
  • the bill when the charging system is an online charging system, the online charging system may perform online charging quota on the service flow according to the second charging measurement parameter, the control plane charging parameter, and the second reason value parameter carried in the third message. management.
  • the charging system includes an offline charging system and an online charging system.
  • the service flow charging parameter is an online charging parameter
  • the charging system is an online charging system
  • the third message is a quota request message.
  • the third message is It also carries quota request parameters.
  • the service flow charging parameter is an offline charging parameter
  • the charging system is an offline charging system
  • the third message is a charging bill request message.
  • the online charging mode may include an online charging quota management mode and an online charging envelope (English: envelop) generating mode.
  • the following describes the service flow in the embodiment of the present invention by taking the offline charging mode, the online charging quota management mode, and the online charging envelope generating mode as examples.
  • the parameter, the charging measurement parameter, the charging measurement parameter set, and the charging measurement parameter according to the service flow charging parameter are exemplarily described.
  • the charging measurement parameter when the charging mode is the offline charging mode, includes a time limit parameter, an uplink/downlink At least one of a flow restriction parameter and a rate change time parameter.
  • the offline charging parameter may include at least one of a time limit, an uplink/downstream traffic limit, and a rate change time.
  • the value of the time limit parameter may be the time limit or the time limit threshold
  • the value of the uplink/downstream traffic limit parameter may be the uplink/downstream traffic limit or the traffic limit threshold
  • the value of the rate change time parameter may be The above rate change time or rate changes time threshold.
  • the time limit threshold, the flow limit threshold, and the rate change time threshold are preset according to actual usage requirements.
  • the thresholds may be preset in the control plane network element according to actual usage requirements.
  • Each parameter in the offline charging parameter may be referred to as an offline charging parameter item; each parameter in the charging measurement parameter may be referred to as a second charging measurement parameter item.
  • the control plane network element may directly The offline charging parameter item is mapped to the first charging measurement parameter item, that is, the value of the first charging measurement parameter item is set to a value of a corresponding offline charging parameter item, thereby obtaining a corresponding second charging measurement parameter. Item; if the control plane network element is obtained The offline charging parameter does not include an offline charging parameter item corresponding to a certain/some preset first charging measurement parameter item, and the control plane network element may set these first charging measurement parameter items.
  • the threshold is mapped to the corresponding first charging measurement parameter item, that is, the value of the first charging measurement parameter item is set to a corresponding threshold, and a corresponding second charging measurement parameter item is obtained.
  • the control plane network element can determine the charging measurement parameter according to the offline charging parameter obtained by the control plane.
  • the control plane network element may send the set of charging measurement parameters including the determined charging measurement parameters to the forwarding plane network element for charging measurement.
  • the control plane network element may directly map the time limit to the time limit parameter, that is, the time The value of the limit parameter is set to the value of the time limit; if the offline charging parameter obtained by the control plane network element does not include the offline charging parameter item corresponding to the preset time limit parameter, the control plane network element may be the The time limit threshold set by the time limit parameter is mapped to the time limit parameter, that is, the value of the time limit parameter is set to the time limit threshold.
  • the foregoing charging measurement parameter may further include at least one of a report threshold parameter, a valid time parameter, an idle time parameter, a report indication parameter, and an update indication parameter.
  • the value of the report threshold parameter is 0, the value of the valid time parameter is a valid time threshold, and the value of the idle time parameter is an idle time threshold, and the values of the report indication parameter and the update indication parameter are preset effective values.
  • the foregoing effective time threshold, the idle time threshold, and the preset effective value are all preset according to actual usage requirements.
  • the threshold and the effective value may be preset in the control plane network element according to actual usage requirements.
  • the above valid value may be set to 1 or true (true), that is, 1 or true may be used to indicate that the report indication parameter and the update indication parameter are valid.
  • the above-mentioned effective value may also be set to any other value or identifier that can indicate that the report indication parameter and the update indication parameter are valid, which is not specifically limited in the embodiment of the present invention.
  • the report indicating that the parameter is valid can be understood as: when the forwarding plane network element is engaged When the charging measurement result of the service flow (for example, the value of the first charging measurement result parameter) reaches the value indicated by the reporting threshold parameter, the forwarding plane network element needs to perform the first charging measurement after the charging measurement is performed on the service flow. The result parameter is reported to the control plane network element.
  • the validity of the update indication parameter can be understood as follows: after the forwarding plane network element performs the charging measurement on the service flow, the forwarding plane network element needs to reset the value of the first charging measurement result parameter after performing the charging measurement on the service flow, and continues. Perform billing measurements on the next service flow.
  • the valid time parameter refers to how long the control plane network element sends the charging measurement parameter set to the forwarding plane network element. For example, if the value of the valid time parameter is the effective time threshold, it indicates The set of billing measurement parameters is valid within the valid time preset.
  • the idle time parameter refers to how long the charging measurement parameter set sent by the control plane network element to the forwarding plane network element is invalid if it is not used, for example, if the value of the idle time parameter is the idle time threshold mentioned above, Indicates that the set of charging measurement parameters is invalid if not used within the idle time threshold.
  • the preset charging measurement parameter is designed.
  • the set includes at least a first charging measurement parameter item corresponding to the parameter, and the other first charging measurement parameter item in the charging measurement parameter set may be preset as an optional first charging measurement parameter item.
  • the preset charging measurement parameter set includes at least an uplink/downlink traffic limiting parameter, and the preset charging measurement parameter is used.
  • Other first charging measurement parameter items in the set such as a time limit parameter, a rate change time parameter, a report threshold parameter, a valid time parameter, an idle time parameter, a report indication parameter, and an update indication parameter, may all be optional.
  • the first billing measurement parameter item is preset.
  • the optional first charging measurement parameter item in the charging measurement parameter set may be determined according to a preset preset threshold, that is, the value of the optional first charging measurement parameter item is set to a corresponding value. Threshold.
  • Table 1 is an offline charging parameter or a preset value provided by an embodiment of the present invention.
  • the charging measurement parameter set shown in Table 1 is The first charging measurement parameter item corresponding to the offline charging parameter item may be determined according to the offline charging parameter item; the offline charging parameter does not have an offline meter corresponding to the corresponding first charging measurement parameter item in the charging measurement parameter set.
  • the corresponding first charging measurement parameter item in the charging measurement parameter set may be determined according to the preset value shown in Table 1.
  • the time limit, the uplink/downstream traffic limit, and the rate change time in Table 1 are the offline charging parameters obtained by the control plane network element; the time limit threshold, the traffic limit threshold, the rate change time threshold, 0, and the effective The time threshold, idle time threshold, and valid value are all preset values.
  • Table 1 is merely an exemplary illustration of a mapping relationship between an offline charging parameter or a preset value and a preset charging measurement parameter set (including a plurality of first charging measurement parameter items).
  • the number of the first charging measurement parameter items included in the charging measurement parameter set and the number of the offline charging parameter items included in the offline charging parameter may be set according to actual use requirements, which is not specifically limited in the present invention.
  • the offline charging parameter and the charging measurement parameter set refer to the foregoing description of the offline charging parameter and the charging measurement parameter set in the embodiment.
  • Table 1 can also be understood as a set of charging measurement parameters (including charging measurement parameters determined by the control plane network element according to the service flow charging parameter) sent by the control plane network element to the forwarding plane network element. That is, the control plane network element maps the obtained offline charging parameter to the corresponding first charging measurement parameter item in the preset charging measurement parameter set, and obtains a corresponding second charging measurement parameter item (second charging measurement item).
  • the parameter item is a charging measurement parameter item after the first charging measurement parameter item is assigned, and the second charging measurement parameter item is a charging measurement parameter determined by the control plane network element according to the offline charging parameter obtained by the control plane, and then The control plane network element then sends the set of charging measurement parameters including the charging measurement parameters to the forwarding plane network element for charging measurement.
  • the charging measurement parameter may include a time limit parameter, an uplink/downstream traffic limiting parameter, and a rate change time parameter. And reporting at least one of a threshold parameter, a valid time parameter, and an idle time parameter.
  • the online charging parameter may include at least one of a time quota, an uplink/downstream traffic quota, a rate change time, a quota threshold, a quota validity, and a quota retention time.
  • the value of the time limit parameter may be the time quota or the time limit threshold
  • the value of the uplink/downstream traffic limit parameter may be the uplink/downlink traffic quota or the traffic limit threshold
  • the value of the rate change time parameter may be
  • the value of the report threshold parameter may be the quota threshold or the report threshold threshold
  • the value of the valid time parameter may be the quota effective or valid time threshold
  • the value of the idle time parameter It can be the above quota hold time or idle time threshold.
  • the time limit threshold, the traffic limit threshold, the rate change time threshold, the report threshold threshold, the effective time threshold, and the idle time threshold are preset according to actual usage requirements, for example, may be pre-defined in the control plane network element according to actual usage requirements. Set this Some thresholds.
  • Each parameter in the online charging parameter may be referred to as an online charging parameter item; each parameter in the charging measurement parameter may be referred to as a second charging measurement parameter item.
  • the control plane network element may directly The online charging parameter item is mapped to the first charging measurement parameter item, that is, the value of the first charging measurement parameter item is set to a value of a corresponding online charging parameter item, thereby obtaining a corresponding second charging measurement parameter.
  • the control plane network element may be the first The threshold set by the charging measurement parameter item is mapped to the corresponding first charging measurement parameter item, that is, the values of the first charging measurement parameter items are set to corresponding threshold values, and the corresponding second charging measurement parameter item is obtained. In this way, the control plane network element can determine the charging measurement parameter according to the online charging parameter obtained by the control plane. And the control plane network element may send the set of charging measurement parameters including the determined charging measurement parameters to the forwarding plane network element for charging measurement.
  • the control plane network element may directly map the quota threshold to the reporting threshold parameter, that is, the report The value of the threshold parameter is set to the value of the quota threshold. If the online charging parameter obtained by the control plane network element does not include the online charging parameter item corresponding to the preset reporting threshold parameter, the control plane network element may be the The report threshold threshold set by the report threshold parameter is mapped to the report threshold parameter, that is, the value of the report threshold parameter is set to the report threshold threshold.
  • the foregoing charging measurement parameter may further include at least one of a report indication parameter and an update indication parameter.
  • the above report indicates that the value of the parameter is a preset valid value
  • the above update indication The value of the parameter is a preset invalid value.
  • the preset effective value and the preset invalid value are preset according to actual use requirements.
  • the effective value and the invalid value may be preset in the control plane network element according to actual usage requirements.
  • the above valid value can be set to 1 or true (true), that is, 1 or true can be used to indicate that the report indication parameter is valid;
  • the invalid value can be set to 0 or false (false or non-true), that is, 0 or False indicates that the update indication parameter is invalid.
  • the foregoing valid value may also be set to any other value or identifier capable of indicating that the report indication parameter is valid
  • the invalid value may also be set to any other value or identifier capable of indicating that the update indication parameter is invalid, which is used by the embodiment of the present invention. No specific limitation.
  • the invalidity of the update indication parameter can be understood as follows: after the forwarding plane network element performs the charging measurement on the service flow, the forwarding plane network element needs to continue to perform the charging measurement on the next service flow, and the charging measurement result parameter (including the first meter) The forwarding of the message of the service flow is terminated when the value of the fee measurement result parameter and the parameter of the charging measurement result of the charging measurement of the next service flow reaches a corresponding threshold (for example, a time limit or an uplink/downstream traffic limit is reached) ( Different from the offline charging mode, the forwarding plane network element does not need to reset the first charging measurement result parameter after the charging measurement is performed on the service flow.
  • a corresponding threshold for example, a time limit or an uplink/downstream traffic limit is reached
  • the preset charging measurement parameter is designed.
  • the set includes at least a first charging measurement parameter item corresponding to the parameter, and the other first charging measurement parameter item in the charging measurement parameter set may be preset as an optional first charging measurement parameter item.
  • the preset charging measurement parameter set includes at least a rate change time parameter, and is used in the preset charging measurement parameter set.
  • Other first charging measurement parameter items such as time limit parameters, uplink/downstream traffic limiting parameters, reporting threshold parameters, valid time parameters, idle time parameters, report indication parameters, and update indication parameters, etc. Both can be preset as an optional first charging measurement parameter item.
  • the optional first charging measurement parameter item in the charging measurement parameter set may be determined according to a preset preset threshold, that is, the value of the optional first charging measurement parameter item is set to a corresponding value. Threshold.
  • Table 2 is the online charging parameter (the online charging parameter corresponding to the online charging quota management mode) or the preset value provided by the embodiment of the present invention, and the preset charging measurement parameter set (including multiple An exemplary mapping relationship between the first charging measurement parameter items).
  • the online charging parameters obtained by the control plane network element include at least one of a time quota, an uplink/downlink traffic quota, a rate change time, a quota threshold, a quota validity, and a quota retention time.
  • the first charging measurement parameter item corresponding to the online charging parameter item in the set of charging measurement parameters may be determined according to an online charging parameter item; the online charging parameter does not have a corresponding number in the charging measurement parameter set.
  • the corresponding first charging measurement parameter item in the charging measurement parameter set may be determined according to the preset value shown in Table 2.
  • time quotas in Table 2 upstream/downstream traffic quotas, rate change times, The quota threshold, the quota validity, and the quota retention time are all online charging parameters obtained by the control plane network element; the time limit threshold, the traffic limit threshold, the rate change time threshold, the report threshold threshold, the effective time threshold, the idle time threshold, and the effective Both the value and the invalid value are preset values.
  • the foregoing Table 2 is merely an exemplary illustration of a mapping relationship between an online charging parameter or a preset value and a preset charging measurement parameter set (including a plurality of first charging measurement parameter items).
  • the number of the first charging measurement parameter items included in the charging measurement parameter set and the number of the online charging parameter items included in the online charging parameter may be set according to the actual use requirement, which is not specifically limited by the present invention.
  • the specific description of the online charging parameter and the charging measurement parameter set refer to the foregoing description of the online charging parameter and the charging measurement parameter set in this embodiment.
  • Table 2 can also be understood as a set of charging measurement parameters sent by the control plane network element to the forwarding plane network element (including the charging measurement parameter determined by the control plane network element according to the service flow charging parameter). That is, the control plane network element maps the obtained online charging parameter to the corresponding first charging measurement parameter item in the preset charging measurement parameter set, and obtains a corresponding second charging measurement parameter item (second charging measurement item).
  • the parameter item is a charging measurement parameter item after the first charging measurement parameter item is assigned, and the second charging measurement parameter item is a charging measurement parameter determined by the control plane network element according to the online charging parameter obtained by the control plane, and then The control plane network element then sends the set of charging measurement parameters including the charging measurement parameters to the forwarding plane network element for charging measurement.
  • the charging measurement parameter may include an uplink/downstream traffic limiting parameter, a rate change time parameter, a reporting threshold parameter, At least one of a valid time parameter, an idle time parameter, and a time limit parameter.
  • the online charging parameter may include at least one of an uplink/downstream traffic quota, a rate change time, a quota threshold, a quota validity, and a quota retention time, and a quota consumption time attribute value pair.
  • the online charging parameter described above At least the quota consumption time attribute value pair is included; correspondingly, the foregoing charging measurement parameter includes at least a time limit parameter.
  • the value of the uplink/downlink traffic limiting parameter may be the foregoing uplink/downlink traffic quota or the traffic limiting threshold, and the value of the rate change time parameter may be the foregoing rate change time or the rate change time threshold, and the report threshold parameter is used.
  • the value of the time limit parameter may be the quota threshold or the idle time threshold, and the value of the idle time parameter may be the quota holding time or the idle time threshold, and the value of the time limit parameter is the value of the time limit parameter.
  • the above quota consumes time attribute value pairs.
  • the traffic limit threshold, the rate change time threshold, the 0, the effective time threshold, and the idle time threshold are all preset according to actual usage requirements.
  • the thresholds may be preset in the control plane network element according to actual usage requirements.
  • Each parameter in the online charging parameter may be referred to as an online charging parameter item; each parameter in the charging measurement parameter may be referred to as a second charging measurement parameter item.
  • the control plane network element may directly The online charging parameter item is mapped to the first charging measurement parameter item, that is, the value of the first charging measurement parameter item is set to a value of a corresponding online charging parameter item, thereby obtaining a corresponding second charging measurement parameter.
  • the control plane network element may be the first The threshold set by the charging measurement parameter item is mapped to the corresponding first charging measurement parameter item, that is, the values of the first charging measurement parameter items are set to corresponding threshold values, and the corresponding second charging measurement parameter item is obtained. In this way, the control plane network element can determine the charging measurement parameter according to the online charging parameter obtained by the control plane. And the control plane network element may send the set of charging measurement parameters including the determined charging measurement parameters to the forwarding plane network element for charging measurement.
  • the control plane network element may directly map the quota threshold to the reporting threshold parameter, that is, the report The value of the threshold parameter is set to the quota The value of the threshold; if the online charging parameter obtained by the control plane network element does not include the online charging parameter item corresponding to the preset reporting threshold parameter, the control plane network element may map the zero set for the reporting threshold parameter. To the report threshold parameter, the value of the report threshold parameter is set to zero.
  • the foregoing charging measurement parameter may further include at least one of a report indication parameter and an update indication parameter.
  • the report indicates that the value of the parameter is a preset invalid value, and the value of the update indication parameter is a preset valid value.
  • the preset effective value and the preset invalid value are preset according to actual use requirements.
  • the effective value and the invalid value may be preset in the control plane network element according to actual usage requirements.
  • the above valid value can be set to 1 or true (true), that is, 1 or true can be used to indicate that the update indication parameter is valid;
  • the invalid value can be set to 0 or false (false or non-true), that is, 0 or False indicates that the report indicates that the parameter is invalid.
  • the foregoing valid value may also be set to any other value or identifier that can indicate that the update indication parameter is valid
  • the invalid value may also be set to any other value or identifier that can indicate that the report indication parameter is invalid, which is used by the embodiment of the present invention. No specific limitation.
  • the report indicates that the parameter is invalid. It can be understood that the forwarding plane network element does not need to report the first charging measurement result parameter of the service flow to the control plane network element.
  • the update indication parameter For a detailed description of the validity of the update indication parameter, refer to the related description of the update indication parameter in the above (1), and details are not described herein again.
  • the preset charging measurement parameter is designed.
  • the set includes at least a first charging measurement parameter item corresponding to the parameter, and the other first charging measurement parameter item in the charging measurement parameter set may be preset as an optional first charging measurement parameter item.
  • the preset charging measurement parameter set includes at least a time limit parameter, and is configured in the preset charging measurement parameter set.
  • Other first charging measurement parameter items such as uplink/downstream traffic limiting parameters, rate change time parameters, reporting threshold parameters, valid time parameters, idle time parameters, report indication parameters, and update indication parameters, may all be optional.
  • the first billing measurement parameter item is preset.
  • the optional first charging measurement parameter item in the charging measurement parameter set may be determined according to a preset preset threshold, that is, the value of the optional first charging measurement parameter item is set to a corresponding value. Threshold.
  • Table 3 is the online charging parameter (the online charging parameter corresponding to the online charging envelope generation mode) or the preset value provided by the embodiment of the present invention, and the preset charging measurement parameter set (including multiple An exemplary mapping relationship between the first charging measurement parameter items).
  • the online charging parameters obtained by the control plane network element include at least one of an uplink/downlink traffic quota, a rate change time, a quota threshold, a quota validity, and a quota retention time, and a quota consumption time attribute value. Therefore, the first charging measurement parameter item corresponding to the online charging parameter item in the charging measurement parameter set shown in Table 3 may be Determined according to the online charging parameter item; when the online charging parameter does not have an online charging parameter item corresponding to the corresponding first charging measurement parameter item in the charging measurement parameter set, the corresponding number in the charging measurement parameter set A billing measurement parameter item can be determined according to the preset value shown in Table 3.
  • the quota consumption time attribute value pair, the uplink/downstream traffic quota, the rate change time, the quota threshold, the quota validity, and the quota hold time in Table 3 are all online charging parameter items obtained by the control plane network element;
  • the traffic limit threshold The rate change time threshold, 0, the effective time threshold, the idle time threshold, the valid value, and the invalid value are all preset values.
  • the above table 3 is merely an exemplary illustration of the mapping relationship between the online charging parameter or the preset value and the preset charging measurement parameter set (including a plurality of first charging measurement parameter items).
  • the number of the first charging measurement parameter items included in the charging measurement parameter set and the number of the online charging parameter items included in the online charging parameter may be set according to the actual use requirement, which is not specifically limited by the present invention.
  • the specific description of the online charging parameter and the charging measurement parameter set refer to the foregoing description of the offline charging parameter and the charging measurement parameter set in this embodiment.
  • Table 3 can also be understood as a set of charging measurement parameters sent by the control plane network element to the forwarding plane network element (including the charging measurement parameter determined by the control plane network element according to the service flow charging parameter). That is, the control plane network element maps the obtained online charging parameter to the corresponding first charging measurement parameter item in the preset charging measurement parameter set, and obtains a corresponding second charging measurement parameter item (second charging measurement item).
  • the parameter item is a charging measurement parameter item after the first charging measurement parameter item is assigned, and the second charging measurement parameter item is a charging measurement parameter determined by the control plane network element according to the online charging parameter obtained by the control plane, and then The control plane network element then sends the set of charging measurement parameters including the charging measurement parameters to the forwarding plane network element for charging measurement.
  • the foregoing S101 may specifically include:
  • the control plane network element acquires a traffic flow charging feature.
  • the foregoing service flow charging feature may be subscription data of the terminal.
  • the business flow billing The levy can be a file identifier, which is used to uniquely identify a configuration file in the P-GW, and the configuration file stores pre-configured offline charging parameters.
  • the control plane network element may obtain the subscription data of the terminal from the home subscriber server (English: home subscriber server, HSS) of the terminal, and obtain the service flow charging feature from the subscription data of the terminal.
  • S101b The control plane network element obtains an offline charging parameter according to the traffic flow charging feature.
  • the control plane network element can find the configuration file of the service flow charging feature identifier in the P-GW according to the service flow charging feature, and then obtain the pre-configured offline charging parameter from the configuration file.
  • the foregoing S101 may specifically include:
  • the S101c and the control plane network element receive the quota delivery message sent by the online charging system, and the quota delivery message carries the online charging parameter.
  • the control plane network element sends a message according to the quota to obtain an online charging parameter.
  • control plane network element After the control plane network element receives the quota sending message sent by the charging system, the control plane network element can directly obtain the online charging parameter from the quota sending message.
  • the quota sending message carries an envelope-report attribute value pair (English: envelope-report attribute value pair), and the envelope reporting attribute value pair is used to indicate that the control plane network element is in the form of an envelope to the online charging system. Report the billing measurement result.
  • envelope-report attribute value pair (English: envelope-report attribute value pair)
  • envelope reporting attribute value pair is used to indicate that the control plane network element is in the form of an envelope to the online charging system. Report the billing measurement result.
  • the foregoing S101 may specifically include:
  • S101e The control plane network element receives the online charging parameter sent by the PCRF.
  • the foregoing S101e may be replaced by S101f and S101g, that is, the foregoing S101 may specifically include:
  • the control plane network element acquires a service flow charging feature.
  • control plane network element obtains the online charging parameter according to the traffic flow charging feature.
  • the control plane network element can obtain the service flow charging parameter according to the obtained (ie, online charging parameter or offline charging). Parameter), determining a corresponding charging measurement parameter, wherein the charging measurement parameter determined according to the online charging parameter and the charging measurement parameter determined according to the offline charging parameter are charging measurement parameters in the same charging measurement parameter set, That is, the control plane network element may determine the same type of charging measurement parameter according to the online charging parameter or the offline charging parameter, and send the charging measurement parameter set including the charging measurement parameter to the forwarding plane network element for charging measurement.
  • the control plane network element may determine the same type of charging measurement parameter according to the online charging parameter or the offline charging parameter, and send the charging measurement parameter set including the charging measurement parameter to the forwarding plane network element for charging measurement.
  • the forwarding plane network element can be used to identify the offline charging mode or the online charging mode, that is, the forwarding plane network element can be based on the received charging measurement parameter set (the charging measurement parameter set corresponding to the offline charging mode and The type of the charging measurement parameter in the charging measurement parameter set corresponding to the online charging mode is the same), and the charging measurement is directly performed, so that To ensure that the offline charging function and the online charging function are unified on the forwarding plane network element, the implementation complexity of the forwarding interface network element and the control interface between the network element and the control plane network element can be reduced.
  • the embodiment of the present invention provides a control plane network element, where the control plane network element can be used to perform the steps performed by the control plane network element in the foregoing method embodiment.
  • the control plane network element may include a module corresponding to the corresponding step.
  • the control plane network element may include:
  • the obtaining unit 10 is configured to obtain a service flow charging parameter, where the service flow charging parameter is an online charging parameter or an offline charging parameter, and the determining unit 11 is configured to use the service flow meter obtained by the acquiring unit 10 a charging parameter, where the charging measurement parameter is determined, wherein the charging measurement parameter determined according to the online charging parameter and the charging measurement parameter determined according to the offline charging parameter are billing in the same charging measurement parameter set
  • the sending unit 12 is configured to send a first message to the forwarding plane network element, where the first message carries the charging measurement parameter set and the service flow identifier determined by the determining unit 11, the first message And the triggering, by the forwarding plane network element, performing charging measurement on the service flow indicated by the service flow identifier according to the charging measurement parameter set.
  • control plane network element may further include a receiving unit 13,
  • the receiving unit 13 is configured to receive a second message sent by the forwarding plane network element, where the second message carries the first charging measurement after the forwarding plane network element performs charging measurement on the service flow. a result parameter and a first cause value parameter that triggers the forwarding plane network element to send the second message.
  • the forwarding plane network element After the forwarding plane network element performs charging measurement on the service flow according to the first message sent by the sending unit of the control plane network element, the forwarding plane network element performs the second message again.
  • the result of the charging measurement is reported to the control plane network element, that is, the control plane network element receives the second message sent by the forwarding plane network element.
  • the determining unit 11 is further configured to generate a third message according to the first charging measurement result parameter and the first cause value parameter received by the receiving unit 13, where the third message is The second charging measurement result parameter, the control plane charging parameter, and the second reason value parameter are carried; the sending unit 12 is further configured to send the third message generated by the determining unit 11 to the charging system.
  • the charging system is an offline charging system
  • the third message is a charging bill request message
  • the charging measurement parameter includes at least one of a time limit parameter, an uplink/downstream traffic limiting parameter, and a rate change time parameter.
  • the offline charging parameter includes at least one of a time limit, an uplink/downstream traffic limit, and a rate change time.
  • the charging measurement parameter further includes at least one of a report threshold parameter, an effective time parameter, an idle time parameter, a report indication parameter, and an update indication parameter.
  • the charging system is an online charging system
  • the third message is a quota request message
  • the third The quota also carries the quota request parameters.
  • the charging measurement parameter includes a time limit parameter, an uplink/downstream traffic limit parameter, a rate change time parameter, a report threshold parameter, and a valid time parameter. And at least one of the idle time parameters.
  • the online charging parameter includes at least one of a time quota, an uplink/downstream traffic quota, a rate change time, a quota threshold, a quota validity, and a quota retention time.
  • the charging measurement parameter further includes at least one of a report indication parameter and an update indication parameter.
  • the charging measurement parameter includes an uplink/downstream traffic limiting parameter, a rate change time parameter, a reporting threshold parameter, a valid time parameter, and an idle At least one of the time parameters, as well as the time limit parameter.
  • the online charging parameter includes at least one of an uplink/downstream traffic quota, a rate change time, a quota threshold, a quota validity, and a quota retention time, and a quota consumption time attribute value pair.
  • the charging measurement parameter further includes at least one of a report indication parameter and an update indication parameter.
  • the first cause value parameter is an arrival time limit threshold remaining amount, an arrival flow limit threshold remaining amount, an arrival rate switching time threshold, or indication information, where the indication information is used to indicate that the forwarding plane network element sends The second message.
  • the service flow charging parameter is an offline charging parameter.
  • the obtaining unit 10 is specifically configured to acquire a service flow charging feature, and according to the The traffic flow charging feature acquires the offline charging parameter.
  • the service flow charging parameter is an online charging parameter
  • the obtaining unit 10 is configured to receive a quota sending message sent by the online charging system, and obtain the online charging parameter according to the quota sending message, where the quota sending message carries the online meter Fee parameters.
  • control plane network element in this embodiment may correspond to the control plane network element in the method for charging measurement according to the foregoing embodiment shown in any one of FIG. 2 to FIG. 4, and the control plane network element in this embodiment.
  • the partitioning and/or function of each module is to implement the method flow shown in any one of FIG. 2 to FIG. 4, in order to avoid the repetition, the control plane network element provided by the embodiment of the present invention is executed in the foregoing method embodiment.
  • the obtaining unit 10 and the determining unit 11 may be implemented by at least one processor in the control plane network element, and the sending unit 12 and the receiving unit 13 may pass through a transceiver in the control plane network element ( It can also be implemented as a separate transmitter and receiver.
  • the at least one processor can be implemented by a separate processing unit or an integrated processing unit, and the transceiver can be implemented by an interface circuit in the control plane network element.
  • the embodiment of the present invention is not specifically limited.
  • the control plane network element provided by the embodiment of the present invention whether in the online charging mode or the offline charging mode, the control plane network element can be based on the obtained service flow charging parameter (ie, online charging parameter or offline charging). Parameter), determining a corresponding charging measurement parameter, and the charging measurement parameter determined according to the online charging parameter and the charging measurement parameter determined according to the offline charging parameter are charging measurement parameters in the same charging measurement parameter set
  • the control plane network element may determine the same type of charging measurement parameter according to the online charging parameter or the offline charging parameter, and send the charging measurement parameter set including the charging measurement parameter to the forwarding plane network element for calculation.
  • the fee measurement so that the offline charging function (the charging function corresponding to the offline charging method) and the online charging function (the charging function corresponding to the online charging method) can be unified on the forwarding plane network element, thereby reducing the forwarding network.
  • the embodiment of the present invention provides a forwarding plane network element, where the forwarding plane network element includes:
  • the sending unit 20 is configured to send a message to the control plane network element, where the message carries the first charging measurement result parameter after the forwarding plane network element performs the charging measurement on the service flow, and triggers the sending of the forwarding plane network element.
  • the first cause value parameter of the message is configured to send a message to the control plane network element, where the message carries the first charging measurement result parameter after the forwarding plane network element performs the charging measurement on the service flow, and triggers the sending of the forwarding plane network element.
  • the first cause value parameter of the message is configured to send a message to the control plane network element, where the message carries the first charging measurement result parameter after the forwarding plane network element performs the charging measurement on the service flow, and triggers the sending of the forwarding plane network element.
  • the first cause value parameter of the message is configured to send a message to the control plane network element, where the message carries the first charging measurement result parameter after the forwarding plane network element performs the charging measurement on the service flow, and triggers the sending of the forwarding plane network element.
  • the first cause value parameter is an arrival time limit threshold remaining amount, an arrival flow limit threshold remaining amount, an arrival rate switching time threshold, or indication information, where the indication information is used to indicate that the forwarding plane network element sends The message.
  • the forwarding plane network element in the embodiment of the present invention may further include a receiving unit 21, a charging measurement unit 22, a generating unit 23, and the like.
  • the receiving unit 21 may be configured to receive a first message sent by the control plane network element, where the charging measurement unit 22 may calculate the service flow according to the charging measurement parameter set in the first message received by the receiving unit 21.
  • the fee measurement; the generating unit 23 may generate the message sent by the sending unit 20 according to a result of the charging measurement by the charging measuring unit 22.
  • the forwarding plane network element in this embodiment may correspond to the forwarding plane network element in the method for charging measurement according to the foregoing embodiment shown in any one of FIG. 2 to FIG. 4, and the forwarding plane network element in this embodiment
  • the partitioning and/or function of each module is to implement the method flow shown in any one of FIG. 2 to FIG. 4, and to implement the method in the foregoing method, the forwarding plane network element provided by the embodiment of the present invention is used to avoid the repetition.
  • the foregoing charging measurement unit 22 and the generating unit 23 may be implemented by at least one processor in the forwarding plane network element, and the sending unit 20 and the receiving unit 21 may transmit and receive through the forwarding plane network element.
  • the machine (which may also be a separate transmitter and receiver) is implemented.
  • the at least one processor may be implemented by a separate processing unit or an integrated processing unit, and the transceiver may pass the interface in the forwarding plane network element.
  • the circuit implementation is not specifically limited in the embodiment of the present invention.
  • the forwarding plane network element provided by the embodiment of the present invention, when the network element of the forwarding plane meets the condition indicated by the first cause value parameter, sends a second message to the control plane network element, so that the forwarding plane network element needs to send the second When the message is sent, the working efficiency of the forwarding plane network element can be improved, and the resources of the forwarding plane network element are saved.
  • the forwarding plane network element can not identify the offline charging mode or the online charging mode, that is, the forwarding plane network element can be based on the received charging.
  • the measurement parameter set (the same type of the charging measurement parameter set corresponding to the offline charging mode and the charging measurement parameter set in the charging measurement parameter set corresponding to the online charging mode) directly performs the charging measurement, so that the offline meter can be guaranteed
  • the fee function and the online charging function are unified on the forwarding plane network element, thereby reducing the implementation complexity of the forwarding interface network element and its control interface with the control plane network element.
  • control plane network element can be used to perform the steps performed by the control plane network element in the foregoing method embodiment.
  • the control plane network element can include at least one processor 30, interface circuitry 31, memory 32, and system bus 33.
  • the memory 32 is configured to store computer execution instructions, and the at least one processor 30, the interface circuit 31, and the memory 32 are connected to each other through the system bus 33.
  • the At least one processor 30 executes the computer-executed instructions stored by the memory 32 to cause the control plane network element to perform the method of charging measurement as described in any of Figures 2 through 4.
  • the method of the specific charging measurement refer to the related description in the foregoing embodiment shown in any one of FIG. 2 to FIG. 4, and details are not described herein again.
  • the embodiment further provides a storage medium, which may include the memory 32.
  • the at least one processor 30 may be a central processing unit (English: central processing unit, abbreviated: CPU).
  • the at least one processor 30 can also be other general-purpose processors, digital signal processing (DSP), and application specific integrated (English: application specific integrated) Circuit (referred to as ASIC), field-programmable gate array (English: field-programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • DSP digital signal processing
  • ASIC application specific integrated circuit
  • FPGA field-programmable gate array
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the at least one processor 30 may be a dedicated processor, which may include at least one of a baseband processing chip, a radio frequency processing chip, and the like. Further, the dedicated processor may also include a chip having other dedicated processing functions of the control plane network element.
  • the memory 32 may include a volatile memory, such as a random access memory (English: random-access memory, abbreviation: RAM); the memory 32 may also include a non-volatile memory (English: Non-volatile memory, such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid state drive (English) : solid-state drive, abbreviated: SSD); the memory 32 may also include a combination of the above types of memory.
  • a volatile memory such as a random access memory (English: random-access memory, abbreviation: RAM)
  • the memory 32 may also include a non-volatile memory (English: Non-volatile memory, such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid state drive (English) : solid-state drive
  • the system bus 33 can include a data bus, a power bus, a control bus, and a signal status bus. For the sake of clarity in the present embodiment, various buses are illustrated as the system bus 33 in FIG.
  • the interface circuit 31 may specifically be a transceiver (or a separate transmitter and receiver) on the control plane network element.
  • the at least one processor 30 transmits and receives data to and from other devices, such as a forwarding plane network element, through the interface circuit 31.
  • each step in the method flow shown in any one of the foregoing FIGS. 2 to 4 can be implemented by the processor 30 in hardware form executing a computer-executed instruction in the form of software stored in the memory 32. To avoid repetition, we will not repeat them here.
  • the embodiment of the invention further provides a computer readable storage medium, wherein the computer readable storage medium stores one or more programs, and the one or more programs include instructions, when the at least one processor 30 of the control plane network element executes the instruction
  • the control plane network element performs the method of charging measurement described in any of the above-described FIGS. 2 to 4.
  • the embodiment of the present invention further provides a system chip, which may be a system chip in a control plane network element, where the system chip includes at least one processor, input and output Port, memory and bus;
  • the memory is configured to store computer execution instructions, and the at least one processor, the memory, and the input/output interface are connected by a bus.
  • the at least one processor executes a computer-executed instruction of the memory storage, so that the system chip executes the above FIG. 2 to FIG. A method of charging measurement as described in any one of the preceding claims.
  • the control plane network element provided by the embodiment of the present invention whether in the online charging mode or the offline charging mode, the control plane network element can be based on the obtained service flow charging parameter (ie, online charging parameter or offline charging). Parameter), determining a corresponding charging measurement parameter, and the charging measurement parameter determined according to the online charging parameter and the charging measurement parameter determined according to the offline charging parameter are charging measurement parameters in the same charging measurement parameter set
  • the control plane network element may determine the same type of charging measurement parameter according to the online charging parameter or the offline charging parameter, and send the charging measurement parameter set including the charging measurement parameter to the forwarding plane network element for calculation.
  • the fee measurement so that the offline charging function (the charging function corresponding to the offline charging method) and the online charging function (the charging function corresponding to the online charging method) can be unified on the forwarding plane network element, thereby reducing the forwarding network.
  • the embodiment of the present invention provides a forwarding plane network element, where the forwarding plane network element can be used to perform the steps performed by the forwarding plane network element in the foregoing method embodiment.
  • the forwarding plane network element may include at least one processor 40, an interface circuit 41, a memory 42, and a system bus 43.
  • the memory 42 is configured to store computer execution instructions, and the at least one processor 40, the interface circuit 41, and the memory 42 are connected to each other through the system bus 43.
  • the At least one processor 40 executes the computer-executed instructions stored by the memory 42 to cause the forwarding-plane network element to perform the method of charging measurement as described in any of Figures 2 through 4.
  • the method of the specific charging measurement refer to the related description in the foregoing embodiment shown in any one of FIG. 2 to FIG. 4, and details are not described herein again.
  • the embodiment further provides a storage medium, which may include the storage 42.
  • the at least one processor 40 can be a CPU.
  • the at least one processor 40 can also be other general purpose processors, DSPs, ASICs, FPGAs or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the at least one processor 40 may be a dedicated processor, which may include at least one of a baseband processing chip, a radio frequency processing chip, and the like. Further, the dedicated processor may also include a chip having other dedicated processing functions of the forwarding plane network element.
  • the memory 42 may include volatile memory, such as RAM; the memory 42 may also include non-volatile memory, such as ROM, flash memory, HDD or SSD; the memory 42 may also include memory of the kind described above. combination.
  • the system bus 43 can include a data bus, a power bus, a control bus, and a signal status bus. For the sake of clarity in the present embodiment, various buses are illustrated as the system bus 43 in FIG.
  • the interface circuit 41 may specifically be a transceiver (or an independent transmitter and receiver) on the forwarding plane network element.
  • the at least one processor 40 performs data transmission and reception with the other devices, such as the control plane network element, through the interface circuit 41.
  • each step in the method flow shown in any one of the foregoing FIGS. 2 to 4 can be implemented by the processor 40 in hardware form executing a computer-executed instruction in the form of software stored in the memory 42. To avoid repetition, we will not repeat them here.
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores one or more programs, and the one or more programs include instructions, when at least one processor 40 of the forwarding plane network element executes the instruction
  • the forwarding plane network element performs the method of charging measurement described in any of the above-mentioned FIG. 2 to FIG.
  • the embodiment of the present invention further provides a system chip, which may be a system chip in a forwarding plane network element, where the system chip includes at least one processor, an input/output interface, a memory, and a bus;
  • the memory is configured to store computer execution instructions, and at least one processor, the memory, and the input/output interface are connected by a bus, and when the system chip is running, at least one processor
  • the computer executing the memory storage executes instructions to cause the system chip to perform the method of charging measurement described in any of the above FIGS. 2 to 4.
  • the forwarding plane network element provided by the embodiment of the present invention, when the network element of the forwarding plane meets the condition indicated by the first cause value parameter, sends a second message to the control plane network element, so that the forwarding plane network element needs to send the second When the message is sent, the working efficiency of the forwarding plane network element can be improved, and the resources of the forwarding plane network element are saved.
  • the forwarding plane network element can not identify the offline charging mode or the online charging mode, that is, the forwarding plane network element can be based on the received charging.
  • the measurement parameter set (the same type of the charging measurement parameter set corresponding to the offline charging mode and the charging measurement parameter set in the charging measurement parameter set corresponding to the online charging mode) directly performs the charging measurement, so that the offline meter can be guaranteed
  • the fee function and the online charging function are unified on the forwarding plane network element, thereby reducing the implementation complexity of the forwarding interface network element and its control interface with the control plane network element.
  • the embodiment of the present invention provides a system for charging measurement, which may include a control plane network element and a forwarding plane network element provided by the embodiment of the present invention.
  • a control plane network element refers to the description of the control plane network element in the embodiment shown in FIG. 5, FIG. 6, or FIG. 8.
  • a forwarding plane network element refers to the foregoing figure. 7 or the related description of the forwarding plane network element in the embodiment shown in FIG. 9 , and details are not described herein again.
  • FIG. 1 it is a schematic structural diagram of a system for charging measurement according to an embodiment of the present invention.
  • the system for charging measurement includes a terminal 1, a base station 2, a control plane network element 3, a forwarding plane network element 4, an offline charging system 5, and an online charging system 6.
  • a terminal 1 a terminal 1
  • a base station 2 a control plane network element 3
  • a forwarding plane network element 4 an offline charging system 5
  • an online charging system 6 for a detailed description of the system for the charging measurement, refer to the related description in the foregoing embodiment shown in FIG. 1 , and details are not described herein again.
  • the control plane network element can obtain the service flow charging parameter according to the obtained (ie, online charging parameter or offline charging). Parameter), determining a corresponding charging measurement parameter, wherein the charging measurement parameter determined according to the online charging parameter and the charging measurement parameter determined according to the offline charging parameter are charging measurement parameters in the same charging measurement parameter set, That is, the control plane network element may determine the same type of charging measurement parameter according to the online charging parameter or the offline charging parameter, and send the charging measurement parameter set including the charging measurement parameter to the forwarding plane network element for charging measurement.
  • the control plane network element may determine the same type of charging measurement parameter according to the online charging parameter or the offline charging parameter, and send the charging measurement parameter set including the charging measurement parameter to the forwarding plane network element for charging measurement.
  • the forwarding plane network element can be used to identify the offline charging mode or the online charging mode, that is, the forwarding plane network element can be based on the received charging measurement parameter set (the charging measurement parameter set corresponding to the offline charging mode and The type of the charging measurement parameter in the charging measurement parameter set corresponding to the online charging mode is the same.
  • the charging measurement is performed directly, so that the offline charging function and the online charging function are unified on the forwarding plane network element, thereby reducing the network element.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

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

Abstract

本发明实施例提供一种计费测量的方法、装置及系统,涉及通信领域,能够使得离线计费功能和在线计费功能在转发面网元统一,从而降低转发面网元及其与控制面网元之间的控制接口的实现复杂度。该方法包括:控制面网元获取业务流计费参数,业务流计费参数为在线计费参数或离线计费参数;控制面网元根据业务流计费参数,确定计费测量参数,根据在线计费参数确定的计费测量参数和根据离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数;控制面网元向转发面网元发送第一消息,第一消息中携带该计费测量参数集合和业务流标识,第一消息用于触发转发面网元根据该计费测量参数集合对该业务流标识指示的业务流进行计费测量。

Description

一种计费测量的方法、装置及系统 技术领域
本发明涉及通信领域,尤其涉及一种计费测量的方法、装置及系统。
背景技术
在演进的分组核心(英文:evolved packet core,缩写:EPC)网络中,逻辑网元服务网关(英文:serving gateway,缩写:S-GW)和分组数据网络网关(英文:packet data network gateway,缩写:P-GW)通常被合一部署形成一个统一网关(英文:unified gateway,缩写:UGW)。UGW又被按照控制和转发分离的思想分为UGW-C(以下称为控制面网关)和UGW-U(以下称为转发面网关)。
基于目前第三代合作伙伴项目(英文:the 3rd generation partnership project,缩写:3GPP)定义的计费架构,由于EPC网络中的网关(例如UGW)通常可以提供计费架构中的计费触发功能(英文:charging trigger function,缩写:CTF),因此按照控制和转发分离的思想,可以将该CTF进行拆分,并将CTF的部分功能放置在控制面网关,将CTF的其余功能放置在转发面网关。在该计费架构中,由于离线计费系统和在线计费系统为相互独立的计费系统;且在对该CTF拆分后的转发面网关,离线计费系统和在线计费系统的触发条件存在比较大的差异,因此转发面网关需要分别实现离线计费功能和在线计费功能。具体的,控制面网关可以将离线计费参数和在线计费参数均下发到转发面网关,由转发面网关分别按照离线和在线的统计及上报方法进行计费统计和计费结果上报。
然而,上述计费架构中,由于转发面网关需要分别实现离线计费功能和在线计费功能,因此使得离线计费功能和在线计费功能无法在转发面网关统一,从而导致转发面网关及其与控制面网关之间的控制接口的实现复杂度较大。
发明内容
本发明的实施例提供一种计费测量的方法、装置及系统,能够使得离线计费功能和在线计费功能在转发面网元统一,从而降低转发面网元及其与控制面网元之间的控制接口的实现复杂度。
为达到上述目的,本发明的实施例采用如下技术方案:
控制面网元获取业务流计费参数,该业务流计费参数为在线计费参数或离线计费参数;控制面网元根据该业务流计费参数,确定计费测量参数,其中,根据在线计费参数确定的计费测量参数和根据离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数;控制面网元向转发面网元发送第一消息,第一消息中携带该计费测量参数集合和业务流标识,第一消息用于触发转发面网元根据该计费测量参数集合对该业务流标识指示的业务流进行计费测量。
本发明实施例提供的计费测量的方法,无论是在线计费方式还是离线计费方式,控制面网元均可以根据其获取到的业务流计费参数(即在线计费参数或离线计费参数),确定相应的计费测量参数,且由于根据在线计费参数确定的计费测量参数和根据离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数,即控制面网元可以根据在线计费参数或离线计费参数确定具有相同类型的计费测量参数,并将包含该计费测量参数的计费测量参数集合发送给转发面网元进行计费测量,因此能够使得离线计费功能(离线计费方式对应的计费功能)和在线计费功能(在线计费方式对应的计费功能)在转发面网元统一,从而能够降低转发面网元及其与控制面网元之间的控制接口的实现复杂度。
可选的,本发明实施例中,控制面网元可以将其获取到的业务流计费参数映射到预设的计费测量参数集合中相应的计费测量参数项(例如第一计费测量参数项)得到上述的计费测量参数(例如包括映射后的第一计费测量参数项,即第二计费测量参数项)。
可选的,本发明实施例中,控制面网元向转发面网元发送第一 消息之后,计费测量的方法还包括:
控制面网元接收转发面网元发送的第二消息,该第二消息中携带转发面网元对业务流进行计费测量后的第一计费测量结果参数和触发转发面网元发送该第二消息的第一原因值参数。
可选的,本发明实施例中,控制面网元接收转发面网元发送的第二消息之后,计费测量的方法还包括:
控制面网元根据第一计费测量结果参数和第一原因值参数,生成第三消息,该第三消息中携带第二计费测量结果参数、控制面计费参数和第二原因值参数;控制面网元向计费系统发送该第三消息。
本发明实施例中,转发面网元根据控制面网元发送的计费测量参数对业务流进行计费测量之后,转发面网元可将计费测量的结果发送给控制面网元,以使控制面网元获知该计费测量的结果,且控制面网元可将该计费测量的结果发送给相应的计费系统,以使得计费系统根据该计费测量的结果进行计费。如此能够实现对业务流的计费,包括离线计费和在线计费。
例如,若计费系统为离线计费系统,计费系统可根据控制面网元发送的计费测量的结果生成与业务流对应的话单。若计费系统为在线计费系统,计费系统可根据控制面网元发送的计费测量的结果对业务流进行在线计费配额管理。
可选的,本发明实施例中,当业务流计费参数为离线计费参数时,
控制面网元获取业务流计费参数,包括:
控制面网元获取业务流计费特征;控制面网元根据该业务流计费特征,获取离线计费参数。
可选的,本发明实施例中,当业务流计费参数为在线计费参数时,
控制面网元获取业务流计费参数,包括:
控制面网元接收在线计费系统发送的配额下发消息,该配额下发消息中携带在线计费参数;控制面网元根据该配额下发消息,获 取在线计费参数。
本发明实施例通过上述两种可选方式分别可以获取离线计费参数和在线计费参数。
第二方面,本发明实施例提供一种计费测量的方法,包括:
转发面网元向控制面网元发送消息,该消息中携带转发面网元对业务流进行计费测量后的第一计费测量结果参数和触发转发面网元发送该消息的第一原因值参数。
其中,该消息为上述第一方面中的第二消息。
本发明实施例提供的计费测量的方法,转发面网元在满足上述第一原因值参数指示的条件时向控制面网元发送第二消息,可以使得转发面网元在需要发送第二消息时才发送,如此能够提高转发面网元的工作效率,节省转发面网元的资源。
第三方面,本发明实施例提供一种控制面网元,包括:
获取单元,用于获取业务流计费参数,该业务流计费参数为在线计费参数或离线计费参数;确定单元,用于根据获取单元获取的业务流计费参数,确定计费测量参数,其中,根据在线计费参数确定的计费测量参数和根据离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数;发送单元,用于向转发面网元发送第一消息,该第一消息中携带确定单元确定的计费测量参数集合和业务流标识,该第一消息用于触发转发面网元根据该计费测量参数集合对该业务流标识指示的业务流进行计费测量。
本发明实施例提供的控制面网元,无论是在线计费方式还是离线计费方式,该控制面网元均可以根据其获取到的业务流计费参数(即在线计费参数或离线计费参数),确定相应的计费测量参数,且由于根据在线计费参数确定的计费测量参数和根据离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数,即该控制面网元可以根据在线计费参数或离线计费参数确定具有相同类型的计费测量参数,并将包含该计费测量参数的计费测量参数集合发送给转发面网元进行计费测量,因此能够使得离线计费功能 (离线计费方式对应的计费功能)和在线计费功能(在线计费方式对应的计费功能)在转发面网元统一,从而能够降低转发面网元及其与该装置之间的控制接口的实现复杂度。
可选的,本发明实施例中,控制面网元还包括接收单元,
接收单元,用于接收转发面网元发送的第二消息,该第二消息中携带转发面网元对业务流进行计费测量后的第一计费测量结果参数和触发转发面网元发送该第二消息的第一原因值参数。
可选的,确定单元,还用于根据接收单元接收的第一计费测量结果参数和第一原因值参数,生成第三消息,该第三消息中携带第二计费测量结果参数、控制面计费参数和第二原因值参数;发送单元,还用于向计费系统发送确定单元生成的该第三消息。
可选的,当业务流计费参数为离线计费参数时,
获取单元,具体用于获取业务流计费特征,并根据业务流计费特征,获取离线计费参数。
可选的,当业务流计费参数为在线计费参数时,
获取单元,具体用于接收在线计费系统发送的配额下发消息,该配额下发消息中携带在线计费参数;并根据该配额下发消息,获取在线计费参数。
上述第三方面的各种可选方式带来的技术效果可参见上述对第一方面的相应的各种可选方式带来的技术效果的相关描述,此处不再赘述。
第四方面,本发明实施例提供一种转发面网元,包括:
发送单元,用于向控制面网元发送消息,该消息中携带转发面网元对业务流进行计费测量后的第一计费测量结果参数和触发转发面网元发送该消息的第一原因值参数。
其中,该消息为上述的第二消息。
本发明实施例提供的转发面网元,该转发面网元在满足上述第一原因值参数指示的条件时向控制面网元发送第二消息,可以使得该转发面网元在需要发送第二消息时才发送,如此能够提高该转发 面网元的工作效率,节省转发面网元的资源。
可选的,在上述第一方面和第三方面中,当业务流计费参数为离线计费参数时,计费系统为离线计费系统,第三消息为计费话单请求消息。
可选的,在上述第一方面和第三方面中,当业务流计费参数为离线计费参数时,计费测量参数包括时间限制参数、上行/下行流量限制参数和费率改变时间参数中的至少一项。
相应的,当业务流计费参数为离线计费参数时,离线计费参数包括时间限制、上行/下行流量限制和费率改变时间中的至少一项。
进一步地,上述时间限制参数的值为上述时间限制或时间限制阈值,上述上行/下行流量限制参数的值为上述上行/下行流量限制或流量限制阈值,上述费率改变时间参数的值为上述费率改变时间或费率改变时间阈值。
可选的,在上述第一方面和第三方面中,计费测量参数还包括报告门限参数、有效时间参数、空闲时间参数、报告指示参数和更新指示参数中的至少一项。
进一步地,上述报告门限参数的值为0,上述有效时间参数的值为有效时间阈值,上述空闲时间参数的值为空闲时间阈值,上述报告指示参数和上述更新指示参数的值为预设的有效值。
本发明实施例中,当计费系统为离线计费系统时,业务流计费参数为离线计费参数,可以通过上述的离线计费参数确定相应的计费测量参数。例如,将离线计费参数映射到预设的计费测量参数,以得到映射后的计费测量参数,即根据业务流计费参数确定的计费测量参数。
可选的,在上述第一方面和第三方面中,当业务流计费参数为在线计费参数时,计费系统为在线计费系统,第三消息为配额请求消息,该第三消息中还携带配额请求参数。
可选的,在上述第一方面和第三方面中,当业务流计费参数为在线计费参数时,计费测量参数包括时间限制参数、上行/下行流量 限制参数、费率改变时间参数、报告门限参数、有效时间参数和空闲时间参数中的至少一项。
相应的,当业务流计费参数为在线计费参数时,在线计费参数包括时间配额、上行/下行流量配额、费率改变时间、配额门限、配额有效和配额保持时间中的至少一项。
进一步地,上述时间限制参数的值为上述时间配额或时间限制阈值,上述上行/下行流量限制参数的值为上述上行/下行流量配额或流量限制阈值,上述费率改变时间参数的值为上述费率改变时间或费率改变时间阈值,上述报告门限参数的值为上述配额门限或报告门限阈值,上述有效时间参数的值为上述配额有效或有效时间阈值,上述空闲时间参数的值为上述配额保持时间或空闲时间阈值。
可选的,在上述第一方面和第三方面中,计费测量参数还包括报告指示参数和更新指示参数中的至少一项。
进一步地,上述报告指示参数的值为预设的有效值,上述更新指示参数的值为预设的无效值。
可选的,在上述第一方面和第三方面中,当业务流计费参数为在线计费参数时,计费测量参数包括上行/下行流量限制参数、费率改变时间参数、报告门限参数、有效时间参数、空闲时间参数中的至少一项,以及时间限制参数。
相应的,当业务流计费参数为在线计费参数时,在线计费参数包括上行/下行流量配额、费率改变时间、配额门限、配额有效和配额保持时间中的至少一项,以及配额消耗时间属性值对。
进一步地,上述上行/下行流量限制参数的值为上述上行/下行流量配额或流量限制阈值,上述费率改变时间参数的值为上述费率改变时间或费率改变时间阈值,上述报告门限参数的值为上述配额门限或0,上述有效时间参数的值为上述配额有效或有效时间阈值,上述空闲时间参数的值为上述配额保持时间或空闲时间阈值,上述时间限制参数的值为上述配额消耗时间属性值对。
可选的,在上述第一方面和第三方面中,计费测量参数还包括 报告指示参数和更新指示参数中的至少一项。
进一步地,上述报告指示参数的值为预设的无效值,上述更新指示参数的值为预设的有效值。
本发明实施例中,当计费系统为在线计费系统时,业务流计费参数为在线计费参数,可以通过上述的在线计费参数确定相应的计费测量参数。例如,将在线计费参数映射到预设的计费测量参数,以得到映射后的计费测量参数,即根据业务流计费参数确定的计费测量参数。
可以看出,本发明实施例中,控制面网元按照上述的实现方式,可以根据离线计费参数和在线计费参数确定出具有相同类型的计费测量参数,即根据离线计费参数确定的计费测量参数和根据在线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数,因此控制面网元将包含其确定的计费测量参数的计费测量参数集合发送给转发面网元进行计费测量,能够使得离线计费功能和在线计费功能在转发面网元统一,从而能够降低转发面网元及其与该装置之间的控制接口的实现复杂度。
可选的,在上述第一方面至第四方面中,上述第一原因值参数为到达时间限制阈值剩余量、到达流量限制阈值剩余量、到达费率切换时间阈值或者指示信息,该指示信息用于指示转发面网元发送上述第二消息/上述第二方面中的消息。
可选的,在上述第一方面和第三方面中,当第一原因值参数为到达时间限制阈值剩余量时,第二原因值参数也为到达时间限制阈值剩余量。当第一原因值参数为到达流量限制阈值剩余量时,第二原因值参数也为到达流量限制阈值剩余量。当第一原因值参数为到达费率切换时间阈值时,第二原因值参数也为到达费率切换时间阈值。当第一原因值参数为指示信息时,第二原因值参数为服务质量改变、无线接入技术改变、配置改变、直径信任控制应用再授权请求或者服务终止。
本发明实施例中,控制面网元在满足上述第二原因值参数指示 的条件时向计费系统发送第三消息,可以使得控制面网元在需要发送第三消息时才发送,如此能够提高控制面网元的工作效率,节省控制面网元的资源。
可选的,在上述第一方面至第四方面中,第一计费测量结果参数可以包括转发面网元测量的业务流的持续时长和业务流消耗的流量中的至少一项。
可选的,在上述第一方面和第三方面中,第二计费测量结果参数可以包括转发面网元测量的业务流的持续时长和业务流消耗的流量中的至少一项。其中,该业务流消耗的流量可以包括该业务流消耗的上行流量和该业务流消耗的下行流量中的至少一项。
第五方面,本发明实施例提供一种控制面网元,包括至少一个处理器、接口电路、存储器和系统总线;
存储器用于存储计算机执行指令,至少一个处理器、接口电路和存储器通过系统总线相互连接,当控制面网元运行时,至少一个处理器执行存储器存储的计算机执行指令,以使控制面网元执行上述第一方面及第一方面的各种可选方式中任意一项所述的计费测量的方法。
第六方面,本发明实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有一个或多个程序,一个或多个程序包括指令,当控制面网元的至少一个处理器执行该指令时,控制面网元执行上述第一方面及第一方面的各种可选方式中任意之一所述的计费测量的方法。
第七方面,本发明实施例提供一种系统芯片,包括至少一个处理器、输入输出接口、存储器和总线;
存储器用于存储计算机执行指令,至少一个处理器、存储器和输入输出接口通过总线连接,当系统芯片运行时,至少一个处理器执行存储器存储的计算机执行指令,以使系统芯片执行上述第一方面及第一方面的各种可选方式中任意之一所述的计费测量的方法。
第八方面,本发明实施例提供一种转发面网元,包括至少一个 处理器、接口电路、存储器和系统总线;
存储器用于存储计算机执行指令,至少一个处理器、接口电路和存储器通过系统总线相互连接,当转发面网元运行时,至少一个处理器执行存储器存储的计算机执行指令,以使转发面网元执行上述第二方面及第二方面的各种可选方式中任意一项所述的计费测量的方法。
第九方面,本发明实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有一个或多个程序,一个或多个程序包括指令,当转发面网元的至少一个处理器执行该指令时,转发面网元执行上述第二方面及第二方面的各种可选方式中任意之一所述的计费测量的方法。
第十方面,本发明实施例提供一种系统芯片,包括至少一个处理器、输入输出接口、存储器和总线;
存储器用于存储计算机执行指令,至少一个处理器、存储器和输入输出接口通过总线连接,当系统芯片运行时,至少一个处理器执行存储器存储的计算机执行指令,以使系统芯片执行上述第二方面及第二方面的各种可选方式中任意之一所述的计费测量的方法。
第十一方面,本发明实施例提供一种计费测量的系统,包括上述第三方面及第三方面的各种可选方式中的任意一项或第五方面所述的控制面网元,以及上述第四方面及第四方面的各种可选方式中的任意一项或第八方面所述的转发面网元。
本发明实施例提供的计费测量的系统,无论是在线计费方式还是离线计费方式,控制面网元均可以根据其获取到的业务流计费参数(即在线计费参数或离线计费参数),确定相应的计费测量参数,且由于根据在线计费参数确定的计费测量参数和根据离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数,即控制面网元可以根据在线计费参数或离线计费参数确定具有相同类型的计费测量参数,并将包含该计费测量参数的计费测量参数集合发送给转发面网元进行计费测量,因此能够使得离线计费功 能(离线计费方式对应的计费功能)和在线计费功能(在线计费方式对应的计费功能)在转发面网元统一,从而能够降低转发面网元及其与该装置之间的控制接口的实现复杂度。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例。
图1为本发明实施例提供的计费测量的系统的架构示意图;
图2为本发明实施例提供的计费测量的方法示意图一;
图3为本发明实施例提供的计费测量的方法示意图二;
图4为本发明实施例提供的计费测量的方法示意图三;
图5为本发明实施例提供的控制面网元的结构示意图一;
图6为本发明实施例提供的控制面网元的结构示意图二;
图7为本发明实施例提供的转发面网元的结构示意图;
图8为本发明实施例提供的控制面网元的硬件示意图;
图9为本发明实施例提供的转发面网元的硬件示意图。
具体实施方式
本文中字符“/”,一般表示前后关联对象是一种“或者”的关系。例如,A/B可以理解为A或者B。
本发明的说明书和权利要求书中的术语“第一”、“第二”和“第三”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一消息、第二消息和第三消息等是用于区别不同的消息,而不是用于描述消息的特征顺序。
此外,本发明的描述中所提到的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括其他没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、接口、技术之类的具体细节,以便透切理解本发明。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。
在本发明实施例中,“示例性的”、或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”、或者“例如”等词旨在以具体方式呈现概念。另外,“相应的(英文:corresponding,relevant)”和“对应的(英文:corresponding)”有时可以混用,应当指出的是,在不强调其区别时,其所要表达的含义是一致的。
本发明的下述实施例中所提及的“上报”均可以理解为“发送”的意思,例如A上报某个消息给B可以理解为A发送某个消息给B,或者A向B发送某个消息等。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行详细地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。
本发明实施例提供一种计费测量的方法、装置及系统,该计费测量的方法和装置可以应用于计费测量的系统中。如图1所示,为本发明实施例提供的一种计费测量的系统的架构示意图。在图1中,终端1与基站2之间保持无线连接,基站2分别与控制面网元3和转发面网元4连接,控制面网元3分别与转发面网元4、离线计费系统5和在线计费系统6连接,转发面网元4与分组数据网络(英文:packet data network,缩写:PDN)连接。
为了更好地理解本发明实施例提供的计费测量的系统,下面分别对计费测量的系统中的各个设备进行简单的介绍。
终端是指网络终端设备,包括但不限于移动终端(例如手机)、网络接入终端设备以及物联网终端设备等。
基站是指为终端提供无线接入的设备,包括但不限于演进型基站(英文:eNodeB)、无线接入点(英文:WiFi AP)、采用第5代移动通信技术的基站(英文:5G BS)以及全球微波互联接入基站(英文:WiMAX BS)等。
控制面网元是指网络中具有移动性管理、会话管理、转发路径管理或计费策略管理功能的网元;例如移动性管理实体(英文:mobility management entity,缩写:MME)、控制面网关(英文:UGW-C)、策略与计费规则功能单元(英文:policy and charging rules function,缩写:PCRF)或以上网元和软件定义网络(英文:software defined network,缩写:SDN)控制器融合后形成的移动网关控制器的全部或部分功能单元。在计费功能的控制和转发分离的情况下,控制面网元主要负责向转发面网元下发计费测量参数、接收转发面网元发送的计费测量结果参数、解析控制信令、记录计费状态信息,匹配转发面网元上报的计费测量结果参数、生成话单、实现话单合并以及计费控制等功能。控制面网元可以包括CTF控制单元(英文:CTF-C)、计费数据功能(英文:charging data function,缩写:CDF)或二者的融合。
转发面网元是指执行数据转发动作的网元,可以为网络中的分组数据网络网关(英文:packet data network gateway,缩写:P-GW)、服务网关(英文:serving gateway,缩写:S-GW)、P-GW/S-GW转发面(可以称为转发面网关,例如UGW-U)、路由器、交换机、SDN交换机等物理转发设备或虚拟转发设备。在计费功能的控制和转发分离的情况下,转发面网元主要测量业务流对网络资源的使用情况,如基于时长(英文:time)、流量(英文:volume)或服务特定单元(英文:service specific unit,缩写:SSU)的测量。转发面网元可以包括CTF用户单元(英文:CTF-U)。
进一步地,上述控制面网元可以是一个控制面网元,或者可以是由一组控制面网元组成的控制面网元实体,控制面网元可以是物理控制设备或虚拟控制设备,本发明不作具体限定。
基于如图1所示的计费测量的系统,本发明实施例提供的计费测量的方法,无论是在线计费方式还是离线计费方式,控制面网元可以通过获取业务流计费参数,并根据业务流计费参数确定计费测量参数,然后控制面网元再将包含确定的计费测量参数的计费测量参数集合发送给转发面网元,由转发面网元根据该计费测量参数集合对终端传输的业务流进行计费测量。本发明实施例提供的计费测量的方法,无论是在线计费方式还是离线计费方式,控制面网元均可以根据其获取到的业务流计费参数(即在线计费参数或离线计费参数),确定相应的计费测量参数,且由于根据在线计费参数确定的计费测量参数和根据离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数,即控制面网元可以根据在线计费参数或离线计费参数确定具有相同类型的计费测量参数,并将包含该计费测量参数的计费测量参数集合发送给转发面网元进行计费测量,因此能够使得离线计费功能(离线计费方式对应的计费功能)和在线计费功能(在线计费方式对应的计费功能)在转发面网元统一,从而能够降低转发面网元及其与控制面网元之间的控制接口的实现复杂度。
基于如图1所示的计费测量的系统,如图2所示,本发明实施例提供一种计费测量的方法,该方法可以包括:
S101、控制面网元获取业务流计费参数。
其中,本发明实施例中的业务流计费参数可以为在线计费参数或离线计费参数。当计费方式为在线计费方式时,业务流计费参数为在线计费参数;当计费方式为离线计费方式时,业务流计费参数为离线计费参数。
S102、控制面网元根据业务流计费参数,确定计费测量参数。
其中,根据在线计费参数确定的计费测量参数和根据离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数。
本发明实施例中,可以在控制面网元内部预设一个计费测量参 数集合,该计费测量参数集合包括至少一项计费测量参数,每一项计费测量参数也可以称为一个计费测量参数项。
对于上述S102的具体实现,控制面网元可以将其获取到的业务流计费参数映射到预设的计费测量参数集合中相应的计费测量参数项得到上述的计费测量参数。
本发明实施例中,为了描述方便,且区分预设的计费测量参数集合和根据业务流计费参数确定的计费测量参数,可以将预设的计费测量参数集合中的各个计费测量参数项称为第一计费测量参数项(即映射前或者未赋值的计费测量参数项),将根据业务流计费参数确定的计费测量参数中的各个计费测量参数项(即映射后或者已赋值的计费测量参数项)称为第二计费测量参数项。即上述预设的计费测量参数集合中包括至少一个第一计费测量参数项;上述计费测量参数中包括至少一个第二计费测量参数项。相对应的第一计费测量参数项和第二计费测量参数项的参数名称相同。
控制面网元获取到业务流计费参数之后,无论该业务流计费参数为在线计费参数还是离线计费参数,控制面网元均可以将该业务流计费参数映射到该计费测量参数集合中相应的第一计费测量参数项,得到相应的第二计费测量参数项,这些第二计费测量参数项即为根据该业务流计费参数确定的计费测量参数。由于控制面网元可以将在线计费参数和离线计费参数均映射到该计费测量参数集合中相应的第一计费测量参数,因此控制面网元将在线计费参数映射后的计费测量参数和将离线计费参数映射后的计费测量参数均为该计费测量参数集合中的计费测量参数。即控制面网元将在线计费参数映射后的计费测量参数(包括至少一个第二计费测量参数项)和将离线计费参数映射后的计费测量参数(包括至少一个第二计费测量参数项)均对应该计费测量参数集合中的某个/某些第一计费测量参数项。
具体的,当控制面网元获取到在线计费参数之后,控制面网元可将在线计费参数映射到预设的计费测量参数集合中相应的第一计 费测量参数项;当控制面网元获取到离线计费参数之后,控制面网元仍然可以将离线计费参数映射到该计费测量参数集合中相应的第一计费测量参数项。如此能够保证控制面网元可以将在线计费参数或离线计费参数映射到具有相同类型的第一计费测量参数项,以得到具有相同类型的第二计费测量参数项,即控制面网元根据在线计费参数确定的计费测量参数和根据离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数,从而控制面网元将包含其确定的计费测量参数的计费测量参数集合发送给转发面网元进行计费测量,能够使得转发面网元可以不用识别离线计费方式还是在线计费方式,即转发面网元可以根据接收到的计费测量参数集合(与离线计费方式对应的计费测量参数集合和与在线计费方式对应的计费测量参数集合中的计费测量参数的类型相同)直接进行计费测量,如此可以保证离线计费功能和在线计费功能在转发面网元统一,进而能够降低转发面网元及其与控制面网元之间的控制接口的实现复杂度。
对于在线计费参数到计费测量参数集合中相应的第一计费测量参数项的具体映射方法和离线计费参数到计费测量参数集合中相应的第一计费测量参数项的具体映射方法将在下述实施例中进行详细地描述。
可选的,本发明实施例中,控制面网元在根据业务流计费参数确定计费测量参数时,还可以参考终端的签约数据和终端的位置信息等。
示例性的,如果控制面网元根据终端的签约数据获知终端为金牌用户,则控制面网元可以将为金牌用户预设的业务流计费参数映射到计费测量参数集合中相应的第一计费测量参数项,得到相应的第二计费测量参数项。对于没有为金牌用户预设的业务流计费参数,可以根据控制面网元获取到的业务流计费参数确定相应的第二计费测量参数项。
如果控制面网元根据终端的位置信息获知终端处于A地,则控 制面网元可以将为A地终端预设的业务流计费参数映射到计费测量参数集合中相应的第一计费测量参数项,得到相应的第二计费测量参数项。对于没有为A地终端预设的业务流计费参数,可以根据控制面网元获取到的业务流计费参数确定相应的第二计费测量参数项。
S103、控制面网元向转发面网元发送第一消息。
其中,第一消息中携带计费测量参数集合和业务流标识,第一消息用于触发转发面网元根据计费测量参数集合对业务流标识指示的业务流进行计费测量。该业务流标识可以用于指示一个特定的业务流。
需要说明的是,本发明实施例中,由于S102中控制面网元根据在线计费参数确定的计费测量参数和根据离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数,因此S103中控制面网元向转发面网元发送的计费测量参数集合中包含S102中确定的计费测量参数。
本发明实施例中,业务流是指基于报文头域特征的一组报文(或者称为业务报文),如具有相同的源网络之间互连的协议(英文:Internet protocol,缩写:IP)地址和目的IP地址的报文;或者具有相同的IP五元组的报文;或者具有符合特定头域规则的报文等。
上述业务流标识是指业务流的报文头域特征的标识,如报文的源IP地址、目的IP地址、IP五元组或特定的头域标识等。
S104、转发面网元接收控制面网元发送的第一消息。
S105、转发面网元根据第一消息中携带的计费测量参数集合和业务流标识,对该业务流标识指示的业务流进行计费测量。
其中,该业务流标识指示的业务流可以为终端的上行业务流或者终端的下行业务流。终端的上行业务流是指终端向基站传输的业务流;终端的下行业务流是指基站向终端传输的业务流。
具体的,转发面网元可以根据第一消息中携带的业务流标识识别其转发的业务流,当转发面网元识别出该业务流标识指示的业务 流之后,转发面网元可以根据第一消息中携带的计费测量参数集合,对该业务流进行计费测量。转发面网元对业务流进行计费测量的具体过程与现有技术中转发面网元对业务流进行计费测量的具体过程类似,具体可参见现有技术中转发面网元对业务流进行计费测量的具体过程,本发明实施例不再详述。
本发明实施例提供的计费测量的方法,无论是在线计费方式还是离线计费方式,控制面网元均可以根据其获取到的业务流计费参数(即在线计费参数或离线计费参数),确定相应的计费测量参数,由于根据在线计费参数确定的计费测量参数和根据离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数,即控制面网元可以根据在线计费参数或离线计费参数确定具有相同类型的计费测量参数,并将包含该计费测量参数的计费测量参数集合发送给转发面网元进行计费测量,因此能够使得转发面网元可以不用识别离线计费方式还是在线计费方式,即转发面网元可以根据接收到的计费测量参数集合(与离线计费方式对应的计费测量参数集合和与在线计费方式对应的计费测量参数集合中的计费测量参数的类型相同)直接进行计费测量,如此可以保证离线计费功能和在线计费功能在转发面网元统一,进而能够降低转发面网元及其与控制面网元之间的控制接口的实现复杂度。
可选的,结合图2,如图3所示,在S105之后,本发明实施例提供的计费测量的方法还可以包括:
S106、转发面网元生成第二消息。
其中,第二消息中携带转发面网元对业务流进行计费测量后的第一计费测量结果参数和触发转发面网元发送第二消息的第一原因值参数。
可选的,第一计费测量结果参数可以包括转发面网元测量的业务流的持续时长和业务流消耗的流量中的至少一项。其中,该业务流消耗的流量可以包括该业务流消耗的上行流量和该业务流消耗的下行流量中的至少一项。
可选的,上述第一原因值参数可以为到达时间限制阈值剩余量、到达流量限制阈值剩余量、到达费率切换时间阈值或者指示信息等,其中,该指示信息用于指示转发面网元发送第二消息。
一种可能的实现方式中,上述S106中,转发面网元具体可以根据控制面网元发送的计费测量参数中的报告指示参数的值,生成第二消息。具体的,当报告指示参数的值为有效值时,转发面网元生成第二消息;当报告指示参数的值为无效值时,转发面网元不用生成第二消息。对于报告指示参数及其取值的描述将在下述实施例中介绍计费测量参数时进行详细地说明,此处不再赘述。
S107、转发面网元向控制面网元发送第二消息。
S108、控制面网元接收转发面网元发送的第二消息。
其中,由于上述第二消息用于转发面网元向控制面网元发送转发面网元对业务流进行计费测量后的计费测量结果参数,即上述的第一计费测量结果参数,因此上述第二消息也可以称为计费测量结果上报消息。
本发明实施例中,转发面网元根据控制面网元发送的计费测量参数对其转发的业务流进行计费测量之后,转发面网元可以根据计费测量参数中的报告指示参数生成第二消息,并向控制面网元发送第二消息,其中,第二消息中携带转发面网元对业务流进行计费测量后的第一计费测量结果参数,从而能够使得控制面网元可以将该第一计费测量结果参数转换后发送给相应的计费系统(在线计费系统或者离线计费系统),进而由计费系统根据相应的计费测量结果参数进行计费。
可选的,结合图3,如图4所示,在S108之后,本发明实施例提供的计费测量的方法还可以包括:
S109、控制面网元根据第二消息中携带的第一计费测量结果参数和第一原因值参数,生成第三消息。
其中,第三消息中携带第二计费测量结果参数、控制面计费参数和第二原因值参数。
可选的,本发明实施例提供的计费测量的方法中,第一原因值参数和第二原因值参数可以相同,也可以不同,具体的第一原因值参数和第二原因值参数可以为下述的任意一种组合:
(1)当第一原因值参数为到达时间限制阈值剩余量时,第二原因值参数也为到达时间限制阈值剩余量。
(2)当第一原因值参数为到达流量限制阈值剩余量时,第二原因值参数也为到达流量限制阈值剩余量。
(3)当第一原因值参数为到达费率切换时间阈值时,第二原因值参数也为到达费率切换时间阈值。
(4)当第一原因值参数为指示信息时,第二原因值参数为服务质量改变、无线接入技术改变、配置改变、直径信任控制应用再授权请求或者服务终止。
具体的,上述(4)中,控制面网元接收转发面网元发送的第二消息(即计费测量结果上报消息)之前,控制面网元可先向转发面网元发送计费测量结果上报请求消息,用于请求转发面网元向控制面网元上报其对业务流进行计费测量后的计费测量结果参数,即上述的第一计费测量结果参数。
其中,控制面网元向转发面网元发送计费测量结果上报请求消息的触发条件与上述(4)中的第二原因值参数相对应。即当服务质量改变、无线接入技术改变、配置改变、直径信任控制应用再授权请求或者服务终止时,控制面网元可请求转发面网元上报其对业务流进行计费测量后的计费测量结果参数,即上述的第一计费测量结果参数。
可选的,上述第二计费测量结果参数可以包括转发面网元测量的业务流的持续时长和业务流消耗的流量中的至少一项。其中,该业务流消耗的流量可以包括该业务流消耗的上行流量和该业务流消耗的下行流量中的至少一项。
本发明实施例中,第一计费测量结果参数和第二计费测量结果参数可以相同,也可以不同。示例性的,若第一计费测量结果参数 为转发面网元测量的业务流的持续时长,则第二计费测量结果参数也为该业务流的持续时长;若第一计费测量结果参数为转发面网元测量的业务流消耗的流量,则第二计费测量结果参数也为该业务流消耗的流量;若第一计费测量结果参数为转发面网元测量的业务流的持续时长和业务流消耗的流量,则第二计费测量结果参数为该业务流的持续时长和该业务流消耗的流量中的至少一项。
可选的,上述控制面计费参数可以是控制面网元根据用户的上下文获取的。该控制面计费参数可以包括与业务流关联的服务质量(英文:Quality of service,缩写:QoS)、业务流标识、转发面网元的IP地址以及转发面网元的国际移动用户识别码(英文:international mobile subscriber identification number,缩写:IMSI)中的至少一项。
S110、控制面网元向计费系统发送第三消息。
S111、计费系统接收控制面网元发送的第三消息。
计费系统接收到控制面网元发送的第三消息之后,计费系统可以根据第三消息中携带的第二计费测量结果参数、控制面计费参数和第二原因值参数对业务流进行计费。
具体的,当计费系统为离线计费系统时,离线计费系统可以根据第三消息中携带的第二计费测量结果参数、控制面计费参数和第二原因值参数生成与业务流对应的话单。当计费系统为在线计费系统时,在线计费系统可以根据第三消息中携带的第二计费测量结果参数、控制面计费参数和第二原因值参数对业务流进行在线计费配额管理。
可选的,本发明实施例中,计费系统包括离线计费系统和在线计费系统。当计费方式为在线计费方式时,上述业务流计费参数为在线计费参数,上述计费系统为在线计费系统,上述第三消息为配额请求消息,此时,该第三消息中还携带配额请求参数。当计费方式为离线计费方式时,上述业务流计费参数为离线计费参数,上述计费系统为离线计费系统,上述第三消息为计费话单请求消息。
其中,当计费方式为在线计费方式时,在线计费方式可以包括在线计费配额管理方式和在线计费信封(英文:envelop)生成方式。
为了更加清楚地理解本发明的技术方案和相应的实施方式,下面分别以离线计费方式、在线计费配额管理方式和在线计费信封生成方式为例,对本发明实施例中的业务流计费参数、计费测量参数、计费测量参数集合以及根据业务流计费参数确定计费测量参数进行示例性的说明。
(一)离线计费方式
本发明实施例提供的计费测量的方法中,当计费方式为离线计费方式时,上述计费测量参数(根据离线计费参数确定的计费测量参数)包括时间限制参数、上行/下行流量限制参数和费率改变时间参数中的至少一项。
相应的,上述离线计费参数可以包括时间限制、上行/下行流量限制和费率改变时间中的至少一项。
其中,上述时间限制参数的值可以为上述时间限制或时间限制阈值,上述上行/下行流量限制参数的值可以为上述上行/下行流量限制或流量限制阈值,上述费率改变时间参数的值可以为上述费率改变时间或费率改变时间阈值。
上述时间限制阈值、流量限制阈值和费率改变时间阈值均是根据实际使用需求预先设定的,例如可以根据实际使用需求在控制面网元中预先设定这些阈值。
其中,离线计费参数中的每一项参数都可以称为一个离线计费参数项;计费测量参数中的每一项参数都可以称为一个第二计费测量参数项。
需要说明的是,如果控制面网元获取的离线计费参数中包括与某个/某些预设的第一计费测量参数项对应的离线计费参数项,则控制面网元可直接将该离线计费参数项映射到该第一计费测量参数项,即将该第一计费测量参数项的值设置为相应的离线计费参数项的值,从而得到相应的第二计费测量参数项;如果控制面网元获取 的离线计费参数中没有包括与某个/某些预设的第一计费测量参数项对应的离线计费参数项,则控制面网元可将为这些第一计费测量参数项设定的阈值映射到相应的第一计费测量参数项,即将这些第一计费测量参数项的值设置为相应的阈值,得到相应的第二计费测量参数项。如此,控制面网元可以根据其获取的离线计费参数确定计费测量参数。并且控制面网元可以将包含其确定的计费测量参数的计费测量参数集合发送给转发面网元进行计费测量。
示例性的,如果控制面网元获取的离线计费参数中包括与预设的时间限制参数对应的时间限制,则控制面网元可直接将该时间限制映射到该时间限制参数,即将该时间限制参数的值设置为该时间限制的值;如果控制面网元获取的离线计费参数中没有包括与预设的时间限制参数对应的离线计费参数项,则控制面网元可将为该时间限制参数设定的时间限制阈值映射到该时间限制参数,即将该时间限制参数的值设置为该时间限制阈值。
可选的,上述计费测量参数还可以包括报告门限参数、有效时间参数、空闲时间参数、报告指示参数和更新指示参数中的至少一项。
其中,上述报告门限参数的值为0,上述有效时间参数的值为有效时间阈值,上述空闲时间参数的值为空闲时间阈值,上述报告指示参数和更新指示参数的值为预设的有效值。
上述有效时间阈值、空闲时间阈值和预设的有效值均是根据实际使用需求预先设定的,例如可以根据实际使用需求在控制面网元中预先设定这些阈值和有效值。其中,上述有效值可以设定为1或true(真),即可以采用1或true表示报告指示参数和更新指示参数有效。
当然,上述有效值还可以设定为其他任意能够表示报告指示参数和更新指示参数有效的数值或标识,本发明实施例对此不作具体限定。
进一步地,报告指示参数有效可以理解为:当转发面网元对业 务流的计费测量结果(例如第一计费测量结果参数的值)到达报告门限参数所指示的值时,转发面网元需要将其对业务流进行计费测量后的第一计费测量结果参数上报给控制面网元。更新指示参数有效可以理解为:转发面网元对业务流进行计费测量后,转发面网元需要重置其对业务流进行计费测量后的第一计费测量结果参数的值,并继续对下一个业务流进行计费测量。
需要说明的是,上述有效时间参数是指控制面网元向转发面网元发送的计费测量参数集合多长时间内有效,例如如果上述有效时间参数的值为上述的有效时间阈值,则表示该计费测量参数集合在有效时间预置内有效。上述空闲时间参数是指控制面网元向转发面网元发送的计费测量参数集合在多长时间内如果没有被使用则无效,例如如果上述空闲时间参数的值为上述的空闲时间阈值,则表示该计费测量参数集合在空闲时间阈值内如果没有被使用则无效。
本领域技术人员可以理解,在本发明实施例提供的计费测量的方法具体实现时,如果设计控制面网元获取的离线计费参数包括哪一项参数,则设计预设的计费测量参数集合中至少包括与该项参数对应的第一计费测量参数项,对于计费测量参数集合中的其他第一计费测量参数项,可以作为可选的第一计费测量参数项进行预设。
例如,如果设计控制面网元获取的离线计费测量参数包括上行/下行流量限制,则设计预设的计费测量参数集合中至少包括上行/下行流量限制参数,对于预设的计费测量参数集合中的其他第一计费测量参数项,例如时间限制参数、费率改变时间参数、报告门限参数、有效时间参数、空闲时间参数、报告指示参数和更新指示参数等,均可以作为可选的第一计费测量参数项进行预设。
进一步地,对于计费测量参数集合中可选的第一计费测量参数项,可以按照预先设定的相应的阈值进行确定,即将可选的第一计费测量参数项的值设置为相应的阈值。具体可参见本实施例中上述相关的描述和举例,此处不再赘述。
示例性的,表1为本发明实施例提供的离线计费参数或预设值, 和预设的计费测量参数集合(包括多个第一计费测量参数项)之间的一种示意性的映射关系。
表1
Figure PCTCN2016076229-appb-000001
如表1所示,由于控制面网元获取的离线计费参数包括时间限制、上行/下行流量限制和费率改变时间中的至少一项,因此表1所示的计费测量参数集合中与离线计费参数项对应的第一计费测量参数项可以根据离线计费参数项进行确定;离线计费参数中没有与计费测量参数集合中相应的第一计费测量参数项对应的离线计费参数项时,计费测量参数集合中相应的第一计费测量参数项可以按照表1中所示的预设值进行确定。
例如,表1中的时间限制、上行/下行流量限制和费率改变时间均是控制面网元获取的离线计费参数项;时间限制阈值、流量限制阈值、费率改变时间阈值、0、有效时间阈值、空闲时间阈值和有效值均是预设值。
上述表1只是示例性的对离线计费参数或预设值,和预设的计费测量参数集合(包括多个第一计费测量参数项)之间的映射关系进行示例性的说明。计费测量参数集合中包括的第一计费测量参数项的个数和离线计费参数包括的离线计费参数项的个数均可以根据实际使用需求进行设定,本发明不作具体限定。另外,为了避免重 复,对于离线计费参数和计费测量参数集合的具体描述可以参见本实施例中上述对离线计费参数和计费测量参数集合的相关描述。
需要说明的是,上述表1也可以理解为控制面网元向转发面网元发送的计费测量参数集合(包含控制面网元根据业务流计费参数确定的计费测量参数)。即控制面网元将其获取的离线计费参数映射到预设的计费测量参数集合中相应的第一计费测量参数项,得到相应的第二计费测量参数项(第二计费测量参数项是第一计费测量参数项赋值后的计费测量参数项),这些第二计费测量参数项即为控制面网元根据其获取的离线计费参数确定的计费测量参数,然后控制面网元再将包含这些计费测量参数的计费测量参数集合发送给转发面网元进行计费测量。
(二)在线计费配额管理方式
本发明实施例提供的计费测量的方法中,当在线计费方式为在线计费配额管理方式时,上述计费测量参数可以包括时间限制参数、上行/下行流量限制参数、费率改变时间参数、报告门限参数、有效时间参数和空闲时间参数中的至少一项。
相应的,上述在线计费参数可以包括时间配额、上行/下行流量配额、费率改变时间、配额门限、配额有效和配额保持时间中的至少一项。
其中,上述时间限制参数的值可以为上述时间配额或时间限制阈值,上述上行/下行流量限制参数的值可以为上述上行/下行流量配额或流量限制阈值,上述费率改变时间参数的值可以为上述费率改变时间或费率改变时间阈值,上述报告门限参数的值可以为上述配额门限或报告门限阈值,上述有效时间参数的值可以为上述配额有效或有效时间阈值,上述空闲时间参数的值可以为上述配额保持时间或空闲时间阈值。
上述时间限制阈值、流量限制阈值、费率改变时间阈值、报告门限阈值、有效时间阈值和空闲时间阈值均是根据实际使用需求预先设定的,例如可以根据实际使用需求在控制面网元中预先设定这 些阈值。
其中,在线计费参数中的每一项参数都可以称为一个在线计费参数项;计费测量参数中的每一项参数都可以称为一个第二计费测量参数项。
需要说明的是,如果控制面网元获取的在线计费参数中包括与某个/某些预设的第一计费测量参数项对应的在线计费参数项,则控制面网元可直接将该在线计费参数项映射到该第一计费测量参数项,即将该第一计费测量参数项的值设置为相应的在线计费参数项的值,从而得到相应的第二计费测量参数项;如果控制面网元获取的在线计费参数中没有包括与某个/某些预设的第一计费测量参数项对应的在线计费参数项,则控制面网元可将为这些第一计费测量参数项设定的阈值映射到相应的第一计费测量参数项,即将这些第一计费测量参数项的值设置为相应的阈值,得到相应的第二计费测量参数项。如此,控制面网元可以根据其获取的在线计费参数确定计费测量参数。并且控制面网元可以将包含其确定的计费测量参数的计费测量参数集合发送给转发面网元进行计费测量。
示例性的,如果控制面网元获取的在线计费参数中包括与预设的报告门限参数对应的配额门限,则控制面网元可直接将该配额门限映射到该报告门限参数,即将该报告门限参数的值设置为该配额门限的值;如果控制面网元获取的在线计费参数中没有包括与预设的报告门限参数对应的在线计费参数项,则控制面网元可将为该报告门限参数设定的报告门限阈值映射到该报告门限参数,即将该报告门限参数的值设置为该报告门限阈值。
需要说明的是,对于上述有效时间参数和空闲时间参数的描述具体可参见上述(一)中对有效时间参数和空闲时间参数的相关描述,此处不再赘述。
可选的,上述计费测量参数还可以包括报告指示参数和更新指示参数中的至少一项。
其中,上述报告指示参数的值为预设的有效值,上述更新指示 参数的值为预设的无效值。
上述预设的有效值和预设的无效值均是根据实际使用需求预先设定的,例如可以根据实际使用需求在控制面网元中预先设定这些有效值和无效值。其中,上述有效值可以设定为1或true(真),即可以采用1或true表示报告指示参数有效;上述无效值可以设定为0或false(假或非真),即可以采用0或false表示更新指示参数无效。
当然,上述有效值还可以设定为其他任意能够表示报告指示参数有效的数值或标识,上述无效值也可以设定为其他任意能够表示更新指示参数无效的数值或标识,本发明实施例对此不作具体限定。
进一步地,报告指示参数有效的具体描述可以参见上述(一)中对报告指示参数有效的相关描述,此处不再赘述。更新指示参数无效可以理解为:转发面网元对业务流进行计费测量后,转发面网元需要继续对下一个业务流继续进行计费测量,并在计费测量结果参数(包括第一计费测量结果参数和对下一个业务流进行计费测量的计费测量结果参数)的值达到相应的阈值(例如达到时间限制或上行/下行流量限制等)时终止业务流的报文的转发(与离线计费方式不同,转发面网元无需重置其对业务流进行计费测量后的第一计费测量结果参数)。
本领域技术人员可以理解,在本发明实施例提供的计费测量的方法具体实现时,如果设计控制面网元获取的在线计费参数包括哪一项参数,则设计预设的计费测量参数集合中至少包括与该项参数对应的第一计费测量参数项,对于计费测量参数集合中的其他第一计费测量参数项,可以作为可选的第一计费测量参数项进行预设。
例如,如果设计控制面网元获取的在线计费测量参数包括费率改变时间,则设计预设的计费测量参数集合中至少包括费率改变时间参数,对于预设的计费测量参数集合中的其他第一计费测量参数项,例如时间限制参数、上行/下行流量限制参数、报告门限参数、有效时间参数、空闲时间参数、报告指示参数和更新指示参数等, 均可以作为可选的第一计费测量参数项进行预设。
进一步地,对于计费测量参数集合中可选的第一计费测量参数项,可以按照预先设定的相应的阈值进行确定,即将可选的第一计费测量参数项的值设置为相应的阈值。具体可参见本实施例中上述相关的描述和举例,此处不再赘述。
示例性的,表2为本发明实施例提供的在线计费参数(与在线计费配额管理方式对应的在线计费参数)或预设值,和预设的计费测量参数集合(包括多个第一计费测量参数项)之间的一种示意性的映射关系。
表2
Figure PCTCN2016076229-appb-000002
如表2所示,由于控制面网元获取的在线计费参数包括时间配额、上行/下行流量配额、费率改变时间、配额门限、配额有效和配额保持时间中的至少一项,因此表2所示的计费测量参数集合中与在线计费参数项对应的第一计费测量参数项可以根据在线计费参数项进行确定;在线计费参数中没有与计费测量参数集合中相应的第一计费测量参数项对应的在线计费参数项时,计费测量参数集合中相应的第一计费测量参数项可以按照表2中所示的预设值进行确定。
例如,表2中的时间配额、上行/下行流量配额、费率改变时间、 配额门限、配额有效和配额保持时间均是控制面网元获取的在线计费参数项;时间限制阈值、流量限制阈值、费率改变时间阈值、报告门限阈值、有效时间阈值、空闲时间阈值、有效值和无效值均是预设值。
上述表2只是示例性的对在线计费参数或预设值,和预设的计费测量参数集合(包括多个第一计费测量参数项)之间的映射关系进行示例性的说明。计费测量参数集合中包括的第一计费测量参数项的个数和在线计费参数包括的在线计费参数项的个数均可以根据实际使用需求进行设定,本发明不作具体限定。另外,为了避免重复,对于在线计费参数和计费测量参数集合的具体描述可以参见本实施例中上述对在线计费参数和计费测量参数集合的相关描述。
需要说明的是,上述表2也可以理解为控制面网元向转发面网元发送的计费测量参数集合(包含控制面网元根据业务流计费参数确定的计费测量参数)。即控制面网元将其获取的在线计费参数映射到预设的计费测量参数集合中相应的第一计费测量参数项,得到相应的第二计费测量参数项(第二计费测量参数项是第一计费测量参数项赋值后的计费测量参数项),这些第二计费测量参数项即为控制面网元根据其获取的在线计费参数确定的计费测量参数,然后控制面网元再将包含这些计费测量参数的计费测量参数集合发送给转发面网元进行计费测量。
(三)在线计费信封生成方式
本发明实施例提供的计费测量的方法中,当计费方式为在线计费信封生成方式时,上述计费测量参数可以包括上行/下行流量限制参数、费率改变时间参数、报告门限参数、有效时间参数、空闲时间参数中的至少一项,以及时间限制参数。
相应的,上述在线计费参数可以包括上行/下行流量配额、费率改变时间、配额门限、配额有效和配额保持时间中的至少一项,以及配额消耗时间属性值对。
需要说明的是,在线计费信封生成方式中,上述在线计费参数 至少包括配额消耗时间属性值对;相应的,上述计费测量参数至少包括时间限制参数。
其中,上述上行/下行流量限制参数的值可以为上述上/下行流量配额或流量限制阈值,上述费率改变时间参数的值可以为上述费率改变时间或费率改变时间阈值,上述报告门限参数的值可以为上述配额门限或0,上述有效时间参数的值可以为上述配额有效或有效时间阈值,上述空闲时间参数的值可以为上述配额保持时间或空闲时间阈值,上述时间限制参数的值为上述配额消耗时间属性值对。
上述流量限制阈值、费率改变时间阈值、0、有效时间阈值和空闲时间阈值均是根据实际使用需求预先设定的,例如可以根据实际使用需求在控制面网元中预先设定这些阈值。
其中,在线计费参数中的每一项参数都可以称为一个在线计费参数项;计费测量参数中的每一项参数都可以称为一个第二计费测量参数项。
需要说明的是,如果控制面网元获取的在线计费参数中包括与某个/某些预设的第一计费测量参数项对应的在线计费参数项,则控制面网元可直接将该在线计费参数项映射到该第一计费测量参数项,即将该第一计费测量参数项的值设置为相应的在线计费参数项的值,从而得到相应的第二计费测量参数项;如果控制面网元获取的在线计费参数中没有包括与某个/某些预设的第一计费测量参数项对应的在线计费参数项,则控制面网元可将为这些第一计费测量参数项设定的阈值映射到相应的第一计费测量参数项,即将这些第一计费测量参数项的值设置为相应的阈值,得到相应的第二计费测量参数项。如此,控制面网元可以根据其获取的在线计费参数确定计费测量参数。并且控制面网元可以将包含其确定的计费测量参数的计费测量参数集合发送给转发面网元进行计费测量。
示例性的,如果控制面网元获取的在线计费参数中包括与预设的报告门限参数对应的配额门限,则控制面网元可直接将该配额门限映射到该报告门限参数,即将该报告门限参数的值设置为该配额 门限的值;如果控制面网元获取的在线计费参数中没有包括与预设的报告门限参数对应的在线计费参数项,则控制面网元可将为该报告门限参数设定的0映射到该报告门限参数,即将该报告门限参数的值设置为0。
需要说明的是,对于上述有效时间参数和空闲时间参数的描述具体可参见上述(一)中对有效时间参数和空闲时间参数的相关描述,此处不再赘述。
可选的,上述计费测量参数还可以包括报告指示参数和更新指示参数中的至少一项。
其中,上述报告指示参数的值为预设的无效值,上述更新指示参数的值为预设的有效值。
上述预设的有效值和预设的无效值均是根据实际使用需求预先设定的,例如可以根据实际使用需求在控制面网元中预先设定这些有效值和无效值。其中,上述有效值可以设定为1或true(真),即可以采用1或true表示更新指示参数有效;上述无效值可以设定为0或false(假或非真),即可以采用0或false表示报告指示参数无效。
当然,上述有效值还可以设定为其他任意能够表示更新指示参数有效的数值或标识,上述无效值也可以设定为其他任意能够表示报告指示参数无效的数值或标识,本发明实施例对此不作具体限定。
进一步地,报告指示参数无效可以理解为:转发面网元不需要将其对业务流进行计费测量后的第一计费测量结果参数上报给控制面网元。更新指示参数有效的具体描述可以参见上述(一)中对更新指示参数有效的相关描述,此处不再赘述。
本领域技术人员可以理解,在本发明实施例提供的计费测量的方法具体实现时,如果设计控制面网元获取的在线计费参数包括哪一项参数,则设计预设的计费测量参数集合中至少包括与该项参数对应的第一计费测量参数项,对于计费测量参数集合中的其他第一计费测量参数项,可以作为可选的第一计费测量参数项进行预设。
例如,如果设计控制面网元获取的在线计费参数包括配额消耗时间属性值对,则设计预设的计费测量参数集合中至少包括时间限制参数,对于预设的计费测量参数集合中的其他第一计费测量参数项,例如上行/下行流量限制参数、费率改变时间参数、报告门限参数、有效时间参数、空闲时间参数、报告指示参数和更新指示参数等,均可以作为可选的第一计费测量参数项进行预设。
进一步地,对于计费测量参数集合中可选的第一计费测量参数项,可以按照预先设定的相应的阈值进行确定,即将可选的第一计费测量参数项的值设置为相应的阈值。具体可参见本实施例中上述相关的描述和举例,此处不再赘述。
示例性的,表3为本发明实施例提供的在线计费参数(与在线计费信封生成方式对应的在线计费参数)或预设值,和预设的计费测量参数集合(包括多个第一计费测量参数项)之间的一种示意性的映射关系。
表3
Figure PCTCN2016076229-appb-000003
如表3所示,由于控制面网元获取的在线计费参数包括上行/下行流量配额、费率改变时间、配额门限、配额有效和配额保持时间中的至少一项,以及配额消耗时间属性值对,因此表3所示的计费测量参数集合中与在线计费参数项对应的第一计费测量参数项可 以根据在线计费参数项进行确定;在线计费参数中没有与计费测量参数集合中相应的第一计费测量参数项对应的在线计费参数项时,计费测量参数集合中相应的第一计费测量参数项可以按照表3中所示的预设值进行确定。
例如,表3中的配额消耗时间属性值对、上行/下行流量配额、费率改变时间、配额门限、配额有效和配额保持时间均是控制面网元获取的在线计费参数项;流量限制阈值、费率改变时间阈值、0、有效时间阈值、空闲时间阈值、有效值和无效值均是预设值。
上述表3只是示例性的对在线计费参数或预设值,和预设的计费测量参数集合(包括多个第一计费测量参数项)之间的映射关系进行示例性的说明。计费测量参数集合中包括的第一计费测量参数项的个数和在线计费参数包括的在线计费参数项的个数均可以根据实际使用需求进行设定,本发明不作具体限定。另外,为了避免重复,对于在线计费参数和计费测量参数集合的具体描述可以参见本实施例中上述对离线计费参数和计费测量参数集合的相关描述。
需要说明的是,上述表3也可以理解为控制面网元向转发面网元发送的计费测量参数集合(包含控制面网元根据业务流计费参数确定的计费测量参数)。即控制面网元将其获取的在线计费参数映射到预设的计费测量参数集合中相应的第一计费测量参数项,得到相应的第二计费测量参数项(第二计费测量参数项是第一计费测量参数项赋值后的计费测量参数项),这些第二计费测量参数项即为控制面网元根据其获取的在线计费参数确定的计费测量参数,然后控制面网元再将包含这些计费测量参数的计费测量参数集合发送给转发面网元进行计费测量。
可选的,结合图2,本发明实施例提供的计费测量的方法中,当计费方式为离线计费方式,即业务流计费参数为离线计费参数时,上述S101具体可以包括:
S101a、控制面网元获取业务流计费特征。
上述业务流计费特征可以为终端的签约数据。该业务流计费特 征可以为一个文件标识,该文件标识用于在P-GW中唯一标识一个配置文件,该配置文件中保存有预先配置的离线计费参数。具体的,控制面网元可以从终端的归属签约用户服务器(英文:home subscriber server,缩写:HSS)中获取终端的签约数据,并从终端的签约数据中获取业务流计费特征。
S101b、控制面网元根据业务流计费特征,获取离线计费参数。
控制面网元可以根据业务流计费特征,在P-GW中找到该业务流计费特征标识的配置文件,然后再从该配置文件中获取预先配置的离线计费参数。
可选的,结合图2,本发明实施例提供的计费测量的方法中,当计费方式为在线计费方式,即业务流计费参数为在线计费参数时,上述S101具体可以包括:
S101c、控制面网元接收在线计费系统发送的配额下发消息,配额下发消息中携带在线计费参数。
S101d、控制面网元根据配额下发消息,获取在线计费参数。
控制面网元接收到计费系统发送的配额下发消息后,控制面网元可直接从该配额下发消息中获取在线计费参数。
可选的,上述配额下发消息中还携带信封上报属性值对(英文:envelope-report attribute value pair),该信封上报属性值对用于指示控制面网元以信封的形式向在线计费系统上报计费测量结果。
可选的,结合图2,本发明实施例提供的计费测量的方法中,当计费方式为在线计费方式,即业务流计费参数为在线计费参数时,上述S101具体可以包括:
S101e、控制面网元接收PCRF发送的在线计费参数。
或者,上述S101e可以用S101f和S101g替换,即上述S101具体可以包括:
S101f、控制面网元获取业务流计费特征。
S101g、控制面网元根据业务流计费特征,获取在线计费参数。
对于S101f和S101g的描述可参见上述实施例中对S101a和 S101b的相关描述,此处不再赘述。
本发明实施例提供的计费测量的方法,无论是在线计费方式还是离线计费方式,控制面网元均可以根据其获取到的业务流计费参数(即在线计费参数或离线计费参数),确定相应的计费测量参数,由于根据在线计费参数确定的计费测量参数和根据离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数,即控制面网元可以根据在线计费参数或离线计费参数确定具有相同类型的计费测量参数,并将包含该计费测量参数的计费测量参数集合发送给转发面网元进行计费测量,因此能够使得转发面网元可以不用识别离线计费方式还是在线计费方式,即转发面网元可以根据接收到的计费测量参数集合(与离线计费方式对应的计费测量参数集合和与在线计费方式对应的计费测量参数集合中的计费测量参数的类型相同)直接进行计费测量,如此可以保证离线计费功能和在线计费功能在转发面网元统一,进而能够降低转发面网元及其与控制面网元之间的控制接口的实现复杂度。
可选的,如图5所示,本发明实施例提供一种控制面网元,所述控制面网元可以用于执行以上方法实施例中的控制面网元所执行的步骤。所述控制面网元可以包括相应步骤所对应的模块。示例性的,所述控制面网元可以包括:
获取单元10,用于获取业务流计费参数,所述业务流计费参数为在线计费参数或离线计费参数;确定单元11,用于根据所述获取单元10获取的所述业务流计费参数,确定计费测量参数,其中,根据所述在线计费参数确定的计费测量参数和根据所述离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数;发送单元12,用于向转发面网元发送第一消息,所述第一消息中携带所述确定单元11确定的所述计费测量参数集合和业务流标识,所述第一消息用于触发所述转发面网元根据所述计费测量参数集合对所述业务流标识指示的业务流进行计费测量。
可选的,结合图5,如图6所示,所述控制面网元还可以包括接收单元13,
所述接收单元13,用于接收所述转发面网元发送的第二消息,所述第二消息中携带所述转发面网元对所述业务流进行计费测量后的第一计费测量结果参数和触发所述转发面网元发送所述第二消息的第一原因值参数。
所述转发面网元根据所述控制面网元的发送单元发送的所述第一消息对所述业务流进行计费测量之后,所述转发面网元再通过所述第二消息将其进行计费测量的结果上报给所述控制面网元,即所述控制面网元接收所述转发面网元发送的第二消息。
可选的,所述确定单元11,还用于根据所述接收单元13接收的所述第一计费测量结果参数和所述第一原因值参数,生成第三消息,所述第三消息中携带第二计费测量结果参数、控制面计费参数和第二原因值参数;所述发送单元12,还用于向计费系统发送所述确定单元11生成的所述第三消息。
可选的,当所述业务流计费参数为离线计费参数时,所述计费系统为离线计费系统,所述第三消息为计费话单请求消息。
可选的,当所述业务流计费参数为所述离线计费参数时,所述计费测量参数包括时间限制参数、上行/下行流量限制参数和费率改变时间参数中的至少一项。
相应的,所述离线计费参数包括时间限制、上行/下行流量限制和费率改变时间中的至少一项。
可选的,所述计费测量参数还包括报告门限参数、有效时间参数、空闲时间参数、报告指示参数和更新指示参数中的至少一项。
当业务流计费参数为离线计费参数时,对于计费测量参数和离线计费参数的描述具体可参见上述方法实施例的(一)中对计费测量参数和离线计费参数的相关描述,此处不再赘述。
可选的,当所述业务流计费参数为在线计费参数时,所述计费系统为在线计费系统,所述第三消息为配额请求消息,所述第三消 息中还携带配额请求参数。
可选的,当所述业务流计费参数为在线计费参数时,所述计费测量参数包括时间限制参数、上行/下行流量限制参数、费率改变时间参数、报告门限参数、有效时间参数和空闲时间参数中的至少一项。
相应的,所述在线计费参数包括时间配额、上行/下行流量配额、费率改变时间、配额门限、配额有效和配额保持时间中的至少一项。
可选的,所述计费测量参数还包括报告指示参数和更新指示参数中的至少一项。
当业务流计费参数为在线计费参数时,对于计费测量参数和在线计费参数的描述具体可参见上述方法实施例的(二)中对计费测量参数和在线计费参数的相关描述,此处不再赘述。
可选的,当所述业务流计费参数为所述在线计费参数时,所述计费测量参数包括上行/下行流量限制参数、费率改变时间参数、报告门限参数、有效时间参数、空闲时间参数中的至少一项,以及时间限制参数。
相应的,所述在线计费参数包括上行/下行流量配额、费率改变时间、配额门限、配额有效和配额保持时间中的至少一项,以及配额消耗时间属性值对。
可选的,所述计费测量参数还包括报告指示参数和更新指示参数中的至少一项。
当业务流计费参数为在线计费参数时,对于计费测量参数和在线计费参数的描述具体可参见上述方法实施例的(三)中对计费测量参数和在线计费参数的相关描述,此处不再赘述。
可选的,所述第一原因值参数为到达时间限制阈值剩余量、到达流量限制阈值剩余量、到达费率切换时间阈值或者指示信息,所述指示信息用于指示所述转发面网元发送所述第二消息。
可选的,所述业务流计费参数为离线计费参数,
所述获取单元10,具体用于获取业务流计费特征,并根据所述 业务流计费特征,获取所述离线计费参数。
可选的,所述业务流计费参数为在线计费参数,
所述获取单元10,具体用于接收在线计费系统发送的配额下发消息,并根据所述配额下发消息,获取所述在线计费参数,所述配额下发消息中携带所述在线计费参数。
可以理解,本实施例的控制面网元可对应于上述如图2至图4任意之一所示实施例的计费测量的方法中的控制面网元,并且本实施例的控制面网元中各个模块的划分和/或功能等均是为了实现如图2至图4任意之一所示的方法流程,为了避免重复,对于本发明实施例提供的控制面网元执行上述方法实施例中所示的方法流程时的具体描述均可以参见上述方法实施例中的相关描述,在此不再赘述。
本发明实施例在具体实现时,上述获取单元10和确定单元11可以通过控制面网元中的至少一个处理器实现,上述发送单元12和接收单元13可以通过控制面网元中的收发机(也可以为独立的发射机和接收机)实现,具体的,该至少一个处理器可以通过一个独立的处理单元或者一个集成的处理单元实现,该收发机可以通过控制面网元中的接口电路实现,本发明实施例不作具体限定。
本发明实施例提供的控制面网元,无论是在线计费方式还是离线计费方式,该控制面网元均可以根据其获取到的业务流计费参数(即在线计费参数或离线计费参数),确定相应的计费测量参数,且由于根据在线计费参数确定的计费测量参数和根据离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数,即该控制面网元可以根据在线计费参数或离线计费参数确定具有相同类型的计费测量参数,并将包含该计费测量参数的计费测量参数集合发送给转发面网元进行计费测量,因此能够使得离线计费功能(离线计费方式对应的计费功能)和在线计费功能(在线计费方式对应的计费功能)在转发面网元统一,从而能够降低转发面网元及其与该装置之间的控制接口的实现复杂度。
如图7所示,本发明实施例提供一种转发面网元,所述转发面网元包括:
发送单元20,用于向控制面网元发送消息,所述消息中携带所述转发面网元对业务流进行计费测量后的第一计费测量结果参数和触发所述转发面网元发送所述消息的第一原因值参数。
可选的,所述第一原因值参数为到达时间限制阈值剩余量、到达流量限制阈值剩余量、到达费率切换时间阈值或者指示信息,所述指示信息用于指示所述转发面网元发送所述消息。
可选的,如图7所示,本发明实施例中的转发面网元还可以包括接收单元21、计费测量单元22,生成单元23等。
所述接收单元21可以用于接收控制面网元发送的第一消息;所述计费测量单元22可以根据所述接收单元21接收的第一消息中的计费测量参数集合对业务流进行计费测量;所述生成单元23可以根据所述计费测量单元22进行计费测量的结果生成所述发送单元20发送的所述消息。
可以理解,本实施例的转发面网元可对应于上述如图2至图4任意之一所示实施例的计费测量的方法中的转发面网元,并且本实施例的转发面网元中各个模块的划分和/或功能等均是为了实现如图2至图4任意之一所示的方法流程,为了避免重复,对于本发明实施例提供的转发面网元执行上述方法实施例中所示的方法流程时的具体描述均可以参见上述方法实施例中的相关描述,在此不再赘述。
本发明实施例在具体实现时,上述计费测量单元22和生成单元23可以通过转发面网元中的至少一个处理器实现,上述发送单元20和接收单元21可以通过转发面网元中的收发机(也可以为独立的发射机和接收机)实现,具体的,该至少一个处理器可以通过一个独立的处理单元或者一个集成的处理单元实现,该收发机可以通过转发面网元中的接口电路实现,本发明实施例不作具体限定。
本发明实施例提供的转发面网元,该转发面网元在满足上述第一原因值参数指示的条件时向控制面网元发送第二消息,可以使得该转发面网元在需要发送第二消息时才发送,如此能够提高该转发面网元的工作效率,节省转发面网元的资源。
进一步地,转发面网元接收到控制面网元发送的计费测量集合后,转发面网元可以不用识别离线计费方式还是在线计费方式,即转发面网元可以根据接收到的计费测量参数集合(与离线计费方式对应的计费测量参数集合和与在线计费方式对应的计费测量参数集合中的计费测量参数的类型相同)直接进行计费测量,如此可以保证离线计费功能和在线计费功能在转发面网元统一,进而能够降低转发面网元及其与控制面网元之间的控制接口的实现复杂度。
如图8所示,本发明实施例提供一种控制面网元,所述控制面网元可以用于执行以上方法实施例中的控制面网元所执行的步骤。所述控制面网元可以包括至少一个处理器30、接口电路31、存储器32和系统总线33。
所述存储器32用于存储计算机执行指令,所述至少一个处理器30、所述接口电路31和所述存储器32通过所述系统总线33相互连接,当所述控制面网元运行时,所述至少一个处理器30执行所述存储器32存储的所述计算机执行指令,以使所述控制面网元执行图2至图4任意之一所述的计费测量的方法。具体的计费测量的方法可参见上述如图2至图4任意之一所示的实施例中的相关描述,此处不再赘述。
本实施例还提供一种存储介质,该存储介质可以包括所述存储器32。
所述至少一个处理器30可以为中央处理器(英文:central processing unit,缩写:CPU)。所述至少一个处理器30还可以为其他通用处理器、数字信号处理器(英文:digital signal processing,简称DSP)、专用集成电路(英文:application specific integrated  circuit,简称ASIC)、现场可编程门阵列(英文:field-programmable gate array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述至少一个处理器30可以为专用处理器,该专用处理器可以包括基带处理芯片、射频处理芯片等中的至少一个。进一步地,该专用处理器还可以包括具有控制面网元其他专用处理功能的芯片。
所述存储器32可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM);所述存储器32也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(英文:read-only memory,缩写:ROM),快闪存储器(英文:flash memory),硬盘(英文:hard disk drive,缩写:HDD)或固态硬盘(英文:solid-state drive,缩写:SSD);所述存储器32还可以包括上述种类的存储器的组合。
所述系统总线33可以包括数据总线、电源总线、控制总线和信号状态总线等。本实施例中为了清楚说明,在图8中将各种总线都示意为系统总线33。
所述接口电路31具体可以是控制面网元上的收发机(或者是独立的发射机和接收机)等。所述至少一个处理器30通过所述接口电路31与其他设备,例如转发面网元之间进行数据的收发。
在具体实现过程中,上述如图2至图4任意之一所示的方法流程中的各步骤均可以通过硬件形式的处理器30执行存储器32中存储的软件形式的计算机执行指令实现。为避免重复,此处不再赘述。
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有一个或多个程序,一个或多个程序包括指令,当控制面网元的至少一个处理器30执行该指令时,控制面网元执行上述图2至图4任意之一所述的计费测量的方法。
本发明实施例还提供一种系统芯片,该系统芯片可以为控制面网元中的系统芯片,该系统芯片包括至少一个处理器、输入输出接 口、存储器和总线;
存储器用于存储计算机执行指令,至少一个处理器、存储器和输入输出接口通过总线连接,当系统芯片运行时,至少一个处理器执行存储器存储的计算机执行指令,以使系统芯片执行上述图2至图4任意之一所述的计费测量的方法。
本发明实施例提供的控制面网元,无论是在线计费方式还是离线计费方式,该控制面网元均可以根据其获取到的业务流计费参数(即在线计费参数或离线计费参数),确定相应的计费测量参数,且由于根据在线计费参数确定的计费测量参数和根据离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数,即该控制面网元可以根据在线计费参数或离线计费参数确定具有相同类型的计费测量参数,并将包含该计费测量参数的计费测量参数集合发送给转发面网元进行计费测量,因此能够使得离线计费功能(离线计费方式对应的计费功能)和在线计费功能(在线计费方式对应的计费功能)在转发面网元统一,从而能够降低转发面网元及其与该装置之间的控制接口的实现复杂度。
如图9所示,本发明实施例提供一种转发面网元,所述转发面网元可以用于执行以上方法实施例中的转发面网元所执行的步骤。所述转发面网元可以包括至少一个处理器40、接口电路41、存储器42和系统总线43。
所述存储器42用于存储计算机执行指令,所述至少一个处理器40、所述接口电路41和所述存储器42通过所述系统总线43相互连接,当所述转发面网元运行时,所述至少一个处理器40执行所述存储器42存储的所述计算机执行指令,以使所述转发面网元执行图2至图4任意之一所述的计费测量的方法。具体的计费测量的方法可参见上述如图2至图4任意之一所示的实施例中的相关描述,此处不再赘述。
本实施例还提供一种存储介质,该存储介质可以包括所述存储 器42。
所述至少一个处理器40可以为CPU。所述至少一个处理器40还可以为其他通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述至少一个处理器40可以为专用处理器,该专用处理器可以包括基带处理芯片、射频处理芯片等中的至少一个。进一步地,该专用处理器还可以包括具有转发面网元其他专用处理功能的芯片。
所述存储器42可以包括易失性存储器,例如RAM;所述存储器42也可以包括非易失性存储器,例如ROM,快闪存储器,HDD或SSD;所述存储器42还可以包括上述种类的存储器的组合。
所述系统总线43可以包括数据总线、电源总线、控制总线和信号状态总线等。本实施例中为了清楚说明,在图9中将各种总线都示意为系统总线43。
所述接口电路41具体可以是转发面网元上的收发机(或者是独立的发射机和接收机)等。所述至少一个处理器40通过所述接口电路41与其他设备,例如控制面网元之间进行数据的收发。
在具体实现过程中,上述如图2至图4任意之一所示的方法流程中的各步骤均可以通过硬件形式的处理器40执行存储器42中存储的软件形式的计算机执行指令实现。为避免重复,此处不再赘述。
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有一个或多个程序,一个或多个程序包括指令,当转发面网元的至少一个处理器40执行该指令时,转发面网元执行上述图2至图4任意之一所述的计费测量的方法。
本发明实施例还提供一种系统芯片,该系统芯片可以为转发面网元中的系统芯片,该系统芯片包括至少一个处理器、输入输出接口、存储器和总线;
存储器用于存储计算机执行指令,至少一个处理器、存储器和输入输出接口通过总线连接,当系统芯片运行时,至少一个处理器 执行存储器存储的计算机执行指令,以使系统芯片执行上述图2至图4任意之一所述的计费测量的方法。
本发明实施例提供的转发面网元,该转发面网元在满足上述第一原因值参数指示的条件时向控制面网元发送第二消息,可以使得该转发面网元在需要发送第二消息时才发送,如此能够提高该转发面网元的工作效率,节省转发面网元的资源。
进一步地,转发面网元接收到控制面网元发送的计费测量集合后,转发面网元可以不用识别离线计费方式还是在线计费方式,即转发面网元可以根据接收到的计费测量参数集合(与离线计费方式对应的计费测量参数集合和与在线计费方式对应的计费测量参数集合中的计费测量参数的类型相同)直接进行计费测量,如此可以保证离线计费功能和在线计费功能在转发面网元统一,进而能够降低转发面网元及其与控制面网元之间的控制接口的实现复杂度。
本发明实施例提供一种计费测量的系统,该系统可以包括本发明实施例提供的控制面网元和转发面网元。对于该控制面网元的具体描述可以参见上述如图5、图6或图8所示的实施例中对控制面网元的相关描述,对于该转发面网元的具体描述可以参见上述如图7或图9所示的实施例中对转发面网元的相关描述,此处不再赘述。
示例性的,如图1所示,为本发明实施例提供的一种计费测量的系统的架构示意图。该计费测量的系统包括终端1、基站2、控制面网元3、转发面网元4、离线计费系统5和在线计费系统6。对于该计费测量的系统的具体描述可参见上述如图1所示的实施例中的相关描述,此处不再赘述。
本发明实施例提供的计费测量的系统,无论是在线计费方式还是离线计费方式,控制面网元均可以根据其获取到的业务流计费参数(即在线计费参数或离线计费参数),确定相应的计费测量参数,由于根据在线计费参数确定的计费测量参数和根据离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数, 即控制面网元可以根据在线计费参数或离线计费参数确定具有相同类型的计费测量参数,并将包含该计费测量参数的计费测量参数集合发送给转发面网元进行计费测量,因此能够使得转发面网元可以不用识别离线计费方式还是在线计费方式,即转发面网元可以根据接收到的计费测量参数集合(与离线计费方式对应的计费测量参数集合和与在线计费方式对应的计费测量参数集合中的计费测量参数的类型相同)直接进行计费测量,如此可以保证离线计费功能和在线计费功能在转发面网元统一,进而能够降低转发面网元及其与控制面网元之间的控制接口的实现复杂度。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。

Claims (27)

  1. 一种计费测量的方法,其特征在于,包括:
    控制面网元获取业务流计费参数,所述业务流计费参数为在线计费参数或离线计费参数;
    所述控制面网元根据所述业务流计费参数,确定计费测量参数,其中,根据所述在线计费参数确定的计费测量参数和根据所述离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数;
    所述控制面网元向转发面网元发送第一消息,所述第一消息中携带所述计费测量参数集合和业务流标识,所述第一消息用于触发所述转发面网元根据所述计费测量参数集合对所述业务流标识指示的业务流进行计费测量。
  2. 根据权利要求1所述的方法,其特征在于,所述控制面网元向转发面网元发送第一消息之后,所述方法还包括:
    所述控制面网元接收所述转发面网元发送的第二消息,所述第二消息中携带所述转发面网元对所述业务流进行计费测量后的第一计费测量结果参数和触发所述转发面网元发送所述第二消息的第一原因值参数。
  3. 根据权利要求2所述的方法,其特征在于,所述控制面网元接收所述转发面网元发送的第二消息之后,所述方法还包括:
    所述控制面网元根据所述第一计费测量结果参数和所述第一原因值参数,生成第三消息,所述第三消息中携带第二计费测量结果参数、控制面计费参数和第二原因值参数;
    所述控制面网元向计费系统发送所述第三消息。
  4. 根据权利要求1-3任意一项所述的方法,其特征在于,
    当所述业务流计费参数为所述离线计费参数时,所述计费测量参数包括时间限制参数、上行/下行流量限制参数和费率改变时间参数中的至少一项。
  5. 根据权利要求4所述的方法,其特征在于,
    所述计费测量参数还包括报告门限参数、有效时间参数、空闲时间参数、报告指示参数和更新指示参数中的至少一项。
  6. 根据权利要求1-3任意一项所述的方法,其特征在于,
    当所述业务流计费参数为所述在线计费参数时,所述计费测量参数包括时间限制参数、上行/下行流量限制参数、费率改变时间参数、报告门限参数、有效时间参数和空闲时间参数中的至少一项。
  7. 根据权利要求6所述的方法,其特征在于,
    所述计费测量参数还包括报告指示参数和更新指示参数中的至少一项。
  8. 根据权利要求1-3任意一项所述的方法,其特征在于,
    当所述业务流计费参数为所述在线计费参数时,所述计费测量参数包括上行/下行流量限制参数、费率改变时间参数、报告门限参数、有效时间参数、空闲时间参数中的至少一项,以及时间限制参数。
  9. 根据权利要求8所述的方法,其特征在于,
    所述计费测量参数还包括报告指示参数和更新指示参数中的至少一项。
  10. 根据权利要求2或3所述的方法,其特征在于,
    所述第一原因值参数为到达时间限制阈值剩余量、到达流量限制阈值剩余量、到达费率切换时间阈值或者指示信息,所述指示信息用于指示所述转发面网元发送所述第二消息。
  11. 一种计费测量的方法,其特征在于,包括:
    转发面网元向控制面网元发送消息,所述消息中携带所述转发面网元对业务流进行计费测量后的第一计费测量结果参数和触发所述转发面网元发送所述消息的第一原因值参数。
  12. 根据权利要求11所述的方法,其特征在于,
    所述第一原因值参数为到达时间限制阈值剩余量、到达流量限制阈值剩余量、到达费率切换时间阈值或者指示信息,所述指示信息用于指示所述转发面网元发送所述消息。
  13. 一种控制面网元,其特征在于,包括:
    获取单元,用于获取业务流计费参数,所述业务流计费参数为在线计费参数或离线计费参数;
    确定单元,用于根据所述获取单元获取的所述业务流计费参数,确定计费测量参数,其中,根据所述在线计费参数确定的计费测量参数和根据所述离线计费参数确定的计费测量参数为同一个计费测量参数集合中的计费测量参数;
    发送单元,用于向转发面网元发送第一消息,所述第一消息中携带所述确定单元确定的所述计费测量参数集合和业务流标识,所述第一消息用于触发所述转发面网元根据所述计费测量参数集合对所述业务流标识指示的业务流进行计费测量。
  14. 根据权利要求13所述的控制面网元,其特征在于,所述控制面网元还包括接收单元,
    所述接收单元,用于接收所述转发面网元发送的第二消息,所述第二消息中携带所述转发面网元对所述业务流进行计费测量后的第一计费测量结果参数和触发所述转发面网元发送所述第二消息的第一原因值参数。
  15. 根据权利要求14所述的控制面网元,其特征在于,
    所述确定单元,还用于根据所述接收单元接收的所述第一计费测量结果参数和所述第一原因值参数,生成第三消息,所述第三消息中携带第二计费测量结果参数、控制面计费参数和第二原因值参数;
    所述发送单元,还用于向计费系统发送所述确定单元生成的所述第三消息。
  16. 根据权利要求13至15任意一项所述的控制面网元,其特征在于,
    当所述业务流计费参数为所述离线计费参数时,所述计费测量参数包括时间限制参数、上行/下行流量限制参数和费率改变时间参数中的至少一项。
  17. 根据权利要求16所述的控制面网元,其特征在于,
    所述计费测量参数还包括报告门限参数、有效时间参数、空闲时 间参数、报告指示参数和更新指示参数中的至少一项。
  18. 根据权利要求13至15任意一项所述的控制面网元,其特征在于,
    当所述业务流计费参数为所述在线计费参数时,所述计费测量参数包括时间限制参数、上行/下行流量限制参数、费率改变时间参数、报告门限参数、有效时间参数和空闲时间参数中的至少一项。
  19. 根据权利要求18所述的控制面网元,其特征在于,
    所述计费测量参数还包括报告指示参数和更新指示参数中的至少一项。
  20. 根据权利要求13至15任意一项所述的控制面网元,其特征在于,
    当所述业务流计费参数为所述在线计费参数时,所述计费测量参数包括上行/下行流量限制参数、费率改变时间参数、报告门限参数、有效时间参数、空闲时间参数中的至少一项,以及时间限制参数。
  21. 根据权利要求20所述的控制面网元,其特征在于,
    所述计费测量参数还包括报告指示参数和更新指示参数中的至少一项。
  22. 根据权利要求14或15所述的控制面网元,其特征在于,
    所述第一原因值参数为到达时间限制阈值剩余量、到达流量限制阈值剩余量、到达费率切换时间阈值或者指示信息,所述指示信息用于指示所述转发面网元发送所述第二消息。
  23. 一种转发面网元,其特征在于,包括:
    发送单元,用于向控制面网元发送消息,所述消息中携带所述转发面网元对业务流进行计费测量后的第一计费测量结果参数和触发所述转发面网元发送所述消息的第一原因值参数。
  24. 根据权利要求23所述的转发面网元,其特征在于,
    所述第一原因值参数为到达时间限制阈值剩余量、到达流量限制阈值剩余量、到达费率切换时间阈值或者指示信息,所述指示信息用于指示所述转发面网元发送所述消息。
  25. 一种控制面网元,其特征在于,包括至少一个处理器、接口电路、存储器和系统总线;
    所述存储器用于存储计算机执行指令,所述至少一个处理器、所述接口电路和所述存储器通过所述系统总线相互连接,当所述控制面网元运行时,所述至少一个处理器执行所述存储器存储的所述计算机执行指令,以使所述控制面网元执行如权利要求1至10任意一项所述的计费测量的方法。
  26. 一种转发面网元,其特征在于,包括至少一个处理器、接口电路、存储器和系统总线;
    所述存储器用于存储计算机执行指令,所述至少一个处理器、所述接口电路和所述存储器通过所述系统总线相互连接,当所述转发面网元运行时,所述至少一个处理器执行所述存储器存储的所述计算机执行指令,以使所述转发面网元执行如权利要求11或12所述的计费测量的方法。
  27. 一种计费测量的系统,其特征在于,包括如权利要求13至22任意一项或25所述的控制面网元,以及如权利要求23、24或26所述的转发面网元。
PCT/CN2016/076229 2016-03-14 2016-03-14 一种计费测量的方法、装置及系统 WO2017156670A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201680067700.XA CN108352994B (zh) 2016-03-14 2016-03-14 一种计费测量的方法、装置及系统
EP16893835.5A EP3407539A4 (en) 2016-03-14 2016-03-14 METHOD, DEVICE, AND CHARGING MEASUREMENT SYSTEM
PCT/CN2016/076229 WO2017156670A1 (zh) 2016-03-14 2016-03-14 一种计费测量的方法、装置及系统
US16/110,962 US10536585B2 (en) 2016-03-14 2018-08-23 Charging measurement method, apparatus, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/076229 WO2017156670A1 (zh) 2016-03-14 2016-03-14 一种计费测量的方法、装置及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/110,962 Continuation US10536585B2 (en) 2016-03-14 2018-08-23 Charging measurement method, apparatus, and system

Publications (1)

Publication Number Publication Date
WO2017156670A1 true WO2017156670A1 (zh) 2017-09-21

Family

ID=59852254

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/076229 WO2017156670A1 (zh) 2016-03-14 2016-03-14 一种计费测量的方法、装置及系统

Country Status (4)

Country Link
US (1) US10536585B2 (zh)
EP (1) EP3407539A4 (zh)
CN (1) CN108352994B (zh)
WO (1) WO2017156670A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108811153A (zh) * 2017-05-05 2018-11-13 华为技术有限公司 通信方法、集中式单元、分布式单元、基站及终端设备
US10797894B2 (en) * 2017-12-28 2020-10-06 Ofinno, Llc Service type and device type-based policy and charging control
US10855851B2 (en) 2018-09-13 2020-12-01 Ofinno, Llc Charging control with SMF
US11039018B2 (en) * 2018-09-13 2021-06-15 Ofinno, Llc Charging control with SMF and PCF

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325498A (zh) * 2008-07-24 2008-12-17 中国网络通信集团公司 业务控制和计费的方法及系统
CN101488864A (zh) * 2008-01-14 2009-07-22 朗讯科技公司 用于通信网络的计费系统和计费方法
EP2466866A1 (en) * 2010-12-15 2012-06-20 Alcatel Lucent Unlimited usage policy-based charging system and method
CN104349298A (zh) * 2013-08-09 2015-02-11 中兴通讯股份有限公司 一种网络计费方法、控制器、数据中心及系统
CN104378749A (zh) * 2013-08-12 2015-02-25 中兴通讯股份有限公司 基于sdn epc网络的计费实现方法与系统

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436940B (zh) * 2007-11-14 2011-04-20 华为技术有限公司 一种计费控制方法及计费系统以及相关设备
CN101267321A (zh) * 2008-04-28 2008-09-17 中兴通讯股份有限公司 计费方法、系统以及消息识别转换功能装置
US9332133B2 (en) * 2010-12-09 2016-05-03 Allot Communications Ltd. System, device, and method of traffic detection
PT2863661T (pt) * 2012-06-30 2019-01-17 Huawei Tech Co Ltd Processo e gateway para faturação de gateway
CN104040949B (zh) * 2012-09-12 2017-06-20 华为技术有限公司 一种在线计费方法、设备及网络系统
CN104104520A (zh) * 2013-04-10 2014-10-15 华为技术有限公司 一种基于OpenFlow协议的计费的方法及系统
JP6048457B2 (ja) * 2014-07-16 2016-12-21 トヨタ自動車株式会社 車両走行制御装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488864A (zh) * 2008-01-14 2009-07-22 朗讯科技公司 用于通信网络的计费系统和计费方法
CN101325498A (zh) * 2008-07-24 2008-12-17 中国网络通信集团公司 业务控制和计费的方法及系统
EP2466866A1 (en) * 2010-12-15 2012-06-20 Alcatel Lucent Unlimited usage policy-based charging system and method
CN104349298A (zh) * 2013-08-09 2015-02-11 中兴通讯股份有限公司 一种网络计费方法、控制器、数据中心及系统
CN104378749A (zh) * 2013-08-12 2015-02-25 中兴通讯股份有限公司 基于sdn epc网络的计费实现方法与系统

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
EP3407539A4 (en) 2019-02-27
EP3407539A1 (en) 2018-11-28
CN108352994A (zh) 2018-07-31
US20180367675A1 (en) 2018-12-20
US10536585B2 (en) 2020-01-14
CN108352994B (zh) 2020-08-25

Similar Documents

Publication Publication Date Title
JP6677747B2 (ja) 3gppネットワークにおけるスモールデータ使用有効化
WO2017000750A1 (zh) 测量终端上运行的业务的质量的方法、设备及系统
JP6696033B2 (ja) 中継デバイスの課金
WO2016034030A1 (zh) 一种跨plmn漫游数据业务在线计费方法及设备
US11272333B2 (en) Convergent charging method and device
WO2017156670A1 (zh) 一种计费测量的方法、装置及系统
WO2017148206A1 (zh) 一种计费方法和装置
CN106507382B (zh) 一种Diameter消息路由方法和路由代理节点
US10499213B2 (en) Charging method, control plane network element, forwarding plane network element, and charging system
WO2017193275A1 (zh) QoS资源分配方法和装置
WO2017161522A1 (zh) 流量使用量统计方法、装置及系统
WO2015188682A1 (zh) 业务链的处理方法、装置与系统
CN113727390A (zh) 一种数据传输方法、装置及通信系统
WO2013056470A1 (zh) 一种接入处理方法、设备和系统
WO2017193303A1 (zh) 一种通信计费方法
US20230379233A1 (en) Packet Loss Rate Detection Method, Communication Apparatus, and Communication System
US20150295724A1 (en) Management of a policy controlled group
AU2020379793A1 (en) Communication method, apparatus and system
WO2017088163A1 (zh) 一种信息内容传输方法和装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2016893835

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2016893835

Country of ref document: EP

Effective date: 20180820

NENP Non-entry into the national phase

Ref country code: DE