Method of home terminal to access message middleware based on MQTT protocol

A technology of message middleware and home terminal, applied in the field of Internet of Things, can solve the problems of poor security, inconvenient management and maintenance of message middleware, etc., to improve security, reduce performance pressure, and achieve the effect of independence

Inactive Publication Date: 2018-03-27
FENGHUO COMM SCI & TECH CO LTD
View PDF5 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] First, the client access message middleware only authenticates the user name and password, which has poor security and is not convenient for enterprises to manage and maintain client authentication information.
[0004] Second, when a large number of devices are connected, the message middleware needs to maintain a large amount of authentication information, and each authentication information is independent, which is not convenient for the enterprise to centrally manage the authentication information of the client
[0005] Third, the client ID is set when the device is connected, and the message middleware does not participate in the management. After the device is connected, it may affect other connected devices
[0006] To sum up, when the existing technology accesses the message middleware of the MQTT protocol, it cannot meet the requirements of device authentication information maintenance, unified management of device client IDs, and a single authentication method. Therefore, it is necessary to provide more secure, effective and centralized management of each client. method of accessing the device

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 of home terminal to access message middleware based on MQTT protocol
  • Method of home terminal to access message middleware based on MQTT protocol
  • Method of home terminal to access message middleware based on MQTT protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0037] see figure 1 As shown, the embodiment of the present invention provides a method for a home terminal access message middleware based on the MQTT protocol, comprising the following steps:

[0038] S1. Develop the interface code of the authentication service platform, including the functional logic of the message middleware for identity authentication. In the data initialization phase, the home terminal information is imported into the device registration information database.

[0039] S2. When the home terminal is powered on and started, it carries its own device mac address (serial number) information to request the authentication service platform, and the platform searches the device information database to check the validity of the device mac address. When the requested mac address of the home terminal is valid, a string of random c...

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 of a home terminal to access message middleware based on the MQTT protocol, and relates to the technical field of the Internet of Things. The method comprises the following steps: S1, importing home terminal information; S2, requesting, by the home terminal, an authentication service platform, and performing calculation encryption to obtain a check code; S3, sending, by the home terminal, the check code to the authentication service platform for comparison and verification, and returning a security token if the check code is consistent; S4, requesting, by the home terminal carrying the security token, the authentication service platform to obtain the message middleware connection information; and S5, accessing, by the home terminal, the message middleware,and calling, by the message middleware, an authentication service platform interface to perform client identity authentication. According to the method, the authentication information of the message middleware and the device is separated, which is beneficial for the enterprise to perform unify and centralize the device access information and the security token information of the message middleware, thereby reducing the pressure of the message middleware server because of the batch access authentication, and greatly improving the system performance and the security.

Description

technical field [0001] The invention relates to the technical field of the Internet of Things, in particular to a method for a home terminal accessing message middleware based on the MQTT protocol. Background technique [0002] The Internet of Things is an important part of the new generation of information technology, and it is also an important stage of development in the information age. With more and more devices with information perception and communication capabilities, more devices need to be connected to the Internet or enterprise networks to achieve interconnection. As the central hub of information transmission, message middleware bears the communication pressure of a large number of client devices. When the device accesses the message middleware that supports the MQTT protocol, it needs to complete the device access authentication, and the client device needs to specify a client ID for itself as the unique connection identifier. If the client ID conflicts with th...

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/08H04L29/06H04L9/32
CPCH04L9/3213H04L9/3239H04L63/0823H04L63/083H04L63/0876H04L67/125H04L67/2871
Inventor 黄安武刘航
Owner FENGHUO COMM SCI & TECH CO LTD
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