CN104794191B - A kind of method and apparatus for air ticket data update - Google Patents

A kind of method and apparatus for air ticket data update Download PDF

Info

Publication number
CN104794191B
CN104794191B CN201510181265.0A CN201510181265A CN104794191B CN 104794191 B CN104794191 B CN 104794191B CN 201510181265 A CN201510181265 A CN 201510181265A CN 104794191 B CN104794191 B CN 104794191B
Authority
CN
China
Prior art keywords
air ticket
ticket data
time
course line
target pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510181265.0A
Other languages
Chinese (zh)
Other versions
CN104794191A (en
Inventor
唐敏
张军杰
雷雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201510181265.0A priority Critical patent/CN104794191B/en
Publication of CN104794191A publication Critical patent/CN104794191A/en
Application granted granted Critical
Publication of CN104794191B publication Critical patent/CN104794191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

The invention discloses a kind of method for air ticket data update, including:When receiving air ticket data inquiry request, course line title and the departure date of air ticket are recorded;Number is queried based on each course line in the first scheduled duration, all course lines are ranked up, obtain course line temperature ranking;Based on course line temperature ranking, temperature COEFFICIENT K=(10 × R)/U of target pattern is calculated;Wherein, R is ranking of the target pattern in the temperature ranking of course line, and U is that target pattern is queried number in the second scheduled duration;Temperature coefficient based on target pattern, calculates the 3rd duration T=8+5 (n 1) K, the cache-time using T as the air ticket data of target pattern;Wherein, n is departure date and the difference of current date of target pattern.It can optimize air ticket Data renewal mechanism using the present invention.

Description

A kind of method and apparatus for air ticket data update
Technical field
The present invention relates to technical field of data processing, and in particular to a kind of method and apparatus for air ticket data update.
Background technology
Currently, users can obtain plane ticket booking service by website, mobile phone, phone etc..When user wants to subscribe Flight Information is usually first inquired about during air ticket on related web site, user inputs departure place, destination in Website page and sets out The Query Informations such as date, then click on inquiry button triggering inquiry request.Web station system backstage according to the inquiry request of user and Query Information transfers air ticket data feedback to user from system cache server, and ticket information is shown on Website page, is such as navigated Class number, departure place, destination, landing time of taking off, ticket price etc., user continue operation and complete plane ticket booking.If user Inquiry opportunity ticket data has failed, then available air ticket data are not present in cache server, and user needs continuous refresh page, Waiting system is to air ticket data update.
On the renewal of air ticket data, the product features based on air ticket commodity have the characteristics that real-time, reservation system System is persistently updated air ticket data, the feelings such as price movement or ticketing completion will likely occurs in different time inquiry air ticket Condition.Common air ticket system updates air ticket data by directly data cached mode, and air ticket system directly puts inquiry data Enter in caching, cache-time is set as a fixed time interval.There are a kind of popular course data of differentiation and unexpected winner boat Popular course data cache-time and unexpected winner course data cache-time are arranged to not by the cache way of line number evidence, air ticket system Together, for example Beijing-Shanghai is popular course line, and Mount Huang-Hangzhou is unexpected winner course line, and cache-time is respectively 3 minutes and 10 minutes, is delayed Deposit the time and use up the failure of opportunity ticket data, carry out data update next time.This update scheme mechanism is single, less in visit capacity When there are system resource waste, and system load is heavier when visit capacity is larger, and response speed is slow, and user experience is bad, especially Concentrate the period increased that corrupt data easily occurs in visit capacity.
The content of the invention
In view of this, the present invention proposes a kind of method and apparatus for air ticket data update, introduces the temperature system in course line Number concept, optimizes the real-time and correctness of air ticket data update.
On the one hand, the present invention provides a kind of method for air ticket data update, including:When receiving air ticket data query During request, course line title and the departure date of air ticket are recorded;Number is queried based on each course line in the first scheduled duration, it is right All course lines are ranked up, and obtain course line temperature ranking;Based on course line temperature ranking, calculate the temperature COEFFICIENT K of target pattern= (10×R)/U;Wherein, R is ranking of the target pattern in the temperature ranking of course line, and U is target pattern in the second scheduled duration It is queried number;Temperature coefficient based on target pattern, calculates the 3rd duration T=(8+5 (n-1)) K, using T as target pattern Air ticket data cache-time;Wherein, n is departure date and the difference of current date of target pattern, in units of day.
Preferably, wherein being periodically turned on the renewal to target pattern air ticket data buffer storage time T.
Preferably, wherein the initial time of the first scheduled duration is t1, finish time t2, t2 is earlier than current time.
Preferably, wherein t2 and current time be separated by least 0.5 it is small when.
Preferably, wherein the initial time of the second scheduled duration is t3, finish time t4, it is small that (t4-t3) is less than or equal to 2 When.
Preferably, wherein t3 is the integral point moment started some hour, and t4 is the integral point moment terminated some hour, and is worked as The preceding moment is later than t3 and earlier than t4.
On the other hand, the present invention also provides a kind of device for air ticket data update, including:Ticket information reception is handled Module, for when receiving air ticket data inquiry request, recording course line title and the departure date of air ticket;Course line sequence processing Module, for being queried number based on each course line in the first scheduled duration, is ranked up all course lines, obtains course line heat Spend ranking;Course line temperature coefficients calculation block, for based on course line temperature ranking, calculating temperature COEFFICIENT K=(10 of target pattern ×R)/U;Wherein, R is ranking of the target pattern in the temperature ranking of course line, and U is that target pattern is looked into the second scheduled duration Ask number;Cache-time computing module, for the temperature coefficient based on target pattern, calculates the 3rd duration T=(8+5 (n-1)) K, the cache-time using T as the air ticket data of target pattern;Wherein, n is departure date and the current date of target pattern Difference, in units of day.
Another further aspect, the present invention also provides a kind of method for air ticket data update, including:When receiving air ticket data During inquiry request, the course line title of the inquired about air ticket of record and departure date;Judge that inquired about air ticket data whether there is In cache server, wherein, if it does, by air ticket data feedback to issuer, and update the cache-time T of air ticket data; If it does not, ask air ticket data to air ticket data providing;Cache server is stored in after air ticket data are received, by machine Ticket data feeds back to issuer, and updates the cache-time T of air ticket data;Wherein, based on the following formula renewal air ticket data Cache-time T=(8+5 (n-1)) K, wherein, K=(10 × R)/U is the temperature coefficient in the corresponding course line of air ticket inquired about, R For ranking of the course line in the temperature ranking of course line, wherein being queried number to institute based on each course line in the first scheduled duration There is course line to be ranked up, obtain course line temperature ranking;U is queried number for the interior course line of the second scheduled duration;N is air ticket Departure date and the difference of current date, in units of day.
Beneficial effect:It is useful to not only allow for institute during the definite air ticket data buffer storage time for the embodiment of the present invention Queries and specific Query Information of the family to all course lines, it is also contemplated that the Query Information in wall scroll course line, by various factors The construction and integration computation model of air ticket data buffer storage time.The present invention takes into account the accuracy and real-time of data, in certain journey Network resources waste is avoided on degree, the operating cost of nash-equilibrium business and supplier etc. can be reduced.
Brief description of the drawings
Fig. 1 is the method flow diagram for air ticket data update of the embodiment of the present invention.
Fig. 2 is the method flow diagram for air ticket data update of another embodiment of the present invention.
Fig. 3 is the structure drawing of device for air ticket data update of the embodiment of the present invention.
Fig. 4 is the structure drawing of device for air ticket data update of another embodiment of the present invention.
Embodiment
Below in conjunction with attached drawing and specific embodiment, technical scheme is described in detail.
Fig. 1 shows that the embodiment of the present invention is used for the method flow block diagram of air ticket data update, including:
When receiving air ticket data inquiry request, course line title and the departure date of air ticket are recorded;
Number is queried based on each course line in certain longer period, all course lines are ranked up, obtains course line heat Spend ranking;
Based on course line temperature ranking, temperature COEFFICIENT K=(10 × R)/U of target pattern is calculated;Wherein, R is target pattern Ranking in the temperature ranking of course line, U are that target pattern is queried number in certain shorter time period;
Temperature coefficient based on target pattern, calculates time T=(8+5 (n-1)) K, the air ticket number using T as target pattern According to cache-time;Wherein, n is departure date and the difference of current date of target pattern, in units of day.
In practical application scene, Flight Information is first usually inquired about on related web site when user wants to make a reservation, The Query Informations such as Website page input departure place, destination and departure date, click on inquiry button triggering inquiry request;According to upper Embodiment is stated, the background processing module or server of airline reservation system by this inquiry request and can be looked into by configuration The information of inquiry is all recorded, through after a while (such as 12 it is small when, 24 it is small when, 30 it is small when, it is either shorter or longer) Afterwards, number arrangement " course line temperature ranking " can be queried according to each course line, i.e., by inquiry times from more to less to all Course line is sorted, and in the top belongs to popular course line (such as Beijing-Shanghai), rank behind to belong to unexpected winner course line (such as yellow Mountain-Hangzhou).
After " course line temperature ranking " is obtained, " temperature coefficient " can be calculated to wherein each bar course line according to formula (1):
K=(10 × R)/U (1)
Wherein, K is the temperature coefficient in course line, and R is ranking of the course line in temperature ranking, and U is course line in predetermined amount of time Be queried number.
Then, according to formula (2) computer ticket data cache-time T:
T=(8+5 (n-1)) K (2)
Wherein, the departure date needed when n is and is queried course line the last time and the difference of current date, using day to be single Position.Such as the last user inquires about the same day ticket information in certain course line, then n=0.
For example, the temperature coefficient in Beijing-Wuhan is calculated, on the basis of the time t being queried by the course line the last time, Assuming that according to inquiry PV (Page View, page views) of the past 24 when small obtain the course line temperature ranking be the 5th, That is R=5;And inquiry PV of the course line within nearest 2 hours (also can be longer or shorter) is 1000 times, i.e. U=1000, Temperature COEFFICIENT K=the 50/1000=0.05 in Beijing-Wuhan course line can be obtained, and assumes n=1, the value of K and n is substituted into formula (2) The air ticket data buffer storage time T in Beijing-Wuhan course line can be calculated, unit is minute.Assuming that T=0.4 is calculated, mean It is suitable the cache-time of Beijing in airline reservation system-Wuhan airline ticket data being arranged to 0.4min.
In practical applications, airplane ticket reservation system can be made periodically to perform above-mentioned calculating process to each bar course line, it is right The out-of-service time T of airline ticket data is updated, and realizes the dynamic adjustment of cache-time T.Further, timing can be set to appoint Business performs the active cache of air ticket data, every course line (such as heat n first in T minutes active inquiry course line temperature rankings Door course line), carry out data cached renewal.Plane ticket booking in view of most of user is accustomed to, and data cached object can be current Data (including same day) after date in three days.
It is appreciated that the embodiment of the present invention during the definite air ticket data buffer storage time, not only allow for institute it is useful Queries and specific Query Information of the family to all course lines, it is also contemplated that wall scroll course line is queried situation (departure place, purpose Ground, departure date etc.), by the way that various factors are integrated, the calculation formula of air ticket data buffer storage time is constructed, according to this The scheme of inventive embodiments determines the cache-time of air ticket data, when user's queried access amount is more (such as tourist season), system The air ticket data buffer storage time is short, and data update is fast, otherwise when user's queried access amount is few (such as off-season), air ticket data buffer storage Time is grown, and data update is slow, can avoid network resources waste to a certain extent, reduces the fortune of nash-equilibrium business and supplier etc. Row cost.The embodiment of the present invention broken in the past by rule of thumb, impression be manually set cache-time way, data can be taken into account Accuracy and real-time, to information such as the more structurally sound ticket price of user feedback, air ticket surpluses.
In certain embodiments of the present invention, when calculating course line temperature ranking, all boats in special time period need to be obtained Line is queried number (such as inquiry PV of user), since data are to be stored according to hour for unit, can choose over 24 small When in inquiry PV;Preferably, certain time first can also be pushed back based on current time, then extract 24 it is small when in inquiry PV, Such as current time is on March 6 15:30, then push back 0.5 it is small when, extract on March 5 15:On the 00-3 months 6 15:Inquiry between 00 PV, can just get the partial data of one day.
In certain embodiments of the present invention, determine some course line within a predetermined period of time when being queried number U, As it was previously stated, the inquiry PV in nearest 2 hours can be chosen;Preferably, 2 hours between the integral point moment are chosen, and it is non-straight 2 hours of retrospect are connect, for example, current time is on March 6 15:30, then choose on March 6 14:00-16:Inquiry PV between 00, Current system visit capacity situation can be gone out with accurate feedback.
In certain embodiments of the present invention, bubble sort (Bubble Sort) algorithm can be used to calculate course line temperature row Name.It is briefly discussed below on Bubble Sort Algorithm:First, the size of first element and second element is compared, if the One element is more than second element, exchanges both positions;Then, more current second element and the 3rd element is big It is small, if second element is more than the 3rd element, exchange both positions;It is above-mentioned to being repeated afterwards per a pair of of adjacent element Operation, until last is to element.Last element of bubble sort should be maximum.
Such as Fig. 2, the embodiment of the present invention may be arranged as the meter of the startup cache-time when user triggers air ticket inquiry Calculate and update.From the point of view of specific, when system receives the air ticket data inquiry request of user, on the one hand ticket information can be recorded Get off, that is, user often triggers one query, system can record the inquiry Flight Information of user, departure time information etc., and One query record is recorded, is stored in cache server, for calculating course line temperature ranking in real time.On the other hand, it is defeated according to user The Query Information entered, system judges that the air ticket data of the user's inquiry whether there is in cache server, if it does, explanation number According to effective, by data feedback to user, and cache-time T is updated;Lost if it does not, explanation is data cached Effect, then need to ask air ticket data to supplier, and calculates new cache-time T and be updated.Multithreading can be used in practice Mode sends request of data to multiple businessmans, and each businessman distributes a thread, caching is put into after returned data, by data feedback To user.Wherein, no matter whether current cache data effective, the embodiment of the present invention all to cache-time T carry out calculate and more Newly, calculation such as formula (2), each meaning of parameters are constant.
The renewal of course line out-of-service time T is triggered in Fig. 2 embodiments with the inquiry request of user, can further improve data Accuracy and real-time.
In certain embodiments of the present invention, first 3 of course line temperature ranking are obtained according to inquiry PV of the past 24 when small It is respectively:Beijing-Shanghai, Beijing-Shenzhen and Shanghai-Chengdu;Visit capacity of this three course lines in nearest 2 hours be respectively 1000,800 and 600;Obtaining corresponding temperature coefficient is respectively:10/1000=0.01 20/800=0.025 and 30/600= 0.05;Three course line departure dates are all that the inquiry same day i.e. n=0, the cache-time T being finally calculated are respectively:(8+5(0- 1)) 0.01=0.03, (8+5 (0-1)) 0.025=0.075 and (8+5 (0-1)) 0.05=0.15, unit minute.
With Fig. 1 embodiments accordingly, the present invention also provides a kind of device for air ticket data update, such as Fig. 3, it is wrapped Include:
Ticket information receiving processing module 11, for after air ticket data inquiry request is received, recording the course line of air ticket Title and departure date;
Sort processing module 12 in course line, for being queried number based on each course line in the first scheduled duration, to all Course line is ranked up, and obtains course line temperature ranking;
Course line temperature coefficients calculation block 13, for based on course line temperature ranking, calculate the temperature COEFFICIENT K of target pattern= (10×R)/U;Wherein, R is ranking of the target pattern in the temperature ranking of course line, and U is target pattern in the second scheduled duration It is queried number;
Cache-time computing module 14, for the temperature coefficient based on target pattern, calculates the 3rd duration T=(8+5 (n- 1)) K, the cache-time using T as the air ticket data of target pattern;Wherein, n is departure date and the current date of target pattern Difference, in units of day.
In addition, with Fig. 2 embodiments accordingly, the present invention also provides a kind of device for air ticket data update, such as scheme 4, it includes:
Inquiry request processing module 21, after receiving air ticket data inquiry request, the boat of the inquired about air ticket of record Line title and departure date;
Judging treatmenting module 22, for judging, enquiry machine ticket data whether there is in cache server;
Feedback processing modules 23, for when the air ticket data are present in cache server, air ticket data feedback to be looked into Inquiry side, and start the renewal to air ticket data buffer storage time T;
Air ticket data request processing module 24, for when the air ticket data are not present in cache server, to air ticket number Air ticket data are asked according to provider, cache server is stored in after receiving air ticket data, by air ticket data feedback to issuer, and Start the renewal to air ticket data buffer storage time T;
Cache-time update module 25, for the cache-time T based on following formula renewal air ticket data;
T=(8+5 (n-1)) K
Wherein, K=(10 × R)/U is the temperature coefficient in the corresponding course line of air ticket inquired about, and R is the course line in course line heat The ranking in ranking is spent, wherein the number that is queried based on each course line in the first scheduled duration is ranked up all course lines, Obtain course line temperature ranking;U is queried number for the interior course line of the second scheduled duration;N be air ticket departure date with it is current The difference on date, in units of day.
More than, technical scheme is described in detail in conjunction with specific embodiments, described specific implementation Example is used to help understand the thought of the present invention.The derivation that those skilled in the art make on the basis of the specific embodiment of the invention Fallen within modification within the scope of the present invention.

Claims (22)

  1. A kind of 1. method for air ticket data update, it is characterised in that including:
    After receiving air ticket data inquiry request, course line title and the departure date of air ticket are recorded;
    Number is queried based on each course line in the first scheduled duration, all course lines are ranked up, obtains course line temperature row Name;
    Based on course line temperature ranking, temperature COEFFICIENT K=(10 × R)/U of target pattern is calculated;Wherein, R is navigating for target pattern Ranking in line temperature ranking, U are that target pattern is queried number in the second scheduled duration;
    Temperature coefficient based on target pattern, calculates the 3rd duration T=(8+5 (n-1)) K, the air ticket number using T as target pattern According to cache-time, in units of minute;Wherein, n is departure date and the difference of current date of target pattern, using day to be single Position.
  2. 2. it is used for the method for air ticket data update as claimed in claim 1, it is characterised in that be wherein periodically turned on to mesh The renewal of plot a course air ticket data buffer storage time T.
  3. 3. it is used for the method for air ticket data update as claimed in claim 1, it is characterised in that wherein the first scheduled duration rises Moment beginning is t1, and finish time t2, t2 is earlier than current time.
  4. 4. it is used for the method for air ticket data update as claimed in claim 3, it is characterised in that wherein t2 is separated by with current time At least 0.5 it is small when.
  5. 5. the method for air ticket data update as any one of claim 1-4, it is characterised in that wherein second is pre- The long initial time of timing is t3, finish time t4, when (t4-t3) is small less than or equal to 2.
  6. 6. it is used for the method for air ticket data update as claimed in claim 5, it is characterised in that wherein t3 starts for some hour The integral point moment, t4 be some hour terminate the integral point moment, and current time be later than t3 and earlier than t4.
  7. A kind of 7. device for air ticket data update, it is characterised in that including:
    Ticket information receiving processing module, for after air ticket data inquiry request is received, record air ticket course line title and Departure date;
    Sort processing module in course line, for being queried number based on each course line in the first scheduled duration, to all course lines into Row sequence, obtains course line temperature ranking;
    Course line temperature coefficients calculation block, for based on course line temperature ranking, calculate the temperature COEFFICIENT K of target pattern=(10 × R)/U;Wherein, R is ranking of the target pattern in the temperature ranking of course line, and U is that target pattern is queried in the second scheduled duration Number;
    Cache-time computing module, for the temperature coefficient based on target pattern, calculates the 3rd duration T=(8+5 (n-1)) K, will Cache-times of the T as the air ticket data of target pattern, in units of minute;Wherein, n is the departure date of target pattern with working as The difference on preceding date, in units of day.
  8. 8. it is used for the device of air ticket data update as claimed in claim 7, it is characterised in that further include:Trigger control module, For being periodically turned on the renewal to target pattern air ticket data buffer storage time T.
  9. 9. it is used for the device of air ticket data update as claimed in claim 7, it is characterised in that wherein the first scheduled duration rises Moment beginning is t1, and finish time t2, t2 is earlier than current time.
  10. 10. it is used for the device of air ticket data update as claimed in claim 9, it is characterised in that wherein t2 and current time phase When at least 0.5 is small.
  11. 11. the device for air ticket data update as any one of claim 7-10, it is characterised in that wherein second The initial time of scheduled duration is t3, finish time t4, when (t4-t3) is small less than or equal to 2.
  12. 12. it is used for the device of air ticket data update as claimed in claim 11, it is characterised in that wherein t3 opens for some hour The integral point moment of beginning, the integral point moment that t4 terminates for some hour, and current time are later than t3 and earlier than t4.
  13. A kind of 13. method for air ticket data update, it is characterised in that including:
    After receiving air ticket data inquiry request, the course line title of the inquired about air ticket of record and departure date;
    Judge that inquired about air ticket data whether there is in cache server, wherein,
    If it does, by air ticket data feedback to issuer, and update the cache-time T of air ticket data;
    If it does not, ask air ticket data to air ticket data providing;Cache server is stored in after air ticket data are received, By air ticket data feedback to issuer, and update the cache-time T of air ticket data;
    Wherein, the cache-time T based on the following formula renewal air ticket data, in units of minute:
    T=(8+5 (n-1)) K
    Wherein, K=(10 × R)/U is the temperature coefficient in the corresponding course line of air ticket inquired about, and R arranges for the course line in course line temperature Ranking in name, wherein the number that is queried based on each course line in the first scheduled duration is ranked up all course lines, obtains Course line temperature ranking;U is queried number for the interior course line of the second scheduled duration;N is departure date and the current date of air ticket Difference, in units of day.
  14. 14. it is used for the method for air ticket data update as claimed in claim 13, it is characterised in that wherein the first scheduled duration Initial time is t1, finish time t2, at the time of t2 is earlier than the air ticket data inquiry request is received.
  15. 15. it is used for the method for air ticket data update as claimed in claim 14, it is characterised in that wherein t2 is described with receiving Be separated by the time of air ticket data inquiry request at least 0.5 it is small when.
  16. 16. the method for air ticket data update as any one of claim 13-15, it is characterised in that wherein The initial time of two scheduled durations is t3, finish time t4, when (t4-t3) is small less than or equal to 2.
  17. 17. it is used for the method for air ticket data update as claimed in claim 16, it is characterised in that wherein t3 opens for some hour The integral point moment of beginning, t4 are the integral point moment terminated some hour, and evening at the time of receive the air ticket data inquiry request In t3 and earlier than t4.
  18. A kind of 18. device for air ticket data update, it is characterised in that including:
    Inquiry request processing module, for when receiving air ticket data inquiry request, recording the course line name of inquired about air ticket Title and departure date;
    Judging treatmenting module, for judging that inquired about air ticket data whether there is in cache server;
    Feedback processing modules, for when the air ticket data are present in cache server, by air ticket data feedback to issuer, and Start the renewal to air ticket data buffer storage time T;
    Air ticket data request processing module, for when the air ticket data are not present in cache server, being provided to air ticket data Side's request air ticket data, are stored in cache server after air ticket data are received, by air ticket data feedback to issuer, and start Renewal to air ticket data buffer storage time T;
    Cache-time update module, for the cache-time T based on the following formula renewal air ticket data, in units of minute;
    T=(8+5 (n-1)) K
    Wherein, K=(10 × R)/U is the temperature coefficient in the corresponding course line of air ticket inquired about, and R arranges for the course line in course line temperature Ranking in name, wherein the number that is queried based on each course line in the first scheduled duration is ranked up all course lines, obtains Course line temperature ranking;U is queried number for the interior course line of the second scheduled duration;N is departure date and the current date of air ticket Difference, in units of day.
  19. 19. it is used for the device of air ticket data update as claimed in claim 18, it is characterised in that wherein the first scheduled duration Initial time is t1, finish time t2, at the time of t2 is earlier than the air ticket data inquiry request is received.
  20. 20. it is used for the device of air ticket data update as claimed in claim 19, it is characterised in that wherein t2 is described with receiving Be separated by the time of air ticket data inquiry request at least 0.5 it is small when.
  21. 21. the device for air ticket data update as any one of claim 18-20, it is characterised in that wherein The initial time of two scheduled durations is t3, finish time t4, when (t4-t3) is small less than or equal to 2.
  22. 22. it is used for the device of air ticket data update as claimed in claim 21, it is characterised in that wherein t3 opens for some hour The integral point moment of beginning, t4 are the integral point moment terminated some hour, and evening at the time of receive the air ticket data inquiry request In t3 and earlier than t4.
CN201510181265.0A 2015-04-16 2015-04-16 A kind of method and apparatus for air ticket data update Active CN104794191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510181265.0A CN104794191B (en) 2015-04-16 2015-04-16 A kind of method and apparatus for air ticket data update

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510181265.0A CN104794191B (en) 2015-04-16 2015-04-16 A kind of method and apparatus for air ticket data update

Publications (2)

Publication Number Publication Date
CN104794191A CN104794191A (en) 2015-07-22
CN104794191B true CN104794191B (en) 2018-05-15

Family

ID=53558983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510181265.0A Active CN104794191B (en) 2015-04-16 2015-04-16 A kind of method and apparatus for air ticket data update

Country Status (1)

Country Link
CN (1) CN104794191B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105741070B (en) * 2016-04-18 2019-03-12 深圳马可孛罗科技有限公司 A kind of method of the quick difference update storage of the real-time freight space freight rate result data of magnanimity
CN107885743A (en) * 2016-09-29 2018-04-06 南京途牛科技有限公司 Position querying method more than a kind of flight based on caching
CN107948230B (en) * 2016-10-13 2021-07-30 北京京东尚科信息技术有限公司 Method and device for determining cache time of data from server
CN107169592B (en) * 2017-04-24 2021-03-23 北京趣拿软件科技有限公司 Method and device for prompting information
CN107301215B (en) * 2017-06-09 2020-12-18 北京奇艺世纪科技有限公司 Search result caching method and device and search method and device
CN107291901A (en) * 2017-06-23 2017-10-24 携程旅游网络技术(上海)有限公司 Main passive combination obtains method, system, equipment and the storage medium of air ticket data
CN107944000B (en) * 2017-12-05 2021-02-09 携程旅游网络技术(上海)有限公司 Flight freight rate updating method and device, electronic equipment and storage medium
CN109102364A (en) * 2018-08-06 2018-12-28 海南好拼网络科技有限公司 Air ticket supply management system and air ticket supplies management method based on the network platform
CN110866206B (en) * 2018-08-27 2023-04-18 阿里巴巴集团控股有限公司 Data update setting method and device
CN109961323B (en) * 2019-03-19 2023-07-18 深圳市活力天汇科技股份有限公司 Flight fuel cost real-time updating method
CN112434067A (en) * 2020-11-24 2021-03-02 携程旅游网络技术(上海)有限公司 Method, system, equipment and medium for processing cache data of international freight rate
CN112783908A (en) * 2021-01-04 2021-05-11 重庆周游科技有限公司 Efficient machine ticket data caching method
CN113377554B (en) * 2021-06-24 2024-03-05 携程旅游信息技术(上海)有限公司 Caching method, caching system, caching equipment and caching storage medium for air ticket price

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6505230B1 (en) * 1999-05-14 2003-01-07 Pivia, Inc. Client-server independent intermediary mechanism
CN101458706B (en) * 2008-11-11 2012-06-27 全旅通(北京)信息服务有限公司 Method and system for precisely enquiring GDS flight caching data
CN102467685A (en) * 2010-11-12 2012-05-23 康佳集团股份有限公司 Information system for inquiring and booking flight ticket on desktop
CN103729353B (en) * 2012-10-10 2017-05-31 阿里巴巴集团控股有限公司 The searching method and server of ticket information
CN104102669A (en) * 2013-04-12 2014-10-15 同程网络科技股份有限公司 Method for checking air ticket

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于时间序列的机票价格预测模型;顾兆军 等;《中国民航大学学报》;20130430;第31卷(第2期);第80-84页 *

Also Published As

Publication number Publication date
CN104794191A (en) 2015-07-22

Similar Documents

Publication Publication Date Title
CN104794191B (en) A kind of method and apparatus for air ticket data update
CN105139505B (en) The non-timed reservation remote queue method and system that a kind of banking is handled
US20060149713A1 (en) System, method, and computer program product for improving accuracy of cache-based searches
EP2842085B1 (en) Database system using batch-oriented computation
TWI466057B (en) Feed apparatus, information providing method, information providing program product, and recording medium
Hwang et al. An effective taxi recommender system based on a spatio-temporal factor analysis model
CN104471573B (en) Update the database query result of cache
US7231382B2 (en) System and method for receiving and loading fare and schedule data
US11321660B2 (en) Visit management system, program, and visit management method
US20130073586A1 (en) Database system using batch-oriented computation
CN107291901A (en) Main passive combination obtains method, system, equipment and the storage medium of air ticket data
US20040249682A1 (en) Filling a query cache for travel planning
US20130290324A1 (en) Categorizing and ranking travel-related database query results
CN103597503A (en) Method and system for a pre-shopping reservation system with increased search efficiency
US20150178823A1 (en) Information processing system, information processing method, information processing apparatus, and control method and control program of information processing apparatus
WO2005001718A1 (en) Query caching for travel planning systems
EP1357497A1 (en) Stock planning method
CN108009642A (en) Distributed machines learning method and system
CN103546583A (en) Group intellectual perception system and group intellectual perception method
O’Keeffe et al. Using reinforcement learning to minimize taxi idle times
CN109783545A (en) A kind of air ticket real-time recommendation method
CN105741070B (en) A kind of method of the quick difference update storage of the real-time freight space freight rate result data of magnanimity
CN112215453A (en) Inventory information processing method and device, electronic equipment and storage medium
CN111339122A (en) Active caching method of travel platform, travel query method and related products
CN106657238A (en) Interactive-workload-oriented data center coarse-grained dynamic server reservation algorithm

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant