volume 5, issue 7, july 2015 issn: 2277 128x international...

7
© 2015, IJARCSSE All Rights Reserved Page | 624 Volume 5, Issue 7, July 2015 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Resarch Paper on Synchronization Architecture for Reduced Energy Consumption of Andriod Phones Using Cloud Sugandha Sharma Sumandeep Kaur Assistant Professor .Dept. CSE Dept.CSE Chandigarh Group of Colleges Chandigarh Group of Colleges Gharuan, Mohali, Punjab, India Gharuan, Mohali, Punjab, India Abstract: Cloud computing usually consists of front-end mobile user devices and back-end cloud servers . These files will be automatically synchronized to the user's devices when they are connected to internet like snapdeal application. So, mobile user files can be accessed from anywhere by any device. In the existing system, we need to improve the synchronization. This paradigm provides the user to synchronize data automatically between devices which data is required for synchronization. We are implementing this paradigm for windows platform. This paper provides the user a synchronization framework which synchronizes the data automatically between mobile devices and cloud and tries to minimize the energy usage. Keywords-Cloud, Mobile cloud, Synchronization architecture. I. INTRODUCTION Cloud computing: Cloud computing is an on-demand service that offers online resources such as online services, server, storage applications and network. User can access these services and paid for it instead of buying their own software or platform.[1] Within few years cloud computing becoming most popular methodology among the today’s technology. Cloud internet provides various services to user such as consulting service, management services, financial services; data storage services and many other services [2]. Mobile cloud computing: No doubt, Mobile phones has rich functionalities, but processing power of mobile do not match with desktop devices so there is a need of external resources to enhance the performance[3]. The main advantage of Mobile Cloud Computing is that the mobile device offloads its workload by shifting large computation part on cloud. Mobile applications provide the richer functionality on mobile devices [4]. Smartphone OS:. Smart phones are the mobile device providing “all-in-one” convenience by integrating traditional mobile phone functionality and the functionality of handheld computers.[5]It is a software platform on top of which other programs (application programs) can run on mobile devices[6]. Offloading: Smartphone have become very intelligent and extremely powerful day by day. There are many complex applications, which are used to be run only on the PCs, have been developed and the running on Smartphone also[7]. There is great increase of the workload on the smartphones by such applications which increases data transmissions overheads between the smart phones and the telecom networks. The heavy workload and traffic must affect the battery life of Smartphone i.e. drains battery very quickly. Some parts of the application is offloaded to the cloud to save the battery life of smart phone[8]. II. LITERATURE SURVEY Existing system: The existing techniques are having the overhead of continuous synchronization [9] keeping the application in cloud itself. All the existing techniques simply apply to a smartphone where application resides and works by accepting the user input and displays the user output. Most of the author emphasis on offloading, another work is to prepare a comparative study of the results showing the amount of battery utilized and the time taken when a compute intensive app is executed on a Smartphone and same app executed on a virtual Smartphone in the Cloud environment[10]. Objective: To study the resource constraints, usage scenarios and limitations of the Smartphone. To determine a novel way of completely offloading the Smartphone apps to the cloud environment for minimizing the battery consumption and also for minimizing the overhead of continuous synchronization [11]. A review of the existing offloading architectures[12] for mobile computing is to be presented and examined. To perform experimental analysis for understanding the performance enhancement through offloading services in the cloud, by measuring the resource consumption (battery usage, time taken and CPU utilization) of a compute intensive app in the actual Smartphone and performing the same measurement in an emulated Smartphone on a cloud.

Upload: others

Post on 04-Oct-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Volume 5, Issue 7, July 2015 ISSN: 2277 128X International ...ijarcsse.com/Before_August_2017/docs/papers/Volume_5/7_July201… · Chandigarh Group of Colleges Chandigarh Group of

© 2015, IJARCSSE All Rights Reserved Page | 624

Volume 5, Issue 7, July 2015 ISSN: 2277 128X

International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com

Resarch Paper on Synchronization Architecture for Reduced Energy

Consumption of Andriod Phones Using Cloud Sugandha Sharma Sumandeep Kaur

Assistant Professor .Dept. CSE Dept.CSE

Chandigarh Group of Colleges Chandigarh Group of Colleges

Gharuan, Mohali, Punjab, India Gharuan, Mohali, Punjab, India

Abstract: Cloud computing usually consists of front-end mobile user devices and back-end cloud servers . These files

will be automatically synchronized to the user's devices when they are connected to internet like snapdeal application.

So, mobile user files can be accessed from anywhere by any device. In the existing system, we need to improve the

synchronization. This paradigm provides the user to synchronize data automatically between devices which data is

required for synchronization. We are implementing this paradigm for windows platform. This paper provides the user

a synchronization framework which synchronizes the data automatically between mobile devices and cloud and tries

to minimize the energy usage.

Keywords-Cloud, Mobile cloud, Synchronization architecture.

I. INTRODUCTION

Cloud computing: Cloud computing is an on-demand service that offers online resources such as online services, server,

storage applications and network. User can access these services and paid for it instead of buying their own software or

platform.[1] Within few years cloud computing becoming most popular methodology among the today’s technology.

Cloud internet provides various services to user such as consulting service, management services, financial services; data

storage services and many other services [2].

Mobile cloud computing: No doubt, Mobile phones has rich functionalities, but processing power of mobile do not

match with desktop devices so there is a need of external resources to enhance the performance[3]. The main advantage

of Mobile Cloud Computing is that the mobile device offloads its workload by shifting large computation part on cloud.

Mobile applications provide the richer functionality on mobile devices [4].

Smartphone OS:. Smart phones are the mobile device providing “all-in-one” convenience by integrating traditional

mobile phone functionality and the functionality of handheld computers.[5]It is a software platform on top of which other

programs (application programs) can run on mobile devices[6].

Offloading: Smartphone have become very intelligent and extremely powerful day by day. There are many complex

applications, which are used to be run only on the PCs, have been developed and the running on Smartphone also[7].

There is great increase of the workload on the smartphones by such applications which increases data transmissions

overheads between the smart phones and the telecom networks. The heavy workload and traffic must affect the battery

life of Smartphone i.e. drains battery very quickly. Some parts of the application is offloaded to the cloud to save the

battery life of smart phone[8].

II. LITERATURE SURVEY

Existing system:

The existing techniques are having the overhead of continuous synchronization [9] keeping the application in

cloud itself.

All the existing techniques simply apply to a smartphone where application resides and works by accepting the

user input and displays the user output.

Most of the author emphasis on offloading, another work is to prepare a comparative study of the results

showing the amount of battery utilized and the time taken when a compute intensive app is executed on a

Smartphone and same app executed on a virtual Smartphone in the Cloud environment[10].

Objective:

To study the resource constraints, usage scenarios and limitations of the Smartphone.

To determine a novel way of completely offloading the Smartphone apps to the cloud environment for

minimizing the battery consumption and also for minimizing the overhead of continuous synchronization [11].

A review of the existing offloading architectures[12] for mobile computing is to be presented and examined.

To perform experimental analysis for understanding the performance enhancement through offloading services

in the cloud, by measuring the resource consumption (battery usage, time taken and CPU utilization) of a

compute intensive app in the actual Smartphone and performing the same measurement in an emulated

Smartphone on a cloud.

Page 2: Volume 5, Issue 7, July 2015 ISSN: 2277 128X International ...ijarcsse.com/Before_August_2017/docs/papers/Volume_5/7_July201… · Chandigarh Group of Colleges Chandigarh Group of

Sharma et al., International Journal of Advanced Research in Computer Science and Software Engineering 5(7),

July- 2015, pp. 624-630

© 2015, IJARCSSE All Rights Reserved Page | 625

III. SYSTEM ARCHITECTURE

Proposed solution- The diagram describes the working of the proposed Architecture. The user gives an input to the

smartphone via any medium, it could be an image from the camera or Bluetooth or gallery or any other source. The

analysis unit starts analysing its work of deciding whether this type of data needs to be synchronized or not.

Figure 1: proposed architecture [13]

If synchronisation is required the parameters are collected and passed on to Synchronization Decision system. Depending

upon the parameters provided by the Collection unit the decision is made. If the conditions are favourable the

synchronization is made at that time itself otherwise the synchronization is made to wait till the timing unit allows it.

Block diagram oF proposed architecture-

I/O Unit- The input/output unit is responsible for the gather of inputs from the user/web services/sensors . After the

execution has been done, this unit provides the output to the user/web services/sensors in a desired format.

Data Analysis- There could be multiple forms of data required in an application and most of the data need not be

synchronised.The data analysis unit will analyse the data for the need of synchronized.

Synchronization Decision Unit-This unit makes the synchronization decision that is whether synchronization is required

for this type of execution or not.The synchronization decision unit provides its output to the timing unit.

Timing Unit-The timing unit will work as a gatekeeper for the synchronization[14] process.The timing unit will get the

information from the synchronization decision unit about when to offload if required. It will delay the offloading till it is

actually required.

Offloading Unit-This unit is responsible for the actual offloading of the data to the cloud.

