CN112766526A - Automatic packaging method for travel product scheme - Google Patents

Automatic packaging method for travel product scheme Download PDF

Info

Publication number
CN112766526A
CN112766526A CN202110119365.6A CN202110119365A CN112766526A CN 112766526 A CN112766526 A CN 112766526A CN 202110119365 A CN202110119365 A CN 202110119365A CN 112766526 A CN112766526 A CN 112766526A
Authority
CN
China
Prior art keywords
data
tickets
inquiry
time
catering
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
CN202110119365.6A
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.)
Chongqing Zhouyou Technology Co ltd
Original Assignee
Chongqing Zhouyou Technology 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 Chongqing Zhouyou Technology Co ltd filed Critical Chongqing Zhouyou Technology Co ltd
Priority to CN202110119365.6A priority Critical patent/CN112766526A/en
Publication of CN112766526A publication Critical patent/CN112766526A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06Q10/025Coordination of plural reservations, e.g. plural trip segments, transportation combined with accommodation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Software Systems (AREA)
  • Human Resources & Organizations (AREA)
  • Computational Linguistics (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the field of data processing, and particularly discloses an automatic packaging method for a travel product scheme, which comprises the following steps: firstly, contents of all resource parties including air tickets, train tickets, bus tickets, ship tickets, hotels, entrance tickets, catering reservations and the like are all concentrated in a distributed storage database in an interface mode; step two, storing the data stored in the database in a memory; step three, inquiring a corresponding interface in a concurrent mode according to the inquiry condition to obtain a travel product; and step four, when the front-end inquiry is carried out, the air ticket, the hotel, the entrance ticket, the catering and the playing data are respectively obtained in a concurrent mode, and then the data are presented to the client in a mode of showing the shortest inquiry time and the first time, and when the specific product introduction needs to be checked by the user, the data are obtained. Compared with the prior art, the automatic packaging method has the advantages that the effect is better in speed and recommendation quality, the efficiency is effectively improved, and the error rate is reduced.

Description

Automatic packaging method for travel product scheme
Technical Field
The disclosure relates to the field of data processing, in particular to an automatic packaging method for a travel product scheme.
Background
Traditional staff manually determine a proper transportation mode + accommodation + dining + playing (whether a seat or a ticket is available or not is determined by telephone or WeChat) by looking for a series of travel products (possible products include but are not limited to air tickets, train tickets, bus tickets, ship tickets, hotels, admission tickets, dining reservations and the like) in their own resource bases (possibly excel or paper documents) according to the budget and destination of the client, and the combination is provided for the client as an integral scheme, so that the packaging is inefficient and is easy to make mistakes.
Disclosure of Invention
The present invention aims to solve the problems mentioned in the background art.
In order to achieve the above object, the basic scheme of the present invention provides an automatic packaging method for a travel product scheme, which comprises the following steps:
the method comprises the following steps:
firstly, contents of all resource parties including air tickets, train tickets, bus tickets, ship tickets, hotels, entrance tickets, catering reservations and the like are all concentrated in a distributed storage database in an interface mode;
step two, storing the data stored in the database in a memory;
step three, inquiring a corresponding interface in a concurrent mode according to the inquiry condition to obtain a travel product;
and step four, when the front-end inquiry is carried out, the air ticket, the hotel, the entrance ticket, the catering and the playing data are respectively obtained in a concurrent mode, and then the data are presented to the client in a mode of showing the shortest inquiry time and the first time, and when the specific product introduction needs to be checked by the user, the data are obtained.
Further, in the first step, the expired data is deleted, and then the ticket data of at least the last half year is acquired.
Further, 20000 pieces are stored in the database in batches, and a message queue is started for the next labeling and storage in the memory.
Further, the step two includes the following steps:
firstly, acquiring 20000 pieces of data from a database every time;
step two, a thread is newly built for processing, and 20000 pieces of data are processed;
thirdly, generating an index according to the title and the label, generating index data, and directly storing the index data in a memory;
and fourthly, repeating the steps of the first step until all the data are processed.
Further, in the third step, the nearest 10 transportation means, hotel, entrance ticket and dining data are inquired according to destination, time, taste and the like, and the inquiry is carried out at the same time.
Further, in the third and fourth steps, the concrete steps are as follows:
firstly, preferentially displaying data returned from an interface;
second, the parts that have not returned are displayed in the style being loaded;
and thirdly, replacing 10 directly displayed data with the displayed data preferentially, and inquiring the memory data again if other data is needed.
The principle and the effect of the invention are as follows:
according to the invention, the system automatically searches for suitable travel products (transportation mode, accommodation, catering and playing) in the data warehouse according to the budget and the destination of the client, and the suitable travel products are combined into an integral scheme to be provided for the client (the existence of seats or tickets is automatically judged). Meanwhile, similar and similar other related traffic, accommodation, catering and playing products can be displayed to the client through the system to be selected, and instant display of budget, travel time and the like can be generated. Compared with manual packing, automatic packing has better effect on speed, recommendation quality, efficiency is effectively improved, and error rate is reduced.
Description of the drawings:
FIG. 1 is a flow chart of an automatic packaging method for a travel product scheme according to the present embodiment.
Detailed Description
The following is further detailed by the specific embodiments:
example (b):
an automatic packaging method for a travel product scheme, as shown in figure 1, comprises the following steps,
firstly, contents of all resource parties including air tickets, train tickets, bus tickets, ship tickets, hotels, entrance tickets, catering reservations and the like are all concentrated in a distributed storage database in an interface mode; deleting the expired data, acquiring the ticket data of at least the last half year, storing the ticket data into the database by 20000 pieces in batches, and starting a message queue for labeling and storing the ticket data into the memory in the next step.
Step two, storing the data stored in the database in a memory; the method comprises the following steps:
firstly, acquiring 20000 pieces of data from a database every time;
step two, a thread is newly built for processing, and 20000 pieces of data are processed;
thirdly, generating an index according to the title and the label, generating index data, and directly storing the index data in a memory;
and fourthly, repeating the steps of the first step until all the data are processed.
Step three, inquiring a corresponding interface in a concurrent mode according to the inquiry condition to obtain a travel product;
the method comprises the following specific steps:
(simultaneously) the nearest 10 pieces of vehicle data are queried according to (destination, time, preference, etc.);
(simultaneously) the closest 10 hotel data are queried (destination, time, preference, etc.);
(while proceeding) the nearest 10 ticket data is queried (destination, time, preference, etc.);
the closest 10 meal data are queried (at the same time) according to (destination, time, preference, etc.).
Step four, when the front-end inquiry is carried out, the air ticket, the hotel, the entrance ticket, the catering and the playing data are respectively obtained in a concurrent mode, and then the data are presented to the client in a mode of showing the shortest inquiry time and the first time, and when the user needs to check the specific product introduction, the data are obtained;
the method comprises the following specific steps:
firstly, preferentially displaying data returned from an interface;
second, the parts that have not returned are displayed in the style being loaded;
and thirdly, replacing 10 directly displayed data with the displayed data preferentially, and inquiring the memory data again if other data is needed.
According to the invention, the system automatically searches for suitable travel products (transportation mode, accommodation, catering and playing) in the data warehouse according to the budget and the destination of the client, and the suitable travel products are combined into an integral scheme to be provided for the client (the existence of seats or tickets is automatically judged). Meanwhile, similar and similar other related traffic, accommodation, catering and playing products can be displayed to the client through the system to be selected, and instant display of budget, travel time and the like can be generated. Compared with manual packing, automatic packing has better effect on speed, recommendation quality, efficiency is effectively improved, and error rate is reduced.
The foregoing is merely an example of the present invention and common general knowledge of known specific structures and features of the embodiments is not described herein in any greater detail. It should be noted that, for those skilled in the art, without departing from the structure of the present invention, several changes and modifications can be made, which should also be regarded as the protection scope of the present invention, and these will not affect the effect of the implementation of the present invention and the practicability of the patent. The scope of the claims of the present application shall be determined by the contents of the claims, and the description of the embodiments and the like in the specification shall be used to explain the contents of the claims.

Claims (6)

1. An automatic packaging method for a travel product scheme is characterized by comprising the following steps:
firstly, contents of all resource parties including air tickets, train tickets, bus tickets, ship tickets, hotels, entrance tickets, catering reservations and the like are all concentrated in a distributed storage database in an interface mode;
step two, storing the data stored in the database in a memory;
step three, inquiring a corresponding interface in a concurrent mode according to the inquiry condition to obtain a travel product;
and step four, when the front-end inquiry is carried out, the air ticket, the hotel, the entrance ticket, the catering and the playing data are respectively obtained in a concurrent mode, and then the data are presented to the client in a mode of showing the shortest inquiry time and the first time, and when the specific product introduction needs to be checked by the user, the data are obtained.
2. The method of claim 1, wherein the automated packaging process comprises: in the first step, the expired data is deleted, and then the ticket data of at least the last half year is acquired.
3. The method of claim 2, wherein the automated packaging process comprises: and storing the data into a database in batches of 20000 pieces at a time, and starting a message queue for next labeling and storing the data into a memory.
4. The method of claim 1, wherein the automated packaging process comprises: in the second step, the method comprises the following steps:
firstly, acquiring 20000 pieces of data from a database every time;
step two, a thread is newly built for processing, and 20000 pieces of data are processed;
thirdly, generating an index according to the title and the label, generating index data, and directly storing the index data in a memory;
and fourthly, repeating the steps of the first step until all the data are processed.
5. The method of claim 1, wherein the automated packaging process comprises: in step three, the nearest 10 transportation means, hotels, entrance tickets and catering data are inquired according to the destination, time, hobbies and the like, and the inquiry is carried out simultaneously.
6. The method of claim 1, wherein the automated packaging process comprises: in the fourth step, the concrete steps are as follows:
firstly, preferentially displaying data returned from an interface;
second, the parts that have not returned are displayed in the style being loaded;
and thirdly, replacing 10 directly displayed data with the displayed data preferentially, and inquiring the memory data again if other data is needed.
CN202110119365.6A 2021-01-28 2021-01-28 Automatic packaging method for travel product scheme Pending CN112766526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110119365.6A CN112766526A (en) 2021-01-28 2021-01-28 Automatic packaging method for travel product scheme

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110119365.6A CN112766526A (en) 2021-01-28 2021-01-28 Automatic packaging method for travel product scheme

Publications (1)

Publication Number Publication Date
CN112766526A true CN112766526A (en) 2021-05-07

Family

ID=75706449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110119365.6A Pending CN112766526A (en) 2021-01-28 2021-01-28 Automatic packaging method for travel product scheme

Country Status (1)

Country Link
CN (1) CN112766526A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468679A (en) * 2015-11-13 2016-04-06 中国人民解放军国防科学技术大学 Tourism information processing and plan providing method
CN106779824A (en) * 2016-12-01 2017-05-31 上海携程国际旅行社有限公司 The generation method of the task that the trigger price of study of tourism itinerary production is calculated
CN106775883A (en) * 2016-12-26 2017-05-31 上海携程国际旅行社有限公司 For the dynamic packaging method and packaging system of tourist resources
CN108595452A (en) * 2017-12-04 2018-09-28 杭州华量软件有限公司 A kind of intelligent tourism management system
CN109829120A (en) * 2019-03-05 2019-05-31 西安外事学院 A kind of Tourism Information Applying System
CN111831725A (en) * 2019-12-20 2020-10-27 北京艾摩瑞策科技有限公司 Synchronous storage method and device for internet tourism data on block chain
CN111915038A (en) * 2020-07-16 2020-11-10 中国民航信息网络股份有限公司 Airline ticket and hotel packaging recommendation method based on airline driver frequent traveler and related device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468679A (en) * 2015-11-13 2016-04-06 中国人民解放军国防科学技术大学 Tourism information processing and plan providing method
CN106779824A (en) * 2016-12-01 2017-05-31 上海携程国际旅行社有限公司 The generation method of the task that the trigger price of study of tourism itinerary production is calculated
CN106775883A (en) * 2016-12-26 2017-05-31 上海携程国际旅行社有限公司 For the dynamic packaging method and packaging system of tourist resources
CN108595452A (en) * 2017-12-04 2018-09-28 杭州华量软件有限公司 A kind of intelligent tourism management system
CN109829120A (en) * 2019-03-05 2019-05-31 西安外事学院 A kind of Tourism Information Applying System
CN111831725A (en) * 2019-12-20 2020-10-27 北京艾摩瑞策科技有限公司 Synchronous storage method and device for internet tourism data on block chain
CN111915038A (en) * 2020-07-16 2020-11-10 中国民航信息网络股份有限公司 Airline ticket and hotel packaging recommendation method based on airline driver frequent traveler and related device

Similar Documents

Publication Publication Date Title
US10387418B2 (en) Sparse tree data structure for selective retrieval of database records
US20240242164A1 (en) Logistical Management System
CN109196547A (en) System and method for recommendation service position
CN106775883B (en) Dynamic packaging method and packaging system for tourism resources
US8311859B2 (en) Method and system for determining an optimal low fare for a trip
CN110163501A (en) A kind of system and method for automatic establishment urban track traffic driver's cross-channel table
Marques et al. A branch-cut-and-price approach for the single-trip and multi-trip two-echelon vehicle routing problem with time windows
CN110648096A (en) Distribution line generation method and device
CN106777312A (en) A kind of inexpensive flight search system and method
CN111144835B (en) Scheduling method, scheduling system, terminal and storage medium
US20190043015A1 (en) Shipping assistance device, shipping assistance method, and shipping assistance system
US7340403B1 (en) Method, system, and computer-readable medium for generating a diverse set of travel options
JP2001101100A (en) Individual information managing device
CN112766526A (en) Automatic packaging method for travel product scheme
CN106920011A (en) A kind of intelligent stroke planning method
JP2003530644A (en) Electronic catalog
CN109086909A (en) A kind of general ticketing method that the scrappy vacant seat of delivery vehicle is fully utilized
CN111489214A (en) Order allocation method, condition setting method and device and electronic equipment
JP5450877B1 (en) Transportation system
WO2009033167A1 (en) Alternative route monitoring
CN108846071A (en) A kind of robot information query method and robot applied to airport
KR20220130633A (en) Map information processing method and device, equipment and storage medium
Phillipson et al. Immediate Parcel to Vehicle Assignment for Cross Docking in City Logistics: A Dynamic Assignment Vehicle Routing Problem.
CN116432924A (en) Shopping guide scheduling method and device
CN110751522A (en) Aviation sales information processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210507

RJ01 Rejection of invention patent application after publication