{"title":"JSDelta:序列化修改后的javascript状态以实现状态共享(正在进行中)","authors":"Jin-woo Kwon, Soo-Mook Moon","doi":"10.1145/3125503.3125627","DOIUrl":null,"url":null,"abstract":"There are numerous working projects on IoT platforms, and many projects employ JavaScript as their client-side language. One of the benefits using JavaScript in IoT platforms is its great portability which lets an application to run on any IoT devices that employ a JavaScript runtime. In this situation, user experiences can be enhanced if the states in the IoT devices can be shared so that a user can seamlessly continue an application's state from one device to another. However, serializing the whole execution state of a running application will be inefficient, since most of the execution state would be the same as the initial state of the app launch time. To reduce this inefficiency, we propose JSDelta, which traverses the JavaScript objects and save only those objects modified from the initial state to a file called snapshot. We send the snapshot to other IoT device, which launches the original app and apply the snapshot to resume the execution state. We have a promising experimental result, eliminating 94% of the snapshot size on average.","PeriodicalId":143573,"journal":{"name":"International Conference on Embedded Software","volume":"37 4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-10-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"JSDelta: serializing modified javascript states for state sharing (work-in-progress)\",\"authors\":\"Jin-woo Kwon, Soo-Mook Moon\",\"doi\":\"10.1145/3125503.3125627\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"There are numerous working projects on IoT platforms, and many projects employ JavaScript as their client-side language. One of the benefits using JavaScript in IoT platforms is its great portability which lets an application to run on any IoT devices that employ a JavaScript runtime. In this situation, user experiences can be enhanced if the states in the IoT devices can be shared so that a user can seamlessly continue an application's state from one device to another. However, serializing the whole execution state of a running application will be inefficient, since most of the execution state would be the same as the initial state of the app launch time. To reduce this inefficiency, we propose JSDelta, which traverses the JavaScript objects and save only those objects modified from the initial state to a file called snapshot. We send the snapshot to other IoT device, which launches the original app and apply the snapshot to resume the execution state. We have a promising experimental result, eliminating 94% of the snapshot size on average.\",\"PeriodicalId\":143573,\"journal\":{\"name\":\"International Conference on Embedded Software\",\"volume\":\"37 4 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2017-10-15\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Conference on Embedded Software\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3125503.3125627\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Embedded Software","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3125503.3125627","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
JSDelta: serializing modified javascript states for state sharing (work-in-progress)
There are numerous working projects on IoT platforms, and many projects employ JavaScript as their client-side language. One of the benefits using JavaScript in IoT platforms is its great portability which lets an application to run on any IoT devices that employ a JavaScript runtime. In this situation, user experiences can be enhanced if the states in the IoT devices can be shared so that a user can seamlessly continue an application's state from one device to another. However, serializing the whole execution state of a running application will be inefficient, since most of the execution state would be the same as the initial state of the app launch time. To reduce this inefficiency, we propose JSDelta, which traverses the JavaScript objects and save only those objects modified from the initial state to a file called snapshot. We send the snapshot to other IoT device, which launches the original app and apply the snapshot to resume the execution state. We have a promising experimental result, eliminating 94% of the snapshot size on average.