Presentation is loading. Please wait.

Presentation is loading. Please wait.

תרשימי DFD ד"ר אבי רוזנפלד. Kendall & Kendall © 2005 Pearson Prentice Hall 7-2 הסימנים הבסיסיים.

Similar presentations


Presentation on theme: "תרשימי DFD ד"ר אבי רוזנפלד. Kendall & Kendall © 2005 Pearson Prentice Hall 7-2 הסימנים הבסיסיים."— Presentation transcript:

1 תרשימי DFD ד"ר אבי רוזנפלד

2 Kendall & Kendall © 2005 Pearson Prentice Hall 7-2 הסימנים הבסיסיים

3 External Entities ישויות חיצוניות הישויות החיצוניות, המיוצגות בתרשים ע"י מלבן, הן כל הישויות הנמצאות מחוץ לגבולות המערכת הנבדקת. הן מקיימות לפחות אחד משני התנאים: הישות היא מקור של נתונים, הזורמים אל המערכת (כלומר: קלט). - הישות היא יעד של מידע, הזורם מן המערכת (כלומר: פלט).

4 Processes תהליכים תהליכים מיוצגים במערכת ע"י אליפסה או עיגול. בגלל הדמיון של צורות אלה לבועת מים, יש הקוראים לתהליך בשם בועה, ולתרשים DFD בשם תרשים בועות. תרשים DFD שבו הבועות מייצגות תהליכים ראשיים, נקרא DFD ברמה אפס או בקיצור DFD-0. תרשים DFD מתאר את התהליכים מבחינה לוגית. הוא אינו מתאר מי מבצע את התהליך וכיצד התהליך מבוצע (באופן ידני או ממוחשב). התרשים מתאר מה התהליך מבצע – התמרה של נתוני הקלט לנתוני הפלט.

5 שגיאה נפוצה כל פעולה חייב אך ורק חץ אחד לכל כיוון

6 Data Stores מאגרי נתונים מערכת המידע מאחסנת במאגרי הנתונים המגיעים למערכת (קלט), לצורך שימוש עתידי. גם חלק מהפלט של התהליכים נשמר במאגרים, כדי שישמש כקלט לתהליכים שיתבצעו מאוחר יותר. כל מאגר מכיל בדרך-כלל נתונים על ישות מסוימת מקבל שם וגם מספר (כמו 1D, 2D וכדומה) מן הסתם קובץ כלשהו

7 Kendall & Kendall © 2005 Pearson Prentice Hall 7-7 Data Flow אפיקי נתונים זרימת הנתונים, המיוצגת ע"י חץ, מתארת את הכיוון בו זורמים הנתונים בין חלקי המערכת, ואת התוכן של הנתונים הזורמים באפיק. יכול להיות מידע כמו טופס, שיחת טלפון, פנייה בעל פה וכדומה

8 DFD – רמות הפשטה ניתן לפרק DFD’s לרמות פירוט שונות של תיאור פונקציונאלי וייצוג זרימת נתונים DFD ברמה ראשונית, המכונה תרשים תוכן (Context Diagram), מייצג את המערכת כולה כבועה אחת עם כניסות ויציאות של נתונים המצוינים ע"י חצים יוצאים ונכנסים ברמות פירוט גבוהות יותר מפרקים כל בועה לתרשים DFD, תוך שמירת נתוני הכניסה והיציאה

9 DFD – מרכיבים ישות חיצונית\ משתמש יצרן או צרכן נתונים הנמצא מחוץ לתחום המערכת עבורה נבנה המודל. תהליך עיגול (יחיד או כפול) מציין פונקציה (פשוטה או מורכבת) שהמערכת מבצעת. פריט נתונים פריט נתונים או אוסף של פריטי נתונים; החץ מציין את כיוון הזרימה (אפיק מידע). מאגר נתונים מאגר נתונים המשמש כמקום אחסון לתהליך אחד או יותר. En n Dn

10

11 DFD Example Bebop Records is a mail-order company that distributes CDs and tapes at discount price to record-club members. When an order processing clerk receives an order form, he or she verifies that the sender is a club member by checking the Member file. If the sender is not a member, the clerk returns the order along with a membership application form. If the customer is a member, the clerk verifies the order item data by checking the Item file. Then the clerk enters the order data and saves it to the Daily Orders file. The clerk also prints an invoice and shipping list for each order, which are forwarded to Order Fulfillment.

12 DFD Example - Step 1 FIRST SENTENCE: Bebop Records is a mail-order company that distributes CDs and tapes at discount price to record-club members. RESULT: initial title Bebop Records

13 DFD Example - Step 2 SECOND SENTENCE: When an order processing clerk receives an order form, he or she verifies that the sender is a club member by checking the Member file. RESULT: Bebop Records Order Processing

14 DFD Example - Step 2 continued SECOND SENTENCE: When an order processing clerk receives an order form, he or she verifies that the sender is a club member by checking the Member file. RULES FOLLOWED: left to right, top to bottom data flows start or end in a process

15 DFD Example - Step 3 THIRD SENTENCE: If the sender is not a member, the clerk returns the order along with a membership application form. RESULT: Bebop Records Order Processing

16 DFD Example - Step 3 continued THIRD SENTENCE: If the sender is not a member, the clerk returns the order along with a membership application form. RULES FOLLOWED: shows all processes without conditions

17 DFD Example - Step 4 FOURTH SENTENCE: If the customer is a member, the clerk verifies the order item data by checking the Item file. RESULT: Bebop Records Order Processing

18 DFD Example - Step 4 continued FOURTH SENTENCE: If the customer is a member, the clerk verifies the order item data by checking the Item file. RULES FOLLOWED: left to right, top to bottom data flows start or end in a process shows all processes without conditions

19 DFD Example - Step 5 FIFTH SENTENCE: Then the clerk enters the order data and saves it to the Daily Orders file. RESULT:

20 DFD Example - Step 5 continued RESULT: Bebop Records Order Processing

21 DFD Example - Step 5 continued FIFTH SENTENCE: Then the clerk enters the order data and saves it to the Daily Orders file. RULES FOLLOWED: left to right, top to bottom data flows start or end in a process

22 DFD Example - Step 6 SIXTH SENTENCE: The clerk also prints an invoice and shipping list for each order, which are forwarded to Order Fulfillment. RESULT:

23 DFD Example - Step 6 continued RESULT: Bebop Records Order Processing

24 DFD Example - Step 6 continued SIXTH SENTENCE: The clerk also prints an invoice and shipping list for each order, which are forwarded to Order Fulfillment. RULES FOLLOWED: left to right, top to bottom data flows start or end in a process shows all processes without conditions beware of black holes - every process and data store must produce data


Download ppt "תרשימי DFD ד"ר אבי רוזנפלד. Kendall & Kendall © 2005 Pearson Prentice Hall 7-2 הסימנים הבסיסיים."

Similar presentations


Ads by Google