Clone Cloud-

Synchronization Unit- This unit will receive all the information from the synchronization decision unit on the smart

phone side about when the synchronization will take place.

Execution Unit- The execution unit makes the execution of the code when data is received by the offloading unit. It

provides the output to the offloading unit to be sent to the smart phone.

Offloading Unit- The offloading unit[15] receives the data from the smart phone required by the execution unit to run

the computation. The offloading unit is also responsible for sending the data back to the smart phone. The data exchange

done by the offloading unit is controlled by the synchronization unit.

IV. IMPLEMENTATION

A. Mobile Application: The snapshots show the view of a random number generator application which used Cloud to

run the compute intensive part[16] of the application. The smartphone acts a thin client used to capture the input from the

user and to provide output to the user after the processing has been done.

Page 3: Volume 5, Issue 7, July 2015 ISSN: 2277 128X International ...ijarcsse.com/Before_August_2017/docs/papers/Volume_5/7_July201… · Chandigarh Group of Colleges Chandigarh Group of

Sharma et al., International Journal of Advanced Research in Computer Science and Software Engineering 5(7),

July- 2015, pp. 624-630

© 2015, IJARCSSE All Rights Reserved Page | 626

Figure 3: Random Number generation application icon

Figure 4: Random Number generation application running on the smartphone

Figure 5: Random Number generation application running on the smartphone by changing values[17]

B. cloud Application: This is a cloud side interface provided to the user. This interface will show virtual machine to the

user.

Figure 6: Andriod version on oracle virtual machine

Page 4: Volume 5, Issue 7, July 2015 ISSN: 2277 128X International ...ijarcsse.com/Before_August_2017/docs/papers/Volume_5/7_July201… · Chandigarh Group of Colleges Chandigarh Group of

Sharma et al., International Journal of Advanced Research in Computer Science and Software Engineering 5(7),

July- 2015, pp. 624-630

© 2015, IJARCSSE All Rights Reserved Page | 627

Figure 7: netcfg on Andriod virtual machine

Figure 8: Andriod virtual machine

Figure 9: Tcpserver on oracle virtual machine

V. RESULTS

Results of running the application on smart phone only: The below table shows the results of running a compute

intensive application i.e. a random number generator on the smart phone without any connection to the cloud. The

application running on the smart phone is able to generate random numbers in the range of 100 to 10 Lakhs.

Page 5: Volume 5, Issue 7, July 2015 ISSN: 2277 128X International ...ijarcsse.com/Before_August_2017/docs/papers/Volume_5/7_July201… · Chandigarh Group of Colleges Chandigarh Group of

Sharma et al., International Journal of Advanced Research in Computer Science and Software Engineering 5(7),

July- 2015, pp. 624-630

© 2015, IJARCSSE All Rights Reserved Page | 628

Result of offloading architecture: The second table shown here uses an offloading architecture to generate the random

numbers using the power of cloud. This mechanism uses a complete offloading architecture which offloads the whole

application to the cloud. The main problem in this architecture is that no synchronization mechanism is described in this

mechanism[18].

Results of running application using proposed architecture: The third table shows the results of the proposed

architecture. The results compared to the smartphone the proposed architecture gives a speedup of almost 50X but if

compared to the offloading architecture the results may not be as impressive but battery saving and speedup is achieved.

Measurement of Execution Time: The following graph shows the comparison of the time taken to generate the random

numbers by the the architectures under comparison. As clearly visible the time taken by the standalone smartphone is the

greatest and comparatively the time taken by the virtual smartphone architecture is much more than the time taken by the

proposed architecture with synchronization.

Measurement Of Energy Consumption: The graph shown below shows the comparison between the energy

consumption by the three architectures. The energy consumed to generate 10 lakh random numbers by the smartphone is

about 47 joules whereas the offloading architecture finishes that task in only 5.7 joules. The architecture proposed in this

paper does the same work in 4.9 joules which is around 1 joule less than the offloading architecture.

Page 6: Volume 5, Issue 7, July 2015 ISSN: 2277 128X International ...ijarcsse.com/Before_August_2017/docs/papers/Volume_5/7_July201… · Chandigarh Group of Colleges Chandigarh Group of

Sharma et al., International Journal of Advanced Research in Computer Science and Software Engineering 5(7),

July- 2015, pp. 624-630

© 2015, IJARCSSE All Rights Reserved Page | 629

Measurement of Battery Consumption Graph: The energy consumption and the time taken by the applications could

be further reduced depending upon the application in which the architecture is being used.

