Friday, August 3, 2018

Event/Message-Based Systems


Figure 1.0 Microservices Architecture for Event/Message-Based Systems. Each microservice persists data directly to its Cassandra keyspace.




Figure 2.0 Microservices Architecture for Event/Message-Based Systems. Each microservice persists data to the persistent microservice via delegate microservice using queue.


This is a generic Microservices Architecture that is useful for Event or Message-Based Systems that need to collect, monitor, control, and share data in a centralized location such as the Command and Control Center in the military, Airline Controller and Operations Center, Train/Bus Operations Center, or any type of business that has various heterogeneous/disparate systems that need to share information between them and/or need a centralized place to control, analyze, and process the information. 

The Input or Upstream systems provide various data to the Pull Microservices.  The Pull Microservices do the validation check, conversion, business processing, and then persist into Cassandra database keyspace. Some services may also forward data to the Delegate Microservices.

The Pull Microservices read data from the Cassandra database and forward to the Output or Downstream Systems. Some Microservices also read, process, and store data into Big Data Hadoop for the Artificial Intelligence System to process.

Other external interactive systems invoke microservices to get and process data.






Figure 3.0 Architecture for Artificial Intelligence/Machine Learning System



Figure 4.0 Architecture for Artificial Intelligence/Machine Learning System with Administration


This is a high level architecture diagram showing the key significances of an Artificial Intelligence (AI) System that searches, processes, and learns the vast data from Big Data and ingested data from other sources.

The search engine uses various search techniques based on the data and other criteria. Inference Engine is based on facts and rules which are provided by the Rule Engine and Knowledge Engine. The Rule Engine contains all rules initially defined by human and added by the AI. The Knowledge Engine contains all facts.  The Defined Facts are specified and provided by human.

The Learned Facts are added by the AI for all previous derived facts.  The Derived Facts are facts based on the current available data and search results and will add to Learned Facts later.  The Learned Facts will be updated and removed based on the vast available data periodically. For example, a fact that is true a year ago based on its data at that time may not be true today.






Friday, January 26, 2018

Smart-Intercontinental Ballistic Missile (S-ICBM)

Introduction

I have zero knowledge about ICBM and the military. I do have a strong background in computer and technology.  For the fun of it, I try ICBM and this is the first document about Smart-Intercontinental Ballistic Missile (S-ICBM) from the view of technology and computer perspectives.  ICBM, in my IT envision, it can carry a single warhead, multiple warheads, or clustered warheads depending on the target(s).




Figure 1.0 Simple and high level view of S-ICBM and its various strategic C3 with other entities working together coherently for target acquisition, target (re)assignment, launching, monitoring, and management.



Entity Capability

The S-ICBM is connected to GPS enabling it to know its location throughout its flight.  It also has a wireless communication to Satellite to provide its current GPS location and allows C3 and others to monitor, control, and set a new target depending on the emerging threats and new target acquisition in real time.

The Satellites provide the mean of communication between S-ICBM, Command Control Center (C3), Battleships, Submarines, and Fighter Jet Pilots. They all have GPS devices and know their respective locations and can share information and see the same information at the same time.

Smart ICBM

In order for an ICBM to be able to defend itself from emerging threats, it needs to be smart in changing route, launching defensive attack, creating confusion, like flare, and escaping toward the intended target. This is the S-ICBM. Otherwise, it would be a dumb ICBM which is defenseless when it enters hostile space. The target is initially set before launch and allowed to re-set while in flight.

Warhead

ICBM could have multiple configurations to carry various sizes of warhead. It could carry one, multiple (up to 4), or clustered warheads depending on the targets. All ICBMs have great devastating results and consequences. A single warhead would have a big centralized impact and the damaged boundary is limited with a certain range. With clustered warheads, there would be a lot of small uncentralized impacts but the damaged boundary would be bigger.

Command Control Center (C3)

C3 would need to have state of the art tools and technologies such as Artificial Intelligence (AI), Big Data Storage, Heuristic Search, Rule Engine, Rules, Facts, Reasoning, Security, powerful physical servers, and etc.

Computer hardware and software

ICBM would need to have a hardware to deploy software and hardware device drivers for GPS, wireless communication, sensors, and navigation. One of the key functionality of the software is to be able to send its current target location and allow it to set to new location after authentication and authorization are completed.

I have created a plain simple microservice using Java and Spring Boot and its source code is located in GitHub https://github.com/RichardVYang/ICBM-Microservice-1.


It stores the target GPS location. It provides RESTful APIs to get and set target location.  Encryption, authentication, and authorization are left out for customization.


Conclusion

As I mentioned in the introduction section, this is for fun and it will not be applicable to the military or defense. However, I believe that powerful/fast computer, Artificial Intelligence, Machine Learning, completed data gathering, fast searching key information from big structured and unstructured data storage and processing, and providing reliable key information to human to manage risk, and take plausible and sensible action is critical for success and winning for military as well as for business.

Event/Message-Based Systems