[go: up one dir, main page]

CN115209431B - A triggering method, device, equipment and computer storage medium - Google Patents

A triggering method, device, equipment and computer storage medium Download PDF

Info

Publication number
CN115209431B
CN115209431B CN202110397103.6A CN202110397103A CN115209431B CN 115209431 B CN115209431 B CN 115209431B CN 202110397103 A CN202110397103 A CN 202110397103A CN 115209431 B CN115209431 B CN 115209431B
Authority
CN
China
Prior art keywords
node
nodes
slice
current
slice instance
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
Application number
CN202110397103.6A
Other languages
Chinese (zh)
Other versions
CN115209431A (en
Inventor
南静文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Chengdu ICT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Chengdu ICT Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Chengdu ICT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110397103.6A priority Critical patent/CN115209431B/en
Publication of CN115209431A publication Critical patent/CN115209431A/en
Application granted granted Critical
Publication of CN115209431B publication Critical patent/CN115209431B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/22Traffic simulation tools or models
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a triggering method, which comprises the following steps: and acquiring a slice instance of the network slice, inputting the slice instance into a trained Node2Vec model, outputting a vector of a Node in the acquired slice instance, and determining whether to trigger reconstruction of the slice instance according to the vector of the Node. The embodiment of the invention also discloses a triggering device, equipment and a computer storage medium, which improve the decision efficiency of whether the network slice needs to be reconstructed or not, and further improve the reconstruction efficiency of the network slice.

Description

一种触发方法、装置、设备和计算机存储介质A triggering method, device, equipment and computer storage medium

技术领域Technical field

本发明涉及网络切片的重构触发技术,尤其涉及一种触发方法、装置、设备和计算机存储介质。The present invention relates to network slicing reconstruction triggering technology, and in particular, to a triggering method, device, equipment and computer storage medium.

背景技术Background technique

目前,网络切片是5G建设中的一项重要内容,该技术通过在同一物理基础平台上构建多个逻辑独立的专有网络,来满足垂直行业对网络服务的差异化需求。区别于传统的单一化网络管理模式,网络切片技术为个性化需求定制提供了更大的选择空间,并且为运营商承载多样化的网络服务提供了更便捷、高效、安全、低成本的运维方案。Currently, network slicing is an important part of 5G construction. This technology meets the differentiated needs of vertical industries for network services by building multiple logically independent proprietary networks on the same physical basic platform. Different from the traditional single network management model, network slicing technology provides a greater choice for customization of individual needs, and provides operators with more convenient, efficient, secure and low-cost operation and maintenance for carrying diverse network services. plan.

第三代合作伙伴计划(3GPP,3rd Generation Partnership Project)规定了切片生命周期的四个必经阶段,分别是准备阶段,实例化、配置、激活阶段,运行时阶段和下线阶段。其中,在准备阶段,需要明确承载网将会承载的业务的所有类型需求,并根据不同类型的需求定制不同的切片模板。在实例化、配置、激活阶段,需要将业务需求转变为网络性能需求,选择对应的切片模板,实现虚拟拓扑与物理承载拓扑的关联,配置相应的网络资源,实现切片基于模板的实例化。在运行时阶段,需要将业务承载到实例化的切片上。在下线阶段,需要删除已经服务完毕的实例化切片,并回收相关底层资源。The 3rd Generation Partnership Project (3GPP) stipulates four necessary stages in the slice life cycle, namely preparation stage, instantiation, configuration, activation stage, runtime stage and offline stage. Among them, in the preparation stage, it is necessary to clarify the requirements of all types of services that the bearer network will carry, and customize different slicing templates according to different types of requirements. In the instantiation, configuration, and activation phases, business requirements need to be converted into network performance requirements, the corresponding slice templates are selected, the virtual topology is associated with the physical bearer topology, the corresponding network resources are configured, and the slices are instantiated based on the template. In the runtime phase, the business needs to be carried on the instantiated slice. During the offline phase, it is necessary to delete the instantiated slices that have been served and recycle related underlying resources.

其中,在运行时阶段,可借助智能化的网络运维方法对切片状况进行监控,并根据业务需求的变化重构实例化的切片,实现切片结构和资源面向需求变化的自适应,从而增加切片的灵活性,提高网络的服务质量。Among them, during the runtime phase, intelligent network operation and maintenance methods can be used to monitor the slicing status and reconstruct the instantiated slices according to changes in business requirements to realize the adaptation of the slicing structure and resources to changes in demand, thus increasing the number of slicing flexibility and improve network service quality.

在相关技术中,通常是基于矩阵对网络切片进行标识和计算来实现对网络切片的重构进行触发的,然而该方法计算量较大,致使该触发方法复杂度较高,导致网络切片的重构触发效率较差;由此可以看出,现有的网络切片的重构触发方法存在效率低下的技术问题。In related technologies, network slices are usually identified and calculated based on a matrix to trigger the reconstruction of network slices. However, this method requires a large amount of calculation, making the triggering method highly complex and causing the network slice to restructure. The reconstruction triggering efficiency of network slicing is poor; it can be seen that the existing reconstruction triggering method of network slicing has technical problems of low efficiency.

发明内容Contents of the invention

有鉴于此,本发明提供一种触发方法、装置、设备和计算机存储介质,以解决现有技术中存在的网络切片的重构触发方法存在效率低下的技术问题。In view of this, the present invention provides a triggering method, device, equipment and computer storage medium to solve the technical problem of low efficiency in the network slice reconstruction triggering method existing in the prior art.

本发明的技术方案是这样实现的:The technical solution of the present invention is implemented as follows:

第一方面,本发明实施例提供了一种触发方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a triggering method, which includes:

获取网络切片的切片实例;Get the slice instance of the network slice;

将所述切片实例输入至训练好的Node2Vec模型中,输出得到所述切片实例中节点的矢量;其中,所述节点的矢量元素包括:用于表示节点结构的量和用于表示节点负载的量;Input the slice instance into the trained Node2Vec model, and output the vector of the nodes in the slice instance; wherein the vector elements of the node include: an amount used to represent the node structure and an amount used to represent the node load ;

根据节点的矢量,确定是否触发对所述切片实例的重构。Based on the node's vector, it is determined whether to trigger reconstruction of the slice instance.

在上述方法中,采用如下方式得到所述训练好的Node2Vec模型:In the above method, the trained Node2Vec model is obtained in the following way:

从待训练的切片实例中获取起始节点和起始节点的下一跳节点,将所述下一跳节点确定为当前节点,并设置采样次数i的初始值为1;Obtain the starting node and the next hop node of the starting node from the slice instance to be trained, determine the next hop node as the current node, and set the initial value of the sampling number i to 1;

获取当前节点的相邻节点;Get the adjacent nodes of the current node;

当i小于采样步长时,按照预设的偏置游走概率算法,计算当前节点与所述相邻节点的偏置游走概率;其中,所述预设的偏置游走概率是与当前时刻采用切片实例时的当前业务的网络性能参数成正相关的;When i is smaller than the sampling step, the bias walk probability of the current node and the adjacent node is calculated according to the preset bias walk probability algorithm; wherein the preset bias walk probability is the same as the current bias walk probability. The network performance parameters of the current business when slicing instances are used at all times are positively correlated;

将计算出的偏置游走概率按照由大到小进行排序,并选取排在前M个的相邻节点,将选取出的相邻节点确定为当前节点,i更新为i+1,返回执行所述获取当前节点的相邻节点;其中,M为小于相邻节点的个数的正整数;Sort the calculated bias wander probabilities from large to small, select the top M adjacent nodes, determine the selected adjacent nodes as the current node, update i to i+1, and return to execution Obtaining the adjacent nodes of the current node; wherein, M is a positive integer smaller than the number of adjacent nodes;

当i大于等于采样步长时,将采样得到的至少两组节点序列输入至预设的Node2Vec模型中进行训练,得到所述训练好的Node2Vec模型。When i is greater than or equal to the sampling step, at least two sets of node sequences obtained by sampling are input into the preset Node2Vec model for training, and the trained Node2Vec model is obtained.

在上述方法中,所述当前业务的网络性能参数包括以下一项或多项:In the above method, the network performance parameters of the current service include one or more of the following:

当前业务的平均占用带宽,当前业务的平均消息时延和当前业务的平均丢包率。。The average occupied bandwidth of the current business, the average message delay of the current business, and the average packet loss rate of the current business. .

在上述方法中,采用下述公式计算得到当前节点至所述相邻节点的偏置游走概率πvxIn the above method, the following formula is used to calculate the bias wander probability π vx from the current node to the adjacent node:

πvx=αpq(t,x)·wvx π vxpq (t,x)·w vx

其中,v表示当前节点,t表示当前节点的相邻节点,W0表示当前时刻当前业务的平均占用带宽,T0代表当前时刻当前业务的平均消息时延,E0代表当前时刻当前业务的平均丢包率,kW是W0的估计等级,kT是T0的估计等级,kE是E0的估计等级,dtx表示节点t跳到节点x需要的最短跳转次数。Among them, v represents the current node, t represents the adjacent node of the current node, W 0 represents the average occupied bandwidth of the current business at the current moment, T 0 represents the average message delay of the current business at the current moment, and E 0 represents the average message delay of the current business at the current moment. Packet loss rate, k W is the estimated level of W 0 , k T is the estimated level of T 0 , k E is the estimated level of E 0 , d tx represents the shortest number of hops required for node t to jump to node x.

在上述方法中,所述根据节点的矢量,确定是否触发对所述切片实例的重构,包括:In the above method, determining whether to trigger reconstruction of the slice instance according to the vector of the node includes:

根据节点的矢量,计算所述切片实例中任意两个节点之间的欧式距离;Calculate the Euclidean distance between any two nodes in the slice instance according to the vector of the node;

当任意两个节点之间的欧式距离满足预设条件时,触发对所述切片实例的重构。When the Euclidean distance between any two nodes meets the preset condition, the reconstruction of the slice instance is triggered.

在上述方法中,当任意两个节点之间的欧式距离满足预设条件时,触发对所述切片实例的重构,包括:In the above method, when the Euclidean distance between any two nodes meets the preset conditions, the reconstruction of the slice instance is triggered, including:

当任意两个节点之间的欧式距离中存在小于预设的节点间最小欧氏距离的距离时,触发对所述切片实例的重构。When the Euclidean distance between any two nodes is smaller than the preset minimum Euclidean distance between nodes, reconstruction of the slice instance is triggered.

在上述方法中,当任意两个节点之间的欧式距离满足预设条件时,触发对所述切片实例的重构,包括:In the above method, when the Euclidean distance between any two nodes meets the preset conditions, the reconstruction of the slice instance is triggered, including:

当任意两个节点之间的欧式距离中存在大于预设的节点间最大欧氏距离的距离时,触发对所述切片实例的重构。When the Euclidean distance between any two nodes is greater than the preset maximum Euclidean distance between nodes, reconstruction of the slice instance is triggered.

在上述方法中,所述方法还包括:In the above method, the method further includes:

当任意两个节点之间的欧式距离中不存在小于预设的节点间最小欧氏距离的距离,且任意两个节点之间的欧式距离中不存在大于预设的节点间最大欧氏距离的距离时,禁止触发对所述切片实例的重构。When there is no Euclidean distance between any two nodes that is less than the preset minimum Euclidean distance between nodes, and there is no Euclidean distance between any two nodes that is greater than the preset maximum Euclidean distance between nodes. distance, prohibit triggering reconstruction of the slice instance.

第二方面,本发明提供了一种触发装置,所述装置包括:In a second aspect, the present invention provides a triggering device, which includes:

获取模块,用于获取网络切片的切片实例;Obtain module, used to obtain slice instances of network slices;

处理模块,用于将所述切片实例输入至训练好的Node2Vec模型中,输出得到所述切片实例中节点的矢量;其中,所述节点的矢量元素包括:用于表示节点结构的量和用于表示节点负载的量;A processing module, configured to input the slice instance into the trained Node2Vec model, and output the vector of the nodes in the slice instance; wherein the vector elements of the node include: a quantity used to represent the node structure and a quantity used to represent the node structure. Indicates the amount of node load;

触发模块,用于根据节点的矢量,确定是否触发对所述切片实例的重构。A triggering module, configured to determine whether to trigger reconstruction of the slice instance according to the vector of the node.

在上述装置中,所述装置还用于:In the above device, the device is also used for:

采用如下方式得到所述训练好的Node2Vec模型:Use the following method to obtain the trained Node2Vec model:

从待训练的切片实例中获取起始节点和起始节点的下一跳节点,将所述下一跳节点确定为当前节点,并设置采样次数i的初始值为1;Obtain the starting node and the next hop node of the starting node from the slice instance to be trained, determine the next hop node as the current node, and set the initial value of the sampling number i to 1;

获取当前节点的相邻节点;Get the adjacent nodes of the current node;

当i小于采样步长时,按照预设的偏置游走概率算法,计算当前节点与所述相邻节点的偏置游走概率;其中,所述预设的偏置游走概率是与当前时刻采用切片实例时的当前业务的网络性能参数成正相关的;When i is smaller than the sampling step, the bias walk probability of the current node and the adjacent node is calculated according to the preset bias walk probability algorithm; wherein the preset bias walk probability is the same as the current bias walk probability. The network performance parameters of the current business when slicing instances are used at all times are positively correlated;

将计算出的偏置游走概率按照由大到小进行排序,并选取排在前M个的相邻节点,将选取出的相邻节点确定为当前节点,i更新为i+1,返回执行所述获取当前节点的相邻节点;其中,M为小于相邻节点的个数的正整数;Sort the calculated bias wander probabilities from large to small, select the top M adjacent nodes, determine the selected adjacent nodes as the current node, update i to i+1, and return to execution Obtaining the adjacent nodes of the current node; wherein, M is a positive integer smaller than the number of adjacent nodes;

当i大于等于采样步长时,将采样得到的至少两组节点序列输入至预设的Node2Vec模型中进行训练,得到所述训练好的Node2Vec模型。When i is greater than or equal to the sampling step, at least two sets of node sequences obtained by sampling are input into the preset Node2Vec model for training, and the trained Node2Vec model is obtained.

在上述装置中,所述当前业务的网络性能参数包括以下一项或多项:In the above device, the network performance parameters of the current service include one or more of the following:

当前业务的平均占用带宽,当前业务的平均消息时延和当前业务的平均丢包率。The average occupied bandwidth of the current business, the average message delay of the current business, and the average packet loss rate of the current business.

在上述装置中,所述装置还用于:采用下述公式计算得到当前节点至所述相邻节点的偏置游走概率πvxIn the above device, the device is also used to calculate the bias wander probability π vx from the current node to the adjacent node using the following formula:

πvx=αpq(t,x)·wvx π vxpq (t,x)·w vx

其中,v表示当前节点,t表示当前节点的相邻节点,W0表示当前时刻当前业务的平均占用带宽,T0代表当前时刻当前业务的平均消息时延,E0代表当前时刻当前业务的平均丢包率,kW是W0的估计等级,kT是T0的估计等级,kE是E0的估计等级,dtx表示节点t跳到节点x需要的最短跳转次数。Among them, v represents the current node, t represents the adjacent node of the current node, W 0 represents the average occupied bandwidth of the current business at the current moment, T 0 represents the average message delay of the current business at the current moment, and E 0 represents the average message delay of the current business at the current moment. Packet loss rate, k W is the estimated level of W 0 , k T is the estimated level of T 0 , k E is the estimated level of E 0 , d tx represents the shortest number of hops required for node t to jump to node x.

在上述装置中,所述触发模块,具体用于:In the above device, the trigger module is specifically used for:

根据节点的矢量,计算所述切片实例中任意两个节点之间的欧式距离;Calculate the Euclidean distance between any two nodes in the slice instance according to the vector of the node;

当任意两个节点之间的欧式距离满足预设条件时,触发对所述切片实例的重构。When the Euclidean distance between any two nodes meets the preset condition, the reconstruction of the slice instance is triggered.

在上述装置中,当任意两个节点之间的欧式距离满足预设条件时,所述触发模块触发对所述切片实例的重构中,包括:In the above device, when the Euclidean distance between any two nodes meets the preset condition, the triggering module triggers the reconstruction of the slice instance, including:

当任意两个节点之间的欧式距离中存在小于预设的节点间最小欧氏距离的距离时,触发对所述切片实例的重构。When the Euclidean distance between any two nodes is smaller than the preset minimum Euclidean distance between nodes, reconstruction of the slice instance is triggered.

在上述装置中,当任意两个节点之间的欧式距离满足预设条件时,所述触发模块触发对所述切片实例的重构中,包括:In the above device, when the Euclidean distance between any two nodes meets the preset condition, the triggering module triggers the reconstruction of the slice instance, including:

当任意两个节点之间的欧式距离中存在大于预设的节点间最大欧氏距离的距离时,触发对所述切片实例的重构。When the Euclidean distance between any two nodes is greater than the preset maximum Euclidean distance between nodes, reconstruction of the slice instance is triggered.

在上述装置中,所述装置还用于:In the above device, the device is also used for:

当任意两个节点之间的欧式距离中不存在小于预设的节点间最小欧氏距离的距离,且任意两个节点之间的欧式距离中不存在大于预设的节点间最大欧氏距离的距离时,禁止触发对所述切片实例的重构。When there is no Euclidean distance between any two nodes that is less than the preset minimum Euclidean distance between nodes, and there is no Euclidean distance between any two nodes that is greater than the preset maximum Euclidean distance between nodes. distance, prohibit triggering reconstruction of the slice instance.

第三方面,本发明实施例还提供了一种设备,所述设备包括:处理器以及存储有所述处理器可执行指令的存储介质,所述存储介质通过通信总线依赖所述处理器执行操作,当所述指令被所述处理器执行时,执行上述一个或多个实施例所述触发方法。In a third aspect, embodiments of the present invention further provide a device, which device includes: a processor and a storage medium storing instructions executable by the processor, and the storage medium relies on the processor to perform operations through a communication bus. , when the instruction is executed by the processor, the triggering method described in one or more of the above embodiments is executed.

本发明实施例提供了一种计算机存储介质,存储有可执行指令,当所述可执行指令被一个或多个处理器执行的时候,所述处理器执行上述一个或多个实施例所述触发方法。Embodiments of the present invention provide a computer storage medium that stores executable instructions. When the executable instructions are executed by one or more processors, the processor executes the trigger described in one or more embodiments. method.

本发明所提供的一种触发方法、装置、设备和计算机存储介质,该方法包括:获取网络切片的切片实例,将切片实例输入至训练好的Node2Vec模型中,输出得到切片实例中节点的矢量,其中,节点的矢量元素包括:用于表示节点结构的量和用于表示节点负载的量,根据节点的矢量,确定触发对切片实例的重构;也就是说,在本发明中,在获取到网络切片的切片实例之后,将切片实例输入至训练好的Node2Vec模型中,能够得到切片实例的节点的矢量,由于得到的矢量中包含有用于表示节点结构和节点负载的量,并且,基于节点的矢量可以反映出切片的结构和切片的负载情况,那么,根据节点的矢量来确定是否触发切片实例的重构中,由于节点的矢量具有两个维度,利用两个维度的矢量降低了确定是否触发切片实例的重构的复杂度,从而提高了网络切片是否需要重构的决策效率,进而提高了网络切片进行重构的重构效率。The invention provides a triggering method, device, equipment and computer storage medium. The method includes: obtaining a slice instance of a network slice, inputting the slice instance into a trained Node2Vec model, and outputting a vector of nodes in the slice instance, Among them, the vector element of the node includes: a quantity used to represent the node structure and a quantity used to represent the node load. According to the vector of the node, it is determined to trigger the reconstruction of the slice instance; that is to say, in the present invention, after obtaining After slicing the slicing instance of the network slicing, input the slicing instance into the trained Node2Vec model to get the vector of the node of the slicing instance, because the obtained vector contains quantities used to represent the node structure and node load, and based on the node The vector can reflect the structure of the slice and the load of the slice. Then, in the reconstruction of the slice instance to determine whether to trigger the slice instance based on the vector of the node, since the vector of the node has two dimensions, using a vector of two dimensions reduces the time required to determine whether to trigger the slice instance. The complexity of reconstruction of slice instances improves the decision-making efficiency of whether network slices need to be reconstructed, thereby improving the reconstruction efficiency of network slices.

附图说明Description of the drawings

图1为本发明实施例中的一种可选的触发方法的流程示意图;Figure 1 is a schematic flow chart of an optional triggering method in an embodiment of the present invention;

图2为相关技术中标注有偏置权重的切片实例的网络拓扑图;Figure 2 is a network topology diagram of a slice example marked with bias weights in related technologies;

图3为本发明实施例提供的一种可选的触发方法的实例的流程示意图;Figure 3 is a schematic flow chart of an example of an optional triggering method provided by an embodiment of the present invention;

图4为本发明实施例中的一种可选的触发装置的结构示意图;Figure 4 is a schematic structural diagram of an optional triggering device in an embodiment of the present invention;

图5为本发明实施例提供的一种可选的设备的结构示意图。Figure 5 is a schematic structural diagram of an optional device provided by 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.

实施例一Embodiment 1

本发明实施例提供一种触发方法,图1为本发明实施例中的一种可选的触发的流程示意图,如图1所示,该触发方法可以包括:An embodiment of the present invention provides a triggering method. Figure 1 is a schematic flowchart of an optional triggering in an embodiment of the present invention. As shown in Figure 1, the triggering method may include:

S101:获取网络切片的切片实例;S101: Obtain the slice instance of the network slice;

目前,针对网络切片来说,在切片服务开始以后,首先从切片模板库中选择与当前业务需求匹配的切片模板,再根据选择的切片模板创建切片实例,然后上线切片实例承载业务需求,切片实例上线后,基于矩阵来表示切片实例,确定是否触发对切片实例的重构;然后基于矩阵来确定是否触发对切片实例的重构中,由于矩阵的维度较高,这样,采用矩阵表示切片信息,使得在确定是否触发对切片实例的重构中的计算复杂度增大,从而增加了监测切片实例的成本。Currently, for network slicing, after the slicing service starts, first select a slicing template that matches the current business requirements from the slicing template library, then create a slicing instance based on the selected slicing template, and then launch the slicing instance to carry the business requirements. The slicing instance After going online, the slice instance is represented based on the matrix to determine whether to trigger the reconstruction of the slice instance; and then the matrix is used to determine whether to trigger the reconstruction of the slice instance. Since the dimension of the matrix is high, the matrix is used to represent the slice information. This increases the computational complexity in determining whether to trigger reconstruction of the slice instance, thereby increasing the cost of monitoring the slice instance.

为了降低确定是否触发切片实例的重构的复杂度以降低监测切片实例的成本,本发明实施例提供一种触发方法,该方法用于确定是否触发对切片实例的重构方法,首先,获取网络切片的切片实例。In order to reduce the complexity of determining whether to trigger the reconstruction of the slice instance and reduce the cost of monitoring the slice instance, embodiments of the present invention provide a triggering method, which is used to determine whether to trigger the reconstruction method of the slice instance. First, obtain the network A slice instance of the slice.

这里,需要说明的是,本发明实施例所提供的触发方法部署在切片实例上线运行之后,即上述运行时阶段,也就是说,在切片服务开始以后,首先从切片模板库中选择与当前业务需求匹配的切片模板,再根据选择的切片模板创建切片实例,然后上线切片实例承载业务需求,切片实例上线后,获取切片实例。Here, it should be noted that the triggering method provided by the embodiment of the present invention is deployed after the slicing instance goes online, that is, the above-mentioned runtime stage. That is to say, after the slicing service starts, first select the current business from the slicing template library. The requirements match the slicing template, and then create a slicing instance based on the selected slicing template, and then go online to carry the business requirements. After the slicing instance is online, obtain the slicing instance.

其中,上述切片实例的当前业务可以是购物类应用程序,也可以是移动通话业务,还可以是通讯类应用程序,这里,本发明实施例对此不作具体限定。The current business of the above-mentioned slicing instance may be a shopping application, a mobile call service, or a communication application. Here, the embodiment of the present invention does not specifically limit this.

S102:将切片实例输入至训练好的Node2Vec模型中,输出得到切片实例中节点的矢量;S102: Input the slice instance into the trained Node2Vec model, and output the vector of the nodes in the slice instance;

在获取到切片实例中,获取到了切片实例的拓扑图,其中,切片实例的拓扑图中包含有切片实例中的节点以及节点与节点之间的连接关系,那么,将切片实例输入至训练好的Node2Vec模型中,从而可以输出得到切片实例中节点的矢量。In obtaining the slice instance, the topology map of the slice instance is obtained. The topology map of the slice instance includes the nodes in the slice instance and the connection relationships between nodes. Then, input the slice instance into the trained In the Node2Vec model, the vector of nodes in the slice instance can be output.

上述训练好的Node2Vec模型是通过采样得到样本数据,然后利用样本数据对Node2Vec模型进行训练得到的,其中,Node2Vec模型是用来产生网络中节点向量的模型,模型的输入是网络结构,输出是每个节点的向量。The above-trained Node2Vec model is obtained by sampling sample data, and then using the sample data to train the Node2Vec model. Among them, the Node2Vec model is a model used to generate node vectors in the network. The input of the model is the network structure, and the output is each node vector. vector of nodes.

这里,通过将Node2Vec模型中引入切片问题的处理,将切片信息从N维降到了2维,有效降低了切片信息表示和存储的空间复杂度,降低了切片的管理监测成本,提高了网络运维效益。Here, by introducing the processing of slicing problems into the Node2Vec model, the slicing information is reduced from N dimensions to 2 dimensions, which effectively reduces the space complexity of slicing information representation and storage, reduces the management and monitoring costs of slicing, and improves network operation and maintenance. benefit.

其中,节点的矢量元素包括:用于表示节点结构的量和用于表示节点负载的量;也就是说,得到的节点的矢量可以反映出节点的结构和节点的负载情况,这样,根据节点的矢量来确定是否触发对切片实例的重构中,主要是根据节点的结构和节点的负载情况来确定是否触发对切片实例的重构,这样得到的节点矢量有利于在保证较低的计算量的条件下,结合节点自身的结构和当前的负载情况能够准确地确定出是否触发对切片实例的重构,增加了决策的准确性。Among them, the vector elements of the node include: the amount used to represent the node structure and the amount used to represent the node load; that is to say, the obtained vector of the node can reflect the structure of the node and the load of the node. In this way, according to the node's Vector is used to determine whether to trigger the reconstruction of the slice instance, mainly based on the structure of the node and the load of the node to determine whether to trigger the reconstruction of the slice instance. The node vector obtained in this way is conducive to ensuring a low amount of calculation. Under certain conditions, combining the structure of the node itself and the current load situation can accurately determine whether to trigger the reconstruction of the slice instance, which increases the accuracy of decision-making.

进一步地,为了得到训练好的Node2Vec模型,在一种可选的实施例中,采用如下方式得到训练好的Node2Vec模型:Further, in order to obtain the trained Node2Vec model, in an optional embodiment, the following method is used to obtain the trained Node2Vec model:

从待训练的切片实例中获取起始节点和起始节点的下一跳节点,将下一跳节点确定为当前节点,并设置采样次数i的初始值为1;Obtain the starting node and the next hop node of the starting node from the slice instance to be trained, determine the next hop node as the current node, and set the initial value of the sampling number i to 1;

获取当前节点的相邻节点;Get the adjacent nodes of the current node;

当i小于采样步长时,按照预设的偏置游走概率算法,计算当前节点与相邻节点的偏置游走概率;When i is smaller than the sampling step, the bias walk probability of the current node and adjacent nodes is calculated according to the preset bias walk probability algorithm;

将计算出的偏置游走概率按照由大到小进行排序,并选取排在前M个的相邻节点,将选取出的相邻节点确定为当前节点,i更新为i+1,返回执行获取当前节点的相邻节点;Sort the calculated bias wander probabilities from large to small, select the top M adjacent nodes, determine the selected adjacent nodes as the current node, update i to i+1, and return to execution Get the adjacent nodes of the current node;

当i大于等于采样步长时,将采样得到的至少两组节点序列输入至预设的Node2Vec模型中进行训练,得到训练好的Node2Vec模型。When i is greater than or equal to the sampling step, input at least two sets of sampled node sequences into the preset Node2Vec model for training to obtain a trained Node2Vec model.

具体来说,获取待训练的切片实例,其中,待训练的切片实例的个数可以为一个或者多个,这里,本发明实施例对此不作具体限定。Specifically, slice instances to be trained are obtained, where the number of slice instances to be trained may be one or more. Here, the embodiment of the present invention does not specifically limit this.

为了得到模型训练的样本数据,采用如下方式进行采样的:针对待训练的切片实例,先随机确定出一个起始节点,然后在从起始节点的相邻节点中随机确定出起始节点的下一跳节点,并将下一跳节点确定为当前节点,由于采样步长是预先设置好的,所以这里为了按照采样步长进行采样,设置采样次数i的初始值为1。In order to obtain sample data for model training, the following method is used for sampling: for the slice instance to be trained, a starting node is first randomly determined, and then the next node of the starting node is randomly determined from the adjacent nodes of the starting node. One hop node, and the next hop node is determined as the current node. Since the sampling step is preset, in order to sample according to the sampling step, the initial value of the sampling number i is set to 1.

然后获取当前节点的相邻节点,并判断i与采样步长之间的关系,当i小于采样步长时,按照预设的偏置游走概率算法计算当前节点与相邻节点的偏置游走概率。Then obtain the adjacent nodes of the current node, and determine the relationship between i and the sampling step. When i is less than the sampling step, calculate the offset walk between the current node and the adjacent node according to the preset offset walk probability algorithm. Take probability.

图2为相关技术中标注有偏置权重的切片实例的网络拓扑图,如图2所示,t表示起始节点,v表示起始节点的下一跳节点,t,x1,x2和x3表示v节点的相邻节点,在相关技术中,Node2Vec模型中的游走方式采用下述公式来计算偏置游走概率αpq(t,x):Figure 2 is a network topology diagram of a slice example marked with bias weight in related technologies. As shown in Figure 2, t represents the starting node, v represents the next hop node of the starting node, t, x1, x2 and x3 represent Adjacent nodes of v node, in related technology, the walking method in the Node2Vec model uses the following formula to calculate the bias walking probability α pq (t,x):

其中,结合图2,参数p和q分别用于控制采样过程对广度优先搜索(BFS,BreadthFirst Search)和深度优先搜索(DFS,Depth First Search)的倾向性,p是返回参数,p越大,采样过程中得到相同节点的概率越小,q是进出参数,若q>1,采样过程将倾向于BFS,若q<1,采样过程则倾向于DFS,dtx表示节点t跳到节点v需要的最短跳转次数。Among them, combined with Figure 2, parameters p and q are used to control the tendency of the sampling process to Breadth First Search (BFS, Breadth First Search) and Depth First Search (DFS, Depth First Search) respectively. p is the return parameter, the larger p, The smaller the probability of getting the same node during the sampling process. q is the entry and exit parameter. If q>1, the sampling process will tend to BFS. If q<1, the sampling process will tend to DFS. d tx represents the need for node t to jump to node v. The shortest number of jumps.

在本发明实施例中,为了实现对切片实例重构的触发,这里,提供了一种预设的偏置游走概率,其中,预设的偏置游走概率是与当前时刻采用切片实例时的当前业务的网络性能参数成正相关的,也就是说,偏置游走概率的值是随着切片实例的当前业务的网络性能参数的增大而增大,随着切片实例的当前业务的网络性能参数的减小而减小,这样,将偏置游走概率与当前业务的网络性能参数联系起来。In the embodiment of the present invention, in order to trigger the reconstruction of the slice instance, a preset bias walking probability is provided here, where the preset bias walking probability is the same as when the slice instance is used at the current moment. is positively correlated with the network performance parameters of the current service of the slice instance. That is to say, the value of the bias wandering probability increases with the increase of the network performance parameters of the current service of the slice instance. As the network performance parameters of the current service of the slice instance increase, It decreases with the decrease of performance parameters. In this way, the offset wander probability is related to the network performance parameters of the current service.

再将计算出的偏置游走概率按照由大到小进行排序,并选取排在前M个的相邻节点作为当前节点,其中,M为小于相邻节点的个数的正整数;这样,使得采样得到的训练样本为当前业务的网络性能参数较好的节点序列,提高了训练样本的质量,从而可以训练出更加符合要求的Node2Vec模型。Then sort the calculated bias wander probabilities from large to small, and select the top M adjacent nodes as the current node, where M is a positive integer smaller than the number of adjacent nodes; thus, The sampled training samples are node sequences with better network performance parameters of the current business, which improves the quality of the training samples, so that a Node2Vec model that better meets the requirements can be trained.

在通过选取相邻节点来更新当前节点之后,i更新为i+1,进行下一次采样,返回执行获取当前节点的相邻节点。After updating the current node by selecting adjacent nodes, i is updated to i+1, the next sampling is performed, and execution returns to obtain the adjacent nodes of the current node.

另外,当i大于等于采样步长,说明采样已经完成,那么,将采样中跳转的至少两组节点序列作为训练样本,输入至预设的Node2Vec模型中进行训练,得到训练好的Node2Vec模型。In addition, when i is greater than or equal to the sampling step, it means that the sampling has been completed. Then, at least two sets of node sequences jumped during the sampling are used as training samples and input into the preset Node2Vec model for training to obtain the trained Node2Vec model.

本发明实施例中,在训练好的Node2Vec模型的采样阶段引入偏置参数wvx,使采样所得的节点序列样本能够训练出融合切片结构和负载状态的映射模型,完成了切片结构和负载信息的融合映射,可实现了多因素导向的重构决策。In the embodiment of the present invention, the bias parameter w vx is introduced in the sampling stage of the trained Node2Vec model, so that the sampled node sequence samples can train a mapping model that integrates the slice structure and load status, completing the mapping of the slice structure and load information. Fusion mapping can realize multi-factor-oriented reconstruction decision-making.

为了更加准确地确定出是否触发对切片实例的重构,在一种可选的实施例中,当前业务的网络性能参数包括以下一项或多项:In order to more accurately determine whether to trigger the reconstruction of the slice instance, in an optional embodiment, the network performance parameters of the current service include one or more of the following:

当前业务的平均占用带宽,当前业务的平均消息时延和当前业务的平均丢包率。The average occupied bandwidth of the current business, the average message delay of the current business, and the average packet loss rate of the current business.

具体来说,当前业务的网络性能参数可以包括当前业务的平均占用带宽,当前业务的平均消息时延和当前业务的平均丢包率中的一项或多项,这里,本发明实施例对此不作具体限定。Specifically, the network performance parameters of the current service may include one or more of the average occupied bandwidth of the current service, the average message delay of the current service, and the average packet loss rate of the current service. Here, this embodiment of the present invention No specific limitation is made.

进一步地,为了更加准确地确定出是否触发对切片实例的重构,当前业务的网络性能参数可以包括当前业务的平均占用带宽,当前业务的平均消息时延和当前业务的平均丢包率,在一种可选的实施例中,采用下述公式计算得到当前节点至相邻节点的偏置游走概率πvxFurther, in order to determine more accurately whether to trigger the reconstruction of the slice instance, the network performance parameters of the current service may include the average occupied bandwidth of the current service, the average message delay of the current service and the average packet loss rate of the current service. In an optional embodiment, the following formula is used to calculate the offset walking probability π vx from the current node to the adjacent node:

πvx=αpq(t,x)·wvx (2)π vxpq (t,x)·w vx (2)

其中,v表示当前节点,t表示当前节点的相邻节点,W0表示当前时刻当前业务的平均占用带宽,T0代表当前时刻当前业务的平均消息时延,E0代表当前时刻当前业务的平均丢包率,kW是W0的估计等级,kT是T0的估计等级,kE是E0的估计等级。Among them, v represents the current node, t represents the adjacent node of the current node, W 0 represents the average occupied bandwidth of the current business at the current moment, T 0 represents the average message delay of the current business at the current moment, and E 0 represents the average message delay of the current business at the current moment. Packet loss rate, k W is the estimated level of W 0 , k T is the estimated level of T 0 , and k E is the estimated level of E 0 .

其中,在实际应用中,上述kW,kT和kE之和为1,并且,可以通过调整这三个估计等级参数可以调节占用带宽、消息时延和丢包率在采样决策中的重要性程度。Among them, in practical applications, the sum of the above k W , k T and k E is 1, and the importance of occupied bandwidth, message delay and packet loss rate in sampling decisions can be adjusted by adjusting these three estimation level parameters. degree of sex.

这里,在原有的偏置游走概率采用上述公式(1)的基础上,引入公式(3),即在原有的偏置游走概率的基础上乘以wvx,使得采用预设的偏置游走概率算法得到的πvx融入了节点的结构和节点的负载情况,这样使得得到的偏置游走概率考虑到了当前业务的网络性能,使得选取出的相邻节点为网络性能较好的网络节点,有利于提高训练样本的质量,进而有利于训练出更加准确的Node2Vec模型。Here, based on the original bias walk probability using the above formula (1), formula (3) is introduced, that is, multiplying the original bias walk probability by w vx so that the preset bias walk probability is used. The π vx obtained by the walking probability algorithm is integrated into the structure of the node and the load condition of the node, so that the obtained bias walking probability takes into account the network performance of the current business, so that the selected adjacent nodes are network nodes with better network performance. , which is conducive to improving the quality of training samples, which is conducive to training a more accurate Node2Vec model.

S103:根据节点的矢量,确定是否触发对切片实例的重构。S103: Determine whether to trigger reconstruction of the slice instance according to the vector of the node.

在确定出切片实例的节点矢量之后,为了确定出是否触发对切片实例的重构,可以根据节点的矢量来确定是否触发对切片实例的重构,例如,可以是利用节点的矢量中的其中一个分量来确定是否触发对切片实例的重构,还可以是利用节点的矢量中的另一外一个分量来确定是否触发对切片实例的重构,还可以是利用节点矢量的两个分量来确定是否触发对切片实例的重构,这里,本发明实施例对此不作具体限定。After determining the node vector of the slice instance, in order to determine whether to trigger the reconstruction of the slice instance, it may be determined whether to trigger the reconstruction of the slice instance according to the vector of the node. For example, one of the vectors of the node may be used. component to determine whether to trigger the reconstruction of the slice instance, or another component in the node vector to determine whether to trigger the reconstruction of the slice instance, or two components of the node vector to determine whether Triggering the reconstruction of the slice instance, here, the embodiment of the present invention does not specifically limit this.

为了确定出是否触发对切片实例的重构,在一种可选的实施例中,S102可以包括:In order to determine whether to trigger reconstruction of the slice instance, in an optional embodiment, S102 may include:

根据节点的矢量,计算切片实例中任意两个节点之间的欧式距离;Calculate the Euclidean distance between any two nodes in the slice instance based on the node's vector;

当任意两个节点之间的欧式距离满足预设条件时,触发对切片实例的重构。When the Euclidean distance between any two nodes meets the preset conditions, the reconstruction of the slice instance is triggered.

具体来说,根据节点的矢量,利用两点之间的距离公式,来计算出切片实例中任意两个节点之间的欧式距离,然后判断任意两个节点之间的欧式距离是否满足预设条件,只有满足预设条件时,才触发对切片实例的重构,不满足预设条件时,禁止触发对切片实例的重构。Specifically, according to the vector of the node, the distance formula between two points is used to calculate the Euclidean distance between any two nodes in the slice instance, and then it is judged whether the Euclidean distance between any two nodes meets the preset conditions. , only when the preset conditions are met, the reconstruction of the slice instance is triggered. When the preset conditions are not met, the reconstruction of the slice instance is prohibited from being triggered.

进一步地,为了触发对切片实例的重构,在一种可选的实施例中,当任意两个节点之间的欧式距离满足预设条件时,触发对切片实例的重构,包括:Further, in order to trigger the reconstruction of the slice instance, in an optional embodiment, when the Euclidean distance between any two nodes meets the preset conditions, the reconstruction of the slice instance is triggered, including:

当任意两个节点之间的欧式距离中存在小于预设的节点间最小欧氏距离的距离时,触发对切片实例的重构。When the Euclidean distance between any two nodes is less than the preset minimum Euclidean distance between nodes, the reconstruction of the slice instance is triggered.

具体来说,在该触发方法中预先设置有预设的节点间最小欧氏距离,最小欧氏距离代表矢量空间中可接受的最小矢量距离,其现实意义是当前切片实例中对应两个节点之间所能承载的负载上限,那么,当任意两个节点之间的欧式距离中存在小于预设的节点间最小欧氏距离的距离时,说明切片实例中存在两个节点之间的负载低于当前切片实例中对应两个节点之间所能承载的负载上限,可见,当前切片实例不能保证当前业务的稳定运行,所以,触发对切片实例的重构。Specifically, a preset minimum Euclidean distance between nodes is preset in this triggering method. The minimum Euclidean distance represents the minimum acceptable vector distance in the vector space. Its practical significance is that between the two corresponding nodes in the current slice instance Then, when the Euclidean distance between any two nodes is less than the preset minimum Euclidean distance between nodes, it means that the load between the two nodes in the slice instance is less than The current slice instance corresponds to the upper limit of load that can be carried between two nodes. It can be seen that the current slice instance cannot guarantee the stable operation of the current business, so the reconstruction of the slice instance is triggered.

进一步地,为了触发对切片实例的重构,在一种可选的实施例中,当任意两个节点之间的欧式距离满足预设条件时,触发对切片实例的重构,包括:Further, in order to trigger the reconstruction of the slice instance, in an optional embodiment, when the Euclidean distance between any two nodes meets the preset conditions, the reconstruction of the slice instance is triggered, including:

当任意两个节点之间的欧式距离中存在大于预设的节点间最大欧氏距离的距离时,触发对切片实例的重构。When the Euclidean distance between any two nodes is greater than the preset maximum Euclidean distance between nodes, the reconstruction of the slice instance is triggered.

具体来说,在该触发方法中预先设置有预设的节点间最大欧氏距离,最大欧氏距离代表矢量空间中可接受的最大矢量距离,其现实意义是当前切片实例中对应两个节点之间可接受的资源占用率的下限,那么,当任意两个节点之间的欧式距离中存在大于预设的节点间最大欧氏距离的距离时,说明切片实例中存在两个节点之间的资源占用率大于当前切片实例中对应两个节点之间可接受的资源占用率的下限,可见,当前切片实例不能保证当前业务的稳定运行,所以,触发对切片实例的重构。Specifically, a preset maximum Euclidean distance between nodes is preset in this triggering method. The maximum Euclidean distance represents the maximum acceptable vector distance in the vector space. Its practical significance is that one of the two corresponding nodes in the current slice instance The lower limit of the acceptable resource occupancy rate between any two nodes. Then, when the Euclidean distance between any two nodes is greater than the preset maximum Euclidean distance between nodes, it means that there are resources between the two nodes in the slice instance. The occupancy rate is greater than the lower limit of the acceptable resource occupancy rate between the corresponding two nodes in the current slicing instance. It can be seen that the current slicing instance cannot guarantee the stable operation of the current business, so the reconstruction of the slicing instance is triggered.

为了实现对切片实例的重构的准确触发,在一种可选的实施例中,上述方法还包括:In order to achieve accurate triggering of reconstruction of slice instances, in an optional embodiment, the above method further includes:

当任意两个节点之间的欧式距离中不存在小于预设的节点间最小欧氏距离的距离,且任意两个节点之间的欧式距离中不存在大于预设的节点间最大欧氏距离的距离时,禁止触发对切片实例的重构。When there is no Euclidean distance between any two nodes that is less than the preset minimum Euclidean distance between nodes, and there is no Euclidean distance between any two nodes that is greater than the preset maximum Euclidean distance between nodes. distance, prohibit triggering reconstruction of slice instances.

当任意两个节点之间的欧式距离中不存在小于预设的节点间最小欧氏距离的距离时,说明切片实例中不存在两个节点之间的负载低于当前切片实例中对应两个节点之间所能承载的负载上限,当任意两个节点之间的欧式距离中不存在大于预设的节点间最大欧氏距离的距离时,说明切片实例中不存在两个节点之间的资源占用率大于当前切片实例中对应两个节点之间可接受的资源占用率的下限,可见,当前切片实例能够保证当前业务的稳定运行,所以,禁止触发对切片实例的重构。When there is no Euclidean distance between any two nodes that is smaller than the preset minimum Euclidean distance between nodes, it means that there is no load between the two nodes in the slice instance that is lower than the corresponding two nodes in the current slice instance. The upper limit of the load that can be carried between them. When the Euclidean distance between any two nodes does not exist greater than the preset maximum Euclidean distance between nodes, it means that there is no resource occupation between the two nodes in the slice instance. The rate is greater than the lower limit of the acceptable resource occupancy rate between the corresponding two nodes in the current slice instance. It can be seen that the current slice instance can ensure the stable operation of the current business, so it is prohibited to trigger the reconstruction of the slice instance.

下面举实例来对上述一个或多个实施例所述的触发方法进行描述。The following is an example to describe the triggering method described in one or more of the above embodiments.

图3为本发明实施例提供的一种可选的触发方法的实例的流程示意图,如图3所示,本实例的切片重构触发方法部署在切片实例上线运行之后,切片实例下线之前,实现了标准切片生命周期下静态切片向弹性切片的演进;该触发方法可以包括:Figure 3 is a schematic flow chart of an example of an optional triggering method provided by an embodiment of the present invention. As shown in Figure 3, the slice reconstruction triggering method of this example is deployed after the slice instance goes online and before the slice instance goes offline. The evolution from static slicing to elastic slicing under the standard slicing life cycle is realized; the triggering method can include:

S301:切片服务开始后,首先从切片模板库中选择切片模板;其中,所选择的切片模板是与当前业务需求匹配的;S301: After the slicing service is started, first select a slicing template from the slicing template library; where the selected slicing template matches the current business requirements;

S302:根据选择的切片模板创建切片实例;S302: Create a slice instance according to the selected slice template;

S303:切片实例上线运行,承载业务需求。S303: The slicing instance goes online and carries business requirements.

具体来说,切片实例上线后,启动本发明提出的切片重构触发策略。Specifically, after the slice instance goes online, the slice reconstruction triggering strategy proposed by the present invention is started.

S304:判断切片服务是否结束;若为是,执行S305,若为否,执行S306;S304: Determine whether the slicing service has ended; if yes, execute S305; if no, execute S306;

S305:切片实例下线;执行S311;S305: The slice instance goes offline; execute S311;

S306:采用S策略采样,即对待训练的切片实例进行采用,得到训练样本;S306: Use S strategy sampling, that is, use the slice instances to be trained to obtain training samples;

S307:利用训练样本训练Node2Vec模型,得到训练好的Node2Vec模型;S307: Use the training samples to train the Node2Vec model and obtain the trained Node2Vec model;

S308:将切片实例输入至训练好的Node2Vec模型中,把切片实例映射到矢量空间,得到切片实例中节点的矢量;S308: Input the slice instance into the trained Node2Vec model, map the slice instance to the vector space, and obtain the vector of the node in the slice instance;

具体来说,切片重构触发策略首先基于S采样策略(相当于上述一个或多个实施例所述的采样方式)对当前切片进行采样,再用采集的样本训练Node2Vec模型,然后把切片输入训练好的模型得到切片结构及负载状态在低维矢量空间的映射结果。Specifically, the slice reconstruction triggering strategy first samples the current slice based on the S sampling strategy (equivalent to the sampling method described in one or more embodiments above), then uses the collected samples to train the Node2Vec model, and then inputs the slice into the training A good model obtains the mapping results of slice structure and load status in low-dimensional vector space.

需要指出的是,利用S策略所得的训练数据训练Node2Vec模型,该模型可将切片及切片负载从高维信息空间映射到二维矢量空间,每个虚节点都得到了其对应的二维矢量表示。由于在Node2Vec采样的偏置游走策略中融合了虚链路负载状态的信息,矢量间的欧式距离不仅能代表拓扑结构的连接相似性,也能代表两个虚节点间的负载状态。It should be pointed out that the training data obtained by the S strategy is used to train the Node2Vec model. This model can map slices and slice loads from high-dimensional information space to two-dimensional vector space. Each virtual node has its corresponding two-dimensional vector representation. . Since the virtual link load status information is integrated into the biased wandering strategy of Node2Vec sampling, the Euclidean distance between vectors can not only represent the connection similarity of the topology, but also the load status between two virtual nodes.

S309:计算节点之间的欧式距离,判断欧式距离中是否存在超出阈值的距离;若存在,执行S310,若不存在,执行S304;S309: Calculate the Euclidean distance between nodes and determine whether there is a distance exceeding the threshold in the Euclidean distance; if there is a distance that exceeds the threshold, execute S310; if not, execute S304;

S310:重构切片,即触发对切片实例的重构;S310: Reconstruct the slice, which triggers the reconstruction of the slice instance;

S311:回收资源,服务结束。S311: Recover resources and end the service.

具体来说,映射完成后开始阈值检查,查看是否存在超出阈值范围的矢量对。若存在,则重构当前切片,用重构后的切片取代当前运行的切片,并对重构后的切片继续执行重构触发策略的监测;若不存在,则对当前切片继续执行重构触发策略的监测。如果切片服务结束,则将切片实例下线,并回收分配给切片的所有资源,结束本次服务。Specifically, after the mapping is completed, a threshold check is started to see if there are any vector pairs that exceed the threshold range. If it exists, reconstruct the current slice, replace the currently running slice with the reconstructed slice, and continue to monitor the reconstruction trigger strategy for the reconstructed slice; if it does not exist, continue to execute the reconstruction trigger for the current slice. Monitoring of strategies. If the slicing service ends, the slicing instance will be taken offline, all resources allocated to the slicing will be recovered, and the service will end.

针对阈值检查,具体来说,如果两个节点间存在虚链路连接或它们之间的业务负载较重都可能导致它们在矢量空间中对应矢量对的欧氏距离变近,基于这种变化关系,本实例的切片状态监测算法将设立两个阈值,阈值Tmin代表矢量空间中可接受的最小矢量距离,其现实意义是当前切片实例中对应两个节点之间所能承载的负载上限,当监测到矢量空间中出现了小于Tmin的欧氏距离时,将触发切片重构。阈值Tmax代表矢量空间中可接受的最大矢量距离,其现实意义是切片实例中对应两个节点之间可接受的资源占用率下限,当监测到矢量空间中出现了大于Tmax的欧氏距离时,将会触发切片重构。两种情况下触发切片重构的区别是前者在重构时会为新的切片实例分配比现有切片实例更多的承载资源,而后者会分配比现有切片实例更少的承载资源。For the threshold check, specifically, if there is a virtual link connection between two nodes or the business load between them is heavy, it may cause the Euclidean distance of their corresponding vector pairs in the vector space to become closer. Based on this changing relationship , the slice status monitoring algorithm of this example will set up two thresholds. The threshold T min represents the minimum acceptable vector distance in the vector space. Its practical significance is the upper limit of the load that can be carried between the corresponding two nodes in the current slice instance. When When a Euclidean distance smaller than T min is detected in the vector space, slice reconstruction will be triggered. The threshold T max represents the maximum acceptable vector distance in the vector space. Its practical significance is the lower limit of acceptable resource usage between the corresponding two nodes in the slice instance. When a Euclidean distance greater than T max is detected in the vector space, , slice reconstruction will be triggered. The difference between triggering slice reconstruction in the two cases is that the former will allocate more bearing resources to the new slice instance than the existing slice instance during reconstruction, while the latter will allocate less bearing resources than the existing slice instance.

也就是说,本实例提出了一种基于Node2Vec的切片状态监测方法,通过将切片结构和切片负载从高维信息空间映射到二维矢量空间,降低了存储切片结构及切片状态所需的空间复杂度,降低了监测切片结构及切片状态的空间成本,提高了管理切片结构及切片状态的效率,采用基于二维矢量空间的切片重构触发决策,在Node2Vec算法输出的二维矢量图中,矢量与切片拓扑中的节点存在一一对应关系,矢量关系反映了切片智利中节点之间的拓扑结构和负载状态,将矢量间的关系运算结果作为重构触发的判断标准实现了切片结构和负载的多维信息融合决策,提高了决策的准确性,采用采样策略S,通过在Node2Vec模型采样阶段引入偏置参数wvx,使采样所得的节点序列样本能够训练出融合切片结构和负载状态的映射模型,为Node2Vec模型在切片表示和监测领域的应用提供了实现方案。In other words, this example proposes a slice status monitoring method based on Node2Vec. By mapping the slice structure and slice load from a high-dimensional information space to a two-dimensional vector space, it reduces the space complexity required to store the slice structure and slice status. degree, which reduces the space cost of monitoring slice structure and slice status, improves the efficiency of managing slice structure and slice status, and adopts slice reconstruction triggering decision-making based on two-dimensional vector space. In the two-dimensional vector image output by the Node2Vec algorithm, the vector There is a one-to-one correspondence with the nodes in the slice topology. The vector relationship reflects the topology structure and load status between the nodes in the slice Chile. The relationship operation results between vectors are used as the judgment criteria for reconstruction triggering to realize the slicing structure and load. Multi-dimensional information fusion decision-making improves the accuracy of decision-making. The sampling strategy S is adopted. By introducing the bias parameter w vx in the Node2Vec model sampling stage, the sampled node sequence samples can train a mapping model that fuses the slice structure and load status. Provides an implementation solution for the application of Node2Vec model in the field of slice representation and monitoring.

本发明所提供的一种触发方法,该方法包括:获取网络切片的切片实例,将切片实例输入至训练好的Node2Vec模型中,输出得到切片实例中节点的矢量,其中,节点的矢量元素包括:用于表示节点结构的量和用于表示节点负载的量,根据节点的矢量,确定触发对切片实例的重构;也就是说,在本发明中,在获取到网络切片的切片实例之后,将切片实例输入至训练好的Node2Vec模型中,能够得到切片实例的节点的矢量,由于得到的矢量中包含有用于表示节点结构和节点负载的量,并且,基于节点的矢量可以反映出切片的结构和切片的负载情况,那么,根据节点的矢量来确定是否触发切片实例的重构中,由于节点的矢量具有两个维度,利用两个维度的矢量降低了确定是否触发切片实例的重构的复杂度,从而提高了网络切片是否需要重构的决策效率,进而提高了网络切片进行重构的重构效率。The invention provides a triggering method, which method includes: obtaining a slice instance of a network slice, inputting the slice instance into a trained Node2Vec model, and outputting a vector of nodes in the slice instance, where the vector elements of the node include: The amount used to represent the node structure and the amount used to represent the node load are determined to trigger the reconstruction of the slice instance according to the vector of the node; that is to say, in the present invention, after obtaining the slice instance of the network slice, the When the slice instance is input into the trained Node2Vec model, the vector of the node of the slice instance can be obtained, because the obtained vector contains quantities used to represent the node structure and node load, and the node-based vector can reflect the structure and structure of the slice. The load condition of the slice, then, determine whether to trigger the reconstruction of the slice instance based on the vector of the node. Since the vector of the node has two dimensions, using the vector of two dimensions reduces the complexity of determining whether to trigger the reconstruction of the slice instance. , thereby improving the decision-making efficiency of whether network slices need to be reconstructed, and thus improving the reconstruction efficiency of network slices for reconstruction.

实施例二Embodiment 2

基于同一发明构思,本发明实施例提供一种触发装置,图4为本发明实施例中的一种可选的触发装置的结构示意图,如图4所示,该触发装置包括:获取模块41、处理模块42和触发模块43;Based on the same inventive concept, an embodiment of the present invention provides a trigger device. Figure 4 is a schematic structural diagram of an optional trigger device in the embodiment of the present invention. As shown in Figure 4, the trigger device includes: an acquisition module 41, processing module 42 and trigger module 43;

其中,获取模块41,用于获取网络切片的切片实例;Among them, the acquisition module 41 is used to obtain the slice instance of the network slice;

处理模块42,用于将切片实例输入至训练好的Node2Vec模型中,输出得到切片实例中节点的矢量;其中,节点的矢量元素包括:用于表示节点结构的量和用于表示节点负载的量;The processing module 42 is used to input the slice instance into the trained Node2Vec model, and output the vector of the node in the slice instance; wherein the vector elements of the node include: an amount used to represent the node structure and an amount used to represent the node load. ;

触发模块43,用于根据节点的矢量,确定是否触发对切片实例的重构。The trigger module 43 is used to determine whether to trigger the reconstruction of the slice instance according to the vector of the node.

在一种可选的实施例中,上述装置还用于:In an optional embodiment, the above device is also used for:

采用如下方式得到训练好的Node2Vec模型:Use the following method to get the trained Node2Vec model:

从待训练的切片实例中获取起始节点和起始节点的下一跳节点,将下一跳节点确定为当前节点,并设置采样次数i的初始值为1;Obtain the starting node and the next hop node of the starting node from the slice instance to be trained, determine the next hop node as the current node, and set the initial value of the sampling number i to 1;

获取当前节点的相邻节点;Get the adjacent nodes of the current node;

当i小于采样步长时,按照预设的偏置游走概率算法,计算当前节点与相邻节点的偏置游走概率;其中,预设的偏置游走概率是与当前时刻采用切片实例时的当前业务的网络性能参数成正相关的;When i is less than the sampling step size, the bias walk probability of the current node and the adjacent node is calculated according to the preset bias walk probability algorithm; where the preset offset walk probability is the same as the current moment using the slice instance are positively correlated with the network performance parameters of the current business;

将计算出的偏置游走概率按照由大到小进行排序,并选取排在前M个的相邻节点,将选取出的相邻节点确定为当前节点,i更新为i+1,返回执行获取当前节点的相邻节点;其中,M为小于相邻节点的个数的正整数;Sort the calculated bias wander probabilities from large to small, select the top M adjacent nodes, determine the selected adjacent nodes as the current node, update i to i+1, and return to execution Get the adjacent nodes of the current node; where M is a positive integer smaller than the number of adjacent nodes;

当i大于等于采样步长时,将采样得到的至少两组节点序列输入至预设的Node2Vec模型中进行训练,得到训练好的Node2Vec模型。When i is greater than or equal to the sampling step, input at least two sets of sampled node sequences into the preset Node2Vec model for training to obtain a trained Node2Vec model.

在一种可选的实施例中,当前业务的网络性能参数包括以下一项或多项:In an optional embodiment, the network performance parameters of the current service include one or more of the following:

当前业务的平均占用带宽,当前业务的平均消息时延和当前业务的平均丢包率。The average occupied bandwidth of the current business, the average message delay of the current business, and the average packet loss rate of the current business.

在一种可选的实施例中,上述装置还用于:In an optional embodiment, the above device is also used for:

采用上述公式(1)-公式(3)计算得到当前节点至相邻节点的偏置游走概率πvxThe bias walking probability π vx from the current node to the adjacent node is calculated using the above formula (1)-formula (3).

在一种可选的实施例中,上述触发模块43具体用于:In an optional embodiment, the above-mentioned trigger module 43 is specifically used to:

根据节点的矢量,计算切片实例中任意两个节点之间的欧式距离;Calculate the Euclidean distance between any two nodes in the slice instance based on the node's vector;

当任意两个节点之间的欧式距离满足预设条件时,触发对切片实例的重构。When the Euclidean distance between any two nodes meets the preset conditions, the reconstruction of the slice instance is triggered.

在一种可选的实施例中,当任意两个节点之间的欧式距离满足预设条件时,上述触发模块43触发对切片实例的重构中,包括:In an optional embodiment, when the Euclidean distance between any two nodes meets the preset condition, the above-mentioned triggering module 43 triggers the reconstruction of the slice instance, including:

当任意两个节点之间的欧式距离中存在小于预设的节点间最小欧氏距离的距离时,触发对切片实例的重构。When the Euclidean distance between any two nodes is less than the preset minimum Euclidean distance between nodes, the reconstruction of the slice instance is triggered.

在一种可选的实施例中,当任意两个节点之间的欧式距离满足预设条件时,上述触发模块43触发对切片实例的重构中,包括:In an optional embodiment, when the Euclidean distance between any two nodes meets the preset condition, the above-mentioned triggering module 43 triggers the reconstruction of the slice instance, including:

当任意两个节点之间的欧式距离中存在大于预设的节点间最大欧氏距离的距离时,触发对切片实例的重构。When the Euclidean distance between any two nodes is greater than the preset maximum Euclidean distance between nodes, the reconstruction of the slice instance is triggered.

在一种可选的实施例中,上述装置还用于:In an optional embodiment, the above device is also used for:

当任意两个节点之间的欧式距离中不存在小于预设的节点间最小欧氏距离的距离,且任意两个节点之间的欧式距离中不存在大于预设的节点间最大欧氏距离的距离时,禁止触发对切片实例的重构。When there is no Euclidean distance between any two nodes that is less than the preset minimum Euclidean distance between nodes, and there is no Euclidean distance between any two nodes that is greater than the preset maximum Euclidean distance between nodes. distance, prohibit triggering reconstruction of slice instances.

在实际应用中,上述获取模块41、处理模块42和触发模块43可由位于设备上的处理器实现,具体为中央处理器(CPU,Central Processing Unit)、微处理器(MPU,Microprocessor Unit)、数字信号处理器(DSP,Digital Signal Processing)或现场可编程门阵列(FPGA,Field Programmable Gate Array)等实现。In practical applications, the above-mentioned acquisition module 41, processing module 42 and trigger module 43 can be implemented by a processor located on the device, specifically a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Microprocessor Unit), a digital Signal processor (DSP, Digital Signal Processing) or Field Programmable Gate Array (FPGA, Field Programmable Gate Array) and other implementations.

图5为本发明实施例提供的一种可选的设备的结构示意图,如图5所示,本发明实施例提供了一种设备500,包括:Figure 5 is a schematic structural diagram of an optional device provided by an embodiment of the present invention. As shown in Figure 5, an embodiment of the present invention provides a device 500, which includes:

处理器51以及存储有所述处理器51可执行指令的存储介质52,所述存储介质52通过通信总线53依赖所述处理器51执行操作,当所述指令被所述处理器51执行时,执行上述实施例一所述的触发方法。The processor 51 and the storage medium 52 storing instructions executable by the processor 51. The storage medium 52 relies on the processor 51 to perform operations through the communication bus 53. When the instructions are executed by the processor 51, Execute the triggering method described in the first embodiment above.

需要说明的是,实际应用时,终端中的各个组件通过通信总线53耦合在一起。可理解,通信总线53用于实现这些组件之间的连接通信。通信总线53除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图5中将各种总线都标为通信总线53。It should be noted that in actual application, various components in the terminal are coupled together through the communication bus 53 . It can be understood that the communication bus 53 is used to implement connection communication between these components. In addition to the data bus, the communication bus 53 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the various buses are labeled as communication bus 53 in FIG. 5 .

本发明实施例提供了一种计算机存储介质,存储有可执行指令,当所述可执行指令被一个或多个处理器执行的时候,所述处理器执行实施例一所述的触发方法。An embodiment of the present invention provides a computer storage medium that stores executable instructions. When the executable instructions are executed by one or more processors, the processor executes the triggering method described in Embodiment 1.

