中国移动网络设备下发业务工单-报文分析

中国移动网络设备下发业务工单-报文分析

步骤一:设备首次上电注册上报设备信息,平台绑定设备

1. 设备
	Inform
		DviceId
			Manufacturer
			OUI
			ProductClass
			SerialNumber
		DeviceId
		Events  
			0 BOOTSTRAP 
			X CMCC BIND
			1 BOOT 
		MaxEnvelopes
		CurrentTime
		RetryCount 0
		ParameterList
			ParameterValueStruct		
				InternetGatewayDevice.DeviceSummary
				InternetGatewayDevice.DeviceInfo.SpecVersion
				InternetGatewayDevice.DeviceInfo.HardwareVersion
				InternetGatewayDevice.DeviceInfo.SoftwareVersion
				InternetGatewayDevice.DeviceInfo.ProvisioningCode
				InternetGatewayDevice.ManagementServer.ConnectionRequestURL
				InternetGatewayDevice.ManagementServer.ParameterKey
				InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress
				InternetGatewayDevice.DeviceInfo.X_CMCC_MACAddress
				InternetGatewayDevice.X_CMCC_UserInfo.Password
	
2. 平台回 401 Unauthorized
	www-authenticate: Digest realm="IOT-ACS", nonce="ffc583df31b7599a4cadd242a8ade08a", qop="auth"
3. 设备发Inform
		Inform
		DviceId
			Manufacturer
			OUI
			ProductClass
			SerialNumber
		Events  
			0 BOOTSTRAP 
			X CMCC BIND
			1 BOOT 
		MaxEnvelopes
		CurrentTime
		RetryCount 0
		ParameterList
			ParameterValueStruct		
				InternetGatewayDevice.DeviceSummary
				InternetGatewayDevice.DeviceInfo.SpecVersion
				InternetGatewayDevice.DeviceInfo.HardwareVersion
				InternetGatewayDevice.DeviceInfo.SoftwareVersion
				InternetGatewayDevice.DeviceInfo.ProvisioningCode
				InternetGatewayDevice.ManagementServer.ConnectionRequestURL
				InternetGatewayDevice.ManagementServer.ParameterKey
				InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress
				InternetGatewayDevice.DeviceInfo.X_CMCC_MACAddress
				InternetGatewayDevice.X_CMCC_UserInfo.Password
4. 平台回 200 OK	
5. 设备POST 认证信息
6. 平台回 200 OK,并设置 
			InternetGatewayDevice.X_CMCC_UserInfo.Status 为 0 
7. 设备返回 设置结果
8. 平台回 200 OK,并设置
			InternetGatewayDevice.ManagementServer.Username
			InternetGatewayDevice.ManagementServer.Password
			InternetGatewayDevice.ManagementServer.ConnectionRequestUsername
			InternetGatewayDevice.ManagementServer.ConnectionRequestPassword
			InternetGatewayDevice.DeviceInfo.X_CMCC_TeleComAccount.Password
9. 设备返回 设置结果是否成功
10. 平台返回 204 No Content	

步骤二:平台下发设置业务个数

1. 设备POST Inform
		Inform
		DviceId
			Manufacturer
			OUI
			ProductClass
			SerialNumber
		Events  
			2 PERIODIC 
			6 CONNECTION REQUEST
		MaxEnvelopes
		CurrentTime
		RetryCount 1
		ParameterList
			ParameterValueStruct		
				InternetGatewayDevice.DeviceSummary
				InternetGatewayDevice.DeviceInfo.SpecVersion
				InternetGatewayDevice.DeviceInfo.HardwareVersion
				InternetGatewayDevice.DeviceInfo.SoftwareVersion
				InternetGatewayDevice.DeviceInfo.ProvisioningCode
				InternetGatewayDevice.ManagementServer.ConnectionRequestURL
				InternetGatewayDevice.ManagementServer.ParameterKey
				InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress
				InternetGatewayDevice.DeviceInfo.X_CMCC_MACAddress
				InternetGatewayDevice.X_CMCC_UserInfo.Password
2. 平台回 401 Unauthorized
	www-authenticate: Digest realm="IOT-ACS", nonce="ffc583df31b7599a4cadd242a8ade08a", qop="auth"
3. 设备发Inform
		Inform
		DviceId
			Manufacturer
			OUI
			ProductClass
			SerialNumber
		Events  
			0 BOOTSTRAP 
			X CMCC BIND
			1 BOOT 
		MaxEnvelopes
		CurrentTime
		RetryCount 0
		ParameterList
			ParameterValueStruct		
				InternetGatewayDevice.DeviceSummary
				InternetGatewayDevice.DeviceInfo.SpecVersion
				InternetGatewayDevice.DeviceInfo.HardwareVersion
				InternetGatewayDevice.DeviceInfo.SoftwareVersion
				InternetGatewayDevice.DeviceInfo.ProvisioningCode
				InternetGatewayDevice.ManagementServer.ConnectionRequestURL
				InternetGatewayDevice.ManagementServer.ParameterKey
				InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress
				InternetGatewayDevice.DeviceInfo.X_CMCC_MACAddress
				InternetGatewayDevice.X_CMCC_UserInfo.Password
