CN114511122A - Dynamic adjustment method, system, device and storage medium for air ticket reservation - Google Patents
Dynamic adjustment method, system, device and storage medium for air ticket reservation Download PDFInfo
- Publication number
- CN114511122A CN114511122A CN202210107720.2A CN202210107720A CN114511122A CN 114511122 A CN114511122 A CN 114511122A CN 202210107720 A CN202210107720 A CN 202210107720A CN 114511122 A CN114511122 A CN 114511122A
- Authority
- CN
- China
- Prior art keywords
- sale
- prohibition
- entity
- forbidden
- data
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/02—Reservations, e.g. for tickets, services or events
- G06Q10/025—Coordination of plural reservations, e.g. plural trip segments, transportation combined with accommodation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06312—Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/40—Business processes related to the transportation industry
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Tourism & Hospitality (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Development Economics (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Educational Administration (AREA)
- Primary Health Care (AREA)
- Game Theory and Decision Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明涉及交互式操作领域,具体地说,涉及机票预订的动态调整方法、系统、设备及存储介质。The present invention relates to the field of interactive operation, in particular, to a method, system, device and storage medium for dynamic adjustment of air ticket reservation.
背景技术Background technique
用户订购国际机票,订前过程主要经历五个页面,指定查询条件的查询页,输入乘客信息的填写页,选购附加产品或服务的增值页,支付费用款项的支付页,确认订单详情的完成页。用户在查询页指定行程类型,出发目的地,日期,舱等,乘客类型等查询参数后,系统为用户向各个报价体系发起搜索,归并结果并展示给用户。用户浏览报价列表后,综合航路,报价,退改,行李,辅营产品等多个因素,选择心仪航组,启动预定流程。每个页面,后台都会发起一些关键校验,帮助用户更好地确认行程。例如,用户进入填写页,后台会发起可订校验(Bookability),包含运价校验(Fare Validation),舱位校验(AvailabilityValidation)两个部分。运价校验用于验证引擎报价时的运价计算和税项计算等是否正确,舱位校验用于验证报价时的舱位获取是否准确。又例如用户在增值页,后台会发起订位操作,向全球分销系统GDS(Global Distribution System)发起保留座位的申请,GDS同时会向航司订座系统CRS(Central Reservation System)发起请求。这个过程,航司进行乘客,行程等各项信息校验,其中最重要的是关于GDS的舱位数据和航司舱位一致性的校验。如果这些关键校验失败,会有类似“价格不可用”,“舱位售罄”的前端拦截提示,预定体验不顺畅,引起用户不满。用户往往不能有效区分外部因素或是Trip因素导致的拦截,甚至会引发所谓“越点越贵“,“大数据杀熟”的误会。可见,一个可靠的报价系统,需要在成本和覆盖率的双重约束下,持续输出高质量和高稳定性的报价。When users order international air tickets, the pre-booking process mainly goes through five pages, the query page for specifying query conditions, the filling page for entering passenger information, the value-added page for purchasing additional products or services, the payment page for paying fees, and confirming the completion of the order details. Page. After the user specifies the itinerary type, departure destination, date, cabin class, passenger type and other query parameters on the query page, the system initiates a search for each quotation system for the user, merges the results and displays it to the user. After browsing the quotation list, the user selects the desired flight group and starts the booking process based on multiple factors such as route, quotation, refund and modification, baggage, and auxiliary products. On each page, some key verifications will be initiated in the background to help users better confirm the itinerary. For example, when the user enters the filling page, the background will initiate Bookability, including Fare Validation and Availability Validation. The freight rate verification is used to verify whether the freight calculation and tax calculation are correct when the engine is quoted, and the shipping space verification is used to verify whether the shipping space obtained during the quotation is accurate. For another example, when the user is on the value-added page, the background will initiate a reservation operation, and initiate an application for a reserved seat to the Global Distribution System (GDS), and the GDS will also initiate a request to the CRS (Central Reservation System) of the airline reservation system. In this process, the airline conducts the verification of various information such as passengers and itineraries, the most important of which is the verification of the GDS class data and the airline's class consistency. If these key verifications fail, there will be front-end interception prompts such as "price unavailable" and "space sold out", and the booking experience is not smooth, causing user dissatisfaction. Users often cannot effectively distinguish the interception caused by external factors or Trip factors, and even lead to the misunderstanding of the so-called "more expensive" and "big data kill". It can be seen that a reliable quotation system needs to continuously output high-quality and high-stability quotations under the dual constraints of cost and coverage.
因此,本发明提供了一种机票预订的动态调整方法、系统、设备及存储介质。Therefore, the present invention provides a dynamic adjustment method, system, device and storage medium for air ticket reservation.
发明内容SUMMARY OF THE INVENTION
针对现有技术中的问题,本发明的目的在于提供机票预订的动态调整方法、系统、设备及存储介质,克服了现有技术的困难,能够及时发现航司的票务管理缺陷并及时做出生产动态调整,提升用户预订机票的流程体验。In view of the problems in the prior art, the purpose of the present invention is to provide a dynamic adjustment method, system, equipment and storage medium for air ticket reservation, which overcomes the difficulties of the prior art, and can timely discover the ticket management defects of airlines and make production in time. Dynamic adjustment to improve the user experience in the process of booking air tickets.
本发明的实施例提供一种机票预订的动态调整方法,包括以下步骤:An embodiment of the present invention provides a dynamic adjustment method for air ticket reservation, comprising the following steps:
S110、通过决策树进行机票数据的特征提取,剪除细分的节点以获得影响可订和订位的N个特征作为重要特征,N为预设值;S110. Perform feature extraction on the air ticket data through a decision tree, and prune subdivided nodes to obtain N features that affect bookability and reservation as important features, where N is a preset value;
S120、基于上一个时间窗口的历史数据基于算法模型获得禁售实体;S120, obtaining a prohibited entity based on the algorithm model based on the historical data of the previous time window;
S130、对于每个禁售实体基于过去的若干连续时间窗口中的禁售次数获得禁售时长;S130. For each prohibited sales entity, obtain the prohibited sales duration based on the number of prohibited sales in the past several consecutive time windows;
S140、当禁售实体的通过率pass小于禁售阈值,则进入禁售;反之,则不进入禁售;S140. When the pass rate pass of the prohibited sales entity is less than the prohibited sales threshold, the sales prohibition is entered; otherwise, the prohibited sales are not entered;
S150、通过去重归并的算法获得唯一的禁售实体。S150, obtaining a unique prohibited entity through the algorithm of de-duplication and merging.
优选地,所述步骤S110中,所述重要特征包括行程类型、出发城市、出发国家、舱位销售地,订位数据仓,出票票台中的至少一种。Preferably, in the step S110, the important features include at least one of the itinerary type, departure city, departure country, cabin sales place, reservation data warehouse, and ticket issuing desk.
优选地,所述步骤S120中,包括以下步骤:Preferably, the step S120 includes the following steps:
S121、算法学习上一个时间窗口的历史数据,构造模型,应用到当前时间窗口;S121, the algorithm learns the historical data of the previous time window, constructs a model, and applies it to the current time window;
S122、选择时间窗口t,每个时间窗口等长,长度为r;S122, select a time window t, each time window has the same length, and the length is r;
S123、选择一个阶段f,可订阶段或订位阶段,基于N个特征维度作为数据列,在预设时间范围内该阶段的数据作为数据行M,构成数据矩阵,训练模型;S123, select a stage f, an orderable stage or a reservation stage, based on the N feature dimensions as the data columns, and the data of this stage within the preset time range as the data row M to form a data matrix and train the model;
S124、循环i=0:N-1,执行每一轮level i:S124, loop i=0:N-1, and execute each round of level i:
S125、在第i轮,选择i个特征,对于个特征,基于上述数据矩阵,聚合N个特征维度,分别计算总量和通过率,生成由(N-i)个明确特征和i个虚化特征构成的禁售实体。S125. In the i-th round, select i features, for Based on the above data matrix, aggregate N feature dimensions, calculate the total amount and pass rate respectively, and generate a prohibited entity composed of (Ni) clear features and i virtual features.
优选地,所述步骤S122中,随着所述时间窗口的长度r的减小,所述模型的精度增加;Preferably, in the step S122, as the length r of the time window decreases, the accuracy of the model increases;
所述步骤S124中,包括:i=0轮是最细粒度,当所述i=0轮特征下,通过率低于设定阈值,则对所述数据对象添加禁售标记。The step S124 includes: i=0 round is the most fine-grained, and when the i=0 round feature is lower than the set threshold, the data object is marked with a prohibited sale.
优选地,所述步骤S130中,包括以下步骤:Preferably, the step S130 includes the following steps:
S131、获得每一个所述禁售实体,在过去的T个连续时间窗口中的禁售状态,定义状态st=0,则不禁售;st=1,则禁售,t的取值范围是1到T;S131. Obtain the prohibited sales status of each of the prohibited sales entities in the past T consecutive time windows, and define the state st=0, which means that the sales are not prohibited; st=1, then the sales are prohibited, and the value range of t is 1 to T;
S132、定义惩罚因子计算历史窗口期中该实体被标记为禁售的次数;S132, define penalty factor Calculate the number of times the entity has been marked as banned during the historical window;
S133、定义奖励因子表示历史窗口期中该实体被连续标记为不禁售的最长长度的比例,其中,L表示历史时间窗口从t=1开始,st=0可连续的最大长度;S133. Define reward factor Represents the ratio of the longest length of the entity that is continuously marked as not banned for sale in the historical window period, where L represents the maximum length of the historical time window starting from t=1 and st=0;
S134、获得禁售时长d=(1-pass)*r*(1+max{p-b,0})。S134 , obtaining the prohibition duration d=(1-pass)*r*(1+max{p-b,0}).
优选地,所述步骤S140中,包括以下步骤:Preferably, the step S140 includes the following steps:
S141、基于混淆矩阵中真实情况和模型预测情况交叉,获得到真阴性,假阴性,假阳性和真阳性4种情况,其中,阴性对应模型不执行禁售,阳性对应模型执行禁售,真对应模型预测结果和实际情况一致,假对应模型预测结果和实际情况不一致;S141. Based on the intersection of the real situation and the model predicted situation in the confusion matrix, four situations of true negative, false negative, false positive and true positive are obtained. Among them, the negative corresponding model does not implement the ban, the positive corresponding model implements the ban, and the true corresponds to The prediction results of the model are consistent with the actual situation, and the prediction results of the pseudo-corresponding model are inconsistent with the actual situation;
S142、定义改善率为实际拦截的且进入禁售的占比,即TN/All;S142. Define the improvement rate as the proportion that is actually intercepted and banned from sales, namely TN/All;
S143、定义误禁率为实际通过的但进入禁售的占比,即FN/All;S143. Define the false ban rate as the proportion that actually passed but entered the ban, namely FN/All;
S144、根据预设步径间隔遍历所有禁售阈值,计算得到阈值下改善率与误禁率的曲线;S144, traverse all prohibition thresholds according to the preset step interval, and calculate the curve of improvement rate and false prohibition rate under the threshold;
S145、计算改善的边际效用和误禁的边际成本,找到改善率大且误禁率小的禁售阈值,认为是最有价值的禁售阈值;S145, calculate the marginal utility of improvement and the marginal cost of false prohibition, find a prohibition threshold with a large improvement rate and a small false prohibition rate, and consider it to be the most valuable prohibition threshold;
S146、将所述改善率大且误禁率小的禁售阈值作为最细粒度禁售阈值,其余各个Level的禁售阈值按所述改善率大且误禁率小的禁售阈值/N均匀步径衰减。S146. Use the ban threshold with a large improvement rate and a small false ban rate as the most fine-grained ban threshold, and the ban thresholds of other levels are equal to the ban threshold/N with a large improvement rate and a small false ban rate Step decay.
优选地,所述步骤S150中,当高Level禁售消息包含低Level禁售消息时,去除低Level禁售消息,仅保留高Level禁售消息。Preferably, in the step S150, when the high-level prohibition message includes a low-level prohibition message, the low-level prohibition message is removed, and only the high-level prohibition message is retained.
本发明的实施例还提供一种机票预订的动态调整系统,用于实现上述的机票预订的动态调整方法,所述机票预订的动态调整系统包括:An embodiment of the present invention also provides a dynamic adjustment system for air ticket reservation, which is used to realize the above-mentioned dynamic adjustment method for air ticket reservation, and the dynamic adjustment system for air ticket reservation includes:
特征提取模块,通过决策树进行机票数据的特征提取,剪除细分的节点以获得影响可订和订位的N个特征作为重要特征,N为预设值;The feature extraction module extracts the features of the air ticket data through the decision tree, and prunes the subdivided nodes to obtain N features that affect the availability and reservation as important features, and N is a preset value;
禁售实体模块,基于上一个时间窗口的历史数据基于算法模型获得禁售实体;The banned entity module, based on the historical data of the previous time window, obtains banned entities based on the algorithm model;
禁售时长模块,对于每个禁售实体基于过去的若干连续时间窗口中的禁售次数获得禁售时长;The lock-up duration module, for each lock-up entity, the lock-up time is obtained based on the number of lock-ups in several consecutive time windows in the past;
执行禁售模块,当禁售实体的通过率pass小于禁售阈值,则进入禁售;反之,则不进入禁售;Execute the prohibition module, when the pass rate pass of the prohibited entity is less than the prohibition threshold, it will enter the prohibition; otherwise, it will not enter the prohibition;
去重归并模块,通过去重归并的算法获得唯一的禁售实体。De-merge module, obtain the only banned entity through the algorithm of de-merger.
本发明的实施例还提供一种机票预订的动态调整设备,包括:Embodiments of the present invention also provide a dynamic adjustment device for air ticket reservation, including:
处理器;processor;
存储器,其中存储有所述处理器的可执行指令;a memory in which executable instructions for the processor are stored;
其中,所述处理器配置为经由执行所述可执行指令来执行上述机票预订的动态调整方法的步骤。Wherein, the processor is configured to execute the steps of the dynamic adjustment method for air ticket reservation by executing the executable instructions.
本发明的实施例还提供一种计算机可读存储介质,用于存储程序,所述程序被执行时实现上述机票预订的动态调整方法的步骤。Embodiments of the present invention further provide a computer-readable storage medium for storing a program, when the program is executed, the steps of the above-mentioned dynamic adjustment method for air ticket reservation are implemented.
本发明的目的在于提供机票预订的动态调整方法、系统、设备及存储介质,能够及时发现航司的票务管理缺陷并及时做出生产动态调整,提升用户预订机票的流程体验。The purpose of the present invention is to provide a dynamic adjustment method, system, equipment and storage medium for air ticket reservation, which can timely discover the ticket management defect of the airline company and make dynamic production adjustment in time, so as to improve the user's process experience of air ticket reservation.
附图说明Description of drawings
通过阅读参照以下附图对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显。Other features, objects and advantages of the present invention will become more apparent upon reading the detailed description of non-limiting embodiments with reference to the following drawings.
图1是本发明的机票预订的动态调整方法的流程图。FIG. 1 is a flow chart of the dynamic adjustment method of air ticket reservation of the present invention.
图2是本发明的机票预订的动态调整方法的实施过程中激进模型的示意图。FIG. 2 is a schematic diagram of a radical model in the implementation process of the dynamic adjustment method for air ticket reservation of the present invention.
图3是本发明的机票预订的动态调整方法的实施过程中保守模型的示意图。FIG. 3 is a schematic diagram of a conservative model in the implementation process of the dynamic adjustment method for air ticket reservation of the present invention.
图4是本发明的机票预订的动态调整方法的实施过程中折衷模型的示意图。FIG. 4 is a schematic diagram of a compromise model in the implementation process of the dynamic adjustment method for air ticket reservation of the present invention.
图5是本发明的机票预订的动态调整系统的模块示意图。FIG. 5 is a schematic block diagram of the dynamic adjustment system for air ticket reservation of the present invention.
图6是本发明的机票预订的动态调整设备的结构示意图。FIG. 6 is a schematic structural diagram of a dynamic adjustment device for air ticket reservation according to the present invention.
图7是本发明一实施例的计算机可读存储介质的结构示意图。FIG. 7 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
具体实施方式Detailed ways
以下通过特定的具体实例说明本申请的实施方式,本领域技术人员可由本申请所揭露的内容轻易地了解本申请的其他优点与功效。本申请还可以通过另外不同的具体实施方式加以实施或应用系统,本申请中的各项细节也可以根据不同观点与应用系统,在没有背离本申请的精神下进行各种修饰或改变。需说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The embodiments of the present application are described below through specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in the present application. The present application can also be implemented or applied to the system through other different specific embodiments, and various details in the present application can also be modified or changed according to different viewpoints and applied systems without departing from the spirit of the present application. It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other under the condition of no conflict.
下面以附图为参考,针对本申请的实施例进行详细说明,以便本申请所属技术领域的技术人员能够容易地实施。本申请可以以多种不同形态体现,并不限定于此处说明的实施例。The embodiments of the present application will be described in detail below with reference to the accompanying drawings, so that those skilled in the art to which the present application pertains can easily implement. The present application can be embodied in many different forms, and is not limited to the embodiments described herein.
在本申请的表示中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的表示意指结合该实施例或示例表示的具体特征、结构、材料或者特点包括于本申请的至少一个实施例或示例中。而且,表示的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本申请中表示的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the representations of this application, references to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., are intended to be combined with the specific features represented by the embodiment or example. , structure, material or feature is included in at least one embodiment or example of the present application. Furthermore, the particular features, structures, materials or characteristics shown may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples presented in this application, as well as the features of the different embodiments or examples, without conflicting each other.
此外,术语“第一”、“第二”仅用于表示目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或隐含地包括至少一个该特征。在本申请的表示中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the expression of this application, "plurality" means two or more, unless expressly and specifically defined otherwise.
为了明确说明本申请,省略与说明无关的器件,对于通篇说明书中相同或类似的构成要素,赋予了相同的参照符号。In order to clearly describe the present application, components irrelevant to the description are omitted, and the same or similar components are assigned the same reference numerals throughout the specification.
在通篇说明书中,当说某器件与另一器件“连接”时,这不仅包括“直接连接”的情形,也包括在其中间把其它元件置于其间而“间接连接”的情形。另外,当说某种器件“包括”某种构成要素时,只要没有特别相反的记载,则并非将其它构成要素排除在外,而是意味着可以还包括其它构成要素。Throughout the specification, when a device is said to be "connected" to another device, this includes not only the case of "direct connection" but also the case of "indirect connection" with other elements interposed therebetween. In addition, when it is said that a certain device "includes" a certain constituent element, unless there is no particular description to the contrary, it does not exclude other constituent elements, but means that other constituent elements may also be included.
当说某器件在另一器件“之上”时,这可以是直接在另一器件之上,但也可以在其之间伴随着其它器件。当对照地说某器件“直接”在另一器件“之上”时,其之间不伴随其它器件。When a device is said to be "on" another device, this can be directly on the other device, but it can also be accompanied by other devices in between. When a device is said to be "directly on" another device in contrast, there are no other devices in between.
虽然在一些实例中术语第一、第二等在本文中用来表示各种元件,但是这些元件不应当被这些术语限制。这些术语仅用来将一个元件与另一个元件进行区分。例如,第一接口及第二接口等表示。再者,如同在本文中所使用的,单数形式“一”、“一个”和“该”旨在也包括复数形式,除非上下文中有相反的指示。应当进一步理解,术语“包含”、“包括”表明存在的特征、步骤、操作、元件、组件、项目、种类、和/或组,但不排除一个或多个其他特征、步骤、操作、元件、组件、项目、种类、和/或组的存在、出现或添加。此处使用的术语“或”和“和/或”被解释为包括性的,或意味着任一个或任何组合。因此,“A、B或C”或者“A、B和/或C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A、B和C”。仅当元件、功能、步骤或操作的组合在某些方式下内在地互相排斥时,才会出现该定义的例外。Although in some instances the terms first, second, etc. are used herein to refer to various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, the first interface and the second interface, etc. are represented. Also, as used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context dictates otherwise. It should be further understood that the terms "comprising" and "comprising" indicate the presence of features, steps, operations, elements, components, items, kinds, and/or groups, but do not exclude one or more other features, steps, operations, elements, The existence, appearance or addition of components, items, categories, and/or groups. The terms "or" and "and/or" as used herein are to be construed to be inclusive or to mean any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C" . Exceptions to this definition arise only when combinations of elements, functions, steps, or operations are inherently mutually exclusive in some way.
此处使用的专业术语只用于言及特定实施例,并非意在限定本申请。此处使用的单数形态,只要语句未明确表示出与之相反的意义,那么还包括复数形态。在说明书中使用的“包括”的意义是把特定特性、区域、整数、步骤、作业、要素及/或成份具体化,并非排除其它特性、区域、整数、步骤、作业、要素及/或成份的存在或附加。The technical terms used herein are only used to refer to specific embodiments and are not intended to limit the application. The singular form used here also includes the plural form, as long as the sentence does not clearly express the opposite meaning. The meaning of "comprising" as used in the specification is to embody particular characteristics, regions, integers, steps, operations, elements and/or components, but not to exclude other characteristics, regions, integers, steps, operations, elements and/or components exist or append.
虽然未不同地定义,但包括此处使用的技术术语及科学术语,所有术语均具有与本申请所属技术领域的技术人员一般理解的意义相同的意义。普通使用的字典中定义的术语追加解释为具有与相关技术文献和当前提示的内容相符的意义,只要未进行定义,不得过度解释为理想的或非常公式性的意义。Although not defined differently, including technical and scientific terms used herein, all terms have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. Terms defined in commonly used dictionaries are additionally interpreted to have meanings consistent with the content of the relevant technical literature and current tips, and as long as they are not defined, they should not be unduly interpreted as ideal or very formulaic meanings.
目前,报价调控通常可以分为运价调控和舱位调控。运价调控主要体现在不同条件区间下的初始定价差异化,例如不同时期(淡季旺季,周中周末),不同退改条件,不同行李条件下的不同价格,因此运价数据是相对静态的。同时Trip获取运价数据成本固定,准确性不受成本约束。舱位作为航司收益管理(Revenue Management,或Yield Management)系统的数据体现,本质是依赖供需关系的调控,当某个运价的舱位被预定后,航司收益管理系统会重新计算决定该舱位是否继续开放;如果用户行为可以看作随机过程,那么舱位数据时时刻刻会受到用户预定行为的随机扰动,不断发生变化。加上用户总是倾向于在所有报价中选择低价产品,低价报价往往由于需求较大变动又较快。系统迭代优化至今,不论是舱位或是订位,目前用户预定拦截主要受制于外部数据的不可预知性。自有引擎覆盖到全球航司有700+个,涉及绝大多数全服务航司和部分低成本航空。舱位数据来源是各个GDS或航司,提供给Trip的原始数据准确性可能会有航司,航线,区域等不同程度的随机问题,表现为局部的,偶发的数据问题或业务问题。例如疫情期间航司大面积取消航班,各个航司数据发布到不同层面,不同程度地冲击验价通过率,验舱通过率,订位通过率。这部分数据的随机和长尾特性,使得需要构建一个数据驱动的动态模型,智能地处理预定拦截的一类问题。舱订位上线了一系列收益管理相关的优化后,基于用户预定行为的大数据,运行一个“通过率后馈”的数据模型,成为可能。可以见到,影响用户拦截的基本上是外因,且长尾,不可提前预知。目前各报价引擎的做法相对机械,或是单次拦截发生后,按照一系列属性禁售该产品固定的小时数;或是多次拦截发生后,人工长期禁售质量低下的产品,定期回顾解禁。并且目前的禁售,都发生在用户“已经”遭遇拦截之后,缺乏预见性。At present, quotation regulation can usually be divided into tariff regulation and space regulation. The adjustment of freight rates is mainly reflected in the difference in initial pricing under different conditions, such as different periods (low season and peak season, mid-week and weekends), different refund conditions, and different prices under different baggage conditions. Therefore, the freight rate data is relatively static. At the same time, the cost of obtaining freight rate data by Trip is fixed, and the accuracy is not subject to cost constraints. As the data of the airline's Revenue Management (or Yield Management) system, the cabin is essentially dependent on the regulation of supply and demand. When a certain freight rate is booked, the airline's revenue management system will recalculate to determine whether the space is not. Continue to open; if user behavior can be regarded as a random process, then the cabin data will be randomly disturbed by the user's predetermined behavior all the time, and will change constantly. In addition, users always tend to choose low-priced products among all quotations, and low-priced quotations often change quickly due to large demand. The system has been iteratively optimized so far, whether it is the cabin or the reservation, the current user reservation interception is mainly subject to the unpredictability of external data. Our own engines cover more than 700 airlines around the world, involving most full-service airlines and some low-cost airlines. The sources of class data are various GDSs or airlines. The accuracy of the original data provided to Trip may have random problems of different degrees such as airlines, routes, and regions, which are local, occasional data problems or business problems. For example, during the epidemic, airlines cancelled a large number of flights, and the data of each airline was released to different levels, which affected the pass rate of price inspection, cabin inspection pass rate, and reservation pass rate to varying degrees. The random and long-tail characteristics of this part of the data make it necessary to build a data-driven dynamic model to intelligently handle a class of problems with predetermined interception. After a series of revenue management-related optimizations have been launched for cabin reservations, it is possible to run a data model of “feedback through pass rate” based on the big data of user booking behavior. It can be seen that what affects user interception is basically an external cause, and the long tail cannot be predicted in advance. At present, the practice of each quotation engine is relatively mechanical, or after a single interception occurs, the product is banned for a fixed number of hours according to a series of attributes; or after multiple interceptions, products with low quality are manually banned for a long time, and the ban is lifted regularly by reviewing . And the current ban, all happened after the user "has" been intercepted, and lacked predictability.
图1是本发明的机票预订的动态调整方法的流程图。如图1所示,本发明的实施例提供一种机票预订的动态调整方法,包括以下步骤:FIG. 1 is a flow chart of the dynamic adjustment method of air ticket reservation of the present invention. As shown in FIG. 1, an embodiment of the present invention provides a dynamic adjustment method for air ticket reservation, including the following steps:
S110、通过决策树进行机票数据的特征提取,剪除细分的节点以获得影响可订和订位的N个特征作为重要特征,N为预设值;S110. Perform feature extraction on the air ticket data through a decision tree, and prune subdivided nodes to obtain N features that affect bookability and reservation as important features, where N is a preset value;
S120、基于上一个时间窗口的历史数据基于算法模型获得禁售实体;S120, obtaining a prohibited entity based on the algorithm model based on the historical data of the previous time window;
S130、对于每个禁售实体基于过去的若干连续时间窗口中的禁售次数获得禁售时长;S130. For each prohibited sales entity, obtain the prohibited sales duration based on the number of prohibited sales in the past several consecutive time windows;
S140、当禁售实体的通过率pass小于禁售阈值,则进入禁售;反之,则不进入禁售;S140. When the pass rate pass of the prohibited sales entity is less than the prohibited sales threshold, the sales prohibition is entered; otherwise, the prohibited sales are not entered;
S150、通过去重归并的算法获得唯一的禁售实体。S150, obtaining a unique prohibited entity through the algorithm of de-duplication and merging.
在一个优选实施例中,步骤S110中,重要特征包括行程类型、出发城市、出发国家、舱位销售地,订位数据仓,出票票台中的至少一种。In a preferred embodiment, in step S110, the important features include at least one of itinerary type, departure city, departure country, cabin sales place, reservation data warehouse, and ticket issuing desk.
在一个优选实施例中,步骤S120中,包括以下步骤:In a preferred embodiment, step S120 includes the following steps:
S121、算法学习上一个时间窗口的历史数据,构造模型,应用到当前时间窗口;S121, the algorithm learns the historical data of the previous time window, constructs a model, and applies it to the current time window;
S122、选择时间窗口t,每个时间窗口等长,长度为r;S122, select a time window t, each time window has the same length, and the length is r;
S123、选择一个阶段f,可订阶段或订位阶段,基于N个特征维度作为数据列,在预设时间范围内该阶段的数据作为数据行M,构成数据矩阵,训练模型;S123, select a stage f, an orderable stage or a reservation stage, based on the N feature dimensions as the data columns, and the data of this stage within the preset time range as the data row M to form a data matrix and train the model;
S124、循环i=0:N-1,执行每一轮level i:S124, loop i=0:N-1, and execute each round of level i:
S125、在第i轮,选择i个特征,对于个特征,基于上述数据矩阵,聚合N个特征维度,分别计算总量和通过率,生成由(N-i)个明确特征和i个虚化特征构成的禁售实体S125. In the i-th round, select i features, for Based on the above data matrix, aggregate N feature dimensions, calculate the total amount and pass rate respectively, and generate a prohibited entity composed of (Ni) clear features and i virtual features
在一个优选实施例中,步骤S122中,随着时间窗口的长度r的减小,模型的精度增加;In a preferred embodiment, in step S122, as the length r of the time window decreases, the accuracy of the model increases;
步骤S124中,包括:i=0轮是最细粒度,当该轮特征下,通过率低于设定阈值,则对数据对象添加禁售标记。In step S124 , it includes: i=0 round is the most fine-grained, and when the pass rate is lower than the set threshold under the characteristics of this round, a prohibition mark is added to the data object.
在一个优选实施例中,步骤S130中,包括以下步骤:In a preferred embodiment, step S130 includes the following steps:
S131、获得每一个禁售实体,在过去的T个连续时间窗口中的禁售状态,定义状态st=0,则不禁售;st=1,则禁售,t的取值范围是1到T;S131. Obtain the prohibited sales status of each prohibited entity in the past T consecutive time windows, and define the state st=0, which means that the sales are not prohibited; st=1, then the sales are prohibited, and the value range of t is 1 to T ;
S132、定义惩罚因子计算历史窗口期中该实体被标记为禁售的次数;S132, define penalty factor Calculate the number of times the entity has been marked as banned during the historical window;
S133、定义奖励因子表示历史窗口期中该实体被连续标记为不禁售的最长长度的比例,其中,L表示历史时间窗口从t=1开始,st=0可连续的最大长度;S133. Define reward factor Represents the ratio of the longest length of the entity that is continuously marked as not banned for sale in the historical window period, where L represents the maximum length of the historical time window starting from t=1 and st=0;
S134、获得禁售时长d=(1-pass)*r*(1+max{p-b,0})。S134 , obtaining the prohibition duration d=(1-pass)*r*(1+max{p-b,0}).
在一个优选实施例中,步骤S140中,包括以下步骤:In a preferred embodiment, step S140 includes the following steps:
S141、基于混淆矩阵中真实情况和模型预测情况交叉,获得到真阴性,假阴性,假阳性和真阳性4种情况,其中,阴性对应模型不执行禁售,阳性对应模型执行禁售,真对应模型预测结果和实际情况一致,假对应模型预测结果和实际情况不一致;S141. Based on the intersection of the real situation and the model predicted situation in the confusion matrix, four situations of true negative, false negative, false positive and true positive are obtained. Among them, the negative corresponding model does not implement the ban, the positive corresponding model implements the ban, and the true corresponds to The prediction results of the model are consistent with the actual situation, and the prediction results of the pseudo-corresponding model are inconsistent with the actual situation;
S142、定义改善率为实际拦截的且进入禁售的占比,即TN/All,S142. The defined improvement rate is the proportion that is actually intercepted and banned from sales, namely TN/All,
S143、定义误禁率为实际通过的但进入禁售的占比,即FN/All,S143. Define the false ban rate as the proportion that actually passed but entered the ban, namely FN/All,
S144、根据预设步径间隔遍历所有禁售阈值,计算得到阈值下改善率与误禁率的曲线。S144 , traverse all prohibition thresholds according to the preset step interval, and calculate and obtain a curve of improvement rate and false prohibition rate under the threshold.
S145、计算改善的边际效用和误禁的边际成本,找到改善率大且误禁率小的禁售阈值,认为是最有价值的禁售阈值。S145: Calculate the marginal utility of the improvement and the marginal cost of the false ban, find a ban threshold with a large improvement rate and a small false ban rate, and consider it to be the most valuable ban threshold.
S146、将该值作为最细粒度禁售阈值,其余各个Level的禁售阈值按该值/N均匀步径衰减。S146. Use the value as the most fine-grained ban threshold, and the ban thresholds of other levels are attenuated by the value/N in a uniform step.
在一个优选实施例中,步骤S150中,当高Level禁售消息包含低Level禁售消息时,去除低Level禁售消息,仅保留高Level禁售消息。In a preferred embodiment, in step S150, when the high-level prohibition message includes a low-level prohibition message, the low-level prohibition message is removed, and only the high-level prohibition message is retained.
本发明通过构建的禁售体系,能主动地在已知预定质量不理想时提前介入。此外,静态匹配的禁售实体是和固定周期的禁售时长,也需要优化为动态方式,希望模型具有“智能”抽象的能力。机器学习得到的模型系统,可以提前禁售一系列有通病的实体,让用户拦截不再发生,直接提升预定质量。更重要的是,报价引擎消费模型后,可以输出质量更好转化更好的次低报价供用户选择,而不只是简单地在结果集上作减法。The present invention can proactively intervene in advance when the predetermined quality is known to be unsatisfactory through the constructed prohibition system. In addition, the statically matched prohibited-sale entity is the same as the fixed-period prohibited-sale duration, which also needs to be optimized in a dynamic way, hoping that the model has the ability to “smart” abstraction. The model system obtained by machine learning can prohibit the sale of a series of entities with common problems in advance, so that user interception will no longer occur, and the quality of reservations will be directly improved. More importantly, after the quotation engine consumes the model, it can output the next-lowest quotation with better quality and better conversion for users to choose, instead of simply doing subtraction on the result set.
近年来,随技术精进,业务扩张和全球化战略,Trip国际机票的报价资源逐渐丰富,航线覆盖日益扩展,竞争优势在不断扩大。与此同时,用户在每一个预定阶段的顺畅性,作为系统可靠性的一部分,也至关重要,需要俱进地提升与优化。该动态模型致力于打造一个高度顺畅的预定系统,一方面有助于促进转化和增加营收,另一方面也契合于Trip承诺的高品质服务理念。In recent years, with the advancement of technology, business expansion and globalization strategy, the quotation resources of Trip international air tickets have been gradually enriched, the route coverage has been expanded, and the competitive advantage has been continuously expanded. At the same time, the smoothness of users at each predetermined stage, as part of system reliability, is also critical and needs to be improved and optimized. This dynamic model aims to create a highly smooth booking system that, on the one hand, helps to drive conversions and increase revenue, and on the other hand aligns with Trip's commitment to high-quality service.
本发明的具体实施过程如下:The specific implementation process of the present invention is as follows:
(1)数据准备。(1) Data preparation.
使用填写页的用户可订数据和增值页的用户订位数据。Use the user bookable data on the fill-in page and the user booking data on the value-added page.
(2)特征选择。(2) Feature selection.
用CART决策树作特征提取,剪枝过度细分的节点,得到影响可订和订位的N个重要特征。进一步,这些基于分类树方法提取得到的特征,也需要和国际机票业务的理解保持深刻一致。比如,行程类型(Trip Type),出发城市(Origin City),出发国家(OriginCountry)和欧洲航司采用的POC收益管理方式密切相关;北美航司采用的POS收益管理方式和舱位销售地(POS),订位GDS(Booking GDS),出票票台(Ticketing Agency)高度相关。城市对和国家对的信息,有助于捕获随机散发的航线问题。Use CART decision tree for feature extraction, prune over-subdivided nodes, and obtain N important features that affect orderability and reservation. Further, these features extracted based on the classification tree method also need to be deeply consistent with the understanding of the international air ticket business. For example, itinerary type (Trip Type), departure city (Origin City), departure country (OriginCountry) and the POC revenue management method adopted by European airlines are closely related; , Booking GDS (Booking GDS), and Ticketing Agency (Ticketing Agency) are highly relevant. Information on city pairs and country pairs helps capture randomly distributed routing problems.
(3)算法设计(3) Algorithm design
(3.1)禁售实体(3.1) Prohibited entities
禁售实体是指用于禁售的一类数据对象,以2.2中提取得到的特征作为实体属性。Prohibited entities refer to a class of data objects that are prohibited from being sold, and the features extracted in 2.2 are used as entity attributes.
算法学习上一个时间窗口的历史数据,构造模型,应用到当前时间窗口上。The algorithm learns the historical data of the previous time window, constructs a model, and applies it to the current time window.
选择时间窗口time t,每个时间窗口等长,长度为r。可以不断缩小r来精细化模型,相当于微分化。r的取值需要考虑细化和过拟合之间的折衷。Select the time window time t, each time window has the same length, and the length is r. The model can be refined by continuously shrinking r, which is equivalent to micro-differentiation. The value of r needs to consider the trade-off between thinning and overfitting.
选择一个阶段phase f,可订阶段或订位阶段,基于N个特征维度作为数据列,一定时间范围内该阶段的数据作为数据行M,构成数据矩阵,训练模型。这里使用到的关键指标是总量(counts)和通过率(pass)。Select a stage phase f, which can be ordered or reserved. Based on N feature dimensions as data columns, the data of this stage within a certain time range is used as data row M to form a data matrix and train the model. The key indicators used here are the total amount (counts) and the pass rate (pass).
循环i=0:N-1,执行每一轮level i:Loop i=0:N-1, execute each round of level i:
第i轮,选择i个特征,对于个特征,基于上述数据矩阵,聚合N个特征维度,分别计算总量和通过率,生成由(N-i)个明确特征和i个虚化特征构成的禁售实体。其中i=0轮是最细粒度,没有任何虚化特征的实体。如果该轮特征下,通过率低于设定阈值,作禁售标记。In round i, select i features, for Based on the above data matrix, aggregate N feature dimensions, calculate the total amount and pass rate respectively, and generate a prohibited entity composed of (Ni) clear features and i virtual features. where i=0 round is the most fine-grained entity without any blurring features. If the pass rate is lower than the set threshold under the characteristics of this round, it will be marked as banned.
(3.2)禁售时长(3.2) Lock-up period
线性于通过率公式,计算当前禁售时长。基于历史多个时间窗口的数据表现,对禁售时长设置奖惩机制,历史上近期表现优异的产品,当下产品质量略差时,禁售时长设置相对短些(奖励);历史上长期表现很差的产品,禁售时长设置更为严厉(惩罚),奖惩机制使得禁售时长更加合理。Linear in the pass rate formula to calculate the current lock-up duration. Based on the data performance of multiple time windows in history, a reward and punishment mechanism is set for the duration of the ban. For products that have performed well recently in history, when the quality of the current product is slightly worse, the duration of the ban is set to be relatively short (rewards); the long-term performance in history is very poor For products, the ban time is set more severely (punishment), and the reward and punishment mechanism makes the ban time more reasonable.
对于一个禁售实体,For a prohibited entity,
历史时间窗口是由过去的一系列连续时间窗口构成的,由近及远,t从1到T。The historical time window is composed of a series of consecutive time windows in the past, from near to far, t from 1 to T.
定义状态State st=0,则不禁售;Define the state State s t = 0, then the sale is not banned;
st=1,则禁售。s t = 1, the sale is prohibited.
定义惩罚因子计算历史窗口期中该实体被标记为禁售的次数;表示重复拦截惩罚力度。Define penalty factor Calculate the number of times the entity is marked as banned for sale during the historical window period; it indicates the punishment for repeated interception.
定义奖励因子表示历史窗口期中该实体被连续标记为不禁售的最长长度的比例。其中L表示历史时间窗口从t=1开始,st=0可连续的最大长度,用于衡量“连续”质量较优的次数。连续较优次数与历史窗口大小的占比,作为奖励力度。Define the reward factor Indicates the proportion of the longest length in the historical window during which the entity has been continuously marked as unbanned. Wherein L represents the maximum continuous length of the historical time window starting from t=1 and s t =0, which is used to measure the number of times that the “continuous” quality is better. The ratio of the number of consecutive optimizations to the size of the historical window is used as a reward.
计算禁售时长Calculate the lock-up period
Duration d=(1-pass)*r*(1+max{p-b,0})Duration d=(1-pass)*r*(1+max{p-b,0})
(3.3)禁售阈值(3.3) Banning Threshold
给定一个禁售阈值,如果禁售实体的通过率小于禁售阈值,则进入禁售;反之,则不进入禁售。基于混淆矩阵(Confusion Matrix)的思想,真实情况和模型预测情况交叉,得到真阴性(TN,True Negative),假阴性(FN,False Negative),假阳性(FP,FalsePositive)和真阳性(TP,True Positive)4种可能性。阴阳分别对应模型不执行禁售和执行禁售,真假分别对应模型预测结果和实际情况一致和不一致。定义改善率为实际拦截的且进入禁售的占比,即TN/All,体现为禁售模型生效后对生产上通过率带来的提升。定义误禁率为实际通过的但进入禁售的占比,即FN/All,可以看作禁售带来的机会成本。按一定步径间隔gap g,遍历所有可能的禁售阈值,计算得到阈值下改善率与误禁率的曲线。计算改善的边际效用和误禁的边际成本,找到改善率大且误禁率小的禁售阈值,认为是最有价值的禁售阈值。将该值作为最细粒度(Level 0)禁售阈值,其余各个Level的禁售阈值按该值/N均匀步径衰减。Given a prohibition threshold, if the pass rate of the prohibited entity is less than the prohibition threshold, it will enter the prohibition; otherwise, it will not enter the prohibition. Based on the idea of confusion matrix (Confusion Matrix), the real situation and the model prediction situation are crossed to obtain true negative (TN, True Negative), false negative (FN, False Negative), false positive (FP, FalsePositive) and true positive (TP, True Positive) 4 possibilities. Yin and Yang correspond to the model not implementing a ban on sales and implementing a ban on sales, respectively. True and false correspond to the consistency or inconsistency between the model prediction results and the actual situation. The improvement rate is defined as the proportion that is actually intercepted and entered into the ban, that is, TN/All, which is reflected in the increase in the production pass rate after the ban model takes effect. The false ban rate is defined as the proportion of those who actually passed the ban but entered the ban, namely FN/All, which can be regarded as the opportunity cost brought by the ban. According to a certain step interval gap g, traverse all possible ban thresholds, and calculate the curve of improvement rate and false ban rate under the threshold. Calculate the marginal utility of the improvement and the marginal cost of false ban, find the ban threshold with a large improvement rate and a small false ban rate, and consider it as the most valuable ban threshold. This value is used as the most fine-grained (Level 0) ban threshold, and the ban thresholds of other levels are attenuated by this value/N in a uniform step.
(3.4)去重归并(3.4) De-recombination
实际的实现中,level0的运算基于原始数据,level1...levelN的数据理论上应该基于Level N-1的数据,为了简化计算,都基于Level0。这使得所有禁售实体之间有包含关系,这种关系是冗余的。同一条禁售记录,可能贡献到不同的禁售实体中。需要一个去重归并的算法,展示出清晰的唯一的禁售实体。当高Level禁售消息包含低Level禁售消息,仅保留高Level禁售消息。In the actual implementation, the operation of level0 is based on the original data, and the data of level1...levelN should theoretically be based on the data of Level N-1. In order to simplify the calculation, they are all based on Level0. This allows for a containment relationship between all prohibited entities, which is redundant. The same embargoed record may be contributed to different embargoed entities. An algorithm for de-merging is required, showing a clear unique banned entity. When the high-level banned news includes low-level banned news, only the high-level banned news is retained.
设计了4种去重归并算法,本质是在构建的多叉树中,找到通往某个禁售实体所在level的路径。Four deduplication and merging algorithms are designed. The essence is to find a path to the level of a banned entity in the constructed multi-fork tree.
第一种激进模型(图2),允许任意级别的越层归并,相对自由。图中节点表示禁售实体及其做在Level,连线表示有两实体间有包含关系,高Level实体包含低Level。第二种保守模型(图3),不允许任何越级归并,即所有被保留的禁售实体,都满足该实体所在level下的每个level,都存在相应禁售实体,也就是说子树深度必须等于level+1。图中虚线节点,表示与激进模型相比,未能生成的禁售实体。虚线节点实际不存在,仅用于说明L3不能生成的原因是缺少L1,L2的支持。The first radical model (Figure 2), which allows arbitrary levels of cross-level mergers, is relatively free. The nodes in the figure represent the banned entities and their levels, and the connection lines indicate that there is an inclusion relationship between the two entities, and the high-level entity contains the low-level entity. The second conservative model (Figure 3) does not allow any leapfrog merging, that is, all reserved prohibited entities meet the level of the entity where the entity is located, and there are corresponding prohibited entities, that is, the depth of the subtree Must be equal to level+1. The dotted line nodes in the figure represent banned entities that failed to generate compared to the aggressive model. The dotted line node does not actually exist, it is only used to illustrate that the reason why L3 cannot be generated is the lack of support for L1 and L2.
第三种折衷模型(图4),不允许任意越层归并,仅允许有邻层实体存在时向下归并。不同于保守模型,折衷模型保留的禁售实体,只要满足存在一条路径而不是所有路径,使得树深度小于等于Level+1。禁售实体的级别越低,粒度越细小散乱;级别越高,禁售改进力度越大,归并需要极为谨慎。相对来说,折衷模型结合了激进模型和保守模型,具有最佳平衡。The third compromise model (Fig. 4) does not allow arbitrary cross-level merging, and only allows downward merging when there are adjacent entities. Unlike the conservative model, the trade-off model retains prohibited entities as long as there is one path instead of all paths, so that the tree depth is less than or equal to Level+1. The lower the level of the banned entity, the finer and scattered the granularity; the higher the level, the greater the improvement of the banned sale, and the merger needs to be extremely cautious. In contrast, the eclectic model combines aggressive and conservative models with the best balance.
但在有些场景下,折衷模型还是不可避免地生成低level的禁售实体,削弱了模型的泛化能力;继而在折衷模型上优化了一个复合版本。选定n,在级别n+1...N之间应用折衷模型;级别0-n之间应用激进模型。迭代优化n,找到最优的复合模型。However, in some scenarios, the compromise model still inevitably generates low-level banned entities, which weakens the generalization ability of the model; and then optimizes a composite version on the compromise model. With n chosen, a compromise model is applied between levels n+1...N; an aggressive model is applied between levels 0-n. Iteratively optimize n to find the optimal composite model.
(4)模型评估(4) Model evaluation
除了使用(3.3)定义的改善率和误禁率来评估业务效果,也使用机器学习经典通用的准确率(Precision),召回率(Recall),精度(Accuracy)指标来评估模型。In addition to using the improvement rate and false rejection rate defined in (3.3) to evaluate the business effect, the model is also evaluated using the classic and general accuracy rate (Precision), recall rate (Recall), and accuracy (Accuracy) of machine learning.
(5)模型应用(5) Model application
模型作为生产者接入消息管理中心,当有新的禁售消息生成后,会调用消息管理中心提供的写入接口,写入最新消息;机票国际引擎作为消费者实时监听消息管理中心,有新的消息后会立即消费,输出次优解。The model is connected to the message management center as a producer. When a new banned message is generated, it will call the write interface provided by the message management center to write the latest message; the air ticket international engine acts as a consumer to monitor the message management center in real time. The message will be consumed immediately after the message, and the suboptimal solution will be output.
本发明的方案实际使用后的效果:The effect after the actual use of the scheme of the present invention:
生产上20191220-20201210 50周的可订(BK)和订位(RV)数据,覆盖疫情前(20200201以前)和疫情后。50 weeks of bookable (BK) and reservation (RV) data for 20191220-20201210 production, covering pre-pandemic (before 20200201) and post-pandemic.
迭代得到最优的模型和参数组合。Iterate to get the optimal model and parameter combination.
特征选择:Trip Type,POS,Feature selection: Trip Type, POS,
Shopping Engine,Booking GDS,Shopping Engine, Booking GDS,
Validating Airline,Ticketing Agency,Validating Airline, Ticketing Agency,
Ori-Dest Country Pair,Ori-Dest City Pair;Ori-Dest Country Pair, Ori-Dest City Pair;
模型选择:复合模型,n=3;Model selection: composite model, n=3;
参数优化:Time t=8h[05,13,21];Parameter optimization: Time t=8h[05,13,21];
Threshold BK=35%,Threshold RV=20%,步径间隔均匀线性。Threshold BK=35%, Threshold RV=20%, the step interval is uniform and linear.
通过本发明构建得到一个禁售实体和禁售时长都由数据产生的动态模型。疫情前(20200201前),系统可订BK通过率维持在92%,模型改善率1.6%,误禁率0.3%;疫情前期(202002-202008),通过率维持在86-89%,模型改善率3.5%-6%,误禁率0.5%;疫情后期,通过率90-92%,改善率2-2.5%,误禁率0.3-0.4%。订位RV通过率表现类似。模型能提拉下滑或下凹洞通过率曲线,使可订和订位通过率稳定在92%上下,达到“可控”。Through the construction of the present invention, a dynamic model in which both the banned entity and the banned duration are generated by data is obtained. Before the epidemic (before 20200201), the pass rate of system-orderable BK was maintained at 92%, the model improvement rate was 1.6%, and the false ban rate was 0.3%; before the epidemic (202002-202008), the pass rate was maintained at 86-89%, and the model improvement rate 3.5%-6%, the false ban rate is 0.5%; in the late stage of the epidemic, the pass rate is 90-92%, the improvement rate is 2-2.5%, and the false ban rate is 0.3-0.4%. Reservation RV pass rates performed similarly. The model can pull down or sag the hole pass rate curve, so that the orderable and reserved pass rate can be stabilized at around 92%, achieving "controllable".
进一步可以发现,对不同的原始通过率,模型的提升程度不同。如果原始通过率较差,提升较大。如3月中下旬国际疫情暴发,生产70%国际航班取消,原始BK 75%,算法能维稳到89%附近。如果原始通过率较好,提升较小,如1月,原始BK 92-93%,模型仅提升到93.5%附近。面对不可预知的重大降低,模型可将系统提升到可靠水平,外界数据环境表现较优时,模型维持在稳定水平,表现符合预期。It can be further found that for different original pass rates, the degree of improvement of the model is different. If the original pass rate is poor, the improvement will be larger. For example, when the international epidemic broke out in the middle and late March, 70% of international flights were cancelled, and the original BK was 75%. The algorithm can maintain stability to around 89%. If the original pass rate is better, the improvement is small, such as January, the original BK is 92-93%, and the model is only improved to around 93.5%. In the face of unpredictable and significant reductions, the model can improve the system to a reliable level, and when the external data environment performs better, the model is maintained at a stable level and the performance is in line with expectations.
此外,模型可以帮助发现有临床意义的生产问题,都有助于及时做出生产响应。恰能帮助发现航司的“可查不可订”“虚舱”现象背后的收益管理逻辑,或是由GDS舱位和航司舱位不一致的第三方数据问题。In addition, models can help identify clinically meaningful production problems, both contributing to a timely production response. It can help to discover the revenue management logic behind the phenomenon of airlines' "can check but not book" and "virtual cabin", or the third-party data problem caused by the inconsistency between GDS class and airline class.
图5是本发明的机票预订的动态调整系统的模块示意图。如5所示,本发明的机票预订的动态调整系统5包括:FIG. 5 is a schematic block diagram of the dynamic adjustment system for air ticket reservation of the present invention. As shown in 5, the
特征提取模块51,通过决策树进行机票数据的特征提取,剪除细分的节点以获得影响可订和订位的N个特征作为重要特征,N为预设值;The
禁售实体模块52,基于上一个时间窗口的历史数据基于算法模型获得禁售实体;The prohibited-
禁售时长模块53,对于每个禁售实体基于过去的若干连续时间窗口中的禁售次数获得禁售时长;The lock-up
执行禁售模块54,当禁售实体的通过率pass小于禁售阈值,则进入禁售;反之,则不进入禁售;Execute the
去重归并模块55,通过去重归并的算法获得唯一的禁售实体。The
本发明的机票预订的动态调整系统能够及时发现航司的票务管理缺陷并及时做出生产动态调整,提升用户预订机票的流程体验。The dynamic adjustment system for air ticket reservation of the present invention can timely find out the ticket management defect of the airline company and make dynamic production adjustment in time, so as to improve the user's process experience of air ticket reservation.
上述实施例仅为本发明的优选例,并不用来限制本发明,凡在本发明的原则之内,所做的任何等同替代、修改和变化,均在本发明的保护范围之内。The above-mentioned embodiments are only preferred examples of the present invention, and are not intended to limit the present invention. Any equivalent substitutions, modifications and changes made within the principles of the present invention are all within the protection scope of the present invention.
本发明实施例还提供一种机票预订的动态调整设备,包括处理器。存储器,其中存储有处理器的可执行指令。其中,处理器配置为经由执行可执行指令来执行的机票预订的动态调整方法的步骤。The embodiment of the present invention also provides a dynamic adjustment device for air ticket reservation, which includes a processor. A memory in which executable instructions for the processor are stored. Wherein the processor is configured to execute the steps of the method for dynamically adjusting airline reservations via executing the executable instructions.
如上所示,该实施例本发明的机票预订的动态调整系统能够及时发现航司的票务管理缺陷并及时做出生产动态调整,提升用户预订机票的流程体验。As shown above, the dynamic adjustment system for air ticket reservation of the present invention in this embodiment can timely discover the ticket management defects of the airline company and make dynamic production adjustment in time, so as to improve the user's process experience of air ticket reservation.
所属技术领域的技术人员能够理解,本发明的各个方面可以实现为系统、方法或程序产品。因此,本发明的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“平台”。As will be appreciated by one skilled in the art, various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention can be embodied in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, which may be collectively referred to herein as implementations "Circuit", "Module" or "Platform".
图6是本发明的机票预订的动态调整设备的结构示意图。下面参照图6来描述根据本发明的这种实施方式的电子设备600。图6显示的电子设备600仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 6 is a schematic structural diagram of a dynamic adjustment device for air ticket reservation according to the present invention. An
如图6所示,电子设备600以通用计算设备的形式表现。电子设备600的组件可以包括但不限于:至少一个处理单元610、至少一个存储单元620、连接不同平台组件(包括存储单元620和处理单元610)的总线630、显示单元640等。As shown in FIG. 6,
其中,存储单元存储有程序代码,程序代码可以被处理单元610执行,使得处理单元610执行本说明书上述电子处方流转处理方法部分中描述的根据本发明各种示例性实施方式的步骤。例如,处理单元610可以执行如图1中所示的步骤。The storage unit stores program codes, which can be executed by the
存储单元620可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)6201和/或高速缓存存储单元6202,还可以进一步包括只读存储单元(ROM)6203。The
存储单元620还可以包括具有一组(至少一个)程序模块6205的程序/实用工具6204,这样的程序模块6205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The
总线630可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。The
电子设备600也可以与一个或多个外部设备700(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备600交互的设备通信,和/或与使得该电子设备600能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口650进行。并且,电子设备600还可以通过网络适配器660与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。网络适配器660可以通过总线630与电子设备600的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备600使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储平台等。The
本发明实施例还提供一种计算机可读存储介质,用于存储程序,程序被执行时实现的机票预订的动态调整方法的步骤。在一些可能的实施方式中,本发明的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在终端设备上运行时,程序代码用于使终端设备执行本说明书上述电子处方流转处理方法部分中描述的根据本发明各种示例性实施方式的步骤。Embodiments of the present invention also provide a computer-readable storage medium for storing a program, and the steps of the method for dynamically adjusting air ticket reservations are implemented when the program is executed. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes program code, when the program product runs on a terminal device, the program code is used to cause the terminal device to execute the above-mentioned description in this specification. The steps according to various exemplary embodiments of the present invention are described in the section of the electronic prescription flow processing method.
如上所示,该实施例本发明的机票预订的动态调整系统能够及时发现航司的票务管理缺陷并及时做出生产动态调整,提升用户预订机票的流程体验。As shown above, the dynamic adjustment system for air ticket reservation of the present invention in this embodiment can timely discover the ticket management defects of the airline company and make dynamic production adjustment in time, so as to improve the user's process experience of air ticket reservation.
图7是本发明的计算机可读存储介质的结构示意图。参考图7所示,描述了根据本发明的实施方式的用于实现上述方法的程序产品800,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本发明的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。FIG. 7 is a schematic structural diagram of a computer-readable storage medium of the present invention. 7, a
程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
计算机可读存储介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读存储介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。可读存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。A computer-readable storage medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable storage medium can also be any readable medium other than a readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本发明操作的程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming Language - such as the "C" language or similar programming language. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service provider business via an Internet connection).
综上,本发明的目的在于提供机票预订的动态调整方法、系统、设备及存储介质,能够及时发现航司的票务管理缺陷并及时做出生产动态调整,提升用户预订机票的流程体验。To sum up, the purpose of the present invention is to provide a dynamic adjustment method, system, device and storage medium for air ticket reservation, which can timely discover the ticket management defects of the airline company and make dynamic production adjustment in time, so as to improve the user's process experience of air ticket reservation.
以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above content is a further detailed description of the present invention in combination with specific preferred embodiments, and it cannot be considered that the specific implementation of the present invention is limited to these descriptions. For those of ordinary skill in the technical field of the present invention, without departing from the concept of the present invention, some simple deductions or substitutions can be made, which should be regarded as belonging to the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210107720.2A CN114511122B (en) | 2022-01-28 | 2022-01-28 | Dynamic adjustment method, system, device and storage medium for air ticket reservation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210107720.2A CN114511122B (en) | 2022-01-28 | 2022-01-28 | Dynamic adjustment method, system, device and storage medium for air ticket reservation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114511122A true CN114511122A (en) | 2022-05-17 |
CN114511122B CN114511122B (en) | 2025-07-15 |
Family
ID=81551367
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210107720.2A Active CN114511122B (en) | 2022-01-28 | 2022-01-28 | Dynamic adjustment method, system, device and storage medium for air ticket reservation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114511122B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020016724A1 (en) * | 2000-07-28 | 2002-02-07 | Yue-Heng Yang | System and method for booking international multiple-stop tickets |
US20040064351A1 (en) * | 1999-11-22 | 2004-04-01 | Mikurak Michael G. | Increased visibility during order management in a network-based supply chain environment |
CN108830635A (en) * | 2018-04-26 | 2018-11-16 | 深圳马可孛罗科技有限公司 | A kind of air ticket order dynamic price adjustment method and system |
CN111898781A (en) * | 2020-07-16 | 2020-11-06 | 中国民航信息网络股份有限公司 | Air ticket booking method and device |
CN112269808A (en) * | 2020-11-17 | 2021-01-26 | 携程旅游网络技术(上海)有限公司 | Engine query control method, system, device and storage medium |
CN112990510A (en) * | 2021-03-17 | 2021-06-18 | 携程旅游网络技术(上海)有限公司 | Air ticket booking processing method, system, equipment and medium |
CN113327333A (en) * | 2021-04-08 | 2021-08-31 | 厦门路桥信息股份有限公司 | Parking space reservation price dynamic adjustment method and device |
-
2022
- 2022-01-28 CN CN202210107720.2A patent/CN114511122B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040064351A1 (en) * | 1999-11-22 | 2004-04-01 | Mikurak Michael G. | Increased visibility during order management in a network-based supply chain environment |
US20020016724A1 (en) * | 2000-07-28 | 2002-02-07 | Yue-Heng Yang | System and method for booking international multiple-stop tickets |
CN108830635A (en) * | 2018-04-26 | 2018-11-16 | 深圳马可孛罗科技有限公司 | A kind of air ticket order dynamic price adjustment method and system |
CN111898781A (en) * | 2020-07-16 | 2020-11-06 | 中国民航信息网络股份有限公司 | Air ticket booking method and device |
CN112269808A (en) * | 2020-11-17 | 2021-01-26 | 携程旅游网络技术(上海)有限公司 | Engine query control method, system, device and storage medium |
CN112990510A (en) * | 2021-03-17 | 2021-06-18 | 携程旅游网络技术(上海)有限公司 | Air ticket booking processing method, system, equipment and medium |
CN113327333A (en) * | 2021-04-08 | 2021-08-31 | 厦门路桥信息股份有限公司 | Parking space reservation price dynamic adjustment method and device |
Non-Patent Citations (1)
Title |
---|
王勇 等: "基于交叉弹性及边际成本的机票预售收益管理模型", 技术经济, vol. 29, no. 7, 31 July 2010 (2010-07-31), pages 56 - 60 * |
Also Published As
Publication number | Publication date |
---|---|
CN114511122B (en) | 2025-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7587637B2 (en) | Method and system for providing price availability, e.g., hotel services price availability - Patents.com | |
Chung et al. | Cascading delay risk of airline workforce deployments with crew pairing and schedule optimization | |
CN104169950B (en) | Utilize the Database Systems of the calculating towards batch processing | |
JP6473158B2 (en) | Method and server for providing a set of quoted prices, eg airfare price quotes | |
Sun et al. | Operational risk in airline crew scheduling: Do features of flight delays matter? | |
US10332038B2 (en) | Travel inventory demand modeling | |
JP2011048612A (en) | Decision making support system based on hierarchical analysis method and program for the system | |
JP6850310B2 (en) | Methods and servers for providing quoted prices, such as sets of airfare price quotes | |
Antonio et al. | An automated machine learning based decision support system to predict hotel booking cancellations | |
Zeni | Improved forecast accuracy in revenue management by unconstraining demand estimates from censored data | |
Khoo et al. | An optimal aircraft fleet management decision model under uncertainty | |
US20230125533A1 (en) | System and method for dynamically enhancing a pricing database based on external information | |
Yang et al. | Considering passenger preferences in integrated postdisruption recoveries of aircraft and passengers | |
Yuan et al. | Optimization of seat allocation with fixed prices: An application of railway revenue management in China | |
CN118537054A (en) | Demand prediction method, device, equipment and storage medium for freight rate product | |
Amghar et al. | Resilience as a service for transportation networks: Definition and basic concepts | |
Doyme et al. | Simulating airline behavior: Application for the Australian domestic market | |
Ji et al. | Application of modified nested and dynamic class allocation models for cruise line revenue management | |
Walczak et al. | Revenue management | |
US11227237B2 (en) | Exchanges with automatic consideration of factors associated with the exchanges | |
Yuan et al. | A dynamic bid price approach for the seat inventory control problem in railway networks with consideration of passenger transfer | |
Hsu et al. | Fleet dry/wet lease planning of airlines on strategic alliance | |
CN114626879A (en) | Method and system for predicting user travel intention, electronic device and storage medium | |
Hung et al. | An effective dynamic decision policy for the revenue management of an airline flight | |
JP2021093210A (en) | Method of providing hotel reservation price estimate and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |