| Industrial Internet is the application of the Internet of things under the industrial scene.At present,industrial production has gradually entered the stage of automation and informatio.Futhermore,Industrial Internet was also developing rapidlly.In the industrial scenario,the imperfect of the network environment leads to the bad connections in data transmission.Besides,the production facilities was hard to monitor and manage because of the dynamic nature of access to the device and the rapidly increase of data.In view of this situation,this paper proposes a solution of management system based on industrial Internet gateway.The whole management system covers the functions of data upload,content distribution and management of equipment and data.The specific work is as follows:(1)The intelligent upload of data is achieved utilizing network gateway.Two function modules are designed,including data preprocessing and device identification,to collect useful data generated by the terminal.Because invalid data will increase the processing cost and response time of the system,the data preprocessing function is added to the gateway.Before data upload,data preprocessing is implemented according to data characteristics and user requirements,and data transmission efficiency is improved.On the other hand,the data volume of industrial environment equipment is huge and the concurrency is high.In order to solve the problem of data management confusion,the unique identification function of equipment is added.The gateway uses mqtt message queue service to transmit data to the cloud,and realizes the unique identification of the device by unifying the message subject.At the same time,the paper chooses EMQ message queue agent service to complete the access authentication of the device and solve the security problem of the system.(2)An algorithm of task distribution synchronized between the cloud and the edge.Large scale application update requires file distribution.It not only wastes bandwidth resources and time,but also may cause the cloud to be overloaded and fail to issue.In order to solve this problem,this paper proposes a fast task distribution algorithm based on cloud and edge collaboration.Communication and calculation strategy in the task distribution algorithm are achieved based on peer to peer(P2P)network technology and greedy algorithm.The cloud controller generates task list and execution strategy to select the optimal resou In detail,the controller in the cloud generates a task list and executes strategies to select the optimal resource node and cooperates with the edge network gateway to achieve fast distribution of task.Compared with the traditional transmission method,the experimental results show that the task distribution algorithm proposed in this paper has a significant improvement in reducing the transmission delay performance.(3)Realize the device and data management system of "gateway + cloud".In order to effectively monitor and manage industrial production equipment,improve production efficiency and ensure the real-time and stability of data,this paper designs a new management system.The management system platform is divided into gateway local management platform and cloud management platform.Based on Web technology and related database,write a complete interactive process of display end,server end and data end.The system has the functions of safe equipment access,flexible data subscription,data display,file upload and so on.Provide user-friendly and customizable services to realize the monitoring and management of equipment.On this basis,in order to ensure the smooth operation of the system,PM2 is also used to manage the service process and load balancing based on Nginx.At the end of the paper,the function and performance of the three modules are tested.At the same time,it analyzes the shortcomings,and considers the future research direction and improvement methods. |