Method, device, equipment and storage medium for calculating passenger data of expressway
Through multi-source data processing and area splitting methods, the flow and driving volume of highway passenger vehicles are accurately calculated, which solves the problem of low computing efficiency in the existing technology and achieves more efficient data support and decision-making basis.
Patent Information
- Application Number
- CN202510163038.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-14
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2045-02-14
AI Technical Summary
In the prior art, highway passenger data calculation efficiency is low, and a single data source is prone to missing or errors, resulting in insufficient data integrity and accuracy, affecting traffic conditions assessment.
By obtaining multi-source data (highway traffic data, sign identification data and toll station ground sense coil data), using K nearest neighbor algorithm and mileage topology table, data supplement and area split, and accurately calculate passenger bus flow and driving volume.
It improves the accuracy and reliability of passenger data, improves computing efficiency, saves human and material resources, and enriches traffic management decision support.
Smart Images

Figure CN119649616B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method, device, equipment and storage medium for calculating passenger transport data of expressways. Background Art
[0002] In the current field of traffic flow statistics and analysis, the calculation of key indicators such as expressway passenger flow and passenger vehicle travel volume is of great significance for evaluating road use efficiency, optimizing traffic management strategies, and formulating relevant traffic policies. The calculation of these statistical indicators usually relies on the processing and analysis of expressway exit, entrance, and gantry traffic data.
[0003] In actual operation, especially during the period of free passage for passenger cars, due to special circumstances such as lifting barriers to release, passenger car data based on a single data source is prone to missing or errors. This missing data not only affects the integrity of the data, but may also further lead to deviations in statistical results, thereby affecting the comprehensive and accurate assessment of highway traffic conditions. By associating all multi-source data for complex calculations, the amount of data is extremely large, which not only faces a huge amount of calculations, but may also lead to low calculation efficiency and even affect the stability and reliability of the data processing system. Summary of the invention
[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides a method, device, equipment and storage medium for calculating passenger data of highways, which effectively solve the problem of low efficiency in calculating passenger data of highways in the prior art.
[0005] In a first aspect, the present invention provides a method for calculating passenger data of a highway, wherein the passenger data includes passenger vehicle flow and passenger vehicle travel volume, and the method comprises:
[0006] Acquire highway data, the highway data at least including highway traffic data, highway sign recognition data and highway toll station ground induction coil data;
[0007] Calculate based on the highway data to obtain the national highway passenger traffic volume;
[0008] Creating a mileage topology table based on the highway traffic data;
[0009] Calculate the national highway passenger vehicle travel volume based on the highway data and the mileage topology table;
[0010] Performing regional segmentation according to the national highway passenger traffic volume to obtain the passenger traffic volume of the target area;
[0011] The passenger vehicle travel volume of the national expressways is divided into regions to obtain the passenger vehicle travel volume of the target region.
[0012] Furthermore, the calculation based on the highway data to obtain the national highway passenger traffic volume includes:
[0013] Calculate the passenger vehicle flow at the highway exit according to the highway traffic data;
[0014] Screening the highway license plate recognition data to obtain passenger car license plate recognition data;
[0015] The K nearest neighbor algorithm is used to compare the highway traffic data and the bus license plate recognition data, and the bus license plate recognition data with a similarity lower than a set threshold is extracted as the target license plate recognition data;
[0016] Associating the target plate recognition data with the highway traffic data to obtain a flow supplement number;
[0017] Screening the ground sensing coil data of the highway toll station to obtain target ground sensing coil data;
[0018] The national highway passenger traffic volume is obtained according to the highway exit passenger traffic volume, the traffic supplement number and the target ground sensing coil data.
[0019] Furthermore, the creating a mileage topology table according to the highway traffic data includes:
[0020] Calculate the mileage between toll stations according to the expressway traffic data to obtain first mileage data;
[0021] Calculate the mileage between the toll station and the regional gantry according to the highway traffic data to obtain second mileage data;
[0022] Calculate the mileage between the regional gantries according to the highway traffic data to obtain third mileage data;
[0023] The mileage topology table is obtained according to the first mileage data, the second mileage data and the third mileage data.
[0024] Furthermore, the calculation based on the highway data and the mileage topology table to obtain the national highway passenger vehicle travel volume includes:
[0025] Extracting the total mileage of passenger car charges according to the highway traffic data;
[0026] The mileage topology table is used to supplement the total mileage of the bus billing to obtain the bus mileage;
[0027] Determining the passenger car mileage supplement amount according to the highway plate recognition data;
[0028] The national highway passenger vehicle travel volume is obtained based on the highway toll station ground sensor coil data, the passenger vehicle mileage and the passenger vehicle mileage supplement.
[0029] Furthermore, the step of performing regional segmentation according to the national highway passenger traffic volume to obtain the passenger traffic volume of the target area includes:
[0030] Determine the initial passenger vehicle flow number passing through each area according to the highway traffic data;
[0031] Supplementing the initial passenger vehicle flow number according to the highway sign recognition data to obtain the passenger vehicle flow number in each area;
[0032] Determine the passenger vehicle flow ratio of each area according to the passenger vehicle flow number of each area;
[0033] The passenger traffic volume of the national expressway is split by utilizing the passenger traffic volume ratio of the target area to obtain the passenger traffic volume of the target area.
[0034] Furthermore, the step of performing regional segmentation according to the national expressway passenger vehicle travel volume to obtain the passenger vehicle travel volume of the target area includes:
[0035] Obtaining the total mileage of passenger vehicles in each area according to the highway traffic data;
[0036] Obtaining the accumulated transaction mileage of regional gantry buses in each region according to the highway traffic data;
[0037] Obtain the regional bus transit mileage of each region based on the accumulated transaction mileage of the gantry buses in the region;
[0038] Determine the regional bus mileage supplement amount for each area according to the highway sign recognition data;
[0039] Determine the driving volume ratio of each area according to the total billing mileage of the bus, the accumulated transaction mileage of the regional gantry bus, the transit mileage of the regional bus and the supplementary mileage of the regional bus;
[0040] The passenger vehicle travel volume on the national highways is split using the travel volume ratio of the target area to obtain the passenger vehicle travel volume in the target area.
[0041] Furthermore, the step of performing regional segmentation according to the national highway passenger traffic volume to obtain the passenger traffic volume of the target area includes:
[0042] The passenger traffic volume of national highways is split according to the travel volume ratio of the target area to obtain the passenger traffic volume of the target area.
[0043] In a second aspect, the present invention provides a device for calculating passenger data of a highway, wherein the passenger data includes passenger vehicle flow and passenger vehicle travel volume, and the device comprises:
[0044] A data acquisition module, used to acquire highway data, wherein the highway data at least includes highway traffic data, highway sign recognition data and highway toll station ground sensor coil data;
[0045] A first calculation module is used to calculate based on the highway data to obtain the national highway passenger vehicle flow;
[0046] A data creation module, used to create a mileage topology table according to the highway traffic data;
[0047] A second calculation module is used to calculate according to the highway data and the mileage topology table to obtain the national highway passenger vehicle travel volume;
[0048] A third calculation module is used to perform regional division according to the national highway passenger traffic flow to obtain the passenger traffic flow of the target area;
[0049] The fourth calculation module is used to divide the region according to the passenger vehicle travel volume on the national expressways to obtain the passenger vehicle travel volume in the target area.
[0050] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for calculating passenger data of highways as described in the first aspect of the present invention.
[0051] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method for calculating passenger data of a highway as described in the first aspect of the present invention.
[0052] The method, device, equipment and storage medium for calculating passenger data of highways provided by the present invention can more accurately calculate the passenger flow and passenger travel volume data by processing data such as highway traffic data, thereby improving the accuracy and reliability of the data. By using the regional splitting method, large-scale data association fitting is avoided, making the calculation process more efficient, and at the same time enriching the indicator system related to passenger vehicles, providing more detailed data support for decision-making. By optimizing the data processing and splitting method, human and material resources are saved, work efficiency is improved, and good economic efficiency is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0054] Figure 1 It is a first schematic diagram of the process of the method for calculating passenger data of expressways provided by an embodiment of the present invention;
[0055] Figure 2 It is a second schematic diagram of the process of the method for calculating passenger transport data of expressways provided by an embodiment of the present invention;
[0056] Figure 3 It is a third schematic diagram of the process of the method for calculating passenger transport data of expressways provided by an embodiment of the present invention;
[0057] Figure 4 It is a fourth schematic diagram of the process of the method for calculating passenger transport data of expressways provided by an embodiment of the present invention;
[0058] Figure 5 is a fifth schematic diagram of a method for calculating passenger transport data of a highway provided by an embodiment of the present invention;
[0059] Figure 6 is a sixth schematic diagram of a method for calculating passenger transport data of a highway provided by an embodiment of the present invention;
[0060] Figure 7 It is a schematic diagram of the structure of a passenger transport data calculation device for a highway provided by an embodiment of the present invention;
[0061] Figure 8 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention.
[0062] Description of main component symbols:
[0063] 700. A device for calculating passenger data of a highway; 710. A data acquisition module; 720. A first calculation module; 730. A data creation module; 740. A second calculation module; 750. A third calculation module; 760. A fourth calculation module; 800. An electronic device; 810. A processor; 820. A communication interface; 830. A memory; 840. A communication bus. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be further clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. It should be noted that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0065] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0066] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used in this specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0067] The calculation of key indicators such as passenger traffic and passenger travel volume on highways is of great significance for evaluating road use efficiency, optimizing traffic management strategies, and formulating relevant traffic policies. In actual operation, especially during the period of free passage for small passenger cars, due to special circumstances such as lifting barriers to release, passenger car data based on a single data source is prone to missing or errors. This missing data not only affects the integrity of the data, but may also further lead to deviations in statistical results, thereby affecting the comprehensive and accurate assessment of highway traffic conditions. By correlating the full amount of multi-source data for complex calculations, the amount of data is extremely large, which not only faces a huge amount of calculations, but may also lead to low calculation efficiency and even affect the stability and reliability of the data processing system.
[0068] Example 1
[0069] The embodiment of the present invention provides a method for calculating passenger data of a highway, which effectively solves the problem of low efficiency in calculating passenger data of a highway in the prior art. Figure 1 FIG. 1 is a first schematic diagram of a method for calculating passenger transport data of a highway provided by an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0070] S100: Acquire highway data, where the highway data at least includes highway traffic data, highway sign recognition data, and highway toll station ground sensing coil data.
[0071] In an embodiment of the present invention, the highway traffic data includes highway exit traffic data, highway entrance traffic data and highway gantry traffic data. The highway exit traffic data mainly records the relevant information when the vehicle leaves the highway, and the highway exit traffic data includes but is not limited to data such as exit number, traffic time, vehicle type, license plate number and payment information. The highway entrance traffic data records the relevant information when the vehicle enters the highway, and the highway entrance traffic data includes but is not limited to data such as entrance number, traffic time, vehicle speed, vehicle type and license plate number. The highway gantry traffic data is collected by a gantry-type device set on the highway. The highway gantry traffic data may include the middle gantry traffic data of the highway section, the entry-province gantry traffic data and the exit-province gantry traffic data, and the highway gantry traffic data includes but is not limited to data such as gantry number, vehicle model, license plate number and vehicle speed.
[0072] The highway license plate recognition data is obtained through the license plate recognition system on the highway. The license plate recognition system can be installed on the gantry. The highway license plate recognition data includes but is not limited to the gantry number, license plate number, vehicle type, and photo shooting time. The highway toll station ground sensor coil data is obtained through the ground sensor coil installed at the highway toll station. The ground sensor coil can determine the presence, direction, speed and other information of the vehicle by measuring the electromagnetic signals of the vehicle entering and exiting.
[0073] S200, calculate according to the highway data to obtain the national highway passenger traffic volume.
[0074] Figure 2 FIG. 2 is a second schematic diagram of a method for calculating passenger data of a highway provided by an embodiment of the present invention. Figure 2 As shown in Figure 1, the calculation of national highway passenger traffic volume includes the following steps:
[0075] S210. Calculate the passenger vehicle flow at the highway exit based on the highway traffic data.
[0076] The national highway passenger car data is extracted based on the vehicle type code in the highway exit traffic data. The vehicle type code 1-4 in the highway exit traffic data represents a passenger car. The number of access identification IDs in the national highway passenger car data is calculated. Since one trip corresponds to one access identification ID, the number of access identification IDs can be used to determine the passenger car flow at the highway exit.
[0077] S220: Screen the highway license plate recognition data to obtain passenger car license plate recognition data.
[0078] Filter the highway license plate recognition data of the N gantries closest to each exit toll station during the statistical period, extract the license plate number, gantry number, photo taking time and vehicle type, and then filter out the highway license plate recognition data of passenger cars according to the vehicle type to obtain the passenger car license plate recognition data.
[0079] S230, using a K-nearest neighbor algorithm to compare the highway traffic data and the bus license plate recognition data, and extracting the bus license plate recognition data with a similarity lower than a set threshold as the target license plate recognition data.
[0080] In an embodiment of the present invention, the license plate number, exit time, entry time and vehicle model of the highway exit traffic data are extracted, and a highway exit traffic data feature vector is constructed for each record, including the license plate number and vehicle type, wherein the license plate number can be converted into a certain numerical representation, such as a hash value or a string similarity score, and the vehicle type can be converted into a numerical code. A passenger license plate recognition data feature vector is also constructed for the passenger car license plate recognition data, and a distance measurement method is used to calculate the distance between the highway exit traffic data feature vector and the passenger car license plate recognition data feature vector, and the distance measurement method includes but is not limited to Euclidean distance, Manhattan distance and cosine similarity.
[0081] For each highway exit traffic data feature vector, select the K passenger license plate recognition data feature vectors with the smallest distance as the nearest neighbors, and check whether the passenger license plate recognition data in the K nearest neighbors is consistent with the highway exit traffic data in license plate number and vehicle type, and whether the photo taking time is between or close to the entrance time and exit time. If a match is found, further verification can be performed, such as checking whether the gantry number is in a logical order, that is, the gantry that the vehicle should pass through in sequence from the entrance to the exit. Output the matching similarity based on the comparison result, and extract the passenger license plate recognition data with a similarity lower than the set threshold as the target license plate recognition data.
[0082] S240: Associating the target plate recognition data with the highway traffic data to obtain flow supplement data.
[0083] In the embodiment of the present invention, the gantry number, photographing time, license plate number and vehicle type of the target license plate recognition data can be associated with the gantry number, passage time, license plate number and vehicle type of the highway gantry traffic data. The associated data is used as the flow supplement number by calculating the number of traffic identification IDs of the highway gantry. For the unassociated passenger car license plate recognition data, if the time interval between photographing the same license plate exceeds the set time, a trip is added, thereby determining the flow supplement number.
[0084] S250: Screen the ground sensing coil data of the highway toll station to obtain target ground sensing coil data.
[0085] Optionally, the highway toll station ground sensor coil data is deduplicated according to information such as lanes, passing time and toll stations, and then the highway toll station ground sensor coil data is associated with the highway exit traffic data to filter out the highway toll station ground sensor coil data that is not recorded in the highway exit traffic data to obtain the target ground sensor coil data.
[0086] S260, obtaining the national highway passenger traffic flow according to the highway exit passenger traffic flow, traffic supplement number and target ground sensor coil data.
[0087] The passenger flow at the highway exit and the target ground sensor coil data are combined to obtain the passenger flow sum value. If the passenger flow sum value is less than the sum of the passenger flow at the highway exit and the flow supplement number, the sum of the passenger flow at the highway exit and the flow supplement number is used as the national highway passenger flow. If the passenger flow sum value is greater than the sum of the passenger flow at the highway exit and the flow supplement number, the passenger flow sum value is used as the national highway passenger flow.
[0088] S300: Create a mileage topology table based on highway traffic data.
[0089] Figure 3 FIG. 3 is a third schematic diagram of a method for calculating passenger transportation data of a highway provided by an embodiment of the present invention. Figure 3 As shown in the figure, the creation of the mileage topology table specifically includes the following steps:
[0090] S310: Calculate the mileage between toll stations according to the highway traffic data to obtain first mileage data.
[0091] Extract the fields of entrance toll station, exit toll station and total billing mileage from the highway exit traffic data within a period of time, obtain the total billing mileage between the entrance toll station and the exit toll station within a period of time and the number of times the total billing mileage appears, and take the total billing mileage with the largest number of times as the first mileage data between the entrance toll station and the exit toll station.
[0092] S320: Calculate the mileage between the toll station and the regional gantry according to the highway traffic data to obtain second mileage data.
[0093] Optionally, the region can be divided by province and prefecture-level city. In the embodiment of the present invention, the province is used as the region. The highway exit traffic data and the provincial gantry traffic data of each province within a period of time can be extracted. The fields such as province, license plate number and traffic identification ID can be concatenated to obtain the exit toll station and the total mileage of the entire section in the highway exit traffic data, and the provincial gantry and transaction cumulative mileage in the provincial gantry traffic data. The mileage between the exit toll station and the provincial gantry is the total mileage of the entire section minus the transaction cumulative mileage, and the value with the most times is used as the second mileage data between the provincial gantry and the exit toll station.
[0094] To extract the highway entrance and exit gantry data of each province within a period of time, you can concatenate fields such as province, license plate number, and pass ID to obtain the entrance toll station in the highway entrance data, and the exit gantry and transaction cumulative mileage in the exit gantry data. The mileage between the entrance toll station and the exit gantry is the accumulated mileage of the exit gantry transaction, and the value with the most times is taken as the second mileage data between the exit gantry and the entrance toll station.
[0095] S330. Calculate the mileage between regional gantries according to the highway traffic data to obtain third mileage data.
[0096] Extract the entry and exit gantry traffic data of each province's highways within a period of time, and concatenate them according to fields such as province, license plate number, and pass ID to obtain the cumulative mileage of the entry gantry and the entry gantry in the entry gantry traffic data, and the cumulative mileage of the exit gantry and the exit gantry in the exit gantry traffic data. The mileage between the entry gantry and the exit gantry is the cumulative mileage of the exit gantry transaction minus the cumulative mileage of the entry gantry transaction, and extract the value with the largest number of times as the third mileage data between the entry gantry and the exit gantry.
[0097] If the city is used as the region, it is necessary to determine the inter-city gantries. By combining the administrative division data of each city and the highway network data, the intersections of each city and each highway are obtained. The intersections are the inter-city locations. Find the upgoing gantries and downgoing gantries closest to the inter-city locations, obtain the outgoing gantries and the ingoing gantries, and calculate the supplementary distance between the inter-city locations and the upgoing gantries and the downgoing gantries. Add the supplementary distance to the second mileage data and the third mileage data.
[0098] S340. Obtain a mileage topology table according to the first mileage data, the second mileage data, and the third mileage data.
[0099] In the embodiment of the present invention, the first mileage data, the second mileage data and the third mileage data are integrated to obtain a mileage topology table.
[0100] S400: Calculate the national highway passenger vehicle travel volume based on the highway data and the mileage topology table.
[0101] Figure 4 FIG. 3 is a third schematic diagram of a method for calculating passenger transportation data of a highway provided by an embodiment of the present invention. Figure 4 As shown in Figure 2, the calculation of national highway passenger vehicle travel volume specifically includes the following steps:
[0102] S410, extracting the total mileage of passenger vehicle billing according to the highway traffic data.
[0103] According to the vehicle type code in the highway exit traffic data, the national highway passenger car data is extracted to obtain the total mileage of the passenger car billing.
[0104] S420. Supplement the total bus billing mileage using the mileage topology table to obtain the bus mileage.
[0105] If the total mileage of the bus billing is abnormal, the mileage starting point and mileage end point corresponding to the total mileage of the bus billing are obtained, and the mileage data in the mileage topology table are supplemented to obtain the bus mileage.
[0106] S430. Determine the passenger bus mileage supplement amount based on the highway plate recognition data.
[0107] In the embodiment of the present invention, the mileage is supplemented by using the highway sign recognition data. If the highway sign recognition data can be associated with the highway gantry data, the track is determined according to the traffic identification ID and the gantry position, and the charging mileage of each gantry is added to obtain the passenger mileage supplement amount. If the track cannot be determined, the average mileage of the passenger mileage is supplemented to determine the passenger mileage supplement amount. If the highway gantry data cannot be associated, the mileage is determined according to the gantry passed by each trip of the highway sign recognition data as the passenger mileage supplement amount.
[0108] S440. Obtain the national highway passenger vehicle travel volume based on the highway toll station ground sensor coil data, passenger vehicle mileage and passenger vehicle mileage supplement.
[0109] If the national highway passenger vehicle flow is not supplemented by the highway toll station ground sensor coil data, the calculation formula for the national highway passenger vehicle travel volume is as follows:
[0110]
[0111] In the above formula, S represents the national highway passenger vehicle travel volume, S 1 represents the mileage of the bus, S 2 represents the passenger car mileage supplement.
[0112] If the national highway passenger vehicle flow is supplemented by the highway toll station ground sensor coil data, the calculation formula for the national highway passenger vehicle travel volume is as follows:
[0113]
[0114] In the above formula, S represents the national highway passenger vehicle travel volume, S 1 represents the mileage of the bus, S 2 represents the passenger car mileage supplement amount, l 1 represents the sum of the passenger traffic flow at the highway exit and the target ground sensor coil data, l 2 represents the sum of the expressway exit passenger flow and flow supplement number.
[0115] The product of the sum of the passenger car travel volume and the passenger car mileage supplementary volume and the predetermined ratio value is taken as the national highway passenger car travel volume. The predetermined ratio value is the ratio of the highway toll station ground sensor coil data supplementary value to the highway license plate recognition data supplementary value.
[0116] S500: Perform regional segmentation based on the national highway passenger traffic volume to obtain the passenger traffic volume of the target area.
[0117] Figure 5 FIG. 5 is a fifth schematic diagram of a method for calculating passenger data of a highway provided by an embodiment of the present invention. Figure 5 As shown in FIG. 1 , the calculation of passenger vehicle flow in the target area specifically includes the following steps:
[0118] S510: Determine the initial passenger vehicle flow number passing through each area according to the highway traffic data.
[0119] In the embodiment of the present invention, provinces are used as regions, and highway traffic data is used to calculate the number of passenger vehicle traffic identification IDs passing through each province, thereby determining the initial passenger vehicle flow number passing through each province.
[0120] S520. Supplement the initial passenger vehicle flow number according to the highway sign recognition data to obtain the passenger vehicle flow number in each area.
[0121] The target license plate recognition data that needs to be supplemented is obtained using the highway license plate recognition data. The number of trips is divided according to the shooting time in the target license plate recognition data. If the time between two shooting data of the same license plate is greater than the set time, a trip is added. According to the gantry position in each trip, the passenger flow supplement number of the target license plate recognition data passing through each province is calculated, and the initial passenger flow number and the passenger flow supplement number are added to obtain the passenger flow number of each province.
[0122] S530. Determine the passenger vehicle flow ratio of each area according to the passenger vehicle flow number of each area.
[0123] Optionally, the ratio of the passenger traffic volume in each province to the national highway passenger traffic volume is used as the passenger traffic ratio of each province.
[0124] As a further implementation method of the embodiment of the present invention, the national highway passenger flow can also be regionally split according to the number of provinces or cities passed through. Specifically, the number N of provinces or cities passed through by vehicles is calculated based on highway traffic data, and the passenger flow number of all provinces or cities passed through is recorded as 1 / N. The target sign recognition data is obtained based on the highway sign recognition data. If the target sign recognition data can be associated with the highway gantry traffic data, the passenger flow number is calculated based on the provinces passed by the gantry. If the highway gantry traffic data cannot be associated, the itinerary of the target sign recognition data is split according to the predetermined time, and then the passenger flow number of each province is calculated according to the provinces passed through by each itinerary. The passenger flow ratio of each province can be obtained based on the ratio of the passenger flow number of each province to the national highway passenger flow.
[0125] As a further implementation of the present invention, the national highway passenger traffic can also be divided into regions according to the number of intra-provincial passenger traffic, in-province passenger traffic, out-province passenger traffic and transit passenger traffic in each province. A , the number of passenger vehicles entering the province B , passenger vehicle traffic out of the province C and the number of transit passenger vehicles D , then the passenger traffic volume in each province L The calculation formula is as follows:
[0126]
[0127] In the above formula, m 1 represents the proportion of passenger cars flowing within the province, m 2 represents the flow rate of passenger cars entering the province. m 3 represents the flow rate of passenger cars out of the province. m 4 represents the flow rate of transit buses. m 1. m 2. m 3 and m The value of 4 can be set according to the actual impact of intra-provincial buses, inbound buses, outbound buses and transit buses on the target province.
[0128] The passenger traffic ratio of each province can be obtained based on the ratio of the passenger traffic volume in each province to the national highway passenger traffic volume. Similarly, the passenger traffic ratio of prefecture-level cities can be obtained based on the above content.
[0129] S540. Split the national highway passenger traffic by the passenger traffic ratio of the target area to obtain the passenger traffic of the target area.
[0130] In an embodiment of the present invention, if the passenger traffic volume of a target province needs to be calculated, the passenger traffic volume of the target province can be obtained by multiplying the passenger traffic volume ratio of the province by the national highway passenger traffic volume.
[0131] S600: Perform regional segmentation according to the national expressway passenger vehicle travel volume to obtain the passenger vehicle travel volume of the target area.
[0132] Figure 6 6 is a sixth schematic diagram of a method for calculating passenger transport data of a highway provided by an embodiment of the present invention. Figure 6 As shown in FIG. 1 , the calculation of the passenger vehicle driving volume in the target area specifically includes the following steps:
[0133] S610. Obtain the total mileage of passenger vehicles billed in each area according to the highway traffic data.
[0134] In the embodiment of the present invention, the region can be a province or a prefecture-level city. Taking a province as an example, the exit toll station information and the entrance toll station information are extracted from the highway exit traffic data of each province. If the exit toll station and the entrance toll station are in the same province, the total billing mileage related to the bus in the highway exit traffic data is extracted to obtain the total billing mileage of the bus. If the total billing mileage is missing, it is supplemented using the mileage topology table.
[0135] S620. Obtain the accumulated transaction mileage of regional gantry buses in each area based on the highway traffic data.
[0136] If the exit toll station and the entrance toll station are in different provinces, the entry gantry of the exit province and the exit gantry of the entry province are associated. The mileage from the entry gantry to the exit toll station is the cumulative transaction mileage of passenger cars at the entry gantry in the exit province, and the mileage from the entrance toll station to the exit gantry is the cumulative transaction mileage of passenger cars at the exit province gantry in the entry province. The mileage from the entry gantry to the exit toll station is the total billing mileage in the highway exit traffic data minus the cumulative transaction mileage of the entry gantry, and the mileage from the entrance toll station to the exit gantry is the cumulative transaction mileage of the exit gantry. If the mileage is missing, it can be obtained from the mileage topology table. For data that cannot be associated with the provincial boundary gantry, the latest gantry in the entry province or the earliest gantry in the exit province is associated. If it is associated, the nearest provincial boundary gantry is found to calculate the cumulative transaction mileage of regional gantry passenger cars.
[0137] S630. Obtain the transit mileage of regional buses in each region based on the accumulated transaction mileage of regional gantry buses.
[0138] Extract the outgoing and incoming gantries of each province and associate them. If they are associated, the value of the regional bus transit mileage is the cumulative transaction mileage of the outgoing gantries minus the cumulative transaction mileage of the incoming gantries. If missing, use the mileage topology table to supplement the regional bus transit mileage. If not associated, associate the latest gantries in the entry province or the earliest gantries in the exit province. If they are associated, find the nearest provincial boundary gantries to calculate the regional bus transit mileage.
[0139] S640. Determine the regional passenger bus mileage supplement amount for each area based on the highway plate recognition data.
[0140] The target sign recognition data is obtained based on the highway sign recognition data, and the trajectory in the province is determined by each travel gantry in the target sign recognition data, thereby determining the regional bus mileage supplement. If the trajectory cannot be determined, the regional bus mileage supplement is obtained by supplementing it based on the average mileage of each province.
[0141] S650, determine the driving volume ratio of each area according to the total billing mileage of the buses, the accumulated transaction mileage of the regional gantry buses, the transit mileage of the regional buses and the supplementary mileage of the regional buses.
[0142] The total billed mileage of buses in each province, the accumulated transaction mileage of regional gantry buses, the regional bus transit mileage and the regional bus mileage supplement are added together to obtain the mileage sum value, and the ratio of the mileage sum value of each province to the national highway passenger bus driving volume is used as the driving volume ratio of each province.
[0143] S660. Split the national expressway passenger vehicle travel volume by using the travel volume ratio of the target area to obtain the passenger vehicle travel volume of the target area.
[0144] In an embodiment of the present invention, if it is necessary to calculate the passenger vehicle travel volume of a target province, the passenger vehicle travel volume of the target province can be obtained by multiplying the travel volume ratio of the province by the national highway passenger vehicle travel volume.
[0145] As a preferred implementation mode of the embodiment of the present invention, the national highway passenger flow can also be regionally divided according to the passenger volume of all routes in each province or city, that is, the driving volume ratio of each province is used as the passenger flow ratio of each province, and the driving volume ratio of the target province is multiplied by the national highway passenger flow to obtain the passenger flow of the target province.
[0146] The method for calculating passenger data of highways provided by the embodiment of the present invention can more accurately calculate the passenger flow and passenger travel volume data by processing the data such as highway traffic data, thereby improving the accuracy and reliability of the data. The regional splitting method avoids the large-scale data association fitting, making the calculation process more efficient, and at the same time enriches the passenger vehicle-related indicator system, providing more detailed data support for decision-making.
[0147] Example 2
[0148] Based on the same technical concept as the above method embodiment 1, an embodiment of the present invention provides a passenger data calculation device for a highway. Figure 7 FIG. 1 is a schematic diagram of the structure of a passenger transportation data calculation device for a highway provided by an embodiment of the present invention. Figure 7 As shown, the expressway passenger data calculation device 700 includes:
[0149] The data acquisition module 710 is used to acquire highway data, which includes at least highway traffic data, highway sign recognition data, and highway toll station ground sensor coil data;
[0150] The first calculation module 720 is used to calculate based on the highway data to obtain the national highway passenger vehicle flow;
[0151] A data creation module 730 is used to create a mileage topology table according to highway traffic data;
[0152] The second calculation module 740 is used to calculate according to the highway data and the mileage topology table to obtain the national highway passenger vehicle travel volume;
[0153] The third calculation module 750 performs regional division according to the national highway passenger traffic flow to obtain the passenger traffic flow of the target area;
[0154] The fourth calculation module 760 is used to perform regional segmentation according to the passenger vehicle travel volume on national highways to obtain the passenger vehicle travel volume in the target area.
[0155] The highway passenger data calculation device provided by the embodiment of the present invention can perform calculations based on a big data platform without using additional technical equipment, thus saving the cost of equipment installation. At the same time, by optimizing the data processing and splitting method, it saves human and material resources, improves work efficiency, and has good economic benefits.
[0156] It can be understood that the implementation method of the method for calculating passenger data of highways described in the above-mentioned embodiment 1 is also applicable to this embodiment and can achieve the same technical effect, so it will not be repeated here.
[0157] Example 3
[0158] Based on the same concept, an embodiment of the present invention further provides an electronic device, Figure 8 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Figure 8 As shown, the electronic device 800 may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute the steps of the method for calculating the passenger data of the highway as described in the above embodiments. For example, it includes:
[0159] S100, obtaining highway data, where the highway data at least includes highway traffic data, highway sign recognition data, and highway toll station ground sensor coil data;
[0160] S200, calculating based on highway data to obtain national highway passenger vehicle flow;
[0161] S300, creating a mileage topology table according to the highway traffic data;
[0162] S400, calculating according to the expressway data and the mileage topology table to obtain the national expressway passenger vehicle travel volume;
[0163] S500, performing regional segmentation according to the national highway passenger traffic flow to obtain the passenger traffic flow of the target area;
[0164] S600: Perform regional segmentation according to the national expressway passenger vehicle travel volume to obtain the passenger vehicle travel volume of the target area.
[0165] The processor 810 may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.
[0166] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0167] The memory 830 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the processor, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0168] Example 4
[0169] Based on the same concept, an embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program, and the computer program includes at least one code segment, which can be executed by a main control device to control the main control device to implement the steps of the method for calculating the passenger data of the highway as described in the above embodiments. For example, it includes:
[0170] S100, obtaining highway data, where the highway data at least includes highway traffic data, highway sign recognition data, and highway toll station ground sensor coil data;
[0171] S200, calculating based on highway data to obtain national highway passenger vehicle flow;
[0172] S300, creating a mileage topology table according to the highway traffic data;
[0173] S400, calculating according to the expressway data and the mileage topology table to obtain the national expressway passenger vehicle travel volume;
[0174] S500, performing regional segmentation according to the national highway passenger traffic flow to obtain the passenger traffic flow of the target area;
[0175] S600: Perform regional segmentation according to the national expressway passenger vehicle travel volume to obtain the passenger vehicle travel volume of the target area.
[0176] Based on the same technical concept, an embodiment of the present invention further provides a computer program, which is used to implement the above method embodiment when executed by a main control device.
[0177] The computer program may be stored in whole or in part on a computer-readable storage medium packaged with the processor, or may be stored in whole or in part on a memory not packaged with the processor.
[0178] Based on the same technical concept, an embodiment of the present invention further provides a processor, which is used to implement the above method embodiment. The above processor can be a chip.
[0179] In summary, the method, device, equipment and storage medium for calculating passenger data of highways provided by the present invention can more accurately calculate the passenger flow and passenger travel volume data by processing data such as highway traffic data, thereby improving the accuracy and reliability of the data. By using the regional splitting method, large-scale data association fitting is avoided, making the calculation process more efficient, and at the same time enriching the indicator system related to buses, providing more detailed data support for decision-making. By optimizing the data processing and splitting method, human and material resources are saved, work efficiency is improved, and good economy is achieved.
[0180] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0181] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
[0182] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for calculating passenger data of a highway, characterized in that: The passenger transport data includes passenger vehicle flow and passenger vehicle travel volume, and the method includes: Acquire highway data, the highway data at least including highway traffic data, highway sign recognition data and highway toll station ground induction coil data; Calculate based on the highway data to obtain the national highway passenger traffic volume; Creating a mileage topology table based on the highway traffic data; Calculate the national highway passenger vehicle travel volume based on the highway data and the mileage topology table; Performing regional segmentation according to the national highway passenger traffic volume to obtain the passenger traffic volume of the target area; Performing regional segmentation according to the national expressway passenger vehicle travel volume to obtain the passenger vehicle travel volume of the target area; The step of calculating based on the highway data to obtain the national highway passenger traffic volume includes: Calculate the passenger vehicle flow at the highway exit according to the highway traffic data; Screening the highway license plate recognition data to obtain passenger car license plate recognition data; Using a K-nearest neighbor algorithm to compare the highway traffic data and the bus license plate recognition data, and extracting the bus license plate recognition data with a similarity lower than a set threshold as the target license plate recognition data; Associating the target plate recognition data with the highway traffic data to obtain a flow supplement number; Screening the ground sensing coil data of the highway toll station to obtain target ground sensing coil data; The national highway passenger traffic volume is obtained according to the highway exit passenger traffic volume, the traffic supplement number and the target ground sensing coil data.
2. The method for calculating passenger traffic data of expressways according to claim 1, characterized in that: The step of creating a mileage topology table according to the highway traffic data includes: Calculate the mileage between toll stations according to the expressway traffic data to obtain first mileage data; Calculate the mileage between the toll station and the regional gantry according to the highway traffic data to obtain second mileage data; Calculate the mileage between the regional gantries according to the highway traffic data to obtain third mileage data; The mileage topology table is obtained according to the first mileage data, the second mileage data and the third mileage data.
3. The method for calculating passenger data of expressways according to claim 2, characterized in that: The calculation based on the highway data and the mileage topology table to obtain the national highway passenger vehicle travel volume includes: Extracting the total mileage of passenger car charges according to the highway traffic data; The mileage topology table is used to supplement the total mileage of the bus billing to obtain the bus mileage; Determining the passenger car mileage supplement amount according to the highway plate recognition data; The national highway passenger vehicle travel volume is obtained based on the highway toll station ground sensor coil data, the passenger vehicle mileage and the passenger vehicle mileage supplement.
4. The method for calculating passenger traffic data of expressways according to claim 1, characterized in that: The step of performing regional splitting according to the national highway passenger traffic volume to obtain the passenger traffic volume of the target area includes: Determine the initial passenger vehicle flow number passing through each area according to the highway traffic data; Supplementing the initial passenger vehicle flow number according to the highway sign recognition data to obtain the passenger vehicle flow number in each area; Determine the passenger vehicle flow ratio of each area according to the passenger vehicle flow number of each area; The passenger traffic volume of the national expressway is split by utilizing the passenger traffic volume ratio of the target area to obtain the passenger traffic volume of the target area.
5. The method for calculating passenger traffic data of expressways according to claim 1, characterized in that: The step of performing regional segmentation according to the national expressway passenger vehicle travel volume to obtain the passenger vehicle travel volume of the target area includes: Obtaining the total mileage of passenger vehicles in each area according to the highway traffic data; Obtaining the accumulated transaction mileage of regional gantry buses in each region according to the highway traffic data; Obtain the regional bus transit mileage of each region based on the accumulated transaction mileage of the gantry buses in the region; Determine the regional bus mileage supplement amount for each area according to the highway sign recognition data; Determine the driving volume ratio of each area according to the total billing mileage of the bus, the accumulated transaction mileage of the regional gantry bus, the transit mileage of the regional bus and the supplementary mileage of the regional bus; The passenger vehicle travel volume on the national highways is split using the travel volume ratio of the target area to obtain the passenger vehicle travel volume in the target area.
6. The method for calculating passenger transportation data of expressways according to claim 5, characterized in that: The step of performing regional splitting according to the national highway passenger traffic volume to obtain the passenger traffic volume of the target area includes: The passenger traffic volume of national highways is split according to the travel volume ratio of the target area to obtain the passenger traffic volume of the target area.
7. A device for calculating passenger data of a highway, characterized in that: The passenger transport data includes passenger vehicle flow and passenger vehicle travel volume, and the device includes: A data acquisition module, used to acquire highway data, wherein the highway data at least includes highway traffic data, highway sign recognition data and highway toll station ground sensor coil data; A first calculation module is used to calculate based on the highway data to obtain the national highway passenger traffic volume; A data creation module, used to create a mileage topology table according to the highway traffic data; A second calculation module is used to calculate according to the highway data and the mileage topology table to obtain the national highway passenger vehicle travel volume; A third calculation module is used to perform regional division according to the national highway passenger traffic flow to obtain the passenger traffic flow of the target area; A fourth calculation module is used to perform regional division according to the national expressway passenger vehicle travel volume to obtain the passenger vehicle travel volume of the target area; The step of calculating based on the highway data to obtain the national highway passenger traffic volume includes: Calculate the passenger vehicle flow at the highway exit according to the highway traffic data; Screening the highway license plate recognition data to obtain passenger car license plate recognition data; Using a K-nearest neighbor algorithm to compare the highway traffic data and the bus license plate recognition data, and extracting the bus license plate recognition data with a similarity lower than a set threshold as the target license plate recognition data; Associating the target plate recognition data with the highway traffic data to obtain a flow supplement number; Screening the ground sensing coil data of the highway toll station to obtain target ground sensing coil data; The national highway passenger traffic volume is obtained according to the highway exit passenger traffic volume, the traffic supplement number and the target ground sensing coil data.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: The processor executes the computer program to implement the method for calculating passenger data of a highway as described in any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for calculating passenger data of a highway as described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Method for generating expressway network structure based on rainbow bridge type topology
CN117077329A
Method, device and equipment for calculating travel volume of provincial non-business passenger cars and medium
CN118840133A