Movatterモバイル変換


[0]ホーム

URL:


CN112825527A - Service node distribution method and device based on MEC and related server - Google Patents

Service node distribution method and device based on MEC and related server
Download PDF

Info

Publication number
CN112825527A
CN112825527ACN201911147857.5ACN201911147857ACN112825527ACN 112825527 ACN112825527 ACN 112825527ACN 201911147857 ACN201911147857 ACN 201911147857ACN 112825527 ACN112825527 ACN 112825527A
Authority
CN
China
Prior art keywords
service node
terminal device
information
network indicator
indicator information
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.)
Pending
Application number
CN201911147857.5A
Other languages
Chinese (zh)
Inventor
毛峻岭
方绍波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile IoT Co LtdfiledCriticalChina Mobile Communications Group Co Ltd
Priority to CN201911147857.5ApriorityCriticalpatent/CN112825527A/en
Priority to PCT/CN2020/120328prioritypatent/WO2021098407A1/en
Publication of CN112825527ApublicationCriticalpatent/CN112825527A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提供一种基于MEC的服务节点分配方法、装置、云端服务器、MEC服务器以及计算机可读存储介质。该方法包括:接收终端设备发送的登录请求;接收移动边缘计算MEC服务器基于查询请求反馈的所述MEC服务器管控的至少一服务节点的网络指标信息;基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点;将所述目标服务节点的访问标识发送给所述终端设备,所述访问标识用于指示所述终端设备接入所述目标服务节点。本发明实施例能够提高服务引流的灵活性。

Figure 201911147857

The present invention provides an MEC-based service node allocation method, device, cloud server, MEC server and computer-readable storage medium. The method includes: receiving a login request sent by a terminal device; receiving network indicator information of at least one service node managed and controlled by the MEC server fed back by a mobile edge computing MEC server based on the query request; based on the network indicator information of the at least one service node, Selecting a target service node for the terminal device; sending an access identifier of the target service node to the terminal device, where the access identifier is used to instruct the terminal device to access the target service node. The embodiments of the present invention can improve the flexibility of service diversion.

Figure 201911147857

Description

Translated fromChinese
基于MEC的服务节点分配方法、装置及相关服务器MEC-based service node allocation method, device and related server

技术领域technical field

本发明实施例涉及边缘计算技术领域,尤其涉及一种基于移动边缘计算(MobileEdge Computing,MEC)的服务节点分配方法、装置、云端服务器、MEC服务器以及计算机可读存储介质。Embodiments of the present invention relate to the technical field of edge computing, and in particular, to a mobile edge computing (Mobile Edge Computing, MEC)-based service node allocation method, device, cloud server, MEC server, and computer-readable storage medium.

背景技术Background technique

随着网络技术、互联网以及物联网业务的发展,人们产生了在移动网络边缘数据中心进行服务部署提供业务服务的需求,以节省移动终端与业务服务器之间的业务交互流量,降低业务交互时延,减少业务服务器的业务压力。特别是在物联网的应用场景中,边缘服务部署的需求巨大,而在移动网络边缘数据中心的接入过程中,会存在边缘接入服务器分配(又称为服务引流)的问题,需要为接入的终端应用分配对应的边缘接入服务器。With the development of network technology, Internet and Internet of Things services, there is a demand for service deployment in mobile network edge data centers to provide business services, so as to save business interaction traffic between mobile terminals and business servers and reduce business interaction delays , reduce the business pressure on the business server. Especially in the application scenario of the Internet of Things, the demand for edge service deployment is huge, and in the access process of the mobile network edge data center, there will be the problem of edge access server allocation (also known as service diversion), which needs to be The incoming terminal application allocates the corresponding edge access server.

目前,服务引流方式主要有两种,分别是域名系统(Domain Name System,DNS)解析引流方式和动态路由方式。对于DNS解析引流方式,利用应用请求的域名,通过DNS解析到需要为应用分配的边缘接入应用服务器,从而达到引流的目的;而对于动态路由方式,通过对服务器互联网协议(Internet Protocol,IP)进行动态路由,将应用请求路由到需要为应用分配的边缘接入应用服务器,从而达到引流的目的。At present, there are two main service diversion modes, namely, a Domain Name System (Domain Name System, DNS) resolution diversion mode and a dynamic routing mode. For the DNS resolution and diversion method, the domain name requested by the application is used to resolve the edge access application server that needs to be allocated for the application through DNS, so as to achieve the purpose of diversion; for the dynamic routing method, the server Internet Protocol (IP) Perform dynamic routing to route application requests to the edge access application server that needs to be allocated for the application, so as to achieve the purpose of traffic diversion.

从上述可以看出,不管是DNS解析引流方式还是动态路由方式,都受限于应用场景,比如,对于DNS解析引流方式,需要终端应用支持DNS域名访问,而在物联网场景中由于部分终端能力受限,其可能并不支持DNS域名访问,对于动态路由方式,需要依赖网络路由设备,且一般用于支持主备服务器场景,因此,现有技术中服务引流方式存在灵活性较差的问题。It can be seen from the above that whether it is the DNS resolution diversion method or the dynamic routing method, it is limited by the application scenario. For example, for the DNS resolution diversion method, the terminal application needs to support DNS domain name access. In the IoT scenario, due to some terminal capabilities Limited, it may not support DNS domain name access. For dynamic routing, it needs to rely on network routing devices, and is generally used to support active and standby server scenarios. Therefore, the service traffic diversion method in the prior art has the problem of poor flexibility.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种基于MEC的服务节点分配方法、装置、云端服务器、MEC服务器以及计算机可读存储介质,以解决现有技术中服务引流方式存在灵活性较差的问题。Embodiments of the present invention provide an MEC-based service node allocation method, device, cloud server, MEC server, and computer-readable storage medium, so as to solve the problem of poor flexibility in the prior art service diversion method.

第一方面,本发明实施例提供一种基于MEC的服务节点分配方法,应用于云端服务器,所述方法包括:In a first aspect, an embodiment of the present invention provides an MEC-based service node allocation method, which is applied to a cloud server, and the method includes:

接收终端设备发送的登录请求;其中,所述登录请求中包括所述终端设备的标识信息;receiving a login request sent by a terminal device; wherein, the login request includes identification information of the terminal device;

接收移动边缘计算MEC服务器基于查询请求反馈的所述MEC服务器管控的至少一服务节点的网络指标信息;其中,所述查询请求包括所述标识信息,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;Receive network indicator information of at least one service node managed and controlled by the MEC server fed back by the mobile edge computing MEC server based on a query request; wherein the query request includes the identification information, and the network indicator information of each service node includes Network performance measurement information from the terminal device corresponding to the identification information to the serving node;

基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点;其中,所述目标服务节点为所述至少一服务节点中的服务节点;Selecting a target service node for the terminal device based on the network indicator information of the at least one service node; wherein, the target service node is a service node in the at least one service node;

将所述目标服务节点的访问标识发送给所述终端设备,所述访问标识用于指示所述终端设备接入所述目标服务节点。The access identifier of the target service node is sent to the terminal device, where the access identifier is used to instruct the terminal device to access the target service node.

第二方面,本发明实施例提供一种基于MEC的服务节点分配方法,应用于MEC服务器,所述方法包括:In a second aspect, an embodiment of the present invention provides an MEC-based service node allocation method, which is applied to an MEC server, and the method includes:

接收云端服务器发送的查询请求;其中,所述查询请求包括终端设备的标识信息;receiving a query request sent by a cloud server; wherein the query request includes identification information of the terminal device;

基于所述查询请求,查询并获得所述MEC服务器管控的至少一服务节点的网络指标信息;其中,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;Based on the query request, query and obtain the network indicator information of at least one service node managed and controlled by the MEC server; wherein, the network indicator information of each service node includes the terminal equipment corresponding to the identification information to the service node. Node's network performance measurement information;

将所述至少一服务节点的网络指标信息发送给云端服务器;其中,所述至少一服务节点的网络指标信息用于指示所述云端服务器为所述终端设备选择目标服务节点。Sending the network indicator information of the at least one service node to the cloud server; wherein the network indicator information of the at least one service node is used to instruct the cloud server to select a target service node for the terminal device.

第三方面,本发明实施例还提供一种基于MEC的服务节点分配方法,应用于移动边缘计算MEC服务器,所述方法包括:In a third aspect, an embodiment of the present invention further provides an MEC-based service node allocation method, which is applied to a mobile edge computing MEC server, and the method includes:

获取终端设备发送的查询请求;其中,所述查询请求中包括所述终端设备的标识信息及目标服务应用的标识信息;Obtain a query request sent by a terminal device; wherein, the query request includes the identification information of the terminal device and the identification information of the target service application;

基于所述查询请求,查询所述MEC服务器基于所述目标服务应用的标识信息对应的服务应用管控的至少一服务节点的网络指标信息;其中,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;Based on the query request, query the network indicator information of at least one service node managed and controlled by the MEC server based on the service application corresponding to the identification information of the target service application; wherein, the network indicator information of each service node includes all Network performance measurement information from the terminal device corresponding to the identification information to the service node;

基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点;其中,所述目标服务节点为所述至少一服务节点中的服务节点;Selecting a target service node for the terminal device based on the network indicator information of the at least one service node; wherein, the target service node is a service node in the at least one service node;

将所述目标服务节点的访问标识发送给所述终端设备,所述访问标识用于指示所述终端设备接入所述目标服务节点。The access identifier of the target service node is sent to the terminal device, where the access identifier is used to instruct the terminal device to access the target service node.

第四方面,本发明实施例提供一种基于MEC的服务节点分配装置,应用于云端服务器,所述装置包括:In a fourth aspect, an embodiment of the present invention provides an apparatus for allocating service nodes based on MEC, which is applied to a cloud server, and the apparatus includes:

第一接收模块,用于接收终端设备发送的登录请求;其中,所述登录请求中包括所述终端设备的标识信息;a first receiving module, configured to receive a login request sent by a terminal device; wherein, the login request includes identification information of the terminal device;

第二接收模块,用于接收移动边缘计算MEC服务器基于查询请求反馈的所述MEC服务器管控的至少一服务节点的网络指标信息;其中,所述查询请求包括所述标识信息,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;The second receiving module is configured to receive the network indicator information of at least one service node managed and controlled by the MEC server fed back by the mobile edge computing MEC server based on the query request; wherein the query request includes the identification information, and each service The network indicator information of the node includes network performance measurement information from the terminal device corresponding to the identification information to the serving node;

第一选择模块,用于基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点;其中,所述目标服务节点为所述至少一服务节点中的服务节点;a first selection module, configured to select a target service node for the terminal device based on the network indicator information of the at least one service node; wherein, the target service node is a service node in the at least one service node;

第一发送模块,用于将所述目标服务节点的访问标识发送给所述终端设备,所述访问标识用于指示所述终端设备接入所述目标服务节点。The first sending module is configured to send the access identifier of the target service node to the terminal device, where the access identifier is used to instruct the terminal device to access the target service node.

第五方面,本发明实施例提供一种基于MEC的服务节点分配装置,应用于MEC服务器,所述装置包括:In a fifth aspect, an embodiment of the present invention provides an MEC-based service node allocation apparatus, which is applied to an MEC server, and the apparatus includes:

第三接收模块,用于接收云端服务器发送的查询请求;其中,所述查询请求包括终端设备的标识信息;The third receiving module is configured to receive the query request sent by the cloud server; wherein, the query request includes the identification information of the terminal device;

第一查询模块,用于基于所述查询请求,查询并获得所述MEC服务器管控的至少一服务节点的网络指标信息;其中,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;A first query module, configured to query and obtain network indicator information of at least one service node managed and controlled by the MEC server based on the query request; wherein, the network indicator information of each of the service nodes includes the identification information corresponding to the The network performance measurement information from the terminal device to the service node;

第二发送模块,用于将所述至少一服务节点的网络指标信息发送给云端服务器;其中,所述至少一服务节点的网络指标信息用于指示所述云端服务器为所述终端设备选择目标服务节点。The second sending module is configured to send the network indicator information of the at least one service node to the cloud server; wherein the network indicator information of the at least one service node is used to instruct the cloud server to select a target service for the terminal device node.

第六方面,本发明实施例提供一种基于MEC的服务节点分配装置,应用于移动边缘计算MEC服务器,所述装置包括:In a sixth aspect, an embodiment of the present invention provides an apparatus for allocating service nodes based on MEC, which is applied to a mobile edge computing MEC server, and the apparatus includes:

获取模块,用于获取终端设备发送的查询请求;其中,所述查询请求中包括所述终端设备的标识信息及目标服务应用的标识信息;an obtaining module, configured to obtain a query request sent by a terminal device; wherein, the query request includes the identification information of the terminal device and the identification information of the target service application;

第二查询模块,用于基于所述查询请求,查询所述MEC服务器基于所述目标服务应用的标识信息对应的服务应用管控的至少一服务节点的网络指标信息;其中,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;The second query module is configured to, based on the query request, query the network indicator information of at least one service node managed and controlled by the MEC server based on the service application corresponding to the identification information of the target service application; wherein, each service node The network indicator information includes network performance measurement information from the terminal device corresponding to the identification information to the service node;

第二选择模块,用于基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点;其中,所述目标服务节点为所述至少一服务节点中的服务节点;A second selection module, configured to select a target service node for the terminal device based on the network indicator information of the at least one service node; wherein, the target service node is a service node in the at least one service node;

第三发送模块,用于将所述目标服务节点的访问标识发送给所述终端设备,所述访问标识用于指示所述终端设备接入所述目标服务节点。The third sending module is configured to send the access identifier of the target service node to the terminal device, where the access identifier is used to instruct the terminal device to access the target service node.

第七方面,本发明实施例提供一种云端服务器,包括第一处理器,第一存储器,存储在所述第一存储器上并可在所述第一处理器上运行的计算机程序,所述计算机程序被所述第一处理器执行时实现上述云端服务器侧基于MEC的服务节点分配方法的步骤。In a seventh aspect, an embodiment of the present invention provides a cloud server, including a first processor, a first memory, and a computer program stored on the first memory and executable on the first processor, the computer When the program is executed by the first processor, the steps of the above-mentioned MEC-based service node allocation method on the cloud server side are implemented.

第八方面,本发明实施例提供一种MEC服务器,包括第二处理器,第二存储器,存储在所述第二存储器上并可在所述第二处理器上运行的计算机程序,所述计算机程序被所述第二处理器执行时实现上述MEC服务器侧基于MEC的服务节点分配方法的步骤。In an eighth aspect, an embodiment of the present invention provides an MEC server, including a second processor, a second memory, and a computer program stored on the second memory and executable on the second processor, the computer When the program is executed by the second processor, the steps of the above-mentioned MEC-based service node allocation method on the MEC server side are implemented.

第九方面,本发明实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被第一处理器执行时实现上述云端服务器侧基于MEC的服务节点分配方法的步骤,或者被第二处理器执行时实现上述MEC服务器侧基于MEC的服务节点分配方法的步骤。In a ninth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by the first processor, the above-mentioned MEC-based service on the cloud server side is implemented The steps of the node allocation method, or the steps of implementing the above-mentioned MEC-based service node allocation method on the MEC server side when executed by the second processor.

本发明实施例提供的基于MEC的服务节点分配方法、装置、云端服务器、MEC服务器以及计算机可读存储介质,首先,在终端设备应用登录云端服务器的情况下,云端服务器根据终端设备发送的登录请求,向MEC服务器查询所述MEC服务器管控的基于该应用的各服务节点的网络指标信息;其中,网络指标信息包括所述登录请求中标识信息对应的终端设备到服务节点的网络性能度量信息;然后,基于所述MEC服务器提供的网络指标信息,为所述终端设备选择目标服务节点;最后,将所述目标服务节点的访问标识发送给所述终端设备,从而实现对终端设备应用的服务引流。In the MEC-based service node allocation method, device, cloud server, MEC server, and computer-readable storage medium provided by the embodiments of the present invention, firstly, when a terminal device application logs in to the cloud server, the cloud server logs in to the cloud server according to the login request sent by the terminal device. , query the MEC server for the network indicator information of each service node based on the application managed and controlled by the MEC server; wherein, the network indicator information includes the network performance measurement information from the terminal device corresponding to the identification information in the login request to the service node; then , based on the network indicator information provided by the MEC server, select a target service node for the terminal device; finally, send the access identifier of the target service node to the terminal device, so as to implement service drainage for the terminal device application.

本发明实施例中,是通过终端设备应用在登录云端服务器时,云端服务器根据MEC服务器提供的网络指标信息为终端设备分配服务节点来完成服务引流,相对于DNS解析引流方式,不需要终端应用支持DNS域名访问,也适合物联网场景中不支持DNS域名访问的终端设备,同时,不需要依赖于DNS的更新速度。而相对于动态路由方式,不需要依赖网络路由设备,不受应用场景的限制,能支持多活的服务器场景。因此,本发明实施例能够提高服务引流的灵活性,同时,实现简单,切换速度快,且终端设备应用可随时自主发起引流更新,快速响应终端设备的需求。In the embodiment of the present invention, when the terminal device application is used to log in to the cloud server, the cloud server allocates service nodes to the terminal device according to the network indicator information provided by the MEC server to complete service diversion. Compared with the DNS resolution diversion method, no terminal application support is required. DNS domain name access is also suitable for terminal devices that do not support DNS domain name access in IoT scenarios. At the same time, it does not need to rely on DNS update speed. Compared with the dynamic routing method, it does not need to rely on network routing equipment, is not limited by application scenarios, and can support multi-active server scenarios. Therefore, the embodiments of the present invention can improve the flexibility of service traffic diversion, and at the same time, the implementation is simple, the switching speed is fast, and the terminal device application can autonomously initiate traffic diversion updates at any time to quickly respond to the needs of the terminal device.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获取其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本发明实施例提供的基于MEC的服务节点分配方法的流程示意图之一;1 is one of the schematic flowcharts of the MEC-based service node allocation method provided by an embodiment of the present invention;

图2是本发明实施例提供的基于MEC的服务节点分配方法的流程示意图之二;FIG. 2 is the second schematic flowchart of the MEC-based service node allocation method provided by an embodiment of the present invention;

图3是本发明实施例提供的基于MEC的服务节点分配方法应用的服务引流系统的结构示意图;3 is a schematic structural diagram of a service traffic diversion system to which the MEC-based service node allocation method provided by an embodiment of the present invention is applied;

图4是本发明实施例提供的基于MEC的服务节点分配方法的时序图;4 is a sequence diagram of an MEC-based service node allocation method provided by an embodiment of the present invention;

图5是本发明实施例提供的基于MEC的服务节点分配方法的流程示意图之三;5 is a third schematic flowchart of a method for assigning service nodes based on MEC provided by an embodiment of the present invention;

图6是本发明实施例提供的基于MEC的服务节点分配装置的结构示意图之一;6 is one of the schematic structural diagrams of the MEC-based service node allocation apparatus provided by an embodiment of the present invention;

图7是本发明实施例提供的基于MEC的服务节点分配装置的结构示意图之二;7 is a second schematic structural diagram of an MEC-based service node allocation apparatus provided by an embodiment of the present invention;

图8是本发明实施例提供的基于MEC的服务节点分配装置的结构示意图之三;8 is a third schematic structural diagram of an MEC-based service node allocation apparatus provided by an embodiment of the present invention;

图9是本发明实施例提供的云端服务器的结构示意图;9 is a schematic structural diagram of a cloud server provided by an embodiment of the present invention;

图10是本发明实施例提供的MEC服务器的结构示意图。FIG. 10 is a schematic structural diagram of an MEC server provided by an embodiment of the present invention.

具体实施方式Detailed ways

从背景技术可以看出,服务引流方式主要有两种,分别是DNS解析引流方式和动态路由方式。It can be seen from the background art that there are mainly two service traffic diversion modes, namely, a DNS resolution traffic diversion mode and a dynamic routing mode.

目前,由于内容分发网络(Content Delivery Network,CDN)业务的成熟,DNS解析引流方式使用最为广泛,该服务引流方式存在以下问题:At present, due to the maturity of the Content Delivery Network (CDN) business, the DNS resolution and traffic diversion method is the most widely used. The service traffic diversion method has the following problems:

1)需要终端设备应用支持DNS域名访问,而在物联网场景中部分终端设备由于能力受限,可能并不支持DNS域名访问;1) The terminal device application needs to support DNS domain name access, but in the IoT scenario, some terminal devices may not support DNS domain name access due to limited capabilities;

2)切换速度受制于DNS的更新速度,会达到分钟级以上的切换时延,一些场景可能会引起业务失败;2) The switching speed is subject to the update speed of DNS, which will reach a switching delay of more than a minute, and some scenarios may cause service failure;

3)主要是根据网络性能指标的负载引流,无法支持更丰富的应用级引流策略。3) It is mainly based on load diversion based on network performance indicators, and cannot support richer application-level traffic diversion strategies.

而动态路由方式采用较少,该服务引流方式存在以下问题:However, the dynamic routing method is rarely used, and the service diversion method has the following problems:

1)需要参与网络路由计算,依赖网络路由设备;1) Need to participate in network routing calculation and rely on network routing equipment;

2)复杂性高,一般用于支持主备服务器场景,很难支持多活的服务器场景,而在基于MEC的接入场景中,边缘接入应用服务器都是多活的。2) High complexity, generally used to support active and standby server scenarios, it is difficult to support multi-active server scenarios, while in MEC-based access scenarios, edge access application servers are multi-active.

基于此,本发明实施例提出一种新的基于MEC的服务节点分配方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获取的所有其他实施例,都属于本发明保护的范围。Based on this, an embodiment of the present invention proposes a new MEC-based service node allocation scheme. The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. The described embodiments are some, but not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

下面首先对本发明实施例提供的基于MEC的服务节点分配方法进行说明。The following first describes the MEC-based service node allocation method provided by the embodiment of the present invention.

需要说明的是,本发明实施例提供的基于MEC的服务节点分配方法可以应用于服务引流系统,所述服务引流系统用于根据MEC服务器提供的网络指标信息,在云端服务器的调度下将终端设备的应用引流到服务节点去处理,以节省终端设备与云端服务器之间业务交互的流量,降低业务交互的时延,减少云端服务器的业务压力。It should be noted that the MEC-based service node allocation method provided in the embodiment of the present invention can be applied to a service traffic diversion system, where the service traffic diversion system is used to allocate terminal devices under the scheduling of the cloud server according to the network indicator information provided by the MEC server. The application is diverted to the service node for processing, so as to save the traffic of business interaction between the terminal device and the cloud server, reduce the delay of business interaction, and reduce the business pressure of the cloud server.

其中,所述服务引流系统包括云端服务器、MEC服务器、终端设备和至少一个服务节点,该服务节点为逻辑上的应用服务器,可以称之为边缘接入应用服务器,用于接入云端服务器分配的终端设备应用,达到服务引流的目的。The service diversion system includes a cloud server, a MEC server, a terminal device and at least one service node. The service node is a logical application server, which can be called an edge access application server, which is used to access the data allocated by the cloud server. Terminal device application to achieve the purpose of service drainage.

参见图1,图中示出了本发明实施例提供的基于MEC的服务节点分配方法的流程示意图之一。应用于云端服务器,如图1所示,该方法可以包括如下步骤:Referring to FIG. 1 , the figure shows one of the schematic flowcharts of the MEC-based service node allocation method provided by the embodiment of the present invention. Applied to a cloud server, as shown in Figure 1, the method may include the following steps:

步骤101,接收终端设备发送的登录请求;其中,所述登录请求中包括所述终端设备的标识信息。Step 101: Receive a login request sent by a terminal device, wherein the login request includes identification information of the terminal device.

终端设备应用为实现业务处理,终端设备应用可以向云端服务器发起登录请求,所述登录请求中携带有终端设备的标识信息;相应的,所述云端服务器接收所述终端设备发送的登录请求。In order to realize business processing by the terminal device application, the terminal device application can initiate a login request to the cloud server, and the login request carries the identification information of the terminal device; correspondingly, the cloud server receives the login request sent by the terminal device.

其中,所述标识信息可以仅包括网络标识,如所述终端设备的IP地址或端口号,所述标识信息也可以仅包括设备标识,如国际移动用户识别码(International MobileSubscriber Identity,IMSI)或唯一身份标识ID(Identification,ID),所述标识信息也可以同时包括网络标识和设备标识,这里不做具体限定。Wherein, the identification information may only include a network identification, such as the IP address or port number of the terminal device, and the identification information may also include only a device identification, such as an International Mobile Subscriber Identity (IMSI) or a unique Identification ID (Identification, ID), the identification information may also include a network identification and a device identification at the same time, which is not specifically limited here.

另外,所述终端设备应用可以为终端设备上的任何应用,比如,所述终端设备应用可以为支付宝应用、微信应用等。In addition, the terminal device application may be any application on the terminal device, for example, the terminal device application may be an Alipay application, a WeChat application, and the like.

步骤102,接收移动边缘计算MEC服务器基于查询请求反馈的所述MEC服务器管控的至少一服务节点的网络指标信息;其中,所述查询请求包括所述标识信息,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息。Step 102: Receive the network indicator information of at least one service node managed and controlled by the MEC server fed back by the mobile edge computing MEC server based on the query request; wherein the query request includes the identification information, the network indicator of each service node The information includes network performance measurement information from the terminal device corresponding to the identification information to the serving node.

所述云端服务器获取登录请求之后,触发查询请求,并将查询请求发送给MEC服务器,其中,所述查询请求中携带有终端设备的标识信息和所述云端服务器的应用标识信息。After acquiring the login request, the cloud server triggers a query request, and sends the query request to the MEC server, wherein the query request carries the identification information of the terminal device and the application identification information of the cloud server.

所述MEC服务器接收所述查询请求,并基于所述查询请求,查询并获得所述MEC服务器管控的至少一服务节点的网络指标信息,其中,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息。The MEC server receives the query request, and based on the query request, queries and obtains network indicator information of at least one service node managed and controlled by the MEC server, wherein the network indicator information of each of the service nodes includes all the network indicator information. network performance measurement information from the terminal device corresponding to the identification information to the serving node.

这里,服务节点的网络指标信息中至少包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息,同时,服务节点的网络指标信息还可以包括所述服务节点所在边缘数据中心的负载信息。Here, the network indicator information of the service node includes at least the network performance measurement information from the terminal device corresponding to the identification information to the service node. Meanwhile, the network indicator information of the service node may also include the data of the edge data center where the service node is located. load information.

其中,网络性能度量信息可以包括终端设备到服务节点的网络延迟和网络距离等信息,负载信息可以包括服务节点本身的工作时延和业务状态等信息。The network performance measurement information may include information such as network delay and network distance from the terminal device to the service node, and the load information may include information such as the working delay and service status of the service node itself.

具体的,所述MEC服务器可以基于所述标识信息和应用标识信息,查询所述标识信息对应的终端设备到所述应用标识信息对应的应用各服务节点的网络性能度量信息,同时,还可以进一步获取各服务节点所在边缘数据中心的负载信息。其中,服务节点所在边缘数据中心的负载信息可以由服务节点实时或者间隔时间周期上报至MEC服务器,相应的,MEC服务器即可获取所述负载信息。Specifically, the MEC server may, based on the identification information and the application identification information, query the network performance measurement information from the terminal device corresponding to the identification information to each service node of the application corresponding to the application identification information, and at the same time, it may further Obtain the load information of the edge data center where each service node is located. The load information of the edge data center where the service node is located may be reported by the service node to the MEC server in real time or at intervals, and accordingly, the MEC server can obtain the load information.

所述MEC服务器可以根据所述查询请求,反馈至少一服务节点的网络指标信息。比如,所述查询请求中还可以包括反馈策略信息,比如,所述反馈策略信息可以指示MEC服务器反馈能查询到的所有服务节点的网络指标信息,所述反馈策略信息也可以指示MEC服务器反馈部分服务节点的网络指标信息。The MEC server may feed back network indicator information of at least one service node according to the query request. For example, the query request may further include feedback strategy information. For example, the feedback strategy information may indicate that the MEC server feeds back the network indicator information of all service nodes that can be queried, and the feedback strategy information may also indicate that the MEC server feedback part Network metrics information of the service node.

进一步的,根据反馈策略信息有两种方式反馈部分服务节点的网络指标信息。Further, there are two ways to feed back the network indicator information of some service nodes according to the feedback strategy information.

第一种方式为:所述反馈策略信息中可以包括第一网络指标阈值,相应的,MEC服务器只需要反馈网络指标信息满足所述第一网络指标阈值的服务节点的网络指标信息即可。所述第一网络指标阈值可以仅包括第一阈值,相应的,MEC服务器只需要反馈网络指标信息中网络性能度量信息满足第一阈值的服务节点的网络指标信息即可。所述第一网络指标阈值可以同时包括第一阈值和第二阈值,MEC服务器只需要反馈网络指标信息中网络性能度量信息满足第一阈值、且网络指标信息中负载信息满足第二阈值的服务节点的网络指标信息即可。The first way is: the feedback policy information may include a first network indicator threshold, and accordingly, the MEC server only needs to feed back network indicator information of a service node whose network indicator information meets the first network indicator threshold. The first network indicator threshold may only include the first threshold. Correspondingly, the MEC server only needs to feed back the network indicator information of the service node whose network performance measurement information in the network indicator information meets the first threshold. The first network indicator threshold may include both the first threshold and the second threshold, and the MEC server only needs to feed back the service nodes whose network performance measurement information in the network indicator information satisfies the first threshold and whose load information in the network indicator information satisfies the second threshold. The network indicator information can be used.

第二种方式为:MEC服务器可以综合考虑各服务节点的网络性能度量信息和负载信息,对各服务节点进行排名,反馈排名前N个服务节点的网络指标信息,所述N为大于或等于的正整数。比如,所述MEC可以设置网络性能度量信息和负载信息的权值,基于加权的方式确定各服务节点的网络的好坏,按照网络的好坏对各服务节点进行排列,将网络最好的服务节点排列在第一名,同时,将网络最坏的服务节点排列在最后一名。The second way is: the MEC server can comprehensively consider the network performance measurement information and load information of each service node, rank each service node, and feed back the network index information of the top N service nodes, where N is greater than or equal to positive integer. For example, the MEC can set the weights of the network performance measurement information and the load information, determine the network quality of each service node based on the weighting method, arrange the service nodes according to the quality of the network, and assign the best service to the network. The nodes are ranked first, and at the same time, the worst service node of the network is ranked last.

MEC服务器获取到至少一服务节点的网络指标信息之后,将所述至少一服务节点的网络指标信息反馈给所述云端服务器,相应的,所述云端服务器即可接收到所述至少一服务节点的网络指标信息。After acquiring the network indicator information of the at least one service node, the MEC server feeds back the network indicator information of the at least one service node to the cloud server. Accordingly, the cloud server can receive the network indicator information of the at least one service node. Network metrics information.

步骤103,基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点;其中,所述目标服务节点为所述至少一服务节点中的服务节点。Step 103: Select a target service node for the terminal device based on the network indicator information of the at least one service node; wherein, the target service node is a service node in the at least one service node.

这里,可以根据云端服务器预先设置的引流策略,基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点。Here, a target service node may be selected for the terminal device according to a traffic diversion strategy preset by the cloud server and based on the network indicator information of the at least one service node.

所述云端服务器预先设置的引流策略可以有三种,其引流策略比较灵活,支持用户颗粒度的应用级策略引流。There are three kinds of traffic diversion strategies preset by the cloud server, and the traffic diversion strategies are relatively flexible, and support user granularity application-level traffic diversion strategies.

第一种引流策略可以为:仅根据服务节点的网络指标信息,为所述终端设备选择目标服务节点。The first traffic diversion strategy may be: selecting a target service node for the terminal device only according to the network indicator information of the service node.

具体的,所述基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点的步骤包括:Specifically, the step of selecting a target service node for the terminal device based on the network indicator information of the at least one service node includes:

确定所述至少一服务节点中网络指标信息最好的服务节点;determining the service node with the best network indicator information among the at least one service node;

将所述至少一服务节点中网络指标信息最好的服务节点确定为所述终端设备接入的目标服务节点。The service node with the best network indicator information among the at least one service node is determined as the target service node accessed by the terminal device.

所述云端服务器可以设置网络性能度量指标和负载信息的权值,基于加权的方式确定所述至少一服务节点中各服务节点的网络的好坏,并挑选出所述至少一服务节点中网络指标信息最好的服务节点,同时,将所述至少一服务节点中网络指标信息最好的服务节点确定为所述终端设备接入的目标服务节点。The cloud server may set the network performance metrics and the weights of the load information, determine the network quality of each service node in the at least one service node based on the weighting method, and select the network indicators in the at least one service node. The service node with the best information, and at the same time, the service node with the best network indicator information in the at least one service node is determined as the target service node accessed by the terminal device.

第二种引流策略可以为:根据服务节点的网络指标信息和终端设备的等级,为所述终端设备选择目标服务节点。The second traffic diversion strategy may be: selecting a target service node for the terminal device according to the network indicator information of the service node and the level of the terminal device.

具体的,所述基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点的步骤包括:Specifically, the step of selecting a target service node for the terminal device based on the network indicator information of the at least one service node includes:

获取所述终端设备的等级;其中,所述等级用于反映所述终端设备对于应用处理的重要程度;obtaining the level of the terminal device; wherein the level is used to reflect the importance of the terminal device for application processing;

确定所述至少一服务节点中网络指标信息与所述终端设备的等级匹配的服务节点;determining a service node whose network indicator information matches the level of the terminal device in the at least one service node;

将与所述终端设备的等级匹配的服务节点确定为所述终端设备接入的目标服务节点。A service node matching the level of the terminal device is determined as the target service node accessed by the terminal device.

所述终端设备的等级用于反映所述终端设备对于应用处理的重要程度,可以为重要等级,也可以为普通等级,还可以为其他等级如超重要等级,这里不做具体限定。其中,重要等级的终端设备相对于普通等级的终端设备,其应用的处理紧急程度可以大些,需要优先处理或者快速响应处理。The level of the terminal device is used to reflect the importance of the terminal device for application processing, which may be an important level, a common level, or other levels such as a super important level, which is not specifically limited here. Among them, the terminal equipment of the important level may have a higher degree of application processing urgency than the terminal equipment of the common level, and needs to be processed with priority or rapid response processing.

所述云端服务器可以根据所述终端设备的标识信息,确定所述终端设备的等级,比如,所述云端服务器可以预先存储有终端设备的标识信息和等级的映射表,基于所述标识信息,在所述映射表中即可查询到所述终端设备的等级。The cloud server may determine the level of the terminal device according to the identification information of the terminal device. For example, the cloud server may pre-store a mapping table between the identification information and the level of the terminal device, and based on the identification information, The level of the terminal device can be queried in the mapping table.

所述云端服务器可以设置网络性能度量指标和负载信息的权值,基于加权的方式确定所述至少一服务节点中各服务节点的网络的好坏,并可以基于各服务节点的网络的好坏,对各服务节点进行排序。基于排序后的各服务节点,匹配出所述终端设备的等级相应的服务节点。The cloud server may set the network performance metrics and the weights of the load information, determine the network quality of each service node in the at least one service node based on the weighting method, and may based on the network quality of each service node, Sort each service node. Based on the sorted service nodes, a service node corresponding to the level of the terminal device is matched.

应当说明的是,所述终端设备的等级相应的服务节点可以仅包括一个,也包括多个,这里不做具体限定。比如,排序后的服务节点包括服务节点1、服务节点2、服务节点3和服务节点4,对于重要等级的终端设备,只有网络指标信息较好的服务节点1和服务节点2可以满足该终端设备的要求,也就是说,服务节点1和服务节点2与该终端设备匹配;对于普通等级的终端设备,由于其对于应用处理的性能要求不是很高,网络指标信息一般的服务节点3和服务节点4可以满足该终端设备的要求,也就是说,服务节点3和服务节点4与该终端设备匹配。It should be noted that, the service node corresponding to the level of the terminal device may include only one or a plurality of nodes, which is not specifically limited here. For example, the sorted service nodes include service node 1, service node 2, service node 3 and service node 4. For terminal devices of important levels, only service node 1 and service node 2 with better network index information can satisfy the requirements of the terminal device. , that is, service node 1 and service node 2 match the terminal device; for common-level terminal devices, since their performance requirements for application processing are not very high, service node 3 and service node with general network index information 4 can meet the requirements of the terminal device, that is, the service node 3 and the service node 4 are matched with the terminal device.

在所述终端设备的等级相应的服务节点包括多个的情况下,所述云端服务器可以将所述终端设备的等级相应的多个服务节点中的任一个服务节点确定为所述至少一服务节点中网络指标信息与所述终端设备的等级匹配的服务节点,也可以将所述终端设备的等级相应的多个服务节点中网络指标信息最好的服务节点确定为所述至少一服务节点中网络指标信息与所述终端设备的等级匹配的服务节点,这里不做具体限定。In the case where there are multiple service nodes corresponding to the level of the terminal device, the cloud server may determine any one of the multiple service nodes corresponding to the level of the terminal device as the at least one service node The service node whose network indicator information matches the level of the terminal device may also determine the service node with the best network indicator information among the multiple service nodes corresponding to the level of the terminal device as the network in the at least one service node. The service node whose index information matches the level of the terminal device is not specifically limited here.

当然,所述云端服务器也可以将所述终端设备的等级相应的多个服务节点都确定为所述终端设备接入的目标服务节点,相应的,将各所述目标服务节点的访问标识都发送给终端设备,让终端设备基于各所述目标服务节点的访问标识中的任一访问标识接入目标服务节点。Of course, the cloud server may also determine multiple service nodes corresponding to the level of the terminal device as the target service node accessed by the terminal device, and accordingly, send the access identifiers of each target service node. For the terminal device, let the terminal device access the target service node based on any one of the access identifiers of the target service nodes.

第三种引流策略可以为:根据服务节点的网络指标信息和终端设备的特征信息,为所述终端设备选择目标服务节点。The third traffic diversion strategy may be: selecting a target service node for the terminal device according to the network indicator information of the service node and the characteristic information of the terminal device.

具体的,所述基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点的步骤包括:Specifically, the step of selecting a target service node for the terminal device based on the network indicator information of the at least one service node includes:

基于所述终端设备的历史设置数据,确定所述终端设备的特征信息;其中,所述特征信息用于反映所述终端设备对网络的性能要求;Determine feature information of the terminal device based on the historical setting data of the terminal device; wherein the feature information is used to reflect the performance requirements of the terminal device on the network;

确定所述至少一服务节点中网络指标信息与所述特征信息匹配的服务节点;determining a service node whose network indicator information matches the feature information in the at least one service node;

将与所述特征信息匹配的服务节点确定为所述终端设备接入的目标服务节点。A service node matching the feature information is determined as a target service node accessed by the terminal device.

所述云端服务器可以统计所述终端设备的历史设置数据,确定所述终端设备的特征信息,所述特征信息用于反映所述终端设备对网络的性能要求。举个例子来说,对于视频播放应用,所述终端设备对于视频清晰度的偏好设置是1080P,所述云端服务器统计所述终端设备对于视频播放应用的历史设置数据,确定所述终端设备对于视频播放应用的偏好设置,该偏好设置即为所述终端设备对于视频播放应用的特征信息,该特征信息可以包括视频清晰度的偏好设置1080P,也就是说,所述云端服务器基于特征信息中视频清晰度的偏好设置1080P,可以确定所述终端设备对于网络的性能要求较高。The cloud server may collect statistics on historical setting data of the terminal device, and determine characteristic information of the terminal device, where the characteristic information is used to reflect the performance requirements of the terminal device on the network. For example, for a video playback application, the terminal device's preference for video definition is 1080P, and the cloud server counts the terminal device's historical setting data for the video playback application to determine the The preference setting of the playback application, the preference setting is the feature information of the terminal device for the video playback application, and the feature information may include the video definition preference setting 1080P, that is, the cloud server is based on the feature information in the video clarity The preference setting of the degree is 1080P, and it can be determined that the terminal device has higher performance requirements for the network.

