Unified Rich Media Control for Microblog Client Redundancy
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing microblog systems face inefficiencies in processing and presenting rich media information across different pages, leading to code logic redundancy and maintenance difficulties due to the lack of reuse in processing microblog messages that contain images, music, and videos.
Innovation Solution
The solution involves encapsulating rich media information processing logics according to operation types and media types, allowing for unified rich media control on the client side of the micro web log system, enabling the reuse of processing logic across various pages and facilitating efficient handling of operations such as image and video processing.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If different pages process rich media information independently with separate logics, then each page can handle its specific requirements, but code logic redundancy increases and maintenance difficulty increases
Solution Approach 1:
The patent creates a universal rich media control class that can be applied across multiple pages and message types. This control class encapsulates common rich media processing logic (image, video, audio handling) that can be reused universally throughout the microblog system, eliminating the need for separate processing logic in each page while maintaining adaptability through parameter configuration.
Solution Approach 2:
The patent segments the rich media processing functionality into independent, modular control classes that can be selectively applied. Different message types (text messages, rich media messages, download messages) have their own specialized control classes that inherit or compose the universal rich media control, allowing each segment to handle its specific requirements while sharing common functionality.
2Adaptability or versatility
If separate processing logics are implemented for each page, then specific page requirements are met, but system efficiency decreases
Solution Approach 1:
By implementing a universal rich media control that handles common processing tasks across all pages, the system eliminates redundant operations. The control class is designed to work with different message types and page contexts through configurable parameters, maintaining page-specific functionality while improving overall system efficiency through code reuse.
3Adaptability or versatility
If independent processing logic is used on each page, then specific processing requirements are satisfied, but maintenance difficulty increases
Solution Approach 1:
The universal rich media control class serves as a centralized maintenance point for all rich media processing logic. Bug fixes, feature updates, or optimizations need to be made only in the control class definition rather than in multiple page-specific implementations, significantly reducing maintenance difficulty while preserving processing flexibility through configurable parameters.
Solution Approach 2:
Instead of maintaining separate processing logics that need to be copied and updated across multiple pages, the system uses a single copy of the rich media control class that is instantiated and configured for different pages. This eliminates the need to manually copy and synchronize code changes across multiple locations.
4Device complexity
If rich media controls are configured uniformly on client side, then code reuse is achieved, but flexibility in handling diverse message types may be reduced
Solution Approach 1:
The system applies local quality by allowing each message type and page to configure specific parameters of the universal rich media control according to its needs. While the control structure is uniform and reusable, the local configuration (message type, media types supported, processing options) can be customized to match specific requirements of different message types and pages.
Data Source
Figure 1~2
Figure 3
Figure 4
AI summary
Embodiments of the present invention disclose a method and an apparatus for processing micro web log messages in a micro web log system, where a unified rich media control is configured in each client side in the micro web log system, and the rich media control is obtained by encapsulating rich media information processing logics according to an operation type and a media type of rich media information. The method includes: receiving, by the client side in the micro web log system, an operation request for processing rich media information in a micro web log message; and invoking, by the client side in the micro web log system, a corresponding rich media control according to the operation type and the media type of the requested rich media information, and running the control to process the rich media information properly. The embodiments of the present invention enable reuse of the same or similar logics of processing rich media information on message pages of the client side in the micro web log system.