1 22-03-21 • 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! NOTICE!
24
Embed
12015-08-13 These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
123-04-19
• 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!
NOTICE!
223-04-19
Selected Topics in Software Engineering -
Distributed Software Development
323-04-19
ASN.1 to CSV converter generator
Project Current state presentation2008-12-04
MDH:
Guido Di Campli
Giovanni Piemontese
Paolo D’Amelio
FER:
Ivan Škugor
Željko Krpetić
Željko Knežević
Steering group: Igor Čavrak at FERRikard Lang at MDHM.Sc. Branko Beslać (Ring datacom)
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
423-04-19
BER to CSV converter structure
523-04-19
Done (eSNACC)
Done
Work in progress
Sample output
void parse_nrtrde() {
/* Init variables */
....
nrtrde = ≺
if (nrtrde->callEvents == NULL) return;
node = nrtrde->callEvents->first;
do {
recordCount++;
callEvent = node->data;
switch (callEvent->choiceId) {
case CALLEVENT_MOC:
moc = callEvent->a.moc;
/* RECORD_TYPE */
s = sprintf(sql,"1, ");
/* O_P_MSISDN */
if (PRESENT(moc->connectedNumber)) {
PRINT(moc->connectedNumber);
} else if (PRESENT(moc->dialledDigits)) {
PRINT(moc->dialledDigits);
} else
s += sprintf(sql+s,", ");
623-04-19
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 <-> Code generator interface
723-04-19
XSL generator
823-04-19
Code generator/XSL generator
• XSLT– Converts XML to other format (even a CSV?)– We use it because it’s fast and simple to use– ANSI C compilant– It’s extendible
923-04-19
Example of generated XSL<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">