CN103578268A - Location recommendation method based on public transport lines - Google Patents

Location recommendation method based on public transport lines Download PDF

Info

Publication number
CN103578268A
CN103578268A CN201210272706.4A CN201210272706A CN103578268A CN 103578268 A CN103578268 A CN 103578268A CN 201210272706 A CN201210272706 A CN 201210272706A CN 103578268 A CN103578268 A CN 103578268A
Authority
CN
China
Prior art keywords
place
public
public transport
interest
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210272706.4A
Other languages
Chinese (zh)
Other versions
CN103578268B (en
Inventor
汪晓诗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201210272706.4A priority Critical patent/CN103578268B/en
Publication of CN103578268A publication Critical patent/CN103578268A/en
Application granted granted Critical
Publication of CN103578268B publication Critical patent/CN103578268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a location recommendation method based on public transport lines. The method comprises the following steps: (1) under the off-line state, for each public transport station, a system looks for all the public transport lines passing through the station, then finds out all interest points along each public transport line in a geographical database, and conducts classification on the interest points, and all the interest points are also named as associated locations of the public transport stations; (2) also under the off-line state, the system caches each public transport station or each public transport line or the various associated locations of each geographical region in a server internal storage of the system; (3) the system screens the associated locations according to departure points assigned by a user, conducts traversal on the nearby public transport stations, and for each public transport station, the system directly retrieves the associated locations from a cache of the internal storage and takes out the classifications conforming to the user requirement; finally, all the associated locations which conform to the user requirement are given, and the system sends the associated locations which best conform to the user requirement to the user.

Description

Place recommend method based on public transport line
Technical field
The present invention relates to a kind of place recommend method based on public transport line.
Background technology
Along with going from bad to worse of the day by day in short supply and physical environment of fossil energy, greatly develop public transportation system, advocate the important policies that Green Travel mode has become a lot of countries and regions that comprise China.On the basis of traditional Public Transport Service, how in conjunction with Internet technology, provide more intelligent for public transport user, new services also becomes an important technical matters easily, such as the place recommendation service based on public transport line.
Provide the place recommendation service based on public transport line to have some technological difficulties.Wherein a main difficult point is exactly user to the requirement of service real-time and the background process contradiction between complexity comparatively.Obviously, user always wishes to obtain as early as possible the recommendation results of system when proposing to recommend to require, and considers the delay of network, and the reaction time of leaving system for is very of short duration.But on the other hand, some complicated computation processes are recommended to need in the place based on public transport line.Suppose that user has some public transport or subway station around, in each site users, can take some circuits again, the place that meets customer requirements that system need to be less than N station along these circuits the distance between all and initial website in geographical data bank is found, then according to certain rule compositor, finally rank the highest recommend user.If user does not limit number of transfer, this is a np hard problem in theory.Even if limit maximum number of transfer (such as changing to once at most) in reality, still need regular hour expense.So the public transport line solution space along the line that, how to find a user likely to take within the short time of trying one's best has just become a key issue of improving service quality.
Summary of the invention
The object of this invention is to provide a kind of corresponding speed fast, save the place recommend method based on public transport line of system resources in computation.
For achieving the above object, the present invention is by the following technical solutions:
A place recommend method for public transport line, it comprises the steps:
1., under off-line state, system, for each public traffic station, is looked for all public transport lines through this website, then in geographical data bank, finds all points of interest along every common line, and point of interest is sorted out; Described point of interest is also referred to as the associated place of this public traffic station; Or under off-line state, system, for each common line, finds this common line all points of interest along the line, and point of interest is sorted out in geographical data bank; Described point of interest is also referred to as the associated place of this public bus network; Or under off-line state, system, for each geographic area, first finds all bus stations in this region, then finds the associated point of interest in these bus stations in database in the ground, and point of interest is sorted out; Described point of interest is also referred to as the associated place of this geographic area;
2., equally under off-line state, system by each public traffic station or every public bus network or each geographic area all kinds of associated place be cached in the server memory of system;
3., system is screened associated place according to the departure place of user's appointment, if system cache is the associated place of bus station, system is by near public traffic station traversal so, for each traffic website, system is directly retrieved its associated place and is taken out the classification that wherein meets customer requirements from the buffer memory of internal memory; If system cache is the associated place of public bus network, near system traversal, there is so the public transport line of website, then from the buffer memory of internal memory, retrieve its associated place and take out the classification that wherein meets customer requirements; If buffer memory is the associated place of geographic area, system is directly searched the geographic area under it according to the departure place of user's appointment so, and from the buffer memory of internal memory, retrieves its associated place and take out the classification that wherein meets customer requirements; Finally, given all associated places that meet customer requirements, system sends to user the associated place that meets most customer requirements.
Described step 2. in, by public traffic station, or public bus network, or the title of geographic area or No. ID key as buffer memory, the value that its associated stations point set cooperation is buffer memory.
Described step 3. in, utilize bayesian algorithm in the associated place of all user appointed place periphery public traffic stations that meet customer requirements or in all associated places of the public bus network through user appointed place that meet customer requirements or in the associated place of public bus network of all geographic areas, user place that meet customer requirements, calculate the associated place that meets customer requirements most.
Adopt the present invention of technique scheme, do not need too complicated computation process, thereby reaction velocity is fast, can within the short time of trying one's best, find a most suitable public bus network of user, has improved service quality.
Accompanying drawing explanation
Fig. 1 is not for considering that transfer in the situation that calculates station, “Wu Jian building " associated ground point diagram.
Fig. 2 is the data structure form that associated place adopts list object.
Fig. 3 for calculating station, “Wu Jian building in the situation that considering once transfer " associated ground point diagram.
Embodiment
Embodiment 1
A place recommend method for public transport line, it comprises the steps:
1., under off-line state, system is for each public traffic station, look for all public transport lines through this website, then in geographical data bank, find all points of interest (Point Of Interest) along every common line, and system sorts out to point of interest according to predefined classification, such as dining room, supermarket, arenas, night shop, bar etc.For convenience of description, in description below, we claim the associated place that these points of interest are this public traffic station.This step is more consuming time, but because be off-line operation, before online implementing, completes, and can not affect the response time of system to customer requirements.
2., equally under off-line state, system by data buffering systems such as Redis or MemoryCatche, is cached to all kinds of associated place of each public traffic station in the server memory of system; And in this process, can be using the title of public traffic station or No. ID key as buffer memory (Key), its associated Website Hosting can be usingd certain data structure or the character string forms value (Value) as buffer memory.Above-mentioned data structure can be site object list (List) as Hash table (Hash Table), may be also other data structure that is difficult to enumerate.
3., system is according to the departure place of user's appointment, near public traffic station traversal; For each traffic website, system is directly retrieved its associated place and is taken out the classification that wherein meets customer requirements from the buffer memory of internal memory; Finally, given all associated places that meets the user appointed place periphery public traffic station of customer requirements, system is utilized certain existing recommendation sort algorithm, if bayesian algorithm is in the associated place of all user appointed place periphery public traffic stations that meet customer requirements, calculates the associated place that meets customer requirements most and issue user.In bayesian algorithm, to favorable comment degree, discount/preferential dynamics, bid ranking etc. are comprehensive, analyze, the part that rank is the highest is recommended to user.
As shown in Figure 1, shown in the situation that not considering transfer for station, “Wu Jian building, a specific bus station ", how system is calculated its associated website and is recommended.
First, the calculating of system needs a Bus information database to be used for inquiring about website, line information.In addition, system also needs a geographic information database to be used for inquiring about near the point of interest of certain specified sites.
Suppose that system at most can only recommended distance user be specified the place in three stations, departure place and the place that requires to recommend is no more than 200 meters from the distance of get-off stop, for station, Wu Jian building, system is the public bus network through this website by Bus information data base querying first.He12 road, Liao723 road bus is recorded through this station in tentation data storehouse, all websites (solid black circle) that are no more than three stations apart from station, Wu Jian building that system will traversal 723 He12 road, road bus processes so, and in geographic information database, find near all points of interest (in the peripheral annular section of website) in 200 meters it.These points of interest are exactly the associated place at station, Wu Jian building.Other website for each, system is found its associated place and is buffered in internal memory by caching system by similar computation process.The data structure storage of list object can be used in associated place.The structure of the list object in an associated place as shown in Figure 2.This example has been shown two associated places in list (KFC dining room and the Starbucks coffee Room).
Suppose user Xiao Wang to require system recommendation some convenient made bus from family and go to the restaurant of having a dinner, system first by Bus information data base querying from Xiao Wang family's distance the bus station in 200.Suppose that station, Wu Jian building is unique bus station of 200 meters that is no more than apart from Xiao Wang family, system will recall the associated place that station, buffer memory Nei Wujian building all categories is restaurant and sort according to the rank rule of appointment.
The rank rule of supposing an appointment is to carry out rank according to user's favorable comment degree, and system is recommended user by the highest N that user in these restaurants is marked.
Rank rule can be considered a plurality of factors simultaneously, as user evaluates, and discount dynamics, hygienic conditions, distance is far and near etc.The rank rule of considering a plurality of factors can be expressed as one according to the place points-scoring system of many factors.Last rank depends on the scoring in place in the situation of considering many factors.
Shown as shown in Figure 3 in the situation that considering once transfer for station, “Wu Jian building, a specific bus station ", how system is calculated its associated website and is recommended.The same with the requirement of embodiment 1, the calculating of system needs a Bus information database to be used for inquiring about website, line information.In addition, system also needs a geographic information database to be used for inquiring about near the point of interest of certain specified sites.
Suppose that system at most can only recommended distance user be specified the place in three stations, departure place and the place that requires to recommend is no more than 200 meters from the distance of get-off stop, for station, Wu Jian building, system is the public bus network through this website by Bus information data base querying first.He12 road, Liao723 road bus is recorded through this station in tentation data storehouse, all websites (solid black circle) that are no more than three stations apart from station, Wu Jian building that system will traversal 723 He12 road, road bus processes so, and in geographic information database, find near all points of interest (in the peripheral annular section of website) in 200 meters it.In addition, system is also inquired about these other public bus network of all these websites of process, such as 973 road as shown in the figure (through the website Fang Zhuanqiao station on 723 tunnels), and travel through all websites (solid black circle) that are no more than three stations apart from station, Wu Jian building in these road public bus networks, then in geographic information database, find near all points of interest (in the peripheral annular section of website) in 200 meters it.All these points of interest that find are exactly to consider the once associated place at the station, situation Xia Wujian building of transfer.Other website for each, system is found its associated place and is buffered in internal memory by caching system by similar computation process.
Embodiment 2
A place recommend method for public transport line, it comprises the steps:
Under off-line state, system finds its all points of interest along the line (Point Of Interest) for each common line in geographical data bank, and system is sorted out point of interest according to predefined classification, such as dining room, supermarket, arenas, night shop, bar etc.For convenience of description, in description below, we claim the associated place that these points of interest are this public bus network.This step is more consuming time, but because be off-line operation, before online implementing, completes, and can not affect the response time of system to customer requirements.
Under off-line state, system by data buffering systems such as Redis or MemoryCatche, is cached to all kinds of associated place of each public traffic station in the server memory of system equally; And in this process, can be using the title of public transport line or No. ID key as buffer memory (Key), its associated Website Hosting can be usingd the data structures such as site object list (List) Hash table (Hash Table) or the character string forms value (Value) as buffer memory.
System is according to the departure place of user's appointment, and traversal has the public transport line of website nearby; For every public bus network, system is directly retrieved its associated place and is taken out the classification that wherein meets customer requirements from the buffer memory of internal memory; Finally, given all associated places that meet the user appointed place periphery public traffic station of customer requirements, and embodiment 1 is similar, system is recommended user by a kind of general recommendation sort algorithm the highest part of rank.
This method is applicable to not consider the situation of public transport interchange because the buffer memory of system the associated place of single line, and do not consider the associated place of two or more pieces line combination.
Embodiment 3
A place recommend method for public transport line, it comprises the steps:
Under off-line state, first system is divided into some geographic areas each city, and then each geographic area is to finding the associated place of all bus stations and according to predefined classification, point of interest being sorted out, such as dining room, supermarket, arenas, night shop, bar etc.For convenience of description, in description below, we claim the associated place of the Wei Gai geographic area, associated place of these bus stations.This step is more consuming time, but because be off-line operation, before online implementing, completes, and can not affect the response time of system to customer requirements.
Under off-line state, system by data buffering systems such as Redis or MemoryCatche, is cached to all kinds of associated place of each geographic area in the server memory of system equally; And in this process, can be using the title of geographic area or No. ID key as buffer memory (Key), its associated Website Hosting can be usingd the data structures such as site object list (List) Hash table (Hash Table) or the character string forms value (Value) as buffer memory.
System, according to the departure place of user's appointment, is determined the geographic area that it is affiliated, then directly from the buffer memory of internal memory, retrieves its associated place and takes out the classification that wherein meets customer requirements; Finally, the associated place in given all these geographic areas that meet customer requirements, and embodiment 1 is similar, system is recommended user by a kind of existing recommendation sort algorithm the highest part of rank.
The same with embodiment 1, this method is applicable to not consider the situation of public transport interchange, is also applicable to consider the situation of public transport interchange.But the selection of geographic area affects to some extent on the performance of recommending.Geographic area is divided can not be too large, if geographic area division is too large, such as a city is as a geographic area, wherein most of bus station user is difficult to arrive, and recommends just to have lost meaning.

Claims (3)

1. the place recommend method based on public transport line, is characterized in that, it comprises the steps:
1., under off-line state, system, for each public traffic station, is looked for all public transport lines through this website, then in geographical data bank, finds all points of interest along every common line, and point of interest is sorted out; Described point of interest is also referred to as the associated place of this public traffic station;
Or under off-line state, system, for each common line, finds this common line all points of interest along the line, and point of interest is sorted out in geographical data bank; Described point of interest is also referred to as the associated place of this public bus network;
Or under off-line state, system, for each geographic area, first finds all bus stations in this region, then finds the associated point of interest in these bus stations in database in the ground, and point of interest is sorted out; Described point of interest is also referred to as the associated place of this geographic area;
2., equally under off-line state, system by each public traffic station or every public bus network or each geographic area all kinds of associated place be cached in the server memory of system;
3., system is screened associated place according to the departure place of user's appointment, if system cache is the associated place of bus station, system is by near public traffic station traversal so, for each traffic website, system is directly retrieved its associated place and is taken out the classification that wherein meets customer requirements from the buffer memory of internal memory; If system cache is the associated place of public bus network, near system traversal, there is so the public transport line of website, then from the buffer memory of internal memory, retrieve its associated place and take out the classification that wherein meets customer requirements; If buffer memory is the associated place of geographic area, system is directly searched the geographic area under it according to the departure place of user's appointment so, and from the buffer memory of internal memory, retrieves its associated place and take out the classification that wherein meets customer requirements; Finally, given all associated places that meet customer requirements, system sends to user the associated place that meets most customer requirements.
2. the place recommend method based on public transport line according to claim 1, it is characterized in that: described step 2. in, by public traffic station, or public bus network, or the title of geographic area or No. ID key as buffer memory, the value that its associated stations point set cooperation is buffer memory.
3. the place recommend method based on public transport line according to claim 1, it is characterized in that: described step 3. in, utilize bayesian algorithm in the associated place of all user appointed place periphery public traffic stations that meet customer requirements or in all associated places of the public bus network through user appointed place that meet customer requirements or in the associated place of public bus network of all geographic areas, user place that meet customer requirements, calculate the associated place that meets customer requirements most.
CN201210272706.4A 2012-08-02 2012-08-02 Location recommendation method based on public transport lines Active CN103578268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210272706.4A CN103578268B (en) 2012-08-02 2012-08-02 Location recommendation method based on public transport lines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210272706.4A CN103578268B (en) 2012-08-02 2012-08-02 Location recommendation method based on public transport lines

Publications (2)

Publication Number Publication Date
CN103578268A true CN103578268A (en) 2014-02-12
CN103578268B CN103578268B (en) 2015-07-15

Family

ID=50049971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210272706.4A Active CN103578268B (en) 2012-08-02 2012-08-02 Location recommendation method based on public transport lines

Country Status (1)

Country Link
CN (1) CN103578268B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615788A (en) * 2015-03-09 2015-05-13 徐婷 Information notifying method, equipment and system
CN105303865A (en) * 2014-05-30 2016-02-03 谷歌公司 Detecting important transit stops for transit trip grouping

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090036109A (en) * 2009-03-31 2009-04-13 팅크웨어(주) Apparatus and method for displaying geographic information of navigation system
CN101603834A (en) * 2009-07-10 2009-12-16 深圳市凯立德计算机系统技术有限公司 Method for information display and information display system based on walking navigation
US7835859B2 (en) * 2004-10-29 2010-11-16 Aol Inc. Determining a route to a destination based on partially completed route
CN102426797A (en) * 2011-11-16 2012-04-25 东南大学 Vehicle-mounted information interaction method and system of passenger vehicles

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7835859B2 (en) * 2004-10-29 2010-11-16 Aol Inc. Determining a route to a destination based on partially completed route
KR20090036109A (en) * 2009-03-31 2009-04-13 팅크웨어(주) Apparatus and method for displaying geographic information of navigation system
CN101603834A (en) * 2009-07-10 2009-12-16 深圳市凯立德计算机系统技术有限公司 Method for information display and information display system based on walking navigation
CN102426797A (en) * 2011-11-16 2012-04-25 东南大学 Vehicle-mounted information interaction method and system of passenger vehicles

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303865A (en) * 2014-05-30 2016-02-03 谷歌公司 Detecting important transit stops for transit trip grouping
CN104615788A (en) * 2015-03-09 2015-05-13 徐婷 Information notifying method, equipment and system

Also Published As

Publication number Publication date
CN103578268B (en) 2015-07-15

Similar Documents

Publication Publication Date Title
US11922366B2 (en) System and method for dynamic pairing function optimization
US11755674B2 (en) Dynamic radius threshold selection
US9442989B1 (en) Scoring authors of posts
US9930096B2 (en) Recommending posts to non-subscribing users
US20150120455A1 (en) Methods and systems for delivering electronic content to users in population based geographic zones
CN103036977B (en) Business pushing method and pushing system based on content distribution network
US20150088575A1 (en) System and method for scheduling appointments
CN104504064A (en) Information recommendation method and device
CN104063383A (en) Information recommendation method and device
KR20140071417A (en) Mobile advertising using data networks based on intelligence data associated with internet-connectable devices derived using graph models
CN106250568A (en) Service area determines that method, logistics service provider recommend method and related device
CN103927369B (en) bus information displaying method and device
WO2015013760A1 (en) Free time activity scheduler
CN102867031A (en) Method and system for optimizing point of interest (POI) searching results, mobile terminal and server
WO2016197857A1 (en) Position information providing method and device
CN103473238A (en) Distribution address positioning system and method
CN103973724A (en) Networking method and device for social network
CN107395680A (en) Shop group's information push and output intent and device, equipment
CN104936221B (en) The method and device of data in mobile terminal flow monitoring
CN113360792A (en) Information recommendation method and device, electronic equipment and storage medium
US10055414B2 (en) Access points for maps
CN106789147B (en) Flow analysis method and device
CN103578268B (en) Location recommendation method based on public transport lines
Li et al. A location-aware recommender system for Tourism mobile commerce
CN103716348A (en) Method, system and device for data access based on CDN network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180905

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address before: 450001 44, 36 building, No. 4 Dongfeng Road, Jinshui District, Zhengzhou, Henan.

Patentee before: Wang Xiaoshi

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.