Unified API for Business Object Error and Progress Messages
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing business object models lack an efficient mechanism for generating and managing error messages and progress information messages, leading to delays and complexity in communication between clients and business process platforms.
Innovation Solution
A computer program product and method that utilize a common interface to receive client instructions, perform actions, generate progress and error messages through an API, and send these messages to clients, enabling seamless communication and error handling within software work processes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If separate mechanisms are used for generating error messages and progress information messages, then each message type can be handled independently, but the system complexity increases and communication efficiency decreases
Solution Approach 1:
The patent merges the generation mechanisms for error messages and progress information messages into a single unified interface. The message class serves as a common parent for both message types, providing shared methods for creation, formatting, and transmission. This consolidation reduces system complexity while maintaining the ability to handle different message types independently through type identification and specialized handling logic.
Solution Approach 2:
The message class is designed as a universal interface that can handle both error messages and progress information messages through a single mechanism. The class includes methods that work for both message types, such as creation, formatting, and sending, while allowing specific message types to be identified and handled appropriately. This multi-functional approach eliminates the need for separate mechanisms for each message type.
2Loss of information
If progress information is provided during processing, then client awareness of processing status is improved, but the communication overhead and system complexity increase
Solution Approach 1:
The patent combines progress information communication with the existing message handling infrastructure. Progress information is transmitted using the same message class and interface that handles error messages, eliminating the need for separate communication channels. The unified message mechanism manages both types of information flow, reducing overall system complexity while ensuring complete information transmission.
3Ease of manufacture
If a unified API is used for generating both error and progress messages, then code reuse and simplicity are improved, but the precision of error handling may be reduced
Solution Approach 1:
The patent applies local quality by allowing different message types to have specialized handling within the unified message class. While the overall structure is unified, specific methods can be implemented differently for error messages versus progress information messages based on their unique requirements. This enables precise error handling where needed while maintaining code reuse through the common interface for standard operations.
Data Source
AI summary
The present description refers to a technique for receiving a client instruction, performing an action in response to the client instruction, generating an instance of a progress information message by the business object calling a first method of an API and identifying the progress information message to be generated, determining if an error condition occurs during the performing the action, generating an instance of an error message, if the error condition occurs, by calling the first method of the API, sending the progress information message instance from a second software work process to the client application in response to a request for progress information received by the second software work process from the client application, and sending the error message instance, if generated, from the first software work process to the client application.


