CN116308518A - System, method and related equipment for exchanging frequent flyer mileage for additional service products - Google Patents
System, method and related equipment for exchanging frequent flyer mileage for additional service products Download PDFInfo
- Publication number
- CN116308518A CN116308518A CN202310031980.0A CN202310031980A CN116308518A CN 116308518 A CN116308518 A CN 116308518A CN 202310031980 A CN202310031980 A CN 202310031980A CN 116308518 A CN116308518 A CN 116308518A
- Authority
- CN
- China
- Prior art keywords
- mileage
- additional service
- rules
- sales
- service product
- 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.)
- Pending
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
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0208—Trade or exchange of goods or services in exchange for incentives or rewards
-
- 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
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0226—Incentive systems for frequent usage, e.g. frequent flyer miles programs or point systems
-
- 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
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Primary Health Care (AREA)
- Tourism & Hospitality (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本公开的常旅客里程兑换附加服务产品的系统,运价数据接收集群存储航司数据发布前端发布的附加服务产品销售规则和里程兑换规则,并推送给运价数据发布集群;运价数据发布集群将变更的附加服务产品销售规则和里程兑换规则发送给附加服务计算集群,由附加服务计算集群加载到内存;附加服务计算集群接收到附加服务销售前端发起的附加服务产品购买请求,在内存中查询与附加服务产品购买请求相匹配的目标附加服务产品销售规则,按照其中的里程兑换标识所表征的不同含义(不可用于里程支付、金额转换为里程、里程或金额均可支付)选择性在内存中查询与附加服务产品购买请求相匹配的目标里程兑换规则,以此分别向附加服务销售前端返回不同的结果。
In the disclosed frequent flyer mileage exchange additional service product system, the tariff data receiving cluster stores the additional service product sales rules and mileage exchange rules issued by the airline data release front end, and pushes them to the freight rate data release cluster; the freight rate data release cluster Send the changed additional service product sales rules and mileage redemption rules to the additional service computing cluster, and the additional service computing cluster loads them into the memory; the additional service computing cluster receives the additional service product purchase request initiated by the additional service sales front end, and queries in the memory The target additional service product sales rules that match the additional service product purchase request are selectively stored in the memory according to the different meanings represented by the mileage redemption mark (not applicable for mileage payment, converted into mileage, and mileage or amount can be paid) Query the target mileage redemption rules that match the purchase request of additional service products, so as to return different results to the front end of the additional service sales.
Description
技术领域technical field
本公开涉及附加服务运价计算技术领域,更具体地说,涉及一种常旅客里程兑换附加服务产品的系统、方法及相关设备。The present disclosure relates to the technical field of freight rate calculation for additional services, and more specifically, relates to a system, method and related equipment for exchanging frequent flyer miles for additional service products.
背景技术Background technique
常旅客里程兑换附加服务产品(包括选座和行李服务等)又是常旅客服务发展的重要组成部分。但目前的常旅客里程兑换附加服务产品方面存在很多缺陷:Frequent flyer mileage redemption additional service products (including seat selection and luggage service, etc.) are an important part of frequent flyer service development. However, there are many defects in the current frequent flyer mileage redemption additional service products:
第一,从发售端来看,发布用于里程销售的规则不方便。当前航空公司发布的规则都是基于使用金额销售的规则,想要修改为使用里程销售时,需要自行找出所有的销售规则改成具体的里程数目,通常情况下航空公司的数据上万条,修改很困难。First, from the point of view of distribution, it is inconvenient to issue rules for mileage sales. Currently, the rules issued by airlines are all based on sales by amount. If you want to change it to sales by mileage, you need to find out all the sales rules by yourself and change them to the specific number of mileage. Usually, airlines have tens of thousands of pieces of data. Modifications are difficult.
第二,在中国,航空公司附加服务产品的销售规则和里程兑换规则通常分属两个部门,而这种销售规则和里程兑换规则混合在一条规则内部的方式,新建和修改里程数据需要两个部门协同,非常难维护。Second, in China, the sales rules and mileage redemption rules of airlines’ additional service products usually belong to two departments, and this way of mixing sales rules and mileage redemption rules in one rule requires two departments to create and modify mileage data. Departmental collaboration is very difficult to maintain.
第三,从消费端来看,旅客无法自由选择使用里程还是金额支付,即使常旅客里程足够兑换附加服务产品的时候也无法享受到优惠。Third, from the point of view of consumption, passengers cannot freely choose whether to use mileage or cash payment, even if the frequent flyer mileage is enough to redeem additional service products, they will not be able to enjoy the discount.
发明内容Contents of the invention
有鉴于此,为解决上述问题,本公开提供一种常旅客里程兑换附加服务产品的系统、方法及相关设备,技术方案如下:In view of this, in order to solve the above problems, the present disclosure provides a frequent flyer mileage redemption additional service product system, method and related equipment, the technical solution is as follows:
一种常旅客里程兑换附加服务产品的系统,所述系统包括:航司数据发布前端、运价数据接收集群、运价数据发布集群、附加服务计算集群、以及附加服务销售前端;A system for exchanging frequent flyer miles for additional service products, said system comprising: an airline data release front-end, a freight rate data receiving cluster, a freight rate data release cluster, an additional service computing cluster, and an additional service sales front-end;
所述航司数据发布前端,用于发布附加服务产品销售规则和里程兑换规则,并发送给所述运价数据接收集群,所述里程兑换规则用于表征销售金额转换为销售里程;The airline data publishing front end is used to publish additional service product sales rules and mileage exchange rules, and send them to the tariff data receiving cluster, and the mileage exchange rules are used to represent the conversion of sales amount into sales mileage;
所述运价数据接收集群,用于存储所述附加服务产品销售规则和所述里程兑换规则,并推送给所述运价数据发布集群;The freight rate data receiving cluster is used to store the additional service product sales rules and the mileage exchange rules, and push them to the freight rate data publishing cluster;
所述运价数据发布集群,用于按照预设时间间隔检测变更的所述附加服务产品销售规则和所述里程兑换规则,并发送给所述附加服务计算集群;The freight rate data publishing cluster is used to detect the changed sales rules of the additional service product and the mileage exchange rules according to a preset time interval, and send them to the additional service computing cluster;
所述附加服务销售前端,用于发起附加服务产品购买请求,并发送给所述附加服务计算集群;The additional service sales front end is used to initiate an additional service product purchase request and send it to the additional service computing cluster;
所述附加服务计算集群,用于将接收到的所述附加服务产品销售规则和所述里程兑换规则加载到内存;在接收到所述附加服务产品购买请求的情况下,在所述内存中查询与所述附加服务产品购买请求相匹配的目标附加服务产品销售规则;检测所述目标附加服务产品销售规则中的里程兑换标识;若所述里程兑换标识表征不可用于里程支付,按照所述目标附加服务产品销售规则向所述附加服务销售前端返回第一金额结果;若所述里程兑换标识表征金额转换为里程,在所述内存中查询与所述附加服务产品购买请求相匹配的目标里程兑换规则,并按照所述目标附加服务产品销售规则和所述目标里程兑换规则向所述附加服务销售前端返回第一里程结果;若所述里程兑换标识表征里程或金额均可支付,在所述内存中查询与所述附加服务产品购买请求相匹配的目标里程兑换规则,并按照所述目标附加服务产品销售规则和所述目标里程兑换规则向所述附加服务销售前端返回第二金额结果和第二里程结果。The additional service computing cluster is configured to load the received additional service product sales rules and the mileage redemption rules into memory; when receiving the additional service product purchase request, query A target additional service product sales rule matching the purchase request of the additional service product; detecting the mileage redemption identifier in the target additional service product sales rule; if the mileage redemption identifier indicates that it cannot be used for mileage payment, according to the target The additional service product sales rule returns the first amount result to the additional service sales front end; if the mileage redemption identifier indicates that the amount is converted into mileage, query the target mileage redemption matching the additional service product purchase request in the memory rule, and return the first mileage result to the additional service sales front end according to the target additional service product sales rule and the target mileage exchange rule; Query the target mileage redemption rule matching the additional service product purchase request, and return the second amount result and the second mileage results.
优选的,用于发布附加服务产品销售规则和里程兑换规则的所述航司数据发布前端,具体用于:Preferably, the airline data publishing front-end for publishing additional service product sales rules and mileage redemption rules is specifically used for:
对所获取的附加服务产品销售规则和里程兑换规则进行数据合法性校验,并在校验通过后,发布所述附加服务产品销售规则和所述里程兑换规则。Perform data validity verification on the obtained additional service product sales rules and mileage redemption rules, and issue the additional service product sales rules and the mileage redemption rules after the verification is passed.
优选的,用于存储所述附加服务产品销售规则和所述里程兑换规则的所述运价数据接收集群,具体用于:Preferably, the tariff data receiving cluster for storing the additional service product sales rules and the mileage exchange rules is specifically used for:
对接收到的所述附加服务产品销售规则和所述里程兑换规则进行数据合法性校验,并在校验通过后,存储所述附加服务产品销售规则和所述里程兑换规则。Perform data validity check on the received additional service product sales rules and the mileage exchange rules, and store the additional service product sales rules and the mileage exchange rules after the verification is passed.
优选的,所述附加服务计算集群,还用于:Preferably, the additional service computing cluster is also used for:
检测所述附加服务产品购买请求中的常旅客里程积分;若所述常旅客里程积分为空,则执行所述检测所述目标附加服务产品销售规则中的里程兑换标识,这一步骤;若所述常旅客里程积分为负数,滤除所述第一金额结果/所述第二金额结果;若所述常旅客里程积分为正数,滤除所述第一里程结果/所述第二里程结果中小于所述常旅客里程积分的里程结果。Detect the frequent flyer mileage points in the purchase request of the additional service product; if the frequent flyer mileage point is empty, perform the step of detecting the mileage redemption mark in the sales rule of the target additional service product; if the If the frequent flyer mileage is a negative number, filter out the first amount result/the second amount result; if the frequent flyer mileage point is a positive number, filter out the first mileage result/the second mileage result Mileage results that are less than the stated frequent flyer mileage credits.
优选的,所述附加服务计算集群,还用于:Preferably, the additional service computing cluster is also used for:
如果所述第一里程结果/所述第二里程结果小于所述常旅客里程积分,则输出错误信息。An error message is output if the first mileage result/the second mileage result is less than the frequent flyer mileage credit.
一种常旅客里程兑换附加服务产品的方法,所述方法应用于附加服务计算集群,所述方法包括:A method for exchanging frequent flyer miles for additional service products, the method is applied to an additional service computing cluster, and the method includes:
接收运价数据发布集群按照预设时间间隔所检测的变更的附加服务产品销售规则和里程兑换规则,所述运价数据发布集群所检测的所述附加服务产品销售规则和所述里程兑换规则是航司数据发布前端所发布的、运价数据接收集群存储并推送的;receiving the changed additional service product sales rules and mileage exchange rules detected by the freight rate data release cluster according to preset time intervals, the additional service product sales rules and the mileage exchange rules detected by the freight rate data release cluster are Published by the front-end of airline company data release, freight rate data receiving cluster storage and push;
将接收到的所述附加服务产品销售规则和所述里程兑换规则加载到内存;Loading the received additional service product sales rules and the mileage redemption rules into memory;
在接收到附加服务销售前端所发起的附加服务产品购买请求的情况下,在所述内存中查询与所述附加服务产品购买请求相匹配的目标附加服务产品销售规则;In the case of receiving an additional service product purchase request initiated by the additional service sales front end, querying the memory for a target additional service product sales rule matching the additional service product purchase request;
检测所述目标附加服务产品销售规则中的里程兑换标识;Detecting the mileage redemption mark in the sales rule of the target additional service product;
若所述里程兑换标识表征不可用于里程支付,按照所述目标附加服务产品销售规则向所述附加服务销售前端返回第一金额结果;If the mileage redemption indicator indicates that it cannot be used for mileage payment, return the first amount result to the additional service sales front end according to the target additional service product sales rules;
若所述里程兑换标识表征金额转换为里程,在所述内存中查询与所述附加服务产品购买请求相匹配的目标里程兑换规则,并按照所述目标附加服务产品销售规则和所述目标里程兑换规则向所述附加服务销售前端返回第一里程结果;If the mileage redemption identifier represents that the amount is converted into mileage, query the target mileage redemption rule matching the additional service product purchase request in the memory, and convert the target mileage according to the target additional service product sales rule and the target mileage redemption The rule returns the first mileage result to the additional services sales front end;
若所述里程兑换标识表征里程或金额均可支付,在所述内存中查询与所述附加服务产品购买请求相匹配的目标里程兑换规则,并按照所述目标附加服务产品销售规则和所述目标里程兑换规则向所述附加服务销售前端返回第二金额结果和第二里程结果。If the mileage redemption mark indicates that the mileage or the amount can be paid, query the target mileage redemption rule matching the additional service product purchase request in the memory, and follow the target additional service product sales rule and the target The mileage redemption rule returns a second amount result and a second mileage result to the additional service sales front end.
优选的,所述方法还包括:Preferably, the method also includes:
检测所述附加服务产品购买请求中的常旅客里程积分;Detect frequent flyer mileage points in the purchase request of the additional service product;
若所述常旅客里程积分为空,则执行所述检测所述目标附加服务产品销售规则中的里程兑换标识,这一步骤;If the frequent flyer mileage points are empty, perform the step of detecting the mileage redemption mark in the target additional service product sales rule;
若所述常旅客里程积分为负数,滤除所述第一金额结果/所述第二金额结果;If the frequent flyer mileage points are negative, filter out the result of the first amount/the result of the second amount;
若所述常旅客里程积分为正数,滤除所述第一里程结果/所述第二里程结果中小于所述常旅客里程积分的里程结果。If the frequent flyer mileage points are positive numbers, filter the mileage results smaller than the frequent flyer mileage points in the first mileage result/the second mileage result.
优选的,所述方法还包括:Preferably, the method also includes:
如果所述第一里程结果/所述第二里程结果小于所述常旅客里程积分,则输出错误信息。An error message is output if the first mileage result/the second mileage result is less than the frequent flyer mileage credit.
一种附加服务计算集群,所述附加服务计算集群包括:至少一个存储器和至少一个处理器;所述存储器存储有应用程序,所述处理器调用所述存储器存储的应用程序,所述应用程序用于实现所述的常旅客里程兑换附加服务产品的方法。An additional service computing cluster, the additional service computing cluster includes: at least one memory and at least one processor; the memory stores an application program, the processor invokes the application program stored in the memory, and the application program uses The invention is aimed at realizing the method for exchanging frequent flyer miles for additional service products.
一种存储介质,所述存储介质存储有计算机程序代码,所述计算机程序代码执行时实现所述的常旅客里程兑换附加服务产品的方法。A storage medium stores computer program codes, and implements the method for exchanging frequent flyer miles for additional service products when the computer program codes are executed.
相较于现有技术,本公开实现的有益效果为:Compared with the prior art, the beneficial effects realized by the present disclosure are:
本公开提供一种常旅客里程兑换附加服务产品的系统,运价数据接收集群存储航司数据发布前端发布的附加服务产品销售规则和里程兑换规则,并推送给运价数据发布集群;运价数据发布集群将变更的附加服务产品销售规则和里程兑换规则发送给附加服务计算集群,由附加服务计算集群加载到内存;附加服务计算集群接收到附加服务销售前端发起的附加服务产品购买请求,在内存中查询与附加服务产品购买请求相匹配的目标附加服务产品销售规则,按照其中的里程兑换标识所表征的不同含义(不可用于里程支付、金额转换为里程、里程或金额均可支付)选择性在内存中查询与附加服务产品购买请求相匹配的目标里程兑换规则,以此分别向附加服务销售前端返回不同的结果。基于本公开,可以让航空公司实现灵活的发布里程相关销售政策,让旅客自由选择里程或者金额方式购买附加服务产品,提升用户体验感。This disclosure provides a frequent flyer mileage exchange system for additional service products. The freight rate data receiving cluster stores the additional service product sales rules and mileage exchange rules released by the airline data release front end, and pushes them to the freight rate data release cluster; the freight rate data The release cluster sends the changed additional service product sales rules and mileage redemption rules to the additional service computing cluster, which loads them into the memory; the additional service computing cluster receives the additional service product purchase request initiated by the additional service sales front end, and stores Query the target additional service product sales rules that match the purchase request of additional service products in Query, according to the different meanings represented by the mileage redemption logo (not applicable to mileage payment, conversion of amount to mileage, mileage or amount can be paid) optional Query the target mileage redemption rules matching the additional service product purchase request in the memory, so as to return different results to the additional service sales front end respectively. Based on this disclosure, airlines can flexibly release mileage-related sales policies, allowing passengers to freely choose mileage or money to purchase additional service products, and improve user experience.
附图说明Description of drawings
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。The above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
图1为本公开实施例提供的常旅客里程兑换附加服务产品的系统的结构示意图;FIG. 1 is a schematic structural diagram of a system for exchanging frequent flyer miles for additional service products provided by an embodiment of the present disclosure;
图2为本公开实施例提供的常旅客里程兑换附加服务产品的方法的方法流程图;Fig. 2 is a method flowchart of a method for exchanging frequent flyer miles for additional service products provided by an embodiment of the present disclosure;
图3为本公开实施例提供的附加服务计算集群的结构示意图。FIG. 3 is a schematic structural diagram of an additional service computing cluster provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, the term "comprise" and its variations are open-ended, ie "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one further embodiment"; the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms will be given in the description below.
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that concepts such as "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the sequence of functions performed by these devices, modules or units or interdependence.
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative and not restrictive, and those skilled in the art should understand that unless the context clearly indicates otherwise, it should be understood as "one or more" multiple".
随着航空业的发展和普及,越来越多的人在长途出行时选择乘坐飞机。热门航线是各大航空公司投放资源的重点。如何在众多竞争者中吸引到更多的乘客购买自家的机票成为航空公司的持续发力点。折扣和优惠是人们会考虑的一个重点,航空公司为了吸引旅客更多地选择自己的航班出行,会为这些旅客提供优惠,提升旅客忠诚度,较为普遍的方法就是常旅客计划。常旅客计划是指航空公司向经常乘坐其航班的旅客推出的以里程累积奖励为主的促销手段,是吸引公商务旅客、提高航空公司竞争力的一种市场手段。加入航空公司常旅客计划的旅客就是该公司的会员,也称为常旅客。With the development and popularization of the aviation industry, more and more people choose to take an airplane when traveling long distances. Popular routes are the focus of major airlines investing resources. How to attract more passengers to buy their own tickets among many competitors has become the continuous force of airlines. Discounts and discounts are a key point that people will consider. In order to attract passengers to choose their own flights, airlines will provide these passengers with discounts to enhance passenger loyalty. The more common method is the frequent flyer program. The frequent flyer program refers to the promotion method mainly based on mileage accumulation rewards launched by airlines to passengers who take their flights frequently. It is a marketing method to attract business travelers and improve the competitiveness of airlines. Passengers who join an airline's frequent flyer program are members of that company, also known as frequent flyers.
成为一名常旅客后,如何能获得相应的服务呢?经常使用常客卡或开通了常客服务的证件订该航空公司的航班;当旅客的旅行里程达到一定数量后,系统会自动识别出旅客的高级别卡并且根据卡对应的相应分值提供最优质的服务。After becoming a frequent flyer, how can I get the corresponding service? Often use the frequent flyer card or the certificate that has opened the frequent flyer service to book the flight of the airline; when the passenger's travel mileage reaches a certain amount, the system will automatically recognize the passenger's high-level card and provide the best quality according to the corresponding score of the card Serve.
常旅客服务作为旅客服务重要的组成部分,具有非常丰富的特性,能够为旅客提供越来越多样的优质服务,支持常旅客服务的多样性体现了旅客服务系统的价值。Frequent flyer service, as an important part of passenger service, has very rich characteristics and can provide passengers with more and more diverse high-quality services. Supporting the diversity of frequent flyer services reflects the value of the passenger service system.
常旅客里程兑换附加服务产品(包括选座和行李服务等)又是常旅客服务发展的重要组成部分。但目前的常旅客里程兑换附加服务产品方面存在很多缺陷。Frequent flyer mileage redemption additional service products (including seat selection and luggage service, etc.) are an important part of frequent flyer service development. However, there are many defects in the current frequent flyer mileage redemption additional service products.
第一,从发售端来看,发布用于里程销售的规则不方便。当前航空公司发布的规则都是基于使用金额销售的规则,想要修改为使用里程销售时,需要自行找出所有的销售规则改成具体的里程数目,通常情况下航空公司的数据上万条,修改很困难。以下述表1所示的规则为例:First, from the point of view of distribution, it is inconvenient to issue rules for mileage sales. Currently, the rules issued by airlines are all based on sales by amount. If you want to change it to sales by mileage, you need to find out all the sales rules by yourself and change them to the specific number of mileage. Usually, airlines have tens of thousands of pieces of data. Modifications are difficult. Take the rules shown in Table 1 below as an example:
表1Table 1
当航空公司发布里程数据后想要把从北京到上海(浦东和虹桥机场都在上海)的规则修改为里程销售,只能人工识别已发布的适用于北京和上海的规则(因为大兴机场属于北京,浦东和虹桥机场属于上海,因此这里包括政策号1和2)进行修改。而实际上航空公司生效的各类附加服务产品数据上万条,手工修改量巨大。因此航空公司多选择不维护里程政策,而采用手工方式售卖常旅客里程兑换的附加服务产品。When the airline wants to change the rules from Beijing to Shanghai (both Pudong and Hongqiao Airports are in Shanghai) to mileage sales after publishing the mileage data, it can only manually identify the published rules applicable to Beijing and Shanghai (because Daxing Airport belongs to Beijing , Pudong and Hongqiao airports belong to Shanghai, so policy Nos. 1 and 2) are included here for modification. In fact, there are tens of thousands of additional service product data in effect for airlines, and the amount of manual modification is huge. Therefore, most airlines choose not to maintain the mileage policy, but use manual methods to sell additional service products for frequent flyer mileage redemption.
第二,在中国,航空公司附加服务产品的销售规则和里程兑换规则通常分属两个部门,而这种销售规则和里程兑换规则混合在一条规则内部的方式,新建和修改里程数据需要两个部门协同,非常难维护。Second, in China, the sales rules and mileage redemption rules of airlines’ additional service products usually belong to two departments, and this way of mixing sales rules and mileage redemption rules in one rule requires two departments to create and modify mileage data. Departmental collaboration is very difficult to maintain.
第三,从消费端来看,旅客无法自由选择使用里程还是金额支付,即使常旅客里程足够兑换附加服务产品的时候也无法享受到优惠。还是以上面发布的规则为例,因目前的附加服务计算时只能输出政策号优先的规则,因此常旅客积分达到1000也无法使用第二条里程为1000的规则。Third, from the point of view of consumption, passengers cannot freely choose whether to use mileage or cash payment, even if the frequent flyer mileage is enough to redeem additional service products, they will not be able to enjoy the discount. Still take the rule released above as an example, because the current additional service calculation can only output the policy number priority rule, so the second rule with 1000 miles cannot be used even if the frequent flyer points reach 1000.
以上几个缺陷限制了常旅客里程在附加服务产品兑换方面的发展。The above defects limit the development of frequent flyer miles in the exchange of additional service products.
为解决上述缺陷,本公开提供的常旅客里程兑换附加服务产品的系统,本公开增加了单独的里程兑换规则,且这种新规则不需要绑定销售规则,另外,本公开可通过旅客端发起的请求场景区分输出金额还是里程,供用户的自由选择。具体的,本公开接收旅客发起的附加服务产品购买请求,并且根据收到的请求中常旅客里程积分,查询匹配的附加服务产品销售规则和里程兑换规则,进行金额和里程的转换,并输出最终结果。通过本公开可以让航空公司实现灵活的发布里程相关销售政策,让旅客自由选择里程或者金额方式购买附加服务产品,提升用户体验感。In order to solve the above-mentioned defects, the frequent flyer mileage redemption additional service product system provided by the present disclosure adds a separate mileage redemption rule, and this new rule does not need to bind sales rules. In addition, the present disclosure can be initiated through the passenger terminal The request scenario distinguishes output amount or mileage for users to choose freely. Specifically, the present disclosure receives an additional service product purchase request initiated by a passenger, and queries the matching additional service product sales rules and mileage exchange rules according to frequent flyer mileage points in the received request, converts the amount and mileage, and outputs the final result . Through this disclosure, airlines can flexibly release mileage-related sales policies, allowing passengers to freely choose mileage or money to purchase additional service products, and improve user experience.
参见图1,图1为本公开实施例提供的常旅客里程兑换附加服务产品的系统的结构示意图。常旅客里程兑换附加服务产品的系统包括:航司数据发布前端10、运价数据接收集群20、运价数据发布集群30、附加服务计算集群40、以及附加服务销售前端50;Referring to FIG. 1 , FIG. 1 is a schematic structural diagram of a system for exchanging frequent flyer miles for additional service products provided by an embodiment of the present disclosure. The system for exchanging frequent flyer miles for additional service products includes: airline data release front-
航司数据发布前端10,用于发布附加服务产品销售规则和里程兑换规则,并发送给运价数据接收集群20,里程兑换规则用于表征销售金额转换为销售里程。Airline company data publishing front-
运价数据接收集群20,用于存储附加服务产品销售规则和里程兑换规则,并推送给运价数据发布集群30。The freight rate
运价数据发布集群30,用于按照预设时间间隔检测变更的附加服务产品销售规则和里程兑换规则,并发送给附加服务计算集群40。The freight rate
附加服务销售前端50,用于发起附加服务产品购买请求,并发送给附加服务计算集群40。The additional service sales
附加服务计算集群40,用于将接收到的附加服务产品销售规则和里程兑换规则加载到内存;在接收到附加服务产品购买请求的情况下,在内存中查询与附加服务产品购买请求相匹配的目标附加服务产品销售规则;检测目标附加服务产品销售规则中的里程兑换标识;若里程兑换标识表征不可用于里程支付,按照目标附加服务产品销售规则向附加服务销售前端50返回第一金额结果;若里程兑换标识表征金额转换为里程,在内存中查询与附加服务产品购买请求相匹配的目标里程兑换规则,并按照目标附加服务产品销售规则和目标里程兑换规则向附加服务销售前端50返回第一里程结果;若里程兑换标识表征里程或金额均可支付,在内存中查询与附加服务产品购买请求相匹配的目标里程兑换规则,并按照目标附加服务产品销售规则和目标里程兑换规则向附加服务销售前端50返回第二金额结果和第二里程结果。The additional
本公开实施例中,航司数据发布前端10包括但不限于ASMP(Ancillary ServiceManagement Platform,中国航信附加服务管理平台)等前端,可以发布附加服务产品各类规则,比如各航空公司发布的附加服务运价销售规则(包含相应的计算规则)、以及销售金额转换为销售里程的规则(即里程兑换规则)。In the embodiment of the present disclosure, the airline data publishing front-
运价数据接收集群20存储各航空公司发布的附加服务运价销售规则和里程兑换规则,并发送给运价数据发布集群30。The tariff
运价数据发布集群30可以按照预设时间间隔,比如每小时检测一次运价数据接收集群20中变更的数据,即变更的附加服务产品销售规则和里程兑换规则,并发送给附加服务计算集群40。The freight rate data release
附加服务计算集群40接收来自附加服务销售前端50发出的请求,使用数据发布集群发布30的数据进行计算,并将计算的结果返回给附加服务销售前端50。The additional
附加服务销售前端50包括不限于PE(Passenger Experience,旅客服务)等自助柜台,可以发起针对附加服务产品的购买请求,即附加服务产品购买请求,并将附加服务计算集群40返回的结果反馈给旅客。The additional service sales
具体实现过程中,航空公司使用公司账号登录航司数据发布前端(包括但不限于ASMP前端)10后,发布附加服务运价销售规则,包括不但不限于航空公司、旅客类型、服务类型(座选服务、行李服务)、可销售起止时间、常旅客等级、地理位置限制、销售金额、销售里程、里程兑换标识等信息,发布给运价数据接收集群20。In the specific implementation process, after the airline uses the company account to log in to the airline data release front-end (including but not limited to the ASMP front-end)10, it publishes additional service tariff sales rules, including but not limited to airlines, passenger types, service types (seat selection) service, luggage service), salesable start and end time, frequent flyer level, geographic location restriction, sales amount, sales mileage, mileage redemption mark and other information are released to the tariff
同样的,航空公司使用公司账号登录航司数据发布前端(包括但不限于ASMP前端)10后,发布里程兑换规则包括但不限于航空公司、可销售起止时间、服务类型(座选服务、行李服务)、里程兑换系数、地理位置限制等规则信息,发布给运价数据接收集群20。Similarly, after the airline uses the company account to log in to the front-end of the airline’s data release (including but not limited to the ASMP front-end)10, the release of mileage redemption rules includes but is not limited to the airline, the start and end time of sales, and the type of service (seat selection service, baggage service) ), mileage conversion coefficient, geographic location restrictions and other rule information, and publish it to the tariff
在一些场景下,为保证航司数据发布前端10所发布的附加服务产品销售规则和里程兑换规则符合要求。用于发布附加服务产品销售规则和里程兑换规则的航司数据发布前端10,具体用于:In some scenarios, to ensure that the additional service product sales rules and mileage redemption rules released by the airline data release
对所获取的附加服务产品销售规则和里程兑换规则进行数据合法性校验,并在校验通过后,发布附加服务产品销售规则和里程兑换规则。Perform data legality verification on the obtained additional service product sales rules and mileage redemption rules, and release the additional service product sales rules and mileage redemption rules after the verification is passed.
本公开实施例中,对于航空公司所发布的附加服务产品销售规则和里程兑换规则,航司数据发布前端10对其进行数据合法性校验,待数据合法性校验后,再发布给运价数据接收集群20。举例来说,对附加服务产品销售规则进行数据合法性校验时,可以验证其中“可销售起始不早于当前时间”、“常旅客等级必须在航空公司的会员卡级别内”、“销售金额、销售里程不可为负数”等,本公开实施例对具体的数据合法性校验内容不做限定。In the embodiment of the present disclosure, for the additional service product sales rules and mileage redemption rules issued by the airline company, the airline company data release front-
运价数据接收集群20收到航司数据发布前端10发布的附加服务产品销售规则和里程兑换规则后,可以存储到本地,并推送给运价数据发布集群30。运价数据发布集群30则将变更的附加服务产品销售规则和里程兑换规则发送给附加服务计算集群40。After the freight rate
在一些场景下,为保证运价数据接收集群20收到的附加服务产品销售规则和里程兑换规则符合要求,用于存储附加服务产品销售规则和里程兑换规则的运价数据接收集群20,具体用于:In some scenarios, in order to ensure that the additional service product sales rules and mileage exchange rules received by the freight rate
对接收到的附加服务产品销售规则和里程兑换规则进行数据合法性校验,并在校验通过后,存储附加服务产品销售规则和里程兑换规则。The received additional service product sales rules and mileage redemption rules are verified for data validity, and after the verification is passed, the additional service product sales rules and mileage redemption rules are stored.
本公开实施例中,运价数据接收集群20收到航司数据发布前端10发布的附加服务产品销售规则和里程兑换规则后,可以对其进行数据合法性校验,待数据合法性校验后,再存储到本地。举例来说,对附加服务产品销售规则和里程兑换规则进行数据合法性校验时,可以验证其中“数据文件内容非空”、“每条规则的数据长度必须符合协定的数据长度”等,本公开实施例对具体的数据合法性校验内容不做限定。In the embodiment of the present disclosure, after the tariff
旅客登录附加服务销售前端(包括但不限于PE前端)50,发起附加服务产品购买请求,包括但不限于始发地、目的地、旅行时间、舱位、常旅客里程等信息。Passengers log in to the additional service sales front-end (including but not limited to PE front-end) 50, and initiate purchase requests for additional service products, including but not limited to origin, destination, travel time, cabin class, frequent flyer mileage and other information.
附加服务计算集群40接收到运价数据发布集群30发送的附加服务产品销售规则和里程兑换规则后,加载到内存供计算使用。当接收到附加服务销售前端50发来的附加服务产品购买请求后,可以匹配内存中的附加服务产品销售规则,对于匹配到的附加服务产品销售规则(即目标附加服务产品销售规则),可以按照其中的里程兑换标识所表征的不同含义(不可用于里程支付、金额转换为里程、里程或金额均可支付)选择性在内存中查询与附加服务产品购买请求相匹配的目标里程兑换规则,以此分别向附加服务销售前端50返回不同的结果。具体的:After the additional
若里程兑换标识表征不可用于里程支付,按照目标附加服务产品销售规则向附加服务销售前端50返回计算得到的金额结果(即第一金额结果);If the mileage redemption mark indicates that it cannot be used for mileage payment, return the calculated amount result (that is, the first amount result) to the additional service sales
若里程兑换标识表征金额转换为里程,在内存中匹配里程兑换规则(即目标里程兑换规则),并按照目标附加服务产品销售规则和目标里程兑换规则向附加服务销售前端50返回计算得到的里程结果(即第一里程结果);If the mileage redemption mark indicates that the amount is converted into mileage, match the mileage redemption rule (i.e. the target mileage redemption rule) in the memory, and return the calculated mileage result to the additional service sales
若里程兑换标识表征里程或金额均可支付,在内存中匹配里程兑换规则(即目标里程兑换规则),并按照目标附加服务产品销售规则和目标里程兑换规则向附加服务销售前端50返回计算得到的金额结果(即第二金额结果)和里程结果(即第二里程结果)。If the mileage redemption sign indicates that the mileage or the amount can be paid, match the mileage redemption rule (i.e. the target mileage redemption rule) in the memory, and return the calculated value to the additional service sales
另外,在附加服务计算集群40在计算时可以根据附加服务产品购买请求中的Mileage字段(即常旅客里程积分)来进行以上三个场景的查询和计算。其中,常旅客里程积分为空,表示附加服务产品购买请求所在的请求场景不需要知道常旅客里程、只是查询有哪些可用的附加服务产品(包含了金额支付和里程支付两种)即可;常旅客里程积分为负数,表示附加服务产品购买请求所在的请求场景只查询用常旅客里程积分可以购买的附加服务产品(但不一定用户的里程足够支付);常旅客里程积分为正数,该数值代表了用户持有的里程积分,此种场景是用来查询只用用户的常旅客里程积分可以购买到的附加服务产品。In addition, during calculation, the additional
由此,具体实现过程中,附加服务计算集群40,还用于:Therefore, during the specific implementation process, the additional
检测附加服务产品购买请求中的常旅客里程积分;Detect frequent flyer mileage credits in purchase requests for additional service products;
若常旅客里程积分为空,则执行检测目标附加服务产品销售规则中的里程兑换标识,这一步骤;若常旅客里程积分为负数,滤除第一金额结果/第二金额结果;若常旅客里程积分为正数,滤除第一里程结果/第二里程结果中小于常旅客里程积分的里程结果。If the frequent flyer mileage points are empty, perform the step of detecting the mileage redemption mark in the sales rule of the target additional service product; if the frequent flyer mileage points are negative, filter out the first amount result/second amount result; if the frequent flyer Mileage points are positive numbers, and mileage results less than frequent flyer mileage points in the first mileage result/second mileage result are filtered out.
也就是说,附加服务计算集群40接收到附加服务产品购买请求后,可以首先检测附加服务产品购买请求中的常旅客里程积分。That is to say, after receiving the additional service product purchase request, the additional
常旅客里程积分为空时,里程未知,此时为查询请求,附加服务计算需要输出所有匹配附加服务产品购买请求可用的附加服务产品销售规则和里程兑换规则,对此,继续执行步骤“检测目标附加服务产品销售规则中的里程兑换标识”,以匹配内存中所有的附加服务产品销售规则和里程兑换规则。When the frequent flyer mileage is empty, the mileage is unknown. At this time, it is a query request. The additional service calculation needs to output all the available additional service product sales rules and mileage exchange rules that match the additional service product purchase request. For this, proceed to the step "Detect Target Mileage redemption identifier in additional service product sales rules" to match all additional service product sales rules and mileage redemption rules in the memory.
常旅客里程积分为负数时,此时为查询纯里程定价的规则(这是指附加服务产品销售规则,附加服务产品销售规则中里程兑换标识表征金额转换为里程,表示必须使用里程销售这个附加服务产品),附加服务计算返回纯里程结果。对此,在输出第一金额结果/第一里程结果/第二金额结果和第二里程结果后,可以对其中的金额结果进行滤除,即:若输出的是第一金额结果,则滤除第一金额结果;若输出的是第一里程结果,则保留该第一里程结果;若输出的是第二金额结果和第二里程结果,则滤除第二金额结、保留第二里程结果,最终只能输出第一里程结果/第二里程结果。When frequent flyer mileage points are negative, at this time, query the rules of pure mileage pricing (this refers to the sales rules of additional service products. The mileage redemption mark in the sales rules of additional service products indicates that the amount is converted into mileage, indicating that the additional service of mileage sales must be used product), additional service calculations return pure mileage results. In this regard, after outputting the first amount result/first mileage result/second amount result and the second mileage result, the amount result can be filtered out, that is, if the output is the first amount result, then filter out The first amount result; if the output is the first mileage result, then keep the first mileage result; if the output is the second amount result and the second mileage result, then filter out the second amount result and keep the second mileage result, In the end, only the first mileage result/second mileage result can be output.
常旅客里程积分为正数(即具体数值),该数值为常旅客里程,附加服务计算返回常旅客里程积分足够购买的里程结果。对此,在输出第一金额结果/第一里程结果/第二金额结果和第二里程结果后,可以对其中小于常旅客里程积分的里程结果进行滤除,即:若输出的是第一金额结果,则保留第一金额结果;若输出的是第一里程结果,则比较该第一里程结果与常旅客里程积分,若该第一里程结果小于该常旅客里程积分,则滤除该第一里程结果,反之,若该第一里程结果大于或等于该常旅客里程积分,则保留该第一里程结果;若输出的是第二金额结果和第二里程结果,则比较该第二里程结果与常旅客里程积分,若该第二里程结果小于该常旅客里程积分,则滤除该第二里程结果、最终输出第二金额结果,反之,若该第二里程结果大于或等于该常旅客里程积分则保留该第二里程结果、最终输出第二金额结果和第二里程结果。Frequent flyer mileage is a positive number (that is, a specific value), and this value is frequent flyer mileage. Additional service calculation returns the mileage result that the frequent flyer mileage points are enough to purchase. In this regard, after outputting the first amount result/first mileage result/second amount result and the second mileage result, the mileage results less than frequent flyer mileage points can be filtered out, that is: if the output is the first amount result, then retain the first amount result; if the output is the first mileage result, then compare the first mileage result with the frequent flyer mileage points, if the first mileage result is less than the frequent flyer mileage points, then filter out the first mileage result mileage result, otherwise, if the first mileage result is greater than or equal to the frequent flyer mileage point, then retain the first mileage result; if the output is the second amount result and the second mileage result, then compare the second mileage result with the Frequent flyer mileage points, if the second mileage result is less than the frequent flyer mileage point, then filter out the second mileage result and finally output the second amount result, otherwise, if the second mileage result is greater than or equal to the frequent flyer mileage point Then keep the second mileage result, and finally output the second amount result and the second mileage result.
在此基础上,如果第一里程结果/第二里程结果小于常旅客里程积分,附加服务计算集群40还可以输出错误信息,以提示用户无可用规则。On this basis, if the first mileage result/second mileage result is less than the frequent flyer mileage points, the additional
附加服务销售前端50收到附加服务计算集群40返回的结果后,对其中的金额、里程、里程或金额标识等字段解析,并展示给用户购买该附加服务产品所需的金额EquivAmount,金额的货币单位Currency或者里程MileageFee,同时输出里程兑换系数ExchangeFactor。After the additional service sales
为方便理解本公开,以下对附加服务产品销售规则和里程兑换规则进行举例说明,再以三个场景为例来说明本公开的方案:In order to facilitate understanding of the present disclosure, the following examples illustrate the sales rules of additional service products and the mileage redemption rules, and then use three scenarios as examples to illustrate the solutions of the present disclosure:
1)附加服务产品销售规则:1) Additional service product sales rules:
新建附加服务产品销售规则,设置包括但不限于航空公司、旅客类型、服务类型(座选服务、行李服务)、可销售起止时间、常旅客等级、地理位置限制、销售金额、里程兑换标识等信息。Create new sales rules for additional service products, including but not limited to airlines, passenger types, service types (seat selection service, luggage service), sales start and end time, frequent flyer level, geographic location restrictions, sales amount, mileage redemption logo, etc. .
其中,里程兑换标识字段是该附加服务产品销售规则是否进行里程转换的开关,取值有三种情况,取值为“”,不可用于里程支付;“1”,金额转换为里程支付;“2”,里程或金额两种方式均可支付。以下表2为四条已经发布的附加服务产品销售规则的示例:Among them, the mileage redemption identification field is the switch of whether the sales rule of this additional service product performs mileage conversion. There are three situations for the value, the value is "", which cannot be used for mileage payment; "1", the amount is converted into mileage payment; "2 ", mileage or money can be paid in two ways. Table 2 below is an example of the four published additional service product sales rules:
表2Table 2
其中,附加服务产品销售规则1:CA航空公司的座选服务,从首都机场至虹桥机场,金额500,必须转换为里程销售。附加服务产品销售规则2:CA航空公司的座选服务,从大兴机场至香港国际机场机场,金额1000,销售方式可以为金额或者里程。附加服务产品销售规则3:CA航空公司的座选服务,从大兴机场至浦东机场,金额500,不参与里程销售。附加服务产品销售规则4:CA航空公司的座选服务,从中国国内C城市至上海,金额500,销售方式可以为金额或者里程。Among them, additional service product sales rule 1: CA Airlines seat selection service, from Capital Airport to Hongqiao Airport, the amount is 500, which must be converted into mileage sales. Additional service product sales rule 2: Seat selection service of CA Airlines, from Daxing Airport to Hong Kong International Airport, the amount is 1000, and the sales method can be amount or mileage. Additional service product sales rule 3: The seat selection service of CA airlines, from Daxing Airport to Pudong Airport, the amount is 500, and does not participate in mileage sales. Additional service product sales rule 4: The seat selection service of CA airlines, from city C in China to Shanghai, the amount is 500, and the sales method can be amount or mileage.
2)里程兑换规则2) Mileage redemption rules
新建里程兑换规则,设置包括但不限于航空公司、可销售起止时间、服务类型(座选服务、行李服务)、里程兑换系数、地理位置限制等规则信息。其中,兑换系数需要与基准货币一起使用,基准货币为人民币,兑换系数为1.5的含义为,1CNY等值1.5里程来兑换附加服务产品。以下表3为三条已经发布的里程兑换规则的示例:Create new mileage redemption rules, including but not limited to airlines, sales start and end times, service types (seat selection service, luggage service), mileage redemption coefficient, geographic location restrictions and other rule information. Among them, the conversion factor needs to be used together with the base currency, the base currency is RMB, and the conversion factor of 1.5 means that 1 CNY is equivalent to 1.5 miles to exchange for additional service products. Table 3 below is an example of three published mileage redemption rules:
表3table 3
其中,里程兑换规则1:CA航空公司的座选服务,从大兴机场至浦东机场,持有金卡的常旅客,1CNY兑换为1.5里程用于里程销售。里程兑换规则2:CA航空公司的座选服务,从北京至上海,持有金卡的常旅客,1CNY兑换为1.5里程用于里程销售。里程兑换规则3:CA航空公司的座选服务,从中国国内D城市至上海,持有金卡的常旅客,1CNY兑换为1.5里程用于里程销售。Among them, mileage redemption rule 1: Seat selection service of CA Airlines, from Daxing Airport to Pudong Airport, for frequent flyers holding gold cards, 1 CNY is converted into 1.5 mileage for mileage sales. Mileage redemption rule 2: Seat selection service of CA Airlines, from Beijing to Shanghai, for frequent flyers holding gold cards, 1 CNY is converted into 1.5 miles for mileage sales. Mileage redemption rule 3: Seat selection service of CA airlines, from Chinese domestic city D to Shanghai, for frequent flyers holding gold cards, 1 CNY is converted into 1.5 mileage for mileage sales.
需要说明的是,里程兑换规则与附加服务产品销售规则在发布的时候完全独立,修改的时候也完全独立,因此不需要两部门协同。It should be noted that the mileage redemption rules are completely independent from the sales rules of additional service products when they are released, and they are also completely independent when they are revised, so there is no need for coordination between the two departments.
还需要说明的是,航空公司发布的里程兑换规则可使用多维度来维护。如果想进行宽泛的匹配,则航空公司只需要输入航空公司二字码、始发和目的不限制(为空)、基础货币,则默认所有的附加服务产品(行李或者座选等)、所有的行程都可以来使用该兑换系数来兑换为需要支付的里程。如果想进行细粒度的匹配,也可限制始发和目的地为具体的起飞和到达机场,此时可以精准的匹配该航空公司起飞和到达机场之间的兑换系数。It should also be noted that the mileage redemption rules issued by airlines can be maintained using multiple dimensions. If you want to perform a broad match, the airline only needs to enter the two-character code of the airline, the origin and destination are not limited (empty), the base currency, and all additional service products (baggage or seat selection, etc.) are defaulted, and all All itineraries can be converted into miles that need to be paid using this conversion factor. If you want to perform fine-grained matching, you can also limit the origin and destination to specific departure and arrival airports. At this time, you can accurately match the conversion factor between the airline's departure and arrival airports.
3)附加服务计算集群40接收旅客发起的附加服务产品购买请求,包括以下三种场景:3) The additional
附加服务产品购买请求中常旅客里程积分未知(Mileage字段为空),此时场景为list场景,旅客要查询所有可用规则,里程和金额支付结果都要输出;The frequent flyer mileage points in the additional service product purchase request are unknown (the Mileage field is empty), and the scenario is a list scenario. Passengers need to query all available rules, and the mileage and amount payment results must be output;
常旅客里程积分为负数,查询纯里程定价(Mileage字段为-1),此时为计算场景,只输出使用里程支付的结果;Frequent flyer mileage points are negative, and pure mileage pricing is queried (the Mileage field is -1). This is a calculation scenario, and only the result of using mileage payment is output;
常旅客里程积分为正数,里程已知(Mileage字段的为常旅客里程积分),此时为计算场景,根据常旅客里程账户里程多少而定,查找适合该旅客的可用规则,输出金额或者里程。The frequent flyer mileage is a positive number, and the mileage is known (the Mileage field is the frequent flyer mileage). This is the calculation scenario. According to the mileage of the frequent flyer mileage account, find the available rules suitable for the passenger, and output the amount or mileage .
一、针对场景A,有如下示例:1. For scenario A, there are the following examples:
旅客持有金卡,从首都机场飞往虹桥机场,不输入常旅客里程,请求中Mileage字段空,查询CA航空公司所有可用的座选服务。Passengers holding a gold card fly from Capital Airport to Hongqiao Airport without entering frequent flyer mileage, and the Mileage field in the request is empty, to query all available seat selection services of CA Airlines.
附加服务计算集群40收到该请求后,先查询附加服务产品销售规则。查到4条销售规则后,处理逻辑如下:After the additional
附加服务产品销售规则1和2与请求的行程不匹配(始发和目的不是首都机场和虹桥机场)不输出。Additional service product sales rules 1 and 2 do not match the requested itinerary (the origin and destination are not Capital Airport and Hongqiao Airport) are not output.
附加服务产品销售规则3与请求航空公司、旅客的需要购买的服务行程、常客等级匹配,因此可输出,该规则中里程兑换标识为“”,不可兑换为里程支付,因此输出座选销售为500CNY。Additional service product sales rule 3 matches the requesting airline, the service itinerary to be purchased by the passenger, and the frequent flyer level, so it can be output. In this rule, the mileage redemption mark is "", which cannot be redeemed for mileage payment, so the output seat selection sales is 500CNY .
附加服务产品销售规则4与请求航空公司、旅客的需要购买的服务行程、常客等级匹配,该规则中里程兑换标识为2,需要使用里程兑换规则表兑换成需要支付的里程数。附加服务计算集群40查询到里程兑换规则表中有3条里程兑换规则,处理逻辑如下:Additional service product sales rule 4 matches the requesting airline, the service itinerary to be purchased by the passenger, and the frequent flyer level. In this rule, the mileage redemption indicator is 2, and the mileage redemption rule table needs to be used to redeem the mileage that needs to be paid. The additional
里程兑换规则1行程与请求的行程不匹配(始发和目的不是首都机场和虹桥机场),因此无法用于兑换。Mileage redemption rule 1 The itinerary does not match the requested itinerary (the origin and destination are not Capital Airport and Hongqiao Airport), so it cannot be used for redemption.
里程兑换规则2与请求航空公司匹配、常客等级匹配、旅客的需要购买的服务行程匹配(首都机场和虹桥机场分别属于北京和上海,因此匹配)取得基准货币CNY,兑换系数为2,因此上述附加服务产品销售规则4中金额500CNY乘上兑换系数,可以用500*2=1000里程的方式销售。Mileage exchange rule 2 is matched with the requesting airline, frequent flyer level, and the service itinerary that passengers need to purchase (Capital Airport and Hongqiao Airport belong to Beijing and Shanghai respectively, so they match) to obtain the base currency CNY, and the conversion coefficient is 2, so the above additional The amount of 500CNY in Rule 4 of service product sales can be multiplied by the conversion factor, and can be sold in the form of 500*2=1000 miles.
因此针对场景A输出以下结果:So the following results are output for scenario A:
500CNY可购买座位Seats can be purchased for 500CNY
500CNY或者1000里程可购买座位Seats can be purchased for 500CNY or 1000 miles
二、针对场景B,旅客持有金卡,从首都机场飞往虹桥机场,不输入常旅客里程,附加服务产品购买请求中Mileage字段为-1,查询可用里程支付的价格。此时与场景A所做的逻辑相同,不同的是最后的计算结果只取可用里程支付的结果。因此针对场景B输出以下结果:2. For scenario B, the passenger holds a gold card and flies from Capital Airport to Hongqiao Airport without entering frequent flyer mileage, and the Mileage field in the purchase request of additional service products is -1, and the price paid by the available mileage is inquired. At this time, the logic is the same as scenario A, except that the final calculation result only takes the result of the available mileage payment. So output the following result for Scenario B:
1000里程可购买座位Seats can be purchased with 1000 miles
三、针对场景C,旅客持有金卡,从首都机场飞往虹桥机场,Mileage字段输入常旅客账户里程2000,此时最后的计算结果要取旅客里程大于需要支付的里程数目的结果。3. For scenario C, the passenger holds a gold card and flies from Capital Airport to Hongqiao Airport, and enters 2000 frequent flyer account mileage in the Mileage field. At this time, the final calculation result should be the result that the passenger mileage is greater than the number of mileage that needs to be paid.
附加服务产品销售规则1和2与场景AB逻辑相同,不输出。Additional service product sales rules 1 and 2 have the same logic as scenario AB and are not output.
附加服务产品销售规则3与请求航空公司、旅客的需要购买的服务行程、常客等级匹配,但不可兑换为里程支付,因此不输出Additional service product sales rule 3 matches the requesting airline, the service itinerary to be purchased by the passenger, and the frequent flyer level, but it cannot be exchanged for mileage payment, so it is not output
附加服务产品销售规则4同样查询到里程兑换规则2,经过兑换后所需里程为1000里程,此时旅客常旅客账户中的2000大于1000,因此可输出。因此针对场景C输出以下结果:Additional service product sales rule 4 also finds mileage redemption rule 2. After redemption, the required mileage is 1000 miles. At this time, 2000 in the frequent flyer account is greater than 1000, so it can be output. So the following results are output for scenario C:
500CNY或者1000里程可购买座位Seats can be purchased for 500CNY or 1000 miles
当然,此种场景如果常旅客账户中里程为500,小于所需支付1000里程,则输出无可用规则的错误提示用户。Of course, in this scenario, if the mileage in the frequent flyer account is 500, which is less than the 1,000 mileage required to be paid, an error prompting the user that there are no available rules will be output.
经由以上描述可知,过去旅航空公司会员若想利用里程兑换附加服务产品需要通过服务台人工处理,费时费力。里程积分兑换附加服务产品功能的成功上线可以丰富里程积分的营销功能,为航空公司带来的巨大价值。From the above description, it can be seen that if airline members who have traveled in the past want to use their miles to redeem additional service products, they need to manually process through the service desk, which is time-consuming and labor-intensive. The successful launch of the product function of redeeming mileage points for additional services can enrich the marketing function of mileage points and bring great value to airlines.
本公开可以使得常旅客服务系统功能的持续提升,让旅客更方便地订制自己喜欢的产品,享有更优质的服务,可以很大程度上提升旅客忠诚度,提高用户粘性。This disclosure can continuously improve the functions of the frequent flyer service system, allow passengers to order their favorite products more conveniently, enjoy better services, and can greatly improve passenger loyalty and user stickiness.
本公开提出了一种常旅客里程兑换附加服务产品的系统,技术关键点在于:This disclosure proposes a frequent flyer mileage exchange system for additional service products, the key technical points are:
1)解决了需要在柜台手工处理里程兑换附加服务产品的场景时,只能靠人工计算所需里程,此时柜台人员需要判定不同航空公司以及不同始发和目的地所需的不同里程,很容易出错。1) To solve the scenario where the mileage exchange for additional service products needs to be manually processed at the counter, the required mileage can only be calculated manually. At this time, the counter personnel need to determine the different mileage required by different airlines and different origins and destinations. Error-prone.
2)由于支持了自动计算,使得自助设备完成收费成为可能,同时降低了人工成本的投入。提高了机场柜台处理效率,减少了排队等候时长,增加了旅客满意度。2) Due to the support of automatic calculation, it is possible to complete charging by self-service equipment, and at the same time reduce the input of labor costs. Improve the processing efficiency of the airport counter, reduce the waiting time in line, and increase passenger satisfaction.
3)航空公司可以非常灵活的发售可使用里程兑换附加服务产品,非常方便的通过调整兑换系数调整需要支付的里程,不仅效率方面带来了极大的提升,发售里程兑换的产品方面也更加积极。3) Airlines can flexibly sell additional service products that can be redeemed with mileage, and it is very convenient to adjust the mileage that needs to be paid by adjusting the exchange coefficient. .
4)旅客可自由选择里程或者金额的方式来支付购买的附加服务产品,进一步增加了旅客的满意度。4) Passengers can freely choose mileage or the amount of money to pay for the purchased additional service products, which further increases passenger satisfaction.
本文中以上描述的航司数据发布前端10、运价数据接收集群20、运价数据发布集群30、附加服务计算集群40、以及附加服务销售前端50的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions of the airline company data publishing
基于上述实施例提供的常旅客里程兑换附加服务产品的系统,本公开则对应提供一种常旅客里程兑换附加服务产品的方法,该方法应用于附加服务计算集群,方法流程图如图2所示,包括如下步骤:Based on the system for exchanging frequent flyer miles for additional service products provided in the above embodiments, this disclosure provides a method for exchanging frequent flyer miles for additional service products, which is applied to the additional service computing cluster. The method flow chart is shown in Figure 2 , including the following steps:
S10,接收运价数据发布集群按照预设时间间隔所检测的变更的附加服务产品销售规则和里程兑换规则,运价数据发布集群所检测的附加服务产品销售规则和里程兑换规则是航司数据发布前端所发布的、运价数据接收集群存储并推送的。S10, receiving the changed additional service product sales rules and mileage exchange rules detected by the freight rate data release cluster according to the preset time interval, the additional service product sales rules and mileage exchange rules detected by the freight rate data release cluster are airline data releases Published by the front end, freight rate data is stored and pushed by the receiving cluster.
S20,将接收到的附加服务产品销售规则和里程兑换规则加载到内存。S20, loading the received additional service product sales rules and mileage redemption rules into the memory.
S30,在接收到附加服务销售前端所发起的附加服务产品购买请求的情况下,在内存中查询与附加服务产品购买请求相匹配的目标附加服务产品销售规则。S30. In the case of receiving an additional service product purchase request initiated by the additional service sales front end, query the memory for a target additional service product sales rule matching the additional service product purchase request.
S40,检测目标附加服务产品销售规则中的里程兑换标识。S40, detecting the mileage redemption indicator in the sales rule of the target additional service product.
S50,若里程兑换标识表征不可用于里程支付,按照目标附加服务产品销售规则向附加服务销售前端返回第一金额结果。S50, if the mileage redemption indicator indicates that it cannot be used for mileage payment, return the first amount result to the additional service sales front end according to the sales rules of the target additional service product.
S60,若里程兑换标识表征金额转换为里程,在内存中查询与附加服务产品购买请求相匹配的目标里程兑换规则,并按照目标附加服务产品销售规则和目标里程兑换规则向附加服务销售前端返回第一里程结果。S60, if the mileage redemption mark indicates that the amount is converted into mileage, query the target mileage redemption rule matching the additional service product purchase request in the memory, and return the first mileage redemption rule to the additional service sales front end according to the target additional service product sales rule and the target mileage redemption rule One mile results.
S70,若里程兑换标识表征里程或金额均可支付,在内存中查询与附加服务产品购买请求相匹配的目标里程兑换规则,并按照目标附加服务产品销售规则和目标里程兑换规则向附加服务销售前端返回第二金额结果和第二里程结果。S70, if the mileage redemption mark indicates that the mileage or the amount can be paid, query the target mileage redemption rule matching the additional service product purchase request in the memory, and sell the front end to the additional service according to the target additional service product sales rule and the target mileage redemption rule Returns the second amount result and the second mileage result.
可选的,上述方法还包括如下步骤:Optionally, the above method also includes the following steps:
检测附加服务产品购买请求中的常旅客里程积分;Detect frequent flyer mileage credits in purchase requests for additional service products;
若常旅客里程积分为空,则执行步骤S40;If the frequent flyer mileage points are empty, execute step S40;
若常旅客里程积分为负数,滤除第一金额结果/第二金额结果;If the frequent flyer mileage points are negative, filter out the result of the first amount/the result of the second amount;
若常旅客里程积分为正数,滤除第一里程结果/第二里程结果中小于常旅客里程积分的里程结果。If the frequent flyer mileage points are positive, filter out the mileage results that are less than the frequent flyer mileage points in the first mileage result/second mileage result.
可选的,上述方法还包括如下步骤:Optionally, the above method also includes the following steps:
如果第一里程结果/第二里程结果小于常旅客里程积分,则输出错误信息。If the first mileage result/second mileage result is less than the frequent flyer mileage credit, an error message is output.
需要说明的是,本公开实施例中常旅客里程兑换附加服务产品的方法的具体实现可以参见上述常旅客里程兑换附加服务产品的系统实施例对应公开部分,在此不再赘述。It should be noted that, for the specific implementation of the method for exchanging frequent flyer miles for additional service products in the embodiment of the present disclosure, please refer to the corresponding disclosure part of the system embodiment for exchanging frequent flyer miles for additional service products, and details will not be repeated here.
需要说明的是,附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functions and operations of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are used for illustrative purposes only, and are not used to limit the scope of these messages or information.
虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or to be performed in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous.
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that the various steps described in the method implementations of the present disclosure may be executed in different orders, and/or executed in parallel. Additionally, method embodiments may include additional steps and/or omit performing illustrated steps. The scope of the present disclosure is not limited in this regard.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages - such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
基于上述实施例提供的常旅客里程兑换附加服务产品的方法,本公开实施例还提供一种附加服务计算集群,其特征在于,附加服务计算集群包括:至少一个存储器和至少一个处理器;存储器存储有应用程序,处理器调用存储器存储的应用程序,应用程序用于实现常旅客里程兑换附加服务产品的方法。Based on the method for exchanging frequent flyer miles for additional service products provided in the above embodiments, an embodiment of the present disclosure also provides an additional service computing cluster, which is characterized in that the additional service computing cluster includes: at least one memory and at least one processor; memory storage There is an application program, and the processor invokes the application program stored in the memory, and the application program is used to implement a method for redeeming frequent flyer miles for additional service products.
下面参考图3,其示出了适于用来实现本公开实施例的附加服务计算集群300的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图3示出的附加服务计算集群仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring now to FIG. 3 , it shows a schematic structural diagram of an additional service computing cluster 300 suitable for implementing an embodiment of the present disclosure. The terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like. The additional service computing cluster shown in FIG. 3 is only an example, and should not limit the functions and scope of use of this embodiment of the present disclosure.
如图3所示,附加服务计算集群300可以包括处理装置(例如中央处理器、图形处理器等)301,其可以根据存储在只读存储器(ROM)302中的程序或者从存储装置309加载到随机访问存储器(RAM)303中的程序而执行各种适当的动作和处理。在RAM 303中,还存储有附加服务计算集群300操作所需的各种程序和数据。处理装置301、ROM302以及RAM 303通过总线304彼此相连。输入/输出(I/O)接口305也连接至总线304。As shown in FIG. 3 , the additional service computing cluster 300 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 301, which may be stored in a read-only memory (ROM) 302 or loaded into Various appropriate actions and processes are executed by accessing programs in the random memory (RAM) 303 . In the
通常,以下装置可以连接至I/O接口305:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置306;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置307;包括例如磁带、硬盘等的存储装置308;以及通信装置309。通信装置309可以允许附加服务计算集群300与其他设备进行无线或有线通信以交换数据。虽然图3示出了具有各种装置的附加服务计算集群300,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices can be connected to the I/O interface 305:
基于上述实施例提供的行程搜索方法,本公开实施例还提供一种存储介质,其特征在于,存储介质存储有计算机程序代码,计算机程序代码执行时实现常旅客里程兑换附加服务产品的方法。Based on the itinerary search method provided by the above embodiments, the embodiments of the present disclosure also provide a storage medium, which is characterized in that the storage medium stores computer program codes, and when the computer program codes are executed, a method for exchanging frequent flyer miles for additional service products is realized.
在本公开的上下文中,存储介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。存储介质可以是机器可读信号介质或机器可读储存介质。存储介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a storage medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. The storage medium may be a machine-readable signal medium or a machine-readable storage medium. A storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
需要说明的是,本公开上述的存储介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何存储介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the storage medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, 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 device, magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any storage medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. Program code contained on a storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
上述存储介质可以是上述附加服务计算集群中所包含的;也可以是单独存在,而未装配入该附加服务计算集群中。The above-mentioned storage medium may be contained in the above-mentioned additional service computing cluster, or may exist independently without being assembled into the additional service computing cluster.
根据本公开的一个或多个实施例,提供了一种常旅客里程兑换附加服务产品的系统,所述系统包括:航司数据发布前端、运价数据接收集群、运价数据发布集群、附加服务计算集群、以及附加服务销售前端;According to one or more embodiments of the present disclosure, a system for exchanging frequent flyer miles for additional service products is provided. The system includes: airline company data publishing front-end, freight rate data receiving cluster, freight rate data publishing cluster, additional service Computing clusters, and additional service sales front-end;
所述航司数据发布前端,用于发布附加服务产品销售规则和里程兑换规则,并发送给所述运价数据接收集群,所述里程兑换规则用于表征销售金额转换为销售里程;The airline data publishing front end is used to publish additional service product sales rules and mileage exchange rules, and send them to the tariff data receiving cluster, and the mileage exchange rules are used to represent the conversion of sales amount into sales mileage;
所述运价数据接收集群,用于存储所述附加服务产品销售规则和所述里程兑换规则,并推送给所述运价数据发布集群;The freight rate data receiving cluster is used to store the additional service product sales rules and the mileage exchange rules, and push them to the freight rate data publishing cluster;
所述运价数据发布集群,用于按照预设时间间隔检测变更的所述附加服务产品销售规则和所述里程兑换规则,并发送给所述附加服务计算集群;The freight rate data publishing cluster is used to detect the changed sales rules of the additional service product and the mileage exchange rules according to a preset time interval, and send them to the additional service computing cluster;
所述附加服务销售前端,用于发起附加服务产品购买请求,并发送给所述附加服务计算集群;The additional service sales front end is used to initiate an additional service product purchase request and send it to the additional service computing cluster;
所述附加服务计算集群,用于将接收到的所述附加服务产品销售规则和所述里程兑换规则加载到内存;在接收到所述附加服务产品购买请求的情况下,在所述内存中查询与所述附加服务产品购买请求相匹配的目标附加服务产品销售规则;检测所述目标附加服务产品销售规则中的里程兑换标识;若所述里程兑换标识表征不可用于里程支付,按照所述目标附加服务产品销售规则向所述附加服务销售前端返回第一金额结果;若所述里程兑换标识表征金额转换为里程,在所述内存中查询与所述附加服务产品购买请求相匹配的目标里程兑换规则,并按照所述目标附加服务产品销售规则和所述目标里程兑换规则向所述附加服务销售前端返回第一里程结果;若所述里程兑换标识表征里程或金额均可支付,在所述内存中查询与所述附加服务产品购买请求相匹配的目标里程兑换规则,并按照所述目标附加服务产品销售规则和所述目标里程兑换规则向所述附加服务销售前端返回第二金额结果和第二里程结果。The additional service computing cluster is configured to load the received additional service product sales rules and the mileage redemption rules into memory; when receiving the additional service product purchase request, query A target additional service product sales rule matching the purchase request of the additional service product; detecting the mileage redemption identifier in the target additional service product sales rule; if the mileage redemption identifier indicates that it cannot be used for mileage payment, according to the target The additional service product sales rule returns the first amount result to the additional service sales front end; if the mileage redemption identifier indicates that the amount is converted into mileage, query the target mileage redemption matching the additional service product purchase request in the memory rule, and return the first mileage result to the additional service sales front end according to the target additional service product sales rule and the target mileage exchange rule; Query the target mileage redemption rule matching the additional service product purchase request, and return the second amount result and the second mileage results.
根据本公开的一个或多个实施例,提供了一种常旅客里程兑换附加服务产品的系统,用于发布附加服务产品销售规则和里程兑换规则的所述航司数据发布前端,具体用于:According to one or more embodiments of the present disclosure, a frequent flyer mileage redemption system for additional service products is provided, which is used to publish the airline data publishing front-end of the additional service product sales rules and mileage redemption rules, specifically for:
对所获取的附加服务产品销售规则和里程兑换规则进行数据合法性校验,并在校验通过后,发布所述附加服务产品销售规则和所述里程兑换规则。Perform data validity verification on the obtained additional service product sales rules and mileage redemption rules, and issue the additional service product sales rules and the mileage redemption rules after the verification is passed.
根据本公开的一个或多个实施例,提供了一种常旅客里程兑换附加服务产品的系统,用于存储所述附加服务产品销售规则和所述里程兑换规则的所述运价数据接收集群,具体用于:According to one or more embodiments of the present disclosure, a system for exchanging frequent flyer miles for additional service products is provided, which is used for storing the tariff data receiving cluster of the additional service product sales rules and the mileage exchange rules, Specifically for:
对接收到的所述附加服务产品销售规则和所述里程兑换规则进行数据合法性校验,并在校验通过后,存储所述附加服务产品销售规则和所述里程兑换规则。Perform data validity check on the received additional service product sales rules and the mileage exchange rules, and store the additional service product sales rules and the mileage exchange rules after the verification is passed.
根据本公开的一个或多个实施例,提供了一种常旅客里程兑换附加服务产品的系统,所述附加服务计算集群,还用于:According to one or more embodiments of the present disclosure, a system for exchanging frequent flyer miles for additional service products is provided, and the additional service computing cluster is also used for:
检测所述附加服务产品购买请求中的常旅客里程积分;若所述常旅客里程积分为空,则执行所述检测所述目标附加服务产品销售规则中的里程兑换标识,这一步骤;若所述常旅客里程积分为负数,滤除所述第一金额结果/所述第二金额结果;若所述常旅客里程积分为正数,滤除所述第一里程结果/所述第二里程结果中小于所述常旅客里程积分的里程结果。Detect the frequent flyer mileage points in the purchase request of the additional service product; if the frequent flyer mileage point is empty, perform the step of detecting the mileage redemption mark in the sales rule of the target additional service product; if the If the frequent flyer mileage is a negative number, filter out the first amount result/the second amount result; if the frequent flyer mileage point is a positive number, filter out the first mileage result/the second mileage result Mileage results that are less than the stated frequent flyer mileage credits.
根据本公开的一个或多个实施例,提供了一种常旅客里程兑换附加服务产品的系统,所述附加服务计算集群,还用于:According to one or more embodiments of the present disclosure, a system for exchanging frequent flyer miles for additional service products is provided, and the additional service computing cluster is also used for:
如果所述第一里程结果/所述第二里程结果小于所述常旅客里程积分,则输出错误信息。An error message is output if the first mileage result/the second mileage result is less than the frequent flyer mileage credit.
根据本公开的一个或多个实施例,提供了一种常旅客里程兑换附加服务产品的方法,所述方法应用于附加服务计算集群,所述方法包括:According to one or more embodiments of the present disclosure, a method for exchanging frequent flyer miles for additional service products is provided, the method is applied to an additional service computing cluster, and the method includes:
接收运价数据发布集群按照预设时间间隔所检测的变更的附加服务产品销售规则和里程兑换规则,所述运价数据发布集群所检测的所述附加服务产品销售规则和所述里程兑换规则是航司数据发布前端所发布的、运价数据接收集群存储并推送的;receiving the changed additional service product sales rules and mileage exchange rules detected by the freight rate data release cluster according to preset time intervals, the additional service product sales rules and the mileage exchange rules detected by the freight rate data release cluster are Published by the front-end of airline company data release, freight rate data receiving cluster storage and push;
将接收到的所述附加服务产品销售规则和所述里程兑换规则加载到内存;Loading the received additional service product sales rules and the mileage redemption rules into memory;
在接收到附加服务销售前端所发起的附加服务产品购买请求的情况下,在所述内存中查询与所述附加服务产品购买请求相匹配的目标附加服务产品销售规则;In the case of receiving an additional service product purchase request initiated by the additional service sales front end, querying the memory for a target additional service product sales rule matching the additional service product purchase request;
检测所述目标附加服务产品销售规则中的里程兑换标识;Detecting the mileage redemption mark in the sales rule of the target additional service product;
若所述里程兑换标识表征不可用于里程支付,按照所述目标附加服务产品销售规则向所述附加服务销售前端返回第一金额结果;If the mileage redemption indicator indicates that it cannot be used for mileage payment, return the first amount result to the additional service sales front end according to the target additional service product sales rules;
若所述里程兑换标识表征金额转换为里程,在所述内存中查询与所述附加服务产品购买请求相匹配的目标里程兑换规则,并按照所述目标附加服务产品销售规则和所述目标里程兑换规则向所述附加服务销售前端返回第一里程结果;If the mileage redemption identifier represents that the amount is converted into mileage, query the target mileage redemption rule matching the additional service product purchase request in the memory, and convert the target mileage according to the target additional service product sales rule and the target mileage redemption The rule returns the first mileage result to the additional services sales front end;
若所述里程兑换标识表征里程或金额均可支付,在所述内存中查询与所述附加服务产品购买请求相匹配的目标里程兑换规则,并按照所述目标附加服务产品销售规则和所述目标里程兑换规则向所述附加服务销售前端返回第二金额结果和第二里程结果。If the mileage redemption mark indicates that the mileage or the amount can be paid, query the target mileage redemption rule matching the additional service product purchase request in the memory, and follow the target additional service product sales rule and the target The mileage redemption rule returns a second amount result and a second mileage result to the additional service sales front end.
根据本公开的一个或多个实施例,提供了一种常旅客里程兑换附加服务产品的方法,所述方法还包括:According to one or more embodiments of the present disclosure, a method for exchanging frequent flyer miles for additional service products is provided, and the method further includes:
检测所述附加服务产品购买请求中的常旅客里程积分;Detect frequent flyer mileage points in the purchase request of the additional service product;
若所述常旅客里程积分为空,则执行所述检测所述目标附加服务产品销售规则中的里程兑换标识,这一步骤;If the frequent flyer mileage points are empty, perform the step of detecting the mileage redemption mark in the target additional service product sales rule;
若所述常旅客里程积分为负数,滤除所述第一金额结果/所述第二金额结果;If the frequent flyer mileage points are negative, filter out the result of the first amount/the result of the second amount;
若所述常旅客里程积分为正数,滤除所述第一里程结果/所述第二里程结果中小于所述常旅客里程积分的里程结果。If the frequent flyer mileage points are positive numbers, filter the mileage results smaller than the frequent flyer mileage points in the first mileage result/the second mileage result.
根据本公开的一个或多个实施例,提供了一种常旅客里程兑换附加服务产品的方法,所述方法还包括:According to one or more embodiments of the present disclosure, a method for exchanging frequent flyer miles for additional service products is provided, and the method further includes:
如果所述第一里程结果/所述第二里程结果小于所述常旅客里程积分,则输出错误信息。An error message is output if the first mileage result/the second mileage result is less than the frequent flyer mileage credit.
根据本公开的一个或多个实施例,提供了一种附加服务计算集群,附加服务计算集群包括:至少一个存储器和至少一个处理器;存储器存储有应用程序,处理器调用存储器存储的应用程序,应用程序用于实现常旅客里程兑换附加服务产品的方法。According to one or more embodiments of the present disclosure, an additional service computing cluster is provided, and the additional service computing cluster includes: at least one memory and at least one processor; the memory stores an application program, and the processor invokes the application program stored in the memory, The method used by the application to implement the frequent flyer mileage redemption add-on service product.
根据本公开的一个或多个实施例,提供了一种存储介质,存储介质存储有计算机程序代码,计算机程序代码执行时实现常旅客里程兑换附加服务产品的方法。According to one or more embodiments of the present disclosure, a storage medium is provided. The storage medium stores computer program codes. When the computer program codes are executed, a method for exchanging frequent flyer miles for additional service products is realized.
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。While several specific implementation details are contained in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an illustration of the applied technical principles. Those skilled in the art should understand that the disclosure scope involved in this disclosure is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, but also covers the technical solutions formed by the above-mentioned technical features or Other technical solutions formed by any combination of equivalent features. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310031980.0A CN116308518A (en) | 2023-01-10 | 2023-01-10 | System, method and related equipment for exchanging frequent flyer mileage for additional service products |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310031980.0A CN116308518A (en) | 2023-01-10 | 2023-01-10 | System, method and related equipment for exchanging frequent flyer mileage for additional service products |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116308518A true CN116308518A (en) | 2023-06-23 |
Family
ID=86778736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310031980.0A Pending CN116308518A (en) | 2023-01-10 | 2023-01-10 | System, method and related equipment for exchanging frequent flyer mileage for additional service products |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116308518A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060053052A1 (en) * | 2004-09-09 | 2006-03-09 | Baggett David M | Mileage purchase options for frequent traveler award redemption by rule |
US20110218884A1 (en) * | 2010-03-04 | 2011-09-08 | Milewise, Inc. | Payment method decision engine |
CN110766420A (en) * | 2019-10-21 | 2020-02-07 | 中国民航信息网络股份有限公司 | Service information determination method and device |
CN111915365A (en) * | 2020-07-16 | 2020-11-10 | 中国民航信息网络股份有限公司 | Information determination method, device, server and storage medium |
CN114296605A (en) * | 2021-12-27 | 2022-04-08 | 中国民航信息网络股份有限公司 | Flight additional product sale method and device |
CN115345679A (en) * | 2022-08-23 | 2022-11-15 | 中国民航信息网络股份有限公司 | Chartered plane flight freight rate determining method and device, electronic equipment and storage medium |
-
2023
- 2023-01-10 CN CN202310031980.0A patent/CN116308518A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060053052A1 (en) * | 2004-09-09 | 2006-03-09 | Baggett David M | Mileage purchase options for frequent traveler award redemption by rule |
US20110218884A1 (en) * | 2010-03-04 | 2011-09-08 | Milewise, Inc. | Payment method decision engine |
CN110766420A (en) * | 2019-10-21 | 2020-02-07 | 中国民航信息网络股份有限公司 | Service information determination method and device |
CN111915365A (en) * | 2020-07-16 | 2020-11-10 | 中国民航信息网络股份有限公司 | Information determination method, device, server and storage medium |
CN114296605A (en) * | 2021-12-27 | 2022-04-08 | 中国民航信息网络股份有限公司 | Flight additional product sale method and device |
CN115345679A (en) * | 2022-08-23 | 2022-11-15 | 中国民航信息网络股份有限公司 | Chartered plane flight freight rate determining method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017016517A1 (en) | Method and system for determining traffic service fees | |
US20170228667A1 (en) | Generation of personalized transportation proposals | |
US11449890B2 (en) | Information system, card device, terminal device, and server device | |
CN114298746B (en) | A method, device, equipment and storage medium for implementing freight rate refund and change service | |
WO2024148800A1 (en) | Travel search method and apparatus, electronic device, and storage medium | |
CN111858788A (en) | A method and system for recommending a carpool pick-up point | |
CN112446802A (en) | Management device, management method, and storage medium | |
CN113486164A (en) | Hybrid flight query method, system, electronic equipment and storage medium | |
CN116308518A (en) | System, method and related equipment for exchanging frequent flyer mileage for additional service products | |
CN111815418B (en) | Electronic order processing method and device | |
JP7264135B2 (en) | Information providing system, information providing device and information providing program | |
WO2013170443A1 (en) | Method and apparatus for coupon redemption based on connectivity and spatial configuration | |
CN115545620B (en) | Logistics transportation method and device based on block chain, electronic equipment and readable medium | |
WO2022166271A1 (en) | Airline passenger ticket management method and apparatus, computer-readable storage medium and program product | |
WO2024104379A1 (en) | Fee calculation method and apparatus, and electronic device, storage medium and product | |
CN107944587B (en) | Packaging processing method, system, equipment and storage medium of travel product | |
CN114817246A (en) | Aviation data processing method and device | |
CN115098558A (en) | Flight data statistical method and device | |
CN114693360A (en) | Travel price determination method and system, storage medium and electronic device | |
CN115099852B (en) | Freight rate authorization management method, freight rate authorization management device, freight rate authorization management equipment and storage medium | |
WO2025194849A1 (en) | Electronic ticket traceability processing method and related apparatus | |
CN117689388A (en) | Accounting data calculation method and related device for intermodal seats | |
US20250097514A1 (en) | Video processing method, video playing method, apparatus, electronic device and medium | |
CN117971912A (en) | A data query method and related device | |
CN118411217A (en) | Electronic travel itinerary issuing system, method and device |
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 |