CN109684562A - A kind of searching method and device - Google Patents
A kind of searching method and device Download PDFInfo
- Publication number
- CN109684562A CN109684562A CN201710972607.XA CN201710972607A CN109684562A CN 109684562 A CN109684562 A CN 109684562A CN 201710972607 A CN201710972607 A CN 201710972607A CN 109684562 A CN109684562 A CN 109684562A
- Authority
- CN
- China
- Prior art keywords
- destination
- departure place
- target
- route
- combined
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0631—Item recommendations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9537—Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Development Economics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Navigation (AREA)
Abstract
The embodiment of the present application provides a kind of searching method and device, which comprises receives the searching request for the traffic path information that client is sent;It include at least one departure place and at least one destination in described search request;Route combination is combined into using the departure place and the destination;Using the route combination, search obtains corresponding traffic path information.The application disposably triggers multiple search, and only need to click primary triggering for a user, compared with prior art, it does not need repeatedly to input departure place and destination, then it clicks and repeatedly triggers respectively, reduce user's operation, and since the embodiment of the present application can disposably complete the search of whole route combinations and obtain corresponding traffic path information, improve search efficiency, allow users to the traffic path information for obtaining different route combinations simultaneously, the comparison of the traffic path information of different route combinations is carried out convenient for user, promote user experience.
Description
Technical field
This application involves technical field of data processing, more particularly to the searching method and one kind of a kind of traffic path information
The searcher of traffic path information.
Background technique
It is universal with mobile terminal with the development of internet technology, it can be all kinds of by installing on mobile terminals
App be user realize needed for function.For example, only needing to input departure place and purpose on the app of trip navigation type at present
Ground, app can be then that user searches for traffic path information based on departure place and destination automatically.But current trip navigation type
There are many problems in search by app.
By taking air ticket searches for app as an example, discovery is investigated based on a large amount of user, user goes to the machine of some destination in search
It, can combined route, the progress rate of exchange between different departure places, destination when ticket.For example, user wants to go to Japan from Beijing, navigating
Beijing-Tokyo, Beijing-Osaka, Tianjin-Tokyo, Tianjin-Osaka can be searched for when class's search, is compared between this 4 routes
Valence.But in air ticket search app currently on the market, search only allows user to input a departure place and a purpose every time
Ground, causes certain departure places to have m selection, and there is the user of n selection in destination, needs to search for m*n times, time-consuming and laborious, user
Experience effect is poor.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present application and overcomes the above problem or at least partly in order to provide one kind
A kind of searching method to solve the above problems and a kind of searcher.
To solve the above-mentioned problems, this application discloses a kind of searching methods, comprising:
Receive the searching request for the traffic path information that client is sent;It sets out in described search request including at least one
Ground and at least one destination;
Route combination is combined into using the departure place and the destination;
Using the route combination, search obtains corresponding traffic path information.
Preferably, the number of the departure place is m, and it is positive integer that the number of the destination, which is n, the m and n,
It is described that route combination, including one of set forth below or knot are combined into using the departure place and the destination
It closes:
One way route combination is combined into using the departure place and the destination;
Shuttle route combination is combined into using the departure place and the destination;
Or, being combined into notch journey route combination using the departure place and the destination.
Preferably, described the step of one way route combination is combined into using the departure place and the destination, comprising:
A target departure place is successively selected from the m departure place;
The target departure place is respectively adopted and the n destination is combined into backhaul route combination;
Using the backhaul route combination as one way route combination.
Preferably, described the step of shuttle route combination is combined into using the departure place and the destination, comprising:
A target departure place is successively selected from the m departure place;
Backhaul route combination and return route group are combined into the n destination respectively using the target departure place
It closes;
It is combined using the backhaul route combination and the return route combination as shuttle route.
Preferably, described to be combined using the departure place and the destination when the m and/or n is greater than or equal to 2
The step of notch journey route combination out, comprising:
A target departure place is successively selected from the m departure place, and, two are selected from the n destination
A target destination;Described two target destinations include first object destination and the second target destination;
Backhaul route combination is combined into using the target departure place and the first object destination, and, using institute
It states target departure place and second target destination is combined into return route combination;
It is combined using the backhaul route combination and the return route combination as the first shuttle route;And/or
Two target departure places are successively selected from the m departure place, and, one is selected from the n destination
A target destination;Described two target departure places include the first departure place and the second departure place;
Backhaul route combination is combined into using the first object departure place and the target destination, and, using institute
It states the second target departure place and the target destination is combined into return route combination;
It is combined using the backhaul route combination and the return route combination as the second shuttle route;
And/or
Two target departure places are successively selected from the m departure place, and, two are selected from the n destination
A target destination;Described two target departure places include third departure place and the 4th departure place, described two target destinations
Including third target destination and the 4th target destination;
Place's backhaul route combination is combined with third target destination using third target departure place, and, it adopts
Return route combination is combined into the 4th target departure place and the 4th target destination;
It is combined using the backhaul route combination and the return route combination as third shuttle route;
It combines first shuttle route, the combination of the second shuttle route and/or the combination of third shuttle route are used as notch
Journey route combination.
Preferably, described the step of notch journey route combination is combined into using the departure place and the destination it
Before, further includes:
Calculate between the m and n and value;
Judgement is described and whether value is less than or equal to default value;
If so, executing described the step of being combined into notch journey route combination using the departure place and the destination.
Preferably, it when the m and n is greater than or equal to 2, is combined into described using the departure place and the destination
Before the step of notch journey route combination, further includes:
Determine whether the departure place is vicinity, and/or, whether the destination is vicinity;
If the departure place is vicinity, and/or, the destination is vicinity, then executes described in the use
Departure place and the destination are combined into the step of notch journey route combination.
Preferably, it when the m and n is greater than or equal to 2, is combined into described using the departure place and the destination
Before the step of notch journey route combination, further includes:
Determine whether the departure place is popular place, and/or, whether the destination is popular place;
If the departure place is popular place, and/or, the destination is popular place, then executes described in the use
Departure place and the destination are combined into the step of notch journey route combination.
Preferably, after the use route combination searches for the step of obtaining corresponding traffic path information, also
Include:
It determines ordering rule, and the traffic path information is ranked up according to the ordering rule;
Target traffic path information is determined based on ranking results, and by the target traffic path information recommendation to user.
Preferably, further includes:
Cache the corresponding traffic path letter in the departure place and the destination and the departure place and the destination
Breath.
Disclosed herein as well is a kind of searching methods, comprising:
Obtain at least one departure place and at least one destination of user's input or selection;
Searching request is generated using the departure place and destination and is sent to server;
Receive traffic path information of the server based on described search request feedback.
Preferably, the step of described at least one departure place and at least one destination for obtaining user's input or selection is wrapped
It includes:
Obtain at least one departure place and at least one destination that user inputs on search interface;
And/or
Obtain at least one departure place and at least one destination that user selects on map;
And/or
Obtain at least one departure place and at least one destination of user speech input.
Disclosed herein as well is a kind of searching methods, comprising:
There is provided search interface, in described search interface provide departure place input or selection region and destination input or
Selection region, the departure place input or selection region are for obtaining at least one departure place, the input or choosing of the destination
Region is selected for obtaining at least one destination;
Receive at least one departure place and at least one destination of user's input or selection;
Searching request is generated using the departure place and destination and is sent to server;
Receive traffic path information of the server based on described search request feedback.
Preferably, the step of generating searching request based on the departure place and destination and be sent to server packet
It includes:
Route combination is combined into using the departure place and the destination;
Using the route combination producing searching request out and it is sent to server;Wherein, described search request further include
The temporal information of user's input.
Preferably, after the traffic path information of the reception server based on described search request feedback,
Further include:
It determines ordering rule, and the traffic path information is ranked up according to the ordering rule;
Target traffic path information is determined based on ranking results, and the target traffic path information is showed in client
The page in.
It is preferably, described that the target traffic path information is showed in the page of client, comprising:
It will be in the preset table of the page of target traffic path information write-in client;
Show the target traffic path information in the table;The table is one or more;
Switch the table according to user's operation and shows target traffic path information in different tables.
Disclosed herein as well is a kind of searchers, comprising:
Searching request receiving module, the searching request of the traffic path information for receiving client transmission;Described search
It include departure place and destination in request;
Route combination module, for being combined into route combination using the departure place and the destination;
Traffic path information search module obtains corresponding walking along the street out for triggering search respectively using the route combination
Line information.
Disclosed herein as well is a kind of searchers, comprising:
Place obtains module, for obtaining at least one departure place and at least one destination of user's input or selection;
Searching request generation module, for generating searching request using the departure place and destination and being sent to service
Device;
Traffic path information receiving module, for receiving traffic path of the server based on described search request feedback
Information.
Disclosed herein as well is a kind of searchers, comprising:
Search interface provides module, and for providing search interface, departure place input or choosing are provided in described search interface
The input or selection region of region and destination are selected, the departure place input or selection region are set out for obtaining at least one
Ground, the input of the destination or selection region are for obtaining at least one destination;
Place receiving module, for receiving at least one departure place and at least one destination of user's input or selection;
Searching request sending module, for generating searching request using the departure place and destination and being sent to service
Device;
Traffic path information receiving module, for receiving appearance route of the server based on described search request feedback
Information.
The embodiment of the present application includes the following advantages:
The embodiment of the present application inputs one or more departure places and one or more destinations in user, and triggers search
When traffic path information, can departure place based on input and destination be combined into one or more route combinations automatically, into one
Step ground, additionally it is possible to trigger search respectively based on route combination to obtain corresponding traffic path information.Using the embodiment of the present application
Multiple search can be disposably triggered, and only need to click primary triggering for a user, compared with prior art, no
It needs repeatedly to input departure place and destination, then clicks and repeatedly trigger respectively, reduce user's operation, and due to the application
Embodiment can disposably complete the search of whole route combinations and obtain corresponding traffic path information, improve search effect
Rate, allows users to the traffic path information for obtaining different route combinations simultaneously, carries out different route combinations convenient for user
The comparison of traffic path information, improves user experience.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of the searching method embodiment 1 of traffic path information of the application;
Fig. 2 is the process schematic that traffic path information is searched on a kind of air ticket app of the application;
Fig. 3 is the schematic diagram that departure place is repeatedly selected on a kind of air ticket app of the application;
Fig. 4 is a kind of step flow chart of the searching method embodiment 2 of traffic path information of the application;
Fig. 5 is a kind of schematic diagram of route combination of the application;
Fig. 6 is a kind of one of the result schematic diagram of air ticket search of the application;
Fig. 7 is the two of the result schematic diagram of a kind of air ticket search of the application;
Fig. 8 is the three of the result schematic diagram of a kind of air ticket search of the application;
Fig. 9 is a kind of step flow chart of the searching method embodiment 3 of traffic path information of the application;
Figure 10 is a kind of step flow chart of the searching method embodiment 4 of traffic path information of the application;
Figure 11 is a kind of structural block diagram of the searcher embodiment 1 of traffic path information of the application;
Figure 12 is a kind of structural block diagram of the searcher embodiment 2 of traffic path information of the application;
Figure 13 is a kind of structural block diagram of the searcher embodiment 3 of traffic path information of the application.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real
Applying mode, the present application will be further described in detail.
Referring to Fig.1, a kind of step flow chart of the searching method embodiment 1 of traffic path information of the application is shown,
It can specifically include following steps:
Step 101, the searching request for the traffic path information that client is sent is received;It include at least in described search request
One departure place and at least one destination.
In the embodiment of the present application, user go on a journey on navigation type app in the client of terminal device addition departure place and
After destination, the corresponding searching request for generating carrying departure place and destination is sent to server triggers and goes out walking along the street by app
The search of line information.
It should be noted that can disposably add multiple departure places and multiple destinations in the embodiment of the present application.Tool
Body, by taking air ticket app as an example, referring to Fig. 2, user can click departure place in the searched page of air ticket app first, choose north
Determination is simultaneously clicked in capital, Tianjin, then clicks destination (being referred to as reaching ground), chooses Hong Kong, Macao and click determination, machine
Ticket app will generate searching request according to departure place Beijing, Tianjin and destination Hong Kong, Macao, be sent to server triggers
The search of traffic path information.
When choosing departure place or destination, multiple departure places and destination can be disposably selected, is also possible to
Repeatedly enter selection, then selects multiple departure places and destination.Specifically, it referring to Fig. 3, selects to reach in air ticket app
It when the city on ground, initially enters the departure place city page and chooses Beijing, click and determine that completing first time selects, and is then again introduced into
The departure place city page chooses Tianjin, clicks and determines that completing second selects, is the arrival that user chooses at this time Beijing and day
Saliva.
Step 102, route combination is combined into using the departure place and the destination.
In the embodiment of the present application, after server receives the searching request that client is sent, from the searching request
Departure place and destination are extracted, departure place and destination is then based on and generates route combination.
Wherein, route combination refers to the road that public transport (such as bus, ship, aircraft etc.) is passed through, packet
Contain departure place and destination.
It should be noted that the combination operation of route combination, after the completion of can be in the client, is then carried on again and searches
Rope request is sent to server, and the embodiment of the present application is to this without limiting.
Step 103, it searches for obtain corresponding traffic path information using the route combination.
After server obtains route combination, if departure place and destination that user chooses be it is multiple, will
Multiple route combinations are obtained, the embodiment of the present application will be based respectively on multiple route combination triggering search, and obtain each route combination
Corresponding traffic path information.Specifically, traffic path information may include between departure place and destination the time of route, away from
From, price etc..
The embodiment of the present application inputs one or more departure places and one or more destinations in user, and triggers search
When traffic path information, can departure place based on input and destination be combined into one or more route combinations automatically, into one
Step ground, additionally it is possible to trigger search respectively based on route combination to obtain corresponding traffic path information.Using the embodiment of the present application
Multiple search can be disposably triggered, and only need to click primary triggering for a user, compared with prior art, no
It needs repeatedly to input departure place and destination, then clicks and repeatedly trigger respectively, reduce user's operation, and due to the application
Embodiment can disposably complete the search of whole route combinations and obtain corresponding traffic path information, improve search effect
Rate, allows users to the traffic path information for obtaining different route combinations simultaneously, carries out different route combinations convenient for user
The comparison of traffic path information, improves user experience.
Referring to Fig. 4, a kind of step flow chart of the searching method embodiment 2 of traffic path information of the application is shown,
It can specifically include following steps:
Step 201, the searching request for the traffic path information that client is sent is received;It include at least in described search request
One departure place and at least one destination.
In the embodiment of the present application, when user needs to search for traffic path information, it can input and set out in the client
Ground and destination, and searching request is generated based on departure place and destination and is sent to server, so that server is based on search and asks
Ask the search for carrying out traffic path information.Wherein, the departure place and destination carried in searching request can be multiple.
Step 202, one way route combination is combined into using the departure place and the destination;With or, using it is described go out
Hair ground and the destination are combined into shuttle route combination;And/or notch is combined into using the departure place and the destination
Journey route combination.
In the concrete realization, when searching for traffic path information, user can choose search one way route combination, can also be with
Selection search shuttle route combination, it is also an option that search notch journey route combination, the embodiment of the present application will be selected according to user
Execute corresponding search.
In a preferred embodiment of the present application, when searching for one way route, then need based on departure place and destination
One way route combination as search condition to scan at combination, then the step 202 may include following sub-step:
A target departure place is successively selected from the m departure place;
The target departure place is respectively adopted and the n destination is combined into backhaul route combination;
Using the backhaul route combination as one way route combination.
One way route combination refers to the stroke in single direction, such as the backhaul route combination arrived at the destination from departure place.
Assuming that user inputs m departure place, n arrival, then the expression formula of one way route combination are as follows: C (m, 1) * C (n,
1), wherein C (m, 1) expression selects a target departure place with reaching from m, and C (n, 1) indicates to select one from n destination
Target destination, then the two progress one way combines to obtain backhaul route combination, i.e. one way route combination.
In a preferred embodiment of the present application, when searching for shuttle route, then need based on departure place and destination
Shuttle route combination is combined into scan for as search condition, then the step 202 may include following sub-step:
A target departure place is successively selected from the m departure place;
Backhaul route combination and return route group are combined into the n destination respectively using the target departure place
It closes;
It is combined using the backhaul route combination and the return route combination as shuttle route.
Shuttle route combines the stroke for referring to both direction, specifically includes the backhaul route arrived at the destination from departure place
Combination and the return route combination to return to one's starting point from destination.
Assuming that user inputs m departure place, n arrival ground, the then expression formula that shuttle route combines are as follows: C (m, 1) * C (n,
1), wherein C (m, 1) expression selects a target departure place with reaching from m, and C (n, 1) indicates to select one from n destination
Target destination, then the two is combined to obtain backhaul route combination and return route combination, i.e. roundtrip route combination.
In a preferred embodiment of the present application, when searching for notch journey route combination, then need based on departure place and
Notch journey route combination is combined to scan for as search condition in destination, then the step 202 may include following sub-step
It is rapid:
A target departure place is successively selected from the m departure place, and, two are selected from the n destination
A target destination;Described two target destinations include first object destination and the second target destination;
Backhaul route combination is combined into using the target departure place and the first object destination, and, using institute
It states target departure place and second target destination is combined into return route combination;
It is combined using the backhaul route combination and the return route combination as the first shuttle route;
And/or
Two target departure places are successively selected from the m departure place, and, one is selected from the n destination
A target destination;Described two target departure places include the first departure place and the second departure place;
Backhaul route combination is combined into using the first object departure place and the target destination, and, using institute
It states the second target departure place and the target destination is combined into return route combination;
It is combined using the backhaul route combination and the return route combination as the second shuttle route;
And/or
Two target departure places are successively selected from the m departure place, and, two are selected from the n destination
A target destination;Described two target departure places include third departure place and the 4th departure place, described two target destinations
Including third target destination and the 4th target destination;
Place's backhaul route combination is combined with third target destination using third target departure place, and, it adopts
Return route combination is combined into the 4th target departure place and the 4th target destination;
It is combined using the backhaul route combination and the return route combination as third shuttle route;
It combines first shuttle route, the combination of the second shuttle route and/or the combination of third shuttle route are used as notch
Journey route combination.
Notch journey route combination refers to the stroke of both direction, combined with roundtrip it is similar, the difference is that departure place
It can be different with destination.Assuming that user inputs m departure place, n arrival ground, the mathematic(al) representation of notch journey route combination
Are as follows:
1) departure place is identical, it is different to reach ground: C (m, 1) * A (n, 2)
2) departure place is different, reaches identical: A (m, 2) * C (n, 1)
3) departure place is different, it is different to reach ground: A (m, 2) * A (n, 2)
Total C (m, 1) * A (n, 2)+A (m, 2) * C (n, 1)+A (m, 2) * A (n, 2)
Wherein, C (m, 1) * A (n, 2) indicates to select a target departure place with reaching from m, and C (n, 1) is indicated from n mesh
Ground select two target destinations, both then be combined to obtain backhaul route combination and return route combination, i.e., back and forth
Journey route combination.Wherein, it is different to the arrival of backhaul route combination and return route combination.A (m, 2) * C (n, 1) and A
The similar of (m, 2) * A (n, 2) does not just repeat.
It obtains multiple roundtrip route combinations through the above way to merge, as the notch journey route combination of the application.
It should be noted that above-mentioned three kinds of mathematic(al) representations and being not suitable in this case when m or n is 1.
In the embodiment of the present application, it can be combined to obtain multiple roads according to one way route combination, round-trip, notch journey route
Line combination, such as departure place input: Beijing, Tianjin;Ground input: Osaka, Tokyo is reached, then the result of route combination can be with
Have:
Each 4 of one way, shuttle route combination:
Beijing-Osaka
Beijing-Tokyo
Tianjin-Osaka
Tianjin-Tokyo
Notch journey route combination 8:
Beijing-Osaka Osaka-Tianjin
Beijing-Tokyo Tokyo-Tianjin
Beijing-Osaka Tokyo-Tianjin
Beijing-Tokyo Osaka-Tianjin
Beijing-Tokyo Osaka-Beijing
Beijing-Osaka Tokyo-Beijing
Tianjin-Tokyo Osaka-Tianjin
Tianjin-Osaka Tianjin-Tokyo
Pass through a variety of route combination modes of the embodiment of the present application, available more route combinations, to mutually should be
User provides more traffic path information.
In a preferred embodiment of the present application, notch is combined into using the departure place and the destination described
Before the step of journey route combination, can also include:
Calculate between the m and n and value;
Judgement is described and whether value is less than or equal to default value;
If so, executing described the step of being combined into notch journey route combination using the departure place and the destination.
In practical applications, if the departure place of user's input and the quantity of destination are excessive, if carrying out route combination
The calculation amount so obtained can be very big, therefore if it find that m's and n is greater than default value p with value, then in the embodiment of the present application
The step of calculating notch journey route combination is not executed, if it is less than default value p, then executes the step for calculating notch journey route combination
Suddenly.
In a preferred embodiment of the present application, when the m and n is greater than or equal to 2, set out described in the use
Ground and the destination were combined into before the step of notch journey route combination, can also include:
Determine whether the departure place is vicinity, and/or, whether the destination is vicinity;
If the departure place is vicinity, and/or, the destination is vicinity, then executes described in the use
Departure place and the destination are combined into the step of notch journey route combination.
In the embodiment of the present application, notch journey route combination is that round-trip place (such as airport city) is different,
It is in practice neighbouring place if it is departure place or destination, user transfers to more convenient.Therefore it can be set in the application
Being set to departure place is the step of being neighbouring city adjacent to city or destination, need to just execute calculating notch journey route combination.Tool
Body, neighbouring city (neighbouring airport city) refers to, after getting departure place geographical coordinate, can find out within linear distance L
The city of other organic fields.
In another preferred embodiment of the present application, when the m and n is greater than or equal to 2, go out described in described
Before the step of hair ground and the destination are combined into notch journey route combination, can also include:
Determine whether the departure place is popular place, and/or, whether the destination is popular place;
If the departure place is popular place, and/or, the destination is popular place, then executes described in the use
Departure place and the destination are combined into the step of notch journey route combination.
In another embodiment of the application, notch journey route combination is that round-trip place (such as airport city) is different
, it is in practice popular place if it is departure place or destination, is all purpose when user goes to some country to play
Ground, then in the application, to can be set to departure place be popular city or destination is popular city, need to just execute calculating and lack
The step of mouth journey route combination.In addition, program can also be automatic if user has merely entered a departure place, an arrival ground
The neighbouring cities in the two places and other hot topic cities in the country in which it is located are found, and by the city of the multiple departure places searched out
City, the city for reaching ground, are combined in a manner described, recommend in search result for user.
It should be noted that the above-mentioned judgment step about vicinity or popular place referred to is merely possible to one
Kind optional example, an execution can be selected in practical application, executes or does not execute together, the embodiment of the present application to this not
It limits.
Step 203, it searches for obtain corresponding traffic path information using the route combination.
After server obtains one way route combination, shuttle route combination and notch journey route combination, by base respectively
It triggers and searches in multiple route combinations, obtain the corresponding traffic path information of each route combination.
Step 204, it determines ordering rule, and the traffic path information is ranked up according to the ordering rule.
After obtaining traffic path information, the traffic path of most suitable user can also be further screened out from it for user
Information is as target traffic path information.In practical applications, it is most suitable for refer to that price height is ranked up, and by price
Lower traffic path information feeds back to user (for most users).This is, can also be according to the consumption energy of user
Power, consumption habit, fly nonstop to transfer preference, boat department preference, transfer preference etc. it is comprehensive go out target traffic path information.
Step 205, target traffic path information is determined based on ranking results, and by the target traffic path information recommendation
To user.
Referring to Fig. 5, in the embodiment of the present application, according to m departure place of user's input and n arrival ground, successively carry out
Following combination:
1) m*n one way route is combined, combination:As shown in Fig. 5 route 1-4.
2) m*n shuttle route is combined, combination:As shown in Fig. 5 route 5-8.
If 3) m+n < p, notch journey route is combined, combination is as shown in Fig. 5 route 9-20.
Wherein, p is numeric parameter, is a default value, and the purpose that this condition is arranged is to avoid server calculation amount
Excessive, general p is up to 5 and is advisable.
It combines in the manner described above, and after search pattern low price, several routes of most suitable user is returned into front end exhibition
Show;Or return all, it sorts by most suitable mode, user can screen one way, round-trip, notch Cheng Lu according to the hobby of oneself
Line.
In practice, search result is shown for user, i.e., there are many modes of traffic path information.It is with air ticket search
The flight of all routes can be arranged in the same list by example referring to Fig. 6 by certain sortord (price height),
And indicating is what route, such as Tianjin-Hong Kong, Tianjin-Macao;Referring to Fig. 7, the route combination for being combined into and can be shown
And the lowest price and Flight Information of every route combination, the flight list page in the course line is jumped to after click;It, can referring to Fig. 8
To show the lowest price of the route combination and every route combination that are combined into, the flight list in the course line is jumped to after click
Page.Certainly, the exhibition method of mentioned above searching results is merely possible to example, can also use in practical applications other modes for
User show search result, for example, can in a manner of multiple page presentations, that is, be not shown in the same page, for example,
One page is for showing Tianjin-Hong Kong, and a page is for showing Tianjin-Macao, further, it is also possible to be shown on map
Tendency chart comparison indicates price and other information on corresponding place, and the embodiment of the present application is to this without limiting.
Step 206, it is corresponding out that the departure place and the destination and the departure place and the destination are cached
Row route information.
In practical applications, server can cache the departure place and destination formerly searched for, and go out walking along the street accordingly
Line information.Specifically, server can store the primary conduct in the search result of the same terms, searched for recently within one day
Caching, then it is not necessarily to repeat search when searching for using identical departure place and destination, it can be to avoid due to multiple departure places
Bring server overload problem is scanned for destination combination.
The embodiment of the present application combines multiple departure places and multiple destinations, generates a plurality of route combination, be then based on road
Traffic path information is searched in line combination respectively, facilitates user's correlation data.
In order to make those skilled in the art more fully understand the embodiment of the present application, below using specific example for this Shen
It please realize the process of traffic path information search.By taking air ticket is searched for as an example, specific search process is as follows:
1) user clicks departure place option into the city selection page that sets out in air ticket searched page;
2) user clicks and determines after the city selection page that sets out chooses n city;
3) departure place chosen is brought into search page;User continues with clicking arrival option and enters arrival city selection page;
4) user clicks and determines after reaching city selection page and choosing m city;
5) arrival chosen is brought into search page;User clicks " starting to search for " button;
6) search results pages are jumped to, route combination is carried out based on departure place and arrival ground automatically, n*m times is carried out and searches for,
And show search result in the same page, show in the form of tab (table), such user can be easily more each
Search result that is to say the price of traffic path information, time, distance etc.;
7) user can check the search result of other routes by switching tab.
Using the embodiment of the present application, it can disposably input multiple departure places, reach ground, and be based on multiple departure places, arrive
Route combination is carried out up to ground, is then able to trigger the search knot of the different route combinations of search, etc. respectively based on route combination
Fruit.
Referring to Fig. 9, a kind of structural block diagram of the searching method embodiment 3 of traffic path information of the application is shown, is had
Body may include steps of:
Step 301, at least one departure place and at least one destination of user's input or selection are obtained;
Step 302, searching request is generated using the departure place and destination and is sent to server;
Step 303, traffic path information of the server based on described search request feedback is received.
In the embodiment of the present application, at least one departure place and at least one purpose of user's input are obtained in client-side
Then at least one departure place and at least one destination are generated searching request and are sent to server by ground, server receives
It will be combined to obtain route combination based at least one departure place and at least one destination after searching request, and be then based on road
Line combination triggering search obtains corresponding traffic path information, and traffic path information is finally fed back to client.
In a preferred embodiment of the present application, described at least one departure place and extremely for obtaining user's input or selection
The step of few destination, i.e., step 301 may include:
Obtain at least one departure place and at least one destination that user inputs on search interface;
And/or
Obtain at least one departure place and at least one destination that user selects on map;
And/or
Obtain at least one departure place and at least one destination of user speech input.
It should be noted that in the embodiment of the present application, the input or selection of departure place and destination, can there are many
Implementation.For example, a kind of mode is by providing a search interface, the selective listing with departure place on the search interface
With the selective listing of destination, user selects required departure place passport destination from selective listing, and another way is
User clicks and goes to select some place on map, then can be using this place as departure place or destination, also
A kind of mode is, user using voice mode input departure place perhaps destination then client or server should
Voice is converted to text, then again using the text of conversion as departure place or destination.
Certainly, above-mentioned input or selection about departure place or destination is merely possible to example, in concrete application
In, it can also be realized using other modes, the embodiment of the present application is without restriction to this.
Referring to Fig.1 0, a kind of structural block diagram of the searching method embodiment 4 of traffic path information of the application is shown, is had
Body may include steps of:
Step 401, search interface is provided, departure place input or selection region and destination are provided in described search interface
Input or selection region, departure place input or selection region for obtaining at least one departure place, the destination
Input or selection region are for obtaining at least one destination;
It should be noted that user by being manually entered in addition to that can be set out in search interface in the embodiment of the present application
It except ground or destination, can also be inputted by such as voice, the modes such as selection complete the defeated of departure place or destination on map
Enter, the embodiment of the present application is without restriction to this.
In the embodiment of the present application, user goes on a journey navigation type app in the client of terminal device, and it is defeated to provide departure place
Enter or the input or selection region of selection region and destination, in input or selection region, user can according to self-demand,
At least one departure place and at least one destination are selected by the list of localities provided in input or app.
Step 402, at least one departure place and at least one destination of user's input or selection are received;
After user completes the input or selection of departure place and destination, it will therefrom determine to set out based on user's selection
Ground and destination.
Step 403, searching request is generated using the departure place and destination and is sent to server;
Departure place and destination are being obtained, the searching request that departure place and destination generate can be sent to server,
It can be combined in the server based on departure place and destination, obtain route combination.When departure place or destination are not
Only one when, obtained route combination be it is multiple, then search can be triggered based on route combination at this time respectively, obtain each road
Line combines corresponding traffic path combination.
It is described concurrent based on the departure place and destination generation searching request in a preferred embodiment of the present application
It send to the step of server and includes:
Route combination is combined into using the departure place and the destination;
Using the route combination producing searching request out and it is sent to server.
In the embodiment of the present application, in addition to can in the server based on departure place and destination be combined into route combination it
Outside, route combination can also be combined into based on departure place and destination in the client, is then searched again based on route combination generation
Rope request Concurrency is sent to server, and the embodiment of the present application is without restriction to this.
Certainly, in practice, the temporal information and other information that user can also be inputted and departure place and destination
Generate searching request together, the embodiment of the present application is to this without limiting.
Step 404, traffic path information of the server based on described search request feedback is received.
After server, which is based on searching request, searches traffic path information, which is fed back into client
End, and user is showed on the page of client.
In a preferred embodiment of the present application, the server is received based on described search request feedback described
After there is route information, i.e., can also include: after step 304
It determines ordering rule, and the traffic path information is ranked up according to the ordering rule;
Target traffic path information is determined based on ranking results, and the target traffic path information is showed in client
The page in.
It can also be that user is screened out from it most in client-side after receiving the traffic path information of server feedback
It is suitble to the traffic path information of user as target traffic path information.In practical applications, it is most suitable for refer to price height
It is low to be ranked up, and the lower traffic path information of price is fed back into user (for most users).This is may be used also
With according to the consuming capacity of user, consumption habit, fly nonstop to transfer preference, boat department preference, transfer preference etc. it is comprehensive go out target go out
Row route information.
In a preferred embodiment of the present application, the page that the target traffic path information is showed in client
In face, comprising:
It will be in the preset table of the page of target traffic path information write-in client;
Show the target traffic path information in the table;The table is one or more;
Switch the table according to user's operation and shows target traffic path information in different tables.
In practice, target traffic path information after sorted may have a plurality of, in order to preferably tie search
Fruit data show user, target traffic path information can be inserted customer terminal webpage in a kind of preferable example of the application
Table in, due to the limitation of customer terminal webpage, it is possible to all target traffic path information cannot be inserted in a table,
It paging can so be shown in the same page, then user can carry out the switching of table according to the switching push button on also.
It should be noted that in the embodiment of the present application, about target traffic path information exhibition method, in addition to that can write
Enter except table paging shows, obtained target traffic path information can also be converted to tendency chart, tendency chart can allow use
Read more intuitive, better user experience in family.
Using the embodiment of the present application, user inputs one or more departure places and one or more purposes in client-side
Ground, the departure place and destination for being then based on user's input generate searching request and are sent to server, and server then will be for out
Corresponding traffic path information is fed back in hair ground and destination.Using the embodiment of the present application can disposably input multiple departure places and
Multiple destinations, and only need to click primary triggering for the user of client-side, compared with prior art, it is not required to
Departure place and destination are repeatedly inputted, then clicks and repeatedly triggers respectively, reduces user's operation, and due to the application reality
The search of whole route combinations can disposably be completed and obtain corresponding traffic path information by applying example, improve search efficiency,
The traffic path information for obtaining different route combinations simultaneously is allowed users to, the trip of different route combinations is carried out convenient for user
The comparison of route information, improves user experience.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according to
According to the embodiment of the present application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and related movement not necessarily the application is implemented
Necessary to example.
Referring to Fig.1 1, a kind of structural block diagram of the searcher embodiment 1 of traffic path information of the application is shown, is had
Body may include following module:
Searching request receiving module 501, the searching request of the traffic path information for receiving client transmission;It is described to search
It include at least one departure place and at least one destination in rope request;
Route combination module 502, for being combined into route combination using the departure place and the destination;
Traffic path information search module 503 obtains corresponding traffic path letter for searching for using the route combination
Breath.
In a preferred embodiment of the present application, the number of the departure place is m, and the number of the destination is n, institute
It states m and n is positive integer, the route combination module 502 includes:
One way route combination submodule, for being combined into one way route combination using the departure place and the destination;
With or, shuttle route combines submodule, for being combined into shuttle route using the departure place and the destination
Combination;
And/or notch journey route combination submodule, for being combined into notch journey using the departure place and the destination
Route combination.
In a preferred embodiment of the present application, the one way route combination submodule includes:
First departure place selecting unit, for successively selecting a target departure place from the m departure place;
First backhaul route combination unit is combined into for the target departure place to be respectively adopted with the n destination
Backhaul route combination;
One way route combination obtaining unit, for using the backhaul route combination as one way route combination.
In a preferred embodiment of the present application, the shuttle route combination submodule includes:
Second departure place selecting unit, for successively selecting a target departure place from the m departure place;
First roundtrip route combination unit, for being combined respectively with the n destination using the target departure place
Backhaul route combination and return route combination out;
Shuttle route combines obtaining unit, for using the backhaul route combination and the return route combination as round-trip
Route combination.
In a preferred embodiment of the present application, when the m and n is greater than or equal to 2, the notch journey route combination
Submodule includes:
First object place selecting unit, for successively selecting a target departure place from the m departure place, with
And two target destinations are selected from the n destination;Described two target destinations include first object destination and
Second target destination;
Second roundtrip route combination unit, for being combined using the target departure place with the first object destination
Backhaul route combination out, and, return route combination is combined into using the target departure place and second target destination;
First shuttle route assembled unit, for using the backhaul route combination and the return route combination as first
Shuttle route combination;
And/or
Second target location selecting unit, for successively selecting two target departure places from the m departure place, with
And a target destination is selected from the n destination;Described two target departure places include the first departure place and second
Departure place;
Third roundtrip route combination unit, for being combined using the first object departure place with the target destination
Backhaul route combination out, and, return route combination is combined into using second target departure place and the target destination;
Second shuttle route assembled unit, for using the backhaul route combination and the return route combination as second
Shuttle route combination;
And/or
Third target location selecting unit, for successively selecting two target departure places from the m departure place, with
And two target destinations are selected from the n destination;Described two target departure places include third departure place and the 4th
Departure place, described two target destinations include third target destination and the 4th target destination;
4th roundtrip route combination unit, for using third target departure place and third target destination
Backhaul route combination at combination, and, return is combined into using the 4th target departure place and the 4th target destination
Route combination;
Third shuttle route assembled unit, for using the backhaul route combination and the return route combination as third
Shuttle route combination;
Notch journey route combination obtaining unit, for will first shuttle route combine, the second shuttle route combination with/
Or the combination of third shuttle route is used as notch journey route combination.
In a preferred embodiment of the present application, further includes:
With value computational submodule, for calculating between the m and n and value;
With value judging submodule, for judging described and value whether less than or equal to default value;If so, calling notch
Journey route combination submodule.
In a preferred embodiment of the present application, when the m and n is greater than or equal to 2, further includes:
Vicinity determines submodule, for determining whether the departure place is vicinity, and/or, the destination
It whether is vicinity;If the departure place is vicinity, and/or, the destination is vicinity, then calls notch journey
Route combination submodule.
In another preferred embodiment of the present application, when the m and n is greater than or equal to 2, further includes:
Popular place determines submodule, for determining whether the departure place is popular place, and/or, the destination
It whether is popular place;If the departure place is popular place, and/or, the destination is popular place, then calls notch journey
Route combination submodule.
In a preferred embodiment of the present application, further includes:
Sorting module arranges the traffic path information for determining ordering rule, and according to the ordering rule
Sequence;
Target traffic path information recommendation module, for determining target traffic path information based on ranking results, and by institute
Target traffic path information recommendation is stated to user.
In a preferred embodiment of the present application, further includes:
Cache module, for caching the departure place and the destination and the departure place and the destination pair
The traffic path information answered.
Referring to Fig.1 2, a kind of structural block diagram of the searcher embodiment 2 of traffic path information of the application is shown, is had
Body may include following module:
Place obtains module 601, for obtaining at least one departure place and at least one purpose of user's input or selection
Ground;
Searching request generation module 602, for generating searching request using the departure place and destination and being sent to clothes
Business device;
Traffic path information receiving module 603, for receiving trip of the server based on described search request feedback
Route information.
In a preferred embodiment of the present application, the place obtains module 601 and includes:
Interface input submodule, for obtaining at least one departure place and at least one that user inputs on search interface
Destination;
And/or
Map selects submodule, for obtaining at least one departure place and at least one purpose that user selects on map
Ground;
And/or
Voice input submodule, for obtaining at least one departure place and at least one destination of user speech input.
Referring to Fig.1 3, a kind of structural block diagram of the searcher embodiment 3 of traffic path information of the application is shown, is had
Body may include following module:
Search interface provide module 701, for providing search interface, in described search interface provide departure place input or
The input or selection region of selection region and destination, the departure place input or selection region are set out for obtaining at least one
Ground, the input of the destination or selection region are for obtaining at least one destination;
Place receiving module 702, for receiving at least one departure place and at least one purpose of user's input or selection
Ground;
Searching request sending module 703, for generating searching request using the departure place and destination and being sent to clothes
Business device;
There is route information receiving module 704, for receiving appearance of the server based on described search request feedback
Route information.
In a preferred embodiment of the present application, described search request sending module 703 includes:
Route combination combines submodule, for being combined into route combination using the departure place and the destination;
Searching request generates submodule, for going out route combination producing searching request described in and being sent to server.
In a preferred embodiment of the present application, described device can also include:
Sorting module arranges the traffic path information for determining ordering rule, and according to the ordering rule
Sequence;
Target traffic path information recommendation module, for determining target traffic path information based on ranking results, and by institute
Target traffic path information is stated to be showed in the page of client.
In a preferred embodiment of the present application, the target traffic path information recommendation module includes:
Table inserts unit, in the preset table of the page for client to be written in the target traffic path information;
Target traffic path information shows unit, for showing the target traffic path information in the table;Institute
Table is stated as one or more;
Table switch unit shows target traffic path in different tables for switching the table according to user's operation
Information.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, apparatus or calculating
Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
In a typical configuration, the computer equipment includes one or more processors (CPU), input/output
Interface, network interface and memory.Memory may include the non-volatile memory in computer-readable medium, random access memory
The forms such as device (RAM) and/or Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is to calculate
The example of machine readable medium.Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be with
Realize that information is stored by any method or technique.Information can be computer readable instructions, data structure, the module of program or
Other data.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory
(SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM are read-only
Memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or
Other magnetic storage devices or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to
Herein defines, and computer-readable medium does not include non-persistent computer readable media (transitory media), such as
The data-signal and carrier wave of modulation.
The embodiment of the present application is referring to according to the method for the embodiment of the present application, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and all change and modification within the scope of the embodiments of the present application.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to the searching method of a kind of traffic path information provided herein and a kind of searching for traffic path information
Rope device, is described in detail, and specific examples are used herein to illustrate the principle and implementation manner of the present application,
The description of the example is only used to help understand the method for the present application and its core ideas;Meanwhile for the one of this field
As technical staff, according to the thought of the application, there will be changes in the specific implementation manner and application range, to sum up institute
It states, the contents of this specification should not be construed as limiting the present application.
Claims (22)
1. a kind of searching method characterized by comprising
Receive the searching request for the traffic path information that client is sent;Described search request in include at least one departure place and
At least one destination;
Route combination is combined into using the departure place and the destination;
Using the route combination, search obtains corresponding traffic path information.
2. the method according to claim 1, wherein the number of the departure place is m, the number of the destination
It is positive integer for n, the m and n,
It is described that route combination, including one of set forth below or combination are combined into using the departure place and the destination:
One way route combination is combined into using the departure place and the destination;
Shuttle route combination is combined into using the departure place and the destination;
Or, being combined into notch journey route combination using the departure place and the destination.
3. according to the method described in claim 2, it is characterized in that, described be combined into using the departure place and the destination
The step of one way route combination, comprising:
A target departure place is successively selected from the m departure place;
The target departure place is respectively adopted and the n destination is combined into backhaul route combination;
Using the backhaul route combination as one way route combination.
4. according to the method described in claim 2, it is characterized in that, described be combined into using the departure place and the destination
The step of shuttle route combines, comprising:
A target departure place is successively selected from the m departure place;
Backhaul route combination and return route combination are combined into the n destination respectively using the target departure place;
It is combined using the backhaul route combination and the return route combination as shuttle route.
5. according to the method described in claim 2, it is characterized in that, when the m and/or n be greater than or equal to 2 when, the use
The departure place and the destination are combined into the step of notch journey route combination, comprising:
A target departure place is successively selected from the m departure place, and, two mesh are selected from the n destination
Mark destination;Described two target destinations include first object destination and the second target destination;
Backhaul route combination is combined into using the target departure place and the first object destination, and, using the mesh
Mark departure place and second target destination are combined into return route combination;
It is combined using the backhaul route combination and the return route combination as the first shuttle route;And/or
Two target departure places are successively selected from the m departure place, and, a mesh is selected from the n destination
Mark destination;Described two target departure places include the first departure place and the second departure place;
Backhaul route combination is combined into using the first object departure place and the target destination, and, using described the
Two target departure places and the target destination are combined into return route combination;
It is combined using the backhaul route combination and the return route combination as the second shuttle route;
And/or
Two target departure places are successively selected from the m departure place, and, two mesh are selected from the n destination
Mark destination;Described two target departure places include third departure place and the 4th departure place, and described two target destinations include
Third target destination and the 4th target destination;
Place's backhaul route combination is combined with third target destination using third target departure place, and, using institute
It states the 4th target departure place and the 4th target destination is combined into return route combination;
It is combined using the backhaul route combination and the return route combination as third shuttle route;
It combines first shuttle route, the combination of the second shuttle route and/or the combination of third shuttle route are used as notch Cheng Lu
Line combination.
6. according to the method described in claim 2, it is characterized in that, being combined described using the departure place and the destination
Out before the step of notch journey route combination, further includes:
Calculate between the m and n and value;
Judgement is described and whether value is less than or equal to default value;
If so, executing described the step of being combined into notch journey route combination using the departure place and the destination.
7. the method according to claim 2 or 6, which is characterized in that when the m and n is greater than or equal to 2, adopted described
Before the step of being combined into notch journey route combination with the departure place and the destination, further includes:
Determine whether the departure place is vicinity, and/or, whether the destination is vicinity;
If the departure place is vicinity, and/or, the destination is vicinity, then executes and set out described in the use
Ground and the destination are combined into the step of notch journey route combination.
8. the method according to claim 2 or 6, which is characterized in that when the m and n is greater than or equal to 2, adopted described
Before the step of being combined into notch journey route combination with the departure place and the destination, further includes:
Determine whether the departure place is popular place, and/or, whether the destination is popular place;
If the departure place is popular place, and/or, the destination is popular place, then executes and set out described in the use
Ground and the destination are combined into the step of notch journey route combination.
9. the method according to claim 1, wherein searching for obtain in the use route combination corresponding
After the step of traffic path information, further includes:
It determines ordering rule, and the traffic path information is ranked up according to the ordering rule;
Target traffic path information is determined based on ranking results, and by the target traffic path information recommendation to user.
10. the method according to claim 1, wherein further include:
Cache the corresponding traffic path information in the departure place and the destination and the departure place and the destination.
11. a kind of searching method characterized by comprising
Obtain at least one departure place and at least one destination of user's input or selection;
Searching request is generated using the departure place and destination, and is sent to server;
Receive traffic path information of the server based on described search request feedback.
12. according to the method for claim 11, which is characterized in that at least one described for obtaining user's input or selecting goes out
Include: with the step of at least one destination to hair
Obtain at least one departure place and at least one destination that user inputs on search interface;
And/or
Obtain at least one departure place and at least one destination that user selects on map;
And/or
Obtain at least one departure place and at least one destination of user speech input.
13. a kind of ticket information searching method characterized by comprising
Obtain at least one departure place and at least one destination of user's input or selection;
Searching request is generated using the departure place and destination, and is sent to server;
Receive the ticket information that the server is returned based on described search request.
14. a kind of ticket information searching method characterized by comprising
Receive the searching request for the ticket information that client is sent;Including at least one departure place and at least in described search request
One destination;
Route combination is combined into using the departure place and the destination;
Using the route combination, search obtains corresponding ticket information, and returns to the client.
15. a kind of searching method characterized by comprising
Search interface is provided, departure place input or the input or selection of selection region and destination are provided in described search interface
Region, the departure place input or selection region are for obtaining at least one departure place, the input of the destination or selection area
Domain is for obtaining at least one destination;
Receive at least one departure place and at least one destination of user's input or selection;
Searching request is generated using the departure place and destination and is sent to server;
Receive traffic path information of the server based on described search request feedback.
16. according to the method for claim 15, which is characterized in that described to generate search based on the departure place and destination
Request Concurrency was sent to the step of server
Route combination is combined into using the departure place and the destination;
Using the route combination producing searching request out and it is sent to server;Wherein, described search request further includes user
The temporal information of input.
17. according to the method for claim 15, which is characterized in that asked in the reception server based on described search
After the traffic path information of feedback of negating, further includes:
It determines ordering rule, and the traffic path information is ranked up according to the ordering rule;
Target traffic path information is determined based on ranking results, and the target traffic path information is showed in the page of client
In face.
18. according to the method for claim 15, which is characterized in that described that the target traffic path information is showed in visitor
In the page at family end, comprising:
It will be in the preset table of the page of target traffic path information write-in client;
Show the target traffic path information in the table;The table is one or more;
Switch the table according to user's operation and shows target traffic path information in different tables.
19. a kind of searcher characterized by comprising
Searching request receiving module, the searching request of the traffic path information for receiving client transmission;Described search request
In include departure place and destination;
Route combination module, for being combined into route combination using the departure place and the destination;
Traffic path information search module obtains corresponding traffic path letter for triggering search respectively using the route combination
Breath.
20. a kind of searcher characterized by comprising
Place obtains module, for obtaining at least one departure place and at least one destination of user's input or selection;
Searching request generation module, for generating searching request using the departure place and destination and being sent to server;
Traffic path information receiving module, for receiving traffic path letter of the server based on described search request feedback
Breath.
21. according to the method for claim 20, which is characterized in that the place obtains module and includes:
Interface input submodule, for obtaining at least one departure place and at least one purpose that user inputs on search interface
Ground;
And/or
Map selects submodule, for obtaining at least one departure place and at least one destination that user selects on map;
And/or
Voice input submodule, for obtaining at least one departure place and at least one destination of user speech input.
22. a kind of searcher characterized by comprising
Search interface provides module, and for providing search interface, departure place input or selection area are provided in described search interface
The input or selection region in domain and destination, the departure place input or selection region are for obtaining at least one departure place, institute
The input for stating destination or selection region are for obtaining at least one destination;
Place receiving module, for receiving at least one departure place and at least one destination of user's input or selection;
Searching request sending module, for generating searching request using the departure place and destination and being sent to server;
Traffic path information receiving module, for receiving appearance route letter of the server based on described search request feedback
Breath.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710972607.XA CN109684562B (en) | 2017-10-18 | 2017-10-18 | Searching method and device |
TW107128415A TW201917607A (en) | 2017-10-18 | 2018-08-15 | Search method and device |
PCT/CN2018/109581 WO2019076216A1 (en) | 2017-10-18 | 2018-10-10 | Search method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710972607.XA CN109684562B (en) | 2017-10-18 | 2017-10-18 | Searching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109684562A true CN109684562A (en) | 2019-04-26 |
CN109684562B CN109684562B (en) | 2022-05-27 |
Family
ID=66174306
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710972607.XA Active CN109684562B (en) | 2017-10-18 | 2017-10-18 | Searching method and device |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN109684562B (en) |
TW (1) | TW201917607A (en) |
WO (1) | WO2019076216A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110489647A (en) * | 2019-08-15 | 2019-11-22 | 海南太美航空股份有限公司 | A kind of route information recommended method, system, storage medium and computer equipment |
CN110823239A (en) * | 2019-11-12 | 2020-02-21 | 珠海格力电器股份有限公司 | Navigation method, navigation device and electronic equipment |
CN111102989A (en) * | 2019-12-11 | 2020-05-05 | 维沃移动通信有限公司 | Route display method and electronic equipment |
CN114066344A (en) * | 2020-08-08 | 2022-02-18 | 贵州百年四面通科技有限公司 | Method, device and system for setting transportation route and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106610986A (en) * | 2015-10-21 | 2017-05-03 | 深圳市赛格导航科技股份有限公司 | Multi-destination route planning method and system |
CN107133339A (en) * | 2017-05-17 | 2017-09-05 | 北京趣拿软件科技有限公司 | Circuit query method and apparatus and storage medium, processor |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080300778A1 (en) * | 2007-05-30 | 2008-12-04 | Tele Atlas North America, Inc. | System and method for personalizing trip assistance on a digital map |
-
2017
- 2017-10-18 CN CN201710972607.XA patent/CN109684562B/en active Active
-
2018
- 2018-08-15 TW TW107128415A patent/TW201917607A/en unknown
- 2018-10-10 WO PCT/CN2018/109581 patent/WO2019076216A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106610986A (en) * | 2015-10-21 | 2017-05-03 | 深圳市赛格导航科技股份有限公司 | Multi-destination route planning method and system |
CN107133339A (en) * | 2017-05-17 | 2017-09-05 | 北京趣拿软件科技有限公司 | Circuit query method and apparatus and storage medium, processor |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110489647A (en) * | 2019-08-15 | 2019-11-22 | 海南太美航空股份有限公司 | A kind of route information recommended method, system, storage medium and computer equipment |
CN110823239A (en) * | 2019-11-12 | 2020-02-21 | 珠海格力电器股份有限公司 | Navigation method, navigation device and electronic equipment |
CN111102989A (en) * | 2019-12-11 | 2020-05-05 | 维沃移动通信有限公司 | Route display method and electronic equipment |
CN114066344A (en) * | 2020-08-08 | 2022-02-18 | 贵州百年四面通科技有限公司 | Method, device and system for setting transportation route and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2019076216A1 (en) | 2019-04-25 |
CN109684562B (en) | 2022-05-27 |
TW201917607A (en) | 2019-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110413877A (en) | A kind of resource recommendation method, device and electronic equipment | |
CN109684562A (en) | A kind of searching method and device | |
CN103884345B (en) | Interest point information collecting method, interest point information displaying method, interest point information collecting device, interest point information displaying device, and interest point retrieval system | |
CN110472163B (en) | Method, device, electronic equipment and medium for determining display of map search result | |
EP2474926A1 (en) | Method and system for generating compound suggestions using entity eligibility models | |
CN104050205A (en) | Address information input method, address information acquisition method, address information input device, address information acquisition device, equipment, and address information input system | |
US20120011463A1 (en) | Method and System for Enabling Location Entry | |
CN103257962B (en) | information providing method and device | |
CN110019645A (en) | Index base construction method, searching method and device | |
JP6756744B2 (en) | Location information provision method and equipment | |
CN103778116A (en) | Information recommendation method and system | |
CN105550221B (en) | Information search method and device | |
CN108921666A (en) | Travel information recommended method, device, equipment and storage medium | |
CN104320848B (en) | The system and method for indoor positioning is realized based on cloud computing | |
US20200158524A1 (en) | Carpool service system and carpool service method | |
CN107291713A (en) | Reminding method, terminal and the server of point of interest search keyword | |
KR101934420B1 (en) | Method and apparatus for obtaining candidate address information in map | |
Hefez et al. | Tarsius: A system for traffic-aware route search under conditions of uncertainty | |
Levin et al. | TARS: traffic-aware route search | |
CN109800360A (en) | Cell queries method, apparatus, electronic equipment and storage medium | |
Hanafiah et al. | Itinerary recommendation generation using enhanced simulated annealing algorithm | |
CN108228582A (en) | A kind of searching method and device | |
Jung et al. | Route recommendation with dynamic user preference on road networks | |
CN106462603A (en) | Disambiguation of queries implicit to multiple entities | |
US20220172310A1 (en) | House-renting recommendation method, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |