Cov txheej txheem:

Sequence diagram definition yog dab tsi?
Sequence diagram definition yog dab tsi?

Video: Sequence diagram definition yog dab tsi?

Video: Sequence diagram definition yog dab tsi?
Video: Sequence Diagram for Login Page System 2024, Kaum ib hlis
Anonim

A kab kos duab qhia cov khoom sib cuam tshuam tau teem caij rau lub sijhawm ib ntus . Nws depicts cov khoom thiab cov chav kawm koom nrog hauv scenario thiab cov ib ntus ntawm cov lus sib pauv ntawm cov khoom xav tau los ua haujlwm ntawm qhov xwm txheej. Daim duab kab ke qee zaum hu ua kev tshwm sim daim duab los yog xwm txheej scenarios.

Hais txog qhov no, daim duab kab ke piav qhia nrog piv txwv yog dab tsi?

A kab kos duab piav qhia txog kev sib cuam tshuam ntawm ib pawg ntawm cov khoom koom nrog kev sib koom tes (lossis scenario), teem caij raws sijhawm; nws qhia tau hais tias cov khoom koom nrog kev sib cuam tshuam los ntawm lawv "lifelines" thiab cov lus uas lawv xa mus rau ib leeg.

Kuj Paub, dab tsi yog cov ntsiab lus ntawm kab kos duab? Cov kab hauv qab no thiab cov npoo feem ntau yog kos hauv UML kab kos duab : lifeline, execution specification, message, ua ke fragment, kev sib tshuam siv, xeev invariant, txuas ntxiv, kev puas tsuaj tshwm sim. Major cov ntsiab lus ntawm kab kos duab muaj nyob rau hauv daim duab hauv qab no.

Tom qab ntawd, lo lus nug yog, daim duab kab ke yog dab tsi?

A kab kos duab yog hom kev sib tshuam daim duab vim hais tias nws piav qhia txog yuav ua li cas-thiab hauv qhov kev txiav txim-ib pawg ntawm cov khoom ua haujlwm ua ke. Cov no daim duab yog siv los ntawm cov tsim software thiab cov kws tshaj lij kev lag luam kom nkag siab txog cov cai rau lub kaw lus tshiab lossis sau cov txheej txheem uas twb muaj lawm.

Ua li cas koj nyeem ib daim duab kab ke?

Yuav Ua Li Cas Nyeem Ib Daim Duab Sib Txuas

  1. Object Lifeline. Sawv cev rau ntawm daim duab los ntawm ib lub thawv ntawv nrog ib txoj kab ntsug ntsug nqes hauv qab nws.
  2. Ua kom. Sawv cev rau ntawm daim duab los ntawm ib lub thawv nyias nyias superimposed hla kab dashed ntawm ib yam khoom lifeline.
  3. Synchronous lus.
  4. Cov lus tsim.
  5. Nres Xov.
  6. Xa lus rov qab.
  7. Asynchronous lus.

Pom zoo: