| The rapid iteration of the Internet of Things technology and the continuous growth of the Internet of Things device access scale have extended the boundaries of human perception and significantly improved people’s ability to obtain information in the real world.With the enhancement of people’s ability to obtain information,it will bring unimaginable convenience to people’s study,work and life.In order to meet the functional requirements in different scenarios,different Io T communication protocols were born.Due to the heterogeneity of communication protocols,the message interconnection between Io T devices is not smooth,reducing the interoperability between devices.At the same time,due to the increasing scale of Internet of Things device access,a single Internet of Things gateway faces great challenges when facing a large number of Internet of Things devices.In order to solve the above problems,this paper studies and proposes a distributed concur rent access technology of heterogeneous protocols in the Internet of Things scenario to adapt t o the analysis of heterogeneous protocols and the extension of heterogeneous protocols under the access of large-scale Internet of Things devices.The main research content of this paper is as follows:1.Aiming at the slow resolution speed of a single Io T node in a large-scale Io T scenario a nd insufficient support for private protocols,a distributed parsing method for heterogeneous pr otocols based on feature matching is proposed.By introducing protocol feature files and parsi ng request scheduling mechanism to quickly identify the data type of the protocol and distribu te the protocol parsing pressure of a single node to other idle nodes.Finally,it is proved by ex periments that the proposed distributed parsing method for heterogeneous protocols can suppo rt standard protocols and private custom protocols,while scheduling the protocol parsing press ure of a single node.2.Aiming at the existing heterogeneous protocol analysis solution protocol expansion dif ficulties,inflexible expansion,traditional distributed cluster master node election and data syn chronization require a large amount of communication between nodes.This paper proposes a d istributed gateway protocol access extension method based on message queuing.This method reduces the communication overhead between nodes in the election process and protocol exten sion process through the optimized master node election and data synchronization mechanism,thus improving the performance in high concurrency.The following protocol analysis capabil ities.At the same time,the gateway cluster is decoupled from the cloud through the master no de-message queue mechanism to enhance the scalability of the system.Finally,experiments pr ove that this scheme has a faster election speed than other master node election schemes.3.On the basis of the above two innovations,taking into account the heterogeneous resou rces in the Io T scenario,the high dynamics of Io T device data,and the large number of connec ted devices,as well as the high concurrency and low latency of the heterogeneous protocol ana lysis system In response to other needs,a heterogeneous protocol analysis system for the Inter net of Things gateway was designed and implemented,and the reliability and availability of th e system were proved through stress tests. |