Security-aware service chain reliable supply method and system in edge intelligent cloud
Optimizing the deployment of virtualized network functions and redundant backup virtualized network functions through online deployment of approximate algorithms solves the problem of link security and reliability in the edge intelligent cloud, and realizes security-aware and reliability-guaranteed service chain supply and optimization. resource utilization and costs.
Patent Information
- Application Number
- CN202410640652.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In edge intelligent clouds, link security issues between virtualized network functions and redundant backup virtualized network functions make it difficult to achieve security awareness and reliability guarantees in service chain provision, especially in resource-constrained edge server environments. ,How to optimize the model size and deployment path to ,maximize the number of received requests and minimize the ,cost is a challenge.
Using the approximate algorithm of online deployment, by constructing auxiliary graphs and calculating trust values, the deployment location of virtualized network functions and redundant backup virtualized network functions is optimized to ensure link security and reliability and achieve security awareness and reliability assurance. Service chain supply.
It effectively improves the security perception and reliability of the service chain in the edge intelligent cloud, reduces the risk of link attacks and the impact of failures, optimizes deployment costs and resource utilization, and improves the accuracy and reliability of services.
Smart Images

Figure CN118694656A
Abstract
Description
Technical Field
[0001] The present invention relates to an edge intelligence cloud (Edge Intelligence Cloud, EIC for short), and in particular to a method and system for reliable supply of a security-aware service chain in an edge intelligence cloud. Background Art
[0002] Edge Intelligence Cloud (EIC) combines artificial intelligence (AI), network function virtualization, and mobile edge computing technologies. It can push various resources and computationally intensive AI inference services required by mobile user devices from the cloud to the edge of the network. Deploying these AI services to resource-limited edge servers to meet different user needs (i.e., edge inference) has become one of the main bottlenecks of edge intelligence. In complex EIC scenarios (e.g., autonomous driving and smart homes), multiple AI inference services requested by users need to be provided in the form of an AI inference service chain (AISC). Service function chain provisioning refers to the orderly and on-demand deployment of a set of virtualized network functions (VNFs) requested by different users to a set of resource-limited edge servers. EIC not only enables mobile users to obtain customized AISCs in a low-latency and energy-saving manner, but also further unleashes data potential through various intelligent analyses. However, due to the insecurity and unreliability of EIC, AISCs provisioning is vulnerable to potential attacks and unpredictable failures.
[0003] In terms of security, attackers can obtain private information or transmit malicious data through link attacks (e.g., replay attacks, man-in-the-middle attacks, traffic analysis attacks, etc.), thereby reducing the performance of well-trained models. Links can be divided into secure and unsecure categories based on the user's security requirements and the availability of existing protection mechanisms (e.g., data encryption or digital signatures, etc.). In terms of reliability, any hardware failure (e.g., CPU or memory), software failure (e.g., VNFs or operating system), or incorrect operation will cause VNFs or even AISCs to be temporarily unreliable. Deploying redundant backup VNFs (Backup VNFs, BVNFs for short) near VNFs is an effective way to avoid the above failures. When a VNF fails, these BVNFs will be activated and process data.
[0004] However, the new links between BVNFs and VNFs will cause the service to suffer more link attacks, which will lead to reduced data quality and, in turn, reduced service accuracy. Therefore, how to optimally select the appropriate model size for VNFs and BVNFs, deploy them to trusted edge servers, and establish secure routing paths, while maximizing the number of received requests and minimizing the deployment cost, is a problem that needs to be considered. Then, depending on whether the link security between VNFs and BVNFs is considered, two online backup scenarios are considered: one is on-site backup, that is, VNFs and corresponding BVNFs must be centrally deployed to the same edge server; the other is off-site backup, that is, VNFs and corresponding BVNFs must be distributed and deployed to different edge servers. For the above two online backup scenarios, how to achieve security-aware and reliability-guaranteed service function chain provisioning has become a key technical issue that needs to be solved urgently. Summary of the invention
[0005] Technical problem to be solved by the present invention: In view of the above-mentioned problems in the prior art, a method and system for reliable provision of a security-aware service chain in an edge intelligent cloud are provided. The present invention aims to adopt an online deployed approximate algorithm for backup scenarios that consider the link security between VNFs and BVNFs, so as to realize security-aware and reliability-guaranteed service chain provision.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0007] A method for reliable provisioning of a security-aware service chain in an edge intelligent cloud includes the following processing for an on-site backup scenario in which a virtualized network function set VNFs and a corresponding redundant backup virtualized network function set BVNFs are centrally deployed to the same edge server:
[0008] S101, obtain the network model G of the edge intelligent cloud s and the set of newly arrived requests, the network model G s is an undirected weighted graph G s =(V S ,E S ), V S =V∪C represents the set of servers, E S represents the set of physical links between servers, and V is the computing capacity cap v = 0 and is only responsible for the set of edge servers transmitting data, C is the computing capacity cap c >0 and the set of edge servers connected to the server, ∪ is the union operation;
[0009] S102, initialize set A ccThe sum set BN is an empty set, the number of iterations k is 1, and the threshold MaxNum is the number of requests in the newly arrived request set;
[0010] S103, determine whether the number of iterations k is less than or equal to the threshold MaxNum. If so, jump to step S104; otherwise, set A cc Output as processing result, end and exit;
[0011] S104, a network model based on edge intelligent cloud, according to the security level S γ and the trust threshold T thr For the kth newly arrived request γ k Construction auxiliary diagram in For auxiliary diagram A collection of servers in For auxiliary diagram The set of physical links in the auxiliary diagram Select a request γ that is close to the kth newly arrived request k The user is closest and contains the most trusted servers The connected component Λ of the auxiliary graph A maximal connected subgraph of a graph that is not in the subgraph but belongs to the auxiliary graph. Any point will cause it to be no longer connected;
[0012] S105, determining the maximum number of trusted servers Less than requested γ k Number of VNFs in the AI service chain Is it true? If not, increase the number of iterations k by 1 and jump to step S103; otherwise, it is the kth newly arrived request γ k The virtualized network function VNFs selection model in γ is used to calculate the kth newly arrived request γ k Reliability
[0013] S106, determine the kth newly arrived request γ k Reliability Less than requested γ k Reliability requirements Is it true? If so, find the kth newly arrived request γ k The VNF with the lowest reliability i , VNFf i Number of BVNFs Add 1 to update VNFf after adding BVNF i Reliability And add BVNF after request γ kReliability And the updated reliability Assigned to the newly arrived request γ k Reliability Jump to step S106; otherwise, jump to step S107;
[0014] S107, constructing an LGAP instance, the LGAP instance is composed of The size is Weight items, and The capacity is C v (k-1) bins, where cap f The computing resources required by VNFf, For the request deployed on server vγ k The deployment cost of , Λ is the distance from the kth newly arrived request γ k The user is closest and contains the most trusted servers The connected components, ∩ is the intersection operation, and C is the computing capacity cap c >0 and a set of edge servers interconnected with the server; a set of approximate solutions is obtained by running a preset approximate algorithm on the LGAP instance Where ∪ is the union operation, For the corresponding VNFf i and the deployment locations of their corresponding BVNFs;
[0015] S108, judgment condition Then the number of iterations k is increased by 1 and the process goes to step S103; otherwise, all virtualized network functions VNFsf in the AI service chain are deployed. i and corresponding redundant backup virtualized network function sets BVNFs to the corresponding edge servers Update resources and the average failure rate of virtualized network functions VNFs on edge server c
[0016] S109, the kth newly arrived request γ k Add to set A cc , increase the number of iterations k by 1 and jump to step S103.
[0017] Optionally, in step S104, the network model based on the edge intelligent cloud is configured according to the security level S γ and the trust threshold T thr For the kth newly arrived request γ k Construction auxiliary diagram Includes: Network Model G for Edge Intelligent Cloud s The set of physical links between edge servers ES , lower security level than security level S γ The physical links are removed through a depth-first search algorithm to form a new link set and multiple connected components; then calculate the kth newly arrived request γ in each connected component k The trust value of each edge server is calculated in the network model G of the edge intelligent cloud. s The set of edge servers V S Remove the trust value below the trust threshold T thr The edge servers form a new edge server set Thus, we obtain the auxiliary graph
[0018] Optionally, the calculation of the kth newly arrived request γ k For each edge server, the trust value is calculated for the kth newly arrived request γ k Trust value T for edge server c γ,c The calculation function expression is:
[0019]
[0020] In the above formula, T c is the direct trust value, is the average difference in link security level in the shortest path from user to server, S max is the maximum value of the link security level in the shortest path from the user to the server. is the average failure rate of virtualized network functions VNFs on edge server c, and:
[0021]
[0022]
[0023]
[0024] In the above formula, the positive variables b and u represent the belief and uncertainty results respectively, s represents the number of times the expected results are produced, and f represents the number of unsuccessful times. γ,c is the kth newly arrived request γ k A set of shortest physical links to edge server c, S e is the security level of link e, S γ To request the security requirements of γ, is the average failure probability of all VNFs on server c, N f,c is a collection of virtualized network functions VNFs running in edge server c, r f,cTo ensure the reliability of the virtualized network function VNF f running in the edge server c.
[0025] Optionally, in step S105, the kth newly arrived request γ k When selecting models for virtualized network functions VNFs in , the actual inference accuracy of the model selected for any virtualized network function VNF f for:
[0026] When A γ ≤S γ ,
[0027] In the above formula, A γ To request the accuracy requirement of γ, For the integrity of the data in the physical link e, is the number of available protection mechanisms for physical link e, S γ is the security requirement of request γ; in step S105, the kth newly arrived request γ is calculated k Reliability The function expression is:
[0028]
[0029] In the above formula, F γ is a set of VNFs that form the AI service chain in the request γ, r f is the reliability of VNF f, MTTN and MTTR represent the mean uptime and mean time to repair, respectively.
[0030] Optionally, in step S106, VNFf is updated after adding BVNF i Reliability And add BVNF after request γ k Reliability The calculation function expression is:
[0031]
[0032]
[0033] In the above formula, To increase the reliability of VNFf after BVNF, For VNF i Reliability, For VNF i The mth BVNF, BF i For VNF i The BVNF set, For VNF i The last BVNF, where For VNF i The number of BVNFs, For VNF i The reliability of the mth BVNF, To increase the reliability of BVNF post-request γ, To increase the reliability of VNFfc after BVNF.
[0034] Optionally, the following processing is also performed for an off-site backup scenario in which the virtualized network function set VNFs and the corresponding redundant backup virtualized network function set BVNFs must be distributedly deployed to different edge servers:
[0035] S201, obtain the network model G of the edge intelligent cloud s and the newly arrived request set A rr ;
[0036] S202, initialization set A cc A is the newly arrived request set rr , the set BN and the connected component Λ are empty sets, the number of iterations k is 1, the value of the link security level sl is -1, and the security level S required for each request is γ Sort the newly arrived request set A rr All requests γ in ; the initialization threshold MaxNum is the newly arrived request set A rr The number of requests in γ k Represents the sorted newly arrived request set A rr For any kth newly arrived request in , initialize the number of iterations k;
[0037] S203, determine whether the number of iterations k is less than or equal to the threshold MaxNum. If so, jump to step S204; otherwise, set A cc Output as processing result, end and exit;
[0038] S204, determine that the link security level sl is less than the kth newly arrived request γ k Security requirements Is it true? If so, the kth newly arrived request γ k Security requirements Assign a value to the link security level sl, and construct an auxiliary graph G based on the network model of the edge intelligent cloud according to the link security level sl sl =(V s ,E sl ), where E sl The auxiliary graph G sl The set of physical links in ;
[0039] S205, calculate the kth newly arrived request γ k Reliability
[0040] S206, determine the kth newly arrived request γ k Reliability Less than requested γ k Reliability requirement R γk Is it true? If so, find the kth newly arrived request γ k The VNF with the lowest reliability i , VNFf i Number of BVNFs Add 1 to update VNFf after adding BVNF i Reliability And add BVNF after request γ k Reliability And will increase BVNF post request γ k Reliability Assigned to the newly arrived request γ k Reliability Jump to step S206; otherwise, jump to step S207;
[0041] S207, calculate the auxiliary variable β according to the following formula:
[0042]
[0043] In the above formula, For Requests k A set of VNFs that form an AI service chain, f i For Requests k A VNF in ; calculate the trust value of all edge servers, in the auxiliary graph G sl The set of edge servers V S Remove the trust value below the trust threshold T thr The edge server in the auxiliary graph G sl Select the server closest to the user and containing the most trusted servers | C Λ |The connected component Λ;
[0044] S208, judgment condition |C Λ Whether |<|β| holds true, if so, reject the kth newly arrived requestγ k , according to A cc ←A cc \γ k Update the newly arrived request set A rr , where “←” indicates the update action, “A cc \γ k "To γk From set A cc Remove; increase the number of iterations k by 1 and jump to step S203;
[0045] S209, sort C in ascending order Λ , and merge the first β edge servers c into the trusted server set Λ k′ :
[0046] Λ k′ ={λ1=c i ,...,λ β =c j},
[0047] In the above formula, λ1~λ β For the set Λ k′ The element, c i and c j for servers i and j; for the kth newly arrived request γ k The virtualized network function VNFs selection model in the algorithm is as follows: According to the inference order AISC, the virtualized network function set VNFs and the corresponding redundant backup virtualized network function set BVNFs are pre-deployed to the trusted server set Λ k′ and record the corresponding deployment location to the auxiliary variable Auxiliary variables Used to record the deployment locations of VNF and BVNF;
[0048] S210, if there is an edge server that cannot deploy the virtualized network function set VNFs and the corresponding redundant backup virtualized network function set BVNFs due to insufficient resources, or the following conditions are met:
[0049]
[0050] In the above formula, Request for deployment¶ k The normalized cost of server c after VNFs and BVNFs, For Requests k security requirements; then reject the kth newly arrived request γ k , according to a cc ←a cc \γ k Update the newly arrived request set a rr , where “←” indicates the update action, “a cc γk" is the k From set A cc Remove; increase the number of iterations k by 1 and jump to step S203; otherwise, deploy the kth newly arrived request γ based on the inference order AISC kVNF and BVNF to auxiliary variables Average failure rate of update resources and virtualized network functions VNFs on edge server c in the corresponding servers recorded Increase the number of iterations k by 1 and jump to step S203.
[0051] Optionally, in step S204, an auxiliary graph G is constructed according to the link security level s1. sl =(V s ,E sl ) includes: Network model G for edge intelligent cloud s The set of physical links between edge servers E S , physical links with security lower than the security level sl are removed through an algorithm based on depth-first search, thus forming a new link set and multiple connected components; then calculate the kth newly arrived request γ in each connected component k The trust value of each edge server is obtained, thereby obtaining the auxiliary graph G sl =(V s ,E sl ).
[0052] Optionally, in step S209, C is sorted in an ascending manner. Λ The basis is the normalized cost of edge server workload;
[0053]
[0054] In the above formula, is the normalized cost of edge server workload, For the request deployed on server vγ k The deployment cost, C v is the initial computing resource of server v, For Requests k The security requirement of C is a constant greater than 1, which reflects the sensitivity of each server to the workload. v (k) is the receiving request γ k The remaining computing resources of the server v.
[0055] In addition, the present invention also provides a security-aware service chain reliable provisioning system in an edge intelligent cloud, comprising an interconnected microprocessor and a memory, wherein the microprocessor is programmed or configured to execute the security-aware service chain reliable provisioning method in the edge intelligent cloud.
[0056] In addition, the present invention also provides a computer-readable storage medium, in which a computer program is stored, and the computer program is used to be programmed or configured by a microprocessor to execute the security-aware service chain reliable provisioning method in the edge intelligent cloud.
[0057] In addition, the present invention also provides a computer program product, including a computer program / instructions, which are programmed or configured to execute the security-aware service chain reliable provisioning method in the edge intelligent cloud through a processor.
[0058] Compared with the prior art, the present invention mainly has the following advantages: the present invention adopts an online deployed approximate algorithm for the backup scenario considering the link security between VNFs and BVNFs, can realize the service chain supply with security awareness and reliability assurance, and has the advantages of security awareness and good reliability in the backup scenario. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 The figure is a flowchart of an on-site backup scenario in an embodiment of the present invention.
[0060] Figure 2 The figure is a flowchart of an off-site backup scenario in an embodiment of the present invention.
[0061] Figure 3 It is a schematic diagram of the topology of the Melbourne Central Business District used in the simulation in the embodiment of the present invention. DETAILED DESCRIPTION
[0062] In order to achieve reliable supply of security-aware service chains in edge intelligent clouds, the resource-constrained EIC (edge intelligent cloud) network is modeled as an undirected weighted graph G in this embodiment. s =(V S ,E S ). Among them, V S =V∪C represents all access points (AP), E S ={e u,v |u,v∈V S} represents the physical link connecting any two APs. In addition, V S and E S Specifically, C is a set of c >0 and the edge servers connected to the AP, V is a set of computing capacity cap v = 0 and is only responsible for transmitting data. Since each physical link e has a different security mechanism (e.g., data encryption or digital signature), each link has a different security level S eIn addition, this embodiment assumes that each physical link is an ideal optical cable, that is, any physical link e has sufficient bandwidth capacity. In addition, this embodiment uses the set F = {f j |1≤j≤|F|} represents all types of VNFs. Traditional VNF instances have only one model, while AI-supported VNF instances have multiple models. VNF is defined as Among them, acc f Indicates the size of the model parameters, cap f For a parameter size acc f The computing resources required for the VNF. Since the accuracy of the AI model calculation results increases with the increase of AI model parameters, the accuracy f It can also represent the initial accuracy of the model. Γ is a set of AISC requests γ = (L γ ,F γ ,R γ ,S γ ,A γ ), where L γ Indicates the location where the user issues the AISC request, F γ ={f i γ |1≤i≤|F γ |,f i γ (≠f i )∈F} represents the personalized AI service chain requested by the user (the subscript represents VNFf i γ request order). γ , S γ and A γ They are the user’s requirements for reliability, security, and accuracy, respectively. In addition, when a user is in an area covered by multiple APs, it is assumed that the user device will connect to the nearest AP or the AP with the strongest signal strength.
[0063] The method of this embodiment involves an on-site backup scenario and an off-site backup scenario.
[0064] The on-site backup scenario problem is described as follows: Given an EIC network G with limited resources S =(V S ,E S ), a group of computers with a capacity of cap c > 0 edge server C, a set of links e with different security levels, and requests γ = (L γ ,F γ ,R γ ,S γ ,A γ). The SRAP problem in the on-site backup scenario (SRAPON) studies how to receive as many AISC requests as possible with the minimum instantiation cost of VNFs and BVNFs and satisfy each received requestγ k Reliability requirements Security requirements Accuracy requirements Service Request and computing requirements cap γ , and is also limited by G s The server capacity and centralized deployment location constraints (VNFs and their BVNFs must be deployed in the same edge server) are met. This embodiment proposes a security-aware and reliability-guaranteed algorithm (SRON in this embodiment) in an on-site backup scenario to solve the SRAPON problem.
[0065] like Figure 1 As shown, the security-aware service chain reliable provisioning method in the edge intelligent cloud of this embodiment includes the following processing for the on-site backup scenario in which the virtualized network function set VNFs and the corresponding redundant backup virtualized network function set BVNFs are centrally deployed to the same edge server:
[0066] S101, obtain the network model G of the edge intelligent cloud s and the set of newly arrived requests, the network model G s is an undirected weighted graph G s =(V S ,E S ), V S =V∪C represents the set of servers, E S represents the set of physical links between servers, and V is the computing capacity cap v = 0 and is only responsible for the set of edge servers transmitting data, C is the computing capacity cap c >0 and the set of edge servers connected to the server, ∪ is the union operation;
[0067] S102, initialize set A cc The sum set BN is an empty set, the number of iterations k is 1, and the threshold MaxNum is the number of requests in the newly arrived request set;
[0068] S103, determine whether the number of iterations k is less than or equal to the threshold MaxNum. If so, jump to step S104; otherwise, set A cc Output as processing result, end and exit;
[0069] S104, a network model based on edge intelligent cloud, according to the security level S γ and the trust threshold T thrFor the kth newly arrived request γ k Construction auxiliary diagram in For auxiliary diagram A collection of servers in For auxiliary diagram The set of physical links in the auxiliary diagram Select a request γ that is close to the kth newly arrived request k The user is closest and contains the most trusted servers The connected component Λ of the auxiliary graph A maximal connected subgraph of a graph that is not in the subgraph but belongs to the auxiliary graph. Any point will cause it to be no longer connected;
[0070] S105, determining the maximum number of trusted servers Less than requested γ k Number of VNFs in the AI service chain Is it true? If not, increase the number of iterations k by 1 and jump to step S103; otherwise, it is the kth newly arrived request γ k The virtualized network function VNFs selection model in γ is used to calculate the kth newly arrived request γ k Reliability
[0071] S106, determine the kth newly arrived request γ k Reliability Less than requested γ k Reliability requirements Is it true? If so, find the kth newly arrived request γ k The VNF with the lowest reliability i , VNFf i Number of BVNFs Add 1 to update VNFf after adding BVNF i Reliability And add BVNF after request γ k Reliability And the updated reliability Assigned to the newly arrived request γ k Reliability Jump to step S106; otherwise, jump to step S107;
[0072] S107, constructing an LGAP instance, the LGAP instance is composed of The size is Weight items, and The capacity is Cv (k-1) bins, where cap f is the computing resources required by VNF f, For the request deployed on server vγ k The deployment cost of , Λ is the distance from the kth newly arrived request γ k The user is closest and contains the most trusted servers The connected components, ∩ is the intersection operation, and C is the computing capacity cap c >0 and a set of edge servers interconnected with the server; a set of approximate solutions is obtained by running a preset approximate algorithm on the LGAP instance Where ∪ is the union operation, For the corresponding VNFf i and the deployment locations of their corresponding BVNFs;
[0073] S108, judgment condition Then the number of iterations k is increased by 1 and the process goes to step S103; otherwise, all virtualized network functions VNFsf in the AI service chain are deployed. i and corresponding redundant backup virtualized network function sets BVNFs to the corresponding edge servers Update resources and the average failure rate of virtualized network functions VNFs on edge server c
[0074] S109, the kth newly arrived request γ k Add to set A cc , increase the number of iterations k by 1 and jump to step S103.
[0075] In step S104 of this embodiment, the network model based on the edge intelligent cloud is based on the security level S γ and the trust threshold T thr For the kth newly arrived request γ k Construction auxiliary diagram Includes: Network Model G for Edge Intelligent Cloud s The set of physical links between edge servers E S , lower security level than security level S γ The physical links are removed through a depth-first search algorithm to form a new link set and multiple connected components; then calculate the kth newly arrived request γ in each connected component k The trust value of each edge server is calculated in the network model G of the edge intelligent cloud. s The set of edge servers V S Remove the trust value below the trust threshold T thr The edge servers form a new edge server set Thus, we obtain the auxiliary graph
[0076] In this embodiment, the calculation of the kth newly arrived request γ k For each edge server, the trust value is calculated for the kth newly arrived request γ k Trust value T for edge server c γ,c The calculation function expression is:
[0077]
[0078] In the above formula, T c is the direct trust value, is the average difference in link security level in the shortest path from user to server, S max is the maximum value of the link security level in the shortest path from the user to the server. is the average failure rate of virtualized network functions VNFs on edge server c, and:
[0079]
[0080]
[0081]
[0082] In the above formula, the positive variables b and u represent the belief and uncertainty results respectively, s represents the number of times the expected results are produced, and f represents the number of unsuccessful times. γ,c is the kth newly arrived request γ k A set of shortest physical links to edge server c, S e is the security level of link e, S γ To request the security requirements of γ, is the average failure probability of all VNFs on server c, N f,c is a collection of virtualized network functions VNFs running in edge server c, r f,c is the reliability of the virtualized network function VNF f running in the edge server c. In the reliability model of this embodiment, VNFs have two states: normal and faulty. The edge server or virtual machine failure will cause the VNF to fail. The VNF reliability can be expressed by the probability of the normal working time (normal working time) of the VNF. This probability can be obtained from the running data or log file of the server, and its calculation function expression is:
[0083]
[0084] In the above formula, MTTN and MTTR represent the mean normal operation time and mean troubleshooting time respectively.
[0085] In step S105 of this embodiment, the kth newly arrived request γ k When selecting models for virtualized network functions VNFs in , the actual inference accuracy of the model selected for any virtualized network function VNF f for:
[0086] When A γ ≤S γ ,
[0087] In the above formula, A γ To request the accuracy requirement of γ, For the integrity of the data in the physical link e, is the number of available protection mechanisms for physical link e, S γ Security requirements for requesting γ.
[0088] In step S105 of this embodiment, the kth newly arrived request γ is calculated k Reliability The function expression is:
[0089]
[0090] In the above formula, F γ is a set of VNFs that form the AI service chain in the request γ, r f is the reliability of VNF f, MTTN and MTTR represent the mean uptime and mean time to repair, respectively.
[0091] In step S106 of this embodiment, the VNFf after adding BVNF is updated. i Reliability And add BVNF after request γ k Reliability The calculation function expression is:
[0092]
[0093]
[0094] In the above formula, To increase the reliability of VNFfc after BVNF, For VNF i Reliability, For VNF i The mth BVNF, BF i For VNF i The BVNF set, For VNF i The last BVNF, where For VNF i The number of BVNFs, For VNF i The reliability of the mth BVNF, To increase the reliability of BVNF post-request γ, To increase the reliability of VNFf after BVNF.
[0095] The basic idea of the security-aware and reliability-guaranteed algorithm under ON-site scenario (SRON) in this embodiment is to ensure the reliability and security of AISC services through redundant backup and physical isolation. First, based on the auxiliary graph construction principle, the SRON algorithm generates a new arrival request γ k Build a dedicated auxiliary graph That is, the links with lower security and the servers with lower trust values are isolated from AISCs. In addition, the deployment location constraint of the SRAPON problem also requires that VNFs and the corresponding BVNFs must be deployed on the same edge server. In the process of , multiple connected components are usually formed because some links are removed. When the AISC request is rejected due to violation of the deployment location constraint, the AISC request will be rejected due to violation of the deployment location constraint. In the process of selecting the connected component, the connected component Λ that is closest to the user and has the largest number of trusted servers is given priority. Note that this embodiment uses the number of hops between two points as the main parameter of the distance. When the number of hops is the same, the actual distance is used as an auxiliary judgment. Next, the correction value of the user input data quality is calculated based on the security level of each e in Λ, and the correction value is calculated based on this value and the user's accuracy requirement. To select the appropriate model size for each VNFs. Then, an appropriate number of BVNFs are iteratively deployed near the most unreliable VNF in each unreliable AISC until the reliability of the AISC exceeds the user's requirement. This embodiment reduces the above backup supply problem to the minimum cost generalized allocation problem. The specific construction process is as follows. First, VNF and its corresponding BVNFs are regarded as an item. Each instance of the minimum cost generalized allocation problem consists of a cost of The computing resource requirements are |F γ | items and remaining computing resources are C v (k-1) An approximate solution to the above problem is obtained by executing the approximate algorithm in the existing literature (referring to Cohen R, Katzir L, Raz D. An Efficient Approximation for the Generalized Assignment Problem [J]. Information Processing Letters, 2006, 100 (4): 162-166.) Among them, each Indicates the deployment location of the corresponding VNF and BVNFs. If the remaining capacity of the server is greater than the computing resources required by the VNF and BVNFs, The number of the storage server; otherwise, is assigned a value of -1. Finally, according to Record the deployment locations and deploy the VNFs and BVNFs required by the user in sequence according to the AISC order.
[0096] Off-site backup scenario problem description: Given an EIC network G with limited resources S =(V S ,E S ), a group of computers with a capacity of cap c >0 edge server C, a set of computing resources is cap v = 0, a set of links e with different security levels, and a set of new arrival requests γ = (L γ ,F γ ,R γ ,S γ ,A γ ). The SRAP problem under off-scene backup (SRAPOFF) studies how to receive as many AISC requests as possible with the minimum instantiation cost of VNFs and BVNFs and satisfy each received requestγ k Reliability requirements Security requirements Accuracy requirements Service Request and computing requirements cap γ, and is also limited by server capacity and distributed deployment location constraints (VNFs in AISC must be deployed in different servers, and VNFs and their corresponding BVNFs must also be deployed in different servers). This embodiment proposes a security-aware and reliability-guaranteeing algorithm in an off-site backup scenario (referred to as SROFF in this embodiment) to solve the SRAPOFF problem. The off-site backup scenario effectively alleviates the single point failure problem caused by server failure. However, additional consideration needs to be given to the security of the link between VNFs and the corresponding BVNFs. That is, the off-site backup scenario must consider these factors additionally. Figure 2 As shown, this embodiment also includes the following processing for an off-site backup scenario in which a virtualized network function set VNFs and a corresponding redundant backup virtualized network function set BVNFs must be distributedly deployed to different edge servers:
[0097] S201, obtain the network model G of the edge intelligent cloud s and the newly arrived request set A rr ;
[0098] S202, initialization set A cc A is the newly arrived request set rr , the set BN and the connected component Λ are empty sets, the number of iterations k is 1, the value of the link security level sl is -1, and the security level S required for each request is γ Sort the newly arrived request set A rr All requests γ in ; the initialization threshold MaxNum is the newly arrived request set A rr The number of requests in γ k Represents the sorted newly arrived request set A rr For any kth newly arrived request in , initialize the number of iterations k;
[0099] S203, determine whether the number of iterations k is less than or equal to the threshold MaxNum. If so, jump to step S204; otherwise, set A cc Output as processing result, end and exit;
[0100] S204, determine that the link security level sl is less than the kth newly arrived request γ k Security requirements Is it true? If so, the kth newly arrived request γ k Security requirements Assign a value to the link security level sl, and construct an auxiliary graph G based on the network model of the edge intelligent cloud according to the link security level sl sl =(V s ,E sl ), where E slThe auxiliary graph G sl The set of physical links in ;
[0101] S205, calculate the kth newly arrived request γ k Reliability
[0102] S206, determine the kth newly arrived request γ k Reliability Less than requested γ k Reliability requirements Is it true? If so, find the kth newly arrived request γ k The VNF with the lowest reliability i , VNFf i Number of BVNFs Add 1 to update VNFf after adding BVNF i Reliability And add BVNF after request γ k Reliability And will increase BVNF post request γ k Reliability Assigned to the newly arrived request γ k Reliability Jump to step S206; otherwise, jump to step S207;
[0103] S207, calculate the auxiliary variable β according to the following formula:
[0104]
[0105] In the above formula, For Requests k A set of VNFs that form an AI service chain, f i For Requests k A VNF in ; calculate the trust value of all edge servers, in the auxiliary graph G sl The set of edge servers V S Remove the trust value below the trust threshold T thr The edge server in the auxiliary graph G sl Select the server closest to the user and containing the most trusted servers | C Λ |The connected component Λ;
[0106] S208, judgment condition |C Λ Whether |<|β| holds true, if so, reject the kth newly arrived requestγ k , according to A cc ←A cc \γ k Update the newly arrived request set Arr , where “←” indicates the update action, “A cc \γ k "To γ k From set A cc Remove; increase the number of iterations k by 1 and jump to step S203;
[0107] S209, sort C in ascending order Λ , and merge the first β edge servers c into the trusted server set Λ k′ :
[0108] Λ k′ ={λ1=c i ,...,λ β =c j},
[0109] In the above formula, λ1~λ β For the set Λ k′ The element, c i and c j for servers i and j; for the kth newly arrived request γ k The virtualized network function VNFs selection model in the algorithm is as follows: According to the inference order AISC, the virtualized network function set VNFs and the corresponding redundant backup virtualized network function set BVNFs are pre-deployed to the trusted server set Λ k′ and record the corresponding deployment location to the auxiliary variable Auxiliary variables Used to record the deployment locations of VNF and BVNF;
[0110] S210, if there is an edge server that cannot deploy the virtualized network function set VNFs and the corresponding redundant backup virtualized network function set BVNFs due to insufficient resources, or the following conditions are met:
[0111]
[0112] In the above formula, Request for deployment¶ k The normalized cost of server c after VNFs and BVNFs, For Requests k security requirements; then reject the kth newly arrived request γ k , according to A cc ←A cc \γ k Update the newly arrived request set A rr , where “←” indicates the update action, “A cc \γ k "To γ kFrom set A cc Remove; increase the number of iterations k by 1 and jump to step S203; otherwise, deploy the kth newly arrived request γ based on the inference order AISC k VNF and BVNF to auxiliary variables Average failure rate of update resources and virtualized network functions VNFs on edge server c in the corresponding servers recorded Increase the number of iterations k by 1 and jump to step S203.
[0113] In step S204 of this embodiment, the auxiliary graph G is constructed according to the link security level s1. sl =(V s ,E sl ) includes: Network model G for edge intelligent cloud s The set of physical links between edge servers E S , physical links with security lower than the security level sl are removed through an algorithm based on depth-first search, thus forming a new link set and multiple connected components; then calculate the kth newly arrived request γ in each connected component k The trust value of each edge server is obtained, thereby obtaining the auxiliary graph G sl =(V s ,E sl ).
[0114] In step S209 of this embodiment, the C Λ The basis is the normalized cost of edge server workload;
[0115]
[0116] In the above formula, is the normalized cost of edge server workload, For the request deployed on server vγ k The deployment cost, C v is the initial computing resource of server v, For Requests k The security requirement of C is a constant greater than 1, which reflects the sensitivity of each server to the workload. v (k) is the receiving request γ k The remaining computing resources of the server v.
[0117] In this embodiment, for a group of newly arrived requests, the security-aware and reliability-guaranteed algorithm under OFF-site scenario (SROFF for short) first sorts the request group in ascending order according to the security requirement level, and merges the requests with the same security requirements into one group. In order to reduce the running time, the SROFF algorithm no longer constructs a dedicated auxiliary graph for each request, but constructs an auxiliary graph for a group of requests according to the security level. Then, for each unreliable AISC request, the minimum number of BVNFs required for each VNFs is calculated and saved in the BN set. Next, the user's trust value for each edge server is calculated, and the servers that the user does not trust are deleted. In addition, under the SRAPOFF deployment location constraint, the approximate optimal number of edge servers calculated by the SROFF algorithm is β. Therefore, when the number of trusted servers is less than the β value in the nearest and largest connected component Λ, the request is rejected; otherwise, the edge servers are sorted in ascending order according to formula 4-19, and the first β trusted servers are merged into Λ k′ Secondly, according to Λ k′ The security level of each e in the calculation is used to calculate the correction value of the user input data quality, and the correction value is calculated based on this value and the user's accuracy requirement. Then, according to the deployment location constraints and the order requirements of AISC services, γ k The required VNFs and BVNFs are deployed sequentially to Λ k′ Finally, the SROFF algorithm further optimizes the deployment cost by introducing a receiving control strategy, that is, when the sum of the normalized costs of VNFs and BVNFs is not greater than a given threshold , the request is accepted; otherwise, the request is rejected. In addition, if Λ k′ Requests are also rejected when the servers in the cluster do not have sufficient computing resources to run VNFs and BVNFs.
[0118] In order to verify the security-aware service chain reliable provisioning method in the edge intelligent cloud of this embodiment, this embodiment regards two real network topologies of different scales as EIC network G S =(V S ,E S Among them, the China Education and Research Network (CERNET) is a smaller topology, which consists of 37 physical nodes; Melbourne Central Business District (CBD) is a larger topology, which consists of 125 nodes. Figure 3 As shown in Figure 1, 50% of the access points of the network size are randomly selected to be equipped with edge servers. The computing resources of each edge server range from 2000Mhz to 4000Mhz, and the link security level ranges from 1 to 6. The security-related parameters are set as follows: the packet loss rate and hash collision rate are set to range from 0 to 0.2, and the data integrity rate is set to 1. The value range of is 0.64 to 1, the availability of the link protection mechanism ranges from 1 to 6, and the security authentication between servers The value range is 0 to 1. In addition, the EIC network also provides 50 VNFs, including basic network functions (such as firewalls, deep intrusion detection, and data encryption) and AI-supported VNFs (such as natural language processing, face recognition, and medical image processing). The computing power range of VNFs is 10Mhz to 150Mhz, and the reliability range is 0.8 to 0.99. The accuracy range of AI-supported VNFs is 0.6 to 1 (the default value is 1), and the proportionality coefficient of model size to model accuracy is 1. For each AISC request composed of 1 to 5 VNFs connected in a specific order and with random positions, the reliability requirement range is 0.8 to 0.95, the security level requirement range is 1 to 6, and the accuracy requirement range is 1 to 6. The server trust threshold is 0.4. The workload sensitivity factor on each server is. The number of new arrival requests per time slot is 150. Note that all the following data are averages of 50 experiments.
[0119] For performance such as average deployment cost, throughput, running time, and server workload, this embodiment compares the SRON and SROFF algorithms with four other algorithms, including: SRON_ILP and SROFF_ILP algorithms: The SRAP problem is solved using the DOcplex optimizer in Python. The deployment costs of VNFs and BVNFs they calculate are the minimum among all solutions. SROFF_WT algorithm: It uses the DOcplex optimizer to solve the SRAPOFF problem, but does not use the receiving control strategy. Therefore, the algorithm can receive more requests at a lower deployment cost. RAD algorithm: Shang (referring to the document Shang X, Huang Y, Liu Z, et al. Reducing the Service Function Chain Backup Cost over the Edge and Cloud by a Self-adapting Scheme [J]. IEEE Transactions on Mobile Computing, 2021, 21 (8): 2994-3008.) proposed a RAD method that does not consider security parameters for the problem of reliable VNF supply. For each arriving request, the algorithm first provides a BVNF for each VNFs. Then, additional BVNFs are dynamically provided for unreliable requests. For the sake of comparison, this embodiment modifies it into a variant solution that considers both security and reliability.
[0120] Experimental scenario 1): In this experimental scenario, the number of AISC arrival requests in the CERNET network is increased from 50 to 300, and the number of AISC arrival requests in the CBD network is increased from 300 to 1300 to evaluate the performance of different algorithms, while other parameters remain unchanged. The following rules are found: (1) SRON and SRON_ILP algorithms receive more AISC requests than SROFF and SROFF_ILP. This is because the deployment location constraints in the off-site backup scenario are more stringent than those in the on-site deployment scenario. (2) The deployment costs of different schemes increase with the increase in the number of arrival requests. Among them, the increase in the SRON and SRON_ILP algorithms is much higher than that of the SROFF and SROFF_ILP algorithms (the deployment cost of the SRON algorithm does not exceed 1.729 times the optimal cost, and the cost of the SROFF algorithm does not exceed 1.046 times the optimal cost). This is because the centralized deployment of VNFs and BVNFs in the same edge server will increase its workload. (3) As the number of received requests increases, the workload of the server in the on-site backup scenario is higher than that of the server in the off-site backup scenario. (4) The running time of ILP algorithms is longer than that of online algorithms (SRON and SROFF). In addition, since SROFF reduces the total number of auxiliary graph constructions, its running time is less than SRON.
[0121] Experimental scenario 2): In this experimental scenario, the reliability of VNF in the CERNET network is increased from 0.8 to 0.95, while keeping other parameters unchanged, to study the impact of reliability on the performance of different algorithms. The experiment found that: (1) The throughput of SROFF and SROFF_ILP algorithms increases with the increase of VNF reliability, while the throughput of SRON and SRON_ILP algorithms remains stable. This is because VNF reliability is inversely proportional to the number of BVNFs it requires. As VNF reliability increases, each edge server will have more remaining computing resources to receive additional requests. (2) Two trends can be seen: the deployment cost of SROFF and SROFF_ILP increases with the increase of VNF reliability (due to the increase in the number of received requests); the deployment cost of SRON and SRON_ILP decreases with the increase of VNF reliability (due to the decrease in the number of BVNFs). (3) The workload change trend also proves the above throughput change law. (4) As VNF reliability increases, the running time of different algorithms decreases slightly.
[0122] Experimental scenario 3): This experimental scenario sets the security requirement range of users in the CERNET network to 1 to 4, and increases the link security level from 1 to 5 to study the impact of the link security level on the performance of different algorithms. When the minimum link security level is higher than the maximum user requirement, the link security level is no longer a performance bottleneck. The experiment found that: (1) As the security level increases to 4, all parameters continue to rise. However, when the security level is 5, these performances remain stable. (2) Both the deployment cost and server workload increase with the increase of the link security level. Among them, the deployment cost of SRON is no more than 1.658 times that of the optimal solution. (3) The running time of the algorithm in the on-site backup scenario is generally longer than that in the off-site backup scenario. This is due to the different number of runs of the auxiliary graph construction algorithm. In addition, the running time of the ILP type algorithm is longer than that of the online algorithm.
[0123] Experimental scenario 4): In this experimental scenario, the number of VNFs in the CERNET network is increased from 1 to 5 to study the impact of the number of VNFs on the performance of different algorithms. The experiment found that: (1) RAD performs worse than other algorithms due to the use of an inappropriate backup selection mechanism (RAD algorithm receives the least total requests. However, its deployment cost is slightly higher than that of SROFF and SROFF_ILP algorithms, and its running time is also higher than that of SROFF algorithm). It can also be seen that the number of requests that the SROFF_WT algorithm can receive is more than that of SROFF and SROFF_ILP algorithms, but slightly less than that of SRON algorithm, due to the deletion of the receiving control strategy. (2) As the number of VNFs increases, the total receiving cost of SRON and SROFF_WT algorithms gradually increases. However, the cost of SROFF and SROFF_ILP algorithms shows a trend of increasing first and then decreasing. This is because the deployment cost is related to the number of requests received and the number of VNFs and BVNFs required for the request. (3) The running time of the SROFF_WT algorithm is shorter than that of the SROFF algorithm due to the deletion of the receiving control mechanism. When the number of VNFs in the CBD network is increased from 5 to 25, and the number of new arrival requests is kept at 300.
[0124] Experimental scenario 5): In this experimental scenario, the VNF accuracy range in the CERNET network is adjusted to [0.6, 0.7], [0.7, 0.8], [0.8, 0.9], and [0.9, 1] in turn, and other parameters are kept unchanged to study the impact of accuracy on the performance of different algorithms. For the SROFF_ILP and SROFF algorithms, the experiment found that: (1) The number of received requests decreases with the increase of the average accuracy of the VNF, which leads to a reduction in deployment cost. (2) For the SRON_ILP and SRON algorithms, the server workload increases with the improvement of the model accuracy. In addition, when the number of received requests is constant, the deployment cost of the server increases with the improvement of the model accuracy. (3) The VNF accuracy has little effect on the running time of the algorithm. As the VNF accuracy increases, the running time of different algorithms decreases slightly.
[0125] Through the above experimental scenarios, it can be seen that the SRON and SROFF algorithms in the security-aware service chain reliable provisioning method in the edge intelligent cloud of this embodiment can realize security perception and reliability assurance in the edge intelligent cloud.
[0126] In addition, this embodiment also provides a security-aware service chain reliable provisioning system in an edge intelligent cloud, comprising an interconnected microprocessor and a memory, wherein the microprocessor is programmed or configured to execute the security-aware service chain reliable provisioning method in the edge intelligent cloud.
[0127] In addition, this embodiment also provides a computer-readable storage medium, in which a computer program is stored, and the computer program is used to be programmed or configured by a microprocessor to execute the security-aware service chain reliable provisioning method in the edge intelligent cloud.
[0128] In addition, this embodiment also provides a computer program product, including a computer program / instructions, which are programmed or configured to execute the security-aware service chain reliable provisioning method in the edge intelligent cloud through a processor.
[0129] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, may be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the functions in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0130] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A security-aware service chain reliable provisioning method in an edge intelligent cloud, characterized in that: The following processing is performed for an on-site backup scenario in which a virtualized network function set VNFs and a corresponding redundant backup virtualized network function set BVNFs are centrally deployed on the same edge server: S101, obtain the network model G of the edge intelligent cloud s and the set of newly arrived requests, the network model G s is an undirected weighted graph G s =(V S ,E S ), V S =V∪C represents the set of servers, E S represents the set of physical links between servers, and V is the computing capacity cap v = 0 and is only responsible for the set of edge servers transmitting data, C is the computing capacity cap c >0 and the set of edge servers connected to the server, ∪ is the union operation; S102, initialize set A cc The sum set BN is an empty set, the number of iterations k is 1, and the threshold MaxNum is the number of requests in the newly arrived request set; S103, determining whether the number of iterations k is less than or equal to the threshold MaxNum, if so, skipping to step S104; Otherwise, set A cc Output as processing result, end and exit; S104, a network model based on edge intelligent cloud, according to the security level S γ and the trust threshold T thr For the kth newly arrived request γ k Construction auxiliary diagram in For auxiliary diagram A collection of servers in For auxiliary diagram The set of physical links in the auxiliary diagram Select a request γ that is close to the kth newly arrived request k The user is closest and contains the most trusted servers The connected component Λ of the auxiliary graph A maximal connected subgraph of a graph that is not in the subgraph but belongs to the auxiliary graph. Any point will cause it to be no longer connected; S105, determining the maximum number of trusted servers Less than requested γ k Number of VNFs in the AI service chain Is it true? If not, increase the number of iterations k by 1 and jump to step S103; otherwise, it is the kth newly arrived request γ k The virtualized network function VNFs selection model in γ is used to calculate the kth newly arrived request γ k Reliability S106, determine the kth newly arrived request γ k Reliability Less than requested γ k Reliability requirement R γk Is it true? If so, find the kth newly arrived request γ k The VNF with the lowest reliability i , VNFf i Number of BVNFs Add 1 to update VNFf after adding BVNF i Reliability And add BVNF after request γ k Reliability And the updated reliability Assigned to the newly arrived request γ k Reliability Jump to step S106; Otherwise, jump to step S107; S107, constructing an LGAP instance, the LGAP instance is composed of The size is Weight items, and The capacity is C v (k-1) bins, where cap f The computing resources required by VNFf, For the request deployed on server vγ k The deployment cost of k The user is closest and contains the most trusted servers The connected components, ∩ is the intersection operation, and C is the computing capacity cap c >0 and the set of edge servers interconnected with the server; A set of approximate solutions is obtained by running the preset approximate algorithm on the LGAP instance. Where ∪ is the union operation, For the corresponding VNFf i and the deployment locations of their corresponding BVNFs; S108, judgment condition Then increase the number of iterations k by 1 and jump to step S103; Otherwise, deploy all virtualized network functions VNFsf in the AI service chain i and corresponding redundant backup virtualized network function sets BVNFs to the corresponding edge servers In the update, resources and average failure rate of virtualized network functions VNFs on edge server c are S109, the kth newly arrived request γ k Add to set A cc , increase the number of iterations k by 1 and jump to step S103.
2. The method for reliable provisioning of security-aware service chains in edge intelligent cloud according to claim 1, characterized in that: In step S104, the network model based on the edge intelligent cloud is based on the security level S γ and the trust threshold T thr For the kth newly arrived request γ k Construction auxiliary diagram Includes: Network Model G for Edge Intelligent Cloud s The set of physical links between edge servers E S , lower security level than security level S γ The physical links are removed through a depth-first search algorithm to form a new link set and multiple connected components; then calculate the kth newly arrived request γ in each connected component k The trust value of each edge server is calculated in the network model G of the edge intelligent cloud. s The set of edge servers V S Remove the trust value below the trust threshold T thr The edge servers form a new edge server set Thus, we obtain the auxiliary graph 3. The method for reliable provisioning of security-aware service chains in edge intelligent cloud according to claim 2, characterized in that: The calculation of the kth newly arrived request γ k For each edge server, the trust value is calculated for the kth newly arrived request γ k Trust value T for edge server c γ,c The calculation function expression is: In the above formula, T c is the direct trust value, is the average difference in link security level in the shortest path from user to server, S max is the maximum value of the link security level in the shortest path from the user to the server. is the average failure rate of virtualized network functions VNFs on edge server c, and: In the above formula, the positive variables b and u represent the belief and uncertainty results respectively, s represents the number of times the expected results are produced, and f represents the number of unsuccessful times. γ,c is the kth newly arrived request γ k A set of shortest physical links to edge server c, S e is the security level of link e, S γ To request the security requirements of γ, is the average failure probability of all VNFs on server c, N f,c is a collection of virtualized network functions VNFs running in edge server c, r f,c To ensure the reliability of the virtualized network function VNFf running in the edge server c.
4. The method for reliable provisioning of security-aware service chains in edge intelligent cloud according to claim 1, characterized in that: In step S105, the kth newly arrived request γ k When selecting a model for the virtualized network functions VNFs in , the actual inference accuracy of the model selected for any virtualized network function VNFf for: This A γ ≤ S γ , In the above formula, A γ To request the accuracy requirement of γ, For the integrity of the data in the physical link e, is the number of available protection mechanisms for physical link e, S γ is the security requirement of request γ; in step S105, the kth newly arrived request γ is calculated k Reliability The function expression is: In the above formula, F γ is a set of VNFs that form the AI service chain in the request γ, r f is the reliability of VNFf, MTTN and MTTR represent the mean uptime and mean time to repair, respectively.
5. The method for reliable provisioning of security-aware service chains in edge intelligent cloud according to claim 1, characterized in that: In step S106, VNFf is updated after adding BVNF i Reliability And add BVNF after request γ k Reliability The calculation function expression is: In the above formula, To increase the reliability of VNFf after BVNF, For VNF i Reliability, For VNF i The mth BVNF, BF i For VNF i The BVNF set, For VNF i The last BVNF, where For VNF i The number of BVNFs, For VNF i The reliability of the mth BVNF, To increase the reliability of BVNF post-request γ, To increase the reliability of VNFf after BVNF.
6. The method for reliable provisioning of security-aware service chains in edge intelligent clouds according to any one of claims 1 to 5, characterized in that: The method also includes the following processing for an off-site backup scenario in which a virtualized network function set VNFs and a corresponding redundant backup virtualized network function set BVNFs must be distributedly deployed to different edge servers: S201, obtain the network model G of the edge intelligent cloud s and the newly arrived request set A rr ; S202, initialization set A cc A is the newly arrived request set rr , the set BN and the connected component Λ are empty sets, the number of iterations k is 1, the value of the link security level sl is -1, and the security level S required for each request is γ Sort the newly arrived request set A rr All requests γ in ; the initialization threshold MaxNum is the newly arrived request set A rr The number of requests in γ k Represents the sorted newly arrived request set A rr For any kth newly arrived request in , initialize the number of iterations k; S203, determine whether the number of iterations k is less than or equal to the threshold MaxNum. If so, jump to step S204; otherwise, set A cc Output as processing result, end and exit; S204, determine that the link security level sl is less than the kth newly arrived request γ k Security requirements Is it true? If so, the kth newly arrived request γ k Security requirements Assign a value to the link security level sl, based on the network model of the edge intelligent cloud, and construct an auxiliary graph G according to the link security level sk sl =(V s ,E sl ), where E sl The auxiliary graph G sl The set of physical links in ; S205, calculate the kth newly arrived request γ k Reliability S206, determine the kth newly arrived request γ k Reliability Less than requested γ k Reliability requirement R γk Is it true? If so, find the kth newly arrived request γ l The VNF with the lowest reliability i , VNFf i Number of BVNFs Add 1 to update VNFf after adding BVNF i Reliability And add BVNF after request γ k Reliability And will increase BVNF post request γ k Reliability Assigned to the newly arrived request γ k Reliability Jump to step S206; Otherwise, jump to step S207; S207, calculate the auxiliary variable β according to the following formula: In the above formula, For Requests k A set of VNFs that form an AI service chain, f i For Requests k A VNF in ; calculate the trust value of all edge servers, in the auxiliary graph G sl The set of edge servers V S Remove the trust value below the trust threshold T thr The edge server in the auxiliary graph G sl Select the server closest to the user and containing the most trusted servers | C Λ |The connected component Λ; S208, judgment condition |C Λ Whether |<|β| holds true. If so, reject the kth newly arrived requestγ k , according to A cc ←A cc \γ k Update the newly arrived request set A rr , where "←" indicates the update action, "A cc \γ k "To γ k From set A cc Remove; increase the number of iterations k by 1 and jump to step S203; S209, sort C in ascending order Λ , and merge the first β edge servers c into the trusted server set Λ j′ : L k ′={λ1=c i ,...,l β =c j }, In the above formula, λ1~λ β For the set Λ k′ The element, c i and c j for servers i and j; for the kth newly arrived request γ k The virtualized network function VNFs selection model in the algorithm is as follows: According to the inference order AISC, the virtualized network function set VNFs and the corresponding redundant backup virtualized network function set BVNFs are pre-deployed to the trusted server set Λ k′ and record the corresponding deployment location to the auxiliary variable Auxiliary variables Used to record the deployment locations of VNF and BVNF; S210, if there is an edge server that cannot deploy the virtualized network function set VNFs and the corresponding redundant backup virtualized network function set BVNFs due to insufficient resources, or the following conditions are met: In the above formula, Request for deployment¶ j The normalized cost of server c after VNFs and BVNFs, For Requests k security requirements; then reject the kth newly arrived request γ k , according to A cc ←A cc \γ k Update the newly arrived request set A rr , where "←" indicates the update action, "A cc \γ k "To γ k From set A cc Remove; increase the number of iterations k by 1 and jump to step S203; otherwise, deploy the kth newly arrived request γ based on the inference order AISC k VNF and BVNF to auxiliary variables Average failure rate of update resources and virtualized network functions VNFs on edge server c in the corresponding servers recorded Increase the number of iterations k by 1 and jump to step S203.
7. The method for reliable provisioning of security-aware service chains in edge intelligent cloud according to claim 6, characterized in that: In step S204, an auxiliary graph G is constructed according to the link security level s1. sl =(V s ,E sl ) includes: Network model G for edge intelligent cloud s The set of physical links between edge servers E S , physical links with security lower than the security level sl are removed through an algorithm based on depth-first search, thus forming a new link set and multiple connected components; then calculate the kth newly arrived request γ in each connected component k The trust value of each edge server is obtained, thereby obtaining the auxiliary graph G sl =(V s ,E sl ).
8. The method for reliable provisioning of security-aware service chains in edge intelligent cloud according to claim 6, characterized in that: In step S209, the C Λ The basis is the normalized cost of edge server workload; In the above formula, is the normalized cost of edge server workload, For the request deployed on server vγ k The deployment cost, C v is the initial computing resource of server v, For Requests k The security requirement of C is a constant greater than 1, which reflects the sensitivity of each server to the workload. v (k) is the receiving request γ k The remaining computing resources of the server v.
9. A security-aware service chain reliable supply system in an edge intelligent cloud, comprising interconnected microprocessors and memories, characterized in that: The microprocessor is programmed or configured to execute the security-aware service chain reliable provisioning method in the edge intelligent cloud as described in any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored therein, characterized in that: The computer program is used to be programmed or configured by a microprocessor to execute the security-aware service chain reliable provisioning method in an edge intelligent cloud as described in any one of claims 1 to 8.
