CN105574597A - Realization method and system of online ticket booking - Google Patents

Realization method and system of online ticket booking Download PDF

Info

Publication number
CN105574597A
CN105574597A CN201510994388.6A CN201510994388A CN105574597A CN 105574597 A CN105574597 A CN 105574597A CN 201510994388 A CN201510994388 A CN 201510994388A CN 105574597 A CN105574597 A CN 105574597A
Authority
CN
China
Prior art keywords
ticket
transfer stroke
transfer
stroke
total route
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
CN201510994388.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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510994388.6A priority Critical patent/CN105574597A/en
Publication of CN105574597A publication Critical patent/CN105574597A/en
Pending legal-status Critical Current

Links

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
    • 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

Abstract

The invention relates to the technical field of Internet, discloses a realization method and a system of online ticket booking, and solves the technical problem of low efficiency of online ticket purchase in the prior art. The method includes: a travelling ticket purchase request of a user is obtained; the travelling ticket purchase request is analyzed, travelling information is obtained, and the travelling information comprises a departure station, a destination station, and a travelling time; according to the travelling information, optional transfer travels from the departure station to the destination station via a transfer station are determined; a preferred transfer travel whose transfer travel total journey duration satisfies a preset condition and which is provided with remaining tickets is screened from the optional transfer travels, and the transfer travel total journey duration refers to the total time required from the departure station to the destination station via the transfer station; and tickets are booked according to the preferred transfer travel. According to the method and the system, the technical effect of improving the efficiency of online ticket purchase is achieved.

Description

