IEEE 1073 Testing - PowerPoint PPT Presentation

1 / 19
About This Presentation
Title:

IEEE 1073 Testing

Description:

IEEE 1073 Testing Mary Brady Rick Rivello NIST mbrady_at_nist.gov rivello_at_nist.gov – PowerPoint PPT presentation

Number of Views:39
Avg rating:3.0/5.0
Slides: 20
Provided by: Candy82
Category:
Tags: ieee | java | testing

less

Transcript and Presenter's Notes

Title: IEEE 1073 Testing


1
IEEE 1073 Testing
  • Mary Brady
  • Rick Rivello
  • NIST
  • mbrady_at_nist.gov
  • rivello_at_nist.gov

2
Schema Files
  • Created by ASN2XSD tool
  • Check Data Types
  • Ensure Range
  • Check for proper XML structures
  • Check syntax of XML

3
SCHEMA FILES(Atlanta)
  • ROSE.xsd
  • DIM.xsd
  • 7.1.2COMMONDATATYPE.xsd
  • AssociateUserInfo.xsd
  • Association.xsd
  • Association_Request.xsd
  • Association_Response.xsd
  • CMIP.xsd
  • CPR.xsd
  • MDAP-TD.xsd
  • TD.xsd
  • Vent-all.xsd

4
SCHEMA FILE (Current)
  • X73-FINAL.xsd

5
ROSE
  • ROIVapdu SEQUENCE
  • invokeID InvokeIDType,
  • operation-value OPERATION,
  • argument ANY DEFINED BY operation-value
  • lt!-- PDU definition --gt
  • ltxsdelement name"rOIVapdu" type"ROIVapdu"/gt
  • ltxsdcomplexType name"ROIVapdu"gt
  • ltxsdsequencegt
  • ltxsdelement name"invokeID" type"InvokeIDType"/gt
  • ltxsdelement name"operation_value"
    type"OPERATION"/gt
  • ltxsdelement name"argument" type"objsysOpenType
    "/gt
  • lt/xsdsequencegt
  • lt/xsdcomplexTypegt

6
ROSE (cont)
  • lt!-- PDU definition --gt
  • ltxsdelementname"invokeIDType
    type"InvokeIDType"/gt
  • ltxsdsimpleType name"InvokeIDType"gt
  • ltxsdrestriction base"xsdunsignedShort"/gt
  • lt/xsdsimpleTypegt

7
ROSE (cont)
  • ltxsdelement name"oPERATION" type"OPERATION"/gt
  • ltxsdsimpleType name"OPERATION"gt
  • ltxsdunion memberTypes"xsdinteger"gt
  • ltxsdsimpleTypegt
  • lt!-- Named Integer Information --gt
  • ltxsdannotationgt
  • ltxsdappinfogt
  • ltobjsysEnumInfogt
  • ltobjsysEnumItem name"cmipEventReport"
    value"0"/gt
  • ltobjsysEnumItem name"cmipConfirmedEventReport"
    value"1"/gt
  • ...
  • ltobjsysEnumItem name"cmipCreate" value"8"/gt
  • ltobjsysEnumItem name"cmipDelete" value"9"/gt
  • lt/objsysEnumInfogt
  • lt/xsdappinfogt
  • lt/xsdannotationgt
  • ltxsdrestriction base"xsdtoken"gt
  • ltxsdenumeration value "cmipEventReport"/gt
  • ltxsdenumeration value "cmipConfirmedEventReport
    "/gt

8
XML INSTANCE FILES
  • AS-SetOperational-State.xml 10.5.1.1.1.1.1.1
  • AS-SetOperational-StateConfirm.xml 10.5.2.1.1.1.1
    .1
  • ASSEReportNoActiveAlerts.xml 10.5.3.1.1.1.1.1
  • ASSEReportThreeActiveAlerts.xml 10.5.3.1.1.1.1.2
  • CCSInvoke.xml 10.2.1.1.1.1.1.1
  • CCSResult.xml 10.2.2.1.1.1.1.1
  • CSOCNERConfirmation.xml 10.2.4.1.1.1.1.1
  • CSOCNEReport1.xml 10.2.3.1.1.1.1.1
  • CSOCNEReport2.xml 10.2.3.1.1.1.1.2
  • CSOCNEReport3.xml 10.2.3.1.1.1.1.3