其中,计算机可读存储介质可以是磁性随机存取存储器(ferromagnetic randomaccess memory,FRAM)、只读存储器(Read Only Memory,ROM)、可编程只读存储器(Programmable Read-Only Memory,PROM)、可擦除可编程只读存储器(ErasableProgrammable Read-Only Memory,EPROM)、电可擦除可编程只读存储器(ElectricallyErasable Programmable Read-Only Memory,EEPROM)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(Compact Disc Read-Only Memory,CD-ROM)等存储器。Among them, the computer-readable storage medium can be magnetic random access memory (ferromagnetic random access memory, FRAM), read only memory (Read Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable memory In addition to programmable read-only memory (ErasableProgrammable Read-Only Memory, EPROM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), flash memory (Flash Memory), magnetic surface memory, optical disks, Or memory such as Compact Disc Read-Only Memory (CD-ROM).

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, etc.) embodying computer-usable program code therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing device produce a use A device for realizing the functions specified in one process or multiple processes of the flowchart and/or one block or multiple blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction means, the instructions The device implements the functions specified in a process or processes of the flowchart and/or a block or blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device. Instructions provide steps for implementing the functions specified in a process or processes of a flowchart diagram and/or a block or blocks of a block diagram.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the scope of the present invention.

Claims (9)

1. A method of triggering, comprising:
after the slice instance is online, acquiring a slice instance of the network slice; the slice instance is created according to a slice template matched with the current service requirement;
Inputting the topological graph of the slice example into a trained Node2Vec model, and outputting a vector of a Node in the slice example; wherein the vector elements of the node include: an amount representing the structure of the node and an amount representing the load of the node;
determining whether to trigger reconstruction of the slice instance according to the vector of the node; the trained Node2Vec model is obtained by the following steps:
acquiring a starting node and a next-hop node of the starting node from a slice example to be trained, determining the next-hop node as a current node, and setting an initial value of sampling times i to be 1;
acquiring adjacent nodes of the current node;
when i is smaller than the sampling step length, calculating the offset migration probability of the current node and the adjacent node according to a preset offset migration probability algorithm; the preset bias migration probability is positively correlated with network performance parameters of the current service when the slice instance is adopted at the current moment;
sequencing the calculated offset walk probability according to the order from large to small, selecting the adjacent nodes ranked in the previous M, determining the selected adjacent nodes as current nodes, updating i to be i+1, and returning to execute the adjacent nodes for acquiring the current nodes; wherein M is a positive integer less than the number of adjacent nodes;
When i is greater than or equal to the sampling step length, inputting at least two groups of Node sequences obtained by sampling into a preset Node2Vec model for training to obtain the trained Node2Vec model;
the determining whether to trigger the reconstruction of the slice instance according to the vector of the node comprises:
according to the vector of the nodes, calculating the Euclidean distance between any two nodes in the slice example;
and triggering the reconstruction of the slice instance when the Euclidean distance between any two nodes meets a preset condition.
2. The method of claim 1, wherein the network performance parameters of the current service include one or more of:
the average occupied bandwidth of the current service, the average message delay of the current service and the average packet loss rate of the current service.
3. A method according to claim 1 or 2, wherein the bias walk probability of the current node to the adjacent node is calculated using the formula
Wherein v represents the current node, t represents the neighboring node of the current node, W 0 Representing the average occupied bandwidth of the current service at the current moment, T 0 Average message delay representing current business at current moment E 0 Represents the average packet loss rate, k of the current service at the current moment W Is W 0 Is (k) the estimated level of (k) T Is T 0 Is (k) the estimated level of (k) E Is E 0 Is used to determine the estimated level of (1),representing the shortest number of hops that node t needs to jump to node x.
4. The method of claim 1, wherein triggering the reconstruction of the slice instance when the euclidean distance between any two nodes satisfies a preset condition comprises:
and triggering the reconstruction of the slice instance when the Euclidean distance between any two nodes is smaller than the preset minimum Euclidean distance between the nodes.
5. The method of claim 1, wherein triggering the reconstruction of the slice instance when the euclidean distance between any two nodes satisfies a preset condition comprises:
and triggering the reconstruction of the slice instance when the Euclidean distance between any two nodes is larger than the preset maximum Euclidean distance between the nodes.
6. The method according to claim 1, wherein the method further comprises:
and when no distance smaller than the preset minimum Euclidean distance between the nodes exists in the Euclidean distance between any two nodes, and no distance larger than the preset maximum Euclidean distance between the nodes exists in the Euclidean distance between any two nodes, triggering the reconstruction of the slice instance is forbidden.
7. A triggering device, the device comprising:
the acquisition module is used for acquiring the slice instance of the network slice after the slice instance is online; the slice instance is created according to a slice template matched with the current service requirement; the processing module is used for inputting the topological graph of the slice example into a trained Node2Vec model and outputting a vector of a Node in the slice example; wherein the vector elements of the node include: an amount representing the structure of the node and an amount representing the load of the node;
the triggering module is used for determining whether to trigger the reconstruction of the slice instance according to the vector of the node; triggering the reconstruction of the slice instance when the Euclidean distance between any two nodes meets a preset condition;
the trained Node2Vec model is obtained by adopting the following modes:
acquiring a starting node and a next-hop node of the starting node from a slice example to be trained, determining the next-hop node as a current node, and setting an initial value of sampling times i to be 1;
acquiring adjacent nodes of the current node;
when i is smaller than the sampling step length, calculating the offset migration probability of the current node and the adjacent node according to a preset offset migration probability algorithm; the preset bias migration probability is positively correlated with network performance parameters of the current service when the slice instance is adopted at the current moment;
Sequencing the calculated offset walk probability according to the order from large to small, selecting the adjacent nodes ranked in the previous M, determining the selected adjacent nodes as current nodes, updating i to be i+1, and returning to execute the adjacent nodes for acquiring the current nodes; wherein M is a positive integer less than the number of adjacent nodes;
when i is greater than or equal to the sampling step length, inputting at least two groups of Node sequences obtained by sampling into a preset Node2Vec model for training, and obtaining the trained Node2Vec model.
8. An apparatus, the apparatus comprising:
a processor and a storage medium storing instructions executable by the processor, the storage medium performing operations in dependence on the processor through a communication bus, the instructions, when executed by the processor, performing the triggering method of any one of claims 1 to 6.
9. A computer storage medium storing executable instructions which, when executed by one or more processors, perform the triggering method of any one of claims 1 to 6.
CN202110397103.6A 2021-04-13 2021-04-13 A triggering method, device, equipment and computer storage medium Active CN115209431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110397103.6A CN115209431B (en) 2021-04-13 2021-04-13 A triggering method, device, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110397103.6A CN115209431B (en) 2021-04-13 2021-04-13 A triggering method, device, equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN115209431A CN115209431A (en) 2022-10-18
CN115209431B true CN115209431B (en) 2023-10-27

Family

ID=83570403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110397103.6A Active CN115209431B (en) 2021-04-13 2021-04-13 A triggering method, device, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN115209431B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018184666A1 (en) * 2017-04-04 2018-10-11 Telefonaktiebolaget Lm Ericsson (Publ) Training a software agent to control a communication network
CN108965024A (en) * 2018-08-01 2018-12-07 重庆邮电大学 A kind of virtual network function dispatching method of the 5G network slice based on prediction
CN110213780A (en) * 2018-02-28 2019-09-06 中兴通讯股份有限公司 Management method, management and the layout entity and storage medium of network slice
CN110881207A (en) * 2019-10-31 2020-03-13 华为技术有限公司 Network slice selection method and related product
WO2020057261A1 (en) * 2018-09-17 2020-03-26 华为技术有限公司 Communication method and apparatus
CN110958666A (en) * 2019-11-20 2020-04-03 无锡北邮感知技术产业研究院有限公司 Network slice resource mapping method based on reinforcement learning
CN111083744A (en) * 2019-12-31 2020-04-28 北京思特奇信息技术股份有限公司 Network slicing method, device, storage medium and equipment
CN111866953A (en) * 2019-04-26 2020-10-30 中国移动通信有限公司研究院 A kind of network resource allocation method, device and storage medium
WO2020258920A1 (en) * 2019-06-26 2020-12-30 华为技术有限公司 Network slice resource management method and apparatus
CN112613230A (en) * 2020-12-15 2021-04-06 云南电网有限责任公司 Network slice resource dynamic partitioning method and device based on neural network

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018184666A1 (en) * 2017-04-04 2018-10-11 Telefonaktiebolaget Lm Ericsson (Publ) Training a software agent to control a communication network
CN110213780A (en) * 2018-02-28 2019-09-06 中兴通讯股份有限公司 Management method, management and the layout entity and storage medium of network slice
CN108965024A (en) * 2018-08-01 2018-12-07 重庆邮电大学 A kind of virtual network function dispatching method of the 5G network slice based on prediction
WO2020057261A1 (en) * 2018-09-17 2020-03-26 华为技术有限公司 Communication method and apparatus
CN111866953A (en) * 2019-04-26 2020-10-30 中国移动通信有限公司研究院 A kind of network resource allocation method, device and storage medium
WO2020258920A1 (en) * 2019-06-26 2020-12-30 华为技术有限公司 Network slice resource management method and apparatus
CN110881207A (en) * 2019-10-31 2020-03-13 华为技术有限公司 Network slice selection method and related product
CN110958666A (en) * 2019-11-20 2020-04-03 无锡北邮感知技术产业研究院有限公司 Network slice resource mapping method based on reinforcement learning
CN111083744A (en) * 2019-12-31 2020-04-28 北京思特奇信息技术股份有限公司 Network slicing method, device, storage medium and equipment
CN112613230A (en) * 2020-12-15 2021-04-06 云南电网有限责任公司 Network slice resource dynamic partitioning method and device based on neural network

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
基于AI的5G网络切片管理技术研究;徐丹;王海宁;袁祥枫;朱雪田;;电子技术应用(01);全文 *
基于多智体强化学习的接入网络切片动态切换;秦爽;赵冠群;冯钢;;电子科技大学学报(02);全文 *
基于强化学习的5G网络切片虚拟网络功能迁移算法;唐伦;周钰;谭颀;魏延南;陈前斌;;电子与信息学报(03);全文 *

Also Published As

Publication number Publication date
CN115209431A (en) 2022-10-18

Similar Documents

Publication Publication Date Title
CN108260169B (en) A Dynamic Deployment Method of Service Function Chain Based on QoS Guarantee
CN113098714A (en) Low-delay network slicing method based on deep reinforcement learning
CN113194034A (en) Route optimization method and system based on graph neural network and deep reinforcement learning
US12165020B2 (en) Load balancing using data-efficient learning
CN112560204A (en) Optical network route optimization method based on LSTM deep learning and related device thereof
Yang et al. Deep reinforcement learning based wireless network optimization: A comparative study
US11652709B2 (en) Managing computation load in a fog network
WO2024066626A1 (en) Route planning method and apparatus for real time audio/video network
CN113516501A (en) User communication behavior prediction method and device based on graph neural network
Esmat et al. Deep reinforcement learning based dynamic edge/fog network slicing
Michaelis et al. Predicting next network cell IDs for moving users with Discriminative and Generative Models
CN111181792A (en) SDN controller deployment method and device based on network topology and electronic equipment
CN116389266A (en) Method and device for slicing digital twin network based on reinforcement learning
CN116339932A (en) Resource scheduling method, device and server
CN118802720A (en) Network path optimization method, device, equipment, storage medium and program product
Nguyen et al. Efficient virtual network embedding with node ranking and intelligent link mapping
Yao et al. Multi-agent reinforcement learning for network load balancing in data center
Bensalem et al. Towards optimal serverless function scaling in edge computing network
CN115843050A (en) Network slice configuration method and system, computer storage medium
CN115209431B (en) A triggering method, device, equipment and computer storage medium
Shehu et al. Fruit fly optimization algorithm for network-aware web service composition in the cloud
CN106406082B (en) System control method, device, controller and control system
CN116614377A (en) Method and device for dynamic configuration of UAV swarm service function chain
CN117097663A (en) Method and device for generating block chain network communication link based on path search
CN115361692B (en) Control method and system for software-defined Internet of things

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