Skip to content

Latest commit

 

History

History
101 lines (98 loc) · 5.7 KB

TR069报文解析.md

File metadata and controls

101 lines (98 loc) · 5.7 KB

TR069报文解析

INFORM报文

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
<SOAP-ENV:Header>
<cwmp:ID SOAP-ENV:mustUnderstand="1">1</cwmp:ID>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
    <cwmp:Inform>   <!--调用Inform方法-->
        <DeviceId xsi:type="cwmp:DeviceIdStruct">  <!--设备信息-->
            <Manufacturer xsi:type="xsd:string">ChinaNMS</Manufacturer>  <!--制造商-->
            <OUI xsi:type="xsd:string">A00001</OUI>   <!--制造商的唯一标识,长度6-->
            <ProductClass xsi:type="xsd:string">OT2800</ProductClass>   <!--产品类型标识-->
            <SerialNumber xsi:type="xsd:string">30000000000000000</SerialNumber>   <!--序列号-->
        </DeviceId>
        <Event SOAP-ENC:arrayType="cwmp:EventStruct[1]">  <!--事件:本次inform发起的原因-->
            <EventStruct>
                <EventCode xsi:type="xsd:string">0 BOOTSTRAP</EventCode>  <!--上电启动,间隔到了为‘2 PERIODIC’-->
                <CommandKey></CommandKey>
            </EventStruct>
        </Event>
        <MaxEnvelopes xsi:type="xsd:unsignedInt">1</MaxEnvelopes>  <!--HTTP Response可携带SOAP信封数-->
        <CurrentTime xsi:type="xsd:dateTime">2016-08-26T16:37:30</CurrentTime>  <!--CPE当前时间-->
        <RetryCount xsi:type="xsd:unsignedInt">0</RetryCount>   <!--Session最大的重复连接次数-->
        <ParameterList SOAP-ENC:arrayType="cwmp:ParameterValueStruct[17]">  <!--Inform所需携带的参数列表-->
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.DeviceSummary</Name>
                <Value xsi:type="xsd:string"></Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.DeviceInfo.Manufacturer</Name>
                <Value xsi:type="xsd:string">ChinaNMS</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.DeviceInfo.ManufacturerOUI</Name>
                <Value xsi:type="xsd:string">A00001</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.DeviceInfo.ProductClass</Name>
                <Value xsi:type="xsd:string">OT2800</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.DeviceInfo.SerialNumber</Name>
                <Value xsi:type="xsd:string">30000000000000000</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.DeviceInfo.SpecVersion</Name>
                <Value xsi:type="xsd:string">V1.0</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.DeviceInfo.HardwareVersion</Name>
                <Value xsi:type="xsd:string">V1.0</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.DeviceInfo.SoftwareVersion</Name>
                <Value xsi:type="xsd:string">V1.2.7.29</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.DeviceInfo.ProvisioningCode</Name>
                <Value xsi:type="xsd:string">OT2800</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.ManagementServer.ConnectionRequestURL</Name>
                <Value xsi:type="xsd:string">http://192.168.242.2:5400</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.ManagementServer.ParameterKey</Name>
                <Value xsi:type="xsd:string"></Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.ManagementServer.Username</Name>
                <Value xsi:type="xsd:string">hgw</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.ManagementServer.Password</Name>
                <Value xsi:type="xsd:string">hgw</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.ManagementServer.ConnectionRequestUsername</Name>
                <Value xsi:type="xsd:string">itms</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.ManagementServer.ConnectionRequestPassword</Name>
                <Value xsi:type="xsd:string">itms</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.ManagementServer.URL</Name>
                <Value xsi:type="xsd:string">http://172.16.20.14:9090/ACS-server/ACS</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
                <Name xsi:type="xsd:string">InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress</Name>
                <Value xsi:type="xsd:string"></Value>
            </ParameterValueStruct>
        </ParameterList>
    </cwmp:Inform>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>