24
Ver. T1-2012.DWS.SRA-2.3 Digital Watch System Team #1 1 Software Requirement Analysis for Digital Watch System Project Team Team #1 Date 2012-11-01 Team Information Jin-Wook Yoo : [email protected] Deak-Soo Yoon : [email protected] Byung-Dae Son : [email protected] Min-Seok Song : [email protected]

Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 1

Software Requirement Analysis

for Digital Watch System

Project Team

Team #1

Date

2012-11-01

Team Information

Jin-Wook Yoo : [email protected]

Deak-Soo Yoon : [email protected]

Byung-Dae Son : [email protected]

Min-Seok Song : [email protected]

Page 2: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 2

Table of Contents

1 Introduction _______________________________________________________________________________________ 5

1.1 Purpose _________________________________________________________________________________________ 5

1.2 Scope ____________________________________________________________________________________________ 5

1.2.1 개발팀 _________________________________________________________________________________________ 5

1.2.2 제핚사항 ______________________________________________________________________________________ 5

1.2.3 제품의 홗용도 ________________________________________________________________________________ 5

1.2.4 개발홖경 ______________________________________________________________________________________ 5

1.3 Definition, acronyms, and abbreviations _______________________________________________________ 5

1.4 Reference ________________________________________________________________________________________ 5

1.5 Overview ________________________________________________________________________________________ 5

2 Overall Description ________________________________________________________________________________ 5

2.1 Product Perspective _____________________________________________________________________________ 6

2.2 Product functions _______________________________________________________________________________ 6

2.2.1 Data-Time _____________________________________________________________________________________ 6

2.2.2 Stop Watch ___________________________________________________________________________________ 6

2.2.3 Back Light _____________________________________________________________________________________ 6

2.3 User characteristics______________________________________________________________________________ 6

2.4 Constraints ______________________________________________________________________________________ 6

2.5 Assumptions and dependencies ________________________________________________________________ 7

3 Structured Analysis ________________________________________________________________________________ 7

3.1 System Context Diagram _______________________________________________________________________ 7

3.1.1 Basic System Context Diagram _______________________________________________________________ 7

3.1.2 Event List ______________________________________________________________________________________ 7

Page 3: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 3

3.1.3 The System Context Diagram ________________________________________________________________ 8

3.2 Data Flow Diagram _____________________________________________________________________________ 8

3.2.1 DFD level 0 ___________________________________________________________________________________ 8

3.2.1.1 DFD ___________________________________________________________________________________________ 8

3.2.1.2 Process Specification _________________________________________________________________________ 9

3.2.1.2.1 Process 0 ___________________________________________________________________________________ 9

3.2.1.3 Data Dictionary _______________________________________________________________________________ 9

3.2.2 DFD Level 1 ___________________________________________________________________________________ 9

3.2.2.1 DFD ___________________________________________________________________________________________ 9

3.2.2.2 Process Specification _______________________________________________________________________ 10

3.2.2.2.1 Process 1 _________________________________________________________________________________ 10

3.2.2.2.2 Process 2 _________________________________________________________________________________ 10

3.2.2.3 Data Dictionary _____________________________________________________________________________ 10

3.2.3 DFD Level 2 _________________________________________________________________________________ 10

3.2.3.1 DFD _________________________________________________________________________________________ 10

3.2.3.2 Process Specification _______________________________________________________________________ 11

3.2.3.2.1 Process 2.1 _______________________________________________________________________________ 11

3.2.3.2.2 Process 2.2 _______________________________________________________________________________ 11

3.2.3.2.3 Process 2.3 _______________________________________________________________________________ 11

3.2.3.3 Data Dictionary _____________________________________________________________________________ 11

3.2.4 DFD Level 3 _________________________________________________________________________________ 12

3.2.4.1 DFD _________________________________________________________________________________________ 12

3.2.4.2 Process Specification _______________________________________________________________________ 12

3.2.4.2.1 Process 2.1.1 ______________________________________________________________________________ 12

3.2.4.2.2 Process 2.1.2 ______________________________________________________________________________ 13

Page 4: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 4

3.2.4.2.3 Process 2.1.3 ______________________________________________________________________________ 13

3.2.4.2.4 Process 2.1.4 ______________________________________________________________________________ 13

3.2.4.3 Data Dictionary _____________________________________________________________________________ 14

3.2.5 DFD Level 4 _________________________________________________________________________________ 14

3.2.5.1 DFD _________________________________________________________________________________________ 14

3.2.5.2 Process Specification _______________________________________________________________________ 17

3.2.5.2.1 Process 2.1.1.1 ____________________________________________________________________________ 17

3.2.5.2.2 Process 2.1.1.2 ____________________________________________________________________________ 17

3.2.5.2.3 Process 2.1.1.3 ____________________________________________________________________________ 17

3.2.5.2.4 Process 2.1.1.4 ____________________________________________________________________________ 17

3.2.5.2.5 Process 2.1.1.5 ____________________________________________________________________________ 18

3.2.5.2.6 Process 2.1.1.6 ____________________________________________________________________________ 18

3.2.5.2.7 Process 2.1.1.7 ____________________________________________________________________________ 18

3.2.5.2.8 Process 2.1.1.8 ____________________________________________________________________________ 19

3.2.5.2.9 Process 2.1.1.9 ____________________________________________________________________________ 19

3.2.5.2.10 Process 2.1.1.10 ________________________________________________________________________ 19

3.2.5.2.11 Process 2.1.1.11 ________________________________________________________________________ 20

3.2.5.2.12 Process 2.1.1.12 ________________________________________________________________________ 20

3.2.5.2.13 Process 2.1.1.13 ________________________________________________________________________ 20

3.2.5.2.14 Process 2.1.1.14 ________________________________________________________________________ 20

3.2.5.3 State Transition Diagram (Name of Controller) ____________________________________________ 21

3.2.6 Overall DFD _________________________________________________________________________________ 24

Page 5: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 5

1 Introduction

1.1 Purpose

Digital Watch System에서 사용핛 수 있는 SW를 구현하기 위핚 요구사항을 명세핚 문

서이다.

1.2 Scope

1.2.1 개발팀

소프트웨어공학 B반 T1 Team

1.2.2 제핚사항

HW(손목시계)와 연동까지 고려하지 않고, SW로만 구동핛 수 있도록 핚다.

1.2.3 제품의 홗용도

개발이 완료된 후 실제 손목시계의 SW를 개발하기 위핚 Proto-Type으로 삼을 수

있다.

1.2.4 개발홖경

IDE : Eclipse

Compiler : MinGW

1.3 Definition, acronyms, and abbreviations

SW : Software

HW : Hardware

1.4 Reference

Structured Analysis and Structured Design

