software requirement analysis -...

Post on 12-Mar-2018

224 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Software Requirement Analysis Electronic Door Lock System

7 Team

200810773 차소익, 201011364 정광용

1

System Context Diagram

DL Controller Machine Sensor

Sub-machine

Closed Sensor Input Manual Lock Input Key Input Number Input Cover Input Lock

Alert Backlight

2

DFD Level 0

DL Controller

0 Lock/Unlock Key

Lock

Manual Lock

Closed Sensor

Number Button

Cover

Key Input

Timer

Alarm Request

Backlight Alert

3

Power Button

Power On

Machine Control

2

Intention Analyzer

1

Sub Machine Control

3

Lock

Alert

Backlight

Key Input

Alarm Request

Lock/Unlock Request

DFD Level 1

4

Power On

Password Initializer

4 Input Data

Request

Alarm

DFD Level 2

Number Input, Setup Order

Cover Input

Key Input

Closed Sensor Input

Manual Lock Input Manual Lock

Interface 1.2

Closed Sensor

Analyzer 1.1

Key Interface

1.3

Number Button

Analyzer 1.4

Cover Analyzer

1.5

Determine Lock/

Unlock 1.6

Determine Alert 1.7

Determine Backlight

1.8

Lock/Unlock Request Alarm

3sec Request

Alarm

10sec Request

Alarm

Alert Request

Backlight Request

10sec Request 5

DFD Level 2

Determine Lock/Unloc

k Lock/Unlock

Request

State Transition Diagram for Determine Lock/Unlock 1.6

!L && O / Unlock Request

!L && !O / No Action

L / Lock Request

6

DFD Level 2 State Transition Diagram for Determine Backlight 1.8

Determine Backlight

Backlight Request

On / Light On Request

!On && Off / Light Off Request

!On && !Off / No Action

7

DFD Level 2

Lock/ Unlock Control

2.1

Lock/Unlock Request

Unlock Interface

2.2

Lock Lock Interface

2.2

Unlock

8

DFD Level 2

Alert2 Interface

3.4

Alert2 Alert Request

Backlight Request

Alert Control

3.1

Alert1 Interface

3.3

Alert3 Interface

3.5

Alert1

Alert3

Alert2 Command

Back- light

Control3.2

Light On

Interface 3.6

Light Off

Interface 3.7

Light-on

Light-off 9

DFD Level 2

10

Input Filter 4.1

Power On

Key Input Alarm

Password Setup

4.2

Password Save 4.3

Light On

Alarm

Light Off

Back- Light On 4.5

Back- Light Off 4.6

Password Time over

4.4

Alert3

10sec Request

Alarm

DFD Level 2 State Transition Diagram for Input Filter 4.1

11

Input Filter

Key Input

On / PowerStatus = true

PowerStatus == true / Send Number Input

PowerStatus == false / Send Input Data(All)

Password Setup

DFD Level 2 State Transition Diagram for Password Record 4.2

12

Alarm

Password Record

Password Save

Number Input

NumberCount = 4 / Send Password PasswordCount = 0 Remove Record PowerStatus = false

NumberCount < 4 / Record Password PasswordCount++

Alarm / PasswordCount = 0 Remove Record

10sec Request

DFD Level 3

Closed Sensor Input Closed Sensor

Interface 1.1.1

Closed Sensor Closed

1.1.2

Closed

Closed Sensor

Opened 1.1.3

Closed Sensor Lock 1.1.4

Alarm

Lock Order

Remove Request

3sec Request

13

DFD Level 3

Number Input Number Button

Interface 1.4.1

10sec Request

Number

Back- Light On

1.4.3

Number Record

1.4.2

Light On

Alarm

Back- Light Off

1.4.4

Alarm

Light Off

Number Time over 1.4.6

Number Check 1.4.5

Num Record

14

Alarm

DFD Level 3

Number Number Record

Alarm

Number Check

State Transition Diagram for Number Record 1.4.2

NumberCount = 4 / Send Numbers NumberCount = 0 Remove Record

NumberCount < 4 / Record Number NumberCount++

Number Time over

Alarm / NumberCount = 0 Remove Record

15

Alarm

DFD Level 3

Cover Input Cover Interface

1.5.1

Light On

1.5.2

10sec Request

Light Off

1.5.3

Alarm

Light On

Light Off

16

Overall DFD

17

Overall DFD

18

Overall DFD

19

Overall DFD

20

Overall DFD

21

Overall DFD

22

top related