WO2018094614A1 - Route planning method, device and electronic equipment - Google Patents

Route planning method, device and electronic equipment Download PDF

Info

Publication number
WO2018094614A1
WO2018094614A1 PCT/CN2016/106965 CN2016106965W WO2018094614A1 WO 2018094614 A1 WO2018094614 A1 WO 2018094614A1 CN 2016106965 W CN2016106965 W CN 2016106965W WO 2018094614 A1 WO2018094614 A1 WO 2018094614A1
Authority
WO
WIPO (PCT)
Prior art keywords
public transportation
route
identification information
mobile terminal
obtaining
Prior art date
Application number
PCT/CN2016/106965
Other languages
French (fr)
Chinese (zh)
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 深圳前海达闼云端智能科技有限公司
Priority to PCT/CN2016/106965 priority Critical patent/WO2018094614A1/en
Priority to CN201680002726.6A priority patent/CN106716068A/en
Publication of WO2018094614A1 publication Critical patent/WO2018094614A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3407Route searching; Route guidance specially adapted for specific applications
    • G01C21/3423Multimodal routing, i.e. combining two or more modes of transportation, where the modes can be any of, e.g. driving, walking, cycling, public transport

Definitions

  • the present disclosure relates to the field of information processing, and in particular, to a method, an apparatus, and an electronic device for line planning.
  • map software With the popularity of map software, most users choose to use map software to plan their travel routes when traveling, so as to accurately and quickly plan the route from the originating location to the target location in a dense network of cobwebs.
  • the factors that the map application considers for the planning of the line include vehicle, line distance, and road condition information, and the road condition information may include the number of traffic lights, traffic congestion, vehicle limit information, and the like. That is to say, after the user inputs the originating location and the target location, the map application can plan one or more lines for the user to refer to at the originating location and the target location based on the above factors.
  • the main object of the present disclosure is to provide a method, apparatus and electronic device for line planning to solve the technical problem that the prior art is not accurate enough for the planning of the map line.
  • a first aspect of the present disclosure provides a method for route planning, including:
  • the planning of the route is performed according to the route of the public transportation.
  • the line plan results in at least one line, the at least one line including a target line, the target line including a portion or all of the route of the public vehicle on which the user is currently riding.
  • a second aspect of the present disclosure provides an apparatus for line planning, comprising:
  • a route obtaining module configured to acquire a route of a public transportation vehicle that the user rides through the mobile terminal
  • the line planning module is configured to plan at least one line between the originating location and the target location based on the route of the public transportation.
  • a third aspect of the present disclosure provides an electronic device, including: a processor unit, a communication interface, a memory, and a communication bus;
  • the processor unit, the communication interface and the memory complete communication with each other through the communication bus;
  • the memory is for storing an application, the processor unit for running the application to perform the method of the first aspect.
  • a fourth aspect of the present disclosure provides a computer readable storage medium for storing a computer program, the computer program comprising instructions for performing the method of the first aspect.
  • the present invention adopts the above technical solution, and when planning a route on a map, the vehicle currently occupied by the user is considered, so as to recommend a line including some or all routes of the current travel time of the user to the user.
  • the invention effectively considers the current actual ride situation of the user when planning the line, improves the user experience, and solves the technical problem that the planning of the prior art map line is not accurate enough.
  • FIG. 1 is a schematic flowchart of a method for line planning according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an implementation environment according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a map line planned based on the method shown in FIG. 1 according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart diagram of another method for line planning according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an apparatus for line planning according to an embodiment of the present invention.
  • FIG. 5B is a schematic structural diagram of another apparatus for line planning according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • An embodiment of the present invention provides a method for line planning. As shown in FIG. 1 , the method includes:
  • the mobile terminal is exemplified as a smart phone.
  • the smart phone is installed with a map application.
  • the originating location and the target location may be manually input in the interface of the application, or may be directly Select on the map to determine the originating location and the destination location.
  • the current location of the located user can be defaulted to the originating location.
  • the mobile terminal acquires a route that the user has currently traveled or determines a route of the public transportation to be taken, and at least one route is planned between the originating place and the target location according to the route.
  • the at least one line comprises a target line, the target line comprising part or all of the route of the public transportation that the user is currently riding.
  • the embodiment of the present invention can preferentially plan the route of the public transportation vehicle that the user rides, and reduce the transfer of the user.
  • the embodiment of the present invention adopts the above technical solution, and when planning a route on a map, the vehicle currently occupied by the user is considered, so as to recommend a line including some or all routes of the current travel time of the user to the user. Since the actual actual ride situation of the user is effectively considered when planning the route, the user experience is improved, and the technical problem that the planning of the prior art map line is not accurate is solved.
  • the value indicates that, in the specific implementation, the influencing factors used in the planned route may include pre-stored information, such as the number of traffic lights, vehicle limit information, etc., in addition to the route of the public transportation vehicle that the user rides. It may include information that needs to be obtained in real time, for example, traffic congestion.
  • the invention is not limited thereto.
  • FIG. 2 is a mobile terminal illustrating a mobile terminal, wherein the mobile terminal 201 is installed with a map application.
  • the map application can be opened to plan the travel route, such as the map interface currently displayed by the mobile terminal 201.
  • the user can display the plan.
  • At least one line the mobile terminal 201 transmits related information to the server 202, and the server 202 performs line planning according to various line influence factors, and returns the obtained at least one line to the mobile terminal 201.
  • the execution body of the above steps S101 and S102 may be the server 202, which acquires the route of the public transportation that the user is currently riding through the mobile terminal 201, and performs line planning according to the line influencing factor including the route of the public transportation.
  • the execution body of the foregoing steps S101 and S102 may also be a mobile terminal, that is, a route by the mobile terminal according to the public transportation including the user's ride. Line influence factors for route planning.
  • FIG. 3 is a schematic diagram of at least one map line planned by the method shown in FIG. 1 according to an embodiment of the present invention.
  • the originating location is A
  • the target location is B
  • the route of the bus currently occupied by the user is as shown by the solid line 31
  • the other bus also passes through the A point
  • the route is as shown by the broken line 32.
  • the planned target line may be the path of the V-shaped identifier as shown in the figure, considering that the user currently has taken the bus with the route 31 as the solid line.
  • the user does not need to transfer at the originating place A, and arrives at the C bus stop by the current bus, and can get to the target location B by walking after getting off the bus.
  • the prior art since the bus currently occupied by the user is not considered, under the other conditions being the same, since the route of the bus with the route 32 is shorter, the prior art will recommend the user to take the route 32.
  • the bus reached point B which is contrary to the fact that the user has already taken the bus with the route 31. Therefore, the technical solution provided by the embodiment of the present invention can improve the rationality of the route planning.
  • the step S101 includes: acquiring, by the mobile terminal, identification information of the public transportation vehicle; and acquiring the public transportation information corresponding to the identification information of the public transportation vehicle. The route of the tool.
  • the mobile terminal may pre-store the identification information of the public transportation vehicle and the public transportation Corresponding relationship of the route of the tool, so that after obtaining the identification information of the public transportation vehicle, the corresponding relationship can be queried to obtain the route of the public transportation vehicle.
  • the mobile terminal can query the route of the public transportation from the server or the public network.
  • the server 202 may pre-store the correspondence between the identification information of the public transportation vehicle and the route of the public transportation vehicle, by moving After obtaining the identification information of the public transportation vehicle that the user is riding, the terminal acquires the route corresponding to the identification information from the corresponding relationship stored by the terminal.
  • the identification information of the public transportation vehicle that the user rides can be acquired by the mobile terminal in the following manner.
  • Manner 1 Obtain identification information of the public transportation vehicle sent by the credit card machine of the public transportation vehicle to the mobile terminal.
  • the card reader on the bus is an NFC (Near Field Communication) device or an RFID (Radio Frequency Identification) device, which can pre-store the identification information of the bus, and the identification information Specifically, it can be the number of trips to the bus.
  • NFC Near Field Communication
  • RFID Radio Frequency Identification
  • the smart phone when the user is on the bus, the smart phone is used to touch the credit card machine, and the card reader feeds the identification information to the smart phone through NFC or RFID media, so that when the user opens the map application, You can get the train information of the bus stored in the smartphone.
  • the embodiment of the present invention can also initially obtain the identification of the subway that the user may ride through the feedback of the inbound gate, and further accurately determine the subway line that the user rides through GPS positioning. .
  • the identification information of the public transportation vehicle is obtained in the name, and the identification information is included in the name of the WiFi hotspot.
  • the name of the WiFi hotspot provided on the bus may include the information of the bus number of the bus, for example, the name of the WiFi is “1 way car WiFi”. In this way, the smart phone can obtain the identification information of the bus by analyzing the name of the WiFi hotspot by text.
  • Manner 3 Obtain identification information of the public transportation vehicle obtained by the mobile terminal scanning a two-dimensional code of the public transportation vehicle.
  • the public transportation vehicle currently occupied by the user is pre-set with a two-dimensional code generated according to the identification information of the public transportation vehicle.
  • the two-dimensional code on the bus or the subway stores the identification information of the vehicle, and the user is in the When you take the bus or the subway, you can scan the information stored in the QR code by scanning the QR code on the bus or subway with your smartphone to get the identification information of the bus or subway.
  • the smartphone obtains the identification information of the public transportation currently being used by the user, the information can be displayed on the mobile phone interface to prompt the user to take the current number of trips.
  • the smart phone may further store the identification information, and after the user opens the map application program, automatically collect the stored identification information, and combine the information to plan the map line. Further, after determining that the location of the mobile terminal is not on the route of the public transportation, deleting the acquired identification information.
  • the smartphone determines that the current location is not on the route of the public transportation by using GPS (Global Positioning System) positioning, it indicates that the user has got off the vehicle, and at this time, the identification information of the public transportation vehicle may be deleted. To avoid causing interference to the subsequent route planning Disturb.
  • the smart phone may be swiped again. At this time, the smart phone may automatically clear the stored public transportation vehicle identification information. .
  • the method for the route planning provided by the embodiment of the present invention is described in detail by taking a bus as an example. As shown in FIG. 4, the method includes:
  • the smart phone receives the information of the bus number of the bus sent by the card swiping machine when entering the sensing range of the card swiping machine of the bus.
  • the smart phone stores the service information.
  • the smart phone opens the map software according to a user operation.
  • the map software of the smart phone acquires a starting location and a target location input by the user.
  • the map software of the smart phone invokes the stored trip information when receiving an instruction for instructing a planned map line.
  • the map software of the smart phone determines a route of the corresponding bus according to the vehicle information, and performs route planning according to the route of the bus.
  • the value indicates that the method shown in FIG. 4 is an example in which the mobile terminal is used as an execution subject.
  • the line planning may also be performed by the server.
  • the above solution improves the user experience by effectively considering the current actual ride situation of the user when planning the route, and solves the technical problem that the planning of the prior art map line is not accurate enough.
  • the embodiment of the present invention further provides a device 50 for line planning, which is used to implement a method for line planning provided by the foregoing method embodiment.
  • the device 50 includes:
  • the route obtaining module 501 is configured to acquire, by the mobile terminal, a route of the public transportation vehicle that the user rides;
  • the line planning module 502 is configured to plan the line based on the route of the public transportation.
  • the line plan results in at least one line, the at least one line comprising a target line, the target line comprising part or all of the route of the public vehicle on which the user is currently riding.
  • the device 50 provided by the embodiment of the present invention considers the vehicle currently occupied by the user when planning a route on the map, so as to recommend a line including some or all routes of the current travel time of the user to the user. Since the actual actual ride situation of the user is effectively considered when planning the route, the user experience is improved, and the technical problem that the planning of the prior art map line is not accurate is solved.
  • the route obtaining module 501 is configured to: acquire the identification information of the public transportation vehicle by using the mobile terminal; and acquire a route of the public transportation vehicle corresponding to the identification information of the public transportation vehicle.
  • the mobile terminal may pre-store the correspondence between the identification information of the public transportation vehicle and the route of the public transportation vehicle, so that after the identification information of the public transportation vehicle is acquired, The corresponding relationship can be queried to obtain the route of the public transportation.
  • the device 50 can query the route of the public transportation from a server or a public network.
  • the server 202 may pre-store the correspondence between the identification information of the public transportation vehicle and the route of the public transportation vehicle, and then the device 50 Obtaining the user’s ride through the mobile terminal After the identification information of the public transportation, the route corresponding to the identification information may be obtained from the corresponding relationship stored by the server.
  • the route obtaining module 501 is specifically configured to: acquire identification information of the public transportation vehicle sent by the credit card machine of the public transportation vehicle to the mobile terminal.
  • the route obtaining module 501 is specifically configured to: acquire identification information of the public transportation vehicle sent by the credit card machine of the public transportation vehicle to the mobile terminal.
  • the route obtaining module 501 is specifically configured to: acquire identification information of the public transportation vehicle sent by the in-vehicle wireless fidelity WiFi hotspot of the public transportation vehicle to the mobile terminal; or, from the mobile Obtaining the identification information of the public transportation vehicle in the name of the car-mounted WiFi hotspot connected to the terminal, where the name of the WiFi hotspot includes the identification information.
  • the route obtaining module 501 is specifically configured to: acquire identification information of the public transportation vehicle sent by the in-vehicle wireless fidelity WiFi hotspot of the public transportation vehicle to the mobile terminal; or, from the mobile Obtaining the identification information of the public transportation vehicle in the name of the car-mounted WiFi hotspot connected to the terminal, where the name of the WiFi hotspot includes the identification information.
  • the route obtaining module 501 is specifically configured to: acquire the identification information of the public transportation vehicle obtained by the mobile terminal scanning the two-dimensional code of the public transportation vehicle.
  • the public transportation vehicle currently occupied by the user is pre-set with a two-dimensional code generated according to the identification information of the public transportation vehicle.
  • the device 50 further includes: an information storage module 503, configured to store the identifier information after the route obtaining module 501 acquires the identification information of the public vehicle;
  • the information deletion module 504 deletes the acquired identification information after determining that the location of the mobile terminal is not on the route of the public transportation.
  • the smart phone determines that the current location is not on the route of the public transportation by GPS positioning, it indicates that the user has got off the vehicle. At this time, the identification information of the public transportation vehicle may be deleted to avoid interference to the subsequent route planning. .
  • the smart phone may be swiped again. At this time, the smart phone may automatically clear the stored public transportation vehicle identification information. .
  • module division performed by the device for line planning is only a logical function division.
  • the embodiment of the present invention further provides an electronic device 60.
  • the electronic device 60 includes a processor unit 601, a communication interface 602, a memory 603, and a communication bus 604.
  • the processor unit 601, the communication interface 602 and the memory 603 complete communication with each other through the communication bus 604.
  • the processor unit 601 may be a multi-core CPU or an ASIC (Application Specific Integrated Circuit) or one or more integrated circuits configured to implement the embodiments of the present invention.
  • ASIC Application Specific Integrated Circuit
  • the memory 603 is for storing program code, and the program code includes computer operation instructions and a network flow diagram.
  • the memory 603 may include a high speed RAM (random access memory), and may also include a non-volatile memory such as at least one disk memory.
  • the communication interface 602 is configured to implement communication with an external device.
  • the processor unit 601 is configured to execute program code in the memory 603 to implement a method for line planning in the foregoing method embodiment. For details, refer to the description of the foregoing method embodiments, and details are not described herein again.
  • the value indicates that the electronic device 60 shown in FIG. 6 can be a mobile terminal, and after acquiring the route of the public transportation vehicle that the user rides, the mobile terminal can perform line planning by using a built-in algorithm; the electronic device 60 further It may be a server that obtains a route of the public transportation vehicle that the user rides through the mobile terminal, performs route planning, and returns the planning result to the mobile terminal.
  • the disclosed apparatus and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the module division of the device 50 only one logical function is divided.
  • there may be another division manner for example, multiple modules may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units.
  • each functional module in each embodiment of the present invention may be integrated into one processor unit, or each module may exist physically separately, or two or more modules may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of hardware plus software function modules.
  • the above-described integrated modules implemented in the form of software function modules can be stored in a computer readable storage medium.
  • the computer readable storage medium includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform some of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store data such as a USB flash drive, a mobile hard disk, a random access memory, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)
  • Traffic Control Systems (AREA)

Abstract

A route planning method, device and electronic equipment, for solving the technical problem in the prior art that map routes planning is insufficiently accurate. The method comprises: acquiring, by a mobile terminal, the route of a public transport means taken by a user; and planning a route according to the route of the public transport means.

Description

用于线路规划的方法、装置及电子设备Method, device and electronic device for line planning 技术领域Technical field
本公开涉及信息处理领域,尤其涉及一种用于线路规划的方法、装置及电子设备。The present disclosure relates to the field of information processing, and in particular, to a method, an apparatus, and an electronic device for line planning.
背景技术Background technique
随着地图软件的普及,大多数用户在出行时都会选择使用地图软件规划出行的线路,以便在密如蛛网的交通网络中,准确快速的规划出从始发地点到目标地点之间的线路。With the popularity of map software, most users choose to use map software to plan their travel routes when traveling, so as to accurately and quickly plan the route from the originating location to the target location in a dense network of cobwebs.
现有技术中,地图类应用对于线路的规划考虑的因素有交通工具、线路距离、路况信息,该路况信息可以包括红绿灯的数量、交通拥堵情况,车辆限行信息等。也就是说,用户输入始发地点以及目标地点后,地图类应用可以基于上述因素在所述始发地点与所述目标地点规划出一条或多条线路供用户参考。In the prior art, the factors that the map application considers for the planning of the line include vehicle, line distance, and road condition information, and the road condition information may include the number of traffic lights, traffic congestion, vehicle limit information, and the like. That is to say, after the user inputs the originating location and the target location, the map application can plan one or more lines for the user to refer to at the originating location and the target location based on the above factors.
但是,在规划线路时,仅考虑上述因素是不够的,现有技术中未考虑到用户的实际情况,导致规划结果可能不满足用户的需求。However, when planning the route, it is not enough to consider only the above factors. The actual situation of the user is not considered in the prior art, and the planning result may not meet the user's needs.
发明内容Summary of the invention
本公开的主要目的是提供用于线路规划的方法、装置及电子设备,以解决现有技术对于地图线路的规划不够准确的技术问题。The main object of the present disclosure is to provide a method, apparatus and electronic device for line planning to solve the technical problem that the prior art is not accurate enough for the planning of the map line.
为了达到上述目的,本公开第一方面提供一种用于线路规划的方法,包括:In order to achieve the above object, a first aspect of the present disclosure provides a method for route planning, including:
通过移动终端获取用户乘坐的公共交通工具的路线;Obtaining a route of a public transportation vehicle that the user rides through the mobile terminal;
根据所述公共交通工具的路线进行线路的规划。 The planning of the route is performed according to the route of the public transportation.
在第一方面某些可能的实现方式中,线路规划得到至少一条线路,所述至少一条线路包括目标线路,所述目标线路包括用户当前乘坐的所述公共交通工具的部分或者全部路线。In some possible implementations of the first aspect, the line plan results in at least one line, the at least one line including a target line, the target line including a portion or all of the route of the public vehicle on which the user is currently riding.
本公开第二方面提供一种用于线路规划的装置,包括:A second aspect of the present disclosure provides an apparatus for line planning, comprising:
路线获取模块,被配置为通过移动终端获取用户乘坐的公共交通工具的路线;a route obtaining module configured to acquire a route of a public transportation vehicle that the user rides through the mobile terminal;
线路规划模块,被配置为根据所述公共交通工具的路线在始发地点以及目标地点之间规划出至少一条线路。The line planning module is configured to plan at least one line between the originating location and the target location based on the route of the public transportation.
本公开第三方面提供一种电子设备,包括:处理器单元,通信接口,存储器以及通信总线;A third aspect of the present disclosure provides an electronic device, including: a processor unit, a communication interface, a memory, and a communication bus;
所述处理器单元,所述通信接口和所述存储器通过所述通信总线完成相互间的通信;The processor unit, the communication interface and the memory complete communication with each other through the communication bus;
所述存储器用于存储应用程序,所述处理器单元用于运行所述应用程序以执行第一方面所述的方法。The memory is for storing an application, the processor unit for running the application to perform the method of the first aspect.
本公开第四方面提供一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机程序,所述计算机程序包括用于执行第一方面所述的方法的指令。A fourth aspect of the present disclosure provides a computer readable storage medium for storing a computer program, the computer program comprising instructions for performing the method of the first aspect.
用户当前已经乘坐或者已经决定要乘坐某一公共交通工具的前提下,地图规划线路时再推荐用户乘坐其他交通工具显然是不合理的。相比现有技术,本发明采用上述技术方案,在地图上规划线路时,考虑了用户当前乘坐的交通工具,以便向用户推荐包括用户当前乘坐车次的部分或全部路线的线路。本发明在规划线路时切实考虑了用户当前的实际乘车情况,提升了用户体验,解决了现有技术地图线路的规划不够准确的技术问题。Under the premise that the user has already taken or has decided to take a certain public transportation, it is obviously unreasonable to recommend the user to take other vehicles when planning the route. Compared with the prior art, the present invention adopts the above technical solution, and when planning a route on a map, the vehicle currently occupied by the user is considered, so as to recommend a line including some or all routes of the current travel time of the user to the user. The invention effectively considers the current actual ride situation of the user when planning the line, improves the user experience, and solves the technical problem that the planning of the prior art map line is not accurate enough.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are the present invention. For some embodiments, other drawings may be obtained from those of ordinary skill in the art without departing from the drawings.
图1为本发明实施例提供的一种用于线路规划的方法的流程示意图;1 is a schematic flowchart of a method for line planning according to an embodiment of the present invention;
图2为本发明实施例提供的一种实施环境的示意图;2 is a schematic diagram of an implementation environment according to an embodiment of the present invention;
图3为本发明实施例提供的一种基于图1所示的方法规划出的地图线路的示意图;FIG. 3 is a schematic diagram of a map line planned based on the method shown in FIG. 1 according to an embodiment of the present invention; FIG.
图4为本发明实施例提供的另一种用于线路规划的方法的流程示意图;FIG. 4 is a schematic flowchart diagram of another method for line planning according to an embodiment of the present disclosure;
图5A为本发明实施例提供的一种用于线路规划的装置的结构示意图;FIG. 5 is a schematic structural diagram of an apparatus for line planning according to an embodiment of the present invention; FIG.
图5B为本发明实施例提供的另一种用于线路规划的装置的结构示意图;FIG. 5B is a schematic structural diagram of another apparatus for line planning according to an embodiment of the present invention; FIG.
图6为本发明实施例提供的一种电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供一种用于线路规划的方法,如图1所示,该方法包括:An embodiment of the present invention provides a method for line planning. As shown in FIG. 1 , the method includes:
S101、通过移动终端获取用户乘坐的公共交通工具的路线。S101. Obtain a route of a public transportation vehicle that the user rides through the mobile terminal.
S102、根据所述公共交通工具的路线进行线路的规划。S102. Perform route planning according to the route of the public transportation.
示例地,以移动终端为智能手机为例进行举例说明,该智能手机安装有地图应用,用户操作打开该地图应用后,可以在应用程序的界面手动输入始发地点以及目标地点,也可以直接在地图上选择确定始发地点以及目标地点。 并且,对于始发地点来说,地图应用开启后,可以将定位的用户当前位置默认为始发地点。For example, the mobile terminal is exemplified as a smart phone. The smart phone is installed with a map application. After the user opens the map application, the originating location and the target location may be manually input in the interface of the application, or may be directly Select on the map to determine the originating location and the destination location. Moreover, for the originating location, after the map application is opened, the current location of the located user can be defaulted to the originating location.
进一步地,通过移动终端获取用户当前已经乘坐的交通工具或者决定要乘坐的公共交通工具的路线,根据该路线在始发地点与目标地点之间规划至少一条线路。其中,所述至少一条线路包括目标线路,所述目标线路包括用户当前乘坐的所述公共交通工具的部分或者全部路线。Further, the mobile terminal acquires a route that the user has currently traveled or determines a route of the public transportation to be taken, and at least one route is planned between the originating place and the target location according to the route. Wherein the at least one line comprises a target line, the target line comprising part or all of the route of the public transportation that the user is currently riding.
也就是说,本发明实施例在规划线路时,可以优先考虑将用户乘坐的公共交通工具的路线规划进来,减少了用户的换乘。试想,在用户当前已经乘坐或者已经决定要乘坐某一公共交通工具的前提下,地图规划线路时再推荐用户乘坐其他交通工具,这显然是不合理的。相比现有技术,本发明实施例采用上述技术方案,在地图上规划线路时,考虑了用户当前乘坐的交通工具,以便向用户推荐包括用户当前乘坐车次的部分或全部路线的线路。由于在规划线路时切实考虑了用户当前的实际乘车情况,因此提升了用户体验,解决了现有技术地图线路的规划不够准确的技术问题。That is to say, when planning a route, the embodiment of the present invention can preferentially plan the route of the public transportation vehicle that the user rides, and reduce the transfer of the user. Imagine that, under the premise that the user has already taken or has decided to take a public transportation, it is obviously unreasonable to recommend the user to take other vehicles when planning the route. Compared with the prior art, the embodiment of the present invention adopts the above technical solution, and when planning a route on a map, the vehicle currently occupied by the user is considered, so as to recommend a line including some or all routes of the current travel time of the user to the user. Since the actual actual ride situation of the user is effectively considered when planning the route, the user experience is improved, and the technical problem that the planning of the prior art map line is not accurate is solved.
为了使本领域技术人员更加理解本发明实施例提供的技术方案,下面对上述步骤进行详细说明。In order to make those skilled in the art more understand the technical solutions provided by the embodiments of the present invention, the above steps are described in detail below.
首先,值的说明的是,在具体实施时,规划线路使用到的影响因素除了用户乘坐的公共交通工具的路线,还可以包括预先存储的信息,例如,红绿灯的数量、车辆限行信息等,还可以包括需要实时获取的信息,例如,交通拥堵情况。本发明对此不做限定。First of all, the value indicates that, in the specific implementation, the influencing factors used in the planned route may include pre-stored information, such as the number of traffic lights, vehicle limit information, etc., in addition to the route of the public transportation vehicle that the user rides. It may include information that needs to be obtained in real time, for example, traffic congestion. The invention is not limited thereto.
下面提供本发明实施例的一种可能的实施环境的示意图。如图2所示,该实施环境包括移动终端201以及服务器202。具体地,图2是以智能手机来示意移动终端,其中,该移动终端201安装有地图应用程序。这样,用户在出行时,可以打开地图应用程序规划出行路线,如该移动终端201当前显示的地图界面,用户手动输入始发地点以及目标地点后,即可显示规划出来 的至少一条线路。具体地,移动终端201是将相关信息发送至服务器202,由服务器202根据各类线路影响因素进行线路规划,并将得到的至少一条线路返回至移动终端201。A schematic diagram of a possible implementation environment of an embodiment of the present invention is provided below. As shown in FIG. 2, the implementation environment includes a mobile terminal 201 and a server 202. Specifically, FIG. 2 is a mobile terminal illustrating a mobile terminal, wherein the mobile terminal 201 is installed with a map application. In this way, when the user is traveling, the map application can be opened to plan the travel route, such as the map interface currently displayed by the mobile terminal 201. After the user manually inputs the origination location and the target location, the user can display the plan. At least one line. Specifically, the mobile terminal 201 transmits related information to the server 202, and the server 202 performs line planning according to various line influence factors, and returns the obtained at least one line to the mobile terminal 201.
因此,上述步骤S101以及S102的执行主体可以是服务器202,该服务器202通过移动终端201获取用户当前乘坐的公共交通工具的路线,并根据包括该公共交通工具的路线的线路影响因素进行线路规划。Therefore, the execution body of the above steps S101 and S102 may be the server 202, which acquires the route of the public transportation that the user is currently riding through the mobile terminal 201, and performs line planning according to the line influencing factor including the route of the public transportation.
上述只是举例说明,在本发明实施例的一种可能的实现方式中,上述步骤S101以及S102的执行主体也可以是移动终端,也就是说,由移动终端根据包括用户乘坐的公共交通工具的路线的线路影响因素进行线路规划。The foregoing is only an example. In a possible implementation manner of the embodiment of the present invention, the execution body of the foregoing steps S101 and S102 may also be a mobile terminal, that is, a route by the mobile terminal according to the public transportation including the user's ride. Line influence factors for route planning.
图3是本发明实施例提供的采用图1所示的方法规划出来的至少一条地图线路的示意图。如图3所示的地图上,始发地点为A,目标地点为B,用户当前乘坐的公交车的路线如实线31所示,另一公交车也通过A点,其路线如虚线32所示,采用本发明实施例提供的用于线路规划的方法,考虑到用户当前已乘坐路线为实线31的公交车,因此,规划出的目标线路可以为如图中的V形标识的路径,这样,用户在始发地点A无需换乘,乘坐当前公交车到达C公交站,下车后可步行到达目标地点B。而在现有技术中,由于未考虑用户当前乘坐的公交车,因此,在其他条件相同的情况下,由于乘坐路线为32的公交车的线路更短,现有技术将推荐用户乘坐路线为32的公交车达到B点,这与用户当前已经乘坐路线为31的公交车这一事实相悖。因此,本发明实施例提供的技术方案能够提高线路规划的合理性。FIG. 3 is a schematic diagram of at least one map line planned by the method shown in FIG. 1 according to an embodiment of the present invention. On the map shown in FIG. 3, the originating location is A, the target location is B, the route of the bus currently occupied by the user is as shown by the solid line 31, and the other bus also passes through the A point, and the route is as shown by the broken line 32. According to the method for route planning provided by the embodiment of the present invention, the planned target line may be the path of the V-shaped identifier as shown in the figure, considering that the user currently has taken the bus with the route 31 as the solid line. The user does not need to transfer at the originating place A, and arrives at the C bus stop by the current bus, and can get to the target location B by walking after getting off the bus. In the prior art, since the bus currently occupied by the user is not considered, under the other conditions being the same, since the route of the bus with the route 32 is shorter, the prior art will recommend the user to take the route 32. The bus reached point B, which is contrary to the fact that the user has already taken the bus with the route 31. Therefore, the technical solution provided by the embodiment of the present invention can improve the rationality of the route planning.
下面具体说明对于用户当前乘坐的公共交通工具的线路的获取方式。The manner in which the lines of the public transportation that the user is currently riding is specifically described below.
在本发明实施例的一种可能的实现方式中,上述步骤S101具体包括:通过所述移动终端获取所述公共交通工具的标识信息;获取所述公共交通工具的标识信息对应的所述公共交通工具的路线。In a possible implementation manner of the embodiment of the present invention, the step S101 includes: acquiring, by the mobile terminal, identification information of the public transportation vehicle; and acquiring the public transportation information corresponding to the identification information of the public transportation vehicle. The route of the tool.
具体地,移动终端可以预先存储公共交通工具的标识信息与该公共交通 工具的路线的对应关系,这样,在获取到公共交通工具的标识信息后,查询对应关系即可获取到该公共交通工具的路线。可替换地,移动终端可以从服务器或者公共网络中查询公共交通工具的路线。另外,在图2所示的实施环境中,当上述方法步骤的执行主体为服务器202时,该服务器202可以预先存储公共交通工具的标识信息与该公共交通工具的路线的对应关系,在通过移动终端获取到用户乘坐的公共交通工具的标识信息后,从自身存储的对应关系中获取该标识信息对应的路线。Specifically, the mobile terminal may pre-store the identification information of the public transportation vehicle and the public transportation Corresponding relationship of the route of the tool, so that after obtaining the identification information of the public transportation vehicle, the corresponding relationship can be queried to obtain the route of the public transportation vehicle. Alternatively, the mobile terminal can query the route of the public transportation from the server or the public network. In addition, in the implementation environment shown in FIG. 2, when the execution body of the above method step is the server 202, the server 202 may pre-store the correspondence between the identification information of the public transportation vehicle and the route of the public transportation vehicle, by moving After obtaining the identification information of the public transportation vehicle that the user is riding, the terminal acquires the route corresponding to the identification information from the corresponding relationship stored by the terminal.
具体地,可以采用如下方式通过移动终端获取用户乘坐的公共交通工具的标识信息。Specifically, the identification information of the public transportation vehicle that the user rides can be acquired by the mobile terminal in the following manner.
方式一、获取所述公共交通工具的刷卡机发送给所述移动终端的所述公共交通工具的标识信息。Manner 1 : Obtain identification information of the public transportation vehicle sent by the credit card machine of the public transportation vehicle to the mobile terminal.
示例地,公交车上的刷卡机是一种NFC(Near Field Communication,近场通信)设备,或者是RFID(Radio Frequency Identification,射频识别)设备,其可以预先存储公交车的标识信息,该标识信息具体可以是公交车的车次。这样,以智能手机为例,用户在搭乘公交车时,使用智能手机触碰刷卡机,刷卡机通过NFC或者RFID介质将该标识信息反馈到智能手机中,这样,当用户打开地图应用程序时,即可获取到智能手机中存储的公交车的车次信息。For example, the card reader on the bus is an NFC (Near Field Communication) device or an RFID (Radio Frequency Identification) device, which can pre-store the identification information of the bus, and the identification information Specifically, it can be the number of trips to the bus. In this way, taking a smart phone as an example, when the user is on the bus, the smart phone is used to touch the credit card machine, and the card reader feeds the identification information to the smart phone through NFC or RFID media, so that when the user opens the map application, You can get the train information of the bus stored in the smartphone.
另一个例子,在公共交通工具为地铁的情况下,本发明实施例也可以通过进站闸机的反馈初步获取用户可能乘坐的地铁的标识,再进一步通过GPS定位可以准确确定用户乘坐的地铁线路。In another example, in the case that the public transportation is a subway, the embodiment of the present invention can also initially obtain the identification of the subway that the user may ride through the feedback of the inbound gate, and further accurately determine the subway line that the user rides through GPS positioning. .
方式二、获取所述公共交通工具的车载WiFi(Wireless-Fidelity,无线保真)热点发送给所述移动终端的所述公共交通工具的标识信息;或者,从所述移动终端连接的车载WiFi热点的名称中获取所述公共交通工具的标识信息,所述WiFi热点的名称中包括所述标识信息。 And obtaining the identification information of the public transportation vehicle sent by the wireless WiFi (Wireless-Fidelity) hotspot of the public transportation to the mobile terminal; or the car WiFi hotspot connected from the mobile terminal The identification information of the public transportation vehicle is obtained in the name, and the identification information is included in the name of the WiFi hotspot.
值得说明的是,目前多数公交车均已配备车载WiFi,这样,用户在搭乘公交车时,通过智能手机连接公交移动热点WiFi,连接成功之后,WiFi热点可以将公交车的标识信息下发至智能手机。It is worth noting that most buses are equipped with car WiFi at present, so that when users take the bus, they connect to the bus mobile hotspot WiFi through the smart phone. After the connection is successful, the WiFi hotspot can send the bus identification information to the smart. Mobile phone.
在本发明实施例的另一种可能的实现方式中,公交车上配备的WiFi热点的名称里可以包括公交车的车次信息,例如,WiFi名称为“1路车WiFi”。这样,智能手机通过文字分析WiFi热点的名称,即可获得公交车的标识信息。In another possible implementation manner of the embodiment of the present invention, the name of the WiFi hotspot provided on the bus may include the information of the bus number of the bus, for example, the name of the WiFi is “1 way car WiFi”. In this way, the smart phone can obtain the identification information of the bus by analyzing the name of the WiFi hotspot by text.
方式三、获取所述移动终端扫描所述公共交通工具的二维码得到的所述公共交通工具的标识信息。Manner 3: Obtain identification information of the public transportation vehicle obtained by the mobile terminal scanning a two-dimensional code of the public transportation vehicle.
其中,用户当前乘坐的公共交通工具上预设有根据所述公共交通工具的标识信息生成的二维码,示例地,公交车或者地铁上的二维码存储有本车的标识信息,用户在搭乘公交车或者地铁时,通过智能手机扫描公交车或者地铁上的二维码即可读取二维码中存储的信息,从而获得公交车或者地铁的标识信息。Wherein, the public transportation vehicle currently occupied by the user is pre-set with a two-dimensional code generated according to the identification information of the public transportation vehicle. For example, the two-dimensional code on the bus or the subway stores the identification information of the vehicle, and the user is in the When you take the bus or the subway, you can scan the information stored in the QR code by scanning the QR code on the bus or subway with your smartphone to get the identification information of the bus or subway.
上述三种方式只是举例说明,在具体实施时还可以通过其他方式获取公共交通工具的标识信息,本发明对此不做限定。The above three methods are only exemplified, and the identification information of the public transportation vehicle may be obtained by other means in the specific implementation, which is not limited by the present invention.
值得说明的是,智能手机在获取到用户当前乘坐的公共交通工具的标识信息后,可以在手机界面显示出来此信息以便提示用户当前乘坐的车次。It is worth noting that after the smartphone obtains the identification information of the public transportation currently being used by the user, the information can be displayed on the mobile phone interface to prompt the user to take the current number of trips.
另外,智能手机在获取到公共交通工具的标识信息后,还可以存储该标识信息,在用户打开地图应用程序后,自动调取存储的该标识信息,并结合此信息,规划地图线路。进一步地,在确定所述移动终端的位置不处于所述公共交通工具的路线上后,删除获取到的所述标识信息。In addition, after obtaining the identification information of the public transportation vehicle, the smart phone may further store the identification information, and after the user opens the map application program, automatically collect the stored identification information, and combine the information to plan the map line. Further, after determining that the location of the mobile terminal is not on the route of the public transportation, deleting the acquired identification information.
例如,智能手机通过GPS(Global Positioning System,全球定位***)定位确定当前位置不处于所述公共交通工具的路线上时,表明用户已经下车,此时,可删除所述公共交通工具的标识信息,避免对之后的线路规划造成干 扰。可替换地,在采用上述方式一或者方式二获取公共交通工具信息的情况下,用户下车时,可以再次采用智能手机刷卡,此时,该智能手机可以自动清除存储的公共交通工具的标识信息。For example, when the smartphone determines that the current location is not on the route of the public transportation by using GPS (Global Positioning System) positioning, it indicates that the user has got off the vehicle, and at this time, the identification information of the public transportation vehicle may be deleted. To avoid causing interference to the subsequent route planning Disturb. Alternatively, in the case that the public transportation information is obtained by using the above manner or the second manner, when the user gets off the vehicle, the smart phone may be swiped again. At this time, the smart phone may automatically clear the stored public transportation vehicle identification information. .
为了使普通技术人员更加理解本发明实施例提供的技术方案,下面以公交车为例详细说明本发明实施例提供的用于线路规划的方法,如图4所示,该方法包括:In order to make the technical solutions provided by the embodiments of the present invention more familiar, the method for the route planning provided by the embodiment of the present invention is described in detail by taking a bus as an example. As shown in FIG. 4, the method includes:
S401、智能手机在进入公交车的刷卡机的感应范围内时,接收刷卡机发送的该公交车的车次信息。S401. The smart phone receives the information of the bus number of the bus sent by the card swiping machine when entering the sensing range of the card swiping machine of the bus.
具体参照上述对方式一的描述,此处不再赘述。For details, refer to the description of the first method, and details are not described herein again.
S402、该智能手机存储该车次信息。S402. The smart phone stores the service information.
S403、该智能手机根据用户操作打开地图软件。S403. The smart phone opens the map software according to a user operation.
S404、该智能手机的地图软件获取用户输入的起始地点以及目标地点。S404. The map software of the smart phone acquires a starting location and a target location input by the user.
S405、该智能手机的地图软件在接收到用于指示规划地图线路的指令时,调用存储的所述车次信息。S405. The map software of the smart phone invokes the stored trip information when receiving an instruction for instructing a planned map line.
S406、该智能手机的地图软件根据该车次信息确定对应的该公交车的路线,并根据该公交车的路线进行线路的规划。S406. The map software of the smart phone determines a route of the corresponding bus according to the vehicle information, and performs route planning according to the route of the bus.
S407、该智能手机再次进入到该公交车的刷卡机范围内时,删除存储的该车次信息。S407. When the smart phone enters the range of the card reader of the bus again, the stored information of the train is deleted.
值的说明的是,图4所示的方法是以移动终端作为执行主体进行的举例说明,在具体实施时,线路规划也可以由服务器进行。The value indicates that the method shown in FIG. 4 is an example in which the mobile terminal is used as an execution subject. In specific implementation, the line planning may also be performed by the server.
上述方案由于在规划线路时切实考虑了用户当前的实际乘车情况,因此提升了用户体验,解决了现有技术地图线路的规划不够准确的技术问题。The above solution improves the user experience by effectively considering the current actual ride situation of the user when planning the route, and solves the technical problem that the planning of the prior art map line is not accurate enough.
另外,对于上述方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属 于优选实施例,所涉及的动作并不一定是本发明所必须的。In addition, the above method embodiments are described as a series of action combinations for the sake of brevity, but those skilled in the art should understand that the present invention is not limited by the described order of actions. Secondly, those skilled in the art should also know that the embodiments described in the specification are In the preferred embodiment, the actions involved are not necessarily required by the present invention.
本发明实施例还提供一种用于线路规划的装置50,用于实施上述方法实施例提供的一种用于线路规划的方法,如图5A所示,该装置50包括:The embodiment of the present invention further provides a device 50 for line planning, which is used to implement a method for line planning provided by the foregoing method embodiment. As shown in FIG. 5A, the device 50 includes:
路线获取模块501,被配置为通过移动终端获取用户乘坐的公共交通工具的路线;The route obtaining module 501 is configured to acquire, by the mobile terminal, a route of the public transportation vehicle that the user rides;
线路规划模块502,被配置为根据所述公共交通工具的路线进行线路的规划。The line planning module 502 is configured to plan the line based on the route of the public transportation.
可选地,线路规划得到至少一条线路,所述至少一条线路包括目标线路,所述目标线路包括用户当前乘坐的所述公共交通工具的部分或者全部路线。Optionally, the line plan results in at least one line, the at least one line comprising a target line, the target line comprising part or all of the route of the public vehicle on which the user is currently riding.
在用户当前已经乘坐或者已经决定要乘坐某一公共交通工具的前提下,地图规划线路时再推荐用户乘坐其他交通工具,这显然是不合理的。相比现有技术,本发明实施例提供的装置50,在地图上规划线路时,考虑了用户当前乘坐的交通工具,以便向用户推荐包括用户当前乘坐车次的部分或全部路线的线路。由于在规划线路时切实考虑了用户当前的实际乘车情况,因此提升了用户体验,解决了现有技术地图线路的规划不够准确的技术问题。Under the premise that the user has already taken or has decided to take a certain public transportation, it is obviously unreasonable to recommend the user to take other vehicles when planning the route. Compared with the prior art, the device 50 provided by the embodiment of the present invention considers the vehicle currently occupied by the user when planning a route on the map, so as to recommend a line including some or all routes of the current travel time of the user to the user. Since the actual actual ride situation of the user is effectively considered when planning the route, the user experience is improved, and the technical problem that the planning of the prior art map line is not accurate is solved.
可选地,所述路线获取模块501被配置为:通过所述移动终端获取所述公共交通工具的标识信息;获取所述公共交通工具的标识信息对应的所述公共交通工具的路线。Optionally, the route obtaining module 501 is configured to: acquire the identification information of the public transportation vehicle by using the mobile terminal; and acquire a route of the public transportation vehicle corresponding to the identification information of the public transportation vehicle.
具体地,当所述装置50应用于移动终端时,该移动终端可以预先存储公共交通工具的标识信息与该公共交通工具的路线的对应关系,这样,在获取到公共交通工具的标识信息后,查询对应关系即可获取到该公共交通工具的路线。可替换地,该装置50可以从服务器或者公共网络中查询公共交通工具的路线。另外,在图2所示的实施环境中,当所述装置50应用于服务器202时,该服务器202可以预先存储公共交通工具的标识信息与该公共交通工具的路线的对应关系,则该装置50在通过移动终端获取到用户乘坐的 公共交通工具的标识信息后,可以从该服务器存储的对应关系中获取该标识信息对应的路线。Specifically, when the device 50 is applied to the mobile terminal, the mobile terminal may pre-store the correspondence between the identification information of the public transportation vehicle and the route of the public transportation vehicle, so that after the identification information of the public transportation vehicle is acquired, The corresponding relationship can be queried to obtain the route of the public transportation. Alternatively, the device 50 can query the route of the public transportation from a server or a public network. In addition, in the implementation environment shown in FIG. 2, when the device 50 is applied to the server 202, the server 202 may pre-store the correspondence between the identification information of the public transportation vehicle and the route of the public transportation vehicle, and then the device 50 Obtaining the user’s ride through the mobile terminal After the identification information of the public transportation, the route corresponding to the identification information may be obtained from the corresponding relationship stored by the server.
可选地,所述路线获取模块501具体被配置为:获取所述公共交通工具的刷卡机发送给所述移动终端的所述公共交通工具的标识信息。具体参照方法实施例中对于方式一的描述,此处不再赘述。Optionally, the route obtaining module 501 is specifically configured to: acquire identification information of the public transportation vehicle sent by the credit card machine of the public transportation vehicle to the mobile terminal. For details, refer to the description of the first method in the method embodiment, and details are not described herein again.
可选地,所述路线获取模块501具体被配置为:获取所述公共交通工具的车载无线保真WiFi热点发送给所述移动终端的所述公共交通工具的标识信息;或者,从所述移动终端连接的车载WiFi热点的名称中获取所述公共交通工具的标识信息,所述WiFi热点的名称中包括所述标识信息。具体参照方法实施例中对于方式二的描述,此处不再赘述。Optionally, the route obtaining module 501 is specifically configured to: acquire identification information of the public transportation vehicle sent by the in-vehicle wireless fidelity WiFi hotspot of the public transportation vehicle to the mobile terminal; or, from the mobile Obtaining the identification information of the public transportation vehicle in the name of the car-mounted WiFi hotspot connected to the terminal, where the name of the WiFi hotspot includes the identification information. For details, refer to the description of the second method in the method embodiment, and details are not described herein again.
可选地,所述路线获取模块501具体被配置为:获取所述移动终端扫描所述公共交通工具的二维码得到的所述公共交通工具的标识信息。其中,用户当前乘坐的公共交通工具上预设有根据所述公共交通工具的标识信息生成的二维码。具体参照方法实施例中对于方式三的描述,此处不再赘述。Optionally, the route obtaining module 501 is specifically configured to: acquire the identification information of the public transportation vehicle obtained by the mobile terminal scanning the two-dimensional code of the public transportation vehicle. Wherein, the public transportation vehicle currently occupied by the user is pre-set with a two-dimensional code generated according to the identification information of the public transportation vehicle. For details, refer to the description of the third method in the method embodiment, and details are not described herein again.
可选地,如图5B所示,所述装置50还包括:信息存储模块503,被配置为在所述路线获取模块501获取到所述公共交通工具的标识信息后,存储所述标识信息;信息删除模块504,在确定所述移动终端的位置不处于所述公共交通工具的路线上后,删除获取到的所述标识信息。Optionally, as shown in FIG. 5B, the device 50 further includes: an information storage module 503, configured to store the identifier information after the route obtaining module 501 acquires the identification information of the public vehicle; The information deletion module 504 deletes the acquired identification information after determining that the location of the mobile terminal is not on the route of the public transportation.
例如,智能手机通过GPS定位确定当前位置不处于所述公共交通工具的路线上时,表明用户已经下车,此时,可删除所述公共交通工具的标识信息,避免对之后的线路规划造成干扰。可替换地,在采用上述方式一或者方式二获取公共交通工具信息的情况下,用户下车时,可以再次采用智能手机刷卡,此时,该智能手机可以自动清除存储的公共交通工具的标识信息。For example, when the smart phone determines that the current location is not on the route of the public transportation by GPS positioning, it indicates that the user has got off the vehicle. At this time, the identification information of the public transportation vehicle may be deleted to avoid interference to the subsequent route planning. . Alternatively, in the case that the public transportation information is obtained by using the above manner or the second manner, when the user gets off the vehicle, the smart phone may be swiped again. At this time, the smart phone may automatically clear the stored public transportation vehicle identification information. .
所属本领域的技术人员应该清楚地了解到,为描述的方便和简洁,上述描述的用于线路规划的装置的各部件的具体工作过程,可以参考前述方法实 施例中的对应过程,此处不再赘述。It should be clearly understood by those skilled in the art that for the convenience and brevity of the description, the specific working process of the components of the device for circuit planning described above can be referred to the foregoing method. The corresponding process in the example is not described here.
另外,上述对线路规划的装置进行的模块划分仅为一种逻辑功能划分,在具体实施时,可以有其他的划分方式,并且,上述各模块的物理实现,也可以有多种实现方式,本发明对此不做限定。In addition, the module division performed by the device for line planning is only a logical function division. In the specific implementation, there may be other division manners, and the physical implementation of each module may also have multiple implementation manners. The invention does not limit this.
本发明实施例还提供一种电子设备60,所述电子设备60包括:处理器单元601,通信接口602,存储器603以及通信总线604。其中,所述处理器单元601,所述通信接口602和所述存储器603通过所述通信总线604完成相互间的通信。The embodiment of the present invention further provides an electronic device 60. The electronic device 60 includes a processor unit 601, a communication interface 602, a memory 603, and a communication bus 604. The processor unit 601, the communication interface 602 and the memory 603 complete communication with each other through the communication bus 604.
其中,处理器单元601可能是一个多核中央处理器CPU,或者是ASIC(Application Specific Integrated Circuit,特定集成电路),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor unit 601 may be a multi-core CPU or an ASIC (Application Specific Integrated Circuit) or one or more integrated circuits configured to implement the embodiments of the present invention.
存储器603用于存放程序代码,所述程序代码包括计算机操作指令和网络流图。存储器603可能包含高速RAM(random access memory,随机存取存储器),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 603 is for storing program code, and the program code includes computer operation instructions and a network flow diagram. The memory 603 may include a high speed RAM (random access memory), and may also include a non-volatile memory such as at least one disk memory.
所述通信接口602,用于实现与外部设备的通信。The communication interface 602 is configured to implement communication with an external device.
所述处理器单元601用于执行所述存储器603中的程序代码,以实现上述方法实施例中用于线路规划的方法。具体参照上述方法实施例的说明,此处不再赘述。The processor unit 601 is configured to execute program code in the memory 603 to implement a method for line planning in the foregoing method embodiment. For details, refer to the description of the foregoing method embodiments, and details are not described herein again.
值的说明的是,图6所示的电子设备60可以移动终端,该移动终端在获取到用户乘坐的公共交通工具的路线后,可以通过自身内置的算法进行线路规划;所述电子设备60还可以是服务器,该服务器通过移动终端获取到用户乘坐的公共交通工具的路线后,进行线路规划,并将规划结果返回给移动终端。The value indicates that the electronic device 60 shown in FIG. 6 can be a mobile terminal, and after acquiring the route of the public transportation vehicle that the user rides, the mobile terminal can perform line planning by using a built-in algorithm; the electronic device 60 further It may be a server that obtains a route of the public transportation vehicle that the user rides through the mobile terminal, performs route planning, and returns the planning result to the mobile terminal.
在本申请所提供的几个实施例中,应该理解到,所公开的装置和方法, 可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,对于装置50的模块划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。In the several embodiments provided herein, it should be understood that the disclosed apparatus and method, It can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, for the module division of the device 50, only one logical function is divided. In actual implementation, there may be another division manner, for example, multiple modules may be combined or may be Integrate into another system, or some features can be ignored or not executed.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理器单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processor unit, or each module may exist physically separately, or two or more modules may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of hardware plus software function modules.
上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。该计算机可读取存储介质包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、随机存取存储器、磁碟或者光盘等各种可以存储数据的介质。The above-described integrated modules implemented in the form of software function modules can be stored in a computer readable storage medium. The computer readable storage medium includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform some of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store data such as a USB flash drive, a mobile hard disk, a random access memory, a magnetic disk, or an optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. All should be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims (14)

  1. 一种用于线路规划的方法,其特征在于,包括:A method for route planning, comprising:
    通过移动终端获取用户乘坐的公共交通工具的路线;Obtaining a route of a public transportation vehicle that the user rides through the mobile terminal;
    根据所述公共交通工具的路线进行线路的规划。The planning of the route is performed according to the route of the public transportation.
  2. 根据权利要求1所述的方法,其特征在于,所述通过移动终端获取用户乘坐的公共交通工具的路线,包括:The method according to claim 1, wherein the obtaining, by the mobile terminal, the route of the public transportation that the user is riding comprises:
    通过所述移动终端获取所述公共交通工具的标识信息;Obtaining identification information of the public transportation vehicle by using the mobile terminal;
    获取所述公共交通工具的标识信息对应的所述公共交通工具的路线。Obtaining a route of the public transportation corresponding to the identification information of the public transportation.
  3. 根据权利要求2所述的方法,其特征在于,所述通过所述移动终端获取所述公共交通工具的标识信息,包括:The method according to claim 2, wherein the obtaining, by the mobile terminal, the identification information of the public transportation comprises:
    获取所述公共交通工具的刷卡机发送给所述移动终端的所述公共交通工具的标识信息。Obtaining identification information of the public transportation vehicle sent by the credit card machine of the public transportation vehicle to the mobile terminal.
  4. 根据权利要求2所述的方法,其特征在于,所述通过所述移动终端获取所述公共交通工具的标识信息,包括:The method according to claim 2, wherein the obtaining, by the mobile terminal, the identification information of the public transportation comprises:
    获取所述公共交通工具的车载无线保真WiFi热点发送给所述移动终端的所述公共交通工具的标识信息;或者,从所述移动终端连接的车载WiFi热点的名称中获取所述公共交通工具的标识信息,所述WiFi热点的名称中包括所述标识信息。Obtaining identification information of the public transportation vehicle sent by the in-vehicle wireless fidelity WiFi hotspot of the public transportation vehicle to the mobile terminal; or acquiring the public transportation vehicle from a name of an in-vehicle WiFi hotspot connected to the mobile terminal Identification information, where the name of the WiFi hotspot includes the identification information.
  5. 根据权利要求2所述的方法,其特征在于,所述通过所述移动终端获取所述公共交通工具的标识信息,包括:The method according to claim 2, wherein the obtaining, by the mobile terminal, the identification information of the public transportation comprises:
    获取所述移动终端扫描所述公共交通工具的二维码得到的所述公共交 通工具的标识信息。Obtaining the public communication obtained by the mobile terminal scanning a two-dimensional code of the public transportation vehicle Identification information of the tool.
  6. 根据权利要求2至5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 2 to 5, further comprising:
    在确定所述移动终端离开所述公共交通工具的路线后,删除获取到的所述标识信息。After determining that the mobile terminal leaves the public transportation vehicle, the acquired identification information is deleted.
  7. 一种用于线路规划的装置,其特征在于,包括:An apparatus for line planning, comprising:
    路线获取模块,被配置为通过移动终端获取用户乘坐的公共交通工具的路线;a route obtaining module configured to acquire a route of a public transportation vehicle that the user rides through the mobile terminal;
    线路规划模块,被配置为根据所述公共交通工具的路线进行线路的规划。A line planning module configured to route the line based on the route of the public transportation.
  8. 根据权利要求7所述的装置,其特征在于,所述路线获取模块被配置为:The apparatus of claim 7, wherein the route acquisition module is configured to:
    通过所述移动终端获取所述公共交通工具的标识信息;Obtaining identification information of the public transportation vehicle by using the mobile terminal;
    获取所述公共交通工具的标识信息对应的所述公共交通工具的路线。Obtaining a route of the public transportation corresponding to the identification information of the public transportation.
  9. 根据权利要求8所述的装置,其特征在于,所述路线获取模块具体被配置为:The device according to claim 8, wherein the route obtaining module is specifically configured to:
    获取所述公共交通工具的刷卡机发送给所述移动终端的所述公共交通工具的标识信息。Obtaining identification information of the public transportation vehicle sent by the credit card machine of the public transportation vehicle to the mobile terminal.
  10. 根据权利要求8所述的装置,其特征在于,所述路线获取模块具体被配置为:The device according to claim 8, wherein the route obtaining module is specifically configured to:
    获取所述公共交通工具的车载无线保真WiFi热点发送给所述移动终端 的所述公共交通工具的标识信息;或者,从所述移动终端连接的车载WiFi热点的名称中获取所述公共交通工具的标识信息,所述WiFi热点的名称中包括所述标识信息。Acquiring an in-vehicle wireless fidelity WiFi hotspot of the public transportation vehicle to be sent to the mobile terminal And the identification information of the public transportation vehicle is obtained from the name of the in-vehicle WiFi hotspot connected to the mobile terminal, where the name of the WiFi hotspot includes the identification information.
  11. 根据权利要求8所述的装置,其特征在于,所述路线获取模块具体被配置为:The device according to claim 8, wherein the route obtaining module is specifically configured to:
    获取所述移动终端扫描所述公共交通工具的二维码得到的所述公共交通工具的标识信息。Obtaining identification information of the public transportation vehicle obtained by the mobile terminal scanning the two-dimensional code of the public transportation vehicle.
  12. 根据权利要求8至11任一项所述的装置,其特征在于,还包括:信息存储模块,被配置为在所述路线获取模块获取到所述公共交通工具的标识信息后,存储所述标识信息;The device according to any one of claims 8 to 11, further comprising: an information storage module configured to store the identifier after the route acquisition module acquires the identification information of the public vehicle information;
    信息删除模块,用于在确定所述移动终端的位置不处于所述公共交通工具的路线上后,删除获取到的所述标识信息。And an information deleting module, configured to delete the acquired identification information after determining that the location of the mobile terminal is not on the route of the public transportation.
  13. 一种电子设备,其特征在于,包括:处理器单元,通信接口,存储器以及通信总线;An electronic device, comprising: a processor unit, a communication interface, a memory, and a communication bus;
    所述处理器单元,所述通信接口和所述存储器通过所述通信总线完成相互间的通信;The processor unit, the communication interface and the memory complete communication with each other through the communication bus;
    所述存储器用于存储应用程序,所述处理器单元用于运行所述应用程序以执行权利要求1至6任一项所述的方法。The memory is for storing an application, the processor unit for running the application to perform the method of any one of claims 1 to 6.
  14. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质用于存储计算机程序,所述计算机程序包括用于执行权利要求1至6任一项所述的方法的指令。 A computer readable storage medium for storing a computer program, the computer program comprising instructions for performing the method of any one of claims 1 to 6.
PCT/CN2016/106965 2016-11-23 2016-11-23 Route planning method, device and electronic equipment WO2018094614A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2016/106965 WO2018094614A1 (en) 2016-11-23 2016-11-23 Route planning method, device and electronic equipment
CN201680002726.6A CN106716068A (en) 2016-11-23 2016-11-23 Route planning method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/106965 WO2018094614A1 (en) 2016-11-23 2016-11-23 Route planning method, device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2018094614A1 true WO2018094614A1 (en) 2018-05-31

Family

ID=58906770

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/106965 WO2018094614A1 (en) 2016-11-23 2016-11-23 Route planning method, device and electronic equipment

Country Status (2)

Country Link
CN (1) CN106716068A (en)
WO (1) WO2018094614A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110175661A (en) * 2019-04-17 2019-08-27 深圳壹账通智能科技有限公司 The generation method and device in two dimensional code sharing path
CN110929179A (en) * 2019-11-05 2020-03-27 阿里巴巴集团控股有限公司 Travel data processing method and device and electronic equipment

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526090A (en) * 2017-06-19 2017-12-29 阿里巴巴集团控股有限公司 Location positioning method, equipment and system, computer-readable recording medium
CN108225359A (en) * 2017-12-26 2018-06-29 上海展扬通信技术有限公司 The method and relevant device of a kind of path planning
CN111031493B (en) * 2019-12-02 2022-05-20 腾讯科技(深圳)有限公司 Running time information transmission method and device, electronic equipment and storage medium
CN111210649A (en) * 2020-01-09 2020-05-29 广东小天才科技有限公司 Riding reminding method and device
CN112508423B (en) * 2020-12-14 2022-05-10 南京领行科技股份有限公司 Guide route generation method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102109356A (en) * 2009-12-23 2011-06-29 深圳富泰宏精密工业有限公司 Public traffic intelligent navigation system and method
US20150219463A1 (en) * 2014-02-04 2015-08-06 Korea University Research And Business Foundation Real-time transportation network topology control-combined traffic flow control and dynamic route guidance system using in-vehicle navigator with bidirectional communication and parking guidance and reservation system using the same
CN105303854A (en) * 2015-09-11 2016-02-03 百度在线网络技术(北京)有限公司 Travel route data processing method and device
CN105628040A (en) * 2014-11-06 2016-06-01 东莞宇龙通信科技有限公司 Path navigation method, path navigation system, navigation terminal and monitoring terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103017780B (en) * 2012-11-27 2016-08-31 北京百度网讯科技有限公司 The planing method of public bus network, system and device under mobile status
CN104516907A (en) * 2013-09-29 2015-04-15 腾讯科技(深圳)有限公司 Route inquiry method and system
CN104361024A (en) * 2014-10-22 2015-02-18 百度在线网络技术(北京)有限公司 Bus information inquiring and feedback method, mobile terminal and server
CN105371861B (en) * 2015-11-17 2019-02-22 Oppo广东移动通信有限公司 A kind of route navigation method and route guidance server
CN105608921B (en) * 2015-12-30 2018-03-02 广州三星通信技术研究有限公司 The method and apparatus for prompting public transport line in an electronic

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102109356A (en) * 2009-12-23 2011-06-29 深圳富泰宏精密工业有限公司 Public traffic intelligent navigation system and method
US20150219463A1 (en) * 2014-02-04 2015-08-06 Korea University Research And Business Foundation Real-time transportation network topology control-combined traffic flow control and dynamic route guidance system using in-vehicle navigator with bidirectional communication and parking guidance and reservation system using the same
CN105628040A (en) * 2014-11-06 2016-06-01 东莞宇龙通信科技有限公司 Path navigation method, path navigation system, navigation terminal and monitoring terminal
CN105303854A (en) * 2015-09-11 2016-02-03 百度在线网络技术(北京)有限公司 Travel route data processing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110175661A (en) * 2019-04-17 2019-08-27 深圳壹账通智能科技有限公司 The generation method and device in two dimensional code sharing path
CN110929179A (en) * 2019-11-05 2020-03-27 阿里巴巴集团控股有限公司 Travel data processing method and device and electronic equipment
CN110929179B (en) * 2019-11-05 2023-06-09 阿里巴巴集团控股有限公司 Travel data processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN106716068A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
WO2018094614A1 (en) Route planning method, device and electronic equipment
US11651464B2 (en) Apparatus for providing car sharing service and method thereof
US9441981B2 (en) Variable bus stops across a bus route in a regional transportation network
US20170345115A1 (en) System to facilitate a correct identification of a service provider
JP5914399B2 (en) Taxi guidance system and taxi guidance method
CN107167151B (en) Bus route setting method, route planning method and device
EP3271688B1 (en) Location privacy
US20140350979A1 (en) Multi-modal journey planning and payment
CN107908644A (en) The recommendation method, apparatus and computer-readable medium of trip mode
CN109752012B (en) Route guidance system and recording medium having route guidance program recorded thereon
CN110826839A (en) Information processing apparatus, information processing method, and computer program
US20190180403A1 (en) System and method for vehicle allocation to passengers
CN106023582A (en) BRT passenger traveling information acquisition and guiding scheme publishing system and method
US20220301046A1 (en) Method for Information Processing and Electronic Device
JP6682193B2 (en) Notification system, server device, communication terminal device, program and notification method
CN108320184B (en) Method, device, equipment, system and storage medium for vehicle charging
JP6359204B2 (en) Information processing apparatus and program
CN105608921B (en) The method and apparatus for prompting public transport line in an electronic
JPWO2019123590A1 (en) Terminal devices, transponders, billing systems, billing methods, and billing programs
CN109672972A (en) Information processing unit, information processing method, information processing system and the non-transitory storage medium for storing program
JP2010157063A (en) Program, device and method for displaying information
US20200072625A1 (en) Information processing device, information processing method, and recording medium
JP2014109946A (en) Position information concealing method, position information concealing device and position information concealing program
CN113800343A (en) Building elevator control method and system of vehicle intelligent control system and vehicle
CN110646000A (en) Navigation method, navigation device and storage medium

Legal Events

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

Ref document number: 16922556

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 09/10/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16922556

Country of ref document: EP

Kind code of ref document: A1