Message Processing System for Smart Ward IoT Data Integration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Smart ward systems face inefficiencies due to the use of different data transmission formats from independently operating IoT devices, leading to high construction costs and reduced work efficiency in managing various IoT devices.
Innovation Solution
A message processing method that converts messages from various preset formats into a unified standard format, enabling data integration and compatibility across different clients, thereby facilitating data interaction and reducing construction costs.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If different data transmission formats are used by independently operating IoT devices, then device independence and flexibility are maintained, but system complexity increases and work efficiency decreases
Solution Approach 1:
The patent introduces a message queue as an intermediary component that receives messages from multiple IoT devices using different formats and converts them into a unified standard format. This mediator handles format conversion centrally, allowing individual devices to maintain their independence while the system achieves uniformity, thus resolving the contradiction between device flexibility and system complexity.
Solution Approach 2:
The message queue is designed with universal functionality to handle multiple message formats simultaneously. It can receive, parse, and convert various formats (JSON, XML, CSV, etc.) into a unified standard format, making the system capable of working with diverse IoT devices without requiring each device to adhere to a specific format, thereby reducing system complexity while maintaining adaptability.
2Adaptability or versatility
If format conversion is performed for each incoming message, then data compatibility is improved, but processing time increases
Solution Approach 1:
The system performs preliminary actions by establishing a standardized message format structure in advance and preparing conversion rules for different message formats. When messages arrive, the conversion process follows pre-defined patterns, reducing the actual processing time required at runtime while maintaining comprehensive format compatibility.
Solution Approach 2:
The message queue dynamically changes parameters based on the incoming message format, adjusting its parsing and conversion approach according to the detected format type. This parameter adaptation allows the system to optimize conversion efficiency for different formats while maintaining a unified output structure, balancing compatibility requirements with processing speed.
Data Source
AI summary
Disclosed are a message processing method, a message processing system, a message processing apparatus, a computing device, and a computer-readable storage medium. The message processing method includes receiving a first message sent by at least one client in the ward, determining whether the format of the first message is at least one of a plurality of first preset formats, in response to the format of the first message is at least one of a plurality of first preset formats, converting the format of the first message into a second preset format according to a preset conversion rule corresponding to the format of the first message, so as to obtain a second message, receiving a data processing request, and in response to the data processing request, processing the second message.


