The invention discloses an international air ticket price prediction method. The method includes: accumulating the ticket price of the flights inquired by the users on the N days before the current date; calculating the average value of the historical ticket price of the flights on the take-off date; calculating the influencing factors of the number of days from the current date to the take-off date on the ticket price; calculating the influencing factors of the destination environment on the ticket price; calculating the influencing factors of the take-off date for the off season or peak season on the tick The predicted fare from the historical fare of the previous N days plus the weighted sum of the aforementioned influencing factors can obtain the predicted fare of the flights on the departure date inquired by the user on the current date. On the basis of predicting the historical fare, the invention also considers the influence of various factors such as the distance between the current date and the take-off date on the fare, improves the prediction accuracy, saves the decision-making time of the user when purchasing the ticket, and improves the user experience.
【技术实现步骤摘要】
一种国际机票价格预测方法
本专利技术属于机票查询预测
,具体涉及一种国际机票价格预测方法。
技术介绍
目前,全球机票预订网站可以根据用户的搜索请求,触发航司或供应商接口(触发接口指的是向某个机票供应商发起http请求,请求参数包括出发城市、到达城市、出发日期)获得某条航线当天购买的机票价格。如果用户想要购买节假日出行最实惠的价格需要在多个互联网机票OTA(OnlineTravelAgency)网站上进行多次横向、纵向对比和交叉性对比。横向对比是根据用户选定的航线,出发日期不固定,对比哪天出发的价格便宜;纵向对比是根据用户选定的航线,出发日期固定,对比市场上哪家OTA网站上价格最优;交叉性对比是根据用户选定航线,出发日期固定或不固定,但搜索日期或OTA网站不同(即用户连续一周乃至更长一段时间持续手动观测该航线在网站上价格的波动)自我预测未来价格走势。上述对比方法存在以下缺点:时间成本高:用户可能需要一周或更长时间才能购买到价格合适的机票;准确率低:用户依据自己每天的搜索所得价格只能粗略的估计未来的价格走势,可信度很低;资源浪费(OTA网站角度):用户的一次购买行为背后是上百次的接口请求,而接口的请求是收费的以及网络带宽的成本。
技术实现思路
为了解决现有技术中存在的上述问题,本专利技术提出一种国际机票价格预测方法。为实现上述目的,本专利技术采用如下技术方案:一种国际机票价格预测方法,包括以下步骤:步骤1,积累当前日期前N天用户所查询航班在起飞日期的票价:X0,X1,…,XN-1,N为大于1的整数;步骤2,计算所述航班在起飞日期的历史票价的平均值AVG;步骤 ...
【技术保护点】
1.一种国际机票价格预测方法,其特征在于,包括以下步骤:步骤1,积累当前日期前N天用户所查询航班在起飞日期的票价:X0,X1,…,XN‑1,N为大于1的整数;步骤2,计算所述航班在起飞日期的历史票价的平均值AVG;步骤3,计算当前日期距离起飞日期的天数对票价的影响因子DAY;步骤4,计算目的地环境对票价的影响因子ENV,所述环境是指影响票价的人文事件和自然事件;步骤5,计算起飞日期为出游淡季或旺季对票价的影响因子TIME,淡季的TIME小于0,旺季的TIME大于0;步骤6,根据(1)式预测所述航班在起飞日期的票价P:P=XN+k1×AVG+k2×DAY+k3×ENV+k4×TIME (1)其中,XN为根据X0~XN‑1预测得到的票价,k1、k2、k3和k4分别为AVG、DAY、ENV和TIME的权重,k1+k2+k3+k4=1。
【技术特征摘要】
1.一种国际机票价格预测方法,其特征在于,包括以下步骤:步骤1,积累当前日期前N天用户所查询航班在起飞日期的票价:X0,X1,…,XN-1,N为大于1的整数;步骤2,计算所述航班在起飞日期的历史票价的平均值AVG;步骤3,计算当前日期距离起飞日期的天数对票价的影响因子DAY;步骤4,计算目的地环境对票价的影响因子ENV,所述环境是指影响票价的人文事件和自然事件;步骤5,计算起飞日期为出游淡季或旺季对票价的影响因子TIME,淡季的TIME小于0,旺季的TIME大于0;步骤6,根据(1)式预测所述航班在起飞日期的票价P:P=XN+k1×AVG+k2×DAY+k3×ENV+k4×TIME(1)其中,XN为根据X0~XN-1预测得到的票价,k1、k2、k3和k4分别为AVG、DAY、ENV和TIME的权重,k1+k2+k3+k4=1。2.根据权利要求1所述的国际机票价格预测方法,其特征在于,3.根据权利要求1所述的国际机票价格预测方法,其特征在于,所述ENV的计算方法包括:利用网...
【专利技术属性】
技术研发人员:白晶磊,邹延迪,李尚锦,
申请(专利权)人:深圳市活力天汇科技股份有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。