[go: up one dir, main page]

CN114143807B - Route registration integrity rate evaluation method and device - Google Patents

Route registration integrity rate evaluation method and device Download PDF

Info

Publication number
CN114143807B
CN114143807B CN202111254333.3A CN202111254333A CN114143807B CN 114143807 B CN114143807 B CN 114143807B CN 202111254333 A CN202111254333 A CN 202111254333A CN 114143807 B CN114143807 B CN 114143807B
Authority
CN
China
Prior art keywords
route
information
registration
bgp
radb
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
Application number
CN202111254333.3A
Other languages
Chinese (zh)
Other versions
CN114143807A (en
Inventor
彭修红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Unihub China Information Technology Co Ltd
Original Assignee
Unihub China Information Technology Co Ltd
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 Unihub China Information Technology Co Ltd filed Critical Unihub China Information Technology Co Ltd
Priority to CN202111254333.3A priority Critical patent/CN114143807B/en
Publication of CN114143807A publication Critical patent/CN114143807A/en
Application granted granted Critical
Publication of CN114143807B publication Critical patent/CN114143807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a route registration integrity rate evaluation method and a device, wherein the method comprises the following steps: collecting route information of RADB; collecting routing information of each intra-provincial BGP routing device; comparing the RADB route information with BGP route information, calculating the registered complete rate of each provincial route according to the judgment rule and giving out unregistered route detailed information; and generating a report form according to the route registration result, and sending the report form to clients in various provinces. The method and the device collect the registered route information and the route information of each province in real time, calculate the registered complete rate of each province route, and send a check report to each province client for checking, thereby realizing automatic verification of the registered complete rate of each province route, greatly improving the efficiency and the timeliness and accuracy of data, and further guaranteeing the normal international business of each province.

Description

Route registration integrity rate evaluation method and device
Technical Field
The invention relates to the field of operator networks, in particular to a route registration integrity rate evaluation method and device.
Background
In the operator network, the group requests each province to register the routing information in its own province to the RADB (Roufing Arbiter Database, routing arbitration database). However, whether the route registration of each province is complete or not is correct or not is not guaranteed, so that international business of each province is affected. At present, all route information can be obtained only by manually going to the RADB, all BGP routes are queried on all provincial devices in a logging mode, and then whether the routes are registered correctly is compared manually by one piece of manual method. Because the routing data volume is huge by more than millions, the manual checking is large in workload, low in efficiency and easy to make mistakes.
Disclosure of Invention
In order to solve the above problems in the manual mode, the invention provides a method and a device for evaluating route registration integrity, which are used for calculating the route registration integrity of each province through collecting RADB route data and BGP route data and giving detailed information of unregistered and error registered routes so as to ensure the route registration integrity.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
in an embodiment of the present invention, a method for evaluating a route registration integrity rate is provided, including:
collecting route information of RADB;
collecting routing information of each intra-provincial BGP routing device;
comparing the RADB route information with BGP route information, calculating the registered complete rate of each provincial route according to the judgment rule and giving out unregistered route detailed information;
and generating a report form according to the route registration result, and sending the report form to clients in various provinces.
Further, collecting routing information of the RADB includes:
synchronizing the routing information of the RADB to a local library of the IRRD;
synchronizing routing information of a local library of the IRRD to a Mysql database;
and finishing the route information acquisition of the RADB.
Further, collecting routing information of each intra-provincial BGP routing device, including:
establishing IBGP neighbor relation between RR and each intra-province BGP routing device, and transmitting BGP routing information acquired from the IBGP neighbor to all IBGP neighbors of RR;
the acquisition machine establishes an IBGP neighbor relation with the RR and receives BGP routing information sent by the RR;
and a route analysis program deployed on the acquisition machine analyzes BGP route information into a local mysql database.
Further, the judgment rule is as follows:
if ASPATH is empty, the community does not contain no-advertisement and no-export, and the route granularity is greater than or equal to/24, and the route is in the self address range, the route is a provincial convergent route;
if the route PEERAS is an in-network public AS, the ORIGINAS is an in-network public AS, the community does not contain no-advertisement and no-export, the granularity of the route is greater than or equal to/24, and the route is in an own address range, the route is an in-provincial detail route;
if ASPATH is empty or route PEERAS is an in-network public AS, orignias is an in-network public AS, the community does not contain no-advertisement and no-export, the granularity of the route is greater than or equal to/24, and the route is not in the self address range, such route is a multicast route;
if the route PEERAS is public AS in the network, ORIGINAS is public AS but not in the AS number range in the network, the communication does not contain no-advertisement and no-export, and the granularity of the route is greater than or equal to/24, the route is the intra-provincial client route;
among the routes to be registered, the route whose communication contains 4134:111 or 4134:2400 is the necessary registration range;
if the prefix in the RADB route information is strictly equal to the prefix in the BGP route information, and the ORIGINAS is equal to the route registration record of the AS to be registered, the registration is judged, otherwise, the registration is judged not to be registered.
In an embodiment of the present invention, there is also provided a route registration integrity rate evaluation device, including:
the RADB route acquisition module is used for acquiring route information of the RADB;
the device BGP route acquisition module is used for acquiring route information of each intra-provincial BGP route device;
the route registration integrity rate calculation module is used for comparing the RADB route information with BGP route information, calculating the registration integrity rate of each provincial route according to the judgment rule and giving out the detailed information of unregistered routes;
and the report generation module is used for generating a report from the route registration result and sending the report to clients in each province.
Further, the RADB route acquisition module is specifically configured to:
synchronizing the routing information of the RADB to a local library of the IRRD;
synchronizing routing information of a local library of the IRRD to a Mysql database;
and finishing the route information acquisition of the RADB.
Further, the BGP route acquisition module of the device is specifically configured to:
establishing IBGP neighbor relation between RR and each intra-province BGP routing device, and transmitting BGP routing information acquired from the IBGP neighbor to all IBGP neighbors of RR;
the acquisition machine establishes an IBGP neighbor relation with the RR and receives BGP routing information sent by the RR;
and a route analysis program deployed on the acquisition machine analyzes BGP route information into a local mysql database.
Further, the judgment rule in the route registration integrity rate calculation module is as follows:
if ASPATH is empty, the community does not contain no-advertisement and no-export, and the route granularity is greater than or equal to/24, and the route is in the self address range, the route is a provincial convergent route;
if the route PEERAS is an in-network public AS, the ORIGINAS is an in-network public AS, the community does not contain no-advertisement and no-export, the granularity of the route is greater than or equal to/24, and the route is in an own address range, the route is an in-provincial detail route;
if ASPATH is empty or route PEERAS is an in-network public AS, orignias is an in-network public AS, the community does not contain no-advertisement and no-export, the granularity of the route is greater than or equal to/24, and the route is not in the self address range, such route is a multicast route;
if the route PEERAS is public AS in the network, ORIGINAS is public AS but not in the AS number range in the network, the communication does not contain no-advertisement and no-export, and the granularity of the route is greater than or equal to/24, the route is the intra-provincial client route;
among the routes to be registered, the route whose communication contains 4134:111 or 4134:2400 is the necessary registration range;
if the prefix in the RADB route information is strictly equal to the prefix in the BGP route information, and the ORIGINAS is equal to the route registration record of the AS to be registered, the registration is judged, otherwise, the registration is judged not to be registered.
In an embodiment of the present invention, a computer device is further provided, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the route registration integrity rate evaluation method described above when executing the computer program.
In an embodiment of the present invention, a computer-readable storage medium is also presented, in which a computer program for executing the route registration integrity rate evaluation method is stored.
The beneficial effects are that:
the invention collects the registered route information and the route information of each province in real time, calculates the registered complete rate of each province route, and sends the check report to each province client for checking, thereby realizing automatic verification of the registered complete rate of each province route, greatly improving the efficiency and the timeliness and accuracy of data, and ensuring the normal international business of each province.
Drawings
Fig. 1 is a flow chart of a route registration integrity rate evaluation method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of RADB route acquisition in accordance with one embodiment of the present invention;
FIG. 3 is a schematic diagram of device route acquisition according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a route registration integrity rate evaluation device according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The principles and spirit of the present invention will be described below with reference to several exemplary embodiments, with the understanding that these embodiments are merely provided to enable those skilled in the art to better understand and practice the invention and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Those skilled in the art will appreciate that embodiments of the invention may be implemented as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the following forms, namely: complete hardware, complete software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to the embodiment of the invention, a route registration integrity rate evaluation method and device are provided, wherein the route registration integrity rate of each province is calculated through judgment rules after data are acquired mainly through acquiring RADB routes and acquiring BGP routes of each device, unregistered information is given, and then a route registration result generation report is sent to each province client, so that the integrity of each province route registration is ensured.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments thereof.
Fig. 1 is a flowchart of a route registration integrity rate evaluation method according to an embodiment of the present invention. As shown in fig. 1, the method includes:
s1, acquiring route information of an RADB;
the routing information of the RADB is synchronized to the local library of the IRRD (Round Robin Database, polling scheduling database), and the routing information of the local library of the IRRD is synchronized to the Mysql database, so that the routing information acquisition of the RADB is completed, as shown in figure 2.
S2, collecting routing information of each intra-provincial BGP routing device;
the RR (Route Reflector) establishes IBGP (internal border gateway protocol) neighbor relation with each intra-provincial BGP routing device, so that routes obtained from the IBGP neighbors are transmitted to all IBGP neighbors of the RR, BGP routing information in the provincial RR is possessed on the RR, and BGP routing information sent by the RR can be received by the collector and the RR by establishing the IBGP neighbor relation, and a Route analysis program is deployed on the collector and the BGP routing information is analyzed into a local mysql database, as shown in fig. 3.
The route analysis program reads BGP route information received on the collector, and analyzes information such as network (network address), next hop (next hop address), med (metric value similar to cost value of BGP route), locprf (local priority), as-path (autonomous system path traversed by route) and the like of the route according to the route rule.
S3, comparing the RADB route information with BGP route information, calculating the registered complete rate of each province route according to the judgment rule and giving out unregistered route detailed information;
and comparing the route information acquired from the RADB (Roufing Arbiter Database, route arbitration database) with the BGP route information acquired actually to obtain the route registration condition.
Registration details of the provincial convergence route, the provincial detail route, the client multicast route and the provincial client route can be obtained respectively according to the following judgment rules.
Judging rules:
provincial convergence routing: ASPATH (autonomous system path through in route transfer process) is empty, the traffic (BGP route attribute, a flag, equivalent to labeling a route) does not contain no-advertisement and no-export (no-advertisement, no-export are label values added by clients, used to distinguish a specific route, without actual meaning), the route granularity is greater than or equal to/24, and the route is in own address range, and such route is a provincial convergence route.
Intra-provincial detail routing: the route PEERAS (neighbor autonomous system of route) is an intra-network public AS (autonomous system), the origin autonomous system (i.e. autonomous system which first issues the route) is also an intra-network public AS, the route attribute (corresponding to label) does not contain no-advertisement and no-export (no-advertisement and no-export are label values added by clients and are used for distinguishing specific routes, no practical meaning), the granularity of the route is greater than or equal to/24, and the route is in the own address range, and the route is an intra-provincial detail route.
Customer multicast routing: ASPATH (autonomous system path passing through in route transfer process) is empty or route PEERAS (neighbor autonomous system of route) is public AS (autonomous system) in network, orignias (autonomous system which is the autonomous system which issues the route first) is public AS in network, and the route attribute (corresponding to label) does not contain no-advertisement and no-export, and the route granularity is greater than or equal to/24, and the route is not in own address range, and the route is the multicast route.
Intra-provincial customer routing: the route PEERAS is public AS in the network, ORIGINAS is public AS but is not in the AS number range in the network, the community does not contain no-overtise and no-export (no-overtise and no-export are label values added by clients and are used for distinguishing specific routes without actual meaning), and the granularity of the route is greater than or equal to/24, and the route is the route of the client in the province.
Among routes to be registered, the route attribute (corresponding to a label) includes a route 4134:111 or 4134:2400, and the route is broadcasted internationally, and the other route is an optional registration range.
And for all the routes to be registered, if the route prefix (address prefix) in the RADB route information is strictly equal to the route prefix (address prefix) in the BGP route information which is actually acquired, and ORIGINAS (the autonomous system which is the autonomous system which firstly distributes the route) is equal to the route registration record of the AS to be registered, the registration is judged, and otherwise, the registration is judged.
Generating route registration integrity statistics and route detail conditions.
And S4, generating a report form according to the route registration result, and sending the report form to clients in each province.
And synchronizing the latest RADB route information every day at regular time, collecting the latest BGP route information, generating a route registration integrity statistics report, and sending to clients of all provinces as required.
It should be noted that although the operations of the method of the present invention are described in a particular order in the above embodiments and the accompanying drawings, this does not require or imply that the operations must be performed in the particular order or that all of the illustrated operations be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform.
In order to make the above-mentioned method for quickly generating a functional configuration based on a novel metropolitan area network topology more clear, a specific embodiment is described below, but it should be noted that this embodiment is only for better explaining the present invention and is not meant to limit the present invention unduly.
Examples:
s1, acquiring route information of an RADB;
the routing information of the RADB is synchronized to the local library of the IRRD (Round Robin Database, polling scheduling database), and the routing information of the local library of the IRRD is synchronized to the Mysql database, so that the routing information acquisition of the RADB is completed, as shown in figure 2.
S2, collecting routing information of each intra-provincial BGP routing device;
the RR (Route Reflector) establishes IBGP (internal border gateway protocol) neighbor relation with each intra-provincial BGP routing device, so that routes obtained from the IBGP neighbors are transmitted to all IBGP neighbors of the RR, BGP routing information in the provincial RR is possessed on the RR, and BGP routing information sent by the RR can be received by the collector and the RR by establishing the IBGP neighbor relation, and a Route analysis program is deployed on the collector and the BGP routing information is analyzed into a local mysql database, as shown in fig. 3.
The route analysis program reads BGP route information received by the collector, and analyzes information such as network (network address), next hop (next hop address), med (metric value similar to cost value of BGP route), locprf (local priority), as-path (autonomous system path traversed by route) and the like of the route according to the route rule, and stores the information in the following route format:
s3, comparing the RADB route information with BGP route information, calculating the registered complete rate of each province route according to the judgment rule and giving out unregistered route detailed information;
and comparing the route information acquired from the RADB (Roufing Arbiter Database, route arbitration database) with the BGP route information acquired actually to obtain the route registration condition.
Registration details of the provincial convergence route, the provincial detail route, the client multicast route and the provincial client route can be obtained respectively according to the following judgment rules.
Judging rules:
provincial convergence routing: ASPATH (autonomous system path through in route transfer process) is empty, the traffic (BGP route attribute, a flag, equivalent to labeling a route) does not contain no-advertisement and no-export (no-advertisement, no-export are label values added by clients, used to distinguish a specific route, without actual meaning), the route granularity is greater than or equal to/24, and the route is in own address range, and such route is a provincial convergence route.
Intra-provincial detail routing: the route PEERAS (neighbor autonomous system of route) is an intra-network public AS (autonomous system), the origin autonomous system (i.e. autonomous system which first issues the route) is also an intra-network public AS, the route attribute (corresponding to label) does not contain no-advertisement and no-export (no-advertisement and no-export are label values added by clients and are used for distinguishing specific routes, no practical meaning), the granularity of the route is greater than or equal to/24, and the route is in the own address range, and the route is an intra-provincial detail route.
Customer multicast routing: ASPATH (autonomous system path passing through in route transfer process) is empty or route PEERAS (neighbor autonomous system of route) is public AS (autonomous system) in network, orignias (autonomous system which is the autonomous system which issues the route first) is public AS in network, and the route attribute (corresponding to label) does not contain no-advertisement and no-export, and the route granularity is greater than or equal to/24, and the route is not in own address range, and the route is the multicast route.
Intra-provincial customer routing: the route PEERAS is public AS in the network, ORIGINAS is public AS but is not in the AS number range in the network, the community does not contain no-overtise and no-export (no-overtise and no-export are label values added by clients and are used for distinguishing specific routes without actual meaning), and the granularity of the route is greater than or equal to/24, and the route is the route of the client in the province.
Among routes to be registered, the route attribute (corresponding to a label) includes a route 4134:111 or 4134:2400, and the route is broadcasted internationally, and the other route is an optional registration range.
And for all the routes to be registered, if the route prefix (address prefix) in the RADB route information is strictly equal to the route prefix (address prefix) in the BGP route information which is actually acquired, and ORIGINAS (the autonomous system which is the autonomous system which firstly distributes the route) is equal to the route registration record of the AS to be registered, the registration is judged, and otherwise, the registration is judged.
The route registration integrity statistics are generated as shown in table 1 below, and the route details are shown in table 2 below.
Table 1 statistics of integrity rate of IP Internet route registration for each province
Table 2 details of unregistered routes for each province
And S4, generating a report form by the route registration result, and sending the report form to clients in each province at regular time.
And synchronizing the latest RADB route information every day at regular time, collecting the latest BGP route information, generating a route registration integrity statistics report, and sending to clients of all provinces as required.
Based on the same inventive concept, the invention also provides a route registration integrity rate evaluation device. The implementation of the device can be referred to as implementation of the above method, and the repetition is not repeated. The term "module" as used below may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 4 is a schematic structural diagram of a route registration integrity rate evaluation device according to an embodiment of the present invention. As shown in fig. 4, the apparatus includes:
the RADB route acquisition module 101 is used for acquiring the route information of the RADB; the method comprises the following steps:
synchronizing the routing information of the RADB to a local library of the IRRD;
synchronizing routing information of a local library of the IRRD to a Mysql database;
and finishing the route information acquisition of the RADB.
The BGP route acquisition module 102 is configured to acquire route information of BGP route devices in each province; the method comprises the following steps:
establishing IBGP neighbor relation between RR and each intra-province BGP routing device, and transmitting BGP routing information acquired from the IBGP neighbor to all IBGP neighbors of RR;
the acquisition machine establishes an IBGP neighbor relation with the RR and receives BGP routing information sent by the RR;
and a route analysis program deployed on the acquisition machine analyzes BGP route information into a local mysql database.
The route registration integrity rate calculation module 103 is configured to compare the RADB route information with BGP route information, calculate the registration integrity rate of each provincial route according to a judgment rule, and give detailed information of unregistered routes; the judgment rule is as follows:
if ASPATH is empty, the community does not contain no-advertisement and no-export, and the route granularity is greater than or equal to/24, and the route is in the self address range, the route is a provincial convergent route;
if the route PEERAS is an in-network public AS, the ORIGINAS is an in-network public AS, the community does not contain no-advertisement and no-export, the granularity of the route is greater than or equal to/24, and the route is in an own address range, the route is an in-provincial detail route;
if ASPATH is empty or route PEERAS is an in-network public AS, orignias is an in-network public AS, the community does not contain no-advertisement and no-export, the granularity of the route is greater than or equal to/24, and the route is not in the self address range, such route is a multicast route;
if the route PEERAS is public AS in the network, ORIGINAS is public AS but not in the AS number range in the network, the communication does not contain no-advertisement and no-export, and the granularity of the route is greater than or equal to/24, the route is the intra-provincial client route;
among the routes to be registered, the route whose communication contains 4134:111 or 4134:2400 is the necessary registration range;
if the prefix in the RADB route information is strictly equal to the prefix in the BGP route information, and the ORIGINAS is equal to the route registration record of the AS to be registered, the registration is judged, otherwise, the registration is judged not to be registered.
And the report generation module 104 is used for generating a report from the route registration result and sending the report to clients in each province.
It should be noted that although several modules of the route registration integrity rate evaluation apparatus are mentioned in the above detailed description, this division is merely exemplary and not mandatory. Indeed, the features and functions of two or more modules described above may be embodied in one module in accordance with embodiments of the present invention. Conversely, the features and functions of one module described above may be further divided into a plurality of modules to be embodied.
Based on the foregoing inventive concept, as shown in fig. 5, the present invention further proposes a computer device 200, including a memory 210, a processor 220, and a computer program 230 stored in the memory 210 and executable on the processor 220, where the processor 220 implements the foregoing route registration integrity rate evaluation method when executing the computer program 230.
Based on the foregoing inventive concept, the present invention also proposes a computer-readable storage medium storing a computer program for executing the foregoing route registration integrity rate evaluation method.
The route registration completion rate evaluation method and device provided by the invention automatically collect registration route information in real time, automatically collect BGP route information of each province in real time, automatically calculate the route registration completion rate of each province, and automatically send a check report to each province client for check.
While the spirit and principles of the present invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments nor does it imply that features of the various aspects are not useful in combination, nor are they useful in any combination, such as for convenience of description. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
It should be apparent to those skilled in the art that various modifications or variations can be made in the present invention without requiring any inventive effort by those skilled in the art based on the technical solutions of the present invention.

Claims (6)

1. A method for evaluating the integrity rate of route registration, the method comprising:
collecting route information of RADB;
collecting routing information of each intra-provincial BGP routing device;
comparing the RADB route information with BGP route information, calculating the registered complete rate of each provincial route according to the judgment rule and giving out unregistered route detailed information;
generating a report form from the route registration result and sending the report form to clients in each province;
collecting route information of the RADB, including:
synchronizing the routing information of the RADB to a local library of the IRRD;
synchronizing routing information of a local library of the IRRD to a Mysql database;
completing the route information acquisition of the RADB;
the method for collecting routing information of each intra-provincial BGP routing device comprises the following steps:
establishing IBGP neighbor relation between RR and each intra-province BGP routing device, and transmitting BGP routing information acquired from the IBGP neighbor to all IBGP neighbors of RR;
the acquisition machine establishes an IBGP neighbor relation with the RR and receives BGP routing information sent by the RR;
a route analysis program deployed on the acquisition machine analyzes BGP route information into a local mysql database;
if the prefix in the RADB route information is strictly equal to the prefix in the BGP route information, and the ORIGINAS is equal to the route registration record of the AS to be registered, the registration is judged, otherwise, the registration is judged not to be registered.
2. The route registration integrity rate evaluation method of claim 1, wherein the judgment rule is as follows:
if ASPATH is empty, the community does not contain no-advertisement and no-export, and the route granularity is greater than or equal to/24, and the route is in the self address range, the route is a provincial convergent route;
if the route PEERAS is an in-network public AS, the ORIGINAS is an in-network public AS, the community does not contain no-advertisement and no-export, the granularity of the route is greater than or equal to/24, and the route is in an own address range, the route is an in-provincial detail route;
if ASPATH is empty or route PEERAS is an in-network public AS, orignias is an in-network public AS, the community does not contain no-advertisement and no-export, the granularity of the route is greater than or equal to/24, and the route is not in the self address range, such route is a multicast route;
if the route PEERAS is public AS in the network, ORIGINAS is public AS but not in the AS number range in the network, the communication does not contain no-advertisement and no-export, and the granularity of the route is greater than or equal to/24, the route is the intra-provincial client route;
among the routes that should be registered, the route that includes 4134:111 or 4134:2400 is the necessary registration range.
3. A route registration integrity rate evaluation device, characterized in that the device comprises:
the RADB route acquisition module is used for acquiring route information of the RADB;
the device BGP route acquisition module is used for acquiring route information of each intra-provincial BGP route device;
the route registration integrity rate calculation module is used for comparing the RADB route information with BGP route information, calculating the registration integrity rate of each provincial route according to the judgment rule and giving out the detailed information of unregistered routes;
the report generation module is used for generating a report from the route registration result and sending the report to clients in each province;
the RADB route acquisition module is specifically used for:
synchronizing the routing information of the RADB to a local library of the IRRD;
synchronizing routing information of a local library of the IRRD to a Mysql database;
completing the route information acquisition of the RADB;
the BGP route acquisition module of the device is specifically configured to:
establishing IBGP neighbor relation between RR and each intra-province BGP routing device, and transmitting BGP routing information acquired from the IBGP neighbor to all IBGP neighbors of RR;
the acquisition machine establishes an IBGP neighbor relation with the RR and receives BGP routing information sent by the RR;
a route analysis program deployed on the acquisition machine analyzes BGP route information into a local mysql database;
if the prefix in the RADB route information is strictly equal to the prefix in the BGP route information, and the ORIGINAS is equal to the route registration record of the AS to be registered, the registration is judged, otherwise, the registration is judged not to be registered.
4. The route registration integrity rate evaluation device of claim 3, wherein the judgment rule in the route registration integrity rate calculation module is as follows:
if ASPATH is empty, the community does not contain no-advertisement and no-export, and the route granularity is greater than or equal to/24, and the route is in the self address range, the route is a provincial convergent route;
if the route PEERAS is an in-network public AS, the ORIGINAS is an in-network public AS, the community does not contain no-advertisement and no-export, the granularity of the route is greater than or equal to/24, and the route is in an own address range, the route is an in-provincial detail route;
if ASPATH is empty or route PEERAS is an in-network public AS, orignias is an in-network public AS, the community does not contain no-advertisement and no-export, the granularity of the route is greater than or equal to/24, and the route is not in the self address range, such route is a multicast route;
if the route PEERAS is public AS in the network, ORIGINAS is public AS but not in the AS number range in the network, the communication does not contain no-advertisement and no-export, and the granularity of the route is greater than or equal to/24, the route is the intra-provincial client route;
among the routes that should be registered, the route that includes 4134:111 or 4134:2400 is the necessary registration range.
5. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1-2 when executing the computer program.
6. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program for executing the method of any one of claims 1-2.
CN202111254333.3A 2021-10-27 2021-10-27 Route registration integrity rate evaluation method and device Active CN114143807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111254333.3A CN114143807B (en) 2021-10-27 2021-10-27 Route registration integrity rate evaluation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111254333.3A CN114143807B (en) 2021-10-27 2021-10-27 Route registration integrity rate evaluation method and device

Publications (2)

Publication Number Publication Date
CN114143807A CN114143807A (en) 2022-03-04
CN114143807B true CN114143807B (en) 2023-08-08

Family

ID=80394593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111254333.3A Active CN114143807B (en) 2021-10-27 2021-10-27 Route registration integrity rate evaluation method and device

Country Status (1)

Country Link
CN (1) CN114143807B (en)

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592239A (en) * 2003-08-29 2005-03-09 安捷伦科技有限公司 Routing monitoring
CN1688140A (en) * 2005-06-03 2005-10-26 清华大学 High-speed multi-dimension message classifying algorithm design and realizing based on network processor
EP1702429A2 (en) * 2004-01-09 2006-09-20 NPX Technologies Ltd. Detecting relayed communications
CN101047565A (en) * 2006-04-24 2007-10-03 华为技术有限公司 System for detecting consistency of node running information of boundary gateway protocol and its method
CN102025642A (en) * 2010-12-30 2011-04-20 北京星网锐捷网络技术有限公司 Method and device for detecting router identification conflict and routing equipment
CN103650433A (en) * 2013-07-31 2014-03-19 华为技术有限公司 Route distributing method, system and controller
CN105556552A (en) * 2013-03-13 2016-05-04 加迪安分析有限公司 Fraud detection and analysis
CN105847158A (en) * 2015-01-30 2016-08-10 迈塔斯威士网络有限公司 Processing route data
CN107409092A (en) * 2015-02-20 2017-11-28 思科技术公司 For the optimization Border Gateway Protocol optimal path selection of optimal route reflection
CN107888489A (en) * 2017-12-28 2018-04-06 新华三技术有限公司 Route advertising method and device
CN108920728A (en) * 2018-08-03 2018-11-30 山东众阳软件有限公司 Data routing method, data route network and its data access method, system
WO2020018582A1 (en) * 2018-07-16 2020-01-23 Amazon Technologies Inc. Address migration service
CN111147380A (en) * 2018-11-02 2020-05-12 华为技术有限公司 Routing processing method and network equipment
CN111164604A (en) * 2017-09-26 2020-05-15 株式会社爱考斯研究 Information processing apparatus
CN111917577A (en) * 2020-07-29 2020-11-10 云南诺寻科科技有限公司 BGP routing information acquisition method, BGP routing information acquisition device, computer equipment and storage medium
CN112134902A (en) * 2020-09-29 2020-12-25 科大国创云网科技有限公司 RADB registration method and system based on API
CN112400289A (en) * 2018-07-18 2021-02-23 意大利电信股份公司 Performance measurement in a packet-switched communication network
CN112689976A (en) * 2018-10-05 2021-04-20 华为技术有限公司 Extending border gateway protocol link state of a controller
CN113273156A (en) * 2019-01-07 2021-08-17 华为技术有限公司 Method, equipment and system for route release

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160373405A1 (en) * 2015-06-16 2016-12-22 Amazon Technologies, Inc. Managing dynamic ip address assignments

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592239A (en) * 2003-08-29 2005-03-09 安捷伦科技有限公司 Routing monitoring
EP1702429A2 (en) * 2004-01-09 2006-09-20 NPX Technologies Ltd. Detecting relayed communications
CN1688140A (en) * 2005-06-03 2005-10-26 清华大学 High-speed multi-dimension message classifying algorithm design and realizing based on network processor
CN101047565A (en) * 2006-04-24 2007-10-03 华为技术有限公司 System for detecting consistency of node running information of boundary gateway protocol and its method
CN102025642A (en) * 2010-12-30 2011-04-20 北京星网锐捷网络技术有限公司 Method and device for detecting router identification conflict and routing equipment
CN105556552A (en) * 2013-03-13 2016-05-04 加迪安分析有限公司 Fraud detection and analysis
CN103650433A (en) * 2013-07-31 2014-03-19 华为技术有限公司 Route distributing method, system and controller
CN105847158A (en) * 2015-01-30 2016-08-10 迈塔斯威士网络有限公司 Processing route data
CN107409092A (en) * 2015-02-20 2017-11-28 思科技术公司 For the optimization Border Gateway Protocol optimal path selection of optimal route reflection
CN111164604A (en) * 2017-09-26 2020-05-15 株式会社爱考斯研究 Information processing apparatus
CN107888489A (en) * 2017-12-28 2018-04-06 新华三技术有限公司 Route advertising method and device
WO2020018582A1 (en) * 2018-07-16 2020-01-23 Amazon Technologies Inc. Address migration service
CN112400289A (en) * 2018-07-18 2021-02-23 意大利电信股份公司 Performance measurement in a packet-switched communication network
CN108920728A (en) * 2018-08-03 2018-11-30 山东众阳软件有限公司 Data routing method, data route network and its data access method, system
CN112689976A (en) * 2018-10-05 2021-04-20 华为技术有限公司 Extending border gateway protocol link state of a controller
CN111147380A (en) * 2018-11-02 2020-05-12 华为技术有限公司 Routing processing method and network equipment
CN113273156A (en) * 2019-01-07 2021-08-17 华为技术有限公司 Method, equipment and system for route release
CN111917577A (en) * 2020-07-29 2020-11-10 云南诺寻科科技有限公司 BGP routing information acquisition method, BGP routing information acquisition device, computer equipment and storage medium
CN112134902A (en) * 2020-09-29 2020-12-25 科大国创云网科技有限公司 RADB registration method and system based on API

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
无线传感器网络地理位置路由相关技术研究;顾一中;《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》;全文 *

Also Published As

Publication number Publication date
CN114143807A (en) 2022-03-04

Similar Documents

Publication Publication Date Title
US8374103B2 (en) Method and system for computing multicast traffic matrices
US9014009B2 (en) Method and device for locating a failed link, and method, device and system for analyzing alarm root cause
US7302482B2 (en) Traffic flow optimisation system
CN105024844A (en) Method, server and system for computing cross-domain routing
US9088499B2 (en) Routing generation for implementation of fiber channel over ethernet
CN1859239A (en) Monitoring and analytic system for route between domain of internet and its working method
US10411911B2 (en) Network as service service cross-domain orchestration method, orchestration device, and control device
CN106470118B (en) A kind of application system performance method for detecting abnormality and system
CN104518899A (en) Network routing traffic simulation method and device
CN102394944B (en) Method and equipment for correcting IP (Internet Protocol) address in Web access
CN113746654A (en) IPv6 address management and flow analysis method and device
CN112787925A (en) Congestion information collection method, optimal path determination method and network switch
CN101527645A (en) Method, system and relevant device for collecting network topology information
CN104348672A (en) Large-scale IP network BGP routing entry detection method and device
CN108075928B (en) General simulation model and method for network flow
CN102664811B (en) Message forwarding method and device
CN114143807B (en) Route registration integrity rate evaluation method and device
CN112995036A (en) Network traffic scheduling method and device
CN116112418A (en) Positioning method and device for route leakage, electronic equipment and storage medium
US11743066B2 (en) Reachability verification method and apparatus
CN102916891B (en) Routing method of communication network and routing node
CN117579534A (en) Intelligent routing method, device, electronic equipment and storage medium
CN103986626B (en) Route characteristic based on end-to-end actual-structure measurement portrays analogy method and device
US10263865B2 (en) Network availability measurement aggregation and correlation
CN114039888B (en) Time delay measurement method and device

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