Universal Push Server for Web Application Message Delivery
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current methods for pushing web application messages within web applications result in low code reuse and inefficient development processes, as developers must design custom pushing code for each application, leading to decreased efficiency.
Innovation Solution
A method and system where a push server receives token and message information from an application server, parses the token information to acquire client and application identifiers, and pushes the message information to the corresponding client, allowing the client to display the message within the appropriate web application, thereby simplifying the message sending process and improving development efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If developers design custom pushing code for each web application according to respective requirements, then the message pushing function can be customized for each application, but the code reuse rate is low and development efficiency decreases
Solution Approach 1:
The patent introduces a universal push server that provides standardized message pushing capabilities to multiple different web applications. The push server implements a unified pushing mechanism that can serve various applications with different requirements through a common interface, eliminating the need for each application to implement its own custom pushing code. This universal solution maintains adaptability while significantly improving code reuse and development efficiency.
Solution Approach 2:
The push server acts as an intermediary component between the web applications and the clients. It receives message pushing requests from application servers, processes them through a unified mechanism, and delivers messages to the appropriate clients. This intermediary approach allows applications to focus on their core functionality while the push server handles the complexity of message delivery, improving both customization capability and development efficiency.
2Productivity
If a unified push server is introduced to handle message pushing for multiple web applications, then code reuse rate and development efficiency are improved, but the system complexity increases
Solution Approach 1:
The patent divides the message pushing system into distinct functional modules: the push server that handles message delivery logic, the application server that generates messages, and the client that receives messages. Each component has a specific responsibility, and they communicate through well-defined interfaces. This segmentation reduces system complexity by making each component independent and manageable while still providing unified functionality across multiple applications.
Solution Approach 2:
The push server implements automatic message routing and delivery without requiring manual configuration for each application. It automatically parses token information to obtain client identifiers and application identifiers, then pushes messages to the correct clients based on this information. This self-service capability reduces the operational complexity of managing a unified push system across multiple applications.
Data Source
AI summary
A method for pushing a web application message may include: receiving, by a push server, token information and message information sent by an application server, parsing the token information to obtain a client identifier and an application identifier, acquiring a corresponding client according to the client identifier, and pushing the message information and the application identifier to the client; and acquiring, by the client, a corresponding web application according to the application identifier, and displaying the message information according to the web application. In addition, a system for pushing a web application message is further provided. The foregoing method and system for pushing a web application message can improve the development efficiency.


