1、 KSKSKSKSKSKSKSK KSKSKS KSKSK KSKS KSK KS KS X 3902 KS X 3902:2008 2008 12 16 http:/www.kats.go.krKS X 3902:2008 : ( ) ( ) () ()SJ ( ) : (http:/www.standard.go.kr) : : 1988 12 24 : 2008 12 16 2008-0888 : : ( 02-509-7262) (http:/www.kats.go.kr). 10 5 , . KS X 3902:2008 Information processing systems
2、Open systems interconnectionBasic connection oriented session protocol specification 1 1.1 . a) b) c) 1.2 . a) b) c) KS X 3002 . . . 2 . 3. . 2.1 KS X 3902:2008 2 KS X 3002 , . a) b) c) d) e) f) g) h) i) j) k) l) m) 2.2 KS X 3901 , . a) b) SS c) SS d) SS e) SS f) SS g) SS h) SS i) j) . KS X 3901 . 1
3、) . 2) . 3) 4) 2.3 . a) (session protocol machine, SPM) SPM . b) , SS (session service user, SS user) KS X 3902:2008 3 c) , TS (transport service provider, TS provider) d) (local matter) e) (initiator) CONNECT SPDU SPM f) (responder) SPM . g) SPM(sending SPM) SPDU SPM h) SPM(receiving SPM) SPDU SPM
4、i) ( ) owner(of a token) SPM j) (proposed parameter) , SPM CONNECT SPDU ACCEPT SPDU k) (negotiation) , 2 SPM l) (selected parameter) m) SPDU(valid SPDU) , SPDU n) SPDU(invalid SPDU) , SPDU o) (protocol error) SPDU p) ( )transparent(data) SPM , SPM SS q) SPDU SPDU identifier(SI) SPDU SPDU r) length i
5、ndicator(LI) s) (parameter field) 1 t) parameter identifier(PI) u) PI (PI unit) PI , LI SPDU v) parameter group identifier(PGI) . PI . w) PGI (PGI unit) PGI , LI SPDU x) parameter value(PV) PI PGI y) (local variable) SPM 3 3.1 . SPDU SSDU TSDU 3.2 SPDU SPDU . KS X 3902:2008 4 SI SPDU 2.3 q) LI 2.3 r
6、) PI 2.3 t) PGI 2.3 v) PV 2.3 x) 3.3 . TIM 3.4 . Vact 4.8.1 Vnextact 4.8.2 V(A) 4.8.3 V(M) 4.8.4 V(R) 4.8.5 Vsc 4.8.6 3.5 . SPM 2.3 a) SS SSAP TSAP 4 4.1 SPM1) SSAP SS , KS X 3901 . SPM . SPM . 2 TSAP KS X 3701 . SS SPM . 1 . 1) SPM . KS X 3902:2008 5 1 4.2 KS X 3901 . 1 SS . SS . 1 SPDU . 4.3 KS X
7、3701 . 2 TS TS . TS . KS X 3902:2008 6 1 SPDU S CONNECT S CONNECT S CONNECT ( ) S CONNECT ( ) S CONNECT ( ) S CONNECT ( ) CONNECT SPDU CONNECT SPDU ACCEPT SPDU ACCEPT SPDU REFUSE SPDU REFUSE SPDU S DATA S DATA DATA TRANSFER SPDU DATA TRANSFER SPDU S EXPEDITED DATA S EXPEDITED DATA EXPEDITED DATA SPD
8、U EXPEDITED DATA SPDU S TYPED DATA S TYPED DATA TYPED DATA SPDU TYPED DATA SPDU S CAPABILITY DATA S CAPABILITY DATA S CAPABILITY DATA S CAPABILITY DATA CAPABILITY DATA SPDU CAPABILITY DATA SPDU CAPABILITY DATA ACK SPDU CAPABILITY DATA ACK SPDU S TOKEN GIVE S TOKEN GIVE GIVE TOKENS SPDU GIVE TOKENS S
9、PDU S TOKEN PLEASE S TOKEN PLEASE PLEASE TOKENS SPDU PLEASE TOKENS SPDU S CONTROL GIVE S CONTROL GIVE GIVE TOKENS CONFIRM SPDU GIVE TOKENS CONFIRM SPDU S SYNC MINOR S SYNC MINOR S SYNC MINOR S SYNC MINOR MINOR SYNC POINT SPDU MINOR SYNC POINT SPDU MINOR SYNC ACK SPDU MINOR SYNC ACK SPDU S SYNC MAJOR
10、 S SYNC MAJOR S SYNC MAJOR S SYNC MAJOR MAJOR SYNC POINT SPDU MAJOR SYNC POINT SPDU MAJOR SYNC ACK SPDU MAJOR SYNC ACK SPDU S RESYNCHRONIZE S RESYNCHRONIZE S RESYNCHRONIZE S RESYNCHRONIZE RESYNCHRONIZE SPDU RESYNCHRONIZE SPDU RESYNCHRONIZE ACK SPDU RESYNCHRONIZE ACK SPDU S P EXCEPTION REPORT EXCEPTI
11、ON REPORT SPDU S U EXCEPTION REPORT S U EXCEPTION REPORT EXCEPTION DATA SPDU EXCEPTION DATA SPDU S ACTIVITY START S ACTIVITY START ACTIVITY START SPDU ACTIVITY START SPDU S ACTIVITY RESUME S ACTIVITY RESUME ACTIVITY RESUME SPDU ACTIVITY RESUME SPDU KS X 3902:2008 7 1 ( ) SPDU S ACTIVITY INTERRUPT S
12、ACTIVITY INTERRUPT S ACTIVITY INTERRUPT S ACTIVITY INTERRUPT ACTIVITY INTERRUPT SPDU ACTIVITY INTERRUPT SPDU ACTIVITY INTERRUPT ACK SPDUACTIVITY INTERRUPT ACK SPDU S ACTIVITY DISCARD S ACTIVITY DISCARD S ACTIVITY DISCARD S ACTIVITY DISCARD ACTIVITY DISCARD SPDU ACTIVITY DISCARD SPDU ACTIVITY DISCARD
13、 ACK SPDU ACTIVITY DISCARD ACK SPDU S ACTIVITY END S ACTIVITY END S ACTIVITY END S ACTIVITY END ACTIVITY END SPDU ACTIVITY END SPDU ACTIVITY END ACK SPDU ACTIVITY END ACK SPDU S RELEASE S RELEASE S RELEASE( ) S RELEASE( ) S RELEASE( ) S RELEASE( ) FINISH SPDU FINISH SPDU DISCONNECT SPDU DISCONNECT S
14、PDU NOT FINISHED SPDU NOT FINISHED SPDU S U ABORT S U ABORT ABORT SPDU ABORT SPDU S P ABORT ABORT SPDU 2 X/Y T CONNECT X TS T CONNECT X TS T DATA X TS T EXPEDITED DATA Y TS T DISCONNECT X TS T DISCONNECT TS X: . Y: SPM , . KS X 3902:2008 8 4.4 4.4.1 SS . , . , . 4.4.2 2 SS . . a) . b) (5.1.4 ). c) (
15、6.1, 6.2 ). d) (6.1, 6.2 ). e) (6.1, 6.2 ). f) (6.1, 6.2 ). 4.4.3 2 SS SSDU . SPDU . . KS X 3901 . a) (6.9 ) SSDU SPDU SPM SPDU . 2 . 1) . 2) . b) (6.14, 6.17 ) SS ( 5 ). c) (6.25, 6.26 ) SS SS . d) (6.11 ) . e) (6.18, 6.19 ) SS . . . 1 . SS . f) 6.20, 6.21, 4.4.3 e) SS . SPM , . . KS X 3902:2008 9
16、g) (6.22, 6.23 ) , . h) (6.10 ) . . SS . i) (6.27 6.34 ) , , , . . 1) 2) j) (6.12, 6.13 ) . 4.4.4 . a) ( ) b) ( ) c) 4.5 . a) b) SPDU 3 . (4.6 ). KS X 3902:2008 10 3 SPDU SPDU CN AC RF FN DN AB AA DT CONNECT aACCEPT aREFUSE aFINSH DISCONNECT ABORT ABORT ACCEPT bDATA TRANSFER 6.1 6.2 6.3 6.4 6.5 6.7
17、6.8 6.9 NF GT PT NOT FINISHED GIVE TOKENS dPLEASE TOKENS d6.6 6.14 6.15 GT PT GIVE TOKENS cPLEASE TOKENS c6.14 6.15 SPDU EX EXPEDITED DATA 6.10 TD TYPED DATA 6.11 CD CDA CAPABILITY DATA CAPABILITY DATA ACK 6.12 6.13 MIP MIA GT PT MINOR SYNC POINT MINOR SYNC ACK GIVE TOKENS ePLEASE TOKENS e6.18 6.19
18、6.14 6.15 MAP MAA PR GT PT MAJOR SYNC POINT MAJOR SYNC ACK PREPARE fGIVE TOKENS gPLEASE TOKENS g6.20 6.21 6.24 6.14 6.15 RS RA PR RESYNCHRONIZE RESYNCHRONIZE ACK PREPARE h6.22 6.23 6.24 ER ED EXCEPTION REPORT EXCEPTION DATA 6.25 6.26 AS AR AI AIA AD ADA AE AEA PR GT PT GTC GTA ACTIVITY START ACTIVIT
19、Y RESUME ACTIVITY INTERRUPT ACTIVITY INTERRUPT ACK ACTIVITY DISCARD ACTIVITY DISCARD ACK ACTIVITY END ACTIVITY END ACK PREPARE hGIVE TOKENS gPLEASE TOKENS gGIVE TOKENS CONFIRM hGIVE TOKENS ACK h6.27 6.28 6.29 6.30 6.31 6.32 6.33 6.34 6.24 6.14 6.15 6.16 6.17 a (8. ) . KS X 3902:2008 11 3 ( ) 1) CONN
20、ECT SPDU , ACCEPT SPDU REFUSE SPDU . 2) CONNECT SPDU , ACCEPT SPDU REFUSE SPDU . 3) . b . SPDU . SPDU (6.8.2 ). c . d . e . fPREPARE SPDU . (5.4 ). g . h . 4.5.1 , . 4.5.2 SS . SS . 4.5.3 . . 4.5.4 . . 4.5.5 SS . . 4.5.6 KS X 3902:2008 12 SS . 4.5.7 . SS . 4.5.8 . SS , SPM . . 4.5.9 . , SS SPM . . 4
21、.5.10 . SS . 4.5.11 SPM SS . . 4.5.12 . SS . 4.6 4 . SPM 5 SPDU . KS X 3902:2008 13 4 5 SPDU FINISH SPDU NOT FINISHED SPDU 2 NR 2 NR 2 NR 2 0 DATA TRANSFER SPDU( ) DATA TRANSFER SPDU( ) 1 3 NR NR NR NR NR NR CAPABILITY DATA SPDU 2 2 1 NR GIVE TOKENS SPDU( ) GIVE TOKENS SPDU( ) GIVE TOKENS SPDU( ) GIVE TOKENS SPDU( ) 1 NR NR NR NR 1 NR NR NR NR 1 NR NR NR NR 1 PLEASE TOKENS SPDU(
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1