CN111651673A - Method, system, medium, and apparatus for presentation of a roundtrip ticket combination product - Google Patents

Method, system, medium, and apparatus for presentation of a roundtrip ticket combination product Download PDF

Info

Publication number
CN111651673A
CN111651673A CN202010472833.3A CN202010472833A CN111651673A CN 111651673 A CN111651673 A CN 111651673A CN 202010472833 A CN202010472833 A CN 202010472833A CN 111651673 A CN111651673 A CN 111651673A
Authority
CN
China
Prior art keywords
holiday
days
travel
trip
round
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
CN202010472833.3A
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.)
Ctrip Travel Network Technology Shanghai Co Ltd
Original Assignee
Ctrip Travel Network Technology Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ctrip Travel Network Technology Shanghai Co Ltd filed Critical Ctrip Travel Network Technology Shanghai Co Ltd
Priority to CN202010472833.3A priority Critical patent/CN111651673A/en
Publication of CN111651673A publication Critical patent/CN111651673A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/02Reservations, e.g. for tickets, services or events
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/14Travel agencies

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method, a system, a medium and a device for presenting a roundtrip ticket combined product. The method comprises the steps of determining travel day recommendation information by receiving departure cities and arrival cities in a query request of a user based on a round-trip air ticket; and determining the holiday travel configuration information by combining the expected travel days and the holiday time in the query request. Through an automatic intelligent accounting method, a user can be helped to utilize holiday time and round-trip tickets with high selective price ratio; in a holiday scene, when a user uses a client to select the round-trip air tickets, only the destination and the time of a trip holiday are needed to be selected, a plurality of high-cost-performance round-trip air ticket combination products can be obtained, and the cost for the selection of the user is greatly reduced.

Description

Method, system, medium, and apparatus for presentation of a roundtrip ticket combination product
Technical Field
The invention relates to the technical field of data query, in particular to a method, a system, a medium and equipment for presenting a roundtrip ticket combined product.
Background
Currently, when a user uses a workday to ask for holidays, the user wants to be able to put together a holiday with a longer time period by combining the leave asking time and the legal holidays. When the air ticket reservation website receives the air ticket inquiry service sent by the user, time data such as travel date, return date and the like are provided. In addition, the user needs to refer to various factors such as legal holiday calendar, working calendar, destination, air ticket price and the like to plan the travel period of the user, then determine the travel and return dates, finally buy return air tickets,
however, according to the requirements of the user, a scheme for effectively setting required multiple round trip combined air ticket information for a preset vacation and directly displaying the information to the user is lacked in the prior art. The flight information searched by the system is not targeted, the personalized outgoing requirement of the user cannot be met, and the user has extremely high query cost.
Disclosure of Invention
The invention aims to solve the technical problem of overcoming the defects that in the prior art, recommendation of multiple round-trip combined air ticket information required by a vacation formed by combining and splicing is lacked, and time and labor are wasted in user query, and provides a method, a system, a medium and equipment for presenting a round-trip air ticket combined product.
The invention solves the technical problems through the following technical scheme:
in a first aspect, the present invention provides a method of presenting a roundtrip ticket composition, the method comprising:
receiving a query request of a user based on a round-trip air ticket, and at least acquiring expected travel days, holiday time, flight preference, departure city and arrival city contained in the query request;
determining travel day recommendation information based on the departure city and the arrival city; the travel day recommending information comprises the shortest days, the longest days and the most suitable travel days of travel in two cities;
determining holiday travel configuration information based on the expected travel days and the holiday time; the holiday trip configuration information represents a trip date generated after user requirements and national fixed holidays are recombined;
acquiring all round-trip flights and prices thereof which accord with the departure city and the arrival city, the departure date of which is within a preset time period after the current date and which accord with the trip day recommendation information or the holiday trip configuration information according to the flight preference;
sequencing the obtained round-trip flights according to the price of the round-trip flights, and sequentially screening out the round-trip flight ticket combination product information with different prices corresponding to each departure date from the current date in the preset time period;
and pushing the information of the round-trip air ticket combined product to a user for presentation.
Preferably, the step of determining holiday travel configuration information based on the expected travel days and the holiday time comprises:
judging whether the holiday time is a national fixed holiday or weekend;
when the holiday time is a national fixed holiday, acquiring all conforming leave-asking schemes based on the expected travel days and the holiday time, and determining first holiday travel configuration information according to the leave-asking schemes;
when the holiday time is weekend, judging the number of remaining weekends in the month after the current date, and determining second holiday travel configuration information according to the number of remaining weekends; the second holiday trip configuration information comprises trip information of the weekend, the next weekend and the weekend from the weekend to the weekend of the month.
Preferably, when the holiday is a national holiday, the step of obtaining all compliant leave-asking plans based on the expected travel days and the holiday time includes:
if the expected travel days are greater than the holiday time, generating a first leave asking scheme corresponding to the numerical value of one day of the travel days eliminated by gradually increasing the difference between the travel days and the holiday time in sequence;
and if the expected travel days are not more than the holiday time, generating a second leave asking scheme corresponding to the numerical value of the holiday time gradually decreased to zero days after one day of removal.
Preferably, the step of determining the recommended travel days information based on the departure city and the arrival city further includes:
and if the data acquired based on the departure city and the arrival city are abnormal, defaulting the travel days to a preset value.
In a second aspect, the present invention also provides a system for presentation of a roundtrip ticket combination product, the system comprising:
the receiving module is used for receiving a query request of a user based on a round-trip air ticket, and at least acquiring expected travel days, holiday time, flight preference, departure city and arrival city contained in the query request;
the first determining module is used for determining travel day recommending information based on the departure city and the arrival city; the travel day recommending information represents the shortest days, the longest days and the most suitable travel days of travel in two cities;
a second determining module, configured to determine holiday travel configuration information based on the expected travel days and the holiday time; the holiday trip configuration information represents a trip date generated after user requirements and national fixed holidays are recombined;
the obtaining module is used for obtaining all round-trip flights and prices thereof, wherein the round-trip flights accord with the departure city and the arrival city, the departure date is within a preset time period after the current date, and the round-trip flights accord with the travel day recommendation information or the holiday travel configuration information;
the screening module is used for sequencing the obtained round-trip flights according to the price of the round-trip flights, and sequentially screening out the round-trip ticket combined product information with different prices corresponding to each departure date from the current date in the preset time period;
and the pushing module is used for pushing the information of the round-trip air ticket combined product to a user for presentation.
Preferably, the second determining module includes:
the judging unit is used for judging whether the holiday time is a national fixed holiday or a weekend;
a first determining unit, configured to, when the holiday time is a national fixed holiday, obtain all compliant leave-asking schemes based on the expected travel days and the holiday time, and determine first holiday travel configuration information according to the leave-asking schemes;
a second determining unit, configured to determine, when the holiday time is a weekend, a remaining number of weekends in the current month after the current date, and determine, according to the remaining number of weekends, second holiday travel configuration information; the second holiday trip configuration information comprises trip information of the weekend, the next weekend and the weekend from the weekend to the weekend of the month.
Preferably, the first judging unit includes:
if the expected travel days are greater than the holiday time, generating a first leave asking scheme corresponding to the numerical value of one day of the travel days eliminated by gradually increasing the difference between the travel days and the holiday time in sequence;
and if the expected travel days are not more than the holiday time, generating a second leave asking scheme corresponding to the numerical value of the holiday time gradually decreased to zero days after one day of removal.
Preferably, the first determining module includes:
and if the data acquired based on the departure city and the arrival city are abnormal, defaulting the travel days to a preset value.
In a third aspect, the present invention provides an electronic device comprising a processor, a memory, and a computer program of a computer stored on the memory and operable on the processor, the computer program, when executed by the processor, implementing the method of presentation of a roundtrip ticket composition product according to the first aspect.
In a fourth aspect, the invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of presenting a roundtrip ticket composition product according to the first aspect.
The positive progress effects of the invention are as follows: a method, system, medium, and apparatus for presentation of a shuttle ticket combination product are provided. Determining travel day recommendation information by receiving departure cities and arrival cities in a query request of a user based on a round-trip air ticket; and determining the holiday travel configuration information by combining the expected travel days and the holiday time in the query request. Through an automatic intelligent accounting method, a user can be helped to utilize holiday time and round-trip tickets with high selective price ratio; in a holiday scene, when a user uses a client to select the round-trip air tickets, only the destination and the time of a trip holiday are needed to be selected, a plurality of high-cost-performance round-trip air ticket combination products can be obtained, and the cost for the selection of the user is greatly reduced.
Drawings
Fig. 1 is a flow chart of a method of presentation of a roundtrip ticket combination product according to embodiment 1 of the present invention.
Fig. 2 is a schematic diagram of a page display of a method for presentation of a roundtrip ticket composition product according to embodiment 1 of the present invention.
Fig. 3 is a flowchart of method step S13 of presentation of a roundtrip ticket combination product according to embodiment 1 of the present invention.
Fig. 4 is a schematic diagram of a holiday floating-layer page of the method for presenting a roundtrip ticket combination product according to embodiment 1 of the present invention.
Fig. 5 is a schematic view of a product component page of the method of presentation of a roundtrip ticket composition product according to embodiment 1 of the present invention.
Fig. 6 is a schematic diagram of a travel time conversation window page of the method for presenting a roundtrip ticket combination product according to embodiment 1 of the present invention.
Fig. 7 is a block diagram of a system for presentation of a roundtrip ticket combination product according to embodiment 2 of the present invention.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device according to embodiment 3 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
The present embodiment provides a method for presenting a roundtrip ticket combination product, and referring to fig. 1, the method includes the following steps:
step S11, receiving a query request of a user based on a round-trip air ticket, and at least obtaining expected travel days, holiday time, flight preference, departure city and arrival city contained in the query request.
Receiving information of inquiring round-trip tickets sent by a user from a client, wherein the inquiring information can comprise flight type selection information, expected travel days information, flight preference information, holiday information, departure city input information and arrival city information. For example, flight type selection information includes "one-way" and "round-trip"; flight preference information includes "direct flight" and "take turns"; the holiday information comprises time and date corresponding to 'five gold weeks', 'national day festival', 'mid-autumn festival', 'New year holiday' and 'weekend'; the expected travel day information includes "4 days", "5 days", "6 days", "7 days", and "8 days".
As shown in fig. 2, there is provided a schematic view of a page of a method of presentation of a round trip ticket combination product, which is displayed at the uppermost part thereof as a departure city input "beijing", an arrival city input "osaka" and a holiday time input "mid-autumn festival" in a query request received from a user.
It should be noted that, although the explanation of the corresponding meaning of the information included in the query request is described in the above example, those skilled in the art can understand that the present disclosure is not limited thereto, and those skilled in the art can flexibly set the user query information received when querying according to the scenario of the actual air ticket query application.
And step S12, determining travel day recommendation information based on the departure city and the arrival city. The travel day recommendation information comprises the shortest days, the longest days and the most suitable travel days of travel in two cities.
And according to the departure city and the arrival city in the user query information, estimating the distance between the two cities and the time required by city play, and recommending proper travel time. For example, if the departure city and the arrival city are "beijing-osaka", the determined travel day recommendation information is that the minimum day is 4 days, the maximum time is 8 days, and the most suitable travel day is 6 days. And if the departure city and the arrival city are 'Beijing-New York', the determined recommended travel days is 5 days as the minimum days, 9 days as the maximum time, and 6 days as the most suitable travel days.
And if the data acquired based on the departure city and the arrival city are abnormal, the number of travel days is defaulted to be a preset value.
Specifically, if the data formats of the obtained departure city and the arrival city are abnormal, the number of travel days is defaulted to be 4 days as the preset value.
Step S13, determining holiday travel configuration information based on expected travel days and holiday time; the holiday trip configuration information represents a trip date generated after the user requirements and the national fixed holidays are recombined.
And determining holiday travel configuration information corresponding to the combined travel date of the days meeting the travel demand of the user and the nationally determined holiday according to the expected travel days and the determined holiday time in the user query request. For example, as shown in fig. 2, if the user expects that the travel days are "6 days", and the legal holiday of mid-autumn festival is 3 days, a holiday which is longer in period and meets the user requirement can be pieced together by using the working day holiday and combining the national legal holiday.
In this embodiment, referring to fig. 3, a method for presenting a shuttle ticket combination product, in step S13, includes the following steps:
and S131, judging whether the holiday time is a national fixed holiday or weekend.
As shown in fig. 4, the schematic diagram of the holiday floating page of the method for presenting the roundtrip ticket combination product according to the embodiment of the present invention determines whether the holiday time is a nationally determined holiday or saturday and sunday according to the user query request. For example, the national day holidays include mid-autumn festival, New year's day, Wuyi festival, Dragon's day, national day, etc. Weekends were saturday and weekday for two consecutive days.
And S132, when the holiday time is a national fixed holiday, acquiring all the conforming leave-asking schemes based on the expected travel days and the holiday time, and determining the travel configuration information of the first holiday according to the leave-asking schemes.
If the holiday time is in mid-autumn festival, the country decides holidays. In fig. 2, the user desires the travel days to be 6 days, the mid-autumn festival is 3 days, and the holiday dates are 09 months 13 to 09 months 15 days, respectively. The number of days that the user expects to go out is 6 days more than 3 days in the holiday, and different leave asking schemes can be set. For example, if it is set that a weekday requires 3 days for vacation, first holiday trip configuration information corresponding to a trip plan from 11 days 09 month to 16 days 09 month is acquired; first holiday trip configuration information corresponding to the trip scheme from 13 days 09 month to 18 days 09 month; and the first holiday trip configuration information corresponding to the trip scheme from 12 days 09 month to 17 days 09 month.
Further, if the user desires the travel days to be 7 days, the mid-autumn festival is 3 days, and the holiday dates are 09 months 13 to 09 months 15 days, respectively. The number of days that the user expects to travel is 7 days greater than the number of days of 3 days on the holiday, and different leave asking schemes can be set. For example, if it is set that a weekday requires holiday for 4 days, obtaining first holiday trip configuration information corresponding to a trip plan from 11 days at 09 months to 16 days at 09 months; and the first holiday trip configuration information corresponding to the trip scheme from 13 days 09 month to 18 days 09 month.
In this embodiment, a method for presenting a roundtrip ticket combination product, step S132 includes the following steps:
and if the expected travel days are greater than the holiday time, generating a first leave asking scheme corresponding to the numerical value of one day of the travel days eliminated by gradually increasing the difference between the travel days and the holiday time in sequence.
Specifically, if the user expects that the travel days are 10 days and the holiday time is 7 days, the leave asking days of the second leave asking scheme may include: please leave for day (10-7), leave for day (10-7+1), leave for day (10-7+2), leave for day … …, leave for day (10-1). The different leave asking days correspond to the first leave asking scheme at different times, and the first leave asking scheme is not limited herein.
And if the expected travel days are not more than the holiday time, generating a second leave-asking scheme corresponding to the numerical value that the holiday time is gradually decreased to zero after being removed for one day.
Specifically, if the user expects 5 days for travel and 7 days for holiday time, the number of leave asking days of the second leave asking scheme may include: leave not (leave days 0), leave 1, leave 2 days … … (7-1). The different leave asking days correspond to the second leave asking scheme at different time, and the second leave asking scheme is not limited herein.
Step S133, when the holiday time is the weekend, judging the number of the remaining weekends in the month after the current date, and determining the trip configuration information of the second holiday according to the number of the remaining weekends; the second holiday trip configuration information comprises trip information of the weekend, the next weekend and the weekend from the weekend to the weekend of the month.
Specifically, if the holidays are saturday and sunday, and the user desires to travel on weekend, the second holiday travel configuration information of the weekend travel combination may be set. Judging the remaining weekends in the month after the current date, and if 1 weekend remains, determining the second holiday trip configuration information containing the weekend; if 2 weekends remain, determining the second holiday trip configuration information containing the 2 weekends; if 3 weekends remain, the second holiday trip configuration information including the 3 weekends is determined to be trip information of the weekend, the next weekend and the weekend from the weekend to the weekend of the month.
It should be noted that, although the explanation of the meaning corresponding to the second holiday travel configuration information is described in the above example, the skilled person in the art can understand that the present disclosure is not limited thereto, and the skilled person in the art can determine the number of weekends included in the travel configuration information according to the actual situation, and if the remaining weekend of the month is 1 day and the weekend spans the current month and the next month, determine that the second holiday travel configuration information includes the last weekend of the current month and the first weekend of the next month.
And step S14, acquiring all round-trip flights and prices thereof, wherein the round-trip flights accord with departure cities and arrival cities, the departure dates are within a preset time period after the current dates, and the round-trip flights accord with the travel day recommendation information or the holiday travel configuration information, according to the flight preferences.
Fig. 5 is a schematic diagram of a product components page of the method of presenting a roundtrip ticket combination product, with a "see-through-flight only" option in the product components options, i.e., user flight preferences, being one of the conditions for the filtering.
According to the flight preference (direct flight) of the user, a specific departure city and an arrival city are obtained, the departure date is 3 days, 4 days, 5 days or 7 days after the current date, and the travel day recommendation information is met, such as all round-trip flights of 4 days and the prices of the round-trip flights.
It is also possible to obtain a specific departure city and arrival city according to the user flight preferences (commute), with the departure date 3, 4, 5 or 7 days after the current date, in line with holiday trip configuration information, such as all round-trip flights 6 days and their prices.
As can be seen from fig. 4, when all round-trip flights and their prices are obtained, the obtained round-trip flights may be screened and sorted according to one of three rules, namely "see only direct flight", "leave few priority", and "price low priority".
It should be noted that, although the preset time period is described as 3 days, 4 days, 5 days or 7 days in the above examples, those skilled in the art will understand that the present disclosure is not limited thereto, and those skilled in the art can determine the number of days of the preset time period according to the actual situation.
And step S15, sequencing the obtained round-trip flights according to the price, and sequentially screening out the round-trip flight ticket combination product information with different prices corresponding to the departure dates from the current date within a preset time period.
As shown in fig. 5, in the embodiment of the present application, the obtained round-trip flights are sorted according to the rule of "price low priority", and round-trip flight ticket combination product information with high cost performance and low price is screened out.
And step S16, pushing the information of the shuttle ticket combined product to the user for presentation.
And acquiring user requirements according to a query request input by a client user. And determining a travel date according to the determined travel day recommending information or the determined holiday travel configuration information, and screening out low-price round-trip tickets to recommend to a client for presentation.
As shown in fig. 6, a schematic diagram of a travel time conversation window page of the method for presenting a roundtrip ticket combination product according to the embodiment of the present application is shown, where the number of travel days finally determined by the user in the page is 6 days, and the determined leave plan is 3 days, the lowest-priced roundtrip tickets for a specific departure point and destination under the condition are 2104 yuan from 11 days at 09 months to 16 days at 09 months, 2104 yuan from 13 days at 09 months to 18 days at 09 months, and 2264 yuan from 12 days at 09 months to 17 days at 09 months.
In an embodiment of the invention, a method for presenting a roundtrip ticket combination product is provided. Determining travel day recommendation information by receiving departure cities and arrival cities in a query request of a user based on a round-trip air ticket; and determining the holiday travel configuration information by combining the expected travel days and the holiday time in the query request. Through an automatic intelligent accounting method, a user can be helped to utilize holiday time and round-trip tickets with high selective price ratio; in a holiday scene, when a user uses a client to select the round-trip air tickets, only the destination and the time of a trip holiday are needed to be selected, a plurality of high-cost-performance round-trip air ticket combination products can be obtained, and the cost for the selection of the user is greatly reduced.
Example 2
The present embodiment provides a system for presenting a combination product of a roundtrip ticket, and referring to fig. 7, the system includes: the device comprises a receiving module 110, a first determining module 120, a second determining module 130, an obtaining module 140, a screening module 150 and a pushing module 160. The second determining module 130 includes a judging unit 131, a first determining unit 132, and a second determining unit 133.
The receiving module 110 is configured to receive a query request of a user based on a round-trip air ticket, and obtain at least an expected travel number of days, holiday time, flight preference, departure city, and arrival city included in the query request.
The receiving module 110 receives information of inquiring round trip tickets sent by a user from a client, wherein the inquiring information can comprise flight type selection information, expected travel days information, flight preference information, holiday information, departure city input information and arrival city information. For example, flight type selection information includes "one-way" and "round-trip"; flight preference information includes "direct flight" and "take turns"; the holiday information comprises time and date corresponding to 'five gold weeks', 'national day festival', 'mid-autumn festival', 'New year holiday' and 'weekend'; the expected travel day information includes "4 days", "5 days", "6 days", "7 days", and "8 days". For example, in the query request of the user, the input of "beijing" in the departure city, the input of "osaka" in the arrival city, and the input of "mid-autumn festival" in the holiday time of the festival are received.
It should be noted that, although the explanation of the corresponding meaning of the information included in the query request is described in the above example, those skilled in the art can understand that the present disclosure is not limited thereto, and those skilled in the art can flexibly set the user query information received when querying according to the scenario of the actual air ticket query application.
A first determining module 120, configured to determine recommended travel days information based on a departure city and an arrival city; the travel day recommendation information represents the shortest days, the longest days and the most suitable travel days of travel in two cities.
The first determination module 120 estimates the distance between the two cities and the time required for the city to play according to the departure city and the arrival city in the user query information, and recommends an appropriate travel time. For example, if the departure city and the arrival city are "beijing-osaka", the determined travel day recommendation information is that the minimum day is 4 days, the maximum time is 8 days, and the most suitable travel day is 6 days. And if the departure city and the arrival city are 'Beijing-New York', the determined recommended travel days is 5 days as the minimum days, 9 days as the maximum time, and 6 days as the most suitable travel days.
And if the data acquired based on the departure city and the arrival city are abnormal, the number of travel days is defaulted to be a preset value.
Specifically, if the data formats of the obtained departure city and the arrival city are abnormal, the number of travel days is defaulted to be 4 days as the preset value.
A second determining module 130, configured to determine holiday travel configuration information based on the expected travel days and holiday time; the holiday trip configuration information represents a trip date generated after the user requirements and the national fixed holidays are recombined.
The second determining module 130 determines holiday travel configuration information corresponding to a combined travel date of days meeting the travel demand of the user and the nationally determined holiday according to the expected travel days and the determined holiday time in the user query request. For example, if the user expects that the travel days are 6 days and the legal holidays in mid-autumn festival are 3 days, a holiday which is longer in period and meets the requirements of the user can be pieced together by using a working day and combining the legal holidays in national festival.
In this embodiment, in a system for presenting a combination product of a roundtrip ticket, the second determining module 130 includes the following:
a judging unit 1311, configured to judge whether the holiday time is a national holiday or a weekend.
And judging whether the holiday time is nationally determined holiday or saturday and sunday according to the user query request. For example, the national day holidays include mid-autumn festival, New year's day, Wuyi festival, Dragon's day, national day, etc. Weekends were saturday and weekday for two consecutive days.
A first determining unit 1312, configured to, when the holiday time is a national fixed holiday, obtain all compliant leave-asking schemes based on the expected travel days and the holiday time, and determine the first holiday travel configuration information according to the leave-asking schemes.
The holiday time is mid-autumn festival, namely national fixed holiday. The user expects the travel days to be 6 days, the mid-autumn festival to be 3 days, and the holiday dates to be 09 months and 13 to 09 months and 15 days, respectively. The number of days that the user expects to go out is 6 days more than 3 days in the holiday, and different leave asking schemes can be set. For example, if it is set that a weekday requires 3 days for vacation, first holiday trip configuration information corresponding to a trip plan from 11 days 09 month to 16 days 09 month is acquired; first holiday trip configuration information corresponding to the trip scheme from 13 days 09 month to 18 days 09 month; and the first holiday trip configuration information corresponding to the trip scheme from 12 days 09 month to 17 days 09 month.
Further, if the user desires the travel days to be 7 days, the mid-autumn festival is 3 days, and the holiday dates are 09 months 13 to 09 months 15 days, respectively. The number of days that the user expects to travel is 7 days greater than the number of days of 3 days on the holiday, and different leave asking schemes can be set. For example, if it is set that a weekday requires holiday for 4 days, obtaining first holiday trip configuration information corresponding to a trip plan from 11 days at 09 months to 16 days at 09 months; and the first holiday trip configuration information corresponding to the trip scheme from 13 days 09 month to 18 days 09 month.
In this embodiment, in a system for presenting a shuttle ticket combination product, the first determining unit 132 includes the following:
and if the expected travel days are greater than the holiday time, generating a first leave asking scheme corresponding to the numerical value of one day of the travel days eliminated by gradually increasing the difference between the travel days and the holiday time in sequence.
Specifically, if the user expects that the travel days are 10 days and the holiday time is 7 days, the leave asking days of the second leave asking scheme may include: please leave for day (10-7), leave for day (10-7+1), leave for day (10-7+2), leave for day … …, leave for day (10-1). The different leave asking days correspond to the first leave asking scheme at different times, and the first leave asking scheme is not limited herein.
And if the expected travel days are not more than the holiday time, generating a second leave-asking scheme corresponding to the numerical value that the holiday time is gradually decreased to zero after being removed for one day.
Specifically, if the user expects 5 days for travel and 7 days for holiday time, the number of leave asking days of the second leave asking scheme may include: leave not (leave days 0), leave 1, leave 2 days … … (7-1). The different leave asking days correspond to the second leave asking scheme at different time, and the second leave asking scheme is not limited herein.
A second determining unit 1313, configured to, when the holiday time is a weekend, determine the number of remaining weekends in the month after the current date, and determine second holiday travel configuration information according to the number of remaining weekends; the second holiday trip configuration information comprises trip information of the weekend, the next weekend and the weekend from the weekend to the weekend of the month.
Specifically, if the holidays are saturday and sunday, and the user desires to travel on weekend, the second holiday travel configuration information of the weekend travel combination may be set. Judging the remaining weekends in the month after the current date, and if 1 weekend remains, determining the second holiday trip configuration information containing the weekend; if 2 weekends remain, determining the second holiday trip configuration information containing the 2 weekends; if 3 weekends remain, the second holiday trip configuration information including the 3 weekends is determined to be trip information of the weekend, the next weekend and the weekend from the weekend to the weekend of the month.
It should be noted that, although the explanation of the meaning corresponding to the second holiday travel configuration information is described in the above example, the skilled person in the art can understand that the present disclosure is not limited thereto, and the skilled person in the art can determine the number of weekends included in the travel configuration information according to the actual situation, and if the remaining weekend of the month is 1 day and the weekend spans the current month and the next month, determine that the second holiday travel configuration information includes the last weekend of the current month and the first weekend of the next month.
The obtaining module 140 is configured to obtain all round-trip flights and prices thereof that meet the departure city and the arrival city, that have a departure date within a preset time period after the current date, and that meet the trip day recommendation information or the holiday trip configuration information according to the flight preference.
According to the flight preference (direct flight) of the user, a specific departure city and an arrival city are obtained, the departure date is 3 days, 4 days, 5 days or 7 days after the current date, and the travel day recommendation information is met, such as all round-trip flights of 4 days and the prices of the round-trip flights.
It is also possible to obtain a specific departure city and arrival city according to the user flight preferences (commute), with the departure date 3, 4, 5 or 7 days after the current date, in line with holiday trip configuration information, such as all round-trip flights 6 days and their prices.
It should be noted that, although the preset time period is described as 3 days, 4 days, 5 days or 7 days in the above examples, those skilled in the art will understand that the present disclosure is not limited thereto, and those skilled in the art can determine the number of days of the preset time period according to the actual situation.
The screening module 150 is configured to sort the obtained round-trip flights according to the prices of the round-trip flights, and sequentially screen out round-trip flight ticket combination product information with different prices corresponding to each departure date from the current date within a preset time period.
In the embodiment of the application, the obtained round-trip flights are sorted according to the price priority rule, and the round-trip flight ticket combination product information with high cost performance and low price is screened out.
And the pushing module 160 is used for pushing the information of the roundtrip ticket combined product to the user for presentation.
And acquiring user requirements according to a query request input by a client user. The pushing module 160 determines a travel date according to the determined travel day recommendation information or the determined holiday travel configuration information, and screens out the low-price round-trip tickets to be recommended to the client for presentation.
In an embodiment of the invention, a system for presenting a roundtrip ticket combination product is provided. The receiving module receives departure cities and arrival cities in a query request of a user based on a round-trip air ticket, and the first determining module determines travel day recommendation information; and the second determining module determines the holiday travel configuration information by combining the expected travel days and the holiday time in the query request. Through an automatic intelligent accounting method, a user can be helped to utilize holiday time and round-trip tickets with high selective price ratio; in a holiday scene, when a user uses a client to select the round-trip air tickets, only the destination and the time of a trip holiday are needed to be selected, a plurality of high-cost-performance round-trip air ticket combination products can be obtained, and the cost for the selection of the user is greatly reduced.
Example 3
Fig. 8 is a schematic structural diagram of an electronic device provided in this embodiment. The electronic device includes a memory, a processor and a computer program stored on the memory and executable on the processor, and the processor executes the program to implement the method for presenting a roundtrip ticket combination product according to embodiment 1, and the electronic device 30 shown in fig. 8 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
The electronic device 30 may be embodied in the form of a general purpose computing device, which may be, for example, a server device. The components of the electronic device 30 may include, but are not limited to: the at least one processor 31, the at least one memory 32, and a bus 33 connecting the various system components (including the memory 32 and the processor 31).
The bus 33 includes a data bus, an address bus, and a control bus.
The memory 32 may include volatile memory, such as Random Access Memory (RAM)321 and/or cache memory 322, and may further include Read Only Memory (ROM) 323.
Memory 32 may also include a program/utility 325 having a set (at least one) of program modules 324, such program modules 324 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The processor 31 executes various functional applications and data processing, such as a method of presentation of a roundtrip ticket composition product according to embodiment 1 of the present invention, by executing a computer program stored in the memory 32.
The electronic device 30 may also communicate with one or more external devices 34 (e.g., keyboard, pointing device, etc.). Such communication may be through input/output (I/O) interfaces 35. Also, model-generating device 30 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via network adapter 36. As shown, network adapter 36 communicates with the other modules of model-generating device 30 via bus 33. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the model-generating device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 4
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of embodiment 1 of presenting a roundtrip ticket combination product.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation, the invention can also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps of the method of implementing the presentation of a roundtrip ticket composition product of embodiment 1, when said program product is run on said terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may be executed entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (10)

1. A method of shuttle ticket combination presentation, the method comprising:
receiving a query request of a user based on a round-trip air ticket, and at least acquiring expected travel days, holiday time, flight preference, departure city and arrival city contained in the query request;
determining travel day recommendation information based on the departure city and the arrival city; the travel day recommending information comprises the shortest days, the longest days and the most suitable travel days of travel in two cities;
determining holiday travel configuration information based on the expected travel days and the holiday time; the holiday trip configuration information represents a trip date generated after user requirements and national fixed holidays are recombined;
acquiring all round-trip flights and prices thereof which accord with the departure city and the arrival city, the departure date of which is within a preset time period after the current date and which accord with the trip day recommendation information or the holiday trip configuration information according to the flight preference;
sequencing the obtained round-trip flights according to the price of the round-trip flights, and sequentially screening out the round-trip flight ticket combination product information with different prices corresponding to each departure date from the current date in the preset time period;
and pushing the information of the round-trip air ticket combined product to a user for presentation.
2. The method of roundtrip ticket combination product presentation according to claim 1, wherein the step of determining holiday travel configuration information based on the expected number of travel days and the holiday time comprises:
judging whether the holiday time is a national fixed holiday or weekend;
when the holiday time is a national fixed holiday, acquiring all conforming leave-asking schemes based on the expected travel days and the holiday time, and determining first holiday travel configuration information according to the leave-asking schemes;
when the holiday time is weekend, judging the number of remaining weekends in the month after the current date, and determining second holiday travel configuration information according to the number of remaining weekends; the second holiday trip configuration information comprises trip information of the weekend, the next weekend and the weekend from the weekend to the weekend of the month.
3. The method of roundtrip ticket combination product presentation of claim 2, wherein said step of obtaining all eligible asking solutions based on the expected number of travel days and the holiday time when the holiday is a national holiday comprises:
if the expected travel days are greater than the holiday time, generating a first leave asking scheme corresponding to the numerical value of one day of the travel days eliminated by gradually increasing the difference between the travel days and the holiday time in sequence;
and if the expected travel days are not more than the holiday time, generating a second leave asking scheme corresponding to the numerical value of the holiday time gradually decreased to zero days after one day of removal.
4. The method of roundtrip ticket combination product presentation of claim 1, wherein said step of determining travel day recommendation information based on said departure city and said arrival city further comprises:
and if the data acquired based on the departure city and the arrival city are abnormal, defaulting the travel days to a preset value.
5. A system for presentation of a shuttle ticket combination product, the system comprising:
the receiving module is used for receiving a query request of a user based on a round-trip air ticket, and at least acquiring expected travel days, holiday time, flight preference, departure city and arrival city contained in the query request;
the first determining module is used for determining travel day recommending information based on the departure city and the arrival city; the travel day recommending information represents the shortest days, the longest days and the most suitable travel days of travel in two cities;
a second determining module, configured to determine holiday travel configuration information based on the expected travel days and the holiday time; the holiday trip configuration information represents a trip date generated after user requirements and national fixed holidays are recombined;
the obtaining module is used for obtaining all round-trip flights and prices thereof, wherein the round-trip flights accord with the departure city and the arrival city, the departure date is within a preset time period after the current date, and the round-trip flights accord with the travel day recommendation information or the holiday travel configuration information;
the screening module is used for sequencing the obtained round-trip flights according to the price of the round-trip flights, and sequentially screening out the round-trip ticket combined product information with different prices corresponding to each departure date from the current date in the preset time period;
and the pushing module is used for pushing the information of the round-trip air ticket combined product to a user for presentation.
6. The system for presentation of a roundtrip ticket composition according to claim 5, wherein said second determining module comprises:
the judging unit is used for judging whether the holiday time is a national fixed holiday or a weekend;
a first determining unit, configured to, when the holiday time is a national fixed holiday, obtain all compliant leave-asking schemes based on the expected travel days and the holiday time, and determine first holiday travel configuration information according to the leave-asking schemes;
a second determining unit, configured to determine, when the holiday time is a weekend, a remaining number of weekends in the current month after the current date, and determine, according to the remaining number of weekends, second holiday travel configuration information; the second holiday trip configuration information comprises trip information of the weekend, the next weekend and the weekend from the weekend to the weekend of the month.
7. The system for presentation of a roundtrip ticket composition according to claim 6, wherein said first judging unit comprises:
if the expected travel days are greater than the holiday time, generating a first leave asking scheme corresponding to the numerical value of one day of the travel days eliminated by gradually increasing the difference between the travel days and the holiday time in sequence;
and if the expected travel days are not more than the holiday time, generating a second leave asking scheme corresponding to the numerical value of the holiday time gradually decreased to zero days after one day of removal.
8. The system for presentation of a roundtrip ticket composition according to claim 5, wherein said first determining module comprises:
and if the data acquired based on the departure city and the arrival city are abnormal, defaulting the travel days to a preset value.
9. An electronic device comprising a processor, a memory, and a computer program of a computer stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the method of presentation of a shuttle ticket combination product as claimed in any one of claims 1-4.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method for presentation of a roundtrip ticket composition product according to any one of claims 1-4.
CN202010472833.3A 2020-05-29 2020-05-29 Method, system, medium, and apparatus for presentation of a roundtrip ticket combination product Pending CN111651673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010472833.3A CN111651673A (en) 2020-05-29 2020-05-29 Method, system, medium, and apparatus for presentation of a roundtrip ticket combination product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010472833.3A CN111651673A (en) 2020-05-29 2020-05-29 Method, system, medium, and apparatus for presentation of a roundtrip ticket combination product

