Docsity

Towards Activity Subsystems for Change Services: Modal Logics & Layered Change Model Study, Lab Reports of Information Systems

Partial preview of the text

Download Towards Activity Subsystems for Change Services: Modal Logics & Layered Change Model Study and more Lab Reports Information Systems in PDF only on Docsity!

UNIVERSITY OF BUEA

Faculty of Science Department of Computer Science BACHELOR OF SCIENCE IN COMPUTER SCIENCE Project Report Towards Activities Subsystems for Change Services Implementation Bilong Stephane Alban SC16A Supervisor William S. Shu. PhD July 2019

i

DECLARATION

I hereby declare on my honor that this project report has been written by me, that to the best of my knowledge all borrowed ideas and materials have been duly acknowledge, and that it has not received any previous credit at this or any other institution.


Bilong Stephane Alban Sc16A Department of Computer Science Faculty of Science

iii

DEDICATION

This work is dedicated to my lovely and hardworking father, Mr. Bilong Guillaume, my mother, Mrs. Mandeng Therese, my four young brothers and sisters, Didier, Ivan, Milca and Magali; and, finally to God Almighty.

iv

ACKNOWLEDGEMENT

I would like to thank the following people for their help in the production and realization of this project: Dr. William Shu, my project supervisor, whose help and support throughout, in spite of his tight schedule, made this project possible. Tenku Noela, my classmate, whose advices on certain aspects were helpful. I am indebted to my family, my father, Mr. Bilong Guillaume and my mother, Mrs. Mandeng Therese, with their financial, moral and spiritual support during this period. I will like to acknowledge the material support I received from the friend of my mother, Mme. Nga. Also, I owe everything to God, the Almighty Father, who gave me strength and inspiration during the development of this project.

iivi

Table of Contents DECLARATION………………………………………………………………………………i CERTIFICATION ................................................................................................................ ii DEDICATION ..................................................................................................................... iii ACKNOWLEDGEMENT .................................................................................................... iv

  • Chapter ABSTRACT v
  • Introduction
    • 1.1 Background
    • 1.2 Problem statement
    • 1.3 Aim objectives
    • 1.4 Report Structure..........................................................................................................
  • Chapter
  • Analysis and Design
    • 2.1 System overview.........................................................................................................
    • 2.2 Project requirements
    • 2.3 System requirements
    • 2.4 Methodology
    • 2.5 Design…………………………………………………………………………………... - 2. 5 .1 Description of the Layered Subsystem for Change……………………………... - 2. 5 .2 Text-User Interface design……………………………………………………… - 2.5.3 Data Structure……………………………………………………………….…. - 2.5.4 Algorithm Design……………………………………………………………...
  • Chapter
  • Results and discussion
    • 3.1 Results
    • 3.2 Discussion - 3.2.1 Evaluation of the work
  • Chapter
  • Conclusion
  • References
  • Appendices
    • Appendix A Software package illustrations and information
      • A.1 Some Information…………………………………………………………………
      • A.2 Software installation and information
      • A. 3 How to use the system

1

Chapter 1

Introduction

The world today is rapidly changing every day; the population is changing, customer trends are changing, technology is changing and the economy is changing. My knowledge of change was too vague, how it was implemented in organizations and how they were managed. Every business mission is to provide a product or service and make money from that. Applying change to the product or service due to changes in decisions of stakeholders or customers’ needs, requires a good manipulation of information or data that will make the organization’s system to flow conveniently.

1. 1 Background

Most of the approaches that have been taken so far did not address change comprehensively due to a lack of theoretical and operational framework. Some of the motivations for doing this project include the following:

  • Bringing out a system that will provide a good comprehension and manipulation of change in an organization.
  • Using modal logics to bring out logical understanding of terms and expressions used frequently. The use of various modal logic gives a good manipulation of expressions in many contexts.
  • Structuring activities in order to see clearly their dependencies and their impacts in case of risks. We have talked about motives behind this project, let’s talk about my personal motives and a brief background on this work. Given my interest in logics and artificial intelligence, with this project I will be able to study the various modal logics that exist in building strong knowledge base systems, observe their difference and manipulate them in such a way that I can use the generic understanding of an

3

1. 4 Report Structure In Chapter 2, we are going to describe the analysis and design of the software, then display the requirements gathered, methodology and finally the design. Then in Chapter 3, we will describe the implementation and findings of the project, and further give a discussion on the results obtained by stating what happened and why. Finally, in Chapter 4, we conclude and provide recommendations (and suggestions) for future research/work.

4

Chapter 2

Analysis and Design

This chapter presents the requirements, the approach taken, the design of the model used and the algorithm used which solves our problem.

2. 1 System Overview The program developed does not have a graphical interface but a command interface to build the information system for change implementation. The program offers the possibility to first of all create dictionaries for Services, Activities, and Operations from information collected. These dictionaries serve as references in order to assign logical meanings to operations that will flow through the different layers of LSC model. For each dictionary, there is a menu that enables the user to choose which operation he/she wants to do, like; finding a service, getting a service, deleting some services from the dictionary developed. Next, the user can now proceed to the LSC program where, from a menu, he/she can display a dictionary created, define an operation and construct expressions for that operation that must be checked at each layer of the LSC model. Finally, a unique expression for an operation can be defined for the target layer or subsystem from which change must be applied. 2. 2 Project requirements We have the following requirements;

  • Good understanding of the various modal logics provided by the LSC model.
  • Extract the various activities relevant for change from a document and must hold expressions that reflects modal logics.
  • Provide an illustrative decomposition of the activities identified and their expressions in modal logic.
  • Formulate expectations on the activity’s subsystems.

6

i. Services: This section of the model shows the services that exist in an organization. For

each service, it is observed that, for change to be integrated there are certain functionalities described as subsystems to consider.

ii. Subsystems: This section represents in general, all the subsystems that can be found in an

organization. They are separated as layers to view how information flows across services and between the subsystems. An information or operation may enter a service layer and, in that layer, two or more subsystems need to interpret the information in a way that suit them and mostly in a way that each of them may process the information and exchange deliverables if need be. This must be done by following the same logical understanding of the information and as such produce an effective logical result.

iii. Edit operations: Capture and mechanically apply change in order to modify the structure

and functions of the organization. They mostly include operations like; add, cut, paste, delete, and cancel.

iv. Logic: The logic column gives the various modal logics that will serve to express the

given information (change) in a more formal and logical view for change implementation. They are describing the logical meaning that should be given to the information (change) that needs to be handled by the subsystems. Each subsystem has its own logical interpretation of an information. A labelled structure of the LSC model is illustrated in figure 1 below: Figure 1: A Layered Model for Change, Logics and Institution Services (c) Shu 2019

7

2. 5. 2 Text-User interface design In order to implement change, terms used must have appropriate descriptions that must be provided by the stakeholders of the organization because of their managerial status. Stakeholders have change management as part of them, following all the terms that need to be used at each level of the organization. Storing such terms that will be used later by technical people in order to manage specific tasks wherever the area of application, is necessary. The implementation of change must be done with the use of those terms. That is why, we have the following text-user interfaces: A. Text-User interface for Data Collection Data collection for this project is based on the notions of dictionaries. That is Figure 2: Snapshot of the Text-user interface for Data collection. It works as follows:

  1. Dictionary option : From the option, we can see that as we are concerned with institutions, the types of dictionaries we can form are: Service, Activity and Operation dictionaries. After choosing the type of dictionary you want to create, you need to precise the directory

9 modal logic to be applied. There can be a list of conditions or list of commands that can be made. As a result, we constitute the guarded operations for that activity.

  1. Execute operations : This is just a simulation. After configuring the interpretations of the change to be applied, at each layer, the change to be applied at the desired layer is ready to be set. Once we set the change, it encapsulates the different commands to be executed at each lower layer by making calls to lower layers of the model for making checks on the expression given. This can be observed on the figure below: Example: produceIDcard_d() applied on the Decision making layer (layer 5), assuming that the guarded operations has been configured. Figure 4 : Operation executed in an institution following the LSC model 2. 5 .3 Data Structure The data structure used to store the results of our analysis is given as the Dictionary data structure. This data structure stores information in the form of key-value pairs. The key plays the role of the identifier and the value is the information. Figure 5: Dictionary representation of a simple expression This data structure supports several operations like; retrieving a value from the key, insert or update a value from the key, remove a key-value pair, create a list of values from the same key and test for existence of a key. Key value

10

2. 5 .4 Algorithm Design The algorithm that follows this project is given as:

  1. Gather requirements according to the three main services from the LSC model. That is: change architecture, change service and institution service. These requirements to be collected must represent the changes that need to be applied to the institution.
  2. Identify stakeholders involved
  3. Set the change and describe them.
  4. Describe the change identified according to the following field: Operation ID: …. Viewpoint or stakeholder: …. Description: …. Precondition: …. Postcondition: ….
  5. Identify the type of modal logic of each change from their sentence in the text. This can be done by extracting specifications from the various requirements and as a result, obtain requirement specifications.
  6. Construct a mapped operation for the change according to its context and understanding. This is an example, Mapped operation Context Understanding produceId(stud,univ) Expressed obligation (deontic logic) Student must produce university id card
  7. Construct guarded operations for the change. This is done by assigning logical semantics to the change and construct hypothesis using Modal logic rules. As indicated by @Shu2019, Guarded commands for a given operation xxx are statements of the form: if canXxx() then doXxx(), or just doXxx() if canXxx() is assumed to be true; the command is ignored if canXxx() is false. For a given modal logic m 0 , it is interpreted as: if canXxx()_m 0 () then doXxx()_m 0 (). In other words, canXxx() determines the possibility and doXxx() determines the action to perform. As a result, we have the following syntactic forms:

12

Chapter 3

Results and Discussion

This chapter illustrates the results obtained from implementing the algorithm designed and a brief discussion on the results obtained. It also talks about some challenges encountered, how they were overcome and work that needs to be done ahead. 3.1 Results As a result, below we have a demonstration to illustrate the design above. For the demonstration purpose, on how to classify the requirements and to extract an activity relevant for change service implementation, we have the following text; “During the registration exercise for freshmen in the University of Buea, they are expected to report to the Admission and Records Office with their signed Form B, proof of payment of fees and signed health clearance for their University identity cards to be issued. The identity cards are valid for the duration of the program. It is imperative that students keep their cards in good condition and carry them at all times. Replacement cost in case of loss or destruction is 5.000F. Students whose ID cards have expired will be required to report to the Receipts Control Service with their expired cards, their copy of signed Form B, the original stamped “student’s copy” or bank receipt showing full payment of registration fees. For those who have lost their ID cards, they should present their signed Form B, the original stamped “student’s copy” or bank receipt showing full payment of registration fees and a receipt of payment of 5.000F from the Accounting Office for replacement.” Requirements classification According to Change architecture:

  1. Report to various office is done with specific documents.
  2. Freshmen are expected to be issued an ID card. According to Change services:
  3. An ID card must be kept in good conditions and carried at all times within the campus.

13

  1. Freshmen are expected to report to the Staff of the Admission and Records Office for their ID card to be issued.
  2. In case of loss or destruction, replacement cost is 5,000frs, paid at the Accounting Office.
  3. Students with expired ID card must report to the Staff of the Receipts Control Service with expired ID card.
  4. Students who have lost or destructed their ID cards must report to the Staff of the Receipts Control Service. According to Institution services:
  5. An ID card is valid for the duration of the program of a student.
  6. Freshmen or Students have to know the different documents they have to constitute before they report to an office for an issue.
  7. Report documents must be labelled to distinguish the report document needed to report to an office for a particular issue.
  8. The staff of an office collects the report documents and handle the required operations to fulfill the request made. Stakeholders involved: Freshmen, Student, Staff. Identifying modal logics expressions Words underlined represent modal logic indicators. These include: 1 - It is mandatory that freshmen are issued an ID card. This is to recognize the freshmen as part of the University. [deontic logic expression] 2 - A freshman must provide a report document to the Admission and Record office in order to produce his/her University ID card. If the report document is presented then the freshman is issued a University ID card. [deontic logic expression] 3 - It has always been that, University ID card is valid for the duration of the degree program of a student. If the degree program is not completed then the student’s University ID card is still valid else it is not valid. [temporal logic expression] 4 - It is necessary that the University ID card of a student is kept in good condition and carried at all times and mostly within the campus. If the University ID card is not carried within