# A Novel Resource Deployment Approach to Mobile Microlearning: From Energy-Saving Perspective

Authors: Ruijuan Zheng; Junlong Zhu; Mingchuan Zhang; Ruoshui Liu; Qingtao Wu; Li Yang
Journal: Wireless Communications and Mobile Computing
 (2019)

---

## Abstract

Mobile Microlearning, a novel fusion form of the mobile Internet, cloud computing, and microlearning, becomes more prevalent in recent years. However, its high deployment and operational costs make energy saving in cloud become a concerning issue. In this paper, to save energy consumption, a resource deployment approach to cloud service provision for Mobile Microlearning is proposed. Chinese Lexical Analysis System and Dynamic Term Frequency-Inverse Document Frequency (D-TF-IDF) are adopted to implement resource classification. Resources are deployed to the 2-tier cloud architecture according to the classification results. Grey Wolf Optimization (GWO) algorithm is used to forecast real-time energy consumption per byte. The simulation results show that, compared to traditional algorithm, the classification accuracy of small sample categories was significantly improved; the forecast energy consumption value and the standard values are 7.67% in private cloud and 2.93% in public cloud; the energy saving reaches 2.22% to 16.23% in 3G and 7.35% to 20.74% in Wi-Fi.


---

## Body

## 1. Introduction

Millions of people are participating in Mobile Microlearning and the number of students who are enrolled in a single course at the same time can be as high as tens of thousands [1]. On the one hand, it indicates that Mobile Microlearning is getting more prevalent. On the other hand, it will increase the load and the energy consumption of the cloud platform. The core goal of Mobile Microlearning is to ensure that the users (visitors) can receive all kinds of online learning resources provided by cloud platform without the limitation of time, space, and region. In order to achieve the goal, studying a green cloud resource deployment method is very essential.Introducing cloud computing into microlearning to solve the obstacles in the process of Mobile Microlearning by high computing power and huge storage of cloud is a promising method. However, current researchers focus on deploying the system to the existing cloud platform [2–4], user behaviour collection [5], framework and data analysis [6], learning style [7] or time management [8], and energy consumption in the Mobile Microlearning is rarely involved.An effective way to solve energy consumption problem is to offload computing and data intensive tasks from private cloud with poor resource to public cloud with rich resource. With the collaboration of private cloud and public cloud, the goal of low energy consumption can be accomplished in a certain extent, but it also faces some problems. We mainly describe these problems of Mobile Microlearning process in mobile environment, Mobile Microlearning users, and service migration. In the wireless mobile communication network, there are some limitations for private cloud platforms to access public cloud platforms, such as long delay time, poor stability, and predictability, which will make the environment of wireless mobile communication network have poly clusters, fluctuations, and other nonstationary characteristics. At the same time, mobile terminal users are advanced creatures with rich thinking awareness, so their requests are usually personalized. For example, when the battery is low, some users may want to get the best application performance, while others are willing to sacrifice some application performance for longer standby time. Therefore, the relationship between benefits and costs in Mobile Microlearning should be accurately measured. In addition, in the service migration process, the private cloud platform and the public cloud platform will inevitably generate many times of information exchange and transmission. The device status and network environment may change during the execution of the application, which will further increase wireless traffic instability, bandwidth consumption, latency, network congestion, and cloud downtime.Aiming at users’ dynamic and personalized demands for Mobile Microlearning, it is particularly important to research how to effectively deploy rich and colourful learning resources in the cloud platform so as to provide low-cost, efficient, and continuous cloud services to mobile users. Based on this consideration, we propose a new resource deployment approach to cloud service provision for Mobile Microlearning in this paper.Firstly, we propose a resource deployment framework for Mobile Microlearning, which consists of classification module, 2-tier cloud architecture module, and GWO forecast module. The classification module and the 2-tier cloud architecture module achieve the resources classification and deployment, and the GWO forecast module can find the server with the lowest energy consumption cost which will provide users with energy-saving services. Secondly, we propose a D-TF-IDF algorithm, which reduces the influence of the uneven distribution of training set on the classification accuracy of test set. Finally, we propose a green cloud resource deployment method for Mobile Microlearning based on the framework, and the simulation results prove the superiority.The rest of the paper is organized as follows. Related works in Section2 are introduced. Fundamental methods are described, and a resource deployment framework for Mobile Microlearning is proposed in Section 3. The energy consumption problem in the Mobile Microlearning process is formulated in Section 4. Some simulations and numerical analysis are carried out in Section 5. At last, the conclusion is given in Section 6.


## 2. Related Works

Microlecture mobile learning system (MMLS) allows learners to access microlecture videos and other high-quality microlecture resources wherever and whenever they like [9]. But the experimental results show that completion rate of Mobile Microlearning is still low [10]. By analysing the reasons, we find that the choice of massive learning resources is the primary factor influencing the popularization of Mobile Microlearning. Reference [11] introduces a cloud-based system which can organize learners into a better teamwork context and customize microlearning resources in order to meet personal demands in real time. Chen et al. believe that it is a critical issue how to organize these microlearning units, in order to make them easier to be used and learned, as a result, they proposed an approach based on process mining to organize the learning units according to the situation of users [12]. Kolas et al. added the interactive module in Mobile Microlearning and researched the value of the module [13]. Emanuel et al. researched the effects of countries, race, gender, class, and income on the completion rate of Mobile Microlearning [14]. Souza et al. researched the theory, concept, and model of Mobile Microlearning [15]. Kim et al. discussed influence of mobile wireless technology on mobile learning [16]. So far, energy consumption in Mobile Microlearning is rarely discussed by scholars.Although the low cost and ease of use of mobile cloud computing have great potential for mobile cloud learning, it still faces the heavy load of large-scale user application calls. Rapid growth of the demand for computational power by scientific, business, and web applications has led to the creation of large-scale data centres consuming enormous amounts of electrical power [17]. Moreno et al. introduced a dynamic resource provisioning mechanism to over allocate the capacity of real-time cloud data centres based on customer utilization patterns. The main idea is to exploit the resource utilization patterns of each customer to decrease the waste produced by resource request overestimations [18]. The drawback is that it may reduce the QoS of user. Alahmadi et al. proposed a novel approach for scheduling, sharing, and migrating virtual machines (VMs) for a bag of cloud tasks to reduce energy consumption with guaranteed certain execution time and high system throughput [19]. However, it does not take into account the additional energy caused by dynamical monitor cloud systems. Liu et al. proposed an approach based on ant colony optimization (ACO) to solve the VM placement (VMP) problem, named as ACO-VMP, so as to effectively use the physical resources and to reduce the number of running physical servers [20], which requires a large number of virtual machines. Farahnakian et al. propose a dynamic virtual machine consolidation algorithm to minimize the number of active physical servers on a data centre in order to reduce energy cost. The proposed dynamic consolidation method uses the k-nearest neighbour regression algorithm to predict resource usage in each host [21], which relies too much on the use of virtual machines. Knauth et al. use simulation to quantify the difference in energy consumption caused exclusively by virtual machine schedulers [22], which can reduce cumulative machine uptime by up to 60.1%. Zhao et al. present online VM placement algorithms for increasing cloud provider revenue [23], but it did not consider services migration situation. Mashayekhy et al. designed an auction-based online mechanism for VM provisioning, allocation, and pricing in clouds that consider several types of resources [24].The above research provides a good idea for cloud resource allocation in the process of Mobile Microlearning. For the rich Mobile Microlearning resources and highly personalized customer demand, this paper focuses on data processing, data storage, and service migration in the process of Mobile Microlearning, to research to energy consumption of Mobile Microlearning by referring to the previous research results. The D-TF-IDF algorithm is used to improve the classified accuracy. The GWO algorithm and 2-tier cloud architecture are used to deploy resources. On a service basis, we minimize the cost of energy consumed during the resource deployment.


