Alarm File Display via Persistent Connection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing method of requesting and displaying alarm files through polling leads to significant waste of storage resources at the service end, as the service end stores the alarm file before sending it to the client, resulting in inefficient use of storage and bandwidth.
Innovation Solution
A method and system that establish a persistent connection to receive data packets of the alarm file, parse them to obtain the file, and generate a URL for displaying the alarm file, allowing the service end to release storage resources after sending the file, thereby reducing storage and bandwidth consumption.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the service end stores the alarm file before sending it to the browser through polling, then the alarm file can be displayed by the browser, but the storage resource of the service end is wasted
Solution Approach 1:
The patent extracts the alarm file from the service end's storage system and transmits it directly to the browser through a persistent connection. The service end no longer needs to store the alarm file locally, as it is pushed directly to the client upon generation, thereby eliminating the storage resource waste while maintaining display reliability
Solution Approach 2:
The patent introduces a persistent connection as an intermediary mechanism between the service end and the browser. This connection enables direct transmission of alarm files without requiring the service end to store them, allowing the browser to receive and display alarm files in real-time without consuming service end storage resources
2Reliability
If the service end stores the alarm file for browser request, then the alarm file can be delivered to the browser, but the bandwidth resource is wasted
Solution Approach 1:
The patent establishes a persistent connection that remains open continuously, allowing the service end to push alarm files to the browser immediately upon generation. This continuous connection eliminates the need for repeated polling requests and file storage/transmission cycles, reducing bandwidth consumption while maintaining reliable delivery
Solution Approach 2:
The patent prepares the persistent connection in advance between the service end and browser, enabling immediate transmission of alarm files as soon as they are generated. This preliminary setup eliminates the need for subsequent storage and repeated transmission operations, reducing bandwidth resource waste
Data Source
AI summary
The present disclosure relates to methods, apparatuses and systems for displaying an alarm file and belongs to the field of communications. One of the method includes: through a persistent connection with a service end, receiving a data packet corresponding to the alarm file sent by the service end, wherein the service end releases a storage resource occupied by the alarm file after sending the alarm file; obtaining the alarm file by parsing the data packet corresponding to the alarm file; generating a uniform resource locator (URL) of the alarm file; displaying the alarm file based on the URL of the alarm file. The present disclosure can reduce wastes of the storage resource of the service end.