A kind of implementation method of network ticket booking and system
Technical field
The present invention relates to Internet technical field, particularly relate to implementation method and the system of the ticket booking of a kind of network.
Background technology
Along with the development of science and technology, electronic technology have also been obtained development at full speed, and the kind of electronic product also gets more and more, and people have also enjoyed the various facilities that development in science and technology brings.Present people can pass through various types of mobile terminal, enjoy the comfortable life along with development in science and technology brings.Such as, the mobile terminal such as smart mobile phone, panel computer has become an important ingredient in people's life, user can use the mobile terminal such as smart mobile phone, panel computer to listen to the music, play games etc., to live the pressure brought to alleviate modern fast pace.
Under normal circumstances, electronic equipment all possesses network access functions, just network booking can be realized based on this network access functions, when realizing network booking, user can in the booking page input starting station of network ticket-booking system, point of destination and departure time, then based on this, filter out the desired ticket information bought of user, then in some cases, may not meet the ticket that user requires, in this case, user needs again to plan new traffic path, and again whether there is ticket by the server lookup of booking website based on new traffic path, thus cause there is network booking longer technical matters consuming time, also cause booking efficiency low, and when stroke ticket is comparatively nervous, probably when user plans new traffic path, the stroke ticket corresponding to these new traffic paths is also robbed light, so also cause the success ratio of network booking low.
Summary of the invention
The implementation method that the embodiment of the present invention provides a kind of network to book tickets and system, to solve the inefficient technical matters of network booking in prior art.
First aspect, the implementation method that the embodiment of the present invention provides a kind of network to book tickets, comprises
Obtain the trip ticket purchasing request of user;
Carry out parsing to described trip ticket purchasing request and obtain trip travel information, described trip travel information comprises starting station, point of destination and travel time;
According to described trip travel information, determine the optional transfer stroke being arrived at described point of destination from described starting station by terminal;
From described optional transfer stroke, filter out transfer stroke total route duration meet pre-conditioned and currently have the preferred transfer stroke can purchasing remaining ticket, described transfer stroke total route duration is arrive at the described point of destination altogether required time from described starting station through terminal;
Book tickets for described preferred transfer stroke.
Optionally, described transfer stroke total route duration that filters out from described optional transfer stroke meets pre-conditioned transfer stroke and comprises:
The transfer stroke that total route duration is less than predetermined threshold value is filtered out from described optional transfer stroke; Or
When described optional transfer stroke comprises multiple transfer stroke, to described multiple transfer stroke according to described total route duration sequence, and filter out front M relatively short transfer stroke of described total route duration.
Optionally, described predetermined threshold value is determined with reference to total route duration of the through stroke from described starting station to point of destination.
Optionally, described filtering out from optional transfer stroke currently has the preferred transfer stroke can purchasing remaining ticket to comprise:
By the current remaining ticket situation of the ticket server inquiry of carrier, thus filter out the transfer stroke that the display of the current ticket server in described carrier there is not ticket.
Optionally, when obtaining described trip ticket purchasing request, the not yet open booking of stroke ticket corresponding to the travel time in described trip ticket purchasing request, described not yet open booking refers to that the carrier belonging to described stroke ticket does not also start to provide stroke ticket corresponding to this travel time.
Optionally, described filtering out from optional transfer stroke currently has the preferred transfer stroke can purchasing remaining ticket to comprise:
By client or the whether open booking of third-party server monitoring stroke ticket corresponding to described travel time;
When monitoring open booking, the ticket server of carrier is then regularly refreshed by described client or described third-party server, inquire about up-to-date current remaining ticket situation, filter out the transfer stroke that the display of the current ticket server in described carrier there is not ticket accordingly.
Optionally, described transfer stroke total route duration that filters out from described optional transfer stroke meets pre-conditioned and currently has the preferred transfer stroke can purchasing remaining ticket, comprising:
Repeatedly inquire about real-time current remaining ticket situation by the ticket server of carrier according to preset interval time, if inquire a certain transfer stroke total route duration to meet the pre-conditioned remaining ticket of transfer stroke existence, it can be used as preferred transfer stroke.
Optionally, the described ticket server by carrier inquires about real-time current remaining ticket situation repeatedly according to preset interval time, if inquire a certain transfer stroke total route duration to meet the pre-conditioned remaining ticket of transfer stroke existence, it can be used as preferred transfer stroke, comprising:
From described optional transfer stroke, filter out transfer stroke total route duration meet pre-conditioned transfer stroke;
If inquire about described transfer stroke total route duration by the ticket server of described carrier to meet pre-conditioned transfer stroke and do not have to purchase remaining ticket, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire described transfer stroke total route duration meet pre-conditioned transfer stroke current have can purchase remaining ticket, then described transfer stroke total route duration met pre-conditioned and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
Optionally, the transfer booking condition that described user is arranged is comprised in described trip ticket purchasing request, the described ticket server by carrier constantly inquires about real-time current remaining ticket situation according to preset interval time, if inquire a certain transfer stroke total route duration to meet the remaining ticket of pre-conditioned transfer stroke existence, it can be used as preferred transfer stroke, comprising:
From described optional transfer stroke, filter out described transfer stroke total route duration meet pre-conditioned transfer stroke;
The transfer stroke filtering out pre-conditioned transfer stroke and meet described transfer booking condition is met from described transfer stroke total route duration;
If inquire about described transfer stroke total route duration by the ticket server of described carrier to meet the pre-conditioned and transfer stroke meeting described transfer booking condition and do not have to purchase remaining ticket, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire described transfer stroke total route duration meet the transfer stroke of pre-conditioned and described transfer booking condition current have can purchase remaining ticket, then described transfer stroke total route duration met pre-conditioned and described transfer booking condition and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
Optionally, the transfer booking condition that described user is arranged is comprised in described trip ticket purchasing request, the described ticket server by carrier constantly inquires about real-time current remaining ticket situation according to preset interval time, if inquire a certain transfer stroke total route duration to meet the remaining ticket of pre-conditioned transfer stroke existence, it can be used as preferred transfer stroke, comprising:
From described optional transfer stroke, filter out the transfer stroke meeting described transfer booking condition, comprise described transfer stroke total route duration in described transfer booking condition and meet pre-conditioned;
If the transfer stroke being met described transfer booking condition by the ticket server inquiry of described carrier does not have to purchase remaining ticket, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire the described transfer stroke meeting described transfer booking condition current have can purchase remaining ticket, then meet transfer booking condition using described and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
Optionally, the current remaining ticket situation of the described ticket server real-time query by carrier, comprising:
By the described current remaining ticket situation of the ticket server inquiry of at least Liang Ge carrier.
Optionally, described to book tickets for preferred transfer stroke before also comprise:
Described transfer stroke total route duration met pre-conditioned and currently have the preferred transfer stroke can purchasing remaining ticket to recommend to user;
Receive the instruction that user carries out for preferred transfer stroke booking tickets.
Optionally, also comprised before booking tickets for preferred transfer stroke:
Receive permission that user pre-sets to buy transfer stroke and to be correlated with the transfer booking condition of stroke ticket;
The preferred transfer stroke meeting above-mentioned transfer booking condition is inquired in described preferred transfer stroke.
Optionally, at least one when described transfer booking condition comprises Preset Time condition, predeterminable range condition, stroke ticket price terms, total route in elongate member.
Optionally, described according to described trip travel information, determine the optional transfer stroke being arrived at described point of destination from described starting station by terminal, comprising:
When based on described trip ticket purchasing request, when cannot buy the ticket of corresponding described trip travel information, or when the stroke ticket of corresponding described trip travel information can not meet the requirement of described user, obtain the corresponding transfer stroke being carried out transfer by terminal according to described trip travel information.
Optionally, described trip ticket purchasing request is the trip ticket purchasing request of booking train ticket, and the current remaining ticket situation of the described ticket server real-time query by carrier, comprising: by current remaining ticket situation described in the ticket server real-time query of railway carrier; And/or
Described trip ticket purchasing request is the trip ticket purchasing request of booking plane ticket, and the current remaining ticket situation of the described ticket server real-time query by carrier, comprising: by current remaining ticket situation described in the ticket server real-time query of Airline Company.
Optionally, described according to described trip travel information, determine the optional transfer stroke being arrived at described point of destination from described starting station by terminal, comprising:
Determine at least one website carrying out transfer between described starting station and described point of destination;
Go out to determine the website of website grade higher than predetermined level from least one website described;
Described optional transfer stroke is determined higher than the website of predetermined level based on described website grade.
Second aspect, what the embodiment of the present invention provided a kind of network to book tickets realizes system, comprises
Obtain module, for obtaining the trip ticket purchasing request of user;
Parsing module, obtain trip travel information for carrying out parsing to described trip ticket purchasing request, described trip travel information comprises starting station, point of destination and travel time;
Determination module, for according to described trip travel information, determines the optional transfer stroke being arrived at described point of destination from described starting station by terminal;
Screening module, meet pre-conditioned for filtering out transfer stroke total route duration from described optional transfer stroke and currently have the preferred transfer stroke can purchasing remaining ticket, described transfer stroke total route duration is arrive at the described point of destination altogether required time from described starting station through terminal;
Ticket booking module, for booking tickets for described preferred transfer stroke.
Optionally, described screening module, for:
The transfer stroke that total route duration is less than predetermined threshold value is filtered out from described optional transfer stroke; Or
When described optional transfer stroke comprises multiple transfer stroke, to described multiple transfer stroke according to described total route duration sequence, and filter out front M relatively short transfer stroke of described total route duration.
Optionally, described predetermined threshold value is determined with reference to total route duration of the through stroke from described starting station to point of destination.
Optionally, described screening module, for inquiring about current remaining ticket situation by the ticket server of carrier, thus filters out the transfer stroke that the display of the current ticket server in described carrier there is not ticket.
Optionally, when obtaining described trip ticket purchasing request, the not yet open booking of stroke ticket corresponding to the travel time in described trip ticket purchasing request, described not yet open booking refers to that the carrier belonging to described stroke ticket does not also start to provide stroke ticket corresponding to this travel time.
Optionally, described screening module, comprising:
Monitoring unit, for by client or the whether open booking of third-party server monitoring stroke ticket corresponding to described travel time;
First query unit, for opening booking when monitoring, the ticket server of carrier is then regularly refreshed by described client or described third-party server, inquire about up-to-date current remaining ticket situation, filter out the transfer stroke that the display of the current ticket server in described carrier there is not ticket accordingly.
Optionally, described screening module, repeatedly inquire about real-time current remaining ticket situation for the ticket server by carrier according to preset interval time, if inquire a certain transfer stroke total route duration to meet the pre-conditioned remaining ticket of transfer stroke existence, it can be used as preferred transfer stroke.
Optionally, described screening module, comprising:
First screening unit, meets pre-conditioned transfer stroke for filtering out transfer stroke total route duration from described optional transfer stroke;
Second query unit, if do not have to purchase remaining ticket for meeting pre-conditioned transfer stroke by ticket server inquiry transfer stroke total route duration of described carrier, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire described transfer stroke total route duration meet pre-conditioned transfer stroke current have can purchase remaining ticket, then described transfer stroke total route duration met pre-conditioned and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
Optionally, comprise the transfer booking condition that described user is arranged in described trip ticket purchasing request, described screening module, comprising:
Second screening unit, meets described transfer stroke total route duration meet pre-conditioned transfer stroke for filtering out from described optional transfer stroke;
Three screening unit, for meeting from described transfer stroke total route duration the transfer stroke filtering out in pre-conditioned transfer stroke and meet described transfer booking condition;
3rd query unit, if meet the pre-conditioned and transfer stroke meeting described transfer booking condition do not have to purchase remaining ticket for being inquired about described transfer stroke total route duration by the ticket server of described carrier, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire described transfer stroke total route duration meet the transfer stroke of pre-conditioned and described transfer booking condition current have can purchase remaining ticket, then described transfer stroke total route duration met pre-conditioned and described transfer booking condition and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
Optionally, comprise the transfer booking condition that described user is arranged in described trip ticket purchasing request, described screening module, comprising:
4th screening unit, for filtering out the transfer stroke meeting described transfer booking condition from described optional transfer stroke, comprising described transfer stroke total route duration and meeting pre-conditioned in described transfer booking condition;
4th query unit, if do not have to purchase remaining ticket for the transfer stroke being met described transfer booking condition by the ticket server inquiry of described carrier, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire the described transfer stroke meeting described transfer booking condition current have can purchase remaining ticket, then meet transfer booking condition using described and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
Optionally, described screening module, the described current remaining ticket situation of the ticket server inquiry for passing through at least Liang Ge carrier.
Optionally, described system also comprises:
Recommending module, for meeting described transfer stroke total route duration pre-conditioned and currently having the preferred transfer stroke can purchasing remaining ticket to recommend to user;
First receiver module, for receiving the instruction that user carries out for preferred transfer stroke booking tickets.
Optionally, described system also comprises:
Second receiver module, buys transfer stroke to be correlated with the transfer booking condition of stroke ticket for receiving permission that user pre-sets;
Enquiry module, for inquiring the preferred transfer stroke meeting above-mentioned transfer booking condition in described preferred transfer stroke.
Optionally, at least one when described transfer booking condition comprises Preset Time condition, predeterminable range condition, stroke ticket price terms, total route in elongate member.
Optionally, described determination module, for working as based on described trip ticket purchasing request, when cannot buy the ticket of corresponding described trip travel information, or when the ticket of corresponding described trip travel information can not meet the requirement of described user, obtain the corresponding transfer stroke being carried out transfer by terminal according to described trip travel information.
Optionally, described trip ticket purchasing request is the trip ticket purchasing request of booking train ticket, and the current remaining ticket situation of the described ticket server real-time query by carrier, comprising: by current remaining ticket situation described in the ticket server real-time query of railway carrier; And/or
Described trip ticket purchasing request is the trip ticket purchasing request of booking plane ticket, and the current remaining ticket situation of the described ticket server real-time query by carrier, comprising: by current remaining ticket situation described in the ticket server real-time query of Airline Company.
Optionally, described determination module, comprising:
First determining unit, for determining at least one website carrying out transfer between described starting station and described point of destination;
Second determining unit, for going out to determine the website of website grade higher than predetermined level from least one website described;
3rd determining unit, for determining described optional transfer stroke based on described website grade higher than the website of predetermined level.
The technical scheme provided in the embodiment of the present application, at least has following technique effect or advantage:
Due in embodiments of the present invention, after the trip ticket purchasing request obtaining user, parsing can be carried out to trip ticket purchasing request and obtain trip travel information, trip travel information comprises starting station, point of destination and travel time, then can determine arrive at the optional transfer stroke of point of destination from starting station by terminal and from optional transfer stroke, filter out transfer stroke total route duration meet pre-conditioned according to trip travel information, and currently have the preferred transfer stroke can purchasing remaining ticket, wherein, the total route duration of transfer stroke is arrive at the point of destination altogether required time from starting station through terminal, and then can book tickets based on preferred transfer stroke, in other words direct just can automatically cook up to exist based on starting station and point of destination can purchase the preferred transfer stroke of remaining ticket, and then transfer stroke inquires about whether there is ticket respectively not need user oneself to plan, network booking technique effect consuming time is reduced so reach, thus improve efficiency and the success ratio of network booking.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 is the process flow diagram of the implementation method of network ticket booking in the embodiment of the present invention;
Fig. 2 is the structural drawing of the system that realizes of network ticket booking in the embodiment of the present invention.
Embodiment
Protocol population thinking in the embodiment of the present invention is as follows:
Provide the implementation method of a kind of network ticket booking, comprising: the trip ticket purchasing request obtaining user; Carry out parsing to trip ticket purchasing request and obtain trip travel information, trip travel information comprises starting station, point of destination and travel time; According to trip travel information, determine the optional transfer stroke being arrived at point of destination from starting station by terminal; From optional transfer stroke, filter out transfer stroke total route duration meet pre-conditioned and currently have the preferred transfer stroke can purchasing remaining ticket, wherein, the total route duration of transfer stroke is arrive at the point of destination altogether required time from starting station through terminal; Book tickets for preferred transfer stroke.In other words direct just can automatically cook up to exist based on starting station and point of destination can purchase the preferred transfer stroke of remaining ticket, and then transfer stroke inquires about whether there is ticket respectively not need user oneself to plan, reduce network booking technique effect consuming time so reach, thus improve efficiency and the success ratio of network booking.
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
First aspect, the implementation method that the embodiment of the present invention provides a kind of network to book tickets, please refer to Fig. 1, comprising:
Step S101: the trip ticket purchasing request obtaining user;
Step S102: carry out parsing to trip ticket purchasing request and obtain trip travel information, trip travel information comprises starting station, point of destination and travel time;
Step S103: according to trip travel information, determine the optional transfer stroke being arrived at point of destination from starting station by terminal;
Step S104: filter out transfer stroke total route duration and meet pre-conditioned and currently have the preferred transfer stroke can purchasing remaining ticket from optional transfer stroke, the total route duration of transfer stroke is arrive at the point of destination altogether required time from starting station through terminal;
Step S105: book tickets for preferred transfer stroke.
In step S101, the trip ticket purchasing request of the user obtained can be real-time the produced trip ticket purchasing request of user, also can the trip ticket purchasing request that prestores of user, and the embodiment of the present invention is not restricted.
Such as comprise in trip ticket purchasing request: starting station, point of destination and departure time.
For example, suppose that user wishes by Mianyang to Beijing, January 2 set out, then can produce the trip ticket purchasing request that starting station is Mianyang, point of destination is Beijing, the departure time is January 2, certainly, demand based on user is different, and the starting station comprised in trip ticket purchasing request, point of destination are also different with the departure time, and the embodiment of the present invention is not restricted.
In a kind of optional embodiment, in trip ticket purchasing request, transfer booking condition can also be comprised, or user can arrange transfer booking condition separately outside trip ticket purchasing request.In specific implementation process, transfer booking condition can comprise polytype transfer booking condition, and three kinds of enumerating below are wherein introduced, and certainly, in specific implementation process, is not limited to following three kinds of situations.
The first, transfer booking condition comprises Preset Time condition.
For example, Preset Time condition such as comprises at least one condition in departure time section, arrival time section.Such as, certain user wish in January 2 by Mianyang to Beijing, because consider booking difficulty, so the time is also passable a little a little later, such as evening was to January 5, and therefore can arrange a departure time section is that January 2 was to January 5, wherein, the departure time January 2 day of best departure time for comprising in trip ticket purchasing request, but if January 2 did not exist can purchase remaining ticket, then can book tickets based on other departure times in departure time section; Again such as, certain user's traffic is not too convenient, and in order to place is taken in the traffic guaranteeing to arrive in time corresponding to trip travel information, then can arrange the time period of setting out is: 10:00 ~ 22:00,11:00 ~ 20:00 etc.; Arrival time section and departure time section to arrange reason similar, do not repeat them here.
The second, transfer booking condition comprises predeterminable range condition.
For example, predeterminable range condition can be a fixing distance value, such as: 1000km, 1500km etc.; A through distance is there is by starting station to point of destination, this predeterminable range condition also can the relative distance condition of this through distance relatively, such as: the preset ratio (such as: 20%, 30% etc.) being no more than this through distance, be less than this through distance and specific range with value (such as: 200km, 300km etc.).Certainly, predeterminable range condition other predeterminable range conditions all right, the embodiment of the present invention no longer itemizes, and is not restricted.
The third, transfer booking condition comprises stroke ticket price terms.
For example, the trip ticket price terms can be an absolute price condition, also can a relative price condition, and this absolute price condition is such as 500,1000 etc.; Wherein this trip travel information corresponding to trip ticket purchasing request is to comprising original stroke admission fee lattice, these relative travel admission fee lattice such as being no more than original stroke admission fee lattice predetermined ratio (such as: 10%, 20% etc.), be no more than original stroke admission fee lattice set price (such as: 100,200 etc.).Certainly, stroke ticket price terms can also other stroke ticket price terms, and the embodiment of the present invention no longer itemizes, and is not restricted.
4th kind, elongate member when transfer booking condition comprises total route, during total route, elongate member such as meets pre-conditioned for total route duration, and total route duration meets pre-conditioned trip stroke and such as comprises: total route duration is less than the trip stroke of predetermined threshold value; Or front M transfer stroke that total route duration is relatively short etc.
In step S103, can determine optional transfer stroke on multiple opportunity, two kinds of enumerating below are wherein introduced, and certainly, in specific implementation process, are not limited to following two kinds of situations.
The first, according to trip travel information, determine the optional transfer stroke being arrived at point of destination from starting station by terminal, comprising:
When based on trip ticket purchasing request, when cannot buy the ticket of corresponding trip travel information, or when the ticket of corresponding trip travel information can not meet the requirement of user, obtain the corresponding transfer stroke being carried out transfer by terminal according to trip travel information.
For example, if trip ticket purchasing request wishes the ticket buying point of destination of being gone directly by starting station, but there are not the through vehicles by starting station to point of destination at present, although or have the through vehicles but there is not remaining ticket, in this case, then can obtain the transfer stroke being carried out transfer by terminal, also may there are other situations in the ticket that certainly cannot buy corresponding trip travel information, the embodiment of the present invention no longer itemizes, and is not restricted.
Or, if trip ticket purchasing request wish buy by starting station go directly point of destination ticket and in transfer booking condition require trip total duration be less than 20 hours, but be greater than 20 hours (be such as 30 hours, 40 hours etc.) by go directly total route duration of the vehicles of point of destination of starting station, then can obtain the transfer stroke being carried out transfer by terminal, to meet the transfer booking condition of user, other situations can also be there are in the requirement certainly not meeting user, the embodiment of the present invention no longer itemizes, and is not restricted.
Due in such scheme, when buying the ticket of corresponding trip travel information, or the ticket of corresponding trip travel information can not meet the requirement of user, just needs to determine transfer stroke, so reach the technique effect reducing system burden.
The second, according to trip travel information, determine the optional transfer stroke being arrived at point of destination from starting station by terminal, comprising:
After the trip ticket purchasing request obtaining user, directly determine the optional transfer stroke being arrived at point of destination from starting station by terminal, then obtain preferred stroke (preferably through stroke or preferably transfer stroke can be comprised) based on the through stroke of point of destination of being gone directly by starting station and optional transfer stroke and provide it to user, from each preferred stroke, select the preferred stroke meeting demand most by user.
Further, when the ticket server by carrier carries out brush ticket, except carrying out, except brush ticket, also carrying out brush ticket based on through stroke based on optional transfer stroke, thus the success ratio of network booking is improved.
Due in such scheme, directly after getting trip ticket purchasing request, just determine transfer stroke, the technique effect of stroke of more going on a journey can be planned for user so reach.
In step S103, can first determine the website carrying out transfer between starting station and point of destination, then determine optional transfer stroke by these websites.
For example, each website that the straightforward line of trip corresponding to ticket purchasing request comprises can be obtained, then with each website be the center of circle, predeterminable range (such as: 100km, 200km etc.) determines the overlay area of each website for radius, then obtains all websites in overlay area as the website carrying out transfer between starting station and point of destination; Or prespecified certain site is as the website for transfer between each website.
Then determine by starting station via at least one website in the website of transfer to all routes of point of destination, comprise at least two transfer sections in each route, each first place, transfer section connects.
Then judge whether all transfer sections of every bar route exist traffic route (such as: train, aircraft, automobile, steamer etc.), if all there is traffic route in all transfer sections of certain circuit, then determine that this circuit is optional transfer stroke, the website being used for transfer at this optional transfer stroke is then terminal.One of them transfer stroke only can comprise a terminal, in this case, transfer stroke comprise by starting station to the first section of terminal and by terminal to the second section of point of destination; A transfer stroke also can comprise at least two terminals, in this case, transfer stroke except comprise by starting station to the first section of terminal and by terminal to the second section of point of destination, also comprise the section between at least two transfer sections, specifically comprise how many transfer section for transfer stroke, the embodiment of the present invention is not restricted.
Wherein, optional transfer stroke only can comprise multiple transfer section; Optional transfer stroke also except comprising multiple transfer section, can also comprise the relevant information of the vehicles in each transfer section, such as: the order of classes or grades at school, sailing date, departure time etc. of type of vehicle, the vehicles.
Suppose that starting station is A, point of destination B, C is comprised to the website of party B-subscriber's transfer by A, D, E, F, then can first determine by A through C, D, E, in F, at least one website is to the route of B, such as: A → C → B, A → D → B, A → E → B, A → F → B, A → C → D → B, A → C → E → B then judge whether each transfer section in every bar route exists traffic route, for A → C → B, then need to judge A → C, whether C → B all exists traffic route respectively, if all there is traffic route respectively, then illustrate and can realize the transfer of starting station A to point of destination B by website C, otherwise, illustrate and cannot be realized by the transfer of starting station A to point of destination B by website C.Thus finally determine that all transfer sections all exist the route of traffic route as optional transfer stroke.
Wherein, suppose that A → C can be realized by flight MU5409, the travel time of flight MU5409 is 2015-1-214:00 ~ 16:00; C → B can be realized by train G302, and the travel time of train G302 is 2015-1-218:00 ~ 2016-1-308:00, then can also determine that optional transfer stroke is: A → C → B, and A → C adopts flight MU5409, and C → B adopts train G302.
After determining optional transfer stroke, can by starting station to terminal the first section corresponding to vehicles relevant information determine departure time (such as: 2015-1-214:00) of this optional transfer stroke, the arrival time (such as: 2015-1-308:00) of this optional transfer stroke just can be determined by terminal to the vehicles relevant information in the second section of point of destination, based on this departure time and this arrival time, just can determine total route duration (being such as 18:00) of this optional transfer stroke, certainly, total route duration of corresponding optional transfer stroke can also be determined by other means, the embodiment of the present invention no longer itemizes, and be not restricted.
In specific implementation process, after website for transfer between determining by starting station to point of destination, optional transfer stroke can be determined based on all websites for transfer, as a kind of optional embodiment, in step S103, according to trip travel information, determine the optional transfer stroke being arrived at point of destination from starting station by terminal, comprising: at least one website determining carrying out transfer between starting station and point of destination; Go out to determine the website of website grade higher than predetermined level from least one website; At least optional transfer stroke is determined higher than the website of predetermined level based on website grade.
For example, website grade for weighing the passenger-cargo freight volume of website and technical operation amount size and politically, economically with the status on the railway network.Wherein, website higher grade often illustrates that the status, transport hub of corresponding website is more important, and then be more suitable as the terminal carrying out transfer between starting station and point of destination, website grade such as comprises according to arranging from high to low: stand etc. in top grade station, first-class station, secondary station, third-class station, fourth class station, five etc., wherein, can different predetermined level be set according to the actual requirements, predetermined level is such as second-class, third-class etc., some small stations can be got rid of based on the program, thus reduce the processing load of system, improve the booking speed of system.
In step S104, can determine preferred transfer stroke in several ways from optional transfer stroke, two kinds of enumerating below are wherein introduced, and certainly, in specific embodiment process, are not limited to following two kinds of situations.
1. described transfer stroke total route duration that filters out from described optional transfer stroke meets pre-conditioned transfer stroke and comprises: from described optional transfer stroke, filter out the transfer stroke that total route duration is less than predetermined threshold value.
For example, described predetermined threshold value can be determined with reference to total route duration of the through stroke from described starting station to point of destination.Predetermined threshold value such as with total route duration correlation, such as: if trip ticket purchasing request is used for booking train ticket, and be 10 hours based on total route duration of the through stroke of train, then can determine that predetermined threshold value is the doubly predetermined of this total route duration, such as: 1.2 times, 1.3 times etc.; Can also determine that predetermined threshold value is add preset duration on the basis of this total route duration, such as: increase by 2 hours, 3 hours etc.; If trip ticket purchasing request is used for booking plane ticket, then this total route duration is the duration of the through stroke based on aircraft.
In addition, this predetermined threshold value also can be a fixed value, such as: 20 hours, 30 hours etc., adopt which kind of mode determination predetermined threshold value for concrete, the embodiment of the present invention is not restricted.
In addition, this predetermined threshold value can be set by the user initiating this trip ticket purchasing request, also can by default, and the embodiment of the present invention is not restricted.
2. from optional transfer stroke, filter out transfer stroke total route duration meet pre-conditioned preferred transfer stroke and comprise: when described optional transfer stroke comprises multiple transfer stroke, to described multiple transfer stroke according to described total route duration sequence, and filter out front M relatively short transfer stroke of described total route duration.
For example, different M values can be set according to the actual requirements, such as: 3,4 etc., wherein, first total route duration of each optional trip stroke can be determined, then by total route duration of each optional trip stroke according to sorting from low to high, and then obtain the trip stroke that sequence is positioned at front M position (such as: first 3, first 4 etc.); Or by total route duration of each optional trip stroke according to sorting from high to low, and then acquisition sequence is positioned at trip stroke of last M position etc.
In step S104, can in the current remaining ticket situation of multiple inquiry on opportunity, two kinds of enumerating below are wherein introduced, and certainly, in specific implementation process, are not limited to following two kinds of situations.
The first, when obtaining described trip ticket purchasing request, the not yet open booking of stroke ticket corresponding to the travel time in described trip ticket purchasing request, described not yet open booking refers to that the carrier belonging to described stroke ticket does not also start to provide stroke ticket corresponding to this travel time.
For example, normally the preset in advance time period starts the stroke ticket putting out the line time same day in carrier, and preset time period is such as: two weeks, 1 month etc.Wherein, may will early than this preset time period in the time of trip ticket purchasing request obtaining user, such as: current time (2015-12-24) receives the trip ticket purchasing request of user, wherein the travel time of user's setting is 2016-1-30, preset time period is 1 month, then can determine that carrier will start to provide the stroke ticket of 2016-1-30 at 2015-12-31, but current time is 2015-12-24, then carrier not yet provides the stroke ticket of 2016-1-30.
In this case, described filtering out from optional transfer stroke currently has the preferred transfer stroke can purchasing remaining ticket to comprise: by client or the whether open booking of stroke ticket corresponding to third-party server monitoring described travel time; When monitoring open booking, then regularly being refreshed the ticket server of carrier by client or third-party server, inquiring about up-to-date current remaining ticket situation, filter out the transfer stroke that the display of the current ticket server in described carrier there is not ticket accordingly.
For example, can be sent for inquiring about the inquiry request whether opening booking to ticket server every prefixed time interval by client or third-party server, the travel time is comprised in this inquiry request, ticket server judged whether to open booking based on this travel time, if open booking, can send a confirmation to client or third-party server, client or third-party server just regularly can refresh the ticket server of carrier by client or third-party server after receiving this confirmation, inquire about up-to-date current remaining ticket situation, filter out the transfer stroke that the display of the current ticket server in described carrier there is not ticket accordingly.
Owing to whether just sending inquiry request to ticket server every prefixed time interval in the program, so change appears in the strategy that immediately can open booking, the time of open booking also can be understood in time.
In addition, in specific implementation process, client or third-party server also can after receiving trip ticket purchasing request, just therefrom obtain the travel time, then the request of ticket time inquiring is put based on the travel time to ticket server transmission, ticket server puts ticket strategy (such as: 1 month in advance based on predetermined, two weeks etc.), determine to should the travel time put the ticket time, then will put the ticket time is sent to client or third-party server, client or third-party server inquire about up-to-date current remaining ticket situation when reaching and putting the ticket time to ticket server, filter out the transfer stroke that the display of the current ticket server in described carrier there is not ticket accordingly.Because the program does not need repeatedly to send inquiry request to ticket server, so Internet Transmission burden can be reduced.
In step S104, described filtering out from optional transfer stroke currently has the preferred transfer stroke can purchasing remaining ticket to comprise: by the current remaining ticket situation of the ticket server inquiry of carrier, thus filter out the transfer stroke that the display of the current ticket server in described carrier there is not ticket.
For example, can by all optional transfer strokes by the current remaining ticket situation of the ticket server inquiry of carrier, if the ticket server of carrier shows certain, transfer stroke is current does not have ticket, the booking order that cannot be completed the trip travel information meeting user by this transfer stroke is then described, so filter out corresponding transfer stroke.
In step S104, described transfer stroke total route duration that filters out from described optional transfer stroke meets pre-conditioned and currently has the preferred transfer stroke can purchasing remaining ticket, comprise: repeatedly inquire about real-time current remaining ticket situation by the ticket server of carrier according to preset interval time, if inquire a certain transfer stroke total route duration to meet the pre-conditioned remaining ticket of transfer stroke existence, it can be used as preferred transfer stroke.
For example, namely optional transfer stroke can be sent to the ticket server of carrier, and then inquiry obtains real-time current remaining ticket situation, wherein, because each optional transfer stroke can comprise multiple transfer section, then each transfer section can be sent to the ticket server of carrier, thus obtain the real-time current remaining ticket situation in each transfer section respectively, if all transfer sections of certain optional transfer stroke all exist and currently purchase remaining ticket, then the optional transfer stroke of correspondence can be had as current the preferred transfer stroke can purchasing remaining ticket.
With optional transfer stroke for A → C → B, then can by A → C, C → B respectively to the ticket server of carrier inquire about respectively A → C whether exist can purchase remaining ticket, whether C → B exists can purchase remaining ticket, if A → C and C → B all exists can purchase remaining ticket, then determine optional transfer stroke to be A → C → B as transfer stroke total route duration meet pre-conditioned currently have the preferred transfer stroke can purchasing remaining ticket.
With optional transfer stroke for A → C → B, and A → C adopts flight MU5409, C → B adopts train G302 to be example, then transfer section A → C can be sent to the ticket server of Airline Company, whether inquiry flight MU5409 exists remaining ticket, ticket more than ticket server lookup train number G302 transfer section C → B being sent to railway carrier, then section A → C is obtained respectively based on flight MU5409 from the ticket server of carrier, section C → B is based on the current remaining ticket situation of train number G302, if section A → C is based on flight MU5409, remaining ticket is there is in section C → B based on train number G302, then optional transfer stroke is A → C → B and A → C employing flight MU5409, C → B adopts train G302 meet pre-conditioned as transfer stroke total route duration and currently have the preferred transfer stroke can purchasing remaining ticket.
In addition, by ticket server from optional transfer stroke to carrier inquiry time, can can inquire about to the ticket server of single carrier for certain optional transfer stroke, this carrier is such as Airline Company, railway carrier, Automobile Transportation Company etc., and two kinds of enumerating below are wherein introduced, certainly, in specific implementation process, being not limited to following two kinds of situations, in addition when not conflicting, can being combinationally used by following two kinds of modes.
If ticket purchasing request of 1. going on a journey is the trip ticket purchasing request of booking train ticket, by the current remaining ticket situation of the ticket server real-time query of carrier, comprising: by the current remaining ticket situation of the ticket server real-time query of railway carrier.
For example, if user wishes used during taking train by starting station to point of destination, then can also input trip instrument in trip ticket purchasing request: train, and then when the ticket server inquiry by carrier, ticket server only by railway carrier is inquired about, and when the train ticket in each transfer section determining a certain optional transfer stroke all exists remaining ticket, using the optional transfer stroke of correspondence as preferred transfer stroke.For optional transfer stroke for A → C → B, then can by the current remaining ticket situation of the ticket server A → C of railway carrier, C → B.
2. described trip ticket purchasing request is the trip ticket purchasing request of booking plane ticket, and the current remaining ticket situation of the described ticket server real-time query by carrier, comprising: by current remaining ticket situation described in the ticket server real-time query of Airline Company.
For example, if user wishes airplane by starting station to point of destination, then can also input trip instrument in trip ticket purchasing request: aircraft, and then when the ticket server inquiry by carrier, ticket server only by Airline Company is inquired about, and when the flight in each transfer section determining a certain optional transfer stroke all exists remaining ticket, using the optional transfer stroke of correspondence as preferred transfer stroke.For optional transfer stroke for A → C → B, then can by the current remaining ticket situation of the ticket server A → C of Airline Company, C → B.
Wherein, by ticket server from optional transfer stroke to carrier inquiry time, also the current remaining ticket situation of ticket server real-time query of at least Liang Ge carrier can be passed through, and then determine currently have the preferred transfer stroke can purchasing remaining ticket can comprise the stroke ticket information provided by multiple carrier, for preferred transfer stroke for A → C → B, the stroke ticket of stroke ticket for being provided by railway carrier of the A → C that then may determine, the stroke ticket of stroke ticket for being provided by Airline Company of C → B, can determine that scope is current more widely more based on the program and have the preferred transfer stroke can purchasing remaining ticket, thus improve the success ratio of booking.
In specific implementation process, by the current remaining ticket situation of the ticket server real-time query of carrier, thus filter out and currently in optional transfer stroke have the preferred transfer stroke can purchasing remaining ticket, comprise: by the ticket server of carrier according to the preset interval time current remaining ticket situation of real-time query repeatedly, if inquire a certain transfer stroke total route duration to meet the pre-conditioned remaining ticket of transfer stroke existence, it can be used as preferred transfer stroke.
For example, preset interval time is such as 1s, 2s etc., all transfer sections that can be comprised by optional transfer stroke send inquiry request respectively to the ticket server of carrier, if all there is remaining ticket in all transfer sections of certain optional transfer stroke, then can using this optional transfer stroke as preferred transfer stroke.In this case, can determine preferred transfer stroke in several ways again, three kinds of enumerating below are wherein introduced, and certainly, in specific implementation process, are not limited to following three kinds of situations.
The first, real-time current remaining ticket situation is repeatedly inquired about according to preset interval time by the ticket server of carrier, if inquire a certain transfer stroke total route duration to meet the remaining ticket of pre-conditioned transfer stroke existence, it can be used as preferred transfer stroke, comprising:
From optional transfer stroke, filter out transfer stroke total route duration meet pre-conditioned transfer stroke;
If meet pre-conditioned transfer stroke by ticket server inquiry transfer stroke total route duration of carrier not have to purchase remaining ticket, the ticket server then iterating through carrier according to preset interval time inquires about real-time current remaining ticket situation, until inquire transfer stroke total route duration meet pre-conditioned transfer stroke current have can purchase remaining ticket, then total for transfer stroke route duration met pre-conditioned and currently have the transfer stroke can purchasing remaining ticket as preferred transfer stroke.
For specifically how filtering out transfer stroke total route duration from optional transfer stroke meets pre-conditioned transfer stroke owing to being described above, so do not repeat them here.
After acquisition transfer stroke total route duration meets pre-conditioned transfer stroke, can directly constantly carry out inquiring about remaining ticket situation in the ticket server of carrier based on these transfer strokes.Meet for pre-conditioned optional stroke for some transfer stroke total route duration, remaining ticket may be there is not in the booking incipient stage, but it is one preferably optional stroke that these transfer strokes total route duration meets pre-conditioned optional stroke, and the follow-up situation that may there is other users and return ticket, or system can carry out putting ticket (such as: every 1 day at set intervals, 2 days etc.), therefore can iterate through the remaining ticket situation of ticket server inquiry of carrier every preset interval time based on optional transfer stroke, until inquire each transfer section that a certain transfer stroke total route duration meets pre-conditioned optional transfer stroke to there is remaining ticket, in this case, then this transfer stroke total route duration is met pre-conditioned optional transfer stroke as preferred transfer stroke.
The second, the transfer booking condition that user is arranged is comprised in trip ticket purchasing request, real-time current remaining ticket situation is constantly inquired about according to preset interval time by the ticket server of carrier, if inquire a certain transfer stroke total route duration to meet the remaining ticket of pre-conditioned transfer stroke existence, it can be used as preferred transfer stroke, comprising:
From optional transfer stroke, filter out transfer stroke total route duration meet pre-conditioned transfer stroke;
Cheng total route duration of therefrom changing one's profession meets the transfer stroke filtering out transfer booking condition in pre-conditioned transfer stroke;
If meet the pre-conditioned and transfer stroke meeting transfer booking condition by the ticket server of carrier inquiry transfer stroke total route duration not have to purchase remaining ticket, the ticket server then iterating through carrier according to preset interval time inquires about real-time current remaining ticket situation, until inquire transfer stroke total route duration meet pre-conditioned and transfer stroke that is transfer booking condition current have can purchase remaining ticket, then total for transfer stroke route duration met pre-conditioned and transfer booking condition and currently have the transfer stroke can purchasing remaining ticket as preferred transfer stroke.
For example, namely when screening optional transfer stroke, except meet based on transfer stroke total route duration pre-conditioned optional transfer stroke screened except, also need to meet pre-conditionedly further to screen based on transfer booking condition centering Cheng total route duration of changing one's profession, thus make obtained preferred transfer stroke except transfer stroke total route duration meets pre-conditioned except can also meet the transfer booking condition of user, thus make the preferred transfer stroke of acquisition more meet the booking demand of user.
In addition, not only by transfer stroke total route duration meet pre-conditioned optional transfer stroke is screened but also by transfer booking condition, optional transfer stroke is screened time, first can be met by transfer stroke total route duration and pre-conditioned optional transfer stroke to be screened, then meet pre-conditioned transfer stroke screen by transfer booking condition centering Cheng total route duration of changing one's profession; Also can first be screened optional transfer stroke by transfer booking condition, then meet the pre-conditioned transfer stroke to meeting transfer booking condition by transfer stroke total route duration to screen, for the execution sequencing of these two steps, the embodiment of the present invention is not restricted.
The third, the transfer booking condition that user is arranged is comprised in trip ticket purchasing request, real-time current remaining ticket situation is constantly inquired about according to preset interval time by the ticket server of carrier, if inquire a certain transfer stroke total route duration to meet the remaining ticket of pre-conditioned transfer stroke existence, it can be used as preferred transfer stroke, comprising:
From optional transfer stroke, filter out the optional transfer stroke meeting transfer booking condition, comprise transfer stroke total route duration in transfer booking condition and meet pre-conditioned;
If the transfer stroke being met transfer booking condition by the ticket server inquiry of carrier does not have to purchase remaining ticket, the ticket server then iterating through carrier according to preset interval time inquires about real-time current remaining ticket situation, until inquire the transfer stroke meeting transfer booking condition current have can purchase remaining ticket, then will meet transfer booking condition and currently have the transfer stroke can purchasing remaining ticket as preferred transfer stroke.
From introducing above, transfer booking condition can comprise multiple condition, such as: transfer stroke total route duration meets pre-conditioned, predeterminable range condition, stroke ticket price terms etc., wherein, if comprising transfer stroke total route duration in transfer booking condition meets pre-conditioned, then directly by transfer booking condition, optional transfer stroke to be screened, just can obtain transfer stroke total route duration and meet pre-conditioned transfer stroke, thus can not need to be met by transfer stroke total route duration pre-conditionedly to screen separately optional transfer stroke separately.
Certainly, in specific implementation process, transfer booking condition comprise the total route duration of transfer stroke meet pre-conditioned time, also can both be screened optional transfer stroke by transfer booking condition, met by transfer stroke total route duration again simultaneously and pre-conditionedly to screen optional transfer stroke, the embodiment of the present invention is not restricted.
In addition, in specific implementation process, transfer stroke total route duration meets the pre-conditioned transfer stroke total route duration comprised in the transfer booking condition of user's setting that can both comprise and meets pre-conditioned, comprise again the default booking condition of system sets itself, in this case, then can be screened optional trip stroke by the default booking condition of system sets itself, by transfer booking condition, optional transfer stroke is screened again simultaneously, for under what circumstances, need both to be met by transfer stroke total route duration pre-conditionedly to screen optional transfer stroke, need again to be screened optional transfer stroke by transfer booking condition simultaneously, the embodiment of the present invention is not restricted.
In addition, in step S104, from optional transfer stroke, filter out transfer stroke total route duration meets pre-conditioned, and it is current when having a preferred transfer stroke can purchasing remaining ticket, first can filter out transfer stroke total route duration from optional transfer stroke and meet pre-conditioned transfer stroke, then meet pre-conditioned transfer stroke by transfer stroke total route duration to inquire about to the ticket server of carrier, and then filter out transfer stroke total route duration and meet pre-conditioned, and currently have the preferred transfer stroke can purchasing remaining ticket, if need to filter out transfer stroke total route duration based on optional transfer stroke to meet pre-conditioned transfer stroke, then need the vehicles relevant information determining each optional transfer stroke, from optional transfer stroke, filter out transfer stroke total route duration meets pre-conditioned, and it is current when having a preferred transfer stroke can purchasing remaining ticket, also can by the transfer stroke of optional transfer stroke to the remaining ticket of ticket server inquiry acquisition existence of carrier, then meet the pre-conditioned transfer stroke to there is remaining ticket by transfer stroke total route duration to screen, and then acquisition transfer stroke total route duration meets pre-conditioned, and currently have the preferred transfer stroke can purchasing remaining ticket, in this case, the relevant information of the vehicles can be comprised in optional transfer stroke.For concrete first met by transfer stroke total route duration pre-conditioned optional transfer stroke to be screened, still first by remaining ticket can be purchased, optional transfer stroke is screened, the embodiment of the present invention is not restricted.
Wherein, if the optional transfer stroke determined in step S103 only comprises multiple transfer section, due in step S104 owing to needing by the current remaining ticket situation of the ticket server of carrier inquiry, and usually have that can to purchase remaining ticket be all for vehicles order of classes or grades at school, such as: for train train number, for flight frequency, automobile schedule etc., therefore the preferred transfer stroke obtained in step S104 is except comprising at least two transfer sections, also comprise the stroke ticket information in each section (such as: vehicles order of classes or grades at school, starting station information, point of destination information, departure time information, arrival time information, vehicles classification etc.).For the route corresponding to preferred transfer stroke for A → C → B, then this preferred transfer stroke is except comprising A → C, C → B two transfer strokes, can also comprise stroke ticket information as shown in table 1.
Table 1
Section A→C C→B
Starting station A C
Point of destination C B
Departure time 2015-1-2 14:00 2015-1-2 18:00
Arrival time 2015-1-2 16:00 2015-1-3 08:00
Vehicles classification Aircraft Train
Vehicles order of classes or grades at school MU5409 G302
Certainly, the stroke ticket information shown in above table 1 is as just a citing, and conduct does not limit.
And if the optional transfer stroke determined is except comprising multiple transfer section, also comprise the relevant information of the vehicles in each transfer section, then preferably transfer stroke also can comprise the relevant information of the vehicles at least two transfer sections and each transfer section.
In specific implementation process, before being booked tickets for preferred transfer stroke by step S105, need first to determine the preferred transfer stroke for booking tickets, in specific implementation process, can determine this preferred transfer stroke for booking in several ways, the two kinds of modes enumerated below are wherein introduced, certainly, in specific implementation process, be not limited to following two kinds of situations.
The first, also comprised: met by total for transfer stroke route duration pre-conditioned and currently have the preferred transfer stroke can purchasing remaining ticket to recommend to user before booking tickets for preferred transfer stroke; Receive the instruction that user carries out for preferred transfer stroke booking tickets.
For example, that is to say and meet pre-conditioned at acquisition transfer stroke total route duration, and current have the preferred transfer stroke can purchasing remaining ticket after, can these transfer strokes total route duration be met pre-conditioned, and currently have the preferred transfer stroke can purchasing remaining ticket to be supplied to user, such as: be presented on the display unit of the electronic equipment of user, and when each preferred transfer stroke is presented at display unit, information can also be produced for preferred transfer stroke, such as: prompting stroke admission fee lattice, the total distance of prompting trip, remind total duration of trip etc., in addition, can also to the minimum preferred transfer stroke of admission fee in each preferred transfer stroke, the preferred transfer stroke that the total distance of trip is the shortest, the shortest preferred transfer stroke of total duration of going on a journey carries out emphasis prompting etc. respectively, thus user can be made to select better preferred transfer stroke based in transfer stroke preferred in these informations.By the program, can ensure that determined stroke ticket is more accurate, more meet the demand of user.
The second, also comprised before booking tickets for preferred transfer stroke: receive permission that user pre-sets and buy transfer stroke and to be correlated with the transfer booking condition of stroke ticket; The preferred transfer stroke meeting above-mentioned transfer booking condition is inquired in preferred transfer stroke.
For example, that is to say when determining preferred transfer stroke based on optional transfer stroke, can not be screened optional transfer stroke by transfer booking condition, but when needs are booked tickets by preferred transfer stroke, by transfer booking condition, preferred transfer stroke be screened.And after by transfer booking condition preferred transfer stroke being screened, can directly be booked tickets to the ticket server of carrier by preferred transfer stroke, based on this, the time that user selects can be saved, network booking efficiency can be improved based on the program, and can ensure when stroke ticket anxiety, improve the success ratio of network booking.
In step S105, for the preferred booking stroke shown in table 1, can send to the ticket server of Airline Company the ticket purchasing request comprising starting station A, point of destination C, departure time 2015-1-214:00, thus obtain by the plane ticket of starting station A to terminal C; And send to the ticket server of railway carrier the ticket purchasing request comprising starting station C, point of destination B, departure time 2015-1-218:00, thus obtain by the train ticket of terminal C to point of destination B.Certainly, different based on determined preferred transfer stroke, the ticket bought based on preferred transfer stroke is also different, and the embodiment of the present invention is not restricted.
Second aspect, based on same inventive concept, what the embodiment of the present invention provided a kind of network to book tickets realizes system, please refer to Fig. 2, comprising:
Obtain module 20, for obtaining the trip ticket purchasing request of user;
Parsing module 21, obtain trip travel information for carrying out parsing to described trip ticket purchasing request, described trip travel information comprises starting station, point of destination and travel time;
Determination module 22, for according to described trip travel information, determines the optional transfer stroke being arrived at described point of destination from described starting station by terminal;
Screening module 23, meet pre-conditioned for filtering out transfer stroke total route duration from described optional transfer stroke and currently have the preferred transfer stroke can purchasing remaining ticket, described transfer stroke total route duration is arrive at the described point of destination altogether required time from described starting station through terminal;
Ticket booking module 24, for booking tickets for described preferred transfer stroke.
Optionally, described screening module 23, for filtering out the transfer stroke that total route duration is less than predetermined threshold value from described optional transfer stroke; Or when described optional transfer stroke comprises multiple transfer stroke, to described multiple transfer stroke according to described total route duration sequence, and filter out front M relatively short transfer stroke of described total route duration.
Optionally, described predetermined threshold value is determined with reference to total route duration of the through stroke from described starting station to point of destination.
Optionally, described screening module 23, for inquiring about current remaining ticket situation by the ticket server of carrier, thus filters out the transfer stroke that the display of the current ticket server in described carrier there is not ticket.
Optionally, when obtaining described trip ticket purchasing request, the not yet open booking of stroke ticket corresponding to the travel time in described trip ticket purchasing request, described not yet open booking refers to that the carrier belonging to described stroke ticket does not also start to provide stroke ticket corresponding to this travel time.
Optionally, described screening module 23, comprising: monitoring unit, for by client or the whether open booking of third-party server monitoring stroke ticket corresponding to described travel time; First query unit, for opening booking when monitoring, the ticket server of carrier is then regularly refreshed by described client or described third-party server, inquire about up-to-date current remaining ticket situation, filter out the transfer stroke that the display of the current ticket server in described carrier there is not ticket accordingly.
Optionally, described screening module 23, repeatedly inquire about real-time current remaining ticket situation for the ticket server by carrier according to preset interval time, if inquire a certain transfer stroke total route duration to meet the pre-conditioned remaining ticket of transfer stroke existence, it can be used as preferred transfer stroke.
Optionally, described screening module 23, comprising: the first screening unit, meets pre-conditioned transfer stroke for filtering out transfer stroke total route duration from described optional transfer stroke; Second query unit, if do not have to purchase remaining ticket for meeting pre-conditioned transfer stroke by ticket server inquiry transfer stroke total route duration of described carrier, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire described transfer stroke total route duration meet pre-conditioned transfer stroke current have can purchase remaining ticket, then described transfer stroke total route duration met pre-conditioned and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
Optionally, the transfer booking condition that described user is arranged is comprised in described trip ticket purchasing request, described screening module 23, comprising: the second screening unit, meets described transfer stroke total route duration meet pre-conditioned transfer stroke for filtering out from described optional transfer stroke, three screening unit, for meeting from described transfer stroke total route duration the transfer stroke filtering out in pre-conditioned transfer stroke and meet described transfer booking condition, 3rd query unit, if meet the pre-conditioned and transfer stroke meeting described transfer booking condition do not have to purchase remaining ticket for being inquired about described transfer stroke total route duration by the ticket server of described carrier, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire described transfer stroke total route duration meet the transfer stroke of pre-conditioned and described transfer booking condition current have can purchase remaining ticket, then described transfer stroke total route duration met pre-conditioned and described transfer booking condition and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
Optionally, the transfer booking condition that described user is arranged is comprised in described trip ticket purchasing request, described screening module 23, comprise: the 4th screening unit, for filtering out the transfer stroke meeting described transfer booking condition from described optional transfer stroke, comprising described transfer stroke total route duration in described transfer booking condition and meeting pre-conditioned; 4th query unit, if do not have to purchase remaining ticket for the transfer stroke being met described transfer booking condition by the ticket server inquiry of described carrier, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire the described transfer stroke meeting described transfer booking condition current have can purchase remaining ticket, then meet transfer booking condition using described and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
Optionally, described screening module 23, the described current remaining ticket situation of the ticket server inquiry for passing through at least Liang Ge carrier.
Optionally, described system also comprises: recommending module, for being met by described transfer stroke total route duration pre-conditioned and currently having the preferred transfer stroke can purchasing remaining ticket to recommend to user; First receiver module, for receiving the instruction that user carries out for preferred transfer stroke booking tickets.
Optionally, described system also comprises: the second receiver module, buys transfer stroke to be correlated with the transfer booking condition of stroke ticket for receiving permission that user pre-sets; Enquiry module, for inquiring the preferred transfer stroke meeting above-mentioned transfer booking condition in described preferred transfer stroke.
Optionally, at least one when described transfer booking condition comprises Preset Time condition, predeterminable range condition, stroke ticket price terms, total route in elongate member.
Optionally, described determination module 22, for working as based on described trip ticket purchasing request, when cannot buy the ticket of corresponding described trip travel information, or when the ticket of corresponding described trip travel information can not meet the requirement of described user, obtain the corresponding transfer stroke being carried out transfer by terminal according to described trip travel information.
Optionally, described trip ticket purchasing request is the trip ticket purchasing request of booking train ticket, and the current remaining ticket situation of the described ticket server real-time query by carrier, comprising: by current remaining ticket situation described in the ticket server real-time query of railway carrier; And/or described trip ticket purchasing request is the trip ticket purchasing request of booking plane ticket, the current remaining ticket situation of the described ticket server real-time query by carrier, comprising: by current remaining ticket situation described in the ticket server real-time query of Airline Company.
Optionally, described determination module 22, comprising: the first determining unit, for determining at least one website carrying out transfer between described starting station and described point of destination; Second determining unit, for going out to determine the website of website grade higher than predetermined level from least one website described; 3rd determining unit, for determining described optional transfer stroke based on described website grade higher than the website of predetermined level.
The technical scheme provided in the embodiment of the present application, at least has following technique effect or advantage:
After the trip ticket purchasing request obtaining user, parsing can be carried out to trip ticket purchasing request and obtain trip travel information, trip travel information comprises starting station, point of destination and travel time, then can determine arrive at the optional transfer stroke of point of destination from starting station by terminal and from optional transfer stroke, filter out transfer stroke total route duration meet pre-conditioned according to trip travel information, and currently have the preferred transfer stroke can purchasing remaining ticket, and then can book tickets based on preferred transfer stroke, in other words direct just can automatically cook up to exist based on starting station and point of destination can purchase the preferred transfer stroke of remaining ticket, and then transfer stroke inquires about whether there is ticket respectively not need user oneself to plan, network booking technique effect consuming time is reduced so reach, thus improve efficiency and the success ratio of network booking.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although to comprise in other embodiment some included feature instead of further feature in this some embodiments, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in gateway according to the embodiment of the present invention, proxy server, system.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses, the implementation method of A1, a kind of network ticket booking, comprises
Obtain the trip ticket purchasing request of user;
Carry out parsing to described trip ticket purchasing request and obtain trip travel information, described trip travel information comprises starting station, point of destination and travel time;
According to described trip travel information, determine the optional transfer stroke being arrived at described point of destination from described starting station by terminal;
From described optional transfer stroke, filter out transfer stroke total route duration meet pre-conditioned and currently have the preferred transfer stroke can purchasing remaining ticket, described transfer stroke total route duration is arrive at the described point of destination altogether required time from described starting station through terminal;
Book tickets for described preferred transfer stroke.
A2, method according to A1, is characterized in that, described transfer stroke total route duration that filters out from described optional transfer stroke meets pre-conditioned transfer stroke and comprises:
The transfer stroke that total route duration is less than predetermined threshold value is filtered out from described optional transfer stroke; Or
When described optional transfer stroke comprises multiple transfer stroke, to described multiple transfer stroke according to described total route duration sequence, and filter out front M relatively short transfer stroke of described total route duration.
A3, method as described in A2, is characterized in that, described predetermined threshold value is determined with reference to total route duration of the through stroke from described starting station to point of destination.
A4, method according to A1, is characterized in that, described filtering out from optional transfer stroke currently has the preferred transfer stroke can purchasing remaining ticket to comprise:
By the current remaining ticket situation of the ticket server inquiry of carrier, thus filter out the transfer stroke that the display of the current ticket server in described carrier there is not ticket.
A5, method as described in A1, it is characterized in that, when obtaining described trip ticket purchasing request, the not yet open booking of stroke ticket corresponding to the travel time in described trip ticket purchasing request, described not yet open booking refers to that the carrier belonging to described stroke ticket does not also start to provide stroke ticket corresponding to this travel time.
A6, method according to A5, is characterized in that, described filtering out from optional transfer stroke currently has the preferred transfer stroke can purchasing remaining ticket to comprise:
By client or the whether open booking of third-party server monitoring stroke ticket corresponding to described travel time;
When monitoring open booking, the ticket server of carrier is then regularly refreshed by described client or described third-party server, inquire about up-to-date current remaining ticket situation, filter out the transfer stroke that the display of the current ticket server in described carrier there is not ticket accordingly.
A7, method as described in A1, is characterized in that, described transfer stroke total route duration that filters out from described optional transfer stroke meets pre-conditioned and currently has the preferred transfer stroke can purchasing remaining ticket, comprising:
Repeatedly inquire about real-time current remaining ticket situation by the ticket server of carrier according to preset interval time, if inquire a certain transfer stroke total route duration to meet the pre-conditioned remaining ticket of transfer stroke existence, it can be used as preferred transfer stroke.
A8, method as described in A7, it is characterized in that, the described ticket server by carrier inquires about real-time current remaining ticket situation repeatedly according to preset interval time, if inquire a certain transfer stroke total route duration to meet the pre-conditioned remaining ticket of transfer stroke existence, it can be used as preferred transfer stroke, comprising:
From described optional transfer stroke, filter out transfer stroke total route duration meet pre-conditioned transfer stroke;
If inquire about described transfer stroke total route duration by the ticket server of described carrier to meet pre-conditioned transfer stroke and do not have to purchase remaining ticket, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire described transfer stroke total route duration meet pre-conditioned transfer stroke current have can purchase remaining ticket, then described transfer stroke total route duration met pre-conditioned and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
A9, method as described in A7, it is characterized in that, the transfer booking condition that described user is arranged is comprised in described trip ticket purchasing request, the described ticket server by carrier constantly inquires about real-time current remaining ticket situation according to preset interval time, if inquire a certain transfer stroke total route duration to meet the remaining ticket of pre-conditioned transfer stroke existence, it can be used as preferred transfer stroke, comprising:
From described optional transfer stroke, filter out described transfer stroke total route duration meet pre-conditioned transfer stroke;
The transfer stroke filtering out pre-conditioned transfer stroke and meet described transfer booking condition is met from described transfer stroke total route duration;
If inquire about described transfer stroke total route duration by the ticket server of described carrier to meet the pre-conditioned and transfer stroke meeting described transfer booking condition and do not have to purchase remaining ticket, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire described transfer stroke total route duration meet the transfer stroke of pre-conditioned and described transfer booking condition current have can purchase remaining ticket, then described transfer stroke total route duration met pre-conditioned and described transfer booking condition and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
A10, method as described in A7, it is characterized in that, the transfer booking condition that described user is arranged is comprised in described trip ticket purchasing request, the described ticket server by carrier constantly inquires about real-time current remaining ticket situation according to preset interval time, if inquire a certain transfer stroke total route duration to meet the remaining ticket of pre-conditioned transfer stroke existence, it can be used as preferred transfer stroke, comprising:
From described optional transfer stroke, filter out the transfer stroke meeting described transfer booking condition, comprise described transfer stroke total route duration in described transfer booking condition and meet pre-conditioned;
If the transfer stroke being met described transfer booking condition by the ticket server inquiry of described carrier does not have to purchase remaining ticket, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire the described transfer stroke meeting described transfer booking condition current have can purchase remaining ticket, then meet transfer booking condition using described and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
A11, method as described in A4, is characterized in that, the current remaining ticket situation of the described ticket server real-time query by carrier, comprising:
By the described current remaining ticket situation of the ticket server inquiry of at least Liang Ge carrier.
A12, as arbitrary in A1-A11 as described in method, it is characterized in that, described to book tickets for preferred transfer stroke before also comprise:
Described transfer stroke total route duration met pre-conditioned and currently have the preferred transfer stroke can purchasing remaining ticket to recommend to user;
Receive the instruction that user carries out for preferred transfer stroke booking tickets.
A13, as arbitrary in A1-A11 as described in method, it is characterized in that, also comprised before booking tickets for preferred transfer stroke:
Receive permission that user pre-sets to buy transfer stroke and to be correlated with the transfer booking condition of stroke ticket;
The preferred transfer stroke meeting above-mentioned transfer booking condition is inquired in described preferred transfer stroke.
A14, method as described in A13, is characterized in that, at least one when described transfer booking condition comprises Preset Time condition, predeterminable range condition, stroke ticket price terms, total route in elongate member.
A15, as arbitrary in A1-A11 as described in method, it is characterized in that, described according to described trip travel information, determine the optional transfer stroke being arrived at described point of destination from described starting station by terminal, comprising:
When based on described trip ticket purchasing request, when cannot buy the ticket of corresponding described trip travel information, or when the stroke ticket of corresponding described trip travel information can not meet the requirement of described user, obtain the corresponding transfer stroke being carried out transfer by terminal according to described trip travel information.
A16, method as described in A4, it is characterized in that, described trip ticket purchasing request is the trip ticket purchasing request of booking train ticket, the current remaining ticket situation of the described ticket server real-time query by carrier, comprising: by current remaining ticket situation described in the ticket server real-time query of railway carrier; And/or
Described trip ticket purchasing request is the trip ticket purchasing request of booking plane ticket, and the current remaining ticket situation of the described ticket server real-time query by carrier, comprising: by current remaining ticket situation described in the ticket server real-time query of Airline Company.
A17, as arbitrary in A1-A11 as described in method, it is characterized in that, described according to described trip travel information, determine the optional transfer stroke being arrived at described point of destination from described starting station by terminal, comprising:
Determine at least one website carrying out transfer between described starting station and described point of destination;
Go out to determine the website of website grade higher than predetermined level from least one website described;
Described optional transfer stroke is determined higher than the website of predetermined level based on described website grade.
What B18, a kind of network were booked tickets realizes system, comprises
Obtain module, for obtaining the trip ticket purchasing request of user;
Parsing module, obtain trip travel information for carrying out parsing to described trip ticket purchasing request, described trip travel information comprises starting station, point of destination and travel time;
Determination module, for according to described trip travel information, determines the optional transfer stroke being arrived at described point of destination from described starting station by terminal;
Screening module, meet pre-conditioned for filtering out transfer stroke total route duration from described optional transfer stroke and currently have the preferred transfer stroke can purchasing remaining ticket, described transfer stroke total route duration is arrive at the described point of destination altogether required time from described starting station through terminal;
Ticket booking module, for booking tickets for described preferred transfer stroke.
B19, system according to B18, is characterized in that, described screening module, for:
The transfer stroke that total route duration is less than predetermined threshold value is filtered out from described optional transfer stroke; Or
When described optional transfer stroke comprises multiple transfer stroke, to described multiple transfer stroke according to described total route duration sequence, and filter out front M relatively short transfer stroke of described total route duration.
B20, method as described in B19, is characterized in that, described predetermined threshold value is determined with reference to total route duration of the through stroke from described starting station to point of destination.
B21, system according to B18, is characterized in that, described screening module, for by the current remaining ticket situation of the ticket server inquiry of carrier, thus filters out the transfer stroke that the display of the current ticket server in described carrier there is not ticket.
B22, system as described in B18, it is characterized in that, when obtaining described trip ticket purchasing request, the not yet open booking of stroke ticket corresponding to the travel time in described trip ticket purchasing request, described not yet open booking refers to that the carrier belonging to described stroke ticket does not also start to provide stroke ticket corresponding to this travel time.
B23, system according to B22, it is characterized in that, described screening module, comprising:
Monitoring unit, for by client or the whether open booking of third-party server monitoring stroke ticket corresponding to described travel time;
First query unit, for opening booking when monitoring, the ticket server of carrier is then regularly refreshed by described client or described third-party server, inquire about up-to-date current remaining ticket situation, filter out the transfer stroke that the display of the current ticket server in described carrier there is not ticket accordingly.
B24, system as described in B18, it is characterized in that, described screening module, real-time current remaining ticket situation is repeatedly inquired about according to preset interval time for the ticket server by carrier, if inquire a certain transfer stroke total route duration to meet the pre-conditioned remaining ticket of transfer stroke existence, it can be used as preferred transfer stroke.
B25, system as described in B24, it is characterized in that, described screening module, comprising:
First screening unit, meets pre-conditioned transfer stroke for filtering out transfer stroke total route duration from described optional transfer stroke;
Second query unit, if do not have to purchase remaining ticket for meeting pre-conditioned transfer stroke by ticket server inquiry transfer stroke total route duration of described carrier, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire described transfer stroke total route duration meet pre-conditioned transfer stroke current have can purchase remaining ticket, then described transfer stroke total route duration met pre-conditioned and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
B26, system as described in B24, is characterized in that, comprise the transfer booking condition that described user is arranged in described trip ticket purchasing request, described screening module, comprising:
Second screening unit, meets described transfer stroke total route duration meet pre-conditioned transfer stroke for filtering out from described optional transfer stroke;
Three screening unit, for meeting from described transfer stroke total route duration the transfer stroke filtering out in pre-conditioned transfer stroke and meet described transfer booking condition;
3rd query unit, if meet the pre-conditioned and transfer stroke meeting described transfer booking condition do not have to purchase remaining ticket for being inquired about described transfer stroke total route duration by the ticket server of described carrier, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire described transfer stroke total route duration meet the transfer stroke of pre-conditioned and described transfer booking condition current have can purchase remaining ticket, then described transfer stroke total route duration met pre-conditioned and described transfer booking condition and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
B27, system as described in B24, is characterized in that, comprise the transfer booking condition that described user is arranged in described trip ticket purchasing request, described screening module, comprising:
4th screening unit, for filtering out the transfer stroke meeting described transfer booking condition from described optional transfer stroke, comprising described transfer stroke total route duration and meeting pre-conditioned in described transfer booking condition;
4th query unit, if do not have to purchase remaining ticket for the transfer stroke being met described transfer booking condition by the ticket server inquiry of described carrier, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire the described transfer stroke meeting described transfer booking condition current have can purchase remaining ticket, then meet transfer booking condition using described and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
B28, system as described in B21, is characterized in that, described screening module, for the described current remaining ticket situation of ticket server inquiry by least Liang Ge carrier.
B29, as arbitrary in B18-B28 as described in system, it is characterized in that, described system also comprises:
Recommending module, for meeting described transfer stroke total route duration pre-conditioned and currently having the preferred transfer stroke can purchasing remaining ticket to recommend to user;
First receiver module, for receiving the instruction that user carries out for preferred transfer stroke booking tickets.
B30, as arbitrary in B18-B28 as described in system, it is characterized in that, described system also comprises:
Second receiver module, buys transfer stroke to be correlated with the transfer booking condition of stroke ticket for receiving permission that user pre-sets;
Enquiry module, for inquiring the preferred transfer stroke meeting above-mentioned transfer booking condition in described preferred transfer stroke.
B31, system as described in B30, is characterized in that, at least one when described transfer booking condition comprises Preset Time condition, predeterminable range condition, stroke ticket price terms, total route in elongate member.
B32, as arbitrary in B18-B28 as described in system, it is characterized in that, described determination module, for working as based on described trip ticket purchasing request, when cannot buy the ticket of corresponding described trip travel information, or when the ticket of corresponding described trip travel information can not meet the requirement of described user, obtain the corresponding transfer stroke being carried out transfer by terminal according to described trip travel information.
B33, as arbitrary in B21 as described in system, it is characterized in that, described trip ticket purchasing request is the trip ticket purchasing request of booking train ticket, the current remaining ticket situation of the described ticket server real-time query by carrier, comprising: by current remaining ticket situation described in the ticket server real-time query of railway carrier; And/or
Described trip ticket purchasing request is the trip ticket purchasing request of booking plane ticket, and the current remaining ticket situation of the described ticket server real-time query by carrier, comprising: by current remaining ticket situation described in the ticket server real-time query of Airline Company.
B34, as arbitrary in B18-B28 as described in system, it is characterized in that, described determination module, comprising:
First determining unit, for determining at least one website carrying out transfer between described starting station and described point of destination;
Second determining unit, for going out to determine the website of website grade higher than predetermined level from least one website described;
3rd determining unit, for determining described optional transfer stroke based on described website grade higher than the website of predetermined level.