## 3. Mobile Microlearning Application Modelling

In this section, we first briefly describe fundamental method that we will use in the Mobile Microlearning framework, and then we introduce the resource deployment framework for Mobile Microlearning based on cloud in detail.


### 3.1. TF-IDF Algorithm

Known as one of the most effective keyword extraction technologies, the Term Frequency-Inverse Document Frequency algorithm (TF-IDF algorithm) is proposed by Saltond [25]. By multiplying the word frequency (TF) [26] and the inverse document frequency (IDF) [27], the TF-IDF value of a word will be obtained. In fact, TF-IDF value is the weight of a keyword. The larger the TF-IDF value of a word, the more important the word is, which is shown in (1). Here, tf-idf(wi,vj) is expressed more precisely compared to [28].(1)tf-idfwi,vj=ni,j∑knk,j∗log⁡Vj:wi∈vj+1where wi is ith word and vj is jth resource. ni,j is the number of times that a word wi appears in a resource vj, and ∑knk,j is the total number of times that all words appear in this resource vj. V is the total number of resources in the training set, and j:wi∈vj is the number of resources that contain the word wi.


### 3.2. GWO Algorithm

The Grey Wolf Optimizer algorithm (GWO algorithm, for short) is a new biological heuristic algorithm that is inspired by the strict hierarchy and hunting process of natural grey wolves [29]. The algorithm has received wide attention and research since it was proposed [30–34]. The processes of seeking optimal solution by GWO algorithm are mainly divided into three steps: tracking, encircling, and hunting. The process of GWO is shown in Figure 1.Figure 1
Position updating in GWO.In Figure1, t represents the current number of iterations of the algorithm. Dγε(t) represents the close degree between the energy consumption value calculated by GWO algorithm at time t and the standard energy consumption value, in which γ=[α,β,δ]. We assume that the energy consumption of a cloud platform for processing a byte at its best is Epξ(t), ξ={0,1}. Ep1(t) indicates that the task is executed on a private cloud platform, and Ep0(t) indicates that the task will be executed on the public cloud platform. Because aγ(t) and cγ(t) are random related parameters, GWO algorithm has strong search ability and can search in the global scope.According to the social hierarchy of grey wolf, we know the hunting (optimization) is guided by three wolves,α, β, and δ. The wolf ω is the random renewal wolf of these three wolves. In the initial state, α, β, δ, and ω randomly update their position to approach Epξ(t) that is the prey position at t, which is the tracking process. During tracking process, if a search agent discovers a prey, the others will approach it quickly. The process repeats until the prey stop moving, which is called encircling. Next, all grey wolves will surround their prey and complete the attack. During the process of GWO, α, β, and δ are the optimal solutions obtained so far.


### 3.3. Resource Deployment Framework of Mobile Microlearning Based on Cloud

In this paper, cloud is introduced into Mobile Microlearning environment, and cloud-based resource deployment framework is built. In the process of cloud services providing, different resource allocation strategies determine different service performance, while users have the same request and response processes for cloud services. Therefore, the process of users requesting service resources in this paper is referred to in the literature [28]. The framework is shown in Figure 2. Next, we will explain in detail the way the framework works.Figure 2
Resource deployment framework of Mobile Microlearning based on cloud.First of all, the processing capability of the cloud data centre is not unlimited, so the system needs to collect the user’s microlearning request, and the request is temporarily stored in the database of user requests. Secondly, to remove meaningless words and find the vocabulary set that is the most representative of the user’s request features, the system uses Institute of Computing Technology, Chinese Lexical Analysis System 2013(ICTCLAS2013) [35] and Stop Words table of Harbin Institute of Technology [36] to preprocess user requests. At the same time, a number of frequently used words are selected as the feature words of a specific request to carry on the keyword extraction process. Thirdly, the system will match the keywords in a new user request with the keyword database in the classification module, calculating the classification accuracy. Next, according to the classified accuracy and collaboration on the 2-tier cloud architecture module, Mobile Microlearning users can find the learning resources in the ideal case. Finally, based on the current state of equipment and network environment, we use GWO algorithm to find the server with the minimum energy consumption, and the resource deployment process is performed by the server. Through the above steps, users can obtain the required services in an energy-saving way.


## 3.1. TF-IDF Algorithm

Known as one of the most effective keyword extraction technologies, the Term Frequency-Inverse Document Frequency algorithm (TF-IDF algorithm) is proposed by Saltond [25]. By multiplying the word frequency (TF) [26] and the inverse document frequency (IDF) [27], the TF-IDF value of a word will be obtained. In fact, TF-IDF value is the weight of a keyword. The larger the TF-IDF value of a word, the more important the word is, which is shown in (1). Here, tf-idf(wi,vj) is expressed more precisely compared to [28].(1)tf-idfwi,vj=ni,j∑knk,j∗log⁡Vj:wi∈vj+1where wi is ith word and vj is jth resource. ni,j is the number of times that a word wi appears in a resource vj, and ∑knk,j is the total number of times that all words appear in this resource vj. V is the total number of resources in the training set, and j:wi∈vj is the number of resources that contain the word wi.


## 3.2. GWO Algorithm

