A Study on Real-Time Database Technology and Its Applications