Claims (10)

1. an implementation method for network ticket booking, is characterized in that, comprise
Obtain the trip ticket purchasing request of user;
Carry out parsing to described trip ticket purchasing request and obtain trip travel information, described trip travel information comprises starting station, point of destination and travel time;
According to described trip travel information, determine the optional transfer stroke being arrived at described point of destination from described starting station by terminal;
From described optional transfer stroke, filter out transfer stroke total route duration meet pre-conditioned and currently have the preferred transfer stroke can purchasing remaining ticket, described transfer stroke total route duration is arrive at the described point of destination altogether required time from described starting station through terminal;
Book tickets for described preferred transfer stroke.
2. method according to claim 1, is characterized in that, described transfer stroke total route duration that filters out from described optional transfer stroke meets pre-conditioned transfer stroke and comprises:
The transfer stroke that total route duration is less than predetermined threshold value is filtered out from described optional transfer stroke; Or
When described optional transfer stroke comprises multiple transfer stroke, to described multiple transfer stroke according to described total route duration sequence, and filter out front M relatively short transfer stroke of described total route duration.
3. method as claimed in claim 2, is characterized in that, described predetermined threshold value is determined with reference to total route duration of the through stroke from described starting station to point of destination.
4. method according to claim 1, is characterized in that, described filtering out from optional transfer stroke currently has the preferred transfer stroke can purchasing remaining ticket to comprise:
By the current remaining ticket situation of the ticket server inquiry of carrier, thus filter out the transfer stroke that the display of the current ticket server in described carrier there is not ticket.
5. the method for claim 1, it is characterized in that, when obtaining described trip ticket purchasing request, the not yet open booking of stroke ticket corresponding to the travel time in described trip ticket purchasing request, described not yet open booking refers to that the carrier belonging to described stroke ticket does not also start to provide stroke ticket corresponding to this travel time.
6. method according to claim 5, is characterized in that, described filtering out from optional transfer stroke currently has the preferred transfer stroke can purchasing remaining ticket to comprise:
By client or the whether open booking of third-party server monitoring stroke ticket corresponding to described travel time;
When monitoring open booking, the ticket server of carrier is then regularly refreshed by described client or described third-party server, inquire about up-to-date current remaining ticket situation, filter out the transfer stroke that the display of the current ticket server in described carrier there is not ticket accordingly.
7. the method for claim 1, is characterized in that, described transfer stroke total route duration that filters out from described optional transfer stroke meets pre-conditioned and currently has the preferred transfer stroke can purchasing remaining ticket, comprising:
Repeatedly inquire about real-time current remaining ticket situation by the ticket server of carrier according to preset interval time, if inquire a certain transfer stroke total route duration to meet the pre-conditioned remaining ticket of transfer stroke existence, it can be used as preferred transfer stroke.
8. method as claimed in claim 7, it is characterized in that, the described ticket server by carrier inquires about real-time current remaining ticket situation repeatedly according to preset interval time, if inquire a certain transfer stroke total route duration to meet the pre-conditioned remaining ticket of transfer stroke existence, it can be used as preferred transfer stroke, comprising:
From described optional transfer stroke, filter out transfer stroke total route duration meet pre-conditioned transfer stroke;
If inquire about described transfer stroke total route duration by the ticket server of described carrier to meet pre-conditioned transfer stroke and do not have to purchase remaining ticket, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire described transfer stroke total route duration meet pre-conditioned transfer stroke current have can purchase remaining ticket, then described transfer stroke total route duration met pre-conditioned and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
9. method as claimed in claim 7, it is characterized in that, the transfer booking condition that described user is arranged is comprised in described trip ticket purchasing request, the described ticket server by carrier constantly inquires about real-time current remaining ticket situation according to preset interval time, if inquire a certain transfer stroke total route duration to meet the remaining ticket of pre-conditioned transfer stroke existence, it can be used as preferred transfer stroke, comprising:
From described optional transfer stroke, filter out described transfer stroke total route duration meet pre-conditioned transfer stroke;
The transfer stroke filtering out pre-conditioned transfer stroke and meet described transfer booking condition is met from described transfer stroke total route duration;
If inquire about described transfer stroke total route duration by the ticket server of described carrier to meet the pre-conditioned and transfer stroke meeting described transfer booking condition and do not have to purchase remaining ticket, the ticket server then iterating through described carrier according to described preset interval time inquires about real-time current remaining ticket situation, until inquire described transfer stroke total route duration meet the transfer stroke of pre-conditioned and described transfer booking condition current have can purchase remaining ticket, then described transfer stroke total route duration met pre-conditioned and described transfer booking condition and currently have the transfer stroke can purchasing remaining ticket as described preferred transfer stroke.
10. what network was booked tickets realizes a system, it is characterized in that, comprises
Obtain module, for obtaining the trip ticket purchasing request of user;
Parsing module, obtain trip travel information for carrying out parsing to described trip ticket purchasing request, described trip travel information comprises starting station, point of destination and travel time;
Determination module, for according to described trip travel information, determines the optional transfer stroke being arrived at described point of destination from described starting station by terminal;
Screening module, meet pre-conditioned for filtering out transfer stroke total route duration from described optional transfer stroke and currently have the preferred transfer stroke can purchasing remaining ticket, described transfer stroke total route duration is arrive at the described point of destination altogether required time from described starting station through terminal;
Ticket booking module, for booking tickets for described preferred transfer stroke.
CN201510994388.6A 2015-12-25 2015-12-25 Realization method and system of online ticket booking Pending CN105574597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510994388.6A CN105574597A (en) 2015-12-25 2015-12-25 Realization method and system of online ticket booking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510994388.6A CN105574597A (en) 2015-12-25 2015-12-25 Realization method and system of online ticket booking

Publications (1)

Publication Number Publication Date
CN105574597A true CN105574597A (en) 2016-05-11

Family

ID=55884702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510994388.6A Pending CN105574597A (en) 2015-12-25 2015-12-25 Realization method and system of online ticket booking

Country Status (1)

Country Link
CN (1) CN105574597A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708392A (en) * 2017-03-09 2017-05-24 携程旅游网络技术(上海)有限公司 Method and system for displaying travel information on page of OTA (online travel agent) website
CN107273447A (en) * 2017-05-27 2017-10-20 北京小米移动软件有限公司 Information acquisition method and device, terminal, server and storage medium
CN107992576A (en) * 2017-12-03 2018-05-04 飞友科技有限公司 A kind of connecting flight optimizes recommendation method
CN108416652A (en) * 2018-02-26 2018-08-17 平安科技(深圳)有限公司 A kind of ticketing service distribution method, computer readable storage medium and server
CN111292099A (en) * 2020-02-13 2020-06-16 广东工业大学 Intelligent station anti-ticket-swiping method and anti-ticket-swiping system
CN111461835A (en) * 2020-04-01 2020-07-28 苏州创旅天下信息技术有限公司 Travel scheme recommendation method and system, intelligent terminal and storage medium
CN111723103A (en) * 2020-05-13 2020-09-29 中铁程科技有限责任公司 Personal journey inquiry method, device, equipment and storage medium
CN112257883A (en) * 2020-09-09 2021-01-22 中铁程科技有限责任公司 Joint ticket business determination method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102460488A (en) * 2009-05-18 2012-05-16 阿玛得斯两合公司 Method and system for determining an optimal low fare for a trip
CN104616188A (en) * 2015-02-12 2015-05-13 北京瑞星信息技术有限公司 Method and system based on network ticket buying
WO2015087026A1 (en) * 2013-12-11 2015-06-18 Skyscanner Limited Method and server for providing a set of price estimates, such as air fare price estimates

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102460488A (en) * 2009-05-18 2012-05-16 阿玛得斯两合公司 Method and system for determining an optimal low fare for a trip
WO2015087026A1 (en) * 2013-12-11 2015-06-18 Skyscanner Limited Method and server for providing a set of price estimates, such as air fare price estimates
CN104616188A (en) * 2015-02-12 2015-05-13 北京瑞星信息技术有限公司 Method and system based on network ticket buying

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708392A (en) * 2017-03-09 2017-05-24 携程旅游网络技术(上海)有限公司 Method and system for displaying travel information on page of OTA (online travel agent) website
CN107273447A (en) * 2017-05-27 2017-10-20 北京小米移动软件有限公司 Information acquisition method and device, terminal, server and storage medium
CN107273447B (en) * 2017-05-27 2021-07-23 北京小米移动软件有限公司 Information acquisition method and device, terminal, server and storage medium
CN107992576A (en) * 2017-12-03 2018-05-04 飞友科技有限公司 A kind of connecting flight optimizes recommendation method
CN108416652A (en) * 2018-02-26 2018-08-17 平安科技(深圳)有限公司 A kind of ticketing service distribution method, computer readable storage medium and server
WO2019161606A1 (en) * 2018-02-26 2019-08-29 平安科技(深圳)有限公司 Ticket distribution method, computer-readable storage medium, server and apparatus
CN111292099A (en) * 2020-02-13 2020-06-16 广东工业大学 Intelligent station anti-ticket-swiping method and anti-ticket-swiping system
CN111292099B (en) * 2020-02-13 2023-04-25 广东工业大学 Intelligent station anti-ticket swiping method and anti-ticket swiping system
CN111461835A (en) * 2020-04-01 2020-07-28 苏州创旅天下信息技术有限公司 Travel scheme recommendation method and system, intelligent terminal and storage medium
CN111461835B (en) * 2020-04-01 2023-05-23 苏州创旅天下信息技术有限公司 Stroke scheme recommendation method, system, intelligent terminal and storage medium
CN111723103A (en) * 2020-05-13 2020-09-29 中铁程科技有限责任公司 Personal journey inquiry method, device, equipment and storage medium
CN112257883A (en) * 2020-09-09 2021-01-22 中铁程科技有限责任公司 Joint ticket business determination method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN105574597A (en) Realization method and system of online ticket booking
CN105512739A (en) Method and system for online ticket booking
Ansari Esfeh et al. Waiting time and headway modelling for urban transit systems–a critical review and proposed approach
CN103646069B (en) Recommendation method and device for ticket service information
CA2920274C (en) A cargo shipment route determination apparatus and method
CN110322231B (en) Automatic publishing method and system for flight schedule
CN111915046B (en) Method and device for outputting information
US20130179205A1 (en) Systems and methods for optimizing transportation resources
CN106919996A (en) A kind of destination Forecasting Methodology and device
CN107992494A (en) A kind of information providing method and device
CN107195175A (en) A kind of order allocation method and system
US20150294238A1 (en) Travel planning system
Liu et al. Synchronization of public transport timetabling with multiple vehicle types
EP3007116A1 (en) Supporting the transport of shipments
CN110750713A (en) Vehicle-mounted service content recommendation method and device, vehicle and storage medium
KR20160115756A (en) System and method for providing logistics service
CN112529347B (en) Logistics data simulation method and device, electronic equipment and storage medium
CN104881717A (en) Route recommend method and user terminal
US20120089427A1 (en) System and method for grouping trip itineraries
US20160104089A1 (en) Handling data about a company specific supply chain network
US20140214715A1 (en) Scheduling system and method for distribution of perishable loads of pre-mixed concrete to multiple sites
CN107491517A (en) Change label method, system, equipment and storage medium based on event driven
CN103679426A (en) Method and system for dispatching transfer station vehicles
Xiao et al. Optimizing coordinated transfer with probabilistic vehicle arrivals and passengers' walking time
CN108810060B (en) Method for providing, receiving and aggregating service information, server and client

Legal Events

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

Application publication date: 20160511