Loading…

Development of a Framework-Independent Code Generator From State Machine Diagrams

State machine diagrams offer the advantage of expressing the system clearly and easily to understand because they express the operation of the system in highly readable graphics. In addition, codes can be automatically generated from models created using modeling tools, contributing to the developme...

Full description

Saved in:
Bibliographic Details
Published in:IEEE access 2024, Vol.12, p.125108-125124
Main Authors: Jung, Seungmo, Lee, Woojin
Format: Article
Language:English
Subjects:
Citations: Items that this one cites
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
cited_by
cites cdi_FETCH-LOGICAL-c289t-944c2f69791385646bca25c91c08b34ebbb63f54597fa2f945b20c193e6433763
container_end_page 125124
container_issue
container_start_page 125108
container_title IEEE access
container_volume 12
creator Jung, Seungmo
Lee, Woojin
description State machine diagrams offer the advantage of expressing the system clearly and easily to understand because they express the operation of the system in highly readable graphics. In addition, codes can be automatically generated from models created using modeling tools, contributing to the development of high-quality software. Despite these benefits, code generated from the modeling tool's framework is often inaccessible to domain software, limiting the ability to modify or verify it. Additionally, the additional code generated to perform the various functions of the modeling tool is unnecessary code for the functions of the domain software and affects limited resources such as memory usage. As a solution, this paper proposes a method for developing an automatic model code generator that produces framework-independent code from state machine diagrams. The automatic model code generator uses a state machine diagram as input to automatically generate source code through the steps of extraction model design, extraction model implementation, implementation model creation, and model code generation. The functionality and performance of this method are validated by comparing the code generated using the automatic model code generator with that generated using the modeling tool. The experimental results in the naval combat system environment show no difference in functionality, demonstrating efficient performance concerning resource utilization, including memory usage. Using the method proposed in this paper has the advantage of being able to apply it flexibly by solving the problem of not being able to apply state machine diagrams due to the framework-dependent code of the modeling tool.
doi_str_mv 10.1109/ACCESS.2024.3454699
format article
fullrecord <record><control><sourceid>proquest_ieee_</sourceid><recordid>TN_cdi_ieee_primary_10666670</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><ieee_id>10666670</ieee_id><doaj_id>oai_doaj_org_article_f8e87d9f70e24551a1ab11090a104821</doaj_id><sourcerecordid>3106514084</sourcerecordid><originalsourceid>FETCH-LOGICAL-c289t-944c2f69791385646bca25c91c08b34ebbb63f54597fa2f945b20c193e6433763</originalsourceid><addsrcrecordid>eNpNUctOwzAQjBBIVKVfAIdInFP8Tnys0geVihAqnC3HWZeUJi5OCuLvcUmFugfvanZmbHmi6BajMcZIPkzyfLZejwkibEwZZ0LKi2hAsJAJ5VRcns3X0ahttyhUFiCeDqKXKXzBzu1raLrY2VjHc69r-Hb-I1k2JewhHGGVuxLiBTTgded8ILk6Xne6g_hJm_eqgXha6U2QtjfRldW7FkanPoze5rPX_DFZPS-W-WSVGJLJLpGMGWKFTCWmGRdMFEYTbiQ2KCsog6IoBLWccZlaTaxkvCDIYElBMEpTQYfRsvctnd6qva9q7X-U05X6A5zfKO27yuxA2QyytJQ2RUAY51hjXRy_DmmMWEZw8LrvvfbefR6g7dTWHXwTnq8oRoJjhjIWWLRnGe_a1oP9vxUjdfRTfRTqGIU6RRFUd72qAoAzhQiVIvoL142CfA</addsrcrecordid><sourcetype>Open Website</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>3106514084</pqid></control><display><type>article</type><title>Development of a Framework-Independent Code Generator From State Machine Diagrams</title><source>IEEE Xplore Open Access Journals</source><creator>Jung, Seungmo ; Lee, Woojin</creator><creatorcontrib>Jung, Seungmo ; Lee, Woojin</creatorcontrib><description>State machine diagrams offer the advantage of expressing the system clearly and easily to understand because they express the operation of the system in highly readable graphics. In addition, codes can be automatically generated from models created using modeling tools, contributing to the development of high-quality software. Despite these benefits, code generated from the modeling tool's framework is often inaccessible to domain software, limiting the ability to modify or verify it. Additionally, the additional code generated to perform the various functions of the modeling tool is unnecessary code for the functions of the domain software and affects limited resources such as memory usage. As a solution, this paper proposes a method for developing an automatic model code generator that produces framework-independent code from state machine diagrams. The automatic model code generator uses a state machine diagram as input to automatically generate source code through the steps of extraction model design, extraction model implementation, implementation model creation, and model code generation. The functionality and performance of this method are validated by comparing the code generated using the automatic model code generator with that generated using the modeling tool. The experimental results in the naval combat system environment show no difference in functionality, demonstrating efficient performance concerning resource utilization, including memory usage. Using the method proposed in this paper has the advantage of being able to apply it flexibly by solving the problem of not being able to apply state machine diagrams due to the framework-dependent code of the modeling tool.</description><identifier>ISSN: 2169-3536</identifier><identifier>EISSN: 2169-3536</identifier><identifier>DOI: 10.1109/ACCESS.2024.3454699</identifier><identifier>CODEN: IAECCG</identifier><language>eng</language><publisher>Piscataway: IEEE</publisher><subject>automatic code generation ; Codes ; Domains ; Generators ; Model driven engineering ; model-driven development ; Modelling ; naval combat system software ; Resource utilization ; Software ; Software development management ; Solid modeling ; Source code ; Source coding ; state machine diagrams ; State machines ; Unified modeling language</subject><ispartof>IEEE access, 2024, Vol.12, p.125108-125124</ispartof><rights>Copyright The Institute of Electrical and Electronics Engineers, Inc. (IEEE) 2024</rights><lds50>peer_reviewed</lds50><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed><cites>FETCH-LOGICAL-c289t-944c2f69791385646bca25c91c08b34ebbb63f54597fa2f945b20c193e6433763</cites><orcidid>0009-0005-8062-2209 ; 0000-0002-8075-5248</orcidid></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://ieeexplore.ieee.org/document/10666670$$EHTML$$P50$$Gieee$$Hfree_for_read</linktohtml><link.rule.ids>314,777,781,4010,27614,27904,27905,27906,54914</link.rule.ids></links><search><creatorcontrib>Jung, Seungmo</creatorcontrib><creatorcontrib>Lee, Woojin</creatorcontrib><title>Development of a Framework-Independent Code Generator From State Machine Diagrams</title><title>IEEE access</title><addtitle>Access</addtitle><description>State machine diagrams offer the advantage of expressing the system clearly and easily to understand because they express the operation of the system in highly readable graphics. In addition, codes can be automatically generated from models created using modeling tools, contributing to the development of high-quality software. Despite these benefits, code generated from the modeling tool's framework is often inaccessible to domain software, limiting the ability to modify or verify it. Additionally, the additional code generated to perform the various functions of the modeling tool is unnecessary code for the functions of the domain software and affects limited resources such as memory usage. As a solution, this paper proposes a method for developing an automatic model code generator that produces framework-independent code from state machine diagrams. The automatic model code generator uses a state machine diagram as input to automatically generate source code through the steps of extraction model design, extraction model implementation, implementation model creation, and model code generation. The functionality and performance of this method are validated by comparing the code generated using the automatic model code generator with that generated using the modeling tool. The experimental results in the naval combat system environment show no difference in functionality, demonstrating efficient performance concerning resource utilization, including memory usage. Using the method proposed in this paper has the advantage of being able to apply it flexibly by solving the problem of not being able to apply state machine diagrams due to the framework-dependent code of the modeling tool.</description><subject>automatic code generation</subject><subject>Codes</subject><subject>Domains</subject><subject>Generators</subject><subject>Model driven engineering</subject><subject>model-driven development</subject><subject>Modelling</subject><subject>naval combat system software</subject><subject>Resource utilization</subject><subject>Software</subject><subject>Software development management</subject><subject>Solid modeling</subject><subject>Source code</subject><subject>Source coding</subject><subject>state machine diagrams</subject><subject>State machines</subject><subject>Unified modeling language</subject><issn>2169-3536</issn><issn>2169-3536</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>ESBDL</sourceid><sourceid>DOA</sourceid><recordid>eNpNUctOwzAQjBBIVKVfAIdInFP8Tnys0geVihAqnC3HWZeUJi5OCuLvcUmFugfvanZmbHmi6BajMcZIPkzyfLZejwkibEwZZ0LKi2hAsJAJ5VRcns3X0ahttyhUFiCeDqKXKXzBzu1raLrY2VjHc69r-Hb-I1k2JewhHGGVuxLiBTTgded8ILk6Xne6g_hJm_eqgXha6U2QtjfRldW7FkanPoze5rPX_DFZPS-W-WSVGJLJLpGMGWKFTCWmGRdMFEYTbiQ2KCsog6IoBLWccZlaTaxkvCDIYElBMEpTQYfRsvctnd6qva9q7X-U05X6A5zfKO27yuxA2QyytJQ2RUAY51hjXRy_DmmMWEZw8LrvvfbefR6g7dTWHXwTnq8oRoJjhjIWWLRnGe_a1oP9vxUjdfRTfRTqGIU6RRFUd72qAoAzhQiVIvoL142CfA</recordid><startdate>2024</startdate><enddate>2024</enddate><creator>Jung, Seungmo</creator><creator>Lee, Woojin</creator><general>IEEE</general><general>The Institute of Electrical and Electronics Engineers, Inc. (IEEE)</general><scope>97E</scope><scope>ESBDL</scope><scope>RIA</scope><scope>RIE</scope><scope>AAYXX</scope><scope>CITATION</scope><scope>7SC</scope><scope>7SP</scope><scope>7SR</scope><scope>8BQ</scope><scope>8FD</scope><scope>JG9</scope><scope>JQ2</scope><scope>L7M</scope><scope>L~C</scope><scope>L~D</scope><scope>DOA</scope><orcidid>https://orcid.org/0009-0005-8062-2209</orcidid><orcidid>https://orcid.org/0000-0002-8075-5248</orcidid></search><sort><creationdate>2024</creationdate><title>Development of a Framework-Independent Code Generator From State Machine Diagrams</title><author>Jung, Seungmo ; Lee, Woojin</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c289t-944c2f69791385646bca25c91c08b34ebbb63f54597fa2f945b20c193e6433763</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>automatic code generation</topic><topic>Codes</topic><topic>Domains</topic><topic>Generators</topic><topic>Model driven engineering</topic><topic>model-driven development</topic><topic>Modelling</topic><topic>naval combat system software</topic><topic>Resource utilization</topic><topic>Software</topic><topic>Software development management</topic><topic>Solid modeling</topic><topic>Source code</topic><topic>Source coding</topic><topic>state machine diagrams</topic><topic>State machines</topic><topic>Unified modeling language</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Jung, Seungmo</creatorcontrib><creatorcontrib>Lee, Woojin</creatorcontrib><collection>IEEE All-Society Periodicals Package (ASPP) 2005-present</collection><collection>IEEE Xplore Open Access Journals</collection><collection>IEEE All-Society Periodicals Package (ASPP) 1998-Present</collection><collection>IEEE/IET Electronic Library</collection><collection>CrossRef</collection><collection>Computer and Information Systems Abstracts</collection><collection>Electronics &amp; Communications Abstracts</collection><collection>Engineered Materials Abstracts</collection><collection>METADEX</collection><collection>Technology Research Database</collection><collection>Materials Research Database</collection><collection>ProQuest Computer Science Collection</collection><collection>Advanced Technologies Database with Aerospace</collection><collection>Computer and Information Systems Abstracts – Academic</collection><collection>Computer and Information Systems Abstracts Professional</collection><collection>DOAJ Directory of Open Access Journals</collection><jtitle>IEEE access</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Jung, Seungmo</au><au>Lee, Woojin</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Development of a Framework-Independent Code Generator From State Machine Diagrams</atitle><jtitle>IEEE access</jtitle><stitle>Access</stitle><date>2024</date><risdate>2024</risdate><volume>12</volume><spage>125108</spage><epage>125124</epage><pages>125108-125124</pages><issn>2169-3536</issn><eissn>2169-3536</eissn><coden>IAECCG</coden><abstract>State machine diagrams offer the advantage of expressing the system clearly and easily to understand because they express the operation of the system in highly readable graphics. In addition, codes can be automatically generated from models created using modeling tools, contributing to the development of high-quality software. Despite these benefits, code generated from the modeling tool's framework is often inaccessible to domain software, limiting the ability to modify or verify it. Additionally, the additional code generated to perform the various functions of the modeling tool is unnecessary code for the functions of the domain software and affects limited resources such as memory usage. As a solution, this paper proposes a method for developing an automatic model code generator that produces framework-independent code from state machine diagrams. The automatic model code generator uses a state machine diagram as input to automatically generate source code through the steps of extraction model design, extraction model implementation, implementation model creation, and model code generation. The functionality and performance of this method are validated by comparing the code generated using the automatic model code generator with that generated using the modeling tool. The experimental results in the naval combat system environment show no difference in functionality, demonstrating efficient performance concerning resource utilization, including memory usage. Using the method proposed in this paper has the advantage of being able to apply it flexibly by solving the problem of not being able to apply state machine diagrams due to the framework-dependent code of the modeling tool.</abstract><cop>Piscataway</cop><pub>IEEE</pub><doi>10.1109/ACCESS.2024.3454699</doi><tpages>17</tpages><orcidid>https://orcid.org/0009-0005-8062-2209</orcidid><orcidid>https://orcid.org/0000-0002-8075-5248</orcidid><oa>free_for_read</oa></addata></record>
fulltext fulltext
identifier ISSN: 2169-3536
ispartof IEEE access, 2024, Vol.12, p.125108-125124
issn 2169-3536
2169-3536
language eng
recordid cdi_ieee_primary_10666670
source IEEE Xplore Open Access Journals
subjects automatic code generation
Codes
Domains
Generators
Model driven engineering
model-driven development
Modelling
naval combat system software
Resource utilization
Software
Software development management
Solid modeling
Source code
Source coding
state machine diagrams
State machines
Unified modeling language
title Development of a Framework-Independent Code Generator From State Machine Diagrams
url http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-20T09%3A44%3A04IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_ieee_&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Development%20of%20a%20Framework-Independent%20Code%20Generator%20From%20State%20Machine%20Diagrams&rft.jtitle=IEEE%20access&rft.au=Jung,%20Seungmo&rft.date=2024&rft.volume=12&rft.spage=125108&rft.epage=125124&rft.pages=125108-125124&rft.issn=2169-3536&rft.eissn=2169-3536&rft.coden=IAECCG&rft_id=info:doi/10.1109/ACCESS.2024.3454699&rft_dat=%3Cproquest_ieee_%3E3106514084%3C/proquest_ieee_%3E%3Cgrp_id%3Ecdi_FETCH-LOGICAL-c289t-944c2f69791385646bca25c91c08b34ebbb63f54597fa2f945b20c193e6433763%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_pqid=3106514084&rft_id=info:pmid/&rft_ieee_id=10666670&rfr_iscdi=true