0
00:00:00,670 --> 00:00:02,260
那么下一个呢
1
00:00:03,020 --> 00:00:04,100
就是
2
00:00:04,550 --> 00:00:06,720
刻画涉众需要
3
00:00:07,350 --> 00:00:08,150
4
00:00:08,540 --> 00:00:09,970
这个步骤了
5
00:00:11,310 --> 00:00:12,560
那首先呢
6
00:00:13,830 --> 00:00:15,470
它要建一个
7
00:00:16,110 --> 00:00:18,590
需求的包结构
8
00:00:18,940 --> 00:00:22,134
也就是说,我们前面有这么几个包嘛
9
00:00:22,134 --> 00:00:22,560
对吧
10
00:00:23,350 --> 00:00:24,917
这么几个包
11
00:00:24,917 --> 00:00:27,790
那么现在呢,先处理这个包
12
00:00:29,140 --> 00:00:31,340
蒸馏器需求这个包
13
00:00:31,770 --> 00:00:33,574
那么这个包里面
14
00:00:33,574 --> 00:00:37,440
你看,教材里面有这么几个子包
15
00:00:38,860 --> 00:00:40,137
使命声明
16
00:00:40,137 --> 00:00:41,415
使命需求
17
00:00:41,415 --> 00:00:43,012
有效性需求
18
00:00:43,012 --> 00:00:44,610
蒸馏器规约
19
00:00:47,590 --> 00:00:49,410
使命声明
20
00:00:49,940 --> 00:00:50,730
21
00:00:51,280 --> 00:00:53,450
应该就是类似于我们
22
00:00:53,980 --> 00:00:56,560
软件方法的愿景了
23
00:00:56,840 --> 00:00:57,780
就是说
24
00:00:58,610 --> 00:01:00,070
我打算要
25
00:01:00,350 --> 00:01:02,660
达到一个什么目标
26
00:01:03,590 --> 00:01:07,740
那么从这个使命声明就推出来一些
27
00:01:10,000 --> 00:01:10,654
需求
28
00:01:10,654 --> 00:01:13,270
但实际上严格来说,也不算需求
29
00:01:13,270 --> 00:01:15,450
但是比它更详细一点的
30
00:01:16,280 --> 00:01:20,284
能够达成这个声明的,一些更详细一点的要求
31
00:01:20,284 --> 00:01:21,486
只能这样说
32
00:01:21,486 --> 00:01:24,690
但是这里面它就叫需求,我们也没办法了
33
00:01:25,040 --> 00:01:26,480
我们就照着来
34
00:01:27,900 --> 00:01:28,590
然后呢
35
00:01:28,590 --> 00:01:29,510
还有一些
36
00:01:30,160 --> 00:01:31,900
有效性需求
37
00:01:33,400 --> 00:01:33,773
38
00:01:33,773 --> 00:01:35,640
就是对
39
00:01:36,710 --> 00:01:37,650
这个
40
00:01:38,550 --> 00:01:41,560
目标有没有达到的一些度量
41
00:01:42,960 --> 00:01:44,420
那这个我们后面
42
00:01:45,010 --> 00:01:47,630
讲到的时候,还会再详细说
43
00:01:49,250 --> 00:01:51,792
那第四个是蒸馏器规约
44
00:01:51,792 --> 00:01:52,810
这个包了
45
00:01:53,210 --> 00:01:55,290
就是具体的需求规约
46
00:01:56,580 --> 00:01:58,070
那下面我们先
47
00:01:58,610 --> 00:02:00,157
画一张包图
48
00:02:00,157 --> 00:02:02,220
把这个图给建起来
49
00:02:06,400 --> 00:02:07,447
在这里
50
00:02:07,447 --> 00:02:07,970
对吧
51
00:02:07,970 --> 00:02:09,280
蒸馏器需求
52
00:02:09,880 --> 00:02:12,390
右键,添加一个图
53
00:02:14,100 --> 00:02:15,173
包图
54
00:02:15,173 --> 00:02:15,710
这里
55
00:02:16,920 --> 00:02:17,730
然后呢
56
00:02:17,730 --> 00:02:18,540
名字
57
00:02:18,540 --> 00:02:19,620
名字
58
00:02:20,520 --> 00:02:22,010
这是它名字
59
00:02:22,480 --> 00:02:23,875
这个是名字
60
00:02:23,875 --> 00:02:26,201
需求组织,这是它的名字
61
00:02:26,201 --> 00:02:27,830
我们就照着来
62
00:02:28,110 --> 00:02:30,330
叫需求组织
63
00:02:32,330 --> 00:02:33,020
这样
64
00:02:33,600 --> 00:02:34,510
OK
65
00:02:35,570 --> 00:02:35,870
好
66
00:02:35,870 --> 00:02:37,970
我们得到了一个
67
00:02:38,960 --> 00:02:40,544
你看,这里过来是吧
68
00:02:40,544 --> 00:02:41,930
刚好对应过来
69
00:02:42,330 --> 00:02:43,800
一个一个对应
70
00:02:44,880 --> 00:02:45,590
这里
71
00:02:46,960 --> 00:02:47,127
好
72
00:02:47,127 --> 00:02:49,640
然后,我们就一个一个包放上去了
73
00:02:50,890 --> 00:02:52,990
包放上来
74
00:02:53,460 --> 00:02:56,950
这个是使命声明
75
00:03:09,740 --> 00:03:11,170
这个是
76
00:03:11,470 --> 00:03:13,400
使命需求
77
00:03:21,650 --> 00:03:21,981
78
00:03:21,981 --> 00:03:22,976
点错了
79
00:03:22,976 --> 00:03:23,640
80
00:03:24,120 --> 00:03:24,516
81
00:03:24,516 --> 00:03:25,310
删掉
82
00:03:26,600 --> 00:03:27,230
83
00:03:30,970 --> 00:03:31,890
84
00:03:34,630 --> 00:03:36,300
Package才是
85
00:03:37,480 --> 00:03:40,983
那么这几种是package的一个构造型
86
00:03:40,983 --> 00:03:41,640
都是包
87
00:03:41,640 --> 00:03:45,363
这个包它自己带了一个构造型
88
00:03:45,363 --> 00:03:46,020
89
00:03:46,390 --> 00:03:48,880
刚才操作错了
90
00:03:49,470 --> 00:03:51,920
使命需求
91
00:03:58,660 --> 00:03:59,810
92
00:04:00,090 --> 00:04:02,300
有效性需求
93
00:04:09,830 --> 00:04:13,100
这是蒸馏器规约
94
00:04:17,280 --> 00:04:17,492
好
95
00:04:17,492 --> 00:04:19,188
得到这么四个包
96
00:04:19,188 --> 00:04:20,460
同样,对齐一下
97
00:04:39,170 --> 00:04:43,900
那接下来呢,我们就进入使命声明这个包
98
00:04:45,010 --> 00:04:46,090
0
00:00:00,410 --> 00:00:04,290
那第一个描述的就是使命声明了
1
00:00:06,010 --> 00:00:09,618
那么内容在这里,它列了一个表格
2
00:00:09,618 --> 00:00:10,160
在这里
3
00:00:11,320 --> 00:00:15,238
你看,一条一条的需求表达出来
4
00:00:15,238 --> 00:00:17,650
然后这是ID,名称
5
00:00:17,960 --> 00:00:19,240
文本
6
00:00:20,630 --> 00:00:21,520
那么
7
00:00:21,800 --> 00:00:25,412
画图就画在这个需求图里面了
8
00:00:25,412 --> 00:00:26,960
建一张需求图
9
00:00:27,240 --> 00:00:28,410
然后画在这里
10
00:00:34,070 --> 00:00:35,379
那么这个内容呢
11
00:00:35,379 --> 00:00:37,250
我把它翻译成了中文
12
00:00:37,250 --> 00:00:41,180
在这里,我们一会儿拷进去就行,不打字了
13
00:00:41,840 --> 00:00:43,550
那下面我们就来画一下
14
00:00:44,460 --> 00:00:46,020
这个需求图怎么画
15
00:00:46,020 --> 00:00:46,410
你看
16
00:00:48,480 --> 00:00:52,980
它是在这个包下面,使命声明这个包下面
17
00:00:52,980 --> 00:00:54,330
然后这个图是
18
00:00:56,160 --> 00:00:59,000
它用了这个词,解构
19
00:00:59,280 --> 00:01:00,530
这个需求
20
00:01:03,070 --> 00:01:04,100
也就是说
21
00:01:05,710 --> 00:01:07,660
它没有用需求分解
22
00:01:07,940 --> 00:01:09,245
那书里面也讲了
23
00:01:09,245 --> 00:01:10,737
它也解释了一下
24
00:01:10,737 --> 00:01:12,230
说为什么不用分解
25
00:01:12,510 --> 00:01:12,823
26
00:01:12,823 --> 00:01:15,020
因为分解是那个
27
00:01:17,110 --> 00:01:18,320
平行的
28
00:01:18,600 --> 00:01:19,470
29
00:01:19,750 --> 00:01:22,019
不增加,不改变含义的
30
00:01:22,019 --> 00:01:23,670
同一个层级的
31
00:01:24,210 --> 00:01:26,110
这样把它切开
32
00:01:26,420 --> 00:01:27,770
解构呢
33
00:01:28,380 --> 00:01:30,570
书里没说
34
00:01:30,570 --> 00:01:32,760
为什么要用这个词
35
00:01:33,040 --> 00:01:34,580
我们只能说
36
00:01:35,340 --> 00:01:40,164
揣摩它的意思,应该就是说它不是一个抽象级别的
37
00:01:40,164 --> 00:01:42,921
比如说,怎么个不是一个抽象级别的
38
00:01:42,921 --> 00:01:43,840
你看这里
39
00:01:46,120 --> 00:01:47,704
它并不是简单的分解
40
00:01:47,704 --> 00:01:48,584
而是什么
41
00:01:48,584 --> 00:01:49,640
通过问为什么
42
00:01:49,920 --> 00:01:51,045
怎么样
43
00:01:51,045 --> 00:01:51,420
44
00:01:51,420 --> 00:01:52,920
为什么不
45
00:01:53,760 --> 00:01:53,994
46
00:01:53,994 --> 00:01:56,108
找到问题的原因
47
00:01:56,108 --> 00:01:57,752
问题的解决方案
48
00:01:57,752 --> 00:02:00,806
这么几个级别跳来跳去
49
00:02:00,806 --> 00:02:02,920
所以呢,不能叫分解
50
00:02:02,920 --> 00:02:03,390
因为
51
00:02:04,880 --> 00:02:07,190
解决方案不是问题的分解
52
00:02:07,190 --> 00:02:07,820
对不对
53
00:02:07,820 --> 00:02:09,920
原因也不是问题的分解
54
00:02:09,920 --> 00:02:10,340
对吧
55
00:02:10,340 --> 00:02:12,650
它们都不是一个级别的
56
00:02:12,650 --> 00:02:17,480
但如果说,问题有子问题,这种是分解
57
00:02:17,480 --> 00:02:18,320
你看这里
58
00:02:21,110 --> 00:02:21,319
59
00:02:21,319 --> 00:02:23,626
有污染的水源、净化器需要
60
00:02:23,626 --> 00:02:25,514
但又不是过滤器
61
00:02:25,514 --> 00:02:25,934
对吧
62
00:02:25,934 --> 00:02:29,290
这相当于一开始列了一些条件了
63
00:02:29,570 --> 00:02:29,790
64
00:02:29,790 --> 00:02:33,980
所以呢,你看,它决定就有这个经济的过滤器(应为蒸馏器)
65
00:02:34,380 --> 00:02:35,070
66
00:02:35,890 --> 00:02:36,830
这个
67
00:02:37,110 --> 00:02:40,576
那下面这个就可以认为是什么
68
00:02:40,576 --> 00:02:41,660
可以认为是
69
00:02:41,940 --> 00:02:44,530
是这一条的分解
70
00:02:44,810 --> 00:02:45,024
71
00:02:45,024 --> 00:02:48,020
这一条的分解,5.1, 5.2这个
72
00:02:49,520 --> 00:02:53,282
但是,你看,这个可以看作是一个推导的过程
73
00:02:53,282 --> 00:02:53,658
对吧
74
00:02:53,658 --> 00:02:55,540
推导的一个过程
75
00:02:57,530 --> 00:02:59,280
那下面我们来画一下
76
00:03:03,420 --> 00:03:04,074
怎么画
77
00:03:04,074 --> 00:03:05,820
你看,在使命声明这里
78
00:03:06,410 --> 00:03:07,110
79
00:03:08,130 --> 00:03:09,430
添加一个
80
00:03:11,990 --> 00:03:12,337
81
00:03:12,337 --> 00:03:13,380
需求图
82
00:03:13,670 --> 00:03:13,874
83
00:03:13,874 --> 00:03:15,920
那个图的名字叫什么呀
84
00:03:16,400 --> 00:03:18,290
那我们就按照这个来
85
00:03:18,650 --> 00:03:18,892
86
00:03:18,892 --> 00:03:20,346
解构需求,对吧
87
00:03:20,346 --> 00:03:22,770
我们就按照这个,解构需求
88
00:03:30,490 --> 00:03:30,759
好
89
00:03:30,759 --> 00:03:32,911
你看,刚好对照过来
90
00:03:32,911 --> 00:03:33,450
对吧
91
00:03:35,430 --> 00:03:37,460
既然这个图里面
92
00:03:37,740 --> 00:03:39,181
示意的是这个
93
00:03:39,181 --> 00:03:42,474
我们就先画这个5这个好了
94
00:03:42,474 --> 00:03:43,710
先画5这个
95
00:03:43,990 --> 00:03:44,630
怎么画
96
00:03:44,630 --> 00:03:44,843
97
00:03:44,843 --> 00:03:46,123
需求在这里嘛
98
00:03:46,123 --> 00:03:46,550
对吧
99
00:03:47,080 --> 00:03:48,850
放上一条
100
00:03:49,430 --> 00:03:50,960
然后它名字叫什么
101
00:03:50,960 --> 00:03:52,490
我们把那个文本
102
00:03:54,230 --> 00:03:54,900
这里
103
00:03:55,220 --> 00:03:55,536
104
00:03:55,536 --> 00:03:57,120
把这个删掉
99
00:04:46,440 --> 00:04:48,300
来写一下它内容了