MQTT的主题重写方法、装置和电子设备

By configuring topic rewriting rules on the server side, MQTT message topics can be automatically rewritten, which solves the problem of incompatibility of topic design in different business scenarios of the MQTT protocol, realizes flexible topic rewriting, and improves development and maintenance efficiency.

CN116684275BActive Publication Date: 2026-07-17NEUSOFT RUICHI AUTOMOTIVE TECH (DALIAN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NEUSOFT RUICHI AUTOMOTIVE TECH (DALIAN) CO LTD
Filing Date
2023-06-25
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

The existing MQTT protocol has incompatible theme designs and is difficult to adjust flexibly under different business scenarios and application requirements, resulting in complex client logic and maintenance difficulties. In particular, theme rewriting is difficult when the terminal of an older vehicle model cannot be reconfigured or upgraded.

Method used

By configuring topic rewriting rules on the server side, including topic filters, regular expressions, and target expressions, the topics of MQTT messages sent by the client can be automatically rewritten, enabling flexible topic rewriting.

Benefits of technology

Without modifying client code or redeploying, the server can flexibly rewrite MQTT topics, improving development and maintenance efficiency and adapting to different business needs and scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116684275B_ABST
    Figure CN116684275B_ABST
Patent Text Reader

Abstract

本发明提供了一种MQTT的主题重写方法、装置和电子设备,包括:获取维护人员配置的主题重写规则,其中,主题重写规则包括:主题过滤器、正则表达式和目标表达式;获取客户端发送的MQTT报文,并确定与MQTT报文的主题匹配的目标主题重写规则;按照目标主题重写规则对MQTT报文的主题进行重写,得到MQTT报文的新主题。本发明的MQTT的主题重写方法中,客户端无需修改代码或重新部署,服务端通过维护人员配置的主题重写规则便能自动实现对客户端发送的MQTT报文的主题进行重写,即服务端能够简单灵活的实现MQTT的主题重写,提高了开发和维护的效率。
Need to check novelty before this filing date? Find Prior Art