CN107357827B - Method for inquiring traffic route information and search engine - Google Patents

Method for inquiring traffic route information and search engine Download PDF

Info

Publication number
CN107357827B
CN107357827B CN201710459578.7A CN201710459578A CN107357827B CN 107357827 B CN107357827 B CN 107357827B CN 201710459578 A CN201710459578 A CN 201710459578A CN 107357827 B CN107357827 B CN 107357827B
Authority
CN
China
Prior art keywords
information
area
transfer
station
query
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710459578.7A
Other languages
Chinese (zh)
Other versions
CN107357827A (en
Inventor
卿权
高剑
史婕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710459578.7A priority Critical patent/CN107357827B/en
Publication of CN107357827A publication Critical patent/CN107357827A/en
Application granted granted Critical
Publication of CN107357827B publication Critical patent/CN107357827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Navigation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention provides a method for inquiring traffic route information and a search engine, wherein the method comprises the steps of receiving inquiry words; acquiring at least one piece of traffic route information corresponding to at least one traffic route corresponding to the query word, wherein the traffic route information comprises basic information and station information of the corresponding traffic route; providing a query result display interface, and displaying at least one piece of traffic route information in the query result display interface, wherein the query result display interface comprises a first area and a second area, basic information is displayed in the first area, and station information is displayed in the second area. The method for inquiring the traffic route information is visual in display mode, the station information can be acquired without redundant operation, the inquiry efficiency is improved, and the user experience is improved.

Description

Method for inquiring traffic route information and search engine
Technical Field
The invention relates to the technical field of internet, in particular to a method for inquiring traffic route information and a search engine.
Background
With the continuous development of public transport construction, more and more buses and subway lines are provided. Therefore, when a user goes out, if the user needs to go to an unfamiliar place, the user needs to inquire the bus or subway line in advance. Particularly, for lines which cannot be directly reached, transfer information, bus or subway station information and fare information need to be determined clearly. However, in the related art, only the travel route and the transfer point in the transfer route are listed for the search result, and detailed information of the travel route or the transfer route, and the like is not listed
Currently, a search engine provides a search result for a user mainly through real-time synchronous search, for example, when the user searches a specific vehicle route, the search engine provides main information of the vehicle route, such as title information of a route name, an origin and a destination, first and last bus time, and if the user needs to know detailed information, the user must click the title information to send a corresponding search request to the search engine to obtain the search result, and multiple operations are required by the user, so that the use interest of the user is reduced, and the user experience is poor.
Disclosure of Invention
The present invention aims to solve the above technical problem at least to some extent.
Therefore, a first object of the present invention is to provide a method for querying traffic route information, which is intuitive in display manner, and can acquire station information without redundant operations, thereby improving query efficiency and improving user experience.
A second object of the present invention is to provide a search engine.
To achieve the above object, an embodiment according to a first aspect of the present invention provides a method for querying traffic route information, including: receiving a query term; acquiring at least one piece of traffic route information corresponding to at least one traffic route corresponding to the query word, wherein the traffic route information comprises basic information and station information of the corresponding traffic route; providing a query result display interface, and displaying the at least one piece of traffic route information in the query result display interface, wherein the query result display interface comprises a first area and a second area, the basic information is displayed in the first area, and the station information is displayed in the second area.
According to the method for inquiring the traffic route information, the basic information of the starting station and the terminal station of the traffic route, the time of the first-class car and the last-class car, the total travel, the ticket price and the like corresponding to the inquiry words input by the user can be obtained and displayed, the station information of the corresponding traffic route can also be obtained and displayed, the user can pre-judge the time required by the travel according to the inquiry result provided by the search engine, the station information of the traffic route can also be directly obtained, the inquiry result can be displayed in the form of a traffic route station board or a route map, and the method is more visual. In addition, the site information can be obtained without redundant operation, so that the query efficiency is improved, and the user experience is improved.
An embodiment of a second aspect of the present invention provides a search engine, including: the first receiving module is used for receiving the query words; the first acquisition module is used for acquiring at least one piece of traffic route information corresponding to at least one traffic route corresponding to the query term, wherein the traffic route information comprises basic information and station information of the corresponding traffic route; the display module is used for providing a query result display interface and displaying the at least one piece of traffic route information in the query result display interface, wherein the query result display interface comprises a first area and a second area, the basic information is displayed in the first area, and the station information is displayed in the second area.
The search engine of the embodiment of the invention can acquire and display the basic information of the start station and the end station, the time of the first bus and the last bus, the total travel, the ticket price and the like of the traffic route corresponding to the query words input by the user, and also can acquire and display the station information of the corresponding traffic route, so that the user can pre-judge the time required by the travel according to the query result provided by the search engine, also can directly acquire the station information of the traffic route, and can display the query result in the form of a traffic route stop board or a route diagram, thereby being more intuitive. In addition, the site information can be obtained without redundant operation, so that the query efficiency is improved, and the user experience is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of a method of querying traffic route information according to an embodiment of the present invention;
fig. 2 is a schematic view of a query result display interface in the method for querying traffic route information according to an embodiment of the present invention;
fig. 3(a) is a schematic view of a query result display interface in a method for querying traffic route information according to another embodiment of the present invention;
fig. 3(b) is a schematic view of a query result display interface in the method for querying traffic route information according to another embodiment of the present invention;
fig. 4 is a flowchart of a method of querying traffic route information according to another embodiment of the present invention;
fig. 5 is a schematic view of a query result display interface in the method for querying traffic route information according to still another embodiment of the present invention;
fig. 6 is a schematic view of a query result display interface in the method of querying traffic route information according to yet another embodiment of the present invention;
fig. 7 is a schematic view of a query result display interface in a method of querying traffic route information according to yet another embodiment of the present invention;
fig. 8 is a flowchart of a method of querying for traffic route information according to yet another embodiment of the present invention;
fig. 9 is a schematic view of a query result display interface for displaying information of all stations in the method for querying information of a transportation route according to an embodiment of the present invention;
FIG. 10 is a block diagram of a search engine according to one embodiment of the present invention;
fig. 11 is a block diagram of a search engine according to another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used only for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
At present, the search engine mode on a personal computer or a mobile terminal is still in a real-time synchronous query mode, that is, the query terms of the user are only provided to the main information of the corresponding public transport or subway line, such as the line name, the starting station and the originating station, of the user in the query result. However, in many scenarios, it is desirable for many users to be able to directly see the specific stop information, transfer information, fare information, and the like in the public transportation or subway line when obtaining the query result. In the existing mode, a user needs to perform corresponding operations such as clicking on a query result to further check specific information of a bus or a subway, and the requirement of the user cannot be met. Therefore, the invention provides a method for inquiring traffic route information and a search engine. A query method of traffic route information and a search engine according to an embodiment of the present invention will be described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method of querying traffic route information according to an embodiment of the present invention.
As shown in fig. 1, the method for querying traffic route information according to an embodiment of the present invention includes:
s101, receiving the query words.
In the embodiment of the present invention, the query term may be a traffic route query term, such as 26 routes, or a location query term, such as xizhmen. For example, if the user needs to query 26 buses or query all the transportation lines passing through west kingdom, the query word "26 buses" or "west kingdom" may be sent to the search engine through the client.
S102, at least one piece of traffic route information corresponding to at least one traffic route corresponding to the query word is obtained, wherein the traffic route information comprises basic information and station information of the corresponding traffic route.
In the embodiment of the invention, the basic information of the traffic line is the specific name of the bus or subway line, the starting station and the terminal station, the time of the first bus and the last bus, the total journey, the ticket price and the like. The station information is sequencing information, namely a driving sequence, of a plurality of stations and stations included in a public transport or subway or other traffic lines corresponding to the query words. Specifically, for a traffic route query term, the same query term may correspond to at least one traffic route semantically associated with the query term, for example, for the query term "26 routes", the query term may correspond to bus routes such as "26 routes", "26 routes for transportation", "26 routes for trolley bus", and the like; for the query term of a location, the same query term may correspond to at least one traffic line passing through the location, for example, for the query term "west-front", the same query term may correspond to traffic lines passing through west-front, such as "subway No. 4", "subway No. 13", "7", "534", and the like.
S103, providing a query result display interface, and displaying at least one piece of traffic route information in the query result display interface, wherein the query result display interface comprises a first area and a second area, basic information is displayed in the first area, and station information is displayed in the second area.
In one embodiment of the present invention, at least one card tag may be provided in the query result display interface, and at least one piece of transportation line information may be respectively displayed in the at least one card tag, where each card tag has a first area and a second area to respectively display basic information and station information in the corresponding transportation line information. In one embodiment of the present invention, the first area may be located above the second area, and the respective stations in the transportation line may be displayed in the second area according to the ranking information of the stations. For example, for the search word "26" or "26 roads", if only one transportation route "26 roads" is queried corresponding to the search word, the query result display interface is as shown in fig. 2, the first area with dark color on the top displays basic information of 26 buses, and the second area with light color on the bottom displays partial stop information of 26 buses; if the multiple wanted traffic lines "26 roads", "26 roads" and "26 roads of tram" are inquired, the inquiry result display interface is as shown in fig. 3(a), the inquiry result display interface has three card labels "26 roads", "26 roads of fortune" and "26 roads of tram", the user can click the name of the card label to check the corresponding inquiry result, and if the user clicks "26 roads", the traffic line information of 26 buses is displayed.
According to the method for inquiring the traffic route information, the basic information of the starting station and the terminal station of the traffic route, the time of the first-class car and the last-class car, the total travel, the ticket price and the like corresponding to the inquiry words input by the user can be obtained and displayed, the station information of the corresponding traffic route can also be obtained and displayed, the user can pre-judge the time required by the travel according to the inquiry result provided by the search engine, the station information of the traffic route can also be directly obtained, the inquiry result can be displayed in the form of a traffic route station board or a route map, and the method is more visual. In addition, the site information can be obtained without redundant operation, so that the query efficiency is improved, and the user experience is improved.
In an embodiment of the present invention, in order to meet the diversified demands of the user, for the location query term, the query result display interface may display the query result in the above manner, or may display the query result according to the method shown in fig. 3(b), that is, the basic information of all the traffic routes passing through the location is listed in a pagination manner, and the user may click the basic information to view the detailed information.
Fig. 4 is a flowchart of a method of querying traffic route information according to another embodiment of the present invention. In this embodiment, the transit line information further includes transfer information of at least one station in the transit line, and may be displayed near the corresponding station. As shown in fig. 4, the method for querying traffic route information according to an embodiment of the present invention includes:
s401, receiving the query words.
In the embodiment of the present invention, the query term may be a traffic route query term, such as 26 routes, or a location query term, such as xizhmen. For example, if the user needs to query 26 buses or query all the transportation lines passing through west kingdom, the query word "26 buses" or "west kingdom" may be sent to the search engine through the client.
S402, at least one piece of traffic route information corresponding to at least one traffic route corresponding to the query word is obtained, wherein the traffic route information comprises basic information, station information and transfer information of the corresponding traffic route.
In the embodiment of the invention, the basic information of the traffic line is the specific name of the bus or subway line, the starting station and the terminal station, the time of the first bus and the last bus, the total journey, the ticket price and the like. The station information is sequencing information, namely a driving sequence, of a plurality of stations and stations included in a public transport or subway or other traffic lines corresponding to the query words. The transfer information is the traffic route and the traffic route information thereof which can be transferred at each station, wherein at least one station in a plurality of stations of the traffic route has the transfer information, and the station with the transfer information can correspond to at least one piece of transfer information. Specifically, for a traffic route query term, the same query term may correspond to at least one traffic route semantically associated with the query term, for example, for the query term "26 routes", the query term may correspond to bus routes such as "26 routes", "26 routes for transportation", "26 routes for trolley bus", and the like; for the query term of a location, the same query term may correspond to at least one traffic line passing through the location, for example, for the query term "west-front", the same query term may correspond to traffic lines passing through west-front, such as "subway No. 4", "subway No. 13", "7", "534", and the like.
And S403, providing a query result display interface, and displaying at least one piece of traffic route information in the query result display interface, wherein the query result display interface comprises a first area and a second area, basic information is displayed in the first area, and station information is displayed in the second area.
In one embodiment of the present invention, at least one card tag may be provided in the query result display interface, and at least one piece of transportation line information may be respectively displayed in the at least one card tag, where each card tag has a first area and a second area to respectively display basic information and station information in the corresponding transportation line information. In one embodiment of the present invention, the first area may be located above the second area, and the respective stations in the transportation line may be displayed in the second area according to the ranking information of the stations. For example, for the search word "26" or "26 roads", if only one transportation route "26 roads" is queried corresponding to the search word, the query result display interface is as shown in fig. 2, the first area with dark color on the top displays basic information of 26 buses, and the second area with light color on the bottom displays partial stop information of 26 buses; if the multiple wanted traffic lines "26 roads", "26 roads" and "26 roads of tram" are inquired, the inquiry result display interface is as shown in fig. 3(a), the inquiry result display interface has three card labels "26 roads", "26 roads of fortune" and "26 roads of tram", the user can click the name of the card label to check the corresponding inquiry result, and if the user clicks "26 roads", the traffic line information of 26 buses is displayed.
S404, respectively determining the transfer type identifier corresponding to each piece of transfer information, and respectively displaying the corresponding transfer type identifier around at least one station with the transfer information.
In an embodiment of the present invention, the transfer type identifier may be preset according to a transfer manner, and the transfer type identifier may include a subway identifier, an airport identifier, and a railway identifier, which are respectively used to represent a transportation line having a transfer to a subway station, an airport, and a railway station. For example, as shown in fig. 2 and fig. 3(a), for a "trisense temple" site in the "26-way", there are transportation routes which can be transferred to the subway No. 4 line, the beijing south station and the capital airport, and three transfer type identifications are displayed below the "trisense temple".
S405, receiving a mouse hovering operation of the user on the displayed transfer type identifier, and acquiring at least one piece of transfer information corresponding to the transfer type identifier corresponding to the mouse hovering operation.
And S406, providing a floating window, and displaying the acquired at least one transfer information in the floating window.
In one embodiment of the invention, if a user needs to view transfer information for a site, a mouse-over operation can be performed on the transfer type identifier displayed around the site. Further, the search engine may provide a floating window as shown in fig. 3(a) and display transfer information for the site in the floating window.
In an embodiment of the invention, the user may also click on transfer information in the floating window to view specific traffic route information.
According to the method for inquiring the traffic route information, the inquiry result including the transfer information can be displayed through the inquiry result display interface provided by the search engine, so that a user can directly acquire the transfer information from the inquiry result without performing complicated operation on the inquiry result, and the inquiry experience of the user is further improved.
In the embodiment of the invention, for the subway line with simple transfer relationship, the method can also be used for inquiring the traffic line information. Particularly, because the subway line relationship is simple, the transfer information can be more intuitively listed. For example, taking beijing subway line 10 as an example, after the user inputs the query word "line 10" or "subway line 10", the station information of "subway line 10" as shown in fig. 5 is displayed on the query result display interface, the user can directly obtain the subway first and last train time, the information of the subway starting station and terminal station, and the fare information on the query result display interface, and the transfer information can be directly displayed on the station, and the station is marked by the color represented by the subway line. When the user hovers the mouse over the transfer sign position, the related transfer line information and the time of the first and last cars can be displayed (as shown in fig. 6). Having different terminal information for the same subway line is shown in fig. 7.
Fig. 8 is a flowchart of a method of querying traffic route information according to still another embodiment of the present invention. In this embodiment, the query result display interface may display part or all of the stations in the second area according to the user operation, and specifically, as shown in fig. 8, the method for querying the traffic route information according to the embodiment of the present invention includes:
s801, receiving the query words.
In the embodiment of the present invention, the query term may be a traffic route query term, such as 26 routes, or a location query term, such as xizhmen. For example, if the user needs to query 26 buses or query all the transportation lines passing through west kingdom, the query word "26 buses" or "west kingdom" may be sent to the search engine through the client.
S802, at least one piece of traffic route information corresponding to at least one traffic route corresponding to the query word is obtained, wherein the traffic route information comprises basic information, station information and transfer information of the corresponding traffic route.
In the embodiment of the invention, the basic information of the traffic line is the specific name of the bus or subway line, the starting station and the terminal station, the time of the first bus and the last bus, the total journey, the ticket price and the like. The station information is sequencing information, namely a driving sequence, of a plurality of stations and stations included in a public transport or subway or other traffic lines corresponding to the query words. The transfer information is the traffic route and the traffic route information thereof which can be transferred at each station, wherein at least one station in a plurality of stations of the traffic route has the transfer information, and the station with the transfer information can correspond to at least one piece of transfer information. Specifically, for a traffic route query term, the same query term may correspond to at least one traffic route semantically associated with the query term, for example, for the query term "26 routes", the query term may correspond to bus routes such as "26 routes", "26 routes for transportation", "26 routes for trolley bus", and the like; for the query term of a location, the same query term may correspond to at least one traffic line passing through the location, for example, for the query term "west-front", the same query term may correspond to traffic lines passing through west-front, such as "subway No. 4", "subway No. 13", "7", "534", and the like.
And S803, providing a query result display interface, and displaying at least one piece of traffic route information in the query result display interface, wherein the query result display interface comprises a first area and a second area, basic information is displayed in the first area, and station information is displayed in the second area.
In one embodiment of the present invention, at least one card tag may be provided in the query result display interface, and at least one piece of transportation line information may be respectively displayed in the at least one card tag, where each card tag has a first area and a second area to respectively display basic information and station information in the corresponding transportation line information. In one embodiment of the present invention, the first area may be located above the second area, and the respective stations in the transportation line may be displayed in the second area according to the ranking information of the stations. For example, for the search word "26" or "26 roads", if only one transportation route "26 roads" is queried corresponding to the search word, the query result display interface is as shown in fig. 2, the first area with dark color on the top displays basic information of 26 buses, and the second area with light color on the bottom displays partial stop information of 26 buses; if the multiple wanted traffic lines "26 roads", "26 roads" and "26 roads of tram" are inquired, the inquiry result display interface is as shown in fig. 3(a), the inquiry result display interface has three card labels "26 roads", "26 roads of fortune" and "26 roads of tram", the user can click the name of the card label to check the corresponding inquiry result, and if the user clicks "26 roads", the traffic line information of 26 buses is displayed.
S804, respectively determining the transfer type identifier corresponding to each piece of transfer information, and respectively displaying the transfer type identifier corresponding to at least one site around at least one site with the transfer information.
In an embodiment of the present invention, the transfer type identifier may be preset according to a transfer manner, and the transfer type identifier may include a subway identifier, an airport identifier, and a railway identifier, which are respectively used to represent a transportation line having a transfer to a subway station, an airport, and a railway station. For example, as shown in fig. 2 and fig. 3(a), for a "trisense temple" site in the "26-way", there are transportation routes which can be transferred to the subway No. 4 line, the beijing south station and the capital airport, and three transfer type identifications are displayed below the "trisense temple".
S805, receiving a mouse hovering operation of the user on the displayed transfer type identifier, and acquiring at least one piece of transfer information corresponding to the transfer type identifier corresponding to the mouse hovering operation.
And S806, providing a floating window, and displaying the acquired at least one transfer information in the floating window.
In one embodiment of the invention, if a user needs to view transfer information for a site, a mouse-over operation can be performed on the transfer type identifier displayed around the site. Further, the search engine may provide a floating window as shown in fig. 3(a) and display transfer information for the site in the floating window.
In an embodiment of the invention, the user may also click on transfer information in the floating window to view specific traffic route information.
S807, receiving an operation instruction to the second area, and displaying a part of or all the sites in the site information according to the operation instruction.
Specifically, in an embodiment of the present invention, as shown in fig. 3(a) and fig. 9, a button control is disposed in the second area, and the button control has a first state and a second state, and the first state and the second state are switched to each other according to a click operation of a user, where the first state is to display all sites (e.g., "view complete sites" in fig. 3 (a)), and the second state is to display partial sites (e.g., collapse in fig. 9). When the user clicks the button control, if the button control is switched from the second state to the first state, all the sites in the site information are displayed (as shown in fig. 9), and if the button control is switched from the first state to the second state, some of the sites in the site information are displayed (as shown in fig. 3 (a)).
S808, when the partial site is displayed, providing a direction indicator when the partial site is displayed, receiving a mouse operation for the direction indicator, and displaying another partial site in the indication direction of the direction indicator adjacent to the currently displayed partial site.
In one embodiment of the present invention, the mouse operation may be a hover operation or a click operation. As shown in fig. 5 and 6, if the user needs to view the sites adjacent to the currently displayed partial site, the currently displayed content can slide laterally by clicking or hovering a mouse over the direction indicator provided in the second area, and the corresponding site information and transfer information are displayed.
The method for inquiring the traffic route information can intelligently display partial results or all results of the site information China according to the needs of the user, so that not only can the inquiry result interface be simple, but also the requirement of the user on conveniently checking the inquiry result can be met.
In the embodiment of the invention, in order to facilitate the query of the user, the functions of viewing the return information and displaying the route on the map can be further provided on the query result display interface. Specifically, as shown in the upper right corner of fig. 2, fig. 3(a), (b), fig. 5, fig. 6, fig. 7, fig. 9.
It should be understood that the sequence of each step in the method flowchart in the above embodiments of the present invention is merely exemplary, and in practical applications, the sequence may be flexibly changed according to the operation sequence of the user, and the present invention is not limited thereto.
In order to implement the above embodiments, the present invention further provides a search engine.
FIG. 10 is a block diagram of a search engine according to one embodiment of the present invention.
As shown in fig. 10, a search engine according to an embodiment of the present invention includes: a first receiving module 100, a first obtaining module 200 and a display module 300.
Specifically, the first receiving module 100 is configured to receive a query term. In the embodiment of the present invention, the query term may be a traffic route query term, such as 26 routes, or a location query term, such as xizhmen. For example, if the user needs to query 26 buses or query all the transportation lines passing through west kingdom, the query word "26 buses" or "west kingdom" may be sent to the search engine through the client.
The first obtaining module 200 is configured to obtain at least one piece of transportation line information corresponding to at least one transportation line corresponding to the query term, where the transportation line information includes basic information and station information of the transportation line corresponding to the query term.
In the embodiment of the invention, the basic information of the traffic line is the specific name of the bus or subway line, the starting station and the terminal station, the time of the first bus and the last bus, the total journey, the ticket price and the like. The station information is sequencing information, namely a driving sequence, of a plurality of stations and stations included in a public transport or subway or other traffic lines corresponding to the query words. More specifically, for a traffic route query term, the same query term may correspond to at least one traffic route semantically associated with the query term, for example, for the query term "26 routes", it may correspond to bus routes such as "26 routes", "26 routes for transportation", "26 routes for trolley bus", etc.; for the query term of a location, the same query term may correspond to at least one traffic line passing through the location, for example, for the query term "west-front", the same query term may correspond to traffic lines passing through west-front, such as "subway No. 4", "subway No. 13", "7", "534", and the like.
The display module 300 is configured to provide a query result display interface, and display at least one piece of traffic route information in the query result display interface, where the query result display interface includes a first area and a second area, basic information is displayed in the first area, and station information is displayed in the second area. In an embodiment of the present invention, the display module 300 may provide at least one card tag in the query result display interface and display at least one piece of transportation line information in the at least one card tag, respectively, where each card tag has a first area and a second area to display basic information and station information in corresponding transportation line information, respectively. In one embodiment of the present invention, the first area may be located above the second area, and the respective stations in the transportation line may be displayed in the second area according to the ranking information of the stations. For example, for the search word "26" or "26 roads", if only one transportation route "26 roads" is queried corresponding to the search word, the query result display interface is as shown in fig. 2, the first area with dark color on the top displays basic information of 26 buses, and the second area with light color on the bottom displays partial stop information of 26 buses; if the multiple wanted traffic lines "26 roads", "26 roads" and "26 roads of tram" are inquired, the inquiry result display interface is as shown in fig. 3(a), the inquiry result display interface has three card labels "26 roads", "26 roads of fortune" and "26 roads of tram", the user can click the name of the card label to check the corresponding inquiry result, and if the user clicks "26 roads", the traffic line information of 26 buses is displayed.
The search engine of the embodiment of the invention can acquire and display the basic information of the start station and the end station, the time of the first bus and the last bus, the total travel, the ticket price and the like of the traffic route corresponding to the query words input by the user, and also can acquire and display the station information of the corresponding traffic route, so that the user can pre-judge the time required by the travel according to the query result provided by the search engine, also can directly acquire the station information of the traffic route, and can display the query result in the form of a traffic route stop board or a route diagram, thereby being more intuitive. In addition, the site information can be obtained without redundant operation, so that the query efficiency is improved, and the user experience is improved.
In an embodiment of the present invention, in order to meet the diversified demands of the user, for the location query term, the query result display interface provided by the display module may display the query result in the above manner, or may display the query result according to the method shown in fig. 3(b), that is, the basic information of all the traffic routes passing through the location is listed in pages, and the user may click the basic information to view the detailed information.
In an embodiment of the present invention, in order to meet the diversified demands of the user, for the location query term, the query result display interface provided by the display module 300 may display the query result in the above manner, or may display the query result in the method shown in fig. 3(b), that is, the basic information of all the traffic lines passing through the location is listed in pages, and the user may click the basic information to view the detailed information.
Fig. 11 is a block diagram of a search engine according to another embodiment of the present invention.
As shown in fig. 11, a search engine according to an embodiment of the present invention includes: a first receiving module 100, a first acquiring module 200, a display module 300, a second receiving module 400, and a second acquiring module 500.
In an embodiment of the present invention, the transportation line information further includes a plurality of transfer information, the transfer information being transportation lines and transportation line information thereof that can be transferred at each station, wherein at least one station of the plurality of stations has the transfer information, and the station having the transfer information corresponds to the at least one transfer information. Furthermore, the display module 300 is further configured to determine a transfer type identifier corresponding to each piece of transfer information, and display the corresponding transfer type identifier around at least one website. The transfer type identifier can be preset according to a transfer mode, and can comprise a subway identifier, an airport identifier and a railway identifier which are respectively used for representing traffic lines transferred to a subway station, an airport and a railway station. For example, as shown in fig. 2 and fig. 3(a), for a "trisense temple" site in the "26-way", there are transportation routes which can be transferred to the subway No. 4 line, the beijing south station and the capital airport, and three transfer type identifications are displayed below the "trisense temple".
The second receiving module 400 is configured to receive a mouse-over operation identified by the user for the displayed transfer type.
The second obtaining module 500 is configured to obtain at least one piece of transfer information corresponding to the transfer type identifier corresponding to the mouse hovering operation.
In one embodiment of the invention, if a user needs to view transfer information for a site, a mouse-over operation can be performed on the transfer type identifier displayed around the site. Further, the search engine may provide a floating window as shown in fig. 3(a) through the display module 300 and display transfer information of the site in the floating window.
In an embodiment of the invention, the user may also click on transfer information in the floating window to view specific traffic route information.
In another embodiment of the present invention, the second receiving module 400 is further configured to receive an operation instruction for the second area. The display module 300 is further configured to display a part of or all of the sites in the site information according to the operation instruction. More specifically, in an embodiment of the present invention, as shown in fig. 3(a) and fig. 9, a button control is disposed in the second area, and the button control has a first state and a second state, and the first state and the second state are switched to each other according to a click operation of a user, where the first state is to display all sites (e.g., "view complete sites" in fig. 3 (a)), and the second state is to display partial sites (e.g., collapse in fig. 9). The second receiving module 400 is specifically configured to receive a click operation of a button control by a user, when the user clicks the button control, if the button control is switched from the second state to the first state, the display module 300 displays all sites in the site information (as shown in fig. 9), and if the button control is switched from the first state to the second state, the display module 300 displays part of the sites in the site information (as shown in fig. 3 (a)).
In a further embodiment of the present invention, the display module 300 provides a direction indicator when displaying a partial site in the site information, and the second receiving module 400 is further configured to receive a mouse operation for the direction indicator, so that the display module 300 displays another partial site in the indication direction of the direction indicator adjacent to the currently displayed partial site. In one embodiment of the present invention, the mouse operation may be a hovering operation or a clicking operation. As shown in fig. 5 and 6, if the user needs to view the sites adjacent to the currently displayed partial site, the currently displayed content can slide laterally by clicking or hovering a mouse over the direction indicator provided in the second area, and the corresponding site information and transfer information are displayed.
The search engine of the embodiment of the invention can display the query result comprising the transfer information through the query result display interface provided by the search engine, so that a user can directly acquire the transfer information in the query result without carrying out complicated operation on the query result, and the query experience of the user is further improved. In addition, partial results or all results of site information China can be intelligently displayed according to the needs of the user, so that the query result interface is simple, and the requirement of the user for conveniently checking the query result can be met.
In the embodiment of the invention, for the subway line with simple transfer relationship, the method can also be used for inquiring the traffic line information. Particularly, because the subway line relationship is simple, the transfer information can be more intuitively listed. For example, taking beijing subway line 10 as an example, after the user inputs the query word "line 10" or "subway line 10", the station information of "subway line 10" as shown in fig. 5 is displayed on the query result display interface, the user can directly obtain the subway first and last train time, the information of the subway starting station and terminal station, and the fare information on the query result display interface, and the transfer information can be directly displayed on the station, and the station is marked by the color represented by the subway line. When the user hovers the mouse over the transfer sign position, the related transfer line information and the time of the first and last cars can be displayed (as shown in fig. 6). Having different terminal information for the same subway line is shown in fig. 7.
In the embodiment of the invention, in order to facilitate the query of the user, the functions of viewing the return information and displaying the route on the map can be further provided on the query result display interface. Specifically, as shown in the upper right corner of fig. 2, fig. 3(a), (b), fig. 5, fig. 6, fig. 7, fig. 9.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (12)

1. A method for querying traffic route information, comprising:
receiving a query term;
acquiring a plurality of traffic lines corresponding to the query words, and acquiring traffic line information corresponding to each traffic line, wherein the traffic line information comprises basic information and station information of the corresponding traffic line;
providing a query result display interface, providing a plurality of card tags on the query result display interface, and respectively displaying a traffic line and traffic line information corresponding to the traffic line in each card tag, wherein each card tag has a first area and a second area, the basic information is displayed in the first area, the station information is displayed in the second area, the station information comprises a plurality of stations included in the corresponding traffic line and sequencing information thereof, and the stations are displayed in the second area according to the sequencing information;
and receiving an operation instruction for the second area, and displaying part of or all the sites in the site information according to the operation instruction.
2. The method of claim 1, wherein the transportation line information further comprises a plurality of transfer information, wherein at least one of the plurality of stations has transfer information, the station having transfer information corresponds to the at least one transfer information, and further comprising, after the obtaining the plurality of transportation lines corresponding to the query word and obtaining the transportation line information corresponding to each transportation line:
and respectively determining a transfer type identifier corresponding to each piece of transfer information, and respectively displaying the corresponding transfer type identifier around the at least one station.
3. The method of claim 2, further comprising:
receiving mouse hovering operation of a user on a displayed transfer type identifier, and acquiring at least one piece of transfer information corresponding to the transfer type identifier corresponding to the mouse hovering operation;
and providing a floating window, and displaying the acquired at least one transfer message in the floating window.
4. The method according to claim 1, wherein the second area is provided with a button control, the button control has a first state and a second state, the first state and the second state are switched with each other according to a click operation of a user, and the receiving an operation instruction for the second area and displaying a part of or all of the sites in the site information according to the operation instruction comprises:
receiving click operation of a user on the button control;
if the button control is switched to the first state, displaying all sites in the site information;
and if the button control is switched to the second state, displaying part of sites in the site information.
5. The method of claim 1, wherein a direction indicator is provided when displaying a partial site in the site information, the method further comprising:
and receiving mouse operation aiming at the direction indicator, and displaying another part of the sites in the indication direction of the direction indicator adjacent to the currently displayed part of the sites.
6. The method of claim 1, wherein the first region is located above the second region.
7. A search engine, comprising:
the first receiving module is used for receiving the query words;
the first acquisition module is used for acquiring a plurality of traffic lines corresponding to the query words and acquiring traffic line information corresponding to each traffic line, wherein the traffic line information comprises basic information and station information of the corresponding traffic line;
the display module is used for providing a query result display interface, providing a plurality of card tags on the query result display interface, and respectively displaying a traffic line and traffic line information corresponding to the traffic line in each card tag, wherein each card tag is provided with a first area and a second area, the basic information is displayed in the first area, the station information is displayed in the second area, the station information comprises a plurality of stations and sequencing information thereof included in the corresponding traffic line, and the display module displays the stations in the second area according to the sequencing information;
the second receiving module is used for receiving an operation instruction of the second area;
the display module is further configured to display a part of or all of the sites in the site information according to the operation instruction.
8. The search engine of claim 7, wherein the transportation line information further includes a plurality of transfer information, wherein at least one of the plurality of sites has transfer information, and a site having transfer information corresponds to at least one transfer information,
the display module is further configured to determine a transfer type identifier corresponding to each piece of transfer information, and display the corresponding transfer type identifier around the at least one station.
9. The search engine of claim 8,
the second receiving module is used for receiving mouse hovering operation of the displayed transfer type identifier by a user;
the search engine further comprises:
the second obtaining module is used for obtaining at least one piece of transfer information corresponding to the transfer type identifier corresponding to the mouse hovering operation;
the display module is further used for providing a floating window and displaying the acquired at least one transfer message in the floating window.
10. The search engine according to claim 7, wherein the second area is provided with a button control having a first state and a second state, the first state and the second state being switched with each other according to a click operation by a user,
the second receiving module is specifically used for receiving the click operation of the user on the button control;
the display module is specifically configured to display all sites in the site information when the button control is switched to the first state, and display a part of sites in the site information when the button control is switched to the second state.
11. The search engine of claim 7, wherein said display module provides a directional indicator when displaying a portion of the sites in the site information,
the second receiving module is further used for receiving mouse operation aiming at the direction indicator;
the display module is further configured to display another partial site in the indication direction of the direction indicator adjacent to the currently displayed partial site.
12. The search engine of claim 7, wherein the first region is located above the second region.
CN201710459578.7A 2013-11-26 2013-11-26 Method for inquiring traffic route information and search engine Active CN107357827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710459578.7A CN107357827B (en) 2013-11-26 2013-11-26 Method for inquiring traffic route information and search engine

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710459578.7A CN107357827B (en) 2013-11-26 2013-11-26 Method for inquiring traffic route information and search engine
CN201310611604.5A CN103617237A (en) 2013-11-26 2013-11-26 Method for inquiring traffic line information and search engine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201310611604.5A Division CN103617237A (en) 2013-11-26 2013-11-26 Method for inquiring traffic line information and search engine

Publications (2)

Publication Number Publication Date
CN107357827A CN107357827A (en) 2017-11-17
CN107357827B true CN107357827B (en) 2020-11-03

Family

ID=50167940

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201710459578.7A Active CN107357827B (en) 2013-11-26 2013-11-26 Method for inquiring traffic route information and search engine
CN201310611604.5A Pending CN103617237A (en) 2013-11-26 2013-11-26 Method for inquiring traffic line information and search engine

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201310611604.5A Pending CN103617237A (en) 2013-11-26 2013-11-26 Method for inquiring traffic line information and search engine

Country Status (1)

Country Link
CN (2) CN107357827B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103886044A (en) * 2014-03-11 2014-06-25 百度在线网络技术(北京)有限公司 Method and device for providing search results
CN104680469A (en) * 2015-02-12 2015-06-03 颜子楠 Public traffic ticket price showing method and device
CN107544990A (en) * 2016-06-27 2018-01-05 高德信息技术有限公司 Information processing method and device
CN111695253B (en) * 2020-06-09 2023-09-01 北京百度网讯科技有限公司 Site test method, device and equipment in automatic driving and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1598489A (en) * 2004-09-14 2005-03-23 南京嘉哇科技有限公司 Method and system of public communication source guiding
CN1885883A (en) * 2005-06-21 2006-12-27 乐金电子(中国)研究开发中心有限公司 Subway line information providing method for mobile communication terminal
CN101251846A (en) * 2008-04-03 2008-08-27 何正翀 Public traffic guide and transfer enquiring system and implementing method thereof
CN201548960U (en) * 2009-04-23 2010-08-11 厦门高德软件有限公司 Equipment for acquiring bus information
CN102129781A (en) * 2011-03-07 2011-07-20 王裕斌 Real-time bus position information query system
CN102446179A (en) * 2010-10-09 2012-05-09 Tcl集团股份有限公司 Bus line inquiry method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937472B (en) * 2010-09-25 2012-06-06 许祥鸿 Public transport transfer inquiring platform based on Internet television and inquiring and retrieving method thereof
JP5141739B2 (en) * 2010-09-30 2013-02-13 株式会社デンソー Communication system and mobile terminal
CN102467545B (en) * 2010-11-16 2016-05-18 腾讯科技(深圳)有限公司 The method and apparatus of bus routes inquiry

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1598489A (en) * 2004-09-14 2005-03-23 南京嘉哇科技有限公司 Method and system of public communication source guiding
CN1885883A (en) * 2005-06-21 2006-12-27 乐金电子(中国)研究开发中心有限公司 Subway line information providing method for mobile communication terminal
CN101251846A (en) * 2008-04-03 2008-08-27 何正翀 Public traffic guide and transfer enquiring system and implementing method thereof
CN201548960U (en) * 2009-04-23 2010-08-11 厦门高德软件有限公司 Equipment for acquiring bus information
CN102446179A (en) * 2010-10-09 2012-05-09 Tcl集团股份有限公司 Bus line inquiry method
CN102129781A (en) * 2011-03-07 2011-07-20 王裕斌 Real-time bus position information query system

Also Published As

Publication number Publication date
CN103617237A (en) 2014-03-05
CN107357827A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
CN113029177B (en) Frequency-based traffic travel characterization
US10049389B2 (en) System and method for interacting with digital signage
BR112020001544A2 (en) selection of starting point location and navigation with augmented reality
CN107357827B (en) Method for inquiring traffic route information and search engine
WO2014013748A1 (en) Information-sharing system, information-sharing method, and terminal device
CN108009275B (en) Flight transit information display method and device, electronic equipment and storage medium
WO2016029628A1 (en) Traffic information pushing method, device, apparatus and computer store media
JPWO2007097037A1 (en) Map display system, POI search condition input method, POI guidance display method, and terminal device
CN105427658A (en) Parking lot management method and parking lot management system based on iBeacon intelligent route guidance terminal
CN108267142B (en) Navigation display method and system based on address card and vehicle machine
WO2014013750A1 (en) Information-sharing system, information-sharing method, and terminal device
CN111380546A (en) Vehicle positioning method and device based on parallel road, electronic equipment and medium
JP7280585B2 (en) Information processing system, information processing program and information processing method
JP2008209164A (en) Route chart display device, route chart display system, route chart display method, and route information distribution server
CN109579862A (en) Air navigation aid, system, equipment and the medium of electric car
JP2016212056A (en) Notification system, server device, communication terminal device, program, and notification method
US9965732B2 (en) Computer readable recording medium, roadwork planning method and information processing apparatus
JP5373035B2 (en) Route map display device, route map display system, route map display method, and route information distribution server
Zhu et al. Pervasive urban sensing with large-scale mobile probe vehicles
US11719553B2 (en) Spotfinder
US20240054888A1 (en) Information provision system, method for providing passenger vehicle information, and recorded program medium
TW201038923A (en) Navigation device and method thereof
JP4885761B2 (en) Route map display device, route map display system, route map display method, and route information distribution server
CN114582149A (en) Traffic information pushing method, electronic device and storage medium
JP2021076604A (en) Method, apparatus, device, and computer readable storage medium used for navigation

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