Method and device for predicting travel mode distribution structure, equipment and storage medium

By obtaining and extracting travel data and features, the deep learning model is used to calculate the total utility value of travel modes, which solves the problem of low accuracy of travel mode allocation modeling in the existing technology, improves the prediction accuracy and is applicable to different urban transportation modes. .

CN118780408APending Publication Date: 2024-10-15SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310372236.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-04
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Due to limited sample collection and one-sided consideration of influencing factors, the existing resident travel mode allocation modeling method makes it difficult to provide an accurate description and verification of travel mode selection in complex urban environments, and has low accuracy.

Method used

By obtaining free travel data, restricted travel data, travel occurrence periods and regional feature information between the starting area and the destination area, we extract the characteristics of the transportation mode and the characteristics of the travel itself, and use a prediction model based on utility value theory and deep learning neural network , calculate the total utility value of free travel and restricted travel, and then calculate the structural proportion.

Benefits of technology

It improves the accuracy of travel mode allocation prediction, taking into account the distance, time period and regional characteristics related to the travel mode and the trip itself, as well as the time, cost and comfort information related to the transportation mode, making the model more comprehensive and suitable for transportation in different cities Prediction of travel structure distribution proportion under different modes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780408A_ABST
    Figure CN118780408A_ABST
Patent Text Reader

Abstract

The invention discloses a travel mode distribution structure prediction method and device, equipment and a storage medium. The method comprises the following steps of: extracting input features corresponding to free travel and limited travel from free travel data, limited travel data, a preset travel occurrence time period and regional feature information pre-constructed based on traffic facility information and administrative feature information of a region between a starting region and a destination region; the input features comprise transportation mode features and travel features, the input features of the transportation mode features and the travel features are respectively input into a pre-trained prediction model for prediction, respective total utility values of free travel and limited travel are obtained, and finally the structural proportion of the free travel and the limited travel is calculated according to the total utility values of the free travel and the limited travel. According to the method, the structure proportion of the two travel modes can be predicted by utilizing the transportation mode related characteristics of the travel modes and the related characteristics of the travel modes and combining the utility value theory, and the prediction accuracy is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent transportation technology, and in particular to a method, device, equipment and storage medium for predicting a travel mode allocation structure. Background Art

[0002] Predicting the choice of travel mode is an important part of urban traffic demand forecasting and an important basis for urban transportation planning and management. Analyzing the differences in travelers' choices of service attributes can provide a theoretical basis for improving the level of urban transportation services. Understanding the factors that affect the distribution of travel modes between urban areas and the synergistic relationship between these factors and the distribution structure of transportation modes is a prerequisite for solving problems such as insufficient transportation carrying capacity, traffic congestion, and traffic pollution.

[0003] Traffic structure allocation is an important part of the four-stage traffic planning. The existing traffic structure allocation methods are mainly based on paper-and-pencil interviews, computer-assisted data collection and other strategies for data acquisition, and surveys and collections of travelers' families, workplaces, travel modes, travel influencing factors, etc. In terms of traffic structure allocation prediction, they mainly use statistical methods, curve models (the curve of travel time ratio and travel burden ratio), discrete choice models (individual utility values ​​for different travel modes), etc. For example, discrete choice models are often used to predict the choice of urban transportation modes. The most important ones are the Logit family models, such as the multinomial Logit model (MNL, multinomial Logit), NL model (nested Logit) and MixedLogit model.

[0004] However, the current modeling method for residents' travel mode allocation, which uses field experience and local survey data and is based on statistical methods (curve models, discrete choice models, etc.), is difficult to accurately describe, explain and verify the travel mode choices of residents in complex urban environments due to limited sample collection, one-sided consideration of influencing factors, and insufficient spatial relationship modeling, resulting in low accuracy. Summary of the invention

[0005] In view of this, the present application provides a method, device, equipment and storage medium for predicting travel mode allocation structure to solve the problem of low accuracy of existing travel mode allocation modeling methods.

[0006] In order to solve the above technical problems, a technical solution adopted in the present application is: to provide a method for predicting the traffic distribution structure of residents' travel, which includes: obtaining free travel data, restricted travel data, preset travel time periods, and regional characteristic information pre-constructed based on regional traffic facility information and administrative characteristic information between a starting area and a destination area; extracting input features corresponding to free travel and restricted travel from the free travel data, restricted travel data, travel time periods, and regional characteristic information, the input features including transportation mode features and travel characteristics, the transportation mode features including transportation time information, transportation cost information, and comfort information, the travel characteristics including travel distance, travel time periods, and regional characteristic information; inputting the input features corresponding to free travel and restricted travel into a pre-trained prediction model for prediction, and obtaining the total utility values ​​of free travel and restricted travel, the prediction model being constructed based on utility value theory and deep learning neural network; and calculating the structural proportion of free travel and restricted travel according to the total utility values ​​of free travel and restricted travel.

[0007] As a further improvement of the present application, the input features corresponding to free travel and restricted travel are respectively input into a pre-trained prediction model for prediction to obtain the total utility value of free travel and restricted travel, including: inputting the transportation mode characteristics into a pre-trained prediction model to obtain the transportation mode-related utility values ​​of free travel and restricted travel, and inputting the travel characteristics themselves into the prediction model to obtain the travel time and space environment-related utility values ​​of free travel and restricted travel; and calculating the total utility values ​​of free travel and restricted travel based on the transportation mode-related utility values ​​and the travel time and space environment-related utility values.

