21 Ağustos 2020 Cuma

Yazılım Mimarisindeki Genel Kabiliyetler - Sistemin Mod ve Durumunun Yönetilmesi (Mode and State)

Giriş
Sistemin Mod ve Durumunun Yönetilmesi konusu genellikle sistem açıldıktan sonra ele alınan bir şey.

Sistemin Mod ve Durumunun Çıkartılması
Sistem mühendisliğindeki en önemli aşamalardan bir tanesidir. Bakış açısını, gereksinim yazımını, test aşamasını ve bir sürü şeyi daha etkiler.

1. Sistemin Mod ve Durumunun Yönetilmesi (Mode and State)
Sistemler bir çok bileşenden oluşurlar. Her bir bileşenin mod ve durumunu sorgulayarak, tüm sistemin mod ve durumunu ilan eden "yönetici" bir yazılım parçasına sahip olmak, bizi iyi bir tasarıma götürür.

1.1 Modlar
Aslında mod ve state kelimeleri sanki aynı şeyi ifade ediyor gibi görünebilir. Bunun için tanımlarını ortaya koymak lazım. Bir açıklama şöyle
"Mode" is slightly more likely to imply states that the user put the device into, and that the user must take the device out of. Whereas "states" aren't as likely to imply that the user put the devices into that state or that the user is responsible for taking the device out of that state; the software or hardware is more likely to put itself into different states.
Bir başka açıklama şöyle
Mode is really an option allowing a change in the method of operation of a device. State is an noun which expresses the current status (or condition) of something which can sometimes be affected by the mode of a device.
Sistem modların aşağıda bazı örnekler görülebilir.
- Sleep Mode
- Deep Sleep Mode
İşlemcilerde "modes of operations" vardır. User mode'da çalışan yazılım bazı işlemleri yapamaz.

1.2 Stateler
Sistem statelerine aşağıda bazı örnekler görülebilir.
- Çalışıyor (Operational),
- Kısıtlı Çalışıyor (Degraded)
- Standby (Beklemede),
- Failed (Arızalı),
- Kapalı (Off)
Sistem statelerine aşağıda bazı örnekler görülebilir.
- Listen State
- Transmit State
- Reception State

1.2 Standby

Standby için bir örnek şöyle olabilir. Sistem açılmıştır ancak konfigürasyon dosyasında bir problem vardır. Bunun düzeltilmesini bekliyordur.

1.3 Supervisor Yazılım
Supervisor Yazılım yazısına taşıdım


Hiç yorum yok:

Yorum Gönder