2
Poster: Mobile Edge Computing – a Booster for the Practical Provisioning Approach of Web-based Augmented Reality Pei Ren, Xiuquan Qiao, Junliang Chen State Key Laboratory of Networking and Switching Technology Beijing University of Posts and Telecommunications, China {renpei, qiaoxq, chjl}@bupt.edu.cn Schahram Dustdar Distributed Systems Group TU Wien, Austria [email protected] Abstract—Web-based Augmented Reality (Web AR) provides a lightweight, cross-platform, and pervasive AR solution. How- ever, all of the current Web AR implementations still face some challenges, which greatly hinder the promotion of Web AR applications. Benefiting from Mobile Edge Computing (MEC) paradigm, in this paper, we propose a MEC-based collaborative Web AR solution, which can be regarded as a feasible and promising one. The edge server not only reduces the network la- tency but also decreases the bandwidth usage of core networks. Prototype implementation demonstrated the effectiveness and practicability of the proposed MEC-based solution for real- world Web AR development and deployment. I. I NTRODUCTION Augmented Reality (AR) [1] has offered tangible benefits in a number of areas. To make AR touch more con- sumers, Web AR will be one of the significant approaches. But existing Web AR implementations are struggling with some inherent weaknesses. (1) Computing Efficiency Lim- itation. Pure front-end solution relies on JavaScript (e.g., AR.js), which cannot provide sufficient computing capabil- ity. (2) Compatibility Limitation. Browser kernel-based ex- tension solution (e.g., Mozilla WebXR) faces the challenge of cross-platform due to the lack of Web AR standardization. Now, the cloud computing promises to overcome the com- puting efficiency limitation of pure front-end based Web AR solution. Before the Web AR standardization for browsers is completed, this collaborative (i.e., Terminal + Cloud) computing mechanism will be more feasible in practice. Through this approach, we have conducted several Web AR advertising campaigns by WeChat, and have gained a great deal of attention from users. However, in the process of development and deployment, this type of Web AR implementation still faces some challenges: Bandwidth Challenge. AR is a computation-intensive and data-intensive application. Continuous image transmis- sion occupies a large amount of network bandwidth, which not only degrades the performance of core networks but also causes high deployment cost because of the ever-increasing bandwidth requirement. Latency Challenge. Compared with the two Web AR solutions mentioned above, cloud computing-based imple- Mutiple access points are aviliable in WeChat official account. Access point of Web AR activity in China Mobile official account in WeChat. Scanning the wine bottle of FenJiu to achieve augmented model. The augmented 3D model. Scanning the logo of China Mobile to achieve augmented model. Rank Province PV Rate 1 Sichuan 427,853 12.05% 2 Guangdong 364,295 10.26% 3 Yunnan 286,094 8.06% 4 Hebei 263,012 7.41% 5 Liaoning 230,321 6.49% 6 Beijing 194,815 5.49% 7 Jiangsu 139,886 3.94% 8 Inner Mongolia 124,608 3.51% 9 Hubei 124,377 3.5% 10 Guangxi 120,517 3.39% Others 1,274,384 35.9% 1 2 FenJiu cultural propaganda. 1 2 China Mobile advertising campaign. Zhengzhou, Henan Cloud computing server deployment point Cultural promotion page. The augmented 3D model. Figure 1. Two influential use cases of Web AR. Users can enjoy the Web AR services any time by accessing the activity links embedded in specific WeChat official account. Here we highlight the China Mobile Web AR activity (Dec. 5-14 2017), the first time we promote Web AR at large scale, which achieves 3,550,162 Page View (PV) and 2,080,396 Unique Visitor (UV) totally in 10 days. This type of Web AR solution collaborates computing capability of both cloud and mobile device, which greatly improves the application performance and reduces the deployment cost of central site as well (Number of cloud servers: 10+ for collaborative solution vs. 100+ for cloud computing-based solution). mentation adds additional communication delay due to the image transmission. And unstable wireless environment also greatly degrades the performance of Web AR applications. T1 User2 Cloud Server1 User1 Cloud Server2 Edge Server Cloud Server2 T1´ User1 User2 Cloud Server1 Bandwidth Saving (Core Networks) 1 Performance Improvement -latency & power consumption (Web AR Applications) 2 Unified Edge-side Web AR Service Provisioning Platform (Fig. 3) 3 Figure 2. Comparison of cloud computing- and MEC-based solutions. Our ongoing research aims to tackle the above challenges: We propose a MEC-based Web AR solution, where edge and cloud servers are complementary. The success of this flexible and feasible Web AR implementation attributed to the following aspects. First, the separation of computational and logical tasks provides the basis for this decoupling and lightweight Web AR system. Second, Web AR services are capsuled in the form of microservice via Docker, which makes the deployment

Poster: Mobile Edge Computing – a Booster for the ...acm-ieee-sec.org/2018/posters/SEC18_Poster_Ren.pdf · iments in an MI MIX 2 mobile phone for 10 times with different access

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Poster: Mobile Edge Computing – a Booster for the ...acm-ieee-sec.org/2018/posters/SEC18_Poster_Ren.pdf · iments in an MI MIX 2 mobile phone for 10 times with different access

Poster: Mobile Edge Computing – a Booster for the Practical ProvisioningApproach of Web-based Augmented Reality

Pei Ren, Xiuquan Qiao, Junliang ChenState Key Laboratory of Networking and Switching Technology

Beijing University of Posts and Telecommunications, China{renpei, qiaoxq, chjl}@bupt.edu.cn

Schahram DustdarDistributed Systems Group

TU Wien, [email protected]

Abstract—Web-based Augmented Reality (Web AR) providesa lightweight, cross-platform, and pervasive AR solution. How-ever, all of the current Web AR implementations still face somechallenges, which greatly hinder the promotion of Web ARapplications. Benefiting from Mobile Edge Computing (MEC)paradigm, in this paper, we propose a MEC-based collaborativeWeb AR solution, which can be regarded as a feasible andpromising one. The edge server not only reduces the network la-tency but also decreases the bandwidth usage of core networks.Prototype implementation demonstrated the effectiveness andpracticability of the proposed MEC-based solution for real-world Web AR development and deployment.

I. INTRODUCTION

Augmented Reality (AR) [1] has offered tangible benefitsin a number of areas. To make AR touch more con-sumers, Web AR will be one of the significant approaches.But existing Web AR implementations are struggling withsome inherent weaknesses. (1) Computing Efficiency Lim-itation. Pure front-end solution relies on JavaScript (e.g.,AR.js), which cannot provide sufficient computing capabil-ity. (2) Compatibility Limitation. Browser kernel-based ex-tension solution (e.g., Mozilla WebXR) faces the challengeof cross-platform due to the lack of Web AR standardization.

Now, the cloud computing promises to overcome the com-puting efficiency limitation of pure front-end based Web ARsolution. Before the Web AR standardization for browsersis completed, this collaborative (i.e., Terminal + Cloud)computing mechanism will be more feasible in practice.Through this approach, we have conducted several WebAR advertising campaigns by WeChat, and have gained agreat deal of attention from users. However, in the processof development and deployment, this type of Web ARimplementation still faces some challenges:

Bandwidth Challenge. AR is a computation-intensiveand data-intensive application. Continuous image transmis-sion occupies a large amount of network bandwidth, whichnot only degrades the performance of core networks but alsocauses high deployment cost because of the ever-increasingbandwidth requirement.

Latency Challenge. Compared with the two Web ARsolutions mentioned above, cloud computing-based imple-

Mutiple access points are aviliable in WeChat

official account.

Access point of Web AR activity in China

Mobile official account in WeChat.

Scanning the wine bottle of FenJiu to

achieve augmented model.

The augmented 3D model.

Scanning the logo of China Mobile to achieve

augmented model.

Rank Province PV Rate

1 Sichuan 427,853 12.05%

2 Guangdong 364,295 10.26%

3 Yunnan 286,094 8.06%

4 Hebei 263,012 7.41%

5 Liaoning 230,321 6.49%

6 Beijing 194,815 5.49%

7 Jiangsu 139,886 3.94%

8Inner

Mongolia124,608 3.51%

9 Hubei 124,377 3.5%

10 Guangxi 120,517 3.39%

Others 1,274,384 35.9%

1

2

FenJiucultural propaganda.1

2China Mobile advertising campaign.

Zhengzhou, Henan

Cloud computing server deployment point

Cultural promotion page.

The augmented 3D model.

Figure 1. Two influential use cases of Web AR. Users can enjoy theWeb AR services any time by accessing the activity links embedded inspecific WeChat official account. Here we highlight the China MobileWeb AR activity (Dec. 5-14 2017), the first time we promote Web ARat large scale, which achieves 3,550,162 Page View (PV) and 2,080,396Unique Visitor (UV) totally in 10 days. This type of Web AR solutioncollaborates computing capability of both cloud and mobile device, whichgreatly improves the application performance and reduces the deploymentcost of central site as well (Number of cloud servers: 10+ for collaborativesolution vs. 100+ for cloud computing-based solution).

mentation adds additional communication delay due to theimage transmission. And unstable wireless environment alsogreatly degrades the performance of Web AR applications.

T1

User2

Cloud Server1

User1

Cloud Server2

EdgeServer

Cloud Server2

T1´

User1

User2

Cloud Server1

Bandwidth Saving(Core Networks)

1

Performance Improvement-latency & power consumption

(Web AR Applications)

2

Unified Edge-side Web AR Service Provisioning Platform

(Fig. 3)

3

Figure 2. Comparison of cloud computing- and MEC-based solutions.

Our ongoing research aims to tackle the above challenges:• We propose a MEC-based Web AR solution, where

edge and cloud servers are complementary. The successof this flexible and feasible Web AR implementationattributed to the following aspects. First, the separationof computational and logical tasks provides the basisfor this decoupling and lightweight Web AR system.Second, Web AR services are capsuled in the form ofmicroservice via Docker, which makes the deployment

Page 2: Poster: Mobile Edge Computing – a Booster for the ...acm-ieee-sec.org/2018/posters/SEC18_Poster_Ren.pdf · iments in an MI MIX 2 mobile phone for 10 times with different access

more flexible. Note that edge server provides a decen-tralized service provisioning paradigm for Web AR,both bandwidth occupation of core networks and re-sponse delay of applications, therefore, can benefit.

• We demonstrate that MEC paradigm [2] benefits alot for Web AR applications (see Section III). Andthis collaborative mechanism will also be a promisingapproach for the pervasive promotion of Web AR underthe upcoming 5G networks because of the ubiquitousMEC infrastructure deployment.

II. SYSTEM FRAMEWORK OVERVIEW

Edge server plays a pivotal role in the entire frameworkas is shown in Fig. 2 and Fig. 3. It is not only responsiblefor the deployment of Web AR applications (from third-party’s aspect) but also for the request processing (fromuser’s aspect).

Hardware

MEC Application Platform Services

MEC Hosting Infrastructure

Underlying MEC service support

Abstract Web AR Service LayerARcache

Web AR runtime environment

. . .ARApplication 1

ARApplication 2

ARApplication N

Web AR applications (Docker)

Edge server

Mo

bile

Co

re N

etw

ork

s

Public Cloud

Public Cloud Server

ASP Private Cloud

ASP Private Cloud Server

Mobile

Figure 3. Overview of the MEC-based Web AR system framework.

The Web AR service provisioning platform on the edgeserver side consists of three parts:

1 MEC application platform services mainly provide un-derlying service support.

2 Web AR runtime environment consists of two parts.(1) Abstract Web AR service layer aims at providing un-derlying Web AR dependence and common ApplicationProgramming Interface (API). (2) AR cache provides atemporary public content storage place.

3 Variety of Web AR applications are dynamically sched-uled and deployed by using the Docker technology.

It, therefore, achieves a flexible, lightweight, and dis-tributed method, which significantly reduces the deploymentcost compared with the original centralized deploymentapproach (i.e., cloud computing-based Web AR solution) andimproves the performance of Web AR applications as well.

III. PERFORMANCE EVALUATION

To get the performance comparisons, we conduct exper-iments in an MI MIX 2 mobile phone for 10 times withdifferent access habits. The Web AR service provisioningframework is deployed in our campus1 and Alibaba Cloud2,respectively. The frames are resized into 250×250 pixels,average 25.04 KB.

1(BUPT) round-trip min/avg/max = 1.389/7.265/14.746 ms, 0.00% packet loss.2(Beijing) round-trip min/avg/max = 23.311/34.730/83.677 ms, 2.56% packet loss.

Table IEXPERIMENT RESULTS IN TERMS OF LATENCY (MS), FPS, AND POWER

CONSUMPTION (MW/5MIN).

Solutions Latency1 FPS Power Consumption2

Pure front-end 231 5 947Cloud computing-based 62 25 405

MEC-based 43 24 3921 Latency includes the time of both image transmission and processing.2 Only the terminal’s power consumption is counted in experiments.* Note: All experimental results show the same trend, here is just an

example of the results as a show.

Table I illustrates that the proposed Web AR solution out-performs the other two implementations. The pure front-endsolution is the worst-performing one due to the inefficiencyof JavaScript (computing on the user device overcomes thenegative impact caused by image transmission, but the localprocessing results in the non-negligible time consuming).Although image transmission introduces external latency andpower consumption, it is still worth offloading computation-intensive tasks to edge/cloud since more abundant resourcesare available. By contrast, MEC-based solution performsbetter since it is closer to users. Moreover, it also impliesthe bandwidth saving of core networks.

IV. CONCLUSION

We designed and developed a MEC-based Web AR solu-tion, which aims to promote Web AR in a more feasible andflexible way. Our approach offers multiple advantages overexisting Web AR solutions, such as lightweight, easy-deploy,higher-performance, and bandwidth-saving. However, thereis much work to be done to promote the further applicationof Web AR. In the future, we plan to explore more efficientcomputing technologies to further improve the applicationperformance In addition, some important issues also shouldbe mentioned. The benefits of reduced latency and savedbandwidth are at the cost of the edge server, but Who isgoing to pay for such servers? Also, When, Where, and Howto deploy the Web AR applications to balance the benefit,cost, and efficiency still entails substantial challenges.

ACKNOWLEDGMENT

This work was supported by the National Natural Sci-ence Foundation of China under Grants No. 61671081 andNo. 61720106007, the Beijing Natural Science Foundationunder Grant No. 4172042, and the 111 project (B18008),the Fundamental Research Funds for the Central Universitiesunder Grant No. 2018XKJC01.

REFERENCES

[1] M. Billinghurst, A. Clark, and G. Lee, “A survey ofaugmented reality,” Foundations and Trends R© in Human–Computer Interaction, vol. 8, no. 2-3, pp. 73–272, 2015.

[2] W. Shi and S. Dustdar, “The Promise of Edge Computing,”IEEE Computer Magazine, vol. 29, no. 5, pp. 78–81, 2016.