Giter Site home page Giter Site logo

gsm-network-simulator's Introduction

gsm-network-simulator

Desktop app that simulates workings of a GSM network.

About

This repo showcases my GSM network simulation project I did as one of my Java class assignments.

How it works

It's a simple chain of communication, where messages traverse through layers of different network elements:

VBD > BTS > BSC > ... > BSC > VRD

where:

  • VBD - source cellphone.
  • BTS - short-range cell tower.
  • BSC - long-range cell tower.
  • VRD - receiver cellphone.

Key rules

  • The unit receiving the message is always picked randomly (except for the VRD).
  • Towers pass messages with random delay, for BTS its [500, 3000] ms, for BSC [1000, 5000] ms.
  • If every tower in a layer has a message load > 5, a new one spawns.
  • The number of BSC tower layers depends on the user, but will always be >= 1.
  • If a BSC layer gets deleted by the user, every BSC in that layer passes its messages further with no delay.
  • If the end-point BTS can't find the receiving VRD (it got deleted by the user) an exception gets raised.

User action

The user may:

  • Add a VBD device, change its message sending frequency, deactivate, or remove it.
  • Add/remove BSC tower layers, extending or reducing the overall message travel time accordingly.
  • Add/remove VRD devices, choose whether their messages received counter should reset periodically.

Technology

The main purpose of this project was to practise multithreading, polymorphism and abstract classes. It's built in the Swing framework, and emphasises on a clear division between the program's GUI and internal logic modules.

Screenshots

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.