当前位置:网站首页>TR-069 protocol introduction

TR-069 protocol introduction

2022-06-11 18:17:00 Chenxiaoshuai HH

One 、 Concept

About TR-069

① Protocol naming
TR-069, Full name “Technical Report 069” By DSL Forum( A non-profit Global Industry Alliance , Committed to the development of broadband networks ). Its members include communication 、 equipment 、 Computer 、 Leading manufacturers in industries such as network and service providers , Now renamed “Broadband Forum”) Revise a technical specification , The specification is Application layer management protocol , Name it “CPE Wan management protocol (CPE WAN Management Protocol)”.

② Protocol application
TR069 The protocol provides a way to manage and configure the home network devices in the next generation network General framework Message specification Management and Data model .

③ACS and CPE Model
At present, there are various forms of network access 、 The network is complex 、 Due to the large number of user equipment 、 Deployment is decentralized , Usually located on the user side , It is difficult to manage and maintain the equipment . therefore ,CWMP( Wan management protocol ) Put forward to pass ACS Yes CPE Remote centralized management , solve CPE Equipment management is difficult , Saving maintenance costs , Improve problem solving efficiency . stay TR069 In the network management model defined by the protocol Management server be called Automatically configure the server (ACS), Responsible for the completion of ** User terminal equipment (CPE)** Management of .

Huawei's ITMS1000
 Insert picture description here

Two 、TR069 Network framework

 Insert picture description here

TR-069 Network elements mainly include :

①ACS: Automatically configure the server , Management devices in the network .
②CPE: Client device , Managed devices in the network .
③DNSserver: Domain name server .TR-069 Provisions of the agreement ACS and CPE Use URL Address to identify and access each other ,DNS Used to help resolve URL Parameters .
④DHCP server: Dynamic Host Configuration Protocol server , to ACS and CPE Distribute IP Address , Use DHCP newspaper . In this paper, the option Field to CPE Configuration parameters .

User terminal equipment belongs to CPE, Use TR-069 Deal with the ACS Message interaction .

3、 ... and 、TR-069 Protocol stack structure

①TR-069 Protocol stack :
 Insert picture description here
② Summary of protocols at all levels
 Insert picture description here

Four 、TR-069 Basic functions of the protocol

1、ACS and CPE Auto connect .CPE You can send Inform Automatic message connection ACS.

There are several ways to trigger the connection :( The connection is two-way )

CPE—>ACS
①CPE start-up , According to the URL Value to find the corresponding ACS, And automatically initiate the connection .
②CPE Enables periodic transmission Inform Message function , When the cycle ( such as 1 Hours ) On arrival ,CPE Will automatically send Inform Message to establish a connection .
③CPE Enables regular sending Inform Message function , When the time point arrives ,CPE Will automatically send Inform Message to establish a connection .
④ If the current session does not end , But the connection was abnormally interrupted , and CPE The number of automatic reconnections has not reached the maximum , here ,CPE It will also automatically establish a connection .

ACS—>CPE
⑤ACS You can ask me at any time CPE Initiate request connection (Connect Request), adopt CPE Certification of ( Match CPE user name 、CPE password ) after , It can be done with CPE Establishing a connection .

2、 Support ACS Yes CPE Automatic configuration of

When CPE On line ,ACS Some configurations can be automatically distributed to CPE, Finish right CPE Automatic configuration of . The main parameters of the automatic configuration items supported by the device mainly include the following :
 Insert picture description here

3、 Support for CPE Upload of system image file and configuration file / Download Management

The network administrator can the system startup file 、 Important files such as configuration files are saved in ACS On , When ACS The version of a file is found to be updated , Will be notified CPE Download .CPE received ACS After your download request , Can be based on ACS Download address and file name provided in the message , Automatically download files to the specified file server , When the download is complete , Check the legality of the downloaded file , And download the results ( Success or failure ) Feedback to ACS. Currently, the file types supported for uploading are : Configuration files and log files .

4、 Support ACS Yes CPE Status and performance monitoring

ACS Can monitor the connected CPE All kinds of parameters . Because of different CPE With different performance , The executable functions are also different , therefore ACS Must be able to identify different CPE Performance of , And monitor CPE Current configuration of and changes to the configuration .TR-069 It also allows network managers to customize monitoring parameters and pass ACS Get these parameters , In order to understand CPE Status and statistics of .

ACS The status and performance that can be monitored are : Name of manufacturer (Manufacturer)、 Manufacturer's logo OUI(ManufacturerOUI)、 Serial number (SerialNumber)、 Hardware version number (HardwareVersion)、 Software version number (SoftwareVersion)、 Equipment status (DecicesStatus)、 Starting time (UpTime)、 The configuration file 、ACS Address 、ACS user name 、ACS password 、Inform Automatic message sending enable flag 、Inform Message cycle sending interval 、Inform The date when the message is sent regularly 、CPE Address 、CPE user name 、CPE Password etc. .

5、 ... and 、TR-069 Implementation mechanism

①TR069 The main method
ACS Yes CPE The management and monitoring of are realized through a series of operations , These operations are in TR-069 The agreement is called RPC Method , The main methods are described as follows :
 Insert picture description here
 Insert picture description here
②TR069 Implementation mechanism
eg:
There is a master in the area 、 Two spare ACS, Lord ACS System upgrade , Need to restart . For continuous monitoring , Lord ACS It is necessary to CPE Are connected to the standby ACS On , The process is as follows :
 Insert picture description here
(1) establish TCP Connect .

(2)SSL initialization , Establish security mechanisms .

(3)CPE send out Inrorm message , Start building CWMP Connect .Inform Message usage Eventcode Field description send Inform The reason for the message . The example is “6 CONNECTION REQUEST”, Express ACS Connection required .

(4) If CPE adopt ACS Certification of ,ACS Returns the Inform response message , Connection is established .

(5) If CPE No other requests , Will send an empty message , To satisfy HTTP Message request / Response message interaction rules (TR-069 Is based on HTTP Agreed ,TR-069 Message as HTTP The data part of the message is encapsulated in HTTP In the message ).

(6)ACS Inquire about CPE Set up ACS URL Value .

(7)CPE Take what you get ACS URL Reply to ACS.

(8)ACS Find out CPE Of ACS URL It's local URL Value , So I launched Set request , The request will CPE Of ACS URL Set as standby ACS Of URL Value .

(9) Set up the success ,CPE Send response message .

(10)ACS Send an empty message notification CPE There are no other requests .

(11)CPE Close the connection .

after ,CPE Will be sent to standby ACS A connection , The interaction process can be analyzed in combination with the message .

原网站

版权声明
本文为[Chenxiaoshuai HH]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206111800115362.html