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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com