WO2015161663A1 - 公交信息展现方法、装置和设备 - Google Patents

公交信息展现方法、装置和设备 Download PDF

Info

Publication number
WO2015161663A1
WO2015161663A1 PCT/CN2014/094312 CN2014094312W WO2015161663A1 WO 2015161663 A1 WO2015161663 A1 WO 2015161663A1 CN 2014094312 W CN2014094312 W CN 2014094312W WO 2015161663 A1 WO2015161663 A1 WO 2015161663A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
bus
public transportation
search
information server
Prior art date
Application number
PCT/CN2014/094312
Other languages
English (en)
French (fr)
Inventor
慎东辉
Original Assignee
北京百度网讯科技有限公司
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 北京百度网讯科技有限公司 filed Critical 北京百度网讯科技有限公司
Publication of WO2015161663A1 publication Critical patent/WO2015161663A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Definitions

  • the present invention relates to the technical field of intelligent transportation, in particular to a method, device and equipment for displaying public transport information.
  • the existing electronic map applications can only show users static information such as bus line transfer plans that does not change much over time.
  • Existing electronic map applications cannot provide dynamic and rapidly changing information such as bus location, operating speed, and stopped stations. As a result, users cannot keep abreast of the real-time changes of the public transportation system when using the electronic map application.
  • the present invention proposes a public transportation information display method, device and equipment, so that users can understand the real-time changes of the public transportation system in time.
  • an embodiment of the present invention provides a method for displaying public transportation information, the method including:
  • search terms entered by the user request a search from the public transportation information server and obtain the information of the public transportation route and the operation status of the public transportation;
  • an embodiment of the present invention provides a public transport information display device, the device includes:
  • the information acquisition module is used to request the public transport information server to retrieve and retrieve information based on the search terms entered by the user. To And get the information of bus lines and bus operation status;
  • the information display module is used to display the bus line and bus operation status information.
  • an embodiment of the present invention provides a device for performing a public transportation information display method, including at least one processor, a memory, and at least one computer program; the at least one computer program is stored in the memory and is used by the at least one The processor executes; the computer program includes instructions to perform the following operations:
  • search terms entered by the user request a search from the public transport information server and obtain the information of the public transport lines and public transport operating status;
  • the bus information display method, device, and equipment provided by the embodiments of the present invention use different update methods and update the retrieved bus-related information at different update times after retrieving and displaying bus-related information, so that the mobile terminal
  • the bus-related information displayed on the website can be updated in time, so that users can keep abreast of the real-time changes of the bus system.
  • FIG. 1 is a flowchart of a method for displaying public transportation information provided by the first embodiment of the present invention
  • FIG. 2 is a flowchart of information acquisition in the method for displaying public transportation information provided by the second embodiment of the present invention
  • FIG. 3 is a diagram of an information display interface after information acquisition provided by the second embodiment of the present invention.
  • FIG. 5 is a flowchart of information acquisition in the method for displaying public transportation information provided by the fourth embodiment of the present invention.
  • FIG. 6 is a diagram of an information update interface after information acquisition provided by the fourth embodiment of the present invention.
  • FIG. 7 is a flowchart of a method for displaying public transportation information provided by a fifth embodiment of the present invention.
  • FIG. 8 is a structural diagram of a public transportation information display device provided by a sixth embodiment of the present invention.
  • FIG. 9 is a hardware structure diagram of a device for implementing a method for displaying public transportation information according to an eighth embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for displaying public transportation information provided by the first embodiment of the present invention.
  • the public transportation information display method provided in this embodiment is applied to a user's mobile terminal.
  • the mobile terminal includes a smart phone with a wireless communication function, a personal digital assistant, and a tablet computer.
  • the method for displaying public transportation information includes:
  • the mobile terminal requests a search from the public transport information server according to the search terms input by the user and obtains the public transport line and public transport operating status information.
  • the search term entered by the user can be the bus number of the bus line entered by the user, the name of the starting station and the destination station entered by the user, or the name of the transit station entered by the user. For example, if the user needs to search for the information of the 321 bus, the search term entered by the user is "321". The user needs to search for the bus route from Wuding Hutong to Yuetan Universities, and the search terms entered by the user are "Wuding Hutong" and "Yuetan Gymnasium". For another example, if the user needs to retrieve the information of all buses passing through the north of Xisi Road, the search term entered by the user is "North of Xisi Road”.
  • the bus route refers to the complete route plan recommended to users to take the bus from the starting station to the final station.
  • the bus route may be a route plan in which it is recommended that the user take one bus trip from the starting station to the final station at a time, that is, a route plan without transfer.
  • the bus route may also be a route plan that recommends that the user depart from the starting station and take at least two buses to arrive at the terminal station, that is, a route plan that requires at least one transfer.
  • the data content of the bus line does not change much, unless the operating line of the bus is adjusted, the content of the bus line remains unchanged for a long period of time. Therefore, the bus line is static data.
  • Bus operation status information includes the first and last time of the bus, the distance of the bus to the designated station, the time required for the bus to reach the designated station, and the bus to the starting station of the designated bus line To The time required and the number of stations between the bus and the designated station.
  • the bus operating status information also includes static information and dynamic information. For example, the time of the first and last bus of a bus does not change much with the passage of time, which belongs to static information; while the distance of the bus to the designated station will change greatly with the passage of time, which belongs to dynamic information.
  • the above-mentioned bus line and bus operation status information are all stored on the bus information server.
  • the mobile terminal requests a search from the bus information server and obtains the bus line and bus operating status information according to the search terms input by the user.
  • bus line and bus operating status information can be the first acquisition of the same bus line and bus operating status information by the mobile terminal, or it can be the retrieval of bus lines and bus operating status information that has already been acquired. Obtain it again, and update the bus line and bus operation status information obtained last time according to the bus line and bus operation status information obtained again.
  • S120 The mobile terminal displays the bus line and bus operation status information.
  • the mobile terminal After retrieving the bus line and bus operating status information from the bus information server, the mobile terminal displays the bus line and bus operating status information.
  • the mobile terminal can display the bus line in the form of text, or it can display the bus line in the form of graphics in combination with a map. No matter how it is displayed, the mobile terminal needs to display the starting station of the bus line, the number of buses taken, the transfer station, the number of buses being transferred, and the terminal station of the bus line.
  • the mobile terminal When displaying the bus operating status information, the mobile terminal can display the bus operating status information in the form of text, or it can display the bus operating status information in the form of graphics in combination with a map.
  • the mobile terminal draws the bus operation status information in a capsule form. Since the bus operating status information is displayed in the form of a capsule, the screen display area occupied by the capsule is small and more information is displayed, so the capsule form is very suitable for displaying bus-related information on a mobile terminal.
  • the color and shape of the capsule can be drawn according to the expected bus stop time, the expected stop distance, and/or the first and last bus time in the bus operating status information.
  • the public transportation information server is requested to search and obtain the information of the public transportation line and the operation status of the public transportation, and the obtained information of the public transportation line and the operation status To Display, so that the public transportation related information displayed on the mobile terminal can be updated in time, so that users can keep abreast of the real-time changes of the public transportation system.
  • FIG. 2 is a flowchart of information acquisition in the method for displaying public transportation information provided by the second embodiment of the present invention.
  • the method for displaying public transportation information provided by this embodiment is based on the first embodiment of the present invention.
  • the mobile terminal requests the public transportation information server to retrieve information according to the search terms input by the user and obtains the public transportation route and the operation status information of the public transportation. :
  • S111 The mobile terminal generates a route query request and an operating status query request according to the search terms input by the user, and sends them to the public transportation information server for retrieval.
  • the mobile terminal After the mobile terminal receives the search term input by the user, it generates a line query request and a running status query request respectively. If the search term entered by the user is the number of buses, the mobile terminal can simultaneously generate a route query request and an operating status query request according to the number of buses. If the search term entered by the user is the station name of the starting station and the key station, or the station name of the station passing by, the mobile terminal can first generate a route query request based on the search term, and generate a specific train number based on the pre-stored train number station comparison table. Request for querying the operating status of the bus.
  • the mobile terminal receives the bus line returned by the bus information server according to the line query request, and at least one bus operating state information returned according to the operating state query request.
  • the public transport information server retrieves its own database according to the received route query request, obtains the bus route corresponding to the route query request, and compares all The bus line is returned to the mobile terminal.
  • the public transportation information server returns the public transportation route to the mobile terminal in the form of a key-value pair.
  • the mobile terminal receives the bus routes organized in the form of key-value pairs.
  • the keys in the key-value pair may be labels of different bus lines, and the value may be a specific transfer plan of the bus line.
  • the public transportation information server uses the form of key-value pairs to assemble the public transportation route information obtained by querying its own database, and returns it to the mobile terminal, so that the form of data returned to the mobile terminal is simpler and the amount of data transmitted is also small.
  • the public transport information server queries its own data To The library obtains at least one bus operation status information corresponding to the operation status query request, and returns the at least one bus operation status information to the mobile terminal.
  • the public transportation information server returns the public transportation operation status information to the mobile terminal in the form of a key-value pair.
  • the mobile terminal receives public transportation operating status information organized in the form of key-value pairs.
  • the key in the key-value pair may be the number of buses.
  • the value in the key-value pair may be the distance from the bus to the designated station, the time required for the bus to reach the designated station, the time required for the bus to reach the starting station of the designated bus line, and the distance between the bus and the designated station. Number of stations.
  • the public transport information server returns public transport operating status information to the mobile terminal in the form of key-value pairs, which can be that the amount of data returned to the mobile terminal is small and the data format is relatively concise.
  • S113 The mobile terminal associates the bus line with the corresponding bus operation status information.
  • Each bus route includes one or more bus trips taken by the user.
  • Each bus trip has its own bus operation status information.
  • the mobile terminal After receiving the bus line and bus operating status information returned by the bus information server, the mobile terminal associates the bus line with corresponding bus operating status information to facilitate the display of the bus line and bus operating status information.
  • Fig. 3 shows the information display interface after information acquisition according to this embodiment.
  • multiple bus lines are displayed on the information display interface, and the bus operation status of the bus line is displayed in the form of a capsule 301 in the lower right corner of each bus line. And, according to the different operating status of each bus line, the capsule is displayed in different colors.
  • a route query request and a running status query request are respectively generated, and the above request is sent to the public transportation information server, and upon receiving the public transportation information server according to the above request, the public transportation line and the public transportation operating status are returned.
  • the bus line is associated with the corresponding bus operation status information, so that the user can obtain all the information related to the search term submitted by him after submitting the search term.
  • the handover status information includes:
  • S114 The mobile terminal generates a public transport information query request according to the search term input by the user, and sends it to the public transport information server for retrieval.
  • the mobile terminal After receiving the search term input by the user, the mobile terminal can generate only one query request for public transport information.
  • the public transportation information query request is a relatively simple query request, and its data load only includes search terms input by the user on the mobile terminal.
  • a public transport information query request is generated.
  • the mobile terminal After generating the public transportation information query request, the mobile terminal sends the generated public transportation information query request to the public transportation information server.
  • S115 The mobile terminal receives at least one bus line and bus operation status information returned by the bus information server according to the bus information query request.
  • the bus information server After the bus information server receives the bus information query request sent by the mobile terminal, it searches its own database according to the bus information query request, generates at least one bus line and bus operation status information, and generates at least one bus line and bus operation status. The information is returned to the mobile terminal.
  • the bus line and bus operating status information are no longer generated separately, but are integrated together, and are returned to the mobile terminal by the bus information server. In this way, the amount of communication data between the bus information server and the mobile terminal is reduced.
  • the public transportation information server generates a query result corresponding to the public transportation information query request in the form of a key-value pair, that is, the at least one public transportation route and public transportation operating status information.
  • the bus information server sends the bus line and bus operating status information in the key-value pair form to the mobile terminal.
  • the public transportation information server by generating a concise public transportation information query request based on the search terms input by the user, and receiving the integrated at least one bus line and bus operation status information generated by the public transportation information server according to the public transportation information query request, the public transportation information server is reduced.
  • the amount of communication data with the mobile terminal improves the communication efficiency.
  • FIG. 5 is a flowchart of information acquisition in the method for displaying public transportation information provided by the fourth embodiment of the present invention.
  • the public transportation information display method is based on the first embodiment of the present invention.
  • the mobile terminal is based on To
  • the search terms entered by the user request a search from the public transport information server and obtain public transport line and public transport operating status information including:
  • S116 According to the search term input by the user, request a search from the public transportation information server and obtain the public transportation route and public transportation operating status information as the search result.
  • the mobile terminal after receiving the search term input by the user, the mobile terminal still requests a search from the public transportation information server and obtains the information of the public transportation route and the operation status of the public transportation. Further, the mobile terminal may obtain complete bus line and bus operation status information according to the user's search terms, or may only obtain the dynamic information in the bus line and bus operation status information. Since the bus line itself is static information, the information obtaining method for obtaining the dynamic information in the bus line and the bus operating status information is to obtain only the dynamic information in the bus operating status information.
  • the bus line and bus operation status information on the mobile terminal is updated based on the above retrieval result.
  • the mobile terminal obtains the update result of the bus operation status information from the bus information server, and the operation to modify the search result may be to send the update result to the
  • the bus information server requests the update of the bus operation status information to obtain the update result and revise the retrieval result, or it may receive the bus operation status information pushed by the bus information server when the second preset refresh condition is met. Update the results to correct the search results.
  • the first preset refresh condition includes: the current time reaches a preset refresh time point; or a preset refresh event occurs at the mobile terminal.
  • the refresh time point may be a certain time point preset by the user, such as 8:30 am on March 27, 2014, or a series of time points set by the user, such as from March 27, 2014 Starting at 8:30 in the morning, a time point sequence is formed by taking a time point every 15 minutes.
  • the refresh event may be a user-defined event, for example, the GPS positioning function is turned on, or the user opens an application related to public transportation.
  • the second preset refresh condition includes: the estimated remaining time between the bus and the set stop reaches the preset To Time threshold; the remaining stations between the bus and the set station reach the set number threshold; or the remaining distance between the bus and the set station reaches the set distance threshold.
  • the mobile terminal will receive the update result of the bus operation status information pushed by the bus information server when the second preset refresh condition is monitored, so as to correct The search result.
  • the update results of the bus line and bus operating status information are used to modify the retrieval result, so that the information on the mobile terminal
  • the bus line and bus operation status information can be updated according to different preset refresh conditions, so that users can understand the operation of the bus system in time.
  • FIG. 7 is a flowchart of a method for displaying public transportation information provided by a fifth embodiment of the present invention.
  • the public transportation information display method provided in this embodiment is applied to a service server.
  • the service server is respectively connected to the mobile terminal and the public transportation information server, and can receive query requests from the user's mobile terminal, publish information to the mobile terminal, and can send query requests to and receive queries from the public transportation information server on behalf of the mobile terminal result.
  • the method for displaying public transportation information includes:
  • the service server receives a public transport information query request from the mobile terminal.
  • S720 The service server retrieves and obtains the bus line and bus operation status information according to the bus information query request.
  • the service server After receiving the public transportation information query request sent by the mobile terminal, the service server can generate a route query request and a public transportation operation information query request according to the user’s public transportation information query request, and send the generated request to the public transportation information server to retrieve the public transportation route. And bus operation status information.
  • S730 The business server receives the bus line and bus operation status information returned by the bus information server.
  • the bus information server After the service server sends the route query request and the bus operation information query request to the bus information server, the bus information server searches its own database according to the above request, and returns the retrieved bus route and bus operation status information to the service server. The business server returns to the bus information server To The returned bus line and bus operation status information are received.
  • the service server publishes the received bus line and bus operating status information to the mobile terminal.
  • the public transportation information server is requested to query the public transportation line and the public transportation operating status information, and then the public transportation line and public transportation operating status information returned by the public transportation information server is released to the mobile terminal, so that the user It can understand the operation of the public transportation system in time, and reduce the computing load of the mobile terminal.
  • Fig. 8 is a structural diagram of a public transport information display device provided by a sixth embodiment of the present invention.
  • the bus information display device includes: an information acquisition module 810 and an information display module 820.
  • the information acquisition module 810 is used for requesting a search from the public transportation information server according to the search terms input by the user and acquiring the information of the public transportation route and the operation status of the public transportation.
  • the information display module 820 is used to display the bus line and bus operation status information.
  • the information acquisition module 810 includes: a first information retrieval unit 811, an information receiving unit 812, and an information association unit 813.
  • the first information retrieval unit 811 is configured to generate a route query request and an operating status query request according to the search terms input by the user, and send them to the public transportation information server for retrieval.
  • the information receiving unit 812 is configured to receive the bus line returned by the bus information server according to the line query request, and at least one bus operating state information returned according to the operating state query request.
  • the information association unit 813 is configured to associate the bus line with the corresponding bus operation status information.
  • the information acquisition module 810 includes: a second information retrieval unit 814 and an information receiving unit 815.
  • the second information retrieval unit 814 is configured to generate a public transport information query request according to a search term input by the user, and send it to the public transport information server for retrieval.
  • the information receiving unit 815 is configured to receive the public transportation information server according to the public transportation information To At least one bus line and bus operation status information returned by the inquiry request.
  • the information acquisition module 810 includes: a third information retrieval unit 816 and an update result acquisition unit 817.
  • the third information retrieval unit 816 is used for requesting retrieval from the public transportation information server according to the retrieval terms input by the user and obtaining the information of the public transportation route and the operation status of the public transportation as the retrieval result.
  • the update result obtaining unit 817 is configured to obtain the update result of the public transportation operating status information from the public transportation information server to correct the retrieval result.
  • the update result obtaining unit 817 is specifically configured to: if the first preset refresh condition of the local or the client is met, request an update of the bus operation status information from the bus information server to obtain the update result and modify it. The retrieval result; or receiving the update result of the bus operation status information pushed by the bus information server when it monitors that the second preset refresh condition is met, so as to correct the retrieval result.
  • the first preset refresh condition includes: the current time reaches a preset refresh time point; or a preset refresh event occurs on the mobile terminal.
  • the second preset refresh condition includes: the estimated remaining time between the bus and the set station reaches a preset time threshold; the remaining stations between the bus and the set station reach the set number threshold; Or the remaining distance between the bus and the set stop reaches the set distance threshold.
  • This embodiment also provides a non-volatile computer storage medium, the computer storage medium stores one or more modules, and when the one or more modules are executed by a computing device that executes the method for displaying public transport information, such that The computing device performs the following operations:
  • search terms entered by the user request a search from the public transportation information server and obtain the information of the public transportation route and the operation status of the public transportation;
  • the module stored in the storage medium When executed by the computing device, it requests a search from the public transport information server and obtains the information of the public transport line and the operating status of the public transport according to the search terms input by the user, which may preferably include: To
  • requesting a search from the public transportation information server according to the search term input by the user and obtaining public transportation route and bus operation status information includes:
  • requesting a search from the public transportation information server according to the search term input by the user and obtaining public transportation route and bus operation status information includes:
  • search terms entered by the user request a search from the public transportation information server and obtain the information of the public transportation route and the operation status of the public transportation as the search result;
  • obtaining the update result of the bus operation status information from the bus information server to correct the retrieval result includes:
  • the first preset refresh condition includes: the current time reaches a preset refresh time point; or a preset refresh event occurs at the mobile terminal.
  • the second preset refresh condition includes: the estimated remaining time between the bus and the set station reaches the preset time threshold; the bus and the device To The remaining stations between the designated stations reach the set number threshold; or the remaining distance between the bus and the set stations reaches the set distance threshold.
  • FIG. 9 is a hardware structure diagram of a device for implementing a method for displaying public transportation information according to an eighth embodiment of the present invention.
  • the equipment includes:
  • One or more processors 910, one processor 910 is taken as an example in FIG. 9;
  • Memory 920 and one or more modules.
  • the server may further include: an input device 930 and an output device 940.
  • the processor 910, the memory 920, the input device 930, and the output device 940 in the server may be connected by a bus or other methods. In FIG. 9, the connection by a bus is taken as an example.
  • the memory 920 can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the bus information display method in the embodiment of the present invention (for example, as shown in FIG. 8
  • the processor 910 executes various functional applications and data processing of the server by running the software programs, instructions, and modules stored in the memory 920, that is, implements the bus information display method in the foregoing method embodiment.
  • the memory 920 may include a storage program area and a storage data area.
  • the storage program area may store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the terminal device, and the like.
  • the memory 920 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
  • the memory 920 may further include a memory remotely provided with respect to the processor 910, and these remote memories may be connected to the terminal device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
  • the input device 930 may be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the terminal.
  • the output device 940 may include a display device such as a display screen.
  • the one or more modules are stored in the memory 920. When the one or more modules are To When executing, the processor 910 performs the following operations:
  • search terms entered by the user request a search from the public transportation information server and obtain the information of the public transportation route and the operation status of the public transportation;
  • requesting a search from the public transport information server based on the search term input by the user and obtaining public transport line and public transport operating status information includes:
  • requesting a search from the public transport information server based on the search term input by the user and obtaining public transport line and public transport operating status information includes:
  • requesting a search from the public transport information server based on the search term input by the user and obtaining public transport line and public transport operating status information includes:
  • search terms entered by the user request a search from the public transportation information server and obtain the information of the public transportation route and the operation status of the public transportation as the search result;
  • obtaining the update result of the public transportation operation status information from the public transportation information server to correct the retrieval result includes:
  • the first preset refresh condition includes: the current time reaches a preset refresh time point; or a preset refresh event occurs at the mobile terminal.
  • the second preset refresh condition includes: the estimated remaining time between the bus and the set station reaches a preset time threshold; the remaining stations between the bus and the set station reach the set number threshold; Or the remaining distance between the bus and the set stop reaches the set distance threshold.
  • modules or steps of the present invention can be implemented by a general computing device. They can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. Optionally, they can be implemented with program codes executable by a computer device, so that they can be stored in a storage device and executed by a computing device, or they can be made into individual integrated circuit modules, or multiple modules of them Or the steps are made into a single integrated circuit module to achieve. In this way, the present invention is not limited to any specific combination of hardware and software.
  • the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Traffic Control Systems (AREA)
  • Navigation (AREA)

Abstract

一种公交信息展现方法、装置和设备。所述公交信息展现方法包括:依据客户端的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息;将所述公交线路和公交运行状态信息作为检索结果向客户端发布。提供的公交信息展现方法、装置和设备提供了丰富的公交信息更新机制,使用户及时了解公交系统的实时变化。

Description

公交信息展现方法、装置和设备
本专利申请要求于2014年04月22日提交的,申请号为201410162976.9,申请人为北京百度网讯科技有限公司,发明名称为“公交信息展现方法和装置”的中国专利申请的优先权,该申请的全文以引用的方式并入本申请中。
技术领域
本发明涉及智能交通技术领域,尤其涉及一种公交信息展现方法、装置和设备。
背景技术
随着移动互联技术和地理信息系统的快速发展,越来越多的用户开始在移动终端上使用电子地图应用来获取与城市的公共交通系统相关的信息。
然而,现有的电子地图应用只能向用户展示公交线路换乘方案等静态的且随时间推移变化不大的信息。对于公交车的位置、运行速度、已停靠车站等动态的且随时间推移迅速变化的信息,现有的电子地图应用却不能提供。这样一来,用户在使用电子地图应用时,不能及时了解公交系统的实时变化。
发明内容
有鉴于此,本发明提出一种公交信息展现方法、装置和设备,以使用户及时了解公交系统的实时变化。
第一方面,本发明实施例提供了一种公交信息展现方法,所述方法包括:
依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息;
将所述公交线路和公交运行状态信息进行显示。
第二方面,本发明实施例提供了一种公交信息展现装置,所述装置包括:
信息获取模块,用于依据用户输入的检索词向公交信息服务器请求检索并 且获取公交线路和公交运行状态信息;
信息显示模块,用于将所述公交线路和公交运行状态信息进行显示。
第三方面,本发明实施例提供了一种执行公交信息展现方法的设备,包括至少一个处理器、存储器以及至少一个计算机程序;所述至少一个计算机程序存储于所述存储器并被所述至少一个处理器执行;所述计算机程序包括执行以下操作的指令:
依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息;
将所述公交线路和公交运行状态信息进行显示。
本发明实施例提供的公交信息展现方法、装置和设备,通过在检索并展示公交相关信息后,采用不同的更新方式和在不同的更新时间处对检索得到的公交相关信息进行更新,使得移动终端上显示的公交相关信息能够及时获得更新,使用户及时了解公交系统的实时变化。
附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:
图1是本发明第一实施例提供的公交信息展现方法的流程图;
图2是本发明第二实施例提供的公交信息展现方法中信息获取的流程图;
图3是本发明第二实施例提供的信息获取后的信息显示界面图;
图4是本发明第三实施例提供的公交信息展现方法中信息获取的流程图;
图5是本发明第四实施例提供的公交信息展现方法中信息获取的流程图;
图6是本发明第四实施例提供的信息获取后的信息更新界面图;
图7是本发明第五实施例提供的公交信息展现方法的流程图;
图8是本发明第六实施例提供的公交信息展现装置的结构图;
图9是本发明第八实施例提供的执行公交信息展现方法的设备的硬件结构图。
具体实施方式
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部内容。
第一实施例
图1是本发明第一实施例提供的公交信息展现方法的流程图。本实施例提供的公交信息展现方法应用于用户的移动终端上。所述移动终端包括具有无线通讯功能的智能手机、个人数字助理以及平板电脑。参见图1,所述公交信息展现方法包括:
S110,移动终端依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息。
用户输入的检索词可以是用户输入的公交线路的车次,也可以是用户输入的起点车站和终点车站的名称,还可以是用户输入的途径车站的名称。例如,用户需要检索321路公交车的信息,则用户输入的检索词是“321”。用户需要检索从武定胡同到月坛体育馆的公交线路,则用户输入的检索词是“武定胡同”和“月坛体育馆”。再比如,用户需要检索所有途经西四路口北的公交车的信息,则用户输入的检索词是“西四路口北”。
公交线路是指推荐给用户的,从起点车站至终点车站乘坐公交的完整线路方案。所述公交线路可以是推荐用户乘坐一趟公交车次从起点车站一次行驶至终点车站的线路方案,也就是不经过换乘的线路方案。所述公交线路也可以是推荐用户从起点车站出发,乘坐至少两个公交车次的公交车而到达终点车站的线路方案,也就是经过至少一次换乘的线路方案。公交线路随着时间的推移,其数据内容的变化不大,除非公交车的运行线路调整,公交线路的内容在较长的一段时间内是维持不变的。因此,公交线路是静态数据。
公交运行状态信息包括公交车的首末车时间、公交车到达指定车站的距离、公交车到达指定车站需要的时间、公交车到达指定的公交线路的起始车站 需要的时间以及公交车与指定车站之间的车站数量。与公交线路信息相同,公交运行状态信息也包括静态信息和动态信息。比如,公交车的首末车时间随时间的推移变化不大,属于静态信息;而公交车到达指定车站的距离随时间的推移会有较大的变化,属于动态信息。
上述公交线路和公交运行状态信息都存储在公交信息服务器上。在用户的移动终端需要获取公交线路和公交运行状态信息时,移动终端依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息。
需要说明的是,对公交线路和公交运行状态信息的检索获取,可以是移动终端对相同公交线路和公交运行状态信息的首次获取,也可以是对已经获取过的公交线路和公交运行状态信息的再次获取,并依据再次获取的公交线路和公交运行状态信息对上一次获取的公交线路和公交运行状态信息进行更新。
S120,移动终端将所述公交线路和公交运行状态信息进行显示。
从公交信息服务器检索获取到公交线路和公交运行状态信息后,移动终端将公交线路和公交运行状态信息进行显示。
移动终端可以以文字的形式对公交线路进行显示,也可以结合地图,以图形的形式对公交线路进行显示。无论以何种方式显示,移动终端都需要显示公交线路的起点车站、乘坐的公交车的车次、换乘车站、换乘的公交车的车次以及公交线路的终点车站。
在显示公交运行状态信息时,移动终端可以以文字的形式对公交运行状态信息进行显示,也可以结合地图,以图形的形式对公交运行状态信息进行显示。
优选的,移动终端将所述公交运行状态信息绘制为胶囊形式。由于通过胶囊的形式显示公交运行状态信息,所述胶囊占用的屏幕显示面积较小,显示的信息较多,所以胶囊形式十分适合在移动终端上显示公交的相关信息。优选的,在采用胶囊形式显示公交运行状态信息时,可以根据所述公交运行状态信息中的公交预计到站时间、预计到站距离和/或首末车时间绘制所述胶囊的颜色和形状。
本实施例通过依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息,并将获取的公交线路和公交运行状态信息进行 显示,使得移动终端上显示的公交相关信息能够及时获得更新,使用户及时了解公交系统的实时变化。
第二实施例
图2是本发明第二实施例提供的公交信息展现方法中信息获取的流程图。参见图2,本实施例提供的公交信息展现方法以本发明第一实施例为基础,进一步的,移动终端依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息包括:
S111,移动终端根据用户输入的检索词产生线路查询请求和运行状态查询请求,并且发送至所述公交信息服务器进行检索。
移动终端在接收到用户输入的检索词后,分别产生线路查询请求和运行状态查询请求。如果用户输入的检索词是公交车的车次,移动终端可以依照该公交车的车次同时产生线路查询请求和运行状态查询请求。如果用户输入的检索词是起点车站和重点车站的站名,或者是途经车站的站名,移动终端可以依照该检索词先产生线路查询请求,在依照预先存储的车次站点对照表产生对于具体车次的公交车的运行状态查询请求。
S112,移动终端接收所述公交信息服务器根据线路查询请求返回的公交线路,以及,根据所述运行状态查询请求返回的至少一次公交运行状态信息。
移动终端将产生的线路查询请求发送至所述公交信息服务器进行检索后,所述公交信息服务器根据接收到的线路查询请求检索自身的数据库,得到与该线路查询请求对应的公交线路,并将所述公交线路返回给移动终端。
优选的,公交信息服务器以键值对的形式将所述公交线路返回给所述移动终端。也就是说,移动终端接收以键值对的形式组织的公交线路。所述键值对中的键可以是不同公交线路的标号,值可以是公交线路的具体换乘方案。所述公交信息服务器利用键值对的形式对查询自身数据库得到的公交线路信息进行组配,并返回给移动终端,使得返回给移动终端的数据形式较为简洁,传输的数据量也较小。
对于移动终端发送的运行状态查询请求,公交信息服务器查询自身的数据 库,得到所述运行状态查询请求对应的至少一次公交运行状态信息,并将该至少一次公交运行状态信息返回给移动终端。
优选的,公交信息服务器以键值对的形式将所述公交运行状态信息返回给所述移动终端。也就是说,移动终端接收以键值对的形式组织的公交运行状态信息。所述键值对中的键可以是公交车的车次。所述键值对中的值可以是公交车到达指定车站的距离、公交车到达指定车站需要的时间、公交车到达指定的公交线路的起始车站需要的时间以及公交车与指定车站之间的车站数量。同样,所述公交信息服务器以键值对的形式向移动终端返回公交运行状态信息,能够是返回给移动终端的数据量较小,并且数据形式较为简洁。
S113,移动终端将所述公交线路与对应的所述公交运行状态信息进行关联。
每一条公交线路都包括用户乘坐的一个或者多个公交车次。每一个公交车次都有它自身的公交运行状态信息。移动终端在接收到公交信息服务器返回的公交线路和公交运行状态信息后,将所述公交线路与对应的公交运行状态信息进行关联,以方便对公交线路和公交运行状态信息的显示。
图3示出了依照本实施例进行信息获取后的信息显示界面。参见图3,在所述信息显示界面上显示了多个公交线路,并且在每个公交线路的右下角以胶囊的形式301显示了该公交线路的公交运行状态。并且,依据每个公交线路的不同运行状态,将胶囊以不同的颜色进行显示。
本实施例通过接收到用户输入的检索词后分别产生线路查询请求以及运行状态查询请求,将上述请求发送至公交信息服务器,并在接收到公交信息服务器根据上述请求返回的公交线路和公交运行状态信息之后,将公交线路同与之对应的公交运行状态信息进行关联,使得用户在提交检索词后,能够获得与他提交的检索词相关的全部信息。
第三实施例
图4是本发明第三实施例提供的公交信息展现方法中信息获取的流程图。参见图4,所述公交信息展现方法以本发明第一实施例为基础,进一步的,移动终端依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公 交运行状态信息包括:
S114,移动终端根据用户输入的检索词产生公交信息查询请求,并且发送至所述公交信息服务器进行检索。
移动终端在接收到用户输入的检索词后,可以只产生一个公交信息查询请求。所述公交信息查询请求是一种较为简单的查询请求,它的数据载荷仅包括用户在移动终端输入的检索词。移动终端对用户输入的检索词添加必要的头信息以后,就生成了公交信息查询请求。生成公交信息查询请求后,移动终端将生成的公交信息查询请求发送至所述公交信息服务器。
S115,移动终端接收所述公交信息服务器根据所述公交信息查询请求返回的至少一次公交线路和公交运行状态信息。
公交信息服务器接收到移动终端发送的公交信息查询请求后,根据所述公交信息查询请求检索自身的数据库,生成至少一次公交线路和公交运行状态信息,并将生成的至少一次公交线路和公交运行状态信息返回给移动终端。
在本实施例中,公交线路和公交运行状态信息不再分别生成,而是被整合在一起,由公交信息服务器一并向移动终端返回。这样一来就降低了公交信息服务器与移动终端之间的通信数据量。
优选的,所述公交信息服务器以键值对的形式生成对应于所述公交信息查询请求的查询结果,也就是所述至少一次公交线路和公交运行状态信息。完成了键值对形式的公交线路和公交运行状态信息的生成后,公交信息服务器将上述键值对形式的公交线路和公交运行状态信息发送给移动终端。
本实施例通过根据用户输入的检索词产生形式简洁的公交信息查询请求,并接收公交信息服务器根据公交信息查询请求生成的整合在一起的至少一次公交线路和公交运行状态信息,降低了公交信息服务器与移动终端之间的通信数据量,提高了通信效率。
第四实施例
图5是本发明第四实施例提供的公交信息展现方法中信息获取的流程图。所述公交信息展现方法以本发明第一实施例为基础,进一步的,移动终端依据 用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息包括:
S116,依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息,作为检索结果。
在本实施例中,移动终端接收到用户输入的检索词后,依然向公交信息服务器请求检索并且获取公交线路和公交运行状态信息。进一步的,移动终端可以依据用户的检索词获取完整的公交线路和公交运行状态信息,也可以仅获取所述公交线路和公交运行状态信息中的动态信息。由于公交线路本身是静态信息,所以获取公交线路和公交运行状态信息中的动态信息的信息获取方式也就是仅获取公交运行状态信息中的动态信息。
S117,从所述公交信息服务器获取所述公交运行状态信息的更新结果,以修正所述检索结果。
获取到检索结果后,以上述检索结果为依据对移动终端上的公交线路和公交运行状态信息进行更新。
优选的,移动终端从所述公交信息服务器获取所述公交运行状态信息的更新结果,以修正所述检索结果的操作可以是当满足本地的或客户端的第一预设刷新条件,则向所述公交信息服务器请求公交运行状态信息的更新,以获取更新结果,并修正所述检索结果,也可以是接收所述公交信息服务器在监测到满足第二预设刷新条件时推送的公交运行状态信息的更新结果,以修正所述检索结果。
所述第一预设刷新条件包括:当前时间到达预设的刷新时间点;或者移动终端处有预设的刷新事件发生。
所述刷新时间点可以是用户预先设置的一个确定的时间点,比如2014年3月27日上午8:30,也可以是用户设置的一组时间点的序列,比如从2014年3月27日上午8:30开始,每隔15分钟取一个时间点而形成的时间点序列。
所述刷新事件可以是用户定义的事件,比如,GPS定位功能开启,或者用户打开了与公交相关的应用。
所述第二预设刷新条件包括:公交车与设定站点的预计剩余时间达到预设 时间门限值;公交车与设定站点之间的剩余站点达到设定数量门限值;或者公交车与设定站点之间的剩余距离达到设定距离门限值。
需要说明的是,满足上述三种条件中任意一个条件时,移动终端都接收所述所述公交信息服务器在监测到满足第二预设刷新条件时推送的公交运行状态信息的更新结果,以修正所述检索结果。
本实施例通过向公交信息服务器请求检索并且获取公交线路和公交运行状态信息后,根据不同的预设刷新条件利用公交线路和公交运行状态信息的更新结果修正所述检索结果,使得移动终端上的公交线路和公交运行状态信息能够按照不同的预设刷新条件进行更新,使得用户能够及时了解公交系统的运行情况。
第五实施例
图7是本发明第五实施例提供的公交信息展现方法的流程图。本实施例提供的公交信息展现方法应用于业务服务器上。所述业务服务器与移动终端和公交信息服务器分别连接,可以从用户的移动终端接收查询请求,向移动终端发布信息,并且可以代理移动终端向公交信息服务器发送查询请求,以及从公交信息服务器接收查询结果。参见图7,所述公交信息展现方法包括:
S710,业务服务器从移动终端接收公交信息查询请求。
S720,业务服务器根据所述公交信息查询请求检索并且获取公交线路和公交运行状态信息。
业务服务器接收到移动终端发送的公交信息查询请求后,可以根据用户的公交信息查询请求分别生成线路查询请求和公交运行信息查询请求,并将上述生成的请求发送至公交信息服务器,以检索公交线路和公交运行状态信息。
S730,业务服务器接收公交信息服务器返回的公交线路和公交运行状态信息。
业务服务器将线路查询请求和公交运行信息查询请求发送至公交信息服务器后,公交信息服务器根据上述请求检索自身数据库,将检索得到的公交线路和公交运行状态信息返回给所述业务服务器。业务服务器对公交信息服务器返 回的公交线路和公交运行状态信息进行接收。
S740,业务服务器将接收到的公交线路和公交运行状态信息向移动终端发布。
本实施例通过根据从移动终端接收到的公交信息查询请求向公交信息服务器请求查询公交线路和公交运行状态信息,再将公交信息服务器返回的公交线路和公交运行状态信息向移动终端发布,使得用户能够及时了解公交系统的运行情况,并且降低了移动终端的计算负载。
第六实施例
图8是本发明第六实施例提供的公交信息展现装置的结构图。参见图8,所述公交信息展现装置包括:信息获取模块810以及信息显示模块820。
所述信息获取模块810用于依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息。
所述信息显示模块820用于将所述公交线路和公交运行状态信息进行显示。
优选的,所述信息获取模块810包括:第一信息检索单元811、信息接收单元812以及信息关联单元单元813。
所述第一信息检索单元811用于根据用户输入的检索词产生线路查询请求和运行状态查询请求,并且发送至所述公交信息服务器进行检索。
所述信息接收单元812用于接收所述公交信息服务器根据线路查询请求返回的公交线路,以及,根据所述运行状态查询请求返回的至少一次公交运行状态信息。
所述信息关联单元813用于将所述公交线路与对应的所述公交运行状态信息进行关联。
优选的,所述信息获取模块810包括:第二信息检索单元814以及信息接收单元815。
所述第二信息检索单元814用于根据用户输入的检索词产生公交信息查询请求,并且发送至所述公交信息服务器进行检索。
所述信息接收单元815用于接收所述公交信息服务器根据所述公交信息查 询请求返回的至少一次公交线路和公交运行状态信息。
优选的,所述信息获取模块810包括:第三信息检索单元816以及更新结果获取单元817。
所述第三信息检索单元816用于依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息,作为检索结果。
所述更新结果获取单元817用于从所述公交信息服务器获取所述公交运行状态信息的更新结果,以修正所述检索结果。
优选的,所述更新结果获取单元817具体用于:如果满足本地的或客户端的第一预设刷新条件,则向所述公交信息服务器请求公交运行状态信息的更新,以获取更新结果,并修正所述检索结果;或接收所述公交信息服务器在监测到满足第二预设刷新条件时推送的公交运行状态信息的更新结果,以修正所述检索结果。
优选的,所述第一预设刷新条件包括:当前时间到达预设的刷新时间点;或者移动终端出有预设的刷新事件发生。
优选的,所述第二预设刷新条件包括:公交车与设定站点的预计剩余时间达到预设时间门限值;公交车与设定站点之间的剩余站点达到设定数量门限值;或者公交车与设定站点之间的剩余距离达到设定距离门限值。
第七实施例
本实施例还提供一种非易失性计算机存储介质,所述计算机存储介质存储有一个或者多个模块,当所述一个或者多个模块被一个执行公交信息展现方法的计算设备执行时,使得所述计算设备执行如下操作:
依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息;
将所述公交线路和公交运行状态信息进行显示。
上述存储介质中存储的模块被所述计算设备执行时,依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息,可优选包括:
根据用户输入的检索词产生线路查询请求和运行状态查询请求,并且发送至所述公交信息服务器进行检索;
接收所述公交信息服务器根据线路查询请求返回的公交线路,以及,根据所述运行状态查询请求返回的至少一次公交运行状态信息;
将所述公交线路与对应的公交运行状态信息进行关联。
上述存储介质中存储的模块被所述计算设备执行时,依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息包括:
根据用户输入的检索词产生公交信息查询请求,并且发送至所述公交信息服务器进行检索;
接收所述公交信息服务器根据所述公交信息查询请求返回的至少一次公交线路和公交运行状态信息。
上述存储介质中存储的模块被所述计算设备执行时,依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息包括:
依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息,作为检索结果;
从所述公交信息服务器获取所述公交运行状态信息的更新结果,以修正所述检索结果。
上述存储介质中存储的模块被所述计算设备执行时,从所述公交信息服务器获取所述公交运行状态信息的更新结果,以修正所述检索结果包括:
如果满足本地的或客户端的第一预设刷新条件,则向所述公交信息服务器请求公交运行状态信息的更新,以获取更新结果,并修正所述检索结果;或
接收所述公交信息服务器在监测到满足第二预设刷新条件时推送的公交运行状态信息的更新结果,以修正所述检索结果。
上述存储介质中存储的模块被所述计算设备执行时,所述第一预设刷新条件包括:当前时间到达预设的刷新时间点;或者在移动终端处有预设的刷新事件发生。
上述存储介质中存储的模块被所述计算设备执行时,所述第二预设刷新条件包括:公交车与设定站点的预计剩余时间达到预设时间门限值;公交车与设 定站点之间的剩余站点达到设定数量门限值;或者公交车与设定站点之间的剩余距离达到设定距离门限值。
第八实施例
图9是本发明第八实施例提供的执行公交信息展现方法的设备的硬件结构图。参见图9,为本发明第八实施例提供一种公交信息展现方法的设备的硬件结构示意图。该设备包括:
一个或者多个处理器910,图9中以一个处理器910为例;
存储器920;以及一个或者多个模块。
所述服务器还可以包括:输入装置930和输出装置940。所述服务器中的处理器910、存储器920、输入装置930和输出装置940可以通过总线或其他方式连接,图9中以通过总线连接为例。
存储器920作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本发明实施例中的公交信息展示方法对应的程序指令/模块(例如,附图8所示的公交信息展示装置中的信息获取模块810和信息显示模块820)。处理器910通过运行存储在存储器920中的软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例中的公交信息展示方法。
存储器920可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器920可进一步包括相对于处理器910远程设置的存储器,这些远程存储器可以通过网络连接至终端设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置930可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。输出装置940可包括显示屏等显示设备。
所述一个或者多个模块存储在所述存储器920中,当被所述一个或者多个 处理器910执行时,执行如下操作:
依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息;
将所述公交线路和公交运行状态信息进行显示。
进一步的,依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息包括:
根据用户输入的检索词产生线路查询请求和运行状态查询请求,并且发送至所述公交信息服务器进行检索;
接收所述公交信息服务器根据线路查询请求返回的公交线路,以及,根据所述运行状态查询请求返回的至少一次公交运行状态信息;
将所述公交线路与对应的公交运行状态信息进行关联。
进一步的,依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息包括:
根据用户输入的检索词产生公交信息查询请求,并且发送至所述公交信息服务器进行检索;
接收所述公交信息服务器根据所述公交信息查询请求返回的至少一次公交线路和公交运行状态信息。
进一步的,依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息包括:
依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息,作为检索结果;
从所述公交信息服务器获取所述公交运行状态信息的更新结果,以修正所述检索结果。
进一步的,从所述公交信息服务器获取所述公交运行状态信息的更新结果,以修正所述检索结果包括:
如果满足本地的或客户端的第一预设刷新条件,则向所述公交信息服务器请求公交运行状态信息的更新,以获取更新结果,并修正所述检索结果;或
接收所述公交信息服务器在监测到满足第二预设刷新条件时推送的公交运 行状态信息的更新结果,以修正所述检索结果。
进一步的,所述第一预设刷新条件包括:当前时间到达预设的刷新时间点;或者在移动终端处有预设的刷新事件发生。
进一步的,所述第二预设刷新条件包括:公交车与设定站点的预计剩余时间达到预设时间门限值;公交车与设定站点之间的剩余站点达到设定数量门限值;或者公交车与设定站点之间的剩余距离达到设定距离门限值。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个计算装置上,或者分布在多个计算装置所组成的网络上,可选地,他们可以用计算机装置可执行的程序代码来实现,从而可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件的结合。本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间的相同或相似的部分互相参见即可。
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系属于仅仅用来将一个实体或者操作与另一个实体或者操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。
以上所述仅为本发明的优选实施例,并不用于限制本发明,对于本领域技术人员而言,本发明可以有各种改动和变化。凡在本发明的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (15)

  1. 一种公交信息展现方法,其特征在于,包括:
    依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息;
    将所述公交线路和公交运行状态信息进行显示。
  2. 根据权利要求1所述的方法,其特征在于,依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息包括:
    根据用户输入的检索词产生线路查询请求和运行状态查询请求,并且发送至所述公交信息服务器进行检索;
    接收所述公交信息服务器根据线路查询请求返回的公交线路,以及,根据所述运行状态查询请求返回的至少一次公交运行状态信息;
    将所述公交线路与对应的公交运行状态信息进行关联。
  3. 根据权利要求1所述的方法,其特征在于,依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息包括:
    根据用户输入的检索词产生公交信息查询请求,并且发送至所述公交信息服务器进行检索;
    接收所述公交信息服务器根据所述公交信息查询请求返回的至少一次公交线路和公交运行状态信息。
  4. 根据权利要求1所述的方法,其特征在于,依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息包括:
    依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息,作为检索结果;
    从所述公交信息服务器获取所述公交运行状态信息的更新结果,以修正所述检索结果。
  5. 根据权利要求4所述的方法,其特征在于,从所述公交信息服务器获取所述公交运行状态信息的更新结果,以修正所述检索结果包括:
    如果满足本地的或客户端的第一预设刷新条件,则向所述公交信息服务器请求公交运行状态信息的更新,以获取更新结果,并修正所述检索结果;或
    接收所述公交信息服务器在监测到满足第二预设刷新条件时推送的公交运 行状态信息的更新结果,以修正所述检索结果。
  6. 根据权利要求5所述的方法,其特征在于,所述第一预设刷新条件包括:当前时间到达预设的刷新时间点;或者在移动终端处有预设的刷新事件发生。
  7. 根据权利要求5所述的方法,其特征在于,所述第二预设刷新条件包括:公交车与设定站点的预计剩余时间达到预设时间门限值;公交车与设定站点之间的剩余站点达到设定数量门限值;或者公交车与设定站点之间的剩余距离达到设定距离门限值。
  8. 一种公交信息展现装置,其特征在于,包括:
    信息获取模块,用于依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息;
    信息显示模块,用于将所述公交线路和公交运行状态信息进行显示。
  9. 根据权利要求8所述的装置,其特征在于,所述信息获取模块包括:
    第一信息检索单元,用于根据用户输入的检索词产生线路查询请求和运行状态查询请求,并且发送至所述公交信息服务器进行检索;
    信息接收单元,用于接收所述公交信息服务器根据线路查询请求返回的公交线路,以及,所述公交信息服务器根据所述运行状态查询请求返回的至少一次公交运行状态信息;
    信息关联单元,用于将所述公交线路与对应的所述公交运行状态信息进行关联。
  10. 根据权利要求8所述的装置,其特征在于,所述信息获取模块包括:
    第二信息检索单元,用于根据用户输入的检索词产生公交信息查询请求,并且发送至所述公交信息服务器进行检索;
    信息接收单元,用于接收所述公交信息服务器根据所述公交信息查询请求返回的至少一次公交线路和公交运行状态信息。
  11. 根据权利要求8所述的装置,其特征在于,所述信息获取模块包括:
    第三信息检索单元,用于依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息,作为检索结果;
    更新结果获取单元,用于从所述公交信息服务器获取所述公交运行状态信 息的更新结果,以修正所述检索结果。
  12. 根据权利要求11所述的装置,其特征在于,所述更新结果获取单元具体用于:
    如果满足本地的或客户端的第一预设刷新条件,则向所述公交信息服务器请求公交运行状态信息的更新,以获取更新结果,并修正所述检索结果;或
    接收所述公交信息服务器在监测到在满足第二预设刷新条件时推送的公交运行状态信息的更新结果,以修正所述检索结果。
  13. 根据权利要求12所述的装置,其特征在于,所述第一预设刷新条件包括:当前时间到达预设的刷新时间点;或者移动终端处有预设的刷新事件发生。
  14. 根据权利要求12所述的装置,其特征在于,所述第二预设刷新条件包括:公交车与设定站点的预计剩余时间达到预设时间门限值;公交车与设定站点之间的剩余站点达到设定数量门限值;或者公交车与设定站点之间的剩余距离达到设定距离门限值。
  15. 一种执行公交信息展现方法的设备,包括至少一个处理器、存储器以及至少一个计算机程序;所述至少一个计算机程序存储于所述存储器并被所述至少一个处理器执行;其特征在于,所述计算机程序包括执行以下操作的指令:
    依据用户输入的检索词向公交信息服务器请求检索并且获取公交线路和公交运行状态信息;
    将所述公交线路和公交运行状态信息进行显示。
PCT/CN2014/094312 2014-04-22 2014-12-19 公交信息展现方法、装置和设备 WO2015161663A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410162976.9 2014-04-22
CN201410162976.9A CN103927369B (zh) 2014-04-22 2014-04-22 公交信息展现方法和装置

Publications (1)

Publication Number Publication Date
WO2015161663A1 true WO2015161663A1 (zh) 2015-10-29

Family

ID=51145590

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094312 WO2015161663A1 (zh) 2014-04-22 2014-12-19 公交信息展现方法、装置和设备

Country Status (2)

Country Link
CN (1) CN103927369B (zh)
WO (1) WO2015161663A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113065043A (zh) * 2021-04-26 2021-07-02 广州通达汽车电气股份有限公司 行车线路查看方法、装置、设备及存储介质

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927369B (zh) * 2014-04-22 2017-05-17 北京百度网讯科技有限公司 公交信息展现方法和装置
CN104408961A (zh) * 2014-11-18 2015-03-11 深圳市腾讯计算机系统有限公司 候车站公交信息展示方法和装置
CN105989145B (zh) * 2015-02-28 2020-02-21 中国移动通信集团辽宁有限公司 公交线路的自动更新方法、设备及系统
CN104881442A (zh) * 2015-05-13 2015-09-02 北京金山安全软件有限公司 数据筛选方法和装置
TWI635456B (zh) * 2016-04-01 2018-09-11 瑞傳科技股份有限公司 Commuter intelligent time control system
WO2018233664A1 (en) * 2017-06-21 2018-12-27 Beijing Didi Infinity Technology And Development Co., Ltd. SYSTEMS AND METHODS FOR ROUTING PLANNING
CN109426417A (zh) * 2017-08-31 2019-03-05 北京嘀嘀无限科技发展有限公司 信息显示方法及系统
CN111031493B (zh) * 2019-12-02 2022-05-20 腾讯科技(深圳)有限公司 运行时刻信息传输方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577057A (zh) * 2009-06-04 2009-11-11 中兴通讯股份有限公司 一种实现公交查询业务的方法、系统及移动终端
CN103136299A (zh) * 2011-12-05 2013-06-05 北大方正集团有限公司 一种交通信息查询的方法、系统和设备
WO2014048217A1 (zh) * 2012-09-27 2014-04-03 Han Jinshan 公交信息查询方法、收集方法和公交信息系统
CN103927369A (zh) * 2014-04-22 2014-07-16 北京百度网讯科技有限公司 公交信息展现方法和装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446179A (zh) * 2010-10-09 2012-05-09 Tcl集团股份有限公司 公交线路查询方法
CN102467545B (zh) * 2010-11-16 2016-05-18 腾讯科技(深圳)有限公司 公交路线查询的方法及设备
CN102681997A (zh) * 2011-03-07 2012-09-19 中兴通讯股份有限公司 公交信息查询系统及其进行公交信息查询的方法
US8600659B1 (en) * 2011-08-01 2013-12-03 Google Inc. Method and system for geographic search for public transportation commuters

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577057A (zh) * 2009-06-04 2009-11-11 中兴通讯股份有限公司 一种实现公交查询业务的方法、系统及移动终端
CN103136299A (zh) * 2011-12-05 2013-06-05 北大方正集团有限公司 一种交通信息查询的方法、系统和设备
WO2014048217A1 (zh) * 2012-09-27 2014-04-03 Han Jinshan 公交信息查询方法、收集方法和公交信息系统
CN103927369A (zh) * 2014-04-22 2014-07-16 北京百度网讯科技有限公司 公交信息展现方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113065043A (zh) * 2021-04-26 2021-07-02 广州通达汽车电气股份有限公司 行车线路查看方法、装置、设备及存储介质
CN113065043B (zh) * 2021-04-26 2023-06-06 广州通达汽车电气股份有限公司 行车线路查看方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN103927369B (zh) 2017-05-17
CN103927369A (zh) 2014-07-16

Similar Documents

Publication Publication Date Title
WO2015161663A1 (zh) 公交信息展现方法、装置和设备
US10445349B2 (en) Management of a database system
JP2019071068A (ja) モバイル・デバイスに対する示唆された検索クエリのプッシュ
US9342597B1 (en) Associating an event attribute with a user based on a group of electronic messages associated with the user
US10234305B2 (en) Method and apparatus for providing a targeted map display from a plurality of data sources
US20170371925A1 (en) Query data structure representation
US20130072233A1 (en) Geographically partitioned online content services
JP2019537811A (ja) カスタマイズされたユーザ生成型コンテンツの、ドメインに基づく、ネットワークを横断した収集及び提供
AU2013200436B2 (en) Travel management
US10033827B2 (en) Scalable management of composite data collected with varied identifiers
US10230687B1 (en) Apparatus and method for correlating addresses of different Internet protocol versions
US20210133227A1 (en) Access points for maps
US20150347555A1 (en) Waterwheel sharding
CN105303501A (zh) 一种基于图片推荐的社区信息服务系统和方法
WO2017012481A1 (zh) 一种信息显示方法及装置
US20190179934A1 (en) Cloud based validation engine
US20120089427A1 (en) System and method for grouping trip itineraries
CN102867001A (zh) 获取信息的方法和装置
WO2021164131A1 (zh) 地图展示方法、系统、计算机设备和存储介质
US20150073875A1 (en) System and method for acquiring, processing and presenting information over the internet
US9674654B2 (en) System and method for identifying a geometric footprint of a point of interest
US9607072B2 (en) System and method for implementing nested relationships within a schemaless database
US20160092958A1 (en) Machine to generate a self-updating message
CN115952471B (zh) 融合不同数据源的数据的方法、装置、计算设备和介质
US20140244319A1 (en) System and method for storing and finding activities

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14890439

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 14890439

Country of ref document: EP

Kind code of ref document: A1