报告控制块存储结构,状态机
来源:互联网 发布:windows vista 安装ssd 编辑:程序博客网 时间:2024/06/15 14:06
图1中显示的是报告控制块在ACSI中的存储结构,对于一个配置中的RCB视为RCB类型,根据配置的max值,程序中将一个RCB类型实例化为max个RCB实例,每个RCB的实例名称程序中定义为cbName+index的组合。关于命名规则,有两种方式:第一种是上述描述的,但是前提是RCB中的属性indexed=true(目前标准中没有这个属性设置,下一个版本标准考虑的,默认为true);第二种情况,当indexed=false,所有实例名称都定义为cbName,此时这种程序架构不可取,因为出现了一个BR/RP节点下有多个重名DO,违反唯一性原则。表1是对图1中控制块在MMS中的映射情况。
表1 BRCB/URCB到MMS类型定义映射表
BRCB到MMS类型定义的映射
ACSI组件名称
MMS有名组件名称
MMS类型
说明
RptID
RptID
Visable String(8.1.2.5)
RptEna=true时,不能被写
RptEna
RptEna
Bool
DatSet
DatSet
Object Refenence(8.1.3.2)
RptEna=true时,不能被写
ConfRev
ConfRev
Int16U
不能被写
OptFlds
OptFlds
BitString(Table38)
RptEna=true时,不能被写
BufTm
BufTm
Int16U
c1 c2 RptEna=true时,不能被写
SqNum
SqNum
Int32U
不能被写
TrgOps
TrgOps
BitString
(TriggerConditions8.1.3.8)
c1 c2 RptEna=true时,不能被写
IntgPd
IntgPd
Int32U
RptEna=true时,不能被写
GI
GI
bool
PurgeBuf
PurgeBuf
bool
RptEna=true时,不能被写
EntryID
EntryID
EntryID(8.1.3.4)
RptEna=true时,不能被写
TimeofEntry
TimeofEntry
EntryTime(8.1.3.6)
不能被写
ResvTms(in endition 2) ResvTmsINT16 C3 RW RptEna = True时不能被写
Notes and Conditions
Note: An attribute that is marked “r” indicates that the BRCB attribute may be obtained (e.g. read) through the use of the GetBRCBValues service. An attribute that is marked “w” indicates that the BRCB attribute may be set (e.g. written) through the use of the SetBRCBValues service.
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->
c1: These attributes may only be set when RptEna = FALSE. If a SetBRCBValues service is executed against these attributes and causes a change of value, the implementation shall execute a purge of the buffered events as if PurgeBuf had been set to TRUE.
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->
c2: These attributes may only be set when RptEna = FALSE. A SetBRCBValues of these parameters, when RptEna=TRUE, shall fail.
c3: This attribute is optional. If the attribute is not present, then the reservation of the control block shall occur based upon pre-configuration or the client that performs the first SetBRCBValues with RptEna=TRUE.
------------------------------------------------------>Tissue 322
URCB到MMS类型定义的映射
ACSI组件名称
MMS有名组件名称
MMS类型
说明
RptID
RptID
Visable String(8.1.2.5)
RptEna=true时,不能被写
RptEna
RptEna
Bool
Resv
Resv
Bool
RptEna=true时,不能被写
DatSet
DatSet
Object Refenence(8.1.3.2)
RptEna=true时,不能被写
ConfRev
ConfRev
Int32U
不能被写
OptFlds
OptFlds
BitString(Table38)
RptEna=true时,不能被写
BufTm
BufTm
Int16U
RptEna=true时,不能被写
SqNum
SqNum
Int16U
不能被写
TrgOps
TrgOps
BitString
(TriggerConditions8.1.3.8)
RptEna=true时,不能被写
IntgPd
IntgPd
Int32U
RptEna=true时,不能被写
GI
GI
bool
disabled: the BRCB is available. No reports shall be issued.
Upon power-up, buffering shall be started if the BRCB’s DatSet attribute contains a reference to an existing DataSet . If the DatSet attribute contains a NULL value or a reference to an invalid DataSet, then no tranisition shall be allowed from the disabled state.
When a client uses SetBRCBValues to set the EntryID attribute value and the set EntryID does not exist within the queue of entries, a ServiceError of parameter-value-inappropriate shall be returned.
If the EntryID value, in the SetBRCBValues, is zero(0), this value is reserved to be used by the client to resync to the first entry in the queue, a transition from disabled to resync shall occur.
If the set value of the EntryID exists within the queue of entries, a SetBRCBValues response+ is returned and the BRCB state shall transition from disabled to resync.
When a client uses SetBRCBValues to set RptEna=TRUE, the state shall transition to the enabled state.
resync: the BRCB is available. No reports shall be issued.
When a client uses SETBRCBValues to set an EntryID attribute value and the EntryID value exists within the queue of entries, a SetBRCBValues response+ is returned and the BRCB state shall remain resync.
If the value of the set EntryID does not exist within the queue of entries, a ServiceError of parameter-value-inappropriate shall be returned and the BRCB state shall transition to disabled.
If the EntryID value, in the SetBRCBValues, is zero(0), this value is reserved to be used by the client to resync to the first entry in the queue, the state shall transition from resync to disabled.
When an association is lost the state shall transition to disabled.
When a client uses SetBRCBValues to set RptEna=TRUE the state shall transition to enabled.
enabled: the BRCB shall generate reports for the buffered events and new events as specified in the BRCB.
When an association is lost the state shall transition to disabled.
When a client uses SETBRCBValues to set RptEna=FALSE the state shall transition to disabled and reporting shall cease
These attributes determine the service procedures of the Report service. The impact of the various values shall be as defined in the following attribute definitions.
Logically, the Report Handler has a queue of entries that are used to sequence the formatting and “transmission” (e.g. queuing to the N-1 layer) reports. The Report Handler, logically, has a pointer to the next entry to be queue for formatting and transmission.
A SetReportControlValues of the attribute TrgOps shall have the same effect as setting purgeBuf to TRUE. if the attribute value changes.
- 报告控制块存储结构,状态机
- 进程控制块(PCB)的结构
- 进程控制块(PCB)的结构
- 进程控制块PCB结构 task_struct 描述
- 进程控制块PCB结构 task_struct 描述
- 进程控制块(PCB)的结构
- 进程控制块(PCB)的结构
- 进程控制块PCB结构 task_struct 描述
- 进程控制块PCB结构 task_struct 描述
- 进程控制块PCB结构 task_struct 描述
- 进程控制块PCB结构 task_struct 描述
- 进程控制块PCB结构 task_struct 描述
- 进程控制块PCB结构 task_struct 描述
- 存储过程最简单的块结构
- 串的块链存储结构
- Oracle逻辑存储结构---(一) 数据块
- Oracle存储结构(段、区、块)认识
- 存储结构之控制文件
- Ajax+Js+Dom+Json无刷新分页技术
- 测试
- MySQL ERROR 1005: Can't create table (errno: 150)问题解决方法
- 关于数据库全文索引的问题
- svn常见命令
- 报告控制块存储结构,状态机
- 几种创建型的设计模式概析【下】——Builder模式,ProtoType模式【C++实现】
- PPA方式安装openfetion
- 脚本捕捉网页的关闭按钮的关闭事件
- 一天无收获啊
- main方法中同时加载多个Spring文件
- Linux下绘制图形库
- 应用程序加载外部字体文件
- 安装Gvim及问题解决