进一步的,所述云端服务器可以基于所述特征信息,确定第二网络指标阈值,在所述至少一服务节点中存在服务节点的网络指标信息大于所述第二网络指标阈值时,则确定该网络指标信息与所述特征信息匹配,相应的,将与所述特征信息匹配的网络指标信息对应的服务节点确定为目标服务节点。Further, the cloud server may determine a second network indicator threshold based on the feature information, and when the network indicator information of a service node in the at least one service node is greater than the second network indicator threshold, determine the network indicator. The indicator information matches the feature information, and accordingly, a service node corresponding to the network indicator information matched with the feature information is determined as a target service node.

步骤104,将所述目标服务节点的访问标识发送给所述终端设备,所述访问标识用于指示所述终端设备接入所述目标服务节点。Step 104: Send the access identifier of the target service node to the terminal device, where the access identifier is used to instruct the terminal device to access the target service node.

所述云端服务器在确定目标服务节点之后,将所述目标服务节点的访问标识发送给所述终端设备,其中,所述访问标识可以为所述目标服务节点的IP地址。After determining the target service node, the cloud server sends the access identifier of the target service node to the terminal device, where the access identifier may be the IP address of the target service node.

相应的,所述终端设备可以接收所述目标服务节点的访问标识,并基于所述访问标识,接入该目标服务节点进行业务会话,从而实现对终端设备应用进行处理。Correspondingly, the terminal device may receive the access identifier of the target service node, and based on the access identifier, access the target service node to perform a service session, thereby realizing the processing of the terminal device application.

另外,云端服务器还可以向终端设备的应用提供登录信息的返回信息,如登录信息的返回信息包括加密密钥,相应的,所述终端设备接收所述返回信息,另外,为了实现目标服务节点对终端设备的应用业务的处理,所述云端服务器还需要将所述终端设备所关联的业务处理信息发送至所述目标服务节点,其中,所述业务处理信息包括所述终端设备应用的登录信息和所述登录信息的返回信息,以同步所述终端设备的登录信息,同时,所述业务处理信息还包括所述终端设备的应用业务所需信息。In addition, the cloud server can also provide return information of the login information to the application of the terminal device. For example, the return information of the login information includes an encryption key. Correspondingly, the terminal device receives the return information. To process the application service of the terminal device, the cloud server also needs to send the service processing information associated with the terminal device to the target service node, wherein the service processing information includes the login information of the terminal device application and The return information of the login information is used to synchronize the login information of the terminal device, and at the same time, the service processing information also includes the information required by the application service of the terminal device.

本发明实施例提供的基于MEC的服务节点分配方法,在终端设备应用登录云端服务器时,云端服务器根据MEC服务器提供的网络指标信息为终端设备分配服务节点来完成服务引流,相对于DNS解析引流方式,不需要终端应用支持DNS域名访问,也适合物联网场景中不支持DNS域名访问的终端设备,同时,不需要依赖于DNS的更新速度。而相对于动态路由方式,不需要依赖网络路由设备,不受应用场景的限制,能支持多活的服务器场景。因此,本发明实施例能够提高服务引流的灵活性,同时,实现简单,切换速度快,且终端设备应用可随时自主发起引流更新,快速响应终端设备的需求。并且,其引流策略比较灵活,支持用户颗粒度的应用级策略引流。In the method for allocating service nodes based on MEC provided by the embodiment of the present invention, when the terminal device application logs in to the cloud server, the cloud server allocates service nodes to the terminal device according to the network indicator information provided by the MEC server to complete service diversion. Compared with the DNS resolution diversion method , does not require terminal applications to support DNS domain name access, and is also suitable for terminal devices that do not support DNS domain name access in IoT scenarios. At the same time, it does not need to rely on DNS update speed. Compared with the dynamic routing method, it does not need to rely on network routing equipment, is not limited by application scenarios, and can support multi-active server scenarios. Therefore, the embodiments of the present invention can improve the flexibility of service traffic diversion, and at the same time, the implementation is simple, the switching speed is fast, and the terminal device application can autonomously initiate traffic diversion updates at any time to quickly respond to the needs of the terminal device. In addition, its traffic drainage strategy is relatively flexible, and supports user-level application-level strategy drainage.

参见图2,图中示出了本发明实施例提供的基于MEC的服务节点分配方法的流程示意图之二。应用于MEC服务器,如图2所示,该方法可以包括如下步骤:Referring to FIG. 2, the figure shows the second schematic flowchart of the MEC-based service node allocation method provided by the embodiment of the present invention. Applied to the MEC server, as shown in Figure 2, the method may include the following steps:

步骤201,接收云端服务器发送的查询请求;其中,所述查询请求包括终端设备的标识信息;Step 201: Receive a query request sent by a cloud server; wherein the query request includes identification information of a terminal device;

步骤202,基于所述查询请求,查询并获得所述MEC服务器管控的至少一服务节点的网络指标信息;其中,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;Step 202, based on the query request, query and obtain the network indicator information of at least one service node managed and controlled by the MEC server; wherein, the network indicator information of each of the service nodes includes the terminal equipment corresponding to the identification information. network performance measurement information of the serving node;

步骤203,将所述至少一服务节点的网络指标信息发送给云端服务器;其中,所述至少一服务节点的网络指标信息用于指示所述云端服务器为所述终端设备选择目标服务节点。Step 203: Send the network indicator information of the at least one service node to the cloud server; wherein the network indicator information of the at least one service node is used to instruct the cloud server to select a target service node for the terminal device.

所述至少一服务节点的网络指标信息包括网络指标信息满足预设阈值的服务节点的网络指标信息;或者,The network indicator information of the at least one service node includes network indicator information of a service node whose network indicator information meets a preset threshold; or,

所述至少一服务节点的网络指标信息包括根据网络指标信息进行排名的服务节点中前N个服务节点的网络指标信息;其中,所述N为大于或等于1的正整数。The network indicator information of the at least one service node includes network indicator information of the top N service nodes among the service nodes ranked according to the network indicator information; wherein, N is a positive integer greater than or equal to 1.

应当说明的是,上述预设阈值即为实施例一中描述的第一网络指标阈值。上述具体的控制过程与实施例一类似,这里就不再对其赘述。It should be noted that the above-mentioned preset threshold is the first network indicator threshold described in the first embodiment. The above-mentioned specific control process is similar to that of the first embodiment, and will not be repeated here.

本发明实施例中,在终端设备应用登录云端服务器时,云端服务器根据MEC服务器提供的网络指标信息为终端设备分配服务节点来完成服务引流,相对于DNS解析引流方式,不需要终端应用支持DNS域名访问,也适合物联网场景中不支持DNS域名访问的终端设备,同时,不需要依赖于DNS的更新速度。而相对于动态路由方式,不需要依赖网络路由设备,不受应用场景的限制,能支持多活的服务器场景。因此,本发明实施例能够提高服务引流的灵活性,同时,实现简单,切换速度快,且终端设备应用可随时自主发起引流更新,快速响应终端设备的需求。In this embodiment of the present invention, when a terminal device application logs in to the cloud server, the cloud server allocates service nodes to the terminal device according to the network indicator information provided by the MEC server to complete service diversion. Compared with the DNS resolution diversion method, the terminal application does not need to support DNS domain names. Access is also suitable for terminal devices that do not support DNS domain name access in IoT scenarios. At the same time, it does not need to rely on the update speed of DNS. Compared with the dynamic routing method, it does not need to rely on network routing equipment, is not limited by application scenarios, and can support multi-active server scenarios. Therefore, the embodiment of the present invention can improve the flexibility of service traffic diversion, and at the same time, the implementation is simple, the switching speed is fast, and the terminal device application can independently initiate traffic diversion updates at any time, and quickly respond to the needs of the terminal device.

下面对本发明实施例提供的基于MEC的服务节点分配方法举例进行详细说明。The following describes in detail an example of the MEC-based service node allocation method provided by the embodiment of the present invention.

应用场景:参见图3,图中示出了本发明实施例提供的基于MEC的服务节点分配方法应用的服务引流系统的结构示意图,如图3所示,服务引流系统包括:终端设备、云端服务器、MEC服务器和边缘接入应用服务器。参见图4,图中示出了本发明实施例提供的基于MEC的服务节点分配方法的时序图,如图4所示,应用于服务引流系统,该方法流程具体为:Application scenario: Referring to Figure 3, the figure shows a schematic structural diagram of a service diversion system to which the MEC-based service node allocation method provided by the embodiment of the present invention is applied. As shown in Figure 3, the service diversion system includes: a terminal device, a cloud server , MEC server and edge access application server. Referring to FIG. 4, the figure shows a sequence diagram of the MEC-based service node allocation method provided by the embodiment of the present invention, as shown in FIG. 4, applied to the service traffic diversion system, and the method flow is as follows:

首先,终端设备向云端服务器发送登录请求;其中,登录请求中包括所述终端设备的标识信息,所述标识信息可以包括网络标识和/或设备标识;First, the terminal device sends a login request to the cloud server; wherein, the login request includes identification information of the terminal device, and the identification information may include a network identification and/or a device identification;

然后,所述云端服务器根据所述标识信息,向MEC服务器发起查询请求;其中,所述查询请求中包括所述终端设备的标识信息和应用标识信息;Then, the cloud server initiates a query request to the MEC server according to the identification information; wherein, the query request includes the identification information and application identification information of the terminal device;

接着,所述MEC服务器基于所述标识信息,查询并获得至少一边缘接入应用服务器的网络指标信息,并将所述至少一边缘接入应用服务器的网络指标信息发送给所述云端服务器;Next, the MEC server queries and obtains network indicator information of at least one edge access application server based on the identification information, and sends the network indicator information of the at least one edge access application server to the cloud server;

接着,所述云端服务器接收所述至少一边缘接入应用服务器的网络指标信息,并基于所述至少一边缘接入应用服务器的网络指标信息,按照预设的引流策略为所述终端设备选择目标边缘接入应用服务器;Next, the cloud server receives the network indicator information of the at least one edge access application server, and selects a target for the terminal device according to a preset traffic diversion strategy based on the network indicator information of the at least one edge access application server. Edge access application server;

接着,将所述目标边缘接入应用服务器的访问标识发送给所述终端设备,同时,将业务处理信息同步至所述目标边缘接入应用服务器;Next, sending the access identifier of the target edge access application server to the terminal device, and at the same time, synchronizing the service processing information to the target edge access application server;

最后,所述终端设备接收所述目标边缘接入应用服务器的访问标识,并基于所述访问标识接入至所述目标边缘接入应用服务器进行业务会话。Finally, the terminal device receives the access identifier of the target edge access application server, and accesses the target edge access application server based on the access identifier to perform a service session.

上述实施例详细介绍了终端设备登录云端服务器,并由云端服务器借助MEC服务器为终端设备分配目标服务节点的实现过程,需要说明的是,以下实施例将详细介绍终端设备登录MEC服务器,由MEC服务器直接为终端设备分配目标服务节点的实现过程。The above embodiments describe in detail the implementation process of the terminal device logging in to the cloud server, and the cloud server assigning target service nodes to the terminal device with the help of the MEC server. The realization process of directly assigning the target service node to the terminal device.

具体的,参见图5,图中示出了本发明实施例提供的基于MEC的服务节点分配方法的流程示意图之三。应用于MEC服务器,如图5所示,该方法可以包括如下步骤:Specifically, referring to FIG. 5 , the third schematic flowchart of the MEC-based service node allocation method provided by the embodiment of the present invention is shown. Applied to the MEC server, as shown in Figure 5, the method may include the following steps:

步骤501,获取终端设备发送的查询请求;其中,所述查询请求中包括所述终端设备的标识信息及目标服务应用的标识信息;Step 501: Obtain a query request sent by a terminal device; wherein, the query request includes identification information of the terminal device and identification information of a target service application;

步骤502,基于所述查询请求,查询所述MEC服务器基于所述目标服务应用的标识信息对应的服务应用管控的至少一服务节点的网络指标信息;其中,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;Step 502: Based on the query request, query the network indicator information of at least one service node managed and controlled by the MEC server based on the service application corresponding to the identification information of the target service application; wherein, the network indicator information of each of the service nodes including the network performance measurement information from the terminal device corresponding to the identification information to the serving node;

步骤503,基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点;其中,所述目标服务节点为所述至少一服务节点中的服务节点;Step 503: Based on the network indicator information of the at least one service node, select a target service node for the terminal device; wherein, the target service node is a service node in the at least one service node;

步骤504,将所述目标服务节点的访问标识发送给所述终端设备,所述访问标识用于指示所述终端设备接入所述目标服务节点。Step 504: Send the access identifier of the target service node to the terminal device, where the access identifier is used to instruct the terminal device to access the target service node.

在步骤501中,终端设备应用为实现业务处理,终端设备应用可以向MEC服务器发起查询请求,所述查询请求中携带有终端设备的标识信息和目标服务应用的标识信息;相应的,所述MEC服务器接收所述终端设备发送的查询请求。Instep 501, in order to realize service processing by the terminal device application, the terminal device application may initiate a query request to the MEC server, and the query request carries the identification information of the terminal device and the identification information of the target service application; correspondingly, the MEC server The server receives the query request sent by the terminal device.

其中,所述终端设备的标识信息可以仅包括网络标识,如所述终端设备的IP地址或端口号,所述终端设备的标识信息也可以仅包括设备标识,如国际移动用户识别码(International Mobile Subscriber Identity,IMSI)或唯一身份标识ID(Identification,ID),所述终端设备的标识信息也可以同时包括网络标识和设备标识,这里不做具体限定。Wherein, the identification information of the terminal device may only include a network identification, such as the IP address or port number of the terminal device, and the identification information of the terminal device may also include only a device identification, such as an International Mobile Subscriber Identity (International Mobile Subscriber Identity Code). Subscriber Identity, IMSI) or unique identification ID (Identification, ID), the identification information of the terminal device may also include a network identification and a device identification at the same time, which is not specifically limited here.

所述目标服务应用的标识信息可以用于指示MEC服务器去查询其管控的指定服务节点的网络指标信息,所述目标服务应用可以为终端设备上的任何应用,比如,所述目标服务应用可以为支付宝应用、微信应用等。The identification information of the target service application can be used to instruct the MEC server to query the network indicator information of the designated service node under its control, and the target service application can be any application on the terminal device. For example, the target service application can be Alipay application, WeChat application, etc.

在步骤502中,所述MEC服务器查询所述MEC服务器管控的至少一服务节点的网络指标信息的实现过程与上述实施例类似,其具体实现过程不再赘述。只是触发所述MEC服务器去查询的触发条件不同,上述实施例触发所述MEC服务器去查询的触发条件是云端服务器发送的查询请求,而本实施例触发所述MEC服务器去查询的触发条件是终端设备发送的查询请求。Instep 502, the implementation process of the MEC server querying the network indicator information of at least one service node managed and controlled by the MEC server is similar to the above embodiment, and the specific implementation process will not be repeated. Only the triggering conditions for triggering the MEC server to query are different. The triggering condition for triggering the MEC server to query in the above embodiment is the query request sent by the cloud server, while the triggering condition for triggering the MEC server to query in this embodiment is the terminal. The query request sent by the device.

在步骤503和步骤504中,与上述实施例的实现过程类似,其具体实现过程不再赘述。只是执行主语不同,上述实施例是由云端服务器的处理器运行实现,而本实施例是由MEC服务器的处理器运行实现。Instep 503 and step 504, the implementation process is similar to that of the above-mentioned embodiment, and the specific implementation process thereof will not be repeated. Only the execution subject is different, the above-mentioned embodiment is implemented by the running of the processor of the cloud server, and the present embodiment is implemented by the running of the processor of the MEC server.

本发明实施例中,MEC服务器基于终端设备发送的查询请求,查询网络指标信息,并根据所述网络指标信息为终端设备分配服务节点来完成服务引流,相对于DNS解析引流方式,不需要终端应用支持DNS域名访问,也适合物联网场景中不支持DNS域名访问的终端设备,同时,不需要依赖于DNS的更新速度。而相对于动态路由方式,不需要依赖网络路由设备,不受应用场景的限制,能支持多活的服务器场景。因此,本发明实施例能够提高服务引流的灵活性,同时,实现简单,切换速度快,且终端设备应用可随时自主发起引流更新,快速响应终端设备的需求。In the embodiment of the present invention, the MEC server queries network indicator information based on the query request sent by the terminal device, and allocates service nodes to the terminal device according to the network indicator information to complete service diversion. Compared with the DNS resolution and diversion method, no terminal application is required. It supports DNS domain name access, and is also suitable for terminal devices that do not support DNS domain name access in IoT scenarios. At the same time, it does not need to rely on DNS update speed. Compared with the dynamic routing method, it does not need to rely on network routing equipment, is not limited by application scenarios, and can support multi-active server scenarios. Therefore, the embodiments of the present invention can improve the flexibility of service traffic diversion, and at the same time, the implementation is simple, the switching speed is fast, and the terminal device application can autonomously initiate traffic diversion updates at any time to quickly respond to the needs of the terminal device.

可选的,所述基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点的步骤包括:Optionally, the step of selecting a target service node for the terminal device based on the network indicator information of the at least one service node includes:

确定所述至少一服务节点中网络指标信息最好的服务节点;determining the service node with the best network indicator information among the at least one service node;

将所述至少一服务节点中网络指标信息最好的服务节点确定为所述终端设备接入的目标服务节点。The service node with the best network indicator information among the at least one service node is determined as the target service node accessed by the terminal device.

可选的,所述基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点的步骤包括:Optionally, the step of selecting a target service node for the terminal device based on the network indicator information of the at least one service node includes:

获取所述终端设备的等级;其中,所述等级用于反映所述终端设备对于应用处理的重要程度;obtaining the level of the terminal device; wherein the level is used to reflect the importance of the terminal device for application processing;

确定所述至少一服务节点中网络指标信息与所述终端设备的等级匹配的服务节点;determining a service node whose network indicator information matches the level of the terminal device in the at least one service node;

将与所述终端设备的等级匹配的服务节点确定为所述终端设备接入的目标服务节点。A service node matching the level of the terminal device is determined as the target service node accessed by the terminal device.

可选的,所述基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点的步骤包括:Optionally, the step of selecting a target service node for the terminal device based on the network indicator information of the at least one service node includes:

基于所述终端设备的历史设置数据,确定所述终端设备的特征信息;其中,所述特征信息用于反映所述终端设备对网络的性能要求;Determine feature information of the terminal device based on the historical setting data of the terminal device; wherein the feature information is used to reflect the performance requirements of the terminal device on the network;

确定所述至少一服务节点中网络指标信息与所述特征信息匹配的服务节点;determining a service node whose network indicator information matches the feature information in the at least one service node;

将与所述特征信息匹配的服务节点确定为所述终端设备接入的目标服务节点。A service node matching the feature information is determined as a target service node accessed by the terminal device.

需要说明的是,所述MEC服务器基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点的引流策略可以预先设置,可以设置的与云端服务器一致,因此,其具体选择目标服务节点的过程与上述实施例类似,这里不再赘述。It should be noted that the MEC server selects the target service node for the terminal device based on the network indicator information of the at least one service node. The traffic diversion strategy can be preset, and can be set to be consistent with the cloud server. Therefore, its specific selection The process of the target service node is similar to the above-mentioned embodiment, and details are not repeated here.

可选的,所述将所述目标服务节点的访问标识发送给所述终端设备之后,所述方法还包括:Optionally, after sending the access identifier of the target service node to the terminal device, the method further includes:

将所述目标服务节点的访问标识发送至云端服务器。Send the access identifier of the target service node to the cloud server.

这里,所述MEC服务器将所述目标服务节点的访问标识发送至云端服务器,使得所述云端服务器可以将所述终端设备所关联的业务处理信息发送至所述目标服务节点,其中,所述业务处理信息包括所述终端设备应用的登录信息和所述登录信息的返回信息,以同步所述终端设备的登录信息,同时,所述业务处理信息还包括所述终端设备的应用业务所需信息。Here, the MEC server sends the access identifier of the target service node to the cloud server, so that the cloud server can send the service processing information associated with the terminal device to the target service node, wherein the service The processing information includes the login information of the terminal device application and the return information of the login information, so as to synchronize the login information of the terminal device, and at the same time, the service processing information also includes the information required by the application service of the terminal device.

下面对本发明实施例提供的基于MEC的服务节点分配装置进行说明。The following describes the MEC-based service node allocation apparatus provided by the embodiment of the present invention.

参见图6,图中示出了本发明实施例提供的基于MEC的服务节点分配装置的结构示意图之一。应用于云端服务器,如图6所示,基于MEC的服务节点分配装置600包括:Referring to FIG. 6, the figure shows one of the schematic structural diagrams of the MEC-based service node allocation apparatus provided by the embodiment of the present invention. Applied to a cloud server, as shown in FIG. 6 , the MEC-based servicenode allocation device 600 includes:

第一接收模块601,用于接收终端设备发送的登录请求;其中,所述登录请求中包括所述终端设备的标识信息;Thefirst receiving module 601 is configured to receive a login request sent by a terminal device; wherein, the login request includes identification information of the terminal device;

第二接收模块602,用于接收移动边缘计算MEC服务器基于查询请求反馈的所述MEC服务器管控的至少一服务节点的网络指标信息;其中,所述查询请求包括所述标识信息,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;Thesecond receiving module 602 is configured to receive the network indicator information of at least one service node managed and controlled by the MEC server fed back by the mobile edge computing MEC server based on the query request; wherein the query request includes the identification information, and each of the The network indicator information of the service node includes network performance measurement information from the terminal device corresponding to the identification information to the service node;

第一选择模块603,用于基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点;其中,所述目标服务节点为所述至少一服务节点中的服务节点;Afirst selection module 603, configured to select a target service node for the terminal device based on the network indicator information of the at least one service node; wherein, the target service node is a service node in the at least one service node;

第一发送模块604,用于将所述目标服务节点的访问标识发送给所述终端设备,所述访问标识用于指示所述终端设备接入所述目标服务节点。Thefirst sending module 604 is configured to send the access identifier of the target service node to the terminal device, where the access identifier is used to instruct the terminal device to access the target service node.

可选的,所述第一选择模块603包括:Optionally, thefirst selection module 603 includes:

第一确定单元,用于确定所述至少一服务节点中网络指标信息最好的服务节点;a first determining unit, configured to determine a service node with the best network indicator information among the at least one service node;

第二确定单元,用于将所述至少一服务节点中网络指标信息最好的服务节点确定为所述终端设备接入的目标服务节点。The second determination unit is configured to determine the service node with the best network indicator information among the at least one service node as the target service node accessed by the terminal device.

可选的,所述第一选择模块603包括:Optionally, thefirst selection module 603 includes:

获取单元,用于获取所述终端设备的等级;其中,所述等级用于反映所述终端设备对于应用处理的重要程度;an obtaining unit, configured to obtain the grade of the terminal device; wherein, the grade is used to reflect the importance of the terminal device to application processing;

第三确定单元,用于确定所述至少一服务节点中网络指标信息与所述终端设备的等级匹配的服务节点;a third determining unit, configured to determine a service node whose network indicator information matches the level of the terminal device in the at least one service node;

第四确定单元,用于将与所述终端设备的等级匹配的服务节点确定为所述终端设备接入的目标服务节点。The fourth determining unit is configured to determine a service node that matches the level of the terminal device as a target service node accessed by the terminal device.

可选的,所述第一选择模块603包括:Optionally, thefirst selection module 603 includes:

第五确定单元,用于基于所述终端设备的历史设置数据,确定所述终端设备的特征信息;其中,所述特征信息用于反映所述终端设备对网络的性能要求;a fifth determining unit, configured to determine feature information of the terminal device based on the historical setting data of the terminal device; wherein the feature information is used to reflect the performance requirements of the terminal device on the network;

第六确定单元,用于确定所述至少一服务节点中网络指标信息与所述特征信息匹配的服务节点;a sixth determining unit, configured to determine a service node whose network indicator information matches the feature information in the at least one service node;

第七确定单元,用于将与所述特征信息匹配的服务节点确定为所述终端设备接入的目标服务节点。A seventh determining unit, configured to determine a service node matching the feature information as a target service node accessed by the terminal device.

可选的,所述装置还包括:Optionally, the device further includes:

第四发送模块,用于将所述终端设备所关联的业务处理信息发送至所述目标服务节点。The fourth sending module is configured to send the service processing information associated with the terminal device to the target service node.

本发明实施例提供的基于MEC的服务节点分配装置能够实现上述云端服务器侧方法实施例中实现的各个过程,为避免重复,这里不再赘述。The MEC-based service node allocation apparatus provided by the embodiment of the present invention can implement each process implemented in the above-mentioned cloud server-side method embodiment, and to avoid repetition, details are not described here.

参见图7,图中示出了本发明实施例提供的基于MEC的服务节点分配装置的结构示意图之二。应用于MEC服务器,如图7所示,基于MEC的服务节点分配装置700包括:Referring to FIG. 7, the figure shows the second schematic structural diagram of the MEC-based service node allocation apparatus provided by the embodiment of the present invention. Applied to the MEC server, as shown in FIG. 7 , the MEC-based servicenode allocation apparatus 700 includes:

第三接收模块701,用于接收云端服务器发送的查询请求;其中,所述查询请求包括终端设备的标识信息;Athird receiving module 701, configured to receive a query request sent by a cloud server; wherein the query request includes identification information of a terminal device;

第一查询模块702,用于基于所述查询请求,查询并获得所述MEC服务器管控的至少一服务节点的网络指标信息;其中,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;Afirst query module 702, configured to query and obtain network indicator information of at least one service node managed and controlled by the MEC server based on the query request; wherein, the network indicator information of each service node includes the identification information Corresponding terminal equipment to the network performance measurement information of the service node;

第二发送模块703,用于将所述至少一服务节点的网络指标信息发送给云端服务器;其中,所述至少一服务节点的网络指标信息用于指示所述云端服务器为所述终端设备选择目标服务节点。Thesecond sending module 703 is configured to send the network indicator information of the at least one service node to the cloud server; wherein the network indicator information of the at least one service node is used to instruct the cloud server to select a target for the terminal device service node.

可选的,所述至少一服务节点的网络指标信息包括网络指标信息满足预设阈值的服务节点的网络指标信息;或者,Optionally, the network indicator information of the at least one service node includes network indicator information of a service node whose network indicator information meets a preset threshold; or,

所述至少一服务节点的网络指标信息包括根据网络指标信息进行排名的服务节点中前N个服务节点的网络指标信息;其中,所述N为大于或等于1的正整数。The network indicator information of the at least one service node includes network indicator information of the top N service nodes among the service nodes ranked according to the network indicator information; wherein, N is a positive integer greater than or equal to 1.

本发明实施例提供的基于MEC的服务节点分配装置能够实现上述MEC服务器侧方法实施例中实现的各个过程,为避免重复,这里不再赘述。The MEC-based service node allocation apparatus provided by the embodiment of the present invention can implement each process implemented in the above-mentioned MEC server-side method embodiment, and to avoid repetition, details are not described here.

本发明实施例提供的基于MEC的服务节点分配装置,在终端设备应用登录云端服务器时,云端服务器根据MEC服务器提供的网络指标信息为终端设备分配服务节点来完成服务引流,相对于DNS解析引流方式,不需要终端应用支持DNS域名访问,也适合物联网场景中不支持DNS域名访问的终端设备,同时,不需要依赖于DNS的更新速度。而相对于动态路由方式,不需要依赖网络路由设备,不受应用场景的限制,能支持多活的服务器场景。因此,本发明实施例能够提高服务引流的灵活性,同时,实现简单,切换速度快,且终端设备应用可随时自主发起引流更新,快速响应终端设备的需求。并且,其引流策略比较灵活,支持用户颗粒度的应用级策略引流。In the MEC-based service node allocation device provided by the embodiment of the present invention, when the terminal device application logs in to the cloud server, the cloud server allocates service nodes to the terminal device according to the network indicator information provided by the MEC server to complete service diversion. Compared with the DNS resolution diversion method , does not require terminal applications to support DNS domain name access, and is also suitable for terminal devices that do not support DNS domain name access in IoT scenarios. At the same time, it does not need to rely on DNS update speed. Compared with the dynamic routing method, it does not need to rely on network routing equipment, is not limited by application scenarios, and can support multi-active server scenarios. Therefore, the embodiments of the present invention can improve the flexibility of service traffic diversion, and at the same time, the implementation is simple, the switching speed is fast, and the terminal device application can autonomously initiate traffic diversion updates at any time to quickly respond to the needs of the terminal device. In addition, its traffic drainage strategy is relatively flexible, and supports user-level application-level strategy drainage.

参见图8,图中示出了本发明实施例提供的基于MEC的服务节点分配装置的结构示意图之三。应用于MEC服务器,如图8所示,基于MEC的服务节点分配装置800包括:Referring to FIG. 8 , the figure shows the third schematic structural diagram of the apparatus for allocating service nodes based on MEC provided by the embodiment of the present invention. Applied to the MEC server, as shown in FIG. 8 , the MEC-based servicenode allocation apparatus 800 includes:

获取模块801,用于获取终端设备发送的查询请求;其中,所述查询请求中包括所述终端设备的标识信息及目标服务应用的标识信息;The obtainingmodule 801 is configured to obtain a query request sent by a terminal device; wherein, the query request includes the identification information of the terminal device and the identification information of the target service application;

第二查询模块802,用于基于所述查询请求,查询所述MEC服务器基于所述目标服务应用的标识信息对应的服务应用管控的至少一服务节点的网络指标信息;其中,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;Thesecond query module 802 is configured to, based on the query request, query the network indicator information of at least one service node managed and controlled by the MEC server based on the service application corresponding to the identification information of the target service application; wherein, each service The network indicator information of the node includes network performance measurement information from the terminal device corresponding to the identification information to the serving node;

第二选择模块803,用于基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点;其中,所述目标服务节点为所述至少一服务节点中的服务节点;Asecond selection module 803, configured to select a target service node for the terminal device based on the network indicator information of the at least one service node; wherein, the target service node is a service node in the at least one service node;

第三发送模块804,用于将所述目标服务节点的访问标识发送给所述终端设备,所述访问标识用于指示所述终端设备接入所述目标服务节点。Thethird sending module 804 is configured to send the access identifier of the target service node to the terminal device, where the access identifier is used to instruct the terminal device to access the target service node.

可选的,所述第二选择模块803,具体用于确定所述至少一服务节点中网络指标信息最好的服务节点;将所述至少一服务节点中网络指标信息最好的服务节点确定为所述终端设备接入的目标服务节点。Optionally, thesecond selection module 803 is specifically configured to determine the service node with the best network indicator information in the at least one service node; determine the service node with the best network indicator information in the at least one service node as The target service node accessed by the terminal device.

可选的,所述第二选择模块803,具体用于获取所述终端设备的等级;其中,所述等级用于反映所述终端设备对于应用处理的重要程度;确定所述至少一服务节点中网络指标信息与所述终端设备的等级匹配的服务节点;将与所述终端设备的等级匹配的服务节点确定为所述终端设备接入的目标服务节点。Optionally, thesecond selection module 803 is specifically configured to acquire the grade of the terminal device; wherein, the grade is used to reflect the importance of the terminal device for application processing; A service node whose network indicator information matches the level of the terminal device; and a service node that matches the level of the terminal device is determined as a target service node accessed by the terminal device.

可选的,所述第二选择模块803,具体用于基于所述终端设备的历史设置数据,确定所述终端设备的特征信息;其中,所述特征信息用于反映所述终端设备对网络的性能要求;确定所述至少一服务节点中网络指标信息与所述特征信息匹配的服务节点;将与所述特征信息匹配的服务节点确定为所述终端设备接入的目标服务节点。Optionally, thesecond selection module 803 is specifically configured to determine the feature information of the terminal device based on the historical setting data of the terminal device; wherein, the feature information is used to reflect the terminal device's effect on the network. performance requirements; determining a service node whose network indicator information matches the feature information in the at least one service node; determining a service node matching the feature information as a target service node accessed by the terminal device.

可选的,所述装置还包括:Optionally, the device further includes:

第五发送模块,用于将所述目标服务节点的访问标识发送至云端服务器。The fifth sending module is configured to send the access identifier of the target service node to the cloud server.

参见图9,图中示出了本发明实施例提供的云端服务器的结构示意图。如图9所示,云端服务器900包括:第一处理器901、第一存储器902、第一用户接口903和第一总线接口904。Referring to FIG. 9, the figure shows a schematic structural diagram of a cloud server provided by an embodiment of the present invention. As shown in FIG. 9 , thecloud server 900 includes: afirst processor 901 , afirst memory 902 , afirst user interface 903 and afirst bus interface 904 .

第一处理器901,用于读取第一存储器902中的程序,执行下列过程:Thefirst processor 901 is configured to read the program in thefirst memory 902, and execute the following processes:

接收终端设备发送的登录请求;其中,所述登录请求中包括所述终端设备的标识信息;receiving a login request sent by a terminal device; wherein, the login request includes identification information of the terminal device;

接收移动边缘计算MEC服务器基于查询请求反馈的所述MEC服务器管控的至少一服务节点的网络指标信息;其中,所述查询请求包括所述标识信息,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;Receive network indicator information of at least one service node managed and controlled by the MEC server fed back by the mobile edge computing MEC server based on a query request; wherein the query request includes the identification information, and the network indicator information of each service node includes Network performance measurement information from the terminal device corresponding to the identification information to the serving node;

基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点;其中,所述目标服务节点为所述至少一服务节点中的服务节点;Selecting a target service node for the terminal device based on the network indicator information of the at least one service node; wherein, the target service node is a service node in the at least one service node;

将所述目标服务节点的访问标识发送给所述终端设备,所述访问标识用于指示所述终端设备接入所述目标服务节点。The access identifier of the target service node is sent to the terminal device, where the access identifier is used to instruct the terminal device to access the target service node.

在图9中,总线架构可以包括任意数量的互联的总线和桥,具体由第一处理器901代表的一个或多个处理器和第一存储器902代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。第一总线接口904提供接口。针对不同的用户设备,第一用户接口903还可以是能够外接内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆等。In FIG. 9 , the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented byfirst processor 901 and various circuits of memory represented byfirst memory 902 linked together. The bus architecture may also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be described further herein. Thefirst bus interface 904 provides the interface. For different user equipments, thefirst user interface 903 may also be an interface capable of externally connecting a desired device, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.

第一处理器901负责管理总线架构和通常的处理,第一存储器902可以存储第一处理器901在执行操作时所使用的数据。Thefirst processor 901 is responsible for managing the bus architecture and general processing, and thefirst memory 902 may store data used by thefirst processor 901 when performing operations.

可选的,第一处理器901,具体用于:Optionally, thefirst processor 901 is specifically configured to:

确定所述至少一服务节点中网络指标信息最好的服务节点;determining the service node with the best network indicator information among the at least one service node;

将所述至少一服务节点中网络指标信息最好的服务节点确定为所述终端设备接入的目标服务节点。The service node with the best network indicator information among the at least one service node is determined as the target service node accessed by the terminal device.

可选的,第一处理器901,具体用于:Optionally, thefirst processor 901 is specifically configured to:

获取所述终端设备的等级;其中,所述等级用于反映所述终端设备对于应用处理的重要程度;obtaining the level of the terminal device; wherein the level is used to reflect the importance of the terminal device for application processing;

确定所述至少一服务节点中网络指标信息与所述终端设备的等级匹配的服务节点;determining a service node whose network indicator information matches the level of the terminal device in the at least one service node;

将与所述终端设备的等级匹配的服务节点确定为所述终端设备接入的目标服务节点。A service node matching the level of the terminal device is determined as the target service node accessed by the terminal device.

可选的,第一处理器901,具体用于:Optionally, thefirst processor 901 is specifically configured to:

基于所述终端设备的历史设置数据,确定所述终端设备的特征信息;其中,所述特征信息用于反映所述终端设备对网络的性能要求;Determine feature information of the terminal device based on the historical setting data of the terminal device; wherein the feature information is used to reflect the performance requirements of the terminal device on the network;

确定所述至少一服务节点中网络指标信息与所述特征信息匹配的服务节点;determining a service node whose network indicator information matches the feature information in the at least one service node;

将与所述特征信息匹配的服务节点确定为所述终端设备接入的目标服务节点。A service node matching the feature information is determined as a target service node accessed by the terminal device.

第一处理器901,还用于:Thefirst processor 901 is further used for:

将所述终端设备所关联的业务处理信息发送至所述目标服务节点。The service processing information associated with the terminal device is sent to the target service node.

优选的,本发明实施例还提供一种云端服务器,包括第一处理器901,第一存储器902,存储在第一存储器902上并可在所述第一处理器901上运行的计算机程序,该计算机程序被第一处理器901执行时实现上述云端服务器侧基于MEC的服务节点分配方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides a cloud server, including afirst processor 901, afirst memory 902, a computer program stored in thefirst memory 902 and executable on thefirst processor 901, the When the computer program is executed by thefirst processor 901, each process of the above embodiment of the cloud server-side MEC-based service node allocation method is implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

参见图10,图中示出了本发明实施例提供的MEC服务器的结构示意图。如图10所示,MEC服务器1000包括:第二处理器1001、第二存储器1002、第二用户接口1003和第二总线接口1004。Referring to FIG. 10, the figure shows a schematic structural diagram of an MEC server provided by an embodiment of the present invention. As shown in FIG. 10 , theMEC server 1000 includes: asecond processor 1001 , asecond memory 1002 , asecond user interface 1003 and asecond bus interface 1004 .

第二处理器1001,用于读取第二存储器1002中的程序,执行下列过程:Thesecond processor 1001 is configured to read the program in thesecond memory 1002, and execute the following processes:

接收云端服务器发送的查询请求;其中,所述查询请求包括终端设备的标识信息;receiving a query request sent by a cloud server; wherein the query request includes identification information of the terminal device;

基于所述查询请求,查询并获得所述MEC服务器管控的至少一服务节点的网络指标信息;其中,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;Based on the query request, query and obtain the network indicator information of at least one service node managed and controlled by the MEC server; wherein, the network indicator information of each service node includes the terminal equipment corresponding to the identification information to the service node. Node's network performance measurement information;

将所述至少一服务节点的网络指标信息发送给云端服务器;其中,所述至少一服务节点的网络指标信息用于指示所述云端服务器为所述终端设备选择目标服务节点。Sending the network indicator information of the at least one service node to the cloud server; wherein the network indicator information of the at least one service node is used to instruct the cloud server to select a target service node for the terminal device.

进一步的,第二处理器1001,用于读取第二存储器1002中的程序,还执行下列过程:Further, thesecond processor 1001, for reading the program in thesecond memory 1002, also performs the following process:

获取终端设备发送的查询请求;其中,所述查询请求中包括所述终端设备的标识信息及目标服务应用的标识信息;Obtain a query request sent by a terminal device; wherein, the query request includes the identification information of the terminal device and the identification information of the target service application;

基于所述查询请求,查询所述MEC服务器基于所述目标服务应用的标识信息对应的服务应用管控的至少一服务节点的网络指标信息;其中,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;Based on the query request, query the network indicator information of at least one service node managed and controlled by the MEC server based on the service application corresponding to the identification information of the target service application; wherein, the network indicator information of each service node includes all Network performance measurement information from the terminal device corresponding to the identification information to the service node;

基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点;其中,所述目标服务节点为所述至少一服务节点中的服务节点;Selecting a target service node for the terminal device based on the network indicator information of the at least one service node; wherein, the target service node is a service node in the at least one service node;

将所述目标服务节点的访问标识发送给所述终端设备,所述访问标识用于指示所述终端设备接入所述目标服务节点。The access identifier of the target service node is sent to the terminal device, where the access identifier is used to instruct the terminal device to access the target service node.

第二处理器1001,具体用于:Thesecond processor 1001 is specifically used for:

确定所述至少一服务节点中网络指标信息最好的服务节点;determining the service node with the best network indicator information among the at least one service node;

将所述至少一服务节点中网络指标信息最好的服务节点确定为所述终端设备接入的目标服务节点。The service node with the best network indicator information among the at least one service node is determined as the target service node accessed by the terminal device.

第二处理器1001,具体用于:Thesecond processor 1001 is specifically used for:

获取所述终端设备的等级;其中,所述等级用于反映所述终端设备对于应用处理的重要程度;obtaining the level of the terminal device; wherein the level is used to reflect the importance of the terminal device for application processing;

确定所述至少一服务节点中网络指标信息与所述终端设备的等级匹配的服务节点;determining a service node whose network indicator information matches the level of the terminal device in the at least one service node;

将与所述终端设备的等级匹配的服务节点确定为所述终端设备接入的目标服务节点。A service node matching the level of the terminal device is determined as the target service node accessed by the terminal device.

第二处理器1001,具体用于:Thesecond processor 1001 is specifically used for:

基于所述终端设备的历史设置数据,确定所述终端设备的特征信息;其中,所述特征信息用于反映所述终端设备对网络的性能要求;Determine feature information of the terminal device based on the historical setting data of the terminal device; wherein the feature information is used to reflect the performance requirements of the terminal device on the network;

确定所述至少一服务节点中网络指标信息与所述特征信息匹配的服务节点;determining a service node whose network indicator information matches the feature information in the at least one service node;

将与所述特征信息匹配的服务节点确定为所述终端设备接入的目标服务节点。A service node matching the feature information is determined as a target service node accessed by the terminal device.

第二处理器1001,还用于:Thesecond processor 1001 is further configured to:

将所述目标服务节点的访问标识发送至云端服务器。Send the access identifier of the target service node to the cloud server.

在图10中,总线架构可以包括任意数量的互联的总线和桥,具体由第二处理器1001代表的一个或多个处理器和第二存储器1002代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。第二总线接口1004提供接口。针对不同的用户设备,第二用户接口1003还可以是能够外接内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆等。In FIG. 10, the bus architecture may include any number of interconnected buses and bridges, in particular one or more processors represented bysecond processor 1001 and various circuits of memory represented bysecond memory 1002 linked together. The bus architecture may also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be described further herein. Thesecond bus interface 1004 provides the interface. For different user equipments, thesecond user interface 1003 may also be an interface capable of externally connecting a desired device, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.

第二处理器1001负责管理总线架构和通常的处理,第二存储器1002可以存储第二处理器1001在执行操作时所使用的数据。Thesecond processor 1001 is responsible for managing the bus architecture and general processing, and thesecond memory 1002 may store data used by thesecond processor 1001 when performing operations.

可选的,所述至少一服务节点的网络指标信息包括网络指标信息满足预设阈值的服务节点的网络指标信息;或者,Optionally, the network indicator information of the at least one service node includes network indicator information of a service node whose network indicator information meets a preset threshold; or,

所述至少一服务节点的网络指标信息包括根据网络指标信息进行排名的服务节点中前N个服务节点的网络指标信息;其中,所述N为大于或等于1的正整数。The network indicator information of the at least one service node includes network indicator information of the top N service nodes among the service nodes ranked according to the network indicator information; wherein, N is a positive integer greater than or equal to 1.

优选的,本发明实施例还提供一种MEC服务器,包括第二处理器1001,第二存储器1002,存储在第二存储器1002上并可在所述第二处理器1001上运行的计算机程序,该计算机程序被第二处理器1001执行时实现上述MEC服务器侧基于MEC的服务节点分配方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides an MEC server, including asecond processor 1001, asecond memory 1002, a computer program stored in thesecond memory 1002 and running on thesecond processor 1001, the When the computer program is executed by thesecond processor 1001, each process of the above-mentioned embodiment of the MEC-based service node allocation method on the MEC server side can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被第一处理器执行时实现上述云端服务器侧基于MEC的服务节点分配方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述,或者,该计算机程序被第二处理器执行时实现上述MEC服务器侧基于MEC的服务节点分配方法实施例的各个过程,且能达到相同的技术效果。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by the first processor, the above-mentioned embodiment of the cloud server-side MEC-based service node allocation method is implemented Each process, and can achieve the same technical effect, in order to avoid repetition, it is not repeated here, or, when the computer program is executed by the second processor, the above-mentioned MEC server side MEC-based service node allocation method embodiment is implemented in each process node allocation method embodiment, And can achieve the same technical effect. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software 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 be considered beyond the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的系统和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed systems and methods may be implemented in other manners. For example, the system embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solutions in the embodiments of the present invention.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, and other media that can store program codes.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (18)

