Movatterモバイル変換


[0]ホーム

URL:


CN111949881A - A kind of flight information query method and system - Google Patents

A kind of flight information query method and system
Download PDF

Info

Publication number
CN111949881A
CN111949881ACN202010819366.7ACN202010819366ACN111949881ACN 111949881 ACN111949881 ACN 111949881ACN 202010819366 ACN202010819366 ACN 202010819366ACN 111949881 ACN111949881 ACN 111949881A
Authority
CN
China
Prior art keywords
currency
language
request
query
information
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
Application number
CN202010819366.7A
Other languages
Chinese (zh)
Inventor
熊铭
李雄清
张恒
林宏定
陈涌均
贾宇清
薛志兵
雷凯茹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Travelsky Technology Co Ltd
China Travelsky Holding Co
Original Assignee
China Travelsky Holding Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Travelsky Holding CofiledCriticalChina Travelsky Holding Co
Priority to CN202010819366.7ApriorityCriticalpatent/CN111949881A/en
Publication of CN111949881ApublicationCriticalpatent/CN111949881A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种航班信息查询方法及系统,基于第一请求确定第一语言及第一币种,基于第一语言响应第一请求,以第一语言显示航班查询页面,获取基于航班查询页面输入的第一查询条件,显示基于第一查询条件生成的第一查询结果,第一查询结果至少包括以第一币种显示的航班信息。本方案通过基于第一请求确定第一语言及第一币种,基于第一语言响应第一请求以便进行航班信息的查询,即直接通过第一请求自动确定对应的语言及币种,无需用户手动设置,即可实现通过用户所需要的语言及币种显示航班查询的界面,以便于用户能够直接基于其需要的语言及币种确定机票是否符合需求,避免了用户以不熟悉的语言及币种购买机票时带来的不便,提高了用户体验。

Figure 202010819366

The present application discloses a method and system for querying flight information, determining a first language and a first currency based on a first request, responding to the first request based on the first language, displaying a flight query page in the first language, and obtaining a flight query page based on the first language. The inputted first query condition displays a first query result generated based on the first query condition, where the first query result at least includes flight information displayed in the first currency. This solution determines the first language and the first currency based on the first request, and responds to the first request based on the first language to query the flight information, that is, the corresponding language and currency are automatically determined directly through the first request, without the need for the user to manually Setting, you can realize the interface of displaying flight query in the language and currency required by the user, so that the user can directly determine whether the ticket meets the requirements based on the language and currency required by the user, and avoid the user using unfamiliar languages and currencies. The inconvenience caused when purchasing air tickets improves the user experience.

Figure 202010819366

Description

Translated fromChinese
一种航班信息查询方法及系统A kind of flight information query method and system

技术领域technical field

本申请涉及销售领域,尤其涉及一种航班信息查询方法及系统。The present application relates to the field of sales, and in particular, to a method and system for querying flight information.

背景技术Background technique

随着航空业蓬勃发展,互联网的普及为传统行业突破地域与文化限制、加速开拓海内外市场的进程提供了有利条件。With the vigorous development of the aviation industry, the popularity of the Internet has provided favorable conditions for traditional industries to break through geographical and cultural restrictions and accelerate the process of developing domestic and overseas markets.

目前,要实现通过不同于当地所使用的币种购买机票,就需要电话或网络预定之后到机场进行付款,这就导致了用户的购买体验降低。At present, in order to purchase air tickets in a currency different from that used locally, it is necessary to make payment at the airport after booking by phone or online, which reduces the purchase experience of users.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本申请提供一种航班信息查询方法及系统,其具体方案如下:In view of this, the present application provides a method and system for querying flight information, the specific solutions of which are as follows:

一种航班信息查询方法,包括:A method for querying flight information, comprising:

基于第一请求确定第一语言及第一币种;determining a first language and a first currency based on the first request;

基于所述第一语言响应所述第一请求,以所述第一语言显示航班查询页面;Responding to the first request based on the first language, displaying a flight inquiry page in the first language;

获取基于所述航班查询页面输入的第一查询条件,显示基于所述第一查询条件生成的第一查询结果,所述第一查询结果至少包括:以所述第一币种显示的航班信息。A first query condition entered based on the flight query page is acquired, and a first query result generated based on the first query condition is displayed, where the first query result at least includes: flight information displayed in the first currency.

进一步的,所述基于第一请求确定第一语言及第一币种,包括:Further, the determining the first language and the first currency based on the first request includes:

获取第一请求,确定响应所述第一请求所用的网络的属性;Obtain the first request, and determine the properties of the network used to respond to the first request;

确定与所述网络的属性匹配的站点信息,将与所述站点信息对应的语言及币种确定为第一语言及第一币种。The site information matching the attributes of the network is determined, and the language and currency corresponding to the site information are determined as the first language and the first currency.

进一步的,所述基于第一请求确定第一语言及第一币种,包括:Further, the determining the first language and the first currency based on the first request includes:

获取第一请求;get the first request;

确定获取所述第一请求的设备的系统语言,并确定与所述系统语言匹配的系统币种,将所述系统语言确定为所述第一语言,将所述系统币种确定为所述第一币种。Determine the system language of the device that obtains the first request, and determine the system currency that matches the system language, determine the system language as the first language, and determine the system currency as the first language a currency.

进一步的,还包括:Further, it also includes:

获取基于所述查询结果输入的乘机信息,生成订单信息,所述订单信息至少包括:确定的航班信息的第二币种价格,以及与所述第二币种价格对应的第一币种价格,所述第二币种价格为所述确定的航班信息的原始发布货币价格。Obtain the flight information input based on the query result, and generate order information, where the order information at least includes: the price in the second currency of the flight information determined, and the price in the first currency corresponding to the price in the second currency, The second currency price is the original published currency price of the determined flight information.

进一步的,还包括:Further, it also includes:

获取基于所述订单信息的支付请求;Obtain a payment request based on the order information;

确定获取所述支付请求的设备的第一支付方式,以便能够基于所述第一支付方式对所述订单信息进行支付,其中,所述设备在预设历史时段内进行支付采用所述第一支付方式的频率大于第一预设值。Determine the first payment method of the device that obtains the payment request, so that the order information can be paid based on the first payment method, wherein the device uses the first payment for payment within a preset historical period The frequency of the mode is greater than the first preset value.

进一步的,还包括:Further, it also includes:

获取订单查询请求,所述订单查询请求至少包括待查询站点及第二查询条件;obtaining an order query request, where the order query request at least includes the site to be queried and a second query condition;

基于所述订单查询请求生成第二查询结果,所述第二查询结果为与所述待查询站点对应的订单信息,所述与所述待查询站点对应的订单信息为采用与所述待查询站点匹配的第三币种及第三语言的订单信息。A second query result is generated based on the order query request, where the second query result is the order information corresponding to the site to be queried, and the order information corresponding to the site to be queried is the order information corresponding to the site to be queried. Matching third currency and third language order information.

一种航班信息查询系统,包括:A flight information query system, comprising:

确定单元,用于基于第一请求确定第一语言及第一币种;a determining unit, configured to determine the first language and the first currency based on the first request;

第一显示单元,用于基于所述第一语言响应所述第一请求,以所述第一语言显示航班查询页面;a first display unit, configured to display a flight inquiry page in the first language in response to the first request based on the first language;

第二显示单元,用于获取基于所述航班查询页面输入的第一查询条件,显示基于所述第一查询条件生成的第一查询结果,所述第一查询结果至少包括:以所述第一币种显示的航班信息。The second display unit is configured to acquire a first query condition input based on the flight query page, and display a first query result generated based on the first query condition, where the first query result at least includes: The flight information displayed in the currency.

进一步的,所述确定单元用于:Further, the determining unit is used for:

获取第一请求,确定响应所述第一请求所用的网络的属性;确定与所述网络的属性匹配的站点信息,将与所述站点信息对应的语言及币种确定为第一语言及第一币种。Obtain a first request, determine the properties of the network used to respond to the first request; determine site information that matches the properties of the network, and determine the language and currency corresponding to the site information as the first language and the first language currency.

进一步的,所述确定单元用于:Further, the determining unit is used for:

获取第一请求;确定获取所述第一请求的设备的系统语言,并确定与所述系统语言匹配的系统币种,将所述系统语言确定为所述第一语言,将所述系统币种确定为所述第一币种。Obtain the first request; determine the system language of the device that obtains the first request, and determine the system currency that matches the system language, determine the system language as the first language, and determine the system currency Determined to be the first currency.

