JSDelta:序列化修改后的javascript状态以实现状态共享(正在进行中)

Jin-woo Kwon, Soo-Mook Moon
{"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}
引用次数: 3

摘要

在物联网平台上有许多正在工作的项目,许多项目使用JavaScript作为其客户端语言。在物联网平台中使用JavaScript的好处之一是它的可移植性,它允许应用程序在任何使用JavaScript运行时的物联网设备上运行。在这种情况下,如果可以共享物联网设备中的状态,以便用户可以无缝地将应用程序的状态从一个设备延续到另一个设备,则可以增强用户体验。然而,序列化正在运行的应用程序的整个执行状态将是低效的,因为大多数执行状态将与应用程序启动时的初始状态相同。为了减少这种低效率,我们提出了JSDelta,它遍历JavaScript对象,并仅将从初始状态修改的对象保存到一个称为快照的文件中。我们将快照发送到其他IoT设备,该设备启动原始应用程序并应用快照恢复执行状态。我们有一个很好的实验结果,平均消除了94%的快照大小。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信