{"title":"在Synapse框架上使用Web Workers技术优化和改进Web Socket双向连接","authors":"Eduardo Arias, Michael Arellano, Miguel Cuadros","doi":"10.1109/SHIRCON53068.2021.9652363","DOIUrl":null,"url":null,"abstract":"Every year, the demand of Smart Tv increases constantly, same as Android Devices. These devices are used by a lot of population worldwide, but there is not focus on developing apps that uses both platforms. Therefore, is a great opportunity to take advantage of both technologies creating a framework that allows bidirectional connection and interaction between both devices using Web Sockets. This project compares the optimization of search and interconnection of Android devices and LG Smart TVs by reducing the waiting Using Web Workers will allow multi-threaded execution search in Web Socket servers on Android devices much faster. On the other hand, it allows to add multiplayer support to use more than one device at the same time. The result of our project is reduce by 60% the time with parallel search respect to the linear search, and allow the connection to the tv up to 4 players simultaneously. To validate the framework, a video game is developed to test the optimized functionalities in the Web Socket connection in the source code to show the improvements for all devices connected and compare without web workers implementation.","PeriodicalId":420900,"journal":{"name":"2021 IEEE Sciences and Humanities International Research Conference (SHIRCON)","volume":"50 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Optimization and improvement of bidirectional connections with Web Socket on Synapse framework using Web Workers technology\",\"authors\":\"Eduardo Arias, Michael Arellano, Miguel Cuadros\",\"doi\":\"10.1109/SHIRCON53068.2021.9652363\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Every year, the demand of Smart Tv increases constantly, same as Android Devices. These devices are used by a lot of population worldwide, but there is not focus on developing apps that uses both platforms. Therefore, is a great opportunity to take advantage of both technologies creating a framework that allows bidirectional connection and interaction between both devices using Web Sockets. This project compares the optimization of search and interconnection of Android devices and LG Smart TVs by reducing the waiting Using Web Workers will allow multi-threaded execution search in Web Socket servers on Android devices much faster. On the other hand, it allows to add multiplayer support to use more than one device at the same time. The result of our project is reduce by 60% the time with parallel search respect to the linear search, and allow the connection to the tv up to 4 players simultaneously. To validate the framework, a video game is developed to test the optimized functionalities in the Web Socket connection in the source code to show the improvements for all devices connected and compare without web workers implementation.\",\"PeriodicalId\":420900,\"journal\":{\"name\":\"2021 IEEE Sciences and Humanities International Research Conference (SHIRCON)\",\"volume\":\"50 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-11-17\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 IEEE Sciences and Humanities International Research Conference (SHIRCON)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/SHIRCON53068.2021.9652363\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE Sciences and Humanities International Research Conference (SHIRCON)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SHIRCON53068.2021.9652363","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Optimization and improvement of bidirectional connections with Web Socket on Synapse framework using Web Workers technology
Every year, the demand of Smart Tv increases constantly, same as Android Devices. These devices are used by a lot of population worldwide, but there is not focus on developing apps that uses both platforms. Therefore, is a great opportunity to take advantage of both technologies creating a framework that allows bidirectional connection and interaction between both devices using Web Sockets. This project compares the optimization of search and interconnection of Android devices and LG Smart TVs by reducing the waiting Using Web Workers will allow multi-threaded execution search in Web Socket servers on Android devices much faster. On the other hand, it allows to add multiplayer support to use more than one device at the same time. The result of our project is reduce by 60% the time with parallel search respect to the linear search, and allow the connection to the tv up to 4 players simultaneously. To validate the framework, a video game is developed to test the optimized functionalities in the Web Socket connection in the source code to show the improvements for all devices connected and compare without web workers implementation.