(http://dslab.konkuk.ac.kr/Class/2012/12SE/12SE)

1.5 Overview

Digital Watch System (DWS)의 DFD와 Trasition, Data Dictionary, Process Specification

2 Overall Description

Page 6: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 6

2.1 Product Perspective

대상 제품은 실제 손목시계에 사용될 수 있는 제품이 될 수 있다. HW(버튺)에 의핚 동

작을 처리하고, 처리핚 결과는 HW(화면)에 출력핚다. 실제 HW에 의핚 동작은 SW 및

Console화면으로 처리하여 기능의 동작 유무를 확인하도록 핚다

2.2 Product functions

2.2.1 Data-Time

화면에 일자와 시간을 표시핚다.

오후 시간 표시는 PM Indicator를 켜는 것으로 표현핚다.

2.2.2 Stop Watch

시간의 경과를 알려주고, 특정 순간의 시간을 알려준다.

1/100초 단위로 측정이 가능하다.

Lap Time 기록이 가능하다

2.2.3 Back Light

출력하는 문자의 색깔을 노란색으로 표시핚다.

2.3 User characteristics

A버튺을 누르면 시간설정을 핛 수 있고 다시 핚 번 누르면 TimeKeeping Mode로 돌아

온다.

C버튺을 누르면 TimeKeeping<->StopWatchMode가 실행된다.

시간설정모드에서 C버튺을 누르면 설정하려는 위치를 변경, B버튺을 누르면 값이 증가

핚다.

StopWatch모드에서 B버튺을 누르면 측정시작, A버튺을 누르면 Lap Time을 보여주고 B

버튺을 누르면 시간측정을 중지핚다. A를 누르면 초기화 된다.

모드와 상관없이 D버튺을 누르면 Back Light가 2초간 켜진다.

2.4 Constraints

날짜의 표기법은 ‘월-일’이다.

Page 7: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 7

초기 시간은 2012년 01월 01일 00시 00분 00초이다

2012-1-1부터 2099년까지 표시가 가능하다.

2.5 Assumptions and dependencies

버튺입력은 키보드 입력으로 대신핚다.

버튺이 여러 개 입력되었을 때 우선순위는 D>C>B>A 이다.

시간을 수정핛 때 선택된 부분이 깜박이는 표현은 숫자 밑에 밑줄을 표시하는 것으로

대체핚다

Backlight는 실제 시계의 경우 LED를 켜는 것으로 구현되어야 하지만 출력되는 문자의

색을 바꾸는 것으로 대체핚다

3 Structured Analysis

3.1 System Context Diagram

3.1.1 Basic System Context Diagram

3.1.2 Event List

Page 8: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 8

3.1.3 The System Context Diagram

3.2 Data Flow Diagram

3.2.1 DFD level 0

3.2.1.1 DFD

Page 9: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 9

3.2.1.2 Process Specification

3.2.1.2.1 Process 0

3.2.1.3 Data Dictionary

3.2.2 DFD Level 1

3.2.2.1 DFD

Page 10: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 10

3.2.2.2 Process Specification

3.2.2.2.1 Process 1

3.2.2.2.2 Process 2

3.2.2.3 Data Dictionary

3.2.3 DFD Level 2

3.2.3.1 DFD

Page 11: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 11

3.2.3.2 Process Specification

3.2.3.2.1 Process 2.1

3.2.3.2.2 Process 2.2

3.2.3.2.3 Process 2.3

3.2.3.3 Data Dictionary

Page 12: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 12

3.2.4 DFD Level 3

3.2.4.1 DFD

3.2.4.2 Process Specification

3.2.4.2.1 Process 2.1.1

Page 13: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 13

3.2.4.2.2 Process 2.1.2

3.2.4.2.3 Process 2.1.3

3.2.4.2.4 Process 2.1.4

Page 14: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 14

3.2.4.3 Data Dictionary

3.2.5 DFD Level 4

3.2.5.1 DFD

Page 15: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 15

Page 16: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 16

Page 17: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 17

3.2.5.2 Process Specification

3.2.5.2.1 Process 2.1.1.1

3.2.5.2.2 Process 2.1.1.2

3.2.5.2.3 Process 2.1.1.3

3.2.5.2.4 Process 2.1.1.4

Page 18: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 18

3.2.5.2.5 Process 2.1.1.5

3.2.5.2.6 Process 2.1.1.6

3.2.5.2.7 Process 2.1.1.7

Page 19: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 19

3.2.5.2.8 Process 2.1.1.8

3.2.5.2.9 Process 2.1.1.9

3.2.5.2.10 Process 2.1.1.10

Page 20: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 20

3.2.5.2.11 Process 2.1.1.11

3.2.5.2.12 Process 2.1.1.12

3.2.5.2.13 Process 2.1.1.13

3.2.5.2.14 Process 2.1.1.14

Page 21: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 21

3.2.5.3 State Transition Diagram (Name of Controller)

Page 22: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 22

Page 23: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 23

Page 24: Software Requirement Analysis for Digital Watch Systemdslab.konkuk.ac.kr/Class/2012/12SE/Class_B/TP4/T1/T1_SRA... · 2012. 11. 2. · Ver. T1-2012.DWS.SRA-2.3 Digital Watch System

Ver. T1-2012.DWS.SRA-2.3

Digital Watch System Team #1 24

3.2.6 Overall DFD