4. 平台回 200 OK
5. 设备POST 认证信息
6. 平台回 200 OK,并设置 
			InternetGatewayDevice.X_CMCC_UserInfo.ServiceNum 为 2
7. 设备返回 设置结果是否成功
8. 平台返回 204 No Content	

步骤三:平台下发INTERNET上网业务和语音VOIP业务

1. 设备POST Inform
		Inform
		DviceId
			Manufacturer
			OUI
			ProductClass
			SerialNumber
		Events  
			2 PERIODIC 
			6 CONNECTION REQUEST
		MaxEnvelopes
		CurrentTime
		RetryCount 1
		ParameterList
			ParameterValueStruct		
				InternetGatewayDevice.DeviceSummary
				InternetGatewayDevice.DeviceInfo.SpecVersion
				InternetGatewayDevice.DeviceInfo.HardwareVersion
				InternetGatewayDevice.DeviceInfo.SoftwareVersion
				InternetGatewayDevice.DeviceInfo.ProvisioningCode
				InternetGatewayDevice.ManagementServer.ConnectionRequestURL
				InternetGatewayDevice.ManagementServer.ParameterKey
				InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress
				InternetGatewayDevice.DeviceInfo.X_CMCC_MACAddress
				InternetGatewayDevice.X_CMCC_UserInfo.Password
2. 平台回 401 Unauthorized
	www-authenticate: Digest realm="IOT-ACS", nonce="ffc583df31b7599a4cadd242a8ade08a", qop="auth"
3. 设备发Inform
		Inform
		DviceId
			Manufacturer
			OUI
			ProductClass
			SerialNumber
		Events  
			0 BOOTSTRAP 
			X CMCC BIND
			1 BOOT 
		MaxEnvelopes
		CurrentTime
		RetryCount 0
		ParameterList
			ParameterValueStruct		
				InternetGatewayDevice.DeviceSummary
				InternetGatewayDevice.DeviceInfo.SpecVersion
				InternetGatewayDevice.DeviceInfo.HardwareVersion
				InternetGatewayDevice.DeviceInfo.SoftwareVersion
				InternetGatewayDevice.DeviceInfo.ProvisioningCode
				InternetGatewayDevice.ManagementServer.ConnectionRequestURL
				InternetGatewayDevice.ManagementServer.ParameterKey
				InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress
				InternetGatewayDevice.DeviceInfo.X_CMCC_MACAddress
				InternetGatewayDevice.X_CMCC_UserInfo.Password
4. 平台回 200 OK
5. 设备POST 认证信息
6. 平台回 200 OK,并设置 
			InternetGatewayDevice.X_CMCC_UserInfo.Result 为 0
			InternetGatewayDevice.X_CMCC_UserInfo.ServiceName 为INTERNET
7. 设备返回 设置结果是否成功
8. 平台返回 200 并获取节点名称信息
			GetParameterNames	
				InternetGatewayDevice.WANDevice.1.WANConnectionDevice.
				NextLevel false	
9. 设备返回节点信息
10. 平台返回 200 并获取节点名称信息
			GetParameterNames	
				InternetGatewayDevice.WANDevice.1.WANConnectionDevice.
				NextLevel true	
11. 设备返回节点信息
12. 平台返回 200 并增加节点
			InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.
13. 设备返回增加节点的结果 并返回 InstanceNumber
14. 平台设置节点信息
			InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.2.X_CMCC_VLANMode
			InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.2.X_CMCC_VLANIDMark
			InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.2.ConnectionType
			InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.2.Username
			InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.2.Password
			InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.2.X_CMCC_ServiceList
			InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.2.Enable
15. 设备返回 设置结果是否成功
16. 平台返回 200 OK 并设置
			InternetGatewayDevice.X_CMCC_UserInfo.Result 1
17. 设备返回 设置结果是否成功
18. 平台返回 200 OK 并设置		
			InternetGatewayDevice.X_CMCC_UserInfo.Result 0
			InternetGatewayDevice.X_CMCC_UserInfo.ServiceName VOIP	
19. 设备返回 设置结果是否成功
20. 平台返回 200 OK 并获取信息 
			InternetGatewayDevice.SoftwareModules.ExecEnv.
21. 设备返回 信息
22. 平台返回 200 OK 并获取信息 
			InternetGatewayDevice.SoftwareModules.ExecEnv.2.Type
            InternetGatewayDevice.SoftwareModules.ExecEnv.2.Version
            InternetGatewayDevice.SoftwareModules.ExecEnv.1.Version
            InternetGatewayDevice.SoftwareModules.ExecEnv.1.Type
23. 设备返回 信息
24. 平台返回 200 OK 并获取信息    
			GetParameterNames InternetGatewayDevice.WANDevice.1.WANConnectionDevice.       
			                  NextLevel true
25. 设备返回 信息
26. 平台返回 200 OK ,并增加节点
			InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.
27. 设备返回 设置结果是否成功						    
28. 平台返回 200 OK ,并设置节点
			InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.3.X_CMCC_VLANMode
			InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.3.X_CMCC_VLANIDMark
			InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.3.ConnectionType
			InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.3.AddressingType
			InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.3.X_CMCC_802-1pMark
			InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.3.X_CMCC_ServiceList
			InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.3.Enable
29. 设备返回 设置结果是否成功
30. 平台返回 200 OK 并获取信息			
			GetParameterNames
            		InternetGatewayDevice.Services.VoiceService.
                    NextLevel  true
31. 设备返回 信息
32.  平台返回 200 OK 并获取信息			
			GetParameterNames
            		InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.
                    NextLevel  true
33. 设备返回 信息                   
34. 平台返回 200 OK ,并设置节点
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.X_CMCC_ServerType
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.SIP.ProxyServer
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.SIP.ProxyServerPort
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.SIP.X_CMCC_Standby-ProxyServer
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.SIP.X_CMCC_Standby-ProxyServerPort
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.SIP.RegistrarServer
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.SIP.RegistrarServerPort
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.SIP.X_CMCC_Standby-RegistrarServer
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.SIP.X_CMCC_Standby-RegistrarServerPort
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.SIP.OutboundProxy
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.SIP.OutboundProxyPort
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.SIP.X_CMCC_Standby-OutboundProxy
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.SIP.X_CMCC_Standby-OutboundProxyPort
35. 设备返回 设置结果是否成功			
36. 平台返回 204 No Content	

步骤四:平台验证节点信息,并结束工单

1. 设备POST Inform
		Inform
		DviceId
			Manufacturer
			OUI
			ProductClass
			SerialNumber
		Events  
			2 PERIODIC 
			6 CONNECTION REQUEST
		MaxEnvelopes
		CurrentTime
		RetryCount 1
		ParameterList
			ParameterValueStruct		
				InternetGatewayDevice.DeviceSummary
				InternetGatewayDevice.DeviceInfo.SpecVersion
				InternetGatewayDevice.DeviceInfo.HardwareVersion
				InternetGatewayDevice.DeviceInfo.SoftwareVersion
				InternetGatewayDevice.DeviceInfo.ProvisioningCode
				InternetGatewayDevice.ManagementServer.ConnectionRequestURL
				InternetGatewayDevice.ManagementServer.ParameterKey
				InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress
				InternetGatewayDevice.DeviceInfo.X_CMCC_MACAddress
				InternetGatewayDevice.X_CMCC_UserInfo.Password
2. 平台回 401 Unauthorized
	www-authenticate: Digest realm="IOT-ACS", nonce="ffc583df31b7599a4cadd242a8ade08a", qop="auth"
3. 设备发Inform
		Inform
		DviceId
			Manufacturer
			OUI
			ProductClass
			SerialNumber
		Events  
			0 BOOTSTRAP 
			X CMCC BIND
			1 BOOT 
		MaxEnvelopes
		CurrentTime
		RetryCount 0
		ParameterList
			ParameterValueStruct		
				InternetGatewayDevice.DeviceSummary
				InternetGatewayDevice.DeviceInfo.SpecVersion
				InternetGatewayDevice.DeviceInfo.HardwareVersion
				InternetGatewayDevice.DeviceInfo.SoftwareVersion
				InternetGatewayDevice.DeviceInfo.ProvisioningCode
				InternetGatewayDevice.ManagementServer.ConnectionRequestURL
				InternetGatewayDevice.ManagementServer.ParameterKey
				InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress
				InternetGatewayDevice.DeviceInfo.X_CMCC_MACAddress
				InternetGatewayDevice.X_CMCC_UserInfo.Password
4. 平台回 200 OK
5. 设备POST 认证信息
6. 平台回 200 OK,并查信息
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.
7. 设备返回 节点信息
8. 平台回 200 OK,设节点信息
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthUserName
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthPassword
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.URI
			InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.Enable
9. 设备POST 返回设置结果
6. 平台回 200 OK,并设置 
			InternetGatewayDevice.X_CMCC_UserInfo.Result 为 1
7. 设备返回 设置结果是否成功
8. 平台返回 204 No Content		

发表评论

电子邮件地址不会被公开。 必填项已用*标注