Font Size: a A A

Design And Implementation Of Industrial Internet Gateway Based On Microservice Architecture

Posted on:2021-01-29Degree:MasterType:Thesis
Country:ChinaCandidate:X SongFull Text:PDF
GTID:2428330614971215Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
With the rapid development of the Industrial Internet,the number of sensors deployed in the industrial environment is increasing,and the scale of the Industrial Internet is constantly expanding,but there are still many problems: 1)The increase in the number of sensors has caused the amount of data in the Industrial Internet to grow at an explosive rate;2)Sensors are heterogeneous,use different communication protocols,and have different data analysis methods,making it difficult to process with a unified framework;3)Industrial Internet applications are latency-sensitive applications,and traditional cloud computing processing delays increase dramatically when massive amounts of data occupy too much bandwidth.In order to solve the above problems,this paper combines the advantages of edge computing with low latency,high reliability,and high scalability to design and implement an industrial Internet gateway based on a microservice architecture.A gateway platform integrating the core capabilities of "network-computing-storage-application" was built on the edge to provide computing services for sensors.This article proposes that the overall architecture of the gateway is divided into four parts,namely: protocol adaptation layer,basic service layer,task application layer and cloud edge interaction layer.The specific work completed in each layer is as follows:The protocol adaptation layer studies the communication protocols commonly used in various industrial environments,such as Modbus,MQTT,TCP and other protocols.This paper analyzes its communication mode and process,designs and implements protocol adaptation services,encapsulates the lower layer data in a unified format,and parses the commands issued by the upper layer into a format that can be recognized by different transmission protocols.So that the gateway can adapt to multiple protocols and solve the problem of heterogeneity of the industrial Internet.As the basic platform of the gateway,the basic service layer mainly provides basic services for upper-layer applications.This paper implements data storage service,device management service,and remote configuration service in this layer.Data storage service saves recent data on the gateway platform,providing data support for devices at the edge of the network;device management service provides efficient management of the underlying sensors;remote configuration service facilitates the configuration update of the gateway.The task application layer studies task offloading and resource allocation in the Industrial Internet,proposes a multi-level offloading model for tasks,and solves the optimal scheduling strategy for gateway multi-level offloading through heuristic algorithm.At the same time,this paper designs and implements the offload scheduling function of the gateway task,offloads the tasks with high real-time requirements in the gateway to the edge server for execution.Through the global task offload scheduler scheduling,the total time for task completion is significantly reduced to solve the problem of long delay of cloud computing.The cloud-side interaction layer is mainly divided into two parts: data export service and API gateway service.Data export service is used to manage the unified export of gateway data;the API gateway service provides a unified entrance for the cloud to access the gateway cluster,and realizes the unification and standardization of cloud-side interaction.Finally,this paper tests the various levels of the industrial Internet gateway implemented.The test results show that this paper can effectively solve the problems of massive data and multi-source heterogeneity in the industrial Internet,reduce the task delay,Application is of great significance.
Keywords/Search Tags:Industrial Internet, Microservices, Protocol adaptation, Task offloading, Cloud edge interaction
PDF Full Text Request
Related items