Active and passive combined airline ticket data acquisition method, system and device and storage medium

An active-passive, ticket-based technology, applied in the field of data query, can solve the problems of huge number of query requests and high system requirements

Inactive Publication Date: 2017-10-24
CTRIP TRAVEL NETWORK TECH SHANGHAI0
View PDF7 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the variety of data, to maintain a certain degree of freshness, the numbe

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Active and passive combined airline ticket data acquisition method, system and device and storage medium
  • Active and passive combined airline ticket data acquisition method, system and device and storage medium
  • Active and passive combined airline ticket data acquisition method, system and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0090] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar structures in the drawings, and thus their repeated descriptions will be omitted.

[0091] In order to achieve the above object, the active and passive combination method of the present invention for obtaining ticket data includes active inquiry and passive inquiry, wherein:

[0092] The active inquiries include:

[0093] Create multiple preset storage conditions in a cache database;

[0094] Traversing each of the preset storage conditions in turn, and judging whether there is first ticket data correspondi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an active and passive combined airline ticket data acquisition method, system and device and a storage medium. The method includes active query and passive query, all preset storage conditions in a cache database are traversed in active query, and update data are actively acquired from a server of an airline needing update. Passive query responds to a request of a user, second airline ticket data are acquired from the server of the airline, and the second airline ticket data conforming to the preset storage conditions are processed into a preset format and stored in the cache database. By storing hot air route data in passive query, the query frequency of requesting an airline system for acquiring low-price data is decreased, the airline ticket data of hot air routes are traversed by active query, real-time update is realized, the period of active query of the airline ticket data is shortened, the freshness of a tourism platform for displaying low-price cache data of the airline is improved, so that resources can be effectively allocated to air route data needing update in active query, and the use ratio of system resources is increased.

Description

technical field [0001] The present invention relates to the technical field of data query, in particular to a method, system, device and storage medium for acquiring ticket data through active and passive combination, which reduces the workload of active query and improves the update frequency of cached data. Background technique [0002] As an Internet application, the travel platform has a large number of airlines for online sales, and the sales prices of different airlines for the same route may also vary greatly. The travel platform obtains the sales data of airline companies, usually through the user’s instant search. For example, when the user logs in to the platform’s webpage or mobile application and submits a query request, the platform obtains the sales data of airline companies through multiple systems and through multiple gateway routes. Sales data for company systems. This instant access method is triggered by online users. Online users query based on informati...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30G06Q50/14
CPCG06F16/951G06Q50/14
Inventor 杨秦旭孟鸿志黄亮代作雄
Owner CTRIP TRAVEL NETWORK TECH SHANGHAI0
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products