CN113541975A - Charging management method and system based on external gateway protocol - Google Patents
Charging management method and system based on external gateway protocol Download PDFInfo
- Publication number
- CN113541975A CN113541975A CN202011515434.7A CN202011515434A CN113541975A CN 113541975 A CN113541975 A CN 113541975A CN 202011515434 A CN202011515434 A CN 202011515434A CN 113541975 A CN113541975 A CN 113541975A
- Authority
- CN
- China
- Prior art keywords
- bgp
- lsdb
- controller
- information
- network equipment
- 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.)
- Pending
Links
- 238000007726 management method Methods 0.000 title claims abstract description 31
- 238000006424 Flood reaction Methods 0.000 claims description 4
- 238000004806 packaging method and process Methods 0.000 claims description 2
- 238000000034 method Methods 0.000 abstract description 4
- 230000007547 defect Effects 0.000 abstract description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 102100036255 Glucose-6-phosphatase 2 Human genes 0.000 description 1
- 101000930907 Homo sapiens Glucose-6-phosphatase 2 Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
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
-
- 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/1432—Metric aspects
- H04L12/1435—Metric aspects volume-based
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a charging management method based on an external gateway protocol, aiming at overcoming the defect that a method for collecting network topology information cannot meet the requirement of network charging, comprising the following steps: initializing parameters of a controller, a first network device and a second network device; the controller manages the BGP session, and obtains LSDB data sent by the first network equipment and the second network equipment; the controller obtains the charging rule and generates a charging information record according to the LSDB data sent by the first network equipment and the second network equipment. The invention also provides a charging management system based on the external gateway protocol, which comprises a system, a first network device and a second network device, wherein: the controller includes BGP services, the first network device includes IGP and BGP services, and the second network device includes IGP services.
Description
Technical Field
The present invention relates to the field of data communication technologies, and in particular, to a charging management method and system based on an external gateway protocol.
Background
IGP (interior gateway protocol) is a protocol for exchanging routing information between gateways (hosts and routers) within an autonomous network. The routing information can be used in an Internet Protocol (IP) or other network protocol to specify how routing is to be performed. IGP protocols include RIP, OSPF, IS-IS, IGRP, EIGRP, and the like.
The existing method for collecting network topology information is mainly based on Link state information (LSDB) of IGP Protocol, and a controller realizes monitoring and management of a network through BGP-LS (Border Gateway Protocol Link-state) Protocol, but because LSDB lacks information such as interface address, real-time flow, QoS (Quality of Service), ACL (Access Control list), etc., it is impossible to draw a more accurate and intuitive network topology, and even impossible to meet the requirement of network charging.
Disclosure of Invention
The invention provides a charging management method based on an external gateway protocol and a charging management system based on the external gateway protocol, aiming at overcoming the defect that the method for collecting network topology information in the prior art can not meet the requirement of network charging.
In order to solve the technical problems, the technical scheme of the invention is as follows:
a charging management method based on an external gateway protocol comprises the following steps:
s1: initializing parameters of a controller, a first network device and a second network device;
s2: the controller manages the BGP session, and obtains LSDB data sent by the first network equipment and the second network equipment;
s3: the controller obtains the charging rule and generates a charging information record according to the LSDB data sent by the first network equipment and the second network equipment.
Preferably, in step S1, the second network device obtains the local session state information of the device, encapsulates the local session state information into new extended LSDB data, and floods the new extended LSDB data to other IGP neighbors.
Preferably, the local session state information includes a link state local to the device, a real-time traffic state, interface information, and ACL information.
Preferably, in the step S2, the specific steps are as follows:
s2.1: the first network equipment and the controller establish BGP-LS neighbors;
s2.2: after the LSDB information of the second network device reaches the IGP of the first network device, the first network device gathers and sends all the LSDB information to a local BGP (Border Gateway Protocol), and the BGP packages the received LSDB into an update message of the BGP-LS and sends the update message to the BGP of the controller.
Preferably, in the step S3, the specific steps are as follows:
s3.1: the controller sends a request for acquiring the Usage information and sends a URR charging Rule (Usage Reporting Rule);
s3.2: the second network equipment starts to acquire the usage information after receiving the charging rule, and the first network equipment forms a charging information record after receiving the LSDB data of the usage information and sends the charging information record to the controller through the updating message.
The present invention further provides a charging management system based on an external gateway protocol, which is applied to the charging management method based on the external gateway protocol proposed in any of the above technical solutions, wherein the charging management system comprises a controller, a first network device and a second network device, wherein:
the controller includes a BGP service to manage BGP sessions and receive an extended LSDB;
the first network equipment comprises IGP and BGP service, wherein the IGP is responsible for collecting link states of the IGP and the neighbor and sending the link states to a local BGP protocol; the BGP is responsible for establishing a BPG-LS neighbor with the controller and sending a BGP-LS message carrying an IGP link state;
the second network device includes an IGP service for acquiring local session state information, and then packaging into a new extended LSDB for sending to an IGP neighbor.
Preferably, the session state information includes a link state local to the device, a real-time traffic state, interface information, and ACL information.
Preferably, the controller further includes a Redis cache architecture for caching LSDB data.
Compared with the prior art, the technical scheme of the invention has the beneficial effects that: the invention can be used for accurately drawing the structure and the flow condition of the current network topology in real time by expanding the IGP link state information (LSDB) and the BGP-LS transmission structure, introduces the URR charging rule on the basis of the existing ACL and QoS, expands the functional requirements of the controller and enriches the charging flexibility.
Drawings
Fig. 1 is a flowchart of a charging management method based on an external gateway protocol according to embodiment 1.
Fig. 2 is an initialization flowchart of embodiment 1.
Fig. 3 is a charging flow chart of embodiment 1.
Fig. 4 is a schematic structural diagram of a charging management system based on an external gateway protocol according to embodiment 2.
Detailed Description
The drawings are for illustrative purposes only and are not to be construed as limiting the patent;
for the purpose of better illustrating the embodiments, certain features of the drawings may be omitted, enlarged or reduced, and do not represent the size of an actual product;
it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
The technical solution of the present invention is further described below with reference to the accompanying drawings and examples.
Example 1
The present embodiment provides a charging management method based on an external gateway protocol, which is a flowchart of the charging management method based on the external gateway protocol of the present embodiment, as shown in fig. 1 to 3.
The charging management method based on the external gateway protocol provided by the embodiment comprises the following steps:
s1: initializing parameters of the controller 1, the first network device 2 and the second network device 3;
s2: the controller 1 manages a BGP session, and acquires LSDB data sent by the first network device 2 and the second network device 3;
s3: the controller 1 obtains the charging rule and generates a charging information record according to the LSDB data transmitted from the first network device 2 and the second network device 3.
Further, in step S1 of this embodiment, the specific steps are as follows: the second network device 3 obtains the local session state information of the device, encapsulates the local session state information into new extended LSDB data, and then floods the new extended LSDB data to other IGP neighbors. The local session state information includes a local link state of the device, a real-time traffic state, interface information, and ACL information.
Further, in step S2 of this embodiment, the specific steps are as follows:
s2.1: the first network equipment 2 and the controller 1 establish BGP-LS neighbors;
s2.2: when the LSDB information of the second network device 3 reaches the IGP of the first network device 2, the first network device 2 summarizes the LSDB information and sends the LSDB information to the local BGP, and the BGP packages the received LSDB into the BGP-LS update message and sends the LSDB update message to the BGP of the controller 1.
Further, in step S3 of this embodiment, the specific steps are as follows:
s3.1: the controller 1 issues a request for acquiring the usage information and issues a URR charging rule;
s3.2: the second network device 3 starts to acquire the usage information after receiving the charging rule, and the first network device 2 forms a charging information record after receiving the LSDB data of the usage information and sends the charging information record to the controller 1 through an update message.
In the embodiment, the IGP link state information (LSDB) and the BGP-LS transmission structure are expanded, so that the structure and the flow condition of the current network topology can be accurately drawn in real time, the URR charging rule is introduced on the basis of the existing ACL and QoS, the functional requirements of the controller 1 are expanded, the charging flexibility is enriched, and meanwhile, the dynamic flow adjustment and the tariff standard adjustment can be carried out according to the current network topology state.
Example 2
This embodiment proposes a charging management system based on an external gateway protocol, which is applied to the charging management method based on the external gateway protocol proposed in embodiment 1. Fig. 4 is a schematic structural diagram of the charging management system based on the external gateway protocol according to this embodiment.
The charging management system based on the external gateway protocol proposed in this embodiment includes a controller 1, a first network device 2, and a second network device 3, where:
the controller 1 includes a BGP service and a Redis architecture, and is configured to manage a BGP session and receive an extended LSDB, and is configured to provide a network topology information collection function, a charging information management function, and a traffic scheduling function;
the first network device 2 comprises an IGP and a BGP service, wherein the IGP is responsible for collecting link states of the IGP and neighbors and sending the link states to a local BGP protocol; the BGP is responsible for establishing a BPG-LS neighbor with the controller 1 and sending a BGP-LS message carrying an IGP link state;
the second network device 3 includes IGP services, and is configured to obtain local link status, real-time traffic status, interface information, and ACL information, and then package the obtained information into a new extended LSDB, and send the new extended LSDB to the IGP neighbor.
In the specific implementation process, the second network device 3 obtains the local session state information of the device, encapsulates the local session state information into new extended LSDB data, and then floods the new extended LSDB data to other IGP neighbors. Then, the first network device 2 and the controller 1 establish BGP-LS neighbors, after the LSDB information of the second network device 3 reaches the IGP of the first network device 2, the first network device 2 summarizes the LSDB information and sends the LSDB information to the local BGP, and the BGP packages the LSDB received into an update message of the BGP-LS and sends the LSDB to the BGP of the controller 1. The controller 1 issues a request for acquiring the usage information and issues a URR charging rule; the second network device 3 starts to acquire the usage information after receiving the charging rule, and the first network device 2 forms a charging information record after receiving the LSDB data of the usage information and sends the charging information record to the controller 1 through an update message.
The same or similar reference numerals correspond to the same or similar parts;
the terms describing positional relationships in the drawings are for illustrative purposes only and are not to be construed as limiting the patent;
it should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.
Claims (8)
1. A charging management method based on external gateway protocol is characterized by comprising the following steps:
s1: initializing parameters of a controller, a first network device and a second network device;
s2: the controller manages the BGP session, and obtains LSDB data sent by the first network equipment and the second network equipment;
s3: the controller obtains the charging rule and generates a charging information record according to the LSDB data sent by the first network equipment and the second network equipment.
2. The external gateway protocol-based charging management method according to claim 1, wherein in step S1, the second network device obtains local session state information of the device, encapsulates the local session state information into new extended LSDB data, and floods the new extended LSDB data to other IGP neighbors.
3. The foreign gateway protocol based charging management method according to claim 2, characterized in that the local session state information comprises link state, real-time traffic state, interface information, ACL information local to the device.
4. The charging management method according to claim 2, wherein in the step of S2, the specific steps are as follows:
s2.1: the first network equipment and the controller establish BGP-LS neighbors;
s2.2: and after the LSDB information of the second network equipment reaches the IGP of the first network equipment, the first network equipment gathers and sends all the LSDB information to the local BGP, and the BGP packages the received LSDB into an update message of the BGP-LS and sends the update message to the BGP of the controller.
5. The charging management method according to claim 4, wherein in the step of S3, the specific steps are as follows:
s3.1: the controller issues a request for acquiring the usage information and issues a URR charging rule;
s3.2: the second network equipment starts to acquire the usage information after receiving the charging rule, and the first network equipment forms a charging information record after receiving the LSDB data of the usage information and sends the charging information record to the controller through the updating message.
6. An external gateway protocol-based charging management system applied to the external gateway protocol-based charging management method according to any one of claims 1 to 5, comprising a controller, a first network device and a second network device, wherein:
the controller includes a BGP service to manage BGP sessions and receive an extended LSDB;
the first network equipment comprises IGP and BGP service, wherein the IGP is responsible for collecting link states of the IGP and the neighbor and sending the link states to a local BGP protocol; the BGP is responsible for establishing a BPG-LS neighbor with the controller and sending a BGP-LS message carrying an IGP link state;
the second network device includes an IGP service for acquiring local session state information, and then packaging into a new extended LSDB for sending to an IGP neighbor.
7. The foreign gateway protocol based charging management system of claim 6, wherein the session state information comprises device local link state, real-time traffic state, interface information, ACL information.
8. The foreign gateway protocol based charging management system of claim 6, further comprising a Redis caching architecture in the controller for caching LSDB data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011515434.7A CN113541975A (en) | 2020-12-21 | 2020-12-21 | Charging management method and system based on external gateway protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011515434.7A CN113541975A (en) | 2020-12-21 | 2020-12-21 | Charging management method and system based on external gateway protocol |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113541975A true CN113541975A (en) | 2021-10-22 |
Family
ID=78124227
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011515434.7A Pending CN113541975A (en) | 2020-12-21 | 2020-12-21 | Charging management method and system based on external gateway protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113541975A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104202784A (en) * | 2009-01-12 | 2014-12-10 | 丛林网络公司 | Network-based macro mobility in cellular networks using an extended routing protocol |
CN105591937A (en) * | 2015-09-30 | 2016-05-18 | 杭州华三通信技术有限公司 | Network topology information acquisition method and device |
CN106452958A (en) * | 2016-09-30 | 2017-02-22 | 中国联合网络通信集团有限公司 | Flow control method and system, and centralized controller |
CN109274507A (en) * | 2017-07-17 | 2019-01-25 | 华为技术有限公司 | Billing control method, equipment and system |
-
2020
- 2020-12-21 CN CN202011515434.7A patent/CN113541975A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104202784A (en) * | 2009-01-12 | 2014-12-10 | 丛林网络公司 | Network-based macro mobility in cellular networks using an extended routing protocol |
CN105591937A (en) * | 2015-09-30 | 2016-05-18 | 杭州华三通信技术有限公司 | Network topology information acquisition method and device |
CN106452958A (en) * | 2016-09-30 | 2017-02-22 | 中国联合网络通信集团有限公司 | Flow control method and system, and centralized controller |
CN109274507A (en) * | 2017-07-17 | 2019-01-25 | 华为技术有限公司 | Billing control method, equipment and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10348571B2 (en) | Methods and apparatus for accessing dynamic routing information from networks coupled to a wide area network (WAN) to determine optimized end-to-end routing paths | |
CN115037624B (en) | Global network state management | |
CN107517488B (en) | Message processing method and device | |
US7849215B2 (en) | Updating state in edge routers | |
EP3190750B1 (en) | Method and apparatus for generating service path | |
US20220294722A1 (en) | Transmission Quality Detection Method, Apparatus, and System, and Storage Medium | |
EP2680540B1 (en) | Feedback Loop for Service Engineered Paths | |
JP5093598B2 (en) | Control relay program, control relay device, and control relay method | |
WO2019184752A1 (en) | Network device management method, apparatus and system | |
US9088499B2 (en) | Routing generation for implementation of fiber channel over ethernet | |
US20230156523A1 (en) | Message interaction method and apparatus, and device and storage medium | |
CN112491706B (en) | Data message processing method and device, storage medium and electronic device | |
JP5328899B2 (en) | COMMUNICATION BAND CONTROL DEVICE AND COMMUNICATION BAND CONTROL METHOD | |
WO2016062165A1 (en) | Method and apparatus for implementing operations, administration and maintenance function | |
EP3297245B1 (en) | Method, apparatus and system for collecting access control list | |
CN114650253A (en) | Network policy application based on session state | |
US7506050B2 (en) | Method for checking transmission resources of a packet-oriented communication network when there are topology changes | |
EP3754933A1 (en) | Fault diagnosis method and apparatus therefor | |
CN104243303A (en) | Updating message transmitting method and device in autonomous system loop networking | |
CN115915098B (en) | BMCA implementation method in 5G and TSN cross-domain PTP | |
CN113541975A (en) | Charging management method and system based on external gateway protocol | |
US11496388B2 (en) | Resource reservation and maintenance for preferred path routes in a network | |
CN114640623A (en) | Route processing method, device and equipment | |
CN114531392A (en) | Multicast service design method, server and storage medium | |
JP2008060961A (en) | Dynamic traffic sorting device, method and program therefor |
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 |