VI. CONCLUSION AND FUTURE SCOPE

Presently, Synchronization has been improved through this application, so in future these features will updates. Finally

this paper overcome the synchronization difficulties.

The focus of this thesis is to make the synchronization efficient thus making the overall offloading system more

efficient .The technique presented in this report makes the offloading system more efficient by making the

synchronization more efficient.

In future some prediction algorithms could be used to make the synchronization more efficient by predicting the future

requirements of the cloud and synchronizing the required data beforehand which may be required.

REFERENCE

[1] Mohiuddin Ahmed1, Abu Sina Md. Raju Chowdhury2, Mustaq Ahmed3, Md. Mahmudul Hasan Rafee4“An

Advanced Survey on Cloud Computing and State-of-the-art Research Issues” Vol.9, Issue 1, No 1, January

2012./// http://thecloudtutorial.com/cloudtypes.html.

[2] National Institute of Science and Technology,"The NIST Definition of Cloud Computing," July 2010.

Available: http://csrc.nist.gov/publications/nistpubs/800-145/SP800-145.pdf.

[3] Weiguang SONG , Xiaolong SU “Review of mobile cloud computing”@ 2011 IEEE.

[4] Niroshinie Fernando, Seng W. Loke Wenny Rahayu,”Mobile Cloud Computing: A Survey © 2012 Elsevier.

[5] http://en.m.wikipedia.org/wiki/smartphone.

[6] G. Portokalidis, P. Homburg, K. Anagnostakis and H. Bos, “Paranoid Android: Versatile Protection For

Smartphones,” in Proceedings of the 26th Annual Computer Security Applications Conference, 2010, pp. 347-

356.

[7] B.G. Chun, P. Maniatis, “ Augmented Smartphone Applications through Clone Cloud Execution,” in

Proceedings of 12th conference on Hot topics in Operating systems, 2009, pp. 8-8.

[8] B.G. Chun, S. Ihm, P. Manitis, M. Naik and A. Patti,“Clone Cloud : Elastic Execution between Mobile Device

and Cloud,” in Proceedings of 6th Conference On Computer Systems, 2011, pp. 301-314.

[9] MayankArora and Mala Kalra, “Autonomous Computation Offloading Application for Android Phones using

Cloud ”, In Proc Of SocProS 2012 Springer.

Page 7: Volume 5, Issue 7, July 2015 ISSN: 2277 128X International ...ijarcsse.com/Before_August_2017/docs/papers/Volume_5/7_July201… · Chandigarh Group of Colleges Chandigarh Group of

Sharma et al., International Journal of Advanced Research in Computer Science and Software Engineering 5(7),

July- 2015, pp. 624-630

© 2015, IJARCSSE All Rights Reserved Page | 630

[10] Variza Negi1, Mala Kalra“Optimizing Battery Utilization and Reducing Time Consumption in Smartphones

Exploitingthe Power of Cloud Computing”.

[11] Bo Zhao, ZhiXu, Caixia Chi, Sencun Zhu, Guohong Cao “Mirroring Smartphones For Good”.

[12] E. Chen, S. Ogata and K. Horikava, “Offloading Android Applications to the Cloud,” in Proceedings of IEEE

International Conference on Pervasive Computing and Communications Workshops (PERCOM Workshops),

Mar. 2012, pp. 788-793

[13] Sumandeep Kaur*, Sugandha Sharma , MayankArora “Data Synchronization between Mobile and Cloud”Vol 4,

Issue 6, June 2014.

[14] Sudha S and Brindha K, SaiVamsy Krishna S, Gokul K and Sanath Kumar M “ Data Synchronization Using

Cloud Storage” Volume 2, Issue 11, November 2012.

[15] E. Cuervo, A. Balasubramanian, D.K. Cho, A. Wolman, S. Saroiu, R. Chandra and P. Bahl, “MAUI: Making

Smartphones Last Longer with Code Offload,” in Proceedings of the 8th international conference on Mobile

systems, applications, and services, 2010, pp. 49-62.

[16] Variza Negi1, Mala Kalra” Framework for energy saving in the android smartphone”978-81-920249-7-

4/13/$31.00@2013IEEE.

[17] B.G. Chun, P. Maniatis, “ Augmented Smartphone Applications through Clone Cloud Execution,” in

Proceedings of 12th conference on Hot topics in Operating systems, 2009, pp. 8-8.

[18] Sumandeep Kaur, Sugandha Sharma, MayankArora “Research Paper on Enhanced Battery for Android Phones

using the Power of Cloud through Data Synchronization” Vol. 2, Issue 3, July - Sept. 2014.