Method and device for supporting expansion of internet-of-things middleware cluster

A middleware and Internet of Things technology, applied in the field of Internet of Things, can solve problems such as operation request failure, load balancing forwarder cannot load balancing, etc., and achieve the effect of load balancing

Active Publication Date: 2014-12-10
广州中科易德科技有限公司
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the existing load balancing forwarder protocol does not consider the situation of long connection, it may cause the request to be forwarded to the IoT middleware server that has not established a long connection with the IoT gateway, resulting in the failure of the operation request
In addition, due to the long-term connection between the IoT gateway and the IoT middleware, the control of a certain IoT-aware hardware node needs to be forwarded to a specific IoT middleware server, so that the load balancing forwarder cannot really realize the load balanced function

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
  • Method and device for supporting expansion of internet-of-things middleware cluster
  • Method and device for supporting expansion of internet-of-things middleware cluster
  • Method and device for supporting expansion of internet-of-things middleware cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] Such as figure 1 as shown, figure 1 It is a flowchart of a method for supporting IoT middleware cluster expansion disclosed in Embodiment 1 of the present application. The method includes:

[0040] S101: Receive a control command for the IoT gateway, and send the control command to any server of the IoT middleware.

[0041] Specifically, the IoT application program sends a control command to an IoT gateway, and the IoT middleware cluster receives the control command for the IoT gateway, and uses the load balancing forwarder to send the control command to any server of the IoT middleware.

[0042] Wherein, the control command is sent by the application program of the Internet of Things, and is used to control the Internet of Things gateway to be controlled to perform corresponding actions. For example, in a smart street light system, the control command can be a light-on command or a light-off command, and of course it can also be other commands, which are not limited...

Embodiment 2

[0055] Embodiment 2 of the present application discloses another method for supporting IoT middleware cluster expansion, such as figure 2 as shown, figure 2 It is a flow chart of a method for supporting IoT middleware cluster expansion disclosed in Embodiment 2 of the present application. The method includes:

[0056] S201: Establish a persistent connection with the IoT gateway according to the received registration message sent by the IoT gateway.

[0057] After the Internet of Things gateway is connected to the network, it sends a message to the Internet of Things middleware for registration, and the Internet of Things middleware receives the registration message and establishes a long connection with the Internet of Things gateway.

[0058] S202: Store the persistent connection in the pre-built persistent connection cache area, and at the same time, store the related information of the IoT gateway and the related information of the IoT middleware as a mapping relationsh...

Embodiment 3

[0081] In order to support the expansion of the Internet of Things middleware cluster, and at the same time enable the load balancing forwarder to achieve real load balancing, and realize the method for supporting the expansion of the Internet of Things middleware cluster disclosed in the first embodiment of the present application, the third embodiment of the present application is disclosed as follows A system that supports IoT middleware cluster scaling. Such as image 3 as shown, image 3 It is a schematic structural diagram of a system supporting IoT middleware cluster expansion disclosed in Embodiment 3 of the present application.

[0082] The system includes: a receiving unit 301, a constructing unit 302, a judging unit 303 and a sending unit 304, wherein:

[0083] The receiving unit 301 is configured to receive a control command for the gateway of the Internet of Things, and send the control command to any server of the middleware of the Internet of Things by using a...

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 method and a system for supporting expansion of an internet-of-things middleware cluster. The method comprises the following steps of receiving control instructions of an internet-of-things gateway; transmitting the control instructions to a server of an optional internet-of-things middleware by using a load balancing forwarder; establishing connection between the internet-of-things middleware and the internet-of-things gateway according to IP (internet protocol) information carried by relevant information if long connection between the internet-of-things middleware and the internet-of-things gateway is not stored in a long connection cache region which is established in advance and the relevant information of the internet-of-things gateway is not stored in a long connection mapping table which is established in advance; and transmitting the control instructions to the internet-of-things gateway. By the method, the internet-of-things middleware cluster can be expanded, and a load balancing function of the load balancing forwarder is fulfilled really.

Description

technical field [0001] The present application relates to the technical field of the Internet of Things, and more specifically, relates to a method and device for supporting the expansion of the middleware cluster of the Internet of Things. Background technique [0002] The IoT system is composed of IoT applications, IoT gateways, IoT middleware, and IoT perception layer hardware nodes. The IoT middleware runs on the server as a bridge between the IoT application and the IoT gateway. As the number of concurrent communications between the IoT application and the IoT gateway increases, the server that hosts the IoT middleware runs Resources such as computing, network, and storage will decrease accordingly and finally reach the highest load, resulting in the problem of being unable to connect. [0003] In the prior art, for this situation, the Internet of Things middleware will establish a long connection with the Internet of Things gateway, so that the Internet of Things appl...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
Inventor 李引袁峰吴鸿
Owner 广州中科易德科技有限公司
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