CN111263404B - Load control method, device and system - Google Patents
Load control method, device and system Download PDFInfo
- Publication number
- CN111263404B CN111263404B CN201811456967.5A CN201811456967A CN111263404B CN 111263404 B CN111263404 B CN 111263404B CN 201811456967 A CN201811456967 A CN 201811456967A CN 111263404 B CN111263404 B CN 111263404B
- Authority
- CN
- China
- Prior art keywords
- network element
- target
- network
- group
- selection
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/12—Wireless traffic scheduling
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种负载管控的方法、装置及系统。The present application relates to the field of communication technologies, and in particular, to a method, device and system for load management and control.
背景技术Background technique
第五代(5th-Generation,5G)通信系统支持数据连接和业务使能部署。5G系统中,各个网络功能网元之间可以基于服务进行交互。网络存储功能(Network RepositoryFunction,NRF)网元提供网络功能(network function,NF)网元服务的注册、发现等功能。每个NF可以将自己的描述信息(NF Profile)和提供的服务注册到NRF上。当某个NF服务消费者需要调用服务时,可以向NRF发起服务发现请求,NRF将满足查询条件的NF服务提供者列表返回给NF服务消费者,NF服务消费者进一步获得列表中NF服务提供者的描述信息,从而使得NF服务消费者可以根据NF服务提供者的描述信息及本地配置,选出一个目标NF服务提供者,并发起服务请求。The fifth generation (5th-Generation, 5G) communication system supports data connection and service enabling deployment. In the 5G system, the network elements of various network functions can interact based on services. A Network Repository Function (NRF) network element provides functions such as registration and discovery of network function (NF) network element services. Each NF can register its own description information (NF Profile) and provided services to the NRF. When a NF service consumer needs to invoke a service, it can initiate a service discovery request to the NRF, and the NRF returns the list of NF service providers that meet the query conditions to the NF service consumer, and the NF service consumer further obtains the NF service providers in the list. The description information of the NF service provider, so that the NF service consumer can select a target NF service provider according to the description information and local configuration of the NF service provider, and initiate a service request.
上述的服务发现流程中,NF服务消费者的选择算法是特有的,NF Profile中定义的信息并不能完全决定目标NF服务提供者的选择,也就是说,每个NF服务消费者选择目标NF服务提供者并不是完全可控的,因此现有技术无法对某个NF的负载进行统一的管控,进一步,现有技术也很难完全满足弹性扩缩容、故障或升级等场景下对NF的负载进行管控的需求。In the above service discovery process, the selection algorithm of NF service consumers is unique, and the information defined in the NF Profile cannot completely determine the selection of the target NF service provider, that is, each NF service consumer selects the target NF service. The provider is not completely controllable, so the existing technology cannot uniformly control the load of a certain NF. Furthermore, the existing technology is also difficult to fully meet the load of the NF in scenarios such as elastic expansion and contraction, failure or upgrade. the need for control.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种负载管控的方法、装置及系统,用于实现对网络功能网元负载的管控。The present application provides a method, device and system for load management and control, which are used to realize the management and control of the load of network function network elements.
第一方面,本申请提供了一种负载的管控方法,该方法包括:网络存储网元接收来自第一网元的第一请求;所述网络存储网元根据所述第一请求,获知需要提供目标第二网元组的选择策略,所述选择策略用于选择所述目标第二网元组内的目标第二网元;所述网络存储网元根据所述目标第二网元组内一个或多个第二网元的运行信息,确定所述选择策略;所述网络存储网元向所述第一网元发送所述选择策略。In a first aspect, the present application provides a load management and control method, the method includes: a network storage network element receives a first request from a first network element; and the network storage network element learns, according to the first request, that it needs to provide a selection strategy of the target second network element group, where the selection strategy is used to select a target second network element in the target second network element group; the network storage network element or the operation information of multiple second network elements, to determine the selection strategy; the network storage network element sends the selection strategy to the first network element.
通过上述方法,网络存储网元根据目标第二网元组内第二网元的运行信息确定选择策略,并提供给第一网元,第一网元按照该选择策略选择目标第二网元组内的目标第二网元,实现了网络存储网元对第二网元负载的统一管理,避免了第一网元按照各自特有的算法进行选择造成第二网元负载不可控的情况。进一步地,当目标第二网元组内一个或多个第二网元运行发生变化时,网络存储网元可以根据运行变化及时调整选择策略,实现对第二网元负载快速、高效的控制,降低管理、运营和维护的成本。Through the above method, the network storage network element determines a selection strategy according to the operation information of the second network element in the target second network element group, and provides it to the first network element, and the first network element selects the target second network element group according to the selection strategy The second network element in the target network realizes the unified management of the load of the second network element by the network storage network element, and avoids the uncontrollable load of the second network element caused by the selection of the first network element according to its own unique algorithm. Further, when the operation of one or more second network elements in the target second network element group changes, the network storage network element can adjust the selection strategy in time according to the operation change, so as to realize fast and efficient control of the load of the second network element, Reduce management, operation and maintenance costs.
在一种可能的设计中,所述网络存储网元获取策略数据,所述策略数据包括一个或多个第一条件以及与所述第一条件对应的选择规则,所述网络存储网元确定策略数据中的目标第一条件以及与所述目标第一条件对应的目标选择规则;所述网络存储网元根据所述目标第二网元组内一个或多个第二网元的运行信息,确定满足所述目标第一条件的第二网元;所述网络存储网元确定所述选择策略为:按所述目标选择规则在满足所述目标第一条件的第二网元中进行选择。In a possible design, the network storage network element obtains policy data, the policy data includes one or more first conditions and selection rules corresponding to the first conditions, and the network storage network element determines the policy The target first condition in the data and the target selection rule corresponding to the target first condition; the network storage network element determines, according to the operation information of one or more second network elements in the target second network element group, A second network element that satisfies the first condition of the target; the network storage network element determines the selection strategy as: selecting from the second network elements that meet the first condition of the target according to the target selection rule.
在上述可能的设计中,所述网络存储网元根据目标第二网元组内一个或多个第二网元的运行信息和/或所述第一请求,以及所述策略数据确定目标第一条件以及与所述第一条件对应的目标选择规则。In the above possible design, the network storage network element determines the target first network element according to the operation information of one or more second network elements in the target second network element group and/or the first request and the policy data condition and a target selection rule corresponding to the first condition.
在上述可能的设计中,所述网络存储网元获取来自运维系统的所述策略数据,或所述网络存储网元获取来自所述目标第二网元组内一个或多个第二网元的所述策略数据。In the above possible design, the network storage network element obtains the policy data from the operation and maintenance system, or the network storage network element obtains data from one or more second network elements in the target second network element group of the policy data.
其中,所述第一条件包括以下任意一项或多项:网络切片类型、用户类型、版本、位置。Wherein, the first condition includes any one or more of the following: network slice type, user type, version, and location.
所述选择规则包括以下任意一项或多项:轮询选择、随机选择、加权选择、根据对象组选择、根据客户端业务标识选择。The selection rules include any one or more of the following: polling selection, random selection, weighted selection, selection based on object groups, and selection based on client service identifiers.
在一种可能的设计中,所述网络存储网元根据所述目标第二网元组内一个或多个第二网元的运行信息,确定所述选择策略包括两种方式:In a possible design, the network storage network element determines the selection strategy according to the operation information of one or more second network elements in the target second network element group, including two ways:
方式一:所述网络存储网元获知所述目标第二网元组内一个或多个第二网元的运行信息,所述运行信息包括运行状态的信息;所述网络存储网元根据所述目标第二网元组内一个或多个第二网元运行状态的信息,确定第一选择策略。Manner 1: The network storage network element acquires the operation information of one or more second network elements in the target second network element group, where the operation information includes information of the operation state; the network storage network element obtains the operation information according to the The information on the running status of one or more second network elements in the target second network element group determines the first selection strategy.
通过上述方式一,网络存储网元根据目标第二网元组内第二网元的运行状态信息确定第一选择策略,并提供给第一网元,第一网元按照该第一选择策略选择目标第二网元组内的目标第二网元,实现了网络存储网元对第二网元负载的统一管理,避免了第一网元按照各自特有的算法进行选择造成第二网元负载不可控的情况。In the
方式二:所述网络存储网元获知所述目标第二网元组内一个或多个第二网元的运行信息,所述运行信息包括运行变化的信息;所述网络存储网元根据所述目标第二网元组内一个或多个第二网元运行变化的信息,确定第二选择策略。Manner 2: The network storage network element acquires the operation information of one or more second network elements in the target second network element group, where the operation information includes operation change information; The information on the operation change of one or more second network elements in the target second network element group is used to determine the second selection strategy.
通过上述方式二,目标第二网元组内一个或多个第二网元运行发生变化时,网络存储网元可以根据运行变化及时调整选择策略,实现对第二网元负载快速、高效的控制,降低管理、运营和维护的成本。Through the
在方式一的一种可能的设计中,所述网络存储网元获取公共资源组的列表;所述网络存储网元将所述公共资源组分配给所述目标第二网元组内第二网元;所述网络存储网元根据所述目标第二网元组内一个或多个第二网元运行状态的信息,所述运行状态的信息包括所述目标第二网元组内第二网元对应的所述分配后的公共资源组,确定所述第一选择策略,所述第一选择策略包括所述目标第二网元组内第二网元对应的所述分配后的公共资源组。In a possible design of Manner 1, the network storage network element obtains a list of public resource groups; the network storage network element allocates the public resource group to the second network in the target second network element group element; the network storage network element is based on information on the operation status of one or more second network elements in the target second network element group, and the operation status information includes the second network element in the target second network element group. element corresponding to the allocated public resource group, and determine the first selection strategy, where the first selection strategy includes the allocated public resource group corresponding to the second network element in the target second network element group .
在方式一的一种可能的设计中,所述第一请求包括第二服务类型,用于请求调用第二服务,则所述网络存储网元根据所述第一请求,获取第二服务类型对应的第二网元组的列表,所述第二网元组的列表包括目标第二网元组;所述网络存储网元获知需要提供目标第二网元组对应的所述第一选择策略。In a possible design of Manner 1, the first request includes a second service type, which is used to request to invoke the second service, and the network storage network element obtains the corresponding service type corresponding to the second service type according to the first request. The list of the second network element group, the list of the second network element group includes the target second network element group; the network storage network element learns that the first selection policy corresponding to the target second network element group needs to be provided.
在上述可能的设计中,所述网络存储网元向所述第一网元发送所述第二网元组的列表,具体可分为两种情况:In the above possible design, the network storage network element sends the list of the second network element group to the first network element, which can be specifically divided into two cases:
情况一:所述网络存储网元根据第一请求,获取第二服务类型对应的第二网元组的列表,以及获知需要提供第二网元组列表,及列表上的第二网元组分别对应的选择策略,所述第二网元组的列表包括目标第二网元组。所述网络存储网元向所述第一网元返回所述第二网元组的列表及其分别对应的选择策略,其中包括目标第二网元组及其第一选择策略。Case 1: The network storage network element obtains, according to the first request, a list of second network element groups corresponding to the second service type, and learns that a list of second network element groups needs to be provided, and the second network element groups on the list are respectively Corresponding to the selection strategy, the list of the second network element group includes the target second network element group. The network storage network element returns a list of the second network element groups and their corresponding selection policies to the first network element, including the target second network element group and its first selection policy.
情况二:所述网络存储网元根据第一请求,获取第二服务类型对应的第二网元组的列表,并向所述第一网元返回所述第二网元组的列表,所述第二网元组的列表包括目标第二网元组;所述网络存储网元接收来自所述第一网元的目标第二网元组的标识,并根据所述目标第二网元组的标识,获知需要提供目标第二网元组的选择策略,向所述第一网元返回第一选择策略。Scenario 2: The network storage network element obtains the list of second network element groups corresponding to the second service type according to the first request, and returns the list of the second network element groups to the first network element. The list of second network element groups includes the target second network element group; the network storage network element receives the identifier of the target second network element group from the first network element, and stores the target second network element group according to the identifier of the target second network element group. The identifier is obtained, the selection policy of the target second network element group needs to be provided, and the first selection policy is returned to the first network element.
在方式二的一种可能的设计中,所述第一请求包括目标第二网元组的标识,用于订阅目标第二网元组的选择策略,则所述网络存储网元根据所述目标第二网元组的标识,获知需要提供所述目标第二网元组对应的第二选择策略。In a possible design of Manner 2, the first request includes the identifier of the target second network element group, which is used for subscribing to the selection policy of the target second network element group, and the network storage network element according to the target second network element group The identifier of the second network element group, and it is learned that the second selection policy corresponding to the target second network element group needs to be provided.
在方式二的一种可能的设计中,如果所述运行变化包括公共资源组的重新分配,则所述网络存储网元将所述公共资源组重新分配给所述目标第二网元组内的第二网元,并根据所述第二网元组内的第二网元对应的新分配的公共资源组,确定第二选择策略,所述第二选择策略包括所述目标第二网元组内的第二网元对应的新分配的公共资源组。In a possible design of Manner 2, if the operational change includes reallocation of a common resource group, the network storage network element reallocates the common resource group to the target second network element group the second network element, and determine a second selection strategy according to the newly allocated public resource group corresponding to the second network element in the second network element group, where the second selection strategy includes the target second network element group The newly allocated public resource group corresponding to the second network element in the
第二方面,本申请提供了一种负载的管控方法,该方法包括:第一网元获知需要调用第二服务;所述第一网元获知目标第二网元组,所述目标第二网元组内的第二网元能够提供所述第二服务;所述第一网元获取来自所述网络存储网元的目标第二网元组的选择策略,所述选择策略用于选择目标第二网元组内的目标第二网元,所述选择策略为根据所述目标第二网元组内一个或多个第二网元的运行信息确定的;所述第一网元根据所述选择策略,确定目标第二网元。In a second aspect, the present application provides a load management and control method, the method includes: a first network element learns that a second service needs to be invoked; the first network element learns a target second network element group, the target second network element The second network element in the tuple can provide the second service; the first network element obtains the selection policy of the target second network element group from the network storage network element, and the selection policy is used to select the target first network element. The target second network element in the two network element group, the selection policy is determined according to the operation information of one or more second network elements in the target second network element group; the first network element is based on the The policy is selected, and the target second network element is determined.
通过上述方法,第一网元获取来自网络存储网元的选择策略,所述选择策略为根据所述目标第二网元组内一个或多个第二网元的运行信息确定的。第一网元按照该选择策略选择目标第二网元组内的目标第二网元,实现了网络存储网元对第二网元负载的统一管理,避免了第一网元按照各自特有的算法进行选择造成第二网元负载不可控的情况。进一步地,当目标第二网元组内一个或多个第二网元运行发生变化时,第一网元可以根据调整的选择策略选择目标第二网元,实现对第二网元负载快速、高效的控制,降低管理、运营和维护的成本。Through the above method, the first network element obtains the selection strategy from the network storage network element, and the selection strategy is determined according to the operation information of one or more second network elements in the target second network element group. The first network element selects the target second network element in the target second network element group according to the selection strategy, which realizes the unified management of the load of the second network element by the network storage network element, and avoids the first network element according to its own unique algorithm. The selection causes the load of the second network element to be uncontrollable. Further, when the operation of one or more second network elements in the target second network element group changes, the first network element can select the target second network element according to the adjusted selection strategy, so as to realize fast and efficient load on the second network element. Efficient control reduces management, operation and maintenance costs.
在一种可能的设计中,步骤第一网元获知需要调用第二服务,与步骤所述第一网元获知目标第二网元组以及所述第一网元获取来自所述网络存储网元的目标第二网元组的选择策略之间没有先后顺序关系。例如:第一网元可以获知需要调用第二服务后,再获取目标第二网元组以及目标第二网元组的选择策略;或者第一网元订阅获得目标第二网元组以及目标第二网元组的选择策略,然后再获知需要调用第二服务。In a possible design, the first network element learns that the second service needs to be invoked, and the first network element learns the target second network element group and the first network element obtains data from the network storage network element. There is no sequence relationship between the selection policies of the target second network element group. For example, the first network element can obtain the target second network element group and the selection policy of the target second network element group after learning that the second service needs to be invoked; or the first network element subscribes to obtain the target second network element group and the target second network element group. The selection strategy of the two network elements, and then learn that the second service needs to be invoked.
在一种可能的设计中,所述第一网元获取来自所述网络存储网元的选择策略包括两种方式:In a possible design, the first network element obtains the selection policy from the network storage network element in two ways:
方式一:所述运行信息包括运行状态的信息,则所述选择策略为第一选择策略,所述第一选择策略根据所述目标第二网元组内第二网元运行状态的信息和/或第一请求确定的。Manner 1: The operation information includes operation state information, and the selection policy is a first selection policy, and the first selection policy is based on the operation state information of the second network element in the target second network element group and/or or determined by the first request.
通过上述方式一,第一网元获取来自网络存储网元的第一选择策略,所述第一选择策略为根据所述目标第二网元组内第二网元一个或多个第二网元的运行状态的信息确定的。第一网元按照该第一选择策略选择目标第二网元组内的目标第二网元,实现了网络存储网元对第二网元负载的统一管理,避免了第一网元按照各自特有的算法进行选择造成第二网元负载不可控的情况。In the
在方式一的一种可能的设计中,所述第一网元向所述网络存储网元发送第一请求,所述第一请求包括第二服务类型,用于请求调用第二服务。In a possible design of Manner 1, the first network element sends a first request to the network storage network element, where the first request includes a second service type and is used to request to invoke the second service.
方式二:所述运行信息包括运行变化的信息,则所述选择策略为第二选择策略,所述第二选择策略根据所述目标第二网元组内一个或多个第二网元运行变化的信息确定。Mode 2: The operation information includes operation change information, and the selection strategy is a second selection strategy, and the second selection strategy is based on the operation changes of one or more second network elements in the target second network element group information is determined.
通过上述方式二,当目标第二网元组内一个或多个第二网元运行发生变化时,第一网元可以根据调整后的第二选择策略选择目标第二网元,实现对第二网元负载快速、高效的控制,降低管理、运营和维护的成本。Through the
在方式二的一种可能的设计中,所述第一网元向所述网络存储网元发送第一请求,所述第一请求包括所述目标第二网元组的标识,用于订阅所述目标第二网元组的选择策略。In a possible design of Manner 2, the first network element sends a first request to the network storage network element, where the first request includes the identifier of the target second network element group, which is used to subscribe to all network elements. Describe the selection strategy of the target second network element group.
在一种可能的设计中,所述选择策略包括目标选择规则,以及第二网元,所述第二网元的运行信息满足目标选择规则对应的目标第一条件;In a possible design, the selection strategy includes a target selection rule, and a second network element, and the operation information of the second network element satisfies the target first condition corresponding to the target selection rule;
则所述第一网元按所述目标选择规则在满足所述目标第一条件的第二网元中选择所述目标第二网元。Then, the first network element selects the target second network element from the second network elements that satisfy the target first condition according to the target selection rule.
在一种可能的设计中,所述第一网元接收第二请求,所述第二请求包括请求第一服务的类型,所述第一服务需要调用第二服务。In a possible design, the first network element receives a second request, where the second request includes the type of the requested first service, and the first service needs to call the second service.
其中,第一方面和第二方面中所述的选择策略,可以包括以下任意一项或多项:轮询选择及其选择范围内的第二网元、随机选择及其选择范围内的第二网元、加权选择及其选择范围内的第二网元、根据对象组选择及其选择范围内的第二网元、根据客户端业务标识选择及其选择范围内的第二网元。Wherein, the selection strategy described in the first aspect and the second aspect may include any one or more of the following: polling selection and the second network element within the selection range, random selection and the second network element within the selection range Network element, weighted selection and the second network element within the selection range, selection according to the object group and the second network element within the selection range, selection according to the client service identifier and the second network element within the selection range.
第一方面和第二方面中所述方法中,所述运行状态的信息可以包括以下任意一项或多项:目标第二网元组内第二网元的版本、目标第二网元组内第二网元的容量、目标第二网元组内第二网元的负荷、目标第二网元组内第二网元的位置、目标第二网元组内第二网元提供的服务的信息、目标第二网元组内第二网元的网络质量、目标第二网元组内第二网元公共资源的信息。In the methods described in the first aspect and the second aspect, the information on the running state may include any one or more of the following: the version of the second network element in the target second network element group, the version of the second network element in the target second network element group, the The capacity of the second network element, the load of the second network element in the target second network element group, the location of the second network element in the target second network element group, the service provided by the second network element in the target second network element group information, the network quality of the second network element in the target second network element group, and the information of the public resources of the second network element in the target second network element group.
第一方面和第二方面中所述方法中,所述运行变化的信息,可以包括以下任意一项或多项:扩容、缩容、升级、故障、公共资源的重新分配。In the methods described in the first aspect and the second aspect, the information about the operation change may include any one or more of the following: capacity expansion, capacity reduction, upgrade, failure, and reallocation of public resources.
第三方面,本申请提供了一种网络存储网元,所述网络存储网元具有实现上述第一方面中所述方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件和软件包括一个或多个与上述功能相对应的模块。In a third aspect, the present application provides a network storage network element, where the network storage network element has the function of implementing the method described in the first aspect above. The functions can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware and software include one or more modules corresponding to the above functions.
在一种可能的设计中,网络存储网元的结构中包括处理单元和通信单元,所述处理单元被配置为支持网络存储网元执行上述第一方面中所述的方法,所述通信单元用于支持所述网络存储网元与其他设备之间的通信。所述网络存储网元还可以包括存储单元,所述存储单元用于与处理单元耦合,其保存网络存储网元必要的程序指令和数据。作为示例,处理单元可以为处理器,通信单元可以为收发器,存储单元可以为存储器。In a possible design, the structure of the network storage network element includes a processing unit and a communication unit, the processing unit is configured to support the network storage network element to perform the method described in the first aspect, the communication unit uses to support communication between the network storage network element and other devices. The network storage network element may further include a storage unit, which is configured to be coupled with the processing unit and store necessary program instructions and data of the network storage network element. As an example, the processing unit may be a processor, the communication unit may be a transceiver, and the storage unit may be a memory.
在上述可能的设计中,通信单元包括接收单元、发送单元,这些单元可以执行上述第一方面中所述的方法,具体参见方法示例中的详细描述,不作赘述。In the above possible design, the communication unit includes a receiving unit and a sending unit, and these units can execute the method described in the first aspect. For details, please refer to the detailed description in the method example, which will not be repeated.
第四方面,本申请提供了一种装置(例如,该装置可以是芯片系统),该装置包括处理器,可以执行上述第一方面中所述的方法。In a fourth aspect, the present application provides an apparatus (eg, the apparatus may be a system-on-a-chip), the apparatus including a processor, and capable of executing the method described in the first aspect above.
在一种可能的设计中,该装置还包括存储器,用于保存必要的程序指令和数据。In one possible design, the apparatus further includes a memory for storing necessary program instructions and data.
第五方面,本申请提供了一种计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述第一方面中所述的方法。In a fifth aspect, the present application provides a computer program product which, when run on a computer, enables the computer to perform the method described in the first aspect above.
第六方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第一方面中所述的方法。In a sixth aspect, a computer-readable storage medium is provided, and instructions are stored in the computer-readable storage medium, which, when executed on a computer, enable the computer to perform the method described in the first aspect.
第七方面,本申请提供了一种服务消费者网元,所述服务消费者网元具有实现上述第二方面中所述方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件和软件包括一个或多个与上述功能相对应的模块。In a seventh aspect, the present application provides a service consumer network element, the service consumer network element having the function of implementing the method described in the second aspect above. The functions can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware and software include one or more modules corresponding to the above functions.
一种可能的设计中,服务消费者网元的结构中包括处理单元和通信单元,所述处理单元被配置为支持服务消费者网元执行上述第二方面中所述的方法,所述通信单元用于支持所述服务消费者网元与其他设备之间的通信。所述服务消费者网元还可以包括存储单元,所述存储单元用于与处理单元耦合,其保存服务消费者网元必要的程序指令和数据。作为示例,处理单元可以为处理器,通信单元可以为收发器,存储单元可以为存储器。In a possible design, the structure of the service consumer network element includes a processing unit and a communication unit, the processing unit is configured to support the service consumer network element to perform the method described in the second aspect above, and the communication unit for supporting communication between the service consumer network element and other devices. The service consumer network element may further include a storage unit for coupling with the processing unit, which stores necessary program instructions and data for the service consumer network element. As an example, the processing unit may be a processor, the communication unit may be a transceiver, and the storage unit may be a memory.
在上述可能的设计中,通信单元包括接收单元、发送单元,这些单元可以执行上述第二方面中所述的方法,具体参见方法示例中的详细描述,不作赘述。In the above possible design, the communication unit includes a receiving unit and a sending unit, and these units can execute the method described in the second aspect above. For details, please refer to the detailed description in the method example, which will not be repeated.
第八方面,本申请提供了一种装置(例如,该装置可以是芯片系统),该装置包括处理器,可以执行上述第二方面中所述的方法。In an eighth aspect, the present application provides an apparatus (eg, the apparatus may be a system-on-a-chip), the apparatus including a processor, and capable of executing the method described in the second aspect above.
在一种可能的设计中,该装置还包括存储器,用于保存必要的程序指令和数据。In one possible design, the apparatus further includes a memory for storing necessary program instructions and data.
第九方面,本申请提供了一种计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述第二方面中所述的方法。In a ninth aspect, the present application provides a computer program product which, when run on a computer, enables the computer to perform the method described in the second aspect above.
第十方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第二方面中所述的方法。In a tenth aspect, a computer-readable storage medium is provided, and instructions are stored in the computer-readable storage medium, which, when executed on a computer, enable the computer to execute the method described in the second aspect above.
第十一方面,本申请提供了一种通信系统,该系统包括上述第一方面所涉及的网络存储网元,第二方面所涉及第一网元(即服务消费者网元)中的一个或多个。In an eleventh aspect, the present application provides a communication system, the system includes the network storage network element involved in the first aspect, and one of the first network elements (ie, the service consumer network element) involved in the second aspect or multiple.
在一个可能的设计中,所述通信系统还可以包括上述方面所涉及的第二网元(即服务提供者网元)。In a possible design, the communication system may further include the second network element (ie, the service provider network element) involved in the above aspects.
在一个可能的设计中,该通信系统还可以包括本申请实施例提供的方案中与网络存储网元、第一网元或第二网元进行交互的其他设备,例如终端,基站等等。In a possible design, the communication system may further include other devices that interact with the network storage network element, the first network element, or the second network element in the solution provided by the embodiment of the present application, such as a terminal, a base station, and the like.
附图说明Description of drawings
图1为本申请提供的一种可能的系统框架示意图;1 is a schematic diagram of a possible system framework provided by this application;
图2为服务选择的一般方法的示意性流程图;Fig. 2 is the schematic flow chart of the general method of service selection;
图3为本申请提供的一种负载的管控方法的流程图;3 is a flowchart of a load management and control method provided by the present application;
图3a为本申请提供的一种网元部署的示意图;3a is a schematic diagram of a network element deployment provided by the present application;
图4为本申请提供的一种负载的管控方法400的流程图;FIG. 4 is a flowchart of a load management and control method 400 provided by the present application;
图5为本申请提供的一种负载的管控方法500的流程图;FIG. 5 is a flowchart of a load management and control method 500 provided by the present application;
图6为本申请提供的一种负载的管控方法600的流程图;FIG. 6 is a flowchart of a load management and control method 600 provided by the present application;
图7为本申请提供的一种负载的管控方法700的流程图;FIG. 7 is a flowchart of a load management and control method 700 provided by the present application;
图8为本申请提供的一种负载的管控方法800的流程图;FIG. 8 is a flowchart of a load management and control method 800 provided by the present application;
图9为本申请提供的一种负载的管控方法900的流程图;FIG. 9 is a flowchart of a load management and control method 900 provided by the present application;
图10为本申请提供的一种负载的管控方法1000的流程图;FIG. 10 is a flowchart of a load management and control method 1000 provided by the present application;
图11为本申请提供的一种通信设备示意图;11 is a schematic diagram of a communication device provided by this application;
图11a为本申请提供的一种网络存储网元示意图;FIG. 11a is a schematic diagram of a network storage network element provided by this application;
图11b为本申请提供的一种服务消费者网元示意图;FIG. 11b is a schematic diagram of a service consumer network element provided by this application;
图12为本申请提供的一种通信设备示意图。FIG. 12 is a schematic diagram of a communication device provided by this application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例的技术方案进行描述。在本申请的描述中,除非另有说明,“/”表示前后关联的对象是一种“或”的关系,例如,A/B可以表示A或B;本申请中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,其中A,B可以是单数或者复数。并且,在本申请的描述中,除非另有说明,“多个”是指两个或多于两个。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions of the embodiments of the present application will be described below with reference to the accompanying drawings. In the description of this application, unless otherwise stated, "/" indicates that the object associated with it is an "or" relationship, for example, A/B can indicate A or B; "and/or" in this application is only It is an association relationship that describes an associated object, indicating that there can be three kinds of relationships, for example, A and/or B, which can be expressed as: A alone exists, A and B exist at the same time, and B exists alone, among which A, B Can be singular or plural. Also, in the description of the present application, unless stated otherwise, "plurality" means two or more than two. "At least one item(s) below" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (a) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c may be single or multiple .
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通信(globalsystem for mobile communications,GSM)系统、码分多址(code division multipleaccess,CDMA)系统、宽带码分多址(wideband code division multiple access,WCDMA)系统、通用分组无线业务(general packet radio service,GPRS)、长期演进(long termevolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、通用移动通信系统(universal mobiletelecommunication system,UMTS)、全球互联微波接入(worldwide interoperabilityfor microwave access,WiMAX)通信系统、未来的第五代(5th generation,5G)系统或新无线(new radio,NR)等。The technical solutions of the embodiments of the present application can be applied to various communication systems, for example, a global system for mobile communications (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (wideband) system code division multiple access (WCDMA) system, general packet radio service (GPRS), long term evolution (long termevolution, LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (time division duplex, TDD), universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) communication system, future fifth generation (5th generation, 5G) system or new Wireless (new radio, NR) and so on.
本申请实施例中的终端设备可以指用户设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。终端设备还可以是蜂窝电话、无绳电话、会话启动协议(session initiationprotocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来5G网络中的终端设备或者未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等,本申请实施例对此并不限定。The terminal device in this embodiment of the present application may refer to a user equipment, an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or user device. The terminal device may also be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a wireless communication function handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in future 5G networks or terminals in future evolved public land mobile networks (PLMN) equipment, etc., which are not limited in this embodiment of the present application.
本申请实施例中的网络设备可以是用于与终端设备通信的设备,该网络设备可以是全球移动通信(global system for mobile communications,GSM)系统或码分多址(code division multiple access,CDMA)中的基站(base transceiver station,BTS),也可以是宽带码分多址(wideband code division multiple access,WCDMA)系统中的基站(NodeB,NB),还可以是LTE系统中的演进型基站(evolved NodeB,eNB或eNodeB),还可以是云无线接入网络(cloud radio access network,CRAN)场景下的无线控制器,或者该网络设备可以为中继站、接入点、车载设备、可穿戴设备以及未来5G网络中的网络设备或者未来演进的PLMN网络中的网络设备等,本申请实施例并不限定。The network device in this embodiment of the present application may be a device for communicating with a terminal device, and the network device may be a global system for mobile communications (GSM) system or code division multiple access (CDMA) The base transceiver station (BTS) in the LTE system can also be the base station (NodeB, NB) in the wideband code division multiple access (WCDMA) system, or the evolved base station (evolved) in the LTE system. NodeB, eNB or eNodeB), it can also be a wireless controller in the cloud radio access network (cloud radio access network, CRAN) scenario, or the network device can be a relay station, an access point, an in-vehicle device, a wearable device, and future The network equipment in the 5G network or the network equipment in the future evolved PLMN network, etc., are not limited in the embodiments of the present application.
图1是应用于本申请实施例的网络架构。如图1所示,对该网络架构中涉及的各个网元分别进行说明。FIG. 1 is a network architecture applied to an embodiment of the present application. As shown in FIG. 1 , each network element involved in the network architecture is described respectively.
1、(无线)接入网络(Radio Access Network,(R)AN)网元:用于为特定区域的授权用户提供入网功能,并能够根据用户的级别,业务的需求等使用不同质量的传输隧道。(R)AN网元能够管理无线资源,为终端设备提供接入服务,进而完成控制信号和用户数据在终端设备和核心网之间的转发,(R)AN网元也可以理解为传统网络中的基站;1. (Radio Access Network, (R)AN) network element: It is used to provide network access functions for authorized users in a specific area, and can use different quality transmission tunnels according to user levels and service requirements. . The (R)AN network element can manage wireless resources, provide access services for terminal equipment, and then complete the forwarding of control signals and user data between the terminal equipment and the core network. The (R)AN network element can also be understood as a traditional network element. base station;
2、用户面网元:用于分组路由和转发以及用户面数据的服务质量(Quality ofService,QoS)处理等。2. User plane network element: used for packet routing and forwarding, and quality of service (Quality of Service, QoS) processing of user plane data.
在5G通信系统中,该用户面网元可以是用户面功能(User Plane Function,UPF)网元。在未来通信系统中,用户面网元仍可以是UPF网元,或者,还可以有其它的名称,本申请不做限定。In a 5G communication system, the user plane network element may be a user plane function (User Plane Function, UPF) network element. In the future communication system, the user plane network element may still be the UPF network element, or may have other names, which are not limited in this application.
3、数据网络:用于提供传输数据的网络等。3. Data network: It is used to provide a network for transmitting data, etc.
在5G通信系统中,该数据网络网元可以是数据网络(Data Network,DN)。在未来通信系统中,数据网络仍可以是DN,或者,还可以有其它的名称,本申请不做限定。In a 5G communication system, the data network element may be a data network (Data Network, DN). In the future communication system, the data network may still be DN, or may have other names, which are not limited in this application.
4、鉴权服务网元:用于实现对用户的鉴权和认证等。4. Authentication service network element: used to realize user authentication and authentication.
在5G通信系统中,该鉴权服务网元可以是认证服务器功能(authenticationserver function,AUSF)网元。在未来通信系统中,鉴权服务网元仍可以是AUSF网元,或者,还可以有其它的名称,本申请不做限定。In a 5G communication system, the authentication service network element may be an authentication server function (authentication server function, AUSF) network element. In the future communication system, the authentication service network element may still be the AUSF network element, or may have other names, which are not limited in this application.
5、接入管理网元:主要用于移动性管理和接入管理等,可以用于实现移动性管理实体(mobility management entity,MME)功能中除会话管理之外的其它功能,例如,合法监听以及接入授权/鉴权等功能。5. Access management network element: mainly used for mobility management and access management, etc., and can be used to implement other functions other than session management in the mobility management entity (mobility management entity, MME) function, for example, lawful interception And access authorization/authentication functions.
在5G通信系统中,该接入管理网元可以是接入管理功能(Access and mobilityManagement Function,AMF)网元。在未来通信系统中,接入管理网元仍可以是AMF网元,或者,还可以有其它的名称,本申请不做限定。In a 5G communication system, the access management network element may be an access management function (Access and mobility Management Function, AMF) network element. In the future communication system, the access management network element may still be an AMF network element, or may have other names, which are not limited in this application.
6、会话管理网元:主要用于会话管理、终端设备的网络互连协议(InternetProtocol,IP)地址分配和管理、选择可管理用户平面功能、策略控制和收费功能接口的终结点以及下行数据通知等。6. Session management network element: mainly used for session management, Internet Protocol (IP) address allocation and management of terminal equipment, selection of endpoints that can manage user plane functions, policy control and charging function interfaces, and downlink data notification Wait.
在5G通信系统中,该会话管理网元可以是会话管理功能(Session ManagementFunction,SMF)网元。在未来通信系统中,会话管理网元仍可以是SMF网元,或者,还可以有其它的名称,本申请不做限定。In a 5G communication system, the session management network element may be a session management function (Session Management Function, SMF) network element. In the future communication system, the session management network element may still be an SMF network element, or may have other names, which are not limited in this application.
7、网络切片选择网元:主要用于为终端设备选择所使用的网络切片。7. Network slice selection network element: It is mainly used to select the network slice used for the terminal device.
在5G通信系统中,该网络切片选择功能网元可以是网络切片选择功能(networkslice selection function,NSSF)网元。在未来通信系统中,网络切片选择功能网元仍可以是NSSF网元,或者,还可以有其它的名称,本申请不做限定。In a 5G communication system, the network slice selection function network element may be a network slice selection function (networkslice selection function, NSSF) network element. In the future communication system, the network element of the network slice selection function may still be an NSSF network element, or may have other names, which are not limited in this application.
8、网络开放网元:用于安全地向外部开放由3GPP网络功能网元提供的业务和能力等。8. Network opening network element: used to safely open the services and capabilities provided by the 3GPP network function network element to the outside.
在5G通信系统中,该网络开放网元可以是网络开放功能(Network ExposureFunction,NEF)网元。在未来通信系统中,网络开放网元仍可以是NEF网元,或者,还可以有其它的名称,本申请不做限定。In a 5G communication system, the network exposure network element may be a network exposure function (Network Exposure Function, NEF) network element. In the future communication system, the network opening network element may still be the NEF network element, or may have other names, which are not limited in this application.
9、网络存储网元:用于存储核心网中部署的网络功能的信息,提供网络功能和服务的发现等。9. Network storage network element: used to store information of network functions deployed in the core network, and to provide discovery of network functions and services.
在5G通信系统中,该网络存储网元可以是网络存储功能(Network RepositoryFunction,NRF)网元,在未来通信系统中,网络存储网元仍可以是NRF网元,还可以有其它的名称,本申请不做限定。In the 5G communication system, the network storage network element can be a network storage function (Network RepositoryFunction, NRF) network element. In the future communication system, the network storage network element can still be an NRF network element, and can also have other names. The application is not limited.
10、策略控制网元:用于指导网络行为的统一策略框架,为控制面功能网元(例如AMF,SMF网元等)提供策略规则信息等。10. Policy control network element: a unified policy framework for guiding network behavior, providing policy rule information and the like for control plane functional network elements (such as AMF, SMF network elements, etc.).
在5G通信系统中,该策略控制网元可以是策略控制功能(Policy ControlFunction,PCF)网元。在未来通信系统中,策略控制网元仍可以是PCF网元,或者,还可以有其它的名称,本申请不做限定。In a 5G communication system, the policy control network element may be a policy control function (Policy Control Function, PCF) network element. In the future communication system, the policy control network element may still be the PCF network element, or may have other names, which are not limited in this application.
11、数据管理网元:用于处理用户标识,接入鉴权,注册以及移动性管理等。11. Data management network element: used to process user identification, access authentication, registration, and mobility management.
在5G通信系统中,该数据管理网元可以是统一数据管理(Unified DataManagement,UDM)网元。在未来通信系统中,数据管理仍可以是UDM网元,或者,还可以有其它的名称,本申请不做限定。In a 5G communication system, the data management network element may be a unified data management (Unified Data Management, UDM) network element. In the future communication system, the data management may still be a UDM network element, or may have other names, which are not limited in this application.
12、应用网元:用于进行应用影响的数据路由,接入网络开放功能网元,与策略框架交互进行策略控制等。12. Application network elements: used for data routing affected by applications, access network elements with open functions, and interacting with the policy framework for policy control, etc.
在5G通信系统中,该应用网元可以是应用功能(Application Function,AF)网元。在未来通信系统中,应用网元仍可以是AF网元,或者,还可以有其它的名称,本申请不做限定。In a 5G communication system, the application network element may be an application function (Application Function, AF) network element. In the future communication system, the application network element may still be the AF network element, or may have other names, which are not limited in this application.
13、终端设备:可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备,以及各种形式的终端,移动台(mobile station,MS),终端(terminal),用户设备(user equipment,UE),软终端等等,例如水表、电表、传感器等。13. Terminal equipment: can include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems with wireless communication functions, as well as various forms of terminals, mobile stations (mobile stations, MS) ), a terminal (terminal), a user equipment (user equipment, UE), a soft terminal, etc., such as a water meter, an electricity meter, a sensor, and the like.
可以理解的是,上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。It can be understood that the above network elements or functions may be network elements in hardware devices, software functions running on dedicated hardware, or virtualized functions instantiated on a platform (eg, a cloud platform).
在该网络架构中,Nausf为AUSF网元105展现的基于服务的接口,Namf为AMF网元106展现的基于服务的接口,Nsmf为SMF107网元展现的基于服务的接口,Nnssf为NSSF108网元展现的基于服务的接口,Nnef为NEF网元109展现的基于服务的接口,Nnrf为NRF网元110展现的基于服务的接口,Npcf为PCF网元111展现的基于服务的接口,Nudm为UDM网元112展现的基于服务的接口,Naf为AF网元113展现的基于服务的接口。N1为UE101和AMF网元106之间的参考点,N2为(R)AN网元102和AMF网元106的参考点,用于非接入层(Non-accessstratum,NAS)消息的发送等;N3为(R)AN网元102和UPF网元103之间的参考点,用于传输用户面的数据等;N4为SMF网元107和UPF网元103之间的参考点,用于传输例如N3连接的隧道标识信息,数据缓存指示信息,以及下行数据通知消息等信息;N6接口为UPF网元103和DN网元104之间的参考点,用于传输用户面的数据等。In this network architecture, Nausf is the service-based interface presented by the
应理解,上述应用于本申请实施例的网络架构仅是举例说明的从服务化架构的角度描述的网络架构,适用本申请实施例的网络架构并不局限于此,任何能够实现上述各个网元的功能的网络架构都适用于本申请实施例。It should be understood that the above-mentioned network architecture applied to the embodiments of the present application is only an example of the network architecture described from the perspective of service-oriented architecture, and the network architecture applied to the embodiments of the present application is not limited to this. Any network elements that can implement the above-mentioned network elements The functional network architectures are all applicable to the embodiments of the present application.
例如,在某些网络架构中,AMF网元106、SMF网元107、NRF网元110、PCF网元111以及UDM网元112等网络功能网元实体都称为网络功能(Network Function,NF)网元;或者,在另一些网络架构中,AMF网元106,SMF网元107,NRF网元110,PCF网元111,UDM网元112等网元的集合都可以称为控制面功能网元。For example, in some network architectures, network function network element entities such as AMF network element 106,
其中,NF网元可按照功能的类别定义为不同的NF,例如:认证和安全功能、分组数据会话管理功能、移动管理功能及接入控制功能、策略控制功能等,这些功能由对应的NF组件实现,每个NF组件通过定义的服务接口对其他NF组件或功能提供服务。同一个运营商的多个网络切片(sliceA、sliceB和sliceC)使用同一个公共陆地移动网络(public landmobile network,PLMN),并可以通过云技术和虚拟化技术等部署在运营商的基础设施中,运营商的技术设施包括运营商的云计算和传输基础设施。Among them, NF network elements can be defined as different NFs according to function categories, such as: authentication and security functions, packet data session management functions, mobility management functions, access control functions, policy control functions, etc. These functions are controlled by corresponding NF components. Implementation, each NF component provides services to other NF components or functions through the defined service interface. Multiple network slices (sliceA, sliceB and sliceC) of the same operator use the same public landmobile network (PLMN) and can be deployed in the operator's infrastructure through cloud technology and virtualization technology, etc. The operator's technical facilities include the operator's cloud computing and transmission infrastructure.
下面以服务的消费者与服务的提供者为上述任意两个NF网元为例(以下将作为服务的消费者的NF网元称为第一网元,将作为服务的提供者的NF网元称为第二网元)。结合图2对现有技术中服务选择的一般方法200进行说明。该方法200包括以下步骤:Hereinafter, the consumer of the service and the provider of the service are any two NF network elements mentioned above as an example (the NF network element that is the consumer of the service will be referred to as the first network element in the following, and the NF network element that is the provider of the service will be referred to as the first network element. called the second network element). A general method 200 of service selection in the prior art will be described with reference to FIG. 2 . The method 200 includes the following steps:
S201:第二网元1向网络存储网元发送注册请求,网络存储网元接收来自第二网元1的注册请求。其中,注册请求包括第二网元1的描述信息(NF profile)。其中,第二网元1的描述信息包括:第二网元1的标识、第二网元1的类型、第二网元1支持的服务名称、第二网元1的服务端点、第二网元1的容量、第二网元1的负荷。S201 : The
S202:网络存储网元保存第二网元1的描述信息。S202: The network storage network element stores the description information of the
需要说明的是,第二网元1只是一个示例,其他的第二网元执行同样的操作,此处不再赘述。It should be noted that the
S203:第一网元需要调用第二服务时,向网络存储网元发送服务发现请求(Nnrf_NFDiscovery_Request),网络存储网元接收来自第一网元的服务发现请求。其中,第二服务为第二网元所提供的服务,服务发现请求用于查询第二服务,包括第二服务的类型。S203: When the first network element needs to invoke the second service, it sends a service discovery request (Nnrf_NFDiscovery_Request) to the network storage network element, and the network storage network element receives the service discovery request from the first network element. The second service is a service provided by the second network element, and the service discovery request is used to query the second service, including the type of the second service.
S204:网络存储网元根据服务发现请求以及第二网元的描述信息,确定第二服务为第二网元所提供的服务(authorize NF service)。S204: The network storage network element determines, according to the service discovery request and the description information of the second network element, that the second service is a service (authorize NF service) provided by the second network element.
S205:网络存储网元向第一网元返回服务发现响应消息(Nnrf_NFDiscovery_Request Response),第一网元接收来自网络存储网元的第二网元的服务发现响应消息。其中,该服务发现响应消息包括第二网元的列表及每个第二网元的描述信息,第二网元的列表中包括第二网元1。S205: The network storage network element returns a service discovery response message (Nnrf_NFDiscovery_Request Response) to the first network element, and the first network element receives the service discovery response message from the second network element of the network storage network element. Wherein, the service discovery response message includes a list of second network elements and description information of each second network element, and the list of second network elements includes
S206:第一网元根据第二网元的描述信息以及本地的配置,选择目标第二网元,并向目标第二网元(例如第二网元1)发起第二服务的请求。S206: The first network element selects the target second network element according to the description information of the second network element and the local configuration, and initiates a request for the second service to the target second network element (eg, second network element 1).
从图2可知,现有技术中,第一网元对于目标第二网元的选择是由第一网元与网络存储网元相互配合完成的,NRF查询本地所保存的第二网元的描述信息,确定第二网元能够调用第二服务,然后向第一网元返回第二网元的列表。第一网元根据第二网元的列表,获取列表中第二网元的描述信息,并根据第二网元的描述信息以及本地的配置,选择目标第二网元,并向目标第二网元发起第二服务的请求。It can be seen from FIG. 2 that in the prior art, the selection of the target second network element by the first network element is completed by the cooperation between the first network element and the network storage network element, and the NRF queries the description of the second network element stored locally. information, determine that the second network element can invoke the second service, and then return the list of the second network elements to the first network element. The first network element obtains the description information of the second network element in the list according to the list of the second network element, selects the target second network element according to the description information of the second network element and the local configuration, and reports to the target second network element. The element initiates a request for the second service.
现有技术中,第一网元选择第二网元的方法是特有的,第二网元的描述信息只是第一网元选择第二网元的一个输入参数,并不能完全决定第二网元的选择,也就是说,第二网元的选择并不是完全可控,因此,第二网元上承载的负载也就不能统一地进行管控。进一步地,在第二网元弹性扩容、弹性缩容、故障或升级等场景下,现有技术也无法实现对第二网元负载的统一管控。In the prior art, the method for the first network element to select the second network element is unique, and the description information of the second network element is only an input parameter for the first network element to select the second network element, and cannot completely determine the second network element. In other words, the selection of the second network element is not completely controllable, and therefore, the load carried on the second network element cannot be uniformly managed and controlled. Further, in scenarios such as elastic capacity expansion, elastic capacity reduction, failure or upgrade of the second network element, the prior art cannot realize the unified management and control of the load of the second network element.
对此,下述实施例提供了解决上述技术问题的一种负载管控方法。In this regard, the following embodiments provide a load management and control method to solve the above technical problems.
首先,对本申请实施例中所涉及的相关术语进行解释说明:First, the relevant terms involved in the embodiments of the present application are explained:
1、选择策略(Instance Discovery&Selection Policy):可以为第一网元选择第二网元组内的目标第二网元的策略,具体包括一个或多个选择规则及其选择的第二网元范围。例如:轮询选择及其选择范围内的第二网元,随机选择及其选择范围内的第二网元,加权选择及其选择范围内的第二网元,根据对象组选择及其选择范围内的第二网元,哈希选择及其选择范围内的第二网元。1. Instance Discovery&Selection Policy: a policy for selecting a target second network element in the second network element group for the first network element, specifically including one or more selection rules and the range of the second network element selected. For example: polling to select the second NE within the selection range, random selection and the second NE within the selection range, weighted selection and the second NE within the selection range, selection according to the object group and its selection range The second network element within the hash selection and the second network element within the selection range.
2、策略数据:包括一个或多个选择规则及其对应的第一条件,其中,选择规则为网络存储网元确定选择策略的规则,选择规则例如为轮询选择、随机选择、加权选择、根据对象组选择、哈希选择中的一个或多个。第一条件例如为第二网元服务对象的网络切片类型、第二网元的版本、第二网元所能服务的用户类型、第二网元的位置的一个或多个。2. Policy data: including one or more selection rules and their corresponding first conditions, wherein the selection rule is a rule for the network storage network element to determine the selection policy, and the selection rule is, for example, polling selection, random selection, weighted selection, One or more of object group selection, hash selection. The first condition is, for example, one or more of the network slice type of the second network element service object, the version of the second network element, the user type that the second network element can serve, and the location of the second network element.
3、运行信息:网络功能网元组内的网络功能网元运行的相关信息,具体包括运行状态信息和运行变化信息。其中,运行状态信息可以为网络功能网元运行状态的信息,其中,运行变化信息可以为网络功能网元运行发生变化的信息。3. Operation information: information related to the operation of the network function network elements in the network function network element group, specifically including operation status information and operation change information. The operation state information may be information about the operation state of the network function network element, and the operation change information may be information about the operation change of the network function network element.
4、公共资源:网络功能网元组内的网络功能网元共同分配的资源。例如:下述的对象资源、IP地址资源。将公共资源进行分组,可以得到公共资源组,例如:下述的对象组、IP地址组。4. Common resources: resources allocated jointly by the network function network elements in the network function network element group. For example, the following object resources and IP address resources. By grouping public resources, public resource groups can be obtained, for example, the following object groups and IP address groups.
5、对象资源:公共资源的一种类型。其中,对象可以为第二网元提供的第二服务所对应的对象,对象资源可以为对象的个数,例如1000万个对象,对象资源可以划分为对象组,例如1000万个对象分为10个组,每个对象组的对象资源为100万个对象。5. Object resource: a type of public resource. The object may be the object corresponding to the second service provided by the second network element, the object resource may be the number of objects, such as 10 million objects, and the object resources may be divided into object groups, such as 10 million objects divided into 10 The object resources of each object group are 1 million objects.
其次,对本申请实施例进行相关的说明:Next, the relevant descriptions are given to the embodiments of the present application:
1、相同类型的多个第二网元组成一个或多个第二网元组,一个或多个第二网元组及组内的第二网元安装部署,并在网络存储网元上注册。1. Multiple second network elements of the same type form one or more second network element groups, one or more second network element groups and the second network elements in the group are installed and deployed, and registered on the network storage network element .
进一步地,网络存储网元为第二网元组内的第二网元分配一个或多个公共资源组,例如对象组。Further, the network storage network element allocates one or more common resource groups, such as object groups, to the second network elements in the second network element group.
2、在第一网元需要调用第二网元的服务例如第二服务时,可以通过网络存储网元发现和选择一个目标第二网元组,进一步地在第二网元组中选择一个目标第二网元。2. When the first network element needs to call the service of the second network element, such as the second service, a target second network element group can be discovered and selected through the network storage network element, and a target second network element group can be further selected in the second network element group. The second network element.
关于第一网元如何选择一个目标第二网元组内的目标第二网元,可以参考后续的实施例中的描述。例如:网络存储网元向第一网元提供选择策略,选择策略包括如何选择目标第二网元的规则,以及选择范围内的第二网元,第一网元根据该选择策略进行选择。Regarding how the first network element selects a target second network element in a target second network element group, reference may be made to the description in the subsequent embodiments. For example, the network storage network element provides the first network element with a selection policy, the selection policy includes rules on how to select the target second network element, and the second network element within the selection range, and the first network element selects according to the selection policy.
以图3a为例,多个第二网元(第二网元1、第二网元2、第二网元4、第二网元5),组成两个第二网元组(第二网元组311、第二网元组312),进一步地,第一网元1、2、4、5可分别分配对象组1和对象组2,对象组3和对象组4,对象组7和对象组8,对象组9和对象组10。第一网元需要调用第二网元的第二服务时,可通过网络存储网元发现目标第二网元组如第二网元组311,进一步地可根据网络存储网元提供的选择策略,在第二网元组311中选出目标第二网元如第二网元1,从而实现对第二网元组311内第二网元1和第二网元2负载的统一管控。Taking FIG. 3a as an example, multiple second network elements (
下面结合图3对本申请实施例提供的一种负载管控方法进行说明,如图3所示,具体步骤如下:The following describes a load management and control method provided by an embodiment of the present application with reference to FIG. 3 . As shown in FIG. 3 , the specific steps are as follows:
S301:第一网元向网络存储网元发送第一请求,网络存储网元接收来自第一网元的第一请求。S301: The first network element sends a first request to a network storage network element, and the network storage network element receives the first request from the first network element.
具体的,S301可以用于以下任一场景:Specifically, S301 can be used in any of the following scenarios:
场景一:若第一网元调用第二服务,则第一请求用于服务发现,发现第二服务所对应的网元,即第二网元。Scenario 1: If the first network element invokes the second service, the first request is used for service discovery to discover the network element corresponding to the second service, that is, the second network element.
场景二:第一请求用于订阅目标第二网元组内第二网元的选择策略。例如:第一网元之前已经获取了第一选择策略(例如,场景一调用第二服务时获得),第一网元为了后续在目标第二网元组内第二网元运行发生变化时,可以及时得获知新的第二选择策略,则第一网元向网络存储网元订阅目标第二网元组内第二网元的选择策略,实现对目标第二网元组内第二网元负载的适时调整;或者第一网元也可以在安装部署后向网络存储网元订阅相关的第二网元组对应的选择策略。Scenario 2: The first request is used to subscribe to the selection policy of the second network element in the target second network element group. For example, the first network element has obtained the first selection policy before (for example, obtained when the second service is invoked in scenario 1), and the first network element changes the operation of the second network element in the target second network element group for subsequent changes. The new second selection policy can be acquired in time, and the first network element subscribes to the network storage network element for the selection policy of the second network element in the target second network element group, so as to realize the selection of the second network element in the target second network element group. Timely adjustment of the load; or the first network element may also subscribe to the network storage network element for a selection policy corresponding to the relevant second network element group after installation and deployment.
S302:可选的,网络存储网元获取的目标第二网元组的策略数据。S302: Optionally, the network stores the policy data of the target second network element group obtained by the network element.
在一个示例中,运维系统或者其他实体可以通过配置接口、基于业务的接口(service-based interface,SBI)接口或者API接口,向网络存储网元提供策略数据,下述策略数据的来源同本示例中的描述,故不作赘述。In one example, the operation and maintenance system or other entities can provide policy data to the network storage network element through a configuration interface, a service-based interface (SBI) interface or an API interface. The source of the following policy data is the same as this one The description in the example is not repeated here.
在一个示例中,运维系统将策略数据提供给目标第二网元组的第二网元,由第二网元在注册过程中,提供给网络存储网元。In an example, the operation and maintenance system provides the policy data to the second network element of the target second network element group, and the second network element provides the policy data to the network storage network element during the registration process.
在一个示例中,策略数据可为表1a中所示内容,包括一个或多个第一条件以及与所述第一条件对应的选择规则,其中:条件可以为以下任意一项或多项:网络切片类型、用户类型、版本、位置,选择规则可以为以下任意一项或多项:轮询选择、随机选择、加权选择、根据对象组选择、哈希选择,具体描述详见表1a。In one example, the policy data may be the content shown in Table 1a, including one or more first conditions and selection rules corresponding to the first conditions, wherein: the conditions may be any one or more of the following: network Slice type, user type, version, location, and the selection rule can be any one or more of the following: polling selection, random selection, weighted selection, selection based on object group, and hash selection. For details, see Table 1a.
表1aTable 1a
具体的,策略数据可以为:Specifically, the policy data can be:
例1:example 1:
if网络切片类型=MBB,Round Robinif network slice type = MBB, Round Robin
说明:在满足可以为MBB类型网络切片提供服务的第二网元中,采用轮询的方式选择目标第二网元。Description: Among the second network elements that can provide services for MBB type network slices, a polling method is used to select the target second network element.
例2:Example 2:
if version=1,weight为96%if version=1, weight is 96%
if version=2,weight为4%if version=2, weight is 4%
说明:在满足版本为1的第二网元中,采用权重96%的方式选择目标第二网元。即96%的第二服务需要选择版本为1的第二网元作为目标第二网元。Description: Among the second network elements that satisfy the
在满足版本为2的第二网元中,采用权重4%的方式选择目标第二网元。Among the second network elements that satisfy
例3:Example 3:
if支持URLCC,weight为100%,实例之间Round Robinif URLCC is supported, weight is 100%, Round Robin between instances
if不支持URLCC,weight为0%if URLCC is not supported, weight is 0%
说明:采用权重100%的方式选择支持为URLCC类型网络切片提供服务的第二网元(以下简称支持URLCC的第二网元),即100%的第二服务选择支持URLCC的第二网元,进一步在支持为URLCC的多个第二网元中采用轮询的方式选择目标第二网元。Description: The second network element that supports providing services for URLCC type network slices (hereinafter referred to as the second network element that supports URLCC) is selected with a weight of 100%, that is, 100% of the second service selects the second network element that supports URLCC, Further, the target second network element is selected in a polling manner among the plurality of second network elements supporting the URLCC.
采用权重0%的方式选择不支持URLCC的第二网元。The second network element that does not support URLCC is selected in a weight of 0%.
需要说明的是,S302在S301的场景二中为可选,S301和S302之间并无先后顺序,可先执行S301,后执行S302,或先执行S302,后执行S301,还可以同时执行S301和S302,本申请对此不作限定。It should be noted that S302 is optional in the second scenario of S301, and there is no sequence between S301 and S302. S301 can be executed first, then S302 can be executed, or S302 can be executed first, and then S301 can be executed, or S301 and S301 can be executed at the same time. S302, which is not limited in this application.
S303:网络存储网元根据第一请求,获知需要提供选择策略,选择策略用于选择目标第二网元组内的目标第二网元。S303: The network storage network element learns, according to the first request, that a selection policy needs to be provided, and the selection policy is used to select a target second network element in the target second network element group.
网络存储网元根据第一请求,获知需要提供选择策略可以为以下任一方式:According to the first request, the network storage network element learns that the selection policy needs to be provided in any of the following ways:
方式一:当该第一请求包括第二服务类型,用于请求调用第二服务时,该网络存储网元根据所述第一请求,获取第二服务类型对应的第二网元组的列表,其中,该第二网元组的列表包括目标第二网元组;所述网络存储网元进一步获知需要提供目标第二网元组对应的第一选择策略。可参考图4中的描述。Manner 1: when the first request includes the second service type and is used to request to invoke the second service, the network storage network element obtains a list of second network element groups corresponding to the second service type according to the first request, Wherein, the list of the second network element group includes the target second network element group; the network storage network element further learns that the first selection policy corresponding to the target second network element group needs to be provided. Reference can be made to the description in FIG. 4 .
方式二:当所述第一请求包括目标第二网元组的标识,用于订阅目标第二网元组的选择策略时,所述网络存储网元根据所述目标第二网元组的标识,获知需要提供目标第二网元组对应的第二选择策略。可参考图6中的描述。Method 2: When the first request includes the identifier of the target second network element group and is used to subscribe to the selection policy of the target second network element group, the network storage network element according to the identifier of the target second network element group , and learns that the second selection policy corresponding to the target second network element group needs to be provided. Reference can be made to the description in FIG. 6 .
需要说明的是,选择策略包括选择规则及其对应的目标第二网元组内的第二网元,可以为以下任意一项或多项:轮询选择及其第二网元、随机选择及其第二网元、加权选择及其第二网元、根据对象组选择及其第二网元、哈希(Hash)选择及其第二网元。It should be noted that the selection strategy includes selection rules and their corresponding second network elements in the target second network element group, which may be any one or more of the following: polling selection and its second network elements, random selection and Its second network element, weighted selection and its second network element, object group selection and its second network element, Hash selection and its second network element.
具体的见表1b,以图3a中第二网元组311内的第二网元1和第二网元2为例,轮询选择为按照顺序轮流选择目标第二网元内的目标第二网元,具体可为按照第二网元1、第二网元2的顺序轮流选择;随机选择为随机选择目标第二网元内的目标第二网元,具体可为随机选择第二网元1或第二网元2;加权选择为按照目标第二网元内第二网元的权重选择目标第二网元,具体可为96%的比例选择第二网元1,4%的比例选择第二网元2;根据对象组选择为按照对象所属的对象组选择目标第二网元,具体可为对象所属的组为组1和组2时,选择第二网元1,对象所属的组为组3和组4时,选择第二网元2;哈希选择为根据客户端业务标识选择目标第二网元。See Table 1b for details. Taking the
表1bTable 1b
在一个示例中,可选的,选择策略还可以进一步包括对应的第二条件,例如轮询选择(第二网元1、第二网元2)的条件为无会话,具体见表1c中的内容。In an example, optionally, the selection policy may further include a corresponding second condition, for example, the condition for polling selection (
表1cTable 1c
具体的,无会话和有会话的说明,可参见图5中的描述。Specifically, for the description of no session and session, please refer to the description in FIG. 5 .
S304:网络存储网元根据目标第二网元组内第二网元的运行信息,确定选择策略;S304: The network storage network element determines a selection strategy according to the operation information of the second network element in the target second network element group;
在一个示例中,当网络存储网元在S302中获得目标第二网元组的策略数据时,其中,策略数据包括一个或多个第一条件以及与所述第一条件对应的选择规则,则S304具体可以包括如下步骤304a~304c:In an example, when the network storage network element obtains the policy data of the target second network element group in S302, wherein the policy data includes one or more first conditions and selection rules corresponding to the first conditions, then S304 may specifically include the following steps 304a-304c:
304a:网络存储网元确定目标第一条件以及目标第一条件对应的目标选择规则。其中,网络存储网元可以根据目标第二网元组内第二网元的运行信息,第一请求携带的信息,或者其他信息中的一个或者多个,确定策略数据中的目标第一条件,以及目标第一条件对应的目标选择规则;304a: The network storage network element determines the target first condition and the target selection rule corresponding to the target first condition. The network storage network element may determine the target first condition in the policy data according to the operation information of the second network element in the target second network element group, the information carried in the first request, or one or more of other information, and the target selection rule corresponding to the first condition of the target;
304b:网络存储网元根据目标第二网元组内第二网元的运行信息以及目标第一条件,确定目标第二网元组内满足目标第一条件的第二网元;304b: The network storage network element determines, according to the operation information of the second network element in the target second network element group and the target first condition, a second network element in the target second network element group that satisfies the target first condition;
304c:根据步骤304a和304b确定出选择策略:在满足目标第一条件的第二网元中按目标选择规则进行选择。其中,选择策略包括目标选择规则以及满足目标第一条件的第二网元。304c: Determine a selection strategy according to steps 304a and 304b: select according to the target selection rule in the second network element that satisfies the first target condition. The selection strategy includes a target selection rule and a second network element that satisfies the first condition of the target.
在一个示例中,目标第二网元组内第二网元的运行信息可以包括:目标第二网元组内一个或多个第二网元的运行状态的信息和/或运行变化的信息。其中,In one example, the operation information of the second network elements in the target second network element group may include: information about the operation status and/or operation change information of one or more second network elements in the target second network element group. in,
一:目标第二网元组内第二网元的运行状态的信息1: Information about the running status of the second network element in the target second network element group
需要说明的是,运行状态的信息可以为以下任意一项或多项:目标第二网元组内第二网元的版本、目标第二网元组内第二网元的容量、目标第二网元组内第二网元的负荷、目标第二网元组内第二网元的位置、目标第二网元组内第二网元提供的服务的信息、目标第二网元组内第二网元的网络质量、目标第二网元组内第二网元公共资源的信息。It should be noted that the information of the running status can be any one or more of the following: the version of the second network element in the target second network element group, the capacity of the second network element in the target second network element group, the target second network element The load of the second network element in the network element group, the location of the second network element in the target second network element group, the information on the services provided by the second network element in the target second network element group, the number of the second network element in the target second network element group The network quality of the second network element, and information about the public resources of the second network element in the target second network element group.
二:目标第二网元组内一个或多个第二网元的运行变化的信息2: Information about the operation change of one or more second network elements in the target second network element group
需要说明的是,运行变化的信息可以为以下任意一项或多项:目标第二网元组的扩容、目标第二网元组的缩容、目标第二网元组内第二网元故障、目标第二网元组内第二网元升级、目标第二网元组的公共资源的重新分配。It should be noted that the information of the operation change can be any one or more of the following: the expansion of the target second network element group, the reduction of the target second network element group, the failure of the second network element in the target second network element group . The second network element in the target second network element group is upgraded, and the public resources of the target second network element group are reallocated.
其中,公共资源可以为第二网元组内第二网元共同分配的资源,例如可以是对象资源、地址资源。The common resources may be resources jointly allocated by the second network elements in the second network element group, such as object resources and address resources.
具体的,对象例如可以是:以5G网络中的NF为例,当第二网元为AMF时,AMF的对象可以为用户;当第二网元为SMF,SMF的对象可以为所管理的会话;当第二网元为UDR时,UDR的对象可以为所存储的用户数据。Specifically, the object may be, for example: taking the NF in the 5G network as an example, when the second network element is an AMF, the object of the AMF may be the user; when the second network element is the SMF, the object of the SMF may be the managed session ; When the second network element is a UDR, the object of the UDR may be stored user data.
相应的,对象资源、对象组例如可以是:以5G网络中的NF为例,当第二网元为AMF时,对象资源可以为用户的数量,对象组可以为用户组,每个用户组包含各组的对象资源;当第二网元为SMF,对象资源可以为会话的数量,对象组可以为会话组;当第二网元为UDR时,对象资源可以为用户数据的数量,对象组可以为用户数据组。Correspondingly, the object resource and the object group may be, for example: taking the NF in the 5G network as an example, when the second network element is the AMF, the object resource may be the number of users, the object group may be the user group, and each user group contains Object resources of each group; when the second network element is SMF, the object resource can be the number of sessions, and the object group can be the session group; when the second network element is UDR, the object resource can be the number of user data, and the object group can be for the user data group.
具体的,网络存储网元根据目标第二网元组内第二网元的运行信息,确定选择策略可以包括以下方式:Specifically, the network storage network element determines the selection strategy according to the operation information of the second network element in the target second network element group, which may include the following methods:
方式一:若第一网元调用第二服务,则网络存储网元根据策略数据、目标第二网元组内第二网元的运行状态的信息,确定第一选择策略。Manner 1: If the first network element invokes the second service, the network storage network element determines the first selection policy according to the policy data and information about the running state of the second network element in the target second network element group.
在一个示例中,当S301中的第一请求包含第二服务的类型以及调用第二服务所对应的切片类型为MBB,以及S302中策略数据包括“if网络切片类型=MBB,Round Robin”时,网络存储网元根据第一请求所包含的切片类型MBB,确定对应策略数据中的目标第一条件为网络切片类型=MBB,以及目标选择规则为轮询选择;网络存储网元根据目标第二网元组内第二网元的运行状态的信息以及目标第一条件“if网络切片类型=MBB”,确定目标第二网元组内能够为MBB类型网络切片提供第二服务的第二网元:具体的,网络存储网元根据第二网元1的运行信息,以及第二网元2的运行状态信息确定第二网元1,第二网元2均可以为MBB类型网络切片提供第二服务;网络存储网元确定出第一选择策略为:在第二网元1、第二网元2按顺序轮流选择。下发的策略如下表1d所示:In an example, when the first request in S301 includes the type of the second service and the slice type corresponding to calling the second service is MBB, and the policy data in S302 includes "if network slice type=MBB, Round Robin", According to the slice type MBB included in the first request, the network storage network element determines that the first condition of the target in the corresponding policy data is network slice type=MBB, and the target selection rule is polling selection; The information on the running state of the second network element in the tuple and the target first condition "if network slice type=MBB" determine the second network element in the target second network element group that can provide the second service for the MBB type network slice: Specifically, the network storage network element determines the
表1dTable 1d
例如:当S302中策略数据为“if version=1,weight为96%;if version=2,weight为4%”时,网络存储网元确定目标第一条件为版本,目标选择规则为加权选择;网络存储网元根据目标第二网元组内第二网元的运行状态的信息确定目标第二网元组内第二网元的版本:第二网元1的版本为v1,第二网元1的版本为v2;网络存储网元确定出第一选择策略为:目标第二网元组的96%的第二服务选择第二网元1为目标第二网元,目标第二网元组的4%的第二服务选择第二网元2为目标第二网元。下发的策略如下表1e所示:For example: when the policy data in S302 is "if version=1, weight is 96%; if version=2, weight is 4%", the network storage network element determines that the first condition of the target is the version, and the target selection rule is weighted selection; The network storage network element determines the version of the second network element in the target second network element group according to the information on the running state of the second network element in the target second network element group: the version of the
表1eTable 1e
方式二:若目标第二网元组内第二网元的运行发生变化,则网络存储网元根据目标第二网元组内第二网元的运行变化的信息,确定第二选择策略。Manner 2: If the operation of the second network element in the target second network element group changes, the network storage network element determines the second selection strategy according to the information about the operation change of the second network element in the target second network element group.
具体为:目标第二网元组内第二网元的运行发生变化的情况下,网络存储网元获知该运行变化的信息,并根据该运行变化的信息,确定第二选择策略。其中,第二选择策略可以包括新的目标选择规则以及满足新的目标第一条件的第二网元,或者第二选择策略可以包括第一选择策略需要调整的相关信息。Specifically, when the operation of the second network element in the target second network element group changes, the network storage network element obtains the operation change information, and determines the second selection strategy according to the operation change information. Wherein, the second selection strategy may include a new target selection rule and a second network element that satisfies the first condition of the new target, or the second selection strategy may include relevant information that the first selection strategy needs to be adjusted.
在一个示例中:以图3a中第二网元组311内的第二网元1和第二网元2为例:In an example: taking the
若第一选择策略为轮询选择(第二网元1、第二网元2),运行变化的信息为扩容,如第二网元组311内新上线一个第二网元3,网络存储网元根据该第二网元3的注册请求,确定第二选择策略为轮询选择(第二网元1、第二网元2、第二网元3),下发的策略如下表1f所示;或者第二选择策略可以为:在第一选择策略中加入第二网元3。If the first selection strategy is round-robin selection (
表1fTable 1f
若第一选择策略为轮询选择(第二网元1、第二网元2、第二网元3),运行变化的信息为缩容或故障,如第二网元组311内第二网元3下线,网络存储网元根据该第二网元3的去注册请求,确定第二选择策略为轮询选择(第二网元1、第二网元2),下发的策略如下表1g所示;或者第二选择策略可以为:在第一选择策略中去掉第二网元3。If the first selection strategy is round-robin selection (
表1gTable 1g
若第一选择策略为轮询选择(第二网元1、第二网元2),运行变化的信息为升级,如第二网元组311内第二网元3从版本1升级为版本2。网络存储网元之前获得的策略数据包括“if version=1,weight为96%;if version=2,weight为4%”或者网络存储网元可获取新的策略数据“if version=1,weight为96%;if version=2,weight为4%”。网络存储网元根据运行变化的信息,即第二网元3升级的信息(如注册更新或重新注册信息),确定对应策略数据中的目标第一条件为版本,选择规则为加权选择,且版本1的第二网元权重为96%,版本2的第二网元权重为4%(用于版本的测试)。网络存储网元再确定第二网元1,第二网元2的版本为v1;第二网元3的版本为v2,并进一步确定第二选择策略为加权选择(96%第二网元1、第二网元2;第二网元3 4%)下发的策略如下表1h所示。If the first selection strategy is polling selection (
表1hTable 1h
需要说明的是,96%第二网元1、第二网元2含义为:96%的服务由第二网元1或第二网元2提供。It should be noted that 96% of the
若第一选择策略包括根据对象组选择(组1第二网元1;组2第二网元1;组3第二网元2;组4第二网元2),运行变化的信息为对象组的重新分配,如第二网元组311内第二网元3下线为例,网络存储网元根据第二网元3的去注册请求,获知需回收二网元3的对象组5、6,并重新分配给第二网元1和第二网元2,于是重新确定第二选择策略,如重新确定第二选择策略为根据对象组选择(组1、2、5第二网元1;组3、4、6第二网元2)下发的策略如下表1i所示。If the first selection strategy includes selection according to the object group (
表1iTable 1i
S305:网络存储网元向第一网元发送选择策略,第一网元接收来自网络存储网元的选择策略。S305: The network storage network element sends the selection policy to the first network element, and the first network element receives the selection policy from the network storage network element.
在一个示例中,选择策略可以包含在目标第二网元组的描述信息(例如:NF Setprofile)中发送给第一网元,也可以单独定义成目标第二网元组的子资源(例如与NF Setprofile并列、独立于NF set profile的子资源)发送给第一网元。In an example, the selection policy may be included in the description information of the target second network element group (for example: NF Setprofile) and sent to the first network element, or may be separately defined as a sub-resource of the target second network element group (for example, with The NF set profiles are parallel and independent of the sub-resources of the NF set profiles) and are sent to the first network element.
在一个示例中,选择策略可以包括S303中所述的第一选择策略或第二选择策略。In one example, the selection strategy may include the first selection strategy or the second selection strategy described in S303.
S306:第一网元根据选择策略,确定目标第二网元组内的目标第二网元。S306: The first network element determines the target second network element in the target second network element group according to the selection policy.
在一个示例中,以表1c中的选择策略为例:In one example, take the selection strategy in Table 1c:
如果收到的选择策略是轮询选择(第二网元1、第二网元2),第一网元按顺序选择第二网元;或If the received selection strategy is a polling selection (
如果收到的选择策略是随机选择(第二网元1、第二网元2),第一网元按随机选择第二网元;或If the received selection strategy is random selection (
如果收到的选择策略是加权选择(第二网元1 96%;第二网元2 4%),第一网元按权重选择第二网元;或If the received selection strategy is a weighted selection (
如果收到的选择策略是有会话时,按对象组选择(组1第二网元1;组2第二网元1;组3第二网元2;组4第二网元2),第一网元按会话所属的对象组选择到对应的第二网元;If the received selection policy is that there is a session, select it according to the object group (the
通过上述方法,网络存储网元根据目标第二网元组内第二网元的运行信息确定选择策略,并提供给第一网元,第一网元按照该选择策略选择目标第二网元组内的目标第二网元,实现了网络存储网元对第二网元负载的统一管理,避免了第一网元按照各自特有的算法进行选择造成第二网元负载不可控的情况。进一步地,当目标第二网元组内一个或多个第二网元运行发生变化时,网络存储网元可以根据运行变化及时调整选择策略,实现对第二网元负载快速、高效的控制,降低管理、运营和维护的成本。Through the above method, the network storage network element determines a selection strategy according to the operation information of the second network element in the target second network element group, and provides it to the first network element, and the first network element selects the target second network element group according to the selection strategy The second network element in the target network realizes the unified management of the load of the second network element by the network storage network element, and avoids the uncontrollable load of the second network element caused by the selection of the first network element according to its own unique algorithm. Further, when the operation of one or more second network elements in the target second network element group changes, the network storage network element can adjust the selection strategy in time according to the operation change, so as to realize fast and efficient control of the load of the second network element, Reduce management, operation and maintenance costs.
下面结合具体实施例图4-10,对上述图3中所提供的负载的管控方法进行详细的说明。The load management and control method provided in FIG. 3 is described in detail below with reference to FIGS. 4-10 of specific embodiments.
实施例一:Example 1:
如图4所示,为本申请实施例提供的一种负载管控方法的流程图。当第一网元调用第二服务时,网络存储网元根据目标第二网元组内第二网元的运行状态信息,确定第一选择策略,具体包括以下步骤:As shown in FIG. 4 , it is a flowchart of a load management and control method provided by an embodiment of the present application. When the first network element invokes the second service, the network storage network element determines the first selection strategy according to the running state information of the second network element in the target second network element group, which specifically includes the following steps:
S401:多个第二网元被分成一个或多个第二网元组,一个或多个第二网元组以及组内的第二网元安装部署。S401: The multiple second network elements are divided into one or more second network element groups, one or more second network element groups, and the installation and deployment of the second network elements in the group.
在一个示例中,一个或多个第二网元组可以是图3a所示的第二网元组311,其中第二网元组311包括第二网元1和第二网元2。可以理解的是第二网元组311还可以包括多个其他的第二网元,本实施例仅以第二网元1和第二网元2为例。可选的,在多个第二网元组的情况下,还包括图3a的第二网元组312,其中,第二网元组312包括第二网元4和第二网元5。In one example, the one or more second network element groups may be the second network element group 311 shown in FIG. 3 a , where the second network element group 311 includes the
需要说明的是,一个第二网元组可以包括一个或多个第二网元,图3a作为示例,并不构成对本申请的限定。It should be noted that a second network element group may include one or more second network elements, and FIG. 3 a is an example, which does not constitute a limitation to the present application.
下述步骤以第二网元组311为例,即目标第二网元组为第二网元组311,对此不构成对本申请的限定。The following steps take the second network element group 311 as an example, that is, the target second network element group is the second network element group 311, which does not constitute a limitation to the present application.
S402:第二网元1向网络存储网元发送消息1,用于注册,第一网元接收来自第二网元的消息1。消息1用于注册。其中,消息1包括第二网元组311的标识和第二网元1的标识。S402: The
其中,第二网元组311的标识为能唯一标识第二网元组311的信息,例如是实例组ID(NF set ID)、网元功能集合ID中的任意一个或多个。The identifier of the second network element group 311 is information that can uniquely identify the second network element group 311, such as any one or more of instance group ID (NF set ID) and network element function set ID.
其中,第二网元1的标识为能够唯一标识第二网元1的信息,例如可以是第二网元1的IP地址、实例ID中的任意一个或多个。The identifier of the
在一个示例:消息1包括第二网元1的运行状态信息。In one example: the
需要说明的是,第二网元1的运行状态的信息的内容同上述S304中目标第二网元组内第二网元的运行状态的信息,区别在于S304中运行状态的信息主体目标第二网元组内第二网元,S402中运行状态的信息主体为第二网元1,此处不作赘述。It should be noted that the content of the information about the running status of the
需要说明的是,S402的描述以第二网元1为例,组内其他第二网元,如第二网元2执行同样的步骤,此处不作赘述。It should be noted that the description of S402 takes the
S403:网络存储网元获取的第二网元组311的策略数据1。S403: The network stores the
在一个示例中,策略数据1可以包括一个或多个选择规则及其对应的一个或多个条件,具体参见S302中的描述,此处不再赘述。In an example, the
下述步骤以策略数据1为if网络切片类型=MBB,Round Robin为例。The following steps take
S404:第一网元获知需要调用第二服务。S404: The first network element learns that the second service needs to be invoked.
具体的,第一网元根据自身需求确定需要调用第二服务,或者第一网元接收第二请求,其中,第二请求包括请求的第一服务的类型,第一服务需要调用第二网元的第二服务。Specifically, the first network element determines that it needs to call the second service according to its own needs, or the first network element receives a second request, where the second request includes the type of the requested first service, and the first service needs to call the second network element the second service.
需要说明的是,第二请求可以来源于请求第一服务的网络实体(下述简述为实体1),例如可以是终端或图1所示的网络架构中的网元。It should be noted that the second request may originate from a network entity requesting the first service (referred to as
S405:第一网元向网络存储网元发送第一请求,网络存储网元接收来自第一网元的第一请求,第一请求用于调用第二服务。S405: The first network element sends a first request to the network storage network element, and the network storage network element receives the first request from the first network element, where the first request is used to invoke the second service.
具体的,第一请求可以携带第二服务的类型。Specifically, the first request may carry the type of the second service.
在一个示例中,第一请求包括第二服务所对应的切片类型(如MBB)。In one example, the first request includes a slice type (eg, MBB) corresponding to the second service.
需要说明的是,S405和S403之间并无先后顺序,可先执行S405,后执行S403,或先执行S403,后执行S405,还可以同时执行S403和S405,本申请对此不作限定。It should be noted that there is no sequence between S405 and S403, S405 may be performed first, then S403, or S403 may be performed first, and then S405, or S403 and S405 may be performed simultaneously, which is not limited in this application.
后续执行S406a~S410a,或者S406b~S408b。S406a to S410a, or S406b to S408b are subsequently executed.
情况acase a
S406a:网络存储网元向第一网元返回第二网元组的列表(例如,包括第二网元组311和第二网元组312),第一网元接收来自网络存储网元的第二网元组的列表。S406a: The network storage network element returns a list of second network element groups (for example, including the second network element group 311 and the second network element group 312) to the first network element, and the first network element receives the first network element from the network storage network element. A list of two network tuples.
S407a:第一网元根据第二网元组的列表,选择第二网元组311。S407a: The first network element selects the second network element group 311 according to the list of the second network element group.
S408a:第一网元向网络存储网元发送消息2,网络存储网元接收来自第一网元的消息2。消息2用于查询第二网元组311的描述信息,包括第二网元组311的标识。S408a: The first network element sends the
S409a:网络存储网元根据第二网元组311内第二网元1和第二网元2的运行状态的信息,确定第一选择策略。S409a: The network storage network element determines the first selection strategy according to the information on the operating states of the
在一个示例中,网络存储网元根据第一请求中的切片类型,对应策略数据1中的条件,确定选择规则为轮询选择,进一步地,网络存储网元根据第二网元1和第二网元2的运行状态(如容量、网络质量等),确定第二网元1和第二网元2能够提供第二服务,从而确定第一选择策略为:In an example, the network storage network element determines that the selection rule is polling selection according to the slice type in the first request and corresponds to the conditions in the
S410a:网络存储网元向第一网元发送第二网元组311的描述信息,其中描述信息中包括第一选择策略,第一网元接收来自网络存储网元的第二网元组311的描述信息。后续执行S411。S410a: The network storage network element sends the description information of the second network element group 311 to the first network element, wherein the description information includes the first selection policy, and the first network element receives the description information of the second network element group 311 from the network storage network element. Description. S411 is subsequently executed.
情况b:Case b:
S406b:网络存储网元确定第二网元组的列表及其对应的选择策略(例如,包括第二网元组311及其第一选择策略,第二网元组312及其第四选择策略);S406b: The network storage network element determines a list of second network element groups and their corresponding selection policies (for example, including the second network element group 311 and its first selection policy, and the second network element group 312 and its fourth selection policy) ;
S407b:网络存储网元向第一网元发送第二网元组的列表及其对应的选择策略,第一网元接收来自网络存储网元的第二网元组的列表及其对应的选择策略(例如,包括第二网元组311以及第二网元组311对应的第一选择策略,第二网元组312以及第二网元组312对应的选择策略)。S407b: The network storage network element sends the list of the second network element group and the corresponding selection policy to the first network element, and the first network element receives the list of the second network element group and the corresponding selection policy from the network storage network element (For example, it includes the second network element group 311 and the first selection policy corresponding to the second network element group 311, and the second network element group 312 and the selection policy corresponding to the second network element group 312).
S408b:第一网元根据第二网元组的列表及其对应的选择策略,选择第二网元组311及其第一选择策略。后续执行S411。S408b: The first network element selects the second network element group 311 and its first selection policy according to the list of the second network element group and its corresponding selection policy. S411 is subsequently executed.
S411:第一网元根据第一选择策略,选择第二网元1。S411: The first network element selects the
具体的,第一网元根据第二网元1、第二网元2的顺序轮流选择,如选择第二网元1。Specifically, the first network element is selected in turn according to the order of the
在一个示例中,第一选择策略还包括第二条件,如无会话时,轮询选择(第二网元1、第二网元2)。第一网元判断不存在实体1调用第二服务相关会话1的记录,于是确定采用轮询选择(第二网元1、第二网元2),如选择第二网元1。In an example, the first selection policy further includes a second condition, such as polling to select (
此处的第二网元1为S306中目标第二网元组内的目标第二网元的一个举例,不构成对本申请的限定,下述步骤中所涉及的第二网元1的选择也同样作为示例,故不作赘述。The
S412:可选的,第一网元保存第一选择策略。S412: Optionally, the first network element stores the first selection policy.
在一个示例中,当第二网元组311内第二网元的运行未发生变化,第一网元接收第三请求,其中,第三请求需要调用第二网元的第二服务,则第一网元根据第一选择策略,按照轮流顺序,选择第二网元2。In an example, when the operation of the second network element in the second network element group 311 has not changed, the first network element receives the third request, wherein the third request needs to invoke the second service of the second network element, then the first network element receives the third request. A network element selects the
通过上述方法,网络存储网元根据目标第二网元组内第二网元的运行状态信息确定第一选择策略,并提供给第一网元,第一网元按照该第一选择策略选择目标第二网元组内的目标第二网元,实现了网络存储网元对第二网元负载的统一管理,避免了第一网元按照各自特有的算法进行选择造成第二网元负载不可控的情况。Through the above method, the network storage network element determines the first selection strategy according to the running state information of the second network element in the target second network element group, and provides it to the first network element, and the first network element selects the target according to the first selection strategy The target second network element in the second network element group realizes the unified management of the load of the second network element by the network storage network element, and avoids the uncontrollable load of the second network element caused by the selection of the first network element according to its own unique algorithm Case.
实施例二:Embodiment 2:
如图5所示,为本申请实施例提供的一种负载的管控方法的流程图。当第一选择策略包括:无会话时,轮询选择(第二网元1、第二网元2);有会话时,根据对象组选择(组1第二网元1;组2第二网元1;组3第二网元2;组4第二网元2)时,具体包括以下步骤:As shown in FIG. 5 , it is a flowchart of a load management and control method provided by an embodiment of the present application. When the first selection strategy includes: when there is no session, select by polling (
S501-503:同S401-S403,不作赘述。S501-503: the same as S401-S403, and will not be repeated.
S504:网络存储网元获取第二网元组211的对象组资源。S504: The network storage network element acquires the object group resource of the second network element group 211.
在一个示例中,网络存储网元获取来自运维系统的对象组资源。In one example, the network storage network element obtains the object group resources from the operation and maintenance system.
在一个示例中,网络存储网元同时获取来自运维系统的对象组资源和策略数据1。In one example, the network storage network element simultaneously obtains the object group resources and
S505:网络存储网元向第二网元1和第二网元2分配对象组列表,第二网元1和第二网元2接收来自网络存储网元分配的对象组列表。例如图3a所示的,第二网元1分配到的对象组为对象组1和对象组2,第二网元2分配到的对象组为对象组3和对象组4。S505: The network storage network element allocates the object group list to the
S506-510:同S404-S408a,不作赘述。S506-510: Same as S404-S408a, no further description is given.
S511:网络存储网元根据第二网元组311内第二网元1和第二网元2的运行状态的信息和/或第一请求,确定第一选择策略。S511 : The network storage network element determines a first selection strategy according to the information on the operating states of the
具体的,网络存储网元根据第一请求中的切片类型,对应策略数据1中的第一条件,确定选择规则为轮询选择,进一步地,网络存储网元根据第二网元1和第二网元2的对象组的分配情况,确定第一选择策略为:无会话时,轮询选择(第二网元1、第二网元2);有会话时,根据对象组选择(对象组1第二网元1;对象组2第二网元1;对象组3第二网元2;对象组4第二网元2)。Specifically, the network storage network element determines that the selection rule is polling selection according to the slice type in the first request and corresponds to the first condition in the
S512:网络存储网元向第一网元发送第一选择策略,第一网元接收来自网络存储网元的第一选择策略。S512: The network storage network element sends the first selection policy to the first network element, and the first network element receives the first selection policy from the network storage network element.
需要说明的是,S509可以与S512合并,例如可以是网络存储网元同时向第一网元发送第二网元组311和第二网元组312的列表及各组的描述信息,本申请对此不作限定。It should be noted that S509 can be combined with S512, for example, the network storage network element can send the list of the second network element group 311 and the second network element group 312 and the description information of each group to the first network element at the same time. This is not limited.
S513:第一网元根据第一选择策略,选择第二网元1。S513: The first network element selects the
具体的,第一网元判断不存在实体1相关的会话记录1,则根据第二网元1、第二网元2的顺序轮流选择,如选择第二网元1。Specifically, if the first network element determines that the
需要说明的是,无会话可为第一网元上不存在实体1调用第二服务相关会话1的记录,例如,第一网元为实体1的会话1首次调用第二服务。有会话可为第一网元上存在实体1调用第二服务相关会话的记录,例如,第一网元为实体1已经调用过第二服务的会话1再次调用第二服务。It should be noted that the absence of a session may mean that there is no record of
S514:第一网元向第二网元1发起第四请求,第二网元1接收来自第一网元的第四请求,用于请求第二网元1提供第二服务。S514: The first network element initiates a fourth request to the
S515:第二网元1向第一网元返回对象2标识和对象组2标识(即,分配到对象组2中),第一网元接收来自第二网元1的对象2标识和对象组2标识。S515: The
其中,对象标识为唯一能标识该对象的信息,例如对象是用户时,对象标识可为用户标识符、SUPI、session ID中的一个或多个。The object identifier is information that can uniquely identify the object. For example, when the object is a user, the object identifier may be one or more of a user identifier, a SUPI, and a session ID.
对象组标识为唯一能标识该对象组的信息,例如对象是用户时,对象组标识可为用户组标识、session set ID中的一个或多个。The object group identifier is information that can uniquely identify the object group. For example, when the object is a user, the object group identifier can be one or more of a user group identifier and a session set ID.
需要说明的是,第二网元1将第四请求分配到一对象组中进行处理,例如是对象组2,并且分配对象标识,例如对象2标识。It should be noted that the
S516:第一网元保存该对象2标识和对象组2标识,并对应于实体1及其需要调用的第二服务的相关会话1。S516: The first network element stores the identifier of the
S517:第一网元接收第二请求2,其中,第二请求2来源于实体1,请求调用的为第二服务的相关会话1。S517: The first network element receives the
S518:第一网元将实体1及第二服务对应至对象2标识和对象组2标识,并根据对象组2标识选择第二网元1。S518: The first network element corresponds the
具体的,第一网元根据第二请求2,确定存在实体1请求调用第二服务的相关会话1(例如S506中的)的记录,满足有会话的条件,确定按照对象所属的对象组选择,进一步根据S516中所保存的对象标识、对象组标识与实体1调用第二服务相关会话1对应关系,确定对象所属的对象组为组2,从而选择调用第二网元1。Specifically, according to the
通过上述方法,第一网元根据第二条件,确定无会话时采用轮询选择的规则,有会话时采用根据对象组选择的规则,实现了网络存储网元对第二网元负载的统一管理,避免了第一网元按照各自特有的算法进行选择造成第二网元负载不可控的情况。Through the above method, the first network element determines, according to the second condition, that the polling selection rule is used when there is no session, and the object group selection rule is used when there is a session, thereby realizing the unified management of the load of the second network element by the network storage network element. , to avoid the situation that the load of the second network element is uncontrollable due to the selection of the first network element according to its own unique algorithm.
实施例三:Embodiment three:
如图6所示,为本申请实施例提供的一种负载的管控方法的流程图。图6所示的方法可以独立存在,或者也可以与图4,图5的实施例结合,例如在S411,或者S515之后执行。当第一网元订阅目标第二网元组的选择策略时,网络存储网元根据目标第二网元组内第二网元运行变化的信息,确定第二选择策略,具体包括以下步骤:As shown in FIG. 6 , it is a flowchart of a load management and control method provided by an embodiment of the present application. The method shown in FIG. 6 may exist independently, or may also be combined with the embodiments of FIG. 4 and FIG. 5, for example, performed after S411 or S515. When the first network element subscribes to the selection policy of the target second network element group, the network storage network element determines the second selection policy according to the information about the operation change of the second network element in the target second network element group, which specifically includes the following steps:
S601,第一网元向网络存储网元发送第一请求,网络存储网元接收来自第一网元的第一请求,第一请求用于订阅第二网元组311第二网元的选择策略。S601, the first network element sends a first request to the network storage network element, the network storage network element receives the first request from the first network element, and the first request is used to subscribe the second network element group 311 to the selection policy of the second network element .
具体的,订阅第二网元组311第二网元的选择策略可以为:当第二网元组311内第二网元的运行发生变化,使得第一选择策略不满足变化后的第二网元组311内第二网元的情况,如选择范围内的第二网元数量发生变化,则网络存储网元提供第二选择策略。Specifically, the selection policy for subscribing to the second network element in the second network element group 311 may be: when the operation of the second network element in the second network element group 311 changes, the first selection policy does not satisfy the changed second network element. In the case of the second network element in the tuple 311, if the number of the second network element in the selection range changes, the network storage network element provides a second selection strategy.
S602,网络存储网元获取第二网元组311内第二网元的运行变化信息。S602 , the network storage network element acquires the operation change information of the second network element in the second network element group 311 .
具体的,网络存储网元可以从运维系统,所述第二网元组中的发生变化的第二网元,或者其他实体处获得其运行变化信息。例如,网络存储网元接收发生变化的第二网元发送的其运行变化信息。Specifically, the network storage network element may obtain its operation change information from the operation and maintenance system, the second network element that has changed in the second network element group, or other entities. For example, the network storage network element receives its operation change information sent by the changed second network element.
需要说明的是,运行变化信息可以为扩容相关信息,例如第二网元3上线;可以为缩容或者故障相关信息,例如使得第二网元3下线;可以是升级相关信息,例如第二网元3从版本1升级为版本2;可以是公共资源的重新分配的相关信息,例如第二网元3下线,使得第二网元分配到的对象组5和对象组6需要重新分配给第二网元1和第二网元2。It should be noted that the operation change information may be information related to capacity expansion, for example, the second network element 3 goes online; it may be information related to capacity reduction or failure, such as causing the second network element 3 to go offline; it may be information related to upgrade, such as the second network element 3 The network element 3 is upgraded from
S603:可选的,网络存储网元获取的第二网元组311的策略数据2。S603: Optionally, the network stores the
在一个示例中,运维系统或者其他实体获知第二网元组311内第二网元的运行变化信息,获知需要重新向网络存储网元提供策略数据2,并通过配置接口、基于业务的接口(service-based interface,SBI)接口或者API接口,向网络存储网元发送策略数据2。In an example, the operation and maintenance system or other entities know the operation change information of the second network element in the second network element group 311, know that the
在一个示例中,策略数据1为图4中的if网络切片类型=MBB,Round Robin,运行变化信息为第二网元3升级,运维系统或者其他实体获知第二网元3从版本1升级为版本2,获知需要重新向网络存储网元提供策略数据2,其中策略数据2可为:if version=1,weight为96%;if version=2,weight为4%。In an example, the
需要说明的是,当运维系统或者其他实体获知第二网元组311内第二网元的运行变化信息,确定无需重新向网络存储网元提供策略数据2时,则不执行S603。It should be noted that, when the operation and maintenance system or other entities know the operation change information of the second network element in the second network element group 311 and determine that it is not necessary to re-provide the
S604,网络存储网元根据第二网元组311第二网元的运行变化信息,确定第二选择策略。S604, the network storage network element determines a second selection strategy according to the operation change information of the second network element in the second network element group 311.
以S603中策略数据2为if version=1,weight为96%;if version=2,weight为4%为例:网络存储网元可根据第二网元3升级的信息,确定第二网元3的权重为4%,确定第二网元1和第二网元2的权重合为96%,则第二选择策略为:加权选择(96%第二网元1、第二网元2;4%第二网元3)。Taking the
S605:网络存储网元向第一网元发送第二选择策略,第一网元接收来自网络存储网元的第二选择策略。S605: The network storage network element sends the second selection policy to the first network element, and the first network element receives the second selection policy from the network storage network element.
S606:第一网元根据第二选择策略,选择第二网元1。S606: The first network element selects the
以第二选择策略为加权选择(96%第二网元1、第二网元2;4%第二网元3)为例,第一网元可按照权重,选择第二网元1。Taking the second selection strategy as weighted selection (96% of the
通过上述方法,目标第二网元组内一个或多个第二网元运行发生变化时,网络存储网元可以根据运行变化及时调整选择策略,实现对第二网元负载快速、高效的控制,降低管理、运营和维护的成本。Through the above method, when the operation of one or more second network elements in the target second network element group changes, the network storage network element can adjust the selection strategy in time according to the operation change, so as to realize fast and efficient control of the load of the second network element, Reduce management, operation and maintenance costs.
实施例四:Embodiment 4:
如图7所示,为本申请实施例提供的负载的管控方法的流程图。当运行变化的信息为公共资源的重新分配,如第二网元组311内第二网元3下线,使得第二网元3分配到的对象组5和对象组6需要重新分配,则网络存储网元根据目标第二网元组内第二网元公共资源的重新分配的信息,确定第二选择策略,具体包括以下步骤:As shown in FIG. 7 , it is a flowchart of a load management and control method provided by an embodiment of the present application. When the information of the operation change is the reallocation of public resources, for example, the second network element 3 in the second network element group 311 goes offline, so that the object group 5 and the object group 6 allocated by the second network element 3 need to be reallocated, the network The storage network element determines the second selection strategy according to the reallocation information of the public resources of the second network element in the target second network element group, which specifically includes the following steps:
S701:同S601,不作赘述。S701: The same as S601, and details are not repeated.
S702:第二网元3向网络存储网元发送消息3,网络存储网元接受第二网元3的消息3,消息3用于去注册。S702: The second network element 3 sends a message 3 to the network storage network element, and the network storage network element accepts the message 3 of the second network element 3, and the message 3 is used for deregistration.
S703:网络存储网元根据消息3,获知需要重新分配对象组。S703: According to the message 3, the network storage network element learns that the object group needs to be reassigned.
S704:网络存储网元回收第二网元3的对象组5和对象组6,重新分配给第二网元1和/或第二网元2。S704: The network storage network element reclaims the object group 5 and the object group 6 of the second network element 3, and reassigns them to the
在一个示例中,网络存储网元将对象组5分配给第二网元1,将对象组6分配给第二网元2。In one example, the network storage network element assigns object group 5 to the
S705:网络存储网元根据对象组的重新分配,确定第二选择策略。其中,第二选择策略包括新分配的对象组5和6。S705: The network storage network element determines a second selection strategy according to the object group reassignment. Among them, the second selection strategy includes newly allocated object groups 5 and 6 .
在一个示例中,第二选择策略包括根据对象组选择(组1、2、5第二网元1;组3、4、6第二网元2)。In one example, the second selection strategy includes selection according to object groups (
S706:同S605,不作赘述。S706: The same as S605, and details are not repeated.
S707:第一网元根据第二选择策略,选择第二网元1。S707: The first network element selects the
在一个示例中,公共资源重新分配前,第一网元选择第二网元3,第二网元3可以向第一网元返回对象组5标识。公共资源重新分配后,第一网元根据第二选择策略,向第二网元1调用第二服务,第二网元1可以向第一网元返回对象组5标识。In an example, before the public resources are reallocated, the first network element selects the second network element 3, and the second network element 3 may return the object group 5 identifier to the first network element. After the public resources are reallocated, the first network element invokes the second service to the
在一个示例中,第二选择策略包括第二条件(有会话)。分配前,第一网元为实体1选择第二网元3,第二网元3向第一网元返回对象组5标识。公共资源重新分配后,第一网元接收实体1发送的第二请求3,满足“有会话”的第二条件,于是根据实体1和第二请求3对应至对象组5,确定对象组5对应于第二网元1,选择后续为实体1调用第二网元1调用第二服务。In one example, the second selection policy includes a second condition (with session). Before the allocation, the first network element selects the second network element 3 for the
通过上述方法,目标第二网元组内第二网元的公共资源的重新分配时,网络存储网元可以根据公共资源的重新分配及时调整选择策略,实现对第二网元负载快速、高效的控制,降低管理、运营和维护的成本。Through the above method, when the public resources of the second network element in the target second network element group are reallocated, the network storage network element can adjust the selection strategy in time according to the reallocation of the public resources, so as to realize fast and efficient load on the second network element. Control and reduce management, operation and maintenance costs.
实施例五:Embodiment 5:
如图8所示,为本申请实施例提供的负载的管控方法的流程图。当运行变化的信息为扩容,如第二网元组311内第二网元3上线,则网络存储网元根据第二网元3上线的信息,确定第二选择策略,具体包括以下步骤:As shown in FIG. 8 , it is a flowchart of a load management and control method provided by an embodiment of the present application. When the information of the operation change is capacity expansion, such as the second network element 3 in the second network element group 311 goes online, the network storage network element determines the second selection strategy according to the information about the second network element 3 going online, which specifically includes the following steps:
S801:同S601,不作赘述。S801: The same as S601, and details are not repeated.
S802:第二网元3向网络存储网元发送消息4,网络存储网元接受第二网元3的消息4,消息4用于注册。S802: The second network element 3 sends a message 4 to the network storage network element, and the network storage network element accepts the message 4 of the second network element 3, and the message 4 is used for registration.
S803:网络存储网元根据消息4,确定第二选择策略。其中,第二选择策略包括上线的第二网元3。S803: The network storage network element determines a second selection strategy according to message 4. The second selection strategy includes the second network element 3 that is online.
在一个示例中,第二选择策略包括轮询选择(第二网元1、第二网元2、第二网元3)。In one example, the second selection strategy includes a round-robin selection (
S804:同S605,不作赘述。S804: The same as S605, and details are not repeated.
S805:第一网元根据第二选择策略,选择第二网元1。S805: The first network element selects the
以第二选择策略为轮询选择(第二网元1、第二网元2、第二网元3)为例,第一网元可按照顺序轮流选择,如选择到第二网元1。Taking the second selection strategy as polling selection (
通过上述方法,目标第二网元组内第二网元扩容时,网络存储网元可以根据第二网元扩容的信息,及时调整选择策略,实现对第二网元负载快速、高效的控制,降低管理、运营和维护的成本。Through the above method, when the capacity of the second network element in the target second network element group is expanded, the network storage network element can adjust the selection strategy in time according to the expansion information of the second network element, so as to realize fast and efficient control of the load of the second network element, Reduce management, operation and maintenance costs.
实施例六:Embodiment 6:
如图9所示,为本申请实施例提供的负载的管控方法的流程图。当运行变化的信息为缩容或故障,如使得第二网元组311内第二网元3下线,则网络存储网元根据第二网元3下线的信息,确定第二选择策略,具体包括以下步骤:As shown in FIG. 9 , it is a flowchart of a load management and control method provided by an embodiment of the present application. When the information of the operation change is shrinkage or failure, for example, the second network element 3 in the second network element group 311 goes offline, the network storage network element determines the second selection strategy according to the offline information of the second network element 3, Specifically include the following steps:
S901:同S601,不作赘述。S901: the same as S601, and will not be repeated.
S902:第二网元3向网络存储网元发送消息5,网络存储网元接受第二网元3的消息5,消息5用于去注册或指示故障下线。S902: The second network element 3 sends a message 5 to the network storage network element, and the network storage network element accepts the message 5 of the second network element 3, and the message 5 is used to deregister or indicate a fault to go offline.
S903:网络存储网元根据消息5,确定第二选择策略。S903: The network storage network element determines a second selection strategy according to message 5.
在一个示例中,第二选择策略包括轮询选择(第二网元1、第二网元2)。In one example, the second selection strategy includes a round-robin selection (
S904:同S605,不作赘述。S904: The same as S605, and details are not repeated.
S905:第一网元根据第二选择策略,选择第二网元1。S905: The first network element selects the
以第二选择策略为轮询选择(第二网元1、第二网元2)为例,第一网元可按照顺序轮流选择,如选择到第二网元1。Taking the second selection strategy as polling selection (
通过上述方法,目标第二网元组内第二网元故障或缩容时,网络存储网元可以根据第二网元故障或缩容的信息,及时调整选择策略,实现对第二网元负载快速、高效的控制,降低管理、运营和维护的成本。Through the above method, when the second network element in the target second network element group fails or shrinks, the network storage network element can adjust the selection strategy in time according to the information of the second network element failure or shrinkage, so as to realize the load on the second network element. Fast and efficient control reduces management, operation and maintenance costs.
实施例七:Embodiment 7:
如图10所示,为本申请实施例提供的负载的管控方法的流程图。当运行变化的信息为升级,如第二网元组311内第二网元3从版本1升级为版本2,则网络存储网元根据第二网元3升级的信息,确定第二选择策略,具体包括以下步骤:As shown in FIG. 10 , it is a flowchart of a load management and control method provided by an embodiment of the present application. When the operation change information is an upgrade, for example, the second network element 3 in the second network element group 311 is upgraded from
S1001:同S601,不作赘述。S1001: the same as S601, and will not be repeated.
S1002:第二网元3或第二网元3提供的第二服务升级,由版本1升级为版本2。S1002: The second network element 3 or the second service provided by the second network element 3 is upgraded from
S1003:升级完成后,第二网元3向网络存储网元发送消息6,网络存储网元接收第二网元3的消息6,第一消息用于指示注册更新或重新注册。S1003: After the upgrade is completed, the second network element 3 sends a message 6 to the network storage network element, and the network storage network element receives the message 6 of the second network element 3, where the first message is used to indicate registration update or re-registration.
S1004:可选的,网络存储网元获取的第二网元组211的策略数据2。S1004: Optionally, the network stores the
在一个示例中,运维系统或者其他实体向网络存储网元提供策略数据2,并通过配置接口、基于业务的接口(service-based interface,SBI)接口或者API接口,向网络存储网元发送策略数据2。In one example, the operation and maintenance system or other entity provides
在一个示例中,策略数据2可为:if version=1,weight为96%;if version=2,weight为4%。In one example,
S1005:网络存储网元根据消息6,确定第二选择策略。S1005: The network storage network element determines a second selection strategy according to message 6.
在一个示例中,网络存储网元根据消息6,确定第二网元3升级后的版本为2,获知第二网元组311内第二网元的选择规则为加权选择,且版本1的第二网元权重为96%,版本2的第二网元权重为4%用于版本的测试,进一步地,网络存储网元确定第二选择策略为加权选择(96%第二网元1、第二网元2;4%第二网元3)。In an example, the network storage network element determines that the upgraded version of the second network element 3 is 2 according to the message 6, and learns that the selection rule of the second network element in the second network element group 311 is weighted selection, and the first network element of
S1006:同S605,不作赘述。S1006: the same as S605, and will not be repeated.
S1007:第一网元根据第二选择策略,选择第二网元1。S1007: The first network element selects the
以第二选择策略为加权选择(96%第二网元1、第二网元2;4%第二网元3)为例,第一网元可按照权重选择,如选择到第二网元1。Taking the second selection strategy as weighted selection (96% of the
S1008:可选的,版本2测试完成后,网络存储网元可以进一步下发轮询选择(第二网元1、第二网元2、第二网元3)的策略给第一网元。S1008: Optionally, after the
具体描述可参考图6所示的步骤,此处不再赘述。For a detailed description, reference may be made to the steps shown in FIG. 6 , which will not be repeated here.
通过上述方法,目标第二网元组内存在第二网元升级时,网络存储网元可以根据第二网元升级的信息,及时调整选择策略,实现对第二网元负载快速、高效的控制,降低管理、运营和维护的成本。Through the above method, when the second network element is upgraded in the target second network element group, the network storage network element can adjust the selection strategy in time according to the information of the second network element upgrade, so as to realize fast and efficient control of the load of the second network element , reduce the cost of management, operation and maintenance.
上述主要从各个网元之间交互的角度对本申请实施例提供的方案进行了介绍,可以理解的是,上述网络存储网元、第一网元、第二网元为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应超过本申请的范围。The above mainly introduces the solutions provided by the embodiments of the present application from the perspective of interaction between various network elements. It can be understood that, in order to implement the above functions, the network storage network element, the first network element, and the second network element include: The corresponding hardware structures and/or software modules that perform each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not exceed the scope of this application.
本申请实施例可以根据上述方法示例对网络存储网元、第一网元、第二网元进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中,上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the network storage network element, the first network element, and the second network element may be divided into functional modules according to the foregoing method examples. For example, each function module may be divided corresponding to each function, or two or more The functions of the device are integrated in a processing module, and the above-mentioned integrated modules can be realized in the form of hardware or software function modules. It should be noted that, the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
例如,上述网元或功能可以通过图11中的通信设备来实现,如图11所示,该通信设备1100可以为网络存储网元、第一网元、第二网元。该通信设备1100包括:处理单元1101、通信单元1102,可选的,还可以包括存储单元1103。其中,处理单元1101和通信单元1102相连,处理单元1101和存储单元1103相连。进一步地,通信单元1102可以划分为接收单元和发送单元,分别执行接收信息和发送信息的功能。For example, the above network elements or functions may be implemented by the communication device in FIG. 11 . As shown in FIG. 11 , the
处理单元1101用于对上述网元的动作进行控制,例如支持上述网元执行本申请实施例所提供的方法及步骤。通信单元1102用于支持上述网元与其他网络实体的通信,例如本申请实施例中示出的网元与网络实体之间的通信。存储单元1103用于存储上述网元的数据或程序代码。The
其中,处理单元1101可以是处理器或控制器,例如可以是中央处理器(centralprocessing unit,CPU),通用处理器,数字信号处理器(digital signal processor,DSP),专用集成电路(application-specific integrated circuit,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或其任意组合。其可以实现或执行结合本申请所描述的各个示例性的逻辑方框、模块和电路。所述处理器也可以是实现计算功能的组合,例如包括一个或多个微处理器组合,DSP和微处理器的组合等等。通信单元1102可以是收发器。存储单元1103可以是存储器。The
通信装置1100可以是网络存储网元,图11a示出了的一种网络存储网元1110的结构示意图,该网络存储网元包括处理单元1111和通信单元1112,可选的,还可以包括存储单元1113。The
通信单元1112,用于接收来自第一网元的第一请求,具体可参考图3中的S301。The
可选的,处理单元1111,用于获取的目标第二网元组的策略数据,具体可参考图3中的S302。Optionally, the
处理单元1111,用于根据第一请求,获知需要提供选择策略,所述选择策略用于选择目标第二网元组内的目标第二网元,具体可参考图3中的S303。The
以及还用于根据目标第二网元组内第二网元的运行信息,确定选择策略,具体可参考图3中的S304。and is also used to determine the selection strategy according to the operation information of the second network element in the target second network element group, for details, please refer to S304 in FIG. 3 .
通信单元1112,还用于向第一网元发送选择策略,具体可参考图3中的S305。The
进一步地,网络存储网元1110还可以执行图4、5、6、7、8、9或10中相应的步骤,具体可参考上述方法实施例中的描述。Further, the network
通信装置1100还可以是本申请实施例中的第一网元(即服务消费者网元),图11b示出了的一种服务消费者网元1120的结构示意图,该服务消费者网元包括处理单元1121和通信单元1122,可选的,还可以包括存储单元1123。The
处理单元1121,用于获知需要调用第二服务,具体可参考图4中的S404。The
通信单元1122,用于向网络存储网元发送第一请求,具体可参考图4中的S405。The
处理单元1121,还用于获知目标第二网元组,具体可参考图4中的S406a-S407a。The
可选的,通信单元1122,还用于向网络存储网元发送消息2,用于查询目标第二网元组的描述信息,具体可参考图4中的S408。Optionally, the
处理单元1121,还用于获取来自所述网络存储网元的选择策略,具体可获取通信单元1122接收的选择策略,具体可参考图3中的S305。The
处理单元1121,还用于根据选择策略,确定目标第二网元。具体可参考图3中的S306。The
进一步地,服务消费者网元1120还可以执行图4、5、6、7、8、9或10中相应的步骤,具体可参考上述方法实施例中的描述。Further, the service
当上述的处理单元1101、1111、1121,通信单元1102、1112、1122分别为处理器、收发器,存储单元1103、1113、1123为存储器时,本申请实施例涉及的网络存储网元、第一网元、第二网元可以为图12所示的结构。When the above-mentioned
参阅图12所示,该通信设备1200包括:处理器1201、收发器1202,可选的,可以包括存储器1203以及总线1204。其中,处理器1201、收发器1202以及存储器1203通过总线1204连接;总线1204可以是外设部件互联标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图12中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 12 , the
本申请实施例还提供的一种芯片系统,包括至少一个处理器、接口电路,处理器和接口电路相连。An embodiment of the present application also provides a chip system, including at least one processor and an interface circuit, and the processor and the interface circuit are connected.
处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1301可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。A processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above-mentioned method can be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software. The above-mentioned processor 1301 may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods and steps disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
接口电路可以完成数据、指令或者信息的发送或者接收,处理器可以利用接口电路接收的数据、指令或者其它信息,进行加工,可以将加工完成信息通过接口电路发送出去。The interface circuit can complete the sending or receiving of data, instructions or information. The processor can use the data, instructions or other information received by the interface circuit to process, and can send the processing completion information through the interface circuit.
可选的,芯片系统还包括存储器,存储器可以包括只读存储器和随机存取存储器,并向处理器提供操作指令和数据。存储器的一部分还可以包括非易失性随机存取存储器(NVRAM)。Optionally, the chip system further includes a memory, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor. A portion of the memory may also include non-volatile random access memory (NVRAM).
可选的,存储器存储了可执行软件模块或者数据结构,处理器可以通过调用存储器存储的操作指令(该操作指令可存储在操作系统中),执行相应的操作。Optionally, the memory stores executable software modules or data structures, and the processor may execute corresponding operations by calling operation instructions stored in the memory (the operation instructions may be stored in the operating system).
可选的,芯片系统可以使用在网络存储网元、第一网元、第二网元中。可选的,接口电路1302用于执行图3至图10所示的实施例中网络存储网元、第一网元、第二网元的接收和发送的步骤。处理器1301用于执行图3至图10所示的实施例中的网络存储网元、第一网元、第二网元处理的步骤。存储器1303用于存储图3至图10所示的实施例中的网络存储网元、第一网元、第二网元的数据和指令。Optionally, the chip system may be used in the network storage network element, the first network element, and the second network element. Optionally, the interface circuit 1302 is configured to perform the steps of receiving and sending the network storage network element, the first network element, and the second network element in the embodiments shown in FIG. 3 to FIG. 10 . The processor 1301 is configured to execute the steps of processing the network storage network element, the first network element, and the second network element in the embodiments shown in FIG. 3 to FIG. 10 . The memory 1303 is used to store data and instructions of the network storage network element, the first network element, and the second network element in the embodiments shown in FIG. 3 to FIG. 10 .
例如,当芯片系统使用在网络存储网元时,可以通过接口电路1302接收来自第一网元的第一请求,具体可参考图3中的S301。处理器1301用于根据第一请求,获知需要提供选择策略,所述选择策略用于选择目标第二网元组内的目标第二网元,具体可参考图3中的S303。处理器1301还用于根据目标第二网元组内第二网元的运行信息,确定选择策略,具体可参考图3中的S304。还用于向第一网元发送选择策略,具体可参考图3中的S305。For example, when the system-on-a-chip is used in a network storage network element, the first request from the first network element may be received through the interface circuit 1302. For details, reference may be made to S301 in FIG. 3 . The processor 1301 is configured to learn, according to the first request, that a selection policy needs to be provided, where the selection policy is used to select a target second network element in the target second network element group, and for details, refer to S303 in FIG. 3 . The processor 1301 is further configured to determine a selection strategy according to the operation information of the second network element in the target second network element group, for details, please refer to S304 in FIG. 3 . It is also used to send the selection policy to the first network element, for details, please refer to S305 in FIG. 3 .
本申请实施例还提供了一种计算机可读存储介质。上述方法实施例中描述的方法可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。如果在软件中实现,则功能可以作为一个或多个指令或代码存储在计算机可读介质上或者在计算机可读介质上传输。计算机可读介质可以包括计算机存储介质和通信介质,还可以包括任何可以将计算机程序从一个地方传送到另一个地方的介质。存储介质可以是可由计算机访问的任何可用介质。Embodiments of the present application also provide a computer-readable storage medium. The methods described in the foregoing method embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media can include both computer storage media and communication media and also include any medium that can transfer a computer program from one place to another. A storage medium can be any available medium that can be accessed by a computer.
作为一种可选的设计,计算机可读介质可以包括RAM,ROM,EEPROM,CD-ROM或其它光盘存储器,磁盘存储器或其它磁存储设备,或可用于承载的任何其它介质或以指令或数据结构的形式存储所需的程序代码,并且可由计算机访问。而且,任何连接被适当地称为计算机可读介质。例如,如果使用同轴电缆,光纤电缆,双绞线,数字用户线(DSL)或无线技术(如红外,无线电和微波)从网站,服务器或其它远程源传输软件,则同轴电缆,光纤电缆,双绞线,DSL或诸如红外,无线电和微波之类的无线技术包括在介质的定义中。如本文所使用的磁盘和光盘包括光盘(CD),激光盘,光盘,数字通用光盘(DVD),软盘和蓝光盘,其中磁盘通常以磁性方式再现数据,而光盘利用激光光学地再现数据。上述的组合也应包括在计算机可读介质的范围内。As an alternative design, the computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that may be used to carry or carry instructions or data structures The required program code is stored in the form and can be accessed by the computer. Also, any connection is properly termed a computer-readable medium. For example, if you use coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies (such as infrared, radio, and microwave) to transmit software from a website, server, or other remote source, coaxial cable, fiber optic cable , twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of medium. Disk and disc as used herein includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc, where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
本申请实施例还提供了一种计算机程序产品。上述方法实施例中描述的方法可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。如果在软件中实现,可以全部或者部分得通过计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行上述计算机程序指令时,全部或部分地产生按照上述方法实施例中描述的流程或功能。上述计算机可以是通用计算机、专用计算机、计算机网络、网络设备、用户设备或者其它可编程装置。The embodiments of the present application also provide a computer program product. The methods described in the foregoing method embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, it may be implemented in whole or in part in the form of a computer program product. A computer program product includes one or more computer instructions. When the above-mentioned computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the above-mentioned method embodiments are generated. The aforementioned computer may be a general purpose computer, a special purpose computer, a computer network, network equipment, user equipment, or other programmable devices.
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。The specific embodiments described above further describe the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made on the basis of the technical solution of the present invention shall be included within the protection scope of the present invention.
Claims (30)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811456967.5A CN111263404B (en) | 2018-11-30 | 2018-11-30 | Load control method, device and system |
PCT/CN2019/122081 WO2020108631A1 (en) | 2018-11-30 | 2019-11-29 | Load management method, apparatus, and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811456967.5A CN111263404B (en) | 2018-11-30 | 2018-11-30 | Load control method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111263404A CN111263404A (en) | 2020-06-09 |
CN111263404B true CN111263404B (en) | 2021-09-17 |
Family
ID=70851915
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811456967.5A Active CN111263404B (en) | 2018-11-30 | 2018-11-30 | Load control method, device and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111263404B (en) |
WO (1) | WO2020108631A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113852479B (en) * | 2020-06-28 | 2022-12-02 | 中移(成都)信息通信科技有限公司 | A secure network construction method, device, equipment and computer storage medium |
CN113079529B (en) * | 2021-03-30 | 2022-11-18 | 广州爱浦路网络技术有限公司 | Network element resource management method and system |
CN116405445A (en) * | 2021-12-28 | 2023-07-07 | 中兴通讯股份有限公司 | Data distribution method, device, network equipment and storage medium |
CN116980921A (en) * | 2022-04-21 | 2023-10-31 | 华为技术有限公司 | Communication method and device |
CN115103362B (en) * | 2022-06-27 | 2025-05-13 | 绿盟科技集团股份有限公司 | 5G network element call sequence restoration method and device, and electronic equipment |
CN119232515A (en) * | 2023-06-29 | 2024-12-31 | 中兴通讯股份有限公司 | Communication method, electronic device and computer readable medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106503103A (en) * | 2016-10-17 | 2017-03-15 | 济南浪潮高新科技投资发展有限公司 | A kind of lightweight REST service framework implementation method |
US9853869B1 (en) * | 2015-01-27 | 2017-12-26 | Amdocs Software Systems Limited | System, method, and computer program for automatically instructing a virtual network function (VNF) to operate in accordance with one of a plurality of function definitions |
CN108282352A (en) * | 2017-01-05 | 2018-07-13 | 华为技术有限公司 | Manage the methods, devices and systems of network slice example |
WO2018172182A1 (en) * | 2017-03-21 | 2018-09-27 | Telefonaktiebolaget Lm Ericsson (Publ) | Smf selection based on supported dnn |
CN108632312A (en) * | 2017-03-20 | 2018-10-09 | 中国移动通信有限公司研究院 | Network function information interacting method and device |
CN108632216A (en) * | 2017-03-20 | 2018-10-09 | 电信科学技术研究院 | Network function authorization method, device, readable storage medium storing program for executing and entity device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3358887B1 (en) * | 2017-02-06 | 2020-02-05 | Industrial Technology Research Institute | User equipment registration method for network slice selection and network controller and network communication system using the same |
-
2018
- 2018-11-30 CN CN201811456967.5A patent/CN111263404B/en active Active
-
2019
- 2019-11-29 WO PCT/CN2019/122081 patent/WO2020108631A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9853869B1 (en) * | 2015-01-27 | 2017-12-26 | Amdocs Software Systems Limited | System, method, and computer program for automatically instructing a virtual network function (VNF) to operate in accordance with one of a plurality of function definitions |
CN106503103A (en) * | 2016-10-17 | 2017-03-15 | 济南浪潮高新科技投资发展有限公司 | A kind of lightweight REST service framework implementation method |
CN108282352A (en) * | 2017-01-05 | 2018-07-13 | 华为技术有限公司 | Manage the methods, devices and systems of network slice example |
CN108632312A (en) * | 2017-03-20 | 2018-10-09 | 中国移动通信有限公司研究院 | Network function information interacting method and device |
CN108632216A (en) * | 2017-03-20 | 2018-10-09 | 电信科学技术研究院 | Network function authorization method, device, readable storage medium storing program for executing and entity device |
WO2018172182A1 (en) * | 2017-03-21 | 2018-09-27 | Telefonaktiebolaget Lm Ericsson (Publ) | Smf selection based on supported dnn |
Also Published As
Publication number | Publication date |
---|---|
CN111263404A (en) | 2020-06-09 |
WO2020108631A1 (en) | 2020-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111263404B (en) | Load control method, device and system | |
JP7187580B2 (en) | Method, apparatus and system for session management | |
KR102224248B1 (en) | Method for establishing protocol data unit in communication system | |
US12150205B2 (en) | Method, apparatus, and system for selecting session management network element | |
CN108323245B (en) | Registration and session establishment method, terminal and AMF entity | |
CN110278096B (en) | Communication method and device based on network slice | |
JP6908720B2 (en) | Core network control plane device selection method and equipment | |
CN111615844B (en) | Method and apparatus for selecting a session management entity serving a wireless communication device | |
WO2018134483A1 (en) | Method and apparatus for complementary and equivalent network slice deployment in a network environment | |
JP2020532180A (en) | Session handling method and related devices | |
US20240348693A1 (en) | Session establishment method and apparatus | |
CN111567113B (en) | Session establishment method, relay device selection method, registration method and device | |
EP3823389B1 (en) | User plane resource management method, user plane network element, and control plane network element | |
WO2020135850A1 (en) | Communication method and apparatus | |
WO2019196811A1 (en) | Communication method and related apparatus | |
CN109429221A (en) | Data transmission method, equipment and system | |
CN110268751A (en) | Method and system for selection access and mobile management function to ps domain in access net environment | |
WO2022237516A1 (en) | Wireless communication method and communication apparatus | |
CN113573298A (en) | Communication method and device | |
WO2020200057A1 (en) | Communication method and apparatus | |
CN110913437B (en) | Communication method and network element | |
EP4262244A1 (en) | Method and device for determining mec access point | |
CN115413063A (en) | Method, device and system for establishing connection | |
US11653334B2 (en) | Systems and methods for reducing transcoding resource allocation during call setup to multiple terminations | |
US20250150955A1 (en) | Methods, apparatuses, and computer program products for enhancing local breakout sessions in roaming scenarios |
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 |