Process Modeling involvesgraphically representing the functions, or processes, which capture, manipulate, store and distribute data between a system and its environment and between components within a system.
3.
Process Model ใช้อธิบายได้ทั้งระบบเดิมและระบบใหม่ ในขั้นตอนการวิเคราะห์นี้จะเป็น Logical Process Model ประกอบด้วย แผนภาพแสดงการไหลของข้อมูล (Data Flow Diagram : DFD) ( แผนภาพการไหลของข้อมูล / แผนภาพกระแสข้อมูล ) แผนภาพบริบท (System Context Diagram) แผนภาพระดับต่างๆ พจนานุกรมข้อมูล (Data Dictionary )
4.
สัญลักษณ์ของ DFDs มีอยู่ 4 รูป คือ Process Data flow Data store External entity มีสองรูปแบบของสัญลักษณ์ DFDs ที่ได้รับความนิยม Gane and Sarson DeMarco and Yourdon สัญลักษณ์ใน Data Flow Diagram
5.
6.
บทที่ 4Phase 2 :Systems Analysis – Analyzing Requirement t
Process ( เพิ่มเติม) : A. No process can have only outputs. (if an object has only outputs, then it must be a source.) B. No process can have only inputs - a black hole. (If an object has only inputs, then it must be a sink.) C. The inputs to a process must be sufficient to produce the outputs.
Data Flow :A data flow has only one direction of flow between symbols. A data flow cannot go directly back to the same process it leaves. There must be at least one other process that handles the data flow. A data flow has a noun phrase label. More than one data flow noun phrase can appear on a single arrow as long as all of the flows on the same arrow move together as one package.
Data Store :A. Data cannot move directly from one data store to another data store. Data must be moved by a process. B. Data cannot move directly from an outside source to a data store. Data must be moved by a process that received data from the source and places the data into data store. C. Data cannot move directly to an outside sink from a data store. Data must be moved by a process. D. To avoid having data flow line cross each other, data stores or sources/sinks may be repeated. Use additional symbol e.g. double line on the middle vertical line of a data store, or a diagonal line in the corner of a source/sink square.
สัญลักษณ์ใน Data FlowDiagram-External Entity ชื่อ เช่น คนไข้ นักศึกษา ฯลฯ ชื่อ ( เป็นคำนาม ) Data cannot move directly from a source to a sink. It must be moved by a process if the data are of any concern to our system. Otherwise, the data flow is not shown on the DFD. เอนทิตี้ภายนอก (External Entity) คน องค์กร หรือระบบ ภายนอกทิ่เกี่ยวข้อง บางครั้งอาจ จ ะเรียกเป็ น terminators หรือ source หรือ sink
แผนภาพบริบท (Context Diagram)ข้อควรระวังในการคิดถึง DFD ขั้นที่ละเอียดลงไปคือจะต้องสมดุล Entity A Entity B X Y Z ระบบ 0 ระบบ ......
24.
แผนภาพบริบทแบบขยาย (Extended ContextDiagram) B A Entity A Entity B X ระบบ 1 Process T 3 Process V 2 Process U Y Z Entity A Entity B X ระบบ 1 Process T 3 Process V 2 Process U Y Z
25.
Data Flow DiagramLevel 0 Entity A X Y B A Entity B Z 1 Process T 2 Process U 3 Process V
26.
Data Flow DiagramLevel 1 B J H G M N A Y 1 3 Entity A Entity B Z 2.1 Process D 2.2 Process E 2.3 Process F Data Store MN D1
27.
Data Flow DiagramLevel 2 Q R H S G 2.1 2.3 2.2.1 Process K 2.2.2 Process L 2.2.3 Process M
28.
Context diagram Level– 0 diagram (process 1.0,2.0…) Level – 1 diagram (process 1.1,1.2… process 2.1,2.2,2.3… process 3.1,3.2…) Level – n diagram
29.
Context diagrams แผนภาพระดับแรกของ DFDs แสดงภาพรวมของระบบ โดยแสดงขอบเขตของระบบ (scope), หน่วยภายนอกที่เกี่ยวข้องและ data flow ระหว่าง entity และ ระบบ จะประกอบด้วย 1 process เท่านั้น และ process ดังกล่าวนี้จะมีชื่อเป็นชื่อของระบบและมีหมายเลขประจำ process เป็นหมายเลข 0 context diagram จะมีเพียงสามสัญลักษณ์ คือ external, process (1 process) และ data flow ( จะไม่เขียน data store ในระดับนี้ ) แต่ละ context diagram ควร อยู่ภายในหนึ่งหน้ากระดาษ ชื่อของ process ใน context diagram จะเป็นชื่อของระบบงาน
Class Activity : Errors A very quick activity to demonstrate why we need to look at the big picture to get the correct solution to a problem Find four errors from the following statement : Their is four erors in this statement. มี่ที่ผิด สี่ แห่งไนประโยขนี้
35.
DFD ต่อไปนี้ผิดที่ใด เพราะอะไร A B ก ค ง ข จ 1.0 Process A 2.0 Process B D1 DataStore1 D2 DataStore2
ดังนั้นอาจสรุป Use Case ได้ดังนี้ Use Case กลุ่มของงานที่เกี่ยวข้องกัน การจัดการข้อมูลพื้นฐานเกี่ยวกับหนังสือ การจัดการข้อมูลทางด้านการตลาดเพื่อส่งเสริมการขาย การรับข้อมูลการซื้อจากอินเทอร์เน็ตผ่านเว็บเพจของร้าน การจัดการเรื่องการจัดส่งหนังสือ
49.
สร้าง ContextDiagram วิเคราะห์ Use Case แต่ละอันว่ามี ข้อมูล อะไรบ้าง มีข้อมูลใดบ้างที่รับ / ส่งระหว่างระบบกับ เอ็นทิตี้ภายนอก
ตัวอย่าง Data Dictionary- Data Storage CoverPageImage+ContentPage+ RedersComment+Promotion Data Field เป็นข้อมูลเพิ่มเติมเกี่ยวกับหนังสือเพื่อให้ลูกค้าสามารถเลือกซื้อหนังสือได้ดีขึ้น คำอธิบาย ข้อมูลส่งเสริมการขาย ชื่อย่อ / ชื่ออื่น Marketing Material ชื่อ