WO2014040240A1 - 一种在线计费方法、设备及网络系统 - Google Patents

一种在线计费方法、设备及网络系统 Download PDF

Info

Publication number
WO2014040240A1
WO2014040240A1 PCT/CN2012/081291 CN2012081291W WO2014040240A1 WO 2014040240 A1 WO2014040240 A1 WO 2014040240A1 CN 2012081291 W CN2012081291 W CN 2012081291W WO 2014040240 A1 WO2014040240 A1 WO 2014040240A1
Authority
WO
WIPO (PCT)
Prior art keywords
flow entry
threshold
controller
switch
information
Prior art date
Application number
PCT/CN2012/081291
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 CN201280001653.0A priority Critical patent/CN104040949B/zh
Priority to PCT/CN2012/081291 priority patent/WO2014040240A1/zh
Publication of WO2014040240A1 publication Critical patent/WO2014040240A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks

Definitions

  • the present invention relates to the field of communications, and in particular, to an online charging method, device, and network system.
  • OpenFlow technology Based on the existing Transmission Control Protocol/Internet Protocol (TCP/IP) technology, OpenFlow technology converts the packet forwarding process originally controlled by the traditional switch/router into OpenFlow-enabled technology.
  • the controller determines the path of all packets in the network.
  • the switch maintains a flow table locally to control the processing and forwarding of data streams.
  • the switch is provided with a multi-level flow table and a group table and a secure channel connected to the controller.
  • the controller operates the flow table through the OpenFlow protocol to add, modify, and delete flow entries in the flow table.
  • the OpenFlow ten-node can be associated with a flow counter to record a counter that records the duration of the flow entry and the number of data packets that match the flow entry.
  • the flow table entry expiration processing mechanism is also defined in the OpenFlow protocol.
  • the specific processing procedure is as follows: Each flow entry is associated with a mandatory timer to implement forced timeout processing. If the forced timeout threshold (hard_timeout) of the flow entry is set to non-zero, when the time corresponding to the hard_timeout arrives, the packet will be deleted immediately regardless of how many packets are processed.
  • hard_timeout forced timeout threshold
  • online charging of an Open Flow network can be implemented by using a hard-timeout associated with a flow entry. After the user purchases the time, the carrier creates a flow entry for the user on the switch and sets the associated hard-timeout. After the long-term exhaustion, the flow entry is deleted. If the user renews the extension, the operator re-establishes the flow entry for the user and resets it. Hard—timeout.
  • the embodiments of the present invention provide an online charging method, device, and network system, which are used to solve the problem of data packet forwarding delay in Open Flow online charging.
  • a first aspect of the present invention provides an online charging method, including:
  • the switch performs statistics on the data flows corresponding to the flow entry.
  • the switch When the statistic result reaches the threshold value, the switch sends a first message to the controller, where it is used to obtain new threshold information of the flow entry; wherein the threshold value of the threshold is less than the threshold;
  • the online charging method further includes: when the statistical result reaches the threshold, if the receiver does not receive the flow sent by the controller The entry modification message, the switch deletes the flow entry.
  • the switch sends a first message to the controller, where the new threshold information is obtained, where the method includes:
  • the switch sends a notification message to the controller, where the notification message is used to notify the controller that the statistical result reaches a tolerance value of the threshold, so that the controller sends the flow entry New threshold information; or,
  • the switch sends a request message to the controller, where the request message is used to request to acquire new threshold information of the flow entry.
  • the method further includes:
  • the new threshold information includes:
  • the flow entry modification message further carries bandwidth control information
  • the method further includes:
  • a second aspect of the present invention provides an online charging method, including:
  • the controller sends a flow entry modification message carrying the new threshold information of the flow entry to the switch.
  • the method further includes:
  • the controller sends an online charging request to the OCS;
  • the controller receives an online charging response sent by the OCS, where the online charging response carries a new quota of the flow entry.
  • the controller receives a first message sent by a switch, where the first message is used to obtain new threshold information of a flow entry, Includes:
  • the controller receives a notification message sent by the switch, where the notification message is used to notify The statistic result of the data flow corresponding to the flow entry reaches the threshold value of the threshold, so that the controller sends the new threshold information of the flow entry; or
  • the controller receives a request message sent by the switch, where the request message is used to request to acquire new threshold information of the flow entry.
  • the new threshold information includes:
  • a switch including:
  • a statistical unit configured to perform statistics on the data flow corresponding to the flow entry
  • a sending unit configured to send, by the controller, a first message, to obtain new threshold information of the flow entry, when the statistical result obtained by the statistical unit reaches a threshold value, where the threshold is The tolerance value is less than the threshold;
  • a receiving unit configured to receive a flow entry modification message sent by the controller, where the statistics of the statistics obtained by the statistics unit meets the threshold, where the flow entry modification message includes a new Threshold information.
  • the switch further includes: a deleting unit, configured to: when the statistical result obtained by the statistical unit reaches the threshold, and the receiving unit does not receive the When the flow entry modification message sent by the controller is deleted, the flow entry is deleted.
  • the sending unit is further configured to:
  • the switch further includes:
  • a determining unit configured to determine the threshold and the tolerance value of the threshold according to the new threshold information of the flow entry.
  • the new threshold information includes:
  • the flow entry modification message received by the receiving unit further carries bandwidth control information
  • the switch further includes:
  • a fourth aspect of the present invention provides a controller, including:
  • a receiving unit configured to receive a first message sent by the switch, where the first message is used to obtain new threshold information of the flow entry;
  • a determining unit configured to determine, according to the remaining quota of the flow entry, the new threshold information corresponding to the flow entry; wherein the quota of the flow entry is sent by an online charging system OCS; And the flow entry modification message carrying the new threshold information of the flow entry is sent to the switch when the notification message sent by the switch is used to notify the deletion of the flow entry.
  • the sending unit is further configured to send an online charging to the OCS when the remaining quota of the flow entry is 0. Request
  • the receiving unit is further configured to receive an online charging response sent by the OCS, where the online charging response carries a new quota of the flow entry.
  • the receiving unit is further configured to: Receiving a notification message sent by the switch, where the notification message is used to notify that the statistics result of the data flow corresponding to the flow entry reaches a threshold value, so that the controller sends the new flow entry Threshold information; or,
  • the new threshold information includes:
  • a switch including:
  • a processor configured to perform statistics on a data flow corresponding to the flow entry
  • a transmitter configured to send, by the controller, a first message, to obtain a new threshold information of the flow entry, when the statistical result obtained by the processor reaches a threshold value, where the threshold is The tolerance value is less than the threshold;
  • a receiver configured to receive a flow entry modification message sent by the controller before the statistics obtained by the processor reaches the threshold, where the flow entry modification message includes a new one of the flow entry Threshold information.
  • the processor is further configured to delete the flow entry when the statistical result obtained by the processor reaches the threshold, and the receiver does not receive the flow entry modification message sent by the controller .
  • the transmitter is further configured to:
  • the processor is further configured to determine, according to new threshold information of the flow entry, the threshold and the threshold Limit.
  • the new threshold information includes:
  • the flow entry modification message received by the receiver further carries bandwidth control information
  • the processor is further configured to set a bandwidth corresponding to the flow entry according to the bandwidth control information.
  • a controller including:
  • a receiver configured to receive a first message sent by the switch, where the first message is used to obtain new threshold information of the flow entry;
  • a processor configured to determine, according to a remaining quota of the flow entry, the new threshold information corresponding to the flow entry; wherein the quota information of the flow entry is sent by an online charging system OCS; And, when the notification message sent by the switch for notifying the deletion of the flow entry is not received, the flow entry modification message carrying the new threshold value of the flow entry is sent to the switch.
  • the transmitter is further configured to send an online meter to the OCS when the remaining quota of the flow entry is 0. Fee request;
  • the receiver is further configured to receive an online charging response sent by the OCS, where the online charging response carries a new quota of the flow entry.
  • the receiver is further configured to: Receiving a notification message sent by the switch, where the notification message is used to notify that the statistics result of the data flow corresponding to the flow entry reaches a threshold value, so that the controller sends the new flow entry Threshold information; or,
  • the new threshold information includes:
  • an online charging network system including: a switch, a controller, and an online charging system OCS;
  • the switch is configured to perform statistics on the data flow corresponding to the flow entry; when the statistical result reaches the tolerance of the threshold, the first message is sent to the controller, and the new threshold information of the flow entry is obtained.
  • the threshold value of the threshold is less than the threshold; before the statistics reach the threshold, the controller receives a flow entry modification message, where the flow entry modification message includes the flow entry New threshold information.
  • the controller is configured to receive a first message sent by the switch, where the first message is used to obtain new threshold information of the flow entry; and the remaining quota of the flow entry is used to determine the corresponding flow entry.
  • the new threshold information wherein the quota of the flow entry is sent by the online charging system OCS; if the notification sent by the switch for notifying the deletion of the flow entry is not received, the The controller sends a flow entry modification message carrying a new threshold value of the flow entry to the switch.
  • the online charging system OCS is configured to receive an online charging request sent by the controller, and send an online charging response to the controller, where the online charging response carries the new item of the flow entry Quota.
  • An online charging method, a device, and a network system provided by the embodiment of the present invention perform statistics on a data flow corresponding to a flow entry, and when the statistical result reaches a threshold value, the control is performed.
  • the device sends a first message, which is used to obtain new threshold information of the flow entry, and receives a flow entry modification message sent by the controller, where the flow entry modification message is included, before the statistics result reaches the threshold.
  • the new threshold information of the flow entry is compared with the method of performing online charging only by setting the mandatory timeout threshold in the prior art.
  • the value of the associated threshold is added to the flow entry before the statistical result reaches the threshold.
  • a new threshold is requested from the controller, so that the current flow entry can be used for charging, which solves the problem of delaying data packet forwarding in Open Flow online charging.
  • FIG. 1 is a flowchart of an online charging method according to Embodiment 1 of the present invention.
  • FIG. 3 is a flowchart of a time-based online charging method according to Embodiment 2 of the present invention
  • FIG. 4 is a schematic structural diagram of a switch according to Embodiment 3 of the present invention
  • FIG. 5 is a schematic structural diagram of another switch according to Embodiment 3 of the present invention.
  • FIG. 6 is a schematic structural diagram of a controller according to Embodiment 4 of the present invention.
  • FIG. 8 is a schematic structural diagram of an online charging network system according to Embodiment 4 of the present invention
  • FIG. 8 is a schematic structural diagram of a switch according to Embodiment 5 of the present invention
  • FIG. 9 is a schematic structural diagram of a controller according to Embodiment 6 of the present invention.
  • An embodiment of the present invention provides an online charging method. As shown in FIG. 1 , the method may include:
  • the switch collects statistics on the data flows corresponding to the flow entry.
  • the OpenFlow protocol can be associated with a counter (Counter) for each flow entry, which is used to count the number of packets or bytes received by the flow entry from the time of establishment. time.
  • Counter Counter
  • the switch sends a first message to the controller to obtain new threshold information of the flow entry, where the threshold value is less than the threshold.
  • the switch sends a first message to the controller, which is used to obtain new threshold information from the controller.
  • the threshold value of the threshold is an alert value close to the threshold, which can be expressed as a specific cumulative value (or percentage) less than the threshold, or a residual value (or percentage) when a statistical result is close to the threshold.
  • the first message may include, but is not limited to, one of the following: a tolerance type, a statistics result of the flow entry from the establishment time, a currently set threshold, an identifier of the flow entry, an indication indicating that the tolerance of the threshold is reached, and the like. .
  • the first message may be that the switch sends a notification message to the controller, to notify the controller that the statistics result reaches the threshold value of the threshold, so that the controller sends a new threshold information, or the switch controls the switch.
  • the device sends a request message for requesting acquisition of new threshold information.
  • the switch receives a flow entry modification message sent by the controller, where the flow entry modification message includes new threshold information of the flow entry.
  • the flow entry modification and the ambiguity may include the information required to establish the flow entry and the modification of the flow entry, and the new threshold information allocated for the flow entry.
  • the switch receives the flow entry modification message sent by the controller that carries the new threshold information, and after receiving the flow entry modification message, the new information carried in the message is modified according to the flow entry.
  • Threshold information resets the threshold of the counter associated with the flow entry and/or the tolerance of the threshold, and restarts the count Or continue to count the number of messages and/or the continuous working time of the flow entry.
  • the new threshold information may be a smaller granularity quota after the quota issued by the Online Charging System (OCS) is divided, and the flow entry corresponding to the smaller granularity quota is corresponding.
  • the threshold information may be threshold information corresponding to the flow entry directly determined according to the quota issued by the OCS.
  • An online charging method is provided by the embodiment of the present invention.
  • the statistics of the data flow corresponding to the flow entry are collected.
  • the first message is sent to the controller, and the method is used to obtain the online message.
  • the new threshold information of the flow entry, and the flow entry modification message sent by the controller, where the flow entry modification message includes the new threshold information of the flow entry, and the current In the prior art, the threshold value of the associated threshold is added to the flow entry.
  • the new threshold is requested from the controller before the statistics reach the threshold.
  • the current flow entry is used for accounting.
  • the new threshold is added to the controller according to the threshold. Billing solves the problem of delay in forwarding data packets in Open Flow online charging.
  • An embodiment of the present invention further provides an online charging method, as shown in FIG. 2, including:
  • the controller receives the first message sent by the switch, where the first message is used to obtain new threshold information of the flow entry.
  • the switch sends a first message to the controller, and the controller receives the first message, and is used to obtain a new flow entry, when the statistics of the data flow corresponding to the flow entry associated with the switch reaches the threshold value. Threshold information.
  • the controller determines, according to the remaining quota of the flow entry, the new threshold information corresponding to the flow entry, where the quota of the flow entry is delivered by the OCS.
  • the controller may further divide the quota issued by the received OCS into a smaller granularity quota, and store the information in the controller. After the controller receives the first message sent by the switch, according to the flow entry. The remaining quotas are used to determine the new threshold information corresponding to the flow entry, and the new threshold information is carried in the flow entry modification message and sent to the switch; or Alternatively, the quota may be further divided and mapped to the threshold information corresponding to the flow entry, and stored in the controller. When the controller receives the first message sent by the switch, directly check whether there is a remaining threshold in the controller. The information, if there is any remaining, determines the new threshold information corresponding to the flow entry and sends it to the switch.
  • the controller sends a flow table that sends a new threshold value of the flow entry to the switch. Item modification message.
  • the controller If the controller does not receive the notification message sent by the switch to notify the deletion of the flow entry, the controller sends a flow entry modification message to the switch that carries the new threshold information of the flow entry. After the switch receives the flow entry modification message, the switch may reset the threshold according to the new threshold information carried in the flow entry modification message.
  • An online charging method is provided by the embodiment of the present invention, and receives a first message sent by a switch, where the first message is used to obtain new threshold information of a flow entry, and is determined according to remaining quotas of the flow entry.
  • a new threshold value of the associated threshold is added to the switch flow entry, and the switch requests a new threshold from the controller before the statistical result reaches the threshold.
  • the controller sends a flow entry modification message carrying the new threshold information to the switch, so that the switch resets the threshold according to the new threshold information, so that the current flow entry can continue to be used for charging.
  • the controller requests a new threshold, and then adds a new flow entry to perform charging according to the requested threshold, which solves the Open Flow online charging. The problem of data packet forwarding delay.
  • An embodiment of the present invention provides an online charging method. As shown in FIG. 3, online charging based on duration may be implemented in an application scenario.
  • the online charging method may include:
  • the controller performs online charging initialization.
  • the controller needs to initialize a flow entry for online accounting or add online charging for an existing flow entry.
  • the controller is mainly used in the present invention to implement a Charging Trigger Function (CTF).
  • CTF Charging Trigger Function
  • the controller sends an online charging request to the online charging system OCS.
  • the controller may actively send an online charging request to the OCS, or may send an online charging request to the OCS when the remaining quota of the flow entry is 0, to obtain a quota required for online charging, where
  • the quota may be a duration or a traffic. This is not limited in this embodiment.
  • the charging based on the duration is taken as an example.
  • the controller interacts with the OCS via the Ro interface.
  • the OCS returns an online charging response to the controller.
  • the OCS returns an online charging response to the controller, and carries a duration quota in the online charging response, where the duration quota may be a part of the total duration of the user purchase, or may be the total duration of the user purchase recorded by the OCS.
  • the controller maps the duration quota carried in the online charging response to the threshold information of the OpenFlow flow entry and the tolerance information of the threshold.
  • the controller may further divide the time-length quota carried in the online charging response into a smaller-grained-time quota, and determine threshold information of the OpenFlow switch flow entry according to the smaller granularity-length quota, the threshold information may be Includes the duration threshold information associated with the flow entry.
  • the controller may also determine the tolerance information of the threshold according to the duration quota, where the tolerance information of the threshold may include: the tolerance information of the duration threshold, where the tolerance information of the threshold is used to indicate that the OpenFlow switch is The tolerance value information of the threshold is set to a tolerance value of a threshold corresponding to the flow entry.
  • the OpenFlow flow entry adds two associated threshold control parameters, time-threshold and time-qualification.
  • Time the threshold is used to set the duration threshold
  • time tolerance is used to control the tolerance of the duration threshold.
  • the parameters can also be named other names with the same or similar meaning, such as time - threshold can be duration - threshold , hard - timeout , time - quota , duration - quota ;
  • the time-tolerance may be a duration- tolerance or the like, which is not limited in this embodiment of the present invention.
  • the duration threshold is the upper limit of the length of the flow entry in the flow table.
  • the unit can be seconds.
  • the time-limit of the duration threshold is a warning value close to time-threshold, which can be a specific cumulative value (or percentage) less than time-threshold, or a residual value close to time-threshold (or percentage).
  • the time-threshold of the flow entry is 100 seconds. If the cumulative mode is set to 95 seconds, the first message is sent to the controller when the flow entry reaches 95 seconds. It can also be set to 95%, indicating that the first message is sent to the controller when the usage time of the flow entry reaches 95% of the threshold of 100 seconds. If the remaining mode, the time_ tolerance can be set to 5 seconds, indicating that the first message is sent to the controller when the flow entry has been used for 5 seconds and the remaining time is 5 seconds.
  • the time_ tolerance can also be set to 5%. Indicates that when the flow entry is used for 5% of the duration, the first message is sent to the controller.
  • the first message may be that the OpenFlow switch sends a notification message to the controller, to notify the controller that the statistics result reaches the tolerance value of the duration threshold, so that the controller sends a new duration threshold information, or may be an OpenFlow switch. Sending a request message to the controller for requesting acquisition of new duration threshold information.
  • controller 205 If the controller does not receive the notification message sent by the OpenFlow switch to notify the deletion of the flow entry, send a flow entry modification message to the OpenFlow switch.
  • the controller does not receive the notification message sent by the OpenFlow switch to notify the deletion of the flow entry, and the quota of the flow entry stored in the controller remains, the controller according to the Determining the remaining quota of the flow entry to determine the new threshold information corresponding to the flow entry, and the new threshold information is carried in the flow entry modification message, and sent to the OpenFlow switch, where the flow entry is modified.
  • the message includes tolerance information for the new duration threshold information and/or the duration threshold: for example, the duration threshold time_the threshold value of the threshold and the duration threshold time — tolerance. If the remaining quota of the flow entry stored on the controller is 0, the controller sends the OCS to the OCS. An online charging request is sent for obtaining a new quota from the OCS.
  • the tolerance information of the threshold may be that the controller carries the tolerance information of the threshold in the flow entry modification message and sends the information to the OpenFlow switch, or may be directly configured on the OpenFlow switch.
  • the embodiment is not limited herein.
  • the duration-threshold threshold can also be replaced by the hard-timeout already in the OpenFlow protocol, but the hard-timeout is allowed to extend the time-limit function of the duration threshold.
  • Set/Reset Duration Threshold time The tolerance value of the threshold and/or duration threshold time— tolerance.
  • the OpenFlow switch establishes a new flow entry, and determines the threshold and/or the tolerance of the threshold according to the new threshold information and/or the threshold tolerance information carried in the received flow entry modification message. And setting or resetting the duration threshold time_limit of the duration timer associated with the flow entry, and the tolerance time_limit of the duration threshold, and starting the timer.
  • the controller decides to create a flow accounting entry for online charging, it sets the related parameters such as the threshold value of the corresponding flow entry and the tolerance value of the threshold in the OpenFlow switch.
  • the controller adds the accounting to the flow accounting entry of the existing online charging the related parameters such as the threshold of the corresponding flow entry in the OpenFlow switch are reset, if the controller sends a new threshold and the upper threshold.
  • the secondary threshold is the same and can directly instruct the OpenFlow switch to use the last threshold.
  • the OpenFlow switch can set/reset the tolerance value of the duration threshold and the duration threshold associated with the flow entry at any time as long as the controller sends a flow entry modification message to the OpenFlow switch.
  • the threshold reset may include two optional modes: one is a clear reset, and the current time duration is received after the OpenFlow switch receives the flow entry modification message from the controller within the tolerance of the duration threshold. After the threshold is reached, the time limit threshold arrival event notification is no longer sent to the controller, the timer is cleared, the time is restarted from zero according to the newly set duration threshold, until the new threshold is reached; the other is cumulative reset, OpenFlow The switch receives the flow entry modification message from the controller within the tolerance of the duration threshold, and modifies the message according to the flow entry.
  • the new threshold set by the duration threshold information in the threshold control information (the new threshold is greater than the previous threshold), after the current secondary threshold is reached, the threshold arrival event notification is no longer sent to the controller, and the timer is not cleared, but Continue to time until the statistical result reaches the reset threshold and arrives or receives the new threshold information sent by the controller again.
  • the OpenFlow switch when the threshold is reached, the OpenFlow switch automatically deletes the flow entry associated with the threshold, and notifies the controller to obtain the next quota.
  • the tolerance value of the associated duration threshold is added to the flow entry, and the OpenFlow switch performs statistics on the data flow corresponding to the flow entry, and the usage duration of the counter is close to the duration threshold and reaches the duration threshold.
  • the OpenFlow switch sends a first message to the controller. After receiving the new threshold information, the OpenFlow switch receives the new threshold information after receiving the new threshold information. It is then possible to reset the threshold based on the new threshold information. It solves the problem of data packet forwarding delay in Open Flow online charging.
  • the OpenFlow switch sends the first message to the controller.
  • the first message sent by the OpenFlow switch to the controller may include at least one of the following contents when the statistic result reaches the threshold value of the threshold, that is, when the statistic result reaches the tolerance value of the duration threshold: The statistics of the cumulative duration of the flow entry from the time of establishment, the currently set duration threshold, or the flow entry identifier.
  • the first message includes: sending a notification message to the controller, where the notification message is used to notify the controller that the statistical result reaches a tolerance value of the threshold, so that the controller sends the The new threshold information of the flow entry is sent; or the Open Flow switch sends a request message to the controller, where the request message is used to request to acquire new threshold information of the flow entry.
  • the controller may continue to send the flow entry modification to the OpenFlow switch.
  • the message is threshold resetted to the flow entry, ie steps 205-208 are repeated. If the quota stored on the controller has been allocated, the controller can query the OCS whether the current user has remaining quota available. If yes, repeat steps 202-208. If the current user has no remaining quota available, the controller stops the OpenFlow. The switch sends a new flow entry modification message. This allows for continuous online charging.
  • the OpenFlow switch does not receive the flow entry modification message from the controller within the set tolerance threshold, the associated flow entry is deleted when the duration threshold is reached.
  • the OpenFlow switch sends a flow table deletion message to the controller.
  • the flow entry deletion message sent by the OpenFlow switch to the controller includes the related information of the original flow entry, and the reason for the deletion of the flow entry (because the duration threshold is reached and deleted).
  • the traffic-based online charging may be further implemented.
  • the threshold information may include traffic threshold information associated with the flow entry, and the threshold tolerance.
  • the information may include tolerance information for the traffic threshold.
  • the OpenFlow flow entry adds two associated threshold control parameters, bytes—threshold and bytes—tolerance.
  • Bytes threshold Used to set the traffic threshold.
  • bytes tolerance is used to control the tolerance of the traffic threshold.
  • the parameters can also be named other names with the same or similar meaning, such as bytes - threshold can be packets - threshold, volume - threshold, bytes / packets - quota, volume - quota; bytes - tolerance can be packets - tolerance , volume
  • the tolerances and the like are not limited in the embodiment of the present invention.
  • the traffic threshold is the upper limit of the number of bytes that can be matched and forwarded.
  • the unit can be a byte.
  • the tolerance value of the traffic threshold is - a tolerance is a warning value close to bytes-threshold, which can be a less than Bytes—The specific cumulative value (or percentage) of threshold, or a residual value (or percentage) close to bytes—threshold.
  • the bytes_threshold 100MB of the flow entry
  • the bytes- tolerance can be set to 95MB, indicating that when the flow forwarded by the flow entry reaches 95MB, the first message is sent to the controller; the bytes- tolerance can also be set to 95%, indicating that the first message is sent to the controller when the traffic forwarded by the flow entry reaches 95% of the threshold of 100MB.
  • bytes- tolerance can be set to 5MB, indicating that the first message is sent to the controller when the flow of the flow entry is 5MB and the 100MB threshold is used; the bytes- tolerance can also be set to 5%, indicating When the traffic forwarded by the flow entry has 5% of the traffic and 100MB is used, the first message is sent to the controller.
  • the specific description of the partial steps may refer to the online charging scenario based on the duration, and the specific description of the parameters and the process is not described in detail herein.
  • a time-based and traffic-based charging method may be combined to implement hybrid charging based on duration and traffic. That is, in the charging scenario, the controller receives the quotas sent by the OCS, including: the duration quota and the traffic quota. When the time quota is 0 and the traffic quota information is not 0, the controller sends a flow entry modification message carrying the bandwidth control information to the switch, to indicate that the switch carries the change according to the flow entry modification message.
  • the bandwidth control message is configured to set the bandwidth corresponding to the flow entry, or the controller sends a flow entry modification message carrying the bandwidth control information to the switch when the traffic quota is 0 and the duration quota is not 0.
  • the bandwidth corresponding to the flow entry is set by the switch according to the bandwidth control message carried in the flow entry modification message. For example, a user purchases for 1 hour and provides 1 GB of traffic to the user within 1 hour of the user's purchase according to the cost plan. If the accumulated duration of the user has not reached the purchase duration, the traffic used by the user has reached the planned 1 GB of traffic. In this case, after the traffic of 1 GB is reached, the flow entry modification message sent to the switch by the controller is obtained. The bandwidth control information is carried in, and the bandwidth of the user is appropriately reduced until the user finishes using the purchase for one hour.
  • the online charging method provided by the foregoing embodiment can be used not only for a single flow entry in a switch flow entry but also for a group entry in a group table, thereby implementing a set of data flows.
  • the online charging function is not limited herein.
  • An online charging method is provided by the embodiment of the present invention.
  • the statistics of the data flow corresponding to the flow entry are collected.
  • the first message is sent to the controller, and the method is used to obtain the online message.
  • the new threshold information of the flow entry, and the flow entry modification message sent by the controller, where the flow entry modification message includes the new threshold information of the flow entry, and the current is added to the flow entry.
  • the new threshold is requested from the controller before the statistics reach the threshold.
  • the current flow table entry is used for billing, and the solution is solved.
  • the tolerance value, the duration threshold, the tolerance value of the traffic threshold, and the traffic threshold of the associated duration threshold are added to the flow entry, which not only supports online charging based on duration, but also supports traffic-based online charging and Based on the mixed online charging of duration and traffic, the application scope of the OpenFlow protocol system in the telecommunication network has been expanded.
  • the embodiment of the present invention provides a switch.
  • the switch includes: a statistics unit 41, a sending unit 42, and a receiving unit 43.
  • the statistic unit 41 is configured to perform statistics on the data flow corresponding to the flow entry.
  • the sending unit 42 is configured to send, by the controller, a first message, to obtain new threshold information of the flow entry, when the statistical result obtained by the statistics unit 41 reaches a threshold value of the threshold;
  • the tolerance value of the threshold is less than the threshold.
  • the receiving unit 43 is configured to receive, after the statistical result obtained by the statistics unit 41 reaches the threshold, a flow entry modification message sent by the controller, where the flow entry modification message includes the flow entry New threshold information.
  • the switch may further include: a deleting unit 44.
  • a deleting unit 44 configured to: when the statistical result obtained by the statistical unit 41 reaches the stated When the receiving unit 43 does not receive the flow entry modification message sent by the controller, the flow entry is deleted.
  • the sending unit 42 may be further configured to: send a notification message to the controller, where the notification message is used to notify the controller that the statistical result obtained by the statistics unit 41 reaches a tolerance of the threshold. a value, such that the controller sends the new threshold information of the flow entry; or sends a request message to the controller, where the request message is used to request to acquire new threshold information of the flow entry. .
  • the switch may further include: a determining unit 45.
  • the determining unit 45 is configured to determine, according to the new threshold information of the flow entry, the threshold and the tolerance of the threshold.
  • the new threshold information may include: a new threshold; or a new threshold and tolerance information of the new threshold.
  • the flow entry modification message received by the receiving unit 43 further carries bandwidth control information.
  • the switch may further include: a setting unit 46.
  • the setting unit 46 is configured to set a bandwidth corresponding to the flow entry according to the bandwidth control information.
  • the switch provided by the embodiment of the present invention performs statistics on the data flow corresponding to the flow entry, and sends a first message to the controller to obtain the flow entry when the statistics result reaches the threshold value.
  • the new threshold is requested from the controller before the statistic reaches the threshold, so that the current flow can continue to be used.
  • the entry is billed, which solves the problem of delay in forwarding data packets in Open Flow online charging.
  • the tolerance value, the duration threshold, the tolerance value of the traffic threshold, and the traffic threshold of the associated duration threshold are added to the flow entry, which not only supports online charging based on the duration but also supports the base. Online charging for traffic and hybrid online charging based on duration and traffic have extended the scope of application of the OpenFlow protocol system in telecommunications networks.
  • the embodiment of the present invention provides a controller. As shown in FIG. 6, the controller includes: a receiving unit 51, a determining unit 52, and a sending unit 53.
  • the receiving unit 51 is configured to receive a first message sent by the switch, where the first message is used to obtain new threshold information of the flow entry.
  • the determining unit 52 is configured to determine, according to the remaining quota of the flow entry, the new threshold information corresponding to the flow entry, where the quota of the flow entry is issued by the online charging system OCS.
  • the sending unit 53 is configured to: when the notification message sent by the switch to notify the deletion of the flow entry is not received, send, to the switch, a flow entry modification that carries new threshold information of the flow entry Message.
  • the sending unit 53 is further configured to send an online charging request to the OCS when the remaining quota of the flow entry is 0.
  • the receiving unit 51 is further configured to receive an online charging response sent by the OCS, where the online charging response carries a new quota of the flow entry.
  • the receiving unit 51 is further configured to: receive a notification message that is sent by the switch, where the notification message is used to notify that a statistical result of the data flow corresponding to the flow entry reaches a threshold value, so that The controller sends the new threshold information of the flow entry, or receives a request message sent by the switch, where the request message is used to request new threshold information of the flow entry.
  • the new threshold information includes: a new threshold; or a new threshold and tolerance information of the new threshold.
  • the embodiment of the present invention further provides an online charging network system. As shown in FIG. 7, the online charging system OCS61, the controller 62, and the switch 63 are included.
  • the online charging system OCS61 is configured to receive an online charging request sent by the controller 62. Sending an online charging response to the controller 62, where the online charging response carries a new quota of the flow entry.
  • the controller 62 is configured to receive the first message sent by the switch 63, where the first message is used to obtain new threshold information of the flow entry; and the remaining quota of the flow entry is used to determine the corresponding flow entry.
  • the new threshold information wherein the quota of the flow entry is delivered by the online charging system OCS61; if the notification message sent by the switch 63 for notifying the deletion of the flow entry is not received, the control
  • the device 62 sends a flow entry modification message carrying the new threshold information of the flow entry to the switch 63.
  • the switch 63 is configured to perform statistics on the data flow corresponding to the flow entry; when the statistical result reaches the tolerance of the threshold, send a first message to the controller 62, where the new threshold information of the flow entry is obtained. And receiving, by the controller 62, a flow entry modification message, where the flow entry modification message includes the flow table, where the threshold value is less than the threshold value; New threshold information for the item.
  • the controller and the network system provided by the embodiment of the present invention receive the first message sent by the switch, where the first message is used to obtain new threshold information of the flow entry, and is determined according to the remaining quota of the flow entry.
  • a new threshold value of the associated threshold is added to the switch flow entry, and the switch requests a new threshold from the controller before the statistical result reaches the threshold.
  • the controller sends a flow entry modification message carrying the new threshold information to the switch, so that the switch resets the threshold according to the new threshold information, so that the current flow entry can be used for charging, and the solution is solved.
  • the tolerance value, the duration threshold, the tolerance value of the traffic threshold, and the traffic threshold of the associated duration threshold are added to the flow entry, which not only supports online charging based on duration, but also supports traffic-based online charging and Based on the mixed online charging of duration and traffic, the application scope of the OpenFlow protocol system in the telecommunication network has been expanded.
  • the embodiment of the present invention provides a switch, as shown in FIG. 8, including: a processor 71, a transmitter 72, and a receiver 73.
  • the processor 71 is configured to perform statistics on the data flow corresponding to the flow entry.
  • the transmitter 72 is configured to send, by the controller, a first message, to obtain new threshold information of the flow entry, when the statistical result obtained by the processor 71 reaches a threshold value of the threshold, where The tolerance value of the threshold is less than the threshold.
  • the receiver 73 is configured to receive, after the statistical result obtained by the processor 71 reaches the threshold, a flow entry modification message sent by the controller, where the flow entry modification message includes the flow entry New threshold information.
  • the processor 71 is further configured to: when the statistical result obtained by the processor 71 reaches the threshold, and the receiver 73 does not receive the flow entry modification message sent by the controller, Delete the flow entry.
  • the sender 72 is further configured to: send a notification message to the controller, where the notification message is used to notify the controller that the statistical result obtained by the processor 71 reaches a tolerance value of the threshold. And causing the controller to deliver new threshold information of the flow entry; or sending a request message to the controller, where the request message is used to request to acquire new threshold information of the flow entry.
  • the processor 71 is further configured to determine, according to new threshold information of the flow entry, the threshold and a tolerance of the threshold.
  • the new threshold information includes: a new threshold; or a new threshold and tolerance information of the new threshold.
  • the flow entry modification message received by the receiver 73 further carries bandwidth control information.
  • the processor 71 is further configured to set a bandwidth corresponding to the flow entry according to the bandwidth control information.
  • a switch provided by the embodiment of the present invention performs the data flow corresponding to the flow entry Statistics, when the statistic result reaches the threshold value of the threshold, sending a first message to the controller, where the new threshold information of the flow entry is obtained, and sent by the receiving controller before the statistic result reaches the threshold
  • a flow entry modification message the flow entry modification message includes a new threshold information of the flow entry, and is added to the flow entry as compared with the method of performing online charging only by setting a mandatory timeout threshold in the prior art.
  • the tolerance value of the associated threshold is used to request a new threshold from the controller before the statistic result reaches the threshold, so that the current flow entry can continue to be used for accounting, which solves the problem of delaying data packet forwarding in Open Flow online charging. .
  • the tolerance value, the duration threshold, the tolerance value of the traffic threshold, and the traffic threshold of the associated duration threshold are added to the flow entry, which not only supports online charging based on duration, but also supports traffic-based online charging and Based on the mixed online charging of duration and traffic, the application scope of the OpenFlow protocol system in the telecommunication network has been expanded.
  • the embodiment of the present invention provides a controller, as shown in FIG. 9, including: a receiver 81, a processor 82, and a transmitter 83.
  • the receiver 81 is configured to receive a first message sent by the switch, where the first message is used to obtain new threshold information of the flow entry.
  • the processor 82 is configured to determine, according to the remaining quota of the flow entry, the new threshold information corresponding to the flow entry, where the quota information of the flow entry is delivered by the online charging system OCS.
  • the sender 83 is configured to: when not receiving the notification message sent by the switch to notify the deletion of the flow entry, send a flow entry of the new threshold value carrying the flow entry to the switch Modify the message.
  • the transmitter 83 is further configured to send an online charging request to the OCS when the remaining quota of the flow entry is 0.
  • the receiver 81 is further configured to receive an online charging response sent by the OCS, where the online charging response carries a new quota of the flow entry.
  • the receiver 81 is further configured to: receive a notification message sent by the switch, The notification message is used to notify that the statistical result of the data flow corresponding to the flow entry reaches a threshold value, so that the controller sends the new threshold information of the flow entry; or A request message sent by the switch, where the request message is used to request to acquire new threshold information of the flow entry.
  • the new threshold information includes: a new threshold; or a new threshold and tolerance information of the new threshold.
  • the controller provided by the embodiment of the present invention receives the first message sent by the switch, where the first message is used to obtain new threshold information of the flow entry, and the flow entry is determined according to the remaining quota of the flow entry. Corresponding new threshold information; if the notification message sent by the switch for notifying the deletion of the flow entry is not received, the flow entry modification message carrying the new threshold value of the flow entry is sent to the switch.
  • a new threshold value of the associated threshold is added to the switch flow entry, and the switch requests a new threshold from the controller before the statistical result reaches the threshold.
  • the controller sends a flow entry modification message carrying the new threshold information to the switch, so that the switch resets the threshold according to the new threshold information, so that the current flow entry can be used for charging, and the solution is solved.
  • the tolerance value, the duration threshold, the tolerance value of the traffic threshold, and the traffic threshold of the associated duration threshold are added to the flow entry, which not only supports online charging based on duration, but also supports traffic-based online charging and Based on the mixed online charging of duration and traffic, the application scope of the OpenFlow protocol system in the telecommunication network has been expanded.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例公开了一种在线计费方法、设备及网络系统,涉及通信领域,解决了Open Flow在线计费中数据报文转发延迟的问题。具体方案为:交换机对与流表项对应的数据流进行统计;当统计结果达到阈值的容限值时,所述交换机向控制器发送第一消息,用于获取所述流表项的新的阈值信息;其中所述阈值的容限值小于所述阈值;所述交换机在所述统计结果达到所述阈值前,接收所述控制器发送的流表项修改消息,所述流表项修改消息包括所述流表项的新的阈值信息。本发明用于在线计费的过程中。

Description

一种在线计费方法、 设备及网络系统 技术领域
本发明涉及通信领域, 尤其涉及一种在线计费方法、 设备及网络系 统。
背景技术
OpenFlow 技术是在现有传输控制协议 /互联网协议 ( Transmission Control Protocol/Internet Protocol, TCP/IP )技术的基础上, 将原本完全由 传统交换机 /路由器控制的数据包转发过程,转化为由支持 OpenFlow技术 的交换机 ( OpenFlow switch ) 和控制器 (controller ) 分别完成的独立过 程。 在 OpenFlow网络中, 控制器决定了所有数据包在网络中传输路径。 交换机在本地维护一个流表( Flow Table ),用于控制数据流的处理和转发。
交换机上设置有多级流表 ( flow table ) 和一个群组表 ( group table ) 以及与夕卜部控制器 (controller ) 连接的安全通道 ( secure channel )。 控制 器通过 OpenFlow协议对流表进行操作, 可添加、 修改和删除流表中的流 表项 ( flow entry )。 OpenFlow十办议可为每个流表项 ( flow entry ) 关联一 个计数器 (counter ), 用于记录该流表项持续工作的时间以及接收到与该 流表项匹配的数据报文的个数。
OpenFlow协议中还定义了流表项过期处理机制, 具体处理过程为: 每个流表项关联一个强制定时器, 实现强制超时处理。 如果流表项的强制 超时阈值( hard— timeout ) i殳置为非 0 , 当 hard— timeout对应的时间到达时, 不管该流表项匹配处理了多少报文, 将被立即删除。
现有技术中, Open Flow 网络的在线计费可以利用流表项关联的 hard— timeout来实现。 即用户购买时长之后, 运营商在交换机上为用户建 立流表项, 并设置关联 hard— timeout, 当时长耗尽后, 删除流表项。 如果 用户又续费增加时长, 运营商重新为用户建立流表项并重新设置 hard— timeout。
在实现上述 OpenFlow在线计费方法的过程中,发明人发现现有技术 中至少存在如下问题: 上述的在线计费方法会造成数据报文转发延迟。 发明内容
本发明的实施例提供一种在线计费方法、设备及网络系统, 用于解决 Open Flow在线计费中数据报文转发延迟的问题。
本发明的第一方面, 提供一种在线计费方法, 包括:
交换机对与流表项对应的数据流进行统计;
当统计结果达到阈值的容限值时, 所述交换机向控制器发送第一消 息, 用于获取所述流表项的新的阈值信息; 其中所述阈值的容限值小于所 述阈值;
所述交换机在所述统计结果达到所述阈值前,接收所述控制器发送的 流表项修改消息, 所述流表项修改消息包括所述流表项的新的阈值信息。
结合第一方面, 在一种可能的实现方式中, 所述在线计费方法, 还包 括: 当所述统计结果达到所述阈值时, 若所述接收器未接收到所述控制器 发送的流表项修改消息, 所述交换机删除所述流表项。
结合第一方面和上述可能的实现方式, 在另一种可能的实现方式中, 所述交换机向控制器发送第一消息, 用于获取所述流表项的新的阈值信 息, 包括:
所述交换机向所述控制器发送通知消息,所述通知消息用于通知所述 控制器所述统计结果达到所述阈值的容限值,以使所述控制器下发所述流 表项的新的阈值信息; 或者,
所述交换机向所述控制器发送请求消息,所述请求消息用于请求获取 所述流表项的新的阈值信息。
结合第一方面和上述可能的实现方式, 在另一种可能的实现方式中, 所述方法还包括:
所述交换机根据所述流表项的新的阈值信息确定所述阈值和所述阈 值的容限值。
结合第一方面和上述可能的实现方式, 在另一种可能的实现方式中, 所述新的阈值信息包括:
新的阈值; 或者,
新的阈值和所述新的阈值的容限信息。
结合第一方面和上述可能的实现方式, 在另一种可能的实现方式中, 所述流表项修改消息中还携带带宽控制信息;
所述方法还包括:
所述交换机根据所述带宽控制信息, 设置所述流表项对应的带宽。 本发明的第二方面, 还提供一种在线计费方法, 包括:
控制器接收交换机发送的第一消息,所述第一消息用于获取流表项的 新的阈值信息;
所述控制器根据所述流表项的剩余的配额确定所述流表项对应的所 述新的阈值信息; 其中所述流表项的配额由在线计费系统 OCS下发; 若未收到所述交换机发送的用于通知所述流表项删除的通知消息,所 述控制器向所述交换机下发携带所述流表项的新的阈值信息的流表项修 改消息。
结合第二方面和上述可能的实现方式, 在另一种可能的实现方式中, 所述方法还包括:
当所述流表项的剩余的配额为 0时, 所述控制器向所述 OCS发送在 线计费请求;
所述控制器接收所述 OCS发送的在线计费响应, 所述在线计费响应 中携带所述流表项的新的配额。
结合第二方面和上述可能的实现方式, 在另一种可能的实现方式中, 所述控制器接收交换机发送的第一消息,所述第一消息用于获取流表项的 新的阈值信息, 包括:
所述控制器接收所述交换机发送的通知消息,所述通知消息用于通知 所述流表项对应的数据流的统计结果达到阈值的容限值,以使所述控制器 下发所述流表项的新的阈值信息; 或者,
所述控制器接收所述交换机发送的请求消息,所述请求消息用于请求 获取所述流表项的新的阈值信息。
结合第二方面和上述可能的实现方式, 在另一种可能的实现方式中, 所述新的阈值信息包括:
新的阈值; 或者,
新的阈值和所述新的阈值的容限信息。
本发明的第三方面, 提供一种交换机, 包括:
统计单元, 用于对与流表项对应的数据流进行统计;
发送单元,用于当所述统计单元统计得到的统计结果达到阈值的容限 值时, 向控制器发送第一消息, 用于获取所述流表项的新的阈值信息; 其 中所述阈值的容限值小于所述阈值;
接收单元, 用于在所述统计单元统计得到的统计结果达到所述阈值 前, 接收所述控制器发送的流表项修改消息, 所述流表项修改消息包括所 述流表项的新的阈值信息。
结合第三方面, 在一种可能的实现的方式中, 所述交换机还包括: 删除单元, 用于当所述统计单元统计得到的统计结果达到所述阈值, 且所述接收单元未接收到所述控制器发送的流表项修改消息时,删除所述 流表项。
结合第三方面和上述可能的实现方式, 在另一种可能实现的方式中, 所述发送单元还用于:
向所述控制器发送通知消息,所述通知消息用于通知所述控制器所述 统计单元统计得到的统计结果达到所述阈值的容限值,以使所述控制器下 发所述流表项的新的阈值信息; 或者,
向所述控制器发送请求消息,所述请求消息用于请求获取所述流表项 的新的阈值信息。 结合第三方面和上述可能的实现方式, 在另一种可能的实现方式中, 所述交换机还包括:
确定单元,用于根据所述流表项的新的阈值信息确定所述阈值和所述 阈值的容限值。
结合第三方面和上述可能的方式, 在另一种可能的实现方式中, 所述 新的阈值信息包括:
新的阈值; 或者,
新的阈值和所述新的阈值的容限信息。
结合第三方面和上述可能的方式, 在另一种可能的实现方式中, 所述 接收单元接到的流表项修改消息中还携带带宽控制信息;
所述交换机还包括:
设置单元,用于根据所述带宽控制信息,设置所述流表项对应的带宽。 本发明的第四方面, 还提供一种控制器, 包括:
接收单元, 用于接收交换机发送的第一消息, 所述第一消息用于获取 流表项的新的阈值信息;
确定单元 ,用于根据所述流表项的剩余的配额确定所述流表项对应的 所述新的阈值信息; 其中所述流表项的配额由在线计费系统 OCS下发; 发送单元,用于当未收到所述交换机发送的用于通知所述流表项删除 的通知消息,向所述交换机下发携带所述流表项的新的阈值信息的流表项 修改消息。
结合第四方面和上述可能的实现方式, 在另一种可能的方式中, 所述发送单元, 还用于当所述流表项的剩余的配额为 0 时, 向所述 OCS发送在线计费请求;
所述接收单元, 还用于接收所述 OCS发送的在线计费响应, 所述在 线计费响应中携带所述流表项的新的配额。
结合第四方面和上述可能的实现方式, 在另一种可能的方式中, 所述 接收单元还用于: 接收所述交换机发送的通知消息,所述通知消息用于通知所述流表项 对应的数据流的统计结果达到阈值的容限值,以使所述控制器下发所述流 表项的新的阈值信息; 或者,
接收所述交换机发送的请求消息,所述请求消息用于请求获取所述流 表项的新的阈值信息。
结合第四方面和上述可能的实现方式, 在另一种可能的方式中, 所述 新的阈值信息包括:
新的阈值; 或者,
新的阈值和所述新的阈值的容限信息。
本发明的第五方面, 还提供一种交换机, 包括:
处理器, 用于对与流表项对应的数据流进行统计;
发送器, 用于当所述处理器统计得到的统计结果达到阈值的容限值 时, 向控制器发送第一消息, 用于获取所述流表项的新的阈值信息; 其中 所述阈值的容限值小于所述阈值;
接收器, 用于在所述处理器统计得到的统计结果达到所述阈值前, 接 收所述控制器发送的流表项修改消息,所述流表项修改消息包括所述流表 项的新的阈值信息。
结合第五方面, 在一种可能的实现方式中,
所述处理器, 还用于当所述处理器统计得到的统计结果达到所述阈 值, 且所述接收器未接收到所述控制器发送的流表项修改消息时, 删除所 述流表项。
结合第五方面和上述可能的实现方式, 在另一种可能的实现方式中, 所述发送器还用于:
向所述控制器发送通知消息,所述通知消息用于通知所述控制器所述 处理器统计得到的统计结果达到所述阈值的容限值,以使所述控制器下发 所述流表项的新的阈值信息; 或者,
向所述控制器发送请求消息,所述请求消息用于请求获取所述流表项 的新的阈值信息。
结合第五方面和上述可能的实现方式, 在另一种可能的实现方式中, 所述处理器,还用于根据所述流表项的新的阈值信息确定所述阈值和 所述阈值的容限值。
结合第五方面和上述可能的实现方式, 在另一种可能的实现方式中, 所述新的阈值信息包括:
新的阈值; 或者,
新的阈值和所述新的阈值的容限信息。
结合第五方面和上述可能的实现方式, 在另一种可能的实现方式中, 所述接收器接收的流表项修改消息中还携带带宽控制信息;
所述处理器, 还用于根据所述带宽控制信息, 设置所述流表项对应的 带宽。
本发明的第六方面, 还提供一种控制器, 包括:
接收器, 用于接收交换机发送的第一消息, 所述第一消息用于获取流 表项的新的阈值信息;
处理器,用于根据所述流表项的剩余的配额确定所述流表项对应的所 述新的阈值信息;其中所述流表项的配额信息由在线计费系统 OCS下发; 发送器,用于当未收到所述交换机发送的用于通知所述流表项删除的 通知消息,向所述交换机下发携带所述流表项的新的阈值信 , 的流表项修 改消息。
结合第六方面和上述可能的实现方式, 在另一种可能的实现方式中, 所述发送器, 还用于当所述流表项的剩余的配额为 0时, 向所述 OCS发 送在线计费请求;
所述接收器, 还用于接收所述 OCS发送的在线计费响应, 所述在线 计费响应中携带所述流表项的新的配额。
结合第六方面和上述可能的实现方式, 在另一种可能的实现方式中, 所述接收器还用于: 接收所述交换机发送的通知消息,所述通知消息用于通知所述流表项 对应的数据流的统计结果达到阈值的容限值,以使所述控制器下发所述流 表项的新的阈值信息; 或者,
接收所述交换机发送的请求消息,所述请求消息用于请求获取所述流 表项的新的阈值信息。
结合第六方面和上述可能的实现方式, 在另一种可能的实现方式中, 所述新的阈值信息包括:
新的阈值; 或者,
新的阈值和所述新的阈值的容限信息。
本发明的第七方面, 提供一种在线计费网络系统, 包括: 交换机、 控 制器以及在线计费系统 OCS ;
所述交换机, 用于对与流表项对应的数据流进行统计; 当统计结果达 到阈值的容限值时, 向控制器发送第一消息, 用于获取所述流表项的新的 阈值信息; 其中所述阈值的容限值小于所述阈值; 在所述统计结果达到所 述阈值前, 接收所述控制器发送流表项修改消息, 所述流表项修改消息包 括所述流表项的新的阈值信息。
所述控制器, 用于接收交换机发送的第一消息, 所述第一消息用于获 取流表项的新的阈值信息;根据所述流表项的剩余的配额确定所述流表项 对应的所述新的阈值信息; 其中所述流表项的配额由在线计费系统 OCS 下发; 若未收到所述交换机发送的用于通知所述流表项删除的通知消 , ¾, 所述控制器向所述交换机下发携带所述流表项的新的阈值信 , 的流表项 修改消息。
所述在线计费系统 OCS , 用于接收所述控制器发送的在线计费请求; 向所述控制器发送在线计费响应, 其中, 所述在线计费响应中携带所述流 表项的新的配额。
本发明实施例提供的一种在线计费方法、设备及网络系统, 通过对与 流表项对应的数据流进行统计, 当统计结果达到阈值的容限值时, 向控制 器发送第一消息, 用于获取所述流表项的新的阈值信息, 并在统计结果达 到所述阈值前, 接收控制器发送的流表项修改消息, 该流表项修改消息包 括所述流表项的新的阈值信息,与现有技术中仅通过设置强制超时阈值进 行在线计费的方法相比, 为流表项新增了关联的阈值的容限值, 在统计结 果达到阈值之前向控制器请求新的阈值,从而可以继续使用当前流表项进 行计费, 解决了 Open Flow在线计费中数据报文转发延迟的问题。
附图说明 实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员 来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的 附图。
图 1为本发明实施例 1提供的一种在线计费方法流程图;
图 2为本发明实施例 1提供的另一种在线计费方法流程图;
图 3为本发明实施例 2提供的一种基于时长的在线计费方法流程图; 图 4为本发明实施例 3提供的一种交换机组成示意图;
图 5为本发明实施例 3提供的另一种交换机组成示意图;
图 6为本发明实施例 4提供的一种控制器组成示意图;
图 Ί为本发明实施例 4提供的一种在线计费网络系统组成示意图; 图 8为本发明实施例 5提供的一种交换机组成示意图;
图 9为本发明实施例 6提供的一种控制器组成示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进 行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的 范围。 实施例 1
本发明实施例提供一种在线计费方法,如图 1所示,该方法可以包括:
A1、 交换机对与流表项对应的数据流进行统计。
其中, OpenFlow 协议可为每个流表项关联一个计数器 (Counter ), 用来统计流表项从建立时刻起收到的报文数量或字节数,还可以用来统计 流表项持续工作的时间。
A2、 当统计结果达到阈值的容限值时, 所述交换机向控制器发送第 一消息, 用于获取所述流表项的新的阈值信息; 其中所述阈值的容限值小 于所述阈值。
其中, 当计数器的统计结果达到阈值的容限值时, 交换机向控制器发 送第一消息, 用来从控制器获取新的阈值信息。 阈值的容限值是指接近阈 值的一个警戒值, 其表现形式可以是一个小于阈值的具体的累计值(或百 分比), 也可以是一个统计结果接近阈值时的剩余数值(或百分比)。 第一 消息可以包括但不限于以下内容之一: 容限类型, 流表项从建立时刻起的 统计结果, 当前设置的阈值, 流表项的标识, 表示达到阈值的容限值的指 示信息等。 其中, 所述第一消息可以是交换机向控制器发送通知消息, 用 于通知控制器统计结果达到所述阈值的容限值,以使得控制器下发新的阈 值信息, 也可以是交换机向控制器发送请求消息, 用于请求获取新的阈值 信息。
A3、 所述交换机在所述统计结果达到所述阈值前, 接收所述控制器 发送的流表项修改消息,所述流表项修改消息包括所述流表项的新的阈值 信息。
其中,流表项修改、肖息可以包括建立流表项所需信元和所述流表项修 改消 , 为流表项分配的新的阈值信息。在计数器的统计结果达到所述阈值 前, 交换机接收控制器发送的携带新的阈值信息的流表项修改消息, 并在 接收到流表项修改消息后,根据流表项修改消息中携带的新的阈值信息重 置与流表项相关联的计数器的阈值和 /或阈值的容限值, 并重新启动计数 器或继续统计报文数量和 /或流表项的持续工作时间。 所述新的阈值信息 可以是将在线计费系统( Online Charging System, OCS )下发的配额进行 分割后的更小粒度的配额后,根据所述更小粒度的配额确定的流表项对应 的阈值信息, 也可以是根据 OCS下发的配额直接确定的流表项对应的阈 值信息。
本发明实施例提供的一种在线计费方法,通过对与流表项对应的数据 流进行统计, 当统计结果达到阈值的容限值时, 向控制器发送第一消息, 用于获取所述流表项的新的阈值信息, 并在统计结果达到所述阈值前, 接 收控制器发送的流表项修改消息,该流表项修改消息包括所述流表项的新 的阈值信息,与现有技术中仅通过设置强制超时阈值进行在线计费的方法 相比, 为流表项新增了关联的阈值的容限值, 在统计结果达到阈值之前向 控制器请求新的阈值, 从而可以继续使用当前流表项进行计费, 而现有技 术中, 只能等到统计结果到达阈值触发删除流表项后, 才向控制器请求新 的阈值, 再根据请求的阈值添加新的流表项进行计费, 解决了 Open Flow 在线计费中数据报文转发延迟的问题。
本发明实施例还提供一种在线计费方法, 如图 2所示, 包括:
Bl、 控制器接收交换机发送的第一消息, 所述第一消息用于获取流 表项的新的阈值信息。
其中,当交换机关联的流表项对应的数据流的统计结果达到阈值的容 限值时, 交换机向控制器发送第一消息, 控制器接收所述第一消息, 用于 获取流表项的新的阈值信息。
B2、 所述控制器根据所述流表项的剩余的配额确定所述流表项对应 的所述新的阈值信息; 其中所述流表项的配额由 OCS下发。
其中, 控制器可以将接收到的 OCS下发的配额进一步得分割为更小 粒度的配额, 存储在控制器中, 当控制器接收到交换机发送的第一消息之 后, 根据所述流表项的剩余的配额确定所述流表项对应的新的阈值信息, 并将所述新的阈值信息携带在流表项修改消息中发送给所述交换机; 或 者, 也可以是将配额进一步分割, 并映射为流表项对应的阈值信息, 存储 在控制器中, 当控制器接收到交换机发送的第一消息之后, 直接查看控制 器中是否还有剩余阈值信息, 如果有剩余, 则确定流表项对应的新的阈值 信息, 并发给交换机。
B 3、 若未收到所述交换机发送的用于通知所述流表项删除的通知消 息,所述控制器向所述交换机下发携带所述流表项的新的阈值信 , 的流表 项修改消息。
其中,当控制器没有接收到所述交换机发送的用于通知所述流表项删 除的通知消息,控制器向交换机下发携带所述流表项的新的阈值信 , 的流 表项修改消息, 在交换机接收到所述流表项修改消息之后, 可以根据流表 项修改消息中携带的新的阈值信息重置阈值。
本发明实施例提供的另一种在线计费方法,接收交换机发送的第一消 息, 所述第一消息用于获取流表项的新的阈值信息; 根据所述流表项的剩 余的配额确定流表项对应的新的阈值信息;若未收到交换机发送的用于通 知所述流表项删除的通知消息,向交换机下发携带所述流表项的新的阈值 信息的流表项修改消息。与现有技术中仅通过设置强制超时阈值进行在线 计费的方法相比, 为交换机流表项新增了关联的阈值的容限值, 交换机在 统计结果达到阈值之前向控制器请求新的阈值,此时控制器向交换机下发 携带新的阈值信息的流表项修改消息,以使得交换机根据所述新的阈值信 息重置阈值, 这样就可以继续使用当前流表项进行计费, 而现有技术中, 只能等到统计结果到达阈值触发删除流表项后, 才向控制器请求新的阈 值, 再根据请求的阈值添加新的流表项进行计费, 解决了 Open Flow在线 计费中数据报文转发延迟的问题。
实施例 2
本发明实施例提供一种在线计费方法, 如图 3所示, 在一种应用场景 中可以实现基于时长的在线计费, 该在线计费方法可以包括:
201、 控制器进行在线计费初始化。 其中, 控制器要新建一条在线计费需要的流表项, 或为一条已存在的 流表项追加在线计费时, 需进行初始化。 其中, 控制器在本发明中主要用 来实现计费触发功能 ( Charging Trigger Function , CTF )。
202、 控制器向在线计费系统 OCS发送在线计费请求。
其中, 控制器可以主动向 OCS发送在线计费请求, 也可以当流表项 的剩余的配额为 0时, 向所述 OCS发送在线计费请求, 用来获取在线计 费所需的配额, 其中该配额可以是时长, 也可以是流量, 本实施例对此不 作限制, 这里以基于时长的计费为例进行说明。 控制器与 OCS 通过 Ro 接口进行交互。
203、 OCS向控制器返回在线计费响应。
其中, OCS 向控制器返回在线计费响应, 并在在线计费响应中携带 时长配额, 其中时长配额可以是用户购买的总时长中的一部分, 也可以是 OCS记录的用户购买的总时长。
204、 控制器将在线计费响应中携带的时长配额映射为 OpenFlow 流 表项阈值信息和阈值的容限信息。
其中,控制器可将所述在线计费响应中携带时长配额进一步分割为更 小粒度时长配额, 并根据分割后的更小粒度的时长配额确定 OpenFlow交 换机流表项的阈值信息, 该阈值信息可以包括流表项关联的时长阈值信 息。 控制器也可以根据时长配额确定出阈值的容限信息, 该阈值的容限信 息可以包括: 时长阈值的容限值信息, 其中, 所述阈值的容限信息用于指 示所述 OpenFlow交换机根据所述阈值的容限值信息设置所述流表项对应 的阈值的容限值。
示例性的, OpenFlow 流表项新增两个关联的阈值控制参数, time— threshold 和 time— tolerance。 time— threshold 用于设置时长阈值 , time— tolerance 用于时长阈值的容限值控制。 另外, 参数还可以命名为其 他具有相 同 或相似意 义的名 称 , 例如 time— threshold 可 以是 duration— threshold , hard— timeout , time— quota , duration— quota ; time— tolerance可以是 duration— tolerance等,本发明实施例对此不做限定。 其中, 时长阈值 time— threshold是指自流表项建立时刻起, 该流表项 在流表中存活时间长度的上限, 单位可以为秒。 时长阈值的容限值 time— tolerance 是指接近 time— threshold 的一个警戒值, 可以是一个小于 time— threshold 的具体的累计数值 (或百分比), 也可以是一个接近 time— threshold的剩余数值(或百分比)。例如 ,流表项的 time— threshold= 100 秒, 如果按照累计方式, time— tolerance可以设置为 95秒, 表明当流表项 使用时长达到 95秒时, 向控制器发出第一消息; time— tolerance也可设置 为 95% , 表明当流表项的使用时长达到阈值 100秒的 95%时, 向控制器 发出第一消息。 如果按照剩余方式, time— tolerance可以设置为 5秒, 表 明当流表项的使用时长还剩 5秒就使用完 100秒时,向控制器发出第一消 息; time— tolerance还可设置为 5% , 表明当流表项的使用时长还有 5%的 时长就使用完 100 秒时, 向控制器发出第一消息。 所述第一消息可以是 OpenFlow交换机向控制器发送通知消息, 用于通知控制器统计结果达到 所述时长阈值的容限值, 以使得控制器下发新的时长阈值信息, 也可以是 OpenFlow交换机向控制器发送请求消息, 用于请求获取新的时长阈值信 息。
205、 若控制器未收到所述 OpenFlow 交换机发送的用于通知所述流 表项删除的通知消息, 向 OpenFlow交换机发送流表项修改消息。
其中, 若控制器未收到所述 OpenFlow交换机发送的用于通知所述流 表项删除的通知消息, 且当所述控制器上存储的流表项的配额还有剩余 时,控制器根据所述流表项的剩余的配额确定所述流表项对应的所述新的 阈值信息, 并将所述新的阈值信息携带在流表项修改消息中发送给 OpenFlow交换机, 所述流表项修改消息中除了携带原有建立流表项所需 信元外, 还包括用于新的时长阈值信息和 /或时长阈值的容限信息: 例如, 时长阈值 time— threshold和时长阈值的容限值 time— tolerance。若所述所述 控制器上存储的流表项的剩余的配额为 0时, 所述控制器向所述 OCS发 送在线计费请求, 用于从所述 OCS获取新的配额。
需要说明的是,阈值的容限信息可以是控制器将所述阈值的容限信息 携带在流表项修改消息中下发给 OpenFlow交换机的, 也可以是直接配置 在 OpenFlow交换机上的, 本发明实施例在此不做限定。
其中, 对于时长阈值 time— threshold, 也可替代为 OpenFlow协议中已 有的 hard— timeout , 但是要扩展 hard— timeout 支持时长阈值的容限值 time— tolerance功能。
206、 设置 /重置时长阈值 time— threshold 和 /或时长阈值的容限值 time— tolerance。
其中, OpenFlow交换机建立新的流表项, 并根据收到的流表项修改 消息中携带的新的阈值信息和 /或阈值的容限信息确定所述阈值和 /或所述 阈值的容限值, 并设置或者重置与流表项关联的时长定时器的时长阈值 time— threshold和 /或时长阈值的容限值 time— tolerance , 并启动定时器。 其 中, 当控制器决定新建一条在线计费的流表项时, 对 OpenFlow交换机中 对应的流表项的阈值和阈值的容限值等关联参数进行设置。当控制器是在 一条已存在的在线计费的流表项追加计费时, 对 OpenFlow交换机中对应 的流表项的阈值等关联参数进行重置,若控制器下发的新的阈值和上次阈 值相同, 可以直接指示 OpenFlow交换机沿用上次的阈值。
其中, 只要控制器向 OpenFlow 交换机下发流表项修改消息, OpenFlow 交换机可以在任何时候设置 /重置流表项关联的时长阈值和时 长阈值的容限值。
示例性的, 阈值重置可以包括两种可选方式: 一种是清零重置, OpenFlow交换机在上述时长阈值的容限值内接收到来自控制器的流表项 修改消息后, 当前次时长阈值达到后, 不再向控制器发送时长阈值到达事 件通知, 将定时器清零, 按照新设定的时长阈值重新从零开始计时, 直到 新的阈值到达; 另一种是累计重置, OpenFlow交换机在上述时长阈值的 容限值内接收到来自控制器的流表项修改消息,根据流表项修改消息携带 的阈值控制信息中的时长阈值信息设定的新的阈值 (新阈值大于前次阈 值), 当前次阈值达到后, 不再向控制器发送阈值到达事件通知, 定时器 也不清零, 而是继续计时, 直到统计结果达到重置后的阈值到达或再次接 收到控制器下发的新的阈值信息。
207、 OpenFlow交换机统计流表项的使用时长, 并判断所述流表项的 使用时长已达到阈值的容限值, 即使用时长已达到时长阈值的容限值。
其中, 现有技术中是在阈值到达到时, OpenFlow 交换机自动删除该 阈值关联的流表项, 并通知控制器获得下一个配额。 而在本发明中是为流 表项新增了关联的时长阈值的容限值, OpenFlow 交换机对与流表项对应 的数据流进行统计, 当计数器统计的使用时长接近时长阈值, 并达到时长 阈值的容限值时, OpenFlow 交换机向控制器发送第一消息, 控制器收到 后, 就可以重新下发携带新的阈值信息的流表项修改消息, OpenFlow 交 换机在接收到新的阈值信息后, 就可以根据新的阈值信息重置阈值。 解决 了 Open Flow在线计费中数据报文转发延迟的问题。
208、 当统计结果达到阈值的容限值时, OpenFlow交换机向控制器发 送第一消息。
其中, 当统计结果达到阈值的容限值时, 即统计结果达到时长阈值的 容限值时, OpenFlow交换机向控制器发送的第一消息可以包括至少以下 内容之一: 容限类型 ( time— tolerance ), 流表项从建立时刻起累计时长的 统计数值, 当前设置的时长阈值, 或者流表项标识。 所述第一消息, 包括: 向所述控制器发送通知消息,所述通知消息用于通知所述控制器所述统计 结果达到所述阈值的容限值,以使所述控制器下发所述流表项的新的阈值 信息; 或者, 所述 Open Flow交换机向所述控制器发送请求消息, 所述请 求消息用于请求获取所述流表项的新的阈值信息。
209、 重复步骤 202-204和 /或 205-208。
需要说明的是, 当控制器接收到第一消息之后, 若控制器上存储的配 额还未分配完, 那么控制器可以继续向 OpenFlow交换机下发流表项修改 消息对流表项进行阈值重置, 即重复步骤 205-208。 若控制器上存储的配 额已分配完, 那么控制器可以向 OCS查询当前用户是否还有剩余配额可 用, 如果还有就重复步骤 202-208 , 如果当前用户没有剩余配额可用, 控 制器停止向 OpenFlow交换机发送新的流表项修改消息。 这样就可以实现 持续的时长在线计费。
210、 当统计结果达到所述阈值时, 若未接收到控制器发送的流表项 修改消息, 则删除所述流表项。
其中, 如果 OpenFlow交换机在设定的时长阈值的容限值内, 没有收 到来自控制器的流表项修改消息, 则在时长阈值达到时, 删除关联的流表 项。
211、 OpenFlow交换机向控制器发送流表删除消息。
其中, OpenFlow交换机向控制器发送的流表项删除消息, 除了原有 的流表项相关信息外, 还包括该流表项删除的原因(因为时长阈值达到而 删除)。
在本发明实施例的另一种应用场景中,还可以实现基于流量的在线计 费, 在这种场景中, 所述阈值信息可以包括流表项关联的流量阈值信息, 所述阈值的容限信息可以包括流量阈值的容限信息。
具体的, 例如, OpenFlow 流表项新增两个关联的阈值控制参数, bytes— threshold 和 bytes— tolerance。 bytes— threshold 用于设置流量阈值, bytes— tolerance用于流量阈值的容限值控制。 另外, 参数还可以命名为其 他具有相 同 或相似意义的名 称 , 例如 bytes— threshold 可以是 packets— threshold, volume— threshold, bytes/packets— quota, volume— quota; bytes— tolerance可以是 packets— tolerance , volume— tolerance等, 本发明实 施例对此不做限定。
其中, 流量阈值 bytes— threshold是指自流表项建立时刻起, 总计可匹 配并转发的报文字节数的上限, 单位可以为字节。 流量阈值的容限值 bytes— tolerance是指接近 bytes— threshold的一个警戒值, 可以是一个小于 bytes— threshold 的具体的累计数值 (或百分比), 也可以是一个接近 bytes— threshold 的 剩 余数值 ( 或 百 分 比 )。 例 如 , 流表项 的 bytes_threshold=100MB , 如果按照累计方式, bytes— tolerance可以设置为 95MB , 表明当流表项转发的流量到达 95MB时, 向控制器发出第一消息; bytes— tolerance 也可设置为 95% , 表明当流表项转发的流量达到阈值 100MB 的 95%时, 向控制器发出第一消息。 如果按照剩余方式, bytes— tolerance可以设置为 5MB , 表明当流表项转发的流量还有 5MB就 使用完 100MB 阈值时, 向控制器发出第一消息; bytes— tolerance还可设 置为 5% , 表明当流表项转发的流量还有 5%的流量就使用完 100MB时, 向控制器发出第一消息。
需要说明的是, 在基于流量的在线计费场景中, 部分步骤的具体描述 可以参考基于时长的在线计费场景,部分参数和流程的具体描述本发明实 施例这里不再详细贅述。
另外, 在本发明实施例的另一种应用场景中, 还可以将基于时长和基 于流量的计费方式相结合, 实现基于时长和流量的混合计费。 即在这种计 费场景中, 控制器接收到 OCS发送的配额包括: 时长配额和流量配额。 当所述时长配额为 0而流量配额信息不为 0时,控制器向所述交换机发送 携带带宽控制信息的流表项修改消息,用于指示所述交换机根据所述流表 项修改消息中携带的带宽控制消息, 设置所述流表项对应的带宽, 或者, 当所述流量配额为 0而时长配额不为 0时,控制器向所述交换机发送携带 带宽控制信息的流表项修改消息,以使得所述交换机根据所述流表项修改 消息中携带的带宽控制消息, 设置所述流表项对应的带宽。 例如, 用户购 买的时长为 1小时,并按照成本计划在用户购买的 1小时之内为用户提供 1 GB 的流量。 如果用户使用的累计时长还未达到购买时长时, 用户使用 的流量已经达到了计划提供的 1GB的流量, 这时可以在达到 1GB的流量 后, 在控制器下发给交换机的流表项修改消息中携带带宽控制信息, 适当 的降低用户的带宽, 直到用户使用完购买的 1小时。 需要说明的是,以上实施例提供的在线计费方法不仅可以用于交换机 流表项中的单个流表项, 还可以用于群组表中的组表项, 从而实现对一组 数据流的在线计费功能, 本发明实施例在此不做限制。
本发明实施例提供的一种在线计费方法,通过对与流表项对应的数据 流进行统计, 当统计结果达到阈值的容限值时, 向控制器发送第一消息, 用于获取所述流表项的新的阈值信息, 并在统计结果达到所述阈值前, 接 收控制器发送的流表项修改消息,该流表项修改消息包括所述流表项的新 的阈值信息,与现有技术中仅通过设置强制超时阈值进行在线计费的方法 相比, 为流表项新增了关联的阈值的容限值, 在统计结果达到阈值之前向 控制器请求新的阈值, 从而可以继续使用当前流表项进行计费, 解决了
Open Flow在线计费中数据报文转发延迟的问题。
并且, 为流表项新增关联的时长阈值的容限值、 时长阈值、 流量阈值 的容限值和流量阈值, 不仅可以支持基于时长的在线计费, 还可以支持基 于流量的在线计费和基于时长和流量的混合在线计费, 使 OpenFlow协议 体系在电信网络中的应用范围得到了扩展。
实施例 3
本发明实施例提供一种交换机, 如图 4所示, 包括: 统计单元 41、 发送单元 42、 接收单元 43。
统计单元 41 , 用于对与流表项对应的数据流进行统计。
发送单元 42 , 用于当所述统计单元 41统计得到的统计结果达到阈值 的容限值时, 向控制器发送第一消息, 用于获取所述流表项的新的阈值信 息; 其中所述阈值的容限值小于所述阈值。
接收单元 43 , 用于在所述统计单元 41统计得到的统计结果达到所述 阈值前, 接收所述控制器发送的流表项修改消息, 所述流表项修改消息包 括所述流表项的新的阈值信息。
进一步的, 如图 5所示, 该交换机还可以包括: 删除单元 44。
删除单元 44 , 用于当所述统计单元 41统计得到的统计结果达到所述 阈值,且所述接收单元 43未接收到所述控制器发送的流表项修改消息时, 删除所述流表项。
进一步的, 所述发送单元 42还可以用于: 向所述控制器发送通知消 息, 所述通知消息用于通知所述控制器所述统计单元 41统计得到的统计 结果达到所述阈值的容限值,以使所述控制器下发所述流表项的新的阈值 信息; 或者, 向所述控制器发送请求消息, 所述请求消息用于请求获取所 述流表项的新的阈值信息。
进一步的, 该交换机还可以包括: 确定单元 45。
确定单元 45 , 用于根据所述流表项的新的阈值信息确定所述阈值和 所述阈值的容限值。
进一步的, 所述新的阈值信息可以包括: 新的阈值; 或者, 新的阈值 和所述新的阈值的容限信息。
进一步的, 所述接收单元 43接到的流表项修改消息中还携带带宽控 制信息。
所述交换机还可以包括: 设置单元 46。
设置单元 46 , 用于根据所述带宽控制信息, 设置所述流表项对应的 带宽。
本发明实施例提供的一种交换机,通过对与流表项对应的数据流进行 统计, 当统计结果达到阈值的容限值时, 向控制器发送第一消息, 用于获 取所述流表项的新的阈值信息, 并在统计结果达到所述阈值前, 接收控制 器发送的流表项修改消息,该流表项修改消息包括所述流表项的新的阈值 信息, 与现有技术中仅通过设置强制超时阈值进行在线计费的方法相比, 为流表项新增了关联的阈值的容限值,在统计结果达到阈值之前向控制器 请求新的阈值, 从而可以继续使用当前流表项进行计费, 解决了 Open Flow在线计费中数据报文转发延迟的问题。
并且, 为流表项新增关联的时长阈值的容限值、 时长阈值、 流量阈值 的容限值和流量阈值, 不仅可以支持基于时长的在线计费, 还可以支持基 于流量的在线计费和基于时长和流量的混合在线计费, 使 OpenFlow协议 体系在电信网络中的应用范围得到了扩展。
实施例 4
本发明实施例提供一种控制器, 如图 6所示, 包括: 接收单元 51、 确定单元 52、 发送单元 53。
接收单元 51 , 用于接收交换机发送的第一消息, 所述第一消息用于 获取流表项的新的阈值信息。
确定单元 52 , 用于根据所述流表项的剩余的配额确定所述流表项对 应的所述新的阈值信息, 其中所述流表项的配额由在线计费系统 OCS下 发。
发送单元 53 , 用于当未收到所述交换机发送的用于通知所述流表项 删除的通知消息,向所述交换机下发携带所述流表项的新的阈值信息的流 表项修改消息。
进一步的, 所述发送单元 53 , 还用于当所述流表项的剩余的配额为 0 时, 向所述 OCS发送在线计费请求。
所述接收单元 51 , 还用于接收所述 OCS发送的在线计费响应, 所述 在线计费响应中携带所述流表项的新的配额。
进一步的, 所述接收单元 51还用于: 接收所述交换机发送的通知消 息,所述通知消息用于通知所述流表项对应的数据流的统计结果达到阈值 的容限值, 以使所述控制器下发所述流表项的新的阈值信息; 或者, 接收 所述交换机发送的请求消息,所述请求消息用于请求获取所述流表项的新 的阈值信息。
进一步的, 所述新的阈值信息包括: 新的阈值; 或者, 新的阈值和所 述新的阈值的容限信息。
本发明实施例还提供一种在线计费网络系统, 如图 7所示, 包括在线 计费系统 OCS61、 控制器 62以及交换机 63。
在线计费系统 OCS61 ,用于接收所述控制器 62发送的在线计费请求; 向所述控制器 62发送在线计费响应, 其中, 所述在线计费响应中携带所 述流表项的新的配额。
控制器 62 , 用于接收交换机 63发送的第一消息, 所述第一消息用于 获取流表项的新的阈值信息;根据所述流表项的剩余的配额确定所述流表 项对应的所述新的阈值信息; 其中所述流表项的配额由在线计费系统 OCS61下发; 若未收到所述交换机 63发送的用于通知所述流表项删除的 通知消息,所述控制器 62向所述交换机 63下发携带所述流表项的新的阈 值信息的流表项修改消息。
交换机 63 , 用于对与流表项对应的数据流进行统计; 当统计结果达 到阈值的容限值时, 向控制器 62发送第一消息, 用于获取所述流表项的 新的阈值信息; 其中所述阈值的容限值小于所述阈值; 在所述统计结果达 到所述阈值前, 接收所述控制器 62发送流表项修改消息, 所述流表项修 改消息包括所述流表项的新的阈值信息。
本发明实施例提供的一种控制器及网络系统,接收交换机发送的第一 消息, 所述第一消息用于获取流表项的新的阈值信息; 根据所述流表项的 剩余的配额确定流表项对应的新的阈值信息;若未收到交换机发送的用于 通知所述流表项删除的通知消息,向交换机下发携带所述流表项的新的阈 值信息的流表项修改消息。与现有技术中仅通过设置强制超时阈值进行在 线计费的方法相比, 为交换机流表项新增了关联的阈值的容限值, 交换机 在统计结果达到阈值之前向控制器请求新的阈值,此时控制器向交换机下 发携带新的阈值信息的流表项修改消息,以使得交换机根据所述新的阈值 信息重置阈值, 这样就可以继续使用当前流表项进行计费, 解决了 Open Flow在线计费中数据报文转发延迟的问题。
并且, 为流表项新增关联的时长阈值的容限值、 时长阈值、 流量阈值 的容限值和流量阈值, 不仅可以支持基于时长的在线计费, 还可以支持基 于流量的在线计费和基于时长和流量的混合在线计费, 使 OpenFlow协议 体系在电信网络中的应用范围得到了扩展。 实施例 5
本发明实施例提供一种交换机, 如图 8所示, 包括: 处理器 71、 发 送器 72、 接收器 73。
处理器 71 , 用于对与流表项对应的数据流进行统计。
发送器 72 , 用于当所述处理器 71统计得到的统计结果达到阈值的容 限值时, 向控制器发送第一消息, 用于获取所述流表项的新的阈值信息; 其中所述阈值的容限值小于所述阈值。
接收器 73 , 用于在所述处理器 71统计得到的统计结果达到所述阈值 前, 接收所述控制器发送的流表项修改消息, 所述流表项修改消息包括所 述流表项的新的阈值信息。
进一步的, 所述处理器 71 , 还用于当所述处理器 71统计得到的统计 结果达到所述阈值, 且所述接收器 73未接收到所述控制器发送的流表项 修改消息时, 删除所述流表项。
进一步的, 所述发送器 72还用于: 向所述控制器发送通知消息, 所 述通知消息用于通知所述控制器所述处理器 71统计得到的统计结果达到 所述阈值的容限值, 以使所述控制器下发所述流表项的新的阈值信息; 或 者, 向所述控制器发送请求消息, 所述请求消息用于请求获取所述流表项 的新的阈值信息。
进一步的, 所述处理器 71 , 还用于根据所述流表项的新的阈值信息 确定所述阈值和所述阈值的容限值。
进一步的, 所述新的阈值信息包括: 新的阈值; 或者, 新的阈值和所 述新的阈值的容限信息。
进一步的, 所述接收器 73接收的流表项修改消息中还携带带宽控制 信息。
所述处理器 71 , 还用于根据所述带宽控制信息, 设置所述流表项对 应的带宽。
本发明实施例提供的一种交换机,通过对与流表项对应的数据流进行 统计, 当统计结果达到阈值的容限值时, 向控制器发送第一消息, 用于获 取所述流表项的新的阈值信息, 并在统计结果达到所述阈值前, 接收控制 器发送的流表项修改消息,该流表项修改消息包括所述流表项的新的阈值 信息, 与现有技术中仅通过设置强制超时阈值进行在线计费的方法相比, 为流表项新增了关联的阈值的容限值,在统计结果达到阈值之前向控制器 请求新的阈值, 从而可以继续使用当前流表项进行计费, 解决了 Open Flow在线计费中数据报文转发延迟的问题。
并且, 为流表项新增关联的时长阈值的容限值、 时长阈值、 流量阈值 的容限值和流量阈值, 不仅可以支持基于时长的在线计费, 还可以支持基 于流量的在线计费和基于时长和流量的混合在线计费, 使 OpenFlow协议 体系在电信网络中的应用范围得到了扩展。
实施例 6
本发明实施例提供一种控制器, 如图 9所示, 包括: 接收器 81、 处 理器 82、 发送器 83。
接收器 81 , 用于接收交换机发送的第一消息, 所述第一消息用于获 取流表项的新的阈值信息。
处理器 82 , 用于根据所述流表项的剩余的配额确定所述流表项对应 的所述新的阈值信息; 其中所述流表项的配额信息由在线计费系统 OCS 下发。
发送器 83 , 用于当未收到所述交换机发送的用于通知所述流表项删 除的通知消息,向所述交换机下发携带所述流表项的新的阈值信 , 的流表 项修改消息。
进一步的, 所述发送器 83 , 还用于当所述流表项的剩余的配额为 0 时, 向所述 OCS发送在线计费请求。
所述接收器 81 , 还用于接收所述 OCS发送的在线计费响应, 所述在 线计费响应中携带所述流表项的新的配额。
进一步的, 所述接收器 81还用于: 接收所述交换机发送的通知消息, 所述通知消息用于通知所述流表项对应的数据流的统计结果达到阈值的 容限值, 以使所述控制器下发所述流表项的新的阈值信息; 或者, 接收所 述交换机发送的请求消息,所述请求消息用于请求获取所述流表项的新的 阈值信息。
进一步的, 所述新的阈值信息包括: 新的阈值; 或者, 新的阈值和所 述新的阈值的容限信息。
本发明实施例提供的一种控制器, 接收交换机发送的第一消息, 所述 第一消息用于获取流表项的新的阈值信息;根据所述流表项的剩余的配额 确定流表项对应的新的阈值信息;若未收到交换机发送的用于通知所述流 表项删除的通知消息,向交换机下发携带所述流表项的新的阈值信 , 的流 表项修改消息。与现有技术中仅通过设置强制超时阈值进行在线计费的方 法相比, 为交换机流表项新增了关联的阈值的容限值, 交换机在统计结果 达到阈值之前向控制器请求新的阈值,此时控制器向交换机下发携带新的 阈值信息的流表项修改消息,以使得交换机根据所述新的阈值信息重置阈 值, 这样就可以继续使用当前流表项进行计费, 解决了 Open Flow在线计 费中数据报文转发延迟的问题。
并且, 为流表项新增关联的时长阈值的容限值、 时长阈值、 流量阈值 的容限值和流量阈值, 不仅可以支持基于时长的在线计费, 还可以支持基 于流量的在线计费和基于时长和流量的混合在线计费, 使 OpenFlow协议 体系在电信网络中的应用范围得到了扩展。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到 本发明可借助软件加必需的通用硬件的方式来实现, 当然也可以通过硬 件, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技 术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式 体现出来, 该计算机软件产品存储在可读取的存储介质中, 如计算机的软 盘, 硬盘或光盘等, 包括若干指令用以使得一台计算机设备(可以是个人 计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述的方法。 以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不 局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本 发明的保护范围应以所述权利要求的保护范围为准。

Claims

权 利 要 求 书
1、 一种在线计费方法, 其特征在于, 包括:
交换机对与流表项对应的数据流进行统计;
当统计结果达到阈值的容限值时,所述交换机向控制器发送第一消息, 用于获取所述流表项的新的阈值信息; 其中所述阈值的容限值小于所述阈 值;
所述交换机在所述统计结果达到所述阈值前, 接收所述控制器发送的 流表项修改消息, 所述流表项修改消息包括所述流表项的新的阈值信息。
2、 根据权利要求 1所述的在线计费方法, 其特征在于, 还包括: 当所述统计结果达到所述阈值时, 若未接收到所述控制器发送的流表 项修改消息, 所述交换机删除所述流表项。
3、 根据权利要求 1所述的在线计费方法, 其特征在于, 所述交换机向 控制器发送第一消息, 用于获取所述流表项的新的阈值信息, 包括:
所述交换机向所述控制器发送通知消息, 所述通知消息用于通知所述 控制器所述统计结果达到所述阈值的容限值, 以使所述控制器下发所述流 表项的新的阈值信息; 或者,
所述交换机向所述控制器发送请求消息, 所述请求消息用于请求获取 所述流表项的新的阈值信息。
4、 根据权利要求 1 -3中任一项所述的在线计费方法, 其特征在于, 所 述方法还包括:
所述交换机根据所述流表项的新的阈值信息确定所述阈值和所述阈值 的容限值。
5、 根据权利要求 1 -4中任一项所述在线计费方法, 其特征在于, 所述 新的阈值信息包括:
新的阈值; 或者,
新的阈值和所述新的阈值的容限信息。
6、 根据权利要求 1 -5中任一项所述的在线计费方法, 其特征在于, 所 述流表项修改消息中还携带带宽控制信息;
所述方法还包括:
所述交换机根据所述带宽控制信息, 设置所述流表项对应的带宽。
7、 一种在线计费方法, 其特征在于, 包括:
控制器接收交换机发送的第一消息, 所述第一消息用于获取流表项的 新的阈值信息;
所述控制器根据所述流表项的剩余的配额确定所述流表项对应的所述 新的阈值信息; 其中所述流表项的配额由在线计费系统 OCS下发;
若未收到所述交换机发送的用于通知所述流表项删除的通知消息, 所 述控制器向所述交换机下发携带所述流表项的新的阈值信息的流表项修改 消息。
8、 根据权利要求 7所述的在线计费方法, 其特征在于, 所述方法还包 括:
当所述流表项的剩余的配额为 0时, 所述控制器向所述 OCS发送在线 计费请求;
所述控制器接收所述 OCS发送的在线计费响应, 所述在线计费响应中 携带所述流表项的新的配额。
9、 根据权利要求 7或 8所述的在线计费方法, 其特征在于, 所述控制 器接收交换机发送的第一消息, 所述第一消息用于获取流表项的新的阈值 信息, 包括:
所述控制器接收所述交换机发送的通知消息, 所述通知消息用于通知 所述流表项对应的数据流的统计结果达到阈值的容限值, 以使所述控制器 下发所述流表项的新的阈值信息; 或者,
所述控制器接收所述交换机发送的请求消息, 所述请求消息用于请求 获取所述流表项的新的阈值信息。
10、 根据权利要求 7-9 中任一项所述的在线计费方法, 其特征在于, 所述新的阈值信息包括: 新的阈值; 或者,
新的阈值和所述新的阈值的容限信息。
11、 一种在交换机, 其特征在于, 包括:
处理器, 用于对与流表项对应的数据流进行统计;
发送器,用于当所述处理器统计得到的统计结果达到阈值的容限值时, 向控制器发送第一消息, 用于获取所述流表项的新的阈值信息; 其中所述 阈值的容限值小于所述阈值;
接收器, 用于在所述处理器统计得到的统计结果达到所述阈值前, 接 收所述控制器发送的流表项修改消息, 所述流表项修改消息包括所述流表 项的新的阈值信息。
12、 根据权利要求 11所述交换机, 其特征在于,
所述处理器,还用于当所述处理器统计得到的统计结果达到所述阈值, 且所述接收器未接收到所述控制器发送的流表项修改消息时, 删除所述流 表项。
13、 根据权利要求 11所述交换机, 其特征在于, 所述发送器还用于: 向所述控制器发送通知消息, 所述通知消息用于通知所述控制器所述 处理器统计得到的统计结果达到所述阈值的容限值, 以使所述控制器下发 所述流表项的新的阈值信息; 或者,
向所述控制器发送请求消息, 所述请求消息用于请求获取所述流表项 的新的阈值信息。
14、 根据权利要求 11- 13中任一项所述的交换机, 其特征在于, 所述处理器, 还用于根据所述流表项的新的阈值信息确定所述阈值和 所述阈值的容限值。
15、 根据权利要求 11-14 中任一项所述的交换机, 其特征在于, 所述 新的阈值信息包括:
新的阈值; 或者,
新的阈值和所述新的阈值的容限信息。
16、 根据权利要求 11-15 中任一项所述的交换机, 其特征在于, 所述 接收器接收的流表项修改消息中还携带带宽控制信息;
所述处理器, 还用于根据所述带宽控制信息, 设置所述流表项对应的 带宽。
17、 一种控制器, 其特征在于, 包括:
接收器, 用于接收交换机发送的第一消息, 所述第一消息用于获取流 表项的新的阈值信息;
处理器, 用于根据所述流表项的剩余的配额确定所述流表项对应的所 述新的阈值信息; 其中所述流表项的配额由在线计费系统 OCS下发;
发送器, 用于当未收到所述交换机发送的用于通知所述流表项删除的 通知消息, 向所述交换机下发携带所述流表项的新的阈值信息的流表项修 改消息。
18、 根据权利要求 17所述的控制器, 其特征在于,
所述发送器, 还用于当所述流表项的剩余的配额为 0时, 向所述 OCS 发送在线计费请求;
所述接收器, 还用于接收所述 OCS发送的在线计费响应, 所述在线计 费响应中携带所述流表项的新的配额。
19、 根据权利要求 17或 18所述的控制器, 其特征在于, 所述接收器 还用于:
接收所述交换机发送的通知消息, 所述通知消息用于通知所述流表项 对应的数据流的统计结果达到阈值的容限值, 以使所述控制器下发所述流 表项的新的阈值信息; 或者,
接收所述交换机发送的请求消息, 所述请求消息用于请求获取所述流 表项的新的阈值信息。
20、 根据权利要求 17-19 中任一项所述的控制器, 其特征在于, 所述 新的阈值信息包括:
新的阈值; 或者, 新的阈值和所述新的阈值的容限信息。
21、 一种在线计费网络系统, 其特征在于, 包括:
如权利要求 11-16中任一项所述的交换机;
如权利要求 17-20中任一项所述的控制器;
以及在线计费系统 OCS;
所述在线计费系统 0 C S , 用于接收所述控制器发送的在线计费请求; 向所述控制器发送在线计费响应, 其中, 所述在线计费响应中携带所述流 表项的新的配额。
PCT/CN2012/081291 2012-09-12 2012-09-12 一种在线计费方法、设备及网络系统 WO2014040240A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280001653.0A CN104040949B (zh) 2012-09-12 2012-09-12 一种在线计费方法、设备及网络系统
PCT/CN2012/081291 WO2014040240A1 (zh) 2012-09-12 2012-09-12 一种在线计费方法、设备及网络系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/081291 WO2014040240A1 (zh) 2012-09-12 2012-09-12 一种在线计费方法、设备及网络系统

Publications (1)

Publication Number Publication Date
WO2014040240A1 true WO2014040240A1 (zh) 2014-03-20

Family

ID=50277487

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/081291 WO2014040240A1 (zh) 2012-09-12 2012-09-12 一种在线计费方法、设备及网络系统

Country Status (2)

Country Link
CN (1) CN104040949B (zh)
WO (1) WO2014040240A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015143620A1 (zh) * 2014-03-25 2015-10-01 华为技术有限公司 一种数据流统计方法、系统和装置
CN105407073A (zh) * 2014-09-10 2016-03-16 中兴通讯股份有限公司 一种基于开放流OpenFlow协议的流表老化方法、设备和系统
CN105515793A (zh) * 2014-09-23 2016-04-20 中国电信股份有限公司 在线计费处理方法和系统、Openflow控制器和Openflow交换机
CN106034296A (zh) * 2015-03-09 2016-10-19 中兴通讯股份有限公司 一种实现在线计费的方法及系统
CN108352994A (zh) * 2016-03-14 2018-07-31 华为技术有限公司 一种计费测量的方法、装置及系统

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017080610A1 (en) * 2015-11-13 2017-05-18 Huawei Technologies Co., Ltd. Openflow compliant network with flow expiry extension
CN109274507B (zh) * 2017-07-17 2020-07-14 华为技术有限公司 计费控制方法、设备及系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567819A (zh) * 2003-07-01 2005-01-19 深圳市中兴通讯股份有限公司 一种宽带接入服务器对用户上网计时的方法
CN1956389A (zh) * 2005-10-27 2007-05-02 中兴通讯股份有限公司 一种基于用户实现统计组播数据流量的方法
CN102026141A (zh) * 2010-12-27 2011-04-20 中兴通讯股份有限公司 一种流量统计方法、终端和系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1652338B1 (en) * 2003-07-22 2012-11-28 TELEFONAKTIEBOLAGET LM ERICSSON (publ) An arrangement, a node and a method relating to handling of lost/discarded data packets
CN100369418C (zh) * 2005-06-24 2008-02-13 杭州华三通信技术有限公司 数据流量的统计方法
CN101321088A (zh) * 2008-07-18 2008-12-10 北京星网锐捷网络技术有限公司 一种统计ip数据流信息的方法及装置
CN101662758A (zh) * 2009-10-10 2010-03-03 中国电信股份有限公司 计费方法、网关设备及内容计费系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567819A (zh) * 2003-07-01 2005-01-19 深圳市中兴通讯股份有限公司 一种宽带接入服务器对用户上网计时的方法
CN1956389A (zh) * 2005-10-27 2007-05-02 中兴通讯股份有限公司 一种基于用户实现统计组播数据流量的方法
CN102026141A (zh) * 2010-12-27 2011-04-20 中兴通讯股份有限公司 一种流量统计方法、终端和系统

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015143620A1 (zh) * 2014-03-25 2015-10-01 华为技术有限公司 一种数据流统计方法、系统和装置
CN105191212A (zh) * 2014-03-25 2015-12-23 华为技术有限公司 一种数据流统计方法、系统和装置
US10148596B2 (en) 2014-03-25 2018-12-04 Huawei Technologies Co., Ltd. Data flow statistics collection method, system, and apparatus
CN105407073A (zh) * 2014-09-10 2016-03-16 中兴通讯股份有限公司 一种基于开放流OpenFlow协议的流表老化方法、设备和系统
EP3193483A4 (en) * 2014-09-10 2017-08-16 ZTE Corporation Flow table ageing method, device and system and computer-readable medium
CN105515793A (zh) * 2014-09-23 2016-04-20 中国电信股份有限公司 在线计费处理方法和系统、Openflow控制器和Openflow交换机
CN106034296A (zh) * 2015-03-09 2016-10-19 中兴通讯股份有限公司 一种实现在线计费的方法及系统
CN108352994A (zh) * 2016-03-14 2018-07-31 华为技术有限公司 一种计费测量的方法、装置及系统
US10536585B2 (en) 2016-03-14 2020-01-14 Huawei Technologies Co., Ltd. Charging measurement method, apparatus, and system

Also Published As

Publication number Publication date
CN104040949A (zh) 2014-09-10
CN104040949B (zh) 2017-06-20

Similar Documents

Publication Publication Date Title
WO2014040240A1 (zh) 一种在线计费方法、设备及网络系统
WO2014166405A1 (zh) 一种基于OpenFlow协议的计费的方法及系统
WO2018126981A1 (zh) 计费管理方法、用户面功能实体以及控制面功能实体
WO2007051404A1 (fr) Procede de facturation, systeme, client de facturation et unite de traitement de facturation
WO2014169877A1 (zh) 基于sdn epc网络的计费实现方法、系统与存储介质
WO2012088919A1 (zh) 业务用量监控方法及设备
KR20110042102A (ko) Ims 네트워크들에서의 온라인 과금 상관
WO2010072107A1 (zh) 一种用户业务流计费核减方法和装置
WO2007082446A1 (fr) Procede et systeme de taxation hors ligne
WO2011079773A1 (zh) 用户会话策略控制方法、装置及系统
WO2015131331A1 (zh) 一种计费会话管理方法、装置
WO2013091410A1 (zh) 网络接入方法、系统及设备
WO2008028422A1 (fr) Système de facturation, point de facturation et procédé de communication par un point de facturation d'informations de facturation d'un utilisateur
WO2015058549A1 (zh) 业务同步方法、内容管理设备及策略管理设备
WO2009056046A1 (fr) Procédé de fin de session
WO2009117973A1 (zh) 上报数据业务使用量的方法、系统、媒体处理设备及控制设备
WO2009092244A1 (zh) 按业务访问时长计费的方法及装置
WO2007137482A1 (fr) Procédé, système et dispositif de taxation dans un réseau d'interfonctionnement du système hyperfréquence global
US10499213B2 (en) Charging method, control plane network element, forwarding plane network element, and charging system
WO2012174930A1 (zh) 一种组播业务的计费方法、装置及系统
EP3099013A1 (en) Providing a qoe-dependent charging rate
WO2016074462A1 (zh) 分组网关企业级计费方法及装置
WO2011020419A1 (zh) 控制pcrf实体负载均衡的实现方法、系统及dra
WO2011144123A2 (zh) 签约业务处理方法和网关及系统
WO2015051536A1 (zh) 信息传输方法和装置

Legal Events

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

Ref document number: 12884693

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12884693

Country of ref document: EP

Kind code of ref document: A1