Publications (1)

Publication Number Publication Date
CN111651673A true CN111651673A (en) 2020-09-11

Family

ID=72344534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010472833.3A Pending CN111651673A (en) 2020-05-29 2020-05-29 Method, system, medium, and apparatus for presentation of a roundtrip ticket combination product

Country Status (1)

Country Link
CN (1) CN111651673A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199591A (en) * 2020-10-10 2021-01-08 何波昌 Air ticket checking and booking method, server and medium based on social software chat window
CN113672802A (en) * 2021-07-27 2021-11-19 携程旅游网络技术(上海)有限公司 Flight recommendation method, system, electronic device and medium
CN114138148A (en) * 2021-12-01 2022-03-04 上海蒜芽信息科技有限公司 Method, system, equipment and storage medium for displaying online booking train tickets

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150142610A1 (en) * 2013-11-18 2015-05-21 Google Inc. Providing Lowest Trip Prices
CN107767116A (en) * 2017-10-12 2018-03-06 携程旅游网络技术(上海)有限公司 Trip product automation method for pushing, system, storage medium and electronic equipment
CN108470308A (en) * 2018-03-29 2018-08-31 百度在线网络技术(北京)有限公司 air travel information recommendation method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150142610A1 (en) * 2013-11-18 2015-05-21 Google Inc. Providing Lowest Trip Prices
CN107767116A (en) * 2017-10-12 2018-03-06 携程旅游网络技术(上海)有限公司 Trip product automation method for pushing, system, storage medium and electronic equipment
CN108470308A (en) * 2018-03-29 2018-08-31 百度在线网络技术(北京)有限公司 air travel information recommendation method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邱鹏;万怀宇;林友芳;刘宇;姚一;: "基于用户行为分析的在线订票***缓存优化策略研究" *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199591A (en) * 2020-10-10 2021-01-08 何波昌 Air ticket checking and booking method, server and medium based on social software chat window
CN112199591B (en) * 2020-10-10 2023-09-26 何波昌 Air ticket checking and booking method, server and medium based on social software chat window
CN113672802A (en) * 2021-07-27 2021-11-19 携程旅游网络技术(上海)有限公司 Flight recommendation method, system, electronic device and medium
CN114138148A (en) * 2021-12-01 2022-03-04 上海蒜芽信息科技有限公司 Method, system, equipment and storage medium for displaying online booking train tickets

Similar Documents

Publication Publication Date Title
CN111651673A (en) Method, system, medium, and apparatus for presentation of a roundtrip ticket combination product
US7346526B2 (en) System and method for entering flexible travel queries with layover description
US20190236728A1 (en) Method and apparatus for providing information
US8457887B2 (en) System and method for providing travel-related information associated with a calendar appointment
US20100094678A1 (en) System and method for providing delay notifications
US20180164959A1 (en) Personalized adaptive task framework for user life events
WO2018024844A1 (en) Interactive platform for the exchange of commoditized products
WO1990004834A1 (en) Transportation dispatch and delivery tracking system
CN110457288B (en) Data model construction method, device, equipment and computer readable storage medium
US20150193850A1 (en) Network-based service matching
CN110612523B (en) Associating identifiers based on paired data sets
CN111028074B (en) Method, system, server and storage medium for updating and inquiring overdue bill
US20040244005A1 (en) Automatic urgency calculator and task scheduler
CN113672802A (en) Flight recommendation method, system, electronic device and medium
CN112070580A (en) Flight-condition-based information display method, system, electronic device and medium
CN112862544A (en) Object information acquisition method and device and storage medium
CN111915340A (en) Merchant type identification method, device, equipment and storage medium
US11663556B1 (en) Item transmission portal
KR20160086243A (en) System and method for provding contents search result page
US20180137471A1 (en) Physical location aware calendar system
CN111950863B (en) Information display method and terminal equipment
CN115098558A (en) Flight data statistical method and device
US20040199429A1 (en) Schemes for rating cruises
CN113792951B (en) Logistics distribution method and device, storage medium and electronic equipment
US20180107963A1 (en) Optimizing client wait times and interactions

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