当前位置:网站首页>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
Two 、TR069 Network framework

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 :
② Summary of protocols at all levels 
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 :
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 :

②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 :
(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 .
边栏推荐
- [collect first and use it sooner or later] 100 Flink high-frequency interview questions series (I)
- [C语言]用结构体按分数高低降序输出学生的姓名和分数
- Global and Chinese markets for ultra high speed printers 2022-2028: Research Report on technology, participants, trends, market size and share
- [FAQs for novices on the road] about project management
- SISO Decoder for Repetition(补充章节4)
- SISO decoder for a general (n,n-1) SPC code(補充章節3)
- Secret comment-----
- [MapReduce] a complete Mr program case teaches you how to package and run with idea
- 任意用户密码重置的10种方式
- EasyCwmp源码分析
猜你喜欢
随机推荐
[practical Script] obtain the line number of a file, and then delete the file content.
Global and Chinese markets of solid polymer aluminum capacitors 2022-2028: Research Report on technology, participants, trends, market size and share
[C语言]用结构体把输入的指定分数范围内的学生输出
LeetCode_前缀树_中等_208. 实现 Trie (前缀树)
[MapReduce] a complete Mr program case teaches you how to package and run with idea
密码学概述
Hello go (XII). Go language common standard library II
Global and Chinese markets for private internet access 2022-2028: Research Report on technology, participants, trends, market size and share
单选按钮 文字背景同时改变
Retrofit source code analysis
System learning typescript (V) - joint type
EasyCwmp源码分析
[collect first and use it sooner or later] 49 Flink high-frequency interview questions series (I)
Upload labs failed to pass the customs halfway and the middle road collapsed
網絡安全威脅情報體系
Say no to credit card fraud! 100 lines of code to realize simplified real-time fraud detection
EditText 金额限制
夜神安装apk,以及bp代理
Winter vacation daily question (improvement group) [end of week 4]
Initial experience of MariaDB spider sharding engine


![[C语言]压缩字符串并添加标记字符](/img/b7/f7918f3ee0c409faffc70addd5ee65.png)



![Codeworks round 479 (Div. 3) [done]](/img/a0/f3c6989d8f755c03076b237514ee64.jpg)


![[untitled]](/img/ab/04beacfc7975cc3c54399447aa5027.png)