These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer Science and Engineering, University of M - PowerPoint PPT Presentation

About This Presentation
Title:

These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer Science and Engineering, University of M

Description:

Title: ASN.1 to CSV code generator Subject: ASN2CSV Author: Ivan kugor Last modified by: Zeljko Created Date: 10/13/2003 9:50:06 PM Document presentation format – PowerPoint PPT presentation

Number of Views:173
Avg rating:3.0/5.0

less

Transcript and Presenter's Notes

Title: These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer Science and Engineering, University of M


1
NOTICE!
  • These materials are prepared only for the
    students enrolled in the course Distributed
    Software Development (DSD) at the Department of
    Computer Science and Engineering, University
    of Mälardalen, Västerås, Sweden and at the
    Faculty of Electrical Engineering and Computing,
    University of Zagreb, Croatia (year 2003/2004).
  • For all other purposes, authors written
    permission is needed!
  • The purpose of these materials is to help
    students in better understanding of lectures in
    DSD and not their replacement!

2
Selected Topics in Software Engineering -
Distributed Software Development
3
ASN.1 to CSV converter generator
Project Current state presentation 2008-12-04
  • MDH
  • Guido Di Campli
  • Giovanni Piemontese
  • Paolo DAmelio
  • FER
  • Ivan Škugor
  • Željko Krpetic
  • Željko Kneževic

Steering group  Igor Cavrak at FER Rikard Lang
at MDH M.Sc. Branko Beslac (Ring datacom)
4
What we will talk about?
  • Current status for
  • eSNACC / custom code generator solution
  • XSL generator
  • Tree view generator
  • BER to XML conversion
  • GUI
  • General project status

5
BER to CSV converter structure
Done (eSNACC)
Done
Work in progress
6
Sample output
  • void parse_nrtrde()
  • / Init variables /
  • ....
  • nrtrde pr
  • if (nrtrde-gtcallEvents NULL) return
  • node nrtrde-gtcallEvents-gtfirst
  • do
  • recordCount
  • callEvent node-gtdata
  • switch (callEvent-gtchoiceId)
  • case CALLEVENT_MOC
  • moc callEvent-gta.moc
  • / RECORD_TYPE /
  • s sprintf(sql,"1, ")
  • / O_P_MSISDN /
  • if (PRESENT(moc-gtconnectedNumber))
  • PRINT(moc-gtconnectedNumber)
  • else if (PRESENT(moc-gtdialledDigits))

7
eSNACC / custom code generator solution status
  • Work on code generator algorithm
  • Learn more about ASN.1 and eSNACC
  • More testing on paper
  • Final implementation (C)
  • GUI lt-gt Code generator interface

8
XSL generator
9
Code generator/XSL generator
  • XSLT
  • Converts XML to other format (even a CSV?)
  • We use it because its fast and simple to use
  • ANSI C compilant
  • Its extendible

10
Example of generated XSL
  • ltxslstylesheet version"1.0" xmlnsxsl"http//ww
    w.w3.org/1999/XSL/Transform"gt
  • ltxsloutput method"text"/gt
  • ltxsltemplate match"/"gt
  • ltxslapply-templates select"/Nrtrde/specificati
    onVersionNumber"/gt
  • ltxslapply-templates select"/Nrtrde/releaseVers
    ionNumber"/gt
  • lt/xsltemplategt
  • ltxsltemplate match"/Nrtrde/specificationVersionN
    umber"gt
  • ltxslvalue-of select"."/gt
  • ltxslvalue-of select"','"/gt
  • lt/xsltemplategt
  • ltxsltemplate match"/Nrtrde/releaseVersionNumber"
    gt
  • ltxslvalue-of select"."/gt
  • lt/xsltemplategt
  • lt/xslstylesheetgt

11
ASN1 to XML (1/3)
12
ASN1 to XML (2/3)
13
ASN1 to XML (3/3)
14
BER to XML (1/3)
15
BER to XML (2/3)
16
BER to XML (3/3)
17
GUI Status 1/3
GUI Features Status
Load XML in Treeview Ready
Select/Deselect elements on treeview Ready
Expand/Collapse elements on treeview Ready
Colors view on treeview Ready
Add Grammars using treeview Ready
Store information in Xpath Format Needs improvements
Output panel Probably it needs add-on
General GUI functionalities Needs improvements
Format panel selection Not started
Cleaner Ready
18
GUI Status 2/3
Done
Almost done or needs improvements
Not Done
19
GUI Status 3/3
Done
Almost done or needs improvements
Not Done
20
Treeview and colors meaning
No nodes selected
Parents have one/different unchecked nodes
All childs are selected or node has no child
21
What we will do about GUI
  1. Solving some Bugs (if is possible)
  2. Enrich information about selected grammars
  3. Add Format PanelBox
  4. Graphic improvements
  5. Testing

22
GUI screenshot
23
General project status
Project status on track
Activity w45 w46 w47 w48 w49 w50 w51 w52 w1 w2 w3
Project plan                  
Requirements analysis definition                  
System Design                  
Tree view generator                  
Converter generator                  
GUI                  
Integration                  
Testing                  
Final Product                  
24
  • Any Questions ?
Write a Comment
User Comments (0)
About PowerShow.com