1 / 8

Connectors/Design

Connectors/Design. Sept 17 AOSA mini-presentations start 5 min max, 2 speaker max Cover context, arch. decisions, important qualities. Email for TAs is updated on web page. Review questions. In this diagram, what are the connectors, the components, and the configuration?. Review .

dian
Télécharger la présentation

Connectors/Design

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Connectors/Design

  2. Sept 17 AOSA mini-presentations start • 5 min max, 2 speaker max • Cover context, arch. decisions, important qualities. • Email for TAs is updated on web page.

  3. Review questions • In this diagram, what are the connectors, the components, and the configuration?

  4. Review • In the KWIC problem we talked about, what is the main disadvantage of the shared-data architecture?

  5. Design challenge • You are the architects at a new car company. Design an architecture that will solve the following cruise control problem: • When the system is active, determine the desired speed and control the engine throttle setting to maintain that speed. When the brake is applied, relinquish speed control until told to resume. • Draw up a simple component diagram that shows how this arch might look Sources: Booch, 1986 TSE, Shaw, 1995, ToSEM

  6. Solution: Functional • Break the system into functional modules: Problem: changes in one function affect the others.

  7. Solution: OOP • Each module denotes an object from the problem space. • Then, assign responsibility in the form of data and operations to each object. • Easier to abstract system, compose with other subsystem (steering) • But, is this the best abstraction for the CC problem? E.g., how do we know what sequence of events has to happen?

  8. Solution: Process control • Use a control view of the problem • Emphasize the interdependence with physical sensors and elements (fuel quality, road quality. • A methodology that helps identify critical design decisions: how many sensors, how many controllers, safety concerns, etc. • Provide for modifications like adaptive CC and more processors.

More Related