Resource Scheduling Based on Improved Spectral Clustering Algorithm in Edge Computing

With the development of Internet of Things (IoT), the massive data generated by it forms big data, and the complexity of dealing with big data brings challenges to resource scheduling in edge computing. In order to solve the problem of resource scheduling and improve the satisfaction of users in edge computing environment, we propose a user-oriented improved spectral clustering scheduling algorithm (ISCM) in this paper. Based on the improved k-means algorithm, the ISCM algorithm solves the problem that the clustering result is sensitive to the initial value and realizes the reclustering, which makes the obtained clustering results more stable. Finally, the edge computing resource scheduling scheme is obtained based on the clustering results. The experimental results show that the resource scheduling schemebased on improved spectral clustering algorithm is superior to traditional spectral clustering algorithm in edge computing environment.


Introduction
Edge computing is an extension of cloud computing; it is a way to quickly process data at the edge of the network [1][2][3].
The goal of the development of Internet of Things (IoT) is to connect electronic devices, mobile terminals, household appliances, and so on [4][5][6].These devices are not only large in number but also widespread in geographical distribution.In the real world, when users use these IoT devices, there are various requirements for cloud computing, such as low latency and location awareness [7][8][9][10].In addition, with the advent of the big data era, traditional data analysis methods and storage technology encounter bottlenecks.Big data has the characteristics of large data volume, diversity of data structure, and the requirements of fast processing [11,12].However, the reception and transmission of large amounts of data may cause the I/O bottleneck between the cloud computing data center and the terminal; the transmission rate and the processing speed are greatly reduced and even cause a large resource scheduling delay.
Processing range of edge computing is closer to the data source.After the data collection, it is processed at the edge of the network rather than in the central server; it provides edge intelligent services nearly with low latency and location awareness and other features and support mobility.In the Internet of Things, the edge computing through the data analysis and processing not only realizes the sensing, interaction, and control between objects, but also provides real-time resource scheduling and allocation for users [13].Obviously, edge computing can meet the needs of these IoT devices.
With the various demand for users [14], users can choose to store data to the local edge computing or send it to the cloud computing.In this case, resource allocation and scheduling are user oriented, so task-oriented scheduling algorithms are not applicable.At present, most of the existing scheduling algorithms are applied to grid computing and virtual machine scheduling; it can not satisfy the characteristics of edge computing, such as low latency, close to the end user, wide geographical distribution, and other characteristics, and the general scheduling algorithm can not meet the diversified demands of users.To solve these problems, this paper proposes a resource scheduling algorithm for end users, which aims at solving the resource scheduling problem in the edge computing.
In 2016, HeeSeok Choi et al. [24] proposed a task consolidation algorithm based on task classification and resource utilization for the cloud data center.Furthermore, they designed a VM consolidation algorithm to balance task execution time and energy consumption without violating a predefined service level agreement (SLA).
In 2016, Wu et al. [25] proposed a scheduling scheme for continuous clustering of mobile cloud resources based on the improved FCM (IGAFCM) algorithm to reduce the size of matching requirements in the search process.In addition, the experiment proved that the matching strategy can be dynamically adjusted according to the matching score and feedback training.
In 2016, Cheol-Ho Hong et al. [26] proposed a new mechanism, called ANCS (Advanced Network Credit Scheduler), to guarantee QoS through dynamic allocation of network resources in virtualization.To meet the various network demands of cloud users, ANCS aims to concurrently provide multiple performance policies; these include weight-based proportional sharing, minimum bandwidth reservation, and maximum bandwidth limitation.
Edge computing is a new platform that can serve local mobile devices.Edge computing makes resource sharing or resource caching among widely deployed edge computing clusters.Next, we introduce some scholars about the work of edge computing in resource management.
In 2015, Su et al. [27] studied the resource caching scheme in edge computing based on the Steiner tree.When the edge computing server caches resources, the Steiner tree is first generated to minimize the total path weight (cost); this Steiner tree can minimize the cost of resource cache.Then the article gave a running example, and compared with the shortest path scheme, the results show that based on the Steiner tree scheme can work more effectively.
In 2015, Aazam et al. [28] proposed a dynamic resource allocation through the Fog Micro Datacenter, which argued that edge computing is between the Internet of Things and the cloud.Its purpose is to manage resources, to achieve data filtering, data preprocessing and data encryption.For this purpose, the paper proposed a resource management architecture in an edge computing environment.The article took into account the factors that give up the customer, the type of service, the service price, and the different waiver probability fluctuations.The experimental results show that these factors can help the service provider to correctly estimate the number of resources.
In 2015, Datta et al. [29] proposed edge computing and consumer-centric networking, which discussed the edge computing paradigm and how it served the consumer-centric IoT.The edge computing architecture can be integrated into an one M2M standard system.
The resource scheduling algorithm proposed in this paper is based on clustering method.Cluster analysis is a multivariate statistical analysis and a part of unsupervised pattern recognition [30][31][32].Compared with k-means clustering algorithm, spectral clustering has significant advantages, it can identify any shape of the cluster, such as nonconvex clusters, and it is difficult to fall into the local optimal solution, so that the clustering algorithm has a certain degree of improvement compared with the traditional clustering algorithm.In 2015, Zhou et al. [33] proposed a spectral clustering algorithm to solve the problem of resource scheduling and allocation in cloud computing.However, it is not difficult to see from the implementation steps of the spectral clustering algorithm, and a k-means algorithm is required in the last step.Because the k-means algorithm is sensitive to the initial value, the spectral clustering algorithm is difficult to ensure the stability of clustering results.In this respect, Duan et al. [34] put forward an improved k-means algorithm, and the improved k-means algorithm uses the "shooting target" principle to search the clustering center.

Resource Scheduling Architecture
In the edge computing environment supported by the Internet of Things, there are two forms of service available to the end user: one is based on the amount of task and the size of the load, and the end user submits the task to the edge computing micro data center [35,36].The other is that the user will submit the resources to the edge computing micro data center, and the edge computing micro data center allocates the resource according to the request submitted by the end user [37].There are two forms of service, the former we call task oriented, and the latter we call user oriented.The difference between these two forms of service is as follows.For taskoriented resource scheduling, there is no explicit requirement on the computing capability of resources.According to the submitted the amount of task load and task calculation, the edge computing micro data center allocates resources with corresponding processing capabilities to execute tasks.For user-oriented resource scheduling, the user submits resource allocation requests to the edge computing micro data center.The requests of users include explicit requirements on the computing capability of the resource and a clear resource occupancy time interval.In this paper, we consider the problem of resource scheduling and allocation in the edge computing according to the user-oriented service form.
In the framework of the Internet of Things, edge computing is between cloud computing and Internet of Things equipment [38,39], the three levels shown in Figure 1.The edge computing preprocesses the collected data and then uploads it to the cloud data center; this can greatly reduce the pressure on the cloud data center.
In edge computing, the architecture of the resource scheduling process is shown in Figure 2, the user submits the request to the edge micro data center (EMDC), and the edge server allocates the resource according to the request of users.If the resource requested by the current user is temporarily short of the edge center (Edge1), the edge server can send broadcast messages to its adjacent edge center (Edge2).Edge1  submits the request to Edge2 to process; if Edge2 does not have the resources that the user wants to request, then Edge2 can upload the user's request to its neighboring Edge3 to process.Edge servers in edge computing are mostly made up of weak performance computers, and the system resources are limited.When some users submit requests, if it exceeds the capability range of the edge computation processing data, then the edge computing will choose to transfer the data of users to the cloud server.In this paper, we study the resource scheduling problem in edge computing, so we do not consider the resource scheduling process after the data upload to the cloud.includes the following aspects: computing resource capability (usually expressed by millions of instructions per second); time interval (including start time, completion time).In order to simplify the calculation process, the number of computing resources is used to represent the demand of users for computing resource capability.