The Grey Wolf Optimizer algorithm (GWO algorithm, for short) is a new biological heuristic algorithm that is inspired by the strict hierarchy and hunting process of natural grey wolves [29]. The algorithm has received wide attention and research since it was proposed [30–34]. The processes of seeking optimal solution by GWO algorithm are mainly divided into three steps: tracking, encircling, and hunting. The process of GWO is shown in Figure 1.Figure 1
Position updating in GWO.In Figure1, t represents the current number of iterations of the algorithm. Dγε(t) represents the close degree between the energy consumption value calculated by GWO algorithm at time t and the standard energy consumption value, in which γ=[α,β,δ]. We assume that the energy consumption of a cloud platform for processing a byte at its best is Epξ(t), ξ={0,1}. Ep1(t) indicates that the task is executed on a private cloud platform, and Ep0(t) indicates that the task will be executed on the public cloud platform. Because aγ(t) and cγ(t) are random related parameters, GWO algorithm has strong search ability and can search in the global scope.According to the social hierarchy of grey wolf, we know the hunting (optimization) is guided by three wolves,α, β, and δ. The wolf ω is the random renewal wolf of these three wolves. In the initial state, α, β, δ, and ω randomly update their position to approach Epξ(t) that is the prey position at t, which is the tracking process. During tracking process, if a search agent discovers a prey, the others will approach it quickly. The process repeats until the prey stop moving, which is called encircling. Next, all grey wolves will surround their prey and complete the attack. During the process of GWO, α, β, and δ are the optimal solutions obtained so far.


## 3.3. Resource Deployment Framework of Mobile Microlearning Based on Cloud

In this paper, cloud is introduced into Mobile Microlearning environment, and cloud-based resource deployment framework is built. In the process of cloud services providing, different resource allocation strategies determine different service performance, while users have the same request and response processes for cloud services. Therefore, the process of users requesting service resources in this paper is referred to in the literature [28]. The framework is shown in Figure 2. Next, we will explain in detail the way the framework works.Figure 2
Resource deployment framework of Mobile Microlearning based on cloud.First of all, the processing capability of the cloud data centre is not unlimited, so the system needs to collect the user’s microlearning request, and the request is temporarily stored in the database of user requests. Secondly, to remove meaningless words and find the vocabulary set that is the most representative of the user’s request features, the system uses Institute of Computing Technology, Chinese Lexical Analysis System 2013(ICTCLAS2013) [35] and Stop Words table of Harbin Institute of Technology [36] to preprocess user requests. At the same time, a number of frequently used words are selected as the feature words of a specific request to carry on the keyword extraction process. Thirdly, the system will match the keywords in a new user request with the keyword database in the classification module, calculating the classification accuracy. Next, according to the classified accuracy and collaboration on the 2-tier cloud architecture module, Mobile Microlearning users can find the learning resources in the ideal case. Finally, based on the current state of equipment and network environment, we use GWO algorithm to find the server with the minimum energy consumption, and the resource deployment process is performed by the server. Through the above steps, users can obtain the required services in an energy-saving way.


## 4. Problem Formulations

In this section, we first describe the sorting process of a large number of learning resources in Mobile Microlearning and deploy these resources using 2-tier cloud architecture. Then, we study the low energy consumption strategy and formulate the energy consumption problem in the Mobile Microlearning process.


### 4.1. The Classification Module

In the classification module, there are two main reasons affecting the smooth completion of Mobile Microlearning. Firstly, with the advent of the era of big data, the learning resources of Mobile Microlearning are increasingly huge. Therefore, it is difficult for users to find the requested learning resources from the massive resource pool. Secondly, with diversified background of Mobile Microlearning users, cloud platform cannot accurately obtain users’ real requirements. The above reasons will lead to the inconsistency between the services provided by cloud platforms and the content requested by users, which will affect the satisfaction of users of Mobile Microlearning and increase the energy consumption in the process of Mobile Microlearning. Therefore, it is very important to extract the key information of content effectively from a large number of mobile learning resources and improve the classification accuracy. The classification module is shown in Figure3.Figure 3
The classification module.Many researchers believe that words are independent and meaningful elements of language component. For a resource, we can see it as a collection of words sequence when we ignore meaningless symbols. More importantly, keywords are considered by the public as the words that best embody the main ideas of the text. Therefore, we can use keywords as features of resource classification. Firstly, we use the category homogenizing method to process the training set. Secondly, because of its higher segmentation accuracy and analysis speed, we use ICTCLAS2013 segmentation system to classify learning resources. Thirdly, we use the Stop Words table to process the segmentation results. Its main purpose is to eliminate meaningless words and make keywords more representative. Fourthly, we count the frequency of each word appearing in each category and establish a keyword database. Finally, we use D-TF-IDF to calculate the weight of the keywords. This process involves two important methods: category homogenization and D-TF-IDF method. Next, we will describe the working process of these two methods in detail.Due to the characteristics of resources distribution, resources of some category are relatively scarce. As a result, some keywords cannot accurately represent the classification of resources, which affects the accuracy of classification. So, the small sample categories are reorganized to form a new training set that is as balanced as possible, which is called the category homogenizing method. For example, training set isU={u1,u2,…,uϕ,…,uφ}, testing set is V={v1,v2,…,vϕ,…,vφ}, where u1,u2,…,uϕ and v1,v2,…,vϕ are large sample categories and uϕ,…,uφ and vϕ,…,vφ are small sample categories. Categories in the original training set U are reorganized to form a new training set in which the category distribution is more uniform. We suppose the reorganized training set is U′={u1,u2,…,uϕ,uϕ+1′,uϕ+2′}, where uϕ+1′={uϕ+1,uϕ+2}, uϕ+2′={uϕ+3,…,uφ}. Then, we perform resource categorization process on U′. For vj∈V, if the classification result indicates that the resource in testing set belongs to the original large sample categories, such as uϕ, we will accept the classification result; if the classification result indicates that the resource belongs to the reorganized sample category, such as uϕ+1′, we will classify uϕ+1′ again and decide whether the resource vj belongs to uϕ+1 or uϕ+2.The above process achieves training set preprocessing. However, for the resource deployment framework proposed in this paper, we focus on the research of classification accuracy, because it is the primary condition for deploying resources to 2-tier cloud modules and modelling energy consumption. In order to obtain the optimal classification accuracy that is relatively fair to both large and small sample categories, we proposed an improvement on the traditional TF-IDF method by dynamically adjustingε and ϑ, called D-TF-IDF. The weight of the keyword in D-TF-IDF algorithm is described as (2). The expression of D-TF-IDF(wi,vj) in this formula has also been revised compared to [28].(2)D-TF-IDFwi,vj=ni,j∑knk,j×log⁡Vj:wi∈vj+ε+ϑwhere ε and ϑ are positive numbers.Dynamically adjustingε equals to adding constant value to the denominator, which suppresses the role of the denominator. We assume that ∑knk,j=100, V=1000, ni,j=10. In a small category, j:wi∈vj=10, and we can get TF-IDF(wi∈vj)=0.1. In a large sample category, if j:wi∈vj=100, we can get that TF-IDF(wi∈vj)=0.1. When ε=2, ϑ=0, we can get D-TF-IDF(wi∈vj)=0.09914 in a large sample category, and TF-IDF(wi∈vj)=0.19208 in a small sample category. For the same ε and ϑ, the weight fluctuation of the large sample is 0.00086, and the weight fluctuation of the small sample is 0.00792. The above example shows that for the same ε and ϑ, the weight fluctuation range of the small sample category is more violent than that of the large sample category. This shows that the D-TF-IDF method proposed in this paper can increase the weight of words at the same time, but the effect is more obvious for small samples. Therefore, as long as the dynamic adjustment of ε and ϑ is there, this paper can find a relatively fair weight for both large sample samples and small sample samples. Let us give ε=ϑ for convenience of description.In summary, the classification accuracy ofvj is calculated in formula (3).(3)WjI′=∑i=1I′D-TF-IDFwi,vjwhere I′ is the number of keywords extracted from vj.Finally, we get the average classification accuracy of the entire sample set by formula (4).(4)W-VI′=∑j=1VWjI′V


