Presentation is loading. Please wait.

Presentation is loading. Please wait.

IEEE 1073 Testing Mary Brady Rick Rivello NIST

Similar presentations


Presentation on theme: "IEEE 1073 Testing Mary Brady Rick Rivello NIST"— Presentation transcript:

1 IEEE 1073 Testing Mary Brady Rick Rivello NIST mbrady@nist.gov rivello@nist.gov

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

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

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

5 ROSE ROIVapdu ::= SEQUENCE { invokeID InvokeIDType, operation-value OPERATION, argument ANY DEFINED BY operation-value } <xsd:sequence> </xsd:sequence></xsd:complexType>

6 ROSE (cont) </xsd:simpleType>

7 ROSE (cont) <xsd:simpleType> <xsd:annotation><xsd:appinfo><objsys:EnumInfo>... </objsys:EnumInfo></xsd:appinfo></xsd:annotation>...<xsd:enumerationvalue="cmipCreate"> </xsd:restriction></xsd:simpleType></xsd:union></xsd:simpleType>

8 XML INSTANCE FILES n AS-SetOperational-State.xml10.5.1.1.1.1.1.1 n AS-SetOperational-StateConfirm.xml10.5.2.1.1.1.1.1 n ASSEReportNoActiveAlerts.xml10.5.3.1.1.1.1.1 n ASSEReportThreeActiveAlerts.xml10.5.3.1.1.1.1.2 n CCSInvoke.xml10.2.1.1.1.1.1.1 CCSInvoke.xml n CCSResult.xml10.2.2.1.1.1.1.1 n CSOCNERConfirmation.xml10.2.4.1.1.1.1.1 n CSOCNEReport1.xml10.2.3.1.1.1.1.1 n CSOCNEReport2.xml10.2.3.1.1.1.1.2 n CSOCNEReport3.xml10.2.3.1.1.1.1.3

9 XML INSTANCE FILES (cont) n ESGAResponse.xml10.3.6.1.1.1.1.2 n ESSALRequest.xml10.3.5.1.1.1.1.1 n ESSOSConfirm.xml10.3.2.1.1.1.1.1 n ESSOState.xml10.3.1.1.1.1.1.1 n ESSSLConfirm.xml10.3.8.1.1.1.1.1 n ESSSLRequest.xml10.3.7.1.1.1.1.1 n ESUSERConfirmation.xml10.3.4.1.1.1.1.1 n ESUSEReport1.xml10.3.3.1.1.1.1.2 n ESUSEReport2.xml10.3.3.1.1.1.1.3 n ESUSEReportsraf.xml10.3.3.1.1.1.1.4

10 XML INSTANCE FILES (cont) n FPS-SETOperatinal-State.xml10.4.1.1.1.1.1.1 n FPS-SETOperatinal-StateConfirm.xml10.4.2.1.1.1.1.1 n FPSBSEReport.xml10.4.3.1.1.1.1.1 n MDS-Attribute-UpdateER.xml10.1.3.1.1.1.1.1 n MDS-Attribute-UpdateERResult.xml10.1.4.1.1.1.1.1 n MDS-GETAttributeGroups.xml10.1.5.1.1.1.1.1 n MDS-GETAttributeGroupsResponse.xml10.1.6.1.1.1.1.1 n Mds-Create-NotificationER.xml10.1.1 n Mds-Create-NotificationERConfirmation.xml10.1.2.1.1.1.1.1

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

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

13 SNACC n Snacc compiles ASN.1 modules into C or type tables. n Generated C code contains data structures and routines to convert values between the internal C representation and the corresponding BER. n 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 n What are the differences between BER and MDER? n What code needs to be changed to handle MDER? n How will SNACC know when it’s working on BER (Association)/MDER?

15 Medical Device Testing Medical Device Tests Atomic Tests Attribute Get’s/Set’s Dynamic Tests Event Reporting Alarm Reporting Scanners Medical Device Tests Atomic Tests Attribute Get’s/Set’s Dynamic Tests Event Reporting Alarm Reporting Scanners Test Accelerator Test Definitions Datatype Support Data Value Generation Test Accelerator Test Definitions Datatype Support Data Value Generation Schema Definitions: PDU – Structure DIM – Medical Data IEEE Medical Device Specifications ValidatePDU Tool: Check messages for: - - Syntax - - Structure - - Correct Data

16 ValidatePDU Schema PDU Definitions Definitions Definitions Ventilator PDU Definitions (Schema Def’s) Managed Object Definitions (Schema Def’s) ASN.1 Definitions Manager Agent 0508130100160102800014020002 XML

17 ValidatePDU Tool The value 'aaa' of element 'invokeID' is not valid. 'aaa' is not a valid 'integer' value

18 Next Steps n Can SNACC be modified to encode/decode MDER? n Build Demo Tool n Build Test Generator based on Schema

19 Tests n Format?? n Test Environment??


Download ppt "IEEE 1073 Testing Mary Brady Rick Rivello NIST"

Similar presentations


Ads by Google