The invention discloses an
Internet of Things data
bus middleware, which is used to realize
Internet of Things data forwarding, task scheduling, and scheduling monitoring. The
middleware includes a
client and a plurality of
server ends, and the
client encapsulates communication data according to a communication protocol configuration file After the data packet is generated, according to the
service configuration of the
client, through the communication function of the client, a call is initiated to all the servers, and the
server that responds to the call establishes a two-way micro-channel communication service
list according to the communication call of the client, and uses the message analysis of the
server The module unpacks the received data packet and obtains the
message type in the data packet. At the same time, the server that responds to the call uses the load information collection function in the task scheduling module to obtain the load information of other servers and write it into the task assignment forwarding table , and then, combining the load balancing
algorithm and the information in the task distribution forwarding table, determine the server that completes the task, connect and call the corresponding
external interface of the server, and realize the forwarding of the task.