{"title":"Applying Weighted Finite State Machines to Protocol Performance Analysis","authors":"Catalin Ionescu, Eleni Berki, J. Nummenmaa","doi":"10.1109/SEEFM.2009.16","DOIUrl":"https://doi.org/10.1109/SEEFM.2009.16","url":null,"abstract":"This work proposes the use of a weighted Finite State Machine to serve as a computational model for analyzing the performance of communication protocols. The new model’s use is demonstrated by concentrating on web-based services, Internet level-5 protocols in particular, because when the latter are ported onto mobile handsets, fail to meet performance expectations. The same modeling technique can also be used for lower layers, and for other communication protocols. Utilizing the new model, this work analyzes one of the most important use cases found in the agenda of the Internet Engineering Task Force, that of presence. More specifically, the new model is used in the measurement of the Session Initiation Protocol for Instant Messaging and Presence Leveraging Extensions protocol suite performance in two different scenarios. Investing on the application of the new model the paper outlines the benefits of using Presence Event Packages for Session Initiation Protocol in the analysis and enhancement of performance. Mathematical rigor and modeling accuracy improve the precision of protocol performance evaluation and offer an improved understanding on the way various web-based services function.","PeriodicalId":364232,"journal":{"name":"2009 Fourth South-East European Workshop on Formal Methods","volume":"8 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2009-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114902498","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Protocol-Based Testing of Firewalls","authors":"Tugkan Tuglular, F. Belli","doi":"10.1109/SEEFM.2009.14","DOIUrl":"https://doi.org/10.1109/SEEFM.2009.14","url":null,"abstract":"A firewall is the most important tool of network security defense. Its proper functioning is critical to the network it protects. Therefore a firewall should be tested rigorously with respect to its implemented network protocols and security policy specification. We propose a combined approach for test case generation to uncover errors both in firewall software and in its configuration. In the proposed approach, abstract test cases are generated by mutating event sequence graph model of chosen network protocol and filled with values from policy specification by using equivalence partitioning and boundary value analysis. A case study is presented to validate the presented approach.","PeriodicalId":364232,"journal":{"name":"2009 Fourth South-East European Workshop on Formal Methods","volume":"56 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2009-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129457999","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Mouhamed Redha Bahri, A. Hettab, A. Chaoui, E. Kerkouche
{"title":"Transforming Mobile UML Statecharts Models to Nested Nets Models Using Graph Grammars: An Approach for Modeling and Analysis of Mobile Agent-Based Software Systems","authors":"Mouhamed Redha Bahri, A. Hettab, A. Chaoui, E. Kerkouche","doi":"10.1109/SEEFM.2009.21","DOIUrl":"https://doi.org/10.1109/SEEFM.2009.21","url":null,"abstract":"The Unified Modelling Language (UML) is a language for the specification, visualization, and documentation of object-oriented software systems. M-UML is an extension of UML that deals with the mobility requirements needed for modelling mobile agent-based software systems. In this paper we propose an approach for transforming mobile UML Statechart diagrams to Nested nets models for analysis purpose. It produces highly-structured, graphical, and rigorously-analyzable models that facilitates early detection of errors like deadlock, livelock, etc … The approach is based on graph transformation since the input and output of the transformation process are graphs. The meta-modeling tool ATOM3 is used. An example illustrates our approach.","PeriodicalId":364232,"journal":{"name":"2009 Fourth South-East European Workshop on Formal Methods","volume":"28 3 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2009-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129262474","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"A Framework for Testing Semantic Web Services Using Model Checking","authors":"Muhammad Shaban, G. Dobbie, Jing Sun","doi":"10.1109/SEEFM.2009.11","DOIUrl":"https://doi.org/10.1109/SEEFM.2009.11","url":null,"abstract":"Web Services (WS), which are based on standard XML protocols, such as, WSDL, SOAP and UDDI, are the building blocks of Service Oriented Architecture (SOA). The aim of SOA is to automate web service tasks, such as, web service discovery, selection, composition and execution. Since XML is a syntax-based language, the automation of these tasks is still a challenge. To overcome this, web services can be described semantically using an ontology description language, e.g., Web Ontology Language (OWL), giving rise to semantic web services (SWS). Because semantic web services are relatively new, there has been little research into testing and quality assurance aspects. In this paper, we propose a novel approach for generating test cases based on user requirements for testing semantic web services. In SWS frameworks, such as, Web Service Modelling Ontology (WSMO), the user requirements are presented as a goal specification in terms of a state model. We use a model checking approach to generate test cases from this state model. To achieve this, we represent a set of rules for translation from a goal specification to a formal B abstract state machine. The B representation of the goal specification is given as input to the model checker to generate concrete test cases using the assertion violation property of the model checker. Finally, the proposed framework is evaluated using a real world case study based on, the Amazon E-commerce Service.","PeriodicalId":364232,"journal":{"name":"2009 Fourth South-East European Workshop on Formal Methods","volume":"50 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2009-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127099344","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Formal Visual Modelling of Human Agents in Service Oriented Systems","authors":"Adwoa Donyina, R. Heckel","doi":"10.1109/SEEFM.2009.17","DOIUrl":"https://doi.org/10.1109/SEEFM.2009.17","url":null,"abstract":"When the level of granularity of services approaches that of business activities, humans become part of a service-oriented system not just as users but as providers of services. A model of such a system has to take into account the characteristics of human actors as service providers. Conversely, in the world of agent-based systems, software components have been attributed with human properties such as reactivity, autonomy and proactivity. We believe that modelling techniques developed for software agents are a valid starting point for specifying human agents in service-oriented systems (HASOS). In particular, we extend UML use case and class diagrams by concepts of role based access control (RBAC) and use graph transformation (GT) rules to model changes to data as well as the dynamic (re-)assignment of roles played by human actors. From these models we can derive specifications of the services required systematically in terms of pre- and post-conditions as well as communication scenarios modelling their interactions. We use the formal framework provided by GT to formalize consistency relations between the different parts of these models. The technique will be demonstrated with the use of a pharmacy scenario.","PeriodicalId":364232,"journal":{"name":"2009 Fourth South-East European Workshop on Formal Methods","volume":"28 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2009-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"134538872","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Exploring Games as Formal Models","authors":"Timo Nummenmaa, Eleni Berki, T. Mikkonen","doi":"10.1109/SEEFM.2009.15","DOIUrl":"https://doi.org/10.1109/SEEFM.2009.15","url":null,"abstract":"Computer games have become increasingly complex. Modern game specifications need to accommodate many detailed design documents, which results in increasing complexity. Complex games are difficult to understand, maintain and update, but their software cannot be extensively functional, as this might confuse the player. Consequently, game developers can benefit from following precise guidelines to design games for players. Formal methods can provide a suitable specification environment to formalize static and dynamic game aspects and realistically model game rules and events. At a higher level of abstraction, a formal game model can provide understandability and communication of the activities within a development process.","PeriodicalId":364232,"journal":{"name":"2009 Fourth South-East European Workshop on Formal Methods","volume":"122 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2009-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128137482","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Secure Service Composition with Symbolic Effects","authors":"Gabriele Costa, P. Degano, F. Martinelli","doi":"10.1109/SEEFM.2009.13","DOIUrl":"https://doi.org/10.1109/SEEFM.2009.13","url":null,"abstract":"Local policies represent security properties that are applied to (parts of) programs or services. They are amenable for developers since they provide for a full compositionality (through scope nesting), for a simple, automaton-like structure and for a direct enforcing through a corresponding execution monitor. Compliance w.r.t. local policies is statically verified against a safe over-approximation of all the possible execution traces, namely a history expression. Given a service, a safe type and effect system extracts a history expression, from which a viable composition plan can be automatically produced. Viable plans drive executions that never rise policy exceptions. Our main contribution consists in defining a type and effect system that also deals with open systems. Weextend the syntax of a service-oriented version of the lambda-calculus, namely lambda-req, with resources and external branching operators. Then, we safely over-approximate the possible run-time behaviour of services collecting partial information on the relationship between the program flow and the actual resources. Indeed, the history expressions obtained in this way are compact, rather accurate and able to derive viable plansin most cases.","PeriodicalId":364232,"journal":{"name":"2009 Fourth South-East European Workshop on Formal Methods","volume":"34 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2009-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129111085","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Local Enforceability and Inconsumable Messages in Choreography Models","authors":"V. Kozyura, A. Roth, Wei Wei","doi":"10.1109/SEEFM.2009.12","DOIUrl":"https://doi.org/10.1109/SEEFM.2009.12","url":null,"abstract":"Choreography models describe the communication protocols between services. Every choreography model can be considered either from a global or from a local point of view. The global model specifies a high-level view of the conversation between service components, and can be considered as being interpreted from an observer point of view. The local model is derived from the global model, and specifies the communication-relevant behavior of each component. The connection between global and local models is achieved differently by connecting observing steps with either the send steps or with the receive steps. The consistency of the global model and the local model can be assured by the local enforceability property: any behavior that the local model permits is also possible to observe in the global model. Another important property of choreography models requires the absence of inconsumable messages, i.e., any messages ready to be received may always be received. In this paper, we study the relations between local enforceability and inconsumable messages in case that the local model is obtained from the global model without modification or further constraints. As a part of the conclusions, we show that if a choreography model is free of inconsumable messages, it is also local enforceable no matter how the global model is connected with the local one. This is a desired result because the mechanical checking ofinconsumable messages is much more efficient than that of local enforceability. In case of finite state systems one can check the absence of inconsumable messages in a linear time in the size of the local model, whereas checking local enforceability has an exponential complexity.","PeriodicalId":364232,"journal":{"name":"2009 Fourth South-East European Workshop on Formal Methods","volume":"220 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2009-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124343667","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
R. Elmansouri, A. Chaoui, E. Kerkouche, Khaled Khalfaoui
{"title":"From UML Statecharts and Collaboration Diagrams to Coloured Petri Nets Models: A Graph Transformation Based Approach for Modelling and Analysis of Business Processes in Virtual Enterprises","authors":"R. Elmansouri, A. Chaoui, E. Kerkouche, Khaled Khalfaoui","doi":"10.1109/SEEFM.2009.20","DOIUrl":"https://doi.org/10.1109/SEEFM.2009.20","url":null,"abstract":"Virtual Enterprises can be considered as one of the most promising paradigms for future enterprises. The main characteristics of Virtual Enterprises are the distributed and parallel business process execution. UML is considered nowadays as the standardized language for object oriented modeling. However, UML needs a well-defined semantic base for its notation. Petri nets (PNs) are a formal and graphical language appropriate for systems modelling and analysis. Coloured Petri Nets (CPN) are a high level PNs formalism in which tokens are not simply blank markers, but have data associated with them. In this paper we propose an approach for business processes in Virtual Enterprises based on an integration of UML and CPN (Colored Petri Nets). UML is used for modeling and CPN formalism is used for analyzing the design prior to full system implementation. Since UML diagrams and CPN models are both graphs, the mapping between UML Diagrams and CPN models is performed automatically using graph transformation. We have used the ATOM3 tool. The proposed approach follows the Unified Process life cycle.","PeriodicalId":364232,"journal":{"name":"2009 Fourth South-East European Workshop on Formal Methods","volume":"66 2 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2009-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131640587","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
K. Barlas, G. Koletsos, P. Stefaneas, Iakovos Ouranos
{"title":"From ASN.1 into CafeOBJ: Some First Steps","authors":"K. Barlas, G. Koletsos, P. Stefaneas, Iakovos Ouranos","doi":"10.1109/SEEFM.2009.9","DOIUrl":"https://doi.org/10.1109/SEEFM.2009.9","url":null,"abstract":"Abstract Syntax Notation One (ASN.1) is a very popular specification language with many applications in networking. We work towards the correct translation from ASN.1, into the powerful algebraic specification language CafeOBJ. Our aim is to create a software environment that can translate correctly a protocol's specification written in ASN.1 into the powerful algebraic specification language CafeOBJ. We believe that such an environment would be a step towards the adoption of algebraic specification methodologies from the networking research community. This formal translation will allow the verification of system-critical properties of the designed protocol at the pre-coding stage of development. The software environment will make full use of the huge ASN.1 specification library and the powerful proving engine of CafeOBJ. In our paper we first introduce the key elements of both ASN.1 and CafeOBJ, and then we sketch our proposed translation rules and suggest a methodology for proving correctness. Finally, as a case study we translate an ASN.1 specification of a basic banking system into CafeOBJ and then use the resulting modules to find and verify some system-critical properties.","PeriodicalId":364232,"journal":{"name":"2009 Fourth South-East European Workshop on Formal Methods","volume":"17 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2009-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115524706","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}