{"title":"Web应用程序的HTML5 Web Worker透明卸载方法","authors":"Zhao Wang, Haojiang Deng, Linlin Hu, Xiaoyong Zhu","doi":"10.1109/ICCT.2018.8600046","DOIUrl":null,"url":null,"abstract":"With the release of HTML5 standards, web applications have become more powerful, complicated and resource-hungry, whereas smart devices are in general resource-constrained. Computation offloading is one of the approaches used to increase application efficiency and decrease energy consumption of smart devices. In this paper, the offloading methods of HTML5 web worker in web applications are discussed, and a transparent offloading method of web worker is proposed to reduce execution time of web application and energy consumption of smart device. By rewrite of web worker implementation and modification of HTML5 websocket mechanism of web platform, web worker is offloaded to server side transparently. Common nontransparent web worker offloading method with JS framework has also been implemented. The experiments results show that the proposed web worker transparent offloading method achieves better performance improvements comparing to no offloading and non-transparent offloading respectively.","PeriodicalId":244952,"journal":{"name":"2018 IEEE 18th International Conference on Communication Technology (ICCT)","volume":"14 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"HTML5 Web Worker Transparent Offloading Method for Web Applications\",\"authors\":\"Zhao Wang, Haojiang Deng, Linlin Hu, Xiaoyong Zhu\",\"doi\":\"10.1109/ICCT.2018.8600046\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"With the release of HTML5 standards, web applications have become more powerful, complicated and resource-hungry, whereas smart devices are in general resource-constrained. Computation offloading is one of the approaches used to increase application efficiency and decrease energy consumption of smart devices. In this paper, the offloading methods of HTML5 web worker in web applications are discussed, and a transparent offloading method of web worker is proposed to reduce execution time of web application and energy consumption of smart device. By rewrite of web worker implementation and modification of HTML5 websocket mechanism of web platform, web worker is offloaded to server side transparently. Common nontransparent web worker offloading method with JS framework has also been implemented. The experiments results show that the proposed web worker transparent offloading method achieves better performance improvements comparing to no offloading and non-transparent offloading respectively.\",\"PeriodicalId\":244952,\"journal\":{\"name\":\"2018 IEEE 18th International Conference on Communication Technology (ICCT)\",\"volume\":\"14 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2018-10-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2018 IEEE 18th International Conference on Communication Technology (ICCT)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICCT.2018.8600046\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 IEEE 18th International Conference on Communication Technology (ICCT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCT.2018.8600046","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
摘要
随着HTML5标准的发布,web应用变得更加强大、复杂和需要资源,而智能设备通常是资源受限的。计算卸载是智能设备提高应用效率和降低能耗的方法之一。本文讨论了HTML5 web worker在web应用程序中的卸载方法,提出了一种透明的web worker卸载方法,以减少web应用程序的执行时间和智能设备的能耗。通过重写web worker实现和修改web平台的HTML5 websocket机制,将web worker透明地卸载到服务器端。在JS框架下实现了常见的非透明web worker卸载方法。实验结果表明,所提出的web worker透明卸载方法分别比不透明卸载和非透明卸载获得了更好的性能提升。
HTML5 Web Worker Transparent Offloading Method for Web Applications
With the release of HTML5 standards, web applications have become more powerful, complicated and resource-hungry, whereas smart devices are in general resource-constrained. Computation offloading is one of the approaches used to increase application efficiency and decrease energy consumption of smart devices. In this paper, the offloading methods of HTML5 web worker in web applications are discussed, and a transparent offloading method of web worker is proposed to reduce execution time of web application and energy consumption of smart device. By rewrite of web worker implementation and modification of HTML5 websocket mechanism of web platform, web worker is offloaded to server side transparently. Common nontransparent web worker offloading method with JS framework has also been implemented. The experiments results show that the proposed web worker transparent offloading method achieves better performance improvements comparing to no offloading and non-transparent offloading respectively.