[0008] As a further improvement of the present application, the prediction model includes a utility value prediction module related to the mode of transport and a utility value prediction module related to the travel time and space environment; the utility value prediction module related to the mode of transport includes a stable utility value prediction unit and a random effective value prediction unit, the stable utility value prediction unit is constructed based on a layer of convolutional neural network, and the random effective value prediction unit is constructed based on a multi-layer fully connected neural network.

[0009] As a further improvement of the present application, the characteristics of the mode of transport are input into a pre-trained prediction model to obtain the utility values ​​related to the mode of transport for free travel and restricted travel, including: inputting the characteristics of the mode of transport for free travel and restricted travel into a stable utility value prediction unit for prediction, respectively, to obtain the stable utility values ​​of free travel and restricted travel; inputting the characteristics of the mode of transport for free travel and restricted travel into a random effective value prediction unit for prediction, respectively, to obtain the random utility values ​​of free travel and restricted travel; using the stable utility value and random utility value of free travel to calculate the utility value related to the mode of transport for free travel, and using the stable utility value and random utility value of restricted travel to calculate the utility value related to the mode of transport for restricted travel.

[0010] As a further improvement of the present application, regional characteristic information is constructed based on the regional transportation facility information and administrative characteristic information, including: determining the neighboring areas of the target area based on the geographical distances between the center points of each area; determining the weight of each neighboring area by using a preset pre-weighted aggregator and combining the geographical distance; obtaining the regional characteristic representation of the target area and the regional characteristic representation of the neighboring area, the regional characteristic representation being pre-set based on the regional transportation facility information and administrative characteristic information; and constructing the regional characteristic information of the target area based on the weights, the regional characteristic representation of the target area, and the regional characteristic representation of the neighboring area.

[0011] As a further improvement of this application, the neighboring area of ​​the target area is formally expressed as:

[0012] Θ i ={z j |dis(z i ,z j )≤L};

[0013] Among them, z i represents the target area, z j Indicates other areas, dis(z i ,z j ) represents the distance between the target area and other areas, L represents the distance threshold, Θ i Represents a set of neighbor regions;

[0014] The pre-weighted aggregator is expressed as:

[0015]

[0016] Among them, r i represents the fusion features of the target area and all neighboring areas, σ represents the nonlinear activation function sigmod, W g represents the pre-trained weight parameters, f i represents the characteristics of the target area, f jRepresents the characteristics of the neighborhood area.

[0017] As a further improvement of the present application, the travel period includes six predicted time periods, namely the morning, noon and evening time periods on weekdays and the morning, noon and evening time periods on weekends; the comfort information is determined based on the number of transfers corresponding to the travel mode.

[0018] In order to solve the above technical problems, another technical solution adopted by the present application is: to provide a prediction device for the traffic distribution structure of residents' travel, which includes: an acquisition module, which is used to obtain free travel data, restricted travel data, preset travel time periods, and regional characteristic information pre-constructed based on regional traffic facility information and administrative characteristic information between the starting area and the destination area; a feature extraction module, which is used to extract the input features corresponding to free travel and restricted travel from the free travel data, restricted travel data, travel time periods and regional characteristic information, the input features include transportation mode features and travel characteristics, the transportation mode features include transportation time information, transportation cost information and comfort information, and the travel characteristics include travel distance, travel time period and regional characteristic information; a prediction module, which is used to input the input features corresponding to free travel and restricted travel respectively into a pre-trained prediction model for prediction, and obtain the total utility values ​​of free travel and restricted travel respectively, and the prediction model is constructed based on utility value theory and deep learning neural network; a calculation module, which is used to calculate the structural proportion of free travel and restricted travel according to the total utility values ​​of free travel and restricted travel respectively.

[0019] In order to solve the above technical problems, another technical solution adopted in the present application is: to provide a computer device, which includes a processor and a memory coupled to the processor, wherein program instructions are stored in the memory, and when the program instructions are executed by the processor, the processor executes the steps of the travel mode allocation structure prediction method as described in any of the above items.

[0020] In order to solve the above technical problems, another technical solution adopted by the present application is: to provide a storage medium storing program instructions for a prediction method of a travel mode allocation structure that can implement any of the above.

[0021] The beneficial effect of the present application is as follows: the prediction method of the travel mode distribution structure of the present application obtains the transportation mode characteristics and travel characteristics corresponding to free travel and restricted travel respectively from the free travel data, restricted travel data, preset travel time period, and regional characteristic information pre-constructed based on the regional traffic facility information and administrative characteristic information between the starting area and the destination area, and then combines the extracted characteristics with the prediction model constructed using the utility value theory to perform prediction, and obtains the total utility value corresponding to free travel and restricted travel respectively. Finally, the structural proportion of free travel and restricted travel is calculated based on the total utility value, which takes into account the travel distance, travel time period and regional characteristic information related to the travel itself of the two travel modes, and also takes into account the transportation time information, transportation cost information and comfort information related to the transportation mode, so that the constructed model input characteristics are more comprehensive, which greatly improves the prediction accuracy of the model, and the prediction model is universal and can be applied to the prediction of travel structure distribution ratio under different transportation modes in cities. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 is a flow chart of a method for predicting a travel mode allocation structure according to an embodiment of the present invention;