Solving Scheduling Problems
The resource refers to the resources in the edge computing micro data center, such as computing resources, communication resources, and storage resources.When a user requests resource allocation to the edge computing, if the same computing unit is required by different users, there is an overlap in the use time interval of the resource, resulting in resource contention, reduced resource utilization, and service delay.In this paper, we call this overlap in time interval be overlap degree.The size of the overlap degree depends on the time interval of the user occupied the computing unit.
In this paper, the clustering algorithm solves the problem that reduce the overlap degree of user requests and improving resource utilization.The object of clustering is the requests of users.Clustering is based on the degree of time overlap between requests.The greater the overlap degree is, the higher the similarity is.By clustering, requests with a big degree overlap can be in the same category, and requests with a small degree of overlap can be assigned to different categories.During scheduling, resources can be allocated to different categories of requests at the same time to reduce the possibility of resource contention and improve service quality.
Each request of the user has a clear resource occupancy time interval (including the start time and completion time), and different user requests may overlap on the time interval.The overlap degree between all users constitutes a matrix, represented by M.
The matrix M has n * n elements, each of which can be defined as follows: In formula (1), P  is the overlap time between user i and user j.The time interval T is delimited by the edge computing, and there are multiple requests arriving at this time interval.As shown in Figure 3, the time interval T is from 0 to 9, for a total of 10 time intervals, T=10.The earliest start request is user1, and the latest finish request is user4.The user1 request time interval is [0, 4], and user4 request time interval is [3,9].The degree of time overlap exists if and only if two users request the same resource.As shaded by the slash lines, when user1 and user2 request the same resource, there is an overlap between the time intervals of the two users.Therefore, according to formula (1), the overlap degree between the user 1 and the user 2 is 3/10 = 0.3.
Assume at time 0 edge computing micro data center receives the N service request, the amount of resources available is m, and the calculation ability of a single resource is constant, so we believe that there is no difference between the two independent computing units (nodes) on the ability.Different users have different requirements for computing capacity.According to the needs of users, multiple resources can be assigned to a user at the same time.
Let   = {  |   ∈ ,   → } be the user set that would be executed on computing unit r; set S refers to the set of all users.For two different units r 1 and r 2 , a user S i may apply for the use of two computing units r 1 and r 2 , so the intersection between the sets S r1 and S r2 is not empty.In fact, because a request can take up multiple computing units, which adds to the complexity of the problem.So, we need to divide the requests that take up multiple units.If the request of user needs to take up  units, it should be divided into  requests that have the same time interval with the previous request.So the request set  = { 1 ,  2 , . . .,   } can be extended to set Ŝ = { 1 ,  2 , . . .,   ,  +1 , . . .,  + } where  = ∑  =1 (  ) − 1 and (  ) is the number of units required to represent the i th request.
With regard to the process of resource allocation, the number of computing units in operation is k, and k has the minimum value; that is, there is a boundary beyond the marginal calculation of micro data center services.Obviously, this minimum corresponds to the maximum value required by all users for computing power.Let  min be the minimum value, and we know that  min = max{  |  ∈ } from a previous analysis.For example, if the requirement for computing power is five units, the edge computing micro data center does not assign four or fewer units to the user.At the same time, the number of computational units in the operation also has the maximum value.Obviously, the maximum will not exceed the number of available computing units.Let  max be maximum value and  max ≤ .Obviously, k ∈ [ min ,  max ].

Scheduling Objectives.
In edge computing, resource utilization and quality of service (QoS) should be taken into account in resource scheduling for end users.These are very important reference factors for resource scheduling [40][41][42][43].Resource utilization affects economic benefit, and QoS affects customer satisfaction.
There are two users service request s i and s j ; p ij means overlap degree.We consider the simplification of standardization and computation, let   = 1 − (1 −   ), where  is a constant and 0 <  < 1.From this, we can see that the higher the overlap degree is, the greater   is.
Therefore, one of the objectives of scheduling can be expressed in this way, and a strategy satisfying the following formula is found: By formula (2), we can get the most satisfying policy for the user.However, it does not consider the optimization problem of resources, which is also one of the objectives of scheduling.For example, when the user requirements are not demanding on the computing ability, the edge computing micro data center will dispatch a small number of computing units to meet the request of users, and the resource utilization can be improved by reducing the number of computing units.
The length of the known time interval is T, and for each computing unit , the resource utilization rate can be expressed as From the perspective of the user, the user request is including the use time of resources and number of resources, which means that time of T and the number of each user application resources are fixed.Therefore, the value ∑  =1   is constant, nothing to do with the value of k.According to formula (3), the size of resource utilization is determined by k.When the demand of users is responded, in order to improve resource utilization, we have to reduce the number of resources in the operation.However, reducing the amount of resources that can be put into operation will inevitably increase the overlap degree.This creates a problem that the system must make a choice between the number of resources and the overlap degree.
As mentioned earlier, overlap affects the quality of service (QoS) and reduces user satisfaction.As we all know, there are many factors that affect the quality of service (QoS).This paper focuses on the resource scheduling and allocation problem.In this paper, QoS is expressed as delay extent, actual finish time compared to the expected completion time of services.The QoS condition is defined as the following representation: In summary, under the premise of satisfying the QoS condition, the goal of our resource scheduling can be expressed as

Solutions.
As mentioned earlier, our goal is to find a formula to satisfy formula (5).If we regard the overlap degree as Euclidean distance, then large-scale requests should form a cluster structure, and the distance between different clusters is very large; in addition, the overlap degree between different clusters is very small.However, the smaller distance between nodes in the cluster is, the bigger overlap degree between nodes in the cluster is.This means that we can turn the scheduling problem into a clustering problem.
The detailed process of converting a scheduling problem to a clustering problem is as follows.
Firstly, a set S is set up to store the requests of users, and the edge computing allocates resources required by the user.
Secondly, the overlap degree between each two requests in the set S is calculated according to formula (1).It should be noted that a certain user request may require multiple resources and overlap with other requests for multiple times.In this case, the request needs to be divided into multiple subrequests.The set S is expanded into a set Ŝ, and the Euclidean distance between the requests is calculated to construct a matrix of overlap degree.
Finally, the improved spectral clustering algorithm is used to solve the clustering problem.The overlap degree matrix is regarded as a similarity matrix, and the spectral clustering algorithm reduces the dimensions of the matrix.The improved k-means is used to complete the clustering.
According to the final clustering result, in order to facilitate the search for a better scheduling strategy, the requests located in different clusters are selected, and a set of scheduling strategies needs to be established to store the selected requests.Obviously, the overlap degree between requests within the set of scheduling policies is very small, and the overlap degree between requests from different scheduling sets is large.

