Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and device for supporting IoT middleware cluster expansion

A middleware, IoT technology, applied in the IoT field, can solve the problems of operation request failure, load balancing repeater not being able to load balance, etc., to achieve the effect of load balancing

Active Publication Date: 2017-10-13
广州中科易德科技有限公司
View PDF4 Cites 0 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
  • A method and device for supporting IoT middleware cluster expansion
  • A method and device for supporting IoT middleware cluster expansion
  • A method and device for supporting IoT middleware cluster expansion

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 Internet of Things application program sends a control instruction to an Internet of Things gateway, and the Internet of Things middleware cluster receives the control instruction for the Internet of Things gateway, and uses the load balancing forwarder to send the control instruction to any server of the Internet of Things middleware.

[0042] Wherein, the control instruction 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...

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 present application discloses a method and system for supporting IoT middleware cluster expansion. The method includes: receiving a control command for an IoT gateway, and using a load balancing forwarder to send the control command to any IoT middleware Server; if the long connection between the Internet of Things middleware and the Internet of Things gateway is not stored in the pre-built long connection cache area, and the relevant information of the Internet of Things gateway is stored in the pre-built long connection mapping table, then , establishing a connection with the IoT gateway according to the IP information carried in the relevant information, and sending the control instruction to the IoT gateway. This method not only realizes the expansion of the IoT middleware cluster, but also enables the load balancing forwarder to truly realize the load balancing function.

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 Patents(China)
IPC IPC(8): H04L29/08
Inventor 李引袁峰吴鸿
Owner 广州中科易德科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products