As the fast development of numerical and internet technology, especially the mature of Web2.0, the data size on internet has been growing fast, and as a result the processing of these data is limited in most aspects. Meanwhile, there are mounts of computer devices and storage materials over the internet. And if these resources are aggregated together and provide unified service can greatly improve the utilization. And make more benefit for most of the users. The cloud computing is approved for pooling these resources and forming a huge computing and storage network, basing on the virtualization. Thereby make more efficient services for users[1]. At the same time the mobile devices has popularized all over the world in the past years. And combing cloud computing and mobile computing together result the mobile cloud computing could perfecting fulfill the requirement of ubiquitous resource access and transaction processing. And it could also be applied for mitigating the resources and energy limitations of mobile devices. Besides, under such a computing framework, security is one of the most important focuses for all of the users, so solving the problems related to security is a key for applications in mobile cloud computing.This paper apperceives the data security problem and bringing forward a data protection framework naming an Adaptive and Dynamic Data Security Framework Based on the Context of device (ASFC), for Security is an unvarying topic in information society. Though there are many research works have done for solving security problems, there are special issues under mobile cloud computing. The devices cannot be compared to our normal computing devices such as desktop. As a result much of security methods could not be applied to these devices. And it's includes four elements naming Information Awareness, Information Comprehensive, Decision Making and Execution. During the process of decision making, the analytic hierarchy process (AHP) is used to make the decision for the strategy of data protection, finding the suitable data protection program for the context of the terminal. Thus reduce the resource consumption and improve the performance of transaction processing while protecting the security of data and the finally goal is improving the experience of users'.This paper working on the mobile cloud computing environment set up based on Hadoop, and using a smart phone with the Android system to access the resources on the cloud. And the application background is data transmission task, while the method of data protection is data encryption. The parameters chose are the time consumption and the voltage change of the battery. Using these two parameters delegate the performance of transaction processing and energy consumption of terminal. Then we quantitatively analyzed the effect of data protection to transaction processing and energy consumption of terminal, and get the conclusion that data protection has distinct effect to transaction processing. The results show that in a large amount of data transfer process, the application of ASFC can save up to 17% of the time cost and 13% of energy consumption. Through further analysis, we can find that due to the view of energy cost of terminal and time consumption of transmission, the more the data protection methods complex, the more benefits can be brought by ASFC. |