文件名称:HW SMP MML接口
文件大小:586KB
文件格式:PDF
更新时间:2013-02-10 04:59:30
HW SMP MML接口
SMP 系统结构................................................................................................................................1-1 关于本章...........................................................................................................................................................1-1 1.1 SMP 模块划分...........................................................................................................................................1-2 1.2 SMP 内MML 操作请求的消息通道.......................................................................................................1-4 1.3 客户端与SMP 的联系..............................................................................................................................1-5 2 SMP MML 消息协议.......................................................................................................................2-1 关于本章...........................................................................................................................................................2-1 2.1 概述............................................................................................................................................................2-2 2.2 登录............................................................................................................................................................2-3 2.2.1 登录请求MML...............................................................................................................................2-3 2.2.2 登录响应MML...............................................................................................................................2-4 2.3 操作............................................................................................................................................................2-4 2.3.1 操作请求MML...............................................................................................................................2-4 2.3.2 操作响应MML...............................................................................................................................2-5 2.4 注销............................................................................................................................................................2-6 2.4.1 注销请求MML...............................................................................................................................2-6 2.4.2 注销响应MML...............................................................................................................................2-7 3 SMP 客户端设计样例.......................................................................................................................3-1 关于本章...........................................................................................................................................................3-1 3.1 Level 1 设计描述.......................................................................................................................................3-2 3.1.1 分解描述..........................................................................................................................................3-2 3.1.2 依赖性描述......................................................................................................................................3-3 3.1.3 接口描述..........................................................................................................................................3-4 3.2 Level 2 设计描述.......................................................................................................................................3-5 3.2.1 分解描述..........................................................................................................................................3-5 3.2.2 依赖性描述......................................................................................................................................3-8 3.2.3 接口描述........................................................................................................................................3-10 3.3 设计流程..................................................................................................................................................3-16 3.3.1 API 设计流程.................................................................................................................................3-16 3.3.2 客户端程序操作流程....................................................................................................................3-19 4 SMP 日志......................................................................................................................................4-1 关于本章...........................................................................................................................................................4-1 4.1 $SMS_DIR/log/runlog 目录下运行日志..................................................................................................4-2 4.1.1 基本常识..........................................................................................................................................4-2 4.1.2 日志格式..........................................................................................................................................4-2 4.2 $SMS_DIR/log 目录下kernel 进程的运行日志.....................................................................................4-4 4.2.1 基本常识..........................................................................................................................................4-4 4.2.2 日志格式..........................................................................................................................................4-4 5 故障处理........................................................................................................................................5-1 关于本章...........................................................................................................................................................5-1 5.1 如何根据SMP 返回的错误消息快速定位问题原因............................................................................5-2 5.2 如何获取连接SMP 的IP 和端口号.......................................................................................................5-2 5.3 为什么客户端连接SMP 失败.................................................................................................................5-2 5.4 操作员登录SMP 失败的原因.................................................................................................................5-2 5.5 SMP 返回“消息转发失败”是什么原因..............................................................................................5-3 5.6 SMP 返回“语法错误或命令码非法”是什么原因..............................................................................5-3 5.7 SMP 返回“Authentication failed”是什么原因.........................................................................................5-3