Server Abstracted Messaging System for LBS Devices
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Efficient communication of messages to and from Location Based Service (LBS) devices across various wireless communication networks and Internet protocols is challenging due to the diversity of protocols used by these devices.
Innovation Solution
A server abstracted messaging system that uses internally implemented protocols or third-party tools to interface with networking services like SMS, UDP, and IP, employing a special language for LBS devices, thread-safe queues, and a SQL database to manage messaging transactions, ensuring fail-safety and asynchronous processing.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a messaging system interfaces directly with multiple networking services and LBS devices using various protocols, then communication capability is improved, but system complexity increases
Solution Approach 1:
The patent introduces an intermediary messaging system that sits between applications and LBS devices, translating between abstracted high-level commands and device-specific protocols. This mediator handles protocol conversion, message routing, and device abstraction, allowing applications to communicate with diverse LBS devices without directly implementing multiple protocols, thus resolving the contradiction between communication capability and system complexity
Solution Approach 2:
The messaging system implements a universal communication layer that can interface with multiple networking services (SMS, GPRS, IP-based services) and various LBS device types through a single standardized interface. This multi-functional design allows the system to handle diverse communication protocols and device types without requiring separate implementation for each, maintaining adaptability while controlling complexity
2Ease of operation
If the messaging system processes all messages through the main process, then message handling is simplified, but system reliability decreases
Solution Approach 1:
The patent segments the message processing functionality into separate threads that operate independently from the main process. Each thread handles specific messaging tasks (message reception, processing, transmission) and can fail independently without bringing down the entire system. This segmentation maintains ease of operation through modular design while improving reliability through fault isolation
Solution Approach 2:
The messaging system introduces thread-safe queues as intermediary components between the main process and worker threads. These queues safely transfer messages between threads without requiring complex synchronization in the main process, maintaining operational simplicity while enabling asynchronous parallel processing that improves system reliability and responsiveness
3Ease of operation
If synchronous message processing is used, then message handling is simpler, but processing speed decreases
Solution Approach 1:
The patent implements periodic action through asynchronous message processing where worker threads continuously process messages from queues without blocking the main process. The system periodically checks and processes messages in the background, allowing the main process to continue accepting new messages without waiting for processing to complete, thereby improving processing speed while maintaining manageable complexity through the queue intermediary
4Productivity
If code is optimized for specific protocols using conditional compilation, then execution efficiency is improved, but code maintainability worsens
Solution Approach 1:
The patent applies local quality by using conditional compilation to optimize specific code sections for different protocols while keeping the overall system architecture unified. Each protocol-specific optimization is localized to specific code blocks that are only compiled when needed, allowing efficient protocol handling without requiring the entire codebase to be protocol-specific, thus balancing execution efficiency with maintainability
Data Source
AI summary
A server abstracted messaging system interfaces to networking services such as SMS, UDP and IP, using internally implemented protocols or third-party tools. All connections, disconnections, errors or intricacies in service decoding are abstracted by the messaging system. To interface to an LBS device, the messaging system uses a special language to communicate with that device, leaving the actual translation of the command to the device until the very end, thereby abstracting the communication to the device by any application. All new commands for the LBS device are implemented in the abstracted language.


