隨著網路的普及，做為物聯網一環的嵌入式系統也愈發融入日常生活中。嵌入式系統對資料儲存的可靠性要求極高，因嵌入式系統的操作介面有限，錯誤或毀損的資料可能會造成嵌入式系統永久性地毀損。大多數的嵌入式系統都不具備電源供應的保護，因此嵌入式系統的軟體設計要項之一便是在電源可能隨時中斷的情況下，仍確保資料儲存的正確性。現今雖已可透過選擇較長壽命的承載硬體、日誌檔案系統（Journaling File System）和資料庫的交易（Transaction）性質來確保儲存資料的正確性，但硬體和檔案系統的改進，對他們的操作方式無任何影響，而資料庫的操作方式卻有別於程式語言對物件資料的操作習慣。 本論文旨在探討，在保有相同可靠性的前提下，如何讓儲存與載入靜態資料的操作方式與程式語言中對物件資料的操作習慣一致。本論文改進了既有物件關聯對映（Object-Relational Mapping, ORM）的對映方式使其具備更廣的資料描述能力，除描述改進後對映方式與既有各對映方式的差異外，也提供了Python版本的函式庫實作來證明可行性，同時亦搜集程式設計師的使用經驗來證明此格式改進促成的操作方式一致性提升所帶來的正面效果。;With the popularity of the internet, embedded devices as part of the Internet of Things are also being much more involved in people’s lives. The necessity of the correctness of the stored data in embedded devices is vital, as the interface provided is usually limited, bad or broken stored data may cause permanent damage to devices. Given the fact that uninterruptible power source is not a requirement in usual embedded systems, one of the required characteristics of embedded devices is the resistance to the power outage regarding the data storing. Although there is already high durability hardware storage, journaling file system and database transaction that can be used for ensuring the correctness of the stored data, the improvements to the hardware and file system didn’t change the way they are used. However, it is notably different between storing data in a database and an object of programming languages. The goal of the research is finding a way to make the operations of loading/saving data from/to databases and objects consistent while keeping the same reliability of the correctness of the data. The thesis shows an improved object-relational mapping (ORM) format that increases the data able to be described. In addition to comparing the difference of the improvement from this thesis with others, a Python library based on the improved format was also created as the material for the survey of the positive impacts to programmers whose data operation work turned into the same with object operation.