### 4.2. The 2-Tier Cloud Architecture Module

In the 2-tier cloud architecture module, we deploy Mobile Microlearning resources to the public cloud platform or the private cloud platform according toW-VI′ that is the average classification accuracy of classification module. The main purpose is to ease the limitations of deploying resources on a single platform, increase the possibility of users looking for resources on private cloud platforms, and reduce the probability of service migration and the resulting energy consumption. We can achieve energy saving through collaboration between the private cloud and public cloud without affecting QoS.The schematic diagram of the 2-tier cloud architecture module is shown in Figure4, which includes private cloud and public cloud. It retains the scalability and flexibility advantages of public cloud platforms, as well as the advantages of low latency, low power consumption, and fine granularity of private cloud platforms. Meanwhile, it takes into account the fact that the physical capacity of cloud data centres is limited, which are not composed of infinite resources. So, it deploys resources according to the classification module. The first tier (Private Cloud) consists of nodes connecting to access points. By deploying resources with high classification accuracy to private cloud platform, users can improve the probability of finding resources in private cloud platform and reduce the possibility of service migration. Meanwhile, resources with low classification accuracy will be deployed to the second tier (Public Cloud) platform, mainly made up of Amazon and others. Its aim is to make full use of the public cloud platform’s richer resources and faster computing speed to discover Mobile Microlearning resources, which can better meet the requests of users. By deploying resources in the 2-tier cloud architecture, it can guarantee the QoS of service to a certain extent on the premise of energy saving.Figure 4
Resource deployment on 2-tier cloud module.


### 4.3. The GWO Module

The main function of GWO module is to take the network environment and equipment capacity into account to find the server with the minimum energy consumption, and the server will complete the resource deployment process. In order to make the model proposed in this paper better reflect the network environment and device capability, the module needs the cloud platform to randomly generate probe bytes to simulate the user request process. However, in this process, in order to avoid the generation of extra energy consumption due to the large detection byte, we use 1 byte as the detection byte. Since the energy consumption of 1 byte is too small to measure and transmit, we can embed the probe byte into the network packet and add tags to the network packet. Then, the system only needs to track the network packet and its round-trip energy consumption, and its average value is the energy consumption of the probe byte. Next, we will use GWO algorithm to carry out the server optimization process.We assume the number of request isQ and divide it into α, β, δ, and ω, which are strict hierarchical structure of GWO. Next, we use GWO algorithm to forecast the energy consumption of per byte based on current network status. This algorithm overcomes the limitation of adopting fixed energy consumption strategy in current research. In addition, the dynamic energy consumption strategy based on real-time environment and equipment status can better reflect the real energy consumption situation.The energy consumption of the services is generated randomly according to changes in the supply and demand relationship. Due to the instability of the equipment state and network environment in the real cloud platform, it may cause the cloud platform generate higher energy consumption when it completes the mobile learning resource deployment process. So, we define a variableEγξ(t), which is the closest to Epξ(t). So, the main purpose of GWO algorithm is to find Eγξ(t). At the same time, for convenience, we define Epξ(t) as the standard value.We simulate and formulate the hunting process of grey wolf. The energy consumption of Mobile Microlearning int can be defined as(5)Eγξt=Epξt-aγt×Dγξt-1(6)Dγξt-1=cγt×Epξt-1-Eγξt-1where Dγξ(t-1) represents the degree of approximation between the energy consumption calculated by the GWO algorithm and the optimal energy consumption at t-1.In the process of optimization, our goal is to find the server with the least energy cost. Therefore, we need to find the minimumEγξ(t) in each iteration.(7)Eγ∗ξt∗=minEγξtwhere γ∗∈{α,β,δ}, t∗∈{t-1,t}. The above process is repeated until the maximum number of iterations is met or the optimal value is found.In order to describe the general characteristics of the optimal value simply and directly, we definePγ∗ξ(t-) as the forecast value, and its calculation process is shown in formula (8).(8)Pγ∗ξt-=∑t∗t-Eγ∗ξt∗t-


### 4.4. Energy Consumption Formulation

In earlier researches, the execution rate was predetermined, which had certain limitations, because it could not truly reflect the network environment and equipment. In order to make the research closer to the real operating environment of Mobile Microlearning, the task execution rate is set according to the classification module in this paper.According to the training set of the classification module, we get the total byte size of the training set. It is defined in formula (9).(9)Sdoc=∑j=1V∑i=1ICwi,vjwhere C(wi,vj) is the counting function, which counts the number of words.At the same time, we get the byte size of the keywords, which are extracted from the training set. It can be defined as formula (10).(10)Skey=∑j=1V∑i=1I′Cwi,vjTherefore, we get the proportion of keywords in the text, as described in formula (11).(11)ζ=SkeySdocBased on the above results, we can obtain the execution rate of the system as shown in formula (12).(12)Rloc=Sdoc+SkeyN′×Tloc+StaskN×Tlocwhere Stask is the total number of bytes in memory to be processed. N′ is the number of processors the system will run in the future. N is the number of processors running on the current system. Tloc is the duration of resource classification according to the statistics of classification module.The process in which the cloud platform provides the service to Mobile Microlearning users mainly divides into two kinds of situations. The first situation is the ideal resource deployment process. In this case, the private cloud can satisfy all requests of all Mobile Microlearning users. The second situation is the nonideal resource deployment process. Under the case, the private cloud platform needs to perform service migration process to public cloud platform, which will result in additional energy consumption.The time cost in ideal situation is shown in formula (13).(13)Tideal=1+ζ×SldocM′×Rloc+StaskM×Rlocwhere Sldoc is the total byte provided by the private cloud platform. M′ is the number of servers running on a private cloud platform. M is the number of servers running in the private cloud platform in the current state.Therefore, the ideal learning energy consumption is described as formula (14).(14)Eideal=Pγ∗1t-×Tidealwhere Pγ∗ξ(t-) represents the energy consumption of the best server on a private cloud platform for processing one byte, which can be calculated by formula (8).It is well known that if a user request is not answered for a long time, then this will seriously affect the user’s Mobile Microlearning quality. To solve this problem, private cloud sets a time threshold based on experience. If the private cloud platform is unable to provide the required service for Mobile Microlearning users within the time threshold, the system model proposed in this paper will automatically cut off the service opportunity of the private cloud platform and execute the service migration process. Therefore, the time threshold can effectively alleviate the high energy consumption caused by the user’s excessive time consuming private resources. Therefore, the time cost of Mobile Microlearning in nonideal cases is shown in formula (15).(15)Tnon-ideal=Tth+Tmig+ScdocM′′∗Rclowhere Tth is the time threshold, the maximum time delay for mobile cloud services that private cloud platforms can tolerate. Tmig is the time cost of service migration, and Scdoc is the byte size that the public cloud platform is providing to user. Rclo is the execution rate of public cloud. M′′ is the number of processors that will be open in the public cloud.In practice, the bandwidth state, network status, and device status (such as CPU load) of the cloud platform may be different [37]. It will have a certain impact on migration performance. According to [38], we need to consider the impact of the size of VM memory, memory contamination rate, and network transmission rate in the migration performance. Therefore, we get migration time cost in formula (16).(16)Tmig=SmigRmig×1-λσ+11-λwhere Smig represents the number of bytes requested by users migrating from a private cloud platform to a public cloud platform. Rmig is memory transmission rate during migration. λ and σ are defined as (17) and (18), respectively.(17)λ=DdityRmig(18)σ=logλ×MthdMmemwhere Ddiry represents memory contamination rate during migration. Mthd is the memory contamination threshold. Mmem is the size of memory.Energy consumption in nonideal case can be defined as formula (19).(19)Enon-ideal=Pγ∗0t-×Tnon-idealwhere Pγ∗0(t-) represents the energy consumption such that public cloud handles one byte, which can be calculated by formula (8).For resources stored in private or public clouds, users can obtain the required services through collaboration between the two platforms. Therefore, on the premise of guaranteeing the service quality of Mobile Microlearning, the energy consumption of Mobile Microlearning process is shown in formula (20).(20)Etotal=W-VI′×Eideal+1-W-VI′×Enon-ideal


## 4.1. The Classification Module

In the classification module, there are two main reasons affecting the smooth completion of Mobile Microlearning. Firstly, with the advent of the era of big data, the learning resources of Mobile Microlearning are increasingly huge. Therefore, it is difficult for users to find the requested learning resources from the massive resource pool. Secondly, with diversified background of Mobile Microlearning users, cloud platform cannot accurately obtain users’ real requirements. The above reasons will lead to the inconsistency between the services provided by cloud platforms and the content requested by users, which will affect the satisfaction of users of Mobile Microlearning and increase the energy consumption in the process of Mobile Microlearning. Therefore, it is very important to extract the key information of content effectively from a large number of mobile learning resources and improve the classification accuracy. The classification module is shown in Figure3.Figure 3
The classification module.Many researchers believe that words are independent and meaningful elements of language component. For a resource, we can see it as a collection of words sequence when we ignore meaningless symbols. More importantly, keywords are considered by the public as the words that best embody the main ideas of the text. Therefore, we can use keywords as features of resource classification. Firstly, we use the category homogenizing method to process the training set. Secondly, because of its higher segmentation accuracy and analysis speed, we use ICTCLAS2013 segmentation system to classify learning resources. Thirdly, we use the Stop Words table to process the segmentation results. Its main purpose is to eliminate meaningless words and make keywords more representative. Fourthly, we count the frequency of each word appearing in each category and establish a keyword database. Finally, we use D-TF-IDF to calculate the weight of the keywords. This process involves two important methods: category homogenization and D-TF-IDF method. Next, we will describe the working process of these two methods in detail.Due to the characteristics of resources distribution, resources of some category are relatively scarce. As a result, some keywords cannot accurately represent the classification of resources, which affects the accuracy of classification. So, the small sample categories are reorganized to form a new training set that is as balanced as possible, which is called the category homogenizing method. For example, training set isU={u1,u2,…,uϕ,…,uφ}, testing set is V={v1,v2,…,vϕ,…,vφ}, where u1,u2,…,uϕ and v1,v2,…,vϕ are large sample categories and uϕ,…,uφ and vϕ,…,vφ are small sample categories. Categories in the original training set U are reorganized to form a new training set in which the category distribution is more uniform. We suppose the reorganized training set is U′={u1,u2,…,uϕ,uϕ+1′,uϕ+2′}, where uϕ+1′={uϕ+1,uϕ+2}, uϕ+2′={uϕ+3,…,uφ}. Then, we perform resource categorization process on U′. For vj∈V, if the classification result indicates that the resource in testing set belongs to the original large sample categories, such as uϕ, we will accept the classification result; if the classification result indicates that the resource belongs to the reorganized sample category, such as uϕ+1′, we will classify uϕ+1′ again and decide whether the resource vj belongs to uϕ+1 or uϕ+2.The above process achieves training set preprocessing. However, for the resource deployment framework proposed in this paper, we focus on the research of classification accuracy, because it is the primary condition for deploying resources to 2-tier cloud modules and modelling energy consumption. In order to obtain the optimal classification accuracy that is relatively fair to both large and small sample categories, we proposed an improvement on the traditional TF-IDF method by dynamically adjustingε and ϑ, called D-TF-IDF. The weight of the keyword in D-TF-IDF algorithm is described as (2). The expression of D-TF-IDF(wi,vj) in this formula has also been revised compared to [28].(2)D-TF-IDFwi,vj=ni,j∑knk,j×log⁡Vj:wi∈vj+ε+ϑwhere ε and ϑ are positive numbers.Dynamically adjustingε equals to adding constant value to the denominator, which suppresses the role of the denominator. We assume that ∑knk,j=100, V=1000, ni,j=10. In a small category, j:wi∈vj=10, and we can get TF-IDF(wi∈vj)=0.1. In a large sample category, if j:wi∈vj=100, we can get that TF-IDF(wi∈vj)=0.1. When ε=2, ϑ=0, we can get D-TF-IDF(wi∈vj)=0.09914 in a large sample category, and TF-IDF(wi∈vj)=0.19208 in a small sample category. For the same ε and ϑ, the weight fluctuation of the large sample is 0.00086, and the weight fluctuation of the small sample is 0.00792. The above example shows that for the same ε and ϑ, the weight fluctuation range of the small sample category is more violent than that of the large sample category. This shows that the D-TF-IDF method proposed in this paper can increase the weight of words at the same time, but the effect is more obvious for small samples. Therefore, as long as the dynamic adjustment of ε and ϑ is there, this paper can find a relatively fair weight for both large sample samples and small sample samples. Let us give ε=ϑ for convenience of description.In summary, the classification accuracy ofvj is calculated in formula (3).(3)WjI′=∑i=1I′D-TF-IDFwi,vjwhere I′ is the number of keywords extracted from vj.Finally, we get the average classification accuracy of the entire sample set by formula (4).(4)W-VI′=∑j=1VWjI′V


## 4.2. The 2-Tier Cloud Architecture Module

In the 2-tier cloud architecture module, we deploy Mobile Microlearning resources to the public cloud platform or the private cloud platform according toW-VI′ that is the average classification accuracy of classification module. The main purpose is to ease the limitations of deploying resources on a single platform, increase the possibility of users looking for resources on private cloud platforms, and reduce the probability of service migration and the resulting energy consumption. We can achieve energy saving through collaboration between the private cloud and public cloud without affecting QoS.The schematic diagram of the 2-tier cloud architecture module is shown in Figure4, which includes private cloud and public cloud. It retains the scalability and flexibility advantages of public cloud platforms, as well as the advantages of low latency, low power consumption, and fine granularity of private cloud platforms. Meanwhile, it takes into account the fact that the physical capacity of cloud data centres is limited, which are not composed of infinite resources. So, it deploys resources according to the classification module. The first tier (Private Cloud) consists of nodes connecting to access points. By deploying resources with high classification accuracy to private cloud platform, users can improve the probability of finding resources in private cloud platform and reduce the possibility of service migration. Meanwhile, resources with low classification accuracy will be deployed to the second tier (Public Cloud) platform, mainly made up of Amazon and others. Its aim is to make full use of the public cloud platform’s richer resources and faster computing speed to discover Mobile Microlearning resources, which can better meet the requests of users. By deploying resources in the 2-tier cloud architecture, it can guarantee the QoS of service to a certain extent on the premise of energy saving.Figure 4
Resource deployment on 2-tier cloud module.


## 4.3. The GWO Module

The main function of GWO module is to take the network environment and equipment capacity into account to find the server with the minimum energy consumption, and the server will complete the resource deployment process. In order to make the model proposed in this paper better reflect the network environment and device capability, the module needs the cloud platform to randomly generate probe bytes to simulate the user request process. However, in this process, in order to avoid the generation of extra energy consumption due to the large detection byte, we use 1 byte as the detection byte. Since the energy consumption of 1 byte is too small to measure and transmit, we can embed the probe byte into the network packet and add tags to the network packet. Then, the system only needs to track the network packet and its round-trip energy consumption, and its average value is the energy consumption of the probe byte. Next, we will use GWO algorithm to carry out the server optimization process.We assume the number of request isQ and divide it into α, β, δ, and ω, which are strict hierarchical structure of GWO. Next, we use GWO algorithm to forecast the energy consumption of per byte based on current network status. This algorithm overcomes the limitation of adopting fixed energy consumption strategy in current research. In addition, the dynamic energy consumption strategy based on real-time environment and equipment status can better reflect the real energy consumption situation.The energy consumption of the services is generated randomly according to changes in the supply and demand relationship. Due to the instability of the equipment state and network environment in the real cloud platform, it may cause the cloud platform generate higher energy consumption when it completes the mobile learning resource deployment process. So, we define a variableEγξ(t), which is the closest to Epξ(t). So, the main purpose of GWO algorithm is to find Eγξ(t). At the same time, for convenience, we define Epξ(t) as the standard value.We simulate and formulate the hunting process of grey wolf. The energy consumption of Mobile Microlearning int can be defined as(5)Eγξt=Epξt-aγt×Dγξt-1(6)Dγξt-1=cγt×Epξt-1-Eγξt-1where Dγξ(t-1) represents the degree of approximation between the energy consumption calculated by the GWO algorithm and the optimal energy consumption at t-1.In the process of optimization, our goal is to find the server with the least energy cost. Therefore, we need to find the minimumEγξ(t) in each iteration.(7)Eγ∗ξt∗=minEγξtwhere γ∗∈{α,β,δ}, t∗∈{t-1,t}. The above process is repeated until the maximum number of iterations is met or the optimal value is found.In order to describe the general characteristics of the optimal value simply and directly, we definePγ∗ξ(t-) as the forecast value, and its calculation process is shown in formula (8).(8)Pγ∗ξt-=∑t∗t-Eγ∗ξt∗t-


## 4.4. Energy Consumption Formulation

In earlier researches, the execution rate was predetermined, which had certain limitations, because it could not truly reflect the network environment and equipment. In order to make the research closer to the real operating environment of Mobile Microlearning, the task execution rate is set according to the classification module in this paper.According to the training set of the classification module, we get the total byte size of the training set. It is defined in formula (9).(9)Sdoc=∑j=1V∑i=1ICwi,vjwhere C(wi,vj) is the counting function, which counts the number of words.At the same time, we get the byte size of the keywords, which are extracted from the training set. It can be defined as formula (10).(10)Skey=∑j=1V∑i=1I′Cwi,vjTherefore, we get the proportion of keywords in the text, as described in formula (11).(11)ζ=SkeySdocBased on the above results, we can obtain the execution rate of the system as shown in formula (12).(12)Rloc=Sdoc+SkeyN′×Tloc+StaskN×Tlocwhere Stask is the total number of bytes in memory to be processed. N′ is the number of processors the system will run in the future. N is the number of processors running on the current system. Tloc is the duration of resource classification according to the statistics of classification module.The process in which the cloud platform provides the service to Mobile Microlearning users mainly divides into two kinds of situations. The first situation is the ideal resource deployment process. In this case, the private cloud can satisfy all requests of all Mobile Microlearning users. The second situation is the nonideal resource deployment process. Under the case, the private cloud platform needs to perform service migration process to public cloud platform, which will result in additional energy consumption.The time cost in ideal situation is shown in formula (13).(13)Tideal=1+ζ×SldocM′×Rloc+StaskM×Rlocwhere Sldoc is the total byte provided by the private cloud platform. M′ is the number of servers running on a private cloud platform. M is the number of servers running in the private cloud platform in the current state.Therefore, the ideal learning energy consumption is described as formula (14).(14)Eideal=Pγ∗1t-×Tidealwhere Pγ∗ξ(t-) represents the energy consumption of the best server on a private cloud platform for processing one byte, which can be calculated by formula (8).It is well known that if a user request is not answered for a long time, then this will seriously affect the user’s Mobile Microlearning quality. To solve this problem, private cloud sets a time threshold based on experience. If the private cloud platform is unable to provide the required service for Mobile Microlearning users within the time threshold, the system model proposed in this paper will automatically cut off the service opportunity of the private cloud platform and execute the service migration process. Therefore, the time threshold can effectively alleviate the high energy consumption caused by the user’s excessive time consuming private resources. Therefore, the time cost of Mobile Microlearning in nonideal cases is shown in formula (15).(15)Tnon-ideal=Tth+Tmig+ScdocM′′∗Rclowhere Tth is the time threshold, the maximum time delay for mobile cloud services that private cloud platforms can tolerate. Tmig is the time cost of service migration, and Scdoc is the byte size that the public cloud platform is providing to user. Rclo is the execution rate of public cloud. M′′ is the number of processors that will be open in the public cloud.In practice, the bandwidth state, network status, and device status (such as CPU load) of the cloud platform may be different [37]. It will have a certain impact on migration performance. According to [38], we need to consider the impact of the size of VM memory, memory contamination rate, and network transmission rate in the migration performance. Therefore, we get migration time cost in formula (16).(16)Tmig=SmigRmig×1-λσ+11-λwhere Smig represents the number of bytes requested by users migrating from a private cloud platform to a public cloud platform. Rmig is memory transmission rate during migration. λ and σ are defined as (17) and (18), respectively.(17)λ=DdityRmig(18)σ=logλ×MthdMmemwhere Ddiry represents memory contamination rate during migration. Mthd is the memory contamination threshold. Mmem is the size of memory.Energy consumption in nonideal case can be defined as formula (19).(19)Enon-ideal=Pγ∗0t-×Tnon-idealwhere Pγ∗0(t-) represents the energy consumption such that public cloud handles one byte, which can be calculated by formula (8).For resources stored in private or public clouds, users can obtain the required services through collaboration between the two platforms. Therefore, on the premise of guaranteeing the service quality of Mobile Microlearning, the energy consumption of Mobile Microlearning process is shown in formula (20).(20)Etotal=W-VI′×Eideal+1-W-VI′×Enon-ideal


## 5. Simulation and Numerical Results

To verify the validity of the method, we will evaluate the performance of the proposed method from three aspects, the classification accuracy of D-TF-IDF, forecast accuracy of GWO algorithm, and energy consumption of Mobile Microlearning process. The experimental parameters and experimental results are as follows.The experimental data set is corpus of Fudan University [39], which divides 19,637 texts into 20 categories. Among them, the training set includes 9804 texts, and the testing set includes 9833 texts; the largest category contains 1,600 texts, and the smallest category contains 25 texts. We know from previous research that the distribution of the corpus is consistent with the uneven distribution of various types of resources in the actual environment [28].We conduct word segmentation and word frequency statistics on the training set, to build the word frequency table. After preprocessing the data set, we can get 20185 words. Of these words, the 20 words with the highest frequency were extracted as keywords for the text. The weight of each keyword in 20 categories is calculated by TF-IDF. Parts of the results are shown in Tables1 and 2.Table 1
The results of the large sample category obtained by TF-IDF (part).
word C3 C7 C11 C19 C31 C32 C34 C38 C39 宇航 0 0 0.99 0 0 0.01 0.01 0 0 JOURNAL 0 0 0.37 0.48 0.09 0.06 0.06 0 0 OF 0 0 0.22 0.40 0.30 0.07 0.07 0 0 1999年 0 0 0.16 0.23 0.27 0.13 0.13 0 0.01 含 0.06 0 0.07 0.09 0.52 0.09 0.09 0 0.02 液 0.02 0 0.19 0.01 0.75 0 0 0 0 滴 0 0 0.49 0 0.43 0.06 0.06 0 0Table 2
The results of the small sample category obtained by TF-IDF (part).
word C4 C5 C6 C15 C16 C17 C23 C29 C35 C36 C37 宇航 0 0 0 0 0 0 0 0 0 0 0 JOURNAL 0 0 0 0 0 0 0 0 0 0 0 OF 0.01 0 0 0 0 0 0 0 0 0 0 1999年 0.09 0 0 0 0 0 0 0 0.11 0 0 含 0.04 0 0 0 0 0 0 0 0.08 0 0 液 0.01 0 0 0 0 0 0 0 0 0 0.02 滴 0 0 0 0 0 0 0 0 0 0 0It can be seen from Tables1 and 2 that the keyword weights of small sample categories are mostly 0, while the keyword weights of large sample categories do not have a good distinguishing feature. For example, the keyword “OF” appears in the large sample category C11, C19, C31, C32, and C34. Although the probability of the word appearing in C19 is higher, we cannot determine that the text belongs to C19. Because “OF” is not a real word, with no substantive significance in category, it should not be a keyword. The above situation exists simultaneously in the small sample class. Therefore, it is essential to find representative keywords for high classification accuracy.In order to make the classified accuracy of small samples and large samples relatively fair,ε and ϑ vary between 0 and 10, with an interval of 0.2. The variation process of classification accuracy of different samples with ε and ϑ is shown in Tables 3 and 4.Table 3
The results of the large sample category obtained by D-TF-IDF (part).
ε/ϑ C3 C7 C11 C19 C31 C32 C34 C38 C39 0 0 0 0 0 0 0 0 0 0 2 0.89 0.89 0.94 0.62 0.80 0.89 0 0.52 0.43 2.2 0.93 0.83 0.94 0.90 0.88 0.92 0.31 0.73 0.67 2.4 0.94 0.76 0.92 0.93 0.91 0.90 0.77 0.82 0.77 2.6 0.94 0.71 0.87 0.94 0.91 0.84 0.90 0.85 0.81 2.8 0.95 0.64 0.85 0.95 0.91 0.75 0.95 0.83 0.82Table 4
The results of the small sample category obtained by D-TF-IDF (part).
ε/ϑ C4 C5 C6 C15 C16 C17 C23 C29 C35 C36 C37 0 0.41 0.70 0.8 0.55 0.54 0.37 0.68 0.83 0.78 0.81 0.92 2 0 0.10 0.04 0.21 0.18 0.11 0.24 0.53 0.48 0.47 0.57 2.2 0 0.07 0.02 0.21 0.14 0.04 0.24 0.51 0.40 0.40 0.39 2.4 0 0.05 0.02 0.24 0.11 0.04 0.15 0.44 0.36 0.36 0.28 2.6 0 0.04 0.02 0.21 0.04 0.04 0.12 0.41 0.27 0.32 0.18 2.8 0 0 0 0.18 0 0 0.06 0.37 0.30 0.30 0.15As can be seen from Table3, the classification accuracy of large sample categories generally increases with the changes of ε and ϑ; for example, the classification accuracy of C3 increases from 0 to 95%. It can be seen from Table 4 that the classification accuracy of small sample categories decreases; for example, the classification accuracy of C6 drops to 80% from 0. It is worth noting that when ε and ϑ increase, the classification accuracy reduces for those, e.g., C7, C11, and C32 in the case of the large sample category. Therefore, we have to find the value of ε and ϑ that can lead to fair and optimal classification accuracy for both large sample category and small sample category.In order to better display the effect ofε=ϑ=2.6 on the classification accuracy of various samples, Figure 5 shows the result of the TF-IDF and D-TF-IDF.Figure 5
The average classification accuracy of different categories.Figure5 shows that, except for C19 and C34, the classification accuracy of D-TF-IDF algorithm is higher than that of TF-IDF algorithm. For example, the classification accuracy rate of C32 increased from 47.5% to 83.9% and that of C35 increased from 1.9% to 26.9%. For C19 and C34, the classification accuracy of D-TF-IDF algorithm decreased by 1.03% and 9.07%, respectively. For C4 and C5, the classification accuracy was not improved due to the small sample size. On the whole, however, the upward trend of the classification accuracy of all kinds of samples under the D-TF-IDF algorithm is far greater than its downward trend, which proves that the D-TF-IDF algorithm has more advantages in sample classification.Figures6 and 7 validate the classification accuracy of large sample category and small sample category.Figure 6
The classification accuracy of large sample category.Figure 7
The classification accuracy of small sample category.From Figures6 and 7, we can see that classification accuracy varies with the number of samples. In Figure 6, for the TF-IDF algorithm, the minimum and the maximum classification accuracies were 38% and 94.3%, respectively. For the D-TF-IDF algorithm, the two values are 70.5% and 99.2%, respectively. In Figure 7, for the TF-IDF algorithm, they are 0 and 11.3%, respectively. For the D-TF-IDF algorithm, they are 0 and 40.7%, respectively. Based on the above experimental results, we found that although the classification accuracy of large sample classes was slightly decreased, the classification accuracy of small sample categories was significantly improved. Therefore, compared with TF-IDF algorithm, the D-TF-IDF algorithm proposed in this paper has more advantages in improving classification accuracy.In order to bring the experiment closer to the real dynamic cloud environment, we use the GWO algorithm to forecast the energy consumption in the current environment. Because 1 byte energy consumption is too small to measure, we predict the energy consumption of 1kb data in the current environment. The experimental parameters are as follows:n=20, Q=10000, and Eq refers to [40]. During the experiment, GWO optimization algorithm was performed 20 times separately, and the number of iterations of each experiment was 1000.Figures8 and 9 show the relationship between the forecast value Pγ∗ξ(t-) and the standard value Epξ(t) in the 3G environment. The difference between the forecast energy consumption value and the standard value is very small, which is 7.67% in private cloud and 2.93% in public cloud. Therefore, the forecast accuracy of GWO on private cloud platform is 92.33% and that on public cloud is 97.07%.Figure 8
Energy consumption of private cloud processing 1kb data in 3G.Figure 9
Energy consumption of public cloud processing 1kb data in 3G.Figures10 and 11 show the relationship between the forecast value Pγ∗ξ(t-) and the standard value Epξ(t) in Wi-Fi environment. From Figures 10 and 11, we can see that the difference between the forecast energy consumption value and the standard value is 3.16% and 6.40%, respectively. Therefore, the forecast accuracy of GWO on private cloud platform is 96.84% and that on public cloud is 93.60%.Figure 10
Energy consumption of private cloud processing 1kb data in Wi-Fi.Figure 11
Energy consumption of public cloud processing 1kb data in Wi-Fi.At the same time, in the 20 experiments, the variance between forecast values in four cases is 9.70515E-07, 3.06072E-06, 1.11715E-07, and 1.29163E-06, respectively, which proves the stability of the forecast value. Therefore, we believe that these forecast values can really reflect energy consumption in Mobile Microlearning.For the energy consumption of Mobile Microlearning resource deployment, the experimental results are mainly compared with the traditional algorithm proposed in [41]. To make it more convincing, the number of requests and the file size are consistent with [41]. Therefore, the number of requests is 10000, and the file size is between 500kb and 5GB. Additionally, the parameters of migration are set as follows: Tth=5, Mmem=11.4, Mthd=0.9, Ddity=1.3, Rclo=1.5∗Rloc, Rmig∈[Rloc,Rclo], N=N′=M=M′=M′′=1. To make the results convincing, we conducted 20 experiments independently. The experimental results are shown below.As shown in Figure12, we can see that the energy consumption using the proposed method is less than that of traditional algorithm. The maximum energy consumption and the minimum energy consumption of the proposed algorithm are 155504j and 138015j, respectively. And the maximum and minimum values of the traditional method proposed by Mohamed et al. are 164755j and 159032j, respectively. As a result, the energy saving is 16.23% and 2.22%, respectively, which proves the superiority of the proposed method in 3G in this paper.Figure 12
Energy consumption in 3G.As shown in Figure13, we can see that the energy consumption using the proposed method is less than that of the traditional algorithm. The maximum and the minimum energy consumption of proposed algorithm are 74412j and 67897j, respectively. And the maximum and minimum value of the traditional method proposed by Mohamed et al. are 85639j and 79496j, respectively. So, the energy saving is 20.74% and 7.35%, respectively, which proves the superiority of the method we proposed in this paper in Wi-Fi environment.Figure 13
Energy consumption in Wi-Fi.In order to better verify the influence of environment on Mobile Microlearning, we compared the energy consumption of this algorithm in 3G and Wi-Fi environments. The experimental results are shown in Figure14. As shown in Figure 14, we can see that, using the proposed method, the energy consumption in Wi-Fi is far less than that in 3G. The maximum and minimum energy consumption of the proposed algorithm in 3G environment are 155504j and 138015j, respectively. In Wi-Fi, they are 74412j and 65931j, respectively. This proves that users should learn as much as possible in a Wi-Fi environment because it saves 49.97% energy than that in 3G.Figure 14
Energy consumption of the proposed algorithm in different environment.Figure15 compares energy consumption between the proposed algorithm and traditional algorithm. The proposed algorithm is superior to the traditional algorithm, because energy consumption of the proposed algorithm is less than that of the traditional algorithm both in Wi-Fi and 3G environment. The algorithm saves 16.09% energy for Wi-Fi and 10.54% for 3GFigure 15
Energy consumption of proposed method in Wi-Fi and 3G.


## 6. Conclusions

Based on the green cloud service provisioning framework [28], in this paper, we focus on high energy consumption caused by resource deployment in Mobile Microlearning environments. First, the Chinese Lexical Analysis System and the TF-IDF method in text mining are applied to the keyword mining and statistics of user request in Mobile Microlearning.Meanwhile, in order to find the optimal classification accuracy for both large samples category (popular information) and small samples category (less popular information), we use category homogenization method and D-TF-IDF method, respectively. Second, a 2-tier cloud architecture is adopted to deploy resources according to the classification results of the classification module. Third, GWO module forecasts the energy consumption of each byte in current network environment and finds the server with the lowest energy cost. For the new user request, the classification module tries its best effort to get the highest classification accuracy. The 2-tier cloud architecture, through the collaboration between private cloud and public cloud, mitigates the drawbacks of the overload operation of a single cloud platform. On the other hand, it increases the probability that users find resources in private cloud and reduces the energy consumption brought by service migration. The experimental results show that the method we proposed can improve classification accuracy and achieve the purpose of saving energy. However, this algorithm can only make a rough estimation of resource classification and energy consumption. Therefore, in the future research work, the important modules involved in the Mobile Microlearning process need to be deeply processed to achieve the overall energy-saving treatment in the Mobile Microlearning process.



---

*Source: 7430860-2019-01-23.xml*