Unified Subscription Description for Messaging Broker

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In publish/subscribe messaging systems, publishers face high costs and resource consumption when publishing messages, especially when there are no subscribers for the topic, leading to inefficient message delivery.

Innovation Solution

A unified subscription description is generated by the broker and communicated to the publisher, allowing it to determine if there are subscribers for a message topic before publishing, thereby avoiding unnecessary message transmission.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of energy

If the publisher transmits information about the message topic to the broker and asks whether there are any subscriptions matching the topic, then the publisher can avoid unnecessary message publication, but this requires a request/response conversation between the publisher and broker which increases communication overhead

Engineering Contradiction:
Improvebattery power consumptionVSAvoidcommunication protocol complexity
Core Design Contradiction:
Loss of energyVSDevice complexity

Solution Approach 1:

The broker proactively pushes subscription information to the publisher before the publisher needs to publish a message. This preliminary action allows the publisher to have advance knowledge of which topics have subscribers, eliminating the need for request/response conversations at publish time and reducing energy consumption.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements a feedback mechanism where the broker continuously monitors subscription changes and notifies the publisher of relevant updates. This feedback loop ensures the publisher has current information about subscriber presence without needing to query the broker repeatedly, reducing communication overhead.

Inventive Principle:
Principle #23Feedback

2Adaptability or versatility

If the publisher publishes messages about many different topics, then the publisher can provide comprehensive information coverage, but many conversations with the broker are required which increases communication overhead

Engineering Contradiction:
Improvetopic coverageVSAvoidcommunication time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The broker consolidates subscription information for multiple topics into a single unified data structure that is pushed to the publisher in one communication event. This merging approach allows the publisher to handle many topics without requiring separate conversations for each topic, significantly reducing communication time.

Inventive Principle:
Principle #5Merging (Combining)

3Ease of operation

If the publisher publishes messages even when there are no subscribers, then the message delivery is simple, but this results in unnecessary publication operations consuming resources

Engineering Contradiction:
Improvemessage publication simplicityVSAvoidresource consumption
Core Design Contradiction:
Ease of operationVSLoss of energy

Solution Approach 1:

The publisher uses the pushed subscription information to autonomously determine whether to publish a message based on local knowledge of subscriber presence. This self-service approach eliminates the need for the publisher to query the broker before each publication, maintaining operational simplicity while avoiding unnecessary resource consumption.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10298661B2Message delivery in a messaging system
Publication Date: 2019.05.21 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10298661B2 patent drawing
  • US10298661B2 patent drawing
  • US10298661B2 patent drawing

AI summary

A method, hardware system, and/or computer program product controls message delivery from a publisher application to one or more subscriber applications in a publish/subscribe messaging mechanism. The one or more subscriber applications have a plurality of subscriptions registered with a broker application of the publish/subscribe messaging mechanism. A unified subscription description representing the plurality of subscriptions registered with the broker application is generated, and is then communicated to the publisher application.