CN111416720B - Intelligent target charging and intelligent target charging configuration method and device - Google Patents
Intelligent target charging and intelligent target charging configuration method and device Download PDFInfo
- Publication number
- CN111416720B CN111416720B CN202010131085.2A CN202010131085A CN111416720B CN 111416720 B CN111416720 B CN 111416720B CN 202010131085 A CN202010131085 A CN 202010131085A CN 111416720 B CN111416720 B CN 111416720B
- Authority
- CN
- China
- Prior art keywords
- intelligent
- routing information
- charging
- charging rule
- rule
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1403—Architecture for metering, charging or billing
- H04L12/1407—Policy-and-charging control [PCC] architecture
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1442—Charging, metering or billing arrangements for data wireline or wireless communications at network operator level
- H04L12/145—Charging, metering or billing arrangements for data wireline or wireless communications at network operator level trading network capacity or selecting route based on tariff
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present disclosure provides a method and a device for intelligent target charging and intelligent target charging configuration, wherein the method comprises the following steps: receiving a service message; acquiring first routing information corresponding to the service message from a forwarding table, and determining a first intelligent targeted charging rule corresponding to the first routing information according to the corresponding relation between the routing information and the intelligent targeted charging rule; charging the service message according to the first intelligent target charging rule, and removing the binding of the ITA function and the ACL, thereby avoiding the ITA function from being influenced by the ACL resource and being incapable of being normally applied.
Description
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for intelligent target charging and configuration of intelligent target charging.
Background
An ITA (Intelligent Target Accounting) is generally applied to a routing device with a charging function (e.g., a broadband access server, a virtual broadband access server, a router, etc.), different charging levels are defined according to different source or destination addresses accessed by an access user, and differentiated charging services and speed limit are provided, for example, in a campus network, it is possible to apply an ITA service policy to the access device of the user, so that user traffic in an access education network is not charged or very low, and network resources outside the access education network are charged higher.
When the ITA is currently implemented, an access control list ACL (hereinafter abbreviated as ACL) is used to mark out different levels according to an object accessed by a user, each level is configured with an intelligent targeted charging rule, however, resources of the ACL are limited, and the ACL needs to be used for recording and forwarding a plurality of contents, such as a message field, a forwarding mark and the like of a message.
Disclosure of Invention
The embodiment of the disclosure provides an intelligent target charging method, which is applied to a routing device with a charging function, and through the method, the binding between an ITA function and an ACL can be released, so that the ITA function is prevented from being influenced by the ACL resources and cannot be normally applied.
The embodiment of the disclosure provides an intelligent target charging method, which is applied to a routing device with a charging function, and comprises the following steps:
receiving a service message;
acquiring first routing information corresponding to the service message from a forwarding table, and determining a first intelligent targeted charging rule corresponding to the first routing information according to the corresponding relation between the routing information and the intelligent targeted charging rule;
and charging the service message according to the first intelligent target charging rule.
It can be seen from the foregoing embodiments that the present disclosure discloses an intelligent targeted charging method, so that when executing an ITA function, a routing device is no longer limited by resources of an ACL, and the ITA function can be directly implemented by an intelligent targeted charging rule configured for each routing information in a forwarding table.
In another embodiment, the method for establishing the corresponding relationship between the routing information and the intelligent targeted charging rule comprises the following steps:
setting different qos-local-id values for each routing information in the forwarding table, configuring an intelligent target charging rule for the different qos-local-id values, and establishing a corresponding relation between the routing information and the intelligent target charging rule through the different qos-local-id values.
In another embodiment, the intelligent targeted charging rules include: charging rules and flow control rules.
The embodiment of the present disclosure further provides a method for configuring intelligent target charging, which is applied to a routing device with a charging function, and the method includes:
receiving a BGP route sent by an upstream device, wherein the BGP route comprises route information and an identifier for indicating configuration of an intelligent targeted charging rule;
and configuring an intelligent target charging rule for the routing information according to the identification, and forming a corresponding relation between the routing information and the intelligent target charging rule.
It can be seen from the foregoing embodiments that the present disclosure discloses a method for configuring intelligent targeted charging, which can configure an intelligent targeted charging rule for the routing information by receiving a BGP route and according to an identifier carried in the BGP route and used for indicating configuration of the intelligent targeted charging rule, thereby distinguishing a route that needs to execute an ITA function from a route that does not need to execute the ITA function, and meanwhile, a routing device does not need to implement the ITA function by using an ACL, and the ITA function can be implemented according to the routing information in a forwarding table.
In another embodiment, the configuring, according to the identifier, an intelligent targeted charging rule for the routing information, and forming a corresponding relationship between the routing information and the intelligent targeted charging rule specifically includes:
setting a QoS-local-id value for routing information according to a QoS protocol, configuring an intelligent targeted charging rule for the QoS-local-id value, and establishing a correspondence between the routing information and the intelligent targeted charging rule through the QoS-local-id value.
In another embodiment, the intelligent targeted charging rules include: charging rules and flow control rules.
The embodiment can show that the ITA function is not influenced by ACL resources when the ITA function is executed, and the corresponding relation between the ITA function and the intelligent target charging rule is established by utilizing the forwarding table in the routing equipment, so that the ITA function is realized.
The embodiment of the present disclosure further provides an intelligent target charging device, including:
the first receiving module is used for receiving the service message;
the first processing module is used for acquiring first routing information corresponding to the service message from a forwarding table and determining a first intelligent targeted charging rule corresponding to the first routing information according to the corresponding relation between the routing information and the intelligent targeted charging rule;
and the first charging module is used for charging the service message according to the first intelligent targeted charging rule.
In another embodiment, the first processing module is further configured to set different qos-local-id values for each piece of routing information in the forwarding table, configure an intelligent targeted charging rule for the different qos-local-id values, and establish a corresponding relationship between the routing information and the intelligent targeted charging rule through the different qos-local-id values.
In another embodiment, the intelligent targeted charging rules include: charging rules and flow control rules.
The embodiment of the present disclosure further provides a device for configuring intelligent target charging, including:
a second receiving module, configured to receive a BGP route sent by an upstream device, where the BGP route includes route information and an identifier used to indicate configuration of an intelligent targeted charging rule;
and the processing module is used for configuring an intelligent target charging rule for the routing information according to the identification and forming a corresponding relation between the routing information and the intelligent target charging rule.
Drawings
Fig. 1 is a flowchart of an intelligent targeted charging method according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for configuring intelligent targeted charging according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
It should be noted that the ITA in this embodiment and the intelligent target charging mean the same.
As shown in fig. 1, this embodiment discloses an intelligent target charging method, which is applied to a routing device with a charging function, and includes:
s1, receiving a service message;
s2, acquiring first routing information corresponding to the service message from a forwarding table, and determining a first intelligent targeted charging rule corresponding to the first routing information according to the corresponding relation between the routing information and the intelligent targeted charging rule;
and S3, charging the service message according to the first intelligent target charging rule.
In step S1, the service packet is sent by the user equipment accessing the routing device, where the service packet includes a destination address of the destination device for sending the service packet.
In step S2, after receiving the service packet, the routing device obtains a destination address from the service packet (for convenience of explanation, only the destination address is taken as an exemplary explanation in this embodiment, and in practical applications, elements that can correspond to a forwarding table, such as a source address, an MAC address, and the like, can also be obtained from the packet), obtains first routing information corresponding to the destination address from the forwarding table according to the destination address, obtains a first intelligent targeted charging rule corresponding to the first routing information according to a correspondence between the routing information and the intelligent targeted charging, and charges the user equipment that sends the service packet according to the first intelligent targeted charging rule.
Wherein, the intelligent target charging rule comprises: the system comprises charging rules and flow control rules, wherein the charging rules can comprise the price per unit flow, and the flow control rules can comprise the speed limit.
The embodiment also provides a method for establishing a corresponding relationship between routing information and intelligent targeted charging, which comprises the following steps:
when the elements in a specific table in the forwarding table are acquired for route learning, the destination address (or source address) of the route is acquired, a qos-local-id value is set for the acquired destination address, the qos-local-id value is added into the forwarding table, and an intelligent targeted charging rule is configured for the qos-local-id value, so that the corresponding relation between the route information in the forwarding table and the intelligent targeted charging rule is established.
In step S3, if the routing device obtains the first intelligent targeted charging rule according to step S2, the routing device performs charging management on the user equipment that sends the service packet according to the first intelligent targeted charging rule; if the first intelligent target charging rule is not obtained, charging management is carried out according to the existing mode, and therefore the user equipment needing intelligent target charging and the user equipment not needing intelligent target charging are distinguished.
It can be seen from the above embodiments that when the routing device executes the ITA function, the routing device is not limited by ACL resources, and the ITA function can be implemented according to the forwarding table.
As shown in fig. 2, an embodiment of the present disclosure further provides a method for configuring intelligent target charging, where the method is applied to a routing device with a charging function, and the method includes:
s4, receiving a BGP route sent by an upstream device, wherein the BGP route comprises route information and an identifier for indicating configuration of an intelligent targeted charging rule;
and S5, configuring an intelligent target charging rule for the routing information according to the identification, and forming a corresponding relation between the routing information and the intelligent target charging rule.
In step S4, there may be other routing devices (e.g., gateway devices or core routing devices, which are hereinafter referred to as upstream devices for convenience of description) upstream of the routing device, that is, the upstream device may have access to a plurality of downstream devices (routing devices) with charging functions, and when an ITA function needs to be performed for a certain routing information, in order to implement that the plurality of downstream devices may perform the ITA function for the certain routing information at the same time, the disclosed embodiment utilizes an advertisement characteristic of the BGP route, and adds a corresponding identifier to the BGP route to enable the downstream device that receives the BGP route to configure an intelligent targeted charging rule for the routing information in the BGP route, where the identifier may be a specific flag used to indicate that the device that receives the BGP route performs the ITA configuration.
Similarly, when the intelligent target charging rule is specifically configured, a QOS-local-id value can be set for the routing information (such as a destination address and/or a source address) carried in the BGP route according to the QOS protocol, and the value is written into the forwarding table, and then the intelligent target charging rule is configured according to the QOS-local-id value, so as to establish the corresponding relationship between the routing information in the forwarding table and the intelligent target charging rule.
It can be seen from the foregoing embodiment that, by receiving a BGP route and configuring an intelligent targeted charging rule for routing information in the BGP route according to whether the BGP route carries an identifier for indicating configuration of the intelligent targeted charging rule, the routing device having a charging function can implement an ITA function according to a forwarding table, and thus does not need to rely on an ACL any more.
Based on the same concept as the foregoing embodiments, the embodiments of the present disclosure further provide an intelligent target charging apparatus, including:
the first receiving module is used for receiving the service message;
the first processing module is used for acquiring first routing information corresponding to the service message from a forwarding table and determining a first intelligent targeted charging rule corresponding to the first routing information according to the corresponding relation between the routing information and the intelligent targeted charging rule;
and the first charging module is used for charging the service message according to the first intelligent targeted charging rule.
In another embodiment, the first processing module is further configured to set different qos-local-id values for each piece of routing information in the forwarding table, configure an intelligent targeted charging rule for the different qos-local-id values, and establish a corresponding relationship between the routing information and the intelligent targeted charging rule through the different qos-local-id values.
In another embodiment, the intelligent targeted charging rules include: charging rules and flow control rules.
The embodiment of the present disclosure further provides a device for configuring intelligent target charging, where the device includes:
a second receiving module, configured to receive a BGP route sent by an upstream device, where the BGP route includes route information and an identifier used to indicate configuration of an intelligent targeted charging rule;
and the second processing module is used for configuring an intelligent target charging rule for the routing information according to the identification and forming a corresponding relation between the routing information and the intelligent target charging rule.
In the several embodiments provided in the present application, it should be understood that the disclosed method and electronic device can be implemented in other manners. The embodiments described above are merely illustrative, and the flowcharts and block diagrams in the figures, for example, illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.
Claims (10)
1. A method for intelligent targeted charging is applied to a routing device with a charging function, and comprises the following steps:
receiving a service message;
acquiring first routing information corresponding to the service message from a forwarding table, and determining a first intelligent targeted charging rule corresponding to the first routing information according to the corresponding relation between the routing information and the intelligent targeted charging rule;
and charging the service message according to the first intelligent target charging rule.
2. The method of claim 1, wherein the step of establishing the correspondence between the routing information and the intelligent targeted charging rules comprises:
setting different qos-local-id values for each routing information in the forwarding table, configuring an intelligent target charging rule for the different qos-local-id values, and establishing a corresponding relation between the routing information and the intelligent target charging rule through the different qos-local-id values.
3. The method of claim 1, wherein the intelligent targeted charging rules comprise: charging rules and flow control rules.
4. A method for configuring intelligent targeted charging is applied to a routing device with a charging function, and comprises the following steps:
receiving a BGP route sent by an upstream device, wherein the BGP route comprises route information and an identifier used for indicating configuration of an intelligent targeted charging rule;
and configuring an intelligent target charging rule for the routing information according to the identification, and forming a corresponding relation between the routing information and the intelligent target charging rule.
5. The method according to claim 4, wherein configuring an intelligent targeted charging rule for the routing information according to the identifier, and forming a correspondence between the routing information and the intelligent targeted charging rule specifically includes:
setting a QOS-local-id value for routing information according to a QOS protocol, configuring an intelligent targeted charging rule for the QOS-local-id value, and establishing a corresponding relationship between the routing information and the intelligent targeted charging rule through the QOS-local-id value.
6. The method of claim 4, wherein the intelligent targeted charging rules comprise: charging rules and flow control rules.
7. An apparatus for intelligent targeted charging, the apparatus comprising:
the first receiving module is used for receiving the service message;
the first processing module is used for acquiring first routing information corresponding to the service message from a forwarding table and determining a first intelligent targeted charging rule corresponding to the first routing information according to the corresponding relation between the routing information and the intelligent targeted charging rule;
and the first charging module is used for charging the service message according to the first intelligent targeted charging rule.
8. The apparatus of claim 7,
the first processing module is further configured to set different qos-local-id values for each routing information in the forwarding table, configure an intelligent targeted charging rule for the different qos-local-id values, and establish a corresponding relationship between the routing information and the intelligent targeted charging rule through the different qos-local-id values.
9. The apparatus of claim 7, wherein the intelligent targeted charging rules comprise: charging rules and flow control rules.
10. An apparatus for configuring intelligent targeted charging, the apparatus comprising:
a second receiving module, configured to receive a BGP route sent by an upstream device, where the BGP route includes route information and an identifier used to indicate configuration of an intelligent targeted charging rule;
and the second processing module is used for configuring an intelligent target charging rule for the routing information according to the identification and forming a corresponding relation between the routing information and the intelligent target charging rule.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010131085.2A CN111416720B (en) | 2020-02-28 | 2020-02-28 | Intelligent target charging and intelligent target charging configuration method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010131085.2A CN111416720B (en) | 2020-02-28 | 2020-02-28 | Intelligent target charging and intelligent target charging configuration method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111416720A CN111416720A (en) | 2020-07-14 |
CN111416720B true CN111416720B (en) | 2022-04-01 |
Family
ID=71492783
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010131085.2A Active CN111416720B (en) | 2020-02-28 | 2020-02-28 | Intelligent target charging and intelligent target charging configuration method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111416720B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005055100A1 (en) * | 2003-11-19 | 2005-06-16 | France Telecom | Service-based fee-charging system and method for a packet-mode data network using identifiers in the packet headings |
CN101127741A (en) * | 2007-09-17 | 2008-02-20 | 中兴通讯股份有限公司 | CDR merging device for billing gateway |
CN103401862A (en) * | 2013-07-29 | 2013-11-20 | 杭州华三通信技术有限公司 | Method and equipment for authenticating IPoE (IP over Ethernet) |
CN104301881A (en) * | 2014-10-22 | 2015-01-21 | 中国联合网络通信集团有限公司 | Billing method and billing device |
CN108111320A (en) * | 2016-11-24 | 2018-06-01 | 大唐移动通信设备有限公司 | A kind of local service charging method, server and charging gateway |
US10560581B1 (en) * | 2018-08-08 | 2020-02-11 | T-Mobile Usa, Inc. | Split billing for a user across multiple billing systems |
-
2020
- 2020-02-28 CN CN202010131085.2A patent/CN111416720B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005055100A1 (en) * | 2003-11-19 | 2005-06-16 | France Telecom | Service-based fee-charging system and method for a packet-mode data network using identifiers in the packet headings |
CN101127741A (en) * | 2007-09-17 | 2008-02-20 | 中兴通讯股份有限公司 | CDR merging device for billing gateway |
CN103401862A (en) * | 2013-07-29 | 2013-11-20 | 杭州华三通信技术有限公司 | Method and equipment for authenticating IPoE (IP over Ethernet) |
CN104301881A (en) * | 2014-10-22 | 2015-01-21 | 中国联合网络通信集团有限公司 | Billing method and billing device |
CN108111320A (en) * | 2016-11-24 | 2018-06-01 | 大唐移动通信设备有限公司 | A kind of local service charging method, server and charging gateway |
US10560581B1 (en) * | 2018-08-08 | 2020-02-11 | T-Mobile Usa, Inc. | Split billing for a user across multiple billing systems |
Also Published As
Publication number | Publication date |
---|---|
CN111416720A (en) | 2020-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110113291B (en) | Method and apparatus for interworking between business function chain domains | |
CN109565500B (en) | On-demand security architecture | |
CN102783099B (en) | The method and apparatus of service control transmission | |
US8073936B2 (en) | Providing support for responding to location protocol queries within a network node | |
EP2731313B1 (en) | Distributed cluster processing system and message processing method thereof | |
US7451203B2 (en) | Method and system for communicating between a management station and at least two networks having duplicate internet protocol addresses | |
CN109964469B (en) | Method and system for updating white lists at a network node | |
CN107241280A (en) | The dynamic prioritization of network traffics based on prestige | |
CN112511995A (en) | Message interaction method, device, equipment and storage medium | |
CN111416720B (en) | Intelligent target charging and intelligent target charging configuration method and device | |
US7924838B1 (en) | Advanced service architecture for next generation network services and intelligent data network router | |
CN116192758B (en) | Multi-rule combined current-limiting controller based on gateway service Kong | |
CN109361618B (en) | Data flow marking method and device, computer equipment and storage medium | |
WO2016110063A1 (en) | Network control method and device | |
CN111147379A (en) | Data transmission method, system and related equipment | |
CN112398796A (en) | Information processing method, device, equipment and computer readable storage medium | |
RU2316809C2 (en) | Device for balancing the load on multi-processor platforms | |
CN113067741B (en) | Information processing method, device, terminal and storage medium | |
CN108924049B (en) | Flow specification routing scheduling method and device | |
CN104702505A (en) | Message transmission method and node | |
CN109936460B (en) | Method and equipment for charging flow | |
US10574526B2 (en) | Control method for application feature rules and application feature server | |
CN104486738A (en) | Policy making method, device and system | |
CN111294856A (en) | Shared flow terminal identification method, device, equipment and readable storage medium | |
CN114285671B (en) | Service chain generation method, device, network equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |