Unlock instant, AI-driven research and patent intelligence for your innovation.

Point-to-point information push method based on mqtt

An information push, peer-to-peer technology, applied in the field of information exchange, can solve the problems of server unavailability, subscription access control cannot be flexibly configured, etc., to achieve the effect of protecting subscription security

Inactive Publication Date: 2020-07-28
必成汇(成都)科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a point-to-point information push method based on MQTT, which solves the problems in the prior art that the number of connections and network bandwidth reach the bottleneck, the server is unavailable, and user authentication and subscription access control cannot be flexibly configured. The purpose of point-to-point information push that is safe and available for users

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
  • Point-to-point information push method based on mqtt
  • Point-to-point information push method based on mqtt
  • Point-to-point information push method based on mqtt

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0056] 1. User authentication: User authentication is implemented through the http authentication plug-in of emqttd. The strategy is to identify users who need to perform peer-to-peer push through the fixed username, and the user password is the hash of the user account name, random number and password in the system Algorithm combination, the user client ID input value can only be the corresponding user name in the password; parameters that do not follow the above rules will fail to verify;

[0057] 2. Subscription control: users can only subscribe to private topics whose client ID (user name) corresponds to the user name;

[0058] 3. Point-to-point push: When the business system needs to push the private information (such as user A’s asset information) of a certain user (such as user A) to user A itself, it will first push the asset information of user A to the corresponding function of the emqttd server If and only when user A subscribes to the private topic corresponding to...

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 an MQTT-based point-to-point information push method, belonging to the technical field of information exchange. First, the user authentication is performed through the emqttd server based on the MQTT protocol, and the business system then controls the subscription of the user toptic and the subscription user account, and finally generates the topic that needs to be pushed according to the information that needs to be pushed; the business system will need to push the message, Push to the topic generated in the emqttd server; the emqttd server then pushes the message to subscribers to push the information. The invention solves the problems in the prior art that the number of connections and the network bandwidth reach the bottleneck, the server is unavailable and the user authentication and subscription access control cannot be flexibly configured, and realizes the purpose of safe and available point-to-point information push for users.

Description

technical field [0001] The invention belongs to the technical field of information exchange, in particular to an MQTT-based point-to-point information push method. Background technique [0002] In the existing point-to-point push, the client directly subscribes to the server and pushes itself through the server. Such a subscription will consume the number of server connections on the server and when the number of connections and network bandwidth reach the bottleneck, it will cause the entire server to The service is unavailable; although the existing emqttd has strong performance and can support millions of connections and pushes on a single machine, and is decoupled from the business system, it will not affect the business system, but it is mainly aimed at public shared information push. Advantages, the support for point-to-point push of private information is not ideal, and its user authentication and subscription access control cannot be flexibly configured. [0003] 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 Patents(China)
IPC IPC(8): H04L29/08H04L29/06
CPCH04L67/104H04L63/083H04L63/101H04L69/26H04L67/55
Inventor 李勇张斌
Owner 必成汇(成都)科技有限公司