[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-655667-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-655667-en":130,"doc-similar-655667":160},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","architecture-high-level-design-hld","Architecture & High Level Design (HLD)","","Architecture & High Level Design (HLD) focuses on capturing a system’s early structure and behavior without prematurely committing to detailed implementation. It contrasts anti-patterns such as jumping from requirements to code or using incomplete “wedding cake” diagrams that omit interface information. The material explains HLD elements including architecture boxes and arrows, and sequence diagram notation where preconditions, side effects, and postconditions define scenarios. It also outlines how use cases map to sequence diagrams and how combined sequence behaviors form statecharts per object, then summarizes HLD best practices and common pitfalls.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/architecture-high-level-design-hld/655667/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/architecture-high-level-design-hld/655667.png","ImageObject",300,407,{"name":42,"@type":43},"Mabel","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-26","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",9,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What are common anti-patterns when producing high level design (HLD)?","Question",{"text":63,"@type":64},"The document highlights skipping from requirements to code, omitting how components fit together in pictures, and using “wedding cake” layer diagrams that omit interface information.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does the document define the relationship between arrows/interfaces and architecture meaning?",{"text":68,"@type":64},"Arrows and interfaces show communication paths between components, and the meaning of a box/arrow depends on the design goal.",{"name":70,"@type":61,"acceptedAnswer":71},"How do sequence diagrams relate to statecharts in this HLD approach?",{"text":72,"@type":64},"For each object, each scenario gets its own sequence diagram, and inputs/outputs across the SD set are used to design a statechart that exhibits all behaviors; typically one statechart per object covers all scenarios.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},655667,1793097367,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,115,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":113,"slug":114},8,"Research & Report",30,"research-report",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":123,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":143,"read_time":144,"preview_page_count":33,"preview_urls":145},7971474920318,"https://ap-avatar.wpscdn.com/avatar/74000ee537e6b0ca360?x-image-process=image/resize,m_fixed,w_180,h_180&k=1788430171632181674","Prof. Philip Koopman  \nSoftware Architecture & High Level Design  \nAll the really important mistakes are made the first day.  \n– Eberhardt Rechtin, System Architecting  \n© 2020 Philip Koopman 1  \nArchitecture & High Level Design (HLD)  \n􀂄 Anti-Patterns:  \n􀁺 Skipping from requirements to code  \n􀁺 No picture that shows how all the components fit together  \n􀁺 “Wedding cake” layer diagram that omits interface information  \n􀂄 Elements of High Level Design  \n􀁺 Architecture: boxes, arrows, interfaces  \n– Arrows/interfaces show communication paths between components  \n– Recursive: one designer’s system is another designer’s component  \n􀁺 High Level Design (HLD) = architecture (nouns) + requirements (verbs)  \n– Sequence Diagrams (SDs) show interactions © 2020 Philip Koopman 3  \n[https://goo.gl/J8MAuK](https://goo.gl/J8MAuK)  \nArchitecture: Boxes and Arrows  \n􀂄 Software architecture  \nshows the big picture  \n􀁺 Boxes: software modules/objects  \n􀁺 Arrows: interfaces  \n􀁺 Box and arrow semantics well-defined  \n– Meaning of box/arrow depends on goal  \n􀁺 Components all on a single page  \n– Nesting of diagrams is OK  \n􀂄 Many different architecture diagrams are possible, such as:  \n􀁺 Software architecture (components and data flow types)  \n􀁺 Hardware architecture with software allocation  \n􀁺 Controls architecture showing hierarchical control  \n􀁺 Call graph showing run-time hierarchy  \n[https://goo.gl/WnciF3](https://goo.gl/WnciF3)  \n© 2020 Philip Koopman 4  \nSequence Diagram as HLD Notation  \n􀂄 SD construction:  \n􀁺 Each object has a time column extending downward  \n􀁺 Arcs are interactions between objects  \n􀂄 Each SD shows a scenario  \n􀁺 Top ovals are preconditions  \n􀁺 Middle ovals are side effects  \n􀁺 Bottom ovals are postconditions  \n􀂄 SD is a partial behavioral description for objects  \n􀁺 Generally, each object participates in multiple SDs; each SD only has some objects  \n􀁺 The set of all SDs forms the HLD for all objects in the system © 2020 Philip Koopman 5  \nExample Sequence Diagram  \nLegend: Blue = physical objects / Black = microcontrollers with software PRE = precondition / POST = postcondition / other ovals are side effects  \n© 2020 Philip Koopman 6  \nUse Cases to Sequence Diagrams  \n􀂄  \n􀂄  \n􀂄  \n􀂄  \nUse Case diagram – types of interactions  \n􀁺 System has multiple use cases  \n􀁺 Example: Use Case \\#1: Insert a coin Scenario – a specific variant of a use case  \n􀁺 Each use case has one or more scenarios  \n– Scenario 1.1: insert coin to add money  \n– Scenario 1.2: insert excess coin (too many inserted)  \n– Scenario 1.3: … some other situation…  \n􀁺 Interactions between objects are different for each scenario Sequence Diagram – a specific scenario design  \n􀁺 For our purposes each scenario has one sequence diagram  \n– Sequence diagrams 1.1, 1.2, 1.3 show specific interactions Statechart – design that incorporates all scenarios  \n􀁺 One StateChart per object, addressing all scenarios  \n Use Cases  \nScenario  \nSequence Diagram  \n© 2020 Philip Koopman 7  \nCombining SDs To Make Statecharts  \n􀂄 For each object in each SD: identify input & output arcs  \n􀁺 Detailed Design: design statechart that accounts for all SD behaviors  \nStatechart Must Exhibit All Those Behaviors  \n© 2020 Philip Koopman 8  \n…  \nSD set specifies behaviors  \nHigh Level Design Best Practices  \n􀂄 HLD should include:  \n􀁺 One or more architecture diagrams  \n– Defines all components & interfaces  \n– HW arch., SW arch., Network arch.,…  \n􀁺 Sequence Diagrams  \n– Both nominal and off-nominal interactions  \n– See 18-649 soda machine for a fully worked example  \n􀁺 HLD must co-evolve with requirements  \n– Need both nouns + verbs to define a system!  \n􀂄 High Level Design pitfalls:  \n􀁺 Diagrams that leave out interactions  \n􀁺 Boxes and arrows don’t have well defined meanings  \n􀁺 HLD that bleeds into detailed design information  \n– Should have separate Detailed Design per component  \n[https://users.ece.cmu.edu/](https://users.ece.cmu.edu/)~koopman/ece649/project/  \nsodamachine/index.html  \n© 2","cbCaitUyJD3Ykdc3","https://ap.wps.com/l/cbCaitUyJD3Ykdc3","pdf",1173094,"English","# Architecture & High Level Design (HLD)\n## Anti-Patterns\n## Elements of High Level Design\n## Architecture: Boxes and Arrows\n## Sequence Diagram as HLD Notation\n## Use Cases to Sequence Diagrams\n## Combining SDs To Make Statecharts\n## High Level Design Best Practices","[{\"question\":\"What are common anti-patterns when producing high level design (HLD)?\",\"answer\":\"The document highlights skipping from requirements to code, omitting how components fit together in pictures, and using “wedding cake” layer diagrams that omit interface information.\"},{\"question\":\"How does the document define the relationship between arrows/interfaces and architecture meaning?\",\"answer\":\"Arrows and interfaces show communication paths between components, and the meaning of a box/arrow depends on the design goal.\"},{\"question\":\"How do sequence diagrams relate to statecharts in this HLD approach?\",\"answer\":\"For each object, each scenario gets its own sequence diagram, and inputs/outputs across the SD set are used to design a statechart that exhibits all behaviors; typically one statechart per object covers all scenarios.\"}]","Architecture & High Level Design (HLD) | PDF",1792963118,25,[146,150,153,157],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/34ece75ba4b9ee17c020fbf47ab0b6e3.webp",983,552,{"page_no":26,"url":151,"width":152,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/4af1a39bfcf764dae2021207046b3056.webp",982,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/92ea89f72880faed49d189739a266fe3.webp",981,551,{"page_no":33,"url":158,"width":159,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/dfeaec15be7445b87f2dd781c86a5a84.webp",980,{"list":161,"token":11},[162,168,175,181,187,194,200,206,212,219],{"doc_id":163,"doc_title":164,"file_type":137,"home_preview_img_url":165,"slug":166,"view_count":111,"category_name":29,"create_tm":167},655568,"Use Case UC1 - Process Sale","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974775146/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796129099&Signature=JtYoaTEsC0Dk%2Bgzq0irTK8SgWIM%3D","use-case-uc1-process-sale",1792962665,{"doc_id":169,"doc_title":170,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":173,"category_name":29,"create_tm":174},655561,"UML Sequence Diagrams - Engineering Notebook Column - April, 98","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285299/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796129099&Signature=1yjp4hbcWrjqpQICMnlO89qKfqM%3D","uml-sequence-diagrams-engineering-notebook-column-april-98",12,1792962636,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":111,"category_name":29,"create_tm":180},655558,"Sequence Diagram Tutorial - Chapter 4 - Use Cases and Scenarios - UML Sequence Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285279/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796129099&Signature=stUSAt0gloE4iu4151HWmBsuZMA%3D","sequence-diagram-tutorial-chapter-4-use-cases-and-scenarios-uml-sequence-diagrams",1792962629,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":123,"category_name":29,"create_tm":186},655827,"DesignNotations - Diagrammatic Notations for Software Design and Architectures","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974778421/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796129099&Signature=7ty3gyXkor46kRcm%2F5DneEwcTnE%3D","designnotations-diagrammatic-notations-for-software-design-and-architectures",1792964137,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":192,"category_name":29,"create_tm":193},655556,"Sequence Diagrams - Part 1 - Introduction and Notations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285263/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796129099&Signature=OifFi9iZmAI52pHslTUvyyWZ60I%3D","sequence-diagrams-part-1-introduction-and-notations",16,1792962626,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":106,"category_name":29,"create_tm":199},655727,"Visualising software architecture - C4 model guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974776299/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796129099&Signature=%2FWE3pAp2kXuKsoNrVPJ8vUqmxLk%3D","visualising-software-architecture-c4-model-guide",1792963496,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":123,"category_name":29,"create_tm":205},655616,"Software Engineering - A Short Introduction to UML Sequence Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286124/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796129099&Signature=NpwfwYhrwxIfx2yD5hUgVtHjIz4%3D","software-engineering-a-short-introduction-to-uml-sequence-diagrams",1792962882,{"doc_id":207,"doc_title":208,"file_type":137,"home_preview_img_url":209,"slug":210,"view_count":102,"category_name":29,"create_tm":211},655917,"Slides - Chapter 3 - Part III - UML Sequence Diagram Example","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974780313/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796129099&Signature=BxoqSSQ01aeNi7PinEb2tsuNuZI%3D","slides-chapter-3-part-iii-uml-sequence-diagram-example",1792964848,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":217,"category_name":29,"create_tm":218},665357,"IBM Reference Manual - Flow Charting and Block Diagramming Techniques","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229983282083/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796129099&Signature=vk%2B6XvdR9%2Fn%2BwdHGLvFZBJtIJzE%3D","ibm-reference-manual-flow-charting-and-block-diagramming-techniques",13,1793299677,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":111,"category_name":29,"create_tm":224},655787,"Lecture 12 - Sequence Diagrams - Collaboration and Time","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975290000/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796129099&Signature=oJcWU7Jej5VZ1swo3DJtKL6OhRM%3D","lecture-12-sequence-diagrams-collaboration-and-time",1792963779]