进一步的,还包括:生成单元,其中:Further, it also includes: a generating unit, wherein:

所述生成单元用于获取基于所述查询结果输入的乘机信息,生成订单信息,所述订单信息至少包括:确定的航班信息的第二币种价格,以及与所述第二币种价格对应的第一币种价格,所述第二币种价格为所述确定的航班信息的原始发布货币价格。The generating unit is configured to acquire the boarding information input based on the query result, and generate order information, where the order information at least includes: the price in the second currency of the flight information determined, and the price in the second currency corresponding to the price in the second currency. The price in the first currency, and the price in the second currency is the price in the original published currency of the determined flight information.

从上述技术方案可以看出,本申请公开的航班信息查询方法及系统,基于第一请求确定第一语言及第一币种,基于第一语言响应第一请求,以第一语言显示航班查询页面,获取基于航班查询页面输入的第一查询条件,显示基于第一查询条件生成的第一查询结果,第一查询结果至少包括:以第一币种显示的航班信息。本方案通过基于第一请求确定第一语言及第一币种,之后基于第一语言响应第一请求以便进行航班信息的查询,即直接通过第一请求自动确定对应的语言及币种,无需用户手动设置,即可实现通过用户所需要的语言及币种显示航班查询的界面,以便于用户能够直接基于其需要的语言及币种确定机票是否符合需求,避免了用户以不熟悉的语言及币种购买机票时带来的不便,提高了用户体验。It can be seen from the above technical solutions that the flight information query method and system disclosed in the present application determine the first language and the first currency based on the first request, respond to the first request based on the first language, and display the flight query page in the first language , acquiring the first query condition input based on the flight query page, and displaying the first query result generated based on the first query condition, where the first query result at least includes: flight information displayed in the first currency. This solution determines the first language and the first currency based on the first request, and then responds to the first request based on the first language to query the flight information, that is, the corresponding language and currency are automatically determined directly through the first request, without the need for a user Manual setting can realize the interface of displaying flight query in the language and currency required by the user, so that the user can directly determine whether the air ticket meets the requirements based on the language and currency required by the user, and avoid the user using unfamiliar language and currency. This kind of inconvenience when purchasing air tickets improves the user experience.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本申请实施例公开的一种航班信息查询方法的流程图;1 is a flowchart of a method for querying flight information disclosed in an embodiment of the application;

图2为本申请实施例公开的一种航班信息查询方法的流程图;2 is a flowchart of a method for querying flight information disclosed in an embodiment of the application;

图3为本申请实施例公开的一种航班信息查询方法的流程图;3 is a flowchart of a method for querying flight information disclosed in an embodiment of the present application;

图4为本申请实施例公开的一种航班信息查询系统的结构示意图。FIG. 4 is a schematic structural diagram of a flight information query system disclosed in an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

本申请公开了一种航班信息查询方法,其流程图如图1所示,包括:The present application discloses a method for querying flight information, the flowchart of which is shown in Figure 1, including:

步骤S11、基于第一请求确定第一语言及第一币种;Step S11, determining the first language and the first currency based on the first request;

用户基于航班信息查询系统进行航班信息的查询,该系统在设备上运行,具体的,用户可以在航班信息查询系统中输入第一请求,系统在接收到第一请求后基于第一请求确定第一语言及第一币种。The user queries the flight information based on the flight information query system, which runs on the device. Specifically, the user can input the first request in the flight information query system, and the system determines the first request based on the first request after receiving the first request. Language and primary currency.

其中,第一语言为用户基于系统查询航班信息时的语言,如:第一语言为汉语,则用户在基于系统查询航班信息时,整个系统均以汉语形式呈现;第一币种为用户基于系统查询航班信息时,以第一币种显示航班对应的机票费用。Among them, the first language is the language when the user queries the flight information based on the system. For example, if the first language is Chinese, when the user queries the flight information based on the system, the entire system will be presented in Chinese; the first currency is the user-based system. When inquiring about flight information, the fare corresponding to the flight will be displayed in the first currency.

步骤S12、基于第一语言响应第一请求,以第一语言显示航班查询页面;Step S12, responding to the first request based on the first language, and displaying the flight inquiry page in the first language;

第一请求可具体为:启动航班信息查询系统的请求指令,那么,在获取到第一请求后,基于第一请求确定第一语言,之后直接以第一语言响应第一请求,即直接将第一请求启动的航班信息查询系统以第一语言的形式呈现在设备的显示屏上,从而通过该系统在设备上显示第一语言的航班查询页面,即实现了直接基于用户的第一请求确定该用户需求的语言及币种,无需用户手动选择,也避免了直接启动默认语言及币种为用户带来的不便。The first request may be specifically: a request instruction to start the flight information query system, then, after obtaining the first request, determine the first language based on the first request, and then directly respond to the first request in the first language, that is, directly A request to start the flight information query system is presented on the display screen of the device in the form of the first language, so that the flight query page in the first language is displayed on the device through the system, that is, the determination of the flight information directly based on the user's first request is realized. The language and currency required by the user does not need the user to manually select, and also avoids the inconvenience caused by directly starting the default language and currency for the user.

另外,第一请求也可以为:用户触发某一特定按键生成的请求指令,在设备获取到该特定按键的请求指令后,确定用户常用的第一语言,以及,与第一语言对应的第一币种。In addition, the first request may also be: a request command generated by the user triggering a specific key, and after the device obtains the request command of the specific key, the device determines the first language commonly used by the user, and the first language corresponding to the first language. currency.

步骤S13、获取基于航班查询页面输入的第一查询条件,显示基于第一查询条件生成的第一查询结果,第一查询结果至少包括:以第一币种显示的航班信息。Step S13: Obtain the first query condition input based on the flight query page, and display the first query result generated based on the first query condition, where the first query result at least includes: flight information displayed in the first currency.

在设备上显示出航班查询页面后,用户在航班查询页面的输入框中输入对应的第一查询条件,其中,航班查询页面的输入框至少用于输入:出发地及目的地、出发日期等,还可以包括优选的航空公司,或者,机票的价格区间等。After the flight query page is displayed on the device, the user enters the corresponding first query condition in the input box of the flight query page, wherein the input box of the flight query page is at least used to input: departure and destination, departure date, etc., It may also include the preferred airline, or the price range of the ticket, etc.

当在设备显示的航班查询页面中输入第一查询条件并执行查询指令后,系统基于第一查询条件能够查找到对应的航班,将该航班的航班信息显示在设备的显示屏上,作为第一查询结果进行显示。After inputting the first query condition and executing the query instruction on the flight query page displayed by the device, the system can find the corresponding flight based on the first query condition, and display the flight information of the flight on the display screen of the device as the first The query results are displayed.

第一查询结果至少包括:以第一币种显示的航班信息,即航班信息对应的机票价格是以第一币种显示的,另外,若购买该航班信息的机票除机票价格外,至少还包括税费,第一查询结果中还可以显示税费,并且,税费也是以第一币种显示的。The first query result at least includes: the flight information displayed in the first currency, that is, the ticket price corresponding to the flight information is displayed in the first currency; in addition, if the ticket for the flight information is purchased, in addition to the ticket price, at least include: Taxes, taxes can also be displayed in the first query result, and taxes are also displayed in the first currency.

第一币种可以为人民币,如:机票价格为:4900元;第一币种也可以为美金,如:机票价格为:340美元;第一币种还可以为日元,如:机票价格为:46000日元等。The first currency can be RMB, such as: the ticket price is: 4900 yuan; the first currency can also be US dollars, such as: the ticket price is: 340 US dollars; the first currency can also be Japanese yen, such as: the ticket price is : 46,000 yen, etc.

另外,第一查询结果还可以包括:出发时间,飞行时长,到达目的地的时间等。In addition, the first query result may also include: departure time, flight duration, arrival time at the destination, and the like.

进一步的,第一查询结果还可以包括:包括出发日期在内的每一个航班信息在一定时间内的价格信息,如:每一个航班信息的7天的价格信息,出发日期可以为该7天中的第一天或者最后一天,或者中间的某一天。Further, the first query result may also include: price information of each flight information including the departure date within a certain period of time, such as: 7-day price information of each flight information, and the departure date may be within the 7 days. the first or last day, or a day in between.

