CN114024895B - TR 069-based network route optimization method and system - Google Patents

TR 069-based network route optimization method and system Download PDF

Info

Publication number
CN114024895B
CN114024895B CN202111356548.6A CN202111356548A CN114024895B CN 114024895 B CN114024895 B CN 114024895B CN 202111356548 A CN202111356548 A CN 202111356548A CN 114024895 B CN114024895 B CN 114024895B
Authority
CN
China
Prior art keywords
router
cpe
address
test time
protocol
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
CN202111356548.6A
Other languages
Chinese (zh)
Other versions
CN114024895A (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.)
China Telecom Digital Intelligence Technology Co Ltd
Original Assignee
China Telecom Digital Intelligence 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 China Telecom Digital Intelligence Technology Co Ltd filed Critical China Telecom Digital Intelligence Technology Co Ltd
Priority to CN202111356548.6A priority Critical patent/CN114024895B/en
Publication of CN114024895A publication Critical patent/CN114024895A/en
Application granted granted Critical
Publication of CN114024895B publication Critical patent/CN114024895B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/125Shortest path evaluation based on throughput or bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/14Routing performance; Theoretical aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Abstract

The invention relates to a TR 069-based network route optimization method and a system, wherein the method comprises the following steps: testing all router paths of a data packet transmission route passing from a source CPE to a target CPE respectively through a traceroute command and a TR069 protocol, and acquiring an IP address and testing time of each router; comparing the traceroute command with the test time of the same router IP address acquired by a TR069 protocol, and taking the minimum value of the test time as an optimal path of a data packet transmission route passing between the source CPE and the target CPE; and selecting the data route passing the most optimal path as the optimal network route. The invention provides a method for acquiring an optimal route by a non-Traceroute command, which reduces the overhead of a message head caused by selecting the optimal route in the network transmission process and improves the utilization rate of network bandwidth.

Description

TR 069-based network route optimization method and system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network route optimization method, system, processor, and storage medium based on TR 069.
Background
TR069 is fully named "Technical Report 069" and is a Technical specification revised by DSL Forum (a non-profit global industry consortium working on developing Broadband networks whose members include leading vendors in the industries of communications, equipment, computers, networks and service providers, now known as "Broadband Forum"), and the specification is a Management Protocol of application layer named "CPE wide area network Management Protocol".
TR069 defines a set of new network management system structure, including management model, interactive interface and basic management parameters, and can effectively implement the management TR069 to the home network device, where the network management Server is called ACS (Auto Configuration Server) and has special IP address and URL; the managed device obtains the URL of the ACS through the DHCP server, and after obtaining the network management IP, the managed device starts to establish the HTTP session according to the URL of the ACS. After the session is established, initialization is required for authentication, and the ACS is required to ensure the validity of the managed device. After the initialization is completed, the network management server can acquire various monitoring information from the CPE. The method has the advantages that: the SNMP function does not need to be configured on the managed device, and if the number of the managed devices exceeds 3000 or more, a large amount of configuration time of the monitored devices is saved. The advantages are two: TR069 is fast to collect information because it uses the HTTP protocol, itself, to transfer structured data information. Therefore, all the required information is collected once and returned once, while the SNMP itself cannot transfer the information, and the information is collected one by one and returned one by one.
With the gradual deepening of the digital development, the equipment in operation of each unit is gradually increased, and compared with the equipment increased by 10-100 times before ten years, even though the operation and maintenance is developed from manual operation and maintenance to tool operation and maintenance and platform operation and maintenance, the operation and maintenance requirements of the current large-scale networking on the operation and maintenance supervision still cannot be met. Meanwhile, the mass IPv6 addresses also increase more operation and maintenance pressure and technical problems for the current machine room operation and maintenance environment. On such a large scale, monitoring network equipment by manual experience and automation becomes a technical bottleneck restricting operation and maintenance work. In the prior art, the requirement on monitoring timeliness is difficult to meet, so that a more intelligent and efficient network route optimization method is introduced to improve the operation and maintenance guarantee capability of managing network equipment and routes.
Disclosure of Invention
The invention provides a TR 069-based network route optimization method, which comprises the following steps:
testing all router paths of a data packet transmission route passing from a source CPE to a target CPE through a traceroute command, and collecting an IP address and testing time of each router;
testing all router paths of a data packet transmission route passing from a source CPE to a target CPE through a TR069 protocol, and collecting an IP address and testing time of each router;
comparing the traceroute command with the test time of the same router IP address acquired by a TR069 protocol, and taking the minimum value of the test time as an optimal path of a data packet transmission route passing between the source CPE and the target CPE;
and selecting the data route passing the most optimal path as the optimal network route.
In one embodiment, the method for testing all router paths of a data packet transmission route passing from a source CPE to a target CPE through a TR069 protocol and collecting an IP address and a test time of each router includes:
the ACS deployed program executes communication authentication configuration operation on the target CPE;
the ACS sends a configuration file of a request message conforming to a TR069 protocol RPC format to the target CPE for the second time;
The target CPE analyzes the configuration file and puts the IP address and the test time of each router into the configuration file;
and the ACS analyzes the configuration file to obtain the IP address and the test time of each router.
In one embodiment, the optimal path has an optimal label.
In one embodiment, the optimal network route is the data route for which the optimal label appears most.
In one embodiment, the test time of each router collected by the traceroute command includes three delay times.
Correspondingly, the invention also provides a network route optimization system based on TR069, which comprises:
the information acquisition module is used for testing all router paths of a data packet transmission route passing from the source CPE to the target CPE through a traceroute command and a TR069 protocol respectively and acquiring an IP address and test time of each router;
the data comparison module is used for comparing the traceroute command with the test time of the same router IP address acquired by the TR069 protocol, and taking the minimum value of the test time as an optimal path of a data packet transmission route passing between the source CPE and the target CPE;
And the route determining module is used for selecting the data route passing through the most optimal path as the optimal network route.
In one embodiment, the router test system further comprises a routing database, wherein the IP address and the test time of each router collected by the traceroute command and the TR069 protocol are stored in the routing database.
In one embodiment, the system further comprises a network topology database for storing the association relationship of the whole network architecture and the IP address of the corresponding device.
The invention further provides a processor for executing a program, wherein the program executes the steps of the TR 069-based network route optimization method.
The present invention also proposes a storage medium having stored thereon a computer program which, when executed, implements the steps of the TR 069-based network route optimization method described above.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a method for acquiring an optimal route by a non-Traceroute command, which reduces the overhead of a message head caused by selecting the optimal route in the network transmission process and improves the utilization rate of network bandwidth.
Drawings
FIG. 1 is a flowchart of an embodiment TR 069-based network route optimization method;
Fig. 2 is a structural diagram of a TR 069-based network route optimization method according to an embodiment.
Detailed Description
In the description of this patent, it is noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus should not be construed as limiting the present invention; the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance; furthermore, unless expressly stated or limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, as they may be fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The meaning of the above terms in this patent may be specifically understood by those of ordinary skill in the art.
The invention provides a TR 069-based network route optimization method, which is shown in a figure 1 and comprises the following steps:
s10: testing all router paths of a data packet transmission route passing from a source CPE to a target CPE through a traceroute command, and collecting an IP address and testing time of each router;
specifically, the traceroute command is a tool used by the linux system to detect the number of routers (gateways) that pass between a user terminal device (source CPE) that issues a packet and a target user terminal device (target CPE). the principle of traceroute is to try to send out a probe packet with the minimum TTL (time to live) to trace the data packet to the gateway through which the target user terminal device passes, and then listen to a response from the gateway ICMP (Internet control message protocol), which is a sub-protocol of the TCP/IP protocol family, for passing control messages between the IP host and the router. The size of the transmission packet is defaulted to 38 bytes. The result of executing traceroute command output includes the IP address and test time of the router, and it is generally default that the source CPE sends three data packets each time, and then the test time of each router includes three delay times, and the number of the sent data packets may be set according to the actual situation. In some cases, the output result may also include the name of the router, the output result being stored in a routing database.
S20: testing all router paths of a data packet transmission route passing from a source CPE to a target CPE through a TR069 protocol, and collecting an IP address and testing time of each router;
the source CPE and the target CPE need to support TR069 protocol. When a user terminal device (CPE) is accessed to a network, the operation of carrying out communication authentication configuration on the CPE is actively executed through a program deployed by an ACS (automatic configuration server). And simultaneously, by utilizing the characteristic that the ACS and the CPE carry out interoperation through a Remote Procedure Call (RPC) method specific to the TR069 protocol, the ACS secondarily sends a configuration file of a request message conforming to the TR069 protocol RPC format to the target CPE, wherein the configuration file comprises IP addresses and test time of all routers passing through a data transmission line. Secondly, the target CPE analyzes the configuration file, acquires the IP address of the router and the test time and puts the IP address and the test time into the configuration file. The target CPE requests the configuration file to the ACS again, the ACS analyzes the configuration file to acquire the TR069 protocol, updates the IP address and the test time of the router from the source CPE to the target CPE, and stores the IP address and the test time into a routing database, wherein the IP address and the test time are acquired by the data acquisition according to the network topology static association stored by the target CPE.
S30: comparing the traceroute command with the test time of the same router IP address acquired by a TR069 protocol, and taking the minimum value of the test time as an optimal path of a data packet transmission route passing between the source CPE and the target CPE;
And comparing the data acquired by the two modes, comparing the delay time of the IP addresses of the same router, taking the minimum value of the delay time as the optimal selection of one path of the data packet transmission route passing between the source CPE and the target CPE, and adding an optimal mark in a routing database.
S40: and selecting the data route passing the most optimal path as the optimal network route.
And accessing the network topology database by taking the IP address of the path marked with the optimal mark in the routing database as a query condition to acquire all router paths of the data packet transmission path passing between the source CPE and the target CPE at this time. And selecting the data route with the most appeared optimal marks as the optimal route selection between the source CPE and the target CPE at this time.
Accordingly, the present invention proposes a TR 069-based network route optimization system, as shown in fig. 2, the system 100 includes: an information collection module 110, a data comparison module 120, a route determination module 130, a routing database 140, and a network topology database 150.
The information acquisition module 110 is configured to test all router paths of a data packet transmission route passing between a source CPE and a target CPE through a traceroute command and a TR069 protocol, and acquire an IP address and test time of each router; the result of executing traceroute command output includes the IP address and test time of the router, and it is generally default that the source CPE sends three data packets each time, and then the test time of each router includes three delay times, and the number of the sent data packets may be set according to the actual situation. In some cases, the output may also include the name of the router, which is stored in the routing database 140. When a user terminal device (CPE) is accessed to a network, the operation of carrying out communication authentication configuration on the CPE is actively executed through a program deployed by an ACS (automatic configuration server). And simultaneously, by utilizing the characteristic that the ACS and the CPE carry out interoperation through a Remote Procedure Call (RPC) method specific to the TR069 protocol, the ACS secondarily sends a configuration file of a request message conforming to the TR069 protocol RPC format to the target CPE, wherein the configuration file comprises IP addresses and test time of all routers passing through a data transmission line. Secondly, the target CPE analyzes the configuration file, acquires the IP address of the router and the test time and puts the IP address and the test time into the configuration file. The target CPE requests the configuration file to the ACS again, and the ACS parses the configuration file to obtain the TR069 protocol, updates the IP address and the test time of the router from the source CPE to the target CPE, which are acquired by the data acquisition, according to the network topology static association stored by the target CPE, and stores the IP address and the test time in the routing database 140.
The data comparison module 120 is configured to compare the traceroute command with test time of the same router IP address acquired by the TR069 protocol, and take the minimum test time as an optimal path of a data packet transmission route passing between the source CPE and the target CPE; comparing the data collected by the two methods, comparing the delay time of the IP addresses of the same router, taking the minimum value of the delay time as the optimal selection of one path of the data packet transmission route passing between the source CPE and the target CPE and adding the optimal mark in the route database
The route determining module 130 is configured to select the data route that has the most optimal route as the optimal network route. The network topology database 150 is accessed by taking the IP address of the path marked with the optimal mark in the routing database as a query condition to acquire all router paths of the data packet transmission path passing between the source CPE and the target CPE. The network topology database 150 stores the association relationship of the current overall network architecture and the IP address of the corresponding device. And finally, selecting the data route with the most appeared optimal marks as the optimal route from the source CPE to the target CPE.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in a plurality of processors.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the storage medium may be configured to store program codes for executing the TR 069-based network route optimization system proposed by the above embodiment:
In this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
In the present embodiment, the processor executes the method steps described in the above embodiments according to the program code stored in the storage medium.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (9)

1. A TR 069-based network route optimization method is characterized by comprising the following steps:
testing all router paths of a data packet transmission route passing from a user terminal equipment source CPE to a target CPE through a traceroute command, and acquiring an IP address and testing time of each router;
testing all router paths of a data packet transmission route passing from a source CPE to a target CPE through a TR069 protocol, and collecting an IP address and testing time of each router;
Comparing the traceroute command with the test time of the same router IP address acquired by a TR069 protocol, and taking the minimum value of the test time as an optimal path of a data packet transmission route passing between the source CPE and the target CPE;
selecting the data route passing through the optimal path most as an optimal network route;
the method for testing all router paths of a data packet transmission route passing from a source CPE to a target CPE through a TR069 protocol and collecting the IP address and the test time of each router comprises the following steps:
the program deployed by the automatic configuration server ACS executes communication authentication configuration operation on the target CPE;
the ACS sends a configuration file of a request message conforming to a TR069 protocol Remote Procedure Call (RPC) format to the target CPE for the second time;
the target CPE analyzes the configuration file and puts the IP address and the test time of each router into the configuration file;
and the ACS analyzes the configuration file to obtain the IP address and the test time of each router.
2. The TR 069-based network route optimization method of claim 1, wherein the optimal path has an optimal label.
3. The TR 069-based network route optimization method of claim 2, wherein the optimal network route is the data route for which the optimal label appears the most.
4. The TR 069-based network route optimization method of claim 1, wherein the test time per router collected by the traceroute command includes three delay times for the source CPE to send three packets at a time.
5. A TR 069-based network route optimization system, comprising:
the information acquisition module is used for testing all router paths of a data packet transmission route passing from the source CPE to the target CPE through a traceroute command and a TR069 protocol respectively and acquiring an IP address and test time of each router;
the data comparison module is used for comparing the traceroute command with the test time of the same router IP address acquired by the TR069 protocol, and taking the minimum value of the test time as an optimal path of a data packet transmission route passing between the source CPE and the target CPE;
the route determining module is used for selecting the data route passing through the optimal path most as an optimal network route;
the comparing the traceroute command with the test time of the same router IP address acquired by the TR069 protocol includes:
the ACS deployed program executes communication authentication configuration operation on the target CPE;
the ACS sends a configuration file of a request message conforming to a TR069 protocol RPC format to the target CPE for the second time;
The target CPE analyzes the configuration file and puts the IP address and the test time of each router into the configuration file;
and the ACS analyzes the configuration file to obtain the IP address and the test time of each router.
6. The TR 069-based network route optimization system of claim 5, further comprising a routing database, wherein the IP address and test time of each router collected by traceroute command and TR069 protocol are stored in the routing database.
7. The TR 069-based network route optimization system of claim 5, further comprising a network topology database storing associations of the overall network architecture and IP addresses of corresponding devices.
8. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the steps of the TR069 based network route optimization method according to any one of claims 1 to 4 when running.
9. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed, implements the steps of the TR069 based network route optimization method according to any one of claims 1 to 4.
CN202111356548.6A 2021-11-16 2021-11-16 TR 069-based network route optimization method and system Active CN114024895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111356548.6A CN114024895B (en) 2021-11-16 2021-11-16 TR 069-based network route optimization method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111356548.6A CN114024895B (en) 2021-11-16 2021-11-16 TR 069-based network route optimization method and system

Publications (2)

Publication Number Publication Date
CN114024895A CN114024895A (en) 2022-02-08
CN114024895B true CN114024895B (en) 2022-07-29

Family

ID=80064596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111356548.6A Active CN114024895B (en) 2021-11-16 2021-11-16 TR 069-based network route optimization method and system

Country Status (1)

Country Link
CN (1) CN114024895B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011244312A (en) * 2010-05-20 2011-12-01 Nippon Hoso Kyokai <Nhk> Node device, optimal path determination method, and program
CN102857799B (en) * 2012-09-14 2015-08-26 乐视致新电子科技(天津)有限公司 Based on the method for diagnosing faults of Set Top Box
CN103354519B (en) * 2013-06-27 2018-01-16 上海斐讯数据通信技术有限公司 A kind of method for tracking detailed routing iinformation
CN112333202B (en) * 2020-11-25 2021-10-26 国网山东省电力公司信息通信公司 TR069 protocol-based IMS access network equipment remote centralized monitoring method and system

Also Published As

Publication number Publication date
CN114024895A (en) 2022-02-08

Similar Documents

Publication Publication Date Title
US7380025B1 (en) Method and apparatus providing role-based configuration of a port of a network element
KR101573182B1 (en) Method For Managing Network And For Providing Service QoS
US20050047350A1 (en) Apparatus and methods for discovery of network elements in a network
JP5093598B2 (en) Control relay program, control relay device, and control relay method
CN110247784B (en) Method and device for determining network topology structure
US20020141378A1 (en) Methods, apparatuses and systems facilitating deployment, support and configuration of network routing policies
WO2021018155A1 (en) Routing information monitoring method and apparatus
WO2021169290A1 (en) Method for configuring performance test indication information, and related device
CN112804075B (en) Method, device and system for sending message and receiving message for OAM (operation administration and maintenance)
US20040215781A1 (en) Techniques for determining device connectivity in a network using protocol-specific connectivity information
JP2005237018A (en) Data transmission to network management system
CN114338419A (en) IPv6 global networking edge node monitoring and early warning method and system
US20230327983A1 (en) Performance measurement in a segment routing network
KR20220029142A (en) Sdn controller server and method for analysing sdn based network traffic usage thereof
CN114024895B (en) TR 069-based network route optimization method and system
CN113746654A (en) IPv6 address management and flow analysis method and device
KR20140125223A (en) Method for collecting information with management interface in contents network based on information centric networking, content network management system, and node apparatus
CN115801653A (en) Network detection method, system, electronic device and readable storage medium
CN112242937B (en) Network speed measuring method and device, electronic equipment and computer readable medium
CN112436981B (en) Method and system for measuring network flow by cloud control strategy and multi-protocol implementation
US11563640B2 (en) Network data extraction parser-model in SDN
CN112422367B (en) Method and system for realizing network delay detection by cloud control strategy and multi-protocol
Raspall Building Nemo, a system to monitor IP routing and traffic paths in real time
EP4213457A1 (en) Determining an organizational level network topology
CN110011820B (en) Method and device for connecting systems and computer storage 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 1308, 13th floor, East Tower, 33 Fuxing Road, Haidian District, Beijing 100036

Applicant after: China Telecom Digital Intelligence Technology Co.,Ltd.

Address before: Room 1308, 13th floor, East Tower, 33 Fuxing Road, Haidian District, Beijing 100036

Applicant before: CHINA TELECOM GROUP SYSTEM INTEGRATION Co.,Ltd.

GR01 Patent grant
GR01 Patent grant