tailieunhanh - Lecture Software engineering (7/e): Chapter 15 – Ian Sommerville

This chapter presents the following content: To explain the concept of a real-time system and why these systems are usually implemented as concurrent processes, to describe a design process for real-time systems, to explain the role of a real-time operating system, to introduce generic process architectures for monitoring and control and data acquisition systems. | Real-time Software Design Objectives To explain the concept of a real-time system and why these systems are usually implemented as concurrent processes To describe a design process for real-time systems To explain the role of a real-time operating system To introduce generic process architectures for monitoring and control and data acquisition systems Topics covered System design Real-time operating systems Monitoring and control systems Data acquisition systems Real-time systems Systems which monitor and control their environment. Inevitably associated with hardware devices Sensors: Collect data from the system environment; Actuators: Change (in some way) the system's environment; Time is critical. Real-time systems MUST respond within specified times. Definition A real-time system is a software system where the correct functioning of the system depends on the results produced by the system and the time at which these results are produced. A soft real-time system is a system whose | Real-time Software Design Objectives To explain the concept of a real-time system and why these systems are usually implemented as concurrent processes To describe a design process for real-time systems To explain the role of a real-time operating system To introduce generic process architectures for monitoring and control and data acquisition systems Topics covered System design Real-time operating systems Monitoring and control systems Data acquisition systems Real-time systems Systems which monitor and control their environment. Inevitably associated with hardware devices Sensors: Collect data from the system environment; Actuators: Change (in some way) the system's environment; Time is critical. Real-time systems MUST respond within specified times. Definition A real-time system is a software system where the correct functioning of the system depends on the results produced by the system and the time at which these results are produced. A soft real-time system is a system whose operation is degraded if results are not produced according to the specified timing requirements. A hard real-time system is a system whose operation is incorrect if results are not produced according to the timing specification. Stimulus/Response Systems Given a stimulus, the system must produce a response within a specified time. Periodic stimuli. Stimuli which occur at predictable time intervals For example, a temperature sensor may be polled 10 times per second. Aperiodic stimuli. Stimuli which occur at unpredictable times For example, a system power failure may trigger an interrupt which must be processed by the system. Architectural considerations Because of the need to respond to timing demands made by different stimuli/responses, the system architecture must allow for fast switching between stimulus handlers. Timing demands of different stimuli are different so a simple sequential loop is not usually adequate. Real-time systems are therefore usually designed as cooperating

crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.