Nothing Special   »   [go: up one dir, main page]

CN114611807B - Construction method of transportation ticket buying transfer recommendation index - Google Patents

Construction method of transportation ticket buying transfer recommendation index Download PDF

Info

Publication number
CN114611807B
CN114611807B CN202210260932.4A CN202210260932A CN114611807B CN 114611807 B CN114611807 B CN 114611807B CN 202210260932 A CN202210260932 A CN 202210260932A CN 114611807 B CN114611807 B CN 114611807B
Authority
CN
China
Prior art keywords
station
transfer
departure
destination
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210260932.4A
Other languages
Chinese (zh)
Other versions
CN114611807A (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.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
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 Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN202210260932.4A priority Critical patent/CN114611807B/en
Publication of CN114611807A publication Critical patent/CN114611807A/en
Application granted granted Critical
Publication of CN114611807B publication Critical patent/CN114611807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/047Optimisation of routes or paths, e.g. travelling salesman problem
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Remote Sensing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Navigation (AREA)

Abstract

本发明公开一种交通运输购票换乘推荐指数构建方法,确定出发站、目的站和换乘站,并获取各站的经纬度、各站之间的线路长度;计算出发站至换乘站与出发站至目的站之间的夹角,以及换乘站至目的站与出发站至目的站之间的夹角;判断换乘站偏离原路线的程度,并判断换乘路线长度对推荐换乘指数的影响;计算交通运输购票换乘推荐指数。本发明以数值的形式给出交通运输购票换乘推荐指数,便于购票人决策使用;综合考虑了换乘线路与原线路的偏离程度、里程的增加、换乘时间的宽裕程度、列车晚点率等因素,因素较全面,本发明方法计算的换乘推荐指数更合理。

Figure 202210260932

The invention discloses a method for constructing a recommendation index for ticket purchase and transfer in transportation, which determines the departure station, destination station and transfer station, obtains the latitude and longitude of each station, and the length of the line between each station; calculates the distance between the departure station and the transfer station The angle between the departure station and the destination station, as well as the angle between the transfer station and the destination station and the departure station and the destination station; judge the degree to which the transfer station deviates from the original route, and judge the impact of the length of the transfer route on the recommended transfer The impact of the index; calculate the recommended index of transportation ticket purchase and transfer. The present invention provides the recommendation index of transport ticket purchase and transfer in the form of numerical values, which is convenient for ticket purchasers to use in decision-making; it comprehensively considers the degree of deviation between the transfer line and the original line, the increase in mileage, the ample degree of transfer time, and the delay of the train Rate and other factors, the factors are more comprehensive, and the transfer recommendation index calculated by the method of the present invention is more reasonable.

Figure 202210260932

Description

一种交通运输购票换乘推荐指数构建方法A method for constructing a recommendation index for transportation ticket purchase and transfer

技术领域Technical Field

本发明属于交通运输领域,具体涉及一种交通运输购票换乘推荐指数构建方法。The invention belongs to the field of transportation, and in particular relates to a method for constructing a transportation ticket purchase and transfer recommendation index.

背景技术Background Art

节假日交通运输量大,票源紧张,甚至出现一票难求的现象,在无法购到直达车票的情况下,若通过换乘达到出行的目的,也是一种较优的购票方案。现有技术中所规划的行程路线大致包括该路线中需要换乘的交通工具、该路线的总路程以及到达目的站的预计时间。所换乘的交通运输线路,以及换乘的间隔时间、上一班车辆的晚点率均会影响换乘的成功率,目前缺少为用户购换乘票的换乘推荐指数。During holidays, the volume of transportation is large, and the ticket supply is tight, and it is even difficult to get a ticket. If you cannot buy a direct ticket, it is also a better ticket purchase solution to achieve the purpose of travel by transfer. The itinerary route planned in the prior art generally includes the transportation tools that need to be transferred in the route, the total distance of the route, and the estimated time to arrive at the destination. The transportation route to be transferred, the interval time of the transfer, and the delay rate of the previous vehicle will affect the success rate of the transfer. At present, there is a lack of transfer recommendation index for users to purchase transfer tickets.

发明内容Summary of the invention

本发明解决的技术问题:提供一种交通运输购票换乘推荐指数构建方法。The technical problem solved by the present invention is to provide a method for constructing a transportation ticket purchase and transfer recommendation index.

技术方案:为了解决上述技术问题,本发明采用的技术方案如下:Technical solution: In order to solve the above technical problems, the technical solution adopted by the present invention is as follows:

一种交通运输购票换乘推荐指数构建方法,其特征在于,包括以下步骤:A method for constructing a transportation ticket purchase transfer recommendation index, characterized in that it includes the following steps:

步骤1:确定出发站、目的站和换乘站,并获取各站的经纬度、各站之间的线路长度;Step 1: Determine the departure station, destination station and transfer station, and obtain the longitude and latitude of each station and the length of the line between each station;

步骤2:将出发站、目的站和换乘站三个地点绘制三角形,计算出发站至换乘站与出发站至目的站之间的夹角,以及换乘站至目的站与出发站至目的站之间的夹角;Step 2: Draw a triangle between the departure station, the destination station and the transfer station, and calculate the angle between the departure station and the transfer station, the angle between the departure station and the destination station, and the angle between the transfer station and the destination station, and the angle between the departure station and the destination station;

步骤3:根据夹角计算换乘站偏离原路线的程度对推荐指数的贡献;Step 3: Calculate the contribution of the transfer station's deviation from the original route to the recommendation index based on the angle;

步骤4:根据各站之间的线路长度,计算换乘后线路里程的增加对推荐指数的贡献;Step 4: Based on the line lengths between stations, calculate the contribution of the increase in line mileage after transfer to the recommendation index;

步骤5:计算换乘时间宽裕程度对推荐指数的贡献;Step 5: Calculate the contribution of transfer time margin to the recommendation index;

步骤6:计算交通运输购票换乘推荐指数。Step 6: Calculate the recommended index for transportation ticket purchase and transfer.

进一步地,出发站定义为A,目的站定义为B,换乘站定义为C,设出发站至换乘站与出发站至目的站之间的夹角∠CAB为θ1,出发站至目的站与换乘站至目的站之间的夹角∠ABC为θ2,θ1和θ2的计算方法为:Further, the departure station is defined as A, the destination station is defined as B, and the transfer station is defined as C. Let the angle ∠CAB between the departure station and the transfer station and between the departure station and the destination station be θ 1 , and the angle ∠ABC between the departure station and the destination station and between the transfer station and the destination station be θ 2 . The calculation method of θ 1 and θ 2 is:

Figure BDA0003550307780000021
Figure BDA0003550307780000021

Figure BDA0003550307780000022
Figure BDA0003550307780000022

其中,XA、YA、ZA为出发站A的经纬度转换为笛卡尔坐标系后的坐标值,XB、YB、ZB为目的站B的经纬度转换为笛卡尔坐标系后的坐标值,XC、YC、ZC为换乘站C的经纬度转换为笛卡尔坐标系后的坐标值。Among them, XA , YA , ZA are the coordinate values of the longitude and latitude of the departure station A converted into the Cartesian coordinate system, XB , YB , ZB are the coordinate values of the longitude and latitude of the destination station B converted into the Cartesian coordinate system, and XC , YC , ZC are the coordinate values of the longitude and latitude of the transfer station C converted into the Cartesian coordinate system.

进一步地,出发站A的经纬度分别为LngA、LatA,目的站B的经纬度分别为LngB、LatB,换乘站C的经纬度分别为LngC、LatC,将各站的经纬度转换为笛卡尔坐标系进行表示,XA、YA、ZA通过以下方式得到:Furthermore, the longitude and latitude of the departure station A are Lng A and Lat A , the longitude and latitude of the destination station B are Lng B and Lat B , and the longitude and latitude of the transfer station C are Lng C and Lat C. The longitude and latitude of each station are converted into a Cartesian coordinate system for representation, and X A , Y A , and Z A are obtained by the following method:

Figure BDA0003550307780000023
Figure BDA0003550307780000023

Figure BDA0003550307780000024
Figure BDA0003550307780000024

Figure BDA0003550307780000025
Figure BDA0003550307780000025

XB、YB、ZB通过以下方式得到:X B , Y B , and Z B are obtained by:

Figure BDA0003550307780000026
Figure BDA0003550307780000026

Figure BDA0003550307780000027
Figure BDA0003550307780000027

Figure BDA0003550307780000028
Figure BDA0003550307780000028

XC、YC、ZC通过以下方式得到:X C , Y C , and Z C are obtained by:

Figure BDA0003550307780000029
Figure BDA0003550307780000029

Figure BDA00035503077800000210
Figure BDA00035503077800000210

Figure BDA0003550307780000031
Figure BDA0003550307780000031

其中,r为地球半径,取值为6371.393。Among them, r is the radius of the earth, and its value is 6371.393.

进一步地,步骤3中,换乘站偏离原路线的程度对推荐指数的贡献用pθ表示。Furthermore, in step 3, the contribution of the degree of deviation of the transfer station from the original route to the recommendation index is represented by p θ .

Figure BDA0003550307780000032
Figure BDA0003550307780000032

其中,l1为出发站A至换乘站C之间的线路长度,l2为换乘站C与目的站B之间的线路长度;当换乘站位于原线路上时,令pθ=1。Wherein, l 1 is the line length between the departure station A and the transfer station C, and l 2 is the line length between the transfer station C and the destination station B. When the transfer station is located on the original line, let p θ =1.

进一步地,步骤4中,换乘后线路里程的增加对推荐指数的贡献用pl表示;Furthermore, in step 4, the contribution of the increase in line mileage after the transfer to the recommendation index is represented by p l ;

Figure BDA0003550307780000033
Figure BDA0003550307780000033

其中,l为出发站A至目的站B之间的线路长度,l1为出发站A至换乘站C之间的线路长度,l2为换乘站C与目的站B之间的线路长度。Among them, l is the line length between the departure station A and the destination station B, l 1 is the line length between the departure station A and the transfer station C, and l 2 is the line length between the transfer station C and the destination station B.

进一步地,步骤5中,换乘时间宽裕程度对推荐指数的贡献用pt表示。Furthermore, in step 5, the contribution of the transfer time margin to the recommendation index is represented by pt .

Figure BDA0003550307780000034
Figure BDA0003550307780000034

其中,t为换乘时间,

Figure BDA0003550307780000035
T1为出发站至换乘站线路AC上的车辆到达换乘站的时刻,T2为换乘站至目的站CB上的车辆从换乘站的发车时刻,t为最佳换乘时间。Where t is the transfer time,
Figure BDA0003550307780000035
T1 is the time when the vehicle on the line AC from the departure station to the transfer station arrives at the transfer station, T2 is the time when the vehicle on the line AC from the transfer station to the destination station CB departs from the transfer station, and toptimum is the optimal transfer time.

进一步地,步骤6中,计算交通运输购票换乘推荐指数,方法如下:Furthermore, in step 6, the transportation ticket purchase and transfer recommendation index is calculated as follows:

I=pθ·pl·pt·(1-p晚点)×100%I=p θ ·p l ·p t ·(1-p late )×100%

I为购票换乘推荐指数,p晚点为车辆到达换乘站的晚点率。I is the recommended index for ticket purchase and transfer, and pdelay is the delay rate of the vehicle arriving at the transfer station.

有益效果:与现有技术相比,本发明具有以下优点:Beneficial effects: Compared with the prior art, the present invention has the following advantages:

本发明换乘推荐指数的构建综合考虑了换乘线路与原线路的偏离程度、里程的增加、换乘时间的宽裕程度、列车晚点率等因素,推荐指数更合理。通过出发站、目的站以及换乘站的位置得到因换乘所偏离原线路的角度,偏离的角度越大对推荐指数的贡献就越小,可避免换乘站处于不合理的位置,如换乘站在线路的相反方向上,也可以保证优先推荐尽量靠近原线路的换乘站;换乘后线路里程的增加对推荐指数的贡献,可以保证优先推荐里程较短的线路;换乘时间宽裕程度以及车辆的晚点率对推荐指数的贡献,较好的解决了换乘时可能赶不上车的问题,同时也可避免换乘时乘客等待时间过长的现象。The construction of the transfer recommendation index of the present invention comprehensively considers factors such as the degree of deviation between the transfer line and the original line, the increase in mileage, the margin of transfer time, and the train delay rate, so that the recommendation index is more reasonable. The angle of deviation from the original line due to the transfer is obtained through the positions of the departure station, the destination station, and the transfer station. The greater the angle of deviation, the smaller the contribution to the recommendation index, which can avoid the transfer station being in an unreasonable position, such as the transfer station being in the opposite direction of the line, and can also ensure that the transfer station as close to the original line as possible is recommended first; the contribution of the increase in line mileage after the transfer to the recommendation index can ensure that the line with shorter mileage is recommended first; the contribution of the margin of transfer time and the vehicle delay rate to the recommendation index better solves the problem of missing the train during the transfer, and can also avoid the phenomenon of passengers waiting too long during the transfer.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是交通运输购票换乘指数构建方法流程图;FIG1 is a flow chart of a method for constructing a transportation ticket transfer index;

图2是交通运输购票换乘指数构建方法地点示意图。Figure 2 is a schematic diagram of the location of the transportation ticket transfer index construction method.

具体实施方式DETAILED DESCRIPTION

下面结合具体实施例,进一步阐明本发明,实施例在以本发明技术方案为前提下进行实施,应理解这些实施例仅用于说明本发明而不用于限制本发明的范围。The present invention is further illustrated below in conjunction with specific examples. The examples are implemented based on the technical solutions of the present invention. It should be understood that these examples are only used to illustrate the present invention and are not used to limit the scope of the present invention.

如图1所示,一种交通运输购票换乘推荐指数构建方法,包括以下步骤:As shown in FIG1 , a method for constructing a transportation ticket purchase and transfer recommendation index includes the following steps:

步骤1:确定出发站、目的站和换乘站,并获取各站的经纬度、各站之间的线路长度;Step 1: Determine the departure station, destination station and transfer station, and obtain the longitude and latitude of each station and the length of the line between each station;

设出发站为A,目的站为B,换乘站为C,出发站A的经度和纬度分别为LngA、LatA,目的站B的经度和纬度分别为LngB、LatB,换乘站C的经度和纬度分别为LngC、LatC。出发站和目的站之间的线路长度AB为l,出发站和换乘站之间的线路长度AC为l1,换乘站和目的站之间的线路长度CB为l2Assume that the departure station is A, the destination station is B, and the transfer station is C. The longitude and latitude of the departure station A are Lng A and Lat A respectively, the longitude and latitude of the destination station B are Lng B and Lat B respectively, and the longitude and latitude of the transfer station C are Lng C and Lat C respectively. The line length AB between the departure station and the destination station is l, the line length AC between the departure station and the transfer station is l 1 , and the line length CB between the transfer station and the destination station is l 2 .

步骤2:将出发站、目的站和换乘站三个地点绘制三角形,计算出发站至换乘站与出发站至目的站之间的夹角,以及换乘站至目的站与出发站至目的站之间的夹角;Step 2: Draw a triangle between the departure station, the destination station and the transfer station, and calculate the angle between the departure station and the transfer station, the angle between the departure station and the destination station, and the angle between the transfer station and the destination station, and the angle between the departure station and the destination station;

将出发站、目的站和换乘站的经纬度转换为笛卡尔坐标系,便于后续计算。记XA、YA、ZA为出发站A的经纬度转换为笛卡尔坐标系后的坐标值,XA、YA、ZA通过以下方式得到:The longitude and latitude of the departure station, destination station, and transfer station are converted to the Cartesian coordinate system for subsequent calculations. XA , YA , and ZA are the coordinate values of the longitude and latitude of the departure station A converted to the Cartesian coordinate system. XA , YA , and ZA are obtained by the following method:

Figure BDA0003550307780000051
Figure BDA0003550307780000051

Figure BDA0003550307780000052
Figure BDA0003550307780000052

Figure BDA0003550307780000053
Figure BDA0003550307780000053

记XB、YB、ZB为目的站B的经纬度转换为笛卡尔坐标系后的坐标值,XB、YB、ZB通过以下方式得到:X B , Y B , and Z B are the coordinate values of the latitude and longitude of the destination station B converted into the Cartesian coordinate system. X B , Y B , and Z B are obtained by the following method:

Figure BDA0003550307780000054
Figure BDA0003550307780000054

Figure BDA0003550307780000055
Figure BDA0003550307780000055

Figure BDA0003550307780000056
Figure BDA0003550307780000056

记XC、YC、ZC为C站的经纬度转换为笛卡尔坐标系后的坐标值,XC、YC、ZC通过以下方式得到: XC , YC , and ZC are the coordinate values of the longitude and latitude of station C converted into the Cartesian coordinate system. XC , YC , and ZC are obtained by the following method:

Figure BDA0003550307780000057
Figure BDA0003550307780000057

Figure BDA0003550307780000058
Figure BDA0003550307780000058

Figure BDA0003550307780000059
Figure BDA0003550307780000059

其中,r为地球的半径,值为6371.393。Among them, r is the radius of the earth, and its value is 6371.393.

将出发站A、目的站B和换乘站C三个地点绘制三角形,设∠CAB为θ1,∠ABC为θ2,θ1和θ2的计算方法为:Draw a triangle between the departure station A, the destination station B and the transfer station C. Let ∠CAB be θ 1 , ∠ABC be θ 2 , and the calculation method of θ 1 and θ 2 is:

Figure BDA00035503077800000510
Figure BDA00035503077800000510

Figure BDA0003550307780000061
Figure BDA0003550307780000061

步骤3:根据夹角计算换乘站偏离原路线的程度对推荐指数的贡献;Step 3: Calculate the contribution of the transfer station's deviation from the original route to the recommendation index based on the angle;

换乘站偏离原路线的程度用pθ表示,pθ通过以下方式的得到:The degree to which the transfer station deviates from the original route is represented by p θ , which is obtained by:

Figure BDA0003550307780000062
Figure BDA0003550307780000062

换乘站偏离原线路的程度越大pθ越小,当换乘站位于原线路上时,令pθ=1。The greater the degree to which the transfer station deviates from the original line, the smaller p θ is. When the transfer station is located on the original line, let p θ =1.

步骤4:根据各站之间的线路长度,计算换乘后线路里程的增加对推荐指数的贡献;Step 4: Based on the line lengths between stations, calculate the contribution of the increase in line mileage after transfer to the recommendation index;

换乘路线长度对推荐换乘指数的影响用pl表示,pl通过以下方式的得到:The influence of the transfer route length on the recommended transfer index is represented by p l , which is obtained by the following method:

Figure BDA0003550307780000063
Figure BDA0003550307780000063

当换乘站位于原线路上时,l1+l2=l,所以pl=1。When the transfer station is located on the original line, l 1 +l 2 =l, so p l =1.

步骤5:计算换乘时间宽裕程度对推荐指数的贡献;换乘时间宽裕程度对推荐指数的贡献用pt表示,Step 5: Calculate the contribution of the transfer time margin to the recommendation index; the contribution of the transfer time margin to the recommendation index is represented by p t ,

Figure BDA0003550307780000064
Figure BDA0003550307780000064

其中,t为换乘时间,

Figure BDA0003550307780000065
T1为出发站至换乘站线路AC上的车辆到达换乘站的时刻,T2为换乘站至目的站线路CB上的车辆从换乘站的发车时刻,t为最佳换乘时间,t优选60min。本发明的最佳换乘时间可以由购票用户自行设定,系统根据用户设定的最佳换乘时间计算换乘时间宽裕程度对推荐指数的影响。Where t is the transfer time,
Figure BDA0003550307780000065
T1 is the time when the vehicle on the line AC from the departure station to the transfer station arrives at the transfer station, T2 is the time when the vehicle on the line CB from the transfer station to the destination station departs from the transfer station, toptimum is the optimal transfer time, and toptimum is preferably 60 minutes. The optimal transfer time of the present invention can be set by the ticket purchasing user, and the system calculates the influence of the transfer time margin on the recommendation index according to the optimal transfer time set by the user.

步骤6:计算交通运输购票换乘推荐指数,方法如下:Step 6: Calculate the recommended index for transportation ticket purchase and transfer as follows:

I=pθ·pl·pt·(1-p晚点)×100%I=p θ ·p l ·p t ·(1-p late )×100%

I为购票换乘指数,p晚点为到达C站车辆的晚点率。I is the ticket transfer index, and pdelay is the delay rate of vehicles arriving at station C.

采用本发明的方法计算不同换乘情况下的推荐指数:The method of the present invention is used to calculate the recommendation index under different transfer situations:

由A地到B地的铁路里程为1158km,在C地换乘,A地到C地的铁路里程为691km,C地到B地的铁路里程为691km,θ1=42.3°,θ2=38.5°,在C站的换乘时间为35min,上班列车的晚点率为3%,t=60min。经计算,pθ=0.9384,pl=0.8379,pt=0.7934,I=60.5%。The railway mileage from A to B is 1158 km, with a transfer at C. The railway mileage from A to C is 691 km, and the railway mileage from C to B is 691 km. θ 1 = 42.3°, θ 2 = 38.5°, the transfer time at C station is 35 minutes, the delay rate of the train to work is 3%, and t optimal = 60 minutes. After calculation, p θ = 0.9384, p l = 0.8379, p t = 0.7934, and I = 60.5%.

实施例2:Embodiment 2:

在C站的换乘时间为57min,上班列车的晚点率为5%,其它条件与实施例1相同。经计算,pθ=0.9384,pl=0.8379,pt=0.9969,I=74.5%。The transfer time at station C is 57 minutes, the delay rate of the commuting train is 5%, and other conditions are the same as those in Example 1. After calculation, p θ = 0.9384, p l = 0.8379, p t = 0.9969, and I = 74.5%.

实施例2与实施例1的主要区别是换乘时间更长,由35min增加到57min,使乘客有充足的时间换乘,尽管车辆的晚点率有2%的上升,但其影响相对来说要小,所以推荐指数由60.5%上升到74.5%,这符合人们对换乘的直观感觉要求。The main difference between Example 2 and Example 1 is that the transfer time is longer, increasing from 35 minutes to 57 minutes, so that passengers have sufficient time to transfer. Although the vehicle delay rate increases by 2%, its impact is relatively small, so the recommendation index increases from 60.5% to 74.5%, which meets people's intuitive requirements for transfers.

实施例3:Embodiment 3:

由A地到B地的铁路里程为1158km,在C地换乘,A地到C地的铁路里程为1104km,C地到B地的铁路里程为283km,θ1=15.7°,θ2=52.1°,在C站的换乘时间为45min,上班列车的晚点率为1%,t=60min。经计算,pθ=0.9718,pl=0.8349,pt=0.9239,I=74.2%。The railway mileage from A to B is 1158 km, with a transfer at C. The railway mileage from A to C is 1104 km, and the railway mileage from C to B is 283 km. θ 1 = 15.7°, θ 2 = 52.1°, the transfer time at C station is 45 minutes, the delay rate of the train to work is 1%, and t optimal = 60 minutes. After calculation, p θ = 0.9718, p l = 0.8349, p t = 0.9239, and I = 74.2%.

实施例4:Embodiment 4:

在C站的换乘时间为60min,其它条件与实施例3相同。经计算,pθ=0.9718,pl=0.8349,pt=1.0,I=80.3%。The transfer time at station C is 60 minutes, and other conditions are the same as those in Example 3. After calculation, p θ = 0.9718, p l = 0.8349, p t = 1.0, and I = 80.3%.

实施例4与实施例3仅在换乘时间上有区别,换乘时间从45min增加到60min,换乘更安全,所以推荐指数也从74.2%上升到80.3%。The only difference between Example 4 and Example 3 is the transfer time. The transfer time is increased from 45 minutes to 60 minutes, and the transfer is safer, so the recommendation index also increases from 74.2% to 80.3%.

实施例5:Embodiment 5:

由A地到B地的铁路里程为1158km,在C地换乘,换乘站位于由A到B的原线路上,在C站的换乘时间为48min,上班列车的晚点率为2%,t=60min。经计算,pθ=1.0,pl=1.0,pt=0.9511,I=93.2%。The railway mileage from A to B is 1158 km, with a transfer at C. The transfer station is located on the original line from A to B. The transfer time at C is 48 minutes, the delay rate of the train to work is 2%, and t is 60 minutes. After calculation, p θ = 1.0, p l = 1.0, p t = 0.9511, and I = 93.2%.

实施例5为在同线路上的车站换乘,因线路没有偏离,里程没有增加,推荐指数仅受换乘时间宽裕程度以及车辆的晚点率影响,本例中晚点率仅为2%,换乘时间为48min,相对来说较充裕,因此推荐指数达到93.2%。Example 5 is about transferring at stations on the same line. Since the line has not deviated and the mileage has not increased, the recommendation index is only affected by the transfer time margin and the vehicle delay rate. In this example, the delay rate is only 2% and the transfer time is 48 minutes, which is relatively ample. Therefore, the recommendation index reaches 93.2%.

综合实施例1至实施例5,若这5个实施例是换乘的备选方案,则实施例5是最佳换乘方案,其次是实施例4,换乘的推荐指数较高,达到80.3%,因此也是较优的换乘方案,因此本发明可给出具体的推荐值,便于用户进行选择。Combining Examples 1 to 5, if these five examples are alternative transfer options, then Example 5 is the best transfer option, followed by Example 4, which has a higher transfer recommendation index of 80.3%, and is therefore also a better transfer option. Therefore, the present invention can give specific recommendation values to facilitate user selection.

以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims (3)

1.一种交通运输购票换乘推荐指数构建方法,其特征在于,包括以下步骤:1. A method for constructing a transportation ticket purchase and transfer recommendation index, characterized in that it includes the following steps: 步骤1:确定出发站、目的站和换乘站,并获取各站的经纬度、各站之间的线路长度;Step 1: Determine the departure station, destination station and transfer station, and obtain the longitude and latitude of each station and the length of the line between each station; 步骤2:将出发站、目的站和换乘站三个地点绘制三角形,计算出发站至换乘站与出发站至目的站之间的夹角,以及换乘站至目的站与出发站至目的站之间的夹角;Step 2: Draw a triangle between the departure station, the destination station and the transfer station, and calculate the angle between the departure station and the transfer station, the angle between the departure station and the destination station, and the angle between the transfer station and the destination station, and the angle between the departure station and the destination station; 步骤3:根据夹角计算换乘站偏离原路线的程度对推荐指数的贡献;换乘站偏离原路线的程度对推荐指数的贡献用pθ表示;Step 3: Calculate the contribution of the degree of deviation of the transfer station from the original route to the recommendation index based on the angle; the contribution of the degree of deviation of the transfer station from the original route to the recommendation index is represented by p θ ;
Figure FDA0004092468750000011
Figure FDA0004092468750000011
其中,l1为出发站A至换乘站C之间的线路长度,l2为换乘站C与目的站B之间的线路长度;当换乘站位于原线路上时,令pθ=1;Wherein, l 1 is the line length between the departure station A and the transfer station C, and l 2 is the line length between the transfer station C and the destination station B. When the transfer station is located on the original line, let p θ = 1; 步骤4:根据各站之间的线路长度,计算换乘后线路里程的增加对推荐指数的贡献;换乘后线路里程的增加对推荐指数的贡献用pl表示;Step 4: Based on the line length between each station, calculate the contribution of the increase in line mileage after transfer to the recommendation index; the contribution of the increase in line mileage after transfer to the recommendation index is represented by p l ;
Figure FDA0004092468750000012
Figure FDA0004092468750000012
其中,l为出发站A至目的站B之间的线路长度,l1为出发站A至换乘站C之间的线路长度,l2为换乘站C与目的站B之间的线路长度;Among them, l is the line length between the departure station A and the destination station B, l 1 is the line length between the departure station A and the transfer station C, and l 2 is the line length between the transfer station C and the destination station B; 步骤5:计算换乘时间宽裕程度对推荐指数的贡献;换乘时间宽裕程度对推荐指数的贡献用pt表示,Step 5: Calculate the contribution of the transfer time margin to the recommendation index; the contribution of the transfer time margin to the recommendation index is represented by p t ,
Figure FDA0004092468750000013
Figure FDA0004092468750000013
其中,t为换乘时间,
Figure FDA0004092468750000014
T1为出发站至换乘站线路AC上的车辆到达换乘站的时刻,T2为换乘站至目的站CB上的车辆从换乘站的发车时刻,t为最佳换乘时间;
Where t is the transfer time,
Figure FDA0004092468750000014
T1 is the time when the vehicle on the line AC from the departure station to the transfer station arrives at the transfer station, T2 is the time when the vehicle on the line AC from the transfer station to the destination station CB departs from the transfer station, and toptimum is the optimal transfer time;
步骤6:计算交通运输购票换乘推荐指数;方法如下:Step 6: Calculate the recommended index for transportation ticket purchase and transfer; the method is as follows: I=pθ·pl·pt·(1-p晚点)×100%I=p θ ·p l ·p t ·(1-p late )×100% I为购票换乘推荐指数,p晚点为车辆到达换乘站的晚点率。I is the recommended index for ticket transfer, and pdelay is the delay rate of the vehicle arriving at the transfer station.
2.根据权利要求1所述的交通运输购票换乘推荐指数构建方法,其特征在于,出发站定义为A,目的站定义为B,换乘站定义为C,设出发站至换乘站与出发站至目的站之间的夹角∠CAB为θ1,出发站至目的站与换乘站至目的站之间的夹角∠ABC为θ2,θ1和θ2的计算方法为:2. The method for constructing a recommended index for transportation ticket purchase and transfer according to claim 1, characterized in that the departure station is defined as A, the destination station is defined as B, and the transfer station is defined as C. Let the angle ∠CAB between the departure station and the transfer station and the departure station and the destination station be θ 1 , and the angle ∠ABC between the departure station and the destination station and the transfer station and the destination station be θ 2 , and the calculation method of θ 1 and θ 2 is:
Figure FDA0004092468750000021
Figure FDA0004092468750000021
Figure FDA0004092468750000022
Figure FDA0004092468750000022
其中,XA、YA、ZA为出发站A的经纬度转换为笛卡尔坐标系后的坐标值,XB、YB、ZB为目的站B的经纬度转换为笛卡尔坐标系后的坐标值,XC、YC、ZC为换乘站C的经纬度转换为笛卡尔坐标系后的坐标值。Among them, XA , YA , ZA are the coordinate values of the longitude and latitude of the departure station A converted into the Cartesian coordinate system, XB , YB , ZB are the coordinate values of the longitude and latitude of the destination station B converted into the Cartesian coordinate system, and XC , YC , ZC are the coordinate values of the longitude and latitude of the transfer station C converted into the Cartesian coordinate system.
3.根据权利要求2所述的交通运输购票换乘推荐指数构建方法,其特征在于,出发站A的经纬度分别为LngA、LatA,目的站B的经纬度分别为LngB、LatB,换乘站C的经纬度分别为LngC、LatC,将各站的经纬度转换为笛卡尔坐标系进行表示,XA、YA、ZA通过以下方式得到:3. The method for constructing a recommended index for transportation ticket purchase and transfer according to claim 2, characterized in that the longitude and latitude of the departure station A are Lng A and Lat A respectively, the longitude and latitude of the destination station B are Lng B and Lat B respectively, and the longitude and latitude of the transfer station C are Lng C and Lat C respectively, and the longitude and latitude of each station are converted into a Cartesian coordinate system for representation, and X A , Y A , and Z A are obtained by the following method:
Figure FDA0004092468750000023
Figure FDA0004092468750000023
Figure FDA0004092468750000024
Figure FDA0004092468750000024
Figure FDA0004092468750000025
Figure FDA0004092468750000025
XB、YB、ZB通过以下方式得到:X B , Y B , and Z B are obtained by:
Figure FDA0004092468750000031
Figure FDA0004092468750000031
Figure FDA0004092468750000032
Figure FDA0004092468750000032
Figure FDA0004092468750000033
Figure FDA0004092468750000033
XC、YC、ZC通过以下方式得到:X C , Y C , and Z C are obtained by:
Figure FDA0004092468750000034
Figure FDA0004092468750000034
Figure FDA0004092468750000035
Figure FDA0004092468750000035
Figure FDA0004092468750000036
Figure FDA0004092468750000036
其中,r为地球半径,取值为6371.393。Among them, r is the radius of the earth, and its value is 6371.393.
CN202210260932.4A 2022-03-16 2022-03-16 Construction method of transportation ticket buying transfer recommendation index Active CN114611807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210260932.4A CN114611807B (en) 2022-03-16 2022-03-16 Construction method of transportation ticket buying transfer recommendation index

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210260932.4A CN114611807B (en) 2022-03-16 2022-03-16 Construction method of transportation ticket buying transfer recommendation index

Publications (2)

Publication Number Publication Date
CN114611807A CN114611807A (en) 2022-06-10
CN114611807B true CN114611807B (en) 2023-04-21

Family

ID=81863729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210260932.4A Active CN114611807B (en) 2022-03-16 2022-03-16 Construction method of transportation ticket buying transfer recommendation index

Country Status (1)

Country Link
CN (1) CN114611807B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007210507A (en) * 2006-02-10 2007-08-23 Navitime Japan Co Ltd Navigation system and route searching method, and route searching server and navigation terminal device
CN108151754A (en) * 2017-12-12 2018-06-12 北京摩拜科技有限公司 Providing method, server, client and the system of trip service
CN110428117A (en) * 2019-08-15 2019-11-08 北京交通大学 The accurate abductive approach of passenger flow and system under the more scenes of urban track traffic
JP2019197017A (en) * 2018-05-11 2019-11-14 クラリオン株式会社 Information display terminal, server device and bus route information display method
JP2021168003A (en) * 2020-04-09 2021-10-21 株式会社東芝 Ticket vending machine, server device, terminal device, and ticket vending system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06187363A (en) * 1992-12-17 1994-07-08 Toshiba Corp Train transfer path display device
CN1269031C (en) * 2003-03-13 2006-08-09 上海华虹计通智能卡系统有限公司 Transfer ticket classifying method in urban track communication
CN101770607A (en) * 2008-12-28 2010-07-07 浙江浙大网新众合轨道交通工程有限公司 Multipath high-probability preferential and comprehensive liquidating and distributing model
JP6502066B2 (en) * 2014-11-12 2019-04-17 株式会社ナビタイムジャパン INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING PROGRAM, INFORMATION PROCESSING DEVICE, AND INFORMATION PROCESSING METHOD
CN107024217B (en) * 2016-02-01 2019-06-11 北京迈维出行科技有限公司 The method, apparatus and system of the route planning of Intercity Transportation
CN106528720A (en) * 2016-11-02 2017-03-22 中铁程科技有限责任公司 Transfer station recommendation method and transfer station recommendation system
JP6930454B2 (en) * 2018-02-28 2021-09-01 オムロン株式会社 Ticket vending machines, ticketing methods, and ticketing programs
CN110222912B (en) * 2019-06-21 2021-06-11 清华大学 Railway travel route planning method and device based on time dependence model
CN112612950A (en) * 2020-12-16 2021-04-06 平安消费金融有限公司 Travel mode, travel clothing recommendation method and device, and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007210507A (en) * 2006-02-10 2007-08-23 Navitime Japan Co Ltd Navigation system and route searching method, and route searching server and navigation terminal device
CN108151754A (en) * 2017-12-12 2018-06-12 北京摩拜科技有限公司 Providing method, server, client and the system of trip service
JP2019197017A (en) * 2018-05-11 2019-11-14 クラリオン株式会社 Information display terminal, server device and bus route information display method
CN110428117A (en) * 2019-08-15 2019-11-08 北京交通大学 The accurate abductive approach of passenger flow and system under the more scenes of urban track traffic
JP2021168003A (en) * 2020-04-09 2021-10-21 株式会社東芝 Ticket vending machine, server device, terminal device, and ticket vending system

Also Published As

Publication number Publication date
CN114611807A (en) 2022-06-10

Similar Documents

Publication Publication Date Title
Kumar et al. An algorithm for integrating peer-to-peer ridesharing and schedule-based transit system for first mile/last mile access
CN110704993B (en) Customized bus route design method for relieving subway passenger flow pressure
CN107564269B (en) A Semi-Flexible Bus Scheduling Method Based on Willingness to Pay
WO2017045294A1 (en) Method for designing routine urban public transit network
CN103793760B (en) Passenger flow transfer allocation proportion optimization method inside multi-mode comprehensive transportation hub
CN102202053A (en) Taxi sharing system and method based on LBS and SNS
CN114970993B (en) A method for adjusting conventional bus routes along rail transit lines
CN114925909B (en) Urban rail transit passenger flow and vehicle flow coupling optimization method and system
CN113928342B (en) Train operation method based on virtual marshalling, electronic device and storage medium
CN112561379A (en) Regional network taxi appointment-oriented scheduling method
CN109410562B (en) An Optimal Scheduling Method of Community Public Transport
CN107330716A (en) A kind of customization public transport pricing method for considering system optimal
CN110084397A (en) A kind of subway straightforward line planing method
CN107871179B (en) Railway freight train operation diagram compiling method based on arrival time limit
CN106245476A (en) A kind of express highway
CN111791923A (en) An energy-saving single-track railway train scheduling method and system
CN113724495A (en) Traffic prediction method for city sharing trip
CN114611807B (en) Construction method of transportation ticket buying transfer recommendation index
CN106296354A (en) A kind of driver of raising and passenger go together the method and system of rate
CN117057448A (en) Train route-crossing plan programming method for urban rail transit interconnection and intercommunication line
CN112446648A (en) Urban rail transit mixed transportation method and system based on off-peak hours
CN110119831A (en) A kind of the transportation route optimization system and method for logistic management system
CN111489017A (en) An optimization method of pick-up bus network based on strip passenger attraction area
CN109615848A (en) A kind of cross-region user trip Resolving probiems system based on big data
CN115271276B (en) Combined macro-micro demand-response vehicle scheduling method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220803

Address after: 430000, No. 299, Bayi Road, Wuchang District, Wuhan City, Hubei Province

Applicant after: WUHAN University

Address before: 430072 Information Department of Wuhan University, 129 Luoyu Road, Hongshan District, Wuhan City, Hubei Province

Applicant before: Zhao Han

GR01 Patent grant
GR01 Patent grant