Flight data caching method and system
A data caching and flight technology, applied in the field of data processing, can solve problems such as unbearable system data pressure, poor user experience, time-consuming and resource-intensive direct requests, etc., to ensure universality and freshness, reduce pressure, and improve query The effect of response time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] Applying the caching system of the embodiment of the present invention, the process of querying flight data can be realized as follows: the caching processing module of the caching system regularly performs invalidation management, and deletes the expired data in the caching memory; when the user requests the unmanaged airline flight information from the caching system, Call the query module to query the cache memory, and return the corresponding data to the user if the corresponding data is found and within the validity period; if the corresponding data is not found or invalid, the communication module is called to send a request to the relevant system of the unmanaged airline, and the unmanaged After the reply from the airline-related system, on the one hand, return the unmanaged airline flight class status data in the reply to the user, and on the other hand, call the cache processing module to update the data in the reply to the cache memory.
[0075] Applying the ca...
Embodiment 2
[0077] Such as Figure 5 As shown, the caching system in the embodiment of the present invention updates the caching data through the query request process. The status data is extracted and updated to the cache area corresponding to the unmanaged airline in the cache memory to realize cache refresh. Specifically, the agent requests to call the query module of the cache system, and the query module finds that it needs to call the direct connection request of the unmanaged airline asynchronously. At this time, the query module calls the communication module to send the request to the relevant system of the unmanaged airline; From the results returned by the company’s relevant systems, the unmanaged airline flight class status data is extracted and returned to the user, and the cache management module is called to write the unmanaged airline flight class status data into the cache memory.
Embodiment 3
[0079] The unmanaged airline data in the storage agent query request is the cornerstone of the cache system, and only this part of the data is not enough to achieve a high enough accuracy rate; because the content of the agent query request and the freight search query are still different, The agent may pay more attention to the popular routes he is familiar with, and needs a wider range of inquiries for freight rate searches.
[0080] The caching system of the embodiment of the present invention uses the active trigger method to update the caching data process can be implemented in this way: the freight rate search user invokes the query engine, and if there is an unmanaged airline flight in the query request, then query the Seamless caching system to obtain the unmanaged airline Flight data; if no result is found in the Seamless cache system, the background will actively trigger a direct connection request from the Seamless cache to the unmanaged airline, and obtain real-time...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com