9
XML INSTANCE FILES (cont)
  • ESGAResponse.xml 10.3.6.1.1.1.1.2
  • ESSALRequest.xml 10.3.5.1.1.1.1.1
  • ESSOSConfirm.xml 10.3.2.1.1.1.1.1
  • ESSOState.xml 10.3.1.1.1.1.1.1
  • ESSSLConfirm.xml 10.3.8.1.1.1.1.1
  • ESSSLRequest.xml 10.3.7.1.1.1.1.1
  • ESUSERConfirmation.xml 10.3.4.1.1.1.1.1
  • ESUSEReport1.xml 10.3.3.1.1.1.1.2
  • ESUSEReport2.xml 10.3.3.1.1.1.1.3
  • ESUSEReportsraf.xml 10.3.3.1.1.1.1.4

10
XML INSTANCE FILES (cont)
  • FPS-SETOperatinal-State.xml 10.4.1.1.1.1.1.1
  • FPS-SETOperatinal-StateConfirm.xml 10.4.2.1.1.1.1
    .1
  • FPSBSEReport.xml 10.4.3.1.1.1.1.1
  • MDS-Attribute-UpdateER.xml 10.1.3.1.1.1.1.1
  • MDS-Attribute-UpdateERResult.xml 10.1.4.1.1.1.1.1
  • MDS-GETAttributeGroups.xml 10.1.5.1.1.1.1.1
  • MDS-GETAttributeGroupsResponse.xml 10.1.6.1.1.1.1.
    1
  • Mds-Create-NotificationER.xml 10.1.1
  • Mds-Create-NotificationERConfirmation.xml 10.1.2.1
    .1.1.1.1

11
XML Instance Files Test Environment
  • ECLIPSE IDE used to run java test
    code.
  • XMLBeans Tool that allows you to access
    XML in a Java friendly way.
  • SCOMP XMLBean command that compiles an
    XML schema into XMLBean classes and
    metadata.

12
MDER Encode/Decode
  • Commercial Package
  • Node-locked license 6,300.00
  • Deployment license 20,000.00
  • Freeware
  • SNACC (Sample Neufeld ASN.1 to C Compiler)

13
SNACC
  • Snacc compiles ASN.1 modules into C or type
    tables.
  • Generated C code contains data structures and
    routines to convert values between the internal C
    representation and the corresponding BER.
  • Process of converting ASN.1 values from its C
    representation into an equivalent BER data value
    is called encoding and the reverse process is
    called decoding.

14
SNACC Issues
  • What are the differences between BER and MDER?
  • What code needs to be changed to handle MDER?
  • How will SNACC know when its working on BER
    (Association)/MDER?

15
Medical Device Testing
IEEE Medical Device Specifications
Test Accelerator Test Definitions Datatype
Support Data Value Generation
  • Schema Definitions
  • PDU Structure
  • DIM Medical Data

Medical Device Tests Atomic Tests
Attribute Gets/Sets Dynamic Tests
Event Reporting Alarm Reporting
Scanners
  • ValidatePDU Tool
  • Check messages for
  • Syntax
  • Structure
  • Correct Data

16
ValidatePDU
ASN.1 Definitions
XML
Manager
Agent
0508130100160102800014020002
17
ValidatePDU Tool
The value 'aaa' of element 'invokeID' is not
valid. 'aaa' is not a valid 'integer' value
18
Next Steps
  • Can SNACC be modified to encode/decode MDER?
  • Build Demo Tool
  • Build Test Generator based on Schema

19
Tests
  • Format??
  • Test Environment??
Write a Comment
User Comments (0)
About PowerShow.com