CN114692898A - MEC federated learning method, device and computer-readable storage medium - Google Patents

MEC federated learning method, device and computer-readable storage medium Download PDF

Info

Publication number
CN114692898A
CN114692898A CN202210331863.1A CN202210331863A CN114692898A CN 114692898 A CN114692898 A CN 114692898A CN 202210331863 A CN202210331863 A CN 202210331863A CN 114692898 A CN114692898 A CN 114692898A
Authority
CN
China
Prior art keywords
mec
mec system
coordinator
federated learning
model 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
CN202210331863.1A
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.)
Asiainfo Technologies China Inc
Original Assignee
Asiainfo Technologies China Inc
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 Asiainfo Technologies China Inc filed Critical Asiainfo Technologies China Inc
Priority to CN202210331863.1A priority Critical patent/CN114692898A/en
Publication of CN114692898A publication Critical patent/CN114692898A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • G06N20/20Ensemble learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/502Proximity

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Computing Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例提供了一种MEC联邦学习方法、装置及计算机可读存储介质。包括:当任一联邦学习小组中任一多接入边缘计算MEC系统发出联邦学习请求时,基于联邦学习小组中各MEC系统的资源容量利用率,从各MEC系统中确定出MEC系统协调方;通过MEC系统协调方接收联邦学习小组中其他MEC系统发送的模型信息,并在接收过程中实时获取MEC系统协调方的资源容量利用率;再基于MEC系统协调方的资源容量利用率确定是否需要进行协调方切换,通过MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至联邦学习小组中各MEC系统。该方案实现了MEC联邦学习,并保证了MEC系统协调方的性能,实现了MEC系统联邦学习小组内MEC系统的资源容量使用均衡。

Figure 202210331863

Embodiments of the present application provide an MEC federated learning method, device, and computer-readable storage medium. Including: when any multi-access edge computing MEC system in any federated learning group sends a federated learning request, based on the resource capacity utilization of each MEC system in the federated learning group, determine the MEC system coordinator from each MEC system; Receive model information sent by other MEC systems in the federated learning group through the MEC system coordinator, and obtain the resource capacity utilization of the MEC system coordinator in real time during the receiving process; The coordinator switches. After the MEC system coordinator aggregates the model information, the aggregated model information is sent to each MEC system in the federated learning group. This scheme realizes the federated learning of MEC, ensures the performance of the coordinator of the MEC system, and realizes the balanced use of resources and capacity of the MEC system within the federated learning group of the MEC system.

Figure 202210331863

Description

MEC联邦学习方法、装置及计算机可读存储介质MEC federated learning method, device and computer-readable storage medium

技术领域technical field

本申请涉及5G边缘计算技术领域,具体而言,本申请涉及一种MEC联邦学习方法、装置及计算机可读存储介质。The present application relates to the technical field of 5G edge computing, and in particular, the present application relates to an MEC federated learning method, apparatus, and computer-readable storage medium.

背景技术Background technique

MEC(Multi-access Edge Computing,多接入边缘计算)是移动基站演进以及IT和电信网络融合的自然发展的产物,通过在网络边缘部署各种服务和缓存内容,可以进一步缓解移动核心网络的拥塞,并能够高效地服务于本地。MEC提供了一个新的生态系统和价值链,运营商可以向经鉴权和认证后的第三方开放其无线接入网络(RAN)边缘,使其能够灵活、快速地向移动用户、企业和垂直行业部署,提供创新应用程序和服务,例如包括视频分析、定位服务、增强显示、本地内容分发和数据缓存等服务。MEC (Multi-access Edge Computing) is a natural product of the evolution of mobile base stations and the convergence of IT and telecom networks. By deploying various services and caching content at the edge of the network, congestion in the mobile core network can be further eased , and can efficiently serve the local area. MEC provides a new ecosystem and value chain where operators can open up their Radio Access Network (RAN) edge to authenticated and certified third parties, enabling them to flexibly and rapidly expand their reach to mobile users, enterprises and verticals Industry deployments to provide innovative applications and services such as video analytics, location services, enhanced displays, local content distribution and data caching.

基于数据碎片化、数据孤单、用户隐私泄露以及机器学习面临的数据短缺等问题,联邦学习由此诞生,联邦学习是一种分布式机器学习框架,它可以在用户隐私保护、数据安全和政府法规的要求下,允许多个参与方在其其本地私有地保护自己的数据,同时协作并安全地建立联邦学习模型,其技术可以有效解决数据孤岛问题,实现参与方间智能化合作。Based on the problems of data fragmentation, data loneliness, leakage of user privacy, and data shortage faced by machine learning, federated learning was born. Federated learning is a distributed machine learning framework, which can be used in user privacy protection, data security and government regulations. It allows multiple participants to protect their own data locally and privately, and at the same time to collaborate and securely establish a federated learning model. Its technology can effectively solve the problem of data silos and realize intelligent cooperation among participants.

基于MEC的实时、敏捷、智能、安全等特性,移动网络运营商、企业和垂直行业纷纷加入了MEC队列,建立了MEC系统,不同的MEC系统间通信在当今以及未来的边缘计算行业和生态系统中是一项必不可少的要求。MEC系统的联邦可实现MEC服务和应用程序的共享使用。通过与其他服务协作而不是开发所有服务来提供新功能,例如,语音识别功能可以作为其他服务(如导航应用程序)的关键功能,在这种情况下,语音识别服务提供者不一定与导航服务提供者相同,每个服务都可以部署在MEC环境中的不同MEC系统上。Based on the real-time, agile, intelligent, security and other characteristics of MEC, mobile network operators, enterprises and vertical industries have joined the MEC queue and established MEC systems. is an essential requirement. The federation of the MEC system enables the shared use of MEC services and applications. Provide new functionality by collaborating with other services instead of developing all services, for example, speech recognition can be a key function of other services (such as navigation applications), in this case, the speech recognition service provider does not necessarily have to work with the navigation service The providers are the same, and each service can be deployed on different MEC systems in the MEC environment.

但是,目前暂无成熟的MEC联邦学习方案,因此亟需提供一种新的MEC联邦学习方案。However, there is currently no mature MEC federated learning scheme, so it is urgent to provide a new MEC federated learning scheme.

发明内容SUMMARY OF THE INVENTION

本申请的目的旨在至少能解决上述的技术缺陷之一,本申请实施例所提供的技术方案如下:The purpose of this application is to solve at least one of the above-mentioned technical defects, and the technical solutions provided by the embodiments of this application are as follows:

第一方面,本申请实施例提供了一种MEC联邦学习方法,包括:In the first aspect, an embodiment of the present application provides a federated learning method for MEC, including:

当任一联邦学习小组中任一多接入边缘计算MEC系统发出联邦学习请求时,基于联邦学习小组中各MEC系统的资源容量利用率,从各MEC系统中确定出MEC系统协调方;When any multi-access edge computing MEC system in any federated learning group issues a federated learning request, the MEC system coordinator is determined from each MEC system based on the resource capacity utilization of each MEC system in the federated learning group;

通过MEC系统协调方接收联邦学习小组中其他MEC系统发送的模型信息,并在接收过程中实时获取MEC系统协调方的资源容量利用率;Receive model information sent by other MEC systems in the federated learning group through the MEC system coordinator, and obtain the resource capacity utilization of the MEC system coordinator in real time during the receiving process;

若在接收过程中MEC系统协调方的资源容量利用率不超过第一预设阈值,则通过MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至联邦学习小组中各MEC系统;If the resource capacity utilization rate of the MEC system coordinator does not exceed the first preset threshold during the receiving process, the MEC system coordinator aggregates the model information, and then sends the aggregated model information to each of the federated learning groups. MEC system;

若在接收过程中MEC系统协调方的资源容量利用率超过第一预设阈值,则从各MEC系统中确定出新的MEC系统协调方并切换至新的MEC系统协调方接收各模型信息,重复新的MEC系统协调方确定和切换直至新的MEC系统协调方在接收过程中资源容量利用率不超过第一预设阈值,则通过新的MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至联邦学习小组中各MEC系统。If the resource capacity utilization rate of the MEC system coordinator exceeds the first preset threshold during the receiving process, a new MEC system coordinator is determined from each MEC system and switched to the new MEC system coordinator to receive each model information, repeating The new MEC system coordinator is determined and switched until the resource capacity utilization rate of the new MEC system coordinator does not exceed the first preset threshold during the receiving process, then after the new MEC system coordinator aggregates the model information, the aggregated The latter model information is sent to each MEC system in the federated learning group.

在本申请的一种可选实施例中,基于联邦学习小组中各MEC系统的资源容量利用率,从各MEC系统中确定出MEC系统协调方,包括:In an optional embodiment of the present application, based on the resource capacity utilization rate of each MEC system in the federated learning group, the MEC system coordinator is determined from each MEC system, including:

获取预设可用MEC系统协调方集合,预设可用MEC系统协调方集合中各MEC系统携带对应的优先级;Obtain the preset available MEC system coordinator set, and each MEC system in the preset available MEC system coordinator set carries the corresponding priority;

将联邦学习小组中属于可用MEC系统协调方集合的MEC系统中,资源容量利用率不超过第二预设阈值且优先级最高的MEC系统,确定为MEC系统协调方,第二预设阈值不大于第一预设阈值。Among the MEC systems in the federated learning group that belong to the set of available MEC system coordinators, the resource capacity utilization rate does not exceed the second preset threshold and the MEC system with the highest priority is determined as the MEC system coordinator, and the second preset threshold value is not greater than the first preset threshold.

在本申请的一种可选实施例中,该方法还包括:In an optional embodiment of the present application, the method further includes:

若联邦学习小组中属于可用MEC系统协调方集合的所有MEC系统的资源容量利用率都超过第二预设阈值,则将联邦学习小组中不属于可用MEC系统协调方集合的MEC系统中资源容量利用率最小的MEC系统,确定为MEC系统协调方。If the resource capacity utilization of all MEC systems belonging to the set of available MEC system coordinators in the federated learning group exceeds the second preset threshold, the resource capacity utilization of the MEC systems in the federated learning group that do not belong to the set of available MEC system coordinators The MEC system with the smallest rate is determined as the MEC system coordinator.

在本申请的一种可选实施例中,获取预设可用MEC系统协调方集合,包括:In an optional embodiment of the present application, acquiring a set of preset available MEC system coordinators includes:

从预设数量的MEC系统中,获取多个的联邦学习小组;Obtain multiple federated learning groups from a preset number of MEC systems;

将出现在任一联邦学习小组中的MEC系统,确定为可用MEC协调方集合的元素,构建可用MEC协调方集合,且MEC协调方集合中各MEC系统的优先级与其在各联邦学习小组中重复出现的次数成正比。The MEC systems that appear in any federated learning group are identified as elements of the set of available MEC coordinators, and the set of available MEC coordinators is constructed, and the priority of each MEC system in the set of MEC coordinators is repeated in each federated learning group. is proportional to the number of times.

在本申请的一种可选实施例中,从预设数量的MEC系统中,获取多个的联邦学习小组,包括:In an optional embodiment of the present application, a plurality of federated learning groups are obtained from a preset number of MEC systems, including:

将各MEC系统中数据来源相同的MEC系统确定为一个联邦学习小组;和/或,Identify MEC systems with the same data source among MEC systems as a federated learning group; and/or,

将各MEC系统中模型特征相似度满足预设条件的MEC系统确定为一个联邦学习小组。The MEC system whose model feature similarity in each MEC system meets the preset conditions is determined as a federated learning group.

在本申请的一种可选实施例中,通过MEC系统协调方接收联邦学习小组中其他MEC系统发送的模型信息,包括:In an optional embodiment of the present application, the model information sent by other MEC systems in the federated learning group is received by the MEC system coordinator, including:

确定联邦学习小组中是否包含已有MEC系统协调方;Determine whether an existing MEC system coordinator is included in the federated learning group;

若不包含,则直接通过MEC系统协调方接收联邦学习小组中其他MEC系统发送的模型信息;If not included, directly receive model information sent by other MEC systems in the federated learning group through the MEC system coordinator;

若包含,则通过MEC系统协调方获取已有MEC系统协调方已接收的模型信息,并通过MEC系统继续接收其他MEC系统的模型信息。If it is included, the model information received by the existing MEC system coordinator is obtained through the MEC system coordinator, and the model information of other MEC systems is continuously received through the MEC system.

在本申请的一种可选实施例中,从各MEC系统中确定出新的MEC系统协调方并切换至新的MEC系统协调方接收各模型信息,包括:In an optional embodiment of the present application, a new MEC system coordinator is determined from each MEC system and switched to the new MEC system coordinator to receive each model information, including:

基于联邦学习小组中各MEC系统的资源容量利用率,从各MEC系统中确定出新的MEC系统协调方;Based on the resource capacity utilization of each MEC system in the federated learning group, determine the new MEC system coordinator from each MEC system;

通过新的MEC系统协调方获取MEC系统协调方已接收的模型信息,并通过新的MEC系统继续接收其他MEC系统的模型信息。Obtain the model information received by the MEC system coordinator through the new MEC system coordinator, and continue to receive model information from other MEC systems through the new MEC system.

第二方面,本申请实施例提供了一种MEC联邦学习装置,包括:In a second aspect, an embodiment of the present application provides an MEC federated learning device, including:

MEC系统协调方确定模块,用于当任一联邦学习小组中任一多接入边缘计算MEC系统发出联邦学习请求时,基于联邦学习小组中各MEC系统的资源容量利用率,从各MEC系统中确定出MEC系统协调方;The MEC system coordinator determines the module, which is used to obtain a federated learning request from any multi-access edge computing MEC system in any federated learning group based on the resource capacity utilization of each MEC system in the federated learning group. Determine the MEC system coordinator;

模型信息接收模块,用于通过MEC系统协调方接收联邦学习小组中其他MEC系统发送的模型信息,并在接收过程中实时获取MEC系统协调方的资源容量利用率;The model information receiving module is used to receive the model information sent by other MEC systems in the federated learning group through the MEC system coordinator, and obtain the resource capacity utilization rate of the MEC system coordinator in real time during the receiving process;

第一模型信息聚合模块,用于若在接收过程中MEC系统协调方的资源容量利用率不超过第一预设阈值,则通过MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至联邦学习小组中各MEC系统;The first model information aggregation module is used for, if the resource capacity utilization rate of the MEC system coordinator does not exceed the first preset threshold during the receiving process, after the MEC system coordinator aggregates each model information, the aggregated model The information is sent to each MEC system in the federated learning group;

第三方面,本申请实施例提供了一种电子设备,包括存储器和处理器;In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor;

存储器中存储有计算机程序;A computer program is stored in the memory;

处理器,用于执行计算机程序以实现第一方面实施例或第一方面任一可选实施例中所提供的方法。A processor, configured to execute a computer program to implement the method provided in the embodiment of the first aspect or any optional embodiment of the first aspect.

第四方面,本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现第一方面实施例或第一方面任一可选实施例中所提供的方法。In a fourth aspect, an embodiment of the present application 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 a processor, any optional embodiment of the first aspect or the first aspect is implemented methods provided in the examples.

第五方面,本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行时实现第一方面实施例或第一方面任一可选实施例中所提供的方法。In a fifth aspect, embodiments of the present application provide a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device implements the first aspect embodiment or any optional embodiment of the first aspect when executed. method.

本申请提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solution provided by the application are:

通过基于发起联邦学习请求小组中各MEC系统的资源容量利用率确定出MEC系统协调方,并在后续通过MEC系统协调方接收其他MEC系统的模型信息过程中,实时获取接收过程中MEC系统协调方的资源容量利用率,并再次基于资源容量利用率确定是否要进行MEC系统协调方的切换。该方案实现了MEC联邦学习,并在MEC系统协调方确认过程中考虑了资源容量利用率,保证了MEC系统协调方的性能,实现了MEC系统联邦学习小组内MEC系统的资源容量使用均衡。The MEC system coordinator is determined based on the resource capacity utilization of each MEC system in the group that initiates the federated learning request, and in the subsequent process of receiving model information of other MEC systems through the MEC system coordinator, the MEC system coordinator in the receiving process is obtained in real time. The resource capacity utilization rate is determined, and again based on the resource capacity utilization rate, it is determined whether to perform the handover of the MEC system coordinator. This solution realizes the MEC federated learning, and considers the resource capacity utilization in the process of confirming the MEC system coordinator, which ensures the performance of the MEC system coordinator, and realizes the balanced use of resource capacity of the MEC system within the MEC system federated learning group.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments of the present application.

图1为本申请实施例提供的一种MEC联邦学习方法的流程示意图;FIG. 1 is a schematic flowchart of a federated learning method for MEC provided by an embodiment of the present application;

图2为本申请实施例的一个示例中检测请求的服务不在MEC系统内的流程图;2 is a flowchart of detecting that the requested service is not in the MEC system in an example of the embodiment of the application;

图3为本申请实施例的一个示例中MEC系统协调方无发生切换时联邦学习流程图;FIG. 3 is a flow chart of federated learning when no handover occurs between the MEC system coordinator in an example of an embodiment of the present application;

图4为本申请实施例的一个示例中切换的协调方位于可用的MEC系统协调方集合的联邦学习流程图;FIG. 4 is a federated learning flow chart in which the coordinator of the handover is located in the set of available MEC system coordinators in an example of the embodiment of the application;

图5为本申请实施例的一个示例中切换的协调方不位于可用的MEC系统协调方集合的联邦学习流程图;FIG. 5 is a federated learning flowchart in an example of an embodiment of the present application in which the coordinator of the handover is not located in the set of available MEC system coordinators;

图6为本申请实施例的一个示例中MEC系统协调方切换交互图;FIG. 6 is a handover interaction diagram of the MEC system coordinator in an example of an embodiment of the application;

图7为本申请实施例的一个示例中MEC系统协调方无发生切换时联邦学习交互图;FIG. 7 is an interaction diagram of federated learning when no handover occurs between the MEC system coordinators in an example of the embodiment of the present application;

图8为本申请实施例的一个示例中MEC系统协调方发生切换时联邦学习交互图FIG. 8 is an interaction diagram of federated learning when the MEC system coordinator switches over in an example of an embodiment of the present application

图9为本申请实施例提供的一种MEC联邦学习装置的结构示意图;FIG. 9 is a schematic structural diagram of an MEC federated learning apparatus provided by an embodiment of the present application;

图10为本申请实施例提供的一种电子设备的结构示意图。FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

具体实施方式Detailed ways

下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本申请,而不能解释为对本申请的限制。The following describes in detail the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, but not to be construed as a limitation on the present application.

本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。It will be understood by those skilled in the art that the singular forms "a", "an", "the" and "the" as used herein can include the plural forms as well, unless expressly stated otherwise. It should be further understood that the word "comprising" used in the specification of this application refers to the presence of stated features, integers, steps, operations, elements and/or components, but does not preclude the presence or addition of one or more other features, Integers, steps, operations, elements, components and/or groups thereof. It will be understood that when we refer to an element as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Furthermore, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combination of one or more of the associated listed items.

为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

图1为本申请实施例提供的一种MEC联邦学习方法的流程示意图,如图1所示,该方法可以包括:FIG. 1 is a schematic flowchart of an MEC federated learning method provided by an embodiment of the present application. As shown in FIG. 1 , the method may include:

步骤S101,当任一联邦学习小组中任一多接入边缘计算MEC系统发出联邦学习请求时,基于在各个联邦学习小组中MEC系统出现的次数以及资源容量利用率,从各MEC系统中确定出MEC系统协调方。Step S101, when any multi-access edge computing MEC system in any federated learning group issues a federated learning request, based on the number of times and resource capacity utilization of the MEC system in each federated learning group, determine from each MEC system. MEC system coordinator.

具体地,当任一联邦学习小组中的任一MEC系统发出联邦学习请求时,即触发了本申请实施例提供的MEC联邦学习方法。然后,获取联邦学习小组中各个MEC系统的资源容量利用率,根据各MEC系统的资源容量利用率确定出作为MEC系统协调方的MEC系统。MEC系统协调方将作为联邦学习中聚合各联邦学习参与方的执行主体,其中,联邦学习参与方即该联邦学习小组中的各MEC系统。Specifically, when any MEC system in any federated learning group issues a federated learning request, the MEC federated learning method provided by the embodiment of the present application is triggered. Then, the resource capacity utilization rate of each MEC system in the federated learning group is obtained, and the MEC system serving as the MEC system coordinator is determined according to the resource capacity utilization rate of each MEC system. The MEC system coordinator will act as the executive body for aggregating the federated learning participants in the federated learning, wherein the federated learning participants are the MEC systems in the federated learning group.

可以理解的是,在本申请的方案中,在从联邦学习小组中选取MEC系统协调方时,为了保证MEC系统协调方的性能,需要考虑了联邦学习小组中各MEC系统的资源容量利用率。It can be understood that, in the solution of this application, when selecting the MEC system coordinator from the federated learning group, in order to ensure the performance of the MEC system coordinator, the resource capacity utilization of each MEC system in the federated learning group needs to be considered.

需要说明的是,MEC系统由MEC主机和MEC管理组成,MEC主机是一个包含MEC平台和虚拟化基础设施的实体,为运行MEC应用程序提供计算、存储和网络资源。MEC平台是在特定虚拟化基础设施上运行MEC应用程序并使其能够提供和使用MEC服务所需的基本功能的集合,MEC平台也可以提供服务。MEC应用程序根据MEC管理层验证的配置或请求在MEC主机的虚拟化基础设施上实例化。MEC管理包括MEC系统级管理和MEC主机级管理。MEC系统级管理包括多访问边缘编排器作为其核心组件,该组件概述了整个MEC系统。MEC主机级管理包括MEC平台管理器和虚拟化基础设施管理器,负责管理特定MEC主机及其上运行的应用程序的MEC特定功能。其中,Mp1接口为MEC平台和MEC应用程序之间的接口,Mm5接口为MEC平台管理器和MEC平台之间的接口,Mm3接口为MEC编排器和MEC平台管理器之间的接口。It should be noted that the MEC system consists of the MEC host and the MEC management. The MEC host is an entity that includes the MEC platform and virtualization infrastructure, and provides computing, storage, and network resources for running MEC applications. The MEC platform is a collection of basic functions required to run MEC applications on a specific virtualized infrastructure and enable it to provide and use MEC services, which can also provide services. The MEC application is instantiated on the virtualized infrastructure of the MEC host according to the configuration or request verified by the MEC management layer. MEC management includes MEC system-level management and MEC host-level management. MEC system-level management includes the multi-access edge orchestrator as its core component, which provides an overview of the entire MEC system. MEC host-level management includes the MEC platform manager and the virtualization infrastructure manager, which are responsible for managing the MEC-specific functions of a specific MEC host and the applications running on it. The Mp1 interface is the interface between the MEC platform and the MEC application program, the Mm5 interface is the interface between the MEC platform manager and the MEC platform, and the Mm3 interface is the interface between the MEC orchestrator and the MEC platform manager.

当联邦学习小组中某个MEC系统中的实例化的MEC应用程序,发起服务请求时,经检测MEC系统内不存在此服务,如图2所示,具体检测流程如下:When the instantiated MEC application in a certain MEC system in the federated learning group initiates a service request, it is detected that the service does not exist in the MEC system, as shown in Figure 2. The specific detection process is as follows:

1.服务消费者(即MEC系统中实例化的MEC应用程序)利用其ID通过Mp1参考点向MEC平台发送请求,请求所需服务。1. The service consumer (ie the MEC application program instantiated in the MEC system) uses its ID to send a request to the MEC platform through the Mp1 reference point to request the required service.

2.MEC系统中的对应MEC平台发现请求的服务在本地不可用。2. The corresponding MEC platform in the MEC system finds that the requested service is not available locally.

3.将服务请求通过Mm5接口转发给MEC系统的MEC平台管理器。3. Forward the service request to the MEC platform manager of the MEC system through the Mm5 interface.

4.MEC平台管理器通过Mm3接口依次将服务请求转发给MEC编排器。4. The MEC platform manager sequentially forwards the service request to the MEC orchestrator through the Mm3 interface.

5.MEC编排器检测MEC系统的拓扑结构和可用服务,发现请求的服务在MEC系统中不可用。5. The MEC orchestrator detects the topology and available services of the MEC system and finds that the requested service is not available in the MEC system.

步骤S102,通过MEC系统协调方接收联邦学习小组中其他MEC系统发送的模型信息,并在接收过程中实时获取MEC系统协调方的资源容量利用率。Step S102, the model information sent by other MEC systems in the federated learning group is received by the MEC system coordinator, and the resource capacity utilization rate of the MEC system coordinator is acquired in real time during the receiving process.

具体地,利用前一步骤确定出的MEC系统协调方接收联邦学习小组中其他MEC系统发送的模型信息,在完成各MEC系统的模型信息的接收后,即可对各模型信息进行聚合,得到聚合都的模型信息,完成联邦学习。但是,为了进一步保证MEC系统协调方的性能,需要在其数据模型信息的接收过程中,实时监控其资源容量利用率,并在资源容量利用率超过第一预设阈值时停用当前的MEC系统协调方,并确定新的MEC系统协调方,并从当前的MEC系统协调方切换至新的MEC系统协调方。对于MEC系统协调方的切换后续步骤将进行详细说明。Specifically, the MEC system coordinator determined in the previous step receives the model information sent by other MEC systems in the federated learning group. After the model information of each MEC system is received, the model information can be aggregated to obtain an aggregated All model information, complete federated learning. However, in order to further ensure the performance of the MEC system coordinator, it is necessary to monitor its resource capacity utilization in real time during the process of receiving its data model information, and deactivate the current MEC system when the resource capacity utilization exceeds the first preset threshold coordinator, and determine the new MEC system coordinator, and switch from the current MEC system coordinator to the new MEC system coordinator. The subsequent steps of the handover of the MEC system coordinator will be described in detail.

步骤S103,若在接收过程中MEC系统协调方的资源容量利用率不超过第一预设阈值,则通过MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至联邦学习小组中各MEC系统。Step S103, if the resource capacity utilization rate of the MEC system coordinator does not exceed the first preset threshold during the receiving process, after the MEC system coordinator aggregates the model information, the aggregated model information is respectively sent to federated learning. Each MEC system in the group.

一种情形下,当前的MEC系统协调方的资源容量利用率不超过第一预设阈值,即当前的MEC系统协调方接收完所有的模型信息后,其资源容量利用率都不大于第一预设阈值,则能够保证其性能。可以进一步通过MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至联邦学习小组中各MEC系统,各MEC系统在接收到聚合后的模型信息后,更新本地的模型信息。In one case, the resource capacity utilization rate of the current MEC system coordinator does not exceed the first preset threshold, that is, after the current MEC system coordinator receives all model information, its resource capacity utilization rate is not greater than the first preset threshold. By setting the threshold, its performance can be guaranteed. It is possible to further aggregate the model information through the MEC system coordinator, and then send the aggregated model information to each MEC system in the federated learning group. After receiving the aggregated model information, each MEC system updates the local model information. .

需要说明的是,第一预设阈值可以根据经验和实际需求进行设定,例如设定为60%。It should be noted that the first preset threshold can be set according to experience and actual needs, for example, set to 60%.

步骤S104,若在接收过程中MEC系统协调方的资源容量利用率超过第一预设阈值,则从各MEC系统中确定出新的MEC系统协调方并切换至通过新的MEC系统协调方接收各模型信息,重复新的MEC系统协调方确定和切换直至新的MEC系统协调方在接收过程中资源容量利用率不超过第一预设阈值,则通过新的MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至联邦学习小组中各MEC系统。Step S104, if the resource capacity utilization rate of the MEC system coordinator exceeds the first preset threshold during the receiving process, then determine a new MEC system coordinator from each MEC system and switch to receive each MEC system coordinator through the new MEC system coordinator. Model information, repeat the determination and handover of the new MEC system coordinator until the resource capacity utilization rate of the new MEC system coordinator does not exceed the first preset threshold during the receiving process, then aggregate the model information through the new MEC system coordinator Then, the aggregated model information is sent to each MEC system in the federated learning group.

另一种情形下,当前的MEC系统协调方的资源容量利用率超过第一预设阈值,即当前的MEC系统协调方接收完所有的模型信息后,其资源容量利用率都大于第一预设阈值,则其性能可能无法得到保证。因此需要重新确定出新的MEC协调方,通过新的MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至联邦学习小组中各MEC系统。In another situation, the resource capacity utilization rate of the current MEC system coordinator exceeds the first preset threshold, that is, after the current MEC system coordinator receives all model information, its resource capacity utilization rate is greater than the first preset threshold threshold, its performance may not be guaranteed. Therefore, a new MEC coordinator needs to be re-determined. After the new MEC system coordinator aggregates the model information, the aggregated model information is sent to each MEC system in the federated learning group.

具体来说,重新确定新的MEC系统协调方的方式可以与步骤S101中的方式相同,同样考虑联邦学习小组中各MEC系统的资源容量利用率。该过程重复进行,即每次确定出新的MEC系统协调方后,从之前的MEC系统协调方切换至该新的MEC系统协调方,通过该新的MEC系统协调方接收模型信息,同样对接过程中新的MEC系统协调方的资源容量利用率进行实时监测,若还是超过第一预设阈值,则再次确定新的MEC系统协调方,并进行切换以及接收过程中资源容量利用率的监测,可以重复多次上述“确定新的MEC系统协调方-切换-接收过程监控”的步骤,直至最终确定出的新的MEC系统协调方在接收完所有模型信息后,资源容量利用率不超过第一预设阈值。Specifically, the method of re-determining the new MEC system coordinator can be the same as the method in step S101, and also considers the resource capacity utilization of each MEC system in the federated learning group. This process is repeated, that is, after each time a new MEC system coordinator is determined, switch from the previous MEC system coordinator to the new MEC system coordinator, receive model information through the new MEC system coordinator, and the same docking process The resource capacity utilization rate of the new MEC system coordinator is monitored in real time. If it still exceeds the first preset threshold, the new MEC system coordinator is determined again, and the resource capacity utilization rate in the handover and receiving process is monitored. Repeat the above steps of "determining a new MEC system coordinator-handover-receiving process monitoring" several times, until the new MEC system coordinator finally determined has received all model information, and the resource capacity utilization rate does not exceed the first pre-set. Set the threshold.

本申请提供的方案,通过基于发起联邦学习请求小组中各MEC系统的资源容量利用率确定出MEC系统协调方,并在后续通过MEC系统协调方接收其他MEC系统的模型信息过程中,实时获取接收过程中MEC系统协调方的资源容量利用率,并再次基于资源容量利用率确定是否要进行MEC系统协调方的切换。该方案实现了MEC联邦学习,并在MEC系统协调方确认过程中考虑了资源容量利用率,保证了MEC系统协调方的性能,实现了MEC系统联邦学习小组内MEC系统的资源容量使用均衡。In the solution provided by this application, the MEC system coordinator is determined based on the resource capacity utilization of each MEC system in the group that initiates the federated learning request, and in the subsequent process of receiving the model information of other MEC systems through the MEC system coordinator, real-time acquisition and reception In the process, the resource capacity utilization rate of the MEC system coordinator is determined, and again based on the resource capacity utilization rate, it is determined whether to switch the MEC system coordinator. This solution realizes the MEC federated learning, and considers the resource capacity utilization in the process of confirming the MEC system coordinator, which ensures the performance of the MEC system coordinator, and realizes the balanced use of resource capacity of the MEC system within the MEC system federated learning group.

在本申请的一种可选实施例中,基于联邦学习小组中各MEC系统的资源容量利用率,从各MEC系统中确定出MEC系统协调方,包括:In an optional embodiment of the present application, based on the resource capacity utilization rate of each MEC system in the federated learning group, the MEC system coordinator is determined from each MEC system, including:

获取预设可用MEC系统协调方集合,预设可用MEC系统协调方集合中各MEC系统携带对应的优先级;Obtain the preset available MEC system coordinator set, and each MEC system in the preset available MEC system coordinator set carries the corresponding priority;

将联邦学习小组中属于可用MEC系统协调方集合的MEC系统中,资源容量利用率不超过第二预设阈值且优先级最高的MEC系统,确定为MEC系统协调方,第二预设阈值不大于第一预设阈值。Among the MEC systems in the federated learning group that belong to the set of available MEC system coordinators, the resource capacity utilization rate does not exceed the second preset threshold and the MEC system with the highest priority is determined as the MEC system coordinator, and the second preset threshold value is not greater than the first preset threshold.

其中,获取预设可用MEC系统协调方集合,包括:Among them, the set of preset available MEC system coordinators is obtained, including:

从预设数量的MEC系统中,获取多个的联邦学习小组;Obtain multiple federated learning groups from a preset number of MEC systems;

将出现在任一联邦学习小组中的MEC系统,确定为可用MEC协调方集合的元素,构建可用MEC协调方集合,且MEC协调方集合中各MEC系统的优先级与其在各联邦学习小组中重复出现的次数成正比。The MEC systems that appear in any federated learning group are identified as elements of the set of available MEC coordinators, and the set of available MEC coordinators is constructed, and the priority of each MEC system in the set of MEC coordinators is repeated in each federated learning group. is proportional to the number of times.

进一步地,从预设数量的MEC系统中,获取多个的联邦学习小组,包括:Further, from a preset number of MEC systems, multiple federated learning groups are obtained, including:

将各MEC系统中数据来源相同的MEC系统确定为一个联邦学习小组;和/或,Identify MEC systems with the same data source among MEC systems as a federated learning group; and/or,

将各MEC系统中模型特征相似度满足预设条件的MEC系统确定为一个联邦学习小组。The MEC system whose model feature similarity in each MEC system meets the preset conditions is determined as a federated learning group.

具体地,首先,假设有m个MEC系统,基于业务模型同一数据来源或者基于业务模型特征相似度的方法组成了p个MEC系统联邦学习小组。Specifically, first, assuming that there are m MEC systems, p MEC system federated learning groups are formed based on the same data source of the business model or the method based on the feature similarity of the business model.

其中,样本同一来源是指:不同MEC系统可能拥有不同的模型样本,不同的AI模型样本的数据来源于同一个实体设备。例如一个MEC系统有图像识别模型、另一个MEC系统有语音识别模型,虽然不同MEC系统中模型不同,但是这两个模型的数据来源于同一个实体终端设备。模型特征相似性是指:每个MEC系统拥有不同的模型,但是所有模型中具有相同的特征属性,例如不同MEC系统中都具有来自不同可视终端的图像识别模型,虽然收集的图像/视频样本数据来源不同,但是模型样本具备相同的特征属性。Among them, the same source of samples means that different MEC systems may have different model samples, and the data of different AI model samples come from the same physical device. For example, one MEC system has an image recognition model, and another MEC system has a speech recognition model. Although the models in different MEC systems are different, the data of these two models come from the same physical terminal device. Model feature similarity means that each MEC system has different models, but all models have the same feature attributes. For example, different MEC systems have image recognition models from different visual terminals, although the collected image/video samples The data sources are different, but the model samples have the same feature attributes.

然后,统计在p个MEC系统联邦学习小组中,每个MEC系统在p个MEC系统联邦学习小组中重复个数N,则计算每一个MEC系统的在p个MEC系统小组的权重值为R=N/p,权重值代表MEC系统在p个MEC系统小组重要性,权重值越大,表示MEC系统拥有的模型信息越多,有利用联邦学习模型训练,提升联邦学习效率。Then, count the number N of repetitions of each MEC system in the p MEC system federated learning groups in the p MEC system federated learning groups, then calculate the weight of each MEC system in the p MEC system groups as R= N/p, the weight value represents the importance of the MEC system in p MEC system groups. The larger the weight value is, the more model information the MEC system has, and the federated learning model can be used for training to improve the efficiency of federated learning.

最后,基于以上步骤计算出的MEC系统权重值R,将权重值R由大到小排序,选择权重值R大于0的对应的MEC系统,则权重值R排完序后,对应的MEC系统集合为{MEC1,MEC2……,MECn;n<m},将MEC系统集合定义为可用MEC系统协调方集合,同时也确定了其中包含的MEC系统的优先级,权重值越大,则MEC系统的优先级越大。Finally, based on the weight value R of the MEC system calculated in the above steps, sort the weight value R from large to small, and select the corresponding MEC system whose weight value R is greater than 0. After the weight value R is sorted, the corresponding MEC system set For {MEC 1 , MEC 2 ......, MEC n ; n<m}, the MEC system set is defined as the set of available MEC system coordinators, and the priority of the MEC systems included in it is also determined. The higher the priority of the MEC system.

由前文描述可知,本申请的MEC联邦学习方案可以分为两种情形:其一为确定出MEC系统协调方后MEC系统协调方不发生切换。另一种为确定出MEC系统协调方后MEC系统协调方发生切换,在该情形下还包括:若联邦学习小组中属于可用MEC系统协调方集合的所有MEC系统的资源容量利用率都超过第二预设阈值,则将联邦学习小组中不属于可用MEC系统协调方集合的MEC系统中资源容量利用率最小的MEC系统,确定为MEC系统协调方。接下来将分别对两种情形进行详细说明。As can be seen from the foregoing description, the MEC federated learning scheme of the present application can be divided into two situations: one is that the MEC system coordinator does not switch after the MEC system coordinator is determined. The other is that the MEC system coordinator switches over after the MEC system coordinator is determined. In this case, it also includes: if the resource capacity utilization of all the MEC systems belonging to the set of available MEC system coordinators in the federated learning group exceeds the second With the preset threshold, the MEC system with the smallest resource capacity utilization among the MEC systems in the federated learning group that does not belong to the set of available MEC system coordinators is determined as the MEC system coordinator. Next, the two cases will be described in detail respectively.

如图3所示,MEC系统协调方无发生切换(没有发生切换)的方案可以包括以下几个步骤:As shown in Figure 3, the solution for the MEC system coordinator without handover (no handover) may include the following steps:

1.MEC联邦学习小组中的MEC系统发起联邦学习请求。1. The MEC system in the MEC federated learning group initiates a federated learning request.

2.设MEC系统资源容量利用率的第一预设阈值和第二预设阈值分别为C1和C2,按照可用MEC系统协调方集合的优先级,从联邦学习小组中选择MEC系统。2. Set the first and second preset thresholds of resource capacity utilization of the MEC system as C1 and C2, respectively, and select the MEC system from the federated learning group according to the priority of the set of available MEC system coordinators.

3.判断当前选择的MEC系统资源容量利用率是否超过了第二预设阈值C2。3. Determine whether the resource capacity utilization rate of the currently selected MEC system exceeds the second preset threshold C2.

如果当前选择的MEC系统资源容量利用率超过了第二预设阈值C2,则回到步骤2按照可用MEC系统协调方集合的优先级,再次从联邦学习小组中选择其他MEC系统。If the resource capacity utilization rate of the currently selected MEC system exceeds the second preset threshold C2, then go back to step 2 and select another MEC system from the federated learning group again according to the priority of the available MEC system coordinator set.

如果当前选择的MEC系统未超过第二预设阈值C2,则确定当前选择的MEC系统为MEC系统协调方。If the currently selected MEC system does not exceed the second preset threshold C2, it is determined that the currently selected MEC system is the MEC system coordinator.

4.各个MEC系统参与方将本地计算模型信息加密发送于MEC系统协调方,模型信息包括模型特征、模型参数等信息。4. Each MEC system participant encrypts and sends the local computing model information to the MEC system coordinator, and the model information includes model features, model parameters and other information.

5.在发送模型信息过程中,实时监测MEC系统协调方的资源容量利用率,MEC系统协调方的资源容量利用率一直小于第一预设阈值C1,此时MEC系统协调方没有发生切换。5. In the process of sending model information, the resource capacity utilization rate of the MEC system coordinator is monitored in real time. The resource capacity utilization rate of the MEC system coordinator is always less than the first preset threshold C1, and the MEC system coordinator does not switch.

6.MEC系统协调方将收到的模型信息进行聚合,再将聚合后的模型信息发送各个MEC系统参与方。6. The MEC system coordinator aggregates the received model information, and then sends the aggregated model information to each MEC system participant.

7.各个MEC参与方接收聚合后的模型信息,更新本地的模型信息。7. Each MEC participant receives the aggregated model information and updates the local model information.

如图4所示,MEC系统协调方发生切换,且切换到的新的MEC系统协调方位于可用MEC系统协调方集合的方案,可以包括以下几个步骤:As shown in Figure 4, the solution in which the MEC system coordinator is handed over, and the new MEC system coordinator to which the handover is located is in the set of available MEC system coordinators, may include the following steps:

1.MEC联邦学习小组中的MEC系统发起联邦学习请求。1. The MEC system in the MEC federated learning group initiates a federated learning request.

2.设MEC系统资源容量利用率的第一预设阈值和第二预设阈值分别为C1和C2,按照可用MEC系统协调方集合的优先级,从该联邦学习小组中选择MEC系统。2. Set the first preset threshold value and the second preset threshold value of MEC system resource capacity utilization as C1 and C2 respectively, and select the MEC system from the federated learning group according to the priority of the set of available MEC system coordinators.

3.判断当前选择的MEC系统资源容量利用率是否超过了第二预设阈值C2。3. Determine whether the resource capacity utilization rate of the currently selected MEC system exceeds the second preset threshold C2.

如果当前选择的MEC系统资源容量利用率超过了第二预设阈值C2,则回到步骤2按照可用MEC系统协调方集合的优先级,再次从联邦学习小组中选择MEC系统。If the resource capacity utilization rate of the currently selected MEC system exceeds the second preset threshold C2, go back to step 2 and select the MEC system again from the federated learning group according to the priority of the available MEC system coordinator set.

如果当前选择的MEC系统资源容量利用率未超过第二预设阈值C2,判断MEC系统联邦学习小组中是否包含已有MEC系统协调方。If the resource capacity utilization rate of the currently selected MEC system does not exceed the second preset threshold C2, it is determined whether an existing MEC system coordinator is included in the federated learning group of the MEC system.

进一步地,如果MEC系统联邦学习小组中未包含已有MEC系统协调方,则确定选择的MEC系统为MEC系统协调方。Further, if the MEC system federated learning group does not include an existing MEC system coordinator, the selected MEC system is determined to be the MEC system coordinator.

如果MEC系统联邦学习小组中包含已有MEC系统协调方,则确定选择的MEC系统为MEC系统切换的协调方,由已有MEC系统协调方切换到确定出的MEC系统协调方If the MEC system federated learning group includes an existing MEC system coordinator, the selected MEC system is determined as the MEC system handover coordinator, and the existing MEC system coordinator is switched to the determined MEC system coordinator

4.各个MEC系统参与方将本地计算模型信息加密发送于MEC系统协调方,模型信息包括模型特征、模型参数等信息。4. Each MEC system participant encrypts and sends the local computing model information to the MEC system coordinator, and the model information includes model features, model parameters and other information.

5.在模型信息传输过程中,实时监测MEC系统协调方的资源容量利用率。5. In the process of model information transmission, real-time monitoring of resource capacity utilization of the MEC system coordinator.

6.判断MEC系统协调方的资源容量利用率是否超过第一预设阈值C1。6. Determine whether the resource capacity utilization rate of the MEC system coordinator exceeds the first preset threshold C1.

如果MEC系统协调方的资源容量利用率超过第一预设阈值C1时,则返回2步骤执行。If the resource capacity utilization rate of the MEC system coordinator exceeds the first preset threshold value C1, return to step 2 for execution.

如果MEC系统协调方的资源容量利用率未超过第一预设阈值C1时,MEC系统协调方将收到的模型信息进行聚合,再将聚合后的模型信息发送各个MEC系统参与方。If the resource capacity utilization rate of the MEC system coordinator does not exceed the first preset threshold C1, the MEC system coordinator aggregates the received model information, and then sends the aggregated model information to each MEC system participant.

7.各个MEC参与方接收聚合后的模型信息,更新本地的模型信息。7. Each MEC participant receives the aggregated model information and updates the local model information.

如图5所示,MEC系统协调方发生切换,且切换到的新的MEC系统协调方不位于可用MEC系统协调方集合的方案,可以包括以下几个步骤:As shown in Figure 5, the MEC system coordinator is switched, and the new MEC system coordinator is not located in the set of available MEC system coordinators, which may include the following steps:

1.MEC联邦学习小组中的MEC系统发起联邦学习请求。1. The MEC system in the MEC federated learning group initiates a federated learning request.

2.设MEC系统资源容量利用率的第一预设阈值和第二预设阈值分别为C1和C2,按照可用MEC系统协调方结合的优先级,从该联邦学习小组中选择MEC系统。2. Set the first preset threshold value and the second preset threshold value of MEC system resource capacity utilization as C1 and C2 respectively, and select the MEC system from the federated learning group according to the priority of the available MEC system coordinators.

3.判断当前选择的MEC系统资源容量利用率是否超过了第二预设率阈值C2。3. Determine whether the resource capacity utilization rate of the currently selected MEC system exceeds the second preset rate threshold C2.

如果当前选择的MEC系统资源容量利用率超过了第二预设阈值C2,判断该联邦学习小组中属于预设可用MEC协调方的MEC系统的资源容量利用率是否全部大于C2。If the resource capacity utilization rate of the currently selected MEC system exceeds the second preset threshold C2, it is determined whether the resource capacity utilization rates of the MEC systems belonging to the preset available MEC coordinators in the federated learning group are all greater than C2.

如果该联邦学习小组中上述MEC系统的资源容量利用率全部大于C2,则从可用MEC系统协调集合之外,选择最小资源容量利用率的MEC系统,则执行步骤4判断联邦学习小组中是否包含已有MEC系统协调方。If the resource capacity utilization rate of the above-mentioned MEC systems in the federated learning group is all greater than C2, select the MEC system with the minimum resource capacity utilization rate from the coordination set of available MEC systems, and then execute step 4 to determine whether the federated learning group contains the MEC system with the minimum resource capacity utilization rate. There is a MEC system coordinator.

如果联邦学习小组中上述MEC系统的资源容量利用率没有全部大于C2,则回到步骤2执行,按照可用MEC系统协调方集合的优先级,从该联邦学习小组中再次选择MEC系统。If the resource capacity utilization of the above-mentioned MEC systems in the federated learning group is not all greater than C2, go back to step 2 to execute, and select the MEC system again from the federated learning group according to the priority of the set of available MEC system coordinators.

4.如果当前选择的MEC系统资源容量利用率未超过第二预设阈值C2,判断联邦学习小组中是否包含已有MEC系统协调方。4. If the resource capacity utilization rate of the currently selected MEC system does not exceed the second preset threshold C2, determine whether the federated learning group includes an existing MEC system coordinator.

如果联邦学习小组中未包含已有MEC系统协调方,则确定当前选择的MEC系统为MEC系统协调方。If no existing MEC system coordinator is included in the federated learning group, the currently selected MEC system is determined as the MEC system coordinator.

如果联邦学习小组中包含已有MEC系统协调方,则确定选择的MEC系统为MEC系统切换的协调方,由已有MEC系统协调方切换到当前选择的MEC系统协调方。If the federated learning group includes an existing MEC system coordinator, the selected MEC system is determined as the MEC system switching coordinator, and the existing MEC system coordinator switches to the currently selected MEC system coordinator.

5.各个MEC系统参与方将本地计算模型信息加密发送于MEC系统协调方,模型信息包括模型特征、模型参数等信息。5. Each MEC system participant encrypts and sends the local computing model information to the MEC system coordinator, and the model information includes model features, model parameters and other information.

6.在模型信息传输过程中,实时监测MEC系统协调方的资源容量利用率。6. In the process of model information transmission, monitor the resource capacity utilization of the MEC system coordinator in real time.

7.判断MEC系统协调方的资源容量利用率是否超过第一预设阈值C1。7. Determine whether the resource capacity utilization rate of the MEC system coordinator exceeds the first preset threshold C1.

如果MEC系统协调方的资源容量利用率超过第一预设阈值C1时,则返回步骤2执行,按照可用MEC系统协调方集合的优先级,再次从该联邦学习小组中选择MEC系统。If the resource capacity utilization rate of the MEC system coordinator exceeds the first preset threshold C1, return to step 2 for execution, and select the MEC system again from the federated learning group according to the priority of the set of available MEC system coordinators.

如果MEC系统协调方的资源容量利用率未超过第一预设阈值C1时,MEC系统协调方将收到的模型信息进行聚合,再将聚合后的模型信息发送各个MEC系统参与方。If the resource capacity utilization rate of the MEC system coordinator does not exceed the first preset threshold C1, the MEC system coordinator aggregates the received model information, and then sends the aggregated model information to each MEC system participant.

8.各个MEC参与方接收聚合后的模型信息,更新本地的模型信息。8. Each MEC participant receives the aggregated model information and updates the local model information.

在本申请的一种可选实施例中,从各MEC系统中确定出新的MEC系统协调方并切换至通过新的MEC系统协调方接收各模型信息,包括:In an optional embodiment of the present application, a new MEC system coordinator is determined from each MEC system and switched to receive each model information through the new MEC system coordinator, including:

基于联邦学习小组中各MEC系统的资源容量利用率,从各MEC系统中确定出新的MEC系统协调方;Based on the resource capacity utilization of each MEC system in the federated learning group, determine the new MEC system coordinator from each MEC system;

通过新的MEC系统协调方获取MEC系统协调方已接收的模型信息,并通过新的MEC系统继续接收其他MEC系统的模型信息。Obtain the model information received by the MEC system coordinator through the new MEC system coordinator, and continue to receive model information from other MEC systems through the new MEC system.

其中,当联邦学习小组中的MEC系统发起联邦学习请求时,已确定了MEC系统协调方1,联邦学习小组中其他参与方向MEC系统协调方1传送模型。此时确定需要进行MEC系统协调方的切换,如图6所示,该过程可以包括一下几个步骤:Among them, when the MEC system in the federated learning group initiates a federated learning request, the MEC system coordinator 1 has been determined, and other participants in the federated learning group transmit the model to the MEC system coordinator 1. At this time, it is determined that the handover of the MEC system coordinator needs to be performed, as shown in Figure 6, the process may include the following steps:

1.在模型信息传输过程中,MEC系统协调方1资源容量利用率达到第一预设阈值C1。1. During the model information transmission process, the resource capacity utilization rate of the MEC system coordinator 1 reaches the first preset threshold C1.

2.MEC系统协调方1将通知各个参与方停止发送模型信息。2. The MEC system coordinator 1 will notify each participant to stop sending model information.

3.MEC系统协调方1依据确定MEC系统协调方方法,确定了MEC系统协调方2(即新的MEC系统协调方)。3. The MEC system coordinator 1 determines the MEC system coordinator 2 (ie, the new MEC system coordinator) according to the method for determining the MEC system coordinator.

4.MEC系统协调方1向MEC系统协调方2发送切换请求。4. The MEC system coordinator 1 sends a handover request to the MEC system coordinator 2 .

5.MEC系统协调方2向MEC系统协调方1发送响应,同意切换请求。5. The MEC system coordinator 2 sends a response to the MEC system coordinator 1, agreeing to the handover request.

6.MEC系统协调方1向MEC系统协调方2发送已接受到的模型信息以及本身模型信息。6. The MEC system coordinator 1 sends the received model information and its own model information to the MEC system coordinator 2.

7.MEC系统协调方1将通知各个参与方,此时的协调方已改变。7. The MEC system coordinator 1 will notify each participant that the coordinator has changed at this time.

8.各个参与方向MEC系统切换的协调方2,继续发送模型。8. Each participant goes to the coordinator 2 of the MEC system handover, and continues to send the model.

下面进一步通过两个示例对本申请的方案进行进一步说明,如图7所示,MEC系统协调方无发生切换,MEC系统联邦学习方法可以包括:The solution of the present application is further described below through two examples. As shown in FIG. 7 , the MEC system coordinator does not switch over, and the federated learning method of the MEC system may include:

1.MEC应用程序发起服务请求,检测MEC所在的MEC系统内不存在此服务,将触发联邦学习。1. The MEC application initiates a service request and detects that the service does not exist in the MEC system where the MEC is located, which will trigger federated learning.

2.在已构建好的联邦学习小组中,依据确定MEC系统协调方的方法在MEC系统中确定MEC系统协调方1。2. In the established federated learning group, determine the MEC system coordinator 1 in the MEC system according to the method for determining the MEC system coordinator.

3.MEC系统协调方1向联邦学习小组中的各个参与方发送联邦学习请求。3. The MEC system coordinator 1 sends a federated learning request to each participant in the federated learning group.

4.各个MEC系统的参与方向MEC系统协调方1发送模型信息,模型信息包括模型特征、模型参数等信息。4. The participants of each MEC system send model information to the MEC system coordinator 1, and the model information includes information such as model features and model parameters.

5.MEC系统协调方1聚合各个参与方发送的模型信息。5. The MEC system coordinator 1 aggregates the model information sent by each participant.

6.MEC系统协调方1向各个参与方发送聚合后的模型信息。6. The MEC system coordinator 1 sends the aggregated model information to each participant.

7.各个MEC系统参与方更新本地的模型信息。7. Each MEC system participant updates the local model information.

如图7所示,MEC系统协调方发生切换,MEC系统联邦学习方法可以包括:As shown in Figure 7, the coordinator of the MEC system is switched, and the federated learning method of the MEC system can include:

1.MEC应用程序发起服务请求,检测MEC所在的MEC系统内不存在此服务,将触发联邦学习。1. The MEC application initiates a service request and detects that the service does not exist in the MEC system where the MEC is located, which will trigger federated learning.

2.在已构建好的联邦学习小组中,依据确定MEC系统协调方在MEC系统中确定MEC系统协调方1。2. In the established federated learning group, determine the MEC system coordinator 1 in the MEC system based on determining the MEC system coordinator.

3.MEC系统协调方1向联邦学习小组中的各个参与方发送联邦学习请求。3. The MEC system coordinator 1 sends a federated learning request to each participant in the federated learning group.

4.各个MEC系统参与方向MEC系统协调方1发送模型信息,模型信息包括模型类型、模型参数信息。4. Each MEC system participant sends model information to the MEC system coordinator 1, where the model information includes model type and model parameter information.

5.在模型信息发送过程中,发生MEC系统协调方的切换,依据确定MEC系统协调方中的方法二,确定了MEC系统协调方2。5. During the model information sending process, the handover of the MEC system coordinator occurs, and the MEC system coordinator 2 is determined according to the method 2 in determining the MEC system coordinator.

6.依据MEC系统协调方切换方法,MEC系统协调方将由MEC系统协调方1切换到了MEC系统协调方2。6. According to the switching method of the MEC system coordinator, the MEC system coordinator switches from the MEC system coordinator 1 to the MEC system coordinator 2.

7.各个MEC系统参与方向MEC系统协调方2发送模型信息,模型信息包括模型类型、模型参数信息。7. Each MEC system participant sends model information to the MEC system coordinator 2, where the model information includes model type and model parameter information.

8.MEC系统协调方2聚合收到的模型信息。8. The MEC system coordinator 2 aggregates the received model information.

9.MEC系统协调方2向各个MEC系统参与方发送聚合后的模型信息。9. The MEC system coordinator 2 sends the aggregated model information to each MEC system participant.

10.各个MEC参与方更新本地的模型信息。10. Each MEC participant updates the local model information.

图9为本申请实施例提供的一种MEC联邦学习装置的结构示意图,如图9所示,该装置900可以包括:MEC系统协调方确定模块901、模型信息接收模块902、第一模型信息聚合模块903以及第二模型信息聚合模块904,其中:FIG. 9 is a schematic structural diagram of an MEC federated learning apparatus provided by an embodiment of the present application. As shown in FIG. 9 , the apparatus 900 may include: a MEC system coordinator determining module 901 , a model information receiving module 902 , and a first model information aggregation Module 903 and second model information aggregation module 904, wherein:

MEC系统协调方确定模块901用于当任一联邦学习小组中任一多接入边缘计算MEC系统发出联邦学习请求时,基于联邦学习小组中各MEC系统的资源容量利用率,从各MEC系统中确定出MEC系统协调方;The MEC system coordinator determination module 901 is configured to, when any multi-access edge computing MEC system in any federated learning group sends a federated learning request, based on the resource capacity utilization rate of each MEC system in the federated learning group, from each MEC system Determine the MEC system coordinator;

模型信息接收模块902用于通过MEC系统协调方接收联邦学习小组中其他MEC系统发送的模型信息,并在接收过程中实时获取MEC系统协调方的资源容量利用率;The model information receiving module 902 is configured to receive model information sent by other MEC systems in the federated learning group through the MEC system coordinator, and obtain the resource capacity utilization rate of the MEC system coordinator in real time during the receiving process;

第一模型信息聚合模块083用于若在接收过程中MEC系统协调方的资源容量利用率不超过预设阈值,则通过MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至联邦学习小组中各MEC系统;The first model information aggregation module 083 is configured to, if the resource capacity utilization rate of the MEC system coordinator does not exceed the preset threshold during the receiving process, after the MEC system coordinator aggregates each model information, the aggregated model information is divided into two parts. Sent to each MEC system in the federated learning group;

第二模型信息聚合模块904用于若在接收过程中MEC系统协调方的资源容量利用率超过预设阈值,则从各MEC系统中确定出新的MEC系统协调方并切换至通过新的MEC系统协调方接收各模型信息,重复新的MEC系统协调方确定和切换直至新的MEC系统协调方在接收过程中资源容量利用率不超过预设阈值,则通过新的MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至联邦学习小组中各MEC系统。The second model information aggregation module 904 is configured to determine a new MEC system coordinator from each MEC system and switch to the new MEC system if the resource capacity utilization rate of the MEC system coordinator exceeds a preset threshold during the receiving process The coordinator receives the information of each model, and repeats the determination and switching of the new MEC system coordinator until the resource capacity utilization rate of the new MEC system coordinator does not exceed the preset threshold during the receiving process, then the new MEC system coordinator checks the information of each model through the new MEC system coordinator. After aggregation, the aggregated model information is sent to each MEC system in the federated learning group.

本申请提供的方案,通过基于发起联邦学习请求小组中各MEC系统的资源容量利用率确定出MEC系统协调方,并在后续通过MEC系统协调方接收其他MEC系统的模型信息过程中,实时获取接收过程中MEC系统协调方的资源容量利用率,并再次基于资源容量利用率确定是否要进行MEC系统协调方的切换。该方案实现了MEC联邦学习,并在MEC系统协调方确认过程中考虑了资源容量利用率,保证了MEC系统协调方的性能,实现了MEC系统联邦学习小组内MEC系统的资源容量使用均衡。In the solution provided by this application, the MEC system coordinator is determined based on the resource capacity utilization of each MEC system in the group that initiates the federated learning request, and in the subsequent process of receiving the model information of other MEC systems through the MEC system coordinator, real-time acquisition and reception In the process, the resource capacity utilization rate of the MEC system coordinator is determined, and again based on the resource capacity utilization rate, it is determined whether to switch the MEC system coordinator. This solution realizes the MEC federated learning, and considers the resource capacity utilization in the process of confirming the MEC system coordinator, which ensures the performance of the MEC system coordinator, and realizes the balanced use of resource capacity of the MEC system within the MEC system federated learning group.

在本申请的一种可选实施例中,MEC系统协调方确定模块具体用于:In an optional embodiment of the present application, the MEC system coordinator determination module is specifically used for:

获取预设可用MEC系统协调方集合,预设可用MEC系统协调方集合中各MEC系统携带对应的优先级;Obtain the preset available MEC system coordinator set, and each MEC system in the preset available MEC system coordinator set carries the corresponding priority;

将联邦学习小组中属于可用MEC系统协调方集合的MEC系统中,资源容量利用率不超过预设阈值且优先级最高的MEC系统,确定为MEC系统协调方。Among the MEC systems in the federated learning group that belong to the set of available MEC system coordinators, the MEC system whose resource capacity utilization does not exceed the preset threshold and has the highest priority is determined as the MEC system coordinator.

在本申请的一种可选实施例中,在本申请的一种可选实施例中,MEC系统协调方确定模块进一步用于:In an optional embodiment of the present application, in an optional embodiment of the present application, the MEC system coordinator determination module is further configured to:

若联邦学习小组中属于可用MEC系统协调方集合的所有MEC系统的资源容量利用率都超过预设阈值,则将联邦学习小组中不属于可用MEC系统协调方集合的MEC系统中资源容量利用率最小的MEC系统,确定为MEC系统协调方。If the resource capacity utilization of all MEC systems belonging to the set of available MEC system coordinators in the federated learning group exceeds the preset threshold, the resource capacity utilization rate of the MEC systems that do not belong to the set of available MEC system coordinators in the federated learning group will be the smallest. The MEC system is determined as the MEC system coordinator.

在本申请的一种可选实施例中,在本申请的一种可选实施例中,MEC系统协调方确定模块进一步用于:In an optional embodiment of the present application, in an optional embodiment of the present application, the MEC system coordinator determination module is further configured to:

从预设数量的MEC系统中,获取多个的联邦学习小组;Obtain multiple federated learning groups from a preset number of MEC systems;

将出现在任一联邦学习小组中的MEC系统,确定为可用MEC协调方集合的元素,构建可用MEC协调方集合,且MEC协调方集合中各MEC系统的优先级与其在各联邦学习小组中重复出现的次数成正比。The MEC systems that appear in any federated learning group are identified as elements of the set of available MEC coordinators, and the set of available MEC coordinators is constructed, and the priority of each MEC system in the set of MEC coordinators is repeated in each federated learning group. is proportional to the number of times.

在本申请的一种可选实施例中,在本申请的一种可选实施例中,MEC系统协调方确定模块进一步用于:In an optional embodiment of the present application, in an optional embodiment of the present application, the MEC system coordinator determination module is further configured to:

将各MEC系统中数据来源相同的MEC系统确定为一个联邦学习小组;和/或,Identify MEC systems with the same data source among MEC systems as a federated learning group; and/or,

将各MEC系统中模型特征相似度满足预设条件的MEC系统确定为一个联邦学习小组。The MEC system whose model feature similarity in each MEC system meets the preset conditions is determined as a federated learning group.

在本申请的一种可选实施例中,模型信息接收模块具体用于:In an optional embodiment of the present application, the model information receiving module is specifically used for:

确定联邦学习小组中是否包含已有MEC系统协调方;Determine whether an existing MEC system coordinator is included in the federated learning group;

若不包含,则直接通过MEC系统协调方接收联邦学习小组中其他MEC系统发送的模型信息;If not included, directly receive model information sent by other MEC systems in the federated learning group through the MEC system coordinator;

若包含,则通过MEC系统协调方获取已有MEC系统协调方已接收的模型信息,并通过MEC系统继续接收其他MEC系统的模型信息。If it is included, the model information received by the existing MEC system coordinator is obtained through the MEC system coordinator, and the model information of other MEC systems is continuously received through the MEC system.

在本申请的一种可选实施例中,第二模型信息聚合模块具体用于:In an optional embodiment of the present application, the second model information aggregation module is specifically used for:

基于联邦学习小组中各MEC系统的资源容量利用率,从各MEC系统中确定出新的MEC系统协调方;Based on the resource capacity utilization of each MEC system in the federated learning group, determine the new MEC system coordinator from each MEC system;

通过新的MEC系统协调方获取MEC系统协调方已接收的模型信息,并通过新的MEC系统继续接收其他MEC系统的模型信息。Obtain the model information received by the MEC system coordinator through the new MEC system coordinator, and continue to receive model information from other MEC systems through the new MEC system.

下面参考图10,其示出了适于用来实现本申请实施例的电子设备(例如执行图1所示方法的终端设备或服务器)1000的结构示意图。本申请实施例中的电子设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)、可穿戴设备等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图10示出的电子设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Referring next to FIG. 10 , it shows a schematic structural diagram of an electronic device (eg, a terminal device or a server that executes the method shown in FIG. 1 ) 1000 suitable for implementing an embodiment of the present application. The electronic devices in the embodiments of the present application may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), in-vehicle terminals (such as mobile terminals such as in-vehicle navigation terminals), wearable devices, etc., and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in FIG. 10 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present application.

电子设备包括:存储器以及处理器,存储器用于存储执行上述各个方法实施例所述方法的程序;处理器被配置为执行存储器中存储的程序。其中,这里的处理器可以称为下文所述的处理装置1001,存储器可以包括下文中的只读存储器(ROM)1002、随机访问存储器(RAM)1003以及存储装置1008中的至少一项,具体如下所示:The electronic device includes: a memory and a processor, where the memory is used to store a program for executing the methods described in the above method embodiments; the processor is configured to execute the program stored in the memory. The processor here may be referred to as the processing device 1001 described below, and the memory may include at least one of a read-only memory (ROM) 1002, a random access memory (RAM) 1003, and a storage device 1008 described below, and the details are as follows shown:

如图10所示,电子设备1000可以包括处理装置(例如中央处理器、图形处理器等)1001,其可以根据存储在只读存储器(ROM)1002中的程序或者从存储装置1008加载到随机访问存储器(RAM)1003中的程序而执行各种适当的动作和处理。在RAM1003中,还存储有电子设备1000操作所需的各种程序和数据。处理装置1001、ROM 1002以及RAM1003通过总线1004彼此相连。输入/输出(I/O)接口1005也连接至总线1004。As shown in FIG. 10, an electronic device 1000 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 1001, which may be loaded into random access according to a program stored in a read only memory (ROM) 1002 or from a storage device 1008 Various appropriate operations and processes are executed by the programs in the memory (RAM) 1003 . In the RAM 1003, various programs and data necessary for the operation of the electronic device 1000 are also stored. The processing device 1001 , the ROM 1002 , and the RAM 1003 are connected to each other through a bus 1004 . An input/output (I/O) interface 1005 is also connected to the bus 1004 .

通常,以下装置可以连接至I/O接口1005:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置1006;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置1007;包括例如磁带、硬盘等的存储装置1008;以及通信装置1009。通信装置1009可以允许电子设备1000与其他设备进行无线或有线通信以交换数据。虽然图10示出了具有各种装置的电子设备,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices can be connected to the I/O interface 1005: input devices 1006 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 1007 such as a computer; a storage device 1008 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009 . The communication means 1009 may allow the electronic device 1000 to communicate wirelessly or by wire with other devices to exchange data. While FIG. 10 illustrates an electronic device having various means, it should be understood that not all of the illustrated means are required to be implemented or available. More or fewer devices may alternatively be implemented or provided.

特别地,根据本申请的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置1009从网络上被下载和安装,或者从存储装置1008被安装,或者从ROM 1002被安装。在该计算机程序被处理装置1001执行时,执行本申请实施例的方法中限定的上述功能。In particular, according to embodiments of the present application, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the communication device 1009 , or from the storage device 1008 , or from the ROM 1002 . When the computer program is executed by the processing apparatus 1001, the above-mentioned functions defined in the methods of the embodiments of the present application are executed.

需要说明的是,本申请上述的计算机可读存储介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that, the computer-readable storage medium mentioned above in the present application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this application, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.

在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText TransferProtocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and server can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium (eg, a communications network) interconnected. Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.

上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.

上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device:

当任一联邦学习小组中任一多接入边缘计算MEC系统发出联邦学习请求时,基于联邦学习小组中各MEC系统的资源容量利用率,从各MEC系统中确定出MEC系统协调方;通过MEC系统协调方接收联邦学习小组中其他MEC系统发送的模型信息,并在接收过程中实时获取MEC系统协调方的资源容量利用率;若在接收过程中MEC系统协调方的资源容量利用率不超过预设阈值,则通过MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至联邦学习小组中各MEC系统;若在接收过程中MEC系统协调方的资源容量利用率超过预设阈值,则从各MEC系统中确定出新的MEC系统协调方并切换至通过新的MEC系统协调方接收各模型信息,重复新的MEC系统协调方确定和切换直至新的MEC系统协调方在接收过程中资源容量利用率不超过预设阈值,则通过新的MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至联邦学习小组中各MEC系统。When any multi-access edge computing MEC system in any federated learning group issues a federated learning request, based on the resource capacity utilization of each MEC system in the federated learning group, the MEC system coordinator is determined from each MEC system; The system coordinator receives the model information sent by other MEC systems in the federated learning group, and obtains the resource capacity utilization rate of the MEC system coordinator in real time during the receiving process; if the resource capacity utilization rate of the MEC system coordinator during the receiving process does not exceed the expected Set the threshold, after the information of each model is aggregated by the MEC system coordinator, the aggregated model information is sent to each MEC system in the federated learning group; if the resource capacity utilization rate of the MEC system coordinator exceeds the predetermined value during the receiving process. Set the threshold, determine the new MEC system coordinator from each MEC system and switch to receive each model information through the new MEC system coordinator, repeat the determination and switching of the new MEC system coordinator until the new MEC system coordinator is in During the receiving process, if the resource capacity utilization does not exceed the preset threshold, the new MEC system coordinator aggregates the model information, and then sends the aggregated model information to each MEC system in the federated learning group.

可以以一种或多种程序设计语言或其组合来编写用于执行本申请的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present application may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).

附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.

描述于本申请实施例中所涉及到的模块或单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块或单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一程序切换模块还可以被描述为“切换第一程序的模块”。The modules or units involved in the embodiments of the present application may be implemented in a software manner, and may also be implemented in a hardware manner. Wherein, the name of the module or unit does not constitute a limitation of the unit itself under certain circumstances, for example, the first program switching module may also be described as "a module for switching the first program".

本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical Devices (CPLDs) and more.

在本申请的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of this application, a machine-readable medium may be a tangible medium that may contain or store the program for use by or in connection with the instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的计算机可读介质被电子设备执行时实现的具体方法,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific method implemented when the computer-readable medium described above is executed by an electronic device, reference may be made to the corresponding process in the foregoing method embodiment, which is not repeated here. Repeat.

本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行时实现如下情况:Embodiments of the present application provide a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that when the computer device executes, the following conditions are realized:

当任一联邦学习小组中任一多接入边缘计算MEC系统发出联邦学习请求时,基于联邦学习小组中各MEC系统的资源容量利用率,从各MEC系统中确定出MEC系统协调方;通过MEC系统协调方接收联邦学习小组中其他MEC系统发送的模型信息,并在接收过程中实时获取MEC系统协调方的资源容量利用率;若在接收过程中MEC系统协调方的资源容量利用率不超过预设阈值,则通过MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至联邦学习小组中各MEC系统;若在接收过程中MEC系统协调方的资源容量利用率超过预设阈值,则从各MEC系统中确定出新的MEC系统协调方并切换至通过新的MEC系统协调方接收各模型信息,重复新的MEC系统协调方确定和切换直至新的MEC系统协调方在接收过程中资源容量利用率不超过预设阈值,则通过新的MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至联邦学习小组中各MEC系统。When any multi-access edge computing MEC system in any federated learning group issues a federated learning request, based on the resource capacity utilization of each MEC system in the federated learning group, the MEC system coordinator is determined from each MEC system; The system coordinator receives the model information sent by other MEC systems in the federated learning group, and obtains the resource capacity utilization rate of the MEC system coordinator in real time during the receiving process; if the resource capacity utilization rate of the MEC system coordinator during the receiving process does not exceed the expected Set the threshold, after the information of each model is aggregated by the MEC system coordinator, the aggregated model information is sent to each MEC system in the federated learning group; if the resource capacity utilization rate of the MEC system coordinator exceeds the predetermined value during the receiving process. Set the threshold, determine the new MEC system coordinator from each MEC system and switch to receive each model information through the new MEC system coordinator, repeat the determination and switching of the new MEC system coordinator until the new MEC system coordinator is in During the receiving process, if the resource capacity utilization does not exceed the preset threshold, the new MEC system coordinator aggregates the model information, and then sends the aggregated model information to each MEC system in the federated learning group.

以上所述仅是本发明的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above are only some embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, several improvements and modifications can be made. It should be regarded as the protection scope of the present invention.

Claims (10)

1.一种MEC联邦学习方法,其特征在于,包括:1. A MEC federated learning method, characterized in that, comprising: 当任一联邦学习小组中任一多接入边缘计算MEC系统发出联邦学习请求时,基于所述联邦学习小组中各MEC系统的资源容量利用率,从各MEC系统中确定出MEC系统协调方;When any multi-access edge computing MEC system in any federated learning group sends a federated learning request, the MEC system coordinator is determined from each MEC system based on the resource capacity utilization of each MEC system in the federated learning group; 通过所述MEC系统协调方接收所述联邦学习小组中其他MEC系统发送的模型信息,并在接收过程中实时获取所述MEC系统协调方的资源容量利用率;Receive model information sent by other MEC systems in the federated learning group through the MEC system coordinator, and obtain the resource capacity utilization rate of the MEC system coordinator in real time during the receiving process; 若在所述接收过程中所述MEC系统协调方的资源容量利用率不超过第一预设阈值,则通过所述MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至所述联邦学习小组中各MEC系统;If the resource capacity utilization rate of the MEC system coordinator does not exceed the first preset threshold during the receiving process, after the MEC system coordinator aggregates the model information, the aggregated model information is sent separately to each MEC system in the federated learning group; 若在所述接收过程中所述MEC系统协调方的资源容量利用率超过所述第一预设阈值,则从各MEC系统中确定出新的MEC系统协调方并切换至新的MEC系统协调方接收各模型信息,重复新的MEC系统协调方确定和切换直至新的MEC系统协调方在接收过程中资源容量利用率不超过所述第一预设阈值,则通过所述新的MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至所述联邦学习小组中各MEC系统。If the resource capacity utilization rate of the MEC system coordinator exceeds the first preset threshold during the receiving process, a new MEC system coordinator is determined from each MEC system and switched to the new MEC system coordinator Receive each model information, repeat the determination and handover of the new MEC system coordinator until the resource capacity utilization rate of the new MEC system coordinator does not exceed the first preset threshold during the receiving process, then the new MEC system coordinator After each model information is aggregated, the aggregated model information is respectively sent to each MEC system in the federated learning group. 2.根据权利要求1所述的方法,其特征在于,所述基于所述联邦学习小组中各MEC系统的资源容量利用率,从各MEC系统中确定出MEC系统协调方,包括:2. The method according to claim 1, wherein, determining the MEC system coordinator from each MEC system based on the resource capacity utilization rate of each MEC system in the federated learning group, comprising: 获取预设可用MEC系统协调方集合,所述预设可用MEC系统协调方集合中各MEC系统携带对应的优先级;Obtain a preset available MEC system coordinator set, where each MEC system in the preset available MEC system coordinator set carries a corresponding priority; 将所述联邦学习小组中属于所述可用MEC系统协调方集合的MEC系统中,资源容量利用率不超过第二预设阈值且优先级最高的MEC系统,确定为所述MEC系统协调方,所述第二预设阈值不大于所述第一预设阈值。Among the MEC systems in the federated learning group that belong to the set of available MEC system coordinators, the resource capacity utilization rate does not exceed the second preset threshold and the MEC system with the highest priority is determined as the MEC system coordinator, so The second preset threshold is not greater than the first preset threshold. 3.根据权利要求2所述的方法,其特征在于,所述方法还包括:3. The method according to claim 2, wherein the method further comprises: 若所述联邦学习小组中属于所述可用MEC系统协调方集合的所有MEC系统的资源容量利用率都超过所述第二预设阈值,则将所述联邦学习小组中不属于所述可用MEC系统协调方集合的MEC系统中资源容量利用率最小的MEC系统,确定为所述MEC系统协调方。If the resource capacity utilization of all the MEC systems belonging to the available MEC system coordinator set in the federated learning group exceeds the second preset threshold, the federated learning group does not belong to the available MEC systems The MEC system with the smallest resource capacity utilization rate among the MEC systems in the set of coordinators is determined as the MEC system coordinator. 4.根据权利要求2所述的方法,其特征在于,所述获取预设可用MEC系统协调方集合,包括:4. The method according to claim 2, wherein the acquiring a preset available MEC system coordinator set comprises: 从预设数量的MEC系统中,获取多个的联邦学习小组;Obtain multiple federated learning groups from a preset number of MEC systems; 将出现在任一联邦学习小组中的MEC系统,确定为所述可用MEC协调方集合的元素,构建所述可用MEC协调方集合,且所述MEC协调方集合中各MEC系统的优先级与其在各联邦学习小组中重复出现的次数成正比。The MEC systems that appear in any federated learning group are determined as elements of the set of available MEC coordinators, and the set of available MEC coordinators is constructed, and the priority of each MEC system in the set of MEC coordinators is the same as that of each MEC coordinator set. The number of repetitions in the federated learning group is proportional. 5.根据权利要求4所述的方法,其特征在于,所述从预设数量的MEC系统中,获取多个的联邦学习小组,包括:5. The method according to claim 4, wherein, obtaining a plurality of federated learning groups from a preset number of MEC systems, comprising: 将各MEC系统中数据来源相同的MEC系统确定为一个联邦学习小组;和/或,Identify MEC systems with the same data source among MEC systems as a federated learning group; and/or, 将各MEC系统中模型特征相似度满足预设条件的MEC系统确定为一个联邦学习小组。The MEC system whose model feature similarity in each MEC system meets the preset conditions is determined as a federated learning group. 6.根据权利要求1所述的方法,其特征在于,所述通过所述MEC系统协调方接收所述联邦学习小组中其他MEC系统发送的模型信息,包括:6. The method according to claim 1, wherein the receiving, through the MEC system coordinator, model information sent by other MEC systems in the federated learning group, comprises: 确定所述联邦学习小组中是否包含已有MEC系统协调方;determining whether the federated learning group includes an existing MEC system coordinator; 若不包含,则直接通过所述MEC系统协调方接收所述联邦学习小组中其他MEC系统发送的模型信息;If not included, directly receive the model information sent by other MEC systems in the federated learning group through the MEC system coordinator; 若包含,则通过所述MEC系统协调方获取所述已有MEC系统协调方已接收的模型信息,并通过所述MEC系统继续接收其他MEC系统的模型信息。If it is included, the MEC system coordinator obtains the model information that has been received by the existing MEC system coordinator, and continues to receive model information of other MEC systems through the MEC system. 7.根据权利要求1所述的方法,其特征在于,所述从各MEC系统中确定出新的MEC系统协调方并切换至新的MEC系统协调方接收各模型信息,包括:7. method according to claim 1, is characterized in that, described from each MEC system, determine new MEC system coordinator and switch to new MEC system coordinator to receive each model information, comprising: 基于所述联邦学习小组中各MEC系统的资源容量利用率,从各MEC系统中确定出所述新的MEC系统协调方;determining the new MEC system coordinator from each MEC system based on the resource capacity utilization of each MEC system in the federated learning group; 通过所述新的MEC系统协调方获取所述MEC系统协调方已接收的模型信息,并通过所述新的MEC系统继续接收其他MEC系统的模型信息。The model information received by the MEC system coordinator is acquired through the new MEC system coordinator, and the model information of other MEC systems is continuously received through the new MEC system. 8.一种MEC联邦学习装置,其特征在于,包括:8. A MEC federated learning device, comprising: MEC系统协调方确定模块,用于当任一联邦学习小组中任一多接入边缘计算MEC系统发出联邦学习请求时,基于所述联邦学习小组中各MEC系统的资源容量利用率,从各MEC系统中确定出MEC系统协调方;The MEC system coordinator determines the module, which is used for, when a federated learning request is sent by any multi-access edge computing MEC system in any federated learning group, based on the resource capacity utilization of each MEC system in the federated learning group, from each MEC system The MEC system coordinator is determined in the system; 模型信息接收模块,用于通过所述MEC系统协调方接收所述联邦学习小组中其他MEC系统发送的模型信息,并在接收过程中实时获取所述MEC系统协调方的资源容量利用率;a model information receiving module, configured to receive model information sent by other MEC systems in the federated learning group through the MEC system coordinator, and obtain the resource capacity utilization rate of the MEC system coordinator in real time during the receiving process; 第一模型信息聚合模块,用于若在所述接收过程中所述MEC系统协调方的资源容量利用率不超过第一预设阈值,则通过所述MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至所述联邦学习小组中各MEC系统;A first model information aggregation module, configured to aggregate each model information through the MEC system coordinator if the resource capacity utilization rate of the MEC system coordinator does not exceed a first preset threshold during the receiving process. , send the aggregated model information to each MEC system in the federated learning group; 第二模型信息聚合模块,用于若在所述接收过程中所述MEC系统协调方的资源容量利用率超过所述第一预设阈值,则从各MEC系统中确定出新的MEC系统协调方并切换至新的MEC系统协调方接收各模型信息,重复新的MEC系统协调方确定和切换直至新的MEC系统协调方在接收过程中资源容量利用率不超过所述第一预设阈值,则通过所述新的MEC系统协调方对各模型信息进行聚合后,将聚合后的模型信息分别发送至所述联邦学习小组中各MEC系统。A second model information aggregation module, configured to determine a new MEC system coordinator from each MEC system if the resource capacity utilization rate of the MEC system coordinator exceeds the first preset threshold during the receiving process And switch to the new MEC system coordinator to receive each model information, repeat the determination and switching of the new MEC system coordinator until the resource capacity utilization rate of the new MEC system coordinator does not exceed the first preset threshold during the receiving process, then After the model information is aggregated by the new MEC system coordinator, the aggregated model information is respectively sent to each MEC system in the federated learning group. 9.一种电子设备,其特征在于,包括存储器和处理器;9. An electronic device, comprising a memory and a processor; 所述存储器中存储有计算机程序;A computer program is stored in the memory; 所述处理器,用于执行所述计算机程序以实现权利要求1至7中任一项所述的方法。The processor for executing the computer program to implement the method of any one of claims 1 to 7. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的方法。10. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented .
CN202210331863.1A 2022-03-30 2022-03-30 MEC federated learning method, device and computer-readable storage medium Pending CN114692898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210331863.1A CN114692898A (en) 2022-03-30 2022-03-30 MEC federated learning method, device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210331863.1A CN114692898A (en) 2022-03-30 2022-03-30 MEC federated learning method, device and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN114692898A true CN114692898A (en) 2022-07-01

Family

ID=82140421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210331863.1A Pending CN114692898A (en) 2022-03-30 2022-03-30 MEC federated learning method, device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN114692898A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460053A (en) * 2022-07-28 2022-12-09 山东浪潮科学研究院有限公司 Service calling method, device and edge computing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110610242A (en) * 2019-09-02 2019-12-24 深圳前海微众银行股份有限公司 Method and device for setting participant weights in federated learning
CN111784002A (en) * 2020-09-07 2020-10-16 腾讯科技(深圳)有限公司 Distributed data processing method, device, computer equipment and storage medium
CN113010305A (en) * 2021-02-08 2021-06-22 北京邮电大学 Federal learning system deployed in edge computing network and learning method thereof
WO2021219054A1 (en) * 2020-04-29 2021-11-04 深圳前海微众银行股份有限公司 Transverse federated learning system optimization method, apparatus and device, and readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110610242A (en) * 2019-09-02 2019-12-24 深圳前海微众银行股份有限公司 Method and device for setting participant weights in federated learning
WO2021219054A1 (en) * 2020-04-29 2021-11-04 深圳前海微众银行股份有限公司 Transverse federated learning system optimization method, apparatus and device, and readable storage medium
CN111784002A (en) * 2020-09-07 2020-10-16 腾讯科技(深圳)有限公司 Distributed data processing method, device, computer equipment and storage medium
CN113010305A (en) * 2021-02-08 2021-06-22 北京邮电大学 Federal learning system deployed in edge computing network and learning method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
莫慧凌等: "基于Tucker 分解的多源异构数据融合算法", 《计算机研究与发展》, 23 March 2021 (2021-03-23), pages 1 - 13 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460053A (en) * 2022-07-28 2022-12-09 山东浪潮科学研究院有限公司 Service calling method, device and edge computing system
CN115460053B (en) * 2022-07-28 2023-06-27 山东浪潮科学研究院有限公司 Service calling method, device and edge computing system

Similar Documents

Publication Publication Date Title
CN112152926A (en) A method and apparatus for managing network slices of applications
CN110390493B (en) Task management method and device, storage medium and electronic equipment
CN110795446A (en) List updating method and device, readable medium and electronic equipment
CN114625597A (en) Monitoring operation and maintenance system, method, device, electronic device and storage medium
CN110430068A (en) A kind of Feature Engineering method of combination and device
CN111371648A (en) Method and device for monitoring global fault of virtual gateway cluster
CN111240834A (en) Task execution method, apparatus, electronic device and storage medium
CN114911385A (en) Secure multiple app sharing during remote sessions
CN112907942A (en) Vehicle scheduling method, device, equipment and medium based on edge calculation
CN114692898A (en) MEC federated learning method, device and computer-readable storage medium
CN112152879B (en) Network quality determination method, device, electronic equipment and readable storage medium
CN114035861B (en) Cluster configuration method, device, electronic device and computer readable medium
WO2023273532A1 (en) Service management method and apparatus, server, and computer storage medium
CN113807056B (en) A document name serial number error correction method, device and equipment
CN112910855B (en) Sample message processing method and device
CN113238808B (en) Message pushing method and device
CN109614137B (en) Software version control method, device, equipment and medium
CN116432727A (en) Image processing method and device, electronic equipment and storage medium
CN111970338A (en) Request processing method and device based on cloud function and computer readable medium
CN112749204A (en) Method and device for reading data
CN114374738B (en) Information pushing method and device, storage medium and electronic equipment
CN111338882A (en) Data monitoring method, device, medium and electronic equipment
CN113568936B (en) Real-time stream data storage method, device and terminal equipment
WO2024012306A1 (en) Method and apparatus for determining neural network model structure, device, medium, and product
CN116700956B (en) Request processing method, apparatus, electronic device and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination