{"id":698,"date":"2022-01-27T03:27:51","date_gmt":"2022-01-27T03:27:51","guid":{"rendered":"https:\/\/www.cybermedian.com\/vn\/?p=698"},"modified":"2025-02-11T09:44:40","modified_gmt":"2025-02-11T01:44:40","slug":"what-composite-states-in-uml-state-machine-diagram","status":"publish","type":"post","link":"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/","title":{"rendered":"Tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p trong s\u01a1 \u0111\u1ed3 m\u00e1y tr\u1ea1ng th\u00e1i UML l\u00e0 g\u00ec?"},"content":{"rendered":"<p><strong>C\u00e1c tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p<\/strong> ch\u1ee9a m\u1ed9t ho\u1eb7c nhi\u1ec1u s\u01a1 \u0111\u1ed3 tr\u1ea1ng th\u00e1i; n\u1ebfu ch\u00fang ch\u1ee9a nhi\u1ec1u s\u01a1 \u0111\u1ed3 tr\u1ea1ng th\u00e1i, th\u00ec c\u00e1c s\u01a1 \u0111\u1ed3 tr\u1ea1ng th\u00e1i s\u1ebd \u0111\u01b0\u1ee3c th\u1ef1c thi song song. N\u00f3i c\u00e1ch kh\u00e1c, m\u1ed9t<span style=\"font-size: 1.125rem\"> tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p l\u00e0 m\u1ed9t tr\u1ea1ng th\u00e1i ch\u1ee9a m\u1ed9t ho\u1eb7c nhi\u1ec1u \u0111\u1ed3 th\u1ecb tr\u1ea1ng th\u00e1i. M\u1ed7i s\u01a1 \u0111\u1ed3 thu\u1ed9c v\u1ec1 m\u1ed9t v\u00f9ng, v\u00e0 c\u00e1c v\u00f9ng \u0111\u01b0\u1ee3c ph\u00e2n chia b\u1eb1ng c\u00e1c \u0111\u01b0\u1eddng n\u00e9t \u0111\u1ee9t. C\u00e1c tr\u1ea1ng th\u00e1i trong v\u00f9ng \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 tr\u1ea1ng th\u00e1i con c\u1ee7a tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p.<\/span><\/p>\n<p id=\"ZZcbSqm\"><span style=\"font-size: 1.125rem\">M\u1ed9t \u0111i\u1ec3m kh\u00e1c bi\u1ec7t ch\u00ednh gi\u1eefa c\u00e1c s\u01a1 \u0111\u1ed3 tr\u1ea1ng th\u00e1i UML v\u00e0 c\u00e1c s\u01a1 \u0111\u1ed3 tr\u1ea1ng th\u00e1i kh\u00f4ng ph\u1ea3i UML m\u00e0 b\u1ea1n c\u00f3 th\u1ec3 quen thu\u1ed9c l\u00e0 UML cho ph\u00e9p c\u00e1c tr\u1ea1ng th\u00e1i \u0111\u1ed3ng th\u1eddi, ho\u1eb7c nhi\u1ec1u tr\u1ea1ng th\u00e1i c\u00f9ng m\u1ed9t l\u00fac. C\u00e1c tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p l\u00e0m cho \u0111i\u1ec1u n\u00e0y tr\u1edf n\u00ean kh\u1ea3 thi.<\/span><\/p>\n<h4 class=\"title\">C\u00e1c kh\u00e1i ni\u1ec7m ch\u00ednh v\u1ec1 m\u00e1y con, c\u00e1c v\u00f9ng tr\u1ef1c giao<\/h4>\n<p>M\u1ed9t <strong>tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p<\/strong> l\u00e0 m\u1ed9t tr\u1ea1ng th\u00e1i ch\u1ee9a m\u1ed9t v\u00f9ng ho\u1eb7c \u0111\u01b0\u1ee3c ph\u00e2n th\u00e0nh hai ho\u1eb7c nhi\u1ec1u v\u00f9ng. M\u1ed9t tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p ch\u1ee9a t\u1eadp h\u1ee3p c\u00e1c tr\u1ea1ng th\u00e1i v\u00e0 v\u00f9ng ri\u00eang c\u1ee7a n\u00f3.<\/p>\n<p id=\"MqonJlS\"><img alt=\"\" class=\"alignnone wp-image-701\" decoding=\"async\" height=\"130\" loading=\"lazy\" src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/01\/img_61f2104e44dc1.png\" width=\"333\"\/><\/p>\n<p>M\u1ed9t <strong>m\u00e1y con<\/strong> \u0111\u01b0\u1ee3c ch\u00e8n nh\u01b0 m\u1ed9t tr\u1ea1ng th\u00e1i v\u00e0o m\u1ed9t m\u00e1y tr\u1ea1ng th\u00e1i kh\u00e1c. C\u00f9ng m\u1ed9t m\u00e1y con c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c ch\u00e8n nhi\u1ec1u l\u1ea7n.<\/p>\n<p id=\"CWgzoPj\"><img alt=\"\" class=\"alignnone size-full wp-image-702\" decoding=\"async\" height=\"204\" loading=\"lazy\" src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/01\/img_61f21065ea8b8.png\" width=\"367\"\/><\/p>\n<p><strong>M\u00e1y con so v\u1edbi Tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p <\/strong><\/p>\n<p><span style=\"font-size: 1.125rem\">M\u1ed9t tr\u1ea1ng th\u00e1i m\u00e1y con v\u1ec1 m\u1eb7t ng\u1eef ngh\u0129a t\u01b0\u01a1ng \u0111\u01b0\u01a1ng v\u1edbi m\u1ed9t tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p. C\u00e1c v\u00f9ng c\u1ee7a m\u00e1y tr\u1ea1ng th\u00e1i m\u00e1y con l\u00e0 c\u00e1c v\u00f9ng c\u1ee7a tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p. C\u00e1c h\u00e0nh \u0111\u1ed9ng v\u00e0o, ra v\u00e0 h\u00e0nh vi c\u0169ng nh\u01b0 c\u00e1c chuy\u1ec3n ti\u1ebfp n\u1ed9i b\u1ed9 \u0111\u01b0\u1ee3c \u0111\u1ecbnh ngh\u0129a nh\u01b0 m\u1ed9t ph\u1ea7n c\u1ee7a tr\u1ea1ng th\u00e1i. Tr\u1ea1ng th\u00e1i m\u00e1y con l\u00e0 m\u1ed9t c\u01a1 ch\u1ebf ph\u00e2n r\u00e3 cho ph\u00e9p ph\u00e2n t\u00e1ch c\u00e1c h\u00e0nh vi chung v\u00e0 t\u00e1i s\u1eed d\u1ee5ng ch\u00fang.<\/span><\/p>\n<p>M\u1ed9t <strong>v\u00f9ng tr\u1ef1c giao<\/strong> l\u00e0 m\u1ed9t ph\u1ea7n c\u1ee7a tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p ho\u1eb7c m\u00e1y con, v\u00e0 m\u1ed7i v\u00f9ng c\u00f3 t\u1eadp h\u1ee3p c\u00e1c tr\u1ea1ng th\u00e1i v\u00e0 chuy\u1ec3n ti\u1ebfp lo\u1ea1i tr\u1eeb l\u1eabn nhau ri\u00eang.<\/p>\n<p><img alt=\"Composite state - yasmine - the C++ UML state machine framework\" decoding=\"async\" src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2025\/02\/composite_state_symbol_context_2.png\"\/><\/p>\n<p>th\u00eam<\/p>\n<p><strong>T\u00ecm hi\u1ec3u th\u00eam v\u1ec1 s\u01a1 \u0111\u1ed3 tr\u1ea1ng th\u00e1i b\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng c\u00e1c v\u00ed d\u1ee5 tr\u1ef1c tuy\u1ebfn<\/strong><\/p>\n<div class=\"infoart-templates-item\">\n<p><a href=\"https:\/\/online.visual-paradigm.com\/diagrams\/templates\/state-machine-diagram\/atm-system\/\"><img alt=\"State Machine Diagram template: ATM System (Created by InfoART's State Machine Diagram marker)\" class=\"related-templates-masonry-content lozad\" data-loaded=\"true\" data-src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/atm-system.png\" decoding=\"async\" src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/atm-system.png\" title=\"ATM System\"\/><\/a><\/p>\n<div class=\"template-caption-front\" title=\"ATM System\"><a href=\"https:\/\/online.visual-paradigm.com\/app\/diagrams\/#diagram:proj=0&amp;type=StateMachineDiagram&amp;gallery=\/repository\/5e686366-e57e-41c3-bd38-233f74d61191.xml&amp;name=ATM%20System\" rel=\"noopener\" target=\"_blank\"><span class=\"caption-box\">H\u1ec7 th\u1ed1ng ATM<\/span><\/a><\/div>\n<div class=\"template-button-set\"><\/div>\n<\/div>\n<div class=\"infoart-templates-item\">\n<p><a href=\"https:\/\/online.visual-paradigm.com\/diagrams\/templates\/state-machine-diagram\/book-borrowing-state-machine-diagram\/\"><img alt=\"State Machine Diagram template: Book Borrowing State Machine Diagram (Created by InfoART's State Machine Diagram marker)\" class=\"related-templates-masonry-content lozad\" data-loaded=\"true\" data-src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/book-borrowing-state-machine-diagram.png\" decoding=\"async\" src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/book-borrowing-state-machine-diagram.png\" title=\"Book Borrowing State Machine Diagram\"\/><\/a><\/p>\n<div class=\"template-caption-front\" title=\"Book Borrowing State Machine Diagram\"><a href=\"https:\/\/online.visual-paradigm.com\/app\/diagrams\/#diagram:proj=0&amp;type=StateMachineDiagram&amp;gallery=\/repository\/d3d9f55a-1238-451f-acff-4fcfb07c6aff.xml&amp;name=Book%20Borrowing%20State%20Machine%20Diagram\" rel=\"noopener\" target=\"_blank\"><span class=\"caption-box\">S\u01a1 \u0111\u1ed3 m\u00e1y tr\u1ea1ng th\u00e1i m\u01b0\u1ee3n s\u00e1ch<\/span><\/a><\/div>\n<div class=\"template-button-set\"><\/div>\n<\/div>\n<div class=\"infoart-templates-item\">\n<p><a href=\"https:\/\/online.visual-paradigm.com\/diagrams\/templates\/state-machine-diagram\/oven\/\"><img alt=\"State Machine Diagram template: Oven (Created by InfoART's State Machine Diagram marker)\" class=\"related-templates-masonry-content lozad\" data-loaded=\"true\" data-src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/oven.png\" decoding=\"async\" src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/oven.png\" title=\"Oven\"\/><\/a><\/p>\n<div class=\"template-caption-front\" title=\"Oven\"><a href=\"https:\/\/online.visual-paradigm.com\/app\/diagrams\/#diagram:proj=0&amp;type=StateMachineDiagram&amp;gallery=\/repository\/3f22721b-532b-4a67-ae0d-491418d3268d.xml&amp;name=Oven\" rel=\"noopener\" target=\"_blank\"><span class=\"caption-box\">L\u00f2 n\u01b0\u1edbng<\/span><\/a><\/div>\n<div class=\"template-button-set\"><\/div>\n<\/div>\n<div class=\"infoart-templates-item\">\n<p><a href=\"https:\/\/online.visual-paradigm.com\/diagrams\/templates\/state-machine-diagram\/digital-clock\/\"><img alt=\"State Machine Diagram template: Digital Clock (Created by InfoART's State Machine Diagram marker)\" class=\"related-templates-masonry-content lozad\" data-loaded=\"true\" data-src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/1_digital-clock.png\" decoding=\"async\" src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/1_digital-clock.png\" title=\"Digital Clock\"\/><\/a><\/p>\n<div class=\"template-caption-front\" title=\"Digital Clock\"><a href=\"https:\/\/online.visual-paradigm.com\/app\/diagrams\/#diagram:proj=0&amp;type=StateMachineDiagram&amp;gallery=\/repository\/eea799c8-ce12-48ac-9268-a5670da84f43.xml&amp;name=Digital%20Clock\" rel=\"noopener\" target=\"_blank\"><span class=\"caption-box\">\u0110\u1ed3ng h\u1ed3 k\u1ef9 thu\u1eadt s\u1ed1<\/span><\/a><\/div>\n<div class=\"template-button-set\"><\/div>\n<\/div>\n<div class=\"infoart-templates-item\">\n<p><a href=\"https:\/\/online.visual-paradigm.com\/diagrams\/templates\/state-machine-diagram\/orthogonal-state\/\"><img alt=\"State Machine Diagram template: Orthogonal State (Created by InfoART's State Machine Diagram marker)\" class=\"related-templates-masonry-content lozad\" data-loaded=\"true\" data-src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/2_orthogonal-state.png\" decoding=\"async\" src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/2_orthogonal-state.png\" title=\"Orthogonal State\"\/><\/a><\/p>\n<div class=\"template-caption-front\" title=\"Orthogonal State\"><a href=\"https:\/\/online.visual-paradigm.com\/app\/diagrams\/#diagram:proj=0&amp;type=StateMachineDiagram&amp;gallery=\/repository\/a481a001-4075-47dc-b968-c8c191f88dad.xml&amp;name=Orthogonal%20State\" rel=\"noopener\" target=\"_blank\"><span class=\"caption-box\">Tr\u1ea1ng th\u00e1i tr\u1ef1c giao<\/span><\/a><\/div>\n<div class=\"template-button-set\"><\/div>\n<\/div>\n<div class=\"infoart-templates-item\">\n<p><a href=\"https:\/\/online.visual-paradigm.com\/diagrams\/templates\/state-machine-diagram\/composite-state\/\"><img alt=\"State Machine Diagram template: Composite State (Created by InfoART's State Machine Diagram marker)\" class=\"related-templates-masonry-content lozad\" data-loaded=\"true\" data-src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/2_composite-state.png\" decoding=\"async\" src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/2_composite-state.png\" title=\"Composite State\"\/><\/a><\/p>\n<div class=\"template-caption-front\" title=\"Composite State\"><a href=\"https:\/\/online.visual-paradigm.com\/app\/diagrams\/#diagram:proj=0&amp;type=StateMachineDiagram&amp;gallery=\/repository\/f5639b5f-2dfe-4fd8-94a3-1bdd357f9e48.xml&amp;name=Composite%20State\" rel=\"noopener\" target=\"_blank\"><span class=\"caption-box\">Tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p<\/span><\/a><\/div>\n<div class=\"template-button-set\"><\/div>\n<\/div>\n<div class=\"infoart-templates-item\">\n<p><a href=\"https:\/\/online.visual-paradigm.com\/diagrams\/templates\/state-machine-diagram\/heater\/\"><img alt=\"State Machine Diagram template: Heater (Created by InfoART's State Machine Diagram marker)\" class=\"related-templates-masonry-content lozad\" data-loaded=\"true\" data-src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/2_heater.png\" decoding=\"async\" src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/2_heater.png\" title=\"Heater\"\/><\/a><\/p>\n<div class=\"template-caption-front\" title=\"Heater\"><a href=\"https:\/\/online.visual-paradigm.com\/app\/diagrams\/#diagram:proj=0&amp;type=StateMachineDiagram&amp;gallery=\/repository\/4015881d-2dea-4a47-9e8c-e5934c1effa5.xml&amp;name=Heater\" rel=\"noopener\" target=\"_blank\"><span class=\"caption-box\">M\u00e1y s\u01b0\u1edfi<\/span><\/a><\/div>\n<div class=\"template-button-set\"><\/div>\n<\/div>\n<div class=\"infoart-templates-item\">\n<p><a href=\"https:\/\/online.visual-paradigm.com\/diagrams\/templates\/state-machine-diagram\/toaster\/\"><img alt=\"State Machine Diagram template: Toaster (Created by InfoART's State Machine Diagram marker)\" class=\"related-templates-masonry-content lozad\" data-loaded=\"true\" data-src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/2_toaster.png\" decoding=\"async\" src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/2_toaster.png\" title=\"Toaster\"\/><\/a><\/p>\n<div class=\"template-caption-front\" title=\"Toaster\"><a href=\"https:\/\/online.visual-paradigm.com\/app\/diagrams\/#diagram:proj=0&amp;type=StateMachineDiagram&amp;gallery=\/repository\/bced1ce5-5a2a-4d41-a2da-e5187e3c6b68.xml&amp;name=Toaster\" rel=\"noopener\" target=\"_blank\"><span class=\"caption-box\">M\u00e1y n\u01b0\u1edbng b\u00e1nh<\/span><\/a><\/div>\n<div class=\"template-button-set\"><\/div>\n<\/div>\n<div class=\"infoart-templates-item\">\n<p><a href=\"https:\/\/online.visual-paradigm.com\/diagrams\/templates\/state-machine-diagram\/ticket-selling-system\/\"><img alt=\"State Machine Diagram template: Ticket Selling System (Created by InfoART's State Machine Diagram marker)\" class=\"related-templates-masonry-content lozad\" data-loaded=\"true\" data-src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/1_ticket-selling-system.png\" decoding=\"async\" src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/1_ticket-selling-system.png\" title=\"Ticket Selling System\"\/><\/a><\/p>\n<div class=\"template-caption-front\" title=\"Ticket Selling System\"><a href=\"https:\/\/online.visual-paradigm.com\/app\/diagrams\/#diagram:proj=0&amp;type=StateMachineDiagram&amp;gallery=\/repository\/7665ceda-bcba-482b-b85e-31b7fa309ee9.xml&amp;name=Ticket%20Selling%20System\" rel=\"noopener\" target=\"_blank\"><span class=\"caption-box\">H\u1ec7 th\u1ed1ng b\u00e1n v\u00e9<\/span><\/a><\/div>\n<div class=\"template-button-set\"><\/div>\n<\/div>\n<div class=\"infoart-templates-item\">\n<p><a href=\"https:\/\/online.visual-paradigm.com\/diagrams\/templates\/state-machine-diagram\/phone\/\"><img alt=\"State Machine Diagram template: Phone (Created by InfoART's State Machine Diagram marker)\" class=\"related-templates-masonry-content lozad\" data-loaded=\"true\" data-src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/2_phone.png\" decoding=\"async\" src=\"https:\/\/www.cybermedian.com\/vn\/wp-content\/uploads\/sites\/14\/2022\/02\/2_phone.png\" title=\"Phone\"\/><\/a><\/p>\n<div class=\"template-caption-front\" title=\"Phone\"><a href=\"https:\/\/online.visual-paradigm.com\/app\/diagrams\/#diagram:proj=0&amp;type=StateMachineDiagram&amp;gallery=\/repository\/0994baa4-5ebd-4166-abfb-88d1e6bcee25.xml&amp;name=Phone\" rel=\"noopener\" target=\"_blank\"><span class=\"caption-box\">\u0110i\u1ec7n tho\u1ea1i<\/span><\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>A simple state is one which has no substructure. A state which has substates (nested states) is called a composite state. Substates may be nested to any level. A nested state machine may have at most one initial state and one final state. Substates are used to simplify complex flat state machines by showing that some states are only possible within a particular context (the enclosing state).<\/p>\n","protected":false},"author":1,"featured_media":788,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"","footnotes":""},"categories":[13,3],"tags":[52,63,62,53],"class_list":["post-698","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-online-diagrams","category-unified-modeling-language","tag-cn-done","tag-es-done","tag-ja-done","tag-tw-done"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p trong s\u01a1 \u0111\u1ed3 m\u00e1y tr\u1ea1ng th\u00e1i UML l\u00e0 g\u00ec? - Cybermedian<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/\" \/>\n<meta property=\"og:locale\" content=\"vi_VN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p trong s\u01a1 \u0111\u1ed3 m\u00e1y tr\u1ea1ng th\u00e1i UML l\u00e0 g\u00ec? - Cybermedian\" \/>\n<meta property=\"og:description\" content=\"A simple state is one which has no substructure. A state which has substates (nested states) is called a composite state. Substates may be nested to any level. A nested state machine may have at most one initial state and one final state. Substates are used to simplify complex flat state machines by showing that some states are only possible within a particular context (the enclosing state).\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/\" \/>\n<meta property=\"og:site_name\" content=\"Cybermedian\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-27T03:27:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-11T01:44:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn-images.visual-paradigm.com\/guide\/uml\/what-is-state-machine-diagram\/07-submachine-example.png\" \/>\n<meta name=\"author\" content=\"vpadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/cdn-images.visual-paradigm.com\/guide\/uml\/what-is-state-machine-diagram\/07-submachine-example.png\" \/>\n<meta name=\"twitter:creator\" content=\"@vpadmin\" \/>\n<meta name=\"twitter:label1\" content=\"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi\" \/>\n\t<meta name=\"twitter:data1\" content=\"vpadmin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 ph\u00fat\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/\"},\"author\":{\"name\":\"vpadmin\",\"@id\":\"https:\/\/www.cybermedian.com\/vn\/#\/schema\/person\/0122cdf8fc3b73482dd8a30c8500f75a\"},\"headline\":\"Tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p trong s\u01a1 \u0111\u1ed3 m\u00e1y tr\u1ea1ng th\u00e1i UML l\u00e0 g\u00ec?\",\"datePublished\":\"2022-01-27T03:27:51+00:00\",\"dateModified\":\"2025-02-11T01:44:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/\"},\"wordCount\":674,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdn-images.visual-paradigm.com\/guide\/uml\/what-is-state-machine-diagram\/07-submachine-example.png\",\"keywords\":[\"cn-done\",\"es-done\",\"ja-done\",\"tw-done\"],\"articleSection\":[\"Online Diagrams\",\"Unified Modeling Language\"],\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/\",\"url\":\"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/\",\"name\":\"Tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p trong s\u01a1 \u0111\u1ed3 m\u00e1y tr\u1ea1ng th\u00e1i UML l\u00e0 g\u00ec? - Cybermedian\",\"isPartOf\":{\"@id\":\"https:\/\/www.cybermedian.com\/vn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdn-images.visual-paradigm.com\/guide\/uml\/what-is-state-machine-diagram\/07-submachine-example.png\",\"datePublished\":\"2022-01-27T03:27:51+00:00\",\"dateModified\":\"2025-02-11T01:44:40+00:00\",\"author\":{\"@id\":\"https:\/\/www.cybermedian.com\/vn\/#\/schema\/person\/0122cdf8fc3b73482dd8a30c8500f75a\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/#breadcrumb\"},\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/#primaryimage\",\"url\":\"https:\/\/cdn-images.visual-paradigm.com\/guide\/uml\/what-is-state-machine-diagram\/07-submachine-example.png\",\"contentUrl\":\"https:\/\/cdn-images.visual-paradigm.com\/guide\/uml\/what-is-state-machine-diagram\/07-submachine-example.png\",\"width\":\"503\",\"height\":\"287\",\"caption\":\"What is a composite state in a UML state machine diagram?\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.cybermedian.com\/vn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p trong s\u01a1 \u0111\u1ed3 m\u00e1y tr\u1ea1ng th\u00e1i UML l\u00e0 g\u00ec?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.cybermedian.com\/vn\/#website\",\"url\":\"https:\/\/www.cybermedian.com\/vn\/\",\"name\":\"Cybermedian\",\"description\":\"H\u1ecdc m\u1ed9t \u0111i\u1ec1u m\u1edbi m\u1ed7i ng\u00e0y\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.cybermedian.com\/vn\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"vi\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.cybermedian.com\/vn\/#\/schema\/person\/0122cdf8fc3b73482dd8a30c8500f75a\",\"name\":\"vpadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\/\/www.cybermedian.com\/vn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3914788226b9b0af628488720662164f4641c6125d0bd38d90ae34f01c8c4ea3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3914788226b9b0af628488720662164f4641c6125d0bd38d90ae34f01c8c4ea3?s=96&d=mm&r=g\",\"caption\":\"vpadmin\"},\"sameAs\":[\"https:\/\/x.com\/vpadmin\"],\"url\":\"https:\/\/www.cybermedian.com\/vn\/author\/vpadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p trong s\u01a1 \u0111\u1ed3 m\u00e1y tr\u1ea1ng th\u00e1i UML l\u00e0 g\u00ec? - Cybermedian","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/","og_locale":"vi_VN","og_type":"article","og_title":"Tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p trong s\u01a1 \u0111\u1ed3 m\u00e1y tr\u1ea1ng th\u00e1i UML l\u00e0 g\u00ec? - Cybermedian","og_description":"A simple state is one which has no substructure. A state which has substates (nested states) is called a composite state. Substates may be nested to any level. A nested state machine may have at most one initial state and one final state. Substates are used to simplify complex flat state machines by showing that some states are only possible within a particular context (the enclosing state).","og_url":"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/","og_site_name":"Cybermedian","article_published_time":"2022-01-27T03:27:51+00:00","article_modified_time":"2025-02-11T01:44:40+00:00","og_image":[{"url":"https:\/\/cdn-images.visual-paradigm.com\/guide\/uml\/what-is-state-machine-diagram\/07-submachine-example.png","type":"","width":"","height":""}],"author":"vpadmin","twitter_card":"summary_large_image","twitter_image":"https:\/\/cdn-images.visual-paradigm.com\/guide\/uml\/what-is-state-machine-diagram\/07-submachine-example.png","twitter_creator":"@vpadmin","twitter_misc":{"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi":"vpadmin","\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc":"3 ph\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/#article","isPartOf":{"@id":"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/"},"author":{"name":"vpadmin","@id":"https:\/\/www.cybermedian.com\/vn\/#\/schema\/person\/0122cdf8fc3b73482dd8a30c8500f75a"},"headline":"Tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p trong s\u01a1 \u0111\u1ed3 m\u00e1y tr\u1ea1ng th\u00e1i UML l\u00e0 g\u00ec?","datePublished":"2022-01-27T03:27:51+00:00","dateModified":"2025-02-11T01:44:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/"},"wordCount":674,"commentCount":0,"image":{"@id":"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn-images.visual-paradigm.com\/guide\/uml\/what-is-state-machine-diagram\/07-submachine-example.png","keywords":["cn-done","es-done","ja-done","tw-done"],"articleSection":["Online Diagrams","Unified Modeling Language"],"inLanguage":"vi","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/","url":"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/","name":"Tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p trong s\u01a1 \u0111\u1ed3 m\u00e1y tr\u1ea1ng th\u00e1i UML l\u00e0 g\u00ec? - Cybermedian","isPartOf":{"@id":"https:\/\/www.cybermedian.com\/vn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/#primaryimage"},"image":{"@id":"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn-images.visual-paradigm.com\/guide\/uml\/what-is-state-machine-diagram\/07-submachine-example.png","datePublished":"2022-01-27T03:27:51+00:00","dateModified":"2025-02-11T01:44:40+00:00","author":{"@id":"https:\/\/www.cybermedian.com\/vn\/#\/schema\/person\/0122cdf8fc3b73482dd8a30c8500f75a"},"breadcrumb":{"@id":"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/"]}]},{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/#primaryimage","url":"https:\/\/cdn-images.visual-paradigm.com\/guide\/uml\/what-is-state-machine-diagram\/07-submachine-example.png","contentUrl":"https:\/\/cdn-images.visual-paradigm.com\/guide\/uml\/what-is-state-machine-diagram\/07-submachine-example.png","width":"503","height":"287","caption":"What is a composite state in a UML state machine diagram?"},{"@type":"BreadcrumbList","@id":"https:\/\/www.cybermedian.com\/vn\/what-composite-states-in-uml-state-machine-diagram\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cybermedian.com\/vn\/"},{"@type":"ListItem","position":2,"name":"Tr\u1ea1ng th\u00e1i t\u1ed5ng h\u1ee3p trong s\u01a1 \u0111\u1ed3 m\u00e1y tr\u1ea1ng th\u00e1i UML l\u00e0 g\u00ec?"}]},{"@type":"WebSite","@id":"https:\/\/www.cybermedian.com\/vn\/#website","url":"https:\/\/www.cybermedian.com\/vn\/","name":"Cybermedian","description":"H\u1ecdc m\u1ed9t \u0111i\u1ec1u m\u1edbi m\u1ed7i ng\u00e0y","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cybermedian.com\/vn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"vi"},{"@type":"Person","@id":"https:\/\/www.cybermedian.com\/vn\/#\/schema\/person\/0122cdf8fc3b73482dd8a30c8500f75a","name":"vpadmin","image":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/www.cybermedian.com\/vn\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3914788226b9b0af628488720662164f4641c6125d0bd38d90ae34f01c8c4ea3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3914788226b9b0af628488720662164f4641c6125d0bd38d90ae34f01c8c4ea3?s=96&d=mm&r=g","caption":"vpadmin"},"sameAs":["https:\/\/x.com\/vpadmin"],"url":"https:\/\/www.cybermedian.com\/vn\/author\/vpadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.cybermedian.com\/vn\/wp-json\/wp\/v2\/posts\/698","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cybermedian.com\/vn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cybermedian.com\/vn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cybermedian.com\/vn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cybermedian.com\/vn\/wp-json\/wp\/v2\/comments?post=698"}],"version-history":[{"count":9,"href":"https:\/\/www.cybermedian.com\/vn\/wp-json\/wp\/v2\/posts\/698\/revisions"}],"predecessor-version":[{"id":9965,"href":"https:\/\/www.cybermedian.com\/vn\/wp-json\/wp\/v2\/posts\/698\/revisions\/9965"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cybermedian.com\/vn\/wp-json\/wp\/v2\/media\/788"}],"wp:attachment":[{"href":"https:\/\/www.cybermedian.com\/vn\/wp-json\/wp\/v2\/media?parent=698"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cybermedian.com\/vn\/wp-json\/wp\/v2\/categories?post=698"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cybermedian.com\/vn\/wp-json\/wp\/v2\/tags?post=698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}