在系统确认第一币种及第一语言后,在本次航班信息查询过程中,均采用第一币种及第一语言,并不会中途自动更改为其他币种或其他语言,当需要对币种或语种进行变更时,需要用户手动设置。After the system confirms the first currency and the first language, the first currency and the first language will be used during the flight information query process, and will not be automatically changed to other currencies or other languages midway. When changing the currency or language, the user needs to set it manually.

本实施例公开的航班信息查询方法,基于第一请求确定第一语言及第一币种,基于第一语言响应第一请求,以第一语言显示航班查询页面,获取基于航班查询页面输入的第一查询条件,显示基于第一查询条件生成的第一查询结果,第一查询结果至少包括:以第一币种显示的航班信息。本方案通过基于第一请求确定第一语言及第一币种,之后基于第一语言响应第一请求以便进行航班信息的查询,即直接通过第一请求自动确定对应的语言及币种,无需用户手动设置,即可实现通过用户所需要的语言及币种显示航班查询的界面,以便于用户能够直接基于其需要的语言及币种确定机票是否符合需求,避免了用户以不熟悉的语言及币种购买机票时带来的不便,提高了用户体验。The flight information query method disclosed in this embodiment determines a first language and a first currency based on a first request, responds to the first request based on the first language, displays a flight query page in the first language, and obtains the first input based on the flight query page. a query condition, displaying a first query result generated based on the first query condition, where the first query result at least includes: flight information displayed in a first currency. This solution determines the first language and the first currency based on the first request, and then responds to the first request based on the first language to query the flight information, that is, the corresponding language and currency are automatically determined directly through the first request, without the need for a user Manual setting can realize the interface of displaying flight query in the language and currency required by the user, so that the user can directly determine whether the air ticket meets the requirements based on the language and currency required by the user, and avoid the user using unfamiliar language and currency. This kind of inconvenience when purchasing air tickets improves the user experience.

本实施例公开了一种航班信息查询方法,其流程图如图2所示,包括:The present embodiment discloses a method for querying flight information, the flowchart of which is shown in Figure 2, including:

步骤S21、获取第一请求,确定响应第一请求所用的网络的属性;Step S21, obtaining the first request, and determining the attributes of the network used to respond to the first request;

步骤S22、确定与网络的属性匹配的站点信息,将与站点信息对应的语言及币种确定为第一语言及第一币种;Step S22, determining the site information that matches the attributes of the network, and determining the language and currency corresponding to the site information as the first language and the first currency;

步骤S23、基于第一语言响应第一请求,以第一语言显示航班查询页面;Step S23, responding to the first request based on the first language, and displaying the flight inquiry page in the first language;

步骤S24、获取基于航班查询页面输入的第一查询条件,显示基于第一查询条件生成的第一查询结果,第一查询结果至少包括:以第一币种显示的航班信息。Step S24: Acquire the first query condition input based on the flight query page, and display the first query result generated based on the first query condition, where the first query result at least includes: flight information displayed in the first currency.

基于第一请求确定第一语言及第一币种,可以具体为:通过第一请求本身所提供的信息确定第一语言及第一币种,即系统在接收到第一请求后,对第一请求进行响应所使用的网络的属性,之后基于该网络的属性确定匹配的站点信息,每一个站点信息会有其对应的语言及币种,由此即可确定当前进行航班信息查询时所需要使用的语言及币种。Determining the first language and the first currency based on the first request may specifically include: determining the first language and the first currency through the information provided by the first request itself, that is, after the system receives the first request, The properties of the network used for the request to respond, and then determine the matching site information based on the properties of the network. Each site information will have its corresponding language and currency, so that the current flight information query needs to be determined. language and currency.

该网络属性可具体为:网络的归属地。例如:设备为手机,用户在手机上使用该航班信息查询系统,在获取到第一请求后,设备响应该第一请求,其所使用的网络为手机的SIM卡的移动网络,或者,手机连接的WIFI网络,基于该移动网络或WIFI网络确定网络属性,从而确定对应的站点信息。The network attribute may specifically be: the home of the network. For example: the device is a mobile phone, the user uses the flight information query system on the mobile phone, and after obtaining the first request, the device responds to the first request, and the network it uses is the mobile network of the SIM card of the mobile phone, or the mobile phone is connected to The WIFI network, based on the mobile network or WIFI network, determine the network attribute, so as to determine the corresponding site information.

每一个站点会有对应的语言及币种,不同的站点对应的语言及币种可能相同,也可能不同。具体的,站点可以为:国家或地区,例如:中国,中国对应的语言为汉语,币种为人民币;又如:日本,日本对应的语言为日语,币种为日元。Each site will have a corresponding language and currency, and the language and currency corresponding to different sites may be the same or different. Specifically, the site may be: a country or region, for example: China, the language corresponding to China is Chinese, and the currency is RMB; another example: Japan, the language corresponding to Japan is Japanese, and the currency is Japanese yen.

在确定一个站点后,即可直接基于该站点确定与该站点对应的语言及币种,从而只需要基于第一请求确定站点即可基于与该站点对应的语言及币种确定语言及币种。After a site is determined, the language and currency corresponding to the site can be determined directly based on the site, so that the language and currency can be determined based on the language and currency corresponding to the site only by determining the site based on the first request.

另外,基于第一请求确定第一语言及第一币种,也可以为:In addition, determining the first language and the first currency based on the first request may also be:

获取第一请求;确定获取第一请求的设备的系统语言,并确定与系统语言匹配的系统币种,将系统语言确定为第一语言,将系统币种确定为第一币种。Obtain the first request; determine the system language of the device for which the first request is obtained, determine the system currency matching the system language, determine the system language as the first language, and determine the system currency as the first currency.

即基于获取第一请求的设备确定第一语言及第一币种。其中,设备为用户常用的设备,用户在对设备进行使用时,通常是以其自身熟悉的语言进行使用,那么,在系统获取到第一请求后,系统对获取第一请求的设备的系统语言进行获取,从而可确定用户的惯用语言,即设备的系统语言,基于该系统语言可确定该系统语言对应的站点,而每一个站点均对应有一种语言及一个币种,在确定该站点后即可确定该站点对应的币种,从而实现基于获取第一请求的设备确定第一语言及第一币种的方案。That is, the first language and the first currency are determined based on the device that obtains the first request. The device is commonly used by the user. When the user uses the device, he usually uses it in a language he is familiar with. Then, after the system obtains the first request, the system will determine the system language of the device that obtained the first request. Obtain, so that the user's habitual language, that is, the system language of the device, can be determined. Based on the system language, the site corresponding to the system language can be determined, and each site corresponds to a language and a currency. The currency corresponding to the site can be determined, thereby implementing the solution of determining the first language and the first currency based on the device that obtains the first request.

另外,也可以为:在基于获取第一请求的设备确定设备的系统语言后,再确定获取第一请求的设备的惯用币种,之后直接将设备的惯用币种确定为第一币种,将系统语言确定为第一语言,这就避免了用户惯用的语言及币种并未完全与站点对应,在确定了语言后,基于站点确定币种有可能出现错误的情况,直接采用设备的惯用语言及惯用币种,提高了第一语言及第一币种确定的准确度,提高了用户体验。In addition, it can also be: after the system language of the device is determined based on the device that obtains the first request, the customary currency of the device that obtains the first request is determined, and then the customary currency of the device is directly determined as the first currency. The system language is determined as the first language, which avoids that the user's habitual language and currency do not completely correspond to the site. After the language is determined, there may be errors in determining the currency based on the site, and the device's habitual language is directly used. and the customary currency, the accuracy of determining the first language and the first currency is improved, and the user experience is improved.

本实施例公开的航班信息查询方法,基于第一请求确定第一语言及第一币种,基于第一语言响应第一请求,以第一语言显示航班查询页面,获取基于航班查询页面输入的第一查询条件,显示基于第一查询条件生成的第一查询结果,第一查询结果至少包括:以第一币种显示的航班信息。本方案通过基于第一请求确定第一语言及第一币种,之后基于第一语言响应第一请求以便进行航班信息的查询,即直接通过第一请求自动确定对应的语言及币种,无需用户手动设置,即可实现通过用户所需要的语言及币种显示航班查询的界面,以便于用户能够直接基于其需要的语言及币种确定机票是否符合需求,避免了用户以不熟悉的语言及币种购买机票时带来的不便,提高了用户体验。The flight information query method disclosed in this embodiment determines a first language and a first currency based on a first request, responds to the first request based on the first language, displays a flight query page in the first language, and obtains the first input based on the flight query page. a query condition, displaying a first query result generated based on the first query condition, where the first query result at least includes: flight information displayed in a first currency. This solution determines the first language and the first currency based on the first request, and then responds to the first request based on the first language to query the flight information, that is, the corresponding language and currency are automatically determined directly through the first request, without the need for a user Manual setting can realize the interface of displaying flight query in the language and currency required by the user, so that the user can directly determine whether the air ticket meets the requirements based on the language and currency required by the user, and avoid the user using unfamiliar language and currency. This kind of inconvenience when purchasing air tickets improves the user experience.

本实施例公开了一种航班信息查询方法,其流程图如图3所示,包括:The present embodiment discloses a method for querying flight information, the flowchart of which is shown in Figure 3, including:

步骤S31、基于第一请求确定第一语言及第一币种;Step S31, determining the first language and the first currency based on the first request;

步骤S32、基于第一语言响应第一请求,以第一语言显示航班查询页面;Step S32, responding to the first request based on the first language, and displaying the flight inquiry page in the first language;

步骤S33、获取基于航班查询页面输入的第一查询条件,显示基于第一查询条件生成的第一查询结果,第一查询结果至少包括:以第一币种显示的航班信息;Step S33, acquiring the first query condition input based on the flight query page, and displaying the first query result generated based on the first query condition, where the first query result at least includes: flight information displayed in the first currency;

步骤S34、获取基于查询结果输入的乘机信息,生成订单信息,订单信息至少包括:确定的航班信息的第二币种价格,以及与第二币种价格对应的第一币种价格,第二币种价格为确定的航班信息的原始发布货币价格。Step S34: Obtain the boarding information input based on the query result, and generate order information. The order information at least includes: the price in the second currency of the flight information determined, and the price in the first currency corresponding to the price in the second currency, and the price in the second currency. The price is the original published currency price of the determined flight information.

在基于第一请求确定第一语言及第一币种,并显示第一查询结果之后,若第一查询结果中有符合用户预期的航班信息,则用户会对第一查询结果中的预期航班信息进行选择,并输入乘机信息,从而生成订单信息。After the first language and the first currency are determined based on the first request, and the first query result is displayed, if there is flight information that meets the user's expectation in the first query result, the user will check the expected flight information in the first query result. Make selections and enter boarding information to generate order information.

其中,乘机信息至少包括:乘机人信息及联系人信息,其中,乘机人信息至少需要包括乘机人的姓名及证件号码,联系人信息至少包括:联系人的姓名及联系方式等。Wherein, the boarding information includes at least: passenger information and contact information, wherein, the passenger information at least needs to include the passenger's name and ID number, and the contact information at least includes: the name and contact information of the contact person.

订单信息中除包括乘机信息外,还包括航班信息,以及航班信息的机票价格。其中,机票价格除包括第一币种的价格外,还包括第二币种的价格,第二币种为确定的航班信息的原始发布货币价格,即该航班信息的发行航空公司在发布该航班信息时确定的机票价格,即该航班的原始发布货币价格。In addition to the flight information, the order information also includes flight information and the ticket price of the flight information. Among them, the ticket price includes the price of the first currency as well as the price of the second currency. The second currency is the original published currency price of the determined flight information, that is, the issuing airline of the flight information is publishing the flight information. The ticket price determined at the time of the information, i.e. the original published currency price of the flight.

若该航班信息的发行航空公司对应的站点与基于第一请求确定的站点相同,则第一币种与第二币种为同一币种,此处无需显示两种币种的价格,直接仅显示一个第一币种的价格即可;If the site corresponding to the issuing airline of the flight information is the same as the site determined based on the first request, then the first currency and the second currency are the same currency, and there is no need to display the prices of the two currencies here, only the display The price of a first currency is sufficient;

若该航班信息的发行航空公司对应的站点与基于第一请求确定的站点不同,则第一币种与第二币种为不同的币种,此时需要设置两种币种的价格,显示的第一币种的价格与第二币种的价格,在通过第一币种与第一币种的当前汇率换算后是相同的,只是以不同的币种进行显示。If the site corresponding to the issuing airline of the flight information is different from the site determined based on the first request, the first currency and the second currency are different currencies. At this time, the prices of the two currencies need to be set. The price of the first currency and the price of the second currency are the same after conversion through the current exchange rate between the first currency and the first currency, but are displayed in different currencies.

另外,在对订单信息进行支付时,是以基于第一请求确定的第一币种进行支付,即直接以订单信息中的第一币种价格进行支付,不需要用户再单独进行不同币种的汇率换算,提高了用户体验。In addition, when paying for the order information, the payment is made in the first currency determined based on the first request, that is, the payment is made directly in the price of the first currency in the order information, and the user does not need to make a separate payment in different currencies. Exchange rate conversion to improve user experience.

进一步的,本实施例公开的航班信息查询方法还包括:Further, the flight information query method disclosed in this embodiment further includes:

获取基于订单信息的支付请求;Obtain payment requests based on order information;

确定获取支付请求的设备的第一支付方式,以便能够基于第一支付方式对订单信息进行支付,其中,设备在预设历史时段内进行支付采用第一支付方式的频率大于第一预设值。The first payment method of the device that obtains the payment request is determined, so that the order information can be paid based on the first payment method, wherein the frequency of the device using the first payment method for payment within a preset historical period is greater than a first preset value.

在对订单信息进行支付时,可以直接采用设备的惯用支付方式进行支付,即确定在预设历史时段内用户采用某一支付方式的频率大于第一预设值时,直接将该支付方式确定为第一支付方式,并通过第一支付方式对订单信息进行支付。When paying for the order information, you can directly use the device's usual payment method to pay, that is, when it is determined that the frequency of the user using a certain payment method within the preset historical period is greater than the first preset value, the payment method is directly determined as the first payment method, and pay for the order information through the first payment method.

在过去的一定时间段内,用户通过设备进行支付时,采用某一支付方式的频率较大,大于第一预设值,或者,采用该支付方式支付的频率大于采用其他任一支付方式支付的频率,则将该支付方式确定为第一支付方式,采用第一支付方式对订单信息进行支付,即采用了用户惯用的支付方式,使得用户在熟悉支付流程的情况下,能够快速完成支付,提高用户体验,并节约支付所需要消耗的时间。During a certain period of time in the past, when the user made payment through the device, the frequency of using a certain payment method was larger than the first preset value, or the frequency of using this payment method was higher than that of using any other payment method. frequency, the payment method is determined as the first payment method, and the first payment method is used to pay for the order information, that is, the user's usual payment method is adopted, so that the user can quickly complete the payment when familiar with the payment process and improve the User experience, and save the time required for payment.

进一步的,在支付完成后,若要对支付完成的订单进行改签或退票,获取改签请求或退票请求,对改签请求或退票请求进行响应,在设备的显示屏显示改签或退票界面,该改签或退票界面至少显示支付时的第一币种的价格及第二币种的价格,该界面还需要显示票价明细,以使用户明确该票价中至少包括机票价格及不同的税费。Further, after the payment is completed, if you want to change or refund the paid order, obtain the change request or refund request, respond to the change request or refund request, and display the change or refund interface on the display screen of the device. , the change or refund interface at least displays the price of the first currency and the price of the second currency at the time of payment, and the interface also needs to display the fare details, so that the user can make it clear that the fare includes at least the ticket price and different taxes.

进一步的,还可以包括:Further, it can also include:

获取订单查询请求,订单查询请求至少包括待查询站点及第二查询条件;基于订单查询请求生成第二查询结果,第二查询结果为与待查询站点对应的订单信息,与待查询站点对应的订单信息为采用与待查询站点匹配的第三币种及第三语言的订单信息。Obtain an order query request, where the order query request includes at least the site to be queried and a second query condition; a second query result is generated based on the order query request, and the second query result is the order information corresponding to the site to be queried, and the order corresponding to the site to be queried. The information is the order information in the third currency and third language matching the site to be queried.

无论是否有订单的生成,均可以进行订单的查询,即系统获取订单查询请求,在该订单查询请求中至少包括待查询站点及第二查询条件。Regardless of whether an order is generated or not, an order query can be performed, that is, the system obtains an order query request, and the order query request at least includes the site to be queried and the second query condition.

其中,第二查询条件为想要查询的日期,或航班号,或目的地,或出发地,或某个乘机人的乘机信息等相关信息。Wherein, the second query condition is the date to be queried, or the flight number, or the destination, or the place of departure, or the boarding information of a certain passenger and other related information.

在进行订单查询时,需要输入待查询的站点,即用户想要查询的是通过哪一种语言或哪一个币种进行支付时生成的订单信息,在进行查询时,仅查询该待查询的站点的订单信息,而不对在其他站点生成的订单信息进行查询。When making an order query, it is necessary to enter the site to be queried, that is, which language or currency the user wants to query is the order information generated when the payment is made. When querying, only the site to be queried is queried. order information, without querying the order information generated at other sites.

在基于该订单查询请求生成的第二查询结果中至少包括订单支付的时间、支付币种、支付金额、订单中的航班信息等相关信息,以便于用户能够直接基于该订单查询请求获取订单生成时的各种信息。The second query result generated based on the order query request at least includes relevant information such as order payment time, payment currency, payment amount, flight information in the order, etc., so that the user can directly obtain the order generation time based on the order query request. various information.

本实施例公开的航班信息查询方法,基于第一请求确定第一语言及第一币种,基于第一语言响应第一请求,以第一语言显示航班查询页面,获取基于航班查询页面输入的第一查询条件,显示基于第一查询条件生成的第一查询结果,第一查询结果至少包括:以第一币种显示的航班信息。本方案通过基于第一请求确定第一语言及第一币种,之后基于第一语言响应第一请求以便进行航班信息的查询,即直接通过第一请求自动确定对应的语言及币种,无需用户手动设置,即可实现通过用户所需要的语言及币种显示航班查询的界面,以便于用户能够直接基于其需要的语言及币种确定机票是否符合需求,避免了用户以不熟悉的语言及币种购买机票时带来的不便,提高了用户体验。The flight information query method disclosed in this embodiment determines a first language and a first currency based on a first request, responds to the first request based on the first language, displays a flight query page in the first language, and obtains the first input based on the flight query page. a query condition, displaying a first query result generated based on the first query condition, where the first query result at least includes: flight information displayed in a first currency. This solution determines the first language and the first currency based on the first request, and then responds to the first request based on the first language to query the flight information, that is, the corresponding language and currency are automatically determined directly through the first request, without the need for a user Manual setting can realize the interface of displaying flight query in the language and currency required by the user, so that the user can directly determine whether the air ticket meets the requirements based on the language and currency required by the user, and avoid the user using unfamiliar language and currency. This kind of inconvenience when purchasing air tickets improves the user experience.

本实施例公开了一种航班信息查询系统,其结构示意图如图4所示,包括:The present embodiment discloses a flight information query system, the schematic diagram of which is shown in FIG. 4 , including:

确定单元41,第一显示单元42及第二显示单元43。Determining unit 41 , first display unit 42 andsecond display unit 43 .

其中,确定单元41用于基于第一请求确定第一语言及第一币种;Wherein, the determining unit 41 is configured to determine the first language and the first currency based on the first request;

第一显示单元42用于基于第一语言响应所述第一请求,以第一语言显示航班查询页面;The first display unit 42 is configured to respond to the first request based on the first language, and display the flight inquiry page in the first language;

第二显示单元43用于获取基于航班查询页面输入的第一查询条件,显示基于第一查询条件生成的第一查询结果,第一查询结果至少包括:以第一币种显示的航班信息。Thesecond display unit 43 is configured to acquire the first query condition input based on the flight query page, and display the first query result generated based on the first query condition, where the first query result at least includes: flight information displayed in the first currency.

用户基于航班信息查询系统进行航班信息的查询,该系统在设备上运行,具体的,用户可以在航班信息查询系统中输入第一请求,系统在接收到第一请求后基于第一请求确定第一语言及第一币种。The user queries the flight information based on the flight information query system, which runs on the device. Specifically, the user can input the first request in the flight information query system, and the system determines the first request based on the first request after receiving the first request. Language and primary currency.

其中,第一语言为用户基于系统查询航班信息时的语言,如:第一语言为汉语,则用户在基于系统查询航班信息时,整个系统均以汉语形式呈现;第一币种为用户基于系统查询航班信息时,以第一币种显示航班对应的机票费用。Among them, the first language is the language when the user queries the flight information based on the system. For example, if the first language is Chinese, when the user queries the flight information based on the system, the entire system will be presented in Chinese; the first currency is the user-based system. When inquiring about flight information, the fare corresponding to the flight will be displayed in the first currency.

第一请求可具体为:启动航班信息查询系统的请求指令,那么,在获取到第一请求后,基于第一请求确定第一语言,之后直接以第一语言响应第一请求,即直接将第一请求启动的航班信息查询系统以第一语言的形式呈现在设备的显示屏上,从而通过该系统在设备上显示第一语言的航班查询页面,即实现了直接基于用户的第一请求确定该用户需求的语言及币种,无需用户手动选择,也避免了直接启动默认语言及币种为用户带来的不便。The first request may be specifically: a request instruction to start the flight information query system, then, after obtaining the first request, determine the first language based on the first request, and then directly respond to the first request in the first language, that is, directly A request to start the flight information query system is presented on the display screen of the device in the form of the first language, so that the flight query page in the first language is displayed on the device through the system, that is, the determination of the flight information directly based on the user's first request is realized. The language and currency required by the user does not need the user to manually select, and also avoids the inconvenience caused by directly starting the default language and currency for the user.

另外,第一请求也可以为:用户触发某一特定按键生成的请求指令,在设备获取到该特定按键的请求指令后,确定用户常用的第一语言,以及,与第一语言对应的第一币种。In addition, the first request may also be: a request command generated by the user triggering a specific key, and after the device obtains the request command of the specific key, the device determines the first language commonly used by the user, and the first language corresponding to the first language. currency.

在设备上显示出航班查询页面后,用户在航班查询页面的输入框中输入对应的第一查询条件,其中,航班查询页面的输入框至少用于输入:出发地及目的地、出发日期等,还可以包括优选的航空公司,或者,机票的价格区间等。After the flight query page is displayed on the device, the user enters the corresponding first query condition in the input box of the flight query page, wherein the input box of the flight query page is at least used to input: departure and destination, departure date, etc., It may also include the preferred airline, or the price range of the ticket, etc.

当在设备显示的航班查询页面中输入第一查询条件并执行查询指令后,系统基于第一查询条件能够查找到对应的航班,将该航班的航班信息显示在设备的显示屏上,作为第一查询结果进行显示。After inputting the first query condition and executing the query instruction on the flight query page displayed by the device, the system can find the corresponding flight based on the first query condition, and display the flight information of the flight on the display screen of the device as the first The query results are displayed.

第一查询结果至少包括:以第一币种显示的航班信息,即航班信息对应的机票价格是以第一币种显示的,另外,若购买该航班信息的机票除机票价格外,至少还包括税费,第一查询结果中还可以显示税费,并且,税费也是以第一币种显示的。The first query result at least includes: the flight information displayed in the first currency, that is, the ticket price corresponding to the flight information is displayed in the first currency; in addition, if the ticket for the flight information is purchased, in addition to the ticket price, at least include: Taxes, taxes can also be displayed in the first query result, and taxes are also displayed in the first currency.

第一币种可以为人民币,如:机票价格为:4900元;第一币种也可以为美金,如:机票价格为:340美元;第一币种还可以为日元,如:机票价格为:46000日元等。The first currency can be RMB, such as: the ticket price is: 4900 yuan; the first currency can also be US dollars, such as: the ticket price is: 340 US dollars; the first currency can also be Japanese yen, such as: the ticket price is : 46,000 yen, etc.

另外,第一查询结果还可以包括:出发时间,飞行时长,到达目的地的时间等。In addition, the first query result may also include: departure time, flight duration, arrival time at the destination, and the like.

进一步的,第一查询结果还可以包括:包括出发日期在内的每一个航班信息在一定时间内的价格信息,如:每一个航班信息的7天的价格信息,出发日期可以为该7天中的第一天或者最后一天,或者中间的某一天。Further, the first query result may also include: price information of each flight information including the departure date within a certain period of time, such as: 7-day price information of each flight information, and the departure date may be within the 7 days. the first or last day, or a day in between.

在系统确认第一币种及第一语言后,在本次航班信息查询过程中,均采用第一币种及第一语言,并不会中途自动更改为其他币种或其他语言,当需要对币种或语种进行变更时,需要用户手动设置。After the system confirms the first currency and the first language, the first currency and the first language will be used during the flight information query process, and will not be automatically changed to other currencies or other languages midway. When changing the currency or language, the user needs to set it manually.

进一步的,确定单元41用于:Further, the determining unit 41 is used for:

获取第一请求,确定响应第一请求所用的网络的属性;确定与网络的属性匹配的站点信息,将与站点信息对应的语言及币种确定为第一语言及第一币种。Obtain the first request, determine the properties of the network used to respond to the first request; determine site information matching the properties of the network, and determine the language and currency corresponding to the site information as the first language and the first currency.

基于第一请求确定第一语言及第一币种,可以具体为:通过第一请求本身所提供的信息确定第一语言及第一币种,即系统在接收到第一请求后,对第一请求进行响应所使用的网络的属性,之后基于该网络的属性确定匹配的站点信息,每一个站点信息会有其对应的语言及币种,由此即可确定当前进行航班信息查询时所需要使用的语言及币种。Determining the first language and the first currency based on the first request may specifically include: determining the first language and the first currency through the information provided by the first request itself, that is, after the system receives the first request, The properties of the network used for the request to respond, and then determine the matching site information based on the properties of the network. Each site information will have its corresponding language and currency, so that the current flight information query needs to be determined. language and currency.

该网络属性可具体为:网络的归属地。例如:设备为手机,用户在手机上使用该航班信息查询系统,在获取到第一请求后,设备响应该第一请求,其所使用的网络为手机的SIM卡的移动网络,或者,手机连接的WIFI网络,基于该移动网络或WIFI网络确定网络属性,从而确定对应的站点信息。The network attribute may specifically be: the home of the network. For example: the device is a mobile phone, the user uses the flight information query system on the mobile phone, and after obtaining the first request, the device responds to the first request, and the network it uses is the mobile network of the SIM card of the mobile phone, or the mobile phone is connected to The WIFI network, based on the mobile network or WIFI network, determine the network attribute, so as to determine the corresponding site information.

每一个站点会有对应的语言及币种,不同的站点对应的语言及币种可能相同,也可能不同。具体的,站点可以为:国家或地区,例如:中国,中国对应的语言为汉语,币种为人民币;又如:日本,日本对应的语言为日语,币种为日元。Each site will have a corresponding language and currency, and the language and currency corresponding to different sites may be the same or different. Specifically, the site may be: a country or region, for example: China, the language corresponding to China is Chinese, and the currency is RMB; another example: Japan, the language corresponding to Japan is Japanese, and the currency is Japanese yen.

在确定一个站点后,即可直接基于该站点确定与该站点对应的语言及币种,从而只需要基于第一请求确定站点即可基于与该站点对应的语言及币种确定语言及币种。After a site is determined, the language and currency corresponding to the site can be determined directly based on the site, so that the language and currency can be determined based on the language and currency corresponding to the site only by determining the site based on the first request.

另外,基于第一请求确定第一语言及第一币种,也可以为:In addition, determining the first language and the first currency based on the first request may also be:

获取第一请求;确定获取第一请求的设备的系统语言,并确定与系统语言匹配的系统币种,将系统语言确定为第一语言,将系统币种确定为第一币种。Obtain the first request; determine the system language of the device for which the first request is obtained, determine the system currency matching the system language, determine the system language as the first language, and determine the system currency as the first currency.

即基于获取第一请求的设备确定第一语言及第一币种。其中,设备为用户常用的设备,用户在对设备进行使用时,通常是以其自身熟悉的语言进行使用,那么,在系统获取到第一请求后,系统对获取第一请求的设备的系统语言进行获取,从而可确定用户的惯用语言,即设备的系统语言,基于该系统语言可确定该系统语言对应的站点,而每一个站点均对应有一种语言及一个币种,在确定该站点后即可确定该站点对应的币种,从而实现基于获取第一请求的设备确定第一语言及第一币种的方案。That is, the first language and the first currency are determined based on the device that obtains the first request. The device is commonly used by the user. When the user uses the device, he usually uses it in a language he is familiar with. Then, after the system obtains the first request, the system will determine the system language of the device that obtained the first request. Obtain, so that the user's habitual language, that is, the system language of the device, can be determined. Based on the system language, the site corresponding to the system language can be determined, and each site corresponds to a language and a currency. The currency corresponding to the site can be determined, thereby implementing the solution of determining the first language and the first currency based on the device that obtains the first request.

另外,也可以为:在基于获取第一请求的设备确定设备的系统语言后,再确定获取第一请求的设备的惯用币种,之后直接将设备的惯用币种确定为第一币种,将系统语言确定为第一语言,这就避免了用户惯用的语言及币种并未完全与站点对应,在确定了语言后,基于站点确定币种有可能出现错误的情况,直接采用设备的惯用语言及惯用币种,提高了第一语言及第一币种确定的准确度,提高了用户体验。In addition, it can also be: after the system language of the device is determined based on the device that obtains the first request, the customary currency of the device that obtains the first request is determined, and then the customary currency of the device is directly determined as the first currency. The system language is determined as the first language, which avoids that the user's habitual language and currency do not completely correspond to the site. After the language is determined, there may be errors in determining the currency based on the site, and the device's habitual language is directly used. and the customary currency, the accuracy of determining the first language and the first currency is improved, and the user experience is improved.

进一步的,本实施例公开的航班信息查询系统还包括:生成单元。Further, the flight information query system disclosed in this embodiment further includes: a generating unit.

其中,生成单元用于获取基于查询结果输入的乘机信息,生成订单信息,订单信息至少包括:确定的航班信息的第二币种价格,以及与第二币种价格对应的第一币种价格,第二币种价格为确定的航班信息的原始发布货币价格。Wherein, the generating unit is configured to obtain the boarding information input based on the query result, and generate order information, where the order information at least includes: the price in the second currency of the flight information determined, and the price in the first currency corresponding to the price in the second currency, The second currency price is the original published currency price of the determined flight information.

在基于第一请求确定第一语言及第一币种,并显示第一查询结果之后,若第一查询结果中有符合用户预期的航班信息,则用户会对第一查询结果中的预期航班信息进行选择,并输入乘机信息,从而生成订单信息。After the first language and the first currency are determined based on the first request, and the first query result is displayed, if there is flight information that meets the user's expectation in the first query result, the user will check the expected flight information in the first query result. Make selections and enter boarding information to generate order information.

其中,乘机信息至少包括:乘机人信息及联系人信息,其中,乘机人信息至少需要包括乘机人的姓名及证件号码,联系人信息至少包括:联系人的姓名及联系方式等。Wherein, the boarding information includes at least: passenger information and contact information, wherein, the passenger information at least needs to include the passenger's name and ID number, and the contact information at least includes: the name and contact information of the contact person.

订单信息中除包括乘机信息外,还包括航班信息,以及航班信息的机票价格。其中,机票价格除包括第一币种的价格外,还包括第二币种的价格,第二币种为确定的航班信息的原始发布货币价格,即该航班信息的发行航空公司在发布该航班信息时确定的机票价格,即该航班的原始发布货币价格。In addition to the flight information, the order information also includes flight information and the ticket price of the flight information. Among them, the ticket price includes the price of the first currency as well as the price of the second currency. The second currency is the original published currency price of the determined flight information, that is, the issuing airline of the flight information is publishing the flight information. The ticket price determined at the time of the information, i.e. the original published currency price of the flight.

若该航班信息的发行航空公司对应的站点与基于第一请求确定的站点相同,则第一币种与第二币种为同一币种,此处无需显示两种币种的价格,直接仅显示一个第一币种的价格即可;If the site corresponding to the issuing airline of the flight information is the same as the site determined based on the first request, then the first currency and the second currency are the same currency, and there is no need to display the prices of the two currencies here, only the display The price of a first currency is sufficient;

若该航班信息的发行航空公司对应的站点与基于第一请求确定的站点不同,则第一币种与第二币种为不同的币种,此时需要设置两种币种的价格,显示的第一币种的价格与第二币种的价格,在通过第一币种与第一币种的当前汇率换算后是相同的,只是以不同的币种进行显示。If the site corresponding to the issuing airline of the flight information is different from the site determined based on the first request, the first currency and the second currency are different currencies. At this time, the prices of the two currencies need to be set. The price of the first currency and the price of the second currency are the same after conversion through the current exchange rate between the first currency and the first currency, but are displayed in different currencies.

另外,在对订单信息进行支付时,是以基于第一请求确定的第一币种进行支付,即直接以订单信息中的第一币种价格进行支付,不需要用户再单独进行不同币种的汇率换算,提高了用户体验。In addition, when paying for the order information, the payment is made in the first currency determined based on the first request, that is, the payment is made directly in the price of the first currency in the order information, and the user does not need to make a separate payment in different currencies. Exchange rate conversion to improve user experience.

进一步的,本实施例公开的航班信息查询方法还包括:Further, the flight information query method disclosed in this embodiment further includes:

获取基于订单信息的支付请求;Obtain payment requests based on order information;

确定获取支付请求的设备的第一支付方式,以便能够基于第一支付方式对订单信息进行支付,其中,设备在预设历史时段内进行支付采用第一支付方式的频率大于第一预设值。The first payment method of the device that obtains the payment request is determined, so that the order information can be paid based on the first payment method, wherein the frequency of the device using the first payment method for payment within a preset historical period is greater than a first preset value.

在对订单信息进行支付时,可以直接采用设备的惯用支付方式进行支付,即确定在预设历史时段内用户采用某一支付方式的频率大于第一预设值时,直接将该支付方式确定为第一支付方式,并通过第一支付方式对订单信息进行支付。When paying for the order information, you can directly use the device's usual payment method to pay, that is, when it is determined that the frequency of the user using a certain payment method within the preset historical period is greater than the first preset value, the payment method is directly determined as the first payment method, and pay for the order information through the first payment method.

在过去的一定时间段内,用户通过设备进行支付时,采用某一支付方式的频率较大,大于第一预设值,或者,采用该支付方式支付的频率大于采用其他任一支付方式支付的频率,则将该支付方式确定为第一支付方式,采用第一支付方式对订单信息进行支付,即采用了用户惯用的支付方式,使得用户在熟悉支付流程的情况下,能够快速完成支付,提高用户体验,并节约支付所需要消耗的时间。During a certain period of time in the past, when the user made payment through the device, the frequency of using a certain payment method was larger than the first preset value, or the frequency of using this payment method was higher than that of using any other payment method. frequency, the payment method is determined as the first payment method, and the first payment method is used to pay for the order information, that is, the user's usual payment method is adopted, so that the user can quickly complete the payment when familiar with the payment process and improve the User experience, and save the time required for payment.

进一步的,在支付完成后,若要对支付完成的订单进行改签或退票,获取改签请求或退票请求,对改签请求或退票请求进行响应,在设备的显示屏显示改签或退票界面,该改签或退票界面至少显示支付时的第一币种的价格及第二币种的价格,该界面还需要显示票价明细,以使用户明确该票价中至少包括机票价格及不同的税费。Further, after the payment is completed, if you want to change or refund the paid order, obtain the change request or refund request, respond to the change request or refund request, and display the change or refund interface on the display screen of the device. , the change or refund interface at least displays the price of the first currency and the price of the second currency at the time of payment, and the interface also needs to display the fare details, so that the user can make it clear that the fare includes at least the ticket price and different taxes.

进一步的,还可以包括:Further, it can also include:

获取订单查询请求,订单查询请求至少包括待查询站点及第二查询条件;基于订单查询请求生成第二查询结果,第二查询结果为与待查询站点对应的订单信息,与待查询站点对应的订单信息为采用与待查询站点匹配的第三币种及第三语言的订单信息。Obtain an order query request, where the order query request includes at least the site to be queried and a second query condition; a second query result is generated based on the order query request, and the second query result is the order information corresponding to the site to be queried, and the order corresponding to the site to be queried. The information is the order information in the third currency and third language matching the site to be queried.

无论是否有订单的生成,均可以进行订单的查询,即系统获取订单查询请求,在该订单查询请求中至少包括待查询站点及第二查询条件。Regardless of whether an order is generated or not, an order query can be performed, that is, the system obtains an order query request, and the order query request at least includes the site to be queried and the second query condition.

其中,第二查询条件为想要查询的日期,或航班号,或目的地,或出发地,或某个乘机人的乘机信息等相关信息。Wherein, the second query condition is the date to be queried, or the flight number, or the destination, or the place of departure, or the boarding information of a certain passenger and other related information.

在进行订单查询时,需要输入待查询的站点,即用户想要查询的是通过哪一种语言或哪一个币种进行支付时生成的订单信息,在进行查询时,仅查询该待查询的站点的订单信息,而不对在其他站点生成的订单信息进行查询。When making an order query, it is necessary to enter the site to be queried, that is, which language or currency the user wants to query is the order information generated when the payment is made. When querying, only the site to be queried is queried. order information, without querying the order information generated at other sites.

在基于该订单查询请求生成的第二查询结果中至少包括订单支付的时间、支付币种、支付金额、订单中的航班信息等相关信息,以便于用户能够直接基于该订单查询请求获取订单生成时的各种信息。The second query result generated based on the order query request at least includes relevant information such as order payment time, payment currency, payment amount, flight information in the order, etc., so that the user can directly obtain the order generation time based on the order query request. various information.

本实施例公开的航班信息查询系统,基于第一请求确定第一语言及第一币种,基于第一语言响应第一请求,以第一语言显示航班查询页面,获取基于航班查询页面输入的第一查询条件,显示基于第一查询条件生成的第一查询结果,第一查询结果至少包括:以第一币种显示的航班信息。本方案通过基于第一请求确定第一语言及第一币种,之后基于第一语言响应第一请求以便进行航班信息的查询,即直接通过第一请求自动确定对应的语言及币种,无需用户手动设置,即可实现通过用户所需要的语言及币种显示航班查询的界面,以便于用户能够直接基于其需要的语言及币种确定机票是否符合需求,避免了用户以不熟悉的语言及币种购买机票时带来的不便,提高了用户体验。The flight information query system disclosed in this embodiment determines the first language and the first currency based on the first request, responds to the first request based on the first language, displays the flight query page in the first language, and obtains the first input based on the flight query page. a query condition, displaying a first query result generated based on the first query condition, where the first query result at least includes: flight information displayed in a first currency. This solution determines the first language and the first currency based on the first request, and then responds to the first request based on the first language to query the flight information, that is, the corresponding language and currency are automatically determined directly through the first request, without the need for a user Manual setting can realize the interface of displaying flight query in the language and currency required by the user, so that the user can directly determine whether the air ticket meets the requirements based on the language and currency required by the user, and avoid the user using unfamiliar language and currency. This kind of inconvenience when purchasing air tickets improves the user experience.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method.

专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Professionals may further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two, in order to clearly illustrate the possibilities of hardware and software. Interchangeability, the above description has generally described the components and steps of each example in terms of function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of a method or algorithm described in connection with the embodiments disclosed herein may be directly implemented in hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other in the technical field. in any other known form of storage medium.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, this application is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

Translated fromChinese
1.一种航班信息查询方法,其特征在于,包括:1. a flight information query method, is characterized in that, comprises:基于第一请求确定第一语言及第一币种;determining a first language and a first currency based on the first request;基于所述第一语言响应所述第一请求,以所述第一语言显示航班查询页面;Responding to the first request based on the first language, displaying a flight inquiry page in the first language;获取基于所述航班查询页面输入的第一查询条件,显示基于所述第一查询条件生成的第一查询结果,所述第一查询结果至少包括:以所述第一币种显示的航班信息。A first query condition entered based on the flight query page is acquired, and a first query result generated based on the first query condition is displayed, where the first query result at least includes: flight information displayed in the first currency.2.根据权利要求1所述的方法,其特征在于,所述基于第一请求确定第一语言及第一币种,包括:2. The method according to claim 1, wherein the determining the first language and the first currency based on the first request comprises:获取第一请求,确定响应所述第一请求所用的网络的属性;Obtain the first request, and determine the properties of the network used to respond to the first request;确定与所述网络的属性匹配的站点信息,将与所述站点信息对应的语言及币种确定为第一语言及第一币种。The site information matching the attributes of the network is determined, and the language and currency corresponding to the site information are determined as the first language and the first currency.3.根据权利要求1所述的方法,其特征在于,所述基于第一请求确定第一语言及第一币种,包括:3. The method according to claim 1, wherein the determining the first language and the first currency based on the first request comprises:获取第一请求;get the first request;确定获取所述第一请求的设备的系统语言,并确定与所述系统语言匹配的系统币种,将所述系统语言确定为所述第一语言,将所述系统币种确定为所述第一币种。Determine the system language of the device that obtains the first request, and determine the system currency that matches the system language, determine the system language as the first language, and determine the system currency as the first language a currency.4.根据权利要求1所述的方法,其特征在于,还包括:4. The method of claim 1, further comprising:获取基于所述查询结果输入的乘机信息,生成订单信息,所述订单信息至少包括:确定的航班信息的第二币种价格,以及与所述第二币种价格对应的第一币种价格,所述第二币种价格为所述确定的航班信息的原始发布货币价格。Obtain the flight information input based on the query result, and generate order information, where the order information at least includes: the price in the second currency of the flight information determined, and the price in the first currency corresponding to the price in the second currency, The second currency price is the original published currency price of the determined flight information.5.根据权利要求4所述的方法,其特征在于,还包括:5. The method of claim 4, further comprising:获取基于所述订单信息的支付请求;Obtain a payment request based on the order information;确定获取所述支付请求的设备的第一支付方式,以便能够基于所述第一支付方式对所述订单信息进行支付,其中,所述设备在预设历史时段内进行支付采用所述第一支付方式的频率大于第一预设值。Determine the first payment method of the device that obtains the payment request, so that the order information can be paid based on the first payment method, wherein the device uses the first payment for payment within a preset historical period The frequency of the mode is greater than the first preset value.6.根据权利要求1所述的方法,其特征在于,还包括:6. The method of claim 1, further comprising:获取订单查询请求,所述订单查询请求至少包括待查询站点及第二查询条件;obtaining an order query request, where the order query request at least includes the site to be queried and a second query condition;基于所述订单查询请求生成第二查询结果,所述第二查询结果为与所述待查询站点对应的订单信息,所述与所述待查询站点对应的订单信息为采用与所述待查询站点匹配的第三币种及第三语言的订单信息。A second query result is generated based on the order query request, where the second query result is the order information corresponding to the site to be queried, and the order information corresponding to the site to be queried is the order information corresponding to the site to be queried. Matching third currency and third language order information.7.一种航班信息查询系统,其特征在于,包括:7. A flight information inquiry system is characterized in that, comprising:确定单元,用于基于第一请求确定第一语言及第一币种;a determining unit, configured to determine the first language and the first currency based on the first request;第一显示单元,用于基于所述第一语言响应所述第一请求,以所述第一语言显示航班查询页面;a first display unit, configured to display a flight inquiry page in the first language in response to the first request based on the first language;第二显示单元,用于获取基于所述航班查询页面输入的第一查询条件,显示基于所述第一查询条件生成的第一查询结果,所述第一查询结果至少包括:以所述第一币种显示的航班信息。The second display unit is configured to acquire a first query condition input based on the flight query page, and display a first query result generated based on the first query condition, where the first query result at least includes: The flight information displayed in the currency.8.根据权利要求7所述的系统,其特征在于,所述确定单元用于:8. The system according to claim 7, wherein the determining unit is used for:获取第一请求,确定响应所述第一请求所用的网络的属性;确定与所述网络的属性匹配的站点信息,将与所述站点信息对应的语言及币种确定为第一语言及第一币种。Obtain a first request, determine the properties of the network used to respond to the first request; determine site information that matches the properties of the network, and determine the language and currency corresponding to the site information as the first language and the first language currency.9.根据权利要求7所述的系统,其特征在于,所述确定单元用于:9. The system according to claim 7, wherein the determining unit is used for:获取第一请求;确定获取所述第一请求的设备的系统语言,并确定与所述系统语言匹配的系统币种,将所述系统语言确定为所述第一语言,将所述系统币种确定为所述第一币种。Obtain the first request; determine the system language of the device that obtains the first request, and determine the system currency that matches the system language, determine the system language as the first language, and determine the system currency Determined to be the first currency.10.根据权利要求7所述的方法,其特征在于,还包括:生成单元,其中:10. The method according to claim 7, further comprising: a generating unit, wherein:所述生成单元用于获取基于所述查询结果输入的乘机信息,生成订单信息,所述订单信息至少包括:确定的航班信息的第二币种价格,以及与所述第二币种价格对应的第一币种价格,所述第二币种价格为所述确定的航班信息的原始发布货币价格。The generating unit is configured to acquire the boarding information input based on the query result, and generate order information, where the order information at least includes: the price in the second currency of the flight information determined, and the price in the second currency corresponding to the price in the second currency. The price in the first currency, and the price in the second currency is the price in the original published currency of the determined flight information.
CN202010819366.7A2020-08-142020-08-14 A kind of flight information query method and systemPendingCN111949881A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010819366.7ACN111949881A (en)2020-08-142020-08-14 A kind of flight information query method and system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010819366.7ACN111949881A (en)2020-08-142020-08-14 A kind of flight information query method and system

Publications (1)

Publication NumberPublication Date
CN111949881Atrue CN111949881A (en)2020-11-17

Family

ID=73342337

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010819366.7APendingCN111949881A (en)2020-08-142020-08-14 A kind of flight information query method and system

Country Status (1)

CountryLink
CN (1)CN111949881A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113869845A (en)*2021-08-312021-12-31紫金矿业集团股份有限公司Ore value automatic calculation system

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1299490A (en)*1997-12-292001-06-13伊德·普尔 Global shopping center for international operations
CN102360391A (en)*2011-10-212012-02-22福建星网锐捷网络有限公司Page display method, device and system
CN106408289A (en)*2016-08-262017-02-15维沃移动通信有限公司Payment page switching method and mobile terminal
CN108537539A (en)*2011-11-102018-09-14纯商业私人有限公司Multiple Currencies are marked the price and in network trading service or relevant improvement
CN110309440A (en)*2019-07-102019-10-08中国民航信息网络股份有限公司Ticket price searching method and relevant device
WO2020062249A1 (en)*2018-09-302020-04-02沃酷控股有限公司Method and apparatus for processing information in order payment, server, and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1299490A (en)*1997-12-292001-06-13伊德·普尔 Global shopping center for international operations
CN102360391A (en)*2011-10-212012-02-22福建星网锐捷网络有限公司Page display method, device and system
CN108537539A (en)*2011-11-102018-09-14纯商业私人有限公司Multiple Currencies are marked the price and in network trading service or relevant improvement
CN106408289A (en)*2016-08-262017-02-15维沃移动通信有限公司Payment page switching method and mobile terminal
WO2020062249A1 (en)*2018-09-302020-04-02沃酷控股有限公司Method and apparatus for processing information in order payment, server, and medium
CN110309440A (en)*2019-07-102019-10-08中国民航信息网络股份有限公司Ticket price searching method and relevant device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王淼;王法胜;: "基于Android的机票销售系统设计与实现", 电子元器件与信息技术, no. 06*

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113869845A (en)*2021-08-312021-12-31紫金矿业集团股份有限公司Ore value automatic calculation system

Similar Documents

PublicationPublication DateTitle
US7143058B2 (en)Notifying program and detailed statement display method
JP2007509391A (en) Method and system for providing installment payments in electronic commerce using the Internet
US20110225034A1 (en)Customized Coupon Delivery System And Method
WO2019179379A1 (en)User rights information processing method, device and system
WO2020238391A1 (en)Electronic ticket verification method and apparatus
JP2001357126A (en) Service providing method and device, display method and device, billing system, device, and method, computer program, and computer-readable storage medium
CN111949881A (en) A kind of flight information query method and system
JP2001357292A (en)Electronic manual distribution system
KR20120087321A (en)System and method for managment cupon
JP2001331229A (en)System for selling program use ticket and method for the same and recording medium
CN110189116A (en) Commodity settlement method, device and server
US20180182022A1 (en)Information input method, account information input method and terminal
CN112686724A (en)Information recommendation method and device, electronic equipment and storage medium
JP2019135582A (en)Benefit presentation device, benefit presentation program, and benefit presentation method
CN114443932A (en)Information pushing method, device and system for financial products, electronic equipment and medium
CN113298608B (en) Order information processing method, device and electronic equipment
CN113205394A (en)Virtual resource exchange method and device, electronic equipment and storage medium
JP7687295B2 (en) Information processing device, method, and program
JP4126232B2 (en) Communication system, authentication method, and registration apparatus
KR102297073B1 (en)Point integrated management system and method
JP2012141769A (en)Device and method for selling digital content
JP3735539B2 (en) Transaction management system and transaction management method
JP7611436B1 (en) A computer system and program that enables users to smoothly proceed from planning finances for purchasing a property to purchasing the property
JP2002133533A (en)System for order settlement
KR20120137534A (en)System and method for managment cupon

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20201117


[8]ページ先頭

©2009-2025 Movatter.jp