[0023] Figure 2 Schematic diagram of functional modules of a prediction device for a travel mode allocation structure according to an embodiment of the present invention;

[0024] Figure 3 is a schematic diagram of the structure of a computer device according to an embodiment of the present invention;

[0025] Figure 4 It is a schematic diagram of the structure of the storage medium of an embodiment of the present invention. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0027] The terms "first", "second", "third" in this application are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first", "second", "third" can expressly or implicitly include at least one of the features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In the embodiments of this application, all directional indications (such as up, down, left, right, front, back...) are only used to explain the relative position relationship, movement, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication also changes accordingly. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the steps or units listed, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.

[0028] 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.

[0029] Figure 1 is a flow chart of a method for predicting a travel mode allocation structure according to an embodiment of the present invention. It should be noted that if there are substantially the same results, the method of the present invention is not limited to Figure 1 The process sequence shown is limited. Figure 1 As shown, the prediction method of the travel mode allocation structure includes the following steps:

[0030] Step S101: Obtain free travel data, restricted travel data, preset travel time periods, and regional characteristic information pre-constructed based on regional traffic facility information and administrative characteristic information between a starting area and a destination area.

[0031] It should be noted that before predicting the distribution structure of residents' travel modes, regional division is required. For example, when the object of analysis is a city, the entire city can be divided into multiple small traffic areas according to the administrative function characteristics of each area in the city, expressed as Z = {z1, z2, ..., z |Z|}, each region z i The characteristics include regional center c, regional area a, regional function f a , transportation facilities levelt When it is necessary to analyze the distribution structure of transportation modes between two regions, the free travel data, restricted travel data, preset travel time periods, and regional characteristic information pre-constructed based on the regional transportation facility information and administrative characteristic information between the starting area and the destination area are obtained.

[0032] In this embodiment, the appearance modes are divided into free travel and restricted travel. Free travel includes using taxis, online car-hailing and other transportation modes, and restricted travel includes using buses, subways and other transportation modes. A free trip can be used It represents a free trip by taxi, which is not restricted by fixed stops and routes, and can go directly to the destination. It includes the attributes of pick-up location, drop-off location, pick-up time, drop-off time, and mileage, respectively. A restricted trip can be represented by tr, which means a restricted trip by bus or subway. Here, restricted means that due to the influence of bus and subway networks and their operating hours, passengers face many restrictions in their travel, such as availability (bus departure frequency), accessibility (walking distance to and from bus stops), comfort (number of transfers), etc. The attributes associated with a restricted trip include: starting station tr.s o , destination site tr.s d , start time tr.t o , end time tr.t d , number of transfers tr.c, transfer walking distance tr.w.

[0033] Among them, free travel data can be obtained from the taxi dataset, which is obtained based on the taxi data set reporting the passenger's boarding location, boarding time, disembarkation location, disembarkation time, mileage, amount information, etc. to the backend system after each taxi picks up passengers. Restricted travel data can be obtained from the bus / subway dataset. Specifically, under normal circumstances, the automatic fare collection system AFC (Automatic fare collection System) records each passenger's public transportation record each time. Each transaction record contains four fields, ID, Time, Type, SID, where ID is the unique identifier of the smart transportation card, which is used to uniquely identify a passenger, Time is the transaction (card swiping) time, Type is the transaction type (subway entry, exit, bus boarding, bus disembarkation, represented by 1, 2, 3, 3 respectively), and SID is the identifier of the subway station or bus station.

[0034] In this embodiment, the travel time period is pre-set, and the travel time period includes six predicted time periods, namely the morning, noon and evening time periods of weekdays and the morning, noon and evening time periods of weekends. Specifically, the allocation structure of transportation modes will be different in different time periods of a day on weekdays and weekends. For the convenience of analysis, according to the travel characteristics of residents, this embodiment divides a week into weekdays and weekends, and a day into morning (7 am-9 am), noon (11 am-1 pm), and evening (5 am-8 pm). Therefore, this embodiment considers six time periods T={t 1,1 ,t 1,2 ,t 1,3 ,t 2,1 ,t 2,2 ,t 2,3}, where i=1 represents weekdays, i=2 represents weekends, j=1 represents mornings, j=2 represents noon, and j=3 represents evenings.

[0035] Further, for the convenience of description, in this embodiment, the travel context environment Ω={z o ,z d ,t}, where z o ∈Z is the starting region, z d ∈Z is the destination area, t∈T is the travel time period, and this embodiment uses represents the share of restricted travel and free travel, where For the convenience of description, this embodiment uses the triple Ω={z o ,z d ,t} represents the travel time and space context environment, which is also the unit analyzed in this embodiment.

[0036] It should be noted that, given that the travel distance in the same area is too short, there may not be a bus / subway route that meets the requirements. Therefore, the prediction method of the travel mode allocation structure in this embodiment is mainly aimed at long-distance travel, and it ignores the travel allocation within the same area.

[0037] Step S102: extracting input features corresponding to free travel and restricted travel from free travel data, restricted travel data, travel time period and regional characteristic information, wherein the input features include transportation mode features and travel characteristics. The transportation mode features include transportation time information, transportation cost information and comfort information, and the travel characteristics include travel distance, travel time period and regional characteristic information.

[0038] Specifically, the travel data includes information such as the departure point, destination point, travel distance, travel time, transportation cost, comfort level, etc. After obtaining the free travel data, restricted travel data, travel time period and regional feature information, the input features corresponding to the free travel and the input features corresponding to the restricted travel can be extracted. In this embodiment, given the travel context Ω = {z o ,d,}, the factors affecting the travel structure between the two regions are classified into two categories: one is the characteristics of the mode of transportation, including average time spent, average monetary cost, comfort and other information, and the other is One type is the travel characteristics, such as the travel area (starting point and end point), average travel distance, travel time period, etc. express.

[0039] In this embodiment, the transportation mode characteristics include transportation time information, transportation cost information and comfort information.

[0040] For the transportation time information of free travel: Given the travel context Ω, the time spent on free travel is recorded as It can be obtained by taking the average travel time of all taxis between two areas. For the transportation time information of restricted travel: the time spent on public transportation travel includes the walking time before getting on the bus, the waiting time before getting on the bus, the riding time (including the transfer time), and the walking time after getting off the bus, wherein the riding time can be obtained through the time difference between the boarding time and the getting off time in the travel record, the waiting time before getting on the bus is set to half of the departure interval of the bus taken, and the walking time before and after getting on and off the bus refers to the time it takes for the user to walk from the actual starting point to the bus stop, or from the getting off point to the destination, that is, the last mile problem of public transportation. This embodiment refers to the distance from the taxi pick-up location or the getting off location to the nearest bus stop in this area as the walking distance before and after getting on and off the bus, and calculates the walking time before and after getting on and off the bus according to the average walking speed. Based on the above analysis, this embodiment records the transportation time information of restricted travel as

[0041] For transportation cost information, the monetary costs of free travel and restricted travel between two areas can be obtained through their operation records and public operation charging rules, which are recorded as and

[0042] As for the comfort information, the comfort in this embodiment mainly considers the number of transfers of public transportation. The more the number of transfers, the worse the passenger's travel comfort experience. Therefore, the comfort information of restricted travel is recorded as Taxis do not need to transfer, so the number of transfers for free travel is recorded as It can be set to 0.

[0043] In summary, the characteristics of transportation mode Including free travel related features Characteristics related to restricted travel

[0044] In this embodiment, the travel characteristics include travel distance, travel time period and regional characteristic information.

[0045] For travel distance: to a large extent, it determines the set of alternative options for residents to choose travel mode. In the travel time and space environment Ω={z o ,z d ,t}, the travel distance can be represented by the shortest path between areas, but the premise is that the travel distribution of each location in the same area is the same. In fact, this is difficult to meet, and the calculation result cannot represent the actual travel distance. Therefore, this embodiment combines the actual travel to calculate the value, which will be more accurate. In addition, there is a last-mile problem in bus / subway travel, and its starting and ending stations cannot represent the actual starting and ending points of passengers. Therefore, this embodiment uses the average travel mileage of taxis to represent the average travel distance in the travel time and space environment.

[0046] For the travel period: In the travel time and space environment Ω={z o ,z d ,t}, the characteristics of travel time period = t. On weekdays and weekends, and at different times of the day, people have different travel needs (commuting and non-commuting), and their sensitivity to time is also different, so their choice of different travel modes will also be different.

[0047] Regarding regional characteristic information: the travel mode allocation structure is related to the infrastructure level of the region where it occurs and the regional administrative function. This embodiment extracts these two types of characteristic information as regional characteristic information, which is as follows:

[0048] 1. From the perspective of transportation facilities, this embodiment extracts features representing the level of transportation facilities in each area, including the density of public transportation stations, the density of bus routes, whether there is a subway station, and the average walking time (the average walking time from the starting or ending point of a taxi to the nearest bus stop).

[0049] 2. From the perspective of regional administrative characteristics, in order to quantitatively represent the administrative functions of each region, this embodiment uses the proportion of each category of POI in each region to represent, such as the number of catering services, scenic spots, schools, hospitals, second-hand houses, etc.

[0050] In summary, the characteristics of travel Including free travel related features Characteristics related to restricted travel

[0051] Furthermore, in this embodiment, the comfort information is determined according to the number of transfers corresponding to the travel mode. Specifically, in order to determine whether there is a transfer between two adjacent rides, the existing method determines whether the transfer characteristics are met in terms of transfer time and space between the two adjacent trips, such as the time interval between the alighting time of the last ride and the next alighting time is less than half an hour, and the walking distance between the last alighting station and the next alighting station is less than 1km. However, this method will cause some misjudgments because it does not combine the actual bus line accessibility and shortest path information. However, this embodiment has actual public transportation (subway and bus) line data and operation characteristics (departure time and interval), so it can deduce the effective ride plan between any two stations. Therefore, this embodiment adds a transfer judgment condition, that is, if two consecutive trips belong to transfer behavior, the ride composition plan needs to be in the effective ride plan set.

[0052] Step S103: Input the input features corresponding to free travel and restricted travel into a pre-trained prediction model for prediction to obtain the total utility value of free travel and restricted travel. The prediction model is constructed based on utility value theory and deep learning neural network.

[0053] Specifically, after obtaining the input features of free travel and the input features corresponding to restricted travel, the input features of the two are respectively input into a pre-trained prediction model for prediction to obtain the total utility value of free travel and the total utility value of restricted travel.

[0054] In this embodiment, in order to construct the mapping relationship between the factors affecting the travel structure and the travel structure, this embodiment borrows and expands the idea of ​​the resident travel mode selection model based on the utility value theory. The available transportation modes are called "choice branches", and the traveler's satisfaction with choosing a certain "choice branch" is called "utility". The greater the utility value, the greater the probability that the resident will choose this travel mode. It is formalized as P n,i The probability of individual n selecting travel mode i can be applied by considering each travel context environment Ω in this embodiment as an individual.

[0055] It should be noted that, in general, the utility in the utility value theory is assumed to consist of two parts: u n,i = n,i + n,i The first part is the system (or deterministic) utility v n,i , which is generally expressed as a linear combination of factors related to the mode of transport The second part is the random component ξ n,i , which is used to capture nonlinear uncertainties that modelers cannot fully capture. Usually, it is assumed that the error term ξ for different transport modes n,iIndependent and follow the same distribution. Different error distribution assumptions lead to different representation methods for random components. For example, Multinomial logit assumes that the error term follows an extreme i-type distribution, and the Probit model assumes that the error follows a normal distribution. This travel mode selection model based on statistical methods has some distribution assumptions that are not in line with reality, and it is difficult to accurately model the complex spatiotemporal context between influencing factors and travel structure. The typical multinomial logit model expression is P n,i is the probability that individual n chooses option i, u n,i The utility value of individual n choosing option i is expressed as a linear function of the individual's characteristics related to the i-th mode of transportation. This travel mode selection model based on statistical methods is difficult to model the complex correlations between influencing factors and between influencing factors and travel structure, such as complex spatiotemporal dependencies, and thus cannot accurately model the residents' travel mode distribution structure.

[0056] To address this problem, the prediction model of this embodiment is designed as a deep learning model based on extended utility value, which divides the utility value into two parts: the utility value related to the mode of transportation and the utility value related to the travel time and space environment. It models the utility value generated by differences in different modes of transportation due to differences in time, money, comfort, etc., as well as the indirect utility value generated by differences in the location of the trip itself (the level of surrounding transportation facilities or regional functions), time (weekdays or weekends), travel distance, etc.

[0057] Therefore, step S103 specifically includes:

[0058] 1. Input the characteristics of the mode of transportation into the pre-trained prediction model to obtain the utility values ​​related to the mode of transportation for free travel and restricted travel, and input the characteristics of the travel itself into the prediction model to obtain the utility values ​​related to the travel time and space environment for free travel and restricted travel.

[0059] 2. For the utility value related to the mode of transport, it should be noted that the utility value of the mode of transport in this embodiment can be divided into a stable utility value and a random utility value, corresponding to the above-mentioned determination component and error component. The prediction model includes a utility value prediction module related to the mode of transport and a utility value prediction module related to the travel time and space environment; the utility value prediction module related to the mode of transport includes a stable utility value prediction unit and a random effective value prediction unit, the stable utility value prediction unit is constructed based on a layer of convolutional neural network, and the random effective value prediction unit is constructed based on a multi-layer fully connected neural network.

[0060] Therefore, the steps of inputting the transport mode characteristics into the pre-trained prediction model to obtain the transport mode-related utility values ​​of free travel and restricted travel include:

[0061] 1.1 Input the transportation mode characteristics of free travel and restricted travel into the stable utility value prediction unit for prediction, and obtain the stable utility values ​​of free travel and restricted travel respectively.

[0062] Specifically, the stable utility value prediction unit of this embodiment is constructed using a layer of convolutional neural network, wherein the convolutional neural network has a filter-shaped weight, which converts the layer h j Connected to the next layer j+1. Therefore, the neuron in the next layer can be represented as where β={β1,...β d} is a filter whose size is 1×d, s is the step size, α i is the bias unit, g(.) is the activation function, and j represents the number of layers. Using the stable utility value prediction unit, the stable utility values ​​of free travel and restricted travel can be predicted, which are expressed as u m and

[0063] 1.2 Input the transportation mode characteristics of free travel and restricted travel into the random effective value prediction unit for prediction, and obtain the random utility values ​​of free travel and restricted travel respectively.

[0064] Specifically, the random effective value prediction unit of this embodiment is constructed based on a multi-layer fully connected neural network, which can be applied to the kernel of any discrete choice modeling, so as to obtain the random utility values ​​of free travel and restricted travel, which are represented as u and r and

[0065] 1.3 The utility value of the transport mode related to free travel is calculated using the stable utility value and random utility value of free travel, and the utility value of the transport mode related to restricted travel is calculated using the stable utility value and random utility value of restricted travel.

[0066] Specifically, the utility value u of the free travel mode t =u m +u r , the utility value of the transportation mode with restricted travel

[0067] For the utility value related to the travel space-time environment, in order to model the utility value generated by the space-time context environment for each travel mode selection, this embodiment designs a neural network submodule, which can be decomposed into three parts: spatial feature learning, temporal feature learning, and space-time fusion utility value calculation. Among them, for the time feature, in view of the periodic characteristics of the travel structure composition, in order to learn this temporally stable feature, this embodiment adopts the lookup table embedding representation technology. By inputting the travel characteristics of free travel and the travel characteristics of restricted travel into the neural network submodule for prediction, the travel space-time environment related utility value u of free travel and restricted travel can be obtained. c and

[0068] 2. Calculate the total utility value of free travel and restricted travel based on the utility value related to the mode of transportation and the utility value related to the travel time and space environment.

[0069] Specifically, the total utility value of free travel u = u t + c , the total utility value of restricted travel

[0070] Furthermore, it should be noted that the prediction model of this embodiment needs to be pre-trained, which first needs to define the task of the prediction model, that is, to extract any spatiotemporal context environment Ω = {z o ,z d ,t} travel mode share And learn the relationship function F between the characteristics and the travel mode sharing ratio, that is, By preparing the spatiotemporal context between the two regions Ω = {z o ,d,}, the actual travel mode distribution ratio between the two areas The prediction model to be trained is trained with the preset loss function until the prediction model reaches the preset accuracy requirement.

[0071] Step S104: Calculate the structural ratio of free travel and restricted travel according to the total utility values ​​of free travel and restricted travel respectively.

[0072] Specifically, after obtaining the total utility values ​​of free travel and restricted travel, the distribution ratio of free travel and restricted travel is calculated using the total utility values ​​of free travel and restricted travel. The specific calculation formula is as follows:

[0073]

[0074]

[0075] Among them, γ represents the allocation ratio of free travel, Represents the allocation ratio of restricted travel.

[0076] Furthermore, since the administrative and transportation facilities level of the surrounding areas may affect the travel mode allocation structure of the target area, when representing the characteristics of a certain area, this embodiment not only considers the characteristics of this area, but also aggregates the characteristics of neighboring areas. Therefore, in step S101, the step of constructing regional characteristic information based on the regional transportation facility information and administrative characteristic information specifically includes:

[0077] 1. Determine the neighboring areas of the target area based on the geographical distance between the center points of each area.

[0078] 2. Determine the weight of each neighbor area using the preset pre-weighted aggregator and combined with the geographic distance.

[0079] Specifically, the closer the geographical distance between two regions is, the greater the mutual influence is. In view of this, this embodiment proposes a pre-weighted aggregator, which can selectively emphasize more important neighboring regions and regional embeddings. i The neighboring area z j , z j Right i The influence weight or weighting factor is z i and z j The distance between dis(z i ,j) represents. Therefore, this embodiment formulates the pre-weighted aggregator of the neighbor region as follows, where σ is the nonlinear activation function sigmod.

[0080]

[0081] Among them, r i represents the fusion features of the target area and all neighboring areas, σ represents the nonlinear activation function sigmod, W g represents the pre-trained weight parameters, f i represents the characteristics of the target area, f j Represents the characteristics of the neighborhood area.

[0082] 3. Obtaining the regional feature representation of the target area and the regional feature representation of the neighboring area, where the regional feature representation is pre-set based on the regional traffic facility information and administrative feature information.

[0083] 4. Construct the regional feature information of the target area according to the weight, the regional feature representation of the target area, and the regional feature representation of the neighboring area.

[0084] Specifically, in this embodiment, given a region z i, its geographical neighbor area set can be formally expressed as Θ i ={z j |dis(z i ,zj)≤L}, where dis(z i ,z j ) is the geographical distance between the two area centers, L represents the distance threshold used to determine the proximity range, which is set to 2 km in this embodiment, Θ i Represents a collection of neighbor regions.

[0085] The prediction method of the travel mode distribution structure of the present embodiment extracts the transportation mode characteristics and travel characteristics corresponding to free travel and restricted travel from the free travel data, restricted travel data, preset travel time period, and regional characteristic information pre-constructed based on the regional traffic facility information and administrative characteristic information between the starting area and the destination area, and then predicts the extracted characteristics in combination with the prediction model constructed using the utility value theory to obtain the total utility values ​​corresponding to free travel and restricted travel. Finally, the structural proportion of free travel and restricted travel is calculated based on the total utility value, which takes into account the travel distance, travel time period and regional characteristic information related to the travel itself of the two travel modes, and also takes into account the transportation time information, transportation cost information and comfort information related to the transportation mode, so that the constructed model input characteristics are more comprehensive, which greatly improves the prediction accuracy of the model, and the prediction model is universal and can be applied to the prediction of travel structure distribution ratio under different transportation modes in cities.

[0086] Figure 2 Schematic diagram of the functional modules of the prediction device for the travel mode allocation structure according to an embodiment of the present invention. Figure 2 As shown, the prediction device 20 of the travel mode allocation structure includes an acquisition module 21, a feature extraction module 22, a prediction module 23 and a calculation module 24.

[0087] An acquisition module 21 is used to acquire free travel data, restricted travel data, preset travel time periods, and regional feature information pre-constructed based on regional traffic facility information and administrative feature information between a starting area and a destination area;

[0088] The feature extraction module 22 is used to extract the input features corresponding to the free travel and the restricted travel from the free travel data, the restricted travel data, the travel time period and the regional feature information, wherein the input features include the transport mode features and the travel characteristics. The transport mode features include the transport time information, the transport cost information and the comfort information. The travel characteristics include the travel distance, the travel time period and the regional feature information.

[0089] A prediction module 23 is used to input the input features corresponding to free travel and restricted travel into a pre-trained prediction model for prediction, and obtain the total utility value of free travel and restricted travel respectively. The prediction model is constructed based on utility value theory and deep learning neural network;

[0090] The calculation module 24 is used to calculate the structural ratio of free travel and restricted travel according to the total utility values ​​of free travel and restricted travel respectively.

[0091] Optionally, the prediction module 23 executes the operation of inputting the input features corresponding to free travel and restricted travel into a pre-trained prediction model for prediction to obtain the total utility value of each of the free travel and the restricted travel, specifically including: inputting the transportation mode characteristics into the pre-trained prediction model to obtain the transportation mode-related utility values ​​of the free travel and the restricted travel, and inputting the travel characteristics itself into the prediction model to obtain the travel time and space environment-related utility values ​​of the free travel and the restricted travel; calculating the total utility values ​​of the free travel and the restricted travel according to the transportation mode-related utility values ​​and the travel time and space environment-related utility values.

[0092] Optionally, the prediction model includes a transportation mode related utility value prediction module and a travel time and space environment related utility value prediction module; the transportation mode related utility value prediction module includes a stable utility value prediction unit and a random effective value prediction unit, the stable utility value prediction unit is constructed based on a layer of convolutional neural network, and the random effective value prediction unit is constructed based on a multi-layer fully connected neural network.

[0093] Optionally, the prediction module 23 executes the operation of inputting the transport mode characteristics into a pre-trained prediction model to obtain the transport mode related utility values ​​of free travel and restricted travel, specifically including: inputting the transport mode characteristics of free travel and restricted travel into the stable utility value prediction unit for prediction, respectively, to obtain the stable utility values ​​of free travel and restricted travel; inputting the transport mode characteristics of free travel and restricted travel into the random effective value prediction unit for prediction, respectively, to obtain the random utility values ​​of free travel and restricted travel; using the stable utility value and random utility value of free travel to calculate the transport mode related utility value of free travel, and using the stable utility value and random utility value of restricted travel to calculate the transport mode related utility value of restricted travel.

[0094] Optionally, the operation of pre-constructing regional characteristic information based on the regional transportation facility information and administrative characteristic information specifically includes: determining the neighboring areas of the target area based on the geographical distance between the center points of each area; determining the weight of each neighboring area by using a preset pre-weighted aggregator and combining the geographical distance; obtaining the regional characteristic representation of the target area and the regional characteristic representation of the neighboring area, the regional characteristic representation being pre-set according to the regional transportation facility information and administrative characteristic information; and constructing the regional characteristic information of the target area according to the weight, the regional characteristic representation of the target area, and the regional characteristic representation of the neighboring area.

[0095] Optionally, the neighboring region of the target region is formally expressed as:

[0096] Θ i ={z j |dis(z i ,z j )≤L};

[0097] Among them, z i represents the target area, z j Indicates other areas, dis(z i ,z j ) represents the distance between the target area and other areas, L represents the distance threshold, Θ i Represents a set of neighbor regions;

[0098] The pre-weighted aggregator is expressed as:

[0099]

[0100] Among them, r i represents the fusion features of the target area and all neighboring areas, σ represents the nonlinear activation function sigmod, W g represents the pre-trained weight parameters, f i represents the characteristics of the target area, f j Represents the characteristics of the neighborhood area.

[0101] Optionally, the travel period includes six predicted time periods, namely, early morning, midday and late evening on weekdays and early morning, midday and late evening on weekends; the comfort information is determined according to the number of transfers corresponding to the travel mode.

[0102] For other details about the technical solutions for implementing each module in the prediction device for the travel mode allocation structure in the above embodiment, please refer to the description of the prediction method for the travel mode allocation structure in the above embodiment, which will not be repeated here.

[0103] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0104] See also Figure 3 , Figure 3 FIG. 1 is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. Figure 3 As shown, the computer device 30 includes a processor 31 and a memory 32 coupled to the processor 31, wherein the memory 32 stores program instructions. When the program instructions are executed by the processor 31, the processor 31 executes the steps of the prediction method for the travel mode allocation structure described in any of the above embodiments.

[0105] The processor 31 may also be referred to as a CPU (Central Processing Unit). The processor 31 may be an integrated circuit chip having signal processing capabilities. The processor 31 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0106] See also Figure 4 , Figure 4 Schematic diagram of the structure of the storage medium of the embodiment of the present invention. The storage medium of the embodiment of the present invention stores program instructions 41 that can implement the prediction method of the travel mode allocation structure mentioned above, wherein the program instructions 41 can be stored in the above storage medium in the form of a software product, including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or a computer device such as a computer, a server, a mobile phone, or a tablet.

[0107] In the several embodiments provided in the present application, it should be understood that the disclosed computer equipment, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0108] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units. The above is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the specification and drawings of this application, or directly or indirectly used in other related technical fields, is also included in the patent protection scope of the present application.

Claims

1. A prediction method for travel mode allocation structure, It is characterized in that It includes: Obtain free travel data, restricted travel data, preset travel time periods, and regional feature information pre-constructed based on regional transportation facility information and administrative feature information between the starting area and the destination area; Extracting input features corresponding to free travel and restricted travel respectively from the free travel data, the restricted travel data, the travel time period and the regional characteristic information, wherein the input features include transportation mode features and travel characteristics, the transportation mode features include transportation time information, transportation cost information and comfort information, and the travel characteristics include travel distance, travel time period and regional characteristic information; Inputting the input features corresponding to the free travel and the restricted travel into a pre-trained prediction model for prediction to obtain the total utility value of the free travel and the restricted travel, respectively, wherein the prediction model is constructed based on utility value theory and a deep learning neural network; The structural ratio of the free travel and the restricted travel is calculated according to the respective total utility values ​​of the free travel and the restricted travel.

2. The method for predicting the travel mode allocation structure according to claim 1, It is characterized in that The inputting the input features corresponding to the free travel and the restricted travel into a pre-trained prediction model for prediction to obtain the total utility value of the free travel and the restricted travel, respectively, includes: Input the transport mode characteristics into a pre-trained prediction model to obtain the transport mode related utility values ​​of the free trip and the restricted trip, and input the trip characteristics into the prediction model to obtain the travel time and space environment related utility values ​​of the free trip and the restricted trip; The total utility values ​​of the free travel and the restricted travel are calculated according to the utility value related to the mode of transportation and the utility value related to the travel time and space environment.

3. The method for predicting the travel mode allocation structure according to claim 2, It is characterized in that The prediction model includes a transportation mode related utility value prediction module and a travel time and space environment related utility value prediction module; the transportation mode related utility value prediction module includes a stable utility value prediction unit and a random effective value prediction unit, the stable utility value prediction unit is constructed based on a layer of convolutional neural network, and the random effective value prediction unit is constructed based on a multi-layer fully connected neural network.

4. The method for predicting the travel mode allocation structure according to claim 3, It is characterized in that The step of inputting the transport mode characteristics into a pre-trained prediction model to obtain the transport mode-related utility values ​​of the free travel and the restricted travel, respectively, includes: Inputting the transportation mode characteristics of the free travel and the restricted travel into the stable utility value prediction unit for prediction, respectively, to obtain the stable utility values ​​of the free travel and the restricted travel; Inputting the transportation mode characteristics of the free travel and the restricted travel into the random effective value prediction unit for prediction respectively, and obtaining the random utility values ​​of the free travel and the restricted travel respectively; The transport mode related utility value of the free travel is calculated using the stable utility value and the random utility value of the free travel, and the transport mode related utility value of the restricted travel is calculated using the stable utility value and the random utility value of the restricted travel.

5. The method for predicting the travel mode allocation structure according to claim 1, It is characterized in that Construct regional characteristic information based on regional transportation facility information and administrative characteristic information, including: Determine neighboring areas of the target area based on the geographical distances between the center points of each area; Determine the weight of each of the neighboring areas by using a preset pre-weighted aggregator and combining the geographical distance; Acquire a regional characteristic representation of the target area and a regional characteristic representation of the neighboring area, wherein the regional characteristic representation is pre-set according to the traffic facility information and administrative characteristic information of the area; The regional feature information of the target area is constructed according to the weight, the regional feature representation of the target area, and the regional feature representation of the neighboring area.

6. The method for predicting the travel mode allocation structure according to claim 5, It is characterized in that The neighboring area of ​​the target area is formally expressed as: Θ i ={z j |dis(z i ,With j )≤L}; Among them, z i represents the target area, z j Indicates other areas, dis(z i ,z j ) represents the distance between the target area and the other areas, L represents the distance threshold, Θ i represents a set of neighboring regions; The pre-weighted aggregator is expressed as: Among them, r i represents the fusion features of the target area and all neighboring areas, σ represents the nonlinear activation function sigmod, W g represents the pre-trained weight parameters, f i represents the characteristics of the target area, f j Represents the characteristics of the neighboring area.

7. The method for predicting the travel mode allocation structure according to claim 1, It is characterized in that The travel period includes six predicted time periods, namely, early morning, midday and late evening on weekdays and early morning, midday and late evening on weekends; the comfort information is determined according to the number of transfers corresponding to the travel mode.

8. A prediction device for travel mode allocation structure, It is characterized in that It includes: An acquisition module, used to acquire free travel data, restricted travel data, preset travel time periods, and regional feature information pre-constructed based on regional traffic facility information and administrative feature information between a starting area and a destination area; A feature extraction module, used to extract input features corresponding to free travel and restricted travel from the free travel data, the restricted travel data, the travel time period and the regional feature information, wherein the input features include transportation mode features and travel characteristics, wherein the transportation mode features include transportation time information, transportation cost information and comfort information, and the travel characteristics include travel distance, travel time period and regional feature information; A prediction module, used for inputting the input features corresponding to the free travel and the restricted travel into a pre-trained prediction model for prediction, to obtain the total utility value of the free travel and the restricted travel, respectively, wherein the prediction model is constructed based on utility value theory and a deep learning neural network; A calculation module is used to calculate the structural ratio of the free travel and the restricted travel according to the total utility values ​​of the free travel and the restricted travel respectively.

9. A computer device, It is characterized in that The computer device includes a processor and a memory coupled to the processor, wherein program instructions are stored in the memory, and when the program instructions are executed by the processor, the processor executes the steps of the method for predicting the travel mode allocation structure as described in any one of claims 1 to 7.

10. A storage medium, It is characterized in that The device stores program instructions capable of implementing a prediction method for a travel mode allocation structure according to any one of claims 1 to 7.