Method for realizing efficient and migratable MQTT Broker subscription tree
An implementation method and efficient technology, applied in the direction of electrical components, transmission systems, etc., can solve the problems of large space occupation, difficult migration, low efficiency of subscription tree, etc., and achieve the effect of solving large space occupation and solving concurrency difficulties
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0031]As attachedfigure 1 As shown, the server receives the subscription topic information, splits the topic according to the agreed separator, obtains the ID of the TOKEN array, and then searches the database for the idn corresponding to the element IDn of the ID. If it is not found, it applies for a new id and obtains The array KEY composed of idn, the next step is to store the corresponding relationship between KEY and client Cientid, the next step is to determine whether the KEY contains a wildcard, if the KEY does not contain a wildcard, the corresponding client set is found through the KEY, if the KEY contains With wildcards, a secondary buffer is established to store the set of KEYs containing wildcards, and then the client set corresponding to the set S is found through the KEY.
[0032]Specifically, the server receives the subscription topic information sent by the client, splits the subscription topic information according to the agreed delimiter " / ", obtains the split topic ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