Improved k-Means Algorithm.
In order to make the clustering result that insensitive to the initial value, in this paper, we use the improved k-means algorithm proposed by Duan et al. and then combined it with the spectral clustering algorithm to achieve a relatively stable clustering results.
The improved k-means algorithm (referred to as mykmeans) mainly adds the initial clustering center selection algorithm.The initial number of cluster centers is k, the number of searches is C, and the set B is used to store C * k cluster centers,  = { 1 ,  2 , . . .  *  }.With the algorithm loop search clustering center, each time the selection results are put into   , the set H stores the final cluster center selection results, H = min{distortion(  , )}.
In the clustering algorithm, since the initial clustering center selection algorithm is added.When selecting the optimal initial center of the next cluster, the similarity degree matrix (the distance between all points in the dataset) of the entire data set needs to be calculated at each step, which makes the algorithm cost time is very large or needs to store the calculated similarity matrix back up, which in turn requires a lot of storage space.In short, when the algorithm is applied to a data set with a slightly larger amount of data, there is a problem that the calculation time is too long, or the storage space is insufficient, and it is not suitable for largescale systems with many nodes.
In order to solve the above problems and reduce the computational complexity of the clustering algorithm, in this section we use the improved clustering algorithm proposed by Zhao [44].
When we select the cluster center of the next cluster, if the selected point is in close proximity to the found cluster center, then there will be very little difference in the center values of the two clusters in the final clustering result.Obviously, this is meaningless, so a point within a certain range around the found cluster center may not be the cluster center of the next cluster.When selecting the best initial center of the next cluster, these points need to be excluded first.The specific implementation process is as follows.
All points in the area with  =   •  , ( = 1, 2, . . ., −1) as the radius centered on   are removed, and the initial cluster center of the next cluster is selected from the remaining points, which will effectively reduce the number of data points that need to be calculated.This reduces the amount of calculation.In the incremental method, as the k increases, the structure of the obtained cluster is also more and more stable, so the value of the parameter   can be increased accordingly to exclude more points.

Spectral Clustering Algorithm.
In the spectral clustering algorithm, we first need to solve the similarity matrix, in which we define the overlap degree matrix P as the similarity matrix.For arbitrary P i,j = P j,i and P i,i = 0; that is, diagonal element is 0. Then the overlapping degree matrix can be expressed as where  , = exp(−‖ −   ‖ 2 /2 2 ).Then we can calculate the normalized matrix (, ) = ∑  =1  , , and Laplacian matrix  =  − .
We can assume that all the requests are divided into k 1 , k 2 , two categories, for the classification criteria; this paper uses the standard division (NORMALIZED CUT) method.Let q be a vector.The elements   are defined as follows: Among them, D 1 is the sum of all overlaps in k 1 , plus Cut (k 1 , k 2 ), D 2 is the sum of all overlaps in k 2 , plus Cut (k 1 , k 2 ), and Then   ( 1 ,  2 ) =   ; the restrictions are At this time, the Laplacian matrix for the normalized (Normalized Laplacian, the diagonal elements are all 1) L  = D-1/2 L D-1/2 eigenvalues and the corresponding eigenvectors.Because the eigenvalues of L and L  are the same, the relation between the eigenvectors is q  = D 1/2 q, so we can get the eigenvectors corresponding to the eigenvalues of L  , and finally we can get the  by multiplying D −1/2 .

Improved Spectral Clustering Algorithm (ISCM).
Based on the improved k-means algorithm, we propose an improved spectral clustering algorithm (ISCM).The algorithm not only solves the problem of initial value, but also realizes the secondary clustering.As described above, according to the QoS condition, we consider the parameters .When the algorithm is executed, we can through judge the size of the parameters whether it needs secondary clustering.If the current QoS satisfies the demand of users for resource scheduling after the algorithm is executed, there is no need to recluster.Next, the implementation steps of spectral clustering optimization scheduling algorithm are introduced.
(2) According to the overlap degree between the elements in the set Ŝ, the overlap degree matrix P is calculated, and the value of   is calculated according to the formula   = 1 − (1 −   ).
(3) Constructing Laplacian matrix L and computing eigenvalues of matrix L.
(4) Constructing matrix R by eigenvectors corresponding to eigenvalues.
Using improved k-means method to cluster row vectors of matrix R.
Computing delay E, QoS conditions   , and system resource utilization U, according to formula (3):  = ∑  =1   /.(7) If   ≤ , the loop is stopped; otherwise, go back to the previous step and restart.
(8) The scheduling strategy can be obtained according to k cluster.
The flowchart of the ISCM algorithm is shown in Figure 4.

Resource Scheduling
4.4.1.Scheduling Process.In the resource scheduling process of edge computing, as shown in Figure 5, the end user submits the service request to the edge micro data center (EMDC) through the edge computing.The resource monitor is set up in EMDC, and the dynamic resource monitor will detect the status information of the available resources at any moment and save the status information of these resources in EMDC.The ISCM algorithm clusters the service request sets, sorts them into several different sets of requests, and then schedules the resources.Finally, the resource allocation of these requests is arranged.clustering problem, and the resource scheduling scheme can be obtained according to the clustering results.ISCM algorithm can effectively solve the resource scheduling problem in edge computing.The pseudocode of ISCM algorithm is as in Algorithm 1.

Algorithm Correctness and Performance
Analysis.The algorithm consists of three stages; the first stage calculates the overlap degree between the user service request sets; each service request contains the start time and end time; the overlapping degree matrix can be obtained according to the overlap in time interval.In the second stage, the overlap degree matrix is diagonalized, and the Laplacian matrix is established by using the normal cutting method, and the eigenvector is obtained.In the third stage, we use the myk-means algorithm to cluster, and on the basis of the original k-means algorithm, the initial clustering center selection algorithm is added, repeatedly traversing the search data samples to find k best initial clustering centers.Then, according to the initial cluster centers, the k cluster is obtained to form scheduling strategy.Throughout the above three stages, the degree of time overlap between users is regarded as the similarity between data samples, and the scheduling problem is transformed into clustering problem.We classify the large overlap degree requests into one class and divide them into different classes with small overlap degree.The clustering algorithm can make the similarity among samples the largest, and the similarity between samples is minimum, so our algorithm is correct.Theorem 4-1 ISCM algorithm can complete the resource scheduling in edge computing; the time complexity is O (nck).n represents the number of data samples, c represents the number of times that the initial cluster center searches, and k represents the number of clusters.
In large-scale datasets, the number of searches c is much less than the number of samples, so the time complexity of the proposed algorithm avoids sinking into worst-case O (n 2 ).
According to the common performance metrics of clustering algorithm, as shown in Table 1, this paper compares with ISCM algorithm, traditional spectral clustering algorithm, and k-means algorithm.

Simulation Results
Our simulation experiments are based on the MATLAB platform, assuming the known service quality (QoS) conditions  =0.1, T=60, m=5 (which means that each user can apply for 5 computing units at most).The busy time of the 5 computing units in T is denoted as T 1 , T 2 , T 3 , T 4 , and T 5 , and their values, respectively, are 35, 20, 30, 39, and 53.According to the starting time and completion time of each request, denoted as   and   , and the number of units that need to be occupied, represented by the letter a, the request is represented as data point in three-dimensional  coordinates.As shown in Figure 6, the number of clusters is the number of resources; the time exceed curve 1 and resource utilization rate 1 are obtained by ISCM algorithm, which are compared with the time exceed curve 2 and resource utilization rate 2 of traditional spectral clustering algorithm.By computing formula (3), we can see that when the number of clusters is k=3, the resource utilization rate of ISCM algorithm is U=98%, and the resource utilization rate of traditional spectral clustering algorithm is U=94%.The ISCM algorithm is 4% higher than traditional spectral clustering in resource utilization.
When the expected completion time is 60s and the number of clusters is at least 3, the running time of the ISCM algorithm is 1.9111s, and the QoS condition is guaranteed.It can be seen from Figure 6 that the time exceed curve of traditional spectral clustering algorithm fluctuates up and down; this is because the original k-means algorithm is sensitive to the initial value, resulting in a drastic change in the delay degree of the traditional spectral clustering algorithm.The time exceed curve of ISCM algorithm is close to stability and shows low delay characteristic.
According to the diversity of big data in actual situation, we choose two kinds of data sample set.For the first sample set, we use k-means algorithm and myk-means algorithm, respectively.For the second sample set, we use the traditional spectral clustering algorithm and ISCM algorithm, respectively; at the same time, it is compared with k-means algorithm.
When using the traditional k-means clustering algorithm, the experimental results are shown in Figures 7 and 8; the X axis represents the start time of the service request, the Y axis represents the finish time of the service request, and the Z axis represents the number of computing units required for the service request.Here we set up 5 computing units at most that users can apply.It is not difficult to find from Figure 8 that the same color is the same class, the traditional k-means algorithm clustering results are wrong, and this is because the clustering results depend on the initial clustering center.
Figure 9 shows the results of the algorithm using mykmeans.As shown in Figure 9, the same color is as the same class, the time overlap between the same classes is large, and users have to wait for resources until the resource is idle, so it reduces customer satisfaction easily.Different types of requests can respond simultaneously, because there is no time overlap, and edge computing allocates resources to them simultaneously, which can avoid resource contention, thus it forms scheduling policy.Different categories of requests have different colors; moreover, different categories of requests are combined into a scheduling set in the scheduling process, which can reduce the overlap degree and service delay and improve QoS and resource utilization.
From the comparison of two algorithms under the experimental results, we can conclude that myk-means clustering algorithm used in this paper is superior to the traditional k-means algorithm, myk-means clustering algorithm selects the appropriate initial cluster center, and it can converge to a better local optimal solution and obtain more accurate resource scheduling.
In Figure 10, the blue line represents the running time of traditional spectral clustering algorithm, and the red line represents the running time of ISCM algorithm.As can be seen from Figure 10, by improving the spectral clustering algorithm and reducing the amount of data calculation, the execution efficiency of the ISCM algorithm can be effectively improved.In addition, as the scale of requests continues to increase, the time-growth trend of the ISCM algorithm is slower than the traditional spectral clustering algorithm.
In order to show that the ISCM algorithm is better than k-means algorithm and traditional spectral clustering algorithm in clustering accuracy and applicability scope, the experimental results obtained in this paper are shown in Figures 11 and 12.
In Figure 11, we can see that the clustering results of traditional spectral clustering algorithm are not stable, due to the clustering results depending on the selection of the initial clustering center; when poor initial clustering center is selected, the clustering of traditional spectral clustering algorithm to produce the result is not stable.
In Figure 12, the traditional k-means algorithm can not solve the clustering problem, and our algorithm can get stable solution to the problem of clustering.In addition, when the QoS conditions do not meet the needs of users, the proposed algorithm will be reclustering until meeting the user needs.In summary, the algorithm of this paper is superior to the traditional k-means algorithm and traditional spectral clustering algorithm in solving the problem of edge  computing resource scheduling.Comparing with Figure 11, it is not difficult to find that the clustering results obtained by ISCM algorithm are ideal.

Conclusions
In this paper, we analyze the user-oriented resource scheduling problem in the edge computing of the Internet of Things and propose the ISCM algorithm to solve the scheduling problem in edge computing.In edge computing, users can simultaneously apply a variety of resources, which results in the overlap in time interval and increases the difficulty of resource scheduling problem.Firstly, we transform the problem of overlap degree in resource scheduling into clustering problem.Secondly, we carry on the overlap degree matrix transformation and the eigenvector clustering.Finally carry out resource scheduling for the categories with different colors.Experiments show that the scheduling algorithm can stabilize the clustering results under the guaranteed QoS condition, and it can obtain the higher resource utilization rate.In this problem, we assume that each computing unit has the same calculation ability, and the future research work should focus on the difference between the calculation ability of different computing units.

Figure 5 :
Figure 5: Resource clustering and scheduling process.

Figure 6 :
Figure 6: Resource utilization and time exceed curves.

Figure 10 :
Figure 10: Response time comparison of algorithms.

Figure 11 :Figure 12 :
Figure 11: Clustering results comparison of traditional spectral clustering algorithm.

Table 1 :
Performance comparison of algorithms.