Bus route station optimization method, device and equipment
By obtaining the passenger flow between the subway station area and the associated bus stop sets, the optimization plan for bus stops is determined, and the problem of unreasonable bus stop planning and site selection is solved, and the traffic efficiency and convenience of residents' travel is improved.
Patent Information
- Application Number
- CN202311016473.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-11
- Publication Date
- 2025-02-25
AI Technical Summary
The planning and location selection of bus stops in existing cities are arbitrary, resulting in unreasonable distribution of stations, which intensively affects traffic, and some alienation brings inconvenience to residents' travel.
By obtaining passenger flow in the subway station area and determining the set of bus stops associated with the subway station, based on this information, determine whether to optimize the bus stops in the bus route to improve traffic efficiency.
It has achieved reasonable optimization of bus stops, improved traffic efficiency, and reduced inconvenience for residents to travel.
Smart Images

Figure CN119514740A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart transportation, and in particular to a method, device and equipment for optimizing bus routes and stations. Background Art
[0002] With the accelerated development of urbanization and the rapid increase in population, the location of bus stops is particularly important in order to meet the needs of residents for convenient travel. At present, some cities have many problems in the construction and planning of bus stops. Bus stops are not reasonably planned, and the location is relatively random. Some bus stops are too densely distributed, affecting road traffic, while some are set too far away, causing inconvenience to residents. Therefore, it is very necessary to reasonably optimize the bus routes and stops within the city. Summary of the invention
[0003] In view of this, the present application provides a bus line station optimization method, device and equipment for optimizing bus line stations to improve traffic efficiency.
[0004] Specifically, the present application is implemented through the following technical solutions:
[0005] The first aspect of the present application provides a bus route station optimization method, the method comprising:
[0006] For each pair of target subway station intervals to be analyzed in the subway line in the target city, obtaining a first passenger flow of the target subway station intervals;
[0007] Determine a first bus stop set associated with a first subway station, and a second bus stop set associated with a second subway station; wherein the first subway station and the second subway station are two end stops of the target subway station interval;
[0008] Based on each bus stop in the first bus stop set and each bus stop in the second bus stop set, a plurality of pairs of target bus stop intervals and a second passenger flow of each pair of the target bus stop intervals are obtained;
[0009] According to the first passenger flow and the second passenger flow of each pair of the target bus stop intervals, it is determined whether to optimize the bus stops of the target bus line in the multiple pairs of target bus stop intervals; wherein the target bus line is a bus line passing through the bus stops in the multiple pairs of target bus stop intervals.
[0010] A second aspect of the present application provides a bus route station optimization device, the device comprising: an acquisition module, a determination module and a processing module, wherein:
[0011] The acquisition module is used to acquire the first passenger flow of each pair of target subway station intervals to be analyzed in the subway line in the target city;
[0012] The determination module is used to determine a first bus stop set associated with a first subway station, and a second bus stop set associated with a second subway station; wherein the first subway station and the second subway station are two end stops of the target subway station interval;
[0013] The acquisition module is further configured to obtain a plurality of pairs of target bus stop intervals and a second passenger flow of each pair of the target bus stop intervals based on each bus stop in the first bus stop set and each bus stop in the second bus stop set;
[0014] The processing module is used to determine whether to optimize the bus stops of the target bus line in the multiple pairs of target bus stops according to the first passenger flow and the second passenger flow of each pair of the target bus stops; wherein the target bus line is a bus line passing through the bus stops in the multiple pairs of the target bus stops.
[0015] The third aspect of the present application provides a bus route station optimization device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any one of the methods provided in the first aspect of the present application are implemented.
[0016] The fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one of the methods provided in the first aspect of the present application.
[0017] The bus line station optimization method, device and equipment provided by the present application, for each pair of target subway station station intervals to be analyzed in the subway line in the target city, obtains the first passenger flow of the target subway station station interval, and determines the first bus station set associated with the first subway station and the second bus station set associated with the second subway station, and then obtains multiple pairs of target bus station intervals and the second passenger flow of each pair of the target bus station intervals based on each bus station in the first bus station set and each bus station in the second bus station set, so as to determine whether to optimize the bus stations in the multiple pairs of target bus station intervals of the target bus line according to the first passenger flow and the second passenger flow of each pair of the target bus station intervals, wherein the first subway station and the second subway station are the two end stations of the target subway station interval, and the target bus line is a bus line passing through the bus stations in the multiple pairs of target bus station intervals. In this way, it can be determined whether to optimize the bus station based on the passenger flow of the subway station interval and the passenger flow of the bus station interval, and the bus line can be reasonably planned to improve the traffic efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A flowchart of a first embodiment of a bus route station optimization method provided in this application;
[0019] Figure 2 A flowchart of a second embodiment of the bus route station optimization method provided in this application;
[0020] Figure 3 A hardware structure diagram of a bus line station optimization device in which the bus line station optimization device provided in this application is located;
[0021] Figure 4 A schematic diagram of the structure of a first embodiment of a bus route station optimization device provided in this application;
[0022] Figure 5 This is a structural diagram of Example 2 of the bus route station optimization device provided in this application. DETAILED DESCRIPTION
[0023] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0024] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0025] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0026] The present application provides a bus route station optimization method, device and equipment for optimizing bus stops to improve traffic efficiency.
[0027] The bus line station optimization method, device and equipment provided by the present application, for each pair of target subway station station intervals to be analyzed in the subway line in the target city, obtains the first passenger flow of the target subway station station interval, and determines the first bus station set associated with the first subway station and the second bus station set associated with the second subway station, and then obtains multiple pairs of target bus station intervals and the second passenger flow of each pair of the target bus station intervals based on each bus station in the first bus station set and each bus station in the second bus station set, so as to determine whether to optimize the bus stations in the multiple pairs of target bus station intervals of the target bus line according to the first passenger flow and the second passenger flow of each pair of the target bus station intervals, wherein the first subway station and the second subway station are the two end stations of the target subway station interval, and the target bus line is a bus line passing through the bus stations in the multiple pairs of target bus station intervals. In this way, it can be determined whether to optimize the bus station based on the passenger flow of the subway station interval and the passenger flow of the bus station interval, and the bus line can be reasonably planned to improve the traffic efficiency.
[0028] Specific embodiments are given below to introduce the technical solution of the present application in detail.
[0029] Figure 1 This is a flowchart of the first embodiment of the bus route station optimization method provided by this application. Please refer to Figure 1 , the method provided in this embodiment includes:
[0030] S101. For each pair of target subway station intervals to be analyzed in a subway line in a target city, obtain a first passenger flow of the target subway station intervals.
[0031] Specifically, the target subway station interval refers to each pair of subway station intervals in all subway lines in the target city (for example, Beijing), which is composed of any two stations in the subway line. For example, taking the target city as Hangzhou, one of the target subway station intervals may be Xianghu-Longxiang Bridge. Furthermore, the first passenger flow of the target subway station interval refers to the number of passengers entering the station from the starting endpoint station of the subway station interval and exiting the station from the ending endpoint station. Combined with the above example, when the target subway station interval is Xianghu-Longxiang Bridge, the first passenger flow includes the number of passengers entering the station from Xianghu and exiting the station from Longxiang Bridge.
[0032] It should be noted that, for each pair of target subway station intervals, when obtaining the first passenger flow of the pair of target subway station intervals, the first passenger flow of the pair of target subway station intervals in a specified time period may be obtained. The specified time period is set according to actual needs, and in this embodiment, the specified time period is not limited. For example, the specified time period may be the previous day, the previous week, the previous month, etc.
[0033] It should be noted that when passengers take the subway (for example, when passengers use a transportation card to take the subway, or when passengers use a boarding code to take the subway), the subway system will record the passengers' subway riding data. Each piece of subway riding data may include the name of the entry station, entry time, name of the exit station, exit time, passenger identification information, etc.
[0034] In this step, for each pair of target subway station intervals, you can first obtain the subway riding data associated with the target subway station interval within the specified time period (the subway riding data associated with the target subway station interval refers to the subway riding data entering the station from the starting terminal station in the target subway station interval and exiting the station from the ending terminal station), and then summarize these subway riding data to obtain the first passenger flow of the pair of target subway station intervals within the specified time period.
[0035] For example, in one embodiment, the first passenger flow of the subway station section obtained is shown in Table 1:
[0036] Table 1
[0037]
[0038]
[0039] S102, determining a first bus stop set associated with a first subway station, and a second bus stop set associated with a second subway station; wherein the first subway station and the second subway station are two end stops of the target subway station interval.
[0040] Specifically, the first subway station refers to the starting end station of the target subway station interval, and the second subway station refers to the ending end station of the target subway station interval. Furthermore, the first bus station set associated with the first subway station refers to the bus stations whose distance from the first subway station is less than or equal to the preset distance; the second bus station set associated with the second subway station refers to the bus stations whose distance from the second subway station is less than or equal to the preset distance. The preset distance is set according to actual needs. In this embodiment, the specific value of the preset distance is not limited. For example, in one embodiment, the preset distance is 500 meters.
[0041] For example, for the target subway station section A to B, where the first subway station is A and the second subway station is B, in this step, the first bus stop set associated with subway station A is determined to be {A1, A2, A3...An}, and the second bus stop set associated with subway station B is determined to be {B1, B2, B3...Bm}.
[0042] S103: Based on each bus stop in the first bus stop set and each bus stop in the second bus stop set, obtain multiple pairs of target bus stop intervals and a second passenger flow of each pair of the target bus stop intervals.
[0043] Specifically, the target bus stop interval is a bus stop interval consisting of each bus stop in the first bus stop set and each bus stop in the second bus stop set. Combined with the above example, for example, the first bus stop set is {A1, A2, A3...An}, the second bus stop set is {B1, B2, B3...Bm}, and the target bus stop interval is a bus stop interval {An, Bm} consisting of each bus stop in {A1, A2, A3...An} and each bus stop in {B1, B2, B3...Bm}.
[0044] Furthermore, the second passenger flow of each pair of target bus stop intervals may be the number of passengers who board the bus at the starting end station of the target bus stop interval and get off at the ending end station. In combination with the above example, when the target bus stop interval is from A1 to B2, the second passenger flow of the pair of target bus stop intervals may be the number of passengers who board the bus at A1 and get off at B2.
[0045] It should be noted that, for each pair of target bus stop intervals, when obtaining the second passenger flow of the pair of target bus stop intervals, the second passenger flow of the pair of target bus stop intervals within a specified time period may be obtained. The specified time period is set according to actual needs, and in this embodiment, the specified time period is not limited. For example, the specified time period may be the previous day, the previous week, the previous month, etc.
[0046] It should be noted that when a passenger takes a bus (for example, when a passenger uses a transportation card to take a bus, or when a passenger uses a boarding code to take a bus), the bus system will record the passenger's bus riding data. Each piece of bus riding data may include the name of the boarding station, boarding time, name of the alighting station, alighting time, passenger identification information, etc.
[0047] In this step, for each pair of target bus stop intervals, the bus riding data associated with the target bus stop interval within the specified time period can be obtained first (the bus riding data associated with the target bus stop interval refers to the bus riding data of getting on the bus from the starting terminal station in the target bus stop interval and getting off at the ending terminal station), and then these bus riding data are summarized to obtain the second passenger flow of the pair of target bus stop intervals within the specified time period.
[0048] S104. Determine whether to optimize the bus stops of a target bus line in the multiple pairs of target bus stops based on the first passenger flow and the second passenger flow of each pair of the target bus stops; wherein the target bus line is a bus line passing through the bus stops in the multiple pairs of the target bus stops.
[0049] For example, in one embodiment, the sum of the second passenger flow of each pair of target bus stop intervals can be calculated first, and then when the first passenger flow is greater than the sum, it is considered that at this time, for the pair of target subway station intervals, the number of people taking the subway is greater than the number of people taking the bus. At this time, for the bus lines passing through the bus stops in the multiple pairs of target bus stop intervals, it is determined to optimize the bus stops of the bus lines in the multiple pairs of target bus stop intervals. Otherwise, it is considered that at this time, for the pair of target subway station intervals, the number of people taking the subway is less than the number of people taking the bus, the bus stop layout is more reasonable, and the corresponding bus stops are not optimized.
[0050] Further, in one embodiment, the step of determining whether to optimize the bus stops of the target bus line in the plurality of pairs of target bus stops may include:
[0051] (1) Calculate the sum of the second passenger flows between each pair of target bus stops.
[0052] (2) Calculating the passenger flow overlap between the target subway station interval and the multiple pairs of target bus station intervals based on the first passenger flow and the sum value.
[0053] In a specific implementation, the passenger flow overlap is characterized by any of the following physical quantities: a ratio of the first passenger flow to the sum, a rate of change of the sum relative to the first passenger flow, and a difference between the first passenger flow and the sum.
[0054] It should be noted that the larger the ratio of the first passenger flow to the sum, the greater the number of people taking the subway is, and the larger the number of people taking the bus is; correspondingly, the greater the rate of change of the sum relative to the first passenger flow, the greater the number of people taking the subway is, and the greater the number of people taking the bus is; further, the greater the difference between the first passenger flow and the sum, the greater the number of people taking the subway is, and the larger the number of people taking the bus is.
[0055] (3) When the passenger flow overlap is greater than a preset threshold, determine to optimize the bus stops of the target bus line in the interval between the multiple pairs of target bus stops.
[0056] Specifically, the preset threshold is set according to actual needs. In this embodiment, the specific value of the preset threshold is not limited.
[0057] For example, in one implementation, when the passenger flow overlap is represented by the ratio of the first passenger flow to the sum value, the larger the ratio is, the more the number of people taking the subway is greater than the number of people taking the bus. In this case, the preset threshold can be set to 4. In other words, when the ratio of the first passenger flow to the sum value is greater than 4, it means that the number of people taking the subway is much greater than the number of people taking the bus, and the corresponding bus stop needs to be optimized.
[0058] It should be noted that optimizing the bus stops of the target bus line in the plurality of pairs of target bus stops refers to skipping corresponding bus stops or canceling some stops to improve operation efficiency, shorten operation time and improve passenger riding experience.
[0059] The bus line station optimization method provided in this embodiment obtains the first passenger flow of the target subway station interval for each pair of target subway station intervals to be analyzed in the subway line in the target city, and determines the first bus station set associated with the first subway station and the second bus station set associated with the second subway station, and then obtains multiple pairs of target bus station intervals and the second passenger flow of each pair of the target bus station intervals based on each bus station in the first bus station set and each bus station in the second bus station set, so as to determine whether to optimize the bus stations in the multiple pairs of target bus station intervals of the target bus line according to the first passenger flow and the second passenger flow of each pair of the target bus station intervals, wherein the first subway station and the second subway station are the two end stations of the target subway station interval, and the target bus line is a bus line passing through the bus stations in the multiple pairs of target bus station intervals. In this way, it can be determined whether to optimize the corresponding bus station based on the passenger flow of the subway station interval and the passenger flow of the bus station interval, and the bus line can be reasonably planned to improve the traffic efficiency.
[0060] Figure 2 This is a flowchart of the second embodiment of the bus route station optimization method provided by this application. Figure 2 , the method provided in this embodiment includes:
[0061] S201. For each subway station in the target city, search for a bus stop that meets a preset condition, and determine the found bus stop as a bus stop associated with the subway station; wherein the preset condition is that the distance from the subway station is less than or equal to a preset distance.
[0062] Specifically, each subway station refers to any subway station in all subway lines in the target city. In addition, the preset distance is set according to actual needs. In this embodiment, the specific value of the preset distance is not limited. For example, in one embodiment, the preset distance is 500 meters.
[0063] Furthermore, in specific implementation, the Amap API can be used to query all bus stops within a 500-meter radius around each subway station in the target city.
[0064] S202: Establish an association relationship table between subway stations and bus stops according to the bus stops associated with each subway station.
[0065] Specifically, the association table includes multiple records, and each record may include the following information: the name of the subway line, the name of the subway station, the name of the bus station associated with the subway station, the location of the bus station, and the like.
[0066] For example, in one embodiment, the association table between subway stations and bus stops is shown in Table 2:
[0067] Table 2 The relationship between subway stations and bus stops
[0068]
[0069]
[0070] S203: Count the passenger flow between each pair of subway stations in the subway line in the target city based on the subway riding data of the target city.
[0071] Referring to the previous introduction, when passengers take the subway (for example, when passengers use a transportation card to take the subway, or when passengers use a boarding code to take the subway), the subway system will record the subway travel data of passengers entering and exiting the subway station. Each piece of subway travel data may include the name of the entry station, entry time, name of the exit station, exit time, passenger identification information, etc.
[0072] For example, in one embodiment, the subway ride data is shown in Table 3:
[0073] Table 3 Subway Ride Data
[0074]
[0075] In specific implementation, when counting the passenger flow of each pair of subway stations, the passenger flow of the pair of subway stations within a specified time period can be counted. The specified time period is set according to actual needs. In this embodiment, the specified time period is not limited. For example, in one embodiment, the specified time period is the past day.
[0076] S204: Establish a subway passenger flow statistics table according to the passenger flow between each pair of subway stations.
[0077] The subway passenger flow statistics table includes multiple records, each record is used to record the passenger flow of each pair of subway station intervals, and each record may include: entry time, entry station name, exit station name, and passenger flow (number of passengers).
[0078] Combining the above example, for example, the established subway passenger flow statistics table is shown in Table 1.
[0079] S205: Count the passenger flow of each pair of bus stops in the bus routes in the target city based on the bus riding data of the target city.
[0080] Specifically, refer to the previous introduction. When a passenger takes a bus (for example, when a passenger uses a transportation card to take a bus, or when a passenger uses a boarding code to take a bus), the bus system will record the bus riding data of the passengers getting on and off the bus. Each piece of bus riding data may include the name of the boarding station, boarding time, name of the alighting station, alighting time, passenger identification information, etc.
[0081] For example, in one embodiment, the bus riding data is shown in Table 4:
[0082] Table 4 Public transport commuter data
[0083]
[0084] In specific implementation, the passenger flow between each pair of bus stops can be counted, and the passenger flow between the bus stops within a specified time period can be counted. The specified time period is set according to actual needs. In this embodiment, the specified time period is not limited. For example, in one embodiment, the specified time period is the past day.
[0085] S206: Create a bus passenger flow statistics table based on the passenger flow between each pair of bus stops.
[0086] Specifically, the bus passenger flow statistics table includes multiple records, each record is used to record the passenger flow between each pair of bus stops, and each record may include boarding time, boarding stop name, alighting stop name, and passenger flow (number of passengers).
[0087] Combined with the above example, the established bus passenger flow statistics table is shown in Table 5:
[0088] Table 5 Bus passenger flow statistics
[0089] Name of the bus Get off name Second passenger flow Xincheng Village Intersection Xincheng Village Intersection 29 Chishi Town Xincheng Village Intersection 1 Xincheng Primary School Yangkeng Village 8 Yangkeng Village Shuikou Village 1 Xincheng Primary School Xincheng Primary School 9
[0090] S207: Find the first passenger flow of the target subway station section from the subway passenger flow statistics table.
[0091] For example, in one embodiment, the target subway station section is Nankeng-Huaqiang Road. At this time, combined with Table 1, it is determined that the first passenger flow of the target subway station section is 3.
[0092] S208. Search for a first bus stop set associated with a first subway station from the association relationship table, and search for a second bus stop set associated with a second subway station from the association relationship table; wherein the first subway station and the second subway station are two end stops of the target subway station interval.
[0093] In a specific implementation, for the first subway station, all data containing the first subway station are found in the association relationship table, and the bus stops corresponding to these data are the first bus stop set associated with the first subway station.
[0094] Furthermore, for the second subway station, all data containing the second subway station are found in the association relationship table, and the bus stops corresponding to these data are the second bus stop set associated with the second subway station.
[0095] S209: Based on each bus stop in the first bus stop set and each bus stop in the second bus stop set, multiple pairs of target bus stop intervals are obtained, and the passenger flow of each pair of the target bus stop intervals is searched from the bus passenger flow statistics table.
[0096] For example, in one embodiment, the target bus stop interval is from Xincheng Primary School to Yangkeng Village. At this time, in combination with Table 5, the second passenger flow of the target bus stop interval is obtained to be 8.
[0097] S210: Determine whether to optimize the bus stops of a target bus line in the multiple pairs of target bus stops based on the first passenger flow and the second passenger flow of each pair of the target bus stops; wherein the target bus line is a bus line passing through the bus stops in the multiple pairs of the target bus stops.
[0098] Specifically, the specific implementation process and implementation principle of step S210 can refer to the description in the above embodiment, which will not be repeated here.
[0099] The bus route station optimization method provided in this embodiment can determine whether the corresponding bus stops are optimized based on the passenger flow between subway stations and the passenger flow between bus stops, and can reasonably plan bus routes to improve traffic efficiency.
[0100] Corresponding to the above-mentioned embodiment of the bus route station optimization method, the present application also provides an embodiment of the bus route station optimization device.
[0101] The embodiment of the bus route station optimization device provided in this application can be applied to bus route station optimization equipment. The device embodiment can be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by the processor of the bus route station optimization device in which it is located reading the corresponding computer program instructions in the non-volatile memory into the memory and running them. From the hardware level, if Figure 3 As shown, it is a hardware structure diagram of the bus line station optimization device provided by the present application, in which the bus line station optimization device is located. Figure 3In addition to the processor, memory, network interface, and non-volatile memory shown, the bus stop optimization device where the device in the embodiment is located may also include other hardware according to the actual function of the bus line stop optimization device, which will not be described in detail.
[0102] Figure 4 This is a schematic diagram of the structure of the first embodiment of the bus route station optimization device provided by this application. Please refer to Figure 4 The device provided in this embodiment may include: an acquisition module 410, a determination module 420 and a processing module 430; wherein,
[0103] The acquisition module 410 is used to acquire the first passenger flow of each pair of target subway station intervals to be analyzed in the subway line in the target city;
[0104] The determination module 420 is used to determine a first bus stop set associated with a first subway station and a second bus stop set associated with a second subway station; wherein the first subway station and the second subway station are two end stops of the target subway station interval;
[0105] The acquisition module 410 is further configured to obtain a plurality of pairs of target bus stop intervals and a second passenger flow of each pair of the target bus stop intervals based on each bus stop in the first bus stop set and each bus stop in the second bus stop set;
[0106] The processing module 430 is used to determine whether to optimize the bus stops of the target bus line in the multiple pairs of target bus stops according to the first passenger flow and the second passenger flow of each pair of the target bus stops; wherein the target bus line is a bus line passing through the bus stops in the multiple pairs of the target bus stops.
[0107] The device provided in this embodiment can be used to perform Figure 1 The technical method of the method embodiment shown has similar implementation principles and technical effects, which will not be repeated here.
[0108] Optionally, the processing module 430 is specifically used to calculate the sum of the second passenger flow of each pair of target bus stop intervals, and calculate the passenger flow overlap between the target subway station interval and the multiple pairs of target bus stop intervals based on the first passenger flow and the sum, and when the passenger flow overlap is greater than a preset threshold, determine to optimize the bus stops of the target bus line in the multiple pairs of target bus stop intervals.
[0109] Optionally, the passenger flow overlap is characterized by any of the following physical quantities: a ratio of the first passenger flow to the sum, a rate of change of the sum relative to the first passenger flow, and a difference between the first passenger flow and the sum.
[0110] Figure 5 This is a schematic diagram of the structure of the second embodiment of the bus route station optimization device provided by this application. Figure 5 , the device provided in this embodiment further includes a statistical module 440; wherein,
[0111] The statistical module 440 is used to count the passenger flow of each pair of subway stations in the subway line in the target city according to the subway riding data of the target city, and to establish a subway passenger flow statistical table according to the passenger flow of each pair of subway stations;
[0112] The acquisition module 410 is specifically used to find the first passenger flow of the target subway station section from the subway passenger flow statistics table.
[0113] Optionally, the statistical module 440 is further used to count the passenger flow of each pair of bus stops in the bus routes in the target city according to the bus riding data of the target city, and establish bus passenger flow statistics according to the passenger flow of each pair of bus stops;
[0114] The acquisition module 410 is specifically configured to search for the passenger flow of each pair of target bus stop intervals from the bus passenger flow statistics table for each pair of target bus stop intervals.
[0115] Optionally, the statistical module 440 is further configured to search for a bus stop that meets a preset condition for each subway station in the target city, and determine the found bus stop as a bus stop associated with the subway station; wherein the preset condition is that the distance from the subway station is less than or equal to a preset distance;
[0116] The determination module 420 is specifically configured to search the association table for a first bus stop set associated with the first subway station, and search the association table for a second bus stop set associated with the second subway station.
[0117] Please continue to refer to Figure 3 The present application also provides a bus route station optimization device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any one of the methods provided in the first aspect of the present application are implemented.
[0118] Furthermore, the present application also provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the steps of any one of the methods provided in the first aspect of the present application are implemented.
[0119] The implementation process of the functions and effects of each unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.
[0120] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application scheme. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0121] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A bus route station optimization method, characterized in that: The method comprises: For each pair of target subway station intervals to be analyzed in the subway line in the target city, obtaining a first passenger flow of the target subway station intervals; Determine a first bus stop set associated with a first subway station, and a second bus stop set associated with a second subway station; wherein the first subway station and the second subway station are two end stops of the target subway station interval; Based on each bus stop in the first bus stop set and each bus stop in the second bus stop set, a plurality of pairs of target bus stop intervals and a second passenger flow of each pair of the target bus stop intervals are obtained; According to the first passenger flow and the second passenger flow of each pair of the target bus stop intervals, it is determined whether to optimize the bus stops of the target bus line in the multiple pairs of target bus stop intervals; wherein the target bus line is a bus line passing through the bus stops in the multiple pairs of target bus stop intervals.
2. The method according to claim 1, characterized in that Determining whether to optimize bus stops of a target bus line in the plurality of pairs of target bus stops according to the first passenger flow and the second passenger flow of each pair of target bus stops comprises: Calculating the sum of the second passenger flows between each pair of target bus stops; Calculating the passenger flow overlap between the target subway station interval and the multiple pairs of target bus station intervals according to the first passenger flow and the sum value; When the passenger flow overlap is greater than a preset threshold, it is determined to optimize the bus stops of the target bus line in the plurality of pairs of target bus stops.
3. The method according to claim 2, characterized in that The passenger flow overlap is characterized by any of the following physical quantities: a ratio of the first passenger flow to the sum, a rate of change of the sum relative to the first passenger flow, and a difference between the first passenger flow and the sum.
4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: According to the subway riding data of the target city, the passenger flow of each pair of subway stations in the subway line in the target city is counted; According to the passenger flow between each pair of subway stations, a subway passenger flow statistics table is established; The obtaining of the first passenger flow of the target subway station section includes: The first passenger flow of the target subway station section is searched from the subway passenger flow statistics table.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: According to the bus riding data of the target city, counting the passenger flow of each pair of bus stop intervals in the bus routes in the target city; Establishing a bus passenger flow statistics table according to the passenger flow between each pair of bus stops; The obtaining of the second passenger flow of each pair of target bus stop intervals in a plurality of pairs of target bus stop intervals formed by each bus stop in the first bus stop set and each bus stop in the second bus stop set comprises: For each pair of target bus stop intervals, the passenger flow of each pair of target bus stop intervals is searched from the bus passenger flow statistics table.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: For each subway station in the target city, searching for a bus stop that meets a preset condition, and determining the bus stop found as a bus stop associated with the subway station; wherein the preset condition is that the distance from the subway station is less than or equal to a preset distance; According to the bus stops associated with each subway station, establish the association relationship table between subway stations and bus stops; The determining of a first bus stop set associated with the first subway station and a second bus stop set associated with the second subway station includes: A first bus stop set associated with the first subway station is searched from the association relationship table, and a second bus stop set associated with the second subway station is searched from the association relationship table.
7. A bus route station optimization device, characterized in that: The device comprises: an acquisition module, a determination module and a processing module, wherein: The acquisition module is used to acquire the first passenger flow of each pair of target subway station intervals to be analyzed in the subway line in the target city; The determination module is used to determine a first bus stop set associated with a first subway station, and a second bus stop set associated with a second subway station; wherein the first subway station and the second subway station are two end stops of the target subway station interval; The acquisition module is further configured to obtain a plurality of pairs of target bus stop intervals and a second passenger flow of each pair of the target bus stop intervals based on each bus stop in the first bus stop set and each bus stop in the second bus stop set; The processing module is used to determine whether to optimize the bus stops of the target bus line in the multiple pairs of target bus stops according to the first passenger flow and the second passenger flow of each pair of the target bus stops; wherein the target bus line is a bus line passing through the bus stops in the multiple pairs of the target bus stops.
8. The device according to claim 7, characterized in that The processing module is specifically used to calculate the sum of the second passenger flows of each pair of target bus stop intervals, and calculate the passenger flow overlap between the target subway station interval and the multiple pairs of target bus stop intervals based on the first passenger flow and the sum, and when the passenger flow overlap is greater than a preset threshold, determine to optimize the bus stops of the target bus line in the multiple pairs of target bus stop intervals.
9. A bus route station optimization device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.