Translated fromChinese
1.一种基于MEC的服务节点分配方法,应用于云端服务器,其特征在于,所述方法包括:1. a service node allocation method based on MEC, applied to cloud server, is characterized in that, described method comprises:接收终端设备发送的登录请求;其中,所述登录请求中包括所述终端设备的标识信息;receiving a login request sent by a terminal device; wherein, the login request includes identification information of the terminal device;接收移动边缘计算MEC服务器基于查询请求反馈的所述MEC服务器管控的至少一服务节点的网络指标信息;其中,所述查询请求包括所述标识信息,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;Receive network indicator information of at least one service node managed and controlled by the MEC server fed back by the mobile edge computing MEC server based on a query request; wherein the query request includes the identification information, and the network indicator information of each service node includes Network performance measurement information from the terminal device corresponding to the identification information to the serving node;基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点;其中,所述目标服务节点为所述至少一服务节点中的服务节点;Selecting a target service node for the terminal device based on the network indicator information of the at least one service node; wherein, the target service node is a service node in the at least one service node;将所述目标服务节点的访问标识发送给所述终端设备,所述访问标识用于指示所述终端设备接入所述目标服务节点。The access identifier of the target service node is sent to the terminal device, where the access identifier is used to instruct the terminal device to access the target service node.2.根据权利要求1所述的方法,其特征在于,所述基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点的步骤包括:2. The method according to claim 1, wherein the step of selecting a target service node for the terminal device based on the network indicator information of the at least one service node comprises:确定所述至少一服务节点中网络指标信息最好的服务节点;determining the service node with the best network indicator information among the at least one service node;将所述至少一服务节点中网络指标信息最好的服务节点确定为所述终端设备接入的目标服务节点。The service node with the best network indicator information among the at least one service node is determined as the target service node accessed by the terminal device.3.根据权利要求1所述的方法,其特征在于,所述基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点的步骤包括:3. The method according to claim 1, wherein the step of selecting a target service node for the terminal device based on the network indicator information of the at least one service node comprises:获取所述终端设备的等级;其中,所述等级用于反映所述终端设备对于应用处理的重要程度;obtaining the level of the terminal device; wherein the level is used to reflect the importance of the terminal device for application processing;确定所述至少一服务节点中网络指标信息与所述终端设备的等级匹配的服务节点;determining a service node whose network indicator information matches the level of the terminal device in the at least one service node;将与所述终端设备的等级匹配的服务节点确定为所述终端设备接入的目标服务节点。A service node matching the level of the terminal device is determined as the target service node accessed by the terminal device.4.根据权利要求1所述的方法,其特征在于,所述基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点的步骤包括:The method according to claim 1, wherein the step of selecting a target service node for the terminal device based on the network indicator information of the at least one service node comprises:基于所述终端设备的历史设置数据,确定所述终端设备的特征信息;其中,所述特征信息用于反映所述终端设备对网络的性能要求;Determine feature information of the terminal device based on the historical setting data of the terminal device; wherein the feature information is used to reflect the performance requirements of the terminal device on the network;确定所述至少一服务节点中网络指标信息与所述特征信息匹配的服务节点;determining a service node whose network indicator information matches the feature information in the at least one service node;将与所述特征信息匹配的服务节点确定为所述终端设备接入的目标服务节点。A service node matching the feature information is determined as a target service node accessed by the terminal device.5.根据权利要求1所述的方法,其特征在于,所述将所述目标服务节点的访问标识发送给所述终端设备之后,所述方法还包括:5. The method according to claim 1, wherein after the sending the access identifier of the target service node to the terminal device, the method further comprises:将所述终端设备所关联的业务处理信息发送至所述目标服务节点。The service processing information associated with the terminal device is sent to the target service node.6.一种基于MEC的服务节点分配方法,应用于移动边缘计算MEC服务器,其特征在于,所述方法包括:6. A service node allocation method based on MEC, applied to mobile edge computing MEC server, is characterized in that, described method comprises:接收云端服务器发送的查询请求;其中,所述查询请求包括终端设备的标识信息;receiving a query request sent by a cloud server; wherein the query request includes identification information of the terminal device;基于所述查询请求,查询并获得所述MEC服务器管控的至少一服务节点的网络指标信息;其中,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;Based on the query request, query and obtain the network indicator information of at least one service node managed and controlled by the MEC server; wherein, the network indicator information of each service node includes the terminal equipment corresponding to the identification information to the service node. The network performance measurement information of the node;将所述至少一服务节点的网络指标信息发送给云端服务器;其中,所述至少一服务节点的网络指标信息用于指示所述云端服务器为所述终端设备选择目标服务节点。Sending the network indicator information of the at least one service node to the cloud server; wherein the network indicator information of the at least one service node is used to instruct the cloud server to select a target service node for the terminal device.7.根据权利要求6所述的方法,其特征在于,所述至少一服务节点的网络指标信息包括网络指标信息满足预设阈值的服务节点的网络指标信息;或者,7. The method according to claim 6, wherein the network indicator information of the at least one service node comprises network indicator information of the service node whose network indicator information meets a preset threshold; or,所述至少一服务节点的网络指标信息包括根据网络指标信息进行排名的服务节点中前N个服务节点的网络指标信息;其中,所述N为大于或等于1的正整数。The network indicator information of the at least one service node includes network indicator information of the top N service nodes among the service nodes ranked according to the network indicator information; wherein, N is a positive integer greater than or equal to 1.8.一种基于MEC的服务节点分配方法,应用于移动边缘计算MEC服务器,其特征在于,所述方法包括:8. A service node allocation method based on MEC, applied to mobile edge computing MEC server, is characterized in that, described method comprises:获取终端设备发送的查询请求;其中,所述查询请求中包括所述终端设备的标识信息及目标服务应用的标识信息;Obtain a query request sent by a terminal device; wherein, the query request includes the identification information of the terminal device and the identification information of the target service application;基于所述查询请求,查询所述MEC服务器基于所述目标服务应用的标识信息对应的服务应用管控的至少一服务节点的网络指标信息;其中,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;Based on the query request, query the network indicator information of at least one service node managed and controlled by the MEC server based on the service application corresponding to the identification information of the target service application; wherein, the network indicator information of each service node includes all Network performance measurement information from the terminal device corresponding to the identification information to the service node;基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点;其中,所述目标服务节点为所述至少一服务节点中的服务节点;Selecting a target service node for the terminal device based on the network indicator information of the at least one service node; wherein, the target service node is a service node in the at least one service node;将所述目标服务节点的访问标识发送给所述终端设备,所述访问标识用于指示所述终端设备接入所述目标服务节点。The access identifier of the target service node is sent to the terminal device, where the access identifier is used to instruct the terminal device to access the target service node.9.根据权利要求8所述的方法,其特征在于,所述基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点的步骤包括:9. The method according to claim 8, wherein the step of selecting a target service node for the terminal device based on the network indicator information of the at least one service node comprises:确定所述至少一服务节点中网络指标信息最好的服务节点;determining the service node with the best network indicator information among the at least one service node;将所述至少一服务节点中网络指标信息最好的服务节点确定为所述终端设备接入的目标服务节点。The service node with the best network indicator information among the at least one service node is determined as the target service node accessed by the terminal device.10.根据权利要求8所述的方法,其特征在于,所述基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点的步骤包括:10. The method according to claim 8, wherein the step of selecting a target service node for the terminal device based on the network indicator information of the at least one service node comprises:获取所述终端设备的等级;其中,所述等级用于反映所述终端设备对于应用处理的重要程度;obtaining the level of the terminal device; wherein the level is used to reflect the importance of the terminal device for application processing;确定所述至少一服务节点中网络指标信息与所述终端设备的等级匹配的服务节点;determining a service node whose network indicator information matches the level of the terminal device in the at least one service node;将与所述终端设备的等级匹配的服务节点确定为所述终端设备接入的目标服务节点。A service node matching the level of the terminal device is determined as the target service node accessed by the terminal device.11.根据权利要求8所述的方法,其特征在于,所述基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点的步骤包括:11. The method according to claim 8, wherein the step of selecting a target service node for the terminal device based on the network indicator information of the at least one service node comprises:基于所述终端设备的历史设置数据,确定所述终端设备的特征信息;其中,所述特征信息用于反映所述终端设备对网络的性能要求;Determine feature information of the terminal device based on the historical setting data of the terminal device; wherein the feature information is used to reflect the performance requirements of the terminal device on the network;确定所述至少一服务节点中网络指标信息与所述特征信息匹配的服务节点;determining a service node whose network indicator information matches the feature information in the at least one service node;将与所述特征信息匹配的服务节点确定为所述终端设备接入的目标服务节点。A service node matching the feature information is determined as a target service node accessed by the terminal device.12.根据权利要求8所述的方法,其特征在于,所述将所述目标服务节点的访问标识发送给所述终端设备之后,所述方法还包括:12. The method according to claim 8, wherein after the sending the access identifier of the target service node to the terminal device, the method further comprises:将所述目标服务节点的访问标识发送至云端服务器。Send the access identifier of the target service node to the cloud server.13.一种基于MEC的服务节点分配装置,应用于云端服务器,其特征在于,所述装置包括:13. A device for assigning service nodes based on MEC, applied to a cloud server, wherein the device comprises:第一接收模块,用于接收终端设备发送的登录请求;其中,所述登录请求中包括所述终端设备的标识信息;a first receiving module, configured to receive a login request sent by a terminal device; wherein, the login request includes identification information of the terminal device;第二接收模块,用于接收移动边缘计算MEC服务器基于查询请求反馈的所述MEC服务器管控的至少一服务节点的网络指标信息;其中,所述查询请求包括所述标识信息,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;The second receiving module is configured to receive the network indicator information of at least one service node managed and controlled by the MEC server fed back by the mobile edge computing MEC server based on the query request; wherein the query request includes the identification information, and each service The network indicator information of the node includes network performance measurement information from the terminal device corresponding to the identification information to the serving node;第一选择模块,用于基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点;其中,所述目标服务节点为所述至少一服务节点中的服务节点;a first selection module, configured to select a target service node for the terminal device based on the network indicator information of the at least one service node; wherein, the target service node is a service node in the at least one service node;第一发送模块,用于将所述目标服务节点的访问标识发送给所述终端设备,所述访问标识用于指示所述终端设备接入所述目标服务节点。The first sending module is configured to send the access identifier of the target service node to the terminal device, where the access identifier is used to instruct the terminal device to access the target service node.14.一种基于MEC的服务节点分配装置,应用于移动边缘计算MEC服务器,其特征在于,所述装置包括:14. An MEC-based service node allocation device, applied to a mobile edge computing MEC server, wherein the device comprises:第三接收模块,用于接收云端服务器发送的查询请求;其中,所述查询请求包括终端设备的标识信息;The third receiving module is configured to receive the query request sent by the cloud server; wherein, the query request includes the identification information of the terminal device;第一查询模块,用于基于所述查询请求,查询并获得所述MEC服务器管控的至少一服务节点的网络指标信息;其中,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;A first query module, configured to query and obtain network indicator information of at least one service node managed and controlled by the MEC server based on the query request; wherein, the network indicator information of each of the service nodes includes the identification information corresponding to the The network performance measurement information from the terminal device to the service node;第二发送模块,用于将所述至少一服务节点的网络指标信息发送给云端服务器;其中,所述至少一服务节点的网络指标信息用于指示所述云端服务器为所述终端设备选择目标服务节点。The second sending module is configured to send the network indicator information of the at least one service node to the cloud server; wherein the network indicator information of the at least one service node is used to instruct the cloud server to select a target service for the terminal device node.15.一种基于MEC的服务节点分配装置,应用于移动边缘计算MEC服务器,其特征在于,所述装置包括:15. An MEC-based service node allocation device, applied to a mobile edge computing MEC server, wherein the device comprises:获取模块,用于获取终端设备发送的查询请求;其中,所述查询请求中包括所述终端设备的标识信息及目标服务应用的标识信息;an obtaining module, configured to obtain a query request sent by a terminal device; wherein, the query request includes the identification information of the terminal device and the identification information of the target service application;第二查询模块,用于基于所述查询请求,查询所述MEC服务器基于所述目标服务应用的标识信息对应的服务应用管控的至少一服务节点的网络指标信息;其中,每一所述服务节点的网络指标信息中包括所述标识信息对应的终端设备到所述服务节点的网络性能度量信息;The second query module is configured to, based on the query request, query the network indicator information of at least one service node managed and controlled by the MEC server based on the service application corresponding to the identification information of the target service application; wherein, each service node The network indicator information includes network performance measurement information from the terminal device corresponding to the identification information to the service node;第二选择模块,用于基于所述至少一服务节点的网络指标信息,为所述终端设备选择目标服务节点;其中,所述目标服务节点为所述至少一服务节点中的服务节点;A second selection module, configured to select a target service node for the terminal device based on the network indicator information of the at least one service node; wherein, the target service node is a service node in the at least one service node;第三发送模块,用于将所述目标服务节点的访问标识发送给所述终端设备,所述访问标识用于指示所述终端设备接入所述目标服务节点。The third sending module is configured to send the access identifier of the target service node to the terminal device, where the access identifier is used to instruct the terminal device to access the target service node.16.一种云端服务器,其特征在于,包括第一处理器,第一存储器,存储在所述第一存储器上并可在所述第一处理器上运行的计算机程序,所述计算机程序被所述第一处理器执行时实现如权利要求1至5中任一项所述的基于MEC的服务节点分配方法的步骤。16. A cloud server, characterized by comprising a first processor, a first memory, a computer program stored on the first memory and executable on the first processor, the computer program being The steps of implementing the MEC-based service node allocation method according to any one of claims 1 to 5 when executed by the first processor.17.一种移动边缘计算MEC服务器,其特征在于,包括第二处理器,第二存储器,存储在所述第二存储器上并可在所述第二处理器上运行的计算机程序,所述计算机程序被所述第二处理器执行时实现如权利要求6至12中任一项所述的基于MEC的服务节点分配方法的步骤。17. A mobile edge computing MEC server, characterized by comprising a second processor, a second memory, a computer program stored on the second memory and running on the second processor, the computer When the program is executed by the second processor, the steps of the MEC-based service node allocation method according to any one of claims 6 to 12 are implemented.18.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被第一处理器执行时实现如权利要求1至5中任一项所述的基于MEC的服务节点分配方法的步骤,或者被第二处理器执行时实现如权利要求6至12中任一项所述的基于MEC的服务节点分配方法的步骤。18. A computer-readable storage medium, characterized in that, a computer program is stored on the computer-readable storage medium, and when the computer program is executed by the first processor, any one of claims 1 to 5 is implemented. The steps of the MEC-based service node allocation method described above, or the steps of implementing the MEC-based service node allocation method according to any one of claims 6 to 12 when executed by the second processor.
CN201911147857.5A2019-11-212019-11-21Service node distribution method and device based on MEC and related serverPendingCN112825527A (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201911147857.5ACN112825527A (en)2019-11-212019-11-21Service node distribution method and device based on MEC and related server
PCT/CN2020/120328WO2021098407A1 (en)2019-11-212020-10-12Mec-based service node allocation method and apparatus, and related server

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201911147857.5ACN112825527A (en)2019-11-212019-11-21Service node distribution method and device based on MEC and related server

Publications (1)

Publication NumberPublication Date
CN112825527Atrue CN112825527A (en)2021-05-21

Family

ID=75907452

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201911147857.5APendingCN112825527A (en)2019-11-212019-11-21Service node distribution method and device based on MEC and related server

Country Status (2)

CountryLink
CN (1)CN112825527A (en)
WO (1)WO2021098407A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113434289A (en)*2021-06-162021-09-24北京达佳互联信息技术有限公司Cloud host distribution method and device, electronic equipment and storage medium
CN115103007A (en)*2022-05-192022-09-23亿点云计算(珠海)有限公司 Distributed cloud-based service discovery method, device and readable storage medium

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113726882B (en)*2021-08-302023-08-11中国电信股份有限公司Information service system, method and device, equipment and medium based on 5G network
CN114039977B (en)*2021-11-102024-03-26北京奇艺世纪科技有限公司Method, system and device for realizing application task based on edge calculation
CN116320025A (en)*2021-12-212023-06-23中国电信股份有限公司 Edge node data processing method, electronic device, system, and storage medium
CN114978917A (en)*2022-03-282022-08-30慧之安信息技术股份有限公司 Method and device for improving network performance based on edge computing
CN115514663B (en)*2022-09-232023-10-27北京奇艺世纪科技有限公司Dial testing method, system, device, electronic equipment and storage medium
CN115914405B (en)*2022-11-302024-07-30支付宝(杭州)信息技术有限公司Service processing method and device
CN116128036A (en)*2022-12-082023-05-16浪潮通信信息系统有限公司Incremental learning method, device, equipment and medium based on cloud edge collaborative architecture
CN116865952B (en)*2023-05-232024-02-20江苏华存电子科技有限公司Encryption management method and system for data

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1859213A (en)*2006-03-012006-11-08华为技术有限公司System and method for securing service lelel in content distribution network
CN106899681A (en)*2017-03-102017-06-27腾讯科技(深圳)有限公司The method and server of a kind of information pushing
US20180316746A1 (en)*2010-03-012018-11-01Genghiscomm Holdings, LLCEdge Server Selection for Device-Specific Network Topologies
CN109379774A (en)*2018-11-082019-02-22网宿科技股份有限公司 Intelligent scheduling method, terminal equipment, edge node cluster and intelligent scheduling system
CN109617957A (en)*2018-12-052019-04-12量子云未来(北京)信息科技有限公司A kind of file uploading method based on CDN network, device, server

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104767629B (en)*2014-01-062017-12-12腾讯科技(深圳)有限公司Distribute the method, apparatus and system of service node
WO2017100640A1 (en)*2015-12-112017-06-15Interdigital Patent Holdings, Inc.Method and apparatus for enabling third party edge clouds at the mobile edge
US10567495B2 (en)*2016-11-162020-02-18Cisco Technology, Inc.Application based intelligent edge computing in a low power wide area network environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1859213A (en)*2006-03-012006-11-08华为技术有限公司System and method for securing service lelel in content distribution network
US20180316746A1 (en)*2010-03-012018-11-01Genghiscomm Holdings, LLCEdge Server Selection for Device-Specific Network Topologies
CN106899681A (en)*2017-03-102017-06-27腾讯科技(深圳)有限公司The method and server of a kind of information pushing
CN109379774A (en)*2018-11-082019-02-22网宿科技股份有限公司 Intelligent scheduling method, terminal equipment, edge node cluster and intelligent scheduling system
CN109617957A (en)*2018-12-052019-04-12量子云未来(北京)信息科技有限公司A kind of file uploading method based on CDN network, device, server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113434289A (en)*2021-06-162021-09-24北京达佳互联信息技术有限公司Cloud host distribution method and device, electronic equipment and storage medium
CN113434289B (en)*2021-06-162024-07-12北京达佳互联信息技术有限公司Cloud host allocation method and device, electronic equipment and storage medium
CN115103007A (en)*2022-05-192022-09-23亿点云计算(珠海)有限公司 Distributed cloud-based service discovery method, device and readable storage medium

Also Published As

Publication numberPublication date
WO2021098407A1 (en)2021-05-27

Similar Documents

PublicationPublication DateTitle
CN112825527A (en)Service node distribution method and device based on MEC and related server
CN112087312B (en)Method, device and equipment for providing edge service
US10374955B2 (en)Managing network computing components utilizing request routing
US10009284B2 (en)Policy-based session establishment and transfer in a virtualized/cloud environment
US10523748B2 (en)Managing health status of network devices in a distributed global server load balancing system
CN109547286B (en)CDN node selection method, device and storage medium
CN110086886B (en)Dynamic session holding method and device
CN109151009B (en) A MEC-based CDN node allocation method and system
CN110474802B (en)Equipment switching method and device and service system
US11394683B2 (en)Domain name resolution method and apparatus based on a plurality of availability zones AZ
CN108124020B (en)Domain name resolution method, system and equipment
CN112437006A (en)Request control method and device based on API gateway, electronic equipment and storage medium
CN111385357B (en) A network resource management method, device, computer equipment and storage medium
WO2024002142A1 (en)Traffic forwarding method
WO2017107463A1 (en)Method and apparatus for delivering cdn addresses
CN109743357B (en)Method and device for realizing service access continuity
CN110958326B (en)Load balancing method, device, system, equipment and medium
CN106027354A (en)Backflow method and device for VPN (Virtual Private Network) client
WO2025123857A1 (en)Mqtt load balancing method and system, and computer-readable storage medium
CN112954084B (en)Edge computing processing method, network function example and edge service management and control center
CN105681266A (en)Communication cluster method and device for MMTel (MultiMedia Telephony)
EP4057577A1 (en)Addressing method, addressing system and addressing apparatus
WO2020248363A1 (en)Load balancing method for server and related apparatus
CN113497811A (en)Domain name system server distribution method and related equipment
US20210211381A1 (en)Communication method and related device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20210521

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp