Federal learning system and federal learning training method for smart city Internet of Things belief fusion

A learning system, learning and training technology, applied in machine learning, transmission systems, advanced technologies, etc., can solve problems such as client offset, unstable convergence process, local model deviation from global model, etc., to protect data privacy, improve model Effects of Convergence Performance

Pending Publication Date: 2022-06-03
EAST CHINA NORMAL UNIV
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In addition, in the actual scenario of the Internet of Things in a smart city, the local data of each participating device is often non-independent and identically distributed (Non-IID) and unbalanced, because the performance of different devices is different, and the scenarios they are in are also different. The collected data will have a large

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Federal learning system and federal learning training method for smart city Internet of Things belief fusion
  • Federal learning system and federal learning training method for smart city Internet of Things belief fusion
  • Federal learning system and federal learning training method for smart city Internet of Things belief fusion

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0079] The present invention proposes a method for implementing a federated learning system oriented to the fusion of IoT and IoT in a smart city. The following is its code implementation part (interception is important):

[0080] As shown in Listing 1, this part includes the code implementation for the device to communicate with the server:

[0081]

[0082]

[0083]

[0084]

[0085]

[0086]

[0087]

[0088]

[0089]

[0090] Code 1 describes the process of communication between the server and the device. The server uses Flask to start the device registration service at startup and waits for the device to send a request. When the device is started, it sends a request to the server. After the server responds to the request, it registers the device information and assigns a number to the device, and subscribes to the corresponding MQTT topic according to the device number to establish a connection channel with the device. At the same time, the trai...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a federated learning system oriented to belief fusion of the Internet of Things of a smart city. The federated learning system comprises an equipment end and a server end, the equipment end comprises an MQTT, a training thread and a heartbeat sending thread; the server comprises an MQTT, a model aggregation thread, a task scheduling thread and a heartbeat monitoring thread. The invention also provides a federated learning training method based on the federated learning system, and the method comprises the steps: the server initializes a global model, selects a certain proportion of equipment in a communication round, and sends the global model to the selected equipment; after the equipment receives the message, the model is trained and updated; the updated model is uploaded to the server again and aggregated, a new global model is obtained, and the next communication round is entered; and after the preset number of communication rounds is completed, the device receives the latest global model issued by the server and stores the latest global model for subsequent use. The method has certain equipment expandability, robustness and high efficiency.

Description

technical field [0001] The invention belongs to the technical field of Internet of Things communication technology, deep learning algorithm, federated learning algorithm and information fusion technology in the Internet of Things scenario, and relates to the use of Internet of Things communication technology to realize the interconnection of multiple device clients and servers, and to build a communication interface for federated learning model transmission. , to carry out federated learning with the participation of multi-party devices in the smart city IoT scenario, and to realize the federated learning system and federated learning training method of the integration of trust and matter. Background technique [0002] With the advancement of mobile technology, edge devices such as the Internet of Things and smart mobile phones have achieved rapid development and become an indispensable part of modern life. These devices have certain computing and communication capabilities ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L67/12G06N20/00H04L67/01H04L67/02H04L43/10H04L43/0805G16Y10/75G16Y40/10
CPCH04L67/12G06N20/00H04L69/26H04L67/02H04L43/10H04L43/0805G16Y10/75G16Y40/10Y02D30/50
Inventor 陈铭松张帆李一鸣裴秋旭
Owner EAST CHINA NORMAL UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products