CN113065093B - A method and device for determining a link to be repaired - Google Patents
A method and device for determining a link to be repaired Download PDFInfo
- Publication number
- CN113065093B CN113065093B CN202110275642.2A CN202110275642A CN113065093B CN 113065093 B CN113065093 B CN 113065093B CN 202110275642 A CN202110275642 A CN 202110275642A CN 113065093 B CN113065093 B CN 113065093B
- Authority
- CN
- China
- Prior art keywords
- current
- link
- function
- optimal solution
- edge node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/15—Correlation function computation including computation of convolution operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Computational Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Algebra (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明实施例提供了一种待修复链路的确定方法及装置,计算获取的当前的目标函数的最优解,作为当前的目标最优解;基于当前的目标最优解,计算当前的目标最优解对应的当前的目标函数的第一函数值,以及当前的目标函数的最大值,作为第二函数值;如果第一函数值和第二函数值满足预设收敛条件,基于当前的目标最优解,确定当前的待修复链路;如果第一函数值和第二函数值不满足预设收敛条件,基于当前的目标最优解,确定当前的数据丢弃决策向量、当前的流分配向量和当前的节点实际计算量向量,以更新当前的目标函数,并执行计算当前的目标函数的最优解,作为当前的目标最优解的步骤。基于上述处理,可以提高目标边缘计算网络处理计算任务的成功率。
The embodiments of the present invention provide a method and device for determining a link to be repaired, calculating the obtained optimal solution of the current objective function as the current optimal solution of the objective; and calculating the optimal solution of the current objective based on the optimal solution of the current objective The first function value of the current objective function corresponding to the optimal solution and the maximum value of the current objective function are used as the second function value; if the first function value and the second function value satisfy the preset convergence condition, based on the current objective The optimal solution is to determine the current link to be repaired; if the first function value and the second function value do not meet the preset convergence conditions, based on the current target optimal solution, determine the current data discarding decision vector and the current flow allocation vector and the actual calculation vector of the current node to update the current objective function, and perform the steps of calculating the optimal solution of the current objective function as the current objective optimal solution. Based on the above processing, the success rate of the target edge computing network in processing computing tasks can be improved.
Description
技术领域technical field
本发明涉及计算机网络技术领域,特别是涉及一种待修复链路的确定方法及装置。The present invention relates to the technical field of computer networks, and in particular, to a method and device for determining a link to be repaired.
背景技术Background technique
边缘计算网络可以包括多个边缘节点,每一边缘节点用于处理分配给该边缘节点的数据。边缘计算网络中的每两个相连接的边缘节点组成一条链路。由于边缘节点能够处理的数据有限,针对每一边缘节点,当该边缘节点接收到的数据较多时,可以向该边缘节点所属的链路(可以称为目标链路)中的另一边缘节点发送一部分数据(可以称为待处理数据),进而,由目标链路中的另一边缘节点对待处理数据进行处理。An edge computing network may include a plurality of edge nodes, each of which is used to process data assigned to the edge node. Every two connected edge nodes in an edge computing network form a link. Since the data that an edge node can process is limited, for each edge node, when the edge node receives a lot of data, it can send to another edge node in the link (which can be called the target link) to which the edge node belongs. A part of the data (which may be referred to as data to be processed) is further processed by another edge node in the target link to process the data to be processed.
如果一个链路(可以称为受损链路)中的边缘节点被恶意攻击,或者边缘节点的硬件受损,或者连接该受损链路中的两个边缘节点的线路受损,均会导致该链路中的边缘节点无法完成数据处理。If the edge node in a link (which can be called a damaged link) is maliciously attacked, or the hardware of the edge node is damaged, or the line connecting the two edge nodes in the damaged link is damaged, it will cause The edge nodes in this link cannot complete the data processing.
因此,需要及时的对边缘计算网络中的受损链路进行修复,由于修复资源(例如,修理人员、可替换设备等)有限,因此,需要从各受损链路中,确定出当前需要修复的受损链路(可以称为待修复链路),并对待修复链路进行修复,以使得待修复链路中的边缘节点可以处理计算任务。Therefore, it is necessary to repair damaged links in edge computing networks in a timely manner. Since repair resources (for example, repair personnel, replaceable equipment, etc.) are limited, it is necessary to determine the current need to be repaired from each damaged link. The damaged link (may be referred to as the link to be repaired), and the link to be repaired is repaired, so that the edge nodes in the link to be repaired can process computing tasks.
发明内容SUMMARY OF THE INVENTION
本发明实施例的目的在于提供一种待修复链路的确定方法及装置,以避免较多数据无法处理,进而,可以提高目标边缘计算网络处理计算任务的成功率。具体技术方案如下:The purpose of the embodiments of the present invention is to provide a method and an apparatus for determining a link to be repaired, so as to avoid that too much data cannot be processed, and further, the success rate of the target edge computing network in processing computing tasks can be improved. The specific technical solutions are as follows:
第一方面,为了达到上述目的,本发明实施例提供了一种待修复链路的确定方法,所述方法包括:In the first aspect, in order to achieve the above object, an embodiment of the present invention provides a method for determining a link to be repaired, the method comprising:
获取当前的目标函数;其中,当前的目标函数表示基于链路修复决策向量、数据丢弃决策向量、流分配向量和节点实际计算量向量,确定的修复目标边缘计算网络中的各个受损链路所需的总资源的最小值;当前的目标函数的自变量包括链路修复决策向量;所述链路修复决策向量中的第一元素与所述各个受损链路一一对应,一个第一元素表示该第一元素对应的受损链路的处理方式,所述处理方式为修复或者不修复;所述数据丢弃决策向量中的第二元素与所述目标边缘计算网络中的边缘节点一一对应,一个第二元素表示该第二元素对应的边缘节点当前需要丢弃的数据量,所述流分配向量中的第三元素与所述目标边缘计算网络中的链路一一对应,一个第三元素表示该第三元素对应的链路中各边缘节点当前能够迁移的总数据量,所述节点实际计算量向量中的第四元素与所述目标边缘计算网络中的边缘节点一一对应,一个第四元素表示该第四元素对应的边缘节点本地存储的数据中该边缘节点当前能够处理的数据量;Obtain the current objective function; wherein, the current objective function represents the determination of repairing each damaged link in the target edge computing network based on the link repair decision vector, the data discarding decision vector, the flow allocation vector and the node actual computation vector. The minimum value of the total resources required; the independent variable of the current objective function includes a link repair decision vector; the first element in the link repair decision vector corresponds to each damaged link one-to-one, and a first element Indicates the processing method of the damaged link corresponding to the first element, and the processing method is to repair or not to repair; the second element in the data discarding decision vector corresponds to the edge nodes in the target edge computing network one-to-one , a second element represents the current amount of data that needs to be discarded by the edge node corresponding to the second element, the third element in the flow allocation vector corresponds to the links in the target edge computing network one-to-one, and a third element Indicates the total amount of data that each edge node in the link corresponding to the third element can currently migrate. The four elements represent the amount of data that the edge node can currently process in the data locally stored by the edge node corresponding to the fourth element;
计算当前的目标函数的最优解,作为当前的目标最优解;Calculate the optimal solution of the current objective function as the optimal solution of the current objective;
基于当前的目标最优解,计算当前的目标最优解对应的当前的目标函数的函数值,作为第一函数值,以及当前的目标函数的最大值,作为第二函数值;Based on the current target optimal solution, calculate the function value of the current objective function corresponding to the current target optimal solution as the first function value, and the maximum value of the current objective function as the second function value;
如果所述第一函数值和所述第二函数值满足预设收敛条件,基于当前的目标最优解,确定当前的待修复链路;If the first function value and the second function value satisfy a preset convergence condition, determine the current link to be repaired based on the current target optimal solution;
如果所述第一函数值和所述第二函数值不满足所述预设收敛条件,基于当前的目标最优解,确定当前的数据丢弃决策向量、当前的流分配向量和当前的节点实际计算量向量,以更新当前的目标函数,并返回执行计算当前的目标函数的最优解,作为当前的目标最优解的步骤。If the first function value and the second function value do not satisfy the preset convergence condition, determine the current data discarding decision vector, the current flow allocation vector and the current node actual calculation based on the current target optimal solution Quantity vector to update the current objective function, and return to perform the calculation of the optimal solution of the current objective function as the step of the current optimal solution of the objective.
可选的,当前的目标函数为:Optionally, the current objective function is:
表示当前的目标函数,mine,η表示以e和η作为自变量的最小值函数,e表示当前的链路修复决策向量,η表示当前的目标函数的最优割平面,当前的目标函数的最优割平面为基于当前的数据丢弃决策向量、当前的流分配向量和当前的节点实际计算量向量确定出的,E0表示所述目标边缘计算网络中的受损链路构成的集合,cij表示修复链路ij所需的资源,链路ij为由第i个边缘节点和第j个边缘节点组成的链路,eij为当前的链路修复决策向量中与链路ij对应的元素,eij表示链路ij的处理方式。 Represents the current objective function, min e, η represents the minimum value function with e and η as independent variables, e represents the current link repair decision vector, η represents the optimal cut plane of the current objective function, and the The optimal cut plane is determined based on the current data discarding decision vector, the current flow allocation vector and the current node actual calculation vector, E 0 represents the set of damaged links in the target edge computing network, c ij represents the resources required to repair the link ij, the link ij is the link composed of the i-th edge node and the j-th edge node, and e ij is the element corresponding to the link ij in the current link repair decision vector , e ij represents the processing mode of link ij.
可选的,所述基于当前的目标最优解,计算当前的目标最优解对应的当前的目标函数的函数值,作为第一函数值,以及当前的目标函数的最大值,作为第二函数值,包括:Optionally, based on the current target optimal solution, calculate the function value of the current objective function corresponding to the current target optimal solution, as the first function value, and the maximum value of the current objective function, as the second function values, including:
计算当前的目标最优解对应的当前的目标函数的函数值,作为第一函数值;Calculate the function value of the current objective function corresponding to the current objective optimal solution as the first function value;
基于当前的目标最优解和网络最大流问题求解算法,计算当前的目标函数的子函数的最优解;其中,所述子函数为:Based on the current objective optimal solution and the network maximum flow problem solving algorithm, calculate the optimal solution of the sub-function of the current objective function; wherein, the sub-function is:
mind,f,pθ=Σi∈Naidi min d,f,p θ=Σ i∈N a i d i
其中,in,
mind,d,pθ表示所述子函数,mind,d,p表示以d、f和p作为自变量的最小值函数,d表示当前的数据丢弃决策向量,f表示当前的流分配向量,p表示当前的节点实际计算量向量,N表示所述目标边缘计算网络中的边缘节点构成的集合,ai表示第i个边缘节点丢弃每单位大小的数据的代价,di为当前的数据丢弃决策向量中与第i个边缘节点对应的元素,di表示第i个边缘节点当前需要丢弃的数据量,表示链路ij的链路容量,eij为当前的目标最优解中与链路ij对应的元素,eij表示链路ij的处理方式,fij为当前的流分配向量中与链路ij对应的元素,fij表示链路ij中各边缘节点当前能够迁移的总数据量,链路ij为由第i个边缘节点和第j个边缘节点组成的链路,pi为当前的节点实际计算量向量中与第i个边缘节点对应的元素,pi表示第i个边缘节点本地存储的数据中第i个边缘节点当前能够处理的数据量,fih为当前的流分配向量中与链路ih对应的元素,fih表示链路ih中各边缘节点当前能够迁移的总数据量,链路ih为由第i个边缘节点和第h个边缘节点组成的链路,E1表示所述目标边缘计算网络中的未受损链路的构成的集合,ri表示第i个边缘节点本地存储的数据量;min d,d,p θ represents the sub-function, min d,d,p represents the minimum value function with d, f and p as independent variables, d represents the current data discard decision vector, and f represents the current flow allocation vector , p represents the actual calculation amount vector of the current node, N represents the set of edge nodes in the target edge computing network, a i represents the cost of discarding data per unit size by the ith edge node, d i is the current data Discard the element corresponding to the ith edge node in the decision vector, d i represents the current amount of data that the ith edge node needs to discard, Represents the link capacity of the link ij, e ij is the element corresponding to the link ij in the current target optimal solution, e ij represents the processing method of the link ij, f ij is the link ij in the current flow allocation vector Corresponding elements, f ij represents the total amount of data currently migrated by each edge node in link ij, link ij is the link composed of the i-th edge node and the j-th edge node, and p i is the current actual node The element corresponding to the ith edge node in the calculation vector, pi represents the amount of data that the ith edge node can currently process in the data stored locally by the ith edge node, and f ih is the current flow allocation vector and the chain. The element corresponding to the path ih, f ih represents the total amount of data that can be migrated by each edge node in the link ih, and the link ih is the link composed of the i-th edge node and the h-th edge node, and E 1 represents the The set of undamaged links in the target edge computing network, ri represents the amount of data stored locally by the ith edge node;
计算所述子函数的最优解对应的所述子函数的函数值,作为第三函数值;Calculate the function value of the sub-function corresponding to the optimal solution of the sub-function as the third function value;
基于所述第三函数值、当前的目标最优解、上一次确定的当前的目标函数的最大值和第一预设公式,计算当前的目标函数的最大值,作为第二函数值;其中,所述第一预设公式为:Based on the third function value, the current optimal solution of the target, the maximum value of the current target function determined last time, and the first preset formula, the maximum value of the current target function is calculated as the second function value; wherein, The first preset formula is:
表示所述第二函数值,表示上一次计算的当前的目标函数的最大值,cij表示修复链路ij所需的资源,eij为当前的目标最优解中与链路ij对应的元素,eij表示链路ij的处理方式,θ表示所述第三函数值。 represents the second function value, Represents the maximum value of the current objective function calculated last time, c ij represents the resources required to repair the link ij, e ij is the element corresponding to the link ij in the current optimal solution of the target, and e ij represents the value of the link ij Processing mode, θ represents the third function value.
可选的,所述如果所述第一函数值和所述第二函数值不满足所述预设收敛条件,基于当前的目标最优解,确定当前的数据丢弃决策向量、当前的流分配向量和当前的节点实际计算量向量,以更新当前的目标函数,并返回执行计算当前的目标函数的最优解,作为当前的目标最优解的步骤,包括:Optionally, if the first function value and the second function value do not satisfy the preset convergence condition, based on the current target optimal solution, determine the current data discarding decision vector and the current flow allocation vector. and the actual calculation vector of the current node to update the current objective function, and return the optimal solution for calculating the current objective function as the steps of the current objective optimal solution, including:
如果所述第一函数值和所述第二函数值不满足所述预设收敛条件,基于当前的目标最优解和所述第三函数值,更新当前的目标函数的最优割平面,以更新当前的目标函数,并返回执行计算当前的目标函数的最优解,作为当前的目标最优解的步骤;其中,更新后的最优割平面为:If the first function value and the second function value do not satisfy the preset convergence condition, based on the current optimal solution of the objective and the third function value, update the optimal cut plane of the current objective function to Update the current objective function, and return the optimal solution for calculating the current objective function as the step of the current objective optimal solution; wherein, the updated optimal cutting plane is:
η′表示更新后的最优割平面,θ表示所述第三函数值,E0表示所述目标边缘计算网络中的受损链路构成的集合,μij表示链路ij的链路容量对所述子函数的函数值的影响程度,表示链路ij的链路容量,e′ij为下一次需要确定的链路修复决策向量中与链路ij对应的元素,e′ij表示链路ij的处理方式,eij为当前的目标最优解中与链路ij对应的元素,eij表示链路ij的处理方式。η′ represents the updated optimal cut plane, θ represents the third function value, E 0 represents the set of damaged links in the target edge computing network, μ ij represents the link capacity pair of link ij the degree of influence of the function value of the sub-function, Represents the link capacity of link ij, e' ij is the element corresponding to link ij in the link repair decision vector to be determined next time, e' ij represents the processing method of link ij, and e ij is the current target maximum The element corresponding to the link ij in the optimal solution, e ij represents the processing method of the link ij.
可选的,所述预设收敛条件为:Optionally, the preset convergence condition is:
表示所述第二函数值,表示所述第一函数值,ε表示预设阈值。 represents the second function value, represents the first function value, and ε represents a preset threshold.
第二方面,为了达到上述目的,本发明实施例提供了一种待修复链路的确定装置,所述装置包括:In a second aspect, in order to achieve the above object, an embodiment of the present invention provides an apparatus for determining a link to be repaired, the apparatus comprising:
获取模块,用于获取当前的目标函数;其中,当前的目标函数表示基于链路修复决策向量、数据丢弃决策向量、流分配向量和节点实际计算量向量,确定的修复目标边缘计算网络中的各个受损链路所需的总资源的最小值;当前的目标函数的自变量包括链路修复决策向量;所述链路修复决策向量中的第一元素与所述各个受损链路一一对应,一个第一元素表示该第一元素对应的受损链路的处理方式,所述处理方式为修复或者不修复;所述数据丢弃决策向量中的第二元素与所述目标边缘计算网络中的边缘节点一一对应,一个第二元素表示该第二元素对应的边缘节点当前需要丢弃的数据量,所述流分配向量中的第三元素与所述目标边缘计算网络中的链路一一对应,一个第三元素表示该第三元素对应的链路中各边缘节点当前能够迁移的总数据量,所述节点实际计算量向量中的第四元素与所述目标边缘计算网络中的边缘节点一一对应,一个第四元素表示该第四元素对应的边缘节点本地存储的数据中该边缘节点当前能够处理的数据量;The obtaining module is used to obtain the current objective function; wherein, the current objective function represents the determined restoration target edge computing network based on the link restoration decision vector, the data discarding decision vector, the flow allocation vector and the node actual calculation amount vector. The minimum value of the total resources required by the damaged link; the independent variable of the current objective function includes a link repair decision vector; the first element in the link repair decision vector corresponds to each damaged link one-to-one , a first element represents the processing method of the damaged link corresponding to the first element, and the processing method is to repair or not to repair; the second element in the data discarding decision vector is the same as the one in the target edge computing network. One-to-one correspondence between edge nodes, a second element indicates the amount of data that the edge node corresponding to the second element currently needs to discard, and the third element in the flow allocation vector corresponds to the link in the target edge computing network one-to-one , a third element represents the total amount of data that can be migrated currently by each edge node in the link corresponding to the third element, and the fourth element in the actual calculation vector of the node is the same as the edge node in the target edge computing network. One correspondence, one fourth element represents the amount of data that the edge node can currently process in the data locally stored by the edge node corresponding to the fourth element;
第一确定模块,用于计算当前的目标函数的最优解,作为当前的目标最优解;The first determination module is used to calculate the optimal solution of the current objective function as the current optimal solution of the objective;
第二确定模块,用于基于当前的目标最优解,计算当前的目标最优解对应的当前的目标函数的函数值,作为第一函数值,以及当前的目标函数的最大值,作为第二函数值;The second determination module is configured to calculate, based on the current target optimal solution, the function value of the current objective function corresponding to the current target optimal solution, as the first function value, and the maximum value of the current objective function as the second function value;
第三确定模块,用于如果所述第一函数值和所述第二函数值满足预设收敛条件,基于当前的目标最优解,确定当前的待修复链路;a third determining module, configured to determine the current link to be repaired based on the current target optimal solution if the first function value and the second function value satisfy a preset convergence condition;
更新模块,用于如果所述第一函数值和所述第二函数值不满足所述预设收敛条件,基于当前的目标最优解,确定当前的数据丢弃决策向量、当前的流分配向量和当前的节点实际计算量向量,以更新当前的目标函数,并返回执行计算当前的目标函数的最优解,作为当前的目标最优解的步骤。The updating module is used to determine the current data discarding decision vector, the current flow allocation vector and The current node actually calculates the vector to update the current objective function, and returns the optimal solution for calculating the current objective function as the step of the current objective optimal solution.
可选的,当前的目标函数为:Optionally, the current objective function is:
表示当前的目标函数,mine,η表示以e和η作为自变量的最小值函数,e表示当前的链路修复决策向量,η表示当前的目标函数的最优割平面,当前的目标函数的最优割平面为基于当前的数据丢弃决策向量、当前的流分配向量和当前的节点实际计算量向量确定出的,E0表示所述目标边缘计算网络中的受损链路构成的集合,cij表示修复链路ij所需的资源,链路ij为由第i个边缘节点和第j个边缘节点组成的链路,eij为当前的链路修复决策向量中与链路ij对应的元素,eij表示链路ij的处理方式。 Represents the current objective function, min e, η represents the minimum value function with e and η as independent variables, e represents the current link repair decision vector, η represents the optimal cut plane of the current objective function, and the The optimal cut plane is determined based on the current data discarding decision vector, the current flow allocation vector and the current node actual calculation vector, E 0 represents the set of damaged links in the target edge computing network, c ij represents the resources required to repair the link ij, the link ij is the link composed of the i-th edge node and the j-th edge node, and e ij is the element corresponding to the link ij in the current link repair decision vector , e ij represents the processing mode of link ij.
可选的,第二确定模块,具体用于计算当前的目标最优解对应的当前的目标函数的函数值,作为第一函数值;Optionally, the second determination module is specifically used to calculate the function value of the current objective function corresponding to the current objective optimal solution, as the first function value;
基于当前的目标最优解和网络最大流问题求解算法,计算当前的目标函数的子函数的最优解;其中,所述子函数为:Based on the current objective optimal solution and the network maximum flow problem solving algorithm, calculate the optimal solution of the sub-function of the current objective function; wherein, the sub-function is:
mind,f,pθ=Σi∈Naidi min d,f,p θ=Σ i∈N a i d i
其中,in,
mind,d,pθ表示所述子函数,mind,d,p表示以d、f和p作为自变量的最小值函数,d表示当前的数据丢弃决策向量,f表示当前的流分配向量,p表示当前的节点实际计算量向量,N表示所述目标边缘计算网络中的边缘节点构成的集合,ai表示第i个边缘节点丢弃每单位大小的数据的代价,di为当前的数据丢弃决策向量中与第i个边缘节点对应的元素,di表示第i个边缘节点当前需要丢弃的数据量,表示链路ij的链路容量,eij为当前的目标最优解中与链路ij对应的元素,eij表示链路ij的处理方式,fij为当前的流分配向量中与链路ij对应的元素,fij表示链路ij中各边缘节点当前能够迁移的总数据量,链路ij为由第i个边缘节点和第j个边缘节点组成的链路,pi为当前的节点实际计算量向量中与第i个边缘节点对应的元素,pi表示第i个边缘节点本地存储的数据中第i个边缘节点当前能够处理的数据量,fih为当前的流分配向量中与链路ih对应的元素,fih表示链路ih中各边缘节点当前能够迁移的总数据量,链路ih为由第i个边缘节点和第h个边缘节点组成的链路,E1表示所述目标边缘计算网络中的未受损链路的构成的集合,ri表示第i个边缘节点本地存储的数据量;min d,d,p θ represents the sub-function, min d,d,p represents the minimum value function with d, f and p as independent variables, d represents the current data discard decision vector, and f represents the current flow allocation vector , p represents the actual calculation amount vector of the current node, N represents the set of edge nodes in the target edge computing network, a i represents the cost of discarding data per unit size by the ith edge node, d i is the current data Discard the element corresponding to the ith edge node in the decision vector, d i represents the current amount of data that the ith edge node needs to discard, Represents the link capacity of the link ij, e ij is the element corresponding to the link ij in the current target optimal solution, e ij represents the processing method of the link ij, f ij is the link ij in the current flow allocation vector Corresponding elements, f ij represents the total amount of data currently migrated by each edge node in link ij, link ij is the link composed of the i-th edge node and the j-th edge node, and p i is the current actual node The element corresponding to the ith edge node in the calculation vector, pi represents the amount of data that the ith edge node can currently process in the data stored locally by the ith edge node, and f ih is the current flow allocation vector and the chain. The element corresponding to the path ih, f ih represents the total amount of data that can be migrated by each edge node in the link ih, and the link ih is the link composed of the i-th edge node and the h-th edge node, and E 1 represents the The set of undamaged links in the target edge computing network, ri represents the amount of data stored locally by the ith edge node;
计算所述子函数的最优解对应的所述子函数的函数值,作为第三函数值;Calculate the function value of the sub-function corresponding to the optimal solution of the sub-function as the third function value;
基于所述第三函数值、当前的目标最优解、上一次确定的当前的目标函数的最大值和第一预设公式,计算当前的目标函数的最大值,作为第二函数值;其中,所述第一预设公式为:Based on the third function value, the current optimal solution of the target, the maximum value of the current target function determined last time, and the first preset formula, the maximum value of the current target function is calculated as the second function value; wherein, The first preset formula is:
表示所述第二函数值,表示上一次计算的当前的目标函数的最大值,cij表示修复链路ij所需的资源,eij为当前的目标最优解中与链路ij对应的元素,eij表示链路ij的处理方式,θ表示所述第三函数值。 represents the second function value, Represents the maximum value of the current objective function calculated last time, c ij represents the resources required to repair the link ij, e ij is the element corresponding to the link ij in the current optimal solution of the target, and e ij represents the value of the link ij Processing mode, θ represents the third function value.
可选的,所述更新模块,具体用于如果所述第一函数值和所述第二函数值不满足所述预设收敛条件,基于当前的目标最优解和所述第三函数值,更新当前的目标函数的最优割平面,以更新当前的目标函数,并返回执行计算当前的目标函数的最优解,作为当前的目标最优解的步骤;其中,更新后的最优割平面为:Optionally, the updating module is specifically configured to, if the first function value and the second function value do not meet the preset convergence condition, based on the current target optimal solution and the third function value, Update the optimal cutting plane of the current objective function to update the current objective function, and return to perform the calculation of the optimal solution of the current objective function as the step of the current optimal cutting plane; wherein, the updated optimal cutting plane for:
η′表示更新后的最优割平面,θ表示所述第三函数值,E0表示所述目标边缘计算网络中的受损链路构成的集合,μij表示链路ij的链路容量对所述子函数的函数值的影响程度,表示链路ij的链路容量,e′ij为下一次需要确定的链路修复决策向量中与链路ij对应的元素,e′ij表示链路ij的处理方式,eij为当前的目标最优解中与链路ij对应的元素,eij表示链路ij的处理方式。η′ represents the updated optimal cut plane, θ represents the third function value, E 0 represents the set of damaged links in the target edge computing network, μ ij represents the link capacity pair of link ij the degree of influence of the function value of the sub-function, Represents the link capacity of link ij, e' ij is the element corresponding to link ij in the link repair decision vector to be determined next time, e' ij represents the processing method of link ij, and e ij is the current target maximum The element corresponding to the link ij in the optimal solution, e ij represents the processing method of the link ij.
可选的,所述预设收敛条件为:Optionally, the preset convergence condition is:
表示所述第二函数值,表示所述第一函数值,ε表示预设阈值。 represents the second function value, represents the first function value, and ε represents a preset threshold.
本发明实施例还提供了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;An embodiment of the present invention further provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
存储器,用于存放计算机程序;memory for storing computer programs;
处理器,用于执行存储器上所存放的程序时,实现上述任一所述的待修复链路的确定方法步骤。The processor is configured to implement any of the above-mentioned steps of the method for determining the link to be repaired when executing the program stored in the memory.
本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述任一所述的待修复链路的确定方法步骤。An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the determination of any of the above-mentioned links to be repaired is implemented method steps.
本发明实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一所述的待修复链路的确定方法。Embodiments of the present invention also provide a computer program product containing instructions, which, when running on a computer, cause the computer to execute any of the above-mentioned methods for determining a link to be repaired.
本发明实施例提供的一种待修复链路的确定方法,获取当前的目标函数;计算当前的目标函数的最优解,作为当前的目标最优解;基于当前的目标最优解,计算当前的目标最优解对应的当前的目标函数的函数值,作为第一函数值,以及当前的目标函数的最大值,作为第二函数值;如果第一函数值和第二函数值满足预设收敛条件,基于当前的目标最优解,确定当前的待修复链路;如果第一函数值和第二函数值不满足预设收敛条件,基于当前的目标最优解,确定当前的数据丢弃决策向量、当前的流分配向量和当前的节点实际计算量向量,以更新当前的目标函数,并返回执行计算当前的目标函数的最优解,作为当前的目标最优解的步骤。In a method for determining a link to be repaired provided by an embodiment of the present invention, the current objective function is obtained; the optimal solution of the current objective function is calculated as the current optimal solution of the objective; based on the current optimal solution of the objective, the current objective function is calculated The function value of the current objective function corresponding to the optimal solution of the objective is taken as the first function value, and the maximum value of the current objective function is taken as the second function value; if the first function value and the second function value satisfy the preset convergence condition, based on the current target optimal solution, determine the current link to be repaired; if the first function value and the second function value do not meet the preset convergence conditions, determine the current data discarding decision vector based on the current target optimal solution , the current flow allocation vector and the current node actual calculation amount vector to update the current objective function, and return the optimal solution for calculating the current objective function as the step of the current objective optimal solution.
基于上述处理,目标函数表示基于链路修复决策向量、数据丢弃决策向量、流分配向量和节点实际计算量向量,确定的修复目标边缘计算网络中的各个受损链路所需的总资源的最小值。由于数据丢弃决策向量、流分配向量和节点实际计算量向量能够表示各边缘节点当前未处理的数据量,因此,目标函数的最优解是基于各边缘节点当前未处理的数据量确定出的,也就是说,当前的待修复链路是基于各边缘节点当前未处理的数据量确定出的,因此,可以避免较多数据无法处理,进而,可以提高目标边缘计算网络处理计算任务的成功率。Based on the above processing, the objective function represents the minimum value of the total resources required to repair each damaged link in the target edge computing network determined based on the link repair decision vector, the data discarding decision vector, the flow allocation vector and the actual computation amount vector of the node. value. Since the data discarding decision vector, flow allocation vector and node actual computation vector can represent the current unprocessed data volume of each edge node, the optimal solution of the objective function is determined based on the current unprocessed data volume of each edge node, That is to say, the current link to be repaired is determined based on the current amount of unprocessed data of each edge node. Therefore, it can avoid that more data cannot be processed, and further, the success rate of the target edge computing network in processing computing tasks can be improved.
当然,实施本发明的任一产品或方法并不一定需要同时达到以上所述的所有优点。Of course, it is not necessary for any product or method of the present invention to achieve all of the advantages described above at the same time.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的实施例。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other embodiments can also be obtained according to these drawings without creative efforts.
图1为本发明实施例提供的一种待修复链路的确定方法的流程图;1 is a flowchart of a method for determining a link to be repaired according to an embodiment of the present invention;
图2为本发明实施例提供的另一种待修复链路的确定方法的流程图;2 is a flowchart of another method for determining a link to be repaired according to an embodiment of the present invention;
图3为本发明实施例提供的另一种待修复链路的确定方法的流程图;3 is a flowchart of another method for determining a link to be repaired according to an embodiment of the present invention;
图4为本发明实施例提供的另一种待修复链路的确定方法的流程图;4 is a flowchart of another method for determining a link to be repaired according to an embodiment of the present invention;
图5为本发明实施例提供的一种待修复链路的确定装置的结构图;5 is a structural diagram of an apparatus for determining a link to be repaired according to an embodiment of the present invention;
图6为本发明实施例提供的一种电子设备的结构图。FIG. 6 is a structural diagram of an electronic device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员基于本申请所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art based on the present application fall within the protection scope of the present invention.
参见图1,图1为本发明实施例提供的一种待修复链路的确定方法的流程图,该方法应用于电子设备,该方法可以包括以下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of a method for determining a link to be repaired according to an embodiment of the present invention. The method is applied to an electronic device, and the method may include the following steps:
S101:获取当前的目标函数。S101: Obtain the current objective function.
其中,当前的目标函数表示基于链路修复决策向量、数据丢弃决策向量、流分配向量和节点实际计算量向量,确定的修复目标边缘计算网络中的各个受损链路所需的总资源的最小值。当前的目标函数的自变量包括链路修复决策向量。链路修复决策向量中的第一元素与各个受损链路一一对应,一个第一元素表示该第一元素对应的受损链路的处理方式,处理方式为修复或者不修复;数据丢弃决策向量中的第二元素与目标边缘计算网络中的边缘节点一一对应,一个第二元素表示该第二元素对应的边缘节点当前需要丢弃的数据量,流分配向量中的第三元素与目标边缘计算网络中的链路一一对应,一个第三元素表示该第三元素对应的链路中各边缘节点能够迁移的总数据量,节点实际计算量向量中的第四元素与目标边缘计算网络中的边缘节点一一对应,一个第四元素表示该第四元素对应的边缘节点本地存储的数据中该边缘节点当前能够处理的数据量。Among them, the current objective function represents the minimum value of the total resources required to repair each damaged link in the target edge computing network determined based on the link repair decision vector, the data discarding decision vector, the flow allocation vector and the node actual computation vector. value. The arguments of the current objective function include the link repair decision vector. The first element in the link repair decision vector corresponds to each damaged link one-to-one, and a first element indicates the processing method of the damaged link corresponding to the first element, and the processing method is repair or not repair; data discarding decision The second element in the vector corresponds to the edge nodes in the target edge computing network one-to-one. A second element represents the current amount of data that needs to be discarded by the edge node corresponding to the second element. The third element in the flow allocation vector corresponds to the target edge. The links in the computing network are in one-to-one correspondence, and a third element represents the total amount of data that can be migrated by each edge node in the link corresponding to the third element. The edge nodes correspond to each other one-to-one, and a fourth element indicates the amount of data that the edge node can currently process in the data locally stored by the edge node corresponding to the fourth element.
S102:计算当前的目标函数的最优解,作为当前的目标最优解。S102: Calculate the optimal solution of the current objective function as the current optimal solution of the objective.
S103:基于当前的目标最优解,计算当前的目标最优解对应的当前的目标函数的函数值,作为第一函数值,以及当前的目标函数的最大值,作为第二函数值。S103: Based on the current target optimal solution, calculate the function value of the current objective function corresponding to the current target optimal solution as the first function value, and the current maximum value of the objective function as the second function value.
S104:如果第一函数值和第二函数值满足预设收敛条件,基于当前的目标最优解,确定当前的待修复链路。S104: If the first function value and the second function value satisfy the preset convergence condition, determine the current link to be repaired based on the current target optimal solution.
S105:如果第一函数值和第二函数值不满足预设收敛条件,基于当前的目标最优解,确定当前的数据丢弃决策向量、当前的流分配向量和当前的节点实际计算量向量,以更新当前的目标函数,并返回执行步骤S102。S105: If the first function value and the second function value do not meet the preset convergence conditions, based on the current target optimal solution, determine the current data discarding decision vector, the current flow allocation vector, and the current node actual calculation vector, to Update the current objective function, and return to step S102.
基于本发明实施例提供的待修复链路的确定方法,目标函数表示基于链路修复决策向量、数据丢弃决策向量、流分配向量和节点实际计算量向量,确定的修复目标边缘计算网络中的各个受损链路所需的总资源的最小值。由于数据丢弃决策向量、流分配向量和节点实际计算量向量能够表示各边缘节点当前未处理的数据量,因此,目标函数的最优解是基于各边缘节点当前未处理的数据量确定出的,也就是说,当前的待修复链路是基于各边缘节点当前未处理的数据量确定出的,因此,可以避免较多数据无法处理,进而,可以提高目标边缘计算网络处理计算任务的成功率。Based on the method for determining a link to be repaired provided by the embodiment of the present invention, the objective function represents the repair target edge computing network determined based on the link repair decision vector, the data discarding decision vector, the flow allocation vector, and the node actual calculation amount vector. The minimum value of the total resources required by the damaged link. Since the data discarding decision vector, flow allocation vector and node actual computation vector can represent the current unprocessed data volume of each edge node, the optimal solution of the objective function is determined based on the current unprocessed data volume of each edge node, That is to say, the current link to be repaired is determined based on the current amount of unprocessed data of each edge node. Therefore, it can avoid that more data cannot be processed, and further, the success rate of the target edge computing network in processing computing tasks can be improved.
电子设备可以与目标边缘计算网络中的各边缘节点相连接,进而,电子设备可以从每一边缘节点获取该边缘节点当前未处理的数据量,该边缘节点当前未处理的数据量也就是该边缘节点本地存储的数据量;或者,电子设备也可以与目标边缘计算网络中的各边缘节点不存在连接关系,用户可以获取每一边缘节点本地存储的数据量,并将获取的各边缘节点各自本地存储的数据量存储于电子设备。The electronic device can be connected to each edge node in the target edge computing network, and further, the electronic device can obtain the current unprocessed data volume of the edge node from each edge node, and the current unprocessed data volume of the edge node is the edge node. The amount of data stored locally by the node; alternatively, the electronic device may not have a connection relationship with each edge node in the target edge computing network, and the user can obtain the amount of data stored locally by each edge node, and each obtained edge node is localized The amount of stored data is stored in the electronic device.
进而,电子设备可以执行本发明实施例提供的待修复链路的确定方法,基于各边缘节点各自本地存储的数据量,确定当前的待修复链路。Furthermore, the electronic device may execute the method for determining a link to be repaired provided by the embodiment of the present invention, and determine the current link to be repaired based on the amount of data stored locally by each edge node.
在步骤S101中,目标边缘计算网络可以为当前存在受损链路的边缘计算网络。In step S101, the target edge computing network may be an edge computing network that currently has a damaged link.
参见图2,图2为本发明实施例提供的一种目标边缘计算网络的结构图。目标边缘计算网络包含多个边缘节点,本实施例以目标边缘计算网络包含6个边缘节点为例进行说明,该6个边缘节点包括:边缘节点1、边缘节点2、边缘节点3、边缘节点4、边缘节点5和边缘节点6。Referring to FIG. 2, FIG. 2 is a structural diagram of a target edge computing network according to an embodiment of the present invention. The target edge computing network includes multiple edge nodes. In this embodiment, the target edge computing network includes 6 edge nodes as an example. The 6 edge nodes include:
图2中,虚线连接的边缘节点组成的链路表示受损链路,实线连接的边缘节点组成的链路表示未受损链路。受损链路包括:由边缘节点1和边缘节点2组成的链路(可以称为链路12)、由边缘节点1和边缘节点3组成的链路(可以称为链路13),以及由边缘节点2和边缘节点3组成的链路(可以称为链路23)。In Fig. 2, the link formed by the edge nodes connected by the dotted line represents the damaged link, and the link formed by the edge nodes connected by the solid line represents the undamaged link. The damaged link includes: the link composed of
基于本发明实施例提供的方法可以从链路12、链路13和链路23中,确定当前的待修复链路。Based on the method provided by the embodiment of the present invention, the current link to be repaired can be determined from the link 12 , the link 13 , and the link 23 .
在确定当前的待修复链路时,如果确定出当前的待修复链路较多,在对当前的待修复链路进行修复后,边缘计算网络的计算能力恢复的较好,相应的,修复当前的待修复链路需要的资源也较多。如果确定出的当前的待修复链路较少,修复当前的待修复链路需要的资源也较少,但边缘计算网络的计算能力仍不高,可能造成较多的数据因边缘节点无法处理而被丢弃,进而,导致边缘计算网络无法完成计算任务。When determining the current links to be repaired, if it is determined that there are many current links to be repaired, after the current links to be repaired are repaired, the computing capability of the edge computing network recovers well, and accordingly, repair the current The link to be repaired requires more resources. If it is determined that there are few links to be repaired at present, the resources required to repair the current links to be repaired are also less, but the computing power of the edge computing network is still not high, which may cause more data due to the inability of the edge nodes to process it. are discarded, which in turn makes the edge computing network unable to complete the computing task.
因此,需要综合考虑修复目标边缘计算网络中的各个受损链路所需的总资源,以及目标边缘计算网络中各边缘节点当前未处理的数据量,目标边缘计算网络中各边缘节点当前未处理的数据量,也就是目标边缘计算网络中各边缘节点本地存储的数据量。修复目标边缘计算网络中的各个受损链路所需的总资源,与目标边缘计算网络中各边缘节点本地存储的数据量的对应关系可以表示为如下公式(1):Therefore, it is necessary to comprehensively consider the total resources required to repair each damaged link in the target edge computing network, as well as the current unprocessed data volume of each edge node in the target edge computing network, and the currently unprocessed data of each edge node in the target edge computing network. The amount of data, that is, the amount of data stored locally by each edge node in the target edge computing network. The corresponding relationship between the total resources required to repair each damaged link in the target edge computing network and the amount of data stored locally by each edge node in the target edge computing network can be expressed as the following formula (1):
其中,in,
表示修复目标边缘计算网络中的各个受损链路所需的总资源,mine,d,f,p表示以e、d、f和p作为自变量的最小值函数,e表示当前的链路修复决策向量,d表示当前的数据丢弃决策向量,f表示当前的流分配向量,p表示当前的节点实际计算量向量,cij表示修复链路ij所需的资源,链路ij为由第i个边缘节点和第j个边缘节点组成的链路,eij为当前的链路修复决策向量中与链路ij对应的元素,eij表示链路ij的处理方式,ai表示第i个边缘节点丢弃每单位大小的数据的代价,di为当前的数据丢弃决策向量中与第i个边缘节点对应的元素,di表示第i个边缘节点丢弃的数据量,pi为当前的节点实际计算量向量中与第i个边缘节点对应的元素,pi表示第i个边缘节点本地存储的数据中第i个边缘节点当前能够处理的数据量,fij为当前的流分配向量中与链路ij对应的元素,fij表示链路ij中各边缘节点当前能够迁移的总数据量,fih为当前的流分配向量中与链路ih对应的元素,fih表示链路ih中各边缘节点当前能够迁移的总数据量,链路ih为由第i个边缘节点和第h个边缘节点组成的链路,E1表示目标边缘计算网络中的未受损链路的构成的集合,ri表示第i个边缘节点本地存储的数据量。 Represents the total resources required to repair each damaged link in the target edge computing network, min e,d,f,p represents the minimum value function with e, d, f and p as independent variables, e represents the current link Repair decision vector, d represents the current data discarding decision vector, f represents the current flow allocation vector, p represents the actual calculation amount vector of the current node, c ij represents the resources required to repair the link ij, and link ij is the A link composed of an edge node and the jth edge node, e ij is the element corresponding to link ij in the current link repair decision vector, e ij represents the processing method of link ij, a i represents the ith edge The cost of discarding data per unit size by a node, d i is the element corresponding to the ith edge node in the current data discarding decision vector, d i represents the amount of data discarded by the ith edge node, and p i is the actual value of the current node The element corresponding to the ith edge node in the calculation vector, pi represents the amount of data that the ith edge node can currently process in the data stored locally by the ith edge node, and f ij is the current flow allocation vector in the and chain. The element corresponding to path ij, f ij represents the total amount of data that each edge node in link ij can currently migrate, f ih is the element corresponding to link ih in the current flow allocation vector, f ih represents each edge in link ih The total amount of data that the node can currently migrate, the link ih is the link composed of the i-th edge node and the h-th edge node, E 1 represents the set of undamaged links in the target edge computing network, r i represents the amount of data stored locally by the i-th edge node.
第i个边缘节点本地存储的数据量,也就是第i个边缘节点当前未处理的数据量。第i个边缘节点本地存储的数据量ri包括:第i个边缘节点已接收到且未处理的数据量,以及修复第i个边缘节点所属的链路的过程中第i个边缘节点接收到的数据量。The amount of data stored locally by the ith edge node, that is, the amount of data currently unprocessed by the ith edge node. The amount of data ri stored locally by the i -th edge node includes: the amount of data that the i-th edge node has received but not processed, and the amount of data received by the i-th edge node during the process of repairing the link to which the i-th edge node belongs. amount of data.
修复链路ij所需的资源cij可以根据链路ij的受损程度(例如,链路ij中的边缘节点的受损程度、连接第i个边缘节点与第j个边缘节点的线路的受损程度等)确定,链路ij的受损程度越大,则修复链路ij所需的资源cij越大。第i个边缘节点丢弃每单位大小的数据的代价ai,可以为第i个边缘节点丢弃每单位大小的数据所造成的经济损失。The resource c ij required to repair the link ij can be determined according to the degree of damage of the link ij (for example, the degree of damage of the edge nodes in the link ij, the damage of the line connecting the ith edge node and the jth edge node. The greater the damage degree of the link ij, the greater the resource c ij required to repair the link ij. The cost a i of discarding data per unit size by the ith edge node can be the economic loss caused by discarding data per unit size for the ith edge node.
第i个边缘节点当前需要丢弃的数据量di为:第i个边缘节点本地存储的数据量ri,减去第i个边缘节点当前能够处理的数据量pi,再减去第i个边缘节点当前能够迁移的数据量(即)得到的差值。The current amount of data d i that needs to be discarded by the i-th edge node is: the data amount ri stored locally by the i -th edge node, minus the data amount p i that the i-th edge node can currently handle, and then subtract the i-th edge node The amount of data that the edge node can currently migrate (i.e. ) to get the difference.
第i个边缘节点本地存储的数据中第i个边缘节点当前能够处理的数据量pi满足如下条件:Among the data stored locally by the i-th edge node, the current amount of data p i that can be processed by the i-th edge node satisfies the following conditions:
表示第i个边缘节点最大能够处理的数据量,可以根据第i个边缘节点的CPU(Central Processing Unit,中央处理器)转速确定,一个边缘节点的CPU转速越大,则该边缘节点最大能够处理的数据量也越大。 Indicates the maximum amount of data that the i-th edge node can process, It can be determined according to the rotational speed of the CPU (Central Processing Unit, central processing unit) of the ith edge node. The greater the CPU rotational speed of an edge node, the greater the maximum amount of data that can be processed by the edge node.
当fij>0时,表示数据从第i个边缘节点迁移至第j个边缘节点,当fij<0时,表示数据从第j个边缘节点迁移至第i个边缘节点。链路ij中各边缘节点当前能够迁移的总数据量fij满足如下条件:When f ij >0, it means that the data migrates from the ith edge node to the j th edge node, and when f ij <0, it means that the data migrates from the j th edge node to the ith edge node. The total amount of data f ij that can be migrated by each edge node in the link ij satisfies the following conditions:
表示链路ij的链路容量,链路ij的链路容量表示在预设时间段内链路ij能够传输的最大数据量。预设时间段可以由技术人员根据经验设置。 represents the link capacity of link ij, and the link capacity of link ij represents the maximum amount of data that can be transmitted by link ij within a preset time period. The preset time period can be set by the technician according to experience.
当链路ij为受损链路时,链路ij中各边缘节点当前能够迁移的总数据量fij满足如下条件:When link ij is a damaged link, the current total data volume f ij that can be migrated by each edge node in link ij satisfies the following conditions:
eij为当前的链路修复决策向量中与链路ij对应的元素,eij表示链路ij的处理方式。e ij is the element corresponding to the link ij in the current link repair decision vector, and e ij represents the processing mode of the link ij.
当eij为第一数值时,表示链路ij的处理方式为修复,当eij为第二数值时,表示链路ij的处理方式为不修复。第一数值和第二数值均可以由技术人员根据经验设置,第一数值与第二数值不同。例如,第一数值为1,第二数值为0,当eij为1时,表示链路ij的处理方式为修复,当eij为0时,表示链路ij的处理方式为不修复。When e ij is the first value, it indicates that the processing mode of link ij is repair, and when e ij is the second value, it indicates that the processing mode of link ij is not repairing. Both the first numerical value and the second numerical value can be set by the skilled person according to experience, and the first numerical value is different from the second numerical value. For example, the first value is 1 and the second value is 0. When e ij is 1, it indicates that the processing mode of link ij is repaired, and when e ij is 0, it indicates that the processing mode of link ij is not repaired.
由于直接计算公式(1)所示的函数的最优解的计算量较大,因此,为了提高计算速度,以提高确定待修复链路的效率,可以基于Benders(复杂变量的规划问题分解)算法,对公式(1)所示的函数进行分解,得到当前的目标函数和当前的目标函数的子函数。后续,可以基于当前的目标函数和当前的目标函数的子函数,确定当前的待修复链路。Since the calculation amount of the optimal solution of the function shown in formula (1) is relatively large, in order to improve the calculation speed and improve the efficiency of determining the link to be repaired, the Benders (Planning Problem Decomposition of Complex Variables) algorithm can be used. , decompose the function shown in formula (1) to obtain the current objective function and the sub-functions of the current objective function. Subsequently, the current link to be repaired may be determined based on the current objective function and the sub-function of the current objective function.
其中,当前的目标函数可以为:Among them, the current objective function can be:
表示当前的目标函数,mine,η表示以e和η作为自变量的最小值函数,e表示当前的链路修复决策向量,η表示当前的目标函数的最优割平面,当前的目标函数的最优割平面为基于当前的数据丢弃决策向量、当前的流分配向量和当前的节点实际计算量向量确定出的,E0表示目标边缘计算网络中的受损链路构成的集合,cij表示修复链路ij所需的资源,链路ij为由第i个边缘节点和第j个边缘节点组成的链路,eij为当前的链路修复决策向量中与链路ij对应的元素,eij表示链路ij的处理方式。 Represents the current objective function, min e, η represents the minimum value function with e and η as independent variables, e represents the current link repair decision vector, η represents the optimal cut plane of the current objective function, and the The optimal cutting plane is determined based on the current data discarding decision vector, the current flow allocation vector and the current node actual computation vector, E 0 represents the set of damaged links in the target edge computing network, and c ij represents Resource required to repair link ij, link ij is the link composed of the i-th edge node and the j-th edge node, e ij is the element corresponding to link ij in the current link repair decision vector, e ij represents the processing method of link ij.
在步骤S102中,电子设备可以获取上一次确定的当前的目标函数的最优解,并基于上一次确定的当前的目标函数的最优解和网络最大流问题求解算法,计算当前的目标函数的子函数的最优解。电子设备计算当前的目标函数的子函数的最优解的具体方式可以参见后续实施例的相关介绍。In step S102, the electronic device may obtain the optimal solution of the current objective function determined last time, and calculate the optimal solution of the current objective function based on the optimal solution of the current objective function determined last time and the network maximum flow problem solving algorithm. the optimal solution of the subfunction. For the specific manner in which the electronic device calculates the optimal solution of the sub-function of the current objective function, reference may be made to the related introduction in the subsequent embodiments.
然后,电子设备可以计算当前的目标函数的子函数的最优解对应的当前的目标函数的子函数的函数值(可以称为第四函数值)。进而,电子设备可以基于上一次确定的当前的目标函数的最优解和第四函数值,计算当前的目标函数的最优割平面,并基于当前的目标函数的最优割平面和预设算法,计算当前的目标函数的最优解,作为当前的目标最优解。Then, the electronic device may calculate the function value (which may be referred to as the fourth function value) of the current sub-function of the objective function corresponding to the optimal solution of the current sub-function of the objective function. Further, the electronic device can calculate the optimal cut plane of the current objective function based on the optimal solution and the fourth function value of the current objective function determined last time, and based on the optimal cut plane of the current objective function and the preset algorithm , calculate the optimal solution of the current objective function as the optimal solution of the current objective.
其中,预设算法可以为蚁群算法,或者模拟退火算法,或者遗传算法,但并不限于此。The preset algorithm may be an ant colony algorithm, a simulated annealing algorithm, or a genetic algorithm, but is not limited thereto.
可以理解的是,在第1次计算当前的目标函数的最优解时,电子设备可以随机选取一个链路修复决策向量,作为上一次确定的当前的目标函数的最优解。It can be understood that, when calculating the optimal solution of the current objective function for the first time, the electronic device may randomly select a link repair decision vector as the optimal solution of the current objective function determined last time.
在本发明的一个实施例中,参见图3,步骤S103可以包括以下步骤:In an embodiment of the present invention, referring to FIG. 3 , step S103 may include the following steps:
S1031:计算当前的目标最优解对应的当前的目标函数的函数值,作为第一函数值。S1031: Calculate the function value of the current objective function corresponding to the current objective optimal solution as the first function value.
S1032:基于当前的目标最优解和网络最大流问题求解算法,计算当前的目标函数的子函数的最优解。S1032: Calculate the optimal solution of the sub-function of the current objective function based on the current objective optimal solution and the network maximum flow problem solving algorithm.
其中,子函数为:Among them, the sub-function is:
mind,f,pθ=∑i∈Naidi (7)min d,f,p θ=∑ i∈N a i d i (7)
其中,in,
mind,d,p表示子函数,mind,d,p表示以d、f和p作为自变量的最小值函数,d表示当前的数据丢弃决策向量,f表示当前的流分配向量,p表示当前的节点实际计算量向量,N表示目标边缘计算网络中的边缘节点构成的集合,ai表示第i个边缘节点丢弃每单位大小的数据的代价,di为当前的数据丢弃决策向量中与第i个边缘节点对应的元素,di表示第i个边缘节点当前需要丢弃的数据量,表示链路ij的链路容量,eij为当前的目标最优解中与链路ij对应的元素,eij表示链路ij的处理方式,fij为当前的流分配向量中与链路ij对应的元素,fij表示链路ij中各边缘节点当前能够迁移的总数据量,链路ij为由第i个边缘节点和第j个边缘节点组成的链路,pi为当前的节点实际计算量向量中与第i个边缘节点对应的元素,pi表示第i个边缘节点本地存储的数据中第i个边缘节点当前能够处理的数据量,fih为当前的流分配向量中与链路ih对应的元素,fih表示链路ih中各边缘节点当前能够迁移的总数据量,链路ih为由第i个边缘节点和第h个边缘节点组成的链路,E1表示目标边缘计算网络中的未受损链路的构成的集合,ri表示第i个边缘节点本地存储的数据量。min d,d,p represents the sub-function, min d,d,p represents the minimum value function with d, f and p as independent variables, d represents the current data discarding decision vector, f represents the current flow allocation vector, p represents The actual computation amount vector of the current node, N represents the set of edge nodes in the target edge computing network, a i represents the cost of discarding data per unit size by the ith edge node, and d i is the difference between the current data discarding decision vector and the The element corresponding to the ith edge node, d i represents the amount of data that the ith edge node currently needs to discard, Represents the link capacity of the link ij, e ij is the element corresponding to the link ij in the current target optimal solution, e ij represents the processing method of the link ij, f ij is the link ij in the current flow allocation vector Corresponding elements, f ij represents the total amount of data currently migrated by each edge node in link ij, link ij is the link composed of the i-th edge node and the j-th edge node, and p i is the current actual node The element corresponding to the ith edge node in the calculation vector, pi represents the amount of data that the ith edge node can currently process in the data stored locally by the ith edge node, and f ih is the current flow allocation vector and the chain. The element corresponding to the path ih, f ih represents the total amount of data that can be migrated by each edge node in the link ih, the link ih is the link composed of the i-th edge node and the h-th edge node, E 1 represents the target edge Compute the set of undamaged links in the network, where ri represents the amount of data stored locally by the ith edge node.
S1033:计算子函数的最优解对应的子函数的函数值,作为第三函数值。S1033: Calculate the function value of the sub-function corresponding to the optimal solution of the sub-function as the third function value.
S1034:基于第三函数值、当前的目标最优解、上一次确定的当前的目标函数的最大值和第一预设公式,计算当前的目标函数的最大值,作为第二函数值。S1034: Calculate the current maximum value of the objective function as the second function value based on the third function value, the current target optimal solution, the current maximum value of the target function determined last time, and the first preset formula.
其中,第一预设公式为:Among them, the first preset formula is:
表示第二函数值,表示上一次计算的当前的目标函数的最大值,cij表示修复链路ij所需的资源,eij为当前的目标最优解中与链路ij对应的元素,eij表示链路ij的处理方式,θ表示第三函数值。当前的目标最优解也就是本次确定出的链路修复决策向量(即当前的链路修复决策向量)。 represents the second function value, Represents the maximum value of the current objective function calculated last time, c ij represents the resources required to repair the link ij, e ij is the element corresponding to the link ij in the current optimal solution of the target, and e ij represents the value of the link ij Processing mode, θ represents the third function value. The current target optimal solution is the link repair decision vector determined this time (ie, the current link repair decision vector).
一种实现方式中,由于在计算当前的目标函数的最优解(即当前的目标最优解)时,已经计算得到当前的目标函数的最优割平面,进而,在计算得到当前的目标最优解之后,可以基于当前的目标最优解和上述公式(6),计算得到当前的目标最优解对应的当前的目标函数的函数值,作为第一函数值。In an implementation manner, since the optimal cutting plane of the current objective function has been calculated when the optimal solution of the current objective function (that is, the current optimal solution of the objective) is calculated, and further, the optimal cutting plane of the current objective function is obtained by calculation. After the optimal solution is obtained, the function value of the current objective function corresponding to the current objective optimal solution can be calculated based on the current target optimal solution and the above formula (6), as the first function value.
电子设备还可以基于当前的目标最优解和网络最大流问题求解算法,计算当前的目标函数的子函数的最优解,当前的目标函数的子函数的最优解包括计算出的当前的数据丢弃决策向量、当前的流分配向量和当前的节点实际计算量向量的值。其中,网络最大流问题求解算法可以为Dinic算法,或者也可以EdmondsKarp算法,或者也可以为Ford-Fulkerson(贪婪算法),但并不限于此。The electronic device can also calculate the optimal solution of the sub-function of the current objective function based on the current optimal solution of the objective and the algorithm for solving the network maximum flow problem, and the optimal solution of the sub-function of the current objective function includes the calculated current data. The values of the decision vector, the current flow allocation vector, and the current node actual computation vector are discarded. The algorithm for solving the network maximum flow problem may be the Dinic algorithm, or the EdmondsKarp algorithm, or the Ford-Fulkerson (greedy algorithm), but it is not limited thereto.
在计算得到当前的目标函数的子函数的最优解之后,电子设备可以基于当前的目标函数的子函数的最优解,以及上述公式(7)、公式(8)和公式(9),计算当前的目标函数的子函数的函数值,作为第三函数值。进而,电子设备可以基于第三函数值、当前的目标最优解、上一次计算的当前的目标函数的最大值和上述公式(9),计算当前的目标函数的最大值,作为第二函数值。After the optimal solution of the sub-function of the current objective function is obtained by calculation, the electronic device can calculate The function value of the sub-function of the current objective function is used as the third function value. Further, the electronic device can calculate the maximum value of the current target function based on the third function value, the current target optimal solution, the maximum value of the current target function calculated last time and the above-mentioned formula (9), as the second function value .
当第1次计算当前的目标函数的最大值时,上一次计算的当前的目标函数的最大值可以为:+∞。When the maximum value of the current objective function is calculated for the first time, the maximum value of the current objective function calculated last time Can be: +∞.
在步骤S104中,如果第一函数值和第二函数值满足预设收敛条件,表明当前的目标函数已经收敛,修复当前的目标最优解对应的待修复链路,所需的修复资源较少。因此,电子设备可以基于当前的目标最优解,确定当前的待修复链路。In step S104, if the first function value and the second function value satisfy the preset convergence condition, it indicates that the current objective function has converged, and the link to be repaired corresponding to the current objective optimal solution is repaired, and fewer repair resources are required . Therefore, the electronic device can determine the current link to be repaired based on the current target optimal solution.
一种实现方式中,电子设备可以从当前的目标最优解中,确定为第一数值的第一元素,该第一元素对应的受损链路的处理方式为修复,电子设备可以将处理方式为修复的受损链路确定为当前的待修复链路。进而,可以对当前的待修复链路进行修复,以使得待修复链路可以处理计算任务。In an implementation manner, the electronic device can determine the first element of the first value from the current optimal solution of the target, and the processing method of the damaged link corresponding to the first element is repair, and the electronic device can use the processing method. The damaged link to be repaired is determined as the current link to be repaired. Furthermore, the current link to be repaired can be repaired, so that the link to be repaired can process computing tasks.
在本发明的一个实施例中,预设收敛条件可以为:In an embodiment of the present invention, the preset convergence condition may be:
表示第二函数值,表示第一函数值,ε表示预设阈值。其中,预设阈值可以由技术人员根据经验设置,例如,预设阈值可以为0.02,或者也可以为0.01,但并不限于此。满足预设收敛条件表示在修复资源较少时,可以修复较多的受损链路。 represents the second function value, represents the first function value, and ε represents the preset threshold. Wherein, the preset threshold may be set by technical personnel according to experience, for example, the preset threshold may be 0.02, or may also be 0.01, but is not limited thereto. Satisfying the preset convergence condition means that more damaged links can be repaired when there are fewer repair resources.
在步骤S105中,如果第一函数值和第二函数值不满足预设收敛条件,表明当前的目标函数未收敛,则电子设备可以更新当前的目标函数,将更新后的目标函数作为当前的目标函数,并再次计算当前的目标函数的最优解,以此类推,直至确定出的当前的目标最优解对应的第一函数值和第二函数值满足预设收敛条件,电子设备可以基于当前的目标最优解,确定当前的待修复链路。In step S105, if the first function value and the second function value do not satisfy the preset convergence condition, indicating that the current objective function has not converged, the electronic device can update the current objective function, and use the updated objective function as the current objective function, and calculate the optimal solution of the current objective function again, and so on, until the determined first function value and second function value corresponding to the current objective optimal solution meet the preset convergence conditions, the electronic device can be based on the current The target optimal solution to determine the current link to be repaired.
在本发明的一个实施例中,参见图4,步骤S105可以包括以下步骤:In an embodiment of the present invention, referring to FIG. 4 , step S105 may include the following steps:
S1051:如果第一函数值和第二函数值不满足预设收敛条件,基于当前的目标最优解和第三函数值,更新当前的目标函数的最优割平面,以更新当前的目标函数,并返回执行步骤S102。S1051: If the first function value and the second function value do not meet the preset convergence conditions, based on the current target optimal solution and the third function value, update the optimal cut plane of the current objective function to update the current objective function, And return to step S102.
其中,更新后的最优割平面为:Among them, the updated optimal cutting plane is:
η′表示更新后的最优割平面,θ表示第三函数值,E0表示目标边缘计算网络中的受损链路构成的集合,μij表示链路ij的链路容量对子函数的函数值的影响程度,表示链路ij的链路容量,e′ij为下一次需要确定的链路修复决策向量中与链路ij对应的元素,e′ij表示链路ij的处理方式,eij为当前的目标最优解中与链路ij对应的元素,eij表示链路ij的处理方式。η′ represents the updated optimal cutting plane, θ represents the third function value, E 0 represents the set of damaged links in the target edge computing network, μ ij represents the link capacity of link ij to the sub-function the degree of influence of the value, Represents the link capacity of link ij, e' ij is the element corresponding to link ij in the link repair decision vector to be determined next time, e' ij represents the processing method of link ij, and e ij is the current target maximum The element corresponding to the link ij in the optimal solution, e ij represents the processing method of the link ij.
其中,in,
表示上一次计算时链路ij的链路容量,θ″表示基于计算的当前的目标函数的子函数的函数值。 Indicates the link capacity of the link ij at the last calculation, θ″ represents the Calculates the function value of the subfunction of the current objective function.
一种实现方式中,如果第一函数值和第二函数值不满足预设收敛条件,电子设备可以获取当前的目标函数的子函数的最优解。当前的目标函数的子函数的最优解包括:当前的数据丢弃决策向量、当前的流分配向量和当前的节点实际计算量向量。然后,电子设备可以计算当前的目标函数的子函数的最优解对应的当前的目标函数的子函数的函数值(即第三函数值)。In an implementation manner, if the first function value and the second function value do not satisfy the preset convergence condition, the electronic device may obtain the optimal solution of the sub-function of the current objective function. The optimal solution of the sub-function of the current objective function includes: the current data discarding decision vector, the current flow allocation vector and the current node actual calculation amount vector. Then, the electronic device may calculate the function value (ie, the third function value) of the sub-function of the current objective function corresponding to the optimal solution of the sub-function of the current objective function.
进而,电子设备可以基于当前的目标最优解、第三函数值和上述公式(11),计算得到更新后的最优割平面,进而,可将包含更新后的最优割平面的目标函数,作为当前的目标函数,并再次计算当前的目标函数的最优解,以此类推,直至确定出的当前的目标最优解对应的第一函数值和第二函数值满足预设收敛条件,电子设备可以基于当前的目标最优解,确定当前的待修复链路。Further, the electronic device can calculate and obtain the updated optimal cut plane based on the current target optimal solution, the third function value and the above formula (11), and further, the objective function including the updated optimal cut plane can be calculated as As the current objective function, and calculate the optimal solution of the current objective function again, and so on, until the determined first function value and second function value corresponding to the current objective optimal solution meet the preset convergence conditions, the electronic The device may determine the current link to be repaired based on the current target optimal solution.
为了使本领域的技术人员更好的理解本发明实施例的技术方案,对本发明实施例的技术方案进行示例性介绍。In order to make those skilled in the art better understand the technical solutions of the embodiments of the present invention, the technical solutions of the embodiments of the present invention are exemplarily introduced.
在基于Benders算法,对公式(1)所示的函数进行分解,得到当前的目标函数和当前的目标函数的子函数之后,可以随机选取一个链路修复决策向量e1,作为当前的目标函数的最优解(即当前的目标最优解),并基于当前的目标最优解e1和上述公式(7)、公式(8)和公式(9),计算得到当前的目标函数的子函数的最优解d1、f1和p1。After decomposing the function shown in formula (1) based on the Benders algorithm to obtain the current objective function and the sub-functions of the current objective function, a link repair decision vector e1 can be randomly selected as the maximum value of the current objective function. The optimal solution (that is, the current target optimal solution), and based on the current target optimal solution e1 and the above formula (7), formula (8) and formula (9), calculate the optimal sub-function of the current objective function Solve for d1, f1, and p1.
然后,可以基于当前的目标函数的子函数的最优解d1、f1、p1和上述公式(7),计算得到对应的当前的目标函数的子函数的函数值θ1,并基于当前的目标函数的子函数的函数值θ1和上述公式(11),确定当前的目标函数的最优割平面η1。进而,电子设备可以基于当前的目标最优解e1、当前的目标函数的最优割平面η1和上述公式(6)计算得到当前的目标函数的函数值(即第一函数值),并基于当前的目标最优解e1、当前的目标函数的子函数的函数值θ1和上述公式(9),计算得到当前的目标函数的最大值(即第二函数值)。Then, based on the optimal solutions d1, f1, p1 of the sub-functions of the current objective function and the above formula (7), the function value θ1 of the corresponding sub-functions of the current objective function can be calculated, and based on the current objective function The function value θ1 of the sub-function and the above formula (11) determine the optimal cutting plane η1 of the current objective function. Further, the electronic device can calculate the function value of the current objective function based on the current target optimal solution e1, the optimal cut plane η1 of the current objective function and the above formula (6). (that is, the first function value), and based on the current target optimal solution e1, the function value θ1 of the sub-function of the current objective function, and the above formula (9), the maximum value of the current objective function is calculated. (ie the second function value).
进而,电子设备可以判断第一函数值和第二函数值是否满足预设收敛条件,当第一函数值和第二函数值满足预设收敛条件时,可以确定当前的目标最优解e1中为第一数值的第一元素,并确定该第一元素对应的受损链路为当前的待修复链路。Further, the electronic device can determine the first function value and the second function value Whether the preset convergence conditions are met, when the first function value and the second function value When the preset convergence condition is satisfied, it may be determined that the current target optimal solution e1 is the first element of the first value, and the damaged link corresponding to the first element is determined to be the current link to be repaired.
当第一函数值和第二函数值不满足预设收敛条件时,可以基于当前的目标函数的最优割平面η1和上述公式(6),计算当前的目标函数的最优解e2,作为当前的目标最优解,并基于当前的目标最优解e2和上述公式(7)、公式(8)和公式(9),计算得到当前的目标函数的子函数的最优解d2、f2和p2。When the first function value and the second function value When the preset convergence conditions are not met, the optimal cutting plane η1 of the current objective function and the above formula (6) can be used to calculate the optimal solution e2 of the current objective function as the current optimal solution of the objective. The objective optimal solution e2 and the above formula (7), formula (8) and formula (9) are calculated to obtain the optimal solutions d2, f2 and p2 of the sub-functions of the current objective function.
然后,可以基于当前的目标函数的子函数的最优解d2、f2和p2和上述公式(7),计算得到对应的当前的目标函数的子函数的函数值θ2,并基于当前的目标函数的子函数的函数值θ2和上述公式(11),确定当前的目标函数的最优割平面η2。进而,电子设备可以基于当前的目标最优解e2、当前的目标函数的最优割平面η2和上述公式(6),计算得到当前的目标函数的函数值(即第一函数值),并基于当前的目标最优解e2、当前的目标函数的子函数的函数值θ2和上述公式(9),计算得到当前的目标函数的最大值(即第二函数值)。Then, based on the optimal solutions d2, f2 and p2 of the sub-function of the current objective function and the above formula (7), the function value θ2 of the corresponding sub-function of the current objective function can be calculated, and based on the current objective function The function value θ2 of the sub-function and the above formula (11) determine the optimal cutting plane η2 of the current objective function. Further, the electronic device can calculate the function value of the current objective function based on the current target optimal solution e2, the optimal cut plane η2 of the current objective function and the above formula (6). (that is, the first function value), and based on the current objective optimal solution e2, the function value θ2 of the sub-function of the current objective function, and the above formula (9), the maximum value of the current objective function is calculated. (ie the second function value).
电子设备可以继续判断第一函数和第二函数值是否满足预设收敛条件,以此类推,直至确定出的和满足预设收敛条件,进而,可以确定与和对应的当前的目标最优解en中为第一数值的第一元素,并确定该第一元素对应的受损链路为当前的待修复链路。The electronic device can continue to judge the first function and the second function value Whether the preset convergence conditions are met, and so on, until the determined and Satisfy the preset convergence conditions, and then, it can be determined that the and The corresponding current target optimal solution en is the first element of the first value, and it is determined that the damaged link corresponding to the first element is the current link to be repaired.
与图1的方法实施例相对应,参见图5,图5为本发明实施例提供的一种待修复链路的确定装置的结构图,所述装置包括:Corresponding to the method embodiment in FIG. 1 , see FIG. 5 , which is a structural diagram of an apparatus for determining a link to be repaired according to an embodiment of the present invention, where the apparatus includes:
获取模块501,用于获取当前的目标函数;其中,当前的目标函数表示基于链路修复决策向量、数据丢弃决策向量、流分配向量和节点实际计算量向量,确定的修复目标边缘计算网络中的各个受损链路所需的总资源的最小值;当前的目标函数的自变量包括链路修复决策向量;所述链路修复决策向量中的第一元素与所述各个受损链路一一对应,一个第一元素表示该第一元素对应的受损链路的处理方式,所述处理方式为修复或者不修复;所述数据丢弃决策向量中的第二元素与所述目标边缘计算网络中的边缘节点一一对应,一个第二元素表示该第二元素对应的边缘节点当前需要丢弃的数据量,所述流分配向量中的第三元素与所述目标边缘计算网络中的链路一一对应,一个第三元素表示该第三元素对应的链路中各边缘节点当前能够迁移的总数据量,所述节点实际计算量向量中的第四元素与所述目标边缘计算网络中的边缘节点一一对应,一个第四元素表示该第四元素对应的边缘节点本地存储的数据中该边缘节点当前能够处理的数据量;The obtaining
第一确定模块502,用于计算当前的目标函数的最优解,作为当前的目标最优解;The
第二确定模块503,用于基于当前的目标最优解,计算当前的目标最优解对应的当前的目标函数的函数值,作为第一函数值,以及当前的目标函数的最大值,作为第二函数值;The
第三确定模块504,用于如果所述第一函数值和所述第二函数值满足预设收敛条件,基于当前的目标最优解,确定当前的待修复链路;A
更新模块505,用于如果所述第一函数值和所述第二函数值不满足所述预设收敛条件,基于当前的目标最优解,确定当前的数据丢弃决策向量、当前的流分配向量和当前的节点实际计算量向量,以更新当前的目标函数,并返回执行计算当前的目标函数的最优解,作为当前的目标最优解的步骤。The updating
可选的,当前的目标函数为:Optionally, the current objective function is:
表示当前的目标函数,mine,η表示以e和η作为自变量的最小值函数,e表示当前的链路修复决策向量,η表示当前的目标函数的最优割平面,当前的目标函数的最优割平面为基于当前的数据丢弃决策向量、当前的流分配向量和当前的节点实际计算量向量确定出的,E0表示所述目标边缘计算网络中的受损链路构成的集合,cij表示修复链路ij所需的资源,链路ij为由第i个边缘节点和第j个边缘节点组成的链路,eij为当前的链路修复决策向量中与链路ij对应的元素,eij表示链路ij的处理方式。 Represents the current objective function, min e, η represents the minimum value function with e and η as independent variables, e represents the current link repair decision vector, η represents the optimal cut plane of the current objective function, and the The optimal cut plane is determined based on the current data discarding decision vector, the current flow allocation vector and the current node actual calculation vector, E 0 represents the set of damaged links in the target edge computing network, c ij represents the resources required to repair the link ij, the link ij is the link composed of the i-th edge node and the j-th edge node, and e ij is the element corresponding to the link ij in the current link repair decision vector , e ij represents the processing mode of link ij.
可选的,第二确定模块503,具体用于计算当前的目标最优解对应的当前的目标函数的函数值,作为第一函数值;Optionally, the
基于当前的目标最优解和网络最大流问题求解算法,计算当前的目标函数的子函数的最优解;其中,所述子函数为:Based on the current objective optimal solution and the network maximum flow problem solving algorithm, calculate the optimal solution of the sub-function of the current objective function; wherein, the sub-function is:
mind,f,pθ=Σi∈Naidi min d,f,p θ=Σ i∈N a i d i
其中,in,
mind,d,pθ表示所述子函数,mind,d,p表示以d、f和p作为自变量的最小值函数,d表示当前的数据丢弃决策向量,f表示当前的流分配向量,p表示当前的节点实际计算量向量,N表示所述目标边缘计算网络中的边缘节点构成的集合,ai表示第i个边缘节点丢弃每单位大小的数据的代价,di为当前的数据丢弃决策向量中与第i个边缘节点对应的元素,di表示第i个边缘节点当前需要丢弃的数据量,表示链路ij的链路容量,eij为当前的目标最优解中与链路ij对应的元素,eij表示链路ij的处理方式,fij为当前的流分配向量中与链路ij对应的元素,fij表示链路ij中各边缘节点当前能够迁移的总数据量,链路ij为由第i个边缘节点和第j个边缘节点组成的链路,pi为当前的节点实际计算量向量中与第i个边缘节点对应的元素,pi表示第i个边缘节点本地存储的数据中第i个边缘节点当前能够处理的数据量,fih为当前的流分配向量中与链路ih对应的元素,fih表示链路ih中各边缘节点当前能够迁移的总数据量,链路ih为由第i个边缘节点和第h个边缘节点组成的链路,E1表示所述目标边缘计算网络中的未受损链路的构成的集合,ri表示第i个边缘节点本地存储的数据量;min d,d,p θ represents the sub-function, min d,d,p represents the minimum value function with d, f and p as independent variables, d represents the current data discard decision vector, and f represents the current flow allocation vector , p represents the actual calculation amount vector of the current node, N represents the set of edge nodes in the target edge computing network, a i represents the cost of discarding data per unit size by the ith edge node, d i is the current data Discard the element corresponding to the ith edge node in the decision vector, d i represents the current amount of data that the ith edge node needs to discard, Represents the link capacity of the link ij, e ij is the element corresponding to the link ij in the current target optimal solution, e ij represents the processing method of the link ij, f ij is the link ij in the current flow allocation vector Corresponding elements, f ij represents the total amount of data currently migrated by each edge node in link ij, link ij is the link composed of the i-th edge node and the j-th edge node, and p i is the current actual node The element corresponding to the ith edge node in the calculation vector, pi represents the amount of data that the ith edge node can currently process in the data stored locally by the ith edge node, and f ih is the current flow allocation vector and the chain. The element corresponding to the path ih, f ih represents the total amount of data that can be migrated by each edge node in the link ih, and the link ih is the link composed of the i-th edge node and the h-th edge node, and E 1 represents the The set of undamaged links in the target edge computing network, ri represents the amount of data stored locally by the ith edge node;
计算所述子函数的最优解对应的所述子函数的函数值,作为第三函数值;Calculate the function value of the sub-function corresponding to the optimal solution of the sub-function as the third function value;
基于所述第三函数值、当前的目标最优解、上一次确定的当前的目标函数的最大值和第一预设公式,计算当前的目标函数的最大值,作为第二函数值;其中,所述第一预设公式为:Based on the third function value, the current optimal solution of the target, the maximum value of the current target function determined last time, and the first preset formula, the maximum value of the current target function is calculated as the second function value; wherein, The first preset formula is:
表示所述第二函数值,表示上一次计算的当前的目标函数的最大值,cij表示修复链路ij所需的资源,eij为当前的目标最优解中与链路ij对应的元素,eij表示链路ij的处理方式,θ表示所述第三函数值。 represents the second function value, Represents the maximum value of the current objective function calculated last time, c ij represents the resources required to repair the link ij, e ij is the element corresponding to the link ij in the current optimal solution of the target, and e ij represents the value of the link ij Processing mode, θ represents the third function value.
可选的,所述更新模块505,具体用于如果所述第一函数值和所述第二函数值不满足所述预设收敛条件,基于当前的目标最优解和所述第三函数值,更新当前的目标函数的最优割平面,以更新当前的目标函数,并返回执行计算当前的目标函数的最优解,作为当前的目标最优解的步骤;其中,更新后的最优割平面为:Optionally, the updating
η′表示更新后的最优割平面,θ表示所述第三函数值,E0表示所述目标边缘计算网络中的受损链路构成的集合,μij表示链路ij的链路容量对所述子函数的函数值的影响程度,表示链路ij的链路容量,e′ij为下一次需要确定的链路修复决策向量中与链路ij对应的元素,e′ij表示链路ij的处理方式,eij为当前的目标最优解中与链路ij对应的元素,eij表示链路ij的处理方式。η′ represents the updated optimal cut plane, θ represents the third function value, E 0 represents the set of damaged links in the target edge computing network, μ ij represents the link capacity pair of link ij the degree of influence of the function value of the sub-function, Represents the link capacity of link ij, e' ij is the element corresponding to link ij in the link repair decision vector to be determined next time, e' ij represents the processing method of link ij, and e ij is the current target maximum The element corresponding to the link ij in the optimal solution, e ij represents the processing method of the link ij.
可选的,所述预设收敛条件为:Optionally, the preset convergence condition is:
表示所述第二函数值,表示所述第一函数值,ε表示预设阈值。 represents the second function value, represents the first function value, and ε represents a preset threshold.
基于本发明实施例提供的待修复链路的确定装置,目标函数表示基于链路修复决策向量、数据丢弃决策向量、流分配向量和节点实际计算量向量,确定的修复目标边缘计算网络中的各个受损链路所需的总资源的最小值。由于数据丢弃决策向量、流分配向量和节点实际计算量向量能够表示各边缘节点当前未处理的数据量,因此,目标函数的最优解是基于各边缘节点当前未处理的数据量确定出的,也就是说,当前的待修复链路是基于各边缘节点当前未处理的数据量确定出的,因此,可以避免较多数据无法处理,进而,可以提高目标边缘计算网络处理计算任务的成功率。Based on the device for determining a link to be repaired provided by the embodiment of the present invention, the objective function represents the determination of the repair target edge computing network based on the link repair decision vector, the data discard decision vector, the flow allocation vector and the node actual calculation amount vector. The minimum value of the total resources required by the damaged link. Since the data discarding decision vector, flow allocation vector and node actual computation vector can represent the current unprocessed data volume of each edge node, the optimal solution of the objective function is determined based on the current unprocessed data volume of each edge node, That is to say, the current link to be repaired is determined based on the current amount of unprocessed data of each edge node. Therefore, it can avoid that more data cannot be processed, and further, the success rate of the target edge computing network in processing computing tasks can be improved.
本发明实施例还提供了一种电子设备,如图6所示,包括处理器601、通信接口602、存储器603和通信总线604,其中,处理器601,通信接口602,存储器603通过通信总线604完成相互间的通信;An embodiment of the present invention further provides an electronic device, as shown in FIG. 6 , including a
存储器603,用于存放计算机程序;a
处理器601,用于执行存储器603上所存放的程序时,实现如下步骤:When the
获取当前的目标函数;其中,当前的目标函数表示基于链路修复决策向量、数据丢弃决策向量、流分配向量和节点实际计算量向量,确定的修复目标边缘计算网络中的各个受损链路所需的总资源的最小值;当前的目标函数的自变量包括链路修复决策向量;所述链路修复决策向量中的第一元素与所述各个受损链路一一对应,一个第一元素表示该第一元素对应的受损链路的处理方式,所述处理方式为修复或者不修复;所述数据丢弃决策向量中的第二元素与所述目标边缘计算网络中的边缘节点一一对应,一个第二元素表示该第二元素对应的边缘节点当前需要丢弃的数据量,所述流分配向量中的第三元素与所述目标边缘计算网络中的链路一一对应,一个第三元素表示该第三元素对应的链路中各边缘节点当前能够迁移的总数据量,所述节点实际计算量向量中的第四元素与所述目标边缘计算网络中的边缘节点一一对应,一个第四元素表示该第四元素对应的边缘节点本地存储的数据中该边缘节点当前能够处理的数据量;Obtain the current objective function; wherein, the current objective function represents the determination of repairing each damaged link in the target edge computing network based on the link repair decision vector, the data discarding decision vector, the flow allocation vector and the node actual computation vector. The minimum value of the total resources required; the independent variable of the current objective function includes a link repair decision vector; the first element in the link repair decision vector corresponds to each damaged link one-to-one, and a first element Indicates the processing method of the damaged link corresponding to the first element, and the processing method is to repair or not to repair; the second element in the data discarding decision vector corresponds to the edge nodes in the target edge computing network one-to-one , a second element represents the current amount of data that needs to be discarded by the edge node corresponding to the second element, the third element in the flow allocation vector corresponds to the links in the target edge computing network one-to-one, and a third element Indicates the total amount of data that each edge node in the link corresponding to the third element can currently migrate. The four elements represent the amount of data that the edge node can currently process in the data locally stored by the edge node corresponding to the fourth element;
计算当前的目标函数的最优解,作为当前的目标最优解;Calculate the optimal solution of the current objective function as the optimal solution of the current objective;
基于当前的目标最优解,计算当前的目标最优解对应的当前的目标函数的函数值,作为第一函数值,以及当前的目标函数的最大值,作为第二函数值;Based on the current target optimal solution, calculate the function value of the current objective function corresponding to the current target optimal solution as the first function value, and the maximum value of the current objective function as the second function value;
如果所述第一函数值和所述第二函数值满足预设收敛条件,基于当前的目标最优解,确定当前的待修复链路;If the first function value and the second function value satisfy a preset convergence condition, determine the current link to be repaired based on the current target optimal solution;
如果所述第一函数值和所述第二函数值不满足所述预设收敛条件,基于当前的目标最优解,确定当前的数据丢弃决策向量、当前的流分配向量和当前的节点实际计算量向量,以更新当前的目标函数,并返回执行计算当前的目标函数的最优解,作为当前的目标最优解的步骤。If the first function value and the second function value do not satisfy the preset convergence condition, determine the current data discarding decision vector, the current flow allocation vector and the current node actual calculation based on the current target optimal solution Quantity vector to update the current objective function, and return to perform the calculation of the optimal solution of the current objective function as the step of the current optimal solution of the objective.
上述电子设备提到的通信总线可以是外设部件互连标准(Peripheral ComponentInterconnect,PCI)总线或扩展工业标准结构(Extended Industry StandardArchitecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus mentioned in the above electronic device may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus or the like. The communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
通信接口用于上述电子设备与其他设备之间的通信。The communication interface is used for communication between the above electronic device and other devices.
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital SignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
基于本发明实施例提供的电子设备,目标函数表示基于链路修复决策向量、数据丢弃决策向量、流分配向量和节点实际计算量向量,确定的修复目标边缘计算网络中的各个受损链路所需的总资源的最小值。由于数据丢弃决策向量、流分配向量和节点实际计算量向量能够表示各边缘节点当前未处理的数据量,因此,目标函数的最优解是基于各边缘节点当前未处理的数据量确定出的,也就是说,当前的待修复链路是基于各边缘节点当前未处理的数据量确定出的,因此,可以避免较多数据无法处理,进而,可以提高目标边缘计算网络处理计算任务的成功率。Based on the electronic device provided by the embodiment of the present invention, the objective function represents the fixed value of each damaged link in the repair target edge computing network determined based on the link repair decision vector, the data discarding decision vector, the flow allocation vector, and the actual computation amount vector of the node. The minimum value of the total resources required. Since the data discarding decision vector, flow allocation vector and node actual computation vector can represent the current unprocessed data volume of each edge node, the optimal solution of the objective function is determined based on the current unprocessed data volume of each edge node, That is to say, the current link to be repaired is determined based on the current amount of unprocessed data of each edge node. Therefore, it can avoid that more data cannot be processed, and further, the success rate of the target edge computing network in processing computing tasks can be improved.
在本发明提供的又一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述任一待修复链路的确定方法的步骤。In another embodiment provided by the present invention, a computer-readable storage medium is also provided, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any one of the above chains to be repaired is implemented The steps of the road determination method.
在本发明提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例中任一待修复链路的确定方法。In yet another embodiment provided by the present invention, there is also provided a computer program product containing instructions, which, when running on a computer, cause the computer to execute any method for determining a link to be repaired in the above-mentioned embodiments.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), among others.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置、电子设备、计算机可读存储介质和计算机程序产品实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the apparatus, electronic device, computer-readable storage medium and computer program product embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for related parts.
以上所述仅为本发明的较佳实施例,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110275642.2A CN113065093B (en) | 2021-03-15 | 2021-03-15 | A method and device for determining a link to be repaired |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110275642.2A CN113065093B (en) | 2021-03-15 | 2021-03-15 | A method and device for determining a link to be repaired |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113065093A CN113065093A (en) | 2021-07-02 |
CN113065093B true CN113065093B (en) | 2022-07-12 |
Family
ID=76560726
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110275642.2A Active CN113065093B (en) | 2021-03-15 | 2021-03-15 | A method and device for determining a link to be repaired |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113065093B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104518893A (en) * | 2013-09-29 | 2015-04-15 | 中国电信股份有限公司 | Method and device for positioning key nodes and links in IGP (Interior Gateway Protocol) topology of large-scale IP network |
CN111694664A (en) * | 2020-06-04 | 2020-09-22 | 海南大学 | Calculation unloading distribution method of edge server |
CN111935089A (en) * | 2020-07-04 | 2020-11-13 | 吴静昱 | Data processing method based on big data and edge calculation and artificial intelligence server |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9118421B2 (en) * | 2012-05-16 | 2015-08-25 | Ciena Corporation | Extending control plane functions to the network edge in an optical transport network |
CN111865781B (en) * | 2019-04-25 | 2022-10-11 | 伊姆西Ip控股有限责任公司 | Method, apparatus and computer program product for path optimization |
-
2021
- 2021-03-15 CN CN202110275642.2A patent/CN113065093B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104518893A (en) * | 2013-09-29 | 2015-04-15 | 中国电信股份有限公司 | Method and device for positioning key nodes and links in IGP (Interior Gateway Protocol) topology of large-scale IP network |
CN111694664A (en) * | 2020-06-04 | 2020-09-22 | 海南大学 | Calculation unloading distribution method of edge server |
CN111935089A (en) * | 2020-07-04 | 2020-11-13 | 吴静昱 | Data processing method based on big data and edge calculation and artificial intelligence server |
Non-Patent Citations (1)
Title |
---|
Competitive percolation strategies for network recovery;SMITH AM 等;《Scientific Reports》;20190814;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113065093A (en) | 2021-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20240231909A1 (en) | System and method for universal computer asset normalization and configuration management | |
CN112579194A (en) | Block chain consensus task unloading method and device based on time delay and transaction throughput | |
US9400731B1 (en) | Forecasting server behavior | |
WO2023066084A1 (en) | Computing power distribution method and apparatus, and computing power server | |
US20210136120A1 (en) | Universal computing asset registry | |
CN105511957A (en) | Method and system for generating work alarm | |
US11636549B2 (en) | Cybersecurity profile generated using a simulation engine | |
WO2020173270A1 (en) | Method and device used for parsing data and computer storage medium | |
CN113918438A (en) | Server Abnormal Detection Method, Device, Server and Storage Medium | |
CN113010571B (en) | Data detection method, device, electronic device, storage medium and program product | |
CN115470080A (en) | Performance monitoring in anomaly detection domain for IT environments | |
CN118378155A (en) | A fault detection method and system for intelligent middleware | |
CN116186267A (en) | Policy data processing method, device, computer equipment and storage medium | |
JP2020522920A (en) | Edge caching for cognitive applications | |
CN113065093B (en) | A method and device for determining a link to be repaired | |
CN116015925A (en) | A data transmission method, device, equipment and medium | |
US20240223615A1 (en) | System and method for data set creation with crowd-based reinforcement | |
CN111277427A (en) | A kind of inspection method and system for data center network equipment | |
CN119030887A (en) | Method, device, equipment and medium for predicting network fault processing time | |
CN117135151B (en) | Fault detection method of GPU cluster, electronic equipment and storage medium | |
CN109409411B (en) | Problem positioning method and device based on operation and maintenance management and storage medium | |
CN114564349B (en) | A server monitoring method, device, electronic equipment and storage medium | |
CN114298331A (en) | Data processing method and device, equipment, storage medium | |
CN114049065A (en) | Data processing method, device and system | |
CN119536959B (en) | Task processing method, device and storage medium based on evaluation hierarchical task network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |