[go: up one dir, main page]

CN104268281B - Optimize the search system and method for place keyword when subscribing ticketing service - Google Patents

Optimize the search system and method for place keyword when subscribing ticketing service Download PDF

Info

Publication number
CN104268281B
CN104268281B CN201410554072.0A CN201410554072A CN104268281B CN 104268281 B CN104268281 B CN 104268281B CN 201410554072 A CN201410554072 A CN 201410554072A CN 104268281 B CN104268281 B CN 104268281B
Authority
CN
China
Prior art keywords
ticketing service
place
keyword
target location
search
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.)
Active
Application number
CN201410554072.0A
Other languages
Chinese (zh)
Other versions
CN104268281A (en
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
Shanghai Ctrip Business 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 Shanghai Ctrip Business Co Ltd filed Critical Shanghai Ctrip Business Co Ltd
Priority to CN201410554072.0A priority Critical patent/CN104268281B/en
Publication of CN104268281A publication Critical patent/CN104268281A/en
Application granted granted Critical
Publication of CN104268281B publication Critical patent/CN104268281B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/2453Query optimisation
    • G06F16/24534Query rewriting; Transformation
    • G06F16/24537Query rewriting; Transformation of operators

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of when subscribing ticketing service optimizes the search system and method for place keyword, and method includes:S1, establish ticketing service location information library, the ticket information for storing all ticketing service places, ticket information includes the title in ticketing service place with the longitude and latitude in ticketing service place;S2, receive keyword input by user, and extract the keyword of characterization target location;S3, judge the ticket information that target location whether is stored in ticketing service location information library, if so, execute S6, if it is not, then executing S4;S4, obtain the longitude and latitude of target location, and calculate ticketing service place at a distance from target location, choose with the nearest ticketing service place of target location as place to be searched;S5, using place to be searched as keyword carry out ticketing service search;S6, use keyword input by user carry out ticketing service search.The present invention can carry out ticketing service search based on the keyword after optimization, improve the search experience of user, increase search income.

Description

Optimize the search system and method for place keyword when subscribing ticketing service
Technical field
The present invention relates to a kind of ticketing service search fields, optimizing place keyword when subscribing ticketing service more particularly to a kind of Search system and method.
Background technology
In the prior art when carrying out the search and reservation of the ticketing services such as air ticket, train ticket and bus ticket, since user cannot All understanding which city has corresponding ticketing service, may be without search result when causing to search for, this can give user to subscribe ticketing service Very big inconvenience is brought, by taking plane ticket booking as an example, due to user and which specific city organic field is not known about, part searches can be caused Concrete outcome can not be searched, such as:When user searches for the air ticket in " Beijing to Suzhou ", since organic field does not lead to nothing in Suzhou Search result.Therefore, in traditional ticketing service search process, it is most likely that lead to no tool because user does not know about ticket information The search result of body, this can subscribe ticketing service to user and bring great inconvenience.
Invention content
The technical problem to be solved by the present invention is in order to overcome the prior art in ticketing service search process due to user not It solves ticket information and leads to no search result, subscribe the defect that ticketing service brings great inconvenience to user, a kind of subscribing is provided Optimize the search system and method for place keyword when ticketing service.
The present invention is to solve above-mentioned technical problem by following technical proposals:
The present invention provides a kind of when subscribing ticketing service optimizes the searching method of place keyword, and feature is, including Following steps:
S1, establish a ticketing service location information library, ticketing service location information library is used to store the ticketing service in all ticketing service places Information, the ticket information include the title in ticketing service place and the longitude and latitude in ticketing service place;
S2, receive input by user for searching for the keyword of ticketing service, and therefrom extract the pass for characterizing target location Keyword, the target location is for characterizing a departure place or a destination;
S3, judge whether be stored with the ticket information of the target location in ticketing service location information library, if so, holding Row step S6, if it is not, thening follow the steps S4
S4, the longitude and latitude inquiring and obtain the target location, and according to ticketing service location information library described in calculation of longitude & latitude It is chosen and the target location from ticketing service location information library at a distance from the target location in the ticketing service place of middle storage Nearest ticketing service place is as place to be searched;
S5, using the place to be searched as keyword carry out ticketing service search, then terminate flow;
S6, using it is input by user for characterize target location keyword carry out ticketing service search, then terminate flow.
Preferably, the ticketing service is air ticket, train ticket or bus ticket.
Preferably, the ticket information further includes the affiliated city name in the ticketing service place.
Preferably, the affiliated city in the ticketing service place stored in ticketing service location information library is as unit of city or county.
It is special it is an object of the invention to additionally provide a kind of search system optimizing place keyword when subscribing ticketing service It puts and is, including:
One ticketing service location information library, the ticket information for storing all ticketing service places, the ticket information includes ticketing service The title in place and the longitude and latitude in ticketing service place;
One keyword receiving module, for receiving the keyword input by user for searching for ticketing service, and therefrom extraction is used In the keyword of characterization target location, the target location is for characterizing a departure place or a destination;
One judgment module, the ticketing service letter for judging whether to be stored with the target location in ticketing service location information library Breath a, if so, search module is called to carry out ticketing service search using the keyword input by user for characterizing target location;If It is no, then call a keyword optimization module;
The keyword optimization module is used to inquire and obtain the longitude and latitude of the target location, and according to calculation of longitude & latitude The ticketing service place stored in ticketing service location information library is at a distance from the target location, from ticketing service location information library It chooses with the nearest ticketing service place of the target location as place to be searched, then described search module is called to be waited for using described Search in carries out ticketing service search as keyword.
Preferably, the ticketing service is air ticket, train ticket or bus ticket.
Preferably, the ticket information further includes the affiliated city name in the ticketing service place.
Preferably, the affiliated city in the ticketing service place stored in ticketing service location information library is as unit of city or county.
The positive effect of the present invention is that:The present invention solve when ticketing service is searched for due to user do not know about it is each The specific ticket information of point and the problem of lead to not search concrete outcome, even if ensureing that place keyword input by user does not have There is corresponding ticketing service that can also be optimized to place keyword, and scanned for based on the keyword after optimization, and search is tied Fruit recommends user, to improve the search experience of user, has provided great convenience to the user, while can also increase search Income.
Description of the drawings
Fig. 1 is the module signal of the search system for optimizing place keyword when subscribing ticketing service of one embodiment of the invention Figure.
Fig. 2 is the flow chart of the searching method for optimizing place keyword when subscribing ticketing service of one embodiment of the invention.
Specific implementation mode
It is further illustrated the present invention below by the mode of embodiment, but does not therefore limit the present invention to the reality It applies among a range.
As shown in Figure 1, the search system for optimizing place keyword when subscribing ticketing service of the present invention includes a ticketing service place Information bank 1, a keyword receiving module 2, a judgment module 3, a search module 4 and a keyword optimization module 5.
In the present embodiment, search system of the invention is directed to plane ticket booking process, wherein the ticketing service place letter Cease ticket information of the library 1 for the pre-stored all ticketing service places in the whole world, the ticket information include airport title, airport it is affiliated The longitude and latitude in city (as unit of city) and airport;The keyword receiving module 2 then receives input by user for searching for The keyword of ticketing service, and the keyword for characterizing target location is therefrom extracted, the target location is set out for characterizing one Ground or a destination, such as:When user inputs " air ticket in Beijing to Suzhou " progress air ticket search, the keyword receiving module 2 can therefrom extract the keyword of " Beijing ", " Suzhou " as characterization target location.
The judgment module 3 then judges whether to store the affiliated city of organic field in ticketing service location information library 1 for " north The ticket information in capital " and " Suzhou ", through inquiry, Beijing organic field and Suzhou does not have airport, then at this point, " Beijing " can be made To characterize the keyword of starting point when search air ticket, and " Suzhou " then cannot function as the keyword of characterization destination, at this point, described Judgment module 3 can call the keyword optimization module 5.
The longitude and latitude in the target location (i.e. Suzhou) can be inquired and be obtained to the keyword optimization module 5, and according to warp Latitude calculates the distance between the ticketing service place stored in ticketing service location information library 1 and described target location, is computed, with Airport is put in Suzhou apart from nearest airport for Wuxi City is large, at this point, the keyword optimization module 5 will be to characterization destination Keyword optimizes, i.e., is chosen and nearest airport (the i.e. Wuxi City of the target location from ticketing service location information library 1 It is large to put airport) it is used as place to be searched, the large keyword for putting airport instead of Suzhou as new characterization destination of Wuxi City is used in combination, Then it calls described search module 4 to carry out air ticket search using the place (i.e. Wuxi City is large puts airport) to be searched, goes out at this time Hair ground and destination is respectively Beijing and Wuxi City is large puts airport, then recommends user by air ticket search result.
Certainly, if the judgment module 3 judges both to be stored with for characterizing departure place in ticketing service location information library 1 Target location ticket information, and be stored with the ticket information of the target location for characterizing destination, then show either Departure place or destination all organic fields directly invoke described search module 4 and characterize target using user input by user at this time The keyword in place (departure place and destination) carries out air ticket search, and air ticket search result is recommended user.
In the present invention after search, search process is also recorded as daily record and (wherein includes click, the purchase etc. of user Behavior), and it is uploaded to log server.The search system of the present invention can also be directed to train ticket, bus ticket and tourism The reservation of sight spot admission ticket carries out similar processing.
As shown in Fig. 2, the present invention optimizes place key when subscribing ticketing service using what the search system of the present embodiment was realized The searching method of word includes the following steps:
Step 101 establishes a ticketing service location information library, and ticketing service location information library is for storing all ticketing services in the whole world The ticket information of point, the ticket information includes the title in ticketing service place, the affiliated city in ticketing service place and ticketing service place Longitude and latitude.
Step 102 receives the keyword input by user for searching for ticketing service, and therefrom extracts for characterizing target location Keyword, the target location is for characterizing a departure place or a destination.
Step 103 judges the ticket information that the target location whether is stored in ticketing service location information library, if It is to then follow the steps 106, if it is not, thening follow the steps 104.
Step 104, the longitude and latitude inquired and obtain the target location, and believed according to ticketing service place described in calculation of longitude & latitude It is chosen and the target from ticketing service location information library at a distance from the target location in the ticketing service place stored in breath library The nearest ticketing service place in place is as place to be searched.
Step 105 carries out ticketing service search (i.e. air ticket is searched for) using the place to be searched as keyword, then terminates Flow.
Step 106 carries out ticketing service search using the keyword input by user for characterizing target location, then terminates to flow Journey.
Although specific embodiments of the present invention have been described above, it will be appreciated by those of skill in the art that these It is merely illustrative of, protection scope of the present invention is defined by the appended claims.Those skilled in the art is not carrying on the back Under the premise of from the principle and substance of the present invention, many changes and modifications may be made, but these are changed Protection scope of the present invention is each fallen with modification.

Claims (8)

1. a kind of searching method optimizing place keyword when subscribing ticketing service, which is characterized in that include the following steps:
S1, establish a ticketing service location information library, ticketing service location information library is used to store the ticket information in all ticketing service places, The ticket information includes the title in ticketing service place and the longitude and latitude in ticketing service place;
S2, receive input by user for searching for the keyword of ticketing service, and therefrom extract the keyword for characterizing target location, The target location is for characterizing a departure place or a destination;
S3, judge whether be stored with the ticket information of the target location in ticketing service location information library, if so, executing step Rapid S6, if it is not, thening follow the steps S4
S4, the longitude and latitude inquiring and obtain the target location, and stored according in ticketing service location information library described in calculation of longitude & latitude Ticketing service place at a distance from the target location, choose from ticketing service location information library nearest with the target location Ticketing service place is as place to be searched;
S5, using the place to be searched as keyword carry out ticketing service search, then terminate flow;
S6, using it is input by user for characterize target location keyword carry out ticketing service search, then terminate flow.
2. searching method as described in claim 1, which is characterized in that the ticketing service is air ticket, train ticket or bus ticket.
3. searching method as described in claim 1, which is characterized in that the ticket information further includes the institute in the ticketing service place Belong to city name.
4. searching method as claimed in claim 3, which is characterized in that the ticketing service place stored in ticketing service location information library Affiliated city as unit of city or county.
5. a kind of search system optimizing place keyword when subscribing ticketing service, which is characterized in that including:
One ticketing service location information library, the ticket information for storing all ticketing service places, the ticket information include ticketing service place Title and ticketing service place longitude and latitude;
One keyword receiving module, for receiving the keyword input by user for searching for ticketing service, and therefrom extraction is used for table The keyword of target location is levied, the target location is for characterizing a departure place or a destination;
One judgment module, the ticket information for judging whether to be stored with the target location in ticketing service location information library, If so, a search module is called to carry out ticketing service search using the keyword input by user for characterizing target location;If it is not, Then call a keyword optimization module;
The keyword optimization module is used to inquire and obtain the longitude and latitude of the target location, and according to described in calculation of longitude & latitude It is chosen from ticketing service location information library at a distance from the target location in the ticketing service place stored in ticketing service location information library With the target location then nearest ticketing service place calls described search module to use described to be searched as place to be searched Place carries out ticketing service search as keyword.
6. search system as claimed in claim 5, which is characterized in that the ticketing service is air ticket, train ticket or bus ticket.
7. search system as claimed in claim 5, which is characterized in that the ticket information further includes the institute in the ticketing service place Belong to city name.
8. search system as claimed in claim 7, which is characterized in that the ticketing service place stored in ticketing service location information library Affiliated city as unit of city or county.
CN201410554072.0A 2014-10-17 2014-10-17 Optimize the search system and method for place keyword when subscribing ticketing service Active CN104268281B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410554072.0A CN104268281B (en) 2014-10-17 2014-10-17 Optimize the search system and method for place keyword when subscribing ticketing service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410554072.0A CN104268281B (en) 2014-10-17 2014-10-17 Optimize the search system and method for place keyword when subscribing ticketing service

Publications (2)

Publication Number Publication Date
CN104268281A CN104268281A (en) 2015-01-07
CN104268281B true CN104268281B (en) 2018-10-16

Family

ID=52159802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410554072.0A Active CN104268281B (en) 2014-10-17 2014-10-17 Optimize the search system and method for place keyword when subscribing ticketing service

Country Status (1)

Country Link
CN (1) CN104268281B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104715050B (en) * 2015-03-27 2018-01-12 上海携程商务有限公司 route recommendation method and system
KR101811274B1 (en) * 2015-08-21 2018-01-25 (주) 플라이트그래프 System and method for follow air ticket searching
CN106802944A (en) * 2017-01-06 2017-06-06 中国东方航空股份有限公司 A kind of flight searching system and method
CN107977458A (en) * 2017-12-19 2018-05-01 深圳马可孛罗科技有限公司 A kind of Airport information filter method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10134108A (en) * 1996-11-01 1998-05-22 Nec Corp Railroad transfer navigation system
CN1904927A (en) * 2005-07-27 2007-01-31 李光耀 Booking System and Method for Determining Destination Airport by Telephone Number
CN103729353A (en) * 2012-10-10 2014-04-16 阿里巴巴集团控股有限公司 Method for searching for ticket business information and servers

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567389B (en) * 2010-12-17 2013-11-27 日电(中国)有限公司 Combined traffic network forming method and equipment as well as path searching method and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10134108A (en) * 1996-11-01 1998-05-22 Nec Corp Railroad transfer navigation system
CN1904927A (en) * 2005-07-27 2007-01-31 李光耀 Booking System and Method for Determining Destination Airport by Telephone Number
CN103729353A (en) * 2012-10-10 2014-04-16 阿里巴巴集团控股有限公司 Method for searching for ticket business information and servers

Also Published As

Publication number Publication date
CN104268281A (en) 2015-01-07

Similar Documents

Publication Publication Date Title
US9794766B2 (en) Identifying an entity associated with wireless network access point
CN105677793B (en) The recommended method and device of the foundation of locality database and candidate pick-up point
CN104123398B (en) A kind of information-pushing method and device
CN104102719B (en) The method for pushing and device of a kind of trace information
CN103885983B (en) Determination method, optimization method and the device of a kind of travelling route
CN104298777B (en) The method and device that a kind of travelling route search is recommended
KR102187642B1 (en) Tour course planning method, planning server and storage medium
CN104143005B (en) A kind of related search system and method
CN104268281B (en) Optimize the search system and method for place keyword when subscribing ticketing service
EP4350651A3 (en) Method and system for providing financial transaction using empty card
CN103020098A (en) Navigation service searching method with speech recognition function
CN108287843A (en) A kind of method and apparatus and navigation equipment of interest point information retrieval
CN107657048A (en) user identification method and device
CN106033416A (en) A string processing method and device
CN105917361A (en) Dynamically updating a feature database that contains features corresponding to a known target object
CN113302897B (en) User information management method, identity recognition method and device
CN103218375B (en) A kind of POI compensation process and device
CN101924996A (en) Topic grouping method and system based on geographic position information
CN105808609A (en) Discrimination method and equipment of point-of-information data redundancy
CN109084795B (en) Method and device for searching service facilities based on map service
JP5858400B2 (en) Navigation device
CN107168991A (en) A kind of search result methods of exhibiting and device
CN108446280A (en) Data-updating method and device
CN116823535B (en) Journey planning and intelligent navigation system based on multi-mode large model
CN104965859B (en) A kind of method and apparatus for obtaining the candidate site information in map

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160205

Address after: 200335 Shanghai city Changning District Admiralty Road No. 968 Building No. 16 10 floor

Applicant after: SHANGHAI XIECHENG BUSINESS CO., LTD.

Address before: 200335 Shanghai City, Changning District Fuquan Road No. 99, Ctrip network technology building

Applicant before: Ctrip computer technology (Shanghai) Co., Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20181221

Address after: No. 99 Fuquan Road, Changning District, Shanghai, 2003

Patentee after: Ctrip Travel Network Technology (Shanghai) Co., Ltd.

Address before: 10th Floor, Building 16, 968 Jinzhong Road, Changning District, Shanghai, 2003

Patentee before: SHANGHAI XIECHENG BUSINESS CO., LTD